text: !function(e,t,n,o,i,r,s){e.GoogleAnalyticsObject=i,e[i]=e[i]||function(){(e[i].q=e[i].q||[]).push(arguments)},e[i].l=1*new Date,r=t.createElement(n),s=t.getElementsByTagName(n)[0],r.async=1,r.src=o,s.parentNode.insertBefore(r,s)}(window,document,"script","https://www.google-analytics.com/analytics.js","ga"),ga("create","UA-50372288-5","auto"),ga("send","pageview"),!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=re.type(e);return"function"!==n&&!re.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t,n){if(re.isFunction(t))return re.grep(e,function(e,o){return!!t.call(e,o,e)!==n});if(t.nodeType)return re.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ge.test(t))return re.filter(t,e,n);t=re.filter(t,e)}return re.grep(e,function(e){return K.call(t,e)>-1!==n})}function i(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function r(e){var t={};return re.each(e.match(we)||[],function(e,n){t[n]=!0}),t}function s(){G.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s),re.ready()}function a(){this.expando=re.expando+a.uid++}function c(e,t,n){var o;if(void 0===n&&1===e.nodeType)if(o="data-"+t.replace(Ee,"-$&").toLowerCase(),n=e.getAttribute(o),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:ke.test(n)?re.parseJSON(n):n)}catch(i){}Pe.set(e,t,n)}else n=void 0;return n}function l(e,t,n,o){var i,r=1,s=20,a=o?function(){return o.cur()}:function(){return re.css(e,t,"")},c=a(),l=n&&n[3]||(re.cssNumber[t]?"":"px"),u=(re.cssNumber[t]||"px"!==l&&+c)&&De.exec(re.css(e,t));if(u&&u[3]!==l){l=l||u[3],n=n||[],u=+c||1;do r=r||".5",u/=r,re.style(e,t,u+l);while(r!==(r=a()/c)&&1!==r&&--s)}return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],o&&(o.unit=l,o.start=u,o.end=i)),i}function u(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&re.nodeName(e,t)?re.merge([e],n):n}function f(e,t){for(var n=0,o=e.length;o>n;n++)$e.set(e[n],"globalEval",!t||$e.get(t[n],"globalEval"))}function p(e,t,n,o,i){for(var r,s,a,c,l,p,d=t.createDocumentFragment(),h=[],g=0,m=e.length;m>g;g++)if(r=e[g],r||0===r)if("object"===re.type(r))re.merge(h,r.nodeType?[r]:r);else if(Ie.test(r)){for(s=s||d.appendChild(t.createElement("div")),a=(Me.exec(r)||["",""])[1].toLowerCase(),c=qe[a]||qe._default,s.innerHTML=c[1]+re.htmlPrefilter(r)+c[2],p=c[0];p--;)s=s.lastChild;re.merge(h,s.childNodes),s=d.firstChild,s.textContent=""}else h.push(t.createTextNode(r));for(d.textContent="",g=0;r=h[g++];)if(o&&re.inArray(r,o)>-1)i&&i.push(r);else if(l=re.contains(r.ownerDocument,r),s=u(d.appendChild(r),"script"),l&&f(s),n)for(p=0;r=s[p++];)Fe.test(r.type||"")&&n.push(r);return d}function d(){return!0}function h(){return!1}function g(){try{return G.activeElement}catch(e){}}function m(e,t,n,o,i,r){var s,a;if("object"==typeof t){"string"!=typeof n&&(o=o||n,n=void 0);for(a in t)m(e,a,n,o,t[a],r);return e}if(null==o&&null==i?(i=n,o=n=void 0):null==i&&("string"==typeof n?(i=o,o=void 0):(i=o,o=n,n=void 0)),i===!1)i=h;else if(!i)return e;return 1===r&&(s=i,i=function(e){return re().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=re.guid++)),e.each(function(){re.event.add(this,t,i,o,n)})}function v(e,t){return re.nodeName(e,"table")&&re.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function b(e){var t=ze.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function x(e,t){var n,o,i,r,s,a,c,l;if(1===t.nodeType){if($e.hasData(e)&&(r=$e.access(e),s=$e.set(t,r),l=r.events)){delete s.handle,s.events={};for(i in l)for(n=0,o=l[i].length;o>n;n++)re.event.add(t,i,l[i][n])}Pe.hasData(e)&&(a=Pe.access(e),c=re.extend({},a),Pe.set(t,c))}}function w(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ne.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function T(e,t,n,o){t=Q.apply([],t);var i,r,s,a,c,l,f=0,d=e.length,h=d-1,g=t[0],m=re.isFunction(g);if(m||d>1&&"string"==typeof g&&!oe.checkClone&&Xe.test(g))return e.each(function(i){var r=e.eq(i);m&&(t[0]=g.call(this,i,r.html())),T(r,t,n,o)});if(d&&(i=p(t,e[0].ownerDocument,!1,e,o),r=i.firstChild,1===i.childNodes.length&&(i=r),r||o)){for(s=re.map(u(i,"script"),y),a=s.length;d>f;f++)c=i,f!==h&&(c=re.clone(c,!0,!0),a&&re.merge(s,u(c,"script"))),n.call(e[f],c,f);if(a)for(l=s[s.length-1].ownerDocument,re.map(s,b),f=0;a>f;f++)c=s[f],Fe.test(c.type||"")&&!$e.access(c,"globalEval")&&re.contains(l,c)&&(c.src?re._evalUrl&&re._evalUrl(c.src):re.globalEval(c.textContent.replace(Ye,"")))}return e}function C(e,t,n){for(var o,i=t?re.filter(t,e):e,r=0;null!=(o=i[r]);r++)n||1!==o.nodeType||re.cleanData(u(o)),o.parentNode&&(n&&re.contains(o.ownerDocument,o)&&f(u(o,"script")),o.parentNode.removeChild(o));return e}function S(e,t){var n=re(t.createElement(e)).appendTo(t.body),o=re.css(n[0],"display");return n.detach(),o}function $(e){var t=G,n=Ue[e];return n||(n=S(e,t),"none"!==n&&n||(_e=(_e||re("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=_e[0].contentDocument,t.write(),t.close(),n=S(e,t),_e.detach()),Ue[e]=n),n}function P(e,t,n){var o,i,r,s,a=e.style;return n=n||Ze(e),s=n?n.getPropertyValue(t)||n[t]:void 0,""!==s&&void 0!==s||re.contains(e.ownerDocument,e)||(s=re.style(e,t)),n&&!oe.pixelMarginRight()&&Ge.test(s)&&Ve.test(t)&&(o=a.width,i=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=o,a.minWidth=i,a.maxWidth=r),void 0!==s?s+"":s}function k(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function E(e){if(e in ot)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=nt.length;n--;)if(e=nt[n]+t,e in ot)return e}function A(e,t,n){var o=De.exec(t);return o?Math.max(0,o[2]-(n||0))+(o[3]||"px"):t}function D(e,t,n,o,i){for(var r=n===(o?"border":"content")?4:"width"===t?1:0,s=0;4>r;r+=2)"margin"===n&&(s+=re.css(e,n+je[r],!0,i)),o?("content"===n&&(s-=re.css(e,"padding"+je[r],!0,i)),"margin"!==n&&(s-=re.css(e,"border"+je[r]+"Width",!0,i))):(s+=re.css(e,"padding"+je[r],!0,i),"padding"!==n&&(s+=re.css(e,"border"+je[r]+"Width",!0,i)));return s}function j(t,n,o){var i=!0,r="width"===n?t.offsetWidth:t.offsetHeight,s=Ze(t),a="border-box"===re.css(t,"boxSizing",!1,s);if(G.msFullscreenElement&&e.top!==e&&t.getClientRects().length&&(r=Math.round(100*t.getBoundingClientRect()[n])),0>=r||null==r){if(r=P(t,n,s),(0>r||null==r)&&(r=t.style[n]),Ge.test(r))return r;i=a&&(oe.boxSizingReliable()||r===t.style[n]),r=parseFloat(r)||0}return r+D(t,n,o||(a?"border":"content"),i,s)+"px"}function L(e,t){for(var n,o,i,r=[],s=0,a=e.length;a>s;s++)o=e[s],o.style&&(r[s]=$e.get(o,"olddisplay"),n=o.style.display,t?(r[s]||"none"!==n||(o.style.display=""),""===o.style.display&&Le(o)&&(r[s]=$e.access(o,"olddisplay",$(o.nodeName)))):(i=Le(o),"none"===n&&i||$e.set(o,"olddisplay",i?n:re.css(o,"display"))));for(s=0;a>s;s++)o=e[s],o.style&&(t&&"none"!==o.style.display&&""!==o.style.display||(o.style.display=t?r[s]||"":"none"));return e}function N(e,t,n,o,i){return new N.prototype.init(e,t,n,o,i)}function M(){return e.setTimeout(function(){it=void 0}),it=re.now()}function F(e,t){var n,o=0,i={height:e};for(t=t?1:0;4>o;o+=2-t)n=je[o],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function q(e,t,n){for(var o,i=(O.tweeners[t]||[]).concat(O.tweeners["*"]),r=0,s=i.length;s>r;r++)if(o=i[r].call(n,t,e))return o}function I(e,t,n){var o,i,r,s,a,c,l,u,f=this,p={},d=e.style,h=e.nodeType&&Le(e),g=$e.get(e,"fxshow");n.queue||(a=re._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,c=a.empty.fire,a.empty.fire=function(){a.unqueued||c()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,re.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],l=re.css(e,"display"),u="none"===l?$e.get(e,"olddisplay")||$(e.nodeName):l,"inline"===u&&"none"===re.css(e,"float")&&(d.display="inline-block")),n.overflow&&(d.overflow="hidden",f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(o in t)if(i=t[o],st.exec(i)){if(delete t[o],r=r||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!g||void 0===g[o])continue;h=!0}p[o]=g&&g[o]||re.style(e,o)}else l=void 0;if(re.isEmptyObject(p))"inline"===("none"===l?$(e.nodeName):l)&&(d.display=l);else{g?"hidden"in g&&(h=g.hidden):g=$e.access(e,"fxshow",{}),r&&(g.hidden=!h),h?re(e).show():f.done(function(){re(e).hide()}),f.done(function(){var t;$e.remove(e,"fxshow");for(t in p)re.style(e,t,p[t])});for(o in p)s=q(h?g[o]:0,o,f),o in g||(g[o]=s.start,h&&(s.end=s.start,s.start="width"===o||"height"===o?1:0))}}function H(e,t){var n,o,i,r,s;for(n in e)if(o=re.camelCase(n),i=t[o],r=e[n],re.isArray(r)&&(i=r[1],r=e[n]=r[0]),n!==o&&(e[o]=r,delete e[n]),s=re.cssHooks[o],s&&"expand"in s){r=s.expand(r),delete e[o];for(n in r)n in e||(e[n]=r[n],t[n]=i)}else t[o]=i}function O(e,t,n){var o,i,r=0,s=O.prefilters.length,a=re.Deferred().always(function(){delete c.elem}),c=function(){if(i)return!1;for(var t=it||M(),n=Math.max(0,l.startTime+l.duration-t),o=n/l.duration||0,r=1-o,s=0,c=l.tweens.length;c>s;s++)l.tweens[s].run(r);return a.notifyWith(e,[l,r,n]),1>r&&c?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:re.extend({},t),opts:re.extend(!0,{specialEasing:{},easing:re.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||M(),duration:n.duration,tweens:[],createTween:function(t,n){var o=re.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(o),o},stop:function(t){var n=0,o=t?l.tweens.length:0;if(i)return this;for(i=!0;o>n;n++)l.tweens[n].run(1);return t?(a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l,t])):a.rejectWith(e,[l,t]),this}}),u=l.props;for(H(u,l.opts.specialEasing);s>r;r++)if(o=O.prefilters[r].call(l,e,u,l.opts))return re.isFunction(o.stop)&&(re._queueHooks(l.elem,l.opts.queue).stop=re.proxy(o.stop,o)),o;return re.map(u,q,l),re.isFunction(l.opts.start)&&l.opts.start.call(e,l),re.fx.timer(re.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function R(e){return e.getAttribute&&e.getAttribute("class")||""}function W(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var o,i=0,r=t.toLowerCase().match(we)||[];if(re.isFunction(n))for(;o=r[i++];)"+"===o[0]?(o=o.slice(1)||"*",(e[o]=e[o]||[]).unshift(n)):(e[o]=e[o]||[]).push(n)}}function B(e,t,n,o){function i(a){var c;return r[a]=!0,re.each(e[a]||[],function(e,a){var l=a(t,n,o);return"string"!=typeof l||s||r[l]?s?!(c=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),c}var r={},s=e===Pt;return i(t.dataTypes[0])||!r["*"]&&i("*")}function X(e,t){var n,o,i=re.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:o||(o={}))[n]=t[n]);return o&&re.extend(!0,e,o),e}function z(e,t,n){for(var o,i,r,s,a=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(i in a)if(a[i]&&a[i].test(o)){c.unshift(i);break}if(c[0]in n)r=c[0];else{for(i in n){if(!c[0]||e.converters[i+" "+c[0]]){r=i;break}s||(s=i)}r=r||s}return r?(r!==c[0]&&c.unshift(r),n[r]):void 0}function Y(e,t,n,o){var i,r,s,a,c,l={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(r=u.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!c&&o&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=r,r=u.shift())if("*"===r)r=c;else if("*"!==c&&c!==r){if(s=l[c+" "+r]||l["* "+r],!s)for(i in l)if(a=i.split(" "),a[1]===r&&(s=l[c+" "+a[0]]||l["* "+a[0]])){s===!0?s=l[i]:l[i]!==!0&&(r=a[0],u.unshift(a[1]));break}if(s!==!0)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(f){return{state:"parsererror",error:s?f:"No conversion from "+c+" to "+r}}}return{state:"success",data:t}}function _(e,t,n,o){var i;if(re.isArray(t))re.each(t,function(t,i){n||Dt.test(e)?o(e,i):_(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,o)});else if(n||"object"!==re.type(t))o(e,t);else for(i in t)_(e+"["+i+"]",t[i],n,o)}function U(e){return re.isWindow(e)?e:9===e.nodeType&&e.defaultView}var V=[],G=e.document,Z=V.slice,Q=V.concat,J=V.push,K=V.indexOf,ee={},te=ee.toString,ne=ee.hasOwnProperty,oe={},ie="2.2.3",re=function(e,t){return new re.fn.init(e,t)},se=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ae=/^-ms-/,ce=/-([\da-z])/gi,le=function(e,t){return t.toUpperCase()};re.fn=re.prototype={jquery:ie,constructor:re,selector:"",length:0,toArray:function(){return Z.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:Z.call(this)},pushStack:function(e){var t=re.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return re.each(this,e)},map:function(e){return this.pushStack(re.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(Z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:J,sort:V.sort,splice:V.splice},re.extend=re.fn.extend=function(){var e,t,n,o,i,r,s=arguments[0]||{},a=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||re.isFunction(s)||(s={}),a===c&&(s=this,a--);c>a;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],o=e[t],s!==o&&(l&&o&&(re.isPlainObject(o)||(i=re.isArray(o)))?(i?(i=!1,r=n&&re.isArray(n)?n:[]):r=n&&re.isPlainObject(n)?n:{},s[t]=re.extend(l,r,o)):void 0!==o&&(s[t]=o));return s},re.extend({expando:"jQuery"+(ie+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===re.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!re.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==re.type(e)||e.nodeType||re.isWindow(e))return!1;if(e.constructor&&!ne.call(e,"constructor")&&!ne.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||ne.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ee[te.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=re.trim(e),e&&(1===e.indexOf("use strict")?(t=G.createElement("script"),t.text=e,G.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(ae,"ms-").replace(ce,le)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var o,i=0;if(n(e))for(o=e.length;o>i&&t.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(se,"")},makeArray:function(e,t){var o=t||[];return null!=e&&(n(Object(e))?re.merge(o,"string"==typeof e?[e]:e):J.call(o,e)),o},inArray:function(e,t,n){return null==t?-1:K.call(t,e,n)},merge:function(e,t){for(var n=+t.length,o=0,i=e.length;n>o;o++)e[i++]=t[o];return e.length=i,e},grep:function(e,t,n){for(var o,i=[],r=0,s=e.length,a=!n;s>r;r++)o=!t(e[r],r),o!==a&&i.push(e[r]);return i},map:function(e,t,o){var i,r,s=0,a=[];if(n(e))for(i=e.length;i>s;s++)r=t(e[s],s,o),null!=r&&a.push(r);else for(s in e)r=t(e[s],s,o),null!=r&&a.push(r);return Q.apply([],a)},guid:1,proxy:function(e,t){var n,o,i;return"string"==typeof t&&(n=e[t],t=e,e=n),re.isFunction(e)?(o=Z.call(arguments,2),i=function(){return e.apply(t||this,o.concat(Z.call(arguments)))},i.guid=e.guid=e.guid||re.guid++,i):void 0},now:Date.now,support:oe}),"function"==typeof Symbol&&(re.fn[Symbol.iterator]=V[Symbol.iterator]),re.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()});var ue=function(e){function t(e,t,n,o){var i,r,s,a,c,l,f,d,h=t&&t.ownerDocument,g=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return n;if(!o&&((t?t.ownerDocument||t:R)!==L&&j(t),t=t||L,M)){if(11!==g&&(l=ve.exec(e)))if(i=l[1]){if(9===g){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(h&&(s=h.getElementById(i))&&H(t,s)&&s.id===i)return n.push(s),n}else{if(l[2])return J.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(i)),n}if(w.qsa&&!Y[e+" "]&&(!F||!F.test(e))){if(1!==g)h=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(be,"\\$&"):t.setAttribute("id",a=O),f=$(e),r=f.length,c=pe.test(a)?"#"+a:"[id='"+a+"']";r--;)f[r]=c+" "+p(f[r]);d=f.join(","),h=ye.test(e)&&u(t.parentNode)||t}if(d)try{return J.apply(n,h.querySelectorAll(d)),n}catch(m){}finally{a===O&&t.removeAttribute("id")}}}return k(e.replace(ae,"$1"),t,n,o)}function n(){function e(n,o){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=o}var t=[];return e}function o(e){return e[O]=!0,e}function i(e){var t=L.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function r(e,t){for(var n=e.split("|"),o=n.length;o--;)T.attrHandle[n[o]]=t}function s(e,t){var n=t&&e,o=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||U)-(~e.sourceIndex||U);if(o)return o;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function c(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return o(function(t){return t=+t,o(function(n,o){for(var i,r=e([],n.length,t),s=r.length;s--;)n[i=r[s]]&&(n[i]=!(o[i]=n[i]))})})}function u(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function p(e){for(var t=0,n=e.length,o="";n>t;t++)o+=e[t].value;return o}function d(e,t,n){var o=t.dir,i=n&&"parentNode"===o,r=B++;return t.first?function(t,n,r){for(;t=t[o];)if(1===t.nodeType||i)return e(t,n,r)}:function(t,n,s){var a,c,l,u=[W,r];if(s){for(;t=t[o];)if((1===t.nodeType||i)&&e(t,n,s))return!0}else for(;t=t[o];)if(1===t.nodeType||i){if(l=t[O]||(t[O]={}),c=l[t.uniqueID]||(l[t.uniqueID]={}),(a=c[o])&&a[0]===W&&a[1]===r)return u[2]=a[2];if(c[o]=u,u[2]=e(t,n,s))return!0}}}function h(e){return e.length>1?function(t,n,o){for(var i=e.length;i--;)if(!e[i](t,n,o))return!1;return!0}:e[0]}function g(e,n,o){for(var i=0,r=n.length;r>i;i++)t(e,n[i],o);return o}function m(e,t,n,o,i){for(var r,s=[],a=0,c=e.length,l=null!=t;c>a;a++)(r=e[a])&&(n&&!n(r,o,i)||(s.push(r),l&&t.push(a)));return s}function v(e,t,n,i,r,s){return i&&!i[O]&&(i=v(i)),r&&!r[O]&&(r=v(r,s)),o(function(o,s,a,c){var l,u,f,p=[],d=[],h=s.length,v=o||g(t||"*",a.nodeType?[a]:a,[]),y=!e||!o&&t?v:m(v,p,e,a,c),b=n?r||(o?e:h||i)?[]:s:y;if(n&&n(y,b,a,c),i)for(l=m(b,d),i(l,[],a,c),u=l.length;u--;)(f=l[u])&&(b[d[u]]=!(y[d[u]]=f));if(o){if(r||e){if(r){for(l=[],u=b.length;u--;)(f=b[u])&&l.push(y[u]=f);r(null,b=[],l,c)}for(u=b.length;u--;)(f=b[u])&&(l=r?ee(o,f):p[u])>-1&&(o[l]=!(s[l]=f))}}else b=m(b===s?b.splice(h,b.length):b),r?r(null,s,b,c):J.apply(s,b)})}function y(e){for(var t,n,o,i=e.length,r=T.relative[e[0].type],s=r||T.relative[" "],a=r?1:0,c=d(function(e){return e===t},s,!0),l=d(function(e){return ee(t,e)>-1},s,!0),u=[function(e,n,o){var i=!r&&(o||n!==E)||((t=n).nodeType?c(e,n,o):l(e,n,o));return t=null,i}];i>a;a++)if(n=T.relative[e[a].type])u=[d(h(u),n)];else{if(n=T.filter[e[a].type].apply(null,e[a].matches),n[O]){for(o=++a;i>o&&!T.relative[e[o].type];o++);return v(a>1&&h(u),a>1&&p(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),n,o>a&&y(e.slice(a,o)),i>o&&y(e=e.slice(o)),i>o&&p(e))}u.push(n)}return h(u)}function b(e,n){var i=n.length>0,r=e.length>0,s=function(o,s,a,c,l){var u,f,p,d=0,h="0",g=o&&[],v=[],y=E,b=o||r&&T.find.TAG("*",l),x=W+=null==y?1:Math.random()||.1,w=b.length;for(l&&(E=s===L||s||l);h!==w&&null!=(u=b[h]);h++){if(r&&u){for(f=0,s||u.ownerDocument===L||(j(u),a=!M);p=e[f++];)if(p(u,s||L,a)){c.push(u);break}l&&(W=x)}i&&((u=!p&&u)&&d--,o&&g.push(u))}if(d+=h,i&&h!==d){for(f=0;p=n[f++];)p(g,v,s,a);if(o){if(d>0)for(;h--;)g[h]||v[h]||(v[h]=Z.call(c));v=m(v)}J.apply(c,v),l&&!o&&v.length>0&&d+n.length>1&&t.uniqueSort(c)}return l&&(W=x,E=y),g};return i?o(s):s}var x,w,T,C,S,$,P,k,E,A,D,j,L,N,M,F,q,I,H,O="sizzle"+1*new Date,R=e.document,W=0,B=0,X=n(),z=n(),Y=n(),_=function(e,t){return e===t&&(D=!0),0},U=1<<31,V={}.hasOwnProperty,G=[],Z=G.pop,Q=G.push,J=G.push,K=G.slice,ee=function(e,t){for(var n=0,o=e.length;o>n;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",oe="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+ne+"*("+oe+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+oe+"))|)"+ne+"*\\]",re=":("+oe+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),ae=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ce=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ue=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(re),pe=new RegExp("^"+oe+"$"),de={ID:new RegExp("^#("+oe+")"),CLASS:new RegExp("^\\.("+oe+")"),TAG:new RegExp("^("+oe+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var o="0x"+t-65536;return o!==o||n?t:0>o?String.fromCharCode(o+65536):String.fromCharCode(o>>10|55296,1023&o|56320)},Te=function(){j()};try{J.apply(G=K.call(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(Ce){J={apply:G.length?function(e,t){Q.apply(e,K.call(t))}:function(e,t){for(var n=e.length,o=0;e[n++]=t[o++];);e.length=n-1}}}w=t.support={},S=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},j=t.setDocument=function(e){var t,n,o=e?e.ownerDocument||e:R;return o!==L&&9===o.nodeType&&o.documentElement?(L=o,N=L.documentElement,M=!S(L),(n=L.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(L.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=me.test(L.getElementsByClassName),w.getById=i(function(e){return N.appendChild(e).id=O,!L.getElementsByName||!L.getElementsByName(O).length}),w.getById?(T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&M){var n=t.getElementById(e);return n?[n]:[]}},T.filter.ID=function(e){var t=e.replace(xe,we);return function(e){return e.getAttribute("id")===t}}):(delete T.find.ID,T.filter.ID=function(e){var t=e.replace(xe,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),T.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,o=[],i=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[i++];)1===n.nodeType&&o.push(n);return o}return r},T.find.CLASS=w.getElementsByClassName&&function(e,t){return"undefined"!=typeof t.getElementsByClassName&&M?t.getElementsByClassName(e):void 0},q=[],F=[],(w.qsa=me.test(L.querySelectorAll))&&(i(function(e){N.appendChild(e).innerHTML="<a id='"+O+"'></a><select id='"+O+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||F.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+O+"-]").length||F.push("~="),e.querySelectorAll(":checked").length||F.push(":checked"),e.querySelectorAll("a#"+O+"+*").length||F.push(".#.+[+~]")}),i(function(e){var t=L.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&F.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||F.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),F.push(",.*:")})),(w.matchesSelector=me.test(I=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&i(function(e){w.disconnectedMatch=I.call(e,"div"),I.call(e,"[s!='']:x"),q.push("!=",re)}),F=F.length&&new RegExp(F.join("|")),q=q.length&&new RegExp(q.join("|")),t=me.test(N.compareDocumentPosition),H=t||me.test(N.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,o=t&&t.parentNode;return e===o||!(!o||1!==o.nodeType||!(n.contains?n.contains(o):e.compareDocumentPosition&&16&e.compareDocumentPosition(o)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},_=t?function(e,t){if(e===t)return D=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===L||e.ownerDocument===R&&H(R,e)?-1:t===L||t.ownerDocument===R&&H(R,t)?1:A?ee(A,e)-ee(A,t):0:4&n?-1:1)}:function(e,t){if(e===t)return D=!0,0;var n,o=0,i=e.parentNode,r=t.parentNode,a=[e],c=[t];if(!i||!r)return e===L?-1:t===L?1:i?-1:r?1:A?ee(A,e)-ee(A,t):0;if(i===r)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)c.unshift(n);for(;a[o]===c[o];)o++;return o?s(a[o],c[o]):a[o]===R?-1:c[o]===R?1:0},L):L},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==L&&j(e),n=n.replace(ue,"='$1']"),w.matchesSelector&&M&&!Y[n+" "]&&(!q||!q.test(n))&&(!F||!F.test(n)))try{var o=I.call(e,n);if(o||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return o}catch(i){}return t(n,L,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==L&&j(e),H(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==L&&j(e);var n=T.attrHandle[t.toLowerCase()],o=n&&V.call(T.attrHandle,t.toLowerCase())?n(e,t,!M):void 0;return void 0!==o?o:w.attributes||!M?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],o=0,i=0;if(D=!w.detectDuplicates,A=!w.sortStable&&e.slice(0),e.sort(_),D){for(;t=e[i++];)t===e[i]&&(o=n.push(i));for(;o--;)e.splice(n[o],1)}return A=null,e},C=t.getText=function(e){var t,n="",o=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[o++];)n+=C(t);return n},T=t.selectors={cacheLength:50,createPseudo:o,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,we),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=$(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=X[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&X(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,o){return function(i){var r=t.attr(i,e);return null==r?"!="===n:!n||(r+="","="===n?r===o:"!="===n?r!==o:"^="===n?o&&0===r.indexOf(o):"*="===n?o&&r.indexOf(o)>-1:"$="===n?o&&r.slice(-o.length)===o:"~="===n?(" "+r.replace(se," ")+" ").indexOf(o)>-1:"|="===n&&(r===o||r.slice(0,o.length+1)===o+"-"))}},CHILD:function(e,t,n,o,i){var r="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===o&&0===i?function(e){return!!e.parentNode}:function(t,n,c){var l,u,f,p,d,h,g=r!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!c&&!a,b=!1;if(m){if(r){for(;g;){for(p=t;p=p[g];)if(a?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&y){for(p=m,f=p[O]||(p[O]={}),u=f[p.uniqueID]||(f[p.uniqueID]={}),l=u[e]||[],d=l[0]===W&&l[1],b=d&&l[2],p=d&&m.childNodes[d];p=++d&&p&&p[g]||(b=d=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){u[e]=[W,d,b];break}}else if(y&&(p=t,f=p[O]||(p[O]={}),u=f[p.uniqueID]||(f[p.uniqueID]={}),l=u[e]||[],d=l[0]===W&&l[1],b=d),b===!1)for(;(p=++d&&p&&p[g]||(b=d=0)||h.pop())&&((a?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&(f=p[O]||(p[O]={}),u=f[p.uniqueID]||(f[p.uniqueID]={}),u[e]=[W,b]),p!==t)););return b-=i,b===o||b%o===0&&b/o>=0}}},PSEUDO:function(e,n){var i,r=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return r[O]?r(n):r.length>1?(i=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?o(function(e,t){for(var o,i=r(e,n),s=i.length;s--;)o=ee(e,i[s]),e[o]=!(t[o]=i[s])}):function(e){return r(e,0,i)}):r}},pseudos:{not:o(function(e){var t=[],n=[],i=P(e.replace(ae,"$1"));return i[O]?o(function(e,t,n,o){for(var r,s=i(e,null,o,[]),a=e.length;a--;)(r=s[a])&&(e[a]=!(t[a]=r))}):function(e,o,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}}),has:o(function(e){return function(n){return t(e,n).length>0}}),contains:o(function(e){return e=e.replace(xe,we),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:o(function(e){return pe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xe,we).toLowerCase(),function(t){var n;do if(n=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===N},focus:function(e){return e===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!T.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName);
  },input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var o=0>n?n+t:n;--o>=0;)e.push(o);return e}),gt:l(function(e,t,n){for(var o=0>n?n+t:n;++o<t;)e.push(o);return e})}},T.pseudos.nth=T.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[x]=a(x);for(x in{submit:!0,reset:!0})T.pseudos[x]=c(x);return f.prototype=T.filters=T.pseudos,T.setFilters=new f,$=t.tokenize=function(e,n){var o,i,r,s,a,c,l,u=z[e+" "];if(u)return n?0:u.slice(0);for(a=e,c=[],l=T.preFilter;a;){o&&!(i=ce.exec(a))||(i&&(a=a.slice(i[0].length)||a),c.push(r=[])),o=!1,(i=le.exec(a))&&(o=i.shift(),r.push({value:o,type:i[0].replace(ae," ")}),a=a.slice(o.length));for(s in T.filter)!(i=de[s].exec(a))||l[s]&&!(i=l[s](i))||(o=i.shift(),r.push({value:o,type:s,matches:i}),a=a.slice(o.length));if(!o)break}return n?a.length:a?t.error(e):z(e,c).slice(0)},P=t.compile=function(e,t){var n,o=[],i=[],r=Y[e+" "];if(!r){for(t||(t=$(e)),n=t.length;n--;)r=y(t[n]),r[O]?o.push(r):i.push(r);r=Y(e,b(i,o)),r.selector=e}return r},k=t.select=function(e,t,n,o){var i,r,s,a,c,l="function"==typeof e&&e,f=!o&&$(e=l.selector||e);if(n=n||[],1===f.length){if(r=f[0]=f[0].slice(0),r.length>2&&"ID"===(s=r[0]).type&&w.getById&&9===t.nodeType&&M&&T.relative[r[1].type]){if(t=(T.find.ID(s.matches[0].replace(xe,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(i=de.needsContext.test(e)?0:r.length;i--&&(s=r[i],!T.relative[a=s.type]);)if((c=T.find[a])&&(o=c(s.matches[0].replace(xe,we),ye.test(r[0].type)&&u(t.parentNode)||t))){if(r.splice(i,1),e=o.length&&p(r),!e)return J.apply(n,o),n;break}}return(l||P(e,f))(o,t,!M,n,!t||ye.test(e)&&u(t.parentNode)||t),n},w.sortStable=O.split("").sort(_).join("")===O,w.detectDuplicates=!!D,j(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(L.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||r("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||r("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||r(te,function(e,t,n){var o;return n?void 0:e[t]===!0?t.toLowerCase():(o=e.getAttributeNode(t))&&o.specified?o.value:null}),t}(e);re.find=ue,re.expr=ue.selectors,re.expr[":"]=re.expr.pseudos,re.uniqueSort=re.unique=ue.uniqueSort,re.text=ue.getText,re.isXMLDoc=ue.isXML,re.contains=ue.contains;var fe=function(e,t,n){for(var o=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&re(e).is(n))break;o.push(e)}return o},pe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},de=re.expr.match.needsContext,he=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ge=/^.[^:#\[\.,]*$/;re.filter=function(e,t,n){var o=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===o.nodeType?re.find.matchesSelector(o,e)?[o]:[]:re.find.matches(e,re.grep(t,function(e){return 1===e.nodeType}))},re.fn.extend({find:function(e){var t,n=this.length,o=[],i=this;if("string"!=typeof e)return this.pushStack(re(e).filter(function(){for(t=0;n>t;t++)if(re.contains(i[t],this))return!0}));for(t=0;n>t;t++)re.find(e,i[t],o);return o=this.pushStack(n>1?re.unique(o):o),o.selector=this.selector?this.selector+" "+e:e,o},filter:function(e){return this.pushStack(o(this,e||[],!1))},not:function(e){return this.pushStack(o(this,e||[],!0))},is:function(e){return!!o(this,"string"==typeof e&&de.test(e)?re(e):e||[],!1).length}});var me,ve=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ye=re.fn.init=function(e,t,n){var o,i;if(!e)return this;if(n=n||me,"string"==typeof e){if(o="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ve.exec(e),!o||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof re?t[0]:t,re.merge(this,re.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:G,!0)),he.test(o[1])&&re.isPlainObject(t))for(o in t)re.isFunction(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return i=G.getElementById(o[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=G,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):re.isFunction(e)?void 0!==n.ready?n.ready(e):e(re):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),re.makeArray(e,this))};ye.prototype=re.fn,me=re(G);var be=/^(?:parents|prev(?:Until|All))/,xe={children:!0,contents:!0,next:!0,prev:!0};re.fn.extend({has:function(e){var t=re(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(re.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,o=0,i=this.length,r=[],s=de.test(e)||"string"!=typeof e?re(e,t||this.context):0;i>o;o++)for(n=this[o];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&re.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?re.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?K.call(re(e),this[0]):K.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(re.uniqueSort(re.merge(this.get(),re(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),re.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return fe(e,"parentNode")},parentsUntil:function(e,t,n){return fe(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return fe(e,"nextSibling")},prevAll:function(e){return fe(e,"previousSibling")},nextUntil:function(e,t,n){return fe(e,"nextSibling",n)},prevUntil:function(e,t,n){return fe(e,"previousSibling",n)},siblings:function(e){return pe((e.parentNode||{}).firstChild,e)},children:function(e){return pe(e.firstChild)},contents:function(e){return e.contentDocument||re.merge([],e.childNodes)}},function(e,t){re.fn[e]=function(n,o){var i=re.map(this,t,n);return"Until"!==e.slice(-5)&&(o=n),o&&"string"==typeof o&&(i=re.filter(o,i)),this.length>1&&(xe[e]||re.uniqueSort(i),be.test(e)&&i.reverse()),this.pushStack(i)}});var we=/\S+/g;re.Callbacks=function(e){e="string"==typeof e?r(e):re.extend({},e);var t,n,o,i,s=[],a=[],c=-1,l=function(){for(i=e.once,o=t=!0;a.length;c=-1)for(n=a.shift();++c<s.length;)s[c].apply(n[0],n[1])===!1&&e.stopOnFalse&&(c=s.length,n=!1);e.memory||(n=!1),t=!1,i&&(s=n?[]:"")},u={add:function(){return s&&(n&&!t&&(c=s.length-1,a.push(n)),function o(t){re.each(t,function(t,n){re.isFunction(n)?e.unique&&u.has(n)||s.push(n):n&&n.length&&"string"!==re.type(n)&&o(n)})}(arguments),n&&!t&&l()),this},remove:function(){return re.each(arguments,function(e,t){for(var n;(n=re.inArray(t,s,n))>-1;)s.splice(n,1),c>=n&&c--}),this},has:function(e){return e?re.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return i=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return i=a=[],n||(s=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!o}};return u},re.extend({Deferred:function(e){var t=[["resolve","done",re.Callbacks("once memory"),"resolved"],["reject","fail",re.Callbacks("once memory"),"rejected"],["notify","progress",re.Callbacks("memory")]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return re.Deferred(function(n){re.each(t,function(t,r){var s=re.isFunction(e[t])&&e[t];i[r[1]](function(){var e=s&&s.apply(this,arguments);e&&re.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this===o?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?re.extend(e,o):o}},i={};return o.pipe=o.then,re.each(t,function(e,r){var s=r[2],a=r[3];o[r[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),i[r[0]]=function(){return i[r[0]+"With"](this===i?o:this,arguments),this},i[r[0]+"With"]=s.fireWith}),o.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,o,i=0,r=Z.call(arguments),s=r.length,a=1!==s||e&&re.isFunction(e.promise)?s:0,c=1===a?e:re.Deferred(),l=function(e,n,o){return function(i){n[e]=this,o[e]=arguments.length>1?Z.call(arguments):i,o===t?c.notifyWith(n,o):--a||c.resolveWith(n,o)}};if(s>1)for(t=new Array(s),n=new Array(s),o=new Array(s);s>i;i++)r[i]&&re.isFunction(r[i].promise)?r[i].promise().progress(l(i,n,t)).done(l(i,o,r)).fail(c.reject):--a;return a||c.resolveWith(o,r),c.promise()}});var Te;re.fn.ready=function(e){return re.ready.promise().done(e),this},re.extend({isReady:!1,readyWait:1,holdReady:function(e){e?re.readyWait++:re.ready(!0)},ready:function(e){(e===!0?--re.readyWait:re.isReady)||(re.isReady=!0,e!==!0&&--re.readyWait>0||(Te.resolveWith(G,[re]),re.fn.triggerHandler&&(re(G).triggerHandler("ready"),re(G).off("ready"))))}}),re.ready.promise=function(t){return Te||(Te=re.Deferred(),"complete"===G.readyState||"loading"!==G.readyState&&!G.documentElement.doScroll?e.setTimeout(re.ready):(G.addEventListener("DOMContentLoaded",s),e.addEventListener("load",s))),Te.promise(t)},re.ready.promise();var Ce=function(e,t,n,o,i,r,s){var a=0,c=e.length,l=null==n;if("object"===re.type(n)){i=!0;for(a in n)Ce(e,t,a,n[a],!0,r,s)}else if(void 0!==o&&(i=!0,re.isFunction(o)||(s=!0),l&&(s?(t.call(e,o),t=null):(l=t,t=function(e,t,n){return l.call(re(e),n)})),t))for(;c>a;a++)t(e[a],n,s?o:o.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):c?t(e[0],n):r},Se=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};a.uid=1,a.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!Se(e))return{};var t=e[this.expando];return t||(t={},Se(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var o,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(o in t)i[o]=t[o];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var o;return void 0===t||t&&"string"==typeof t&&void 0===n?(o=this.get(e,t),void 0!==o?o:this.get(e,re.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,o,i,r=e[this.expando];if(void 0!==r){if(void 0===t)this.register(e);else{re.isArray(t)?o=t.concat(t.map(re.camelCase)):(i=re.camelCase(t),t in r?o=[t,i]:(o=i,o=o in r?[o]:o.match(we)||[])),n=o.length;for(;n--;)delete r[o[n]]}(void 0===t||re.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!re.isEmptyObject(t)}};var $e=new a,Pe=new a,ke=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ee=/[A-Z]/g;re.extend({hasData:function(e){return Pe.hasData(e)||$e.hasData(e)},data:function(e,t,n){return Pe.access(e,t,n)},removeData:function(e,t){Pe.remove(e,t)},_data:function(e,t,n){return $e.access(e,t,n)},_removeData:function(e,t){$e.remove(e,t)}}),re.fn.extend({data:function(e,t){var n,o,i,r=this[0],s=r&&r.attributes;if(void 0===e){if(this.length&&(i=Pe.get(r),1===r.nodeType&&!$e.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(o=s[n].name,0===o.indexOf("data-")&&(o=re.camelCase(o.slice(5)),c(r,o,i[o])));$e.set(r,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Pe.set(this,e)}):Ce(this,function(t){var n,o;if(r&&void 0===t){if(n=Pe.get(r,e)||Pe.get(r,e.replace(Ee,"-$&").toLowerCase()),void 0!==n)return n;if(o=re.camelCase(e),n=Pe.get(r,o),void 0!==n)return n;if(n=c(r,o,void 0),void 0!==n)return n}else o=re.camelCase(e),this.each(function(){var n=Pe.get(this,o);Pe.set(this,o,t),e.indexOf("-")>-1&&void 0!==n&&Pe.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Pe.remove(this,e)})}}),re.extend({queue:function(e,t,n){var o;return e?(t=(t||"fx")+"queue",o=$e.get(e,t),n&&(!o||re.isArray(n)?o=$e.access(e,t,re.makeArray(n)):o.push(n)),o||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=re.queue(e,t),o=n.length,i=n.shift(),r=re._queueHooks(e,t),s=function(){re.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),o--),i&&("fx"===t&&n.unshift("inprogress"),delete r.stop,i.call(e,s,r)),!o&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return $e.get(e,n)||$e.access(e,n,{empty:re.Callbacks("once memory").add(function(){$e.remove(e,[t+"queue",n])})})}}),re.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?re.queue(this[0],e):void 0===t?this:this.each(function(){var n=re.queue(this,e,t);re._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&re.dequeue(this,e)})},dequeue:function(e){return this.each(function(){re.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,o=1,i=re.Deferred(),r=this,s=this.length,a=function(){--o||i.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)n=$e.get(r[s],e+"queueHooks"),n&&n.empty&&(o++,n.empty.add(a));return a(),i.promise(t)}});var Ae=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,De=new RegExp("^(?:([+-])=|)("+Ae+")([a-z%]*)$","i"),je=["Top","Right","Bottom","Left"],Le=function(e,t){return e=t||e,"none"===re.css(e,"display")||!re.contains(e.ownerDocument,e)},Ne=/^(?:checkbox|radio)$/i,Me=/<([\w:-]+)/,Fe=/^$|\/(?:java|ecma)script/i,qe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};qe.optgroup=qe.option,qe.tbody=qe.tfoot=qe.colgroup=qe.caption=qe.thead,qe.th=qe.td;var Ie=/<|&#?\w+;/;!function(){var e=G.createDocumentFragment(),t=e.appendChild(G.createElement("div")),n=G.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),oe.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",oe.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var He=/^key/,Oe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Re=/^([^.]*)(?:\.(.+)|)/;re.event={global:{},add:function(e,t,n,o,i){var r,s,a,c,l,u,f,p,d,h,g,m=$e.get(e);if(m)for(n.handler&&(r=n,n=r.handler,i=r.selector),n.guid||(n.guid=re.guid++),(c=m.events)||(c=m.events={}),(s=m.handle)||(s=m.handle=function(t){return"undefined"!=typeof re&&re.event.triggered!==t.type?re.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(we)||[""],l=t.length;l--;)a=Re.exec(t[l])||[],d=g=a[1],h=(a[2]||"").split(".").sort(),d&&(f=re.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=re.event.special[d]||{},u=re.extend({type:d,origType:g,data:o,handler:n,guid:n.guid,selector:i,needsContext:i&&re.expr.match.needsContext.test(i),namespace:h.join(".")},r),(p=c[d])||(p=c[d]=[],p.delegateCount=0,f.setup&&f.setup.call(e,o,h,s)!==!1||e.addEventListener&&e.addEventListener(d,s)),f.add&&(f.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),re.event.global[d]=!0)},remove:function(e,t,n,o,i){var r,s,a,c,l,u,f,p,d,h,g,m=$e.hasData(e)&&$e.get(e);if(m&&(c=m.events)){for(t=(t||"").match(we)||[""],l=t.length;l--;)if(a=Re.exec(t[l])||[],d=g=a[1],h=(a[2]||"").split(".").sort(),d){for(f=re.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,p=c[d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!i&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||o&&o!==u.selector&&("**"!==o||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,f.remove&&f.remove.call(e,u));s&&!p.length&&(f.teardown&&f.teardown.call(e,h,m.handle)!==!1||re.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)re.event.remove(e,d+t[l],n,o,!0);re.isEmptyObject(c)&&$e.remove(e,"handle events")}},dispatch:function(e){e=re.event.fix(e);var t,n,o,i,r,s=[],a=Z.call(arguments),c=($e.get(this,"events")||{})[e.type]||[],l=re.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(s=re.event.handlers.call(this,e,c),t=0;(i=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(r=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(r.namespace)||(e.handleObj=r,e.data=r.data,o=((re.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,a),void 0!==o&&(e.result=o)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,o,i,r,s=[],a=t.delegateCount,c=e.target;if(a&&c.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&(c.disabled!==!0||"click"!==e.type)){for(o=[],n=0;a>n;n++)r=t[n],i=r.selector+" ",void 0===o[i]&&(o[i]=r.needsContext?re(i,this).index(c)>-1:re.find(i,this,null,[c]).length),o[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,o,i,r=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||G,o=n.documentElement,i=n.body,e.pageX=t.clientX+(o&&o.scrollLeft||i&&i.scrollLeft||0)-(o&&o.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(o&&o.scrollTop||i&&i.scrollTop||0)-(o&&o.clientTop||i&&i.clientTop||0)),e.which||void 0===r||(e.which=1&r?1:2&r?3:4&r?2:0),e}},fix:function(e){if(e[re.expando])return e;var t,n,o,i=e.type,r=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=Oe.test(i)?this.mouseHooks:He.test(i)?this.keyHooks:{}),o=s.props?this.props.concat(s.props):this.props,e=new re.Event(r),t=o.length;t--;)n=o[t],e[n]=r[n];return e.target||(e.target=G),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,r):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==g()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===g()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&re.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return re.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},re.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},re.Event=function(e,t){return this instanceof re.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?d:h):this.type=e,t&&re.extend(this,t),this.timeStamp=e&&e.timeStamp||re.now(),void(this[re.expando]=!0)):new re.Event(e,t)},re.Event.prototype={constructor:re.Event,isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=d,e&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=d,e&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=d,e&&e.stopImmediatePropagation(),this.stopPropagation()}},re.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){re.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,o=this,i=e.relatedTarget,r=e.handleObj;return i&&(i===o||re.contains(o,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),re.fn.extend({on:function(e,t,n,o){return m(this,e,t,n,o)},one:function(e,t,n,o){return m(this,e,t,n,o,1)},off:function(e,t,n){var o,i;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,re(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=h),this.each(function(){re.event.remove(this,e,n,t)})}});var We=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Be=/<script|<style|<link/i,Xe=/checked\s*(?:[^=]|=\s*.checked.)/i,ze=/^true\/(.*)/,Ye=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;re.extend({htmlPrefilter:function(e){return e.replace(We,"<$1></$2>")},clone:function(e,t,n){var o,i,r,s,a=e.cloneNode(!0),c=re.contains(e.ownerDocument,e);if(!(oe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||re.isXMLDoc(e)))for(s=u(a),r=u(e),o=0,i=r.length;i>o;o++)w(r[o],s[o]);if(t)if(n)for(r=r||u(e),s=s||u(a),o=0,i=r.length;i>o;o++)x(r[o],s[o]);else x(e,a);return s=u(a,"script"),s.length>0&&f(s,!c&&u(e,"script")),a},cleanData:function(e){for(var t,n,o,i=re.event.special,r=0;void 0!==(n=e[r]);r++)if(Se(n)){if(t=n[$e.expando]){if(t.events)for(o in t.events)i[o]?re.event.remove(n,o):re.removeEvent(n,o,t.handle);n[$e.expando]=void 0}n[Pe.expando]&&(n[Pe.expando]=void 0)}}}),re.fn.extend({domManip:T,detach:function(e){return C(this,e,!0)},remove:function(e){return C(this,e)},text:function(e){return Ce(this,function(e){return void 0===e?re.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return T(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=v(this,e);t.appendChild(e)}})},prepend:function(){return T(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=v(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(re.cleanData(u(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return re.clone(this,e,t)})},html:function(e){return Ce(this,function(e){var t=this[0]||{},n=0,o=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Be.test(e)&&!qe[(Me.exec(e)||["",""])[1].toLowerCase()]){e=re.htmlPrefilter(e);try{for(;o>n;n++)t=this[n]||{},1===t.nodeType&&(re.cleanData(u(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return T(this,arguments,function(t){var n=this.parentNode;re.inArray(this,e)<0&&(re.cleanData(u(this)),n&&n.replaceChild(t,this))},e)}}),re.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){re.fn[e]=function(e){for(var n,o=[],i=re(e),r=i.length-1,s=0;r>=s;s++)n=s===r?this:this.clone(!0),re(i[s])[t](n),J.apply(o,n.get());return this.pushStack(o)}});var _e,Ue={HTML:"block",BODY:"block"},Ve=/^margin/,Ge=new RegExp("^("+Ae+")(?!px)[a-z%]+$","i"),Ze=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Qe=function(e,t,n,o){var i,r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];i=n.apply(e,o||[]);for(r in t)e.style[r]=s[r];return i},Je=G.documentElement;!function(){function t(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Je.appendChild(s);var t=e.getComputedStyle(a);n="1%"!==t.top,r="2px"===t.marginLeft,o="4px"===t.width,a.style.marginRight="50%",i="4px"===t.marginRight,Je.removeChild(s)}var n,o,i,r,s=G.createElement("div"),a=G.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",oe.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),re.extend(oe,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==o&&t(),o},pixelMarginRight:function(){return null==o&&t(),i},reliableMarginLeft:function(){return null==o&&t(),r},reliableMarginRight:function(){var t,n=a.appendChild(G.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",Je.appendChild(s),t=!parseFloat(e.getComputedStyle(n).marginRight),Je.removeChild(s),a.removeChild(n),t}}))}();var Ke=/^(none|table(?!-c[ea]).+)/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"},nt=["Webkit","O","Moz","ms"],ot=G.createElement("div").style;re.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=P(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,r,s,a=re.camelCase(t),c=e.style;return t=re.cssProps[a]||(re.cssProps[a]=E(a)||a),s=re.cssHooks[t]||re.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(e,!1,o))?i:c[t]:(r=typeof n,"string"===r&&(i=De.exec(n))&&i[1]&&(n=l(e,t,i),r="number"),void(null!=n&&n===n&&("number"===r&&(n+=i&&i[3]||(re.cssNumber[a]?"":"px")),oe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,o))||(c[t]=n))))}},css:function(e,t,n,o){var i,r,s,a=re.camelCase(t);return t=re.cssProps[a]||(re.cssProps[a]=E(a)||a),s=re.cssHooks[t]||re.cssHooks[a],s&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=P(e,t,o)),"normal"===i&&t in tt&&(i=tt[t]),""===n||n?(r=parseFloat(i),n===!0||isFinite(r)?r||0:i):i}}),re.each(["height","width"],function(e,t){re.cssHooks[t]={get:function(e,n,o){return n?Ke.test(re.css(e,"display"))&&0===e.offsetWidth?Qe(e,et,function(){return j(e,t,o)}):j(e,t,o):void 0},set:function(e,n,o){var i,r=o&&Ze(e),s=o&&D(e,t,o,"border-box"===re.css(e,"boxSizing",!1,r),r);return s&&(i=De.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=re.css(e,t)),A(e,n,s)}}}),re.cssHooks.marginLeft=k(oe.reliableMarginLeft,function(e,t){return t?(parseFloat(P(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),re.cssHooks.marginRight=k(oe.reliableMarginRight,function(e,t){return t?Qe(e,{display:"inline-block"},P,[e,"marginRight"]):void 0}),re.each({margin:"",padding:"",border:"Width"},function(e,t){re.cssHooks[e+t]={expand:function(n){for(var o=0,i={},r="string"==typeof n?n.split(" "):[n];4>o;o++)i[e+je[o]+t]=r[o]||r[o-2]||r[0];return i}},Ve.test(e)||(re.cssHooks[e+t].set=A)}),re.fn.extend({css:function(e,t){return Ce(this,function(e,t,n){var o,i,r={},s=0;if(re.isArray(t)){for(o=Ze(e),i=t.length;i>s;s++)r[t[s]]=re.css(e,t[s],!1,o);return r}return void 0!==n?re.style(e,t,n):re.css(e,t)},e,t,arguments.length>1)},show:function(){return L(this,!0)},hide:function(){return L(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Le(this)?re(this).show():re(this).hide()})}}),re.Tween=N,N.prototype={constructor:N,init:function(e,t,n,o,i,r){this.elem=e,this.prop=n,this.easing=i||re.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=r||(re.cssNumber[n]?"":"px")},cur:function(){var e=N.propHooks[this.prop];return e&&e.get?e.get(this):N.propHooks._default.get(this)},run:function(e){var t,n=N.propHooks[this.prop];return this.options.duration?this.pos=t=re.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=re.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){re.fx.step[e.prop]?re.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[re.cssProps[e.prop]]&&!re.cssHooks[e.prop]?e.elem[e.prop]=e.now:re.style(e.elem,e.prop,e.now+e.unit)}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},re.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},re.fx=N.prototype.init,re.fx.step={};var it,rt,st=/^(?:toggle|show|hide)$/,at=/queueHooks$/;re.Animation=re.extend(O,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return l(n.elem,e,De.exec(t),n),n}]},tweener:function(e,t){re.isFunction(e)?(t=e,e=["*"]):e=e.match(we);for(var n,o=0,i=e.length;i>o;o++)n=e[o],O.tweeners[n]=O.tweeners[n]||[],O.tweeners[n].unshift(t)},prefilters:[I],prefilter:function(e,t){t?O.prefilters.unshift(e):O.prefilters.push(e)}}),re.speed=function(e,t,n){var o=e&&"object"==typeof e?re.extend({},e):{complete:n||!n&&t||re.isFunction(e)&&e,duration:e,easing:n&&t||t&&!re.isFunction(t)&&t};return o.duration=re.fx.off?0:"number"==typeof o.duration?o.duration:o.duration in re.fx.speeds?re.fx.speeds[o.duration]:re.fx.speeds._default,null!=o.queue&&o.queue!==!0||(o.queue="fx"),o.old=o.complete,o.complete=function(){re.isFunction(o.old)&&o.old.call(this),o.queue&&re.dequeue(this,o.queue)},o},re.fn.extend({fadeTo:function(e,t,n,o){return this.filter(Le).css("opacity",0).show().end().animate({opacity:t},e,n,o)},animate:function(e,t,n,o){var i=re.isEmptyObject(e),r=re.speed(t,n,o),s=function(){var t=O(this,re.extend({},e),r);(i||$e.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||r.queue===!1?this.each(s):this.queue(r.queue,s)},stop:function(e,t,n){var o=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",r=re.timers,s=$e.get(this);if(i)s[i]&&s[i].stop&&o(s[i]);else for(i in s)s[i]&&s[i].stop&&at.test(i)&&o(s[i]);for(i=r.length;i--;)r[i].elem!==this||null!=e&&r[i].queue!==e||(r[i].anim.stop(n),t=!1,r.splice(i,1));!t&&n||re.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=$e.get(this),o=n[e+"queue"],i=n[e+"queueHooks"],r=re.timers,s=o?o.length:0;for(n.finish=!0,re.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;s>t;t++)o[t]&&o[t].finish&&o[t].finish.call(this);delete n.finish})}}),re.each(["toggle","show","hide"],function(e,t){var n=re.fn[t];re.fn[t]=function(e,o,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(F(t,!0),e,o,i);
  }}),re.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){re.fn[e]=function(e,n,o){return this.animate(t,e,n,o)}}),re.timers=[],re.fx.tick=function(){var e,t=0,n=re.timers;for(it=re.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||re.fx.stop(),it=void 0},re.fx.timer=function(e){re.timers.push(e),e()?re.fx.start():re.timers.pop()},re.fx.interval=13,re.fx.start=function(){rt||(rt=e.setInterval(re.fx.tick,re.fx.interval))},re.fx.stop=function(){e.clearInterval(rt),rt=null},re.fx.speeds={slow:600,fast:200,_default:400},re.fn.delay=function(t,n){return t=re.fx?re.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,o){var i=e.setTimeout(n,t);o.stop=function(){e.clearTimeout(i)}})},function(){var e=G.createElement("input"),t=G.createElement("select"),n=t.appendChild(G.createElement("option"));e.type="checkbox",oe.checkOn=""!==e.value,oe.optSelected=n.selected,t.disabled=!0,oe.optDisabled=!n.disabled,e=G.createElement("input"),e.value="t",e.type="radio",oe.radioValue="t"===e.value}();var ct,lt=re.expr.attrHandle;re.fn.extend({attr:function(e,t){return Ce(this,re.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){re.removeAttr(this,e)})}}),re.extend({attr:function(e,t,n){var o,i,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof e.getAttribute?re.prop(e,t,n):(1===r&&re.isXMLDoc(e)||(t=t.toLowerCase(),i=re.attrHooks[t]||(re.expr.match.bool.test(t)?ct:void 0)),void 0!==n?null===n?void re.removeAttr(e,t):i&&"set"in i&&void 0!==(o=i.set(e,n,t))?o:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(o=i.get(e,t))?o:(o=re.find.attr(e,t),null==o?void 0:o))},attrHooks:{type:{set:function(e,t){if(!oe.radioValue&&"radio"===t&&re.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o,i=0,r=t&&t.match(we);if(r&&1===e.nodeType)for(;n=r[i++];)o=re.propFix[n]||n,re.expr.match.bool.test(n)&&(e[o]=!1),e.removeAttribute(n)}}),ct={set:function(e,t,n){return t===!1?re.removeAttr(e,n):e.setAttribute(n,n),n}},re.each(re.expr.match.bool.source.match(/\w+/g),function(e,t){var n=lt[t]||re.find.attr;lt[t]=function(e,t,o){var i,r;return o||(r=lt[t],lt[t]=i,i=null!=n(e,t,o)?t.toLowerCase():null,lt[t]=r),i}});var ut=/^(?:input|select|textarea|button)$/i,ft=/^(?:a|area)$/i;re.fn.extend({prop:function(e,t){return Ce(this,re.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[re.propFix[e]||e]})}}),re.extend({prop:function(e,t,n){var o,i,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&re.isXMLDoc(e)||(t=re.propFix[t]||t,i=re.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(o=i.set(e,n,t))?o:e[t]=n:i&&"get"in i&&null!==(o=i.get(e,t))?o:e[t]},propHooks:{tabIndex:{get:function(e){var t=re.find.attr(e,"tabindex");return t?parseInt(t,10):ut.test(e.nodeName)||ft.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),oe.optSelected||(re.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),re.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){re.propFix[this.toLowerCase()]=this});var pt=/[\t\r\n\f]/g;re.fn.extend({addClass:function(e){var t,n,o,i,r,s,a,c=0;if(re.isFunction(e))return this.each(function(t){re(this).addClass(e.call(this,t,R(this)))});if("string"==typeof e&&e)for(t=e.match(we)||[];n=this[c++];)if(i=R(n),o=1===n.nodeType&&(" "+i+" ").replace(pt," ")){for(s=0;r=t[s++];)o.indexOf(" "+r+" ")<0&&(o+=r+" ");a=re.trim(o),i!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,o,i,r,s,a,c=0;if(re.isFunction(e))return this.each(function(t){re(this).removeClass(e.call(this,t,R(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(we)||[];n=this[c++];)if(i=R(n),o=1===n.nodeType&&(" "+i+" ").replace(pt," ")){for(s=0;r=t[s++];)for(;o.indexOf(" "+r+" ")>-1;)o=o.replace(" "+r+" "," ");a=re.trim(o),i!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):re.isFunction(e)?this.each(function(n){re(this).toggleClass(e.call(this,n,R(this),t),t)}):this.each(function(){var t,o,i,r;if("string"===n)for(o=0,i=re(this),r=e.match(we)||[];t=r[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=R(this),t&&$e.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":$e.get(this,"__className__")||""))})},hasClass:function(e){var t,n,o=0;for(t=" "+e+" ";n=this[o++];)if(1===n.nodeType&&(" "+R(n)+" ").replace(pt," ").indexOf(t)>-1)return!0;return!1}});var dt=/\r/g,ht=/[\x20\t\r\n\f]+/g;re.fn.extend({val:function(e){var t,n,o,i=this[0];return arguments.length?(o=re.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=o?e.call(this,n,re(this).val()):e,null==i?i="":"number"==typeof i?i+="":re.isArray(i)&&(i=re.map(i,function(e){return null==e?"":e+""})),t=re.valHooks[this.type]||re.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=re.valHooks[i.type]||re.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(dt,""):null==n?"":n)):void 0}}),re.extend({valHooks:{option:{get:function(e){var t=re.find.attr(e,"value");return null!=t?t:re.trim(re.text(e)).replace(ht," ")}},select:{get:function(e){for(var t,n,o=e.options,i=e.selectedIndex,r="select-one"===e.type||0>i,s=r?null:[],a=r?i+1:o.length,c=0>i?a:r?i:0;a>c;c++)if(n=o[c],(n.selected||c===i)&&(oe.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!re.nodeName(n.parentNode,"optgroup"))){if(t=re(n).val(),r)return t;s.push(t)}return s},set:function(e,t){for(var n,o,i=e.options,r=re.makeArray(t),s=i.length;s--;)o=i[s],(o.selected=re.inArray(re.valHooks.option.get(o),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),re.each(["radio","checkbox"],function(){re.valHooks[this]={set:function(e,t){return re.isArray(t)?e.checked=re.inArray(re(e).val(),t)>-1:void 0}},oe.checkOn||(re.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var gt=/^(?:focusinfocus|focusoutblur)$/;re.extend(re.event,{trigger:function(t,n,o,i){var r,s,a,c,l,u,f,p=[o||G],d=ne.call(t,"type")?t.type:t,h=ne.call(t,"namespace")?t.namespace.split("."):[];if(s=a=o=o||G,3!==o.nodeType&&8!==o.nodeType&&!gt.test(d+re.event.triggered)&&(d.indexOf(".")>-1&&(h=d.split("."),d=h.shift(),h.sort()),l=d.indexOf(":")<0&&"on"+d,t=t[re.expando]?t:new re.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),n=null==n?[t]:re.makeArray(n,[t]),f=re.event.special[d]||{},i||!f.trigger||f.trigger.apply(o,n)!==!1)){if(!i&&!f.noBubble&&!re.isWindow(o)){for(c=f.delegateType||d,gt.test(c+d)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(o.ownerDocument||G)&&p.push(a.defaultView||a.parentWindow||e)}for(r=0;(s=p[r++])&&!t.isPropagationStopped();)t.type=r>1?c:f.bindType||d,u=($e.get(s,"events")||{})[t.type]&&$e.get(s,"handle"),u&&u.apply(s,n),u=l&&s[l],u&&u.apply&&Se(s)&&(t.result=u.apply(s,n),t.result===!1&&t.preventDefault());return t.type=d,i||t.isDefaultPrevented()||f._default&&f._default.apply(p.pop(),n)!==!1||!Se(o)||l&&re.isFunction(o[d])&&!re.isWindow(o)&&(a=o[l],a&&(o[l]=null),re.event.triggered=d,o[d](),re.event.triggered=void 0,a&&(o[l]=a)),t.result}},simulate:function(e,t,n){var o=re.extend(new re.Event,n,{type:e,isSimulated:!0});re.event.trigger(o,null,t),o.isDefaultPrevented()&&n.preventDefault()}}),re.fn.extend({trigger:function(e,t){return this.each(function(){re.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?re.event.trigger(e,t,n,!0):void 0}}),re.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(e,t){re.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),re.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),oe.focusin="onfocusin"in e,oe.focusin||re.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){re.event.simulate(t,e.target,re.event.fix(e))};re.event.special[t]={setup:function(){var o=this.ownerDocument||this,i=$e.access(o,t);i||o.addEventListener(e,n,!0),$e.access(o,t,(i||0)+1)},teardown:function(){var o=this.ownerDocument||this,i=$e.access(o,t)-1;i?$e.access(o,t,i):(o.removeEventListener(e,n,!0),$e.remove(o,t))}}});var mt=e.location,vt=re.now(),yt=/\?/;re.parseJSON=function(e){return JSON.parse(e+"")},re.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(o){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||re.error("Invalid XML: "+t),n};var bt=/#.*$/,xt=/([?&])_=[^&]*/,wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Tt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ct=/^(?:GET|HEAD)$/,St=/^\/\//,$t={},Pt={},kt="*/".concat("*"),Et=G.createElement("a");Et.href=mt.href,re.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:mt.href,type:"GET",isLocal:Tt.test(mt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":kt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":re.parseJSON,"text xml":re.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?X(X(e,re.ajaxSettings),t):X(re.ajaxSettings,e)},ajaxPrefilter:W($t),ajaxTransport:W(Pt),ajax:function(t,n){function o(t,n,o,a){var l,f,y,b,w,C=n;2!==x&&(x=2,c&&e.clearTimeout(c),i=void 0,s=a||"",T.readyState=t>0?4:0,l=t>=200&&300>t||304===t,o&&(b=z(p,T,o)),b=Y(p,b,T,l),l?(p.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(re.lastModified[r]=w),w=T.getResponseHeader("etag"),w&&(re.etag[r]=w)),204===t||"HEAD"===p.type?C="nocontent":304===t?C="notmodified":(C=b.state,f=b.data,y=b.error,l=!y)):(y=C,!t&&C||(C="error",0>t&&(t=0))),T.status=t,T.statusText=(n||C)+"",l?g.resolveWith(d,[f,C,T]):g.rejectWith(d,[T,C,y]),T.statusCode(v),v=void 0,u&&h.trigger(l?"ajaxSuccess":"ajaxError",[T,p,l?f:y]),m.fireWith(d,[T,C]),u&&(h.trigger("ajaxComplete",[T,p]),--re.active||re.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,r,s,a,c,l,u,f,p=re.ajaxSetup({},n),d=p.context||p,h=p.context&&(d.nodeType||d.jquery)?re(d):re.event,g=re.Deferred(),m=re.Callbacks("once memory"),v=p.statusCode||{},y={},b={},x=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!a)for(a={};t=wt.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)v[t]=[v[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return i&&i.abort(t),o(0,t),this}};if(g.promise(T).complete=m.add,T.success=T.done,T.error=T.fail,p.url=((t||p.url||mt.href)+"").replace(bt,"").replace(St,mt.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=re.trim(p.dataType||"*").toLowerCase().match(we)||[""],null==p.crossDomain){l=G.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Et.protocol+"//"+Et.host!=l.protocol+"//"+l.host}catch(C){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=re.param(p.data,p.traditional)),B($t,p,n,T),2===x)return T;u=re.event&&p.global,u&&0===re.active++&&re.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ct.test(p.type),r=p.url,p.hasContent||(p.data&&(r=p.url+=(yt.test(r)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=xt.test(r)?r.replace(xt,"$1_="+vt++):r+(yt.test(r)?"&":"?")+"_="+vt++)),p.ifModified&&(re.lastModified[r]&&T.setRequestHeader("If-Modified-Since",re.lastModified[r]),re.etag[r]&&T.setRequestHeader("If-None-Match",re.etag[r])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+kt+"; q=0.01":""):p.accepts["*"]);for(f in p.headers)T.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(p.beforeSend.call(d,T,p)===!1||2===x))return T.abort();w="abort";for(f in{success:1,error:1,complete:1})T[f](p[f]);if(i=B(Pt,p,n,T)){if(T.readyState=1,u&&h.trigger("ajaxSend",[T,p]),2===x)return T;p.async&&p.timeout>0&&(c=e.setTimeout(function(){T.abort("timeout")},p.timeout));try{x=1,i.send(y,o)}catch(C){if(!(2>x))throw C;o(-1,C)}}else o(-1,"No Transport");return T},getJSON:function(e,t,n){return re.get(e,t,n,"json")},getScript:function(e,t){return re.get(e,void 0,t,"script")}}),re.each(["get","post"],function(e,t){re[t]=function(e,n,o,i){return re.isFunction(n)&&(i=i||o,o=n,n=void 0),re.ajax(re.extend({url:e,type:t,dataType:i,data:n,success:o},re.isPlainObject(e)&&e))}}),re._evalUrl=function(e){return re.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},re.fn.extend({wrapAll:function(e){var t;return re.isFunction(e)?this.each(function(t){re(this).wrapAll(e.call(this,t))}):(this[0]&&(t=re(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return re.isFunction(e)?this.each(function(t){re(this).wrapInner(e.call(this,t))}):this.each(function(){var t=re(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=re.isFunction(e);return this.each(function(n){re(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){re.nodeName(this,"body")||re(this).replaceWith(this.childNodes)}).end()}}),re.expr.filters.hidden=function(e){return!re.expr.filters.visible(e)},re.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var At=/%20/g,Dt=/\[\]$/,jt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;re.param=function(e,t){var n,o=[],i=function(e,t){t=re.isFunction(t)?t():null==t?"":t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=re.ajaxSettings&&re.ajaxSettings.traditional),re.isArray(e)||e.jquery&&!re.isPlainObject(e))re.each(e,function(){i(this.name,this.value)});else for(n in e)_(n,e[n],t,i);return o.join("&").replace(At,"+")},re.fn.extend({serialize:function(){return re.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=re.prop(this,"elements");return e?re.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!re(this).is(":disabled")&&Nt.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!Ne.test(e))}).map(function(e,t){var n=re(this).val();return null==n?null:re.isArray(n)?re.map(n,function(e){return{name:t.name,value:e.replace(jt,"\r\n")}}):{name:t.name,value:n.replace(jt,"\r\n")}}).get()}}),re.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Mt={0:200,1223:204},Ft=re.ajaxSettings.xhr();oe.cors=!!Ft&&"withCredentials"in Ft,oe.ajax=Ft=!!Ft,re.ajaxTransport(function(t){var n,o;return oe.cors||Ft&&!t.crossDomain?{send:function(i,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(s in i)a.setRequestHeader(s,i[s]);n=function(e){return function(){n&&(n=o=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Mt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),o=a.onerror=n("error"),void 0!==a.onabort?a.onabort=o:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&o()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(c){if(n)throw c}},abort:function(){n&&n()}}:void 0}),re.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return re.globalEval(e),e}}}),re.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),re.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(o,i){t=re("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),G.head.appendChild(t[0])},abort:function(){n&&n()}}}});var qt=[],It=/(=)\?(?=&|$)|\?\?/;re.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=qt.pop()||re.expando+"_"+vt++;return this[e]=!0,e}}),re.ajaxPrefilter("json jsonp",function(t,n,o){var i,r,s,a=t.jsonp!==!1&&(It.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&It.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=re.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(It,"$1"+i):t.jsonp!==!1&&(t.url+=(yt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||re.error(i+" was not called"),s[0]},t.dataTypes[0]="json",r=e[i],e[i]=function(){s=arguments},o.always(function(){void 0===r?re(e).removeProp(i):e[i]=r,t[i]&&(t.jsonpCallback=n.jsonpCallback,qt.push(i)),s&&re.isFunction(r)&&r(s[0]),s=r=void 0}),"script"):void 0}),re.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var o=he.exec(e),i=!n&&[];return o?[t.createElement(o[1])]:(o=p([e],t,i),i&&i.length&&re(i).remove(),re.merge([],o.childNodes))};var Ht=re.fn.load;re.fn.load=function(e,t,n){if("string"!=typeof e&&Ht)return Ht.apply(this,arguments);var o,i,r,s=this,a=e.indexOf(" ");return a>-1&&(o=re.trim(e.slice(a)),e=e.slice(0,a)),re.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),s.length>0&&re.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){r=arguments,s.html(o?re("<div>").append(re.parseHTML(e)).find(o):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},re.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){re.fn[t]=function(e){return this.on(t,e)}}),re.expr.filters.animated=function(e){return re.grep(re.timers,function(t){return e===t.elem}).length},re.offset={setOffset:function(e,t,n){var o,i,r,s,a,c,l,u=re.css(e,"position"),f=re(e),p={};"static"===u&&(e.style.position="relative"),a=f.offset(),r=re.css(e,"top"),c=re.css(e,"left"),l=("absolute"===u||"fixed"===u)&&(r+c).indexOf("auto")>-1,l?(o=f.position(),s=o.top,i=o.left):(s=parseFloat(r)||0,i=parseFloat(c)||0),re.isFunction(t)&&(t=t.call(e,n,re.extend({},a))),null!=t.top&&(p.top=t.top-a.top+s),null!=t.left&&(p.left=t.left-a.left+i),"using"in t?t.using.call(e,p):f.css(p)}},re.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){re.offset.setOffset(this,e,t)});var t,n,o=this[0],i={top:0,left:0},r=o&&o.ownerDocument;return r?(t=r.documentElement,re.contains(t,o)?(i=o.getBoundingClientRect(),n=U(r),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],o={top:0,left:0};return"fixed"===re.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),re.nodeName(e[0],"html")||(o=e.offset()),o.top+=re.css(e[0],"borderTopWidth",!0),o.left+=re.css(e[0],"borderLeftWidth",!0)),{top:t.top-o.top-re.css(n,"marginTop",!0),left:t.left-o.left-re.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===re.css(e,"position");)e=e.offsetParent;return e||Je})}}),re.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;re.fn[e]=function(o){return Ce(this,function(e,o,i){var r=U(e);return void 0===i?r?r[t]:e[o]:void(r?r.scrollTo(n?r.pageXOffset:i,n?i:r.pageYOffset):e[o]=i)},e,o,arguments.length)}}),re.each(["top","left"],function(e,t){re.cssHooks[t]=k(oe.pixelPosition,function(e,n){return n?(n=P(e,t),Ge.test(n)?re(e).position()[t]+"px":n):void 0})}),re.each({Height:"height",Width:"width"},function(e,t){re.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,o){re.fn[o]=function(o,i){var r=arguments.length&&(n||"boolean"!=typeof o),s=n||(o===!0||i===!0?"margin":"border");return Ce(this,function(t,n,o){var i;return re.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?re.css(t,n,s):re.style(t,n,o,s)},t,r?o:void 0,r,null)}})}),re.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,o){return this.on(t,e,n,o)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),re.fn.andSelf=re.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return re});var Ot=e.jQuery,Rt=e.$;return re.noConflict=function(t){return e.$===re&&(e.$=Rt),t&&e.jQuery===re&&(e.jQuery=Ot),re},t||(e.jQuery=e.$=re),re}),function(e,t,n,o){"use strict";function i(e){var t=e.currentTarget,o=e.data?e.data.options:{},i=e.data?e.data.items:[],r="",s=0;e.preventDefault(),e.stopPropagation(),n(t).attr("data-fancybox")&&(r=n(t).data("fancybox")),r?(i=i.length?i.filter('[data-fancybox="'+r+'"]'):n("[data-fancybox="+r+"]"),s=i.index(t)):i=[t],n.fancybox.open(i,o,s)}if(!n)return o;var r={speed:330,loop:!0,opacity:"auto",margin:[44,0],gutter:30,infobar:!0,buttons:!0,slideShow:!0,fullScreen:!0,thumbs:!0,closeBtn:!0,smallBtn:"auto",image:{preload:"auto",protect:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:!0,scrolling:"no",css:{}},baseClass:"",slideClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-controls"><div class="fancybox-infobar"><button data-fancybox-previous class="fancybox-button fancybox-button--left" title="Previous"></button><div class="fancybox-infobar__body"><span class="js-fancybox-index"></span>&nbsp;/&nbsp;<span class="js-fancybox-count"></span></div><button data-fancybox-next class="fancybox-button fancybox-button--right" title="Next"></button></div><div class="fancybox-buttons"><button data-fancybox-close class="fancybox-button fancybox-button--close" title="Close (Esc)"></button></div></div><div class="fancybox-slider-wrap"><div class="fancybox-slider"></div></div><div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>The requested content cannot be loaded. <br /> Please try again later.<p></div>',closeTpl:'<button data-fancybox-close class="fancybox-close-small"></button>',parentEl:"body",touch:!0,keyboard:!0,focus:!0,closeClickOutside:!0,beforeLoad:n.noop,afterLoad:n.noop,beforeMove:n.noop,afterMove:n.noop,onComplete:n.noop,onInit:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop},s=n(e),a=n(t),c=0,l=function(e){return e&&e.hasOwnProperty&&e instanceof n},u=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(t){e.setTimeout(t,1e3/60)}}(),f=function(o){var i;return"function"==typeof n&&o instanceof n&&(o=o[0]),i=o.getBoundingClientRect(),i.bottom>0&&i.right>0&&i.left<(e.innerWidth||t.documentElement.clientWidth)&&i.top<(e.innerHeight||t.documentElement.clientHeight)},p=function(e,o,i){var s=this;s.opts=n.extend(!0,{index:i},r,o||{}),s.id=s.opts.id||++c,s.group=[],s.currIndex=parseInt(s.opts.index,10)||0,s.prevIndex=null,s.prevPos=null,s.currPos=0,s.firstRun=null,s.createGroup(e),s.group.length&&(s.$lastFocus=n(t.activeElement).blur(),s.slides={},s.init(e))};n.extend(p.prototype,{init:function(){var e,t,o=this,i=!1;o.scrollTop=a.scrollTop(),o.scrollLeft=a.scrollLeft(),n.fancybox.getInstance()||(e=n("body").width(),n("html").addClass("fancybox-enabled"),n.fancybox.isTouch?(n.each(o.group,function(e,t){if("image"!==t.type&&"iframe"!==t.type)return i=!0,!1}),i&&n("body").css({position:"fixed",width:e,top:o.scrollTop*-1})):(e=n("body").width()-e,e>1&&n('<style id="fancybox-noscroll" type="text/css">').html(".compensate-for-scrollbar, .fancybox-enabled body { margin-right: "+e+"px; }").appendTo("head"))),t=n(o.opts.baseTpl).attr("id","fancybox-container-"+o.id).data("FancyBox",o).addClass(o.opts.baseClass).hide().prependTo(o.opts.parentEl),o.$refs={container:t,bg:t.find(".fancybox-bg"),controls:t.find(".fancybox-controls"),buttons:t.find(".fancybox-buttons"),slider_wrap:t.find(".fancybox-slider-wrap"),slider:t.find(".fancybox-slider"),caption:t.find(".fancybox-caption")},o.trigger("onInit"),o.activate(),o.current||o.jumpTo(o.currIndex)},createGroup:function(e){var t=this,i=n.makeArray(e);n.each(i,function(e,i){var r,s,a,c,l={},u={},f=[];n.isPlainObject(i)?(l=i,u=i.opts||{}):"object"===n.type(i)&&n(i).length?(r=n(i),f=r.data(),u="options"in f?f.options:{},u="object"===n.type(u)?u:{},l.type="type"in f?f.type:u.type,l.src="src"in f?f.src:u.src||r.attr("href"),u.width="width"in f?f.width:u.width,u.height="height"in f?f.height:u.height,u.thumb="thumb"in f?f.thumb:u.thumb,u.selector="selector"in f?f.selector:u.selector,"srcset"in f&&(u.image={srcset:f.srcset}),u.$orig=r):l={type:"html",content:i+""},l.opts=n.extend(!0,{},t.opts,u),s=l.type,a=l.src||"",s||(l.content?s="html":a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?s="image":a.match(/\.(pdf)((\?|#).*)?$/i)?s="pdf":"#"===a.charAt(0)&&(s="inline"),l.type=s),l.index=t.group.length,l.opts.$orig&&!l.opts.$orig.length&&delete l.opts.$orig,!l.opts.$thumb&&l.opts.$orig&&(l.opts.$thumb=l.opts.$orig.find("img:first")),l.opts.$thumb&&!l.opts.$thumb.length&&delete l.opts.$thumb,"function"===n.type(l.opts.caption)?l.opts.caption=l.opts.caption.apply(i,[t,l]):"caption"in f?l.opts.caption=f.caption:u.$orig&&(l.opts.caption=r.attr("title")),l.opts.caption=l.opts.caption===o?"":l.opts.caption+"","ajax"===s&&(c=a.split(/\s+/,2),c.length>1&&(l.src=c.shift(),l.opts.selector=c.shift())),"auto"==l.opts.smallBtn&&(n.inArray(s,["html","inline","ajax"])>-1?(l.opts.buttons=!1,l.opts.smallBtn=!0):l.opts.smallBtn=!1),"pdf"===s&&(l.type="iframe",l.opts.closeBtn=!0,l.opts.smallBtn=!1,l.opts.iframe.preload=!1),l.opts.modal&&n.extend(!0,l.opts,{infobar:0,buttons:0,keyboard:0,slideShow:0,fullScreen:0,closeClickOutside:0}),t.group.push(l)})},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",function(e){e.stopPropagation(),e.preventDefault(),t.close(e)}).on("click.fb-previous","[data-fancybox-previous]",function(e){e.stopPropagation(),e.preventDefault(),t.previous()}).on("click.fb-next","[data-fancybox-next]",function(e){e.stopPropagation(),e.preventDefault(),t.next()}),n(e).on("orientationchange.fb resize.fb",function(e){u(function(){e&&e.originalEvent&&"resize"===e.originalEvent.type?t.update():(t.$refs.slider_wrap.hide(),u(function(){t.$refs.slider_wrap.show(),t.update()}))})}),a.on("focusin.fb",function(e){var o=n.fancybox?n.fancybox.getInstance():null;!o||n(e.target).hasClass("fancybox-container")||n.contains(o.$refs.container[0],e.target)||(e.stopPropagation(),o.focus(),s.scrollTop(t.scrollTop).scrollLeft(t.scrollLeft))}),a.on("keydown.fb",function(e){var o=t.current,i=e.keyCode||e.which;if(o&&o.opts.keyboard&&!n(e.target).is("input")&&!n(e.target).is("textarea")){if(8===i||27===i)return e.preventDefault(),void t.close(e);switch(i){case 37:case 38:e.preventDefault(),t.previous();break;case 39:case 40:e.preventDefault(),t.next();break;case 80:case 32:e.preventDefault(),t.SlideShow&&(e.preventDefault(),t.SlideShow.toggle());break;case 70:t.FullScreen&&(e.preventDefault(),t.FullScreen.toggle());break;case 71:t.Thumbs&&(e.preventDefault(),t.Thumbs.toggle())}}})},removeEvents:function(){s.off("scroll.fb resize.fb orientationchange.fb"),a.off("keydown.fb focusin.fb click.fb-close"),this.$refs.container.off("click.fb-close click.fb-previous click.fb-next")},previous:function(e){this.jumpTo(this.currIndex-1,e)},next:function(e){this.jumpTo(this.currIndex+1,e)},jumpTo:function(e,t){var n,i,r,s,a=this;if(n=a.firstRun=null===a.firstRun,i=r=e=parseInt(e,10),s=!!a.current&&a.current.opts.loop,!a.isAnimating&&(i!=a.currIndex||n)){if(a.group.length>1&&s)i%=a.group.length,i=i<0?a.group.length+i:i,2==a.group.length?r=e-a.currIndex+a.currPos:(r=i-a.currIndex+a.currPos,Math.abs(a.currPos-(r+a.group.length))<Math.abs(a.currPos-r)?r+=a.group.length:Math.abs(a.currPos-(r-a.group.length))<Math.abs(a.currPos-r)&&(r-=a.group.length));else if(!a.group[i])return void a.update(!1,!1,t);a.current&&(a.current.$slide.removeClass("fancybox-slide--current fancybox-slide--complete"),a.updateSlide(a.current,!0)),a.prevIndex=a.currIndex,a.prevPos=a.currPos,a.currIndex=i,a.currPos=r,a.current=a.createSlide(r),a.group.length>1&&((a.opts.loop||r-1>=0)&&a.createSlide(r-1),(a.opts.loop||r+1<a.group.length)&&a.createSlide(r+1)),a.current.isMoved=!1,a.current.isComplete=!1,t=parseInt(t===o?1.5*a.current.opts.speed:t,10),a.trigger("beforeMove"),a.updateControls(),n&&(a.current.$slide.addClass("fancybox-slide--current"),a.$refs.container.show(),u(function(){a.$refs.bg.css("transition-duration",a.current.opts.speed+"ms"),a.$refs.container.addClass("fancybox-container--ready")})),a.update(!0,!1,n?0:t,function(){a.afterMove()}),a.loadSlide(a.current),n&&a.current.$ghost||a.preload()}},createSlide:function(e){var t,o,i,r=this;if(o=e%r.group.length,o=o<0?r.group.length+o:o,!r.slides[e]&&r.group[o]){if(r.opts.loop&&r.group.length>2)for(var s in r.slides)if(r.slides[s].index===o)return i=r.slides[s],i.pos=e,r.slides[e]=i,delete r.slides[s],r.updateSlide(i),i;t=n('<div class="fancybox-slide"></div>').appendTo(r.$refs.slider),r.slides[e]=n.extend(!0,{},r.group[o],{pos:e,$slide:t,isMoved:!1,isLoaded:!1})}return r.slides[e]},zoomInOut:function(e,t,o){var i,r,s,a=this,c=a.current,l=c.$placeholder,u=c.opts.opacity,p=c.opts.$thumb,d=p?p.offset():0,h=c.$slide.offset();return!!(l&&c.isMoved&&d&&f(p))&&(!("In"===e&&!a.firstRun)&&(n.fancybox.stop(l),a.isAnimating=!0,i={top:d.top-h.top+parseFloat(p.css("border-top-width")||0),left:d.left-h.left+parseFloat(p.css("border-left-width")||0),width:p.width(),height:p.height(),scaleX:1,scaleY:1},"auto"==u&&(u=Math.abs(c.width/c.height-i.width/i.height)>.1),"In"===e?(r=i,
  s=a.getFitPos(c),s.scaleX=s.width/r.width,s.scaleY=s.height/r.height,u&&(r.opacity=.1,s.opacity=1)):(r=n.fancybox.getTranslate(l),s=i,c.$ghost&&(c.$ghost.show(),c.$image&&c.$image.remove()),r.scaleX=r.width/s.width,r.scaleY=r.height/s.height,r.width=s.width,r.height=s.height,u&&(s.opacity=0)),a.updateCursor(s.width,s.height),delete s.width,delete s.height,n.fancybox.setTranslate(l,r),l.show(),a.trigger("beforeZoom"+e),l.css("transition","all "+t+"ms"),n.fancybox.setTranslate(l,s),setTimeout(function(){var t;l.css("transition","none"),t=n.fancybox.getTranslate(l),t.scaleX=1,t.scaleY=1,n.fancybox.setTranslate(l,t),a.trigger("afterZoom"+e),o.apply(a),a.isAnimating=!1},t),!0))},canPan:function(){var e=this,t=e.current,n=t.$placeholder,o=!1;return n&&(o=e.getFitPos(t),o=Math.abs(n.width()-o.width)>1||Math.abs(n.height()-o.height)>1),o},isScaledDown:function(){var e=this,t=e.current,o=t.$placeholder,i=!1;return o&&(i=n.fancybox.getTranslate(o),i=i.width<t.width||i.height<t.height),i},scaleToActual:function(e,t,i){var r,s,a,c,l,u=this,f=u.current,p=f.$placeholder,d=parseInt(f.$slide.width(),10),h=parseInt(f.$slide.height(),10),g=f.width,m=f.height;p&&(u.isAnimating=!0,e=e===o?.5*d:e,t=t===o?.5*h:t,r=n.fancybox.getTranslate(p),c=g/r.width,l=m/r.height,s=.5*d-.5*g,a=.5*h-.5*m,g>d&&(s=r.left*c-(e*c-e),s>0&&(s=0),s<d-g&&(s=d-g)),m>h&&(a=r.top*l-(t*l-t),a>0&&(a=0),a<h-m&&(a=h-m)),u.updateCursor(g,m),n.fancybox.animate(p,null,{top:a,left:s,scaleX:c,scaleY:l},i||f.opts.speed,function(){u.isAnimating=!1}))},scaleToFit:function(e){var t,o=this,i=o.current,r=i.$placeholder;r&&(o.isAnimating=!0,t=o.getFitPos(i),o.updateCursor(t.width,t.height),n.fancybox.animate(r,null,{top:t.top,left:t.left,scaleX:t.width/r.width(),scaleY:t.height/r.height()},e||i.opts.speed,function(){o.isAnimating=!1}))},getFitPos:function(e){var t,o,i,r,a,c,l,u=e.$placeholder||e.$content,f=e.width,p=e.height,d=e.opts.margin;return!(!u||!u.length||!f&&!p)&&("number"===n.type(d)&&(d=[d,d]),2==d.length&&(d=[d[0],d[1],d[0],d[1]]),s.width()<800&&(d=[0,0,0,0]),t=parseInt(e.$slide.width(),10)-(d[1]+d[3]),o=parseInt(e.$slide.height(),10)-(d[0]+d[2]),i=Math.min(1,t/f,o/p),c=Math.floor(i*f),l=Math.floor(i*p),r=Math.floor(.5*(o-l))+d[0],a=Math.floor(.5*(t-c))+d[3],{top:r,left:a,width:c,height:l})},update:function(e,t,o,i){var r,s=this;s.isAnimating!==!0&&s.current&&(r=s.current.pos*Math.floor(s.current.$slide.width())*-1-s.current.pos*s.current.opts.gutter,o=parseInt(o,10)||0,n.fancybox.stop(s.$refs.slider),e===!1?s.updateSlide(s.current,t):n.each(s.slides,function(e,n){s.updateSlide(n,t)}),o?n.fancybox.animate(s.$refs.slider,null,{top:0,left:r},o,function(){s.current.isMoved=!0,"function"===n.type(i)&&i.apply(s)}):(n.fancybox.setTranslate(s.$refs.slider,{top:0,left:r}),s.current.isMoved=!0,"function"===n.type(i)&&i.apply(s)))},updateSlide:function(e,t){var o,i=this,r=e.$placeholder;e=e||i.current,e&&!i.isClosing&&(o=e.pos*Math.floor(e.$slide.width())+e.pos*e.opts.gutter,o!==e.leftPos&&(n.fancybox.setTranslate(e.$slide,{top:0,left:o}),e.leftPos=o),t!==!1&&r&&(n.fancybox.setTranslate(r,i.getFitPos(e)),e.pos===i.currPos&&i.updateCursor()),e.$slide.trigger("refresh"),i.trigger("onUpdate",e))},updateCursor:function(e,t){var n,i=this,r=i.$refs.container.removeClass("fancybox-controls--canzoomIn fancybox-controls--canzoomOut fancybox-controls--canGrab");!i.isClosing&&i.opts.touch&&(n=e!==o&&t!==o?e<i.current.width&&t<i.current.height:i.isScaledDown(),n?r.addClass("fancybox-controls--canzoomIn"):i.group.length<2?r.addClass("fancybox-controls--canzoomOut"):r.addClass("fancybox-controls--canGrab"))},loadSlide:function(e){var t,o,i,r=this;if(e&&!e.isLoaded&&!e.isLoading){switch(e.isLoading=!0,r.trigger("beforeLoad",e),t=e.type,o=e.$slide,o.off("refresh").trigger("onReset").addClass("fancybox-slide--"+(t||"unknown")).addClass(e.opts.slideClass),t){case"image":r.setImage(e);break;case"iframe":r.setIframe(e);break;case"html":r.setContent(e,e.content);break;case"inline":n(e.src).length?r.setContent(e,n(e.src)):r.setError(e);break;case"ajax":r.showLoading(e),i=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,n){"success"===n&&r.setContent(e,t)},error:function(t,n){t&&"abort"!==n&&r.setError(e)}})),o.one("onReset",function(){i.abort()});break;default:r.setError(e)}return!0}},setImage:function(t){var o,i,r,s,a=this,c=t.opts.image.srcset;if(t.isLoaded&&!t.hasError)return void a.afterLoad(t);if(c){r=e.devicePixelRatio||1,s=e.innerWidth*r,i=c.split(",").map(function(e){var t={};return e.trim().split(/\s+/).forEach(function(e,n){var o=parseInt(e.substring(0,e.length-1),10);return 0===n?t.url=e:void(o&&(t.value=o,t.postfix=e[e.length-1]))}),t}),i.sort(function(e,t){return e.value-t.value});for(var l=0;l<i.length;l++){var u=i[l];if("w"===u.postfix&&u.value>=s||"x"===u.postfix&&u.value>=r){o=u;break}}!o&&i.length&&(o=i[i.length-1]),o&&(t.src=o.url,t.width&&t.height&&"w"==o.postfix&&(t.height=t.width/t.height*o.value,t.width=o.value))}t.$placeholder=n('<div class="fancybox-placeholder"></div>').hide().appendTo(t.$slide),t.opts.preload!==!1&&t.opts.width&&t.opts.height&&(t.opts.thumb||t.opts.$thumb)?(t.width=t.opts.width,t.height=t.opts.height,t.$ghost=n("<img />").one("load error",function(){a.isClosing||(n("<img/>")[0].src=t.src,a.revealImage(t,function(){a.setBigImage(t),a.firstRun&&t.index===a.currIndex&&a.preload()}))}).addClass("fancybox-image").appendTo(t.$placeholder).attr("src",t.opts.thumb||t.opts.$thumb.attr("src"))):a.setBigImage(t)},setBigImage:function(e){var t=this,o=n("<img />");e.$image=o.one("error",function(){t.setError(e)}).one("load",function(){clearTimeout(e.timouts),e.timouts=null,t.isClosing||(e.width=this.naturalWidth,e.height=this.naturalHeight,e.opts.image.srcset&&o.attr("sizes","100vw").attr("srcset",e.opts.image.srcset),t.afterLoad(e),e.$ghost&&(e.timouts=setTimeout(function(){e.$ghost.hide()},350)))}).addClass("fancybox-image").attr("src",e.src).appendTo(e.$placeholder),o[0].complete?o.trigger("load"):o[0].error?o.trigger("error"):e.timouts=setTimeout(function(){o[0].complete||e.hasError||t.showLoading(e)},150),e.opts.image.protect&&n('<div class="fancybox-spaceball"></div>').appendTo(e.$placeholder).on("contextmenu.fb",function(e){return 2==e.button&&e.preventDefault(),!0})},revealImage:function(e,t){var o=this;return t=t||n.noop,"image"!==e.type||e.hasError||e.isRevealed===!0?void t.apply(o):(e.isRevealed=!0,void(e.pos===o.currPos&&o.zoomInOut("In",e.opts.speed,t)||(e.$ghost&&!e.isLoaded&&o.updateSlide(e,!0),e.pos===o.currPos?n.fancybox.animate(e.$placeholder,{opacity:0},{opacity:1},300,t):e.$placeholder.show(),t.apply(o))))},setIframe:function(e){var t,i=this,r=e.opts.iframe,s=e.$slide;e.$content=n('<div class="fancybox-content"></div>').css(r.css).appendTo(s),t=n(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",n.fancybox.isTouch?"auto":r.scrolling).appendTo(e.$content),r.preload?(e.$content.addClass("fancybox-tmp"),i.showLoading(e),t.on("load.fb error.fb",function(t){this.isReady=1,e.$slide.trigger("refresh"),i.afterLoad(e)}),s.on("refresh.fb",function(){var n,i,s,a,c,l=e.$content;if(1===t[0].isReady){try{n=t.contents(),i=n.find("body")}catch(u){}i&&i.length&&(r.css.width===o||r.css.height===o)&&(s=t[0].contentWindow.document.documentElement.scrollWidth,a=Math.ceil(i.outerWidth(!0)+(l.width()-s)),c=Math.ceil(i.outerHeight(!0)),l.css({width:r.css.width===o?a+(l.outerWidth()-l.innerWidth()):r.css.width,height:r.css.height===o?c+(l.outerHeight()-l.innerHeight()):r.css.height})),l.removeClass("fancybox-tmp")}})):this.afterLoad(e),t.attr("src",e.src),e.opts.smallBtn&&e.$content.prepend(e.opts.closeTpl),s.one("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank")}catch(t){}n(this).empty(),e.isLoaded=!1})},setContent:function(e,t){var o=this;o.isClosing||(o.hideLoading(e),e.$slide.empty(),l(t)&&t.parent().length?(t.data("placeholder")&&t.parents(".fancybox-slide").trigger("onReset"),t.data({placeholder:n("<div></div>").hide().insertAfter(t)}).css("display","inline-block")):("string"===n.type(t)&&(t=n("<div>").append(t).contents(),3===t[0].nodeType&&(t=n("<div>").html(t))),e.opts.selector&&(t=n("<div>").html(t).find(e.opts.selector))),e.$slide.one("onReset",function(){var o=l(t)?t.data("placeholder"):0;o&&(t.hide().replaceAll(o),t.data("placeholder",null)),e.hasError||(n(this).empty(),e.isLoaded=!1)}),e.$content=n(t).appendTo(e.$slide),e.opts.smallBtn===!0&&e.$content.find(".fancybox-close-small").remove().end().eq(0).append(e.opts.closeTpl),this.afterLoad(e))},setError:function(e){e.hasError=!0,this.setContent(e,e.opts.errorTpl)},showLoading:function(e){var t=this;e=e||t.current,e&&!e.$spinner&&(e.$spinner=n(t.opts.spinnerTpl).appendTo(e.$slide))},hideLoading:function(e){var t=this;e=e||t.current,e&&e.$spinner&&(e.$spinner.remove(),delete e.$spinner)},afterMove:function(){var e=this,t=e.current,o={};t&&(t.$slide.siblings().trigger("onReset"),n.each(e.slides,function(t,n){n.pos>=e.currPos-1&&n.pos<=e.currPos+1?o[n.pos]=n:n&&n.$slide.remove()}),e.slides=o,e.trigger("afterMove"),t.isLoaded&&e.complete())},afterLoad:function(e){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),e.$ghost||t.updateSlide(e,!0),e.index===t.currIndex&&e.isMoved?t.complete():e.$ghost||t.revealImage(e))},complete:function(){var e=this,t=e.current;e.revealImage(t,function(){t.isComplete=!0,t.$slide.addClass("fancybox-slide--complete"),e.updateCursor(),e.trigger("onComplete"),t.opts.focus&&"image"!==t.type&&"iframe"!==t.type&&e.focus()})},preload:function(){var e,t,n=this;n.group.length<2||(e=n.slides[n.currPos+1],t=n.slides[n.currPos-1],e&&"image"===e.type&&n.loadSlide(e),t&&"image"===t.type&&n.loadSlide(t))},focus:function(){var e,t=this.current;e=t&&t.isComplete?t.$slide.find('button,:input,[tabindex],a:not(".disabled")').filter(":visible:first"):null,e&&e.length||(e=this.$refs.container),e.focus(),this.$refs.slider_wrap.scrollLeft(0),t&&t.$slide.scrollTop(0)},activate:function(){var e=this;n(".fancybox-container").each(function(){var t=n(this).data("FancyBox");t&&t.uid!==e.uid&&!t.isClosing&&t.trigger("onDeactivate")}),e.current&&(e.$refs.container.index()>0&&e.$refs.container.prependTo(t.body),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e){var t=this,o=t.current,i=o.opts.speed,r=n.proxy(function(){t.cleanUp(e)},this);return!t.isAnimating&&!t.isClosing&&(t.trigger("beforeClose",e)===!1?(n.fancybox.stop(t.$refs.slider),void u(function(){t.update(!0,!0,150)})):(t.isClosing=!0,o.timouts&&clearTimeout(o.timouts),e!==!0&&n.fancybox.stop(t.$refs.slider),t.$refs.container.removeClass("fancybox-container--active").addClass("fancybox-container--closing"),o.$slide.removeClass("fancybox-slide--complete").siblings().remove(),o.isMoved||o.$slide.css("overflow","visible"),t.removeEvents(),t.hideLoading(o),t.hideControls(),t.updateCursor(),t.$refs.bg.css("transition-duration",i+"ms"),this.$refs.container.removeClass("fancybox-container--ready"),void(e===!0?setTimeout(r,i):t.zoomInOut("Out",i,r)||n.fancybox.animate(t.$refs.container,null,{opacity:0},i,"easeInSine",r))))},cleanUp:function(e){var t,o=this;o.$refs.slider.children().trigger("onReset"),o.$refs.container.empty().remove(),o.trigger("afterClose",e),o.current=null,t=n.fancybox.getInstance(),t?t.activate():(n("html").removeClass("fancybox-enabled"),n("body").removeAttr("style"),s.scrollTop(o.scrollTop).scrollLeft(o.scrollLeft),n("#fancybox-noscroll").remove()),o.$lastFocus&&o.$lastFocus.focus()},trigger:function(e,o){var i,r=Array.prototype.slice.call(arguments,1),s=this,a=o&&o.opts?o:s.current;return a?r.unshift(a):a=s,r.unshift(s),n.isFunction(a.opts[e])&&(i=a.opts[e].apply(a,r)),i===!1?i:void("afterClose"===e?n(t).trigger(e+".fb",r):s.$refs.container.trigger(e+".fb",r))},toggleControls:function(e){this.isHiddenControls?this.updateControls(e):this.hideControls()},hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-controls"),this.$refs.container.removeClass("fancybox-show-caption")},updateControls:function(e){var t=this,o=t.$refs.container,i=t.$refs.caption,r=t.current,s=r.index,a=r.opts,c=a.caption;this.isHiddenControls&&e!==!0||(this.isHiddenControls=!1,o.addClass("fancybox-show-controls").toggleClass("fancybox-show-infobar",!!a.infobar&&t.group.length>1).toggleClass("fancybox-show-buttons",!!a.buttons).toggleClass("fancybox-is-modal",!!a.modal),n(".fancybox-button--left",o).toggleClass("fancybox-button--disabled",!a.loop&&s<=0),n(".fancybox-button--right",o).toggleClass("fancybox-button--disabled",!a.loop&&s>=t.group.length-1),n(".fancybox-button--play",o).toggle(!!(a.slideShow&&t.group.length>1)),n(".fancybox-button--close",o).toggle(!!a.closeBtn),n(".js-fancybox-count",o).html(t.group.length),n(".js-fancybox-index",o).html(s+1),r.$slide.trigger("refresh"),i&&i.empty(),c&&c.length?(i.html(c),this.$refs.container.addClass("fancybox-show-caption "),t.$caption=i):this.$refs.container.removeClass("fancybox-show-caption"))}}),n.fancybox={version:"3.0.47",defaults:r,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-container--closing"):first').data("FancyBox"),o=Array.prototype.slice.call(arguments,1);return t instanceof p&&("string"===n.type(e)?t[e].apply(t,o):"function"===n.type(e)&&e.apply(t,o),t)},open:function(e,t,n){return new p(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),e===!0&&this.close())},isTouch:t.createTouch!==o&&/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),use3d:function(){var n=t.createElement("div");return e.getComputedStyle(n).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<=11)}(),getTranslate:function(e){var t,n;return!(!e||!e.length)&&(t=e.get(0).getBoundingClientRect(),n=e.eq(0).css("transform"),n&&n.indexOf("matrix")!==-1?(n=n.split("(")[1],n=n.split(")")[0],n=n.split(",")):n=[],n.length?(n=n.length>10?[n[13],n[12],n[0],n[5]]:[n[5],n[4],n[0],n[3]],n=n.map(parseFloat)):n=[0,0,1,1],{top:n[0],left:n[1],scaleX:n[2],scaleY:n[3],opacity:parseFloat(e.css("opacity")),width:t.width,height:t.height})},setTranslate:function(e,t){var n="",i={};if(e&&t)return t.left===o&&t.top===o||(n=(t.left===o?e.position().top:t.left)+"px, "+(t.top===o?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),t.scaleX!==o&&t.scaleY!==o&&(n=(n.length?n+" ":"")+"scale("+t.scaleX+", "+t.scaleY+")"),n.length&&(i.transform=n),t.opacity!==o&&(i.opacity=t.opacity),t.width!==o&&(i.width=t.width),t.height!==o&&(i.height=t.height),e.css(i)},easing:{easeOutCubic:function(e,t,n,o){return n*((e=e/o-1)*e*e+1)+t},easeInCubic:function(e,t,n,o){return n*(e/=o)*e*e+t},easeOutSine:function(e,t,n,o){return n*Math.sin(e/o*(Math.PI/2))+t},easeInSine:function(e,t,n,o){return-n*Math.cos(e/o*(Math.PI/2))+n+t}},stop:function(e){e.removeData("animateID")},animate:function(e,t,i,r,s,a){var c,l,f,p=this,d=null,h=0,g=function(){i.scaleX!==o&&i.scaleY!==o&&t&&t.width!==o&&t.height!==o&&(i.width=t.width*i.scaleX,i.height=t.height*i.scaleY,i.scaleX=1,i.scaleY=1),p.setTranslate(e,i),a()},m=function(n){if(c=[],l=0,e.length&&e.data("animateID")===f){if(n=n||Date.now(),d&&(l=n-d),d=n,h+=l,h>=r)return void g();for(var a in i)i.hasOwnProperty(a)&&t[a]!==o&&(t[a]==i[a]?c[a]=i[a]:c[a]=p.easing[s](h,t[a],i[a]-t[a],r));p.setTranslate(e,c),u(m)}};p.animateID=f=p.animateID===o?1:p.animateID+1,e.data("animateID",f),a===o&&"function"==n.type(s)&&(a=s,s=o),s||(s="easeOutCubic"),a=a||n.noop,t?this.setTranslate(e,t):t=this.getTranslate(e),r?(e.show(),u(m)):g()}},n.fn.fancybox=function(e){return this.off("click.fb-start").on("click.fb-start",{items:this,options:e||{}},i),this},n(t).on("click.fb-start","[data-fancybox]",i)}(window,document,window.jQuery),function(e){"use strict";var t=function(t,n,o){if(t)return o=o||"","object"===e.type(o)&&(o=e.param(o,!0)),e.each(n,function(e,n){t=t.replace("$"+e,n||"")}),o.length&&(t+=(t.indexOf("?")>0?"&":"?")+o),t},n={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},google_maps:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12])+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}}};e(document).on("onInit.fb",function(o,i){e.each(i.group,function(o,i){var r,s,a,c,l,u,f=i.src||"",p=!1;i.type||(e.each(n,function(n,o){if(s=f.match(o.matcher),l={},u=n,s){if(p=o.type,o.paramPlace&&s[o.paramPlace]){c=s[o.paramPlace],"?"==c[0]&&(c=c.substring(1)),c=c.split("&");for(var d=0;d<c.length;++d){var h=c[d].split("=",2);2==h.length&&(l[h[0]]=decodeURIComponent(h[1].replace(/\+/g," ")))}}return a=e.extend(!0,{},o.params,i.opts[n],l),f="function"===e.type(o.url)?o.url.call(this,s,a,i):t(o.url,s,a),r="function"===e.type(o.thumb)?o.thumb.call(this,s,a,i):t(o.thumb,s),"vimeo"===u&&(f=f.replace("&%23","#")),!1}}),p?(i.src=f,i.type=p,i.opts.thumb||i.opts.$thumb&&i.opts.$thumb.length||(i.opts.thumb=r),"iframe"===p&&(e.extend(!0,i.opts,{iframe:{preload:!1,scrolling:"no"},smallBtn:!1,closeBtn:!0,fullScreen:!1,slideShow:!1}),i.opts.slideClass+=" fancybox-slide--video")):i.type="iframe")})})}(window.jQuery),function(e,t,n){"use strict";var o=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(t){e.setTimeout(t,1e3/60)}}(),i=function(t){var n=[];t=t.originalEvent||t||e.e,t=t.touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t];for(var o in t)t[o].pageX?n.push({x:t[o].pageX,y:t[o].pageY}):t[o].clientX&&n.push({x:t[o].clientX,y:t[o].clientY});return n},r=function(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},s=function(e){return e.is("a")||e.is("button")||e.is("input")||e.is("select")||e.is("textarea")||n.isFunction(e.get(0).onclick)},a=function(t){var n=e.getComputedStyle(t)["overflow-y"],o=e.getComputedStyle(t)["overflow-x"],i=("scroll"===n||"auto"===n)&&t.scrollHeight>t.clientHeight,r=("scroll"===o||"auto"===o)&&t.scrollWidth>t.clientWidth;return i||r},c=function(e){for(var t=!1;;){if(t=a(e.get(0)))break;if(e=e.parent(),!e.length||e.hasClass("fancybox-slider")||e.is("body"))break}return t},l=function(e){var t=this;t.instance=e,t.$wrap=e.$refs.slider_wrap,t.$slider=e.$refs.slider,t.$container=e.$refs.container,t.destroy(),t.$wrap.on("touchstart.fb mousedown.fb",n.proxy(t,"ontouchstart"))};l.prototype.destroy=function(){this.$wrap.off("touchstart.fb mousedown.fb touchmove.fb mousemove.fb touchend.fb touchcancel.fb mouseup.fb mouseleave.fb")},l.prototype.ontouchstart=function(t){var o=this,a=n(t.target),l=o.instance,u=l.current,f=u.$content||u.$placeholder;return o.startPoints=i(t),o.$target=a,o.$content=f,o.canvasWidth=Math.round(u.$slide[0].clientWidth),o.canvasHeight=Math.round(u.$slide[0].clientHeight),o.startEvent=t,t.originalEvent.clientX>o.canvasWidth+u.$slide.offset().left||(s(a)||s(a.parent())||c(a)?void 0:u.opts.touch?void(t.originalEvent&&2==t.originalEvent.button||(t.stopPropagation(),t.preventDefault(),!u||o.instance.isAnimating||o.instance.isClosing||!o.startPoints||o.startPoints.length>1&&!u.isMoved||(o.$wrap.off("touchmove.fb mousemove.fb",n.proxy(o,"ontouchmove")),o.$wrap.off("touchend.fb touchcancel.fb mouseup.fb mouseleave.fb",n.proxy(o,"ontouchend")),o.$wrap.on("touchend.fb touchcancel.fb mouseup.fb mouseleave.fb",n.proxy(o,"ontouchend")),o.$wrap.on("touchmove.fb mousemove.fb",n.proxy(o,"ontouchmove")),o.startTime=(new Date).getTime(),o.distanceX=o.distanceY=o.distance=0,o.canTap=!1,o.isPanning=!1,o.isSwiping=!1,o.isZooming=!1,o.sliderStartPos=n.fancybox.getTranslate(o.$slider),o.contentStartPos=n.fancybox.getTranslate(o.$content),o.contentLastPos=null,1!==o.startPoints.length||o.isZooming||(o.canTap=u.isMoved,"image"===u.type&&(o.contentStartPos.width>o.canvasWidth+1||o.contentStartPos.height>o.canvasHeight+1)?(n.fancybox.stop(o.$content),o.isPanning=!0):(n.fancybox.stop(o.$slider),o.isSwiping=!0),o.$container.addClass("fancybox-controls--isGrabbing")),2===o.startPoints.length&&u.isMoved&&!u.hasError&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(o.isZooming=!0,o.isSwiping=!1,o.isPanning=!1,n.fancybox.stop(o.$content),o.centerPointStartX=.5*(o.startPoints[0].x+o.startPoints[1].x)-n(e).scrollLeft(),o.centerPointStartY=.5*(o.startPoints[0].y+o.startPoints[1].y)-n(e).scrollTop(),o.percentageOfImageAtPinchPointX=(o.centerPointStartX-o.contentStartPos.left)/o.contentStartPos.width,o.percentageOfImageAtPinchPointY=(o.centerPointStartY-o.contentStartPos.top)/o.contentStartPos.height,o.startDistanceBetweenFingers=r(o.startPoints[0],o.startPoints[1]))))):(o.endPoints=o.startPoints,o.ontap()))},l.prototype.ontouchmove=function(e){var t=this;e.preventDefault(),t.newPoints=i(e),t.newPoints&&t.newPoints.length&&(t.distanceX=r(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=r(t.newPoints[0],t.startPoints[0],"y"),t.distance=r(t.newPoints[0],t.startPoints[0]),t.distance>0&&(t.isSwiping?t.onSwipe():t.isPanning?t.onPan():t.isZooming&&t.onZoom()))},l.prototype.onSwipe=function(){var t,i=this,r=i.isSwiping,s=i.sliderStartPos.left;r===!0?Math.abs(i.distance)>10&&(i.instance.group.length<2?i.isSwiping="y":!i.instance.current.isMoved||i.instance.opts.touch.vertical===!1||"auto"===i.instance.opts.touch.vertical&&n(e).width()>800?i.isSwiping="x":(t=Math.abs(180*Math.atan2(i.distanceY,i.distanceX)/Math.PI),i.isSwiping=t>45&&t<135?"y":"x"),i.canTap=!1,i.instance.current.isMoved=!1,i.startPoints=i.newPoints):("x"==r&&(!i.instance.current.opts.loop&&0===i.instance.current.index&&i.distanceX>0?s+=Math.pow(i.distanceX,.8):!i.instance.current.opts.loop&&i.instance.current.index===i.instance.group.length-1&&i.distanceX<0?s-=Math.pow(-i.distanceX,.8):s+=i.distanceX),i.sliderLastPos={top:"x"==r?0:i.sliderStartPos.top+i.distanceY,left:s},o(function(){n.fancybox.setTranslate(i.$slider,i.sliderLastPos)}))},l.prototype.onPan=function(){var e,t,i,r=this;r.canTap=!1,e=r.contentStartPos.width>r.canvasWidth?r.contentStartPos.left+r.distanceX:r.contentStartPos.left,t=r.contentStartPos.top+r.distanceY,i=r.limitMovement(e,t,r.contentStartPos.width,r.contentStartPos.height),i.scaleX=r.contentStartPos.scaleX,i.scaleY=r.contentStartPos.scaleY,r.contentLastPos=i,o(function(){n.fancybox.setTranslate(r.$content,r.contentLastPos)})},l.prototype.limitMovement=function(e,t,n,o){var i,r,s,a,c=this,l=c.canvasWidth,u=c.canvasHeight,f=c.contentStartPos.left,p=c.contentStartPos.top,d=c.distanceX,h=c.distanceY;return i=Math.max(0,.5*l-.5*n),r=Math.max(0,.5*u-.5*o),s=Math.min(l-n,.5*l-.5*n),a=Math.min(u-o,.5*u-.5*o),n>l&&(d>0&&e>i&&(e=i-1+Math.pow(-i+f+d,.8)||0),d<0&&e<s&&(e=s+1-Math.pow(s-f-d,.8)||0)),o>u&&(h>0&&t>r&&(t=r-1+Math.pow(-r+p+h,.8)||0),h<0&&t<a&&(t=a+1-Math.pow(a-p-h,.8)||0)),{top:t,left:e}},l.prototype.limitPosition=function(e,t,n,o){var i=this,r=i.canvasWidth,s=i.canvasHeight;return n>r?(e=e>0?0:e,e=e<r-n?r-n:e):e=Math.max(0,r/2-n/2),o>s?(t=t>0?0:t,t=t<s-o?s-o:t):t=Math.max(0,s/2-o/2),{top:t,left:e}},l.prototype.onZoom=function(){var t=this,i=t.contentStartPos.width,s=t.contentStartPos.height,a=t.contentStartPos.left,c=t.contentStartPos.top,l=r(t.newPoints[0],t.newPoints[1]),u=l/t.startDistanceBetweenFingers,f=Math.floor(i*u),p=Math.floor(s*u),d=(i-f)*t.percentageOfImageAtPinchPointX,h=(s-p)*t.percentageOfImageAtPinchPointY,g=(t.newPoints[0].x+t.newPoints[1].x)/2-n(e).scrollLeft(),m=(t.newPoints[0].y+t.newPoints[1].y)/2-n(e).scrollTop(),v=g-t.centerPointStartX,y=m-t.centerPointStartY,b=a+(d+v),x=c+(h+y),w={top:x,left:b,scaleX:t.contentStartPos.scaleX*u,scaleY:t.contentStartPos.scaleY*u};t.canTap=!1,t.newWidth=f,t.newHeight=p,t.contentLastPos=w,o(function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})},l.prototype.ontouchend=function(e){var t=this,o=t.instance.current,r=Math.max((new Date).getTime()-t.startTime,1),s=t.isSwiping,a=t.isPanning,c=t.isZooming;return t.endPoints=i(e),t.$container.removeClass("fancybox-controls--isGrabbing"),t.$wrap.off("touchmove.fb mousemove.fb",n.proxy(this,"ontouchmove")),t.$wrap.off("touchend.fb touchcancel.fb mouseup.fb mouseleave.fb",n.proxy(this,"ontouchend")),t.isSwiping=!1,t.isPanning=!1,t.isZooming=!1,t.canTap?t.ontap():(t.velocityX=t.distanceX/r*.5,t.velocityY=t.distanceY/r*.5,t.speed=o.opts.speed||330,t.speedX=Math.max(.75*t.speed,Math.min(1.5*t.speed,1/Math.abs(t.velocityX)*t.speed)),t.speedY=Math.max(.75*t.speed,Math.min(1.5*t.speed,1/Math.abs(t.velocityY)*t.speed)),void(a?t.endPanning():c?t.endZooming():t.endSwiping(s)))},l.prototype.endSwiping=function(e){var t=this;"y"==e&&Math.abs(t.distanceY)>50?(n.fancybox.animate(t.$slider,null,{top:t.sliderStartPos.top+t.distanceY+150*t.velocityY,left:t.sliderStartPos.left,opacity:0},t.speedY),t.instance.close(!0)):"x"==e&&t.distanceX>50?t.instance.previous(t.speedX):"x"==e&&t.distanceX<-50?t.instance.next(t.speedX):t.instance.update(!1,!0,150)},l.prototype.endPanning=function(){var e,t,o,i=this;i.contentLastPos&&(e=i.contentLastPos.left+i.velocityX*i.speed*2,t=i.contentLastPos.top+i.velocityY*i.speed*2,o=i.limitPosition(e,t,i.contentStartPos.width,i.contentStartPos.height),o.width=i.contentStartPos.width,o.height=i.contentStartPos.height,n.fancybox.animate(i.$content,null,o,i.speed,"easeOutSine"))},l.prototype.endZooming=function(){var e,t,o,i,r=this,s=r.instance.current,a=r.newWidth,c=r.newHeight;r.contentLastPos&&(e=r.contentLastPos.left,t=r.contentLastPos.top,i={top:t,left:e,width:a,height:c,scaleX:1,scaleY:1},n.fancybox.setTranslate(r.$content,i),a<r.canvasWidth&&c<r.canvasHeight?r.instance.scaleToFit(150):a>s.width||c>s.height?r.instance.scaleToActual(r.centerPointStartX,r.centerPointStartY,150):(o=r.limitPosition(e,t,a,c),n.fancybox.animate(r.$content,null,o,r.speed,"easeOutSine")))},l.prototype.ontap=function(){var e=this,t=e.instance,o=t.current,i=e.endPoints[0].x,r=e.endPoints[0].y;if(i-=e.$wrap.offset().left,r-=e.$wrap.offset().top,t.SlideShow&&t.SlideShow.isActive&&t.SlideShow.stop(),!n.fancybox.isTouch)return o.opts.closeClickOutside&&e.$target.is(".fancybox-slide")?void t.close(e.startEvent):void("image"==o.type&&o.isMoved&&(t.canPan()?t.scaleToFit():t.isScaledDown()?t.scaleToActual(i,r):t.group.length<2&&t.close(e.startEvent)));if(e.tapped){if(clearTimeout(e.tapped),e.tapped=null,Math.abs(i-e.x)>50||Math.abs(r-e.y)>50||!o.isMoved)return this;"image"==o.type&&(o.isLoaded||o.$ghost)&&(t.canPan()?t.scaleToFit():t.isScaledDown()&&t.scaleToActual(i,r))}else e.x=i,e.y=r,e.tapped=setTimeout(function(){e.tapped=null,t.toggleControls(!0)},300);return this},n(t).on("onActivate.fb",function(e,t){t&&!t.Guestures&&(t.Guestures=new l(t))}),n(t).on("beforeClose.fb",function(e,t){t&&t.Guestures&&t.Guestures.destroy()})}(window,document,window.jQuery),function(e,t){"use strict";var n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{timer:null,isActive:!1,$button:null,speed:3e3,init:function(){var e=this;e.$button=t('<button data-fancybox-play class="fancybox-button fancybox-button--play" title="Slideshow (P)"></button>').appendTo(e.instance.$refs.buttons),e.instance.$refs.container.on("click","[data-fancybox-play]",function(){e.toggle()})},set:function(){var e=this;e.instance&&e.instance.current&&(e.instance.current.opts.loop||e.instance.currIndex<e.instance.group.length-1)?e.timer=setTimeout(function(){e.instance.next()},e.instance.current.opts.slideShow.speed||e.speed):e.stop()},clear:function(){var e=this;clearTimeout(e.timer),e.timer=null},start:function(){var e=this;e.stop(),e.instance&&e.instance.current&&(e.instance.current.opts.loop||e.instance.currIndex<e.instance.group.length-1)&&(e.instance.$refs.container.on({"beforeLoad.fb.player":t.proxy(e,"clear"),"onComplete.fb.player":t.proxy(e,"set")}),e.isActive=!0,e.instance.current.isComplete&&e.set(),e.instance.$refs.container.trigger("onPlayStart"),e.$button.addClass("fancybox-button--pause"))},stop:function(){var e=this;e.clear(),e.instance.$refs.container.trigger("onPlayEnd").off(".player"),e.$button.removeClass("fancybox-button--pause"),e.isActive=!1},toggle:function(){var e=this;e.isActive?e.stop():e.start()}}),t(e).on("onInit.fb",function(e,t){t&&t.group.length>1&&t.opts.slideShow&&!t.SlideShow&&(t.SlideShow=new n(t))}),t(e).on("beforeClose.fb onDeactivate.fb",function(e,t){t&&t.SlideShow&&t.SlideShow.stop()})}(document,window.jQuery),function(e,t){"use strict";var n=function(){var t,n,o,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r={};for(n=0;n<i.length;n++)if(t=i[n],t&&t[1]in e){for(o=0;o<t.length;o++)r[i[0][o]]=t[o];return r}return!1}();if(n){var o={request:function(t){t=t||e.documentElement,t[n.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){e[n.exitFullscreen]()},toggle:function(e){this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(e[n.fullscreenElement])},enabled:function(){return Boolean(e[n.fullscreenEnabled])}};t(e).on({"onInit.fb":function(e,n){var i;n&&n.opts.fullScreen&&!n.FullScreen&&(i=n.$refs.container,n.$refs.button_fs=t('<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="Full screen (F)"></button>').appendTo(n.$refs.buttons),i.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(e){e.stopPropagation(),e.preventDefault(),o.toggle(i[0])}),n.opts.fullScreen.requestOnStart===!0&&o.request(i[0]))},"beforeMove.fb":function(e,t){t&&t.$refs.button_fs&&t.$refs.button_fs.toggle(!!t.current.opts.fullScreen)},"beforeClose.fb":function(){o.exit()}}),t(e).on(n.fullscreenchange,function(){var e=t.fancybox.getInstance(),n=e?e.current.$placeholder:null;n&&(n.css("transition","none"),e.isAnimating=!1,e.update(!0,!0,0))})}}(document,window.jQuery),function(e,t){"use strict";var n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,init:function(){var e=this;e.$button=t('<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="Thumbnails (G)"></button>').appendTo(this.instance.$refs.buttons).on("touchend click",function(t){t.stopPropagation(),t.preventDefault(),e.toggle()})},create:function(){var e,n,o=this.instance;this.$grid=t('<div class="fancybox-thumbs"></div>').appendTo(o.$refs.container),e="<ul>",t.each(o.group,function(t,o){n=o.opts.thumb||(o.opts.$thumb?o.opts.$thumb.attr("src"):null),
  n||"image"!==o.type||(n=o.src),n&&n.length&&(e+='<li data-index="'+t+'"  tabindex="0" class="fancybox-thumbs-loading"><img data-src="'+n+'" /></li>')}),e+="</ul>",this.$list=t(e).appendTo(this.$grid).on("click touchstart","li",function(){o.jumpTo(t(this).data("index"))}),this.$list.find("img").hide().one("load",function(){var e,n,o,i,r=t(this).parent().removeClass("fancybox-thumbs-loading"),s=r.outerWidth(),a=r.outerHeight();e=this.naturalWidth||this.width,n=this.naturalHeight||this.height,o=e/s,i=n/a,o>=1&&i>=1&&(o>i?(e/=i,n=a):(e=s,n/=o)),t(this).css({width:Math.floor(e),height:Math.floor(n),"margin-top":Math.min(0,Math.floor(.3*a-.3*n)),"margin-left":Math.min(0,Math.floor(.5*s-.5*e))}).show()}).each(function(){this.src=t(this).data("src")})},focus:function(){this.instance.current&&this.$list.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active").focus()},close:function(){this.$grid.hide()},update:function(){this.instance.$refs.container.toggleClass("fancybox-container--thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.$grid.show(),this.focus()):this.$grid&&this.$grid.hide(),this.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible?this.hide():this.show()}}),t(e).on("onInit.fb",function(e,t){var o=t.group[0],i=t.group[1];t.opts.thumbs&&!t.Thumbs&&t.group.length>1&&("image"==o.type||o.opts.thumb||o.opts.$thumb)&&("image"==i.type||i.opts.thumb||i.opts.$thumb)&&(t.Thumbs=new n(t))}),t(e).on("beforeMove.fb",function(e,t,n){var o=t&&t.Thumbs;o&&(n.modal?(o.$button.hide(),o.hide()):(t.opts.thumbs.showOnStart===!0&&t.firstRun&&o.show(),o.$button.show(),o.isVisible&&o.focus()))}),t(e).on("beforeClose.fb",function(e,t){t&&t.Thumbs&&(t.Thumbs.isVisible&&t.opts.thumbs.hideOnClosing!==!1&&t.Thumbs.close(),t.Thumbs=null)})}(document,window.jQuery),function(e,t,n){"use strict";function o(){var e=t.location.hash.substr(1),n=e.split("-"),o=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,i=n.join("-");return o<1&&(o=1),{hash:e,index:o,gallery:i}}function i(e){var t;""!==e.gallery&&(t=n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1),t.length?t.trigger("click"):n("#"+n.escapeSelector(e.gallery)).trigger("click"))}function r(e){var t;return!!e&&(t=e.current?e.current.opts:e.opts,t.$orig?t.$orig.data("fancybox"):t.hash||"")}n.escapeSelector||(n.escapeSelector=function(e){var t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,n=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e};return(e+"").replace(t,n)});var s=null;n(function(){setTimeout(function(){n.fancybox.defaults.hash!==!1&&(n(t).on("hashchange.fb",function(){var e=o();n.fancybox.getInstance()?s&&s!==e.gallery+"-"+e.index&&(s=null,n.fancybox.close()):""!==e.gallery&&i(e)}),n(e).on({"onInit.fb":function(e,t){var n=o(),i=r(t);i&&n.gallery&&i==n.gallery&&(t.currIndex=n.index-1)},"beforeMove.fb":function(n,o,i){var a=r(o);a&&""!==a&&(t.location.hash.indexOf(a)<0&&(o.opts.origHash=t.location.hash),s=a+(o.group.length>1?"-"+(i.index+1):""),"pushState"in history?history.pushState("",e.title,t.location.pathname+t.location.search+"#"+s):t.location.hash=s)},"beforeClose.fb":function(n,o,i){var a=r(o),c=o&&o.opts.origHash?o.opts.origHash:"";a&&""!==a&&("pushState"in history?history.pushState("",e.title,t.location.pathname+t.location.search+c):t.location.hash=c),s=null}}),i(o()))},50)})}(document,window,window.jQuery),function(){var e=$(".menu-button"),t=$(".sidebar-nav");e.on("click",function(){t.is(":visible")?t.slideUp():t.slideDown()}),$("[data-fancybox]").fancybox({})}();