text: !function(a,b){"use strict";function c(a){var b=a.length,c=ha.type(a);return ha.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||"function"!==c&&(0===b||"number"==typeof b&&b>0&&b-1 in a)}function d(a){var b=va[a]={};return ha.each(a.match(ja)||[],function(a,c){b[c]=!0}),b}function e(a,c,d,e){if(ha.acceptData(a)){var f,g,h=ha.expando,i="string"==typeof c,j=a.nodeType,k=j?ha.cache:a,l=j?a[h]:a[h]&&h;if(l&&k[l]&&(e||k[l].data)||!i||d!==b)return l||(j?a[h]=l=$.pop()||ha.guid++:l=h),k[l]||(k[l]={},j||(k[l].toJSON=ha.noop)),("object"==typeof c||"function"==typeof c)&&(e?k[l]=ha.extend(k[l],c):k[l].data=ha.extend(k[l].data,c)),f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[ha.camelCase(c)]=d),i?(g=f[c],null==g&&(g=f[ha.camelCase(c)])):g=f,g}}function f(a,b,c){if(ha.acceptData(a)){var d,e,f,g=a.nodeType,i=g?ha.cache:a,j=g?a[ha.expando]:ha.expando;if(i[j]){if(b&&(d=c?i[j]:i[j].data)){ha.isArray(b)?b=b.concat(ha.map(b,ha.camelCase)):b in d?b=[b]:(b=ha.camelCase(b),b=b in d?[b]:b.split(" "));for(e=0,f=b.length;f>e;e++)delete d[b[e]];if(!(c?h:ha.isEmptyObject)(d))return}(c||(delete i[j].data,h(i[j])))&&(g?ha.cleanData([a],!0):ha.support.deleteExpando||i!=i.window?delete i[j]:i[j]=null)}}}function g(a,c,d){if(d===b&&1===a.nodeType){var e="data-"+c.replace(xa,"-$1").toLowerCase();if(d=a.getAttribute(e),"string"==typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:wa.test(d)?ha.parseJSON(d):d}catch(f){}ha.data(a,c,d)}else d=b}return d}function h(a){var b;for(b in a)if(("data"!==b||!ha.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function i(){return!0}function j(){return!1}function k(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}function l(a,b,c){if(b=b||0,ha.isFunction(b))return ha.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return ha.grep(a,function(a){return a===b===c});if("string"==typeof b){var d=ha.grep(a,function(a){return 1===a.nodeType});if(Pa.test(b))return ha.filter(b,d,!c);b=ha.filter(b,d)}return ha.grep(a,function(a){return ha.inArray(a,b)>=0===c})}function m(a){var b=Sa.split("|"),c=a.createDocumentFragment();if(c.createElement)for(;b.length;)c.createElement(b.pop());return c}function n(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function o(a){var b=a.getAttributeNode("type");return a.type=(b&&b.specified)+"/"+a.type,a}function p(a){var b=cb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function q(a,b){for(var c,d=0;null!=(c=a[d]);d++)ha._data(c,"globalEval",!b||ha._data(b[d],"globalEval"))}function r(a,b){if(1===b.nodeType&&ha.hasData(a)){var c,d,e,f=ha._data(a),g=ha._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)ha.event.add(b,c,h[c][d])}g.data&&(g.data=ha.extend({},g.data))}}function s(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!ha.support.noCloneEvent&&b[ha.expando]){d=ha._data(b);for(e in d.events)ha.removeEvent(b,e,d.handle);b.removeAttribute(ha.expando)}"script"===c&&b.text!==a.text?(o(b).text=a.text,p(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),ha.support.html5Clone&&a.innerHTML&&!ha.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&_a.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}function t(a,c){var d,e,f=0,g=a.getElementsByTagName!==b?a.getElementsByTagName(c||"*"):a.querySelectorAll!==b?a.querySelectorAll(c||"*"):b;if(!g)for(g=[],d=a.childNodes||a;null!=(e=d[f]);f++)!c||ha.nodeName(e,c)?g.push(e):ha.merge(g,t(e,c));return c===b||c&&ha.nodeName(a,c)?ha.merge([a],g):g}function u(a){_a.test(a.type)&&(a.defaultChecked=a.checked)}function v(a,b){if(b in a)return b;for(var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=wb.length;e--;)if(b=wb[e]+c,b in a)return b;return d}function w(a,b){return a=b||a,"none"===ha.css(a,"display")||!ha.contains(a.ownerDocument,a)}function x(a,b){for(var c,d=[],e=0,f=a.length;f>e;e++)c=a[e],c.style&&(d[e]=ha._data(c,"olddisplay"),b?(d[e]||"none"!==c.style.display||(c.style.display=""),""===c.style.display&&w(c)&&(d[e]=ha._data(c,"olddisplay",B(c.nodeName)))):d[e]||w(c)||ha._data(c,"olddisplay",ha.css(c,"display")));for(e=0;f>e;e++)c=a[e],c.style&&(b&&"none"!==c.style.display&&""!==c.style.display||(c.style.display=b?d[e]||"":"none"));return a}function y(a,b,c){var d=pb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function z(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=ha.css(a,c+vb[f],!0,e)),d?("content"===c&&(g-=ha.css(a,"padding"+vb[f],!0,e)),"margin"!==c&&(g-=ha.css(a,"border"+vb[f]+"Width",!0,e))):(g+=ha.css(a,"padding"+vb[f],!0,e),"padding"!==c&&(g+=ha.css(a,"border"+vb[f]+"Width",!0,e)));return g}function A(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=ib(a),g=ha.support.boxSizing&&"border-box"===ha.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=hb(a,b,f),(0>e||null==e)&&(e=a.style[b]),qb.test(e))return e;d=g&&(ha.support.boxSizingReliable||e===a.style[b]),e=parseFloat(e)||0}return e+z(a,b,c||(g?"border":"content"),d,f)+"px"}function B(a){var b=V,c=sb[a];return c||(c=C(a,b),"none"!==c&&c||(jb=(jb||ha("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(b.documentElement),b=(jb[0].contentWindow||jb[0].contentDocument).document,b.write("<!doctype html><html><body>"),b.close(),c=C(a,b),jb.detach()),sb[a]=c),c}function C(a,b){var c=ha(b.createElement(a)).appendTo(b.body),d=ha.css(c[0],"display");return c.remove(),d}function D(a,b,c,d){var e;if(ha.isArray(b))ha.each(b,function(b,e){c||yb.test(a)?d(a,e):D(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==ha.type(b))d(a,b);else for(e in b)D(a+"["+e+"]",b[e],c,d)}function E(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(ja)||[];if(ha.isFunction(c))for(;d=f[e++];)"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function F(a,c,d,e){function f(i){var j;return g[i]=!0,ha.each(a[i]||[],function(a,i){var k=i(c,d,e);return"string"!=typeof k||h||g[k]?h?!(j=k):b:(c.dataTypes.unshift(k),f(k),!1)}),j}var g={},h=a===Pb;return f(c.dataTypes[0])||!g["*"]&&f("*")}function G(a,c){var d,e,f=ha.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((f[d]?a:e||(e={}))[d]=c[d]);return e&&ha.extend(!0,a,e),a}function H(a,c,d){var e,f,g,h,i=a.contents,j=a.dataTypes,k=a.responseFields;for(f in k)f in d&&(c[k[f]]=d[f]);for(;"*"===j[0];)j.shift(),e===b&&(e=a.mimeType||c.getResponseHeader("Content-Type"));if(e)for(f in i)if(i[f]&&i[f].test(e)){j.unshift(f);break}if(j[0]in d)g=j[0];else{for(f in d){if(!j[0]||a.converters[f+" "+j[0]]){g=f;break}h||(h=f)}g=g||h}return g?(g!==j[0]&&j.unshift(g),d[g]):b}function I(a,b){var c,d,e,f,g={},h=0,i=a.dataTypes.slice(),j=i[0];if(a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i[1])for(c in a.converters)g[c.toLowerCase()]=a.converters[c];for(;e=i[++h];)if("*"!==e){if("*"!==j&&j!==e){if(c=g[j+" "+e]||g["* "+e],!c)for(d in g)if(f=d.split(" "),f[1]===e&&(c=g[j+" "+f[0]]||g["* "+f[0]])){c===!0?c=g[d]:g[d]!==!0&&(e=f[0],i.splice(h--,0,e));break}if(c!==!0)if(c&&a["throws"])b=c(b);else try{b=c(b)}catch(k){return{"state":"parsererror","error":c?k:"No conversion from "+j+" to "+e}}}j=e}return{"state":"success","data":b}}function J(){try{return new a.XMLHttpRequest}catch(b){}}function K(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function L(){return setTimeout(function(){Yb=b}),Yb=ha.now()}function M(a,b){ha.each(b,function(b,c){for(var d=(cc[b]||[]).concat(cc["*"]),e=0,f=d.length;f>e;e++)if(d[e].call(a,b,c))return})}function N(a,b,c){var d,e,f=0,g=bc.length,h=ha.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Yb||L(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({"elem":a,"props":ha.extend({},b),"opts":ha.extend(!0,{"specialEasing":{}},c),"originalProperties":b,"originalOptions":c,"startTime":Yb||L(),"duration":c.duration,"tweens":[],"createTween":function(b,c){var d=ha.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},"stop":function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(O(k,j.opts.specialEasing);g>f;f++)if(d=bc[f].call(j,a,k,j.opts))return d;return M(j,k),ha.isFunction(j.opts.start)&&j.opts.start.call(a,j),ha.fx.timer(ha.extend(i,{"elem":a,"anim":j,"queue":j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}function O(a,b){var c,d,e,f,g;for(c in a)if(d=ha.camelCase(c),e=b[d],f=a[c],ha.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=ha.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function P(a,b,c){var d,e,f,g,h,i,j,k,l,m=this,n=a.style,o={},p=[],q=a.nodeType&&w(a);c.queue||(k=ha._queueHooks(a,"fx"),null==k.unqueued&&(k.unqueued=0,l=k.empty.fire,k.empty.fire=function(){k.unqueued||l()}),k.unqueued++,m.always(function(){m.always(function(){k.unqueued--,ha.queue(a,"fx").length||k.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[n.overflow,n.overflowX,n.overflowY],"inline"===ha.css(a,"display")&&"none"===ha.css(a,"float")&&(ha.support.inlineBlockNeedsLayout&&"inline"!==B(a.nodeName)?n.zoom=1:n.display="inline-block")),c.overflow&&(n.overflow="hidden",ha.support.shrinkWrapBlocks||m.done(function(){n.overflow=c.overflow[0],n.overflowX=c.overflow[1],n.overflowY=c.overflow[2]}));for(d in b)if(f=b[d],$b.exec(f)){if(delete b[d],i=i||"toggle"===f,f===(q?"hide":"show"))continue;p.push(d)}if(g=p.length){h=ha._data(a,"fxshow")||ha._data(a,"fxshow",{}),"hidden"in h&&(q=h.hidden),i&&(h.hidden=!q),q?ha(a).show():m.done(function(){ha(a).hide()}),m.done(function(){var b;ha._removeData(a,"fxshow");for(b in o)ha.style(a,b,o[b])});for(d=0;g>d;d++)e=p[d],j=m.createTween(e,q?h[e]:0),o[e]=h[e]||ha.style(a,e),e in h||(h[e]=j.start,q&&(j.end=j.start,j.start="width"===e||"height"===e?1:0))}}function Q(a,b,c,d,e){return new Q.prototype.init(a,b,c,d,e)}function R(a,b){var c,d={"height":a},e=0;for(b=b?1:0;4>e;e+=2-b)c=vb[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function S(a){return ha.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}var T,U,V=a.document,W=a.location,X=a.jQuery,Y=a.$,Z={},$=[],_="1.9.0",aa=$.concat,ba=$.push,ca=$.slice,da=$.indexOf,ea=Z.toString,fa=Z.hasOwnProperty,ga=_.trim,ha=function(a,b){return new ha.fn.init(a,b,T)},ia=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ja=/\S+/g,ka=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,la=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,ma=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,na=/^[\],:{}\s]*$/,oa=/(?:^|:|,)(?:\s*\[)+/g,pa=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,qa=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,ra=/^-ms-/,sa=/-([\da-z])/gi,ta=function(a,b){return b.toUpperCase()},ua=function(){V.addEventListener?(V.removeEventListener("DOMContentLoaded",ua,!1),ha.ready()):"complete"===V.readyState&&(V.detachEvent("onreadystatechange",ua),ha.ready())};ha.fn=ha.prototype={"jquery":_,"constructor":ha,"init":function(a,c,d){var e,f;if(!a)return this;if("string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:la.exec(a),!e||!e[1]&&c)return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a);if(e[1]){if(c=c instanceof ha?c[0]:c,ha.merge(this,ha.parseHTML(e[1],c&&c.nodeType?c.ownerDocument||c:V,!0)),ma.test(e[1])&&ha.isPlainObject(c))for(e in c)ha.isFunction(this[e])?this[e](c[e]):this.attr(e,c[e]);return this}if(f=V.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return d.find(a);this.length=1,this[0]=f}return this.context=V,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):ha.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),ha.makeArray(a,this))},"selector":"","length":0,"size":function(){return this.length},"toArray":function(){return ca.call(this)},"get":function(a){return null==a?this.toArray():0>a?this[this.length+a]:this[a]},"pushStack":function(a){var b=ha.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},"each":function(a,b){return ha.each(this,a,b)},"ready":function(a){return ha.ready.promise().done(a),this},"slice":function(){return this.pushStack(ca.apply(this,arguments))},"first":function(){return this.eq(0)},"last":function(){return this.eq(-1)},"eq":function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},"map":function(a){return this.pushStack(ha.map(this,function(b,c){return a.call(b,c,b)}))},"end":function(){return this.prevObject||this.constructor(null)},"push":ba,"sort":[].sort,"splice":[].splice},ha.fn.init.prototype=ha.fn,ha.extend=ha.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;for("boolean"==typeof h&&(k=h,h=arguments[1]||{},i=2),"object"==typeof h||ha.isFunction(h)||(h={}),j===i&&(h=this,--i);j>i;i++)if(null!=(a=arguments[i]))for(c in a)d=h[c],e=a[c],h!==e&&(k&&e&&(ha.isPlainObject(e)||(f=ha.isArray(e)))?(f?(f=!1,g=d&&ha.isArray(d)?d:[]):g=d&&ha.isPlainObject(d)?d:{},h[c]=ha.extend(k,g,e)):e!==b&&(h[c]=e));return h},ha.extend({"noConflict":function(b){return a.$===ha&&(a.$=Y),b&&a.jQuery===ha&&(a.jQuery=X),ha},"isReady":!1,"readyWait":1,"holdReady":function(a){a?ha.readyWait++:ha.ready(!0)},"ready":function(a){if(a===!0?!--ha.readyWait:!ha.isReady){if(!V.body)return setTimeout(ha.ready);ha.isReady=!0,a!==!0&&--ha.readyWait>0||(U.resolveWith(V,[ha]),ha.fn.trigger&&ha(V).trigger("ready").off("ready"))}},"isFunction":function(a){return"function"===ha.type(a)},"isArray":Array.isArray||function(a){return"array"===ha.type(a)},"isWindow":function(a){return null!=a&&a==a.window},"isNumeric":function(a){return!isNaN(parseFloat(a))&&isFinite(a)},"type":function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?Z[ea.call(a)]||"object":typeof a},"isPlainObject":function(a){if(!a||"object"!==ha.type(a)||a.nodeType||ha.isWindow(a))return!1;try{if(a.constructor&&!fa.call(a,"constructor")&&!fa.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||fa.call(a,d)},"isEmptyObject":function(a){var b;for(b in a)return!1;return!0},"error":function(a){throw Error(a)},"parseHTML":function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||V;var d=ma.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=ha.buildFragment([a],b,e),e&&ha(e).remove(),ha.merge([],d.childNodes))},"parseJSON":function(c){return a.JSON&&a.JSON.parse?a.JSON.parse(c):null===c?c:"string"==typeof c&&(c=ha.trim(c),c&&na.test(c.replace(pa,"@").replace(qa,"]").replace(oa,"")))?Function("return "+c)():(ha.error("Invalid JSON: "+c),b)},"parseXML":function(c){var d,e;if(!c||"string"!=typeof c)return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return d&&d.documentElement&&!d.getElementsByTagName("parsererror").length||ha.error("Invalid XML: "+c),d},"noop":function(){},"globalEval":function(b){b&&ha.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},"camelCase":function(a){return a.replace(ra,"ms-").replace(sa,ta)},"nodeName":function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},"each":function(a,b,d){var e,f=0,g=a.length,h=c(a);if(d){if(h)for(;g>f&&(e=b.apply(a[f],d),e!==!1);f++);else for(f in a)if(e=b.apply(a[f],d),e===!1)break}else if(h)for(;g>f&&(e=b.call(a[f],f,a[f]),e!==!1);f++);else for(f in a)if(e=b.call(a[f],f,a[f]),e===!1)break;return a},"trim":ga&&!ga.call("\ufeff\xa0")?function(a){return null==a?"":ga.call(a)}:function(a){return null==a?"":(a+"").replace(ka,"")},"makeArray":function(a,b){var d=b||[];return null!=a&&(c(Object(a))?ha.merge(d,"string"==typeof a?[a]:a):ba.call(d,a)),d},"inArray":function(a,b,c){var d;if(b){if(da)return da.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},"merge":function(a,c){var d=c.length,e=a.length,f=0;if("number"==typeof d)for(;d>f;f++)a[e++]=c[f];else for(;c[f]!==b;)a[e++]=c[f++];return a.length=e,a},"grep":function(a,b,c){var d,e=[],f=0,g=a.length;for(c=!!c;g>f;f++)d=!!b(a[f],f),c!==d&&e.push(a[f]);return e},"map":function(a,b,d){var e,f=0,g=a.length,h=c(a),i=[];if(h)for(;g>f;f++)e=b(a[f],f,d),null!=e&&(i[i.length]=e);else for(f in a)e=b(a[f],f,d),null!=e&&(i[i.length]=e);return aa.apply([],i)},"guid":1,"proxy":function(a,c){var d,e,f;return"string"==typeof c&&(d=a[c],c=a,a=d),ha.isFunction(a)?(e=ca.call(arguments,2),f=function(){return a.apply(c||this,e.concat(ca.call(arguments)))},f.guid=a.guid=a.guid||ha.guid++,f):b},"access":function(a,c,d,e,f,g,h){var i=0,j=a.length,k=null==d;if("object"===ha.type(d)){f=!0;for(i in d)ha.access(a,c,i,d[i],!0,g,h)}else if(e!==b&&(f=!0,ha.isFunction(e)||(h=!0),k&&(h?(c.call(a,e),c=null):(k=c,c=function(a,b,c){return k.call(ha(a),c)})),c))for(;j>i;i++)c(a[i],d,h?e:e.call(a[i],i,c(a[i],d)));return f?a:k?c.call(a):j?c(a[0],d):g},"now":function(){return(new Date).getTime()}}),ha.ready.promise=function(b){if(!U)if(U=ha.Deferred(),"complete"===V.readyState)setTimeout(ha.ready);else if(V.addEventListener)V.addEventListener("DOMContentLoaded",ua,!1),a.addEventListener("load",ha.ready,!1);else{V.attachEvent("onreadystatechange",ua),a.attachEvent("onload",ha.ready);var c=!1;try{c=null==a.frameElement&&V.documentElement}catch(d){}c&&c.doScroll&&function e(){if(!ha.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}ha.ready()}}()}return U.promise(b)},ha.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){Z["[object "+b+"]"]=b.toLowerCase()}),T=ha(V);var va={};ha.Callbacks=function(a){a="string"==typeof a?va[a]||d(a):ha.extend({},a);var c,e,f,g,h,i,j=[],k=!a.once&&[],l=function(b){for(c=a.memory&&b,e=!0,i=g||0,g=0,h=j.length,f=!0;j&&h>i;i++)if(j[i].apply(b[0],b[1])===!1&&a.stopOnFalse){c=!1;break}f=!1,j&&(k?k.length&&l(k.shift()):c?j=[]:m.disable())},m={"add":function(){if(j){var b=j.length;!function d(b){ha.each(b,function(b,c){var e=ha.type(c);"function"===e?a.unique&&m.has(c)||j.push(c):c&&c.length&&"string"!==e&&d(c)})}(arguments),f?h=j.length:c&&(g=b,l(c))}return this},"remove":function(){return j&&ha.each(arguments,function(a,b){for(var c;(c=ha.inArray(b,j,c))>-1;)j.splice(c,1),f&&(h>=c&&h--,i>=c&&i--)}),this},"has":function(a){return ha.inArray(a,j)>-1},"empty":function(){return j=[],this},"disable":function(){return j=k=c=b,this},"disabled":function(){return!j},"lock":function(){return k=b,c||m.disable(),this},"locked":function(){return!k},"fireWith":function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],!j||e&&!k||(f?k.push(b):l(b)),this},"fire":function(){return m.fireWith(this,arguments),this},"fired":function(){return!!e}};return m},ha.extend({"Deferred":function(a){var b=[["resolve","done",ha.Callbacks("once memory"),"resolved"],["reject","fail",ha.Callbacks("once memory"),"rejected"],["notify","progress",ha.Callbacks("memory")]],c="pending",d={"state":function(){return c},"always":function(){return e.done(arguments).fail(arguments),this},"then":function(){var a=arguments;return ha.Deferred(function(c){ha.each(b,function(b,f){var g=f[0],h=ha.isFunction(a[b])&&a[b];e[f[1]](function(){var a=h&&h.apply(this,arguments);a&&ha.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[g+"With"](this===d?c.promise():this,h?[a]:arguments)})}),a=null}).promise()},"promise":function(a){return null!=a?ha.extend(a,d):d}},e={};return d.pipe=d.then,ha.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},"when":function(a){var b,c,d,e=0,f=ca.call(arguments),g=f.length,h=1!==g||a&&ha.isFunction(a.promise)?g:0,i=1===h?a:ha.Deferred(),j=function(a,c,d){return function(e){c[a]=this,d[a]=arguments.length>1?ca.call(arguments):e,d===b?i.notifyWith(c,d):--h||i.resolveWith(c,d)}};if(g>1)for(b=Array(g),c=Array(g),d=Array(g);g>e;e++)f[e]&&ha.isFunction(f[e].promise)?f[e].promise().done(j(e,d,f)).fail(i.reject).progress(j(e,c,b)):--h;return h||i.resolveWith(d,f),i.promise()}}),ha.support=function(){var c,d,e,f,g,h,i,j,k,l,m=V.createElement("div");if(m.setAttribute("className","t"),m.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=m.getElementsByTagName("*"),e=m.getElementsByTagName("a")[0],!d||!e||!d.length)return{};f=V.createElement("select"),g=f.appendChild(V.createElement("option")),h=m.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",c={"getSetAttribute":"t"!==m.className,"leadingWhitespace":3===m.firstChild.nodeType,"tbody":!m.getElementsByTagName("tbody").length,"htmlSerialize":!!m.getElementsByTagName("link").length,"style":/top/.test(e.getAttribute("style")),"hrefNormalized":"/a"===e.getAttribute("href"),"opacity":/^0.5/.test(e.style.opacity),"cssFloat":!!e.style.cssFloat,"checkOn":!!h.value,"optSelected":g.selected,"enctype":!!V.createElement("form").enctype,"html5Clone":"<:nav></:nav>"!==V.createElement("nav").cloneNode(!0).outerHTML,"boxModel":"CSS1Compat"===V.compatMode,"deleteExpando":!0,"noCloneEvent":!0,"inlineBlockNeedsLayout":!1,"shrinkWrapBlocks":!1,"reliableMarginRight":!0,"boxSizingReliable":!0,"pixelPosition":!1},h.checked=!0,c.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,c.optDisabled=!g.disabled;try{delete m.test}catch(n){c.deleteExpando=!1}h=V.createElement("input"),h.setAttribute("value",""),c.input=""===h.getAttribute("value"),h.value="t",h.setAttribute("type","radio"),c.radioValue="t"===h.value,h.setAttribute("checked","t"),h.setAttribute("name","t"),i=V.createDocumentFragment(),i.appendChild(h),c.appendChecked=h.checked,c.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,m.attachEvent&&(m.attachEvent("onclick",function(){c.noCloneEvent=!1}),m.cloneNode(!0).click());for(l in{"submit":!0,"change":!0,"focusin":!0})m.setAttribute(j="on"+l,"t"),c[l+"Bubbles"]=j in a||m.attributes[j].expando===!1;return m.style.backgroundClip="content-box",m.cloneNode(!0).style.backgroundClip="",c.clearCloneStyle="content-box"===m.style.backgroundClip,ha(function(){var d,e,f,g="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",h=V.getElementsByTagName("body")[0];h&&(d=V.createElement("div"),d.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",h.appendChild(d).appendChild(m),m.innerHTML="<table><tr><td></td><td>t</td></tr></table>",f=m.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",k=0===f[0].offsetHeight,f[0].style.display="",f[1].style.display="none",c.reliableHiddenOffsets=k&&0===f[0].offsetHeight,m.innerHTML="",m.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%;",c.boxSizing=4===m.offsetWidth,c.doesNotIncludeMarginInBodyOffset=1!==h.offsetTop,a.getComputedStyle&&(c.pixelPosition="1%"!==(a.getComputedStyle(m,null)||{}).top,c.boxSizingReliable="4px"===(a.getComputedStyle(m,null)||{"width":"4px"}).width,e=m.appendChild(V.createElement("div")),e.style.cssText=m.style.cssText=g,e.style.marginRight=e.style.width="0",m.style.width="1px",c.reliableMarginRight=!parseFloat((a.getComputedStyle(e,null)||{}).marginRight)),m.style.zoom!==b&&(m.innerHTML="",m.style.cssText=g+"width:1px;padding:1px;display:inline;zoom:1",c.inlineBlockNeedsLayout=3===m.offsetWidth,m.style.display="block",m.innerHTML="<div></div>",m.firstChild.style.width="5px",c.shrinkWrapBlocks=3!==m.offsetWidth,h.style.zoom=1),h.removeChild(d),d=m=f=e=null)}),d=f=i=g=e=h=null,c}();var wa=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,xa=/([A-Z])/g;ha.extend({"cache":{},"expando":"jQuery"+(_+Math.random()).replace(/\D/g,""),"noData":{"embed":!0,"object":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000","applet":!0},"hasData":function(a){return a=a.nodeType?ha.cache[a[ha.expando]]:a[ha.expando],!!a&&!h(a)},"data":function(a,b,c){return e(a,b,c,!1)},"removeData":function(a,b){return f(a,b,!1)},"_data":function(a,b,c){return e(a,b,c,!0)},"_removeData":function(a,b){return f(a,b,!0)},"acceptData":function(a){var b=a.nodeName&&ha.noData[a.nodeName.toLowerCase()];return!b||b!==!0&&a.getAttribute("classid")===b}}),ha.fn.extend({"data":function(a,c){var d,e,f=this[0],h=0,i=null;if(a===b){if(this.length&&(i=ha.data(f),1===f.nodeType&&!ha._data(f,"parsedAttrs"))){for(d=f.attributes;d.length>h;h++)e=d[h].name,e.indexOf("data-")||(e=ha.camelCase(e.substring(5)),g(f,e,i[e]));ha._data(f,"parsedAttrs",!0)}return i}return"object"==typeof a?this.each(function(){ha.data(this,a)}):ha.access(this,function(c){return c===b?f?g(f,a,ha.data(f,a)):null:(this.each(function(){ha.data(this,a,c)}),b)},null,c,arguments.length>1,null,!0)},"removeData":function(a){return this.each(function(){ha.removeData(this,a)})}}),ha.extend({"queue":function(a,c,d){var e;return a?(c=(c||"fx")+"queue",e=ha._data(a,c),d&&(!e||ha.isArray(d)?e=ha._data(a,c,ha.makeArray(d)):e.push(d)),e||[]):b},"dequeue":function(a,b){b=b||"fx";var c=ha.queue(a,b),d=c.length,e=c.shift(),f=ha._queueHooks(a,b),g=function(){ha.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),f.cur=e,e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},"_queueHooks":function(a,b){var c=b+"queueHooks";return ha._data(a,c)||ha._data(a,c,{"empty":ha.Callbacks("once memory").add(function(){ha._removeData(a,b+"queue"),ha._removeData(a,c)})})}}),ha.fn.extend({"queue":function(a,c){var d=2;return"string"!=typeof a&&(c=a,a="fx",d--),d>arguments.length?ha.queue(this[0],a):c===b?this:this.each(function(){var b=ha.queue(this,a,c);ha._queueHooks(this,a),"fx"===a&&"inprogress"!==b[0]&&ha.dequeue(this,a)})},"dequeue":function(a){return this.each(function(){ha.dequeue(this,a)})},"delay":function(a,b){return a=ha.fx?ha.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},"clearQueue":function(a){return this.queue(a||"fx",[])},"promise":function(a,c){var d,e=1,f=ha.Deferred(),g=this,h=this.length,i=function(){--e||f.resolveWith(g,[g])};for("string"!=typeof a&&(c=a,a=b),a=a||"fx";h--;)d=ha._data(g[h],a+"queueHooks"),d&&d.empty&&(e++,d.empty.add(i));return i(),f.promise(c)}});var ya,za,Aa=/[\t\r\n]/g,Ba=/\r/g,Ca=/^(?:input|select|textarea|button|object)$/i,Da=/^(?:a|area)$/i,Ea=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,Fa=/^(?:checked|selected)$/i,Ga=ha.support.getSetAttribute,Ha=ha.support.input;ha.fn.extend({"attr":function(a,b){return ha.access(this,ha.attr,a,b,arguments.length>1)},"removeAttr":function(a){return this.each(function(){ha.removeAttr(this,a)})},"prop":function(a,b){return ha.access(this,ha.prop,a,b,arguments.length>1)},"removeProp":function(a){return a=ha.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},"addClass":function(a){var b,c,d,e,f,g=0,h=this.length,i="string"==typeof a&&a;if(ha.isFunction(a))return this.each(function(b){ha(this).addClass(a.call(this,b,this.className))});if(i)for(b=(a||"").match(ja)||[];h>g;g++)if(c=this[g],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(Aa," "):" ")){for(f=0;e=b[f++];)0>d.indexOf(" "+e+" ")&&(d+=e+" ");c.className=ha.trim(d)}return this},"removeClass":function(a){var b,c,d,e,f,g=0,h=this.length,i=0===arguments.length||"string"==typeof a&&a;if(ha.isFunction(a))return this.each(function(b){ha(this).removeClass(a.call(this,b,this.className))});if(i)for(b=(a||"").match(ja)||[];h>g;g++)if(c=this[g],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(Aa," "):"")){for(f=0;e=b[f++];)for(;d.indexOf(" "+e+" ")>=0;)d=d.replace(" "+e+" "," ");c.className=a?ha.trim(d):""}return this},"toggleClass":function(a,b){var c=typeof a,d="boolean"==typeof b;return this.each(ha.isFunction(a)?function(c){ha(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c)for(var e,f=0,g=ha(this),h=b,i=a.match(ja)||[];e=i[f++];)h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e);else("undefined"===c||"boolean"===c)&&(this.className&&ha._data(this,"__className__",this.className),this.className=this.className||a===!1?"":ha._data(this,"__className__")||"")})},"hasClass":function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(Aa," ").indexOf(b)>=0)return!0;return!1},"val":function(a){var c,d,e,f=this[0];return arguments.length?(e=ha.isFunction(a),this.each(function(d){var f,g=ha(this);1===this.nodeType&&(f=e?a.call(this,d,g.val()):a,null==f?f="":"number"==typeof f?f+="":ha.isArray(f)&&(f=ha.map(f,function(a){return null==a?"":a+""})),c=ha.valHooks[this.type]||ha.valHooks[this.nodeName.toLowerCase()],c&&"set"in c&&c.set(this,f,"value")!==b||(this.value=f))})):f?(c=ha.valHooks[f.type]||ha.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,"string"==typeof d?d.replace(Ba,""):null==d?"":d)):void 0}}),ha.extend({"valHooks":{"option":{"get":function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},"select":{"get":function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(ha.support.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&ha.nodeName(c.parentNode,"optgroup"))){if(b=ha(c).val(),f)return b;g.push(b)}return g},"set":function(a,b){var c=ha.makeArray(b);return ha(a).find("option").each(function(){this.selected=ha.inArray(ha(this).val(),c)>=0}),c.length||(a.selectedIndex=-1),c}}},"attr":function(a,c,d){var e,f,g,h=a.nodeType;return a&&3!==h&&8!==h&&2!==h?a.getAttribute===b?ha.prop(a,c,d):(g=1!==h||!ha.isXMLDoc(a),g&&(c=c.toLowerCase(),f=ha.attrHooks[c]||(Ea.test(c)?za:ya)),d===b?f&&g&&"get"in f&&null!==(e=f.get(a,c))?e:(a.getAttribute!==b&&(e=a.getAttribute(c)),null==e?b:e):null!==d?f&&g&&"set"in f&&(e=f.set(a,d,c))!==b?e:(a.setAttribute(c,d+""),d):(ha.removeAttr(a,c),b)):void 0},"removeAttr":function(a,b){var c,d,e=0,f=b&&b.match(ja);if(f&&1===a.nodeType)for(;c=f[e++];)d=ha.propFix[c]||c,Ea.test(c)?!Ga&&Fa.test(c)?a[ha.camelCase("default-"+c)]=a[d]=!1:a[d]=!1:ha.attr(a,c,""),a.removeAttribute(Ga?c:d)},"attrHooks":{"type":{"set":function(a,b){if(!ha.support.radioValue&&"radio"===b&&ha.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},"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(a,c,d){var e,f,g,h=a.nodeType;return a&&3!==h&&8!==h&&2!==h?(g=1!==h||!ha.isXMLDoc(a),g&&(c=ha.propFix[c]||c,f=ha.propHooks[c]),d!==b?f&&"set"in f&&(e=f.set(a,d,c))!==b?e:a[c]=d:f&&"get"in f&&null!==(e=f.get(a,c))?e:a[c]):void 0},"propHooks":{"tabIndex":{"get":function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):Ca.test(a.nodeName)||Da.test(a.nodeName)&&a.href?0:b}}}}),za={"get":function(a,c){var d=ha.prop(a,c),e="boolean"==typeof d&&a.getAttribute(c),f="boolean"==typeof d?Ha&&Ga?null!=e:Fa.test(c)?a[ha.camelCase("default-"+c)]:!!e:a.getAttributeNode(c);
  
  return f&&f.value!==!1?c.toLowerCase():b},"set":function(a,b,c){return b===!1?ha.removeAttr(a,c):Ha&&Ga||!Fa.test(c)?a.setAttribute(!Ga&&ha.propFix[c]||c,c):a[ha.camelCase("default-"+c)]=a[c]=!0,c}},Ha&&Ga||(ha.attrHooks.value={"get":function(a,c){var d=a.getAttributeNode(c);return ha.nodeName(a,"input")?a.defaultValue:d&&d.specified?d.value:b},"set":function(a,c,d){return ha.nodeName(a,"input")?(a.defaultValue=c,b):ya&&ya.set(a,c,d)}}),Ga||(ya=ha.valHooks.button={"get":function(a,c){var d=a.getAttributeNode(c);return d&&("id"===c||"name"===c||"coords"===c?""!==d.value:d.specified)?d.value:b},"set":function(a,c,d){var e=a.getAttributeNode(d);return e||a.setAttributeNode(e=a.ownerDocument.createAttribute(d)),e.value=c+="","value"===d||c===a.getAttribute(d)?c:b}},ha.attrHooks.contenteditable={"get":ya.get,"set":function(a,b,c){ya.set(a,""===b?!1:b,c)}},ha.each(["width","height"],function(a,c){ha.attrHooks[c]=ha.extend(ha.attrHooks[c],{"set":function(a,d){return""===d?(a.setAttribute(c,"auto"),d):b}})})),ha.support.hrefNormalized||(ha.each(["href","src","width","height"],function(a,c){ha.attrHooks[c]=ha.extend(ha.attrHooks[c],{"get":function(a){var d=a.getAttribute(c,2);return null==d?b:d}})}),ha.each(["href","src"],function(a,b){ha.propHooks[b]={"get":function(a){return a.getAttribute(b,4)}}})),ha.support.style||(ha.attrHooks.style={"get":function(a){return a.style.cssText||b},"set":function(a,b){return a.style.cssText=b+""}}),ha.support.optSelected||(ha.propHooks.selected=ha.extend(ha.propHooks.selected,{"get":function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}})),ha.support.enctype||(ha.propFix.enctype="encoding"),ha.support.checkOn||ha.each(["radio","checkbox"],function(){ha.valHooks[this]={"get":function(a){return null===a.getAttribute("value")?"on":a.value}}}),ha.each(["radio","checkbox"],function(){ha.valHooks[this]=ha.extend(ha.valHooks[this],{"set":function(a,c){return ha.isArray(c)?a.checked=ha.inArray(ha(a).val(),c)>=0:b}})});var Ia=/^(?:input|select|textarea)$/i,Ja=/^key/,Ka=/^(?:mouse|contextmenu)|click/,La=/^(?:focusinfocus|focusoutblur)$/,Ma=/^([^.]*)(?:\.(.+)|)$/;ha.event={"global":{},"add":function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r=3!==a.nodeType&&8!==a.nodeType&&ha._data(a);if(r){for(d.handler&&(g=d,d=g.handler,f=g.selector),d.guid||(d.guid=ha.guid++),(j=r.events)||(j=r.events={}),(h=r.handle)||(h=r.handle=function(a){return ha===b||a&&ha.event.triggered===a.type?b:ha.event.dispatch.apply(h.elem,arguments)},h.elem=a),c=(c||"").match(ja)||[""],k=c.length;k--;)i=Ma.exec(c[k])||[],o=q=i[1],p=(i[2]||"").split(".").sort(),m=ha.event.special[o]||{},o=(f?m.delegateType:m.bindType)||o,m=ha.event.special[o]||{},l=ha.extend({"type":o,"origType":q,"data":e,"handler":d,"guid":d.guid,"selector":f,"needsContext":f&&ha.expr.match.needsContext.test(f),"namespace":p.join(".")},g),(n=j[o])||(n=j[o]=[],n.delegateCount=0,m.setup&&m.setup.call(a,e,p,h)!==!1||(a.addEventListener?a.addEventListener(o,h,!1):a.attachEvent&&a.attachEvent("on"+o,h))),m.add&&(m.add.call(a,l),l.handler.guid||(l.handler.guid=d.guid)),f?n.splice(n.delegateCount++,0,l):n.push(l),ha.event.global[o]=!0;a=null}},"remove":function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=ha.hasData(a)&&ha._data(a);if(q&&(i=q.events)){for(b=(b||"").match(ja)||[""],j=b.length;j--;)if(h=Ma.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){for(l=ha.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;f--;)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||ha.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)ha.event.remove(a,n+b[j],c,d,!0);ha.isEmptyObject(i)&&(delete q.handle,ha._removeData(a,"events"))}},"trigger":function(c,d,e,f){var g,h,i,j,k,l,m,n=[e||V],o=c.type||c,p=c.namespace?c.namespace.split("."):[];if(h=i=e=e||V,3!==e.nodeType&&8!==e.nodeType&&!La.test(o+ha.event.triggered)&&(o.indexOf(".")>=0&&(p=o.split("."),o=p.shift(),p.sort()),k=0>o.indexOf(":")&&"on"+o,c=c[ha.expando]?c:new ha.Event(o,"object"==typeof c&&c),c.isTrigger=!0,c.namespace=p.join("."),c.namespace_re=c.namespace?RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=b,c.target||(c.target=e),d=null==d?[c]:ha.makeArray(d,[c]),m=ha.event.special[o]||{},f||!m.trigger||m.trigger.apply(e,d)!==!1)){if(!f&&!m.noBubble&&!ha.isWindow(e)){for(j=m.delegateType||o,La.test(j+o)||(h=h.parentNode);h;h=h.parentNode)n.push(h),i=h;i===(e.ownerDocument||V)&&n.push(i.defaultView||i.parentWindow||a)}for(g=0;(h=n[g++])&&!c.isPropagationStopped();)c.type=g>1?j:m.bindType||o,l=(ha._data(h,"events")||{})[c.type]&&ha._data(h,"handle"),l&&l.apply(h,d),l=k&&h[k],l&&ha.acceptData(h)&&l.apply&&l.apply(h,d)===!1&&c.preventDefault();if(c.type=o,!(f||c.isDefaultPrevented()||m._default&&m._default.apply(e.ownerDocument,d)!==!1||"click"===o&&ha.nodeName(e,"a")||!ha.acceptData(e)||!k||!e[o]||ha.isWindow(e))){i=e[k],i&&(e[k]=null),ha.event.triggered=o;try{e[o]()}catch(q){}ha.event.triggered=b,i&&(e[k]=i)}return c.result}},"dispatch":function(a){a=ha.event.fix(a);var c,d,e,f,g,h=[],i=ca.call(arguments),j=(ha._data(this,"events")||{})[a.type]||[],k=ha.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){for(h=ha.event.handlers.call(this,a,j),c=0;(f=h[c++])&&!a.isPropagationStopped();)for(a.currentTarget=f.elem,d=0;(g=f.handlers[d++])&&!a.isImmediatePropagationStopped();)(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((ha.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),e!==b&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()));return k.postDispatch&&k.postDispatch.call(this,a),a.result}},"handlers":function(a,c){var d,e,f,g,h=[],i=c.delegateCount,j=a.target;if(i&&j.nodeType&&(!a.button||"click"!==a.type))for(;j!=this;j=j.parentNode||this)if(j.disabled!==!0||"click"!==a.type){for(e=[],d=0;i>d;d++)g=c[d],f=g.selector+" ",e[f]===b&&(e[f]=g.needsContext?ha(f,this).index(j)>=0:ha.find(f,this,null,[j]).length),e[f]&&e.push(g);e.length&&h.push({"elem":j,"handlers":e})}return c.length>i&&h.push({"elem":this,"handlers":c.slice(i)}),h},"fix":function(a){if(a[ha.expando])return a;var b,c,d=a,e=ha.event.fixHooks[a.type]||{},f=e.props?this.props.concat(e.props):this.props;for(a=new ha.Event(d),b=f.length;b--;)c=f[b],a[c]=d[c];return a.target||(a.target=d.srcElement||V),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,e.filter?e.filter(a,d):a},"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(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},"mouseHooks":{"props":"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),"filter":function(a,c){var d,e,f,g=c.button,h=c.fromElement;return null==a.pageX&&null!=c.clientX&&(d=a.target.ownerDocument||V,e=d.documentElement,f=d.body,a.pageX=c.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0),a.pageY=c.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=h===a.target?c.toElement:h),a.which||g===b||(a.which=1&g?1:2&g?3:4&g?2:0),a}},"special":{"load":{"noBubble":!0},"click":{"trigger":function(){return ha.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):b}},"focus":{"trigger":function(){if(this!==V.activeElement&&this.focus)try{return this.focus(),!1}catch(a){}},"delegateType":"focusin"},"blur":{"trigger":function(){return this===V.activeElement&&this.blur?(this.blur(),!1):b},"delegateType":"focusout"},"beforeunload":{"postDispatch":function(a){a.result!==b&&(a.originalEvent.returnValue=a.result)}}},"simulate":function(a,b,c,d){var e=ha.extend(new ha.Event,c,{"type":a,"isSimulated":!0,"originalEvent":{}});d?ha.event.trigger(e,null,b):ha.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},ha.removeEvent=V.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,c,d){var e="on"+c;a.detachEvent&&(a[e]===b&&(a[e]=null),a.detachEvent(e,d))},ha.Event=function(a,c){return this instanceof ha.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?i:j):this.type=a,c&&ha.extend(this,c),this.timeStamp=a&&a.timeStamp||ha.now(),this[ha.expando]=!0,b):new ha.Event(a,c)},ha.Event.prototype={"isDefaultPrevented":j,"isPropagationStopped":j,"isImmediatePropagationStopped":j,"preventDefault":function(){var a=this.originalEvent;this.isDefaultPrevented=i,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},"stopPropagation":function(){var a=this.originalEvent;this.isPropagationStopped=i,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},"stopImmediatePropagation":function(){this.isImmediatePropagationStopped=i,this.stopPropagation()}},ha.each({"mouseenter":"mouseover","mouseleave":"mouseout"},function(a,b){ha.event.special[a]={"delegateType":b,"bindType":b,"handle":function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!ha.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),ha.support.submitBubbles||(ha.event.special.submit={"setup":function(){return ha.nodeName(this,"form")?!1:(ha.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=ha.nodeName(c,"input")||ha.nodeName(c,"button")?c.form:b;d&&!ha._data(d,"submitBubbles")&&(ha.event.add(d,"submit._submit",function(a){a._submit_bubble=!0}),ha._data(d,"submitBubbles",!0))}),b)},"postDispatch":function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&ha.event.simulate("submit",this.parentNode,a,!0))},"teardown":function(){return ha.nodeName(this,"form")?!1:(ha.event.remove(this,"._submit"),b)}}),ha.support.changeBubbles||(ha.event.special.change={"setup":function(){return Ia.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(ha.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),ha.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),ha.event.simulate("change",this,a,!0)})),!1):(ha.event.add(this,"beforeactivate._change",function(a){var b=a.target;Ia.test(b.nodeName)&&!ha._data(b,"changeBubbles")&&(ha.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||ha.event.simulate("change",this.parentNode,a,!0)}),ha._data(b,"changeBubbles",!0))}),b)},"handle":function(a){var c=a.target;return this!==c||a.isSimulated||a.isTrigger||"radio"!==c.type&&"checkbox"!==c.type?a.handleObj.handler.apply(this,arguments):b},"teardown":function(){return ha.event.remove(this,"._change"),!Ia.test(this.nodeName)}}),ha.support.focusinBubbles||ha.each({"focus":"focusin","blur":"focusout"},function(a,b){var c=0,d=function(a){ha.event.simulate(b,a.target,ha.event.fix(a),!0)};ha.event.special[b]={"setup":function(){0===c++&&V.addEventListener(a,d,!0)},"teardown":function(){0===--c&&V.removeEventListener(a,d,!0)}}}),ha.fn.extend({"on":function(a,c,d,e,f){var g,h;if("object"==typeof a){"string"!=typeof c&&(d=d||c,c=b);for(h in a)this.on(h,c,d,a[h],f);return this}if(null==d&&null==e?(e=c,d=c=b):null==e&&("string"==typeof c?(e=d,d=b):(e=d,d=c,c=b)),e===!1)e=j;else if(!e)return this;return 1===f&&(g=e,e=function(a){return ha().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=ha.guid++)),this.each(function(){ha.event.add(this,a,e,d,c)})},"one":function(a,b,c,d){return this.on(a,b,c,d,1)},"off":function(a,c,d){var e,f;if(a&&a.preventDefault&&a.handleObj)return e=a.handleObj,ha(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler),this;if("object"==typeof a){for(f in a)this.off(f,c,a[f]);return this}return(c===!1||"function"==typeof c)&&(d=c,c=b),d===!1&&(d=j),this.each(function(){ha.event.remove(this,a,d,c)})},"bind":function(a,b,c){return this.on(a,null,b,c)},"unbind":function(a,b){return this.off(a,null,b)},"delegate":function(a,b,c,d){return this.on(b,a,c,d)},"undelegate":function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)},"trigger":function(a,b){return this.each(function(){ha.event.trigger(a,b,this)})},"triggerHandler":function(a,c){var d=this[0];return d?ha.event.trigger(a,c,d,!0):b},"hover":function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),ha.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(a,b){ha.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},Ja.test(b)&&(ha.event.fixHooks[b]=ha.event.keyHooks),Ka.test(b)&&(ha.event.fixHooks[b]=ha.event.mouseHooks)}),function(a,b){function c(a){return oa.test(a+"")}function d(){var a,b=[];return a=function(c,d){return b.push(c+=" ")>y.cacheLength&&delete a[b.shift()],a[c]=d}}function e(a){return a[N]=!0,a}function f(a){var b=F.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}}function g(a,b,c,d){var e,f,g,h,i,j,k,n,o,p;if((b?b.ownerDocument||b:O)!==F&&E(b),b=b||F,c=c||[],!a||"string"!=typeof a)return c;if(1!==(h=b.nodeType)&&9!==h)return[];if(!H&&!d){if(e=pa.exec(a))if(g=e[1]){if(9===h){if(f=b.getElementById(g),!f||!f.parentNode)return c;if(f.id===g)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(g))&&L(b,f)&&f.id===g)return c.push(f),c}else{if(e[2])return Z.apply(c,$.call(b.getElementsByTagName(a),0)),c;if((g=e[3])&&P.getByClassName&&b.getElementsByClassName)return Z.apply(c,$.call(b.getElementsByClassName(g),0)),c}if(P.qsa&&!I.test(a)){if(k=!0,n=N,o=b,p=9===h&&a,1===h&&"object"!==b.nodeName.toLowerCase()){for(j=l(a),(k=b.getAttribute("id"))?n=k.replace(sa,"\\$&"):b.setAttribute("id",n),n="[id='"+n+"'] ",i=j.length;i--;)j[i]=n+m(j[i]);o=na.test(a)&&b.parentNode||b,p=j.join(",")}if(p)try{return Z.apply(c,$.call(o.querySelectorAll(p),0)),c}catch(q){}finally{k||b.removeAttribute("id")}}}return u(a.replace(ga,"$1"),b,c,d)}function h(a,b){for(var c=a&&b&&a.nextSibling;c;c=c.nextSibling)if(c===b)return-1;return a?1:-1}function i(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function j(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function k(a){return e(function(b){return b=+b,e(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function l(a,b){var c,d,e,f,h,i,j,k=T[a+" "];if(k)return b?0:k.slice(0);for(h=a,i=[],j=y.preFilter;h;){(!c||(d=ia.exec(h)))&&(d&&(h=h.slice(d[0].length)||h),i.push(e=[])),c=!1,(d=ja.exec(h))&&(c=d.shift(),e.push({"value":c,"type":d[0].replace(ga," ")}),h=h.slice(c.length));for(f in y.filter)!(d=ma[f].exec(h))||j[f]&&!(d=j[f](d))||(c=d.shift(),e.push({"value":c,"type":f,"matches":d}),h=h.slice(c.length));if(!c)break}return b?h.length:h?g.error(a):T(a,i).slice(0)}function m(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function n(a,b,c){var d=b.dir,e=c&&"parentNode"===b.dir,f=R++;return b.first?function(b,c,f){for(;b=b[d];)if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=Q+" "+f;if(g){for(;b=b[d];)if((1===b.nodeType||e)&&a(b,c,g))return!0}else for(;b=b[d];)if(1===b.nodeType||e)if(j=b[N]||(b[N]={}),(i=j[d])&&i[0]===k){if((h=i[1])===!0||h===x)return h===!0}else if(i=j[d]=[k],i[1]=a(b,c,g)||x,i[1]===!0)return!0}}function o(a){return a.length>1?function(b,c,d){for(var e=a.length;e--;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function p(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function q(a,b,c,d,f,g){return d&&!d[N]&&(d=q(d)),f&&!f[N]&&(f=q(f,g)),e(function(e,g,h,i){var j,k,l,m=[],n=[],o=g.length,q=e||t(b||"*",h.nodeType?[h]:h,[]),r=!a||!e&&b?q:p(q,m,a,h,i),s=c?f||(e?a:o||d)?[]:g:r;if(c&&c(r,s,h,i),d)for(j=p(s,n),d(j,[],h,i),k=j.length;k--;)(l=j[k])&&(s[n[k]]=!(r[n[k]]=l));if(e){if(f||a){if(f){for(j=[],k=s.length;k--;)(l=s[k])&&j.push(r[k]=l);f(null,s=[],j,i)}for(k=s.length;k--;)(l=s[k])&&(j=f?_.call(e,l):m[k])>-1&&(e[j]=!(g[j]=l))}}else s=p(s===g?s.splice(o,s.length):s),f?f(null,g,s,i):Z.apply(g,s)})}function r(a){for(var b,c,d,e=a.length,f=y.relative[a[0].type],g=f||y.relative[" "],h=f?1:0,i=n(function(a){return a===b},g,!0),j=n(function(a){return _.call(b,a)>-1},g,!0),k=[function(a,c,d){return!f&&(d||c!==D)||((b=c).nodeType?i(a,c,d):j(a,c,d))}];e>h;h++)if(c=y.relative[a[h].type])k=[n(o(k),c)];else{if(c=y.filter[a[h].type].apply(null,a[h].matches),c[N]){for(d=++h;e>d&&!y.relative[a[d].type];d++);return q(h>1&&o(k),h>1&&m(a.slice(0,h-1)).replace(ga,"$1"),c,d>h&&r(a.slice(h,d)),e>d&&r(a=a.slice(d)),e>d&&m(a))}k.push(c)}return o(k)}function s(a,b){var c=0,d=b.length>0,f=a.length>0,h=function(e,h,i,j,k){var l,m,n,o=[],q=0,r="0",s=e&&[],t=null!=k,u=D,v=e||f&&y.find.TAG("*",k&&h.parentNode||h),w=Q+=null==u?1:Math.E;for(t&&(D=h!==F&&h,x=c);null!=(l=v[r]);r++){if(f&&l){for(m=0;n=a[m];m++)if(n(l,h,i)){j.push(l);break}t&&(Q=w,x=++c)}d&&((l=!n&&l)&&q--,e&&s.push(l))}if(q+=r,d&&r!==q){for(m=0;n=b[m];m++)n(s,o,h,i);if(e){if(q>0)for(;r--;)s[r]||o[r]||(o[r]=Y.call(j));o=p(o)}Z.apply(j,o),t&&!e&&o.length>0&&q+b.length>1&&g.uniqueSort(j)}return t&&(Q=w,D=u),s};return d?e(h):h}function t(a,b,c){for(var d=0,e=b.length;e>d;d++)g(a,b[d],c);return c}function u(a,b,c,d){var e,f,g,h,i,j=l(a);if(!d&&1===j.length){if(f=j[0]=j[0].slice(0),f.length>2&&"ID"===(g=f[0]).type&&9===b.nodeType&&!H&&y.relative[f[1].type]){if(b=y.find.ID(g.matches[0].replace(ua,va),b)[0],!b)return c;a=a.slice(f.shift().value.length)}for(e=ma.needsContext.test(a)?-1:f.length-1;e>=0&&(g=f[e],!y.relative[h=g.type]);e--)if((i=y.find[h])&&(d=i(g.matches[0].replace(ua,va),na.test(f[0].type)&&b.parentNode||b))){if(f.splice(e,1),a=d.length&&m(f),!a)return Z.apply(c,$.call(d,0)),c;break}}return B(a,j)(d,b,H,c,na.test(a)),c}function v(){}var w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N="sizzle"+-new Date,O=a.document,P={},Q=0,R=0,S=d(),T=d(),U=d(),V=typeof b,W=1<<31,X=[],Y=X.pop,Z=X.push,$=X.slice,_=X.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},aa="[\\x20\\t\\r\\n\\f]",ba="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ca=ba.replace("w","w#"),da="([*^$|!~]?=)",ea="\\["+aa+"*("+ba+")"+aa+"*(?:"+da+aa+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ca+")|)|)"+aa+"*\\]",fa=":("+ba+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ea.replace(3,8)+")*)|.*)\\)|)",ga=RegExp("^"+aa+"+|((?:^|[^\\\\])(?:\\\\.)*)"+aa+"+$","g"),ia=RegExp("^"+aa+"*,"+aa+"*"),ja=RegExp("^"+aa+"*([\\x20\\t\\r\\n\\f>+~])"+aa+"*"),ka=RegExp(fa),la=RegExp("^"+ca+"$"),ma={"ID":RegExp("^#("+ba+")"),"CLASS":RegExp("^\\.("+ba+")"),"NAME":RegExp("^\\[name=['\"]?("+ba+")['\"]?\\]"),"TAG":RegExp("^("+ba.replace("w","w*")+")"),"ATTR":RegExp("^"+ea),"PSEUDO":RegExp("^"+fa),"CHILD":RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+aa+"*(even|odd|(([+-]|)(\\d*)n|)"+aa+"*(?:([+-]|)"+aa+"*(\\d+)|))"+aa+"*\\)|)","i"),"needsContext":RegExp("^"+aa+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+aa+"*((?:-\\d)?\\d*)"+aa+"*\\)|)(?=[^-]|$)","i")},na=/[\x20\t\r\n\f]*[+~]/,oa=/\{\s*\[native code\]\s*\}/,pa=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,qa=/^(?:input|select|textarea|button)$/i,ra=/^h\d$/i,sa=/'|\\/g,ta=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,ua=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,va=function(a,b){var c="0x"+b-65536;return c!==c?b:0>c?String.fromCharCode(c+65536):String.fromCharCode(55296|c>>10,56320|1023&c)};try{$.call(G.childNodes,0)[0].nodeType}catch(wa){$=function(a){for(var b,c=[];b=this[a];a++)c.push(b);return c}}A=g.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},E=g.setDocument=function(a){var d=a?a.ownerDocument||a:O;return d!==F&&9===d.nodeType&&d.documentElement?(F=d,G=d.documentElement,H=A(d),P.tagNameNoComments=f(function(a){return a.appendChild(d.createComment("")),!a.getElementsByTagName("*").length}),P.attributes=f(function(a){a.innerHTML="<select></select>";var b=typeof a.lastChild.getAttribute("multiple");return"boolean"!==b&&"string"!==b}),P.getByClassName=f(function(a){return a.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",a.getElementsByClassName&&a.getElementsByClassName("e").length?(a.lastChild.className="e",2===a.getElementsByClassName("e").length):!1}),P.getByName=f(function(a){a.id=N+0,a.innerHTML="<a name='"+N+"'></a><div name='"+N+"'></div>",G.insertBefore(a,G.firstChild);var b=d.getElementsByName&&d.getElementsByName(N).length===2+d.getElementsByName(N+0).length;return P.getIdNotName=!d.getElementById(N),G.removeChild(a),b}),y.attrHandle=f(function(a){return a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!==V&&"#"===a.firstChild.getAttribute("href")})?{}:{"href":function(a){return a.getAttribute("href",2)},"type":function(a){return a.getAttribute("type")}},P.getIdNotName?(y.find.ID=function(a,b){if(typeof b.getElementById!==V&&!H){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},y.filter.ID=function(a){var b=a.replace(ua,va);return function(a){return a.getAttribute("id")===b}}):(y.find.ID=function(a,c){if(typeof c.getElementById!==V&&!H){var d=c.getElementById(a);return d?d.id===a||typeof d.getAttributeNode!==V&&d.getAttributeNode("id").value===a?[d]:b:[]}},y.filter.ID=function(a){var b=a.replace(ua,va);return function(a){var c=typeof a.getAttributeNode!==V&&a.getAttributeNode("id");return c&&c.value===b}}),y.find.TAG=P.tagNameNoComments?function(a,c){return typeof c.getElementsByTagName!==V?c.getElementsByTagName(a):b}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){for(;c=f[e];e++)1===c.nodeType&&d.push(c);return d}return f},y.find.NAME=P.getByName&&function(a,c){return typeof c.getElementsByName!==V?c.getElementsByName(name):b},y.find.CLASS=P.getByClassName&&function(a,c){return typeof c.getElementsByClassName===V||H?b:c.getElementsByClassName(a)},J=[],I=[":focus"],(P.qsa=c(d.querySelectorAll))&&(f(function(a){a.innerHTML="<select><option selected=''></option></select>",a.querySelectorAll("[selected]").length||I.push("\\["+aa+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||I.push(":checked")}),f(function(a){a.innerHTML="<input type='hidden' i=''/>",a.querySelectorAll("[i^='']").length&&I.push("[*^$]="+aa+"*(?:\"\"|'')"),a.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),I.push(",.*:")})),(P.matchesSelector=c(K=G.matchesSelector||G.mozMatchesSelector||G.webkitMatchesSelector||G.oMatchesSelector||G.msMatchesSelector))&&f(function(a){P.disconnectedMatch=K.call(a,"div"),K.call(a,"[s!='']:x"),J.push("!=",fa)}),I=RegExp(I.join("|")),J=RegExp(J.join("|")),L=c(G.contains)||G.compareDocumentPosition?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},M=G.compareDocumentPosition?function(a,b){var c;return a===b?(C=!0,0):(c=b.compareDocumentPosition&&a.compareDocumentPosition&&a.compareDocumentPosition(b))?1&c||a.parentNode&&11===a.parentNode.nodeType?a===d||L(O,a)?-1:b===d||L(O,b)?1:0:4&c?-1:1:a.compareDocumentPosition?-1:1}:function(a,b){var c,e=0,f=a.parentNode,g=b.parentNode,i=[a],j=[b];if(a===b)return C=!0,0;if(a.sourceIndex&&b.sourceIndex)return(~b.sourceIndex||W)-(L(O,a)&&~a.sourceIndex||W);if(!f||!g)return a===d?-1:b===d?1:f?-1:g?1:0;if(f===g)return h(a,b);for(c=a;c=c.parentNode;)i.unshift(c);for(c=b;c=c.parentNode;)j.unshift(c);for(;i[e]===j[e];)e++;return e?h(i[e],j[e]):i[e]===O?-1:j[e]===O?1:0},C=!1,[0,0].sort(M),P.detectDuplicates=C,F):F},g.matches=function(a,b){return g(a,null,null,b)},g.matchesSelector=function(a,b){if((a.ownerDocument||a)!==F&&E(a),b=b.replace(ta,"='$1']"),!(!P.matchesSelector||H||J&&J.test(b)||I.test(b)))try{var c=K.call(a,b);if(c||P.disconnectedMatch||a.document&&11!==a.document.nodeType)return c}catch(d){}return g(b,F,null,[a]).length>0},g.contains=function(a,b){return(a.ownerDocument||a)!==F&&E(a),L(a,b)},g.attr=function(a,b){var c;return(a.ownerDocument||a)!==F&&E(a),H||(b=b.toLowerCase()),(c=y.attrHandle[b])?c(a):H||P.attributes?a.getAttribute(b):((c=a.getAttributeNode(b))||a.getAttribute(b))&&a[b]===!0?b:c&&c.specified?c.value:null},g.error=function(a){throw Error("Syntax error, unrecognized expression: "+a)},g.uniqueSort=function(a){var b,c=[],d=1,e=0;if(C=!P.detectDuplicates,a.sort(M),C){for(;b=a[d];d++)b===a[d-1]&&(e=c.push(d));for(;e--;)a.splice(c[e],1)}return a},z=g.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(1===e||9===e||11===e){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=z(a)}else if(3===e||4===e)return a.nodeValue}else for(;b=a[d];d++)c+=z(b);return c},y=g.selectors={"cacheLength":50,"createPseudo":e,"match":ma,"find":{},"relative":{">":{"dir":"parentNode","first":!0}," ":{"dir":"parentNode"},"+":{"dir":"previousSibling","first":!0},"~":{"dir":"previousSibling"}},"preFilter":{"ATTR":function(a){return a[1]=a[1].replace(ua,va),a[3]=(a[4]||a[5]||"").replace(ua,va),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},"CHILD":function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||g.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&g.error(a[0]),a},"PSEUDO":function(a){var b,c=!a[5]&&a[2];return ma.CHILD.test(a[0])?null:(a[4]?a[2]=a[4]:c&&ka.test(c)&&(b=l(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},"filter":{"TAG":function(a){return"*"===a?function(){return!0}:(a=a.replace(ua,va).toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},"CLASS":function(a){var b=S[a+" "];return b||(b=RegExp("(^|"+aa+")"+a+"("+aa+"|$)"))&&S(a,function(a){return b.test(a.className||typeof a.getAttribute!==V&&a.getAttribute("class")||"")})},"ATTR":function(a,b,c){return function(d){var e=g.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.substr(e.length-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.substr(0,c.length+1)===c+"-":!1):!0}},"CHILD":function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){for(;p;){for(l=b;l=l[p];)if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){for(k=q[N]||(q[N]={}),j=k[a]||[],n=j[0]===Q&&j[1],m=j[0]===Q&&j[2],l=n&&q.childNodes[n];l=++n&&l&&l[p]||(m=n=0)||o.pop();)if(1===l.nodeType&&++m&&l===b){k[a]=[Q,n,m];break}}else if(s&&(j=(b[N]||(b[N]={}))[a])&&j[0]===Q)m=j[1];else for(;(l=++n&&l&&l[p]||(m=n=0)||o.pop())&&((h?l.nodeName.toLowerCase()!==r:1!==l.nodeType)||!++m||(s&&((l[N]||(l[N]={}))[a]=[Q,m]),l!==b)););return m-=e,m===d||0===m%d&&m/d>=0}}},"PSEUDO":function(a,b){var c,d=y.pseudos[a]||y.setFilters[a.toLowerCase()]||g.error("unsupported pseudo: "+a);return d[N]?d(b):d.length>1?(c=[a,a,"",b],y.setFilters.hasOwnProperty(a.toLowerCase())?e(function(a,c){for(var e,f=d(a,b),g=f.length;g--;)e=_.call(a,f[g]),a[e]=!(c[e]=f[g])}):function(a){return d(a,0,c)}):d}},"pseudos":{"not":e(function(a){var b=[],c=[],d=B(a.replace(ga,"$1"));return d[N]?e(function(a,b,c,e){for(var f,g=d(a,null,e,[]),h=a.length;h--;)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),"has":e(function(a){return function(b){return g(a,b).length>0}}),"contains":e(function(a){return function(b){return(b.textContent||b.innerText||z(b)).indexOf(a)>-1}}),"lang":e(function(a){return la.test(a||"")||g.error("unsupported lang: "+a),a=a.replace(ua,va).toLowerCase(),function(b){var c;do if(c=H?b.getAttribute("xml:lang")||b.getAttribute("lang"):b.lang)return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),"target":function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},"root":function(a){return a===G},"focus":function(a){return a===F.activeElement&&(!F.hasFocus||F.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},"enabled":function(a){return a.disabled===!1},"disabled":function(a){return a.disabled===!0},"checked":function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},"selected":function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},"empty":function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeName>"@"||3===a.nodeType||4===a.nodeType)return!1;return!0},"parent":function(a){return!y.pseudos.empty(a)},"header":function(a){return ra.test(a.nodeName)},"input":function(a){return qa.test(a.nodeName)},"button":function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},"text":function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||b.toLowerCase()===a.type)},"first":k(function(){return[0]}),"last":k(function(a,b){return[b-1]}),"eq":k(function(a,b,c){return[0>c?c+b:c]}),"even":k(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),"odd":k(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),"lt":k(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),"gt":k(function(a,b,c){for(var d=0>c?c+b:c;b>++d;)a.push(d);return a})}};for(w in{"radio":!0,"checkbox":!0,"file":!0,"password":!0,"image":!0})y.pseudos[w]=i(w);for(w in{"submit":!0,"reset":!0})y.pseudos[w]=j(w);B=g.compile=function(a,b){var c,d=[],e=[],f=U[a+" "];if(!f){for(b||(b=l(a)),c=b.length;c--;)f=r(b[c]),f[N]?d.push(f):e.push(f);f=U(a,s(e,d))}return f},y.pseudos.nth=y.pseudos.eq,y.filters=v.prototype=y.pseudos,y.setFilters=new v,E(),g.attr=ha.attr,ha.find=g,ha.expr=g.selectors,ha.expr[":"]=ha.expr.pseudos,ha.unique=g.uniqueSort,ha.text=g.getText,ha.isXMLDoc=g.isXML,ha.contains=g.contains}(a);var Na=/Until$/,Oa=/^(?:parents|prev(?:Until|All))/,Pa=/^.[^:#\[\.,]*$/,Qa=ha.expr.match.needsContext,Ra={"children":!0,"contents":!0,"next":!0,"prev":!0};ha.fn.extend({"find":function(a){var b,c,d;if("string"!=typeof a)return d=this,this.pushStack(ha(a).filter(function(){for(b=0;d.length>b;b++)if(ha.contains(d[b],this))return!0}));for(c=[],b=0;this.length>b;b++)ha.find(a,this[b],c);return c=this.pushStack(ha.unique(c)),c.selector=(this.selector?this.selector+" ":"")+a,c},"has":function(a){var b,c=ha(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(ha.contains(this,c[b]))return!0})},"not":function(a){return this.pushStack(l(this,a,!1))},"filter":function(a){return this.pushStack(l(this,a,!0))},"is":function(a){return!!a&&("string"==typeof a?Qa.test(a)?ha(a,this.context).index(this[0])>=0:ha.filter(a,this).length>0:this.filter(a).length>0)},"closest":function(a,b){for(var c,d=0,e=this.length,f=[],g=Qa.test(a)||"string"!=typeof a?ha(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c.ownerDocument&&c!==b&&11!==c.nodeType;){if(g?g.index(c)>-1:ha.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}return this.pushStack(f.length>1?ha.unique(f):f);
  
  },"index":function(a){return a?"string"==typeof a?ha.inArray(this[0],ha(a)):ha.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},"add":function(a,b){var c="string"==typeof a?ha(a,b):ha.makeArray(a&&a.nodeType?[a]:a),d=ha.merge(this.get(),c);return this.pushStack(ha.unique(d))},"addBack":function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),ha.fn.andSelf=ha.fn.addBack,ha.each({"parent":function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},"parents":function(a){return ha.dir(a,"parentNode")},"parentsUntil":function(a,b,c){return ha.dir(a,"parentNode",c)},"next":function(a){return k(a,"nextSibling")},"prev":function(a){return k(a,"previousSibling")},"nextAll":function(a){return ha.dir(a,"nextSibling")},"prevAll":function(a){return ha.dir(a,"previousSibling")},"nextUntil":function(a,b,c){return ha.dir(a,"nextSibling",c)},"prevUntil":function(a,b,c){return ha.dir(a,"previousSibling",c)},"siblings":function(a){return ha.sibling((a.parentNode||{}).firstChild,a)},"children":function(a){return ha.sibling(a.firstChild)},"contents":function(a){return ha.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:ha.merge([],a.childNodes)}},function(a,b){ha.fn[a]=function(c,d){var e=ha.map(this,b,c);return Na.test(a)||(d=c),d&&"string"==typeof d&&(e=ha.filter(d,e)),e=this.length>1&&!Ra[a]?ha.unique(e):e,this.length>1&&Oa.test(a)&&(e=e.reverse()),this.pushStack(e)}}),ha.extend({"filter":function(a,b,c){return c&&(a=":not("+a+")"),1===b.length?ha.find.matchesSelector(b[0],a)?[b[0]]:[]:ha.find.matches(a,b)},"dir":function(a,c,d){for(var e=[],f=a[c];f&&9!==f.nodeType&&(d===b||1!==f.nodeType||!ha(f).is(d));)1===f.nodeType&&e.push(f),f=f[c];return e},"sibling":function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}});var Sa="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ta=/ jQuery\d+="(?:null|\d+)"/g,Ua=RegExp("<(?:"+Sa+")[\\s/>]","i"),Va=/^\s+/,Wa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Xa=/<([\w:]+)/,Ya=/<tbody/i,Za=/<|&#?\w+;/,$a=/<(?:script|style|link)/i,_a=/^(?:checkbox|radio)$/i,ab=/checked\s*(?:[^=]|=\s*.checked.)/i,bb=/^$|\/(?:java|ecma)script/i,cb=/^true\/(.*)/,db=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,eb={"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":ha.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},fb=m(V),gb=fb.appendChild(V.createElement("div"));eb.optgroup=eb.option,eb.tbody=eb.tfoot=eb.colgroup=eb.caption=eb.thead,eb.th=eb.td,ha.fn.extend({"text":function(a){return ha.access(this,function(a){return a===b?ha.text(this):this.empty().append((this[0]&&this[0].ownerDocument||V).createTextNode(a))},null,a,arguments.length)},"wrapAll":function(a){if(ha.isFunction(a))return this.each(function(b){ha(this).wrapAll(a.call(this,b))});if(this[0]){var b=ha(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},"wrapInner":function(a){return this.each(ha.isFunction(a)?function(b){ha(this).wrapInner(a.call(this,b))}:function(){var b=ha(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},"wrap":function(a){var b=ha.isFunction(a);return this.each(function(c){ha(this).wrapAll(b?a.call(this,c):a)})},"unwrap":function(){return this.parent().each(function(){ha.nodeName(this,"body")||ha(this).replaceWith(this.childNodes)}).end()},"append":function(){return this.domManip(arguments,!0,function(a){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(a)})},"prepend":function(){return this.domManip(arguments,!0,function(a){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(a,this.firstChild)})},"before":function(){return this.domManip(arguments,!1,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},"after":function(){return this.domManip(arguments,!1,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},"remove":function(a,b){for(var c,d=0;null!=(c=this[d]);d++)(!a||ha.filter(a,[c]).length>0)&&(b||1!==c.nodeType||ha.cleanData(t(c)),c.parentNode&&(b&&ha.contains(c.ownerDocument,c)&&q(t(c,"script")),c.parentNode.removeChild(c)));return this},"empty":function(){for(var a,b=0;null!=(a=this[b]);b++){for(1===a.nodeType&&ha.cleanData(t(a,!1));a.firstChild;)a.removeChild(a.firstChild);a.options&&ha.nodeName(a,"select")&&(a.options.length=0)}return this},"clone":function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return ha.clone(this,a,b)})},"html":function(a){return ha.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return 1===c.nodeType?c.innerHTML.replace(Ta,""):b;if(!("string"!=typeof a||$a.test(a)||!ha.support.htmlSerialize&&Ua.test(a)||!ha.support.leadingWhitespace&&Va.test(a)||eb[(Xa.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(Wa,"<$1></$2>");try{for(;e>d;d++)c=this[d]||{},1===c.nodeType&&(ha.cleanData(t(c,!1)),c.innerHTML=a);c=0}catch(f){}}c&&this.empty().append(a)},null,a,arguments.length)},"replaceWith":function(a){var b=ha.isFunction(a);return b||"string"==typeof a||(a=ha(a).not(this).detach()),this.domManip([a],!0,function(a){var b=this.nextSibling,c=this.parentNode;(c&&1===this.nodeType||11===this.nodeType)&&(ha(this).remove(),b?b.parentNode.insertBefore(a,b):c.appendChild(a))})},"detach":function(a){return this.remove(a,!0)},"domManip":function(a,c,d){a=aa.apply([],a);var e,f,g,h,i,j,k=0,l=this.length,m=this,q=l-1,r=a[0],s=ha.isFunction(r);if(s||!(1>=l||"string"!=typeof r||ha.support.checkClone)&&ab.test(r))return this.each(function(e){var f=m.eq(e);s&&(a[0]=r.call(this,e,c?f.html():b)),f.domManip(a,c,d)});if(l&&(e=ha.buildFragment(a,this[0].ownerDocument,!1,this),f=e.firstChild,1===e.childNodes.length&&(e=f),f)){for(c=c&&ha.nodeName(f,"tr"),g=ha.map(t(e,"script"),o),h=g.length;l>k;k++)i=e,k!==q&&(i=ha.clone(i,!0,!0),h&&ha.merge(g,t(i,"script"))),d.call(c&&ha.nodeName(this[k],"table")?n(this[k],"tbody"):this[k],i,k);if(h)for(j=g[g.length-1].ownerDocument,ha.map(g,p),k=0;h>k;k++)i=g[k],bb.test(i.type||"")&&!ha._data(i,"globalEval")&&ha.contains(j,i)&&(i.src?ha.ajax({"url":i.src,"type":"GET","dataType":"script","async":!1,"global":!1,"throws":!0}):ha.globalEval((i.text||i.textContent||i.innerHTML||"").replace(db,"")));e=f=null}return this}}),ha.each({"appendTo":"append","prependTo":"prepend","insertBefore":"before","insertAfter":"after","replaceAll":"replaceWith"},function(a,b){ha.fn[a]=function(a){for(var c,d=0,e=[],f=ha(a),g=f.length-1;g>=d;d++)c=d===g?this:this.clone(!0),ha(f[d])[b](c),ba.apply(e,c.get());return this.pushStack(e)}}),ha.extend({"clone":function(a,b,c){var d,e,f,g,h,i=ha.contains(a.ownerDocument,a);if(ha.support.html5Clone||ha.isXMLDoc(a)||!Ua.test("<"+a.nodeName+">")?h=a.cloneNode(!0):(gb.innerHTML=a.outerHTML,gb.removeChild(h=gb.firstChild)),!(ha.support.noCloneEvent&&ha.support.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||ha.isXMLDoc(a)))for(d=t(h),e=t(a),g=0;null!=(f=e[g]);++g)d[g]&&s(f,d[g]);if(b)if(c)for(e=e||t(a),d=d||t(h),g=0;null!=(f=e[g]);g++)r(f,d[g]);else r(a,h);return d=t(h,"script"),d.length>0&&q(d,!i&&t(a,"script")),d=e=f=null,h},"buildFragment":function(a,b,c,d){for(var e,f,g,h,i,j,k,l=a.length,n=m(b),o=[],p=0;l>p;p++)if(f=a[p],f||0===f)if("object"===ha.type(f))ha.merge(o,f.nodeType?[f]:f);else if(Za.test(f)){for(h=h||n.appendChild(b.createElement("div")),g=(Xa.exec(f)||["",""])[1].toLowerCase(),i=eb[g]||eb._default,h.innerHTML=i[1]+f.replace(Wa,"<$1></$2>")+i[2],k=i[0];k--;)h=h.lastChild;if(!ha.support.leadingWhitespace&&Va.test(f)&&o.push(b.createTextNode(Va.exec(f)[0])),!ha.support.tbody)for(f="table"!==g||Ya.test(f)?"<table>"!==i[1]||Ya.test(f)?0:h:h.firstChild,k=f&&f.childNodes.length;k--;)ha.nodeName(j=f.childNodes[k],"tbody")&&!j.childNodes.length&&f.removeChild(j);for(ha.merge(o,h.childNodes),h.textContent="";h.firstChild;)h.removeChild(h.firstChild);h=n.lastChild}else o.push(b.createTextNode(f));for(h&&n.removeChild(h),ha.support.appendChecked||ha.grep(t(o,"input"),u),p=0;f=o[p++];)if((!d||-1===ha.inArray(f,d))&&(e=ha.contains(f.ownerDocument,f),h=t(n.appendChild(f),"script"),e&&q(h),c))for(k=0;f=h[k++];)bb.test(f.type||"")&&c.push(f);return h=null,n},"cleanData":function(a,c){for(var d,e,f,g,h=0,i=ha.expando,j=ha.cache,k=ha.support.deleteExpando,l=ha.event.special;null!=(f=a[h]);h++)if((c||ha.acceptData(f))&&(e=f[i],d=e&&j[e])){if(d.events)for(g in d.events)l[g]?ha.event.remove(f,g):ha.removeEvent(f,g,d.handle);j[e]&&(delete j[e],k?delete f[i]:f.removeAttribute!==b?f.removeAttribute(i):f[i]=null,$.push(e))}}});var hb,ib,jb,kb=/alpha\([^)]*\)/i,lb=/opacity\s*=\s*([^)]*)/,mb=/^(top|right|bottom|left)$/,nb=/^(none|table(?!-c[ea]).+)/,ob=/^margin/,pb=RegExp("^("+ia+")(.*)$","i"),qb=RegExp("^("+ia+")(?!px)[a-z%]+$","i"),rb=RegExp("^([+-])=("+ia+")","i"),sb={"BODY":"block"},tb={"position":"absolute","visibility":"hidden","display":"block"},ub={"letterSpacing":0,"fontWeight":400},vb=["Top","Right","Bottom","Left"],wb=["Webkit","O","Moz","ms"];ha.fn.extend({"css":function(a,c){return ha.access(this,function(a,c,d){var e,f,g={},h=0;if(ha.isArray(c)){for(e=ib(a),f=c.length;f>h;h++)g[c[h]]=ha.css(a,c[h],!1,e);return g}return d!==b?ha.style(a,c,d):ha.css(a,c)},a,c,arguments.length>1)},"show":function(){return x(this,!0)},"hide":function(){return x(this)},"toggle":function(a){var b="boolean"==typeof a;return this.each(function(){(b?a:w(this))?ha(this).show():ha(this).hide()})}}),ha.extend({"cssHooks":{"opacity":{"get":function(a,b){if(b){var c=hb(a,"opacity");return""===c?"1":c}}}},"cssNumber":{"columnCount":!0,"fillOpacity":!0,"fontWeight":!0,"lineHeight":!0,"opacity":!0,"orphans":!0,"widows":!0,"zIndex":!0,"zoom":!0},"cssProps":{"float":ha.support.cssFloat?"cssFloat":"styleFloat"},"style":function(a,c,d,e){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var f,g,h,i=ha.camelCase(c),j=a.style;if(c=ha.cssProps[i]||(ha.cssProps[i]=v(j,i)),h=ha.cssHooks[c]||ha.cssHooks[i],d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];if(g=typeof d,"string"===g&&(f=rb.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(ha.css(a,c)),g="number"),!(null==d||"number"===g&&isNaN(d)||("number"!==g||ha.cssNumber[i]||(d+="px"),ha.support.clearCloneStyle||""!==d||0!==c.indexOf("background")||(j[c]="inherit"),h&&"set"in h&&(d=h.set(a,d,e))===b)))try{j[c]=d}catch(k){}}},"css":function(a,c,d,e){var f,g,h,i=ha.camelCase(c);return c=ha.cssProps[i]||(ha.cssProps[i]=v(a.style,i)),h=ha.cssHooks[c]||ha.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,d)),f===b&&(f=hb(a,c,e)),"normal"===f&&c in ub&&(f=ub[c]),d?(g=parseFloat(f),d===!0||ha.isNumeric(g)?g||0:f):f},"swap":function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e}}),a.getComputedStyle?(ib=function(b){return a.getComputedStyle(b,null)},hb=function(a,c,d){var e,f,g,h=d||ib(a),i=h?h.getPropertyValue(c)||h[c]:b,j=a.style;return h&&(""!==i||ha.contains(a.ownerDocument,a)||(i=ha.style(a,c)),qb.test(i)&&ob.test(c)&&(e=j.width,f=j.minWidth,g=j.maxWidth,j.minWidth=j.maxWidth=j.width=i,i=h.width,j.width=e,j.minWidth=f,j.maxWidth=g)),i}):V.documentElement.currentStyle&&(ib=function(a){return a.currentStyle},hb=function(a,c,d){var e,f,g,h=d||ib(a),i=h?h[c]:b,j=a.style;return null==i&&j&&j[c]&&(i=j[c]),qb.test(i)&&!mb.test(c)&&(e=j.left,f=a.runtimeStyle,g=f&&f.left,g&&(f.left=a.currentStyle.left),j.left="fontSize"===c?"1em":i,i=j.pixelLeft+"px",j.left=e,g&&(f.left=g)),""===i?"auto":i}),ha.each(["height","width"],function(a,c){ha.cssHooks[c]={"get":function(a,d,e){return d?0===a.offsetWidth&&nb.test(ha.css(a,"display"))?ha.swap(a,tb,function(){return A(a,c,e)}):A(a,c,e):b},"set":function(a,b,d){var e=d&&ib(a);return y(a,b,d?z(a,c,d,ha.support.boxSizing&&"border-box"===ha.css(a,"boxSizing",!1,e),e):0)}}}),ha.support.opacity||(ha.cssHooks.opacity={"get":function(a,b){return lb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},"set":function(a,b){var c=a.style,d=a.currentStyle,e=ha.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===ha.trim(f.replace(kb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=kb.test(f)?f.replace(kb,e):f+" "+e)}}),ha(function(){ha.support.reliableMarginRight||(ha.cssHooks.marginRight={"get":function(a,c){return c?ha.swap(a,{"display":"inline-block"},hb,[a,"marginRight"]):b}}),!ha.support.pixelPosition&&ha.fn.position&&ha.each(["top","left"],function(a,c){ha.cssHooks[c]={"get":function(a,d){return d?(d=hb(a,c),qb.test(d)?ha(a).position()[c]+"px":d):b}}})}),ha.expr&&ha.expr.filters&&(ha.expr.filters.hidden=function(a){return 0===a.offsetWidth&&0===a.offsetHeight||!ha.support.reliableHiddenOffsets&&"none"===(a.style&&a.style.display||ha.css(a,"display"))},ha.expr.filters.visible=function(a){return!ha.expr.filters.hidden(a)}),ha.each({"margin":"","padding":"","border":"Width"},function(a,b){ha.cssHooks[a+b]={"expand":function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+vb[d]+b]=f[d]||f[d-2]||f[0];return e}},ob.test(a)||(ha.cssHooks[a+b].set=y)});var xb=/%20/g,yb=/\[\]$/,zb=/\r?\n/g,Ab=/^(?:submit|button|image|reset)$/i,Bb=/^(?:input|select|textarea|keygen)/i;ha.fn.extend({"serialize":function(){return ha.param(this.serializeArray())},"serializeArray":function(){return this.map(function(){var a=ha.prop(this,"elements");return a?ha.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!ha(this).is(":disabled")&&Bb.test(this.nodeName)&&!Ab.test(a)&&(this.checked||!_a.test(a))}).map(function(a,b){var c=ha(this).val();return null==c?null:ha.isArray(c)?ha.map(c,function(a){return{"name":b.name,"value":a.replace(zb,"\r\n")}}):{"name":b.name,"value":c.replace(zb,"\r\n")}}).get()}}),ha.param=function(a,c){var d,e=[],f=function(a,b){b=ha.isFunction(b)?b():null==b?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(c===b&&(c=ha.ajaxSettings&&ha.ajaxSettings.traditional),ha.isArray(a)||a.jquery&&!ha.isPlainObject(a))ha.each(a,function(){f(this.name,this.value)});else for(d in a)D(d,a[d],c,f);return e.join("&").replace(xb,"+")};var Cb,Db,Eb=ha.now(),Fb=/\?/,Gb=/#.*$/,Hb=/([?&])_=[^&]*/,Ib=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Jb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Kb=/^(?:GET|HEAD)$/,Lb=/^\/\//,Mb=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Nb=ha.fn.load,Ob={},Pb={},Qb="*/".concat("*");try{Db=W.href}catch(Rb){Db=V.createElement("a"),Db.href="",Db=Db.href}Cb=Mb.exec(Db.toLowerCase())||[],ha.fn.load=function(a,c,d){if("string"!=typeof a&&Nb)return Nb.apply(this,arguments);var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),ha.isFunction(c)?(d=c,c=b):c&&"object"==typeof c&&(f="POST"),h.length>0&&ha.ajax({"url":a,"type":f,"dataType":"html","data":c}).done(function(a){g=arguments,h.html(e?ha("<div>").append(ha.parseHTML(a)).find(e):a)}).complete(d&&function(a,b){h.each(d,g||[a.responseText,b,a])}),this},ha.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){ha.fn[b]=function(a){return this.on(b,a)}}),ha.each(["get","post"],function(a,c){ha[c]=function(a,d,e,f){return ha.isFunction(d)&&(f=f||e,e=d,d=b),ha.ajax({"url":a,"type":c,"dataType":f,"data":d,"success":e})}}),ha.extend({"active":0,"lastModified":{},"etag":{},"ajaxSettings":{"url":Db,"type":"GET","isLocal":Jb.test(Cb[1]),"global":!0,"processData":!0,"async":!0,"contentType":"application/x-www-form-urlencoded; charset=UTF-8","accepts":{"*":Qb,"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":a.String,"text html":!0,"text json":ha.parseJSON,"text xml":ha.parseXML},"flatOptions":{"url":!0,"context":!0}},"ajaxSetup":function(a,b){return b?G(G(a,ha.ajaxSettings),b):G(ha.ajaxSettings,a)},"ajaxPrefilter":E(Ob),"ajaxTransport":E(Pb),"ajax":function(a,c){function d(a,c,d,h){var j,l,s,t,v,x=c;2!==u&&(u=2,i&&clearTimeout(i),e=b,g=h||"",w.readyState=a>0?4:0,d&&(t=H(m,w,d)),a>=200&&300>a||304===a?(m.ifModified&&(v=w.getResponseHeader("Last-Modified"),v&&(ha.lastModified[f]=v),v=w.getResponseHeader("etag"),v&&(ha.etag[f]=v)),304===a?(j=!0,x="notmodified"):(j=I(m,t),x=j.state,l=j.data,s=j.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),w.status=a,w.statusText=(c||x)+"",j?p.resolveWith(n,[l,x,w]):p.rejectWith(n,[w,x,s]),w.statusCode(r),r=b,k&&o.trigger(j?"ajaxSuccess":"ajaxError",[w,m,j?l:s]),q.fireWith(n,[w,x]),k&&(o.trigger("ajaxComplete",[w,m]),--ha.active||ha.event.trigger("ajaxStop")))}"object"==typeof a&&(c=a,a=b),c=c||{};var e,f,g,h,i,j,k,l,m=ha.ajaxSetup({},c),n=m.context||m,o=m.context&&(n.nodeType||n.jquery)?ha(n):ha.event,p=ha.Deferred(),q=ha.Callbacks("once memory"),r=m.statusCode||{},s={},t={},u=0,v="canceled",w={"readyState":0,"getResponseHeader":function(a){var b;if(2===u){if(!h)for(h={};b=Ib.exec(g);)h[b[1].toLowerCase()]=b[2];b=h[a.toLowerCase()]}return null==b?null:b},"getAllResponseHeaders":function(){return 2===u?g:null},"setRequestHeader":function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},"overrideMimeType":function(a){return u||(m.mimeType=a),this},"statusCode":function(a){var b;if(a)if(2>u)for(b in a)r[b]=[r[b],a[b]];else w.always(a[w.status]);return this},"abort":function(a){var b=a||v;return e&&e.abort(b),d(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,m.url=((a||m.url||Db)+"").replace(Gb,"").replace(Lb,Cb[1]+"//"),m.type=c.method||c.type||m.method||m.type,m.dataTypes=ha.trim(m.dataType||"*").toLowerCase().match(ja)||[""],null==m.crossDomain&&(j=Mb.exec(m.url.toLowerCase()),m.crossDomain=!(!j||j[1]===Cb[1]&&j[2]===Cb[2]&&(j[3]||("http:"===j[1]?80:443))==(Cb[3]||("http:"===Cb[1]?80:443)))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=ha.param(m.data,m.traditional)),F(Ob,m,c,w),2===u)return w;k=m.global,k&&0===ha.active++&&ha.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Kb.test(m.type),f=m.url,m.hasContent||(m.data&&(f=m.url+=(Fb.test(f)?"&":"?")+m.data,delete m.data),m.cache===!1&&(m.url=Hb.test(f)?f.replace(Hb,"$1_="+Eb++):f+(Fb.test(f)?"&":"?")+"_="+Eb++)),m.ifModified&&(ha.lastModified[f]&&w.setRequestHeader("If-Modified-Since",ha.lastModified[f]),ha.etag[f]&&w.setRequestHeader("If-None-Match",ha.etag[f])),(m.data&&m.hasContent&&m.contentType!==!1||c.contentType)&&w.setRequestHeader("Content-Type",m.contentType),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Qb+"; q=0.01":""):m.accepts["*"]);for(l in m.headers)w.setRequestHeader(l,m.headers[l]);if(m.beforeSend&&(m.beforeSend.call(n,w,m)===!1||2===u))return w.abort();v="abort";for(l in{"success":1,"error":1,"complete":1})w[l](m[l]);if(e=F(Pb,m,c,w)){w.readyState=1,k&&o.trigger("ajaxSend",[w,m]),m.async&&m.timeout>0&&(i=setTimeout(function(){w.abort("timeout")},m.timeout));try{u=1,e.send(s,d)}catch(x){if(!(2>u))throw x;d(-1,x)}}else d(-1,"No Transport");return w},"getScript":function(a,c){return ha.get(a,b,c,"script")},"getJSON":function(a,b,c){return ha.get(a,b,c,"json")}}),ha.ajaxSetup({"accepts":{"script":"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},"contents":{"script":/(?:java|ecma)script/},"converters":{"text script":function(a){return ha.globalEval(a),a}}}),ha.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),ha.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=V.head||ha("head")[0]||V.documentElement;return{"send":function(b,e){c=V.createElement("script"),c.async=!0,a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,b){(b||!c.readyState||/loaded|complete/.test(c.readyState))&&(c.onload=c.onreadystatechange=null,c.parentNode&&c.parentNode.removeChild(c),c=null,b||e(200,"success"))},d.insertBefore(c,d.firstChild)},"abort":function(){c&&c.onload(b,!0)}}}});var Sb=[],Tb=/(=)\?(?=&|$)|\?\?/;ha.ajaxSetup({"jsonp":"callback","jsonpCallback":function(){var a=Sb.pop()||ha.expando+"_"+Eb++;return this[a]=!0,a}}),ha.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.jsonp!==!1&&(Tb.test(c.url)?"url":"string"==typeof c.data&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&Tb.test(c.data)&&"data");return i||"jsonp"===c.dataTypes[0]?(f=c.jsonpCallback=ha.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,i?c[i]=c[i].replace(Tb,"$1"+f):c.jsonp!==!1&&(c.url+=(Fb.test(c.url)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||ha.error(f+" was not called"),h[0]},c.dataTypes[0]="json",g=a[f],a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,Sb.push(f)),h&&ha.isFunction(g)&&g(h[0]),h=g=b}),"script"):b});var Ub,Vb,Wb=0,Xb=a.ActiveXObject&&function(){var a;for(a in Ub)Ub[a](b,!0)};ha.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&J()||K()}:J,Vb=ha.ajaxSettings.xhr(),ha.support.cors=!!Vb&&"withCredentials"in Vb,Vb=ha.support.ajax=!!Vb,Vb&&ha.ajaxTransport(function(c){if(!c.crossDomain||ha.support.cors){var d;return{"send":function(e,f){var g,h,i=c.xhr();if(c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async),c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),c.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||4===i.readyState))if(d=b,g&&(i.onreadystatechange=ha.noop,Xb&&delete Ub[g]),e)4!==i.readyState&&i.abort();else{l={},h=i.status,m=i.responseXML,k=i.getAllResponseHeaders(),m&&m.documentElement&&(l.xml=m),"string"==typeof i.responseText&&(l.text=i.responseText);try{j=i.statusText}catch(n){j=""}h||!c.isLocal||c.crossDomain?1223===h&&(h=204):h=l.text?200:404}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?4===i.readyState?setTimeout(d):(g=++Wb,Xb&&(Ub||(Ub={},ha(a).unload(Xb)),Ub[g]=d),i.onreadystatechange=d):d()},"abort":function(){d&&d(b,!0)}}}});var Yb,Zb,$b=/^(?:toggle|show|hide)$/,_b=RegExp("^(?:([+-])=|)("+ia+")([a-z%]*)$","i"),ac=/queueHooks$/,bc=[P],cc={"*":[function(a,b){var c,d,e=this.createTween(a,b),f=_b.exec(b),g=e.cur(),h=+g||0,i=1,j=20;if(f){if(c=+f[2],d=f[3]||(ha.cssNumber[a]?"":"px"),"px"!==d&&h){h=ha.css(e.elem,a,!0)||c||1;do i=i||".5",h/=i,ha.style(e.elem,a,h+d);while(i!==(i=e.cur()/g)&&1!==i&&--j)}e.unit=d,e.start=h,e.end=f[1]?h+(f[1]+1)*c:c}return e}]};ha.Animation=ha.extend(N,{"tweener":function(a,b){ha.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],cc[c]=cc[c]||[],cc[c].unshift(b)},"prefilter":function(a,b){b?bc.unshift(a):bc.push(a)}}),ha.Tween=Q,Q.prototype={"constructor":Q,"init":function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(ha.cssNumber[c]?"":"px")},"cur":function(){var a=Q.propHooks[this.prop];return a&&a.get?a.get(this):Q.propHooks._default.get(this)},"run":function(a){var b,c=Q.propHooks[this.prop];return this.pos=b=this.options.duration?ha.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Q.propHooks._default.set(this),this}},Q.prototype.init.prototype=Q.prototype,Q.propHooks={"_default":{"get":function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=ha.css(a.elem,a.prop,"auto"),b&&"auto"!==b?b:0):a.elem[a.prop]},"set":function(a){ha.fx.step[a.prop]?ha.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[ha.cssProps[a.prop]]||ha.cssHooks[a.prop])?ha.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Q.propHooks.scrollTop=Q.propHooks.scrollLeft={"set":function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},ha.each(["toggle","show","hide"],function(a,b){var c=ha.fn[b];ha.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(R(b,!0),a,d,e)}}),ha.fn.extend({"fadeTo":function(a,b,c,d){return this.filter(w).css("opacity",0).show().end().animate({"opacity":b},a,c,d)},"animate":function(a,b,c,d){var e=ha.isEmptyObject(a),f=ha.speed(b,c,d),g=function(){var b=N(this,ha.extend({},a),f);g.finish=function(){b.stop(!0)},(e||ha._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},"stop":function(a,c,d){var e=function(a){var b=a.stop;delete a.stop,b(d)};return"string"!=typeof a&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,c=null!=a&&a+"queueHooks",f=ha.timers,g=ha._data(this);if(c)g[c]&&g[c].stop&&e(g[c]);else for(c in g)g[c]&&g[c].stop&&ac.test(c)&&e(g[c]);for(c=f.length;c--;)f[c].elem!==this||null!=a&&f[c].queue!==a||(f[c].anim.stop(d),b=!1,f.splice(c,1));(b||!d)&&ha.dequeue(this,a)})},"finish":function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=ha._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=ha.timers,g=d?d.length:0;for(c.finish=!0,ha.queue(this,a,[]),e&&e.cur&&e.cur.finish&&e.cur.finish.call(this),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),ha.each({"slideDown":R("show"),"slideUp":R("hide"),"slideToggle":R("toggle"),"fadeIn":{"opacity":"show"},"fadeOut":{"opacity":"hide"},"fadeToggle":{"opacity":"toggle"}},function(a,b){ha.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),ha.speed=function(a,b,c){var d=a&&"object"==typeof a?ha.extend({},a):{"complete":c||!c&&b||ha.isFunction(a)&&a,"duration":a,"easing":c&&b||b&&!ha.isFunction(b)&&b};return d.duration=ha.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in ha.fx.speeds?ha.fx.speeds[d.duration]:ha.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){ha.isFunction(d.old)&&d.old.call(this),d.queue&&ha.dequeue(this,d.queue)},d},ha.easing={"linear":function(a){return a},"swing":function(a){return.5-Math.cos(a*Math.PI)/2}},ha.timers=[],ha.fx=Q.prototype.init,ha.fx.tick=function(){var a,c=ha.timers,d=0;for(Yb=ha.now();c.length>d;d++)a=c[d],a()||c[d]!==a||c.splice(d--,1);c.length||ha.fx.stop(),Yb=b},ha.fx.timer=function(a){a()&&ha.timers.push(a)&&ha.fx.start()},ha.fx.interval=13,ha.fx.start=function(){Zb||(Zb=setInterval(ha.fx.tick,ha.fx.interval))},ha.fx.stop=function(){clearInterval(Zb),Zb=null},ha.fx.speeds={"slow":600,"fast":200,"_default":400},ha.fx.step={},ha.expr&&ha.expr.filters&&(ha.expr.filters.animated=function(a){return ha.grep(ha.timers,function(b){return a===b.elem}).length}),ha.fn.offset=function(a){if(arguments.length)return a===b?this:this.each(function(b){ha.offset.setOffset(this,a,b)});var c,d,e={"top":0,"left":0},f=this[0],g=f&&f.ownerDocument;return g?(c=g.documentElement,ha.contains(c,f)?(f.getBoundingClientRect!==b&&(e=f.getBoundingClientRect()),d=S(g),{"top":e.top+(d.pageYOffset||c.scrollTop)-(c.clientTop||0),"left":e.left+(d.pageXOffset||c.scrollLeft)-(c.clientLeft||0)}):e):void 0},ha.offset={"setOffset":function(a,b,c){var d=ha.css(a,"position");"static"===d&&(a.style.position="relative");var e,f,g=ha(a),h=g.offset(),i=ha.css(a,"top"),j=ha.css(a,"left"),k=("absolute"===d||"fixed"===d)&&ha.inArray("auto",[i,j])>-1,l={},m={};k?(m=g.position(),e=m.top,f=m.left):(e=parseFloat(i)||0,f=parseFloat(j)||0),ha.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(l.top=b.top-h.top+e),null!=b.left&&(l.left=b.left-h.left+f),"using"in b?b.using.call(a,l):g.css(l)}},ha.fn.extend({"position":function(){if(this[0]){var a,b,c={"top":0,"left":0},d=this[0];return"fixed"===ha.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),ha.nodeName(a[0],"html")||(c=a.offset()),c.top+=ha.css(a[0],"borderTopWidth",!0),c.left+=ha.css(a[0],"borderLeftWidth",!0)),{"top":b.top-c.top-ha.css(d,"marginTop",!0),"left":b.left-c.left-ha.css(d,"marginLeft",!0)}}},"offsetParent":function(){return this.map(function(){for(var a=this.offsetParent||V.documentElement;a&&!ha.nodeName(a,"html")&&"static"===ha.css(a,"position");)a=a.offsetParent;return a||V.documentElement})}}),ha.each({"scrollLeft":"pageXOffset","scrollTop":"pageYOffset"},function(a,c){var d=/Y/.test(c);ha.fn[a]=function(e){return ha.access(this,function(a,e,f){var g=S(a);return f===b?g?c in g?g[c]:g.document.documentElement[e]:a[e]:(g?g.scrollTo(d?ha(g).scrollLeft():f,d?f:ha(g).scrollTop()):a[e]=f,b)},a,e,arguments.length,null)}}),ha.each({"Height":"height","Width":"width"},function(a,c){ha.each({"padding":"inner"+a,"content":c,"":"outer"+a},function(d,e){ha.fn[e]=function(e,f){var g=arguments.length&&(d||"boolean"!=typeof e),h=d||(e===!0||f===!0?"margin":"border");return ha.access(this,function(c,d,e){var f;return ha.isWindow(c)?c.document.documentElement["client"+a]:9===c.nodeType?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?ha.css(c,d,h):ha.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jQuery=a.$=ha,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return ha})}(window),function(a){a.fn.flowtype=function(b){var c=a.extend({"maximum":9999,"minimum":1,"maxFont":9999,"minFont":1,"fontRatio":35,"lineRatio":1.45},b),d=function(b){var d=a(b),e=d.width(),f=e>c.maximum?c.maximum:e<c.minimum?c.minimum:e,g=f/c.fontRatio,h=g>c.maxFont?c.maxFont:g<c.minFont?c.minFont:g;d.css({"font-size":h+"px","line-height":h*c.lineRatio+"px"})};return this.each(function(){var b=this;a(window).on("resize.flowtype",function(){d(b)}),d(this)})}}(jQuery),function(a){"use strict";function b(a){return new RegExp("(^|\\s+)"+a+"(\\s+|$)")}function c(a,b){var c=d(a,b)?f:e;c(a,b)}var d,e,f;"classList"in document.documentElement?(d=function(a,b){return a.classList.contains(b)},e=function(a,b){a.classList.add(b)},f=function(a,b){a.classList.remove(b)}):(d=function(a,c){return b(c).test(a.className)},e=function(a,b){d(a,b)||(a.className=a.className+" "+b)},f=function(a,c){a.className=a.className.replace(b(c)," ")});var g={"hasClass":d,"addClass":e,"removeClass":f,"toggleClass":c,"has":d,"add":e,"remove":f,"toggle":c};"function"==typeof define&&define.amd?define(g):a.classie=g}(window),function(a){a.extend(a.fn,{"validate":function(b){if(!this.length)return void(b&&b.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var c=a.data(this[0],"validator");return c?c:(this.attr("novalidate","novalidate"),c=new a.validator(b,this[0]),a.data(this[0],"validator",c),c.settings.onsubmit&&(this.validateDelegate(":submit","click",function(b){c.settings.submitHandler&&(c.submitButton=b.target),a(b.target).hasClass("cancel")&&(c.cancelSubmit=!0),void 0!==a(b.target).attr("formnovalidate")&&(c.cancelSubmit=!0)}),this.submit(function(b){function d(){var d;return c.settings.submitHandler?(c.submitButton&&(d=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(a(c.submitButton).val()).appendTo(c.currentForm)),c.settings.submitHandler.call(c,c.currentForm,b),c.submitButton&&d.remove(),!1):!0}return c.settings.debug&&b.preventDefault(),c.cancelSubmit?(c.cancelSubmit=!1,
  d()):c.form()?c.pendingRequest?(c.formSubmitted=!0,!1):d():(c.focusInvalid(),!1)})),c)},"valid":function(){if(a(this[0]).is("form"))return this.validate().form();var b=!0,c=a(this[0].form).validate();return this.each(function(){b=b&&c.element(this)}),b},"removeAttrs":function(b){var c={},d=this;return a.each(b.split(/\s/),function(a,b){c[b]=d.attr(b),d.removeAttr(b)}),c},"rules":function(b,c){var d=this[0];if(b){var e=a.data(d.form,"validator").settings,f=e.rules,g=a.validator.staticRules(d);switch(b){case"add":a.extend(g,a.validator.normalizeRule(c)),delete g.messages,f[d.name]=g,c.messages&&(e.messages[d.name]=a.extend(e.messages[d.name],c.messages));break;case"remove":if(!c)return delete f[d.name],g;var h={};return a.each(c.split(/\s/),function(a,b){h[b]=g[b],delete g[b]}),h}}var i=a.validator.normalizeRules(a.extend({},a.validator.classRules(d),a.validator.attributeRules(d),a.validator.dataRules(d),a.validator.staticRules(d)),d);if(i.required){var j=i.required;delete i.required,i=a.extend({"required":j},i)}return i}}),a.extend(a.expr[":"],{"blank":function(b){return!a.trim(""+a(b).val())},"filled":function(b){return!!a.trim(""+a(b).val())},"unchecked":function(b){return!a(b).prop("checked")}}),a.validator=function(b,c){this.settings=a.extend(!0,{},a.validator.defaults,b),this.currentForm=c,this.init()},a.validator.format=function(b,c){return 1===arguments.length?function(){var c=a.makeArray(arguments);return c.unshift(b),a.validator.format.apply(this,c)}:(arguments.length>2&&c.constructor!==Array&&(c=a.makeArray(arguments).slice(1)),c.constructor!==Array&&(c=[c]),a.each(c,function(a,c){b=b.replace(new RegExp("\\{"+a+"\\}","g"),function(){return c})}),b)},a.extend(a.validator,{"defaults":{"messages":{},"groups":{},"rules":{},"errorClass":"error","validClass":"valid","errorElement":"label","focusInvalid":!0,"errorContainer":a([]),"errorLabelContainer":a([]),"onsubmit":!0,"ignore":":hidden","ignoreTitle":!1,"onfocusin":function(a){this.lastActive=a,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(a)).hide())},"onfocusout":function(a){this.checkable(a)||!(a.name in this.submitted)&&this.optional(a)||this.element(a)},"onkeyup":function(a,b){(9!==b.which||""!==this.elementValue(a))&&(a.name in this.submitted||a===this.lastElement)&&this.element(a)},"onclick":function(a){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element(a.parentNode)},"highlight":function(b,c,d){"radio"===b.type?this.findByName(b.name).addClass(c).removeClass(d):a(b).addClass(c).removeClass(d)},"unhighlight":function(b,c,d){"radio"===b.type?this.findByName(b.name).removeClass(c).addClass(d):a(b).removeClass(c).addClass(d)}},"setDefaults":function(b){a.extend(a.validator.defaults,b)},"messages":{"required":"This field is required.","remote":"Please fix this field.","email":"Please enter a valid email address.","url":"Please enter a valid URL.","date":"Please enter a valid date.","dateISO":"Please enter a valid date (ISO).","number":"Please enter a valid number.","digits":"Please enter only digits.","creditcard":"Please enter a valid credit card number.","equalTo":"Please enter the same value again.","maxlength":a.validator.format("Please enter no more than {0} characters."),"minlength":a.validator.format("Please enter at least {0} characters."),"rangelength":a.validator.format("Please enter a value between {0} and {1} characters long."),"range":a.validator.format("Please enter a value between {0} and {1}."),"max":a.validator.format("Please enter a value less than or equal to {0}."),"min":a.validator.format("Please enter a value greater than or equal to {0}.")},"autoCreateRanges":!1,"prototype":{"init":function(){function b(b){var c=a.data(this[0].form,"validator"),d="on"+b.type.replace(/^validate/,"");c.settings[d]&&c.settings[d].call(c,this[0],b)}this.labelContainer=a(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm),this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var c=this.groups={};a.each(this.settings.groups,function(b,d){"string"==typeof d&&(d=d.split(/\s/)),a.each(d,function(a,d){c[d]=b})});var d=this.settings.rules;a.each(d,function(b,c){d[b]=a.validator.normalizeRule(c)}),a(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",b).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",b),this.settings.invalidHandler&&a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},"form":function(){return this.checkForm(),a.extend(this.submitted,this.errorMap),this.invalid=a.extend({},this.errorMap),this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},"checkForm":function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},"element":function(b){b=this.validationTargetFor(this.clean(b)),this.lastElement=b,this.prepareElement(b),this.currentElements=a(b);var c=this.check(b)!==!1;return c?delete this.invalid[b.name]:this.invalid[b.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),c},"showErrors":function(b){if(b){a.extend(this.errorMap,b),this.errorList=[];for(var c in b)this.errorList.push({"message":b[c],"element":this.findByName(c)[0]});this.successList=a.grep(this.successList,function(a){return!(a.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},"resetForm":function(){a.fn.resetForm&&a(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue")},"numberOfInvalids":function(){return this.objectLength(this.invalid)},"objectLength":function(a){var b=0;for(var c in a)b++;return b},"hideErrors":function(){this.addWrapper(this.toHide).hide()},"valid":function(){return 0===this.size()},"size":function(){return this.errorList.length},"focusInvalid":function(){if(this.settings.focusInvalid)try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(b){}},"findLastActive":function(){var b=this.lastActive;return b&&1===a.grep(this.errorList,function(a){return a.element.name===b.name}).length&&b},"elements":function(){var b=this,c={};return a(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return!this.name&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in c||!b.objectLength(a(this).rules())?!1:(c[this.name]=!0,!0)})},"clean":function(b){return a(b)[0]},"errors":function(){var b=this.settings.errorClass.replace(" ",".");return a(this.settings.errorElement+"."+b,this.errorContext)},"reset":function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=a([]),this.toHide=a([]),this.currentElements=a([])},"prepareForm":function(){this.reset(),this.toHide=this.errors().add(this.containers)},"prepareElement":function(a){this.reset(),this.toHide=this.errorsFor(a)},"elementValue":function(b){var c=a(b).attr("type"),d=a(b).val();return"radio"===c||"checkbox"===c?a("input[name='"+a(b).attr("name")+"']:checked").val():"string"==typeof d?d.replace(/\r/g,""):d},"check":function(b){b=this.validationTargetFor(this.clean(b));var c,d=a(b).rules(),e=!1,f=this.elementValue(b);for(var g in d){var h={"method":g,"parameters":d[g]};try{if(c=a.validator.methods[g].call(this,f,b,h.parameters),"dependency-mismatch"===c){e=!0;continue}if(e=!1,"pending"===c)return void(this.toHide=this.toHide.not(this.errorsFor(b)));if(!c)return this.formatAndAdd(b,h),!1}catch(i){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+b.id+", check the '"+h.method+"' method.",i),i}}return e?void 0:(this.objectLength(d)&&this.successList.push(b),!0)},"customDataMessage":function(b,c){return a(b).data("msg-"+c.toLowerCase())||b.attributes&&a(b).attr("data-msg-"+c.toLowerCase())},"customMessage":function(a,b){var c=this.settings.messages[a];return c&&(c.constructor===String?c:c[b])},"findDefined":function(){for(var a=0;a<arguments.length;a++)if(void 0!==arguments[a])return arguments[a];return void 0},"defaultMessage":function(b,c){return this.findDefined(this.customMessage(b.name,c),this.customDataMessage(b,c),!this.settings.ignoreTitle&&b.title||void 0,a.validator.messages[c],"<strong>Warning: No message defined for "+b.name+"</strong>")},"formatAndAdd":function(b,c){var d=this.defaultMessage(b,c.method),e=/\$?\{(\d+)\}/g;"function"==typeof d?d=d.call(this,c.parameters,b):e.test(d)&&(d=a.validator.format(d.replace(e,"{$1}"),c.parameters)),this.errorList.push({"message":d,"element":b}),this.errorMap[b.name]=d,this.submitted[b.name]=d},"addWrapper":function(a){return this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper))),a},"defaultShowErrors":function(){var a,b;for(a=0;this.errorList[a];a++){var c=this.errorList[a];this.settings.highlight&&this.settings.highlight.call(this,c.element,this.settings.errorClass,this.settings.validClass),this.showLabel(c.element,c.message)}if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight)for(a=0,b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},"validElements":function(){return this.currentElements.not(this.invalidElements())},"invalidElements":function(){return a(this.errorList).map(function(){return this.element})},"showLabel":function(b,c){var d=this.errorsFor(b);d.length?(d.removeClass(this.settings.validClass).addClass(this.settings.errorClass),d.html(c)):(d=a("<"+this.settings.errorElement+">").attr("for",this.idOrName(b)).addClass(this.settings.errorClass).html(c||""),this.settings.wrapper&&(d=d.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(d).length||(this.settings.errorPlacement?this.settings.errorPlacement(d,a(b)):d.insertAfter(b))),!c&&this.settings.success&&(d.text(""),"string"==typeof this.settings.success?d.addClass(this.settings.success):this.settings.success(d,b)),this.toShow=this.toShow.add(d)},"errorsFor":function(b){var c=this.idOrName(b);return this.errors().filter(function(){return a(this).attr("for")===c})},"idOrName":function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},"validationTargetFor":function(a){return this.checkable(a)&&(a=this.findByName(a.name).not(this.settings.ignore)[0]),a},"checkable":function(a){return/radio|checkbox/i.test(a.type)},"findByName":function(b){return a(this.currentForm).find("[name='"+b+"']")},"getLength":function(b,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c))return this.findByName(c.name).filter(":checked").length}return b.length},"depend":function(a,b){return this.dependTypes[typeof a]?this.dependTypes[typeof a](a,b):!0},"dependTypes":{"boolean":function(a){return a},"string":function(b,c){return!!a(b,c.form).length},"function":function(a,b){return a(b)}},"optional":function(b){var c=this.elementValue(b);return!a.validator.methods.required.call(this,c,b)&&"dependency-mismatch"},"startRequest":function(a){this.pending[a.name]||(this.pendingRequest++,this.pending[a.name]=!0)},"stopRequest":function(b,c){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],c&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(a(this.currentForm).submit(),this.formSubmitted=!1):!c&&0===this.pendingRequest&&this.formSubmitted&&(a(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},"previousValue":function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{"old":null,"valid":!0,"message":this.defaultMessage(b,"remote")})}},"classRuleSettings":{"required":{"required":!0},"email":{"email":!0},"url":{"url":!0},"date":{"date":!0},"dateISO":{"dateISO":!0},"number":{"number":!0},"digits":{"digits":!0},"creditcard":{"creditcard":!0}},"addClassRules":function(b,c){b.constructor===String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},"classRules":function(b){var c={},d=a(b).attr("class");return d&&a.each(d.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(c,a.validator.classRuleSettings[this])}),c},"attributeRules":function(b){var c={},d=a(b),e=d[0].getAttribute("type");for(var f in a.validator.methods){var g;"required"===f?(g=d.get(0).getAttribute(f),""===g&&(g=!0),g=!!g):g=d.attr(f),/min|max/.test(f)&&(null===e||/number|range|text/.test(e))&&(g=Number(g)),g?c[f]=g:e===f&&"range"!==e&&(c[f]=!0)}return c.maxlength&&/-1|2147483647|524288/.test(c.maxlength)&&delete c.maxlength,c},"dataRules":function(b){var c,d,e={},f=a(b);for(c in a.validator.methods)d=f.data("rule-"+c.toLowerCase()),void 0!==d&&(e[c]=d);return e},"staticRules":function(b){var c={},d=a.data(b.form,"validator");return d.settings.rules&&(c=a.validator.normalizeRule(d.settings.rules[b.name])||{}),c},"normalizeRules":function(b,c){return a.each(b,function(d,e){if(e===!1)return void delete b[d];if(e.param||e.depends){var f=!0;switch(typeof e.depends){case"string":f=!!a(e.depends,c.form).length;break;case"function":f=e.depends.call(c,c)}f?b[d]=void 0!==e.param?e.param:!0:delete b[d]}}),a.each(b,function(d,e){b[d]=a.isFunction(e)?e(c):e}),a.each(["minlength","maxlength"],function(){b[this]&&(b[this]=Number(b[this]))}),a.each(["rangelength","range"],function(){var c;b[this]&&(a.isArray(b[this])?b[this]=[Number(b[this][0]),Number(b[this][1])]:"string"==typeof b[this]&&(c=b[this].split(/[\s,]+/),b[this]=[Number(c[0]),Number(c[1])]))}),a.validator.autoCreateRanges&&(b.min&&b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),b.minlength&&b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b},"normalizeRule":function(b){if("string"==typeof b){var c={};a.each(b.split(/\s/),function(){c[this]=!0}),b=c}return b},"addMethod":function(b,c,d){a.validator.methods[b]=c,a.validator.messages[b]=void 0!==d?d:a.validator.messages[b],c.length<3&&a.validator.addClassRules(b,a.validator.normalizeRule(b))},"methods":{"required":function(b,c,d){if(!this.depend(d,c))return"dependency-mismatch";if("select"===c.nodeName.toLowerCase()){var e=a(c).val();return e&&e.length>0}return this.checkable(c)?this.getLength(b,c)>0:a.trim(b).length>0},"email":function(a,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(a)},"url":function(a,b){return this.optional(b)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a)},"date":function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a).toString())},"dateISO":function(a,b){return this.optional(b)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(a)},"number":function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(a)},"digits":function(a,b){return this.optional(b)||/^\d+$/.test(a)},"creditcard":function(a,b){if(this.optional(b))return"dependency-mismatch";if(/[^0-9 \-]+/.test(a))return!1;var c=0,d=0,e=!1;a=a.replace(/\D/g,"");for(var f=a.length-1;f>=0;f--){var g=a.charAt(f);d=parseInt(g,10),e&&(d*=2)>9&&(d-=9),c+=d,e=!e}return c%10===0},"minlength":function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(a.trim(b),c);return this.optional(c)||e>=d},"maxlength":function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(a.trim(b),c);return this.optional(c)||d>=e},"rangelength":function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(a.trim(b),c);return this.optional(c)||e>=d[0]&&e<=d[1]},"min":function(a,b,c){return this.optional(b)||a>=c},"max":function(a,b,c){return this.optional(b)||c>=a},"range":function(a,b,c){return this.optional(b)||a>=c[0]&&a<=c[1]},"equalTo":function(b,c,d){var e=a(d);return this.settings.onfocusout&&e.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(c).valid()}),b===e.val()},"remote":function(b,c,d){if(this.optional(c))return"dependency-mismatch";var e=this.previousValue(c);if(this.settings.messages[c.name]||(this.settings.messages[c.name]={}),e.originalMessage=this.settings.messages[c.name].remote,this.settings.messages[c.name].remote=e.message,d="string"==typeof d&&{"url":d}||d,e.old===b)return e.valid;e.old=b;var f=this;this.startRequest(c);var g={};return g[c.name]=b,a.ajax(a.extend(!0,{"url":d,"mode":"abort","port":"validate"+c.name,"dataType":"json","data":g,"success":function(d){f.settings.messages[c.name].remote=e.originalMessage;var g=d===!0||"true"===d;if(g){var h=f.formSubmitted;f.prepareElement(c),f.formSubmitted=h,f.successList.push(c),delete f.invalid[c.name],f.showErrors()}else{var i={},j=d||f.defaultMessage(c,"remote");i[c.name]=e.message=a.isFunction(j)?j(b):j,f.invalid[c.name]=!0,f.showErrors(i)}e.valid=g,f.stopRequest(c,g)}},d)),"pending"}}}),a.format=a.validator.format}(jQuery),function(a){var b={};if(a.ajaxPrefilter)a.ajaxPrefilter(function(a,c,d){var e=a.port;"abort"===a.mode&&(b[e]&&b[e].abort(),b[e]=d)});else{var c=a.ajax;a.ajax=function(d){var e=("mode"in d?d:a.ajaxSettings).mode,f=("port"in d?d:a.ajaxSettings).port;return"abort"===e?(b[f]&&b[f].abort(),b[f]=c.apply(this,arguments),b[f]):c.apply(this,arguments)}}}(jQuery),function(a){a.extend(a.fn,{"validateDelegate":function(b,c,d){return this.bind(c,function(c){var e=a(c.target);return e.is(b)?d.apply(e,arguments):void 0})}})}(jQuery),function(a,b){"use strict";a.fn.imagesLoaded=function(a){var b=this,c=function(a){setTimeout(function(){var d,e;d=b.find("img"),e=0,d.each(function(){this.complete&&e++}),d.length===e?a():c(a)},250)};c(a)};var Modernizr=b.Modernizr;a.Flipshow=function(b,c){this.$el=a(c),this._init(b)},a.Flipshow.defaults={"speed":700,"easing":"cubic-bezier(.29,1.44,.86,1.06)"},a.Flipshow.prototype={"_init":function(b){this.options=a.extend(!0,{},a.Flipshow.defaults,b),this.support=Modernizr.csstransitions&&Modernizr.csstransforms3d;var c={"WebkitTransition":"webkitTransitionEnd","MozTransition":"transitionend","OTransition":"oTransitionEnd","msTransition":"MSTransitionEnd","transition":"transitionend"},d={"WebkitTransform":"-webkit-transform","MozTransform":"-moz-transform","OTransform":"-o-transform","msTransform":"-ms-transform","transform":"transform"};this.support&&(this.transEndEventName=c[Modernizr.prefixed("transition")]+".cbpFWSlider",this.transformName=d[Modernizr.prefixed("transform")]),this.transitionProperties=this.transformName+" "+this.options.speed+"ms "+this.options.easing,this.$listItems=this.$el.children("ul.f-slides"),this.$items=this.$listItems.children("li").hide(),this.itemsCount=this.$items.length,this.current=0,this.$listItems.imagesLoaded(a.proxy(function(){this.$items.eq(this.current).show(),this.itemsCount>0&&(this._addNav(),this._addBullets(),this.support&&this._layout())},this))},"_addNav":function(){var b=this,c=a('<div class="f-left"><span></span><i class="icon-arrow-left"></i></div>'),d=a('<div class="f-right"><span></span><i class="icon-arrow-right"></i></div>');a('<div class="nav"></div>').append(c,d).appendTo(this.$el),c.find("span").on("click.flipshow touchstart.flipshow",function(){b._navigate(a(this),"left")}),d.find("span").on("click.flipshow touchstart.flipshow",function(){b._navigate(a(this),"right")})},"_addBullets":function(){var b,c,d;for(c=this,d=a('<div class="f-bullets"></div>'),b=0;b<this.itemsCount;b++)d.append('<span class="f-bullet" data-index="'+b+'"></div>');d.find("span").on("click",function(){var a,b,d,e,f;e=this.getAttribute("data-index"),f=c.$items.eq(e),b=c.current,d=c.$items.eq(b),c.$items.hide(),a=e>b?"left":"right",c.current=e,c.support?c._flip(d,f,a,1):(d.show(),c._updateBullet(d,f))}).filter(":eq(0)").addClass("fb-active"),this.$bulletsContainer=d,this.$el.find("div.nav").append(d)},"_layout":function(){this.$flipFront=a('<div class="f-front"><div></div></div>'),this.$frontContent=this.$flipFront.children("div:first"),this.$flipBack=a('<div class="f-back"><div></div></div>'),this.$backContent=this.$flipBack.children("div:first"),this.$flipEl=a('<div class="f-flip"></div>').append(this.$flipFront,this.$flipBack).hide().appendTo(this.$el)},"_navigate":function(a,b){if(this.isAnimating&&this.support)return!1;this.isAnimating=!0;var c=this.$items.eq(this.current).hide();this.$items.hide(),"right"===b?this.current<this.itemsCount-1?++this.current:this.current=0:"left"===b&&(this.current>0?--this.current:this.current=this.itemsCount-1);var d=this.$items.eq(this.current);this.support?this._flip(c,d,b,1):(d.show(),this._updateBullet(c,d))},"_flip":function(b,c,d,e){this._updateBullet(b,c);var f="",g=a('<div class="f-overlay-light"></div>'),h=a('<div class="f-overlay-dark"></div>');this.$flipEl.css("transition",this.transitionProperties),this.$flipFront.find("div.f-overlay-light, div.f-overlay-dark").remove(),this.$flipBack.find("div.f-overlay-light, div.f-overlay-dark").remove(),"right"===d?(this.$flipFront.append(g),this.$flipBack.append(h),h.css("opacity",1)):"left"===d&&(this.$flipFront.append(h),this.$flipBack.append(g),g.css("opacity",1));var i={"transition":"opacity "+this.options.speed/1.3+"ms"};switch(g.css(i),h.css(i),e){case 0:f="left"===d?"rotate3d(-1,1,0,-179deg) rotate3d(-1,1,0,-1deg)":"rotate3d(1,1,0,180deg)";break;case 1:f=-1===navigator.appVersion.indexOf("MSIE")?"left"===d?"rotate3d(0,1,0,-179deg) rotate3d(0,1,0,-1deg)":"rotate3d(0,1,0,179deg)":"left"===d?"rotateY(-179deg)":"rotateY(180deg)";break;case 2:f="left"===d?"rotate3d(1,1,0,-179deg) rotate3d(1,1,0,-1deg)":"rotate3d(-1,1,0,179deg) rotate3d(-1,1,0,1deg)"}this.$flipBack.css("transform",f),this.$frontContent.empty().html(b.html()),this.$backContent.empty().html(c.html()),this.$flipEl.show();var j=this;setTimeout(function(){j.$flipEl.css("transform",f),g.css("opacity","right"===d?1:0),h.css("opacity","right"===d?0:1),j.$flipEl.on(j.transEndEventName,function(a){"f-overlay-light"!==a.target.className&&"f-overlay-dark"!==a.target.className&&j._ontransitionend(c)})},25)},"_ontransitionend":function(a){a.show(),this.$flipEl.off(this.transEndEventName).css({"transition":"none","transform":"none"}).hide(),this.isAnimating=!1},"_updateBullet":function(a,b){this.$bulletsContainer.find("span:eq("+a.index()+")").removeClass("fb-active"),this.$bulletsContainer.find("span:eq("+b.index()+")").addClass("fb-active")}};var c=function(a){b.console&&b.console.error(a)};a.fn.flipshow=function(b){if("string"==typeof b){var d=Array.prototype.slice.call(arguments,1);this.each(function(){var e=a.data(this,"flipshow");return e?a.isFunction(e[b])&&"_"!==b.charAt(0)?void e[b].apply(e,d):void c("no such method '"+b+"' for flipshow instance"):void c("cannot call methods on flipshow prior to initialization; attempted to call method '"+b+"'")})}else this.each(function(){var c=a.data(this,"flipshow");c?c._init():c=a.data(this,"flipshow",new a.Flipshow(b,this))});return this}}(jQuery,window),function(a){var b,c,d,e,f,g,h,i="Close",j="BeforeClose",k="AfterClose",l="BeforeAppend",m="MarkupParse",n="Open",o="Change",p="mfp",q="."+p,r="mfp-ready",s="mfp-removing",t="mfp-prevent-close",u=function(){},v=!!window.jQuery,w=a(window),x=function(a,c){b.ev.on(p+a+q,c)},y=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},z=function(c,d){b.ev.triggerHandler(p+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},A=function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},B=function(c){return c===h&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),h=c),b.currTemplate.closeBtn},C=function(){a.magnificPopup.instance||(b=new u,b.init(),a.magnificPopup.instance=b)},D=function(c){if(!a(c).hasClass(t)&&!a(c).closest("."+t).get(0)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},E=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};u.prototype={"constructor":u,"init":function(){var c=navigator.appVersion;b.isIE7=-1!==c.indexOf("MSIE 7."),b.isIE8=-1!==c.indexOf("MSIE 8."),b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=E(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document.body),e=a(document),b.popupsCache={}},"open":function(c){var d;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var f,h=c.items;for(d=0;d<h.length;d++)if(f=h[d],f.parsed&&(f=f.el[0]),f===c.el[0]){b.index=d;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],g="",b.ev=c.mainEl&&c.mainEl.length?c.mainEl.eq(0):e,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=y("bg").on("click"+q,function(){b.close()}),b.wrap=y("wrap").attr("tabindex",-1).on("click"+q,function(a){D(a.target)&&b.close()}),b.container=y("container",b.wrap)),b.contentContainer=y("content"),b.st.preloader&&(b.preloader=y("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(d=0;d<i.length;d++){var j=i[d];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}z("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(x(m,function(a,b,c,d){c.close_replaceWith=B(d.type)}),g+=" mfp-close-btn-in"):b.wrap.append(B())),b.st.alignTop&&(g+=" mfp-align-top"),b.wrap.css(b.fixedContentPos?{"overflow":b.st.overflowY,"overflowX":"hidden","overflowY":b.st.overflowY}:{"top":w.scrollTop(),"position":"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({"height":e.height(),"position":"absolute"}),b.st.enableEscapeKey&&e.on("keyup"+q,function(a){27===a.keyCode&&b.close()}),w.on("resize"+q,function(){b.updateSize()}),b.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&b.wrap.addClass(g);var k=b.wH=w.height(),l={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(l.paddingRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):l.overflow="hidden");var p=b.st.mainClass;b.isIE7&&(p+=" mfp-ie7"),p&&b._addClassToMFP(p),b.updateItemHTML(),z("BuildControls"),a("html").css(l),b.bgOverlay.add(b.wrap).prependTo(document.body),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(r),A()):b.bgOverlay.addClass(r),e.on("focusin"+q,function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(A(),!1)})},16),b.isOpen=!0,b.updateSize(k),z(n)},"close":function(){b.isOpen&&(z(j),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(s),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},"_close":function(){z(i);var c=s+" "+r+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var d={"paddingRight":""};b.isIE7?a("body, html").css("overflow",""):d.overflow="",a("html").css(d)}e.off("keyup"+q+" focusin"+q),b.ev.off(q),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,z(k)},"updateSize":function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||w.height();b.fixedContentPos||b.wrap.css("height",b.wH),z("Resize")},"updateItemHTML":function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(z("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var e=b.st[d]?b.st[d].markup:!1;z("FirstMarkupParse",e),b.currTemplate[d]=e?a(e):!0}f&&f!==c.type&&b.container.removeClass("mfp-"+f+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,z(o,c),f=c.type,b.container.prepend(b.contentContainer),z("AfterChange")},"appendContent":function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(B()):b.content=a:b.content="",z(l),b.container.addClass("mfp-"+c+"-holder"),
  b.contentContainer.append(b.content)},"parseEl":function(c){var d=b.items[c],e=d.type;if(d=d.tagName?{"el":a(d)}:{"data":d,"src":d.src},d.el){for(var f=b.types,g=0;g<f.length;g++)if(d.el.hasClass("mfp-"+f[g])){e=f[g];break}d.src=d.el.attr("data-mfp-src"),d.src||(d.src=d.el.attr("href"))}return d.type=e||b.st.type||"inline",d.index=c,d.parsed=!0,b.items[c]=d,z("ElementParse",d),b.items[c]},"addGroup":function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},"_openClick":function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||2!==c.which&&!c.ctrlKey&&!c.metaKey){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(w.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},"updateStatus":function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={"status":a,"text":d};z("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},"_addClassToMFP":function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},"_removeClassFromMFP":function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},"_hasScrollBar":function(a){return(b.isIE7?e.height():document.body.scrollHeight)>(a||w.height())},"_parseMarkup":function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),z(m,[b,c,d]),a.each(c,function(a,c){if(void 0===c||c===!1)return!0;if(e=a.split("_"),e.length>1){var d=b.find(q+"-"+e[0]);if(d.length>0){var f=e[1];"replaceWith"===f?d[0]!==c[0]&&d.replaceWith(c):"img"===f?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(q+"-"+a).html(c)})},"_getScrollbarSize":function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.id="mfp-sbm",a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={"instance":null,"proto":u.prototype,"modules":[],"open":function(a,b){return C(),a||(a={}),a.isObj=!0,a.index=b||0,this.instance.open(a)},"close":function(){return a.magnificPopup.instance.close()},"registerModule":function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},"defaults":{"disableOn":0,"key":null,"midClick":!1,"mainClass":"","preloader":!0,"focus":"","closeOnContentClick":!1,"closeOnBgClick":!0,"closeBtnInside":!0,"showCloseBtn":!0,"enableEscapeKey":!0,"modal":!1,"alignTop":!1,"removalDelay":0,"fixedContentPos":"auto","fixedBgPos":"auto","overflowY":"auto","closeMarkup":'<button title="%title%" type="button" class="mfp-close">&times;</button>',"tClose":"Close (Esc)","tLoading":"Loading..."}},a.fn.magnificPopup=function(c){C();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=v?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({"mfpEl":e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else v?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var F,G,H,I="inline",J=function(){H&&(G.after(H.addClass(F)).detach(),H=null)};a.magnificPopup.registerModule(I,{"options":{"hiddenClass":"hide","markup":"","tNotFound":"Content not found"},"proto":{"initInline":function(){b.types.push(I),x(i+"."+I,function(){J()})},"getInline":function(c,d){if(J(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(G||(F=e.hiddenClass,G=y(F),F="mfp-"+F),H=f.after(G).detach().removeClass(F)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var K,L="ajax",M=function(){K&&d.removeClass(K)};a.magnificPopup.registerModule(L,{"options":{"settings":null,"cursor":"mfp-ajax-cur","tError":'<a href="%url%">The content</a> could not be loaded.'},"proto":{"initAjax":function(){b.types.push(L),K=b.st.ajax.cursor,x(i+"."+L,function(){M(),b.req&&b.req.abort()})},"getAjax":function(c){K&&d.addClass(K),b.updateStatus("loading");var e=a.extend({"url":c.src,"success":function(d,e,f){var g={"data":d,"xhr":f};z("ParseAjax",g),b.appendContent(a(g.data),L),c.finished=!0,M(),A(),setTimeout(function(){b.wrap.addClass(r)},16),b.updateStatus("ready"),z("AjaxContentAdded")},"error":function(){M(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(e),""}}});var N,O=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{"options":{"markup":'<div class="mfp-figure"><div class="mfp-close"></div><div class="mfp-img"></div><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>',"cursor":"mfp-zoom-out-cur","titleSrc":"title","verticalFit":!0,"tError":'<a href="%url%">The image</a> could not be loaded.'},"proto":{"initImage":function(){var a=b.st.image,c=".image";b.types.push("image"),x(n+c,function(){"image"===b.currItem.type&&a.cursor&&d.addClass(a.cursor)}),x(i+c,function(){a.cursor&&d.removeClass(a.cursor),w.off("resize"+q)}),x("Resize"+c,b.resizeImage),b.isLowIE&&x("AfterChange",b.resizeImage)},"resizeImage":function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},"_onImageHasSize":function(a){a.img&&(a.hasSize=!0,N&&clearInterval(N),a.isCheckingImgSize=!1,z("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},"findImageSize":function(a){var c=0,d=a.img[0],e=function(f){N&&clearInterval(N),N=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(N),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},"getImage":function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,z("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),c.img[0].naturalWidth>0&&(c.hasSize=!0)}return b._parseMarkup(d,{"title":O(c),"img_replaceWith":c.img},c),b.resizeImage(),c.hasSize?(N&&clearInterval(N),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var P,Q=function(){return void 0===P&&(P=void 0!==document.createElement("p").style.MozTransform),P};a.magnificPopup.registerModule("zoom",{"options":{"enabled":!1,"easing":"ease-in-out","duration":300,"opener":function(a){return a.is("img")?a:a.find("img")}},"proto":{"initZoom":function(){var a=b.st.zoom,c=".zoom";if(a.enabled&&b.supportsTransition){var d,e,f=a.duration,g=function(b){var c=b.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+a.duration/1e3+"s "+a.easing,e={"position":"fixed","zIndex":9999,"left":0,"top":0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,c.css(e),c},h=function(){b.content.css("visibility","visible")};x("BuildControls"+c,function(){if(b._allowZoom()){if(clearTimeout(d),b.content.css("visibility","hidden"),image=b._getItemToZoom(),!image)return void h();e=g(image),e.css(b._getOffset()),b.wrap.append(e),d=setTimeout(function(){e.css(b._getOffset(!0)),d=setTimeout(function(){h(),setTimeout(function(){e.remove(),image=e=null,z("ZoomAnimationEnded")},16)},f)},16)}}),x(j+c,function(){if(b._allowZoom()){if(clearTimeout(d),b.st.removalDelay=f,!image){if(image=b._getItemToZoom(),!image)return;e=g(image)}e.css(b._getOffset(!0)),b.wrap.append(e),b.content.css("visibility","hidden"),setTimeout(function(){e.css(b._getOffset())},16)}}),x(i+c,function(){b._allowZoom()&&(h(),e&&e.remove())})}},"_allowZoom":function(){return"image"===b.currItem.type},"_getItemToZoom":function(){return b.currItem.hasSize?b.currItem.img:!1},"_getOffset":function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={"width":d.width(),"height":(v?d.innerHeight():d[0].offsetHeight)-g-f};return Q()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var R="iframe",S="//about:blank",T=function(a){if(b.currTemplate[R]){var c=b.currTemplate[R].find("iframe");c.length&&(a||(c[0].src=S),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(R,{"options":{"markup":'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',"srcAction":"iframe_src","patterns":{"youtube":{"index":"youtube.com","id":"v=","src":"//www.youtube.com/embed/%id%?autoplay=1"},"vimeo":{"index":"vimeo.com/","id":"/","src":"//player.vimeo.com/video/%id%?autoplay=1"},"gmaps":{"index":"//maps.google.","src":"%id%&output=embed"}}},"proto":{"initIframe":function(){b.types.push(R),x("BeforeChange",function(a,b,c){b!==c&&(b===R?T():c===R&&T(!0))}),x(i+"."+R,function(){T()})},"getIframe":function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var U=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},V=function(a,b,c){return a.replace("%curr%",b+1).replace("%total%",c)};a.magnificPopup.registerModule("gallery",{"options":{"enabled":!1,"arrowMarkup":'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',"preload":[0,2],"navigateByImgClick":!0,"arrows":!0,"tPrev":"Previous (Left arrow key)","tNext":"Next (Right arrow key)","tCounter":"%curr% of %total%"},"proto":{"initGallery":function(){var c=b.st.gallery,d=".mfp-gallery",f=Boolean(a.fn.mfpFastClick);return b.direction=!0,c&&c.enabled?(g+=" mfp-gallery",x(n+d,function(){c.navigateByImgClick&&b.wrap.on("click"+d,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),e.on("keydown"+d,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),x("UpdateStatus"+d,function(a,c){c.text&&(c.text=V(c.text,b.currItem.index,b.items.length))}),x(m+d,function(a,d,e,f){var g=b.items.length;e.counter=g>1?V(c.tCounter,f.index,g):""}),x("BuildControls"+d,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace("%title%",c.tPrev).replace("%dir%","left")).addClass(t),g=b.arrowRight=a(d.replace("%title%",c.tNext).replace("%dir%","right")).addClass(t),h=f?"mfpFastClick":"click";e[h](function(){b.prev()}),g[h](function(){b.next()}),b.isIE7&&(y("b",e[0],!1,!0),y("a",e[0],!1,!0),y("b",g[0],!1,!0),y("a",g[0],!1,!0)),b.container.append(e.add(g))}}),x(o+d,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void x(i+d,function(){e.off(d),b.wrap.off("click"+d),b.arrowLeft&&f&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null})):!1},"next":function(){b.direction=!0,b.index=U(b.index+1),b.updateItemHTML()},"prev":function(){b.direction=!1,b.index=U(b.index-1),b.updateItemHTML()},"goTo":function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},"preloadNearbyImages":function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},"_preloadItem":function(c){if(c=U(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),z("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,z("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var W="retina";a.magnificPopup.registerModule(W,{"options":{"replaceSrc":function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},"ratio":1},"proto":{"initRetina":function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(x("ImageHasSize."+W,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,"width":"100%"})}),x("ElementParse."+W,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){w.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,w.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&w.off("touchmove"+f+" touchend"+f)}}()}(window.jQuery||window.Zepto),function(a){a.fn.unveil=function(b){function c(){e=k.filter(function(){var b=a(this),c=g.scrollTop(),d=c+g.height(),e=b.offset().top,f=e+b.height();return f>=c-h&&d+h>=e}),d=e.trigger("unveil"),k=k.not(d)}var d,e,f,g=a(window),h=b||0,i=window.devicePixelRatio>1,j=i?"data-src-retina":"data-src",k=this;return this.one("unveil",function(){f=this.getAttribute(j),f=f||this.getAttribute("data-src"),f&&this.setAttribute("src",f)}),g.scroll(c),g.resize(c),c(),this}}(window.jQuery||window.Zepto),function(a){a.fn.gMap=function(b,c){switch(b){case"addMarker":return a(this).trigger("gMap.addMarker",[c.latitude,c.longitude,c.content,c.icon,c.popup]);case"centerAt":return a(this).trigger("gMap.centerAt",[c.latitude,c.longitude,c.zoom]);case"clearMarkers":return a(this).trigger("gMap.clearMarkers")}var d=a.extend({},a.fn.gMap.defaults,b);return this.each(function(){var b=new google.maps.Map(this);a(this).data("gMap.reference",b);var c=new google.maps.Geocoder;d.address?c.geocode({"address":d.address},function(a){a&&a.length&&b.setCenter(a[0].geometry.location)}):d.latitude&&d.longitude?b.setCenter(new google.maps.LatLng(d.latitude,d.longitude)):a.isArray(d.markers)&&d.markers.length>0?d.markers[0].address?c.geocode({"address":d.markers[0].address},function(a){a&&a.length>0&&b.setCenter(a[0].geometry.location)}):b.setCenter(new google.maps.LatLng(d.markers[0].latitude,d.markers[0].longitude)):b.setCenter(new google.maps.LatLng(34.885931,9.84375)),b.setZoom(d.zoom),b.setMapTypeId(google.maps.MapTypeId[d.maptype]);var e={"scrollwheel":d.scrollwheel,"disableDoubleClickZoom":!d.doubleclickzoom};d.controls===!1?a.extend(e,{"disableDefaultUI":!0}):0!=d.controls.length&&a.extend(e,d.controls,{"disableDefaultUI":!0}),b.setOptions(e);var f=new google.maps.Marker;marker_icon=new google.maps.MarkerImage(d.icon.image),marker_icon.size=new google.maps.Size(d.icon.iconsize[0],d.icon.iconsize[1]),marker_icon.anchor=new google.maps.Point(d.icon.iconanchor[0],d.icon.iconanchor[1]),f.setIcon(marker_icon),d.icon.shadow&&(marker_shadow=new google.maps.MarkerImage(d.icon.shadow),marker_shadow.size=new google.maps.Size(d.icon.shadowsize[0],d.icon.shadowsize[1]),marker_shadow.anchor=new google.maps.Point(d.icon.shadowanchor[0],d.icon.shadowanchor[1]),f.setShadow(marker_shadow)),a(this).bind("gMap.centerAt",function(a,c,d,e){e&&b.setZoom(e),b.panTo(new google.maps.LatLng(parseFloat(c),parseFloat(d)))});var g=[];a(this).bind("gMap.clearMarkers",function(){for(;g[0];)g.pop().setMap(null)});var h;a(this).bind("gMap.addMarker",function(a,c,e,i,j,k){var l=new google.maps.LatLng(parseFloat(c),parseFloat(e)),m=new google.maps.Marker({"position":l});if(j?(marker_icon=new google.maps.MarkerImage(j.image),marker_icon.size=new google.maps.Size(j.iconsize[0],j.iconsize[1]),marker_icon.anchor=new google.maps.Point(j.iconanchor[0],j.iconanchor[1]),m.setIcon(marker_icon),j.shadow&&(marker_shadow=new google.maps.MarkerImage(j.shadow),marker_shadow.size=new google.maps.Size(j.shadowsize[0],j.shadowsize[1]),marker_shadow.anchor=new google.maps.Point(j.shadowanchor[0],j.shadowanchor[1]),f.setShadow(marker_shadow))):(m.setIcon(f.getIcon()),m.setShadow(f.getShadow())),i){"_latlng"==i&&(i=c+", "+e);var n=new google.maps.InfoWindow({"content":d.html_prepend+i+d.html_append});google.maps.event.addListener(m,"click",function(){h&&h.close(),n.open(b,m),h=n}),k&&google.maps.event.addListenerOnce(b,"tilesloaded",function(){n.open(b,m)})}m.setMap(b),g.push(m)});for(var i=0;i<d.markers.length;i++)if(marker=d.markers[i],marker.address){"_address"==marker.html&&(marker.html=marker.address);var j=this;c.geocode({"address":marker.address},function(b,c){return function(d){d&&d.length>0&&a(c).trigger("gMap.addMarker",[d[0].geometry.location.lat(),d[0].geometry.location.lng(),b.html,b.icon,b.popup])}}(marker,j))}else a(this).trigger("gMap.addMarker",[marker.latitude,marker.longitude,marker.html,marker.icon,marker.popup])})},a.fn.gMap.defaults={"address":"","latitude":0,"longitude":0,"zoom":1,"markers":[],"controls":[],"scrollwheel":!1,"doubleclickzoom":!0,"maptype":"ROADMAP","html_prepend":'<div class="gmap_marker">',"html_append":"</div>","icon":{"image":"http://www.google.com/mapfiles/marker.png","shadow":"http://www.google.com/mapfiles/shadow50.png","iconsize":[20,34],"shadowsize":[37,34],"iconanchor":[9,34],"shadowanchor":[6,34]}}}(jQuery);var responsiveModule=function(){"use strict";var a,b,c;return a=function(){var a=document.createElement("li");return a.innerHTML='<div class="sizer"><div class="diamond"><div class="diamond-inner"><div class="diamond-content"></div></div></div></div>',a},b=function(a){var b=document.querySelectorAll('[data-position="'+a+'"]');if(b.length>0){if(1===b[0].nodeType&&"li"===b[0].tagName.toLowerCase())return b[0].cloneNode(!0);var c=document.createElement("li");return c.appendChild(b[0].children[0].cloneNode(!0)),c.className=b[0].className,c.classList.remove("unique-diamond"),c}throw new Error("Element not found or is not and LI")},c=function(c){if(!c)throw new Error("Are you missing the map?");var d,e,f,g,h,i;for(i=[],e=0;e<c.length;e++){if(h=document.createElement("ul"),e%2===0&&(h.className="odd"),d=c[e],d.length>1)for(g=0;g<d.length;g++)f=d[g],h.appendChild(b(f));else h.appendChild(a()),h.appendChild(b(d[0])),h.appendChild(a());i.push(h)}return i},{"generate":c}}();(function(){"use strict";$.fn.preload=function(){this.each(function(){$("<img/>").attr("src",this)})},$(document).ready(function(){var a=[];$("img.preload").each(function(){a.push($(this).attr("src"))}),$(a).preload()})}).apply(this,[jQuery]),function(){"use strict";var a={"Android":function(){return navigator.userAgent.match(/Android/i)},"BlackBerry":function(){return navigator.userAgent.match(/BlackBerry/i)},"iOS":function(){return navigator.userAgent.match(/iPhone|iPod|iPad/i)},"Opera":function(){return navigator.userAgent.match(/Opera Mini/i)},"Windows":function(){return navigator.userAgent.match(/IEMobile|WPDesktop/i)},"any":function(){return a.Android()||a.BlackBerry()||a.iOS()||a.Opera()||a.Windows()}};$.isMobile=a}.apply(this,[jQuery]),function(){"use strict";var a=function(a,b){if($.diamondObject[a])return new $.diamondObject[a](this,b);throw new Error("Diamond type not found")};$.fn.diamond=function(b,c){return this.each(function(){return a.apply(this,[b,c])})}}.apply(this,[jQuery]),function(a){"use strict";var b=function(a,b){return this.initialize(a,b)};b.prototype={"options":{"attribute":"data-words","interval":2},"timer":null,"currentWord":0,"totalWords":0,"initialize":function(b,c){return this.options=a.extend(this.options,c),this.$el=a(b),this.el=b,this.buildWordRotator().startWordRotator(),this.$el.data("__instance",this),this},"buildWordRotator":function(){return this.words=this.$el.find(".title em"),this.totalWords=this.words.length-1,this},"startWordRotator":function(){var a=this;return this.timer=setTimeout(function(){a.showNextWord(),a.startWordRotator()},1e3*this.options.interval),this},"stopWordRotator":function(){return clearTimeout(this.timer),this},"showNextWord":function(){var a,b;a=this,b=this.words.filter(":eq("+this.currentWord+")"),this.currentWord+1<=this.totalWords?this.currentWord+=1:this.currentWord=0,b.removeClass("active").animate({"opacity":0},200);var c=a.words.filter(":eq("+a.currentWord+")");setTimeout(function(){c.addClass("active").animate({"opacity":1},200)},200)}},a.diamondObject=a.diamondObject||{},a.diamondObject.AmazingStuff=b}.apply(this,[jQuery]),function(){"use strict";Modernizr.addTest("pointerevents",function(){var a=document.createElement("x");return a.style.cssText="pointer-events:auto","auto"===a.style.pointerEvents}),this.App=this.App||{},App.base={"options":{"flowtypeClass":".flowtype"},"init":function(){this.flowtype().mobile().detect().header().menu()},"mobile":function(){if(!$.isMobile.any())return this;$("header.page-header .top .logo img").each(function(a,b){var c,d=$(b),e=d.attr("src"),f=e.match(/[^/]+$/i);"logo.png"==f?c="hi-logo-black.png":"logo-white.png"==f&&(c="hi-logo-white.png"),d.attr("src",e.replace(/[^/]+$/i,c))});var a=this;return $(window).on("mobile-transform",function(){a.flowtype()}),$("body").addClass("mobile mobile-version"),this},"detect":function(){var a=navigator.userAgent,b=a.toLowerCase(),c=function(a){return b.indexOf(a)>-1},d="gecko",e="webkit",f="safari",g="opera",h=document.documentElement,i=[!/opera|webtv/i.test(b)&&/msie\s(\d+)/.test(b)?"ie ie"+RegExp.$1:c("firefox/2")?d+" ff2":c("firefox/3.5")?d+" ff3 ff3_5":c("firefox/3")?d+" ff3":c("gecko/")?d:c("opera")?g+(/version\/(\d+)/.test(b)?" "+g+RegExp.jQuery1:/opera(\s|\/)(\d+)/.test(b)?" "+g+RegExp.jQuery2:""):c("konqueror")?"konqueror":c("chrome")?e+" chrome":c("iron")?e+" iron":c("applewebkit/")?e+" "+f+(/version\/(\d+)/.test(b)?" "+f+RegExp.jQuery1:""):c("mozilla/")?d:"",c("j2me")?"mobile":c("iphone")?"iphone":c("ipod")?"ipod":c("mac")?"mac":c("darwin")?"mac":c("webtv")?"webtv":c("win")?"win":c("freebsd")?"freebsd":c("x11")||c("linux")?"linux":"","js"],j=i.join(" ");return h.className+=" "+j,jQuery("html").addClass(j),this},"header":function(){var a=!("about"===$("body").attr("id").toLowerCase()&&navigator.userAgent.indexOf("Chrome/36.0")>-1&&navigator.appVersion.indexOf("Mac")>-1);if("jobs"==$("body").attr("id"))return this;var b=$("#stickyHeader"),c=$(window).scrollTop(),d="";return $(window).on("scroll",function(){var e=$(window).scrollTop(),f=e!=c?e>c?"down":"up":"same";"down"==f&&"fixed"==d?(a?b.stop().animate({"top":"-100px"},150,function(){b.removeClass("fixed")}):b.css({"top":"-100px"}).removeClass("fixed"),d=""):e>0&&"up"==f&&""==d?(a?b.addClass("fixed").stop().animate({"top":"0"},150,function(){}):b.addClass("fixed").css({"top":0}),d="fixed"):0>=e&&"up"==f&&"fixed"==d&&(b.removeClass("fixed").css("top",""),d=""),c=e}),this},"menu":function(){return $("#openMenu").on("click",function(){$("body").addClass("menu-opened"),setTimeout(function(){$("#menu nav").addClass("show")},50)}),$("#closeMenu").on("click",function(){$("#menu nav").removeClass("show"),setTimeout(function(){$("body").removeClass("menu-opened")},200)}),$("#menu path").on("mouseenter",function(){$("#menu").attr("class","menu-item-"+($(this).index()+1))}).on("click",function(){var a=$("#menu ul li").eq($(this).index()).find("a");a.triggerHandler("click"),window.location.href=a.attr("href")}),$(window).on("resize",function(){var a=$(window).width(),b=$(window).height(),c=Math.min(a,b),d=Math.max(a,b);$("#menu-home").width(.5*c),a>b?$("#menu").css("font-size",.045*d):$("#menu").css("font-size",.05*d)}),$(window).trigger("resize"),Modernizr.pointerevents||$("#menu ul li a").each(function(a,b){$(b).on("mouseenter",function(){$("#menu svg path").not(":eq("+a+")").attr("class",""),$("#menu svg path").eq(a).attr("class","hover")}).on("mouseleave",function(){$("#menu svg path").eq(a).attr("class","")})}),$(window).on("orientationchange",function(){$(window).trigger("resize"),setTimeout(function(){$(window).trigger("resize")},500)}),this},"preload":function(){var a=["img/menu-item1-pattern.png","img/menu-item2-pattern.png","img/menu-item3-pattern.png","img/menu-item4-pattern.png"];return $.each(a,function(a,b){var c=new Image;c.src=b}),this},"flowtype":function(){return $(this.options.flowtypeClass).flowtype({"fontRatio":30,"lineRatio":1}),$("footer.page-footer").flowtype({"fontRatio":30,"lineRatio":1,"minFont":35}),$(window).on("load",function(){$(window).trigger("resize.flowtype")}),$("header.page-header .page-title").addClass("visible"),this}}}.apply(this,[jQuery]),$(function(){App.base.init()}),function(){"use strict";this.App=this.App||{},App.home={"initialize":function(){return this.buildResponsiveHtml().buildLazyLoad().buildSlideshow().buildDiamonds().events(),this},"buildResponsiveHtml":function(){if(!$.isMobile.any())return $(".diamonds-wrapper").css("visibility","visible"),this;$("body").removeClass("minset");var a,b,c,d;for(c=[["3 - 2"],["3 - 1","3 - 4"],["7 - 1"],["9 - 1","9 - 4"],["7 - 3"],["13 - 1","13 - 4"],["15 - 2"],["17 - 1","17 - 3"],["19 - 2"],["24 - 2","24 - 4"],["23 - 2"],["25 - 2","25 - 3"],["27 - 1"],["31 - 1","31 - 4"],["27 - 3"],["34 - 2","34 - 4"],["32 - 3"]],d=responsiveModule.generate(c),b=document.createElement("div"),b.className="diamonds-wrapper low-res",a=0;a<d.length;a++)b.appendChild(d[a]);return $("#wrapper .body-wrapper").append(b),$(".high-res").remove(),$(".diamonds-wrapper").css("visibility","visible"),$(window).trigger("mobile-transform"),this},"buildSlideshow":function(){return $("#FlippingSlideshow").imagesLoaded(function(){$("#FlippingSlideshow").flipshow()}),this},"buildLazyLoad":function(){return $(".d-image img").on("unveil",function(){$(this).on("load",function(){$(this).closest(".d-image").addClass("d-image-loaded")})}).unveil(300),$(this).get(0).complete&&$(this).trigger("load"),this},"buildParallax":function(){return-1===navigator.appVersion.indexOf("MSIE")&&$.stellar({"scrollProperty":"scroll","positionProperty":"transform"}),this},"buildDiamonds":function(){return $(".amazing-stuff").diamond("AmazingStuff"),this},"events":function(){return this.backToTopEvent(),this},"backToTopEvent":function(){$(".back-to-top-center .diamond-content").click(function(a){a.preventDefault(),$("html, body").animate({"scrollTop":0},500)})}}}.apply(this),function(){"use strict";this.App=this.App||{},App.careers={"initialize":function(){return this.buildResponsiveHtml().buildLazyLoad().events().svgReplacement(),this},"buildResponsiveHtml":function(){if(!$.isMobile.any())return $(".diamonds-wrapper").css("visibility","visible"),this;$("body").removeClass("minset");var a,b,c,d;c=[["4 - 2"],["6 - 2","6 - 3"],["7 - 3"],["7 - 2","7 - 4"],["9 - 3"],["8 - 2","8 - 3"],["30 - 1"],["16 - 3","18 - 2"],["20 - 3"],["21 - 2","20 - 1"],["22 - 2"],["24 - 1","24 - 3"],["28 - 2"],["27 - 3","27 - 4"],["27 - 2"],["29 - 2","29 - 4"],["30 - 3"]];var e=$("<img>").attr({"src":"images/tiger-low-res.jpg"});$('li[data-position="30 - 1"]').attr({"class":"d-image d-image-loaded"}).find(".diamond-content").append(e);var f=$("<img>").attr({"src":"img/back-to-top.png"});for($('li[data-position="30 - 2"]').attr({"class":"back-to-top-center d-image d-image-loaded"}).find(".diamond-content").append(f),d=responsiveModule.generate(c),b=document.createElement("div"),b.className="diamonds-wrapper low-res",a=0;a<d.length;a++)b.appendChild(d[a]);return $("#wrapper .body-wrapper").append(b),$(".high-res").remove(),$(".diamonds-wrapper").css("visibility","visible"),$(window).trigger("mobile-transform"),this},"buildLazyLoad":function(){return $(".d-image img").on("unveil",function(){$(this).on("load",function(){$(this).closest(".d-image").addClass("d-image-loaded")})}).unveil(300),$(this).get(0).complete&&$(this).trigger("load"),this},"buildDiamonds":function(){return this},"events":function(){return this.backToTopEvent(),this},"backToTopEvent":function(){$("#backToTop").click(function(a){a.preventDefault(),$("html, body").animate({"scrollTop":0},500)})},"svgReplacement":function(){if(!Modernizr.pointerevents){var a=$(".zebranauts"),b=$("<div>").attr({"class":"svg-replacement"}),c=a.find("img").attr("src"),d='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMinYMin meet" viewBox="0 0 1600 1015">';d+='	<image xlink:href="'+c+'" x="0" y="0" width="100%" height="100%" />',d+="</svg>",b.get(0).innerHTML=d,a.html(b)}return this}}}.apply(this),function(){"use strict";this.App=this.App||{},App.about={"initialize":function(){return this.buildResponsiveHtml().buildLazyLoad().followHash().setBodyHeight(!0),this.events(),this},"buildResponsiveHtml":function(){if(!$.isMobile.any())return $(".diamonds-wrapper").css("visibility","visible"),this;$("body").removeClass("minset"),$("#wrapper .bg").addClass("low-res");var a,b,c,d;c=[["0 - 2"],["3 - 1","3 - 3"],["5 - 2"],["7 - 1","7 - 3"],["9 - 2"],["10 - 2","10 - 4"],["11 - 1"],["11 - 2","11 - 3"],["11 - 4"],["12 - 2","12 - 4"],["14 - 3"],["17 - 2","19 - 1"],["21 - 2"],["23 - 3","25 - 2"],["27 - 3"],["32 - 2","32 - 4"],["30 - 2"],["4 - 1","4 - 5"]];var e=$("<img>").attr({"src":"img/elephant-low-res.png"});for($('li[data-position="30 - 2"]').attr({"class":"elephant d-image d-image-loaded"}).find(".diamond-content").append(e),d=responsiveModule.generate(c),b=document.createElement("div"),b.className="diamonds-wrapper low-res",a=0;a<d.length;a++)b.appendChild(d[a]);$("#wrapper .body-wrapper").append(b);var f=$(".subheader");return $("header.page-header").after(f),f.addClass("low-res"),$(".high-res").remove(),$(".diamonds-wrapper").css("visibility","visible"),$(window).trigger("mobile-transform"),this},"buildLazyLoad":function(){return $(".d-image img").on("unveil",function(){$(this).on("load",function(){$(this).closest(".d-image").addClass("d-image-loaded")}),$(this).get(0).complete&&$(this).trigger("load")}).unveil(300),this},"buildDiamonds":function(){return this},"events":function(){return this.backToTopEvent(),this.sectionScrollEvents(),$(".video-popup").magnificPopup({"disableOn":700,"type":"iframe","mainClass":"mfp-fade","removalDelay":160,"preloader":!1,"fixedContentPos":!1}),this},"backToTopEvent":function(){$("#backToTop").click(function(a){a.preventDefault(),$("html, body").animate({"scrollTop":0},500)})},"setBodyHeight":function(a){if($.isMobile.any())return!1;$("#wrapper").removeClass("fixed").css({"top":""}),$("body").css({"height":"","top":""});{var b=$("#wrapper").height(),c=$("#sc-content").height()-$("#sc-hotspot").height();
  
  parseInt($("#sc-hotspot").offset().top,10)}return $("body").css({"height":b+c,"top":0}),a&&$(window).scrollTop(0),this},"sectionScrollEvents":function(){if($.isMobile.any())return!1;var a=$("#wrapper"),b=$("#sc-hotspot"),c=($("#sc-scroller"),$("#sc-content")),d=$(window).scrollTop(),e="webkitRequestAnimationFrame"in window,f=this;$(window).scrollTop(0);var g={"top":parseInt(b.offset().top),"bottom":parseInt(b.offset().top)+b.height()};return $(window).off("scroll.manifesto"),$(window).on("scroll.manifesto",function(){var f=$(window).scrollTop(),h=c.height()-b.height(),i="same";f>d?i="down":d>f&&(i="up"),d=f,"same"!=i&&(f<g.top?e?(a.addClass("fixed"),a.css({"top":-f}),c.css({"top":0})):(a.removeClass("fixed"),a.css({"top":0}),c.css({"top":0})):f>=g.top+h?(a.removeClass("fixed"),a.css({"top":h}),c.css({"top":-h})):f>=g.top&&(a.addClass("fixed"),a.css({"top":-g.top}),c.css({"top":g.top-f})))}),$(window).off("resize.manifesto"),$(window).on("resize.manifesto",function(){$(window).off("scroll.manifesto"),f.setBodyHeight(),f.sectionScrollEvents()}),$(window).trigger("scroll"),this},"followHash":function(){var a=window.location.hash.substr(1),b=$("[data-hash="+a+"]");return b.get(0)&&$(window).on("load",function(){var a=(parseInt($("#sc-hotspot").offset().top,10),b.offset().top-3*parseInt(b.css("margin-top"),10));$("html, body").animate({"scrollTop":a},200),$("#stickyHeader").removeClass("fixed").addClass("static")}),this}}}.apply(this),function(){"use strict";this.App=this.App||{},App.contact={"initialize":function(){return this.buildResponsiveHtml().buildLazyLoad().events(),this},"buildResponsiveHtml":function(){if(!$.isMobile.any())return $(".diamonds-wrapper").css("visibility","visible"),this;$("body").removeClass("minset"),$("#wrapper .bg").addClass("low-res");var a=$("header.page-header .bg .video video img");a.get(0)&&($("header.page-header .bg .video").prepend(a),$("header.page-header .bg .video video").remove());var b,c,d,e;for(d=[["1 - 2"],["1 - 1","1 - 3"],["3 - 2"],["4 - 2","4 - 4"],["5 - 1"],["5 - 2","5 - 3"],["5 - 4"],["3 - 1","3 - 4"],["7 - 2"],["9 - 1","9 - 3"],["11 - 2"]],e=responsiveModule.generate(d),c=document.createElement("div"),c.className="diamonds-wrapper low-res",b=0;b<e.length;b++)c.appendChild(e[b]);return $("#wrapper .body-wrapper").append(c),$(".high-res").remove(),$(".diamonds-wrapper").css("visibility","visible"),$(".diamonds-wrapper ul:first").hide(),$("a[mobile-href]").each(function(a,b){var c=$(b).attr("mobile-href");$(b).attr("href",c)}),$(window).trigger("mobile-transform"),this},"buildLazyLoad":function(){return $(".d-image img").on("unveil",function(){$(this).on("load",function(){$(this).closest(".d-image").addClass("d-image-loaded")}),$(this).get(0).complete&&$(this).trigger("load")}).unveil(300),this},"buildDiamonds":function(){return this},"events":function(){this.backToTopEvent()},"backToTopEvent":function(){$("#backToTop").click(function(a){a.preventDefault(),$("html, body").animate({"scrollTop":0},500)})}}}.apply(this),function(){"use strict";this.App=this.App||{},App.blog={"initialize":function(){return this.build().buildLazyLoad().events(),this},"options":{"isAutoOpened":!1},"build":function(){return this.mobileVersion=!!$.isMobile.any(),$("body").addClass(this.mobileVersion?"mobile-version":"desktop-version"),this},"buildLazyLoad":function(){return $(".article img, .item.image img").on("unveil",function(){$(this).on("load",function(){$(this).closest("li").addClass("image-loaded")}),$(this).get(0).complete&&$(this).trigger("load")}).unveil(150),this},"scrollEventsModal":function(){if(!this.mobileVersion){var a;$(".mfp-wrap").off("scroll.sidebar"),$(".mfp-wrap").on("scroll.sidebar",function(){var b=$(this).scrollTop(),c="same";if(b>a?c="down":a>b&&(c="up"),a=b,"same"!=c){var d=$("#postShare"),e=-d.offset().top+300,f=$(".post-wrapper").height()-$("#postShare .post-social-media").height()-400;e>f&&(e=f),$("#postShare .post-social-media").css(e>200?{"position":"absolute","top":e}:{"position":"static"})}})}},"scrollEventsWindow":function(){if(!this.mobileVersion){var a;$(window).off("scroll.sidebar"),$(window).on("scroll.sidebar",function(){var b=$(this).scrollTop(),c="same";if(b>a?c="down":a>b&&(c="up"),a=b,"same"!=c){var d=$("#postShare");if(d.get(0)){var e=d.offset().top,f=$(".post-footer").offset().top-$("#postShare .post-social-media").height()-100;if($(window).scrollTop()>f)return;$("#postShare .post-social-media").css($(window).scrollTop()>e?{"position":"absolute","top":$(window).scrollTop()-e+240}:{"position":"static"})}}})}},"backToTopEvent":function(){$("#backToTop").click(function(a){a.preventDefault(),$("html, body").animate({"scrollTop":0},500)})},"validations":function(){if($("#postComment").hasClass("validating"))return!1;var a={};a=$("#postComment #author").get(0)?{"author":{"required":!0},"email":{"required":!0,"email":!0},"comment":{"required":!0}}:{"comment":{"required":!0}},$("#postComment").addClass("validating").validate({"rules":a,"errorPlacement":function(){},"highlight":function(a){$(a).removeClass("success").addClass("error")},"success":function(a){$(a).removeClass("error").addClass("success")}})},"events":function(){return $("#search-toggle").click(function(){$("#search").toggleClass("show").flowtype({"fontRatio":30,"lineRatio":1}),$("#search").hasClass("show")&&setTimeout(function(){$("#search-query").focus()},200)}),this.backToTopEvent(),this.validations(),this.autoOpenPost(),this.hiringDiamondShadow(),$("#twitterPopup").click(function(){var a=575,b=400,c=($(window).width()-a)/2,d=($(window).height()-b)/2,e=this.href,f="status=1,width="+a+",height="+b+",top="+d+",left="+c;return window.open(e,"twitter",f),!1}),this},"autoOpenPost":function(){if(!$(".blog-post-auto-open").get(0))return!1;var a=this;return this.options.isAutoOpening=!0,$(".blog-post-auto-open").magnificPopup({"type":"inline","preloader":!0,"mainClass":"blog-post-popup","showCloseBtn":!1,"callbacks":{"open":function(){a.openEvents()},"afterClose":function(){window.App.blogPost.options.isOpened=!1,a.closeEvents()}}}).trigger("click"),$(".mfp-wrap").get(0)?this.scrollEventsModal():this.scrollEventsWindow(),this.options.isAutoOpened=!0,App.blogPost.options.isOpened=!0,App.blogPost.options.basePathName=$("#blogPageUrl").attr("href"),App.blogPost.initComments(),this},"hiringDiamondShadow":function(){var a=$("#blogHiringDiamond"),b=a.find("#blogHiringDiamondShadow"),c=200,d="ontouchstart"in document.documentElement?"touchmove":"mousemove";return $(window).bind(d,function(e){var f=$(this),g=f.width(),h=f.height(),i={"x":g/2,"y":h/2},j="touchmove"==d?e.originalEvent.touches[0].clientX:e.clientX,k="touchmove"==d?e.originalEvent.touches[0].clientY:e.clientY,l=(i.x-j)/15,m=(i.y-k)/15;l=l>c?c:l,l=-1*c>l?-1*c:l,m=m>c?c:m,m=-1*c>m?-1*c:m,a.css({"textShadow":Math.ceil(l)+"px "+Math.ceil(m)+"px 0px rgba(0,0,0,0.15)"}),b.css({"marginTop":Math.ceil(m)+"px","marginLeft":Math.ceil(l)+"px"})}),this},"openEvents":function(){$(document).on("keydown.changePost",function(a){39===a.keyCode?(a.preventDefault(),$(".post-next",".post-navigate").click()):37===a.keyCode&&(a.preventDefault(),$(".post-prev",".post-navigate").click())})},"closeEvents":function(){$(document).off("keydown.changePost")}}}.apply(this),function(){"use strict";this.App=this.App||{},App.blogPost={"initialize":function(){return this.events(),this.setPopStatEvents(),this},"options":{"basePathName":window.location.pathname,"basePageTitle":document.title,"isOpened":!1},"events":function(){var a=this;return a.pushStateData={},$(document).on("click",".open-blog-post",function(b){b.preventDefault();var c=$(this).attr("href"),d=$(this).attr("title");return history.pushState(a.pushStateData,d,c),a.options.isOpened?a.goPost(1,c,"",!1):a.openPost(c+"?ajax=1"),!1}),$(document).on("click","#showPostComment",function(a){a.preventDefault(),$("#postCommentsForm").show(),$("#postCommentsButtons").hide(),$("#postComment input[type=text]:first").get(0)?$("#postCommentsForm input[type=text]:first").focus():$("#postCommentsForm textarea").focus(),App.blog.validations()}),$(document).on("click","#hidePostComment",function(a){a.preventDefault(),$("#postCommentsForm").hide(),$("#postCommentsButtons").show()}),$(document).on("click","#showMoreComments",function(a){a.preventDefault(),$(".post-comments li.hide").removeClass("hide"),$(".post-comments ul.hide").removeClass("hide"),$(this).hide()}),$(document).on("click",".post-close",function(b){b.preventDefault(),$.magnificPopup.close(),$("#blogPostPage").get(0)?history.pushState(a.pushStateData,"",$("#blogPageUrl").attr("href")):history.pushState(a.pushStateData,"",a.options.basePathName)}),$(document).on("click",".post-next",function(b){b.preventDefault(),a.goPost(1,$(this).attr("href"),$(this).attr("title"),!0)}),$(document).on("click",".post-prev",function(b){b.preventDefault(),a.goPost(-1,$(this).attr("href"),$(this).attr("title"),!0)}),this},"openPost":function(a){var b=this;App.blog.options.isAutoOpened&&($.magnificPopup.close(),App.blog.options.isAutoOpened=!1),$("<a />").attr("href",a).magnificPopup({"type":"ajax","preloader":!0,"mainClass":"blog-post-popup","showCloseBtn":!1,"callbacks":{"parseAjax":function(){b.postOpened()},"open":function(){b.options.isOpened=!0,App.blog.openEvents()},"afterClose":function(){b.options.isOpened=!1,App.blog.closeEvents()}}}).trigger("click")},"goPost":function(a,b,c,d){var e=this,f=$("#blogPost"),g="0",h="0",i=$(".mfp-content");return 0>a?(g="+=2000",h="-2000px"):(g="-=2000",h="2000px"),f.animate({"left":g},200,function(){f.css("left",h);var a=$("<div />").addClass("post-loading").css({"opacity":0});f.css("min-height",f.height()+"px").empty().append(a),f.animate({"left":"0"},200,function(){d&&history.pushState(e.pushStateData,c,b),$(".post-loading").animate({"opacity":1},100),$.ajax({"url":b+"?ajax=1","success":function(a){$(".post-loading").animate({"opacity":0},100,function(){i.empty().append(a),e.postOpened()})}})})}),this},"postOpened":function(){return this.initComments(),$(".blog-post-popup").scrollTop(0),$(".mfp-wrap").get(0)?App.blog.scrollEventsModal():App.blog.scrollEventsWindow(),this},"setPopStatEvents":function(){var a=this;return window.addEventListener("load",function(){setTimeout(function(){window.addEventListener("popstate",function(){location.pathname==a.options.basePathName?$("#blogPostPage").get(0)?a.goPost(1,location.pathname,"",!1):$.magnificPopup.close():a.options.isOpened?a.goPost(1,location.pathname,"",!1):a.openPost(location.pathname)})},0)}),this},"initComments":function(){$(".post-comments > ul > li:gt(1)").addClass("hide"),$(".post-comments > ul > li:gt(1) + ul").addClass("hide")}}.initialize()}.apply(this),function(a){"use strict";this.App=this.App||{},this.App.view=function(){var b=(a("body").attr("id")||"").toLowerCase();b&&App[b]&&App[b].initialize()}}.apply(this,[jQuery]),$(function(){App.view()}),function(a){navigator.userAgent.indexOf("Chrome/36.0")>-1&&navigator.appVersion.indexOf("Win")>-1&&(a("#wrapper").css({"max-width":1024,"margin":"0 auto"}),a(window).trigger("resize"))}(jQuery),function(a){navigator.userAgent.indexOf("Chrome/36.0")>-1&&navigator.appVersion.indexOf("Mac")>-1&&(a("header.page-header #stickyHeader").css("-webkit-transform","translate3d(0, 0, 0)"),"about"===a("body").attr("id").toLowerCase()&&a(window).load(function(){setTimeout(function(){a(window).trigger("resize"),a(window).trigger("scroll")})}))}(jQuery);