PageSourceSearch

https://www.karwia.com.pl/theme/zapleczowe/assets/js/site.min.js?a932068a93

js karwia.com.pl collected 2026-09-27 03:02:04 UTC 446,613 bytes, 879 lines download raw bytes

vendor: 17,134 bytes, lines 1-104
1!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t){var e="length" in t&&t.length,i=ot.type(t);return "function"!==i&&!ot.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t))}
2function n(t,e,i){if(ot.isFunction(e))return ot.grep(t,function(t,n){return !!e.call(t,n,t)!==i});if(e.nodeType)return ot.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(ht.test(e))return ot.filter(e,t,i);e=ot.filter(e,t)}
3return ot.grep(t,function(t){return ot.inArray(t,e)>=0!==i})}
4function o(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}
5function s(t){var e=bt[t]={};return ot.each(t.match(_t)||[],function(t,i){e[i]=!0}),e}
6function r(){ft.addEventListener?(ft.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):(ft.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}
7function a(){(ft.addEventListener||"load"===event.type||"complete"===ft.readyState)&&(r(),ot.ready())}
8function l(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(St,"-$1").toLowerCase();if(i=t.getAttribute(n),"string"==typeof i){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:xt.test(i)?ot.parseJSON(i):i)}catch(t){}
9ot.data(t,e,i)}else i=void 0}
10return i}
11function c(t){var e;for(e in t)
12if(("data"!==e||!ot.isEmptyObject(t[e]))&&"toJSON"!==e)return !1;return !0}
13function d(t,e,i,n){if(ot.acceptData(t)){var o,s,r=ot.expando,a=t.nodeType,l=a?ot.cache:t,c=a?t[r]:t[r]&&r;if(c&&l[c]&&(n||l[c].data)||void 0!==i||"string"!=typeof e)return c||(c=a?t[r]=G.pop()||ot.guid++:r),l[c]||(l[c]=a?{}:{toJSON:ot.noop}),("object"==typeof e||"function"==typeof e)&&(n?l[c]=ot.extend(l[c],e):l[c].data=ot.extend(l[c].data,e)),s=l[c],n||(s.data||(s.data={}),s=s.data),void 0!==i&&(s[ot.camelCase(e)]=i),"string"==typeof e?(o=s[e],null==o&&(o=s[ot.camelCase(e)])):o=s,o}}
14function u(t,e,i){if(ot.acceptData(t)){var n,o,s=t.nodeType,r=s?ot.cache:t,a=s?t[ot.expando]:ot.expando;if(r[a]){if(e&&(n=i?r[a]:r[a].data)){ot.isArray(e)?e=e.concat(ot.map(e,ot.camelCase)):e in n?e=[e]:(e=ot.camelCase(e),e=e in n?[e]:e.split(" ")),o=e.length;for(;o--;)delete n[e[o]];if(i?!c(n):!ot.isEmptyObject(n))return}(i||(delete r[a].data,c(r[a])))&&(s?ot.cleanData([t],!0):it.deleteExpando||r!=r.window?delete r[a]:r[a]=null)}}}
15function h(){return !0}
16function p(){return !1}
17function f(){try{return ft.activeElement}catch(t){}}
18function m(t){var e=Nt.split("|"),i=t.createDocumentFragment();if(i.createElement)
19for(;e.length;)i.createElement(e.pop());return i}
20function g(t,e){var i,n,o=0,s=typeof t.getElementsByTagName!==Ct?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==Ct?t.querySelectorAll(e||"*"):void 0;if(!s)
21for(s=[],i=t.childNodes||t;null!=(n=i[o]);o++) !e||ot.nodeName(n,e)?s.push(n):ot.merge(s,g(n,e));return void 0===e||e&&ot.nodeName(t,e)?ot.merge([t],s):s}
22function v(t){Mt.test(t.type)&&(t.defaultChecked=t.checked)}
23function y(t,e){return ot.nodeName(t,"table")&&ot.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}
24function _(t){return t.type=(null!==ot.find.attr(t,"type"))+"/"+t.type,t}
25function b(t){var e=Vt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}
26function w(t,e){for(var i,n=0;null!=(i=t[n]);n++)ot._data(i,"globalEval",!e||ot._data(e[n],"globalEval"))}
27function k(t,e){if(1===e.nodeType&&ot.hasData(t)){var i,n,o,s=ot._data(t),r=ot._data(e,s),a=s.events;if(a){delete r.handle,r.events={};for(i in a)
28for(n=0,o=a[i].length;o>n;n++)ot.event.add(e,i,a[i][n])}
29r.data&&(r.data=ot.extend({},r.data))}}
30function C(t,e){var i,n,o;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!it.noCloneEvent&&e[ot.expando]){o=ot._data(e);for(n in o.events)ot.removeEvent(e,n,o.handle);e.removeAttribute(ot.expando)}
31"script"===i&&e.text!==t.text?(_(e).text=t.text,b(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),it.html5Clone&&t.innerHTML&&!ot.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&Mt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}}
32function x(e,i){var n,o=ot(i.createElement(e)).appendTo(i.body),s=t.getDefaultComputedStyle&&(n=t.getDefaultComputedStyle(o[0]))?n.display:ot.css(o[0],"display");return o.detach(),s}
33function S(t){var e=ft,i=Jt[t];return i||(i=x(t,e),"none"!==i&&i||(Kt=(Kt||ot("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Kt[0].contentWindow||Kt[0].contentDocument).document,e.write(),e.close(),i=x(t,e),Kt.detach()),Jt[t]=i),i}
34function T(t,e){return{get:function(){var i=t();if(null!=i)return i?void delete this.get:(this.get=e).apply(this,arguments)}}}
35function D(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,o=he.length;o--;)
36if(e=he[o]+i,e in t)return e;return n}
37function $(t,e){for(var i,n,o,s=[],r=0,a=t.length;a>r;r++)n=t[r],n.style&&(s[r]=ot._data(n,"olddisplay"),i=n.style.display,e?(s[r]||"none"!==i||(n.style.display=""),""===n.style.display&&$t(n)&&(s[r]=ot._data(n,"olddisplay",S(n.nodeName)))):(o=$t(n),(i&&"none"!==i||!o)&&ot._data(n,"olddisplay",o?i:ot.css(n,"display"))));for(r=0;a>r;r++)n=t[r],n.style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?s[r]||"":"none"));return t}
38function E(t,e,i){var n=le.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}
39function M(t,e,i,n,o){for(var s=i===(n?"border":"content")?4:"width"===e?1:0,r=0;4>s;s+=2)"margin"===i&&(r+=ot.css(t,i+Dt[s],!0,o)),n?("content"===i&&(r-=ot.css(t,"padding"+Dt[s],!0,o)),"margin"!==i&&(r-=ot.css(t,"border"+Dt[s]+"Width",!0,o))):(r+=ot.css(t,"padding"+Dt[s],!0,o),"padding"!==i&&(r+=ot.css(t,"border"+Dt[s]+"Width",!0,o)));return r}
40function P(t,e,i){var n=!0,o="width"===e?t.offsetWidth:t.offsetHeight,s=te(t),r=it.boxSizing&&"border-box"===ot.css(t,"boxSizing",!1,s);if(0>=o||null==o){if(o=ee(t,e,s),(0>o||null==o)&&(o=t.style[e]),ne.test(o))return o;n=r&&(it.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}
41return o+M(t,e,i||(r?"border":"content"),n,s)+"px"}
42function O(t,e,i,n,o){return new O.prototype.init(t,e,i,n,o)}
43function I(){return setTimeout(function(){pe=void 0}),pe=ot.now()}
44function L(t,e){var i,n={height:t},o=0;for(e=e?1:0;4>o;o+=2-e)i=Dt[o],n["margin"+i]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}
45function A(t,e,i){for(var n,o=(_e[e]||[]).concat(_e["*"]),s=0,r=o.length;r>s;s++)
46if(n=o[s].call(i,e,t))return n}
47function N(t,e,i){var n,o,s,r,a,l,c,d,u=this,h={},p=t.style,f=t.nodeType&&$t(t),m=ot._data(t,"fxshow");i.queue||(a=ot._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,ot.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height" in e||"width" in e)&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],c=ot.css(t,"display"),d="none"===c?ot._data(t,"olddisplay")||S(t.nodeName):c,"inline"===d&&"none"===ot.css(t,"float")&&(it.inlineBlockNeedsLayout&&"inline"!==S(t.nodeName)?p.zoom=1:p.display="inline-block")),i.overflow&&(p.overflow="hidden",it.shrinkWrapBlocks()||u.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]}));for(n in e)
48if(o=e[n],me.exec(o)){if(delete e[n],s=s||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!m||void 0===m[n])continue;f=!0}
49h[n]=m&&m[n]||ot.style(t,n)}else c=void 0;if(ot.isEmptyObject(h))"inline"===("none"===c?S(t.nodeName):c)&&(p.display=c);else{m?"hidden" in m&&(f=m.hidden):m=ot._data(t,"fxshow",{}),s&&(m.hidden=!f),f?ot(t).show():u.done(function(){ot(t).hide()}),u.done(function(){var e;ot._removeData(t,"fxshow");for(e in h)ot.style(t,e,h[e])});for(n in h)r=A(f?m[n]:0,n,u),n in m||(m[n]=r.start,f&&(r.end=r.start,r.start="width"===n||"height"===n?1:0))}}
50function H(t,e){var i,n,o,s,r;for(i in t)
51if(n=ot.camelCase(i),o=e[n],s=t[i],ot.isArray(s)&&(o=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),r=ot.cssHooks[n],r&&"expand" in r){s=r.expand(s),delete t[n];for(i in s)i in t||(t[i]=s[i],e[i]=o)}else e[n]=o}
52function z(t,e,i){var n,o,s=0,r=ye.length,a=ot.Deferred().always(function(){delete l.elem}),l=function(){if(o)return !1;for(var e=pe||I(),i=Math.max(0,c.startTime+c.duration-e),n=i/c.duration||0,s=1-n,r=0,l=c.tweens.length;l>r;r++)c.tweens[r].run(s);return a.notifyWith(t,[c,s,i]),1>s&&l?i:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:ot.extend({},e),opts:ot.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:pe||I(),duration:i.duration,tweens:[],createTween:function(e,i){var n=ot.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(o)return this;for(o=!0;n>i;i++)c.tweens[i].run(1);return e?a.resolveWith(t,[c,e]):a.rejectWith(t,[c,e]),this}}),d=c.props;for(H(d,c.opts.specialEasing);r>s;s++)
53if(n=ye[s].call(c,t,d,c.opts))return n;return ot.map(d,A,c),ot.isFunction(c.opts.start)&&c.opts.start.call(t,c),ot.fx.timer(ot.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}
54function j(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,o=0,s=e.toLowerCase().match(_t)||[];if(ot.isFunction(i))
55for(;n=s[o++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}
56function Y(t,e,i,n){function o(a){var l;return s[a]=!0,ot.each(t[a]||[],function(t,a){var c=a(e,i,n);return "string"!=typeof c||r||s[c]?r?!(l=c):void 0:(e.dataTypes.unshift(c),o(c),!1)}),l}
57var s={},r=t===Fe;return o(e.dataTypes[0])||!s["*"]&&o("*")}
58function W(t,e){var i,n,o=ot.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&ot.extend(!0,t,i),t}
59function B(t,e,i){for(var n,o,s,r,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=t.mimeType||e.getResponseHeader("Content-Type"));if(o)
60for(r in a)
61if(a[r]&&a[r].test(o)){l.unshift(r);break}
62if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||t.converters[r+" "+l[0]]){s=r;break}
63n||(n=r)}
64s=s||n}
65return s?(s!==l[0]&&l.unshift(s),i[s]):void 0}
66function F(t,e,i,n){var o,s,r,a,l,c={},d=t.dataTypes.slice();if(d[1])
67for(r in t.converters)c[r.toLowerCase()]=t.converters[r];for(s=d.shift();s;)
68if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=d.shift())
69if("*"===s)s=l;else if("*"!==l&&l!==s){if(r=c[l+" "+s]||c["* "+s],!r)
70for(o in c)
71if(a=o.split(" "),a[1]===s&&(r=c[l+" "+a[0]]||c["* "+a[0]])){r===!0?r=c[o]:c[o]!==!0&&(s=a[0],d.unshift(a[1]));break}
72if(r!==!0)
73if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+l+" to "+s}}}
74return{state:"success",data:e}}
75function q(t,e,i,n){var o;if(ot.isArray(e))ot.each(e,function(e,o){i||Ue.test(t)?n(t,o):q(t+"["+("object"==typeof o?e:"")+"]",o,i,n)});else if(i||"object"!==ot.type(e))n(t,e);else for(o in e)q(t+"["+o+"]",e[o],i,n)}
76function R(){try{return new t.XMLHttpRequest}catch(t){}}
77function U(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}
78function V(t){return ot.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}
79var G=[],X=G.slice,Z=G.concat,Q=G.push,K=G.indexOf,J={},tt=J.toString,et=J.hasOwnProperty,it={},nt="1.11.3",ot=function(t,e){return new ot.fn.init(t,e)},st=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,rt=/^-ms-/,at=/-([\da-z])/gi,lt=function(t,e){return e.toUpperCase()};ot.fn=ot.prototype={jquery:nt,constructor:ot,selector:"",length:0,toArray:function(){return X.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:X.call(this)},pushStack:function(t){var e=ot.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return ot.each(this,t,e)},map:function(t){return this.pushStack(ot.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(X.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(0>t?e:0);return this.pushStack(i>=0&&e>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Q,sort:G.sort,splice:G.splice},ot.extend=ot.fn.extend=function(){var t,e,i,n,o,s,r=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[a]||{},a++),"object"==typeof r||ot.isFunction(r)||(r={}),a===l&&(r=this,a--);l>a;a++)
80if(null!=(o=arguments[a]))
81for(n in o)t=r[n],i=o[n],r!==i&&(c&&i&&(ot.isPlainObject(i)||(e=ot.isArray(i)))?(e?(e=!1,s=t&&ot.isArray(t)?t:[]):s=t&&ot.isPlainObject(t)?t:{},r[n]=ot.extend(c,s,i)):void 0!==i&&(r[n]=i));return r},ot.extend({expando:"jQuery"+(nt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return "function"===ot.type(t)},isArray:Array.isArray||function(t){return "array"===ot.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return !ot.isArray(t)&&t-parseFloat(t)+1>=0},isEmptyObject:function(t){var e;for(e in t)return !1;return !0},isPlainObject:function(t){var e;if(!t||"object"!==ot.type(t)||t.nodeType||ot.isWindow(t))return !1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return !1}catch(t){return !1}
82if(it.ownLast)
83for(e in t)return et.call(t,e);for(e in t);return void 0===e||et.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?J[tt.call(t)]||"object":typeof t},globalEval:function(e){e&&ot.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(rt,"ms-").replace(at,lt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var o,s=0,r=t.length,a=i(t);if(n){if(a)
84for(;r>s&&(o=e.apply(t[s],n),o!==!1);s++);else for(s in t)
85if(o=e.apply(t[s],n),o===!1)break}else if(a)
86for(;r>s&&(o=e.call(t[s],s,t[s]),o!==!1);s++);else for(s in t)
87if(o=e.call(t[s],s,t[s]),o===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(st,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?ot.merge(n,"string"==typeof t?[t]:t):Q.call(n,t)),n},inArray:function(t,e,i){var n;if(e){if(K)return K.call(e,t,i);for(n=e.length,i=i?0>i?Math.max(0,n+i):i:0;n>i;i++)
88if(i in e&&e[i]===t)return i}
89return-1},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;i>n;)t[o++]=e[n++];if(i!==i)
90for(;void 0!==e[n];)t[o++]=e[n++];return t.length=o,t},grep:function(t,e,i){for(var n,o=[],s=0,r=t.length,a=!i;r>s;s++)n=!e(t[s],s),n!==a&&o.push(t[s]);return o},map:function(t,e,n){var o,s=0,r=t.length,a=i(t),l=[];if(a)
91for(;r>s;s++)o=e(t[s],s,n),null!=o&&l.push(o);else for(s in t)o=e(t[s],s,n),null!=o&&l.push(o);return Z.apply([],l)},guid:1,proxy:function(t,e){var i,n,o;return "string"==typeof e&&(o=t[e],e=t,t=o),ot.isFunction(t)?(i=X.call(arguments,2),n=function(){return t.apply(e||this,i.concat(X.call(arguments)))},n.guid=t.guid=t.guid||ot.guid++,n):void 0},now:function(){return+new Date},support:it}),ot.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){J["[object "+e+"]"]=e.toLowerCase()});var ct=function(t){function e(t,e,i,n){var o,s,r,a,l,c,u,p,f,m;if((e?e.ownerDocument||e:Y)!==O&&P(e),e=e||O,i=i||[],a=e.nodeType,"string"!=typeof t||!t||1!==a&&9!==a&&11!==a)return i;if(!n&&L){if(11!==a&&(o=yt.exec(t)))
92if(r=o[1]){if(9===a){if(s=e.getElementById(r),!s||!s.parentNode)return i;if(s.id===r)return i.push(s),i}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(r))&&z(e,s)&&s.id===r)return i.push(s),i}else{if(o[2])return K.apply(i,e.getElementsByTagName(t)),i;if((r=o[3])&&w.getElementsByClassName)return K.apply(i,e.getElementsByClassName(r)),i}
93if(w.qsa&&(!A||!A.test(t))){if(p=u=j,f=e,m=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(c=S(t),(u=e.getAttribute("id"))?p=u.replace(bt,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",l=c.length;l--;)c[l]=p+h(c[l]);f=_t.test(t)&&d(e.parentNode)||e,m=c.join(",")}
94if(m)try{return K.apply(i,f.querySelectorAll(m)),i}catch(t){}finally{u||e.removeAttribute("id")}}}
95return D(t.replace(lt,"$1"),e,i,n)}
96function i(){function t(i,n){return e.push(i+" ")>k.cacheLength&&delete t[e.shift()],t[i+" "]=n}
97var e=[];return t}
98function n(t){return t[j]=!0,t}
99function o(t){var e=O.createElement("div");try{return !!t(e)}catch(t){return !1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}
100function s(t,e){for(var i=t.split("|"),n=t.length;n--;)k.attrHandle[i[n]]=e}
101function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||V)-(~t.sourceIndex||V);if(n)return n;if(i)
102for(;i=i.nextSibling;)
103if(i===e)return-1;return t?1:-1}
104function a(t){return function(e){var i=e.nodeName.toLowerCase();
104return "input"===i&&e.type===t}}
105function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}
106function c(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}
107function d(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}
108function u(){}
109function h(t){for(var e=0,i=t.length,n="";i>e;e++)n+=t[e].value;return n}
110function p(t,e,i){var n=e.dir,o=i&&"parentNode"===n,s=B++;return e.first?function(e,i,s){for(;e=e[n];)
111if(1===e.nodeType||o)return t(e,i,s)}:function(e,i,r){var a,l,c=[W,s];if(r){for(;e=e[n];)
112if((1===e.nodeType||o)&&t(e,i,r))return !0}else for(;e=e[n];)
113if(1===e.nodeType||o){if(l=e[j]||(e[j]={}),(a=l[n])&&a[0]===W&&a[1]===s)return c[2]=a[2];if(l[n]=c,c[2]=t(e,i,r))return !0}}}
114function f(t){return t.length>1?function(e,i,n){for(var o=t.length;o--;)
115if(!t[o](e,i,n))return !1;return !0}:t[0]}
116function m(t,i,n){for(var o=0,s=i.length;s>o;o++)e(t,i[o],n);return n}
117function g(t,e,i,n,o){for(var s,r=[],a=0,l=t.length,c=null!=e;l>a;a++)(s=t[a])&&(!i||i(s,n,o))&&(r.push(s),c&&e.push(a));return r}
118function v(t,e,i,o,s,r){return o&&!o[j]&&(o=v(o)),s&&!s[j]&&(s=v(s,r)),n(function(n,r,a,l){var c,d,u,h=[],p=[],f=r.length,v=n||m(e||"*",a.nodeType?[a]:a,[]),y=!t||!n&&e?v:g(v,h,t,a,l),_=i?s||(n?t:f||o)?[]:r:y;if(i&&i(y,_,a,l),o)
119for(c=g(_,p),o(c,[],a,l),d=c.length;d--;)(u=c[d])&&(_[p[d]]=!(y[p[d]]=u));if(n){if(s||t){if(s){for(c=[],d=_.length;d--;)(u=_[d])&&c.push(y[d]=u);s(null,_=[],c,l)}
120for(d=_.length;d--;)(u=_[d])&&(c=s?tt(n,u):h[d])>-1&&(n[c]=!(r[c]=u))}}else _=g(_===r?_.splice(f,_.length):_),s?s(null,r,_,l):K.apply(r,_)})}
121function y(t){for(var e,i,n,o=t.length,s=k.relative[t[0].type],r=s||k.relative[" "],a=s?1:0,l=p(function(t){return t===e},r,!0),c=p(function(t){return tt(e,t)>-1},r,!0),d=[function(t,i,n){var o=!s&&(n||i!==$)||((e=i).nodeType?l(t,i,n):c(t,i,n));return e=null,o}];o>a;a++)
122if(i=k.relative[t[a].type])d=[p(f(d),i)];else{if(i=k.filter[t[a].type].apply(null,t[a].matches),i[j]){for(n=++a;o>n&&!k.relative[t[n].type];n++);return v(a>1&&f(d),a>1&&h(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(lt,"$1"),i,n>a&&y(t.slice(a,n)),o>n&&y(t=t.slice(n)),o>n&&h(t))}
123d.push(i)}
124return f(d)}
125function _(t,i){var o=i.length>0,s=t.length>0,r=function(n,r,a,l,c){var d,u,h,p=0,f="0",m=n&&[],v=[],y=$,_=n||s&&k.find.TAG("*",c),b=W+=null==y?1:Math.random()||.1,w=_.length;for(c&&($=r!==O&&r);f!==w&&null!=(d=_[f]);f++){if(s&&d){for(u=0;h=t[u++];)
126if(h(d,r,a)){l.push(d);break}
127c&&(W=b)}
128o&&((d=!h&&d)&&p--,n&&m.push(d))}
129if(p+=f,o&&f!==p){for(u=0;h=i[u++];)h(m,v,r,a);if(n){if(p>0)
130for(;f--;)m[f]||v[f]||(v[f]=Z.call(l));v=g(v)}
131K.apply(l,v),c&&!n&&v.length>0&&p+i.length>1&&e.uniqueSort(l)}
132return c&&(W=b,$=y),m};return o?n(r):r}
133var b,w,k,C,x,S,T,D,$,E,M,P,O,I,L,A,N,H,z,j="sizzle"+1*new Date,Y=t.document,W=0,B=0,F=i(),q=i(),R=i(),U=function(t,e){return t===e&&(M=!0),0},V=1<<31,G={}.hasOwnProperty,X=[],Z=X.pop,Q=X.push,K=X.push,J=X.slice,tt=function(t,e){for(var i=0,n=t.length;n>i;i++)
134if(t[i]===e)return i;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",nt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=nt.replace("w","w#"),st="\\["+it+"*("+nt+")(?:"+it+"*([*^$|!~]?=)"+it+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ot+"))|)"+it+"*\\]",rt=":("+nt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+st+")*)|.*)\\)|)",at=new RegExp(it+"+","g"),lt=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),ct=new RegExp("^"+it+"*,"+it+"*"),dt=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),ut=new RegExp("="+it+"*([^\\]'\"]*?)"+it+"*\\]","g"),ht=new RegExp(rt),pt=new RegExp("^"+ot+"$"),ft={ID:new RegExp("^#("+nt+")"),CLASS:new RegExp("^\\.("+nt+")"),TAG:new RegExp("^("+nt.replace("w","w*")+")"),ATTR:new RegExp("^"+st),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+it
vendor: 7,051 bytes, lines 134-140
134+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_t=/[+~]/,bt=/'|\\/g,wt=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),kt=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},Ct=function(){P()};try{K.apply(X=J.call(Y.childNodes),Y.childNodes),X[Y.childNodes.length].nodeType}catch(t){K={apply:X.length?function(t,e){Q.apply(t,J.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}
135w=e.support={},x=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return !!e&&"HTML"!==e.nodeName},P=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:Y;return n!==O&&9===n.nodeType&&n.documentElement?(O=n,I=n.documentElement,i=n.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",Ct,!1):i.attachEvent&&i.attachEvent("onunload",Ct)),L=!x(n),w.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=o(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=vt.test(n.getElementsByClassName),w.getById=o(function(t){return I.appendChild(t).id=j,!n.getElementsByName||!n.getElementsByName(j).length}),w.getById?(k.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&L){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},k.filter.ID=function(t){var e=t.replace(wt,kt);return function(t){return t.getAttribute("id")===e}}):(delete k.find.ID,k.filter.ID=function(t){var e=t.replace(wt,kt);return function(t){var i="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),k.find.TAG=w.getElementsByTagName?function(t,e){return "undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):w.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}
136return s},k.find.CLASS=w.getElementsByClassName&&function(t,e){return L?e.getElementsByClassName(t):void 0},N=[],A=[],(w.qsa=vt.test(n.querySelectorAll))&&(o(function(t){I.appendChild(t).innerHTML="<a id='"+j+"'></a><select id='"+j+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&A.push("[*^$]="+it+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||A.push("\\["+it+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+j+"-]").length||A.push("~="),t.querySelectorAll(":checked").length||A.push(":checked"),t.querySelectorAll("a#"+j+"+*").length||A.push(".#.+[+~]")}),o(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&A.push("name"+it+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||A.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),A.push(",.*:")})),(w.matchesSelector=vt.test(H=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&o(function(t){w.disconnectedMatch=H.call(t,"div"),H.call(t,"[s!='']:x"),N.push("!=",rt)}),A=A.length&&new RegExp(A.join("|")),N=N.length&&new RegExp(N.join("|")),e=vt.test(I.compareDocumentPosition),z=e||vt.test(I.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)
137for(;e=e.parentNode;)
138if(e===t)return !0;return !1},U=e?function(t,e){if(t===e)return M=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!w.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===Y&&z(Y,t)?-1:e===n||e.ownerDocument===Y&&z(Y,e)?1:E?tt(E,t)-tt(E,e):0:4&i?-1:1)}:function(t,e){if(t===e)return M=!0,0;var i,o=0,s=t.parentNode,a=e.parentNode,l=[t],c=[e];if(!s||!a)return t===n?-1:e===n?1:s?-1:a?1:E?tt(E,t)-tt(E,e):0;if(s===a)return r(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)c.unshift(i);for(;l[o]===c[o];)o++;return o?r(l[o],c[o]):l[o]===Y?-1:c[o]===Y?1:0},n):O},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==O&&P(t),i=i.replace(ut,"='$1']"),!(!w.matchesSelector||!L||N&&N.test(i)||A&&A.test(i)))try{var n=H.call(t,i);if(n||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}
139return e(i,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&P(t),z(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&P(t);var i=k.attrHandle[e.toLowerCase()],n=i&&G.call(k.attrHandle,e.toLowerCase())?i(t,e,!L):void 0;return void 0!==n?n:w.attributes||!L?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,o=0;if(M=!w.detectDuplicates,E=!w.sortStable&&t.slice(0),t.sort(U),M){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}
140return E=null,t},C=e.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=C(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=C(e);return i},k=e.selectors={cacheLength:50,createPseudo:n,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(wt,kt),t[3]=(t[3]||t[4]||t[5]||"").replace(wt,kt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ht.test(i)&&(e=S(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(wt,kt).toLowerCase();return "*"===t?function(){return !0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=F[t+" "];return e||(e=new RegExp("(^|"+it+")"+t+"("+it+"|$)"))&&F(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&s.indexOf(n)>-1:"$="===i?n&&s.slice(-n.length)===n:"~="===i?(" "+s.replace(at," ")+" ").indexOf(n)>-1:"|="===i&&(s===n||s.slice(0,n.length+1)===n+"-"))}}
vendor: 1,574 bytes, lines 140-144
140,CHILD:function(t,e,i,n,o){var s="nth"!==t.slice(0,3),r="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===o?function(t){return !!t.parentNode}:function(e,i,l){var c,d,u,h,p,f,m=s!==r?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(g){if(s){for(;m;){for(u=e;u=u[m];)
141if(a?u.nodeName.toLowerCase()===v:1===u.nodeType)return !1;f=m="only"===t&&!f&&"nextSibling"}
142return !0}
143if(f=[r?g.firstChild:g.lastChild],r&&y){for(d=g[j]||(g[j]={}),c=d[t]||[],p=c[0]===W&&c[1],h=c[0]===W&&c[2],u=p&&g.childNodes[p];u=++p&&u&&u[m]||(h=p=0)||f.pop();)
144if(1===u.nodeType&&++h&&u===e){d[t]=[W,p,h];break}}else if(y&&(c=(e[j]||(e[j]={}))[t])&&c[0]===W)h=c[1];else for(;(u=++p&&u&&u[m]||(h=p=0)||f.pop())&&((a?u.nodeName.toLowerCase()!==v:1!==u.nodeType)||!++h||(y&&((u[j]||(u[j]={}))[t]=[W,h]),u!==e)););return h-=o,h===n||h%n===0&&h/n>=0}}},PSEUDO:function(t,i){var o,s=k.pseudos[t]||k.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[j]?s(i):s.length>1?(o=[t,t,"",i],k.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,o=s(t,i),r=o.length;r--;)n=tt(t,o[r]),t[n]=!(e[n]=o[r])}):function(t){return s(t,0,o)}):s}},pseudos:{not:n(function(t){var e=[],i=[],o=T(t.replace(lt,"$1"));return o[j]?n(function(t,e,i,n){for(var s,r=o(t,null,n,[]),a=t.length;a--;)(s=r[a])&&(t[a]=!(e[a]=s))}):function(t,n,s){return e[0]=t,o(e,null,s,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(wt,kt),function(e){return(e.textContent||e.innerText||
vendor: 14,683 bytes, lines 144-170
144C(e)).indexOf(t)>-1}}),lang:n(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(wt,kt).toLowerCase(),function(e){var i;do if(i=L?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return !1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===I},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return "input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)
145if(t.nodeType<6)return !1;return !0},parent:function(t){return !k.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return mt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return "input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return "input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,i){return[0>i?i+e:i]}),even:c(function(t,e){for(var i=0;e>i;i+=2)t.push(i);return t}),odd:c(function(t,e){for(var i=1;e>i;i+=2)t.push(i);return t}),lt:c(function(t,e,i){for(var n=0>i?i+e:i;--n>=0;)t.push(n);return t}),gt:c(function(t,e,i){for(var n=0>i?i+e:i;++n<e;)t.push(n);return t})}},k.pseudos.nth=k.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[b]=a(b);for(b in{submit:!0,reset:!0})k.pseudos[b]=l(b);return u.prototype=k.filters=k.pseudos,k.setFilters=new u,S=e.tokenize=function(t,i){var n,o,s,r,a,l,c,d=q[t+" "];if(d)return i?0:d.slice(0);for(a=t,l=[],c=k.preFilter;a;){(!n||(o=ct.exec(a)))&&(o&&(a=a.slice(o[0].length)||a),l.push(s=[])),n=!1,(o=dt.exec(a))&&(n=o.shift(),s.push({value:n,type:o[0].replace(lt," ")}),a=a.slice(n.length));for(r in k.filter) !(o=ft[r].exec(a))||c[r]&&!(o=c[r](o))||(n=o.shift(),s.push({value:n,type:r,matches:o}),a=a.slice(n.length));if(!n)break}
146return i?a.length:a?e.error(t):q(t,l).slice(0)},T=e.compile=function(t,e){var i,n=[],o=[],s=R[t+" "];if(!s){for(e||(e=S(t)),i=e.length;i--;)s=y(e[i]),s[j]?n.push(s):o.push(s);s=R(t,_(o,n)),s.selector=t}
147return s},D=e.select=function(t,e,i,n){var o,s,r,a,l,c="function"==typeof t&&t,u=!n&&S(t=c.selector||t);if(i=i||[],1===u.length){if(s=u[0]=u[0].slice(0),s.length>2&&"ID"===(r=s[0]).type&&w.getById&&9===e.nodeType&&L&&k.relative[s[1].type]){if(e=(k.find.ID(r.matches[0].replace(wt,kt),e)||[])[0],!e)return i;c&&(e=e.parentNode),t=t.slice(s.shift().value.length)}
148for(o=ft.needsContext.test(t)?0:s.length;o--&&(r=s[o],!k.relative[a=r.type]);)
149if((l=k.find[a])&&(n=l(r.matches[0].replace(wt,kt),_t.test(s[0].type)&&d(e.parentNode)||e))){if(s.splice(o,1),t=n.length&&h(s),!t)return K.apply(i,n),i;break}}
150return(c||T(t,u))(n,e,!L,i,_t.test(t)&&d(e.parentNode)||e),i},w.sortStable=j.split("").sort(U).join("")===j,w.detectDuplicates=!!M,P(),w.sortDetached=o(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||s("type|href|height|width",function(t,e,i){return i?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||s("value",function(t,e,i){return i||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||s(et,function(t,e,i){var n;return i?void 0:t[e]===!0?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);ot.find=ct,ot.expr=ct.selectors,ot.expr[":"]=ot.expr.pseudos,ot.unique=ct.uniqueSort,ot.text=ct.getText,ot.isXMLDoc=ct.isXML,ot.contains=ct.contains;var dt=ot.expr.match.needsContext,ut=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ht=/^.[^:#\[\.,]*$/;ot.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?ot.find.matchesSelector(n,t)?[n]:[]:ot.find.matches(t,ot.grep(e,function(t){return 1===t.nodeType}))},ot.fn.extend({find:function(t){var e,i=[],n=this,o=n.length;if("string"!=typeof t)return this.pushStack(ot(t).filter(function(){for(e=0;o>e;e++)
151if(ot.contains(n[e],this))return !0}));for(e=0;o>e;e++)ot.find(t,n[e],i);return i=this.pushStack(o>1?ot.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return !!n(this,"string"==typeof t&&dt.test(t)?ot(t):t||[],!1).length}});var pt,ft=t.document,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=ot.fn.init=function(t,e){var i,n;if(!t)return this;if("string"==typeof t){if(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:mt.exec(t),!i||!i[1]&&e)return !e||e.jquery?(e||pt).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof ot?e[0]:e,ot.merge(this,ot.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:ft,!0)),ut.test(i[1])&&ot.isPlainObject(e))
152for(i in e)ot.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}
153if(n=ft.getElementById(i[2]),n&&n.parentNode){if(n.id!==i[2])return pt.find(t);this.length=1,this[0]=n}
154return this.context=ft,this.selector=t,this}
155return t.nodeType?(this.context=this[0]=t,this.length=1,this):ot.isFunction(t)?"undefined"!=typeof pt.ready?pt.ready(t):t(ot):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),ot.makeArray(t,this))};gt.prototype=ot.fn,pt=ot(ft);var vt=/^(?:parents|prev(?:Until|All))/,yt={children:!0,contents:!0,next:!0,prev:!0};ot.extend({dir:function(t,e,i){for(var n=[],o=t[e];o&&9!==o.nodeType&&(void 0===i||1!==o.nodeType||!ot(o).is(i));)1===o.nodeType&&n.push(o),o=o[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}}),ot.fn.extend({has:function(t){var e,i=ot(t,this),n=i.length;return this.filter(function(){for(e=0;n>e;e++)
156if(ot.contains(this,i[e]))return !0})},closest:function(t,e){for(var i,n=0,o=this.length,s=[],r=dt.test(t)||"string"!=typeof t?ot(t,e||this.context):0;o>n;n++)
157for(i=this[n];i&&i!==e;i=i.parentNode)
158if(i.nodeType<11&&(r?r.index(i)>-1:1===i.nodeType&&ot.find.matchesSelector(i,t))){s.push(i);break}
159return this.pushStack(s.length>1?ot.unique(s):s)},index:function(t){return t?"string"==typeof t?ot.inArray(this[0],ot(t)):ot.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ot.unique(ot.merge(this.get(),ot(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ot.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ot.dir(t,"parentNode")},parentsUntil:function(t,e,i){return ot.dir(t,"parentNode",i)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return ot.dir(t,"nextSibling")},prevAll:function(t){return ot.dir(t,"previousSibling")},nextUntil:function(t,e,i){return ot.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return ot.dir(t,"previousSibling",i)},siblings:function(t){return ot.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return ot.sibling(t.firstChild)},contents:function(t){return ot.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:ot.merge([],t.childNodes)}},function(t,e){ot.fn[t]=function(i,n){var o=ot.map(this,e,i);return "Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=ot.filter(n,o)),this.length>1&&(yt[t]||(o=ot.unique(o)),vt.test(t)&&(o=o.reverse())),this.pushStack(o)}});var _t=/\S+/g,bt={};ot.Callbacks=function(t){t="string"==typeof t?bt[t]||s(t):ot.extend({},t);var e,i,n,o,r,a,l=[],c=!t.once&&[],d=function(s){for(i=t.memory&&s,n=!0,r=a||0,a=0,o=l.length,e=!0;l&&o>r;r++)
160if(l[r].apply(s[0],s[1])===!1&&t.stopOnFalse){i=!1;break}
161e=!1,l&&(c?c.length&&d(c.shift()):i?l=[]:u.disable())},u={add:function(){if(l){var n=l.length;!function e(i){ot.each(i,function(i,n){var o=ot.type(n);"function"===o?t.unique&&u.has(n)||l.push(n):n&&n.length&&"string"!==o&&e(n)})}(arguments),e?o=l.length:i&&(a=n,d(i))}
162return this},remove:function(){return l&&ot.each(arguments,function(t,i){for(var n;(n=ot.inArray(i,l,n))>-1;)l.splice(n,1),e&&(o>=n&&o--,r>=n&&r--)}),this},has:function(t){return t?ot.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=c=i=void 0,this},disabled:function(){return !l},lock:function(){return c=void 0,i||u.disable(),this},locked:function(){return !c},fireWith:function(t,i){return !l||n&&!c||(i=i||[],i=[t,i.slice?i.slice():i],e?c.push(i):d(i)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return !!n}};return u},ot.extend({Deferred:function(t){var e=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ot.Deferred(function(i){ot.each(e,function(e,s){var r=ot.isFunction(t[e])&&t[e];o[s[1]](function(){var t=r&&r.apply(this,arguments);t&&ot.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[s[0]+"With"](this===n?i.promise():this,r?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?ot.extend(t,n):n}},o={};return n.pipe=n.then,ot.each(e,function(t,s){var r=s[2],a=s[3];n[s[1]]=r.add,a&&r.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),o[s[0]]=function(){return o[s[0]+"With"](this===o?n:this,arguments),this},o[s[0]+"With"]=r.fireWith}),n.promise(o),t&&t.call(o,o),o},when:function(t){var e,i,n,o=0,s=X.call(arguments),r=s.length,a=1!==r||t&&ot.isFunction(t.promise)?r:0,l=1===a?t:ot.Deferred(),c=function(t,i,n){return function(o){i[t]=this,n[t]=arguments.length>1?X.call(arguments):o,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(r>1)
163for(e=new Array(r),i=new Array(r),n=new Array(r);r>o;o++)s[o]&&ot.isFunction(s[o].promise)?s[o].promise().done(c(o,n,s)).fail(l.reject).progress(c(o,i,e)):--a;return a||l.resolveWith(n,s),l.promise()}});var wt;ot.fn.ready=function(t){return ot.ready.promise().done(t),this},ot.extend({isReady:!1,readyWait:1,holdReady:function(t){t?ot.readyWait++:ot.ready(!0)},ready:function(t){if(t===!0?!--ot.readyWait:!ot.isReady){if(!ft.body)return setTimeout(ot.ready);ot.isReady=!0,t!==!0&&--ot.readyWait>0||(wt.resolveWith(ft,[ot]),ot.fn.triggerHandler&&(ot(ft).triggerHandler("ready"),ot(ft).off("ready")))}}}),ot.ready.promise=function(e){if(!wt)
164if(wt=ot.Deferred(),"complete"===ft.readyState)setTimeout(ot.ready);else if(ft.addEventListener)ft.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1);else{ft.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var i=!1;try{i=null==t.frameElement&&ft.documentElement}catch(t){}
165i&&i.doScroll&&!function t(){if(!ot.isReady){try{i.doScroll("left")}catch(e){return setTimeout(t,50)}
166r(),ot.ready()}}()}
167return wt.promise(e)};var kt,Ct="undefined";for(kt in ot(it))break;it.ownLast="0"!==kt,it.inlineBlockNeedsLayout=!1,ot(function(){var t,e,i,n;i=ft.getElementsByTagName("body")[0],i&&i.style&&(e=ft.createElement("div"),n=ft.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),typeof e.style.zoom!==Ct&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",it.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(i.style.zoom=1)),i.removeChild(n))}),function(){var t=ft.createElement("div");if(null==it.deleteExpando){it.deleteExpando=!0;try{delete t.test}catch(t){it.deleteExpando=!1}}
168t=null}(),ot.acceptData=function(t){var e=ot.noData[(t.nodeName+" ").toLowerCase()],i=+t.nodeType||1;return(1===i||9===i)&&(!e||e!==!0&&t.getAttribute("classid")===e)};var xt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,St=/([A-Z])/g;ot.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?ot.cache[t[ot.expando]]:t[ot.expando],!!t&&!c(t)},data:function(t,e,i){return d(t,e,i)},removeData:function(t,e){return u(t,e)},_data:function(t,e,i){return d(t,e,i,!0)},_removeData:function(t,e){return u(t,e,!0)}}),ot.fn.extend({data:function(t,e){var i,n,o,s=this[0],r=s&&s.attributes;if(void 0===t){if(this.length&&(o=ot.data(s),1===s.nodeType&&!ot._data(s,"parsedAttrs"))){for(i=r.length;i--;)r[i]&&(n=r[i].name,0===n.indexOf("data-")&&(n=ot.camelCase(n.slice(5)),l(s,n,o[n])));ot._data(s,"parsedAttrs",!0)}
169return o}
170return "object"==typeof t?this.each(function(){ot.data(this,t)}):arguments.length>1?this.each(function(){ot.data(this,t,e)}):s?l(s,t,ot.data(s,t)):void 0},removeData:function(t){return this.each(function(){ot.removeData(this,t)})}}),ot.extend({queue:function(t,e,i){var n;return t?(e=(e||"fx")+"queue",n=ot._data(t,e),i&&(!n||ot.isArray(i)?n=ot._data(t,e,ot.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(t,e){e=e||"fx";var i=ot.queue(t,e),n=i.length,o=i.shift(),s=ot._queueHooks(t,e),r=function(){ot.dequeue(t,e)};"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete s.stop,o.call(t,r,s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return ot._data(t,i)||ot._data(t,i,{empty:ot.Callbacks("once memory").add(function(){ot._removeData(t,e+"queue"),ot._removeData(t,i)})})}}),ot.fn.extend({queue:function(t,e){var i=2;return "string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?ot.queue(this[0],t):void 0===e?this:this.each(function(){var i=ot.queue(this,t,e);ot._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&ot.dequeue(this,t)})},dequeue:function(t){return this.each(function(){ot.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,o=ot.Deferred(),s=this,r=this.length,a=function(){--n||o.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";r--;)i=ot._data(s[r],t+"queueHooks"),i&&i.empty&&(n++,i.empty.add(a));return a(),o.promise(e)}});var Tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Dt=["Top","Right","Bottom","Left"],$t=function(t,e){return t=e||t,"none"===ot.css(t,"display")||!ot.contains(t.ownerDocument,t)}
vendor: 6,102 bytes, lines 170-179
170,Et=ot.access=function(t,e,i,n,o,s,r){var a=0,l=t.length,c=null==i;if("object"===ot.type(i)){o=!0;for(a in i)ot.access(t,e,a,i[a],!0,s,r)}else if(void 0!==n&&(o=!0,ot.isFunction(n)||(r=!0),c&&(r?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(ot(t),i)})),e))
171for(;l>a;a++)e(t[a],i,r?n:n.call(t[a],a,e(t[a],i)));return o?t:c?e.call(t):l?e(t[0],i):s},Mt=/^(?:checkbox|radio)$/i;!function(){var t=ft.createElement("input"),e=ft.createElement("div"),i=ft.createDocumentFragment();if(e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",it.leadingWhitespace=3===e.firstChild.nodeType,it.tbody=!e.getElementsByTagName("tbody").length,it.htmlSerialize=!!e.getElementsByTagName("link").length,it.html5Clone="<:nav></:nav>"!==ft.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,i.appendChild(t),it.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",it.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,i.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",it.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,it.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){it.noCloneEvent=!1}),e.cloneNode(!0).click()),null==it.deleteExpando){it.deleteExpando=!0;try{delete e.test}catch(t){it.deleteExpando=!1}}}(),function(){var e,i,n=ft.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})i="on"+e,(it[e+"Bubbles"]=i in t)||(n.setAttribute(i,"t"),it[e+"Bubbles"]=n.attributes[i].expando===!1);n=null}();var Pt=/^(?:input|select|textarea)$/i,Ot=/^key/,It=/^(?:mouse|pointer|contextmenu)|click/,Lt=/^(?:focusinfocus|focusoutblur)$/,At=/^([^.]*)(?:\.(.+)|)$/;ot.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,d,u,h,p,f,m,g=ot._data(t);if(g){for(i.handler&&(l=i,i=l.handler,o=l.selector),i.guid||(i.guid=ot.guid++),(r=g.events)||(r=g.events={}),(d=g.handle)||(d=g.handle=function(t){return typeof ot===Ct||t&&ot.event.triggered===t.type?void 0:ot.event.dispatch.apply(d.elem,arguments)},d.elem=t),e=(e||"").match(_t)||[""],a=e.length;a--;)s=At.exec(e[a])||[],p=m=s[1],f=(s[2]||"").split(".").sort(),p&&(c=ot.event.special[p]||{},p=(o?c.delegateType:c.bindType)||p,c=ot.event.special[p]||{},u=ot.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&ot.expr.match.needsContext.test(o),namespace:f.join(".")},l),(h=r[p])||(h=r[p]=[],h.delegateCount=0,c.setup&&c.setup.call(t,n,f,d)!==!1||(t.addEventListener?t.addEventListener(p,d,!1):t.attachEvent&&t.attachEvent("on"+p,d))),c.add&&(c.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?h.splice(h.delegateCount++,0,u):h.push(u),ot.event.global[p]=!0);t=null}},remove:function(t,e,i,n,o){var s,r,a,l,c,d,u,h,p,f,m,g=ot.hasData(t)&&ot._data(t);if(g&&(d=g.events)){for(e=(e||"").match(_t)||[""],c=e.length;c--;)
172if(a=At.exec(e[c])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p){for(u=ot.event.special[p]||{},p=(n?u.delegateType:u.bindType)||p,h=d[p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=s=h.length;s--;)r=h[s],!o&&m!==r.origType||i&&i.guid!==r.guid||a&&!a.test(r.namespace)||n&&n!==r.selector&&("**"!==n||!r.selector)||(h.splice(s,1),r.selector&&h.delegateCount--,u.remove&&u.remove.call(t,r));l&&!h.length&&(u.teardown&&u.teardown.call(t,f,g.handle)!==!1||ot.removeEvent(t,p,g.handle),delete d[p])}else for(p in d)ot.event.remove(t,p+e[c],i,n,!0);ot.isEmptyObject(d)&&(delete g.handle,ot._removeData(t,"events"))}},trigger:function(e,i,n,o){var s,r,a,l,c,d,u,h=[n||ft],p=et.call(e,"type")?e.type:e,f=et.call(e,"namespace")?e.namespace.split("."):[];if(a=d=n=n||ft,3!==n.nodeType&&8!==n.nodeType&&!Lt.test(p+ot.event.triggered)&&(p.indexOf(".")>=0&&(f=p.split("."),p=f.shift(),f.sort()),r=p.indexOf(":")<0&&"on"+p,e=e[ot.expando]?e:new ot.Event(p,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:ot.makeArray(i,[e]),c=ot.event.special[p]||{},o||!c.trigger||c.trigger.apply(n,i)!==!1)){if(!o&&!c.noBubble&&!ot.isWindow(n)){for(l=c.delegateType||p,Lt.test(l+p)||(a=a.parentNode);a;a=a.parentNode)h.push(a),d=a;d===(n.ownerDocument||ft)&&h.push(d.defaultView||d.parentWindow||t)}
173for(u=0;(a=h[u++])&&!e.isPropagationStopped();)e.type=u>1?l:c.bindType||p,s=(ot._data(a,"events")||{})[e.type]&&ot._data(a,"handle"),s&&s.apply(a,i),s=r&&a[r],s&&s.apply&&ot.acceptData(a)&&(e.result=s.apply(a,i),e.result===!1&&e.preventDefault());if(e.type=p,!o&&!e.isDefaultPrevented()&&(!c._default||c._default.apply(h.pop(),i)===!1)&&ot.acceptData(n)&&r&&n[p]&&!ot.isWindow(n)){d=n[r],d&&(n[r]=null),ot.event.triggered=p;try{n[p]()}catch(t){}
174ot.event.triggered=void 0,d&&(n[r]=d)}
175return e.result}},dispatch:function(t){t=ot.event.fix(t);var e,i,n,o,s,r=[],a=X.call(arguments),l=(ot._data(this,"events")||{})[t.type]||[],c=ot.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(r=ot.event.handlers.call(this,t,l),e=0;(o=r[e++])&&!t.isPropagationStopped();)
176for(t.currentTarget=o.elem,s=0;(n=o.handlers[s++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(n.namespace))&&(t.handleObj=n,t.data=n.data,i=((ot.event.special[n.origType]||{}).handle||n.handler).apply(o.elem,a),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,o,s,r=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))
177for(;l!=this;l=l.parentNode||this)
178if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(o=[],s=0;a>s;s++)n=e[s],i=n.selector+" ",void 0===o[i]&&(o[i]=n.needsContext?ot(i,this).index(l)>=0:ot.find(i,this,null,[l]).length),o[i]&&o.push(n);o.length&&r.push({elem:l,handlers:o})}
179return a<e.length&&r.push({elem:this,handlers:e.slice(a)}),r},fix:function(t){if(t[ot.expando])return t;var e,i,n,o=t.type,s=t,r=this.fixHooks[o];for(r||(this.fixHooks[o]=r=It.test(o)?this.mouseHooks:Ot.test(o)?this.keyHooks:{}
vendor: 23,892 bytes, lines 179-198
179),n=r.props?this.props.concat(r.props):this.props,t=new ot.Event(s),e=n.length;e--;)i=n[e],t[i]=s[i];return t.target||(t.target=s.srcElement||ft),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,r.filter?r.filter(t,s):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,o,s=e.button,r=e.fromElement;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||ft,o=n.documentElement,i=n.body,t.pageX=e.clientX+(o&&o.scrollLeft||i&&i.scrollLeft||0)-(o&&o.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(o&&o.scrollTop||i&&i.scrollTop||0)-(o&&o.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&r&&(t.relatedTarget=r===t.target?e.toElement:r),t.which||void 0===s||(t.which=1&s?1:2&s?3:4&s?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==f()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===f()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return ot.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return ot.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var o=ot.extend(new ot.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?ot.event.trigger(o,null,e):ot.event.dispatch.call(e,o),o.isDefaultPrevented()&&i.preventDefault()}},ot.removeEvent=ft.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(typeof t[n]===Ct&&(t[n]=null),t.detachEvent(n,i))},ot.Event=function(t,e){return this instanceof ot.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?h:p):this.type=t,e&&ot.extend(this,e),this.timeStamp=t&&t.timeStamp||ot.now(),void(this[ot.expando]=!0)):new ot.Event(t,e)},ot.Event.prototype={isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=h,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=h,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=h,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},ot.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){ot.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,o=t.relatedTarget,s=t.handleObj;return(!o||o!==n&&!ot.contains(n,o))&&(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}}),it.submitBubbles||(ot.event.special.submit={setup:function(){return !ot.nodeName(this,"form")&&void ot.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,i=ot.nodeName(e,"input")||ot.nodeName(e,"button")?e.form:void 0;i&&!ot._data(i,"submitBubbles")&&(ot.event.add(i,"submit._submit",function(t){t._submit_bubble=!0}),ot._data(i,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&ot.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return !ot.nodeName(this,"form")&&void ot.event.remove(this,"._submit")}}),it.changeBubbles||(ot.event.special.change={setup:function(){return Pt.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(ot.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),ot.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),ot.event.simulate("change",this,t,!0)})),!1):void ot.event.add(this,"beforeactivate._change",function(t){var e=t.target;Pt.test(e.nodeName)&&!ot._data(e,"changeBubbles")&&(ot.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||ot.event.simulate("change",this.parentNode,t,!0)}),ot._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return ot.event.remove(this,"._change"),!Pt.test(this.nodeName)}}),it.focusinBubbles||ot.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){ot.event.simulate(e,t.target,ot.event.fix(t),!0)};ot.event.special[e]={setup:function(){var n=this.ownerDocument||this,o=ot._data(n,e);o||n.addEventListener(t,i,!0),ot._data(n,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this,o=ot._data(n,e)-1;o?ot._data(n,e,o):(n.removeEventListener(t,i,!0),ot._removeData(n,e))}}}),ot.fn.extend({on:function(t,e,i,n,o){var s,r;if("object"==typeof t){"string"!=typeof e&&(i=i||e,e=void 0);for(s in t)this.on(s,e,i,t[s],o);return this}
180if(null==i&&null==n?(n=e,i=e=void 0):null==n&&("string"==typeof e?(n=i,i=void 0):(n=i,i=e,e=void 0)),n===!1)n=p;else if(!n)return this;return 1===o&&(r=n,n=function(t){return ot().off(t),r.apply(this,arguments)},n.guid=r.guid||(r.guid=ot.guid++)),this.each(function(){ot.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,ot(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}
181return(e===!1||"function"==typeof e)&&(i=e,e=void 0),i===!1&&(i=p),this.each(function(){ot.event.remove(this,t,i,e)})},trigger:function(t,e){return this.each(function(){ot.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];return i?ot.event.trigger(t,e,i,!0):void 0}});var Nt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ht=/ jQuery\d+="(?:null|\d+)"/g,zt=new RegExp("<(?:"+Nt+")[\\s/>]","i"),jt=/^\s+/,Yt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Wt=/<([\w:]+)/,Bt=/<tbody/i,Ft=/<|&#?\w+;/,qt=/<(?:script|style|link)/i,Rt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ut=/^$|\/(?:java|ecma)script/i,Vt=/^true\/(.*)/,Gt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Xt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:it.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Zt=m(ft),Qt=Zt.appendChild(ft.createElement("div"));Xt.optgroup=Xt.option,Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,ot.extend({clone:function(t,e,i){var n,o,s,r,a,l=ot.contains(t.ownerDocument,t);if(it.html5Clone||ot.isXMLDoc(t)||!zt.test("<"+t.nodeName+">")?s=t.cloneNode(!0):(Qt.innerHTML=t.outerHTML,Qt.removeChild(s=Qt.firstChild)),!(it.noCloneEvent&&it.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ot.isXMLDoc(t)))
182for(n=g(s),a=g(t),r=0;null!=(o=a[r]);++r)n[r]&&C(o,n[r]);if(e)
183if(i)
184for(a=a||g(t),n=n||g(s),r=0;null!=(o=a[r]);r++)k(o,n[r]);else k(t,s);return n=g(s,"script"),n.length>0&&w(n,!l&&g(t,"script")),n=a=o=null,s},buildFragment:function(t,e,i,n){for(var o,s,r,a,l,c,d,u=t.length,h=m(e),p=[],f=0;u>f;f++)
185if(s=t[f],s||0===s)
186if("object"===ot.type(s))ot.merge(p,s.nodeType?[s]:s);else if(Ft.test(s)){for(a=a||h.appendChild(e.createElement("div")),l=(Wt.exec(s)||["",""])[1].toLowerCase(),d=Xt[l]||Xt._default,a.innerHTML=d[1]+s.replace(Yt,"<$1></$2>")+d[2],o=d[0];o--;)a=a.lastChild;if(!it.leadingWhitespace&&jt.test(s)&&p.push(e.createTextNode(jt.exec(s)[0])),!it.tbody)
187for(s="table"!==l||Bt.test(s)?"<table>"!==d[1]||Bt.test(s)?0:a:a.firstChild,o=s&&s.childNodes.length;o--;)ot.nodeName(c=s.childNodes[o],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(ot.merge(p,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=h.lastChild}else p.push(e.createTextNode(s));for(a&&h.removeChild(a),it.appendChecked||ot.grep(g(p,"input"),v),f=0;s=p[f++];)
188if((!n||-1===ot.inArray(s,n))&&(r=ot.contains(s.ownerDocument,s),a=g(h.appendChild(s),"script"),r&&w(a),i))
189for(o=0;s=a[o++];)Ut.test(s.type||"")&&i.push(s);return a=null,h},cleanData:function(t,e){for(var i,n,o,s,r=0,a=ot.expando,l=ot.cache,c=it.deleteExpando,d=ot.event.special;null!=(i=t[r]);r++)
190if((e||ot.acceptData(i))&&(o=i[a],s=o&&l[o])){if(s.events)
191for(n in s.events)d[n]?ot.event.remove(i,n):ot.removeEvent(i,n,s.handle);l[o]&&(delete l[o],c?delete i[a]:typeof i.removeAttribute!==Ct?i.removeAttribute(a):i[a]=null,G.push(o))}}}),ot.fn.extend({text:function(t){return Et(this,function(t){return void 0===t?ot.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ft).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?ot.filter(t,this):this,o=0;null!=(i=n[o]);o++)e||1!==i.nodeType||ot.cleanData(g(i)),i.parentNode&&(e&&ot.contains(i.ownerDocument,i)&&w(g(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&ot.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&ot.nodeName(t,"select")&&(t.options.length=0)}
192return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ot.clone(this,t,e)})},html:function(t){return Et(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Ht,""):void 0;if(!("string"!=typeof t||qt.test(t)||!it.htmlSerialize&&zt.test(t)||!it.leadingWhitespace&&jt.test(t)||Xt[(Wt.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Yt,"<$1></$2>");try{for(;n>i;i++)e=this[i]||{},1===e.nodeType&&(ot.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(t){}}
193e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,ot.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=Z.apply([],t);var i,n,o,s,r,a,l=0,c=this.length,d=this,u=c-1,h=t[0],p=ot.isFunction(h);if(p||c>1&&"string"==typeof h&&!it.checkClone&&Rt.test(h))return this.each(function(i){var n=d.eq(i);p&&(t[0]=h.call(this,i,n.html())),n.domManip(t,e)});if(c&&(a=ot.buildFragment(t,this[0].ownerDocument,!1,this),i=a.firstChild,1===a.childNodes.length&&(a=i),i)){for(s=ot.map(g(a,"script"),_),o=s.length;c>l;l++)n=a,l!==u&&(n=ot.clone(n,!0,!0),o&&ot.merge(s,g(n,"script"))),e.call(this[l],n,l);if(o)
194for(r=s[s.length-1].ownerDocument,ot.map(s,b),l=0;o>l;l++)n=s[l],Ut.test(n.type||"")&&!ot._data(n,"globalEval")&&ot.contains(r,n)&&(n.src?ot._evalUrl&&ot._evalUrl(n.src):ot.globalEval((n.text||n.textContent||n.innerHTML||"").replace(Gt,"")));a=i=null}
195return this}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){ot.fn[t]=function(t){for(var i,n=0,o=[],s=ot(t),r=s.length-1;r>=n;n++)i=n===r?this:this.clone(!0),ot(s[n])[e](i),Q.apply(o,i.get());return this.pushStack(o)}});var Kt,Jt={};!function(){var t;it.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,i,n;return i=ft.getElementsByTagName("body")[0],i&&i.style?(e=ft.createElement("div"),n=ft.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),typeof e.style.zoom!==Ct&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(ft.createElement("div")).style.width="5px",t=3!==e.offsetWidth),i.removeChild(n),t):void 0}}();var te,ee,ie=/^margin/,ne=new RegExp("^("+Tt+")(?!px)[a-z%]+$","i"),oe=/^(top|right|bottom|left)$/;t.getComputedStyle?(te=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)},ee=function(t,e,i){var n,o,s,r,a=t.style;return i=i||te(t),r=i?i.getPropertyValue(e)||i[e]:void 0,i&&(""!==r||ot.contains(t.ownerDocument,t)||(r=ot.style(t,e)),ne.test(r)&&ie.test(e)&&(n=a.width,o=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=i.width,a.width=n,a.minWidth=o,a.maxWidth=s)),void 0===r?r:r+""}):ft.documentElement.currentStyle&&(te=function(t){return t.currentStyle},ee=function(t,e,i){var n,o,s,r,a=t.style;return i=i||te(t),r=i?i[e]:void 0,null==r&&a&&a[e]&&(r=a[e]),ne.test(r)&&!oe.test(e)&&(n=a.left,o=t.runtimeStyle,s=o&&o.left,s&&(o.left=t.currentStyle.left),a.left="fontSize"===e?"1em":r,r=a.pixelLeft+"px",a.left=n,s&&(o.left=s)),void 0===r?r:r+""||"auto"}),!function(){function e(){var e,i,n,o;i=ft.getElementsByTagName("body")[0],i&&i.style&&(e=ft.createElement("div"),n=ft.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",s=r=!1,l=!0,t.getComputedStyle&&(s="1%"!==(t.getComputedStyle(e,null)||{}).top,r="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,o=e.appendChild(ft.createElement("div")),o.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",o.style.marginRight=o.style.width="0",e.style.width="1px",l=!parseFloat((t.getComputedStyle(o,null)||{}).marginRight),e.removeChild(o)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=e.getElementsByTagName("td"),o[0].style.cssText="margin:0;border:0;padding:0;display:none",a=0===o[0].offsetHeight,a&&(o[0].style.display="",o[1].style.display="none",a=0===o[0].offsetHeight),i.removeChild(n))}
196var i,n,o,s,r,a,l;i=ft.createElement("div"),i.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",o=i.getElementsByTagName("a")[0],(n=o&&o.style)&&(n.cssText="float:left;opacity:.5",it.opacity="0.5"===n.opacity,it.cssFloat=!!n.cssFloat,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",it.clearCloneStyle="content-box"===i.style.backgroundClip,it.boxSizing=""===n.boxSizing||""===n.MozBoxSizing||""===n.WebkitBoxSizing,ot.extend(it,{reliableHiddenOffsets:function(){return null==a&&e(),a},boxSizingReliable:function(){return null==r&&e(),r},pixelPosition:function(){return null==s&&e(),s},reliableMarginRight:function(){return null==l&&e(),l}}))}(),ot.swap=function(t,e,i,n){var o,s,r={};for(s in e)r[s]=t.style[s],t.style[s]=e[s];o=i.apply(t,n||[]);for(s in e)t.style[s]=r[s];return o};var se=/alpha\([^)]*\)/i,re=/opacity\s*=\s*([^)]*)/,ae=/^(none|table(?!-c[ea]).+)/,le=new RegExp("^("+Tt+")(.*)$","i"),ce=new RegExp("^([+-])=("+Tt+")","i"),de={position:"absolute",visibility:"hidden",display:"block"},ue={letterSpacing:"0",fontWeight:"400"},he=["Webkit","O","Moz","ms"];ot.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ee(t,"opacity");return ""===i?"1":i}}}},cssNumber:{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:it.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,s,r,a=ot.camelCase(e),l=t.style;if(e=ot.cssProps[a]||(ot.cssProps[a]=D(l,a)),r=ot.cssHooks[e]||ot.cssHooks[a],void 0===i)return r&&"get" in r&&void 0!==(o=r.get(t,!1,n))?o:l[e];if(s=typeof i,"string"===s&&(o=ce.exec(i))&&(i=(o[1]+1)*o[2]+parseFloat(ot.css(t,e)),s="number"),null!=i&&i===i&&("number"!==s||ot.cssNumber[a]||(i+="px"),it.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),!(r&&"set" in r&&void 0===(i=r.set(t,i,n)))))try{l[e]=i}catch(t){}}},css:function(t,e,i,n){var o,s,r,a=ot.camelCase(e);return e=ot.cssProps[a]||(ot.cssProps[a]=D(t.style,a)),r=ot.cssHooks[e]||ot.cssHooks[a],r&&"get" in r&&(s=r.get(t,!0,i)),void 0===s&&(s=ee(t,e,n)),"normal"===s&&e in ue&&(s=ue[e]),""===i||i?(o=parseFloat(s),i===!0||ot.isNumeric(o)?o||0:s):s}}),ot.each(["height","width"],function(t,e){ot.cssHooks[e]={get:function(t,i,n){return i?ae.test(ot.css(t,"display"))&&0===t.offsetWidth?ot.swap(t,de,function(){return P(t,e,n)}):P(t,e,n):void 0},set:function(t,i,n){var o=n&&te(t);return E(t,i,n?M(t,e,n,it.boxSizing&&"border-box"===ot.css(t,"boxSizing",!1,o),o):0)}}}),it.opacity||(ot.cssHooks.opacity={get:function(t,e){return re.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,o=ot.isNumeric(e)?"alpha(opacity="+100*e+")":"",s=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===ot.trim(s.replace(se,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=se.test(s)?s.replace(se,o):s+" "+o)}}),ot.cssHooks.marginRight=T(it.reliableMarginRight,function(t,e){return e?ot.swap(t,{display:"inline-block"},ee,[t,"marginRight"]):void 0}),ot.each({margin:"",padding:"",border:"Width"},function(t,e){ot.cssHooks[t+e]={expand:function(i){for(var n=0,o={},s="string"==typeof i?i.split(" "):[i];4>n;n++)o[t+Dt[n]+e]=s[n]||s[n-2]||s[0];return o}},ie.test(t)||(ot.cssHooks[t+e].set=E)}),ot.fn.extend({css:function(t,e){return Et(this,function(t,e,i){var n,o,s={},r=0;if(ot.isArray(e)){for(n=te(t),o=e.length;o>r;r++)s[e[r]]=ot.css(t,e[r],!1,n);return s}
197return void 0!==i?ot.style(t,e,i):ot.css(t,e)},t,e,arguments.length>1)},show:function(){return $(this,!0)},hide:function(){return $(this)},toggle:function(t){return "boolean"==typeof t?t?this.show():this.hide():this.each(function(){$t(this)?ot(this).show():ot(this).hide()})}}),ot.Tween=O,O.prototype={constructor:O,init:function(t,e,i,n,o,s){this.elem=t,this.prop=i,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(ot.cssNumber[i]?"":"px")},cur:function(){var t=O.propHooks[this.prop];return t&&t.get?t.get(this):O.propHooks._default.get(this)},run:function(t){var e,i=O.propHooks[this.prop];return this.options.duration?this.pos=e=ot.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=ot.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){ot.fx.step[t.prop]?ot.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[ot.cssProps[t.prop]]||ot.cssHooks[t.prop])?ot.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ot.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},ot.fx=O.prototype.init,ot.fx.step={};var pe,fe,me=/^(?:toggle|show|hide)$/,ge=new RegExp("^(?:([+-])=|)("+Tt+")([a-z%]*)$","i"),ve=/queueHooks$/,ye=[N],_e={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),o=ge.exec(e),s=o&&o[3]||(ot.cssNumber[t]?"":"px"),r=(ot.cssNumber[t]||"px"!==s&&+n)&&ge.exec(ot.css(i.elem,t)),a=1,l=20;if(r&&r[3]!==s){s=s||r[3],o=o||[],r=+n||1;do a=a||".5",r/=a,ot.style(i.elem,t,r+s);while(a!==(a=i.cur()/n)&&1!==a&&--l)}
198return o&&(r=i.start=+r||+n||0,i.unit=s,i.end=o[1]?r+(o[1]+1)*o[2]:+o[2]),i}]};ot.Animation=ot.extend(z,{tweener:function(t,e){ot.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,o=t.length;o>n;n++)i=t[n],_e[i]=_e[i]||[],_e[i].unshift(e)},prefilter:function(t,e){e?ye.unshift(t):ye.push(t)}}),ot.speed=function(t,e,i){var n=t&&"object"==typeof t?ot.extend({},t):{complete:i||!i&&e||ot.isFunction(t)&&t,duration:t,easing:i&&e||e&&!ot.isFunction(e)&&e};return n.duration=ot.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in ot.fx.speeds?ot.fx.speeds[n.duration]:ot.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){ot.isFunction(n.old)&&n.old.call(this),n.queue&&ot.dequeue(this,n.queue)},n},ot.fn.extend({fadeTo:function(t,e,i,n){return this.filter($t).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var o=ot.isEmptyObject(t),s=ot.speed(e,i,n),r=function(){var e=z(this,ot.extend({},t),s);(o||ot._data(this,"finish"))&&e.stop(!0)};return r.finish=r,o||s.queue===!1?this.each(r):this.queue(s.queue,r)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return "string"!=typeof t&&(i=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",s=ot.timers,r=ot._data(this);if(o)r[o]&&r[o].stop&&n(r[o]);else for(o in r)r[o]&&r[o].stop&&ve.test(o)&&n(r[o]);for(o=s.length;o--;)s[o].elem!==this||null!=t&&s[o].queue!==t||(s[o].anim.stop(i),e=!1,s.splice(o,1));(e||!i)&&ot.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,i=ot._data(this),n=i[t+"queue"],o=i[t+"queueHooks"],s=ot.timers,r=n?n.length:0;for(i.finish=!0,ot.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;r>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),ot.each(["toggle","show","hide"],function(t,e){var i=ot.fn[e];ot.fn[e]=function(t,n,o){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(L(e,!0),t,n,o)}}),ot.each({slideDown:L("show"),slideUp:L("hide"),slideToggle:L("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){ot.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),ot.timers=[],ot.fx.tick=function(){var t,e=ot.timers,i=0;for(pe=ot.now();i<e.length;i++)t=e[i],t()||e[i]!==t||e.splice(i--,1);e.length||ot.fx.stop(),pe=void 0},ot.fx.timer=function(t){ot.timers.push(t),t()?ot.fx.start():ot.timers.pop()},ot.fx.interval=13,ot.fx.start=function(){fe||(fe=setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){clearInterval(fe),fe=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fn.delay=function(t,e){return t=ot.fx?ot.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},function(){var t,e,i,n,o;e=ft.createElement("div"),e.setAttribute("className","t"),e.innerHTML="  <link/><table></table><a href='/a'>a</a>
198<input type='checkbox'/>",n=e.getElementsByTagName("a")[0],i=ft.createElement("select"),o=i.appendChild(ft.createElement("option")),t=e.getElementsByTagName("input")[0],n.style.cssText="top:1px",it.getSetAttribute="t"!==e.className,it.style=/top/.test(n.getAttribute("style")),it.hrefNormalized="/a"===n.getAttribute("href"),it.checkOn=!!t.value,it.optSelected=o.selected,it.enctype=!!ft.createElement("form").enctype,i.disabled=!0,it.optDisabled=!o.disabled,t=ft.createElement("input"),t.setAttribute("value",""),it.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),it.radioValue="t"===t.value}();var be=/\r/g;ot.fn.extend({val:function(t){var e,i,n,o=this[0];return arguments.length?(n=ot.isFunction(t),this.each(function(i){var o;1===this.nodeType&&(o=n?t.call(this,i,ot(this).val()):t,null==o?o="":"number"==typeof o?o+="":ot.isArray(o)&&(o=ot.map(o,function(t){return null==t?"":t+""})),e=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()],e&&"set" in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=ot.valHooks[o.type]||ot.valHooks[o.nodeName.toLowerCase()],e&&"get" in e&&void 0!==(i=e.get(o,"value"))?i:(i=o.value,"string"==typeof i?i.replace(be,""):null==i?"":i)):void 0}}),ot.extend({valHooks:{option:{get:function(t){var e=ot.find.attr(t,"value");return null!=e?e:ot.trim(ot.text(t))}},select:{get:function(t){for(var e,i,n=t.options,o=t.selectedIndex,s="select-one"===t.type||0>o,r=s?null:[],a=s?o+1:n.length,l=0>o?a:s?o:0;a>l;l++)
199if(i=n[l],!(!i.selected&&l!==o||(it.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&ot.nodeName(i.parentNode,"optgroup"))){if(e=ot(i).val(),s)return e;r.push(e)}
200return r},set:function(t,e){for(var i,n,o=t.options,s=ot.makeArray(e),r=o.length;r--;)
201if(n=o[r],ot.inArray(ot.valHooks.option.get(n),s)>=0)try{n.selected=i=!0}catch(t){n.scrollHeight}else n.selected=!1;return i||(t.selectedIndex=-1),o}}}}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(t,e){return ot.isArray(e)?t.checked=ot.inArray(ot(t).val(),e)>=0:void 0}},it.checkOn||(ot.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var we,ke,Ce=ot.expr.attrHandle,xe=/^(?:checked|selected)$/i,Se=it.getSetAttribute,Te=it.input;ot.fn.extend({attr:function(t,e){return Et(this,ot.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){ot.removeAttr(this,t)})}}),ot.extend({attr:function(t,e,i){var n,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return typeof t.getAttribute===Ct?ot.prop(t,e,i):(1===s&&ot.isXMLDoc(t)||(e=e.toLowerCase(),n=ot.attrHooks[e]||(ot.expr.match.bool.test(e)?ke:we)),void 0===i?n&&"get" in n&&null!==(o=n.get(t,e))?o:(o=ot.find.attr(t,e),null==o?void 0:o):null!==i?n&&"set" in n&&void 0!==(o=n.set(t,i,e))?o:(t.setAttribute(e,i+""),i):void ot.removeAttr(t,e))},removeAttr:function(t,e){var i,n,o=0,s=e&&e.match(_t);if(s&&1===t.nodeType)
202for(;i=s[o++];)n=ot.propFix[i]||i,ot.expr.match.bool.test(i)?Te&&Se||!xe.test(i)?t[n]=!1:t[ot.camelCase("default-"+i)]=t[n]=!1:ot.attr(t,i,""),t.removeAttribute(Se?i:n)},attrHooks:{type:{set:function(t,e){if(!it.radioValue&&"radio"===e&&ot.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}}}),ke={set:function(t,e,i){return e===!1?ot.removeAttr(t,i):Te&&Se||!xe.test(i)?t.setAttribute(!Se&&ot.propFix[i]||i,i):t[ot.camelCase("default-"+i)]=t[i]=!0,i}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(t,e){var i=Ce[e]||ot.find.attr;Ce[e]=Te&&Se||!xe.test(e)?function(t,e,n){var o,s;return n||(s=Ce[e],Ce[e]=o,o=null!=i(t,e,n)?e.toLowerCase():null,Ce[e]=s),o}:function(t,e,i){return i?void 0:t[ot.camelCase("default-"+e)]?e.toLowerCase():null}}),Te&&Se||(ot.attrHooks.value={set:function(t,e,i){return ot.nodeName(t,"input")?void(t.defaultValue=e):we&&we.set(t,e,i)}}),Se||(we={set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:void 0}},Ce.id=Ce.name=Ce.coords=function(t,e,i){var n;return i?void 0:(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},ot.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:void 0},set:we.set}
vendor: 15,211 bytes, lines 202-223
202,ot.attrHooks.contenteditable={set:function(t,e,i){we.set(t,""!==e&&e,i)}},ot.each(["width","height"],function(t,e){ot.attrHooks[e]={set:function(t,i){return ""===i?(t.setAttribute(e,"auto"),i):void 0}}})),it.style||(ot.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var De=/^(?:input|select|textarea|button|object)$/i,$e=/^(?:a|area)$/i;ot.fn.extend({prop:function(t,e){return Et(this,ot.prop,t,e,arguments.length>1)},removeProp:function(t){return t=ot.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),ot.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,i){var n,o,s,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return s=1!==r||!ot.isXMLDoc(t),s&&(e=ot.propFix[e]||e,o=ot.propHooks[e]),void 0!==i?o&&"set" in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get" in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=ot.find.attr(t,"tabindex");return e?parseInt(e,10):De.test(t.nodeName)||$e.test(t.nodeName)&&t.href?0:-1}}}}),it.hrefNormalized||ot.each(["href","src"],function(t,e){ot.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),it.optSelected||(ot.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this}),it.enctype||(ot.propFix.enctype="encoding");var Ee=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(t){var e,i,n,o,s,r,a=0,l=this.length,c="string"==typeof t&&t;if(ot.isFunction(t))return this.each(function(e){ot(this).addClass(t.call(this,e,this.className))});if(c)
203for(e=(t||"").match(_t)||[];l>a;a++)
204if(i=this[a],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Ee," "):" ")){for(s=0;o=e[s++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");r=ot.trim(n),i.className!==r&&(i.className=r)}
205return this},removeClass:function(t){var e,i,n,o,s,r,a=0,l=this.length,c=0===arguments.length||"string"==typeof t&&t;if(ot.isFunction(t))return this.each(function(e){ot(this).removeClass(t.call(this,e,this.className))});if(c)
206for(e=(t||"").match(_t)||[];l>a;a++)
207if(i=this[a],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Ee," "):"")){for(s=0;o=e[s++];)
208for(;n.indexOf(" "+o+" ")>=0;)n=n.replace(" "+o+" "," ");r=t?ot.trim(n):"",i.className!==r&&(i.className=r)}
209return this},toggleClass:function(t,e){var i=typeof t;return "boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):this.each(ot.isFunction(t)?function(i){ot(this).toggleClass(t.call(this,i,this.className,e),e)}:function(){if("string"===i)
210for(var e,n=0,o=ot(this),s=t.match(_t)||[];e=s[n++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else(i===Ct||"boolean"===i)&&(this.className&&ot._data(this,"__className__",this.className),this.className=this.className||t===!1?"":ot._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;n>i;i++)
211if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(Ee," ").indexOf(e)>=0)return !0;return !1}}),ot.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){ot.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),ot.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var Me=ot.now(),Pe=/\?/,Oe=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ot.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var i,n=null,o=ot.trim(e+"");return o&&!ot.trim(o.replace(Oe,function(t,e,o,s){return i&&e&&(n=0),0===n?t:(i=o||e,n+=!s-!o,"")}))?Function("return "+o)():ot.error("Invalid JSON: "+e)},ot.parseXML=function(e){var i,n;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(n=new DOMParser,i=n.parseFromString(e,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(e))}catch(t){i=void 0}
212return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+e),i};var Ie,Le,Ae=/#.*$/,Ne=/([?&])_=[^&]*/,He=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,ze=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,je=/^(?:GET|HEAD)$/,Ye=/^\/\//,We=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Be={},Fe={},qe="*/".concat("*");try{Le=location.href}catch(t){Le=ft.createElement("a"),Le.href="",Le=Le.href}
213Ie=We.exec(Le.toLowerCase())||[],ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Le,type:"GET",isLocal:ze.test(Ie[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?W(W(t,ot.ajaxSettings),e):W(ot.ajaxSettings,t)},ajaxPrefilter:j(Be),ajaxTransport:j(Fe),ajax:function(t,e){function i(t,e,i,n){var o,d,v,y,b,k=e;2!==_&&(_=2,a&&clearTimeout(a),c=void 0,r=n||"",w.readyState=t>0?4:0,o=t>=200&&300>t||304===t,i&&(y=B(u,w,i)),y=F(u,y,w,o),o?(u.ifModified&&(b=w.getResponseHeader("Last-Modified"),b&&(ot.lastModified[s]=b),b=w.getResponseHeader("etag"),b&&(ot.etag[s]=b)),204===t||"HEAD"===u.type?k="nocontent":304===t?k="notmodified":(k=y.state,d=y.data,v=y.error,o=!v)):(v=k,(t||!k)&&(k="error",0>t&&(t=0))),w.status=t,w.statusText=(e||k)+"",o?f.resolveWith(h,[d,k,w]):f.rejectWith(h,[w,k,v]),w.statusCode(g),g=void 0,l&&p.trigger(o?"ajaxSuccess":"ajaxError",[w,u,o?d:v]),m.fireWith(h,[w,k]),l&&(p.trigger("ajaxComplete",[w,u]),--ot.active||ot.event.trigger("ajaxStop")))}
214"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,o,s,r,a,l,c,d,u=ot.ajaxSetup({},e),h=u.context||u,p=u.context&&(h.nodeType||h.jquery)?ot(h):ot.event,f=ot.Deferred(),m=ot.Callbacks("once memory"),g=u.statusCode||{},v={},y={},_=0,b="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===_){if(!d)
215for(d={};e=He.exec(r);)d[e[1].toLowerCase()]=e[2];e=d[t.toLowerCase()]}
216return null==e?null:e},getAllResponseHeaders:function(){return 2===_?r:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return _||(t=y[i]=y[i]||t,v[t]=e),this},overrideMimeType:function(t){return _||(u.mimeType=t),this},statusCode:function(t){var e;if(t)
217if(2>_)
218for(e in t)g[e]=[g[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||b;return c&&c.abort(e),i(0,e),this}};if(f.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,u.url=((t||u.url||Le)+"").replace(Ae,"").replace(Ye,Ie[1]+"//"),u.type=e.method||e.type||u.method||u.type,u.dataTypes=ot.trim(u.dataType||"*").toLowerCase().match(_t)||[""],null==u.crossDomain&&(n=We.exec(u.url.toLowerCase()),u.crossDomain=!(!n||n[1]===Ie[1]&&n[2]===Ie[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Ie[3]||("http:"===Ie[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=ot.param(u.data,u.traditional)),Y(Be,u,e,w),2===_)return w;l=ot.event&&u.global,l&&0===ot.active++&&ot.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!je.test(u.type),s=u.url,u.hasContent||(u.data&&(s=u.url+=(Pe.test(s)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=Ne.test(s)?s.replace(Ne,"$1_="+Me++):s+(Pe.test(s)?"&":"?")+"_="+Me++)),u.ifModified&&(ot.lastModified[s]&&w.setRequestHeader("If-Modified-Since",ot.lastModified[s]),ot.etag[s]&&w.setRequestHeader("If-None-Match",ot.etag[s])),(u.data&&u.hasContent&&u.contentType!==!1||e.contentType)&&w.setRequestHeader("Content-Type",u.contentType),w.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+qe+"; q=0.01":""):u.accepts["*"]);for(o in u.headers)w.setRequestHeader(o,u.headers[o]);if(u.beforeSend&&(u.beforeSend.call(h,w,u)===!1||2===_))return w.abort();b="abort";for(o in{success:1,error:1,complete:1})w[o](u[o]);if(c=Y(Fe,u,e,w)){w.readyState=1,l&&p.trigger("ajaxSend",[w,u]),u.async&&u.timeout>0&&(a=setTimeout(function(){w.abort("timeout")},u.timeout));try{_=1,c.send(v,i)}catch(t){if(!(2>_))throw t;i(-1,t)}}else i(-1,"No Transport");return w},getJSON:function(t,e,i){return ot.get(t,e,i,"json")},getScript:function(t,e){return ot.get(t,void 0,e,"script")}}),ot.each(["get","post"],function(t,e){ot[e]=function(t,i,n,o){return ot.isFunction(i)&&(o=o||n,n=i,i=void 0),ot.ajax({url:t,type:e,dataType:o,data:i,success:n})}}),ot._evalUrl=function(t){return ot.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},ot.fn.extend({wrapAll:function(t){if(ot.isFunction(t))return this.each(function(e){ot(this).wrapAll(t.call(this,e))});if(this[0]){var e=ot(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}
219return this},wrapInner:function(t){return this.each(ot.isFunction(t)?function(e){ot(this).wrapInner(t.call(this,e))}:function(){var e=ot(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=ot.isFunction(t);return this.each(function(i){ot(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}}),ot.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!it.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||ot.css(t,"display"))},ot.expr.filters.visible=function(t){return !ot.expr.filters.hidden(t)};var Re=/%20/g,Ue=/\[\]$/,Ve=/\r?\n/g,Ge=/^(?:submit|button|image|reset|file)$/i,Xe=/^(?:input|select|textarea|keygen)/i;ot.param=function(t,e){var i,n=[],o=function(t,e){e=ot.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(t)||t.jquery&&!ot.isPlainObject(t))ot.each(t,function(){o(this.name,this.value)});else for(i in t)q(i,t[i],e,o);return n.join("&").replace(Re,"+")},ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ot.prop(this,"elements");return t?ot.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ot(this).is(":disabled")&&Xe.test(this.nodeName)&&!Ge.test(t)&&(this.checked||!Mt.test(t))}).map(function(t,e){var i=ot(this).val();return null==i?null:ot.isArray(i)?ot.map(i,function(t){return{name:e.name,value:t.replace(Ve,"\r\n")}}):{name:e.name,value:i.replace(Ve,"\r\n")}}).get()}}),ot.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return !this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&R()||U()}:R;var Ze=0,Qe={},Ke=ot.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Qe)Qe[t](void 0,!0)}),it.cors=!!Ke&&"withCredentials" in Ke,Ke=it.ajax=!!Ke,Ke&&ot.ajaxTransport(function(t){if(!t.crossDomain||it.cors){var e;return{send:function(i,n){var o,s=t.xhr(),r=++Ze;if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)
220for(o in t.xhrFields)s[o]=t.xhrFields[o];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(o in i)void 0!==i[o]&&s.setRequestHeader(o,i[o]+"");s.send(t.hasContent&&t.data||null),e=function(i,o){var a,l,c;if(e&&(o||4===s.readyState))
221if(delete Qe[r],e=void 0,s.onreadystatechange=ot.noop,o)4!==s.readyState&&s.abort();else{c={},a=s.status,"string"==typeof s.responseText&&(c.text=s.responseText);try{l=s.statusText}catch(t){l=""}
222a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=c.text?200:404}
223c&&n(a,l,c,s.getAllResponseHeaders())},t.async?4===s.readyState?setTimeout(e):s.onreadystatechange=Qe[r]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return ot.globalEval(t),t}}}),ot.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),ot.ajaxTransport("script",function(t){if(t.crossDomain){var e,i=ft.head||ot("head")[0]||ft.documentElement;return{send:function(n,o){e=ft.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,i||o(200,"success"))},i.insertBefore(e,i.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var Je=[],ti=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||ot.expando+"_"+Me++;return this[t]=!0,t}}),ot.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=e.jsonp!==!1&&(ti.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ti.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(o=e.jsonpCallback=ot.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(ti,"$1"+o):e.jsonp!==!1&&(e.url+=(Pe.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||ot.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Je.push(o)),r&&ot.isFunction(s)&&s(r[0]),r=s=void 0}),"script"):void 0}),ot.parseHTML=function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||ft;var n=ut.exec(t),o=!i&&[];return n?[e.createElement(n[1])]:(n=ot.buildFragment([t],e,o),o&&o.length&&ot(o).remove(),ot.merge([],n.childNodes))};var ei=ot.fn.load;ot.fn.load=function(t,e,i){if("string"!=typeof t&&ei)return ei.apply(this,arguments);var n,o,s,r=this,a=t.indexOf(" ");return a>=0&&(n=ot.trim(t.slice(a,t.length)),t=t.slice(0,a)),ot.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(s="POST"),r.length>0&&ot.ajax({url:t,type:s,dataType:"html",data:e}).done(function(t){o=arguments,r.html(n?ot("<div>").append(ot.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){r.each(i,o||[t.responseText,e,t])}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ot.fn[e]=function(t){return this.on(e,t)}}),ot.expr.filters.animated=function(t){return ot.grep(ot.timers,function(e){return t===e.elem}).length};var ii=t.document.documentElement;
223ot.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c,d=ot.css(t,"position"),u=ot(t),h={};"static"===d&&(t.style.position="relative"),a=u.offset(),s=ot.css(t,"top"),l=ot.css(t,"left"),c=("absolute"===d||"fixed"===d)&&ot.inArray("auto",[s,l])>-1,c?(n=u.position(),r=n.top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),ot.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using" in e?e.using.call(t,h):u.css(h)}},ot.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ot.offset.setOffset(this,t,e)});var e,i,n={top:0,left:0},o=this[0],s=o&&o.ownerDocument;return s?(e=s.documentElement,ot.contains(e,o)?(typeof o.getBoundingClientRect!==Ct&&(n=o.getBoundingClientRect()),i=V(s),{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n):void 0},position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return "fixed"===ot.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ot.nodeName(t[0],"html")||(i=t.offset()),i.top+=ot.css(t[0],"borderTopWidth",!0),i.left+=ot.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-ot.css(n,"marginTop",!0),left:e.left-i.left-ot.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||ii;t&&!ot.nodeName(t,"html")&&"static"===ot.css(t,"position");)t=t.offsetParent;return t||ii})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i=/Y/.test(e);ot.fn[t]=function(n){return Et(this,function(t,n,o){var s=V(t);return void 0===o?s?e in s?s[e]:s.document.documentElement[n]:t[n]:void(s?s.scrollTo(i?ot(s).scrollLeft():o,i?o:ot(s).scrollTop()):t[n]=o)},t,n,arguments.length,null)}}),ot.each(["top","left"],function(t,e){ot.cssHooks[e]=T(it.pixelPosition,function(t,i){return i?(i=ee(t,e),ne.test(i)?ot(t).position()[e]+"px":i):void 0})}),ot.each({Height:"height",Width:"width"},function(t,e){ot.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){ot.fn[n]=function(n,o){var s=arguments.length&&(i||"boolean"!=typeof n),r=i||(n===!0||o===!0?"margin":"border");return Et(this,function(e,i,n){var o;return ot.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===n?ot.css(e,i,r):ot.style(e,i,n,r)},e,s?n:void 0,s,null)}})}),ot.fn.size=function(){return this.length},ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot});var ni=t.jQuery,oi=t.$;return ot.noConflict=function(e){return t.$===ot&&(t.$=oi),e&&t.jQuery===ot&&(t.jQuery=ni),ot},typeof e===Ct&&(t.jQuery=t.$=ot),ot}),function(t){t.easing.jswing=t.easing.swing,t.extend(t.easing,{def:"easeOutQuad",swing:function(e,i,n,o,s){return t.easing[t.easing.def](e,i,n,o,s)},easeInQuad:function(t,e,i,n,o){return n*(e/=o)*e+i},easeOutQuad:function(t,e,i,n,o){return-n*(e/=o)*(e-2)+i},easeInOutQuad:function(t,e,i,n,o){return 1>(e/=o/2)?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,o){return n*(e/=o)*e*e+i},easeOutCubic:function(t,e,i,n,o){return n*((e=e/o-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,o){return 1>(e/=o/2)?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,o){return n*(e/=o)*e*e*e+i},easeOutQuart:function(t,e,i,n,o){return-n*((e=e/o-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,o){return 1>(e/=o/2)?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,o){return n*(e/=o)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,o){return n*((e=e/o-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,o){return 1>(e/=o/2)?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,o){return-n*Math.cos(e/o*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,o){return n*Math.sin(e/o*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,o){return-n/2*(Math.cos(Math.PI*e/o)-1)+i},easeInExpo:function(t,e,i,n,o){return 0==e?i:n*Math.pow(2,10*(e/o-1))+i},easeOutExpo:function(t,e,i,n,o){return e==o?i+n:n*(-Math.pow(2,-10*e/o)+1)+i}
223,easeInOutExpo:function(t,e,i,n,o){return 0==e?i:e==o?i+n:1>(e/=o/2)?n/2*Math.pow(2,10*(e-1))+i:n/2*(-Math.pow(2,-10*--e)+2)+i},easeInCirc:function(t,e,i,n,o){return-n*(Math.sqrt(1-(e/=o)*e)-1)+i},easeOutCirc:function(t,e,i,n,o){return n*Math.sqrt(1-(e=e/o-1)*e)+i},easeInOutCirc:function(t,e,i,n,o){return 1>(e/=o/2)?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,o){t=1.70158;var s=0,r=n;return 0==e?i:1==(e/= o) ? i + n : (s || (s = .3 * o), r < Math.abs(n) ? (r = n, t = s / 4) : t = s / (2*Math.PI)*Math.asin(n/r),-(r*Math.pow(2,10*--e)*Math.sin(2*(e*o-t)*Math.PI/s))+i)},easeOutElastic:function(t,e,i,n,o){t=1.70158;var s=0,r=n;return 0==e?i:1==(e/= o) ? i + n : (s || (s = .3 * o), r < Math.abs(n) ? (r = n, t = s / 4) : t = s / (2*Math.PI)*Math.asin(n/r),r*Math.pow(2,-10*e)*Math.sin(2*(e*o-t)*Math.PI/s)+n+i)},easeInOutElastic:function(t,e,i,n,o){t=1.70158;var s=0,r=n;return 0==e?i:2==(e/= o / 2) ? i + n : (s || (s = .3 * o * 1.5), r < Math.abs(n) ? (r = n, t = s / 4) : t = s / (2*Math.PI)*Math.asin(n/r),1>e?-.5*r*Math.pow(2,10*--e)*Math.sin(2*(e*o-t)*Math.PI/s)+i:r*Math.pow(2,-10*--e)*Math.sin(2*(e*o-t)*Math.PI/s)*.5+n+i)},easeInBack:function(t,e,i,n,o,s){return void 0==s&&(s=1.70158),n*(e/=o)*e*((s+1)*e-s)+i},easeOutBack:function(t,e,i,n,o,s){return void 0==s&&(s=1.70158),n*((e=e/o-1)*e*((s+1)*e+s)+1)+i},easeInOutBack:function(t,e,i,n,o,s){return void 0==s&&(s=1.70158),1>(e/=o/2)?n/2*e*e*(((s*=1.525)+1)*e-s)+i:n/2*((e-=2)*e*(((s*=1.525)+1)*e+s)+2)+i},easeInBounce:function(e,i,n,o,s){return o-t.easing.easeOutBounce(e,s-i,0,o,s)+n},easeOutBounce:function(t,e,i,n,o){return(e/=o)<1/2.75?7.5625*n*e*e+i:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(e,i,n,o,s){return i<s/2?.5*t.easing.easeInBounce(e,2*i,0,o,s)+n:.5*t.easing.easeOutBounce(e,2*i-s,0,o,s)+.5*o+n}})}(jQuery),window.Modernizr=function(t,e,i){function n(t){_.cssText=t}
224function o(t,e){return n(C.join(t+";")+(e||""))}
225function s(t,e){return typeof t===e}
226function r(t,e){return !!~(""+t).indexOf(e)}
227function a(t,e){for(var n in t){var o=t[n];if(!r(o,"-")&&_[o]!==i)return "pfx"!=e||o}
228return !1}
229function l(t,e,n){for(var o in t){var r=e[t[o]];if(r!==i)return n===!1?t[o]:s(r,"function")?r.bind(n||e):r}
230return !1}
231function c(t,e,i){var n=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+S.join(n+" ")+n).split(" ");return s(e,"string")||s(e,"undefined")?a(o,e):(o=(t+" "+T.join(n+" ")+n).split(" "),l(o,e,i))}
232function d(){f.input=function(i){for(var n=0,o=i.length;o>n;n++)M[i[n]]=!!(i[n]in b);return M.list&&(M.list=!(!e.createElement("datalist")||!t.HTMLDataListElement)),M}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),f.inputtypes=function(t){for(var n,o,s,r=0,a=t.length;a>r;r++)b.setAttribute("type",o=t[r]),n="text"!==b.type,n&&(b.value=w,b.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&b.style.WebkitAppearance!==i?(g.appendChild(b),s=e.defaultView,n=s.getComputedStyle&&"textfield"!==s.getComputedStyle(b,null).WebkitAppearance&&0!==b.offsetHeight,g.removeChild(b)):/^(search|tel)$/.test(o)||(n=/^(url|email)$/.test(o)?b.checkValidity&&b.checkValidity()===!1:b.value!=w)),E[t[r]]=!!n;return E}("search tel url email datetime date month week time datetime-local number range color".split(" "))}
233var u,h,p="2.8.3",f={},m=!0,g=e.documentElement,v="modernizr",y=e.createElement(v),_=y.style,b=e.createElement("input"),w=":)",k={}.toString,C=" -webkit- -moz- -o- -ms- ".split(" "),x="Webkit Moz O ms",S=x.split(" "),T=x.toLowerCase().split(" "),D={svg:"http://www.w3.org/2000/svg"},$={},E={},M={},P=[],O=P.slice,I=function(t,i,n,o){var s,r,a,l,c=e.createElement("div"),d=e.body,u=d||e.createElement("body");if(parseInt(n,10))
234for(;n--;)a=e.createElement("div"),a.id=o?o[n]:v+(n+1),c.appendChild(a);return s=["&#173;",'<style id="s',v,'">',t,"</style>"].join(""),c.id=v,(d?c:u).innerHTML+=s,u.appendChild(c),d||(u.style.background="",u.style.overflow="hidden",l=g.style.overflow,g.style.overflow="hidden",g.appendChild(u)),r=i(c,t),d?c.parentNode.removeChild(c):(u.parentNode.removeChild(u),g.style.overflow=l),!!r},L=function(e){var i=t.matchMedia||t.msMatchMedia;if(i)return i(e)&&i(e).matches||!1;var n;return I("@media "+e+" { #"+v+" { position: absolute; } }",function(e){n="absolute"==(t.getComputedStyle?getComputedStyle(e,null):e.currentStyle).position}),n},A=function(){function t(t,o){o=o||e.createElement(n[t]||"div"),t="on"+t;var r=t in o;return r||(o.setAttribute||(o=e.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(t,""),r=s(o[t],"function"),s(o[t],"undefined")||(o[t]=i),o.removeAttribute(t))),o=null,r}
235var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return t}(),N={}.hasOwnProperty;h=s(N,"undefined")||s(N.call,"undefined")?function(t,e){return e in t&&s(t.constructor.prototype[e],"undefined")}:function(t,e){return N.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;
235var i=O.call(arguments,1),n=function(){if(this instanceof n){var o=function(){};o.prototype=e.prototype;var s=new o,r=e.apply(s,i.concat(O.call(arguments)));return Object(r)===r?r:s}
236return e.apply(t,i.concat(O.call(arguments)))};return n}),$.flexbox=function(){return c("flexWrap")},$.flexboxlegacy=function(){return c("boxDirection")},$.canvas=function(){var t=e.createElement("canvas");return !(!t.getContext||!t.getContext("2d"))},$.canvastext=function(){return !(!f.canvas||!s(e.createElement("canvas").getContext("2d").fillText,"function"))},$.webgl=function(){return !!t.WebGLRenderingContext},$.touch=function(){var i;return "ontouchstart" in t||t.DocumentTouch&&e instanceof DocumentTouch?i=!0:I(["@media (",C.join("touch-enabled),("),v,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(t){i=9===t.offsetTop}),i},$.geolocation=function(){return "geolocation" in navigator},$.postmessage=function(){return !!t.postMessage},$.websqldatabase=function(){return !!t.openDatabase},$.indexedDB=function(){return !!c("indexedDB",t)},$.hashchange=function(){return A("hashchange",t)&&(e.documentMode===i||e.documentMode>7)},$.history=function(){return !(!t.history||!history.pushState)},$.draganddrop=function(){var t=e.createElement("div");return "draggable" in t||"ondragstart" in t&&"ondrop" in t},$.websockets=function(){return "WebSocket" in t||"MozWebSocket" in t},$.rgba=function(){return n("background-color:rgba(150,255,150,.5)"),r(_.backgroundColor,"rgba")},$.hsla=function(){return n("background-color:hsla(120,40%,100%,.5)"),r(_.backgroundColor,"rgba")||r(_.backgroundColor,"hsla")},$.multiplebgs=function(){return n("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(_.background)},$.backgroundsize=function(){return c("backgroundSize")},$.borderimage=function(){return c("borderImage")}
vendor: 4,728 bytes, lines 236-246
236,$.borderradius=function(){return c("borderRadius")},$.boxshadow=function(){return c("boxShadow")},$.textshadow=function(){return ""===e.createElement("div").style.textShadow},$.opacity=function(){return o("opacity:.55"),/^0.55$/.test(_.opacity)},$.cssanimations=function(){return c("animationName")},$.csscolumns=function(){return c("columnCount")},$.cssgradients=function(){var t="background-image:",e="gradient(linear,left top,right bottom,from(#9f9),to(white));",i="linear-gradient(left top,#9f9, white);";return n((t+"-webkit- ".split(" ").join(e+t)+C.join(i+t)).slice(0,-t.length)),r(_.backgroundImage,"gradient")},$.cssreflections=function(){return c("boxReflect")},$.csstransforms=function(){return !!c("transform")},$.csstransforms3d=function(){var t=!!c("perspective");return t&&"webkitPerspective" in g.style&&I("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(e){t=9===e.offsetLeft&&3===e.offsetHeight}),t},$.csstransitions=function(){return c("transition")},$.fontface=function(){var t;return I('@font-face {font-family:"font";src:url("https://")}',function(i,n){var o=e.getElementById("smodernizr"),s=o.sheet||o.styleSheet,r=s?s.cssRules&&s.cssRules[0]?s.cssRules[0].cssText:s.cssText||"":"";t=/src/i.test(r)&&0===r.indexOf(n.split(" ")[0])}),t},$.generatedcontent=function(){var t;return I(["#",v,"{font:0/0 a}#",v,':after{content:"',w,'";visibility:hidden;font:3px/1 a}'].join(""),function(e){t=e.offsetHeight>=3}),t},$.video=function(){var t=e.createElement("video"),i=!1;try{(i=!!t.canPlayType)&&(i=new Boolean(i),i.ogg=t.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),i.h264=t.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),i.webm=t.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(t){}
237return i},$.audio=function(){var t=e.createElement("audio"),i=!1;try{(i=!!t.canPlayType)&&(i=new Boolean(i),i.ogg=t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),i.mp3=t.canPlayType("audio/mpeg;").replace(/^no$/,""),i.wav=t.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),i.m4a=(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(t){}
238return i},$.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(t){return !1}},$.sessionstorage=function(){try{return sessionStorage.setItem(v,v),sessionStorage.removeItem(v),!0}catch(t){return !1}},$.webworkers=function(){return !!t.Worker},$.applicationcache=function(){return !!t.applicationCache},$.svg=function(){return !!e.createElementNS&&!!e.createElementNS(D.svg,"svg").createSVGRect},$.inlinesvg=function(){var t=e.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==D.svg},$.smil=function(){return !!e.createElementNS&&/SVGAnimate/.test(k.call(e.createElementNS(D.svg,"animate")))},$.svgclippaths=function(){return !!e.createElementNS&&/SVGClipPath/.test(k.call(e.createElementNS(D.svg,"clipPath")))};for(var H in $)h($,H)&&(u=H.toLowerCase(),f[u]=$[H](),P.push((f[u]?"":"no-")+u));return f.input||d(),f.addTest=function(t,e){if("object"==typeof t)
239for(var n in t)h(t,n)&&f.addTest(n,t[n]);else{if(t=t.toLowerCase(),f[t]!==i)return f;e="function"==typeof e?e():e,"undefined"!=typeof m&&m&&(g.className+=" "+(e?"":"no-")+t),f[t]=e}
240return f},n(""),y=b=null,function(t,e){function i(t,e){var i=t.createElement("p"),n=t.getElementsByTagName("head")[0]||t.documentElement;return i.innerHTML="x<style>"+e+"</style>",n.insertBefore(i.lastChild,n.firstChild)}
241function n(){var t=y.elements;return "string"==typeof t?t.split(" "):t}
242function o(t){var e=v[t[m]];return e||(e={},g++,t[m]=g,v[g]=e),e}
243function s(t,i,n){if(i||(i=e),d)return i.createElement(t);n||(n=o(i));var s;return s=n.cache[t]?n.cache[t].cloneNode():f.test(t)?(n.cache[t]=n.createElem(t)).cloneNode():n.createElem(t),!s.canHaveChildren||p.test(t)||s.tagUrn?s:n.frag.appendChild(s)}
244function r(t,i){if(t||(t=e),d)return t.createDocumentFragment();i=i||o(t);for(var s=i.frag.cloneNode(),r=0,a=n(),l=a.length;l>r;r++)s.createElement(a[r]);return s}
245function a(t,e){e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocumentFragment,e.frag=e.createFrag()),t.createElement=function(i){return y.shivMethods?s(i,t,e):e.createElem(i)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/[\w\-]+/g,function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'")'})+");return n}")(y,e.frag)}
246function l(t){t||(t=e);var n=o(t);return !y.shivCSS||c||n.hasCSS||(n.hasCSS=!!i(t,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
246play:block}mark{background:#FF0;color:#000}template{display:none}")),d||a(t,n),t}
247var c,d,u="3.7.0",h=t.html5||{},p=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,m="_html5shiv",g=0,v={};!function(){try{var t=e.createElement("a");t.innerHTML="<xyz></xyz>",c="hidden" in t,d=1==t.childNodes.length||function(){e.createElement("a");var t=e.createDocumentFragment();return "undefined"==typeof t.cloneNode||"undefined"==typeof t.createDocumentFragment||"undefined"==typeof t.createElement}()}catch(t){c=!0,d=!0}}();var y={elements:h.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:u,shivCSS:h.shivCSS!==!1,supportsUnknownElements:d,shivMethods:h.shivMethods!==!1,type:"default",shivDocument:l,createElement:s,createDocumentFragment:r};t.html5=y,l(e)}(this,e),f._version=p,f._prefixes=C,f._domPrefixes=T,f._cssomPrefixes=S,f.mq=L,f.hasEvent=A,f.testProp=function(t){return a([t])},f.testAllProps=c,f.testStyles=I,f.prefixed=function(t,e,i){return e?c(t,e,i):c(t,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(m?" js "+P.join(" "):""),f}(this,this.document),!function(){for(var t=["table","table-cell","table-row"],e=document.createElement("div").style,i=0;i<t.length;i++){var n=t[i];Modernizr.addTest("display-"+n,function(){try{return e.display=n,e.display==n}catch(t){return !1}})}}(),!function(t,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.Headroom=e()}(this,function(){"use strict";function t(t){this.callback=t,this.ticking=!1}
248function e(t){return t&&"undefined"!=typeof window&&(t===window||t.nodeType)}
249function i(t){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var n,o,s=t||{};for(o=1;o<arguments.length;o++){var r=arguments[o]||{};for(n in r)"object"!=typeof s[n]||e(s[n])?s[n]=s[n]||r[n]:s[n]=i(s[n],r[n])}
250return s}
251function n(t){return t===Object(t)?t:{down:t,up:t}}
252function o(t,e){e=i(e,o.options),this.lastKnownScrollY=0,this.elem=t,this.tolerance=n(e.tolerance),this.classes=e.classes,this.offset=e.offset,this.scroller=e.scroller,this.initialised=!1,this.onPin=e.onPin,this.onUnpin=e.onUnpin,this.onTop=e.onTop,this.onNotTop=e.onNotTop,this.onBottom=e.onBottom,this.onNotBottom=e.onNotBottom}
253var s={bind:!!function(){}.bind,classList:"classList" in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,t.prototype={constructor:t,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},o.prototype={constructor:o,init:function(){return o.cutsTheMustard?(this.debouncer=new t(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this):void 0},destroy:function(){var t=this.classes;this.initialised=!1,this.elem.classList.remove(t.unpinned,t.pinned,t.top,t.notTop,t.initial),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var t=this.elem.classList,e=this.classes;!t.contains(e.pinned)&&t.contains(e.unpinned)||(t.add(e.unpinned),t.remove(e.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var t=this.elem.classList,e=this.classes;t.contains(e.unpinned)&&(t.remove(e.unpinned),t.add(e.pinned),this.onPin&&this.onPin.call(this))},top:function(){var t=this.elem.classList,e=this.classes;t.contains(e.top)||(t.add(e.top),t.remove(e.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var t=this.elem.classList,e=this.classes;t.contains(e.notTop)||(t.add(e.notTop),t.remove(e.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var t=this.elem.classList,e=this.classes;t.contains(e.bottom)||(t.add(e.bottom),t.remove(e.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var t=this.elem.classList,e=this.classes;t.contains(e.notBottom)||(t.add(e.notBottom),t.remove(e.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop}
253,getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(t){return Math.max(t.offsetHeight,t.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var t=document.body,e=document.documentElement;return Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,t.clientHeight,e.clientHeight)},getElementHeight:function(t){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(t){var e=0>t,i=t+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return e||i},toleranceExceeded:function(t,e){return Math.abs(t-this.lastKnownScrollY)>=this.tolerance[e]},shouldUnpin:function(t,e){var i=t>this.lastKnownScrollY,n=t>=this.offset;return i&&n&&e},shouldPin:function(t,e){var i=t<this.lastKnownScrollY,n=t<=this.offset;return i&&e||n},update:function(){var t=this.getScrollY(),e=t>this.lastKnownScrollY?"down":"up",i=this.toleranceExceeded(t,e);this.isOutOfBounds(t)||(t<=this.offset?this.top():this.notTop(),t+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(t,i)?this.unpin():this.shouldPin(t,i)&&this.pin(),this.lastKnownScrollY=t)}},o.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},o.cutsTheMustard="undefined"!=typeof s&&s.rAF&&s.bind&&s.classList,o}),function(t){t&&(t.fn.headroom=function(e){return this.each(function(){var i=t(this),n=i.data("headroom"),o="object"==typeof e&&e;o=t.extend(!0,{},Headroom.options,o),n||(n=new Headroom(this,o),n.init(),i.data("headroom",n)),"string"==typeof e&&(n[e](),"destroy"===e&&i.removeData("headroom"))})},t("[data-headroom]").each(function(){var e=t(this);e.headroom(e.data())}))}(window.Zepto||window.jQuery),function(t){t.fn.unveil=function(e,i){function n(){var e=c.filter(function(){var e=t(this);if(!e.is(":hidden")){var i=s.scrollTop(),n=i+s.height(),o=e.offset().top,a=o+e.height();return a>=i-r&&o<=n+r}});o=e.trigger("unveil"),c=c.not(o)}
254var o,s=t(window),r=e||0,a=window.devicePixelRatio>1,l=a?"data-src-retina":"data-src",c=this;return this.one("unveil",function(){var t=this.getAttribute(l);t=t||this.getAttribute("data-src"),t&&(this.setAttribute("src",t),"function"==typeof i&&i.call(this))}),s.on("scroll.unveil resize.unveil lookup.unveil",n),n(),this}}(window.jQuery||window.Zepto),!function(t){function e(){t[i].glbl||(a={$wndw:t(window),$docu:t(document),$html:t("html"),$body:t("body")},o={},s={},r={},t.each([o,s,r],function(t,e){e.add=function(t){t=t.split(" ");for(var i=0,n=t.length;i<n;i++)e[t[i]]=e.mm(t[i])}}),o.mm=function(t){return "mm-"+t},o.add("wrapper menu panels panel nopanel current highest opened subopened navbar hasnavbar title btn prev next listview nolistview inset vertical selected divider spacer hidden fullsubopen"),o.umm=function(t){return "mm-"==t.slice(0,3)&&(t=t.
254slice(3)),t},s.mm=function(t){return "mm-"+t},s.add("parent child"),r.mm=function(t){return t+".mm"},r.add("transitionend webkitTransitionEnd click scroll keydown mousedown mouseup touchstart touchmove touchend orientationchange"),t[i]._c=o,t[i]._d=s,t[i]._e=r,t[i].glbl=a)}
255var i="mmenu",n="5.7.8";if(!(t[i]&&t[i].version>n)){t[i]=function(t,e,i){this.$menu=t,this._api=["bind","getInstance","update","initPanels","openPanel","closePanel","closeAllPanels","setSelected"],this.opts=e,this.conf=i,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initMenu(),this._initAnchors();var n=this.$pnls.children();return this._initAddons(),this.initPanels(n),"function"==typeof this.___debug&&this.___debug(),this},t[i].version=n,t[i].addons={},t[i].uniqueId=0,t[i].defaults={extensions:[],initMenu:function(){},initPanels:function(){},navbar:{add:!0,title:"Menu",titleLink:"panel"},onClick:{setSelected:!0},slidingSubmenus:!0},t[i].configuration={classNames:{divider:"Divider",inset:"Inset",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},t[i].prototype={init:function(t){this.initPanels(t)},getInstance:function(){return this},update:function(){this.trigger("update")},initPanels:function(t){t=t.not("."+o.nopanel),t=this._initPanels(t),this.opts.initPanels.call(this,t),this.trigger("initPanels",t),this.trigger("update")},openPanel:function(e){var n=e.parent(),s=this;if(n.hasClass(o.vertical)){var r=n.parents("."+o.subopened);if(r.length)return void this.openPanel(r.first());n.addClass(o.opened),this.trigger("openPanel",e),this.trigger("openingPanel",e),this.trigger("openedPanel",e)}else{if(e.hasClass(o.current))return;var a=this.$pnls.children("."+o.panel),l=a.filter("."+o.current);a.removeClass(o.highest).removeClass(o.current).not(e).not(l).not("."+o.vertical).addClass(o.hidden),t[i].support.csstransitions||l.addClass(o.hidden),e.hasClass(o.opened)?e.nextAll("."+o.opened).addClass(o.highest).removeClass(o.opened).removeClass(o.subopened):(e.addClass(o.highest),l.addClass(o.subopened)),e.removeClass(o.hidden).addClass(o.current),s.trigger("openPanel",e),setTimeout(function(){e.removeClass(o.subopened).addClass(o.opened),s.trigger("openingPanel",e),s.__transitionend(e,function(){s.trigger("openedPanel",e)},s.conf.transitionDuration)},this.conf.openingInterval)}},closePanel:function(t){var e=t.parent();e.hasClass(o.vertical)&&(e.removeClass(o.opened),this.trigger("closePanel",t),this.trigger("closingPanel",t),this.trigger("closedPanel",t))},closeAllPanels:function(){this.$menu.find("."+o.listview).children().removeClass(o.selected).filter("."+o.vertical).removeClass(o.opened);var t=this.$pnls.children("."+o.panel),e=t.first();this.$pnls.children("."+o.panel).not(e).removeClass(o.subopened).removeClass(o.opened).removeClass(o.current).removeClass(o.highest).addClass(o.hidden),this.openPanel(e)},togglePanel:function(t){var e=t.parent();e.hasClass(o.vertical)&&this[e.hasClass(o.opened)?"closePanel":"openPanel"](t)},setSelected:function(t){this.$menu.find("."+o.listview).children("."+o.selected).removeClass(o.selected),t.addClass(o.selected),this.trigger("setSelected",t)},bind:function(t,e){t="init"==t?"initPanels":t,this.cbck[t]=this.cbck[t]||[],this.cbck[t].push(e)},trigger:function(){var t=this,e=Array.prototype.slice.call(arguments),i=e.shift();if(i="init"==i?"initPanels":i,this.cbck[i])
256for(var n=0,o=this.cbck[i].length;n<o;n++)this.cbck[i][n].apply(t,e)},_initMenu:function(){this.conf.clone&&(this.$orig=this.$menu,this.$menu=this.$orig.clone(!0),this.$menu.add(this.$menu.find("[id]")).filter("[id]").each(function(){t(this).attr("id",o.mm(t(this).attr("id")))})),this.opts.initMenu.call(this,this.$menu,this.$orig),this.$menu.attr("id",this.$menu.attr("id")||this.__getUniqueId()),this.$pnls=t('<div class="'+o.panels+'" />').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu),this.$menu.parent().addClass(o.wrapper);var e=[o.menu];this.opts.slidingSubmenus||e.push(o.vertical),this.opts.extensions=this.opts.extensions.length?"mm-"+this.opts.extensions.join(" mm-"):"",this.opts.extensions&&e.push(this.opts.extensions),this.$menu.addClass(e.join(" ")),this.trigger("_initMenu")},_initPanels:function(e){var n=this,r=this.__findAddBack(e,"ul, ol");this.__refactorClass(r,this.conf.classNames.inset,"inset").addClass(o.nolistview+" "+o.nopanel),r.not("."+o.nolistview).addClass(o.listview);var a=this.__findAddBack(e,"."+o.listview).children();this.__refactorClass(a,this.conf.classNames.selected,"selected"),this.__refactorClass(a,this.conf.classNames.divider,"divider"),this.__refactorClass(a,this.conf.classNames.spacer,"spacer"),this.__refactorClass(this.__findAddBack(e,"."+this.conf.classNames.panel),this.conf.classNames.panel,"panel");
256var l=t(),c=e.add(e.find("."+o.panel)).add(this.__findAddBack(e,"."+o.listview).children().children(this.conf.panelNodetype)).not("."+o.nopanel);this.__refactorClass(c,this.conf.classNames.vertical,"vertical"),this.opts.slidingSubmenus||c.addClass(o.vertical),c.each(function(){var e=t(this),i=e;e.is("ul, ol")?(e.wrap('<div class="'+o.panel+'" />'),i=e.parent()):i.addClass(o.panel);var s=e.attr("id");e.removeAttr("id"),i.attr("id",s||n.__getUniqueId()),e.hasClass(o.vertical)&&(e.removeClass(n.conf.classNames.vertical),i.add(i.parent()).addClass(o.vertical)),l=l.add(i)});var d=t("."+o.panel,this.$menu);l.each(function(e){var r,a,l=t(this),c=l.parent(),d=c.children("a, span").first();if(c.is("."+o.panels)||(c.data(s.child,l),l.data(s.parent,c)),c.children("."+o.next).length||c.parent().is("."+o.listview)&&(r=l.attr("id"),a=t('<a class="'+o.next+'" href="#'+r+'" data-target="#'+r+'" />').insertBefore(d),d.is("span")&&a.addClass(o.fullsubopen)),!l.children("."+o.navbar).length&&!c.hasClass(o.vertical)){c.parent().is("."+o.listview)?c=c.closest("."+o.panel):(d=c.closest("."+o.panel).find('a[href="#'+l.attr("id")+'"]').first(),c=d.closest("."+o.panel));var u=!1,h=t('<div class="'+o.navbar+'" />');if(n.opts.navbar.add&&l.addClass(o.hasnavbar),c.length){switch(r=c.attr("id"),n.opts.navbar.titleLink){case "anchor":u=d.attr("href");break;case "panel":case "parent":u="#"+r;break;default:u=!1}
257h.append('<a class="'+o.btn+" "+o.prev+'" href="#'+r+'" data-target="#'+r+'" />').append(t('<a class="'+o.title+'"'+(u?' href="'+u+'"':"")+" />").text(d.text())).prependTo(l)}else n.opts.navbar.title&&h.append('<a class="'+o.title+'">'+t[i].i18n(n.opts.navbar.title)+"</a>").prependTo(l)}});var u=this.__findAddBack(e,"."+o.listview).children("."+o.selected).removeClass(o.selected).last().addClass(o.selected);u.add(u.parentsUntil("."+o.menu,"li")).filter("."+o.vertical).addClass(o.opened).end().each(function(){t(this).parentsUntil("."+o.menu,"."+o.panel).not("."+o.vertical).first().addClass(o.opened).parentsUntil("."+o.menu,"."+o.panel).not("."+o.vertical).first().addClass(o.opened).addClass(o.subopened)}),u.children("."+o.panel).not("."+o.vertical).addClass(o.opened).parentsUntil("."+o.menu,"."+o.panel).not("."+o.vertical).first().addClass(o.opened).addClass(o.subopened);var h=d.filter("."+o.opened);return h.length||(h=l.first()),h.addClass(o.opened).last().addClass(o.current),l.not("."+o.vertical).not(h.last(
257)).addClass(o.hidden).end().filter(function(){return !t(this).parent().hasClass(o.panels)}).appendTo(this.$pnls),this.trigger("_initPanels",l),l},_initAnchors:function(){var e=this;a.$body.on(r.click+"-oncanvas","a[href]",function(n){var s=t(this),r=!1,a=e.$menu.find(s).length;for(var l in t[i].addons)
258if(t[i].addons[l].clickAnchor.call(e,s,a)){r=!0;break}
259var c=s.attr("href");if(!r&&a&&c.length>1&&"#"==c.slice(0,1))try{var d=t(c,e.$menu);d.is("."+o.panel)&&(r=!0,e[s.parent().hasClass(o.vertical)?"togglePanel":"openPanel"](d))}catch(t){}
260if(r&&n.preventDefault(),!r&&a&&s.is("."+o.listview+" > li > a")&&!s.is('[rel="external"]')&&!s.is('[target="_blank"]')){e.__valueOrFn(e.opts.onClick.setSelected,s)&&e.setSelected(t(n.target).parent());var u=e.__valueOrFn(e.opts.onClick.preventDefault,s,"#"==c.slice(0,1));u&&n.preventDefault(),e.__valueOrFn(e.opts.onClick.close,s,u)&&e.close()}}),this.trigger("_initAnchors")},_initAddons:function(){var e;for(e in t[i].addons)t[i].addons[e].add.call(this),t[i].addons[e].add=function(){};for(e in t[i].addons)t[i].addons[e].setup.call(this);this.trigger("_initAddons")},_getOriginalMenuId:function(){var t=this.$menu.attr("id");return t&&t.length&&this.conf.clone&&(t=o.umm(t)),t},__api:function(){var e=this,i={};return t.each(this._api,function(t){var n=this;i[n]=function(){var t=e[n].apply(e,arguments);return "undefined"==typeof t?i:t}}),i},__valueOrFn:function(t,e,i){return "function"==typeof t?t.call(e[0]):"undefined"==typeof t&&"undefined"!=typeof i?i:t},__refactorClass:function(t,e,i){return t.filter("."+e).removeClass(e).addClass(o[i])},__findAddBack:function(t,e){return t.find(e).add(t.filter(e))},__filterListItems:function(t){return t.not("."+o.divider).not("."+o.hidden)},__transitionend:function(e,i,n){var o=!1,s=function(n){if("undefined"!=typeof n){if(!t(n.target).is(e))return !1;e.unbind(r.transitionend),e.unbind(r.webkitTransitionEnd)}
261o||i.call(e[0]),o=!0};e.on(r.transitionend,s),e.on(r.webkitTransitionEnd,s),setTimeout(s,1.1*n)},__getUniqueId:function(){return o.mm(t[i].uniqueId++)}},t.fn[i]=function(n,o){e(),n=t.extend(!0,{},t[i].defaults,n),o=t.extend(!0,{},t[i].configuration,o);var s=t();return this.each(function(){var e=t(this);if(!e.data(i)){var r=new t[i](e,n,o);r.$menu.data(i,r.__api()),s=s.add(r.$menu)}}),s},t[i].i18n=function(){var e={};return function(i){switch(typeof i){case "object":return t.extend(e,i),e;case "string":return e[i]||i;case "undefined":default:return e}}}(),t[i].support={touch:"ontouchstart" in window||navigator.msMaxTouchPoints||!1,csstransitions:function(){if("undefined"!=typeof Modernizr&&"undefined"!=typeof Modernizr.csstransitions)return Modernizr.csstransitions;var t=document.body||document.documentElement,e=t.style,i="transition";if("string"==typeof e[i])return !0;var n=["Moz","webkit","Webkit","Khtml","O","ms"];i=i.charAt(0).toUpperCase()+i.substr(1);for(var o=0;o<n.length;o++)
262if("string"==typeof e[n[o]+i])return !0;return !1}(),csstransforms:function(){return "undefined"==typeof Modernizr||"undefined"==typeof Modernizr.csstransforms||Modernizr.csstransforms}(),csstransforms3d:function(){return "undefined"==typeof Modernizr||"undefined"==typeof Modernizr.csstransforms3d||Modernizr.csstransforms3d}()};var o,s,r,a}}(jQuery),function(t){var e="mmenu",i="offCanvas";t[e].addons[i]={setup:function(){if(this.opts[i]){var o=this.opts[i],s=this.conf[i];r=t[e].glbl,this._api=t.merge(this._api,["open","close","setPage"]),"top"!=o.position&&"bottom"!=o.position||(o.zposition="front"),"string"!=typeof s.pageSelector&&(s.pageSelector="> "+s.pageNodetype),r.$allMenus=(r.$allMenus||t()).add(this.$menu),this.vars.opened=!1;var a=[n.offcanvas];"left"!=o.position&&a.push(n.mm(o.position)),"back"!=o.zposition&&a.push(n.mm(o.zposition)),this.$menu.addClass(a.join(" ")).parent().removeClass(n.wrapper),t[e].support.csstransforms||this.$menu.addClass(n["no-csstransforms"]),t[e].support.csstransforms3d||this.$menu.addClass(n["no-csstransforms3d"]),this.setPage(r.$page),this._initBlocker(),this["_initWindow_"+i](),this.$menu[s.menuInjectMethod+"To"](s.menuWrapperSelector);var l=window.location.hash;if(l){var c=this._getOriginalMenuId();c&&c==l.slice(1)&&this.open()}}},add:function(){n=t[e]._c,o=t[e]._d,s=t[e]._e,n.add("offcanvas slideout blocking modal background opening blocker page no-csstransforms3d"),o.add("style"),s.add("resize")},clickAnchor:function(t,e){var o=this;if(this.opts[i]){var s=this._getOriginalMenuId();if(s&&t.is('[href="#'+s+'"]')){if(e)return !0;var a=t.closest("."+n.menu);
262if(a.length){var l=a.data("mmenu");if(l&&l.close)return l.close(),o.__transitionend(a,function(){o.open()},o.conf.transitionDuration),!0}
263return this.open(),!0}
264if(r.$page)return s=r.$page.first().attr("id"),s&&t.is('[href="#'+s+'"]')?(this.close(),!0):void 0}}},t[e].defaults[i]={position:"left",zposition:"back",blockUI:!0,moveBackground:!0},t[e].configuration[i]={pageNodetype:"div",pageSelector:null,noPageSelector:[],wrapPageIfNeeded:!0,menuWrapperSelector:"body",menuInjectMethod:"prepend"},t[e].prototype.open=function(){if(!this.vars.opened){var t=this;this._openSetup(),setTimeout(function(){t._openFinish()},this.conf.openingInterval),this.trigger("open")}},t[e].prototype._openSetup=function(){var e=this,a=this.opts[i];this.closeAllOthers(),r.$page.each(function(){t(this).data(o.style,t(this).attr("style")||"")}),r.$wndw.trigger(s.resize+"-"+i,[!0]);var l=[n.opened];a.blockUI&&l.push(n.blocking),"modal"==a.blockUI&&l.push(n.modal),a.moveBackground&&l.push(n.background),"left"!=a.position&&l.push(n.mm(this.opts[i].position)),"back"!=a.zposition&&l.push(n.mm(this.opts[i].zposition)),this.opts.extensions&&l.push(this.opts.extensions),r.$html.addClass(l.join(" ")),setTimeout(function(){e.vars.opened=!0},this.conf.openingInterval),this.$menu.addClass(n.current+" "+n.opened)},t[e].prototype._openFinish=function(){var t=this;this.__transitionend(r.$page.first(),function(){t.trigger("opened")},this.conf.transitionDuration),r.$html.addClass(n.opening),this.trigger("opening")},t[e].prototype.close=function(){if(this.vars.opened){var e=this;this.__transitionend(r.$page.first(),function(){e.$menu.removeClass(n.current+" "+n.opened);var s=[n.opened,n.blocking,n.modal,n.background,n.mm(e.opts[i].position),n.mm(e.opts[i].zposition)];e.opts.extensions&&s.push(e.opts.extensions),r.$html.removeClass(s.join(" ")),r.$page.each(function(){t(this).attr("style",t(this).data(o.style))}),e.vars.opened=!1,e.trigger("closed")},this.conf.transitionDuration),r.$html.removeClass(n.opening),this.trigger("close"),this.trigger("closing")}},t[e].prototype.closeAllOthers=function(){r.$allMenus.not(this.$menu).each(function(){var i=t(this).data(e);i&&i.close&&i.close()})},t[e].prototype.setPage=function(e){var o=this,s=this.conf[i];e&&e.length||(e=r.$body.find(s.pageSelector),s.noPageSelector.length&&(e=e.not(s.noPageSelector.join(", "))),e.length>1&&s.wrapPageIfNeeded&&(e=e.wrapAll("<"+this.conf[i].pageNodetype+" />").parent())),e.each(function(){t(this).attr("id",t(this).attr("id")||o.__getUniqueId())}),e.addClass(n.page+" "+n.slideout),r.$page=e,this.trigger("setPage",e)},t[e].prototype["_initWindow_"+i]=function(){r.$wndw.off(s.keydown+"-"+i).on(s.keydown+"-"+i,function(t){if(r.$html.hasClass(n.opened)&&9==t.keyCode)return t.preventDefault(),!1});var t=0;r.$wndw.off(s.resize+"-"+i).on(s.resize+"-"+i,function(e,i){if(1==r.$page.length&&(i||r.$html.hasClass(n.opened))){var o=r.$wndw.height();(i||o!=t)&&(t=o,r.$page.css("minHeight",o))}})},t[e].prototype._initBlocker=function(){var e=this;this.opts[i].blockUI&&(r.$blck||(r.$blck=t('<div id="'+n.blocker+'" class="'+n.slideout+'" />')),r.$blck.appendTo(r.$body).off(s.touchstart+"-"+i+" "+s.touchmove+"-"+i).on(s.touchstart+"-"+i+" "+s.touchmove+"-"+i,function(t){t.preventDefault(),t.stopPropagation(),r.$blck.trigger(s.mousedown+"-"+i)}).off(s.mousedown+"-"+i).on(s.mousedown+"-"+i,function(t){t.preventDefault(),r.$html.hasClass(n.modal)||(e.closeAllOthers(),e.close())}))};var n,o,s,r}(jQuery),function(t){var e="mmenu",i="scrollBugFix";t[e].addons[i]={setup:function(){var o=this,a=this.opts[i];if(this.conf[i],r=t[e].glbl,t[e].support.touch&&this.opts.offCanvas&&this.opts.offCanvas.blockUI&&("boolean"==typeof a&&(a={fix:a}),"object"!=typeof a&&(a={}),a=this.opts[i]=t.extend(!0,{},t[e].defaults[i],a),a.fix)){var l=this.$menu.attr("id"),c=!1;this.bind("opening",function(){this.$pnls.children("."+n.current).scrollTop(0)}),r.$docu.on(s.touchmove,function(t){o.vars.opened&&t.preventDefault()}),r.$body.on(s.touchstart,"#"+l+"> ."+n.panels+"> ."+n.current,function(t){o.vars.opened&&(c||(c=!0,0===t.currentTarget.scrollTop?t.currentTarget.scrollTop=1:t.currentTarget.scrollHeight===t.currentTarget.scrollTop+t.currentTarget.offsetHeight&&(t.currentTarget.scrollTop-=1),c=!1))}).on(s.touchmove,"#"+l+"> ."+n.panels+"> ."+n.current,function(e){o.vars.opened&&t(this)[0].scrollHeight>t(this).innerHeight()&&e.stopPropagation()}),r.$wndw.on(s.orientationchange,function(){o.$pnls.children("."+n.current).scrollTop(0).css({"-webkit-overflow-scrolling":"auto"}).css({"-webkit-overflow-scrolling":"touch"})})}},add:function(){n=t[e]._c,o=t[e]._d,s=t[e]._e},clickAnchor:function(t,e){}},t[e].defaults[i]={fix:!0};var n,o,s,r}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(t){var e,i,n,o,s,r,a="Close",l="BeforeClose",c="AfterClose",d="BeforeAppend",u="MarkupParse",h="Open",p="Change",f="mfp",m="."+f,g="mfp-ready",v="mfp-removing",y="mfp-prevent-close",_=function(){},b=!!window.jQuery,w=t(window),k=function(t,i){e.ev.on(f+t+m,i)},C=function(e,i,n,o){var s=document.createElement("div");return s.className="mfp-"+e,n&&(s.innerHTML=n),o?i&&i.appendChild(s):(s=t(s),i&&s.appendTo(i)),s},x=function(i,n){e.ev.triggerHandler(f+i,n),e.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),e.st.callbacks[i]&&e.st.callbacks[i].apply(e,t.isArray(n)?n:[n]))},S=function(i){return i===r&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),r=i),e.currTemplate.closeBtn},T=function(){t.magnificPopup.instance||(e=new _,e.init(),t.magnificPopup.instance=e)},D=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return !0;for(;e.length;)
265if(e.pop()+"Transition" in t)return !0;return !1};_.prototype={constructor:_,init:function(){var i=navigator.appVersion;e.isLowIE=e.isIE8=document.all&&!document.addEventListener,e.isAndroid=/android/gi.test(i),e.isIOS=/iphone|ipad|ipod/gi.test(i),e.supportsTransition=D(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=t(document),e.popupsCache={}},open:function(i){var o;if(i.isObj===!1){e.items=i.items.toArray(),e.index=0;var r,a=i.items;for(o=0;o<a.length;o++)
266if(r=a[o],r.parsed&&(r=r.el[0]),r===i.el[0]){e.index=o;break}}else e.items=t.isArray(i.items)?i.items:[i.items],e.index=i.index||0;if(e.isOpen)return void e.updateItemHTML();e.types=[],s="",i.mainEl&&i.mainEl.length?e.ev=i.mainEl.eq(0):e.ev=n,i.key?(e.popupsCache[i.key]||(e.popupsCache[i.key]={}),e.currTemplate=e.popupsCache[i.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,i),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=C("bg").on("click"+m,function(){e.close()}),e.wrap=C("wrap").attr("tabindex",-1).on("click"+m,function(t){e._checkIfClose(t.target)&&e.close()}),e.container=C("container",e.wrap)),e.contentContainer=C("content"),e.st.preloader&&(e.preloader=C("preloader",e.container,e.st.tLoading));var l=t.magnificPopup.modules;for(o=0;o<l.length;o++){var c=l[o];c=c.charAt(0).toUpperCase()+c.slice(1),e["init"+c].call(e)}
267x("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(k(u,function(t,e,
267i,n){i.close_replaceWith=S(n.type)}),s+=" mfp-close-btn-in"):e.wrap.append(S())),e.st.alignTop&&(s+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:w.scrollTop(),position:"absolute"}),(e.st.fixedBgPos===!1||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:n.height(),position:"absolute"}),e.st.enableEscapeKey&&n.on("keyup"+m,function(t){27===t.keyCode&&e.close()}),w.on("resize"+m,function(){e.updateSize()}),e.st.closeOnContentClick||(s+=" mfp-auto-cursor"),s&&e.wrap.addClass(s);var d=e.wH=w.height(),p={};if(e.fixedContentPos&&e._hasScrollBar(d)){var f=e._getScrollbarSize();f&&(p.marginRight=f)}
268e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):p.overflow="hidden");var v=e.st.mainClass;return e.isIE7&&(v+=" mfp-ie7"),v&&e._addClassToMFP(v),e.updateItemHTML(),x("BuildControls"),t("html").css(p),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||t(document.body)),e._lastFocusedEl=document.activeElement,setTimeout(function(){e.content?(e._addClassToMFP(g),e._setFocus()):e.bgOverlay.addClass(g),n.on("focusin"+m,e._onFocusIn)},16),e.isOpen=!0,e.updateSize(d),x(h),i},close:function(){e.isOpen&&(x(l),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(v),setTimeout(function(){e._close()},e.st.removalDelay)):e._close())},_close:function(){x(a);var i=v+" "+g+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(i+=e.st.mainClass+" "),e._removeClassFromMFP(i),e.fixedContentPos){var o={marginRight:""};e.isIE7?t("body, html").css("overflow",""):o.overflow="",t("html").css(o)}
269n.off("keyup"+m+" focusin"+m),e.ev.off(m),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&e.currTemplate[e.currItem.type]!==!0||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e.st.autoFocusLast&&e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,x(c)},updateSize:function(t){if(e.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;e.wrap.css("height",n),e.wH=n}else e.wH=t||w.height();e.fixedContentPos||e.wrap.css("height",e.wH),x("Resize")},updateItemHTML:function(){var i=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),i.parsed||(i=e.parseEl(e.index));var n=i.type;if(x("BeforeChange",[e.currItem?e.currItem.type:"",n]),e.currItem=i,!e.currTemplate[n]){var s=!!e.st[n]&&e.st[n].markup;x("FirstMarkupParse",s),s?e.currTemplate[n]=t(s):e.currTemplate[n]=!0}
270o&&o!==i.type&&e.container.removeClass("mfp-"+o+"-holder");var r=e["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,e.currTemplate[n]);e.appendContent(r,n),i.preloaded=!0,x(p,i),o=i.type,e.container.prepend(e.contentContainer),x("AfterChange")},appendContent:function(t,i){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&e.currTemplate[i]===!0?e.content.find(".mfp-close").length||e.content.append(S()):e.content=t:e.content="",x(d),e.container.addClass("mfp-"+i+"-holder"),e.contentContainer.append(e.content)},parseEl:function(i){var n,o=e.items[i];if(o.tagName?o={el:t(o)}:(n=o.type,o={data:o,src:o.src}),o.el){for(var s=e.types,r=0;r<s.length;r++)
271if(o.el.hasClass("mfp-"+s[r])){n=s[r];break}
272o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}
273return o.type=n||e.st.type||"inline",o.index=i,o.parsed=!0,e.items[i]=o,x("ElementParse",o),e.items[i]},addGroup:function(t,i){var n=function(n){n.mfpEl=this,e._openClick(n,t,i)};i||(i={});var o="click.magnificPopup";i.mainEl=t,i.items?(i.isObj=!0,t.off(o).on(o,n)):(i.isObj=!1,i.delegate?t.off(o).on(o,i.delegate,n):(i.items=t,t.off(o).on(o,n)))},_openClick:function(i,n,o){var s=void 0!==o.midClick?o.midClick:t.magnificPopup.defaults.midClick;if(s||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var r=void 0!==o.disableOn?o.disableOn:t.magnificPopup.defaults.disableOn;if(r)
274if(t.isFunction(r)){if(!r.call(e))return !0}else if(w.width()<r)return !0;i.type&&(i.preventDefault(),e.isOpen&&i.stopPropagation()),o.el=t(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),e.o
274pen(o)}},updateStatus:function(t,n){if(e.preloader){i!==t&&e.container.removeClass("mfp-s-"+i),n||"loading"!==t||(n=e.st.tLoading);var o={status:t,text:n};x("UpdateStatus",o),t=o.status,n=o.text,e.preloader.html(n),e.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),e.container.addClass("mfp-s-"+t),i=t}},_checkIfClose:function(i){if(!t(i).hasClass(y)){var n=e.st.closeOnContentClick,o=e.st.closeOnBgClick;if(n&&o)return !0;if(!e.content||t(i).hasClass("mfp-close")||e.preloader&&i===e.preloader[0])return !0;if(i===e.content[0]||t.contains(e.content[0],i)){if(n)return !0}else if(o&&t.contains(document,i))return !0;return !1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?n.height():document.body.scrollHeight)>(t||w.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(i){if(i.target!==e.wrap[0]&&!t.contains(e.wrap[0],i.target))return e._setFocus(),!1},_parseMarkup:function(e,i,n){var o;n.data&&(i=t.extend(n.data,i)),x(u,[e,i,n]),t.each(i,function(i,n){if(void 0===n||n===!1)return !0;if(o=i.split("_"),o.length>1){var s=e.find(m+"-"+o[0]);if(s.length>0){var r=o[1];"replaceWith"===r?s[0]!==n[0]&&s.replaceWith(n):"img"===r?s.is("img")?s.attr("src",n):s.replaceWith(t("<img>").attr("src",n).attr("class",s.attr("class"))):s.attr(o[1],n)}}else e.find(m+"-"+i).html(n)})},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}
275return e.scrollbarSize}},t.magnificPopup={instance:null,proto:_.prototype,modules:[],open:function(e,i){return T(),e=e?t.extend(!0,{},e):{},e.isObj=!0,e.index=i||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,i){i.options&&(t.magnificPopup.defaults[e]=i.options),t.extend(this.proto,i.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},t.fn.magnificPopup=function(i){T();var n=t(this);if("string"==typeof i)
276if("open"===i){var o,s=b?n.data("magnificPopup"):n[0].magnificPopup,r=parseInt(arguments[1],10)||0;s.items?o=s.items[r]:(o=n,s.delegate&&(o=o.find(s.delegate)),o=o.eq(r)),e._openClick({mfpEl:o},n,s)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),b?n.data("magnificPopup",i):n[0].magnificPopup=i,e.addGroup(n,i);return n};var $,E,M,P="inline",O=function(){M&&(E.after(M.addClass($)).detach(),M=null)};t.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(P),k(a+"."+P,function(){O()})},getInline:function(i,n){if(O(),i.src){var o=e.st.inline,s=t(i.src.replace(":","\\:"));if(s.length){var r=s[0].parentNode;r&&r.tagName&&(E||($=o.hiddenClass,E=C($),$="mfp-"+$),M=s.after(E).detach().removeClass($)),e.updateStatus("ready")}else e.updateStatus("error",o.tNotFound),s=t("<div>");return i.inlineElement=s,s}
277return e.updateStatus("ready"),e._parseMarkup(n,{},i),n}}});var I,L="ajax",A=function(){I&&t(document.body).removeClass(I)},N=function(){A(),e.req&&e.req.abort()};t.magnificPopup.registerModule(L,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(L),I=e.st.ajax.cursor,k(a+"."+L,N),k("BeforeChange."+L,N)},getAjax:function(i){I&&t(document.body).addClass(I),e.updateStatus("loading");var n=t.extend({url:i.src,success:function(n,o,s){var r={data:n,xhr:s};x("ParseAjax",r),e.appendContent(t(r.data),L),i.finished=!0,A(),e._setFocus(),setTimeout(function(){e.wrap.addClass(g)},16),e.updateStatus("ready"),x("AjaxContentAdded")},error:function(){A(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(n),""}}});var H,z=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;
277var n=e.st.image.titleSrc;if(n){if(t.isFunction(n))return n.call(e,i);if(i.el)return i.el.attr(n)||""}
278return ""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=e.st.image,n=".image";e.types.push("image"),k(h+n,function(){"image"===e.currItem.type&&i.cursor&&t(document.body).addClass(i.cursor)}),k(a+n,function(){i.cursor&&t(document.body).removeClass(i.cursor),w.off("resize"+m)}),k("Resize"+n,e.resizeImage),e.isLowIE&&k("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,H&&clearInterval(H),t.isCheckingImgSize=!1,x("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,n=t.img[0],o=function(s){H&&clearInterval(H),H=setInterval(function(){return n.naturalWidth>0?void e._onImageHasSize(t):(i>200&&clearInterval(H),i++,void(3===i?o(10):40===i?o(50):100===i&&o(500)))},s)};o(1)},getImage:function(i,n){var o=0,s=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,x("ImageLoadComplete")):(o++,o<200?
278setTimeout(s,100):r()))},r=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",a.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},a=e.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=t(c).on("load.mfploader",s).on("error.mfploader",r),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),c=i.img[0],c.naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}
279return e._parseMarkup(n,{title:z(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?(H&&clearInterval(H),i.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",a.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(i)),n)}}});var j,Y=function(){return void 0===j&&(j=void 0!==document.createElement("p").style.MozTransform),j};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,n=".zoom";if(i.enabled&&e.supportsTransition){var o,s,r=i.duration,c=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return o["-webkit-"+s]=o["-moz-"+s]=o["-o-"+s]=o[s]=n,e.css(o),e},d=function(){e.content.css("visibility","visible")};k("BuildControls"+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.content.css("visibility","hidden"),t=e._getItemToZoom(),!t)return void d();s=c(t),s.css(e._getOffset()),e.wrap.append(s),o=setTimeout(function(){s.css(e._getOffset(!0)),o=setTimeout(function(){d(),setTimeout(function(){s.remove(),t=s=null,x("ZoomAnimationEnded")},16)},r)},16)}}),k(l+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.st.removalDelay=r,!t){if(t=e._getItemToZoom(),!t)return;s=c(t)}
280s.css(e._getOffset(!0)),e.wrap.append(s),e.content.css("visibility","hidden"),setTimeout(function(){s.css(e._getOffset())},16)}}),k(a+n,function(){e._allowZoom()&&(d(),s&&s.remove(),t=null)})}},_allowZoom:function(){return "image"===e.currItem.type},_getItemToZoom:function(){return !!e.currItem.hasSize&&e.currItem.img},_getOffset:function(i){var n;n=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem);var o=n.offset(),s=parseInt(n.css("padding-top"),10),r=parseInt(n.css("padding-bottom"),10);o.top-=t(window).scrollTop()-s;var a={width:n.width(),height:(b?n.innerHeight():n[0].offsetHeight)-r-s};return Y()?a["-moz-transform"]=a.transform="translate("+o.left+"px,"+o.top+"px)":(a.left=o.left,a.top=o.top),a}}});var W="iframe",B="//about:blank",F=function(t){if(e.currTemplate[W]){var i=e.currTemplate[W].find("iframe");i.length&&(t||(i[0].src=B),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(W,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(W),k("BeforeChange",function(t,e,i){e!==i&&(e===W?F():i===W&&F(!0))}),k(a+"."+W,function(){F()})},getIframe:function(i,n){var o=i.src,s=e.st.iframe;t.each(s.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1});var r={};return s.srcAction&&(r[s.srcAction]=o),e._parseMarkup(n,r,i),e.updateStatus("ready"),n}}});var q=function(t){var i=e.items.length;return t>i-1?t-i:t<0?i+t:t},R=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,o=".mfp-gallery";return e.direction=!0,!(!i||!i.enabled)&&(s+=" mfp-gallery",k(h+o,function(){i.navigateByImgClick&&e.wrap.on("click"+o,".mfp-img",function(){if(e.items.length>1)return e.next(),!1}),n.on("keydown"+o,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),k("UpdateStatus"+o,function(t,i){i.text&&(i.text=R(i.text,e.currItem.index,e.items.length))}),k(u+o,function(t,n,o,s){var r=e.items.length;o.counter=r>1?R(i.tCounter,s.index,r):""}),k("BuildControls"+o,function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var n=i.arrowMarkup,o=e.arrowLeft=t(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(y),s=e.arrowRight=t(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(y);o.click(function(){e.prev()}),s.click(function(){e.next()}),e.container.append(o.add(s))}}),k(p+o,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),void k(a+o,function(){n.off(o),e.wrap.off("click"+o),e.arrowRight=e.arrowLeft=null}))},next:function(){e.direction=!0,e.index=q(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=q(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,n=Math.min(i[0],e.items.length),o=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?o:n);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?n:o);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=q(i),!e.items[i].preloaded){var n=e.items[i];n.parsed||(n=e.parseEl(i)),x("LazyLoad",n),"image"===n.type&&(n.img=t('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,x("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});var U="retina";t.magnificPopup.registerModule(U,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return "@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;i=isNaN(i)?i():i,i>1&&(k("ImageHasSize."+U,function(t,e){e.img.css({"max-width":e.img[0].naturalWi
vendor: 11,622 bytes, lines 280-286
280dth/i,width:"100%"})}),k("ElementParse."+U,function(e,n){n.src=t.replaceSrc(n,i)}))}}}}),T()}),!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};e=function(){function e(e,n){var o,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(e),appendDots:t(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" data-role="none" role="button" tabindex="0" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=t(e),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,o=t(e).data("slick")||{},s.options=t.extend({},s.defaults,n,o),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,"undefined"!=typeof document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=t.proxy(s.autoPlay,s),s.autoPlayClear=t.proxy(s.autoPlayClear,s),s.autoPlayIterator=t.proxy(s.autoPlayIterator,s),s.changeSlide=t.proxy(s.changeSlide,s),s.clickHandler=t.proxy(s.clickHandler,s),s.selectHandler=t.proxy(s.selectHandler,s),s.setPosition=t.proxy(s.setPosition,s),s.swipeHandler=t.proxy(s.swipeHandler,s),s.dragHandler=t.proxy(s.dragHandler,s),s.keyHandler=t.proxy(s.keyHandler,s),s.instanceUid=i++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}
281var i=0;return e}(),e.prototype.activateADA=function(){var t=this;t.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,i,n){var o=this;if("boolean"==typeof i)n=i,i=null;else if(0>i||i>=o.slideCount)return !1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?t(e).appendTo(o.$slideTrack):n?t(e).insertBefore(o.$slides.eq(i)):t(e).insertAfter(o.$slides.eq(i)):n===!0?t(e).prependTo(o.$slideTrack):t(e).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(e,i){t(i).attr("data-slick-index",e)}),o.$slidesCache=o.$slides,o.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var n={},o=this;o.animateHeight(),o.options.rtl===!0&&o.options.vertical===!1&&(e=-e),o.transformsEnabled===!1?o.options.vertical===!1?o.$slideTrack.animate({left:e},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:e},o.options.speed,o.options.easing,i):o.cssTransitions===!1?(o.options.rtl===!0&&(o.currentLeft=-o.currentLeft),t({animStart:o.currentLeft}).animate({animStart:e},{duration:o.options.speed,easing:o.options.easing,step:function(t){t=Math.ceil(t),o.options.vertical===!1?(n[o.animType]="translate("+t+"px, 0px)",o.$slideTrack.css(n)):(n[o.animType]="translate(0px,"+t+"px)",o.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(o.applyTransition(),e=Math.ceil(e),o.options.vertical===!1?n[o.animType]="translate3d("+e+"px, 0px, 0px)":n[o.animType]="translate3d(0px,"+e+"px, 0px)",o.$slideTrack.css(n),i&&setTimeout(function(){o.disableTransition(),i.call()},o.options.speed))},e.prototype.getNavTarget=function(){var e=this,i=e.options.asNavFor;return i&&null!==i&&(i=t(i).not(e.$slider)),i},e.prototype.asNavFor=function(e){var i=this,n=i.getNavTarget();null!==n&&"object"==typeof n&&n.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,i={};e.options.fade===!1?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(t.options.infinite===!1&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1===0&&(t.direction=1))),t.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,i,n=this;if(n.options.dots===!0&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(n.options.dotsClass),e=0;e<=n.getDotCount();e+=1)i.append(t("<li />").append(n.options.customPaging.call(this,n,e)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),(e.options.centerMode===!0||e.options.swipeToSlide===!0)&&(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,n,o,s,r,a=this;if(n=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,o=Math.ceil(s.length/r),t=0;o>t;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var d=t*r+(e*a.options.slidesPerRow+i);s.get(d)&&c.appendChild(s.get(d))}
282l.appendChild(c)}
283n.appendChild(l)}
284a.$slider.empty().append(n),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var n,o,s,r=this,a=!1,l=r.$slider.width(),c=window.innerWidth||t(window).width();if("window"===r.respondTo?s=c:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(c,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){o=null;for(n in r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(r.originalSettings.mobileFirst===!1?s<r.breakpoints[n]&&(o=r.breakpoints[n]):s>r.breakpoints[n]&&(o=r.breakpoints[n]));null!==o?null!==r.activeBreakpoint?(o!==r.activeBreakpoint||i)&&(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=o),e||a===!1||r.$slider.trigger("breakpoint",[r,a])}},e.prototype.changeSlide=function(e,i){var n,o,s,r=this,a=t(e.currentTarget);switch(a.is("a")&&e.preventDefault(),a.is("li")||(a=a.closest("li")),s=r.slideCount%r.options.slidesToScroll!==0,n=s?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case "previous":o=0===n?r.options.slidesToScroll:r.options.slidesToShow-n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-o,!1,i);break;case "next":o=0===n?r.options.slidesToScroll:n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+o,!1,i);break;case "index":var l=0===e.data.index?0:e.data.index||a.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(l),!1,i),a.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i,n=this;if(e=n.getNavigableIndexes(),i=0,t>e[e.length-1])t=e[e.length-1];else for(var o in e){if(t<e[o]){t=i;break}
285i=e[o]}
286return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.slick",t.proxy(e.interrupt,e,!1)),e.$slider.off("focus.slick blur.slick"),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.
286slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&(t=e.$slides.children().children(),t.removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){var e=this;e.shouldClick===!1&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){t(this).attr("style",t(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;i.cssTransitions===!1?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;e.cssTransitions===!1?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(i){i.stopImmediatePropagation();var n=t(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=n.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var t=this;return t.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(t.options.infinite===!0)
287for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(t.options.centerMode===!0)n=t.slideCount;else if(t.options.asNavFor)
288for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},e.prototype.getLeft=function(t){var e,i,n,o=this,s=0;return o.slideOffset=0,i=o.$slides.first().outerHeight(!0),o.options.infinite===!0?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,s=i*o.options.slidesToShow*-1),o.slideCount%o.options.slidesToScroll!==0&&t+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(t>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(t-o.slideCount))*o.slideWidth*-1,s=(o.options.slidesToShow-(t-o.slideCount))*i*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,s=o.slideCount%o.options.slidesToScroll*i*-1))):t+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(t+o.options.slidesToShow-o.slideCount)*o.slideWidth,s=(t+o.options.slidesToShow-o.slideCount)*i),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,s=0),o.options.centerMode===!0&&o.options.infinite===!0?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:o.options.centerMode===!0&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),e=o.options.vertical===!1?t*o.slideWidth*-1+o.slideOffset:t*i*-1+s,o.options.variableWidth===!0&&(n=o.slideCount<=o.options.slidesToShow||o.options.infinite===!1?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow),e=o.options.rtl===!0?n[0]?-1*(o.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,o.options.centerMode===!0&&(n=o.slideCount<=o.options.slidesToShow||o.options.infinite===!1?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow+1),e=o.options.rtl===!0?n[0]?-1*(o.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(o.$list.width()-n.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){var e=this;return e.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,o=[];for(e.options.infinite===!1?t=e.slideCount:(i=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,t=2*e.slideCount);t>i;)o.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,n,o=this;return n=o.options.centerMode===!0?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,o.options.swipeToSlide===!0?(o.$slideTrack.find(".slick-slide").each(function(e,s){return s.offsetLeft-n+t(s).outerWidth()/2>-1*o.swipeLeft?(i=s,!1):void 0}),e=Math.abs(t(i).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){var i=this;
vendor: 2,339 bytes, line 288
288i.changeSlide({data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),i.options.accessibility===!0&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},e.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(i){t(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+i})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(i){t(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+i,id:"slick-slide"+e.instanceUid+i})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},e.prototype.initArrowEvents=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
vendor: 1,462 bytes, line 288
288,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:e.options.rtl===!0?"next":"previous"}}):39===t.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:e.options.rtl===!0?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each(function(){var e=t(this),i=t(this).attr("data-lazy"),n=document.createElement("img");n.onload=function(){e.animate({opacity:0}
288,100,function(){e.attr("src",i).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,e,i])})},n.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,i])},n.src=i})}
289var i,n,o,s,r=this;r.options.centerMode===!0?r.options.infinite===!0?(o=r.currentSlide+(r.options.slidesToShow/2+1),s=o+r.options.slidesToShow+2):(o=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),s=2+(r.options.slidesToShow/2+1)+r.currentSlide):(o=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,s=Math.ceil(o+r.options.slidesToShow),r.options.fade===!0&&(o>0&&o--,s<=r.slideCount&&s++)),i=r.$slider.find(".slick-slide").slice(o,s),e(i),r.slideCount<=r.options.slidesToShow?(n=r.$slider.find(".slick-slide"),e(n)):r.currentSlide>=r.slideCount-r.options.slidesToShow?(n=r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow),e(n)):0===r.currentSlide&&(n=r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow),e(n))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var t=this;t.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var t=this;t.checkResponsive(),t.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear(),t.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},e.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),e.options.accessibility===!0&&e.initADA())},e.prototype.prev=e.prototype.slickPrev=function(){var t=this;t.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var i,n,o,s=this,r=t("img[data-lazy]",s.$slider);r.length?(i=r.first(),n=i.attr("data-lazy"),o=document.createElement("img"),o.onload=function(){i.attr("src",n).removeAttr("data-lazy").removeClass("slick-loading"),s.options.adaptiveHeight===!0&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,i,n]),s.progressiveLazyLoad()},o.onerror=function(){3>e?setTimeout(function(){s.progressiveLazyLoad(e+1)},500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,i,n]),s.progressiveLazyLoad())},o.src=n):s.$slider.trigger("allImagesLoaded",[s])},e.prototype.refresh=function(e){var i,n,o=this;n=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>n&&(o.currentSlide=n),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),i=o.currentSlide,o.destroy(!0),t.extend(o,o.initials,{currentSlide:i}),o.init(),e||o.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,n,o=this,s=o.options.responsive||null;if("array"===t.type(s)&&s.length){o.respondTo=o.options.respondTo||"window";for(e in s)
290if(n=o.breakpoints.length-1,i=s[e].breakpoint,s.hasOwnProperty(e)){for(;n>=0;)o.breakpoints[n]&&o.breakpoints[n]===i&&o.breakpoints.splice(n,1),n--;o.breakpoints.push(i),o.breakpointSettings[i]=s[e].settings}
291o.breakpoints.sort(function(t,e){return o.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))}
vendor: 6,568 bytes, lines 291-294
291,e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var n=this;return "boolean"==typeof t?(e=t,t=e===!0?0:n.slideCount-1):t=e===!0?--t:t,!(n.slideCount<1||0>t||t>n.slideCount-1)&&(n.unload(),i===!0?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(t).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,void n.reinit())},e.prototype.setCSS=function(t){var e,i,n=this,o={};n.options.rtl===!0&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,n.transformsEnabled===!1?n.$slideTrack.css(o):(o={},n.cssTransitions===!1?(o[n.animType]="translate("+e+", "+i+")",n.$slideTrack.css(o)):(o[n.animType]="translate3d("+e+", "+i+", 0px)",n.$slideTrack.css(o)))},e.prototype.setDimensions=function(){var t=this;t.options.vertical===!1?t.options.centerMode===!0&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),t.options.centerMode===!0&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),t.options.vertical===!1&&t.options.variableWidth===!1?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):t.options.variableWidth===!0?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();t.options.variableWidth===!1&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each(function(n,o){e=i.slideWidth*n*-1,i.options.rtl===!0?t(o).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}):t(o).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,i,n,o,s,r=this,a=!1;if("object"===t.type(arguments[0])?(n=arguments[0],a=arguments[1],s="multiple"):"string"===t.type(arguments[0])&&(n=arguments[0],o=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?s="responsive":"undefined"!=typeof arguments[1]&&(s="single")),"single"===s)r.options[n]=o;else if("multiple"===s)t.each(n,function(t,e){r.options[t]=e});else if("responsive"===s)
292for(i in o)
293if("array"!==t.type(r.options.responsive))r.options.responsive=[o[i]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===o[i].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(o[i])}
294a&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),t.options.fade===!1?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=t.options.vertical===!0?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),(void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.msTransition)&&t.options.useCSS===!0&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&t.animType!==!1&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&t.animType!==!1},e.prototype.setSlideClasses=function(t){var e,i,n,o,s=this;i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(t).addClass("slick-current"),s.options.centerMode===!0?(e=Math.floor(s.options.slidesToShow/2),s.options.infinite===!0&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=s.options.slidesToShow+t,i.slice(n-e+1,n+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")):t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=s.slideCount%s.options.slidesToShow,n=s.options.infinite===!0?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?i.slice(n-(s.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===s.options.lazyLoad&&s.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,n,o=this;if(o.options.fade===!0&&(o.options.centerMode=!1),o.options.infinite===!0&&o.options.fade===!1&&(i=null,o.slideCount>o.options.slidesToShow)){for(n=o.options.centerMode===!0?o.options.slidesToShow+1:o.options.slidesToShow,e=o.slideCount;e>o.slideCount-n;e-=1)i=e-1,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(e=0;
294n>e;e+=1)i=e,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.interrupt=function(t){var e=this;t||e.autoPlay(),e.interrupted=t},e.prototype.selectHandler=function(e){var i=this,n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),o=parseInt(n.attr("data-slick-index"));return o||(o=0),i.slideCount<=i.options.slidesToShow?(i.setSlideClasses(o),void i.asNavFor(o)):void i.slideHandler(o)},e.prototype.slideHandler=function(t,e,i){var n,o,s,r,a,l=null,c=this;return e=e||!1,c.animating===!0&&c.options.waitForAnimate===!0||c.options.fade===!0&&c.currentSlide===t||c.slideCount<=c.options.slidesToShow?void 0:(e===!1&&c.asNavFor(t),n=t,l=c.getLeft(n),r=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?r:c.swipeLeft,c.options.infinite===!1&&c.options.centerMode===!1&&(0>t||t>c.getDotCount()*c.options.slidesToScroll)?void(c.options.fade===!1&&(n=c.currentSlide,i!==!0?c.animateSlide(r,function(){c.postSlide(n)}):c.postSlide(n))):c.options.infinite===!1&&c.options.centerMode===!0&&(0>t||t>c.slideCount-c.options.slidesToScroll)?void(c.options.fade===!1&&(n=c.currentSlide,i!==!0?c.animateSlide(r,function(){c.postSlide(n)}):c.postSlide(n))):(c.options.autoplay&&clearInterval(c.autoPlayTimer),o=0>n?c.slideCount%c.options.slidesToScroll!==0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!==0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,o]),s=c.currentSlide,c.currentSlide=o,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(a=c.getNavTarget(),a=a.slick("getSlick"),a.slideCount<=a.options.slidesToShow&&a.setSlideClasses(c.currentSlide)),c.updateDots(),c.updateArrows(),c.options.fade===!0?(i!==!0?(c.fadeSlideOut(s),c.fadeSlide(o,function(){c.postSlide(o)})):c.postSlide(o),void c.animateHeight()):void(i!==!0?c.animateSlide(l,function(){c.postSlide(o)}):c.postSlide(o))))},e.prototype.startLoad=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,n,o=this;return t=o.touchObject.startX-o.touchObject.curX,e=o.touchObject.startY-o.touchObject.curY,i=Math.atan2(e,t),n=Math.round(180*i/Math.PI),0>n&&(n=360-Math.abs(n)),45>=n&&n>=0?o.options.rtl===!1?"left":"right":360>=n&&n>=315?o.options.rtl===!1?"left":"right":n>=135&&225>=n?o.options.rtl===!1?"right":"left":o.options.verticalSwiping===!0?n>=35&&135>=n?"down":"up":"vertical"},e.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return !1;if(n.touchObject.edgeHit===!0&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case "left":case "down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case "right":case "up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}
295"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(e.options.swipe===!1||"ontouchend" in document&&e.options.swipe===!1||e.options.draggable===!1&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case "start":e.swipeStart(t);break;case "move":e.swipeMove(t);break;case "end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,i,n,o,s,r=this;return s=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!r.dragging||s&&1!==s.length)&&(e=r.getLeft(r.currentSlide),r.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,r.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curX-r.touchObject.startX,2))),r.options.verticalSwiping===!0&&(r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curY-r.touchObject.startY,2)))),i=r.swipeDirection(),"vertical"!==i?(void 0!==t.originalEvent&&r.touchObject.swipeLength>4&&t.preventDefault(),o=(r.options.rtl===!1?1:-1)*(r.touchObject.curX>r.touchObject.startX?1:-1),r.options.verticalSwiping===!0&&(o=r.touchObject.curY>r.touchObject.startY?1:-1),n=r.touchObject.swipeLength,r.touchObject.edgeHit=!1,r.options.infinite===!1&&(0===r.currentSlide&&"right"===i||r.currentSlide>=r.getDotCount()&&"left"===i)&&(n=r.touchObject.swipeLength*r.options.edgeFriction,r.touchObject.edgeHit=!0),r.options.vertical===!1?r.swipeLeft=e+n*o:r.swipeLeft=e+n*(r.$list.height()/r.listWidth)*o,r.options.verticalSwiping===!0&&(r.swipeLeft=e+n*o),r.options.fade!==!0&&r.options.touchMove!==!1&&(r.animating===!0?(r.swipeLeft=null,!1):void r.setCSS(r.swipeLeft))):void 0)},e.prototype.swipeStart=function(t){var e,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?(i.touchObject={},!1):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(i.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
295,e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t,e=this;t=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},e.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,i,n=this,o=arguments[0],s=Array.prototype.slice.call(arguments,1),r=n.length;for(t=0;r>t;t++)
296if("object"==typeof o||"undefined"==typeof o?n[t].slick=new e(n[t],o):i=n[t].slick[o].apply(n[t].slick,s),"undefined"!=typeof i)return i;return n}}),!function(t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():window.noUiSlider=t()}(function(){"use strict";function t(t,e){var i=document.createElement("div");return c(i,e),t.appendChild(i),i}
297function e(t){return t.filter(function(t){return !this[t]&&(this[t]=!0)},{})}
298function i(t,e){return Math.round(t/e)*e}
299function n(t,e){var i=t.getBoundingClientRect(),n=t.ownerDocument,o=n.documentElement,s=h();return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(s.x=0),e?i.top+s.y-o.clientTop:i.left+s.x-o.clientLeft}
300function o(t){return "number"==typeof t&&!isNaN(t)&&isFinite(t)}
301function s(t,e,i){i>0&&(c(t,e),setTimeout(function(){d(t,e)},i))}
302function r(t){return Math.max(Math.min(t,100),0)}
303function a(t){return Array.isArray(t)?t:[t]}
304function l(t){t=String(t);var e=t.split(".");return e.length>1?e[1].length:0}
305function c(t,e){t.classList?t.classList.add(e):t.className+=" "+e}
306function d(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}
307function u(t,e){return t.classList?t.classList.contains(e):new RegExp("\\b"+e+"\\b").test(t.className)}
308function h(){var t=void 0!==window.pageXOffset,e="CSS1Compat"===(document.compatMode||""),i=t?window.pageXOffset:e?document.documentElement.scrollLeft:document.body.scrollLeft,n=t?window.pageYOffset:e?document.documentElement.scrollTop:document.body.scrollTop;return{x:i,y:n}}
309function p(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}
310function f(t,e){return 100/(e-t)}
311function m(t,e){return 100*e/(t[1]-t[0])}
312function g(t,e){return m(t,t[0]<0?e+Math.abs(t[0]):e-t[0])}
313function v(t,e){return e*(t[1]-t[0])/100+t[0]}
314function y(t,e){for(var i=1;t>=e[i];)i+=1;return i}
315function _(t,e,i){if(i>=t.slice(-1)[0])return 100;var n,o,s,r,a=y(i,t);return n=t[a-1],o=t[a],s=e[a-1],r=e[a],s+g([n,o],i)/f(s,r)}
316function b(t,e,i){if(i>=100)return t.slice(-1)[0];var n,o,s,r,a=y(i,e);return n=t[a-1],o=t[a],s=e[a-1],r=e[a],v([n,o],(i-s)*f(s,r))}
317function w(t,e,n,o){if(100===o)return o;var s,r,a=y(o,t);return n?(s=t[a-1],r=t[a],o-s>(r-s)/2?r:s):e[a-1]?t[a-1]+i(o-t[a-1],e[a-1]):o}
318function k(t,e,i){var n;if("number"==typeof e&&(e=[e]),"[object Array]"!==Object.prototype.toString.call(e))throw new Error("noUiSlider ("+U+"): 'range' contains invali
318d value.");if(n="min"===t?0:"max"===t?100:parseFloat(t),!o(n)||!o(e[0]))throw new Error("noUiSlider ("+U+"): 'range' value isn't numeric.");i.xPct.push(n),i.xVal.push(e[0]),n?i.xSteps.push(!isNaN(e[1])&&e[1]):isNaN(e[1])||(i.xSteps[0]=e[1]),i.xHighestCompleteStep.push(0)}
319function C(t,e,i){if(!e)return !0;i.xSteps[t]=m([i.xVal[t],i.xVal[t+1]],e)/f(i.xPct[t],i.xPct[t+1]);var n=(i.xVal[t+1]-i.xVal[t])/i.xNumSteps[t],o=Math.ceil(Number(n.toFixed(3))-1),s=i.xVal[t]+i.xNumSteps[t]*o;i.xHighestCompleteStep[t]=s}
320function x(t,e,i,n){this.xPct=[],this.xVal=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=e,this.direction=i;var o,s=[];for(o in t)t.hasOwnProperty(o)&&s.push([t[o],o]);for(s.length&&"object"==typeof s[0][0]?s.sort(function(t,e){return t[0][0]-e[0][0]}):s.sort(function(t,e){return t[0]-e[0]}),o=0;o<s.length;o++)k(s[o][1],s[o][0],this);for(this.xNumSteps=this.xSteps.slice(0),o=0;o<this.xNumSteps.length;o++)C(o,this.xNumSteps[o],this)}
321function S(t,e){if(!o(e))throw new Error("noUiSlider ("+U+"): 'step' is not numeric.");t.singleStep=e}
322function T(t,e){if("object"!=typeof e||Array.isArray(e))throw new Error("noUiSlider ("+U+"): 'range' is not an object.");if(void 0===e.min||void 0===e.max)throw new Error("noUiSlider ("+U+"): Missing 'min' or 'max' in 'range'.");if(e.min===e.max)throw new Error("noUiSlider ("+U+"): 'range' 'min' and 'max' cannot be equal.");t.spectrum=new x(e,t.snap,t.dir,t.singleStep)}
323function D(t,e){if(e=a(e),!Array.isArray(e)||!e.length)throw new Error("noUiSlider ("+U+"): 'start' option is incorrect.");t.handles=e.length,t.start=e}
324function $(t,e){if(t.snap=e,"boolean"!=typeof e)throw new Error("noUiSlider ("+U+"): 'snap' option must be a boolean.")}
325function E(t,e){if(t.animate=e,"boolean"!=typeof e)throw new Error("noUiSlider ("+U+"): 'animate' option must be a boolean.")}
326function M(t,e){if(t.animationDuration=e,"number"!=typeof e)throw new Error("noUiSlider ("+U+"): 'animationDuration' option must be a number.")}
327function P(t,e){var i,n=[!1];if("lower"===e?e=[!0,!1]:"upper"===e&&(e=[!1,!0]),e===!0||e===!1){for(i=1;i<t.handles;i++)n.push(e);n.push(!1)}else{if(!Array.isArray(e)||!e.length||e.length!==t.handles+1)throw new Error("noUiSlider ("+U+"): 'connect' option doesn't match handle count.");n=e}
328t.connect=n}
329function O(t,e){switch(e){case "horizontal":t.ort=0;break;case "vertical":t.ort=1;break;default:throw new Error("noUiSlider ("+U+"): 'orientation' option is invalid.")}}
330function I(t,e){if(!o(e))throw new Error("noUiSlider ("+U+"): 'margin' option must be numeric.");if(0!==e&&(t.margin=t.spectrum.getMargin(e),!t.margin))throw new Error("noUiSlider ("+U+"): 'margin' option is only supported on linear sliders.")}
331function L(t,e){if(!o(e))throw new Error("noUiSlider ("+U+"): 'limit' option must be numeric.");if(t.limit=t.spectrum.getMargin(e),!t.limit||t.handles<2)throw new Error("noUiSlider ("+U+"): 'limit' option is only supported on linear sliders with 2 or more handles.")}
332function A(t,e){if(!o(e))throw new Error("noUiSlider ("+U+"): 'padding' option must be numeric.");if(0!==e){if(t.padding=t.spectrum.getMargin(e),!t.padding)throw new Error("noUiSlider ("+U+"): 'padding' option is only supported on linear sliders.");if(t.padding<0)throw new Error("noUiSlider ("+U+"): 'padding' option must be a positive number.");if(t.padding>=50)throw new Error("noUiSlider ("+U+"): 'padding' option must be less than half the range.")}}
333function N(t,e){switch(e){case "ltr":t.dir=0;break;case "rtl":t.dir=1;break;default:throw new Error("noUiSlider ("+U+"): 'direction' option was not recognized.")}}
334function H(t,e){if("string"!=typeof e)throw new Error("noUiSlider ("+U+"): 'behaviour' must be a string containing options.");var i=e.indexOf("tap")>=0,n=e.indexOf("drag")>=0,o=e.indexOf("fixed")>=0,s=e.indexOf("snap")>=0,r=e.indexOf("hover")>=0;if(o){if(2!==t.handles)throw new Error("noUiSlider ("+U+"): 'fixed' behaviour must be used with 2 handles");I(t,t.start[1]-t.start[0])}
335t.events={tap:i||s,drag:n,fixed:o,snap:s,hover:r}}
336function z(t,e){if(e!==!1)
337if(e===!0){t.tooltips=[];for(var i=0;i<t.handles;i++)t.tooltips.push(!0)}else{if(t.tooltips=a(e),t.tooltips.length!==t.handles)throw new Error("noUiSlider ("+U+"): must pass a formatter for all handles.");t.tooltips.forEach(function(t){if("boolean"!=typeof t&&("object"!=typeof t||"function"!=typeof t.to))throw new Error("noUiSlider ("+U+"): 'tooltips' must be passed a formatter or 'false'.")})}}
338function j(t,e){if(t.format=e,"function"==typeof e.to&&"function"==typeof e.from)return !0;throw new Error("noUiSlider ("+U+"): 'format' requires 'to' and 'from' methods.")}
339function Y(t,e){if(void 0!==e&&"string"!=typeof e&&e!==!1)throw new Error("noUiSlider ("+U+"): 'cssPrefix' must be a string or `false`.");t.cssPrefix=e}
340function W(t,e){if(void 0!==e&&"object"!=typeof e)throw new Error("noUiSlider ("+U+"): 'cssClasse
340s' must be an object.");if("string"==typeof t.cssPrefix){t.cssClasses={};for(var i in e)e.hasOwnProperty(i)&&(t.cssClasses[i]=t.cssPrefix+e[i])}else t.cssClasses=e}
341function B(t,e){if(e!==!0&&e!==!1)throw new Error("noUiSlider ("+U+"): 'useRequestAnimationFrame' option should be true (default) or false.");t.useRequestAnimationFrame=e}
342function F(t){var e={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,format:V},i={step:{r:!1,t:S},start:{r:!0,t:D},connect:{r:!0,t:P},direction:{r:!0,t:N},snap:{r:!1,t:$},animate:{r:!1,t:E},animationDuration:{r:!1,t:M},range:{r:!0,t:T},orientation:{r:!1,t:O},margin:{r:!1,t:I},limit:{r:!1,t:L},padding:{r:!1,t:A},behaviour:{r:!0,t:H},format:{r:!1,t:j},tooltips:{r:!1,t:z},cssPrefix:{r:!1,t:Y},cssClasses:{r:!1,t:W},useRequestAnimationFrame:{r:!1,t:B}},n={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",ltr:"ltr",rtl:"rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},useRequestAnimationFrame:!0};
342Object.keys(i).forEach(function(o){if(void 0===t[o]&&void 0===n[o]){if(i[o].r)throw new Error("noUiSlider ("+U+"): '"+o+"' is required.");return !0}
343i[o].t(e,void 0===t[o]?n[o]:t[o])}),e.pips=t.pips;var o=[["left","top"],["right","bottom"]];return e.style=o[e.dir][e.ort],e.styleOposite=o[e.dir?0:1][e.ort],e}
344function q(i,o,l){function f(e,i){var n=t(e,o.cssClasses.origin),s=t(n,o.cssClasses.handle);return s.setAttribute("data-handle",i),0===i?c(s,o.cssClasses.handleLower):i===o.handles-1&&c(s,o.cssClasses.handleUpper),n}
345function m(e,i){return !!i&&t(e,o.cssClasses.connect)}
346function g(t,e){it=[],nt=[],nt.push(m(e,t[0]));for(var i=0;i<o.handles;i++)it.push(f(e,i)),lt[i]=i,nt.push(m(e,t[i+1]))}
347function v(e){c(e,o.cssClasses.target),0===o.dir?c(e,o.cssClasses.ltr):c(e,o.cssClasses.rtl),0===o.ort?c(e,o.cssClasses.horizontal):c(e,o.cssClasses.vertical),et=t(e,o.cssClasses.base)}
348function y(e,i){return !!o.tooltips[i]&&t(e.firstChild,o.cssClasses.tooltip)}
349function _(){var t=it.map(y);K("update",function(e,i,n){if(t[i]){var s=e[i];o.tooltips[i]!==!0&&(s=o.tooltips[i].to(n[i])),t[i].innerHTML=s}})}
350function b(t,e,i){if("range"===t||"steps"===t)return dt.xVal;if("count"===t){if(!e)throw new Error("noUiSlider ("+U+"): 'values' required for mode 'count'.");var n,o=100/(e-1),s=0;for(e=[];(n=s++*o)<=100;)e.push(n);t="positions"}
351return "positions"===t?e.map(function(t){return dt.fromStepping(i?dt.getStep(t):t)}):"values"===t?i?e.map(function(t){return dt.fromStepping(dt.getStep(dt.toStepping(t)))}):e:void 0}
352function w(t,i,n){function o(t,e){return(t+e).toFixed(7)/1}
353var s={},r=dt.xVal[0],a=dt.xVal[dt.xVal.length-1],l=!1,c=!1,d=0;return n=e(n.slice().sort(function(t,e){return t-e})),n[0]!==r&&(n.unshift(r),l=!0),n[n.length-1]!==a&&(n.push(a),c=!0),n.forEach(function(e,r){var a,u,h,p,f,m,g,v,y,_,b=e,w=n[r+1];if("steps"===i&&(a=dt.xNumSteps[r]),a||(a=w-b),b!==!1&&void 0!==w)
354for(a=Math.max(a,1e-7),u=b;u<=w;u=o(u,a)){for(p=dt.toStepping(u),f=p-d,v=f/t,y=Math.round(v),_=f/y,h=1;h<=y;h+=1)m=d+h*_,s[m.toFixed(5)]=["x",0];g=n.indexOf(u)>-1?1:"steps"===i?2:0,!r&&l&&(g=0),u===w&&c||(s[p.toFixed(5)]=[u,g]),d=p}}),s}
355function k(t,e,i){function n(t,e){var i=e===o.cssClasses.value,n=i?h:p,s=i?d:u;return e+" "+n[o.ort]+" "+s[t]}
356function s(t,e,i){return 'class="'+n(i[1],e)+'" style="'+o.style+": "+t+'%"'}
357function r(t,n){n[1]=n[1]&&e?e(n[0],n[1]):n[1],l+="<div "+s(t,o.cssClasses.marker,n)+"></div>",n[1]&&(l+="<div "+s(t,o.cssClasses.value,n)+">"+i.to(n[0])+"</div>")}
358var a=document.createElement("div"),l="",d=[o.cssClasses.valueNormal,o.cssClasses.valueLarge,o.cssClasses.valueSub],u=[o.cssClasses.markerNormal,o.cssClasses.markerLarge,o.cssClasses.markerSub],h=[o.cssClasses.valueHorizontal,o.cssClasses.valueVertical],p=[o.cssClasses.markerHorizontal,o.cssClasses.markerVertical];return c(a,o.cssClasses.pips),c(a,0===o.ort?o.cssClasses.pipsHorizontal:o.cssClasses.pipsVertical),Object.keys(t).forEach(function(e){r(e,t[e])}),a.innerHTML=l,a}
359function C(t){var e=t.mode,i=t.density||1,n=t.filter||!1,o=t.values||!1,s=t.stepped||!1,r=b(e,o,s),a=w(i,e,r),l=t.format||{to:Math.round};return rt.appendChild(k(a,n,l))}
360function x(){var t=et.getBoundingClientRect(),e="offset"+["Width","Height"][o.ort];return 0===o.ort?t.width||et[e]:t.height||et[e]}
361function S(t,e,i,n){var s=function(e){return !rt.hasAttribute("disabled")&&!u(rt,o.cssClasses.tap)&&!!(e=T(e,n.pageOffset))&&!(t===st.start&&void 0!==e.buttons&&e.buttons>1)&&(!n.hover||!e.buttons)&&(e.calcPoint=e.points[o.ort],void i(e,n))},r=[];return t.split(" ").forEach(function(t){e.addEventListener(t,s,!1),r.push([t,s])}),r}
362function T(t,e){t.preventDefault();var i,n,o=0===t.type.indexOf("touch"),s=0===t.type.indexOf("mouse"),r=0===t.type.indexOf("pointer");if(0===t.type.indexOf("MSPointer")&&(r=!0),o){if(t.touches.length>1)return !1;i=t.changedTouches[0].pageX,n=t.changedTouches[0].pageY}
363return e=e||h(),(s||r)&&(i=t.clientX+e.x,n=t.clientY+e.y),t.pageOffset=e,t.points=[i,n],t.cursor=s||r,t}
364function D(t){var e=t-n(et,o.ort),i=100*e/x();return o.dir?100-i:i}
365function $(t){var e=100,i=!1;return it.forEach(function(n,o){if(!n.hasAttribute("disabled")){var s=Math.abs(at[o]-t);s<e&&(i=o,e=s)}}),i}
366function E(t,e,i,n){var o=i.slice(),s=[!t,t],r=[t,!t];n=n.slice(),t&&n.reverse(),n.length>1?n.forEach(function(t,i){var n=z(o,t,o[t]+e,s[i],r[i]);n===!1?e=0:(e=n-o[t],o[t]=n)}):s=r=[!0];var a=!1;n.forEach(function(t,n){a=B(t,i[t]+e,s[n],r[n])||a}),a&&n.forEach(function(t){M("update",t),M("slide",t)})}
367function M(t,e,i){Object.keys(ht).forEach(function(n){var s=n.split(".")[0];t===s&&ht[n].forEach(function(t){t.call(ot,ut.map(o.format.to),e,ut.slice(),i||!1,at.slice())})})}
368function P(t,e){"mouseout"===t.type&&"HTML"===t.target.nodeName&&null===t.relatedTarget&&I(t,e)}
369function O(t,e){if(navigator.appVersion.indexOf("MSIE 9")===-1&&0===t.buttons&&0!==e.buttonsProperty)return I(t,e);var i=(o.dir?-1:1)*(t.calcPoint-e.startCalcPoint),n=100*i/e.baseSize;E(i>0,n,e.locations,e.handleNumbers)}
370function I(t,e){ct&&(d(ct,o.cssClasses.active),ct=!1),t.cursor&&(document.body.style.cursor="",document.body.removeEventListener("selectstart",document.body.noUiListener)),document.documentElement.noUiListeners.forEach(function(t){document.documentElement.removeEventListener(t[0],t[1])}),d(rt,o.cssClasses.drag),W(),e.handleNumbers.forEach(function(t){M("set",t),M("change",t),M("end",t)})}
371function L(t,e){if(1===e.handleNumbers.length){var i=it[e.handleNumbers[0]];if(i.hasAttribute("disabled"))return !1;ct=i.children[0],c(ct,o.cssClasses.active)}
372t.preventDefault(),t.stopPropagation();var n=S(st.move,document.documentElement,O,{startCalcPoint:t.calcPoint,baseSize:x(),pageOffset:t.pageOffset,handleNumbers:e.handleNumbers,buttonsProperty:t.buttons,locations:at.slice()}),s=S(st.end,document.documentElement,I,{handleNumbers:e.handleNumbers}),r=S("mouseout",document.documentElement,P,{handleNumbers:e.handleNumbers});if(document.documentElement.noUiListeners=n.concat(s,r),t.cursor){document.body.style.cursor=getComputedStyle(t.target).cursor,it.length>1&&c(rt,o.cssClasses.drag);var a=function(){return !1};document.body.noUiListener=a,document.body.addEventListener("selectstart",a,!1)}
373e.handleNumbers.forEach(function(t){M("start",t)})}
374function A(t){t.stopPropagation();var e=D(t.calcPoint),i=$(e);
374return i!==!1&&(o.events.snap||s(rt,o.cssClasses.tap,o.animationDuration),B(i,e,!0,!0),W(),M("slide",i,!0),M("set",i,!0),M("change",i,!0),M("update",i,!0),void(o.events.snap&&L(t,{handleNumbers:[i]})))}
375function N(t){var e=D(t.calcPoint),i=dt.getStep(e),n=dt.fromStepping(i);Object.keys(ht).forEach(function(t){"hover"===t.split(".")[0]&&ht[t].forEach(function(t){t.call(ot,n)})})}
376function H(t){t.fixed||it.forEach(function(t,e){S(st.start,t.children[0],L,{handleNumbers:[e]})}),t.tap&&S(st.start,et,A,{}),t.hover&&S(st.move,et,N,{hover:!0}),t.drag&&nt.forEach(function(e,i){if(e!==!1&&0!==i&&i!==nt.length-1){var n=it[i-1],s=it[i],r=[e];c(e,o.cssClasses.draggable),t.fixed&&(r.push(n.children[0]),r.push(s.children[0])),r.forEach(function(t){S(st.start,t,L,{handles:[n,s],handleNumbers:[i-1,i]})})}})}
377function z(t,e,i,n,s){return it.length>1&&(n&&e>0&&(i=Math.max(i,t[e-1]+o.margin)),s&&e<it.length-1&&(i=Math.min(i,t[e+1]-o.margin))),it.length>1&&o.limit&&(n&&e>0&&(i=Math.min(i,t[e-1]+o.limit)),s&&e<it.length-1&&(i=Math.max(i,t[e+1]-o.limit))),o.padding&&(0===e&&(i=Math.max(i,o.padding)),e===it.length-1&&(i=Math.min(i,100-o.padding))),i=dt.getStep(i),i=r(i),i!==t[e]&&i}
378function j(t){return t+"%"}
379function Y(t,e){at[t]=e,ut[t]=dt.fromStepping(e);var i=function(){it[t].style[o.style]=j(e),q(t),q(t+1)};window.requestAnimationFrame&&o.useRequestAnimationFrame?window.requestAnimationFrame(i):i()}
380function W(){lt.forEach(function(t){var e=at[t]>50?-1:1,i=3+(it.length+e*t);it[t].childNodes[0].style.zIndex=i})}
381function B(t,e,i,n){return e=z(at,t,e,i,n),e!==!1&&(Y(t,e),!0)}
382function q(t){if(nt[t]){var e=0,i=100;0!==t&&(e=at[t-1]),t!==nt.length-1&&(i=at[t]),nt[t].style[o.style]=j(e),nt[t].style[o.styleOposite]=j(100-i)}}
383function R(t,e){null!==t&&t!==!1&&("number"==typeof t&&(t=String(t)),t=o.format.from(t),t===!1||isNaN(t)||B(e,dt.toStepping(t),!1,!1))}
384function V(t,e){var i=a(t),n=void 0===at[0];e=void 0===e||!!e,i.forEach(R),o.animate&&!n&&s(rt,o.cssClasses.tap,o.animationDuration),lt.forEach(function(t){B(t,at[t],!0,!1)}),W(),lt.forEach(function(t){M("update",t),null!==i[t]&&e&&M("set",t)})}
385function G(t){V(o.start,t)}
386function X(){var t=ut.map(o.format.to);return 1===t.length?t[0]:t}
387function Z(){for(var t in o.cssClasses)o.cssClasses.hasOwnProperty(t)&&d(rt,o.cssClasses[t]);for(;rt.firstChild;)rt.removeChild(rt.firstChild);delete rt.noUiSlider}
388function Q(){return at.map(function(t,e){var i=dt.getNearbySteps(t),n=ut[e],o=i.thisStep.step,s=null;o!==!1&&n+o>i.stepAfter.startValue&&(o=i.stepAfter.startValue-n),s=n>i.thisStep.startValue?i.thisStep.step:i.stepBefore.step!==!1&&n-i.stepBefore.highestStep,100===t?o=null:0===t&&(s=null);var r=dt.countStepDecimals();return null!==o&&o!==!1&&(o=Number(o.toFixed(r))),null!==s&&s!==!1&&(s=Number(s.toFixed(r))),[s,o]})}
389function K(t,e){ht[t]=ht[t]||[],ht[t].push(e),"update"===t.split(".")[0]&&it.forEach(function(t,e){M("update",e)})}
390function J(t){var e=t&&t.split(".")[0],i=e&&t.substring(e.length);Object.keys(ht).forEach(function(t){var n=t.split(".")[0],o=t.substring(n.length);e&&e!==n||i&&i!==o||delete ht[t]})}
391function tt(t,e){var i=X(),n=["margin","limit","padding","range","animate","snap","step","format"];n.forEach(function(e){void 0!==t[e]&&(l[e]=t[e])});var s=F(l);n.forEach(function(e){void 0!==t[e]&&(o[e]=s[e])}),s.spectrum.direction=dt.direction,dt=s.spectrum,o.margin=s.margin,o.limit=s.limit,o.padding=s.padding,at=[],V(t.start||i,e)}
392var et,it,nt,ot,st=p(),rt=i,at=[],lt=[],ct=!1,dt=o.spectrum,ut=[],ht={};if(rt.noUiSlider)throw new Error("noUiSlider ("+U+"): Slider was already initialized.");return v(rt),g(o.connect,et),ot={destroy:Z,steps:Q,on:K,off:J,get:X,set:V,reset:G,__moveHandles:function(t,e,i){E(t,e,at,i)},options:l,updateOptions:tt,target:rt,pips:C},H(o.events),V(o.start),o.pips&&C(o.pips),o.tooltips&&_(),ot}
393function R(t,e){if(!t.nodeName)throw new Error("noUiSlider ("+U+"): create requires a single element.");var i=F(e,t),n=q(t,i,e);return t.noUiSlider=n,n}
394var U="9.2.0";x.prototype.getMargin=function(t){var e=this.xNumSteps[0];if(e&&t/e%1!==0)throw new Error("noUiSlider ("+U+"): 'limit', 'margin' and 'padding' must be divisible by step.");return 2===this.xPct.length&&m(this.xVal,t)},x.prototype.toStepping=function(t){return t=_(this.xVal,this.xPct,t)},x.prototype.fromStepping=function(t){return b(this.xVal,this.xPct,t)},x.prototype.getStep=function(t){return t=w(this.xPct,this.xSteps,this.snap,t)},x.prototype.getNearbySteps=function(t){var e=y(t,this.xPct);return{stepBefore:{startValue:this.xVal[e-2],step:this.xNumSteps[e-2],highestStep:this.xHighestCompleteStep[e-2]},thisStep:{startValue:this.xVal[e-1],step:this.xNumSteps[e-1],highestStep:this.xHighestCompleteStep[e-1]},stepAfter:{startValue:this.xVal[e-0],step:this.xNumSteps[e-0],highestStep:this.xHighestCompleteStep[e-0]}}},x.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(l);return Math.max.apply(null,t)},x.prototype.convert=function(t){return this.getStep(this.toStepping(t))};var V={to:function(t){return void 0!==t&&t.toFixed(2)},from:Number};return{version:U,create:R}}),!function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(this,function(t){function e(t){this.$container,this.constraints=null,this.__$tooltip,this.__init(t)}
395function i(e,i){var n=!0;return t.each(e,function(t,o){return void 0===i[t]||e[t]!==i[t]?(n=!1,!1):void 0}),n}
396function n(e){var i=e.attr("id"),n=i?a.window.document.getElementById(i):null;return n?n===e[0]:t.contains(a.window.document.body,e[0])}
397function o(){if(!r)return !1;var t=r.document.body||r.document.documentElement,e=t.style,i="transition",n=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof e[i])return !0;i=i.charAt(0).toUpperCase()+i.substr(1);for(var o=0;o<n.length;o++)
398if("string"==typeof e[n[o]+i])return !0;return !1}
399var s={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},r="undefined"!=typeof window?window:null,a={hasTouchCapability:!(!r||!("ontouchstart" in r||r.DocumentTouch&&r.document instanceof r.DocumentTouch||r.navigator.maxTouchPoints)),hasTransitions:o(),IE:!1,semVer:"4.2.2",window:r},l=function(){this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__instancesLatestArr=[],this.__plugins={},this._env=a};l.prototype={__bridge:function(e,i,n){if(!i[n]){var o=function(){};o.prototype=e;var r=new o;r.__init&&r.__init(i),t.each(e,function(t,e){0!=t.indexOf("__")&&(i[t]?s.debug&&console.log("The "+t+" method of the "+n+" plugin conflicts with another plugin or native methods"):(i[t]=function(){return r[t].apply(r,Array.prototype.slice.apply(arguments))},i[t].bridged=r))}),i[n]=r}
400return this},__setWindow:function(t){return a.window=t,this},_getRuler:function(t){return new e(t)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(e){var i=this;if("string"==typeof e){var n=e,o=null;return n.indexOf(".")>0?o=i.__plugins[n]:t.each(i.__plugins,function(t,e){return e.name.substring(e.name.length-n.length-1)=="."+n?(o=e,!1):void 0}),o}
401if(e.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return i.__plugins[e.name]=e,e.core&&i.__bridge(e.core,i,e.name),this},_trigger:function(){var t=Array.prototype.slice.apply(arguments);return "string"==typeof t[0]&&(t[0]={type:t[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,t),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,t),this},instances:function(e){var i=[],n=e||".tooltipstered";return t(n).each(function(){var e=t(this),n=e.data("tooltipster-ns");n&&t.each(n,function(t,n){i.push(e.data(n))})}),i},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(e){var i=e?e+" ":"";return t(i+".tooltipstered").toArray()},setDefaults:function(e){return t.extend(s,e),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.tooltipster=new l,t.Tooltipster=function(e,i){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(e,i)},t.Tooltipster.prototype={__init:function(e,i){var n=this;if(n._$origin=t(e),n.__options=t.extend(!0,{},s,i),n.__optionsFormat(),!a.IE||a.IE>=n.__options.IEmin){var o=null;if(void 0===n._$origin.data("tooltipster-initialTitle")&&(o=n._$origin.attr("title"),void 0===o&&(o=null),n._$origin.data("tooltipster-initialTitle",o)),null!==n.__options.content)n.__contentSet(n.__options.content);else{var r,l=n._$origin.attr("data-tooltip-content");l&&(r=t(l)),r&&r[0]?n.__contentSet(r.first()):n.__contentSet(o)}
402n._$origin.removeAttr("title").addClass("tooltipstered"),n.__prepareOrigin(),n.__prepareGC(),t.each(n.__options.plugins,function(t,e){n._plug(e)}),a.hasTouchCapability&&t(a.window.document.body).on("touchmove."+n.__namespace+"-triggerOpen",function(t){n._touchRecordEvent(t)}),n._on("created",function(){n.__prepareTooltip()})._on("repositioned",function(t){n.__lastPosition=t.position})}else n.__options.disabled=!0},__contentInsert:function(){var t=this,e=t._$tooltip.find(".tooltipster-content"),i=t.__Content,n=function(t){i=t};return t._trigger({type:"format",content:t.__Content,format:n}),t.__options.functionFormat&&(i=t.__options.functionFormat.call(t,t,{origin:t._$origin[0]},t.__Content)),"string"!=typeof i||t.__options.contentAsHTML?e.empty().append(i):e.text(i),t},__contentSet:function(e){return e instanceof t&&this.__options.contentCloning&&(e=e.clone(!0)),this.__Content=e,this._trigger({type:"updated",content:e}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var e=this,i=e._$origin,n=e._$origin.is("area");if(n){var o=e._$origin.parent().attr("name");i=t('img[usemap="#'+o+'"]')}
403var s=i[0].getBoundingClientRect(),r=t(a.window.document),l=t(a.window),c=i,d={available:{document:null,window:null},document:{size:{height:r.height(),width:r.width()}},window:{scroll:{left:a.window.scrollX||a.window.document.documentElement.scrollLeft,top:a.window.scrollY||a.window.document.documentElement.scrollTop},size:{height:l.height(),width:l.width()}},origin:{fixedLineage:!1,offset:{},size:{height:s.bottom-s.top,width:s.right-s.left}
vendor: 33,914 bytes, lines 403-443
403,usemapImage:n?i[0]:null,windowOffset:{bottom:s.bottom,left:s.left,right:s.right,top:s.top}}};if(n){var u=e._$origin.attr("shape"),h=e._$origin.attr("coords");if(h&&(h=h.split(","),t.map(h,function(t,e){h[e]=parseInt(t)})),"default"!=u)switch(u){case "circle":var p=h[0],f=h[1],m=h[2],g=f-m,v=p-m;d.origin.size.height=2*m,d.origin.size.width=d.origin.size.height,d.origin.windowOffset.left+=v,d.origin.windowOffset.top+=g;break;case "rect":var y=h[0],_=h[1],b=h[2],w=h[3];d.origin.size.height=w-_,d.origin.size.width=b-y,d.origin.windowOffset.left+=y,d.origin.windowOffset.top+=_;break;case "poly":for(var k=0,C=0,x=0,S=0,T="even",D=0;D<h.length;D++){var $=h[D];"even"==T?($>x&&(x=$,0===D&&(k=x)),k>$&&(k=$),T="odd"):($>S&&(S=$,1==D&&(C=S)),C>$&&(C=$),T="even")}
404d.origin.size.height=S-C,d.origin.size.width=x-k,d.origin.windowOffset.left+=k,d.origin.windowOffset.top+=C}}
405var E=function(t){d.origin.size.height=t.height,d.origin.windowOffset.left=t.left,d.origin.windowOffset.top=t.top,d.origin.size.width=t.width};for(e._trigger({type:"geometry",edit:E,geometry:{height:d.origin.size.height,left:d.origin.windowOffset.left,top:d.origin.windowOffset.top,width:d.origin.size.width}}),d.origin.windowOffset.right=d.origin.windowOffset.left+d.origin.size.width,d.origin.windowOffset.bottom=d.origin.windowOffset.top+d.origin.size.height,d.origin.offset.left=d.origin.windowOffset.left+d.window.scroll.left,d.origin.offset.top=d.origin.windowOffset.top+d.window.scroll.top,d.origin.offset.bottom=d.origin.offset.top+d.origin.size.height,d.origin.offset.right=d.origin.offset.left+d.origin.size.width,d.available.document={bottom:{height:d.document.size.height-d.origin.offset.bottom,width:d.document.size.width},left:{height:d.document.size.height,width:d.origin.offset.left},right:{height:d.document.size.height,width:d.document.size.width-d.origin.offset.right},top:{height:d.origin.offset.top,width:d.document.size.width}},d.available.window={bottom:{height:Math.max(d.window.size.height-Math.max(d.origin.windowOffset.bottom,0),0),width:d.window.size.width},left:{height:d.window.size.height,width:Math.max(d.origin.windowOffset.left,0)},right:{height:d.window.size.height,width:Math.max(d.window.size.width-Math.max(d.origin.windowOffset.right,0),0)},top:{height:Math.max(d.origin.windowOffset.top,0),width:d.window.size.width}};"html"!=c[0].tagName.toLowerCase();){if("fixed"==c.css("position")){d.origin.fixedLineage=!0;break}
406c=c.parent()}
407return d},__optionsFormat:function(){return "number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=t(a.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=t(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var e=this;return e.__options.selfDestruction?e.__garbageCollector=setInterval(function(){var i=(new Date).getTime();e.__touchEvents=t.grep(e.__touchEvents,function(t,e){return i-t.time>6e4}),n(e._$origin)||e.close(function(){e.destroy()})},2e4):clearInterval(e.__garbageCollector),e},__prepareOrigin:function(){var t=this;if(t._$origin.off("."+t.__namespace+"-triggerOpen"),a.hasTouchCapability&&t._$origin.on("touchstart."+t.__namespace+"-triggerOpen touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen",function(e){t._touchRecordEvent(e)}),t.__options.triggerOpen.click||t.__options.triggerOpen.tap&&a.hasTouchCapability){var e="";t.__options.triggerOpen.click&&(e+="click."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.tap&&a.hasTouchCapability&&(e+="touchend."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){t._touchIsMeaningfulEvent(e)&&t._open(e)})}
408if(t.__options.triggerOpen.mouseenter||t.__options.triggerOpen.touchstart&&a.hasTouchCapability){var e="";t.__options.triggerOpen.mouseenter&&(e+="mouseenter."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.touchstart&&a.hasTouchCapability&&(e+="touchstart."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){!t._touchIsTouchEvent(e)&&t._touchIsEmulatedEvent(e)||(t.__pointerIsOverOrigin=!0,t._openShortly(e))})}
409if(t.__options.triggerClose.mouseleave||t.__options.triggerClose.touchleave&&a.hasTouchCapability){var e="";t.__options.triggerClose.mouseleave&&(e+="mouseleave."+t.__namespace+"-triggerOpen "),t.__options.triggerClose.touchleave&&a.hasTouchCapability&&(e+="touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){t._touchIsMeaningfulEvent(e)&&(t.__pointerIsOverOrigin=!1)})}
410return t},__prepareTooltip:function(){var e=this,i=e.__options.interactive?"auto":"";return e._$tooltip.attr("id",e.__namespace).css({"pointer-events":i,zIndex:e.__options.zIndex}),t.each(e.__previousThemes,function(t,i){e._$tooltip.removeClass(i)}),t.each(e.__options.theme,function(t,i){e._$tooltip.addClass(i)}),e.__previousThemes=t.merge([],e.__options.theme),e},__scrollHandler:function(e){var i=this;if(i.__options.triggerClose.scroll)i._close(e);else if(n(i._$origin)&&n(i._$tooltip)){if(e.target===a.window.document)i.__Geometry.origin.fixedLineage||i.__options.repositionOnScroll&&i.reposition(e);else{var o=i.__geometry(),s=!1;if("fixed"!=i._$origin.css("position")&&i.__$originParents.each(function(e,i){var n=t(i),r=n.css("overflow-x"),a=n.css("overflow-y");if("visible"!=r||"visible"!=a){var l=i.getBoundingClientRect();if("visible"!=r&&(o.origin.windowOffset.left<l.left||o.origin.windowOffset.right>l.right))return s=!0,!1;if("visible"!=a&&(o.origin.windowOffset.top<l.top||o.origin.windowOffset.bottom>l.bottom))return s=!0,!1}
411return "fixed"!=n.css("position")&&void 0}),s)i._$tooltip.css("visibility","hidden");else if(i._$tooltip.css("visibility","visible"),i.__options.repositionOnScroll)i.reposition(e);else{var r=o.origin.offset.left-i.__Geometry.origin.offset.left,l=o.origin.offset.top-i.__Geometry.origin.offset.top;i._$tooltip.css({left:i.__lastPosition.coord.left+r,top:i.__lastPosition.coord.top+l})}}
412i._trigger({type:"scroll",event:e})}
413return i},__stateSet:function(t){return this.__state=t,this._trigger({type:"state",state:t}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,t.each(this.__timeouts.close,function(t,e){clearTimeout(e)}),this.__timeouts.close=[],this},__trackerStart:function(){var t=this,e=t._$tooltip.find(".tooltipster-content");return t.__options.trackTooltip&&(t.__contentBcr=e[0].getBoundingClientRect()),t.__tracker=setInterval(function(){if(n(t._$origin)&&n(t._$tooltip)){if(t.__options.trackOrigin){var o=t.__geometry(),s=!1;i(o.origin.size,t.__Geometry.origin.size)&&(t.__Geometry.origin.fixedLineage?i(o.origin.windowOffset,t.__Geometry.origin.windowOffset)&&(s=!0):i(o.origin.offset,t.__Geometry.origin.offset)&&(s=!0)),s||(t.__options.triggerClose.mouseleave?t._close():t.reposition())}
414if(t.__options.trackTooltip){var r=e[0].getBoundingClientRect();r.height===t.__contentBcr.height&&r.width===t.__contentBcr.width||(t.reposition(),t.__contentBcr=r)}}else t._close()},t.__options.trackerInterval),t},_close:function(e,i,n){var o=this,s=!0;if(o._trigger({type:"close",event:e,stop:function(){s=!1}}),s||n){i&&o.__callbacks.close.push(i),o.__callbacks.open=[],o.__timeoutsClear();var r=function(){t.each(o.__callbacks.close,function(t,i){i.call(o,o,{event:e,origin:o._$origin[0]})}),o.__callbacks.close=[]};if("closed"!=o.__state){var l=!0,c=new Date,d=c.getTime(),u=d+o.__options.animationDuration[1];if("disappearing"==o.__state&&u>o.__closingTime&&(l=!1),l){o.__closingTime=u,"disappearing"!=o.__state&&o.__stateSet("disappearing");var h=function(){clearInterval(o.__tracker),o._trigger({type:"closing",event:e}),o._$tooltip.off("."+o.__namespace+"-triggerClose").removeClass("tooltipster-dying"),t(a.window).off("."+o.__namespace+"-triggerClose"),o.__$originParents.each(function(e,i){t(i).off("scroll."+o.__namespace+"-triggerClose")}),o.__$originParents=null,t(a.window.document.body).off("."+o.__namespace+"-triggerClose"),o._$origin.off("."+o.__namespace+"-triggerClose"),o._off("dismissable"),o.__stateSet("closed"),o._trigger({type:"after",event:e}),o.__options.functionAfter&&o.__options.functionAfter.call(o,o,{event:e,origin:o._$origin[0]}),r()};a.hasTransitions?(o._$tooltip.css({"-moz-animation-duration":o.__options.animationDuration[1]+"ms","-ms-animation-duration":o.__options.animationDuration[1]+"ms","-o-animation-duration":o.__options.animationDuration[1]+"ms","-webkit-animation-duration":o.__options.animationDuration[1]+"ms","animation-duration":o.__options.animationDuration[1]+"ms","transition-duration":o.__options.animationDuration[1]+"ms"}),o._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),o.__options.animationDuration[1]>0&&o._$tooltip.delay(o.__options.animationDuration[1]),o._$tooltip.queue(h)):o._$tooltip.stop().fadeOut(o.__options.animationDuration[1],h)}}else r()}
415return o},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(e,i){var o=this;if(!o.__destroying&&n(o._$origin)&&o.__enabled){var s=!0;if("closed"==o.__state&&(o._trigger({type:"before",event:e,stop:function(){s=!1}}),s&&o.__options.functionBefore&&(s=o.__options.functionBefore.call(o,o,{event:e,origin:o._$origin[0]}))),s!==!1&&null!==o.__Content){i&&o.__callbacks.open.push(i),o.__callbacks.close=[],o.__timeoutsClear();var r,l=function(){"stable"!=o.__state&&o.__stateSet("stable"),t.each(o.__callbacks.open,function(t,e){e.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}),o.__callbacks.open=[]};if("closed"!==o.__state)r=0,"disappearing"===o.__state?(o.__stateSet("appearing"),a.hasTransitions?(o._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),o.__options.animationDuration[0]>0&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(l)):o._$tooltip.stop().fadeIn(l)):"stable"==o.__state&&l();else{if(o.__stateSet("appearing"),r=o.__options.animationDuration[0],o.__contentInsert(),o.reposition(e,!0),a.hasTransitions?(o._$tooltip.addClass("tooltipster-"+o.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":o.__options.animationDuration[0]+"ms","-ms-animation-duration":o.__options.animationDuration[0]+"ms","-o-animation-duration":o.__options.animationDuration[0]+"ms","-webkit-animation-duration":o.__options.animationDuration[0]+"ms","animation-duration":o.__options.animationDuration[0]+"ms","transition-duration":o.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=o.__state&&(o._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),o.__options.animationDuration[0]>0&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(l))},0)):o._$tooltip.css("display","none").fadeIn(o.__options.animationDuration[0],l),o.__trackerStart(),t(a.window).on("resize."+o.__namespace+"-triggerClose",function(e){var i=t(document.activeElement);(i.is("input")||i.is("textarea"))&&t.contains(o._$tooltip[0],i[0])||o.reposition(e)}).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)}),o.__$originParents=o._$origin.parents(),o.__$originParents.each(function(e,i){t(i).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)})}),o.__options.triggerClose.mouseleave||o.__options.triggerClose.touchleave&&a.hasTouchCapability){o._on("dismissable",function(t){t.dismissable?t.delay?(h=setTimeout(function(){o._close(t.event)},t.delay),o.__timeouts.close.push(h)):o._close(t):clearTimeout(h)});var c=o._$origin,d="",u="",h=null;o.__options.interactive&&(c=c.add(o._$tooltip)),o.__options.triggerClose.mouseleave&&(d+="mouseenter."+o.__namespace+"-triggerClose ",u+="mouseleave."+o.__namespace+"-triggerClose "),o.__options.triggerClose.touchleave&&a.hasTouchCapability&&(d+="touchstart."+o.__namespace+"-triggerClose",u+="touchend."+o.__namespace+"-triggerClose touchcancel."+o.__namespace+"-triggerClose"),c.on(u,function(t){if(o._touchIsTouchEvent(t)||!o._touchIsEmulatedEvent(t)){var e="mouseleave"==t.type?o.__options.delay:o.__options.delayTouch;o._trigger({delay:e[1],dismissable:!0,event:t,type:"dismissable"})}}).on(d,function(t){!o._touchIsTouchEvent(t)&&o._touchIsEmulatedEvent(t)||o._trigger({dismissable:!1,event:t,type:"dismissable"})})}
416o.__options.triggerClose.originClick&&o._$origin.on("click."+o.__namespace+"-triggerClose",function(t){o._touchIsTouchEvent(t)||o._touchIsEmulatedEvent(t)||o._close(t)}),(o.__options.triggerClose.click||o.__options.triggerClose.tap&&a.hasTouchCapability)&&setTimeout(function(){if("closed"!=o.__state){var e="",i=t(a.window.document.body);o.__options.triggerClose.click&&(e+="click."+o.__namespace+"-triggerClose "),o.__options.triggerClose.tap&&a.hasTouchCapability&&(e+="touchend."+o.__namespace+"-triggerClose"),i.on(e,function(e){o._touchIsMeaningfulEvent(e)&&(o._touchRecordEvent(e),o.__options.interactive&&t.contains(o._$tooltip[0],e.target)||o._close(e))}),o.__options.triggerClose.tap&&a.hasTouchCapability&&i.on("touchstart."+o.__namespace+"-triggerClose",function(t){o._touchRecordEvent(t)})}},0),o._trigger("ready"),o.__options.functionReady&&o.__options.functionReady.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}
417if(o.__options.timer>0){var h=setTimeout(function(){o._close()},o.__options.timer+r);o.__timeouts.close.push(h)}}}
418return o},_openShortly:function(t){var e=this,i=!0;if("stable"!=e.__state&&"appearing"!=e.__state&&!e.__timeouts.open&&(e._trigger({type:"start",event:t,stop:function(){i=!1}}),i)){var n=0==t.type.indexOf("touch")?e.__options.delayTouch:e.__options.delay;n[0]?e.__timeouts.open=setTimeout(function(){e.__timeouts.open=null,e.__pointerIsOverOrigin&&e._touchIsMeaningfulEvent(t)?(e._trigger("startend"),e._open(t)):e._trigger("startcancel")},n[0]):(e._trigger("startend"),e._open(t))}
419return e},_optionsExtract:function(e,i){var n=this,o=t.extend(!0,{},i),s=n.__options[e];return s||(s={},t.each(i,function(t,e){var i=n.__options[t];void 0!==i&&(s[t]=i)})),t.each(o,function(e,i){void 0!==s[e]&&("object"!=typeof i||i instanceof Array||null==i||"object"!=typeof s[e]||s[e]instanceof Array||null==s[e]?o[e]=s[e]:t.extend(o[e],s[e]))}),o},_plug:function(e){var i=t.tooltipster._plugin(e);if(!i)throw new Error('The "'+e+'" plugin is not defined');return i.instance&&t.tooltipster.__bridge(i.instance,this,i.name),this},_touchIsEmulatedEvent:function(t){for(var e=!1,i=(new Date).getTime(),n=this.__touchEvents.length-1;n>=0;n--){var o=this.__touchEvents[n];if(!(i-o.time<500))break;o.target===t.target&&(e=!0)}
420return e},_touchIsMeaningfulEvent:function(t){return this._touchIsTouchEvent(t)&&!this._touchSwiped(t.target)||!this._touchIsTouchEvent(t)&&!this._touchIsEmulatedEvent(t)},_touchIsTouchEvent:function(t){return 0==t.type.indexOf("touch")},_touchRecordEvent:function(t){return this._touchIsTouchEvent(t)&&(t.time=(new Date).getTime(),this.__touchEvents.push(t)),this},_touchSwiped:function(t){for(var e=!1,i=this.__touchEvents.length-1;i>=0;i--){var n=this.__touchEvents[i];if("touchmove"==n.type){e=!0;break}
421if("touchstart"==n.type&&t===n.target)break}
422return e},_trigger:function(){var e=Array.prototype.slice.apply(arguments);return "string"==typeof e[0]&&(e[0]={type:e[0]}),e[0].instance=this,e[0].origin=this._$origin?this._$origin[0]:null,e[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,e),t.tooltipster._trigger.apply(t.tooltipster,e),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,e),this},_unplug:function(e){var i=this;if(i[e]){var n=t.tooltipster._plugin(e);n.instance&&t.each(n.instance,function(t,n){i[t]&&i[t].bridged===i[e]&&delete i[t]}),i[e].__destroy&&i[e].__destroy(),delete i[e]}
423return i},close:function(t){return this.__destroyed?this.__destroyError():this._close(null,t),this},content:function(t){var e=this;if(void 0===t)return e.__Content;if(e.__destroyed)e.__destroyError();else if(e.__contentSet(t),null!==e.__Content){if("closed"!==e.__state&&(e.__contentInsert(),e.reposition(),e.__options.updateAnimation))
424if(a.hasTransitions){var i=e.__options.updateAnimation;e._$tooltip.addClass("tooltipster-update-"+i),setTimeout(function(){"closed"!=e.__state&&e._$tooltip.removeClass("tooltipster-update-"+i)},1e3)}else e._$tooltip.fadeTo(200,.5,function(){"closed"!=e.__state&&e._$tooltip.fadeTo(200,1)})}else e._close();return e},destroy:function(){var e=this;if(e.__destroyed)e.__destroyError();else{"closed"!=e.__state&&e.option("animationDuration",0)._close(null,null,!0),e._trigger("destroy"),e.__destroyed=!0,e._$origin.removeData(e.__namespace).off("."+e.__namespace+"-triggerOpen"),t(a.window.document.body).off("."+e.__namespace+"-triggerOpen");var i=e._$origin.data("tooltipster-ns");if(i)
425if(1===i.length){var n=null;"previous"==e.__options.restoration?n=e._$origin.data("tooltipster-initialTitle"):"current"==e.__options.restoration&&(n="string"==typeof e.__Content?e.__Content:t("<div></div>").append(e.__Content).html()),n&&e._$origin.attr("title",n),e._$origin.removeClass("tooltipstered"),e._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else i=t.grep(i,function(t,i){return t!==e.__namespace}),e._$origin.data("tooltipster-ns",i);e._trigger("destroyed"),e._off(),e.off(),e.__Content=null,e.__$emitterPrivate=null,e.__$emitterPublic=null,e.__options.parent=null,e._$origin=null,e._$tooltip=null,t.tooltipster.__instancesLatestArr=t.grep(t.tooltipster.__instancesLatestArr,function(t,i){return e!==t}),clearInterval(e.__garbageCollector)}
426return e},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(t){return this.close(t)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(t){return this.__destroyed?this.__destroyError():this._open(null,t),this},option:function(e,i){return void 0===i?this.__options[e]:(this.__destroyed?this.__destroyError():(this.__options[e]=i,this.__optionsFormat(),t.inArray(e,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===e&&this.__prepareGC()),this)},reposition:function(t,e){var i=this;return i.__destroyed?i.__destroyError():"closed"!=i.__state&&n(i._$origin)&&(e||n(i._$tooltip))&&(e||i._$tooltip.detach(),i.__Geometry=i.__geometry(),i._trigger({type:"reposition",event:t,helper:{geo:i.__Geometry}})),i},show:function(t){return this.open(t)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.fn.tooltipster=function(){var e=Array.prototype.slice.apply(arguments),i="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof e[0]){var n="#*$~&";return this.each(function(){var o=t(this).data("tooltipster-ns"),s=o?t(this).data(o[0]):null;if(!s)throw new Error("You called Tooltipster's \""+e[0]+'" method on an uninitialized element');if("function"!=typeof s[e[0]])throw new Error('Unknown method "'+e[0]+'"');this.length>1&&"content"==e[0]&&(e[1]instanceof t||"object"==typeof e[1]&&null!=e[1]&&e[1].tagName)&&!s.__options.contentCloning&&s.__options.debug&&console.log(i);var r=s[e[0]](e[1],e[2]);return r!==s||"instance"===e[0]?(n=r,!1):void 0}),"#*$~&"!==n?n:this}
427t.tooltipster.__instancesLatestArr=[];var o=e[0]&&void 0!==e[0].multiple,r=o&&e[0].multiple||!o&&s.multiple,a=e[0]&&void 0!==e[0].content,l=a&&e[0].content||!a&&s.content,c=e[0]&&void 0!==e[0].contentCloning,d=c&&e[0].contentCloning||!c&&s.contentCloning,u=e[0]&&void 0!==e[0].debug,h=u&&e[0].debug||!u&&s.debug;return this.length>1&&(l instanceof t||"object"==typeof l&&null!=l&&l.tagName)&&!d&&h&&console.log(i),this.each(function(){var i=!1,n=t(this),o=n.data("tooltipster-ns"),s=null;o?r?i=!0:h&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):i=!0,i&&(s=new t.Tooltipster(this,e[0]),o||(o=[]),o.push(s.__namespace),n.data("tooltipster-ns",o),n.data(s.__namespace,s),s.__options.functionInit&&s.__options.functionInit.call(s,s,{origin:this}),s._trigger("init")),t.tooltipster.__instancesLatestArr.push(s)}),this},e.prototype={__init:function(e){this.__$tooltip=e,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=t('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo(a.window.document.body)},__forceRedraw:function(){var t=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(t)},constrain:function(t,e){return this.constraints={width:t,height:e},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:t}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var t=this.__$tooltip[0].getBoundingClientRect(),e={size:{height:t.height||t.bottom,width:t.width||t.right}};if(this.constraints){var i=this.__$tooltip.find(".tooltipster-content"),n=this.__$tooltip.outerHeight(),o=i[0].getBoundingClientRect(),s={height:n<=this.constraints.height,width:t.width<=this.constraints.width&&o.width>=i[0].scrollWidth-1};e.fits=s.height&&s.width}
428return a.IE&&a.IE<=11&&e.size.width!==a.window.document.documentElement.clientWidth&&(e.size.width=Math.ceil(e.size.width)+1),e}};var c=navigator.userAgent.toLowerCase();-1!=c.indexOf("msie")?a.IE=parseInt(c.split("msie")[1]):-1!==c.toLowerCase().indexOf("trident")&&-1!==c.indexOf(" rv:11")?a.IE=11:-1!=c.toLowerCase().indexOf("edge/")&&(a.IE=parseInt(c.toLowerCase().split("edge/")[1]));var d="tooltipster.sideTip";return t.tooltipster._plugin({name:d,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(t){var e=this;e.__instance=t,e.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),e.__previousState="closed",e.__options,e.__optionsFormat(),e.__instance._on("state."+e.__namespace,function(t){"closed"==t.state?e.__close():"appearing"==t.state&&"closed"==e.__previousState&&e.__create(),e.__previousState=t.state}),e.__instance._on("options."+e.__namespace,function(){e.__optionsFormat()}),e.__instance._on("reposition."+e.__namespace,function(t){e.__reposition(t.event,t.helper)})},__close:function(){this.__instance.content()instanceof t&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var e=t('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');this.__options.arrow||e.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&e.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&e.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=e,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var e=this;if(e.__options=e.__instance._optionsExtract(d,e.__defaults()),e.__options.position&&(e.__options.side=e.__options.position),"object"!=typeof e.__options.distance&&(e.__options.distance=[e.__options.distance]),e.__options.distance.length<4&&(void 0===e.__options.distance[1]&&(e.__options.distance[1]=e.__options.distance[0]),void 0===e.__options.distance[2]&&(e.__options.distance[2]=e.__options.distance[0]),void 0===e.__options.distance[3]&&(e.__options.distance[3]=e.__options.distance[1]),e.__options.distance={top:e.__options.distance[0],right:e.__options.distance[1],bottom:e.__options.distance[2],left:e.__options.distance[3]}),"string"==typeof e.__options.side){var i={top:"bottom",right:"left",bottom:"top",left:"right"};e.__options.side=[e.__options.side,i[e.__options.side]],"left"==e.__options.side[0]||"right"==e.__options.side[0]?e.__options.side.push("top","bottom"):e.__options.side.push("right","left")}
4296===t.tooltipster._env.IE&&e.__options.arrow!==!0&&(e.__options.arrow=!1)},__reposition:function(e,i){var n,o=this,s=o.__targetFind(i),r=[];o.__instance._$tooltip.detach();var a=o.__instance._$tooltip.clone(),l=t.tooltipster._getRuler(a),c=!1,d=o.__instance.option("animation");switch(d&&a.removeClass("tooltipster-"+d),t.each(["window","document"],function(n,d){var u=null;if(o.__instance._trigger({container:d,helper:i,satisfied:c,takeTest:function(t){u=t},results:r,type:"positionTest"}),1==u||0!=u&&0==c&&("window"!=d||o.__options.viewportAware))
430for(var n=0;n<o.__options.side.length;n++){var h={horizontal:0,vertical:0},p=o.__options.side[n];"top"==p||"bottom"==p?h.vertical=o.__options.distance[p]:h.horizontal=o.__options.distance[p],o.__sideChange(a,p),t.each(["natural","constrained"],function(t,n){if(u=null,o.__instance._trigger({container:d,event:e,helper:i,mode:n,results:r,satisfied:c,side:p,takeTest:function(t){u=t},type:"positionTest"}),1==u||0!=u&&0==c){var a={container:d,distance:h,fits:null,mode:n,outerSize:null,side:p,size:null,target:s[p],whole:null},f="natural"==n?l.free():l.constrain(i.geo.available[d][p].width-h.horizontal,i.geo.available[d][p].height-h.vertical),m=f.measure();if(a.size=m.size,a.outerSize={height:m.size.height+h.vertical,width:m.size.width+h.horizontal},"natural"==n?i.geo.available[d][p].width>=a.outerSize.width&&i.geo.available[d][p].height>=a.outerSize.height?a.fits=!0:a.fits=!1:a.fits=m.fits,"window"==d&&(a.fits?"top"==p||"bottom"==p?a.whole=i.geo.origin.windowOffset.right>=o.__options.minIntersection&&i.geo.window.size.width-i.geo.origin.windowOffset.left>=o.__options.minIntersection:a.whole=i.geo.origin.windowOffset.bottom>=o.__options.minIntersection&&i.geo.window.size.height-i.geo.origin.windowOffset.top>=o.__options.minIntersection:a.whole=!1),r.push(a),a.whole)c=!0;else if("natural"==a.mode&&(a.fits||a.size.width<=i.geo.available[d][p].width))return !1}})}}),o.__instance._trigger({edit:function(t){r=t},event:e,helper:i,results:r,type:"positionTested"}),r.sort(function(t,e){if(t.whole&&!e.whole)return-1;if(!t.whole&&e.whole)return 1;if(t.whole&&e.whole){var i=o.__options.side.indexOf(t.side),n=o.__options.side.indexOf(e.side);return n>i?-1:i>n?1:"natural"==t.mode?-1:1}
431if(t.fits&&!e.fits)return-1;if(!t.fits&&e.fits)return 1;if(t.fits&&e.fits){var i=o.__options.side.indexOf(t.side),n=o.__options.side.indexOf(e.side);return n>i?-1:i>n?1:"natural"==t.mode?-1:1}
432return "document"==t.container&&"bottom"==t.side&&"natural"==t.mode?-1:1}),n=r[0],n.coord={},n.side){case "left":case "right":n.coord.top=Math.floor(n.target-n.size.height/2);break;case "bottom":case "top":n.coord.left=Math.floor(n.target-n.size.width/2)}
433switch(n.side){case "left":n.coord.left=i.geo.origin.windowOffset.left-n.outerSize.width;break;case "right":n.coord.left=i.geo.origin.windowOffset.right+n.distance.horizontal;break;case "top":n.coord.top=i.geo.origin.windowOffset.top-n.outerSize.height;break;case "bottom":n.coord.top=i.geo.origin.windowOffset.bottom+n.distance.vertical}
434"window"==n.container?"top"==n.side||"bottom"==n.side?n.coord.left<0?i.geo.origin.windowOffset.right-this.__options.minIntersection>=0?n.coord.left=0:n.coord.left=i.geo.origin.windowOffset.right-this.__options.minIntersection-1:n.coord.left>i.geo.window.size.width-n.size.width&&(i.geo.origin.windowOffset.left+this.__options.minIntersection<=i.geo.window.size.width?n.coord.left=i.geo.window.size.width-n.size.width:n.coord.left=i.geo.origin.windowOffset.left+this.__options.minIntersection+1-n.size.width):n.coord.top<0?i.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0?n.coord.top=0:n.coord.top=i.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:n.coord.top>i.geo.window.size.height-n.size.height&&(i.geo.origin.windowOffset.top+this.__options.minIntersection<=i.geo.window.size.height?n.coord.top=i.geo.window.size.height-n.size.height:n.coord.top=i.geo.origin.windowOffset.top+this.__options.minIntersection+1-n.size.height):(n.coord.left>i.geo.window.size.width-n.size.width&&(n.coord.left=i.geo.window.size.width-n.size.width),n.coord.left<0&&(n.coord.left=0)),o.__sideChange(a,n.side),i.tooltipClone=a[0],i.tooltipParent=o.__instance.option("parent").parent[0],i.mode=n.mode,i.whole=n.whole,i.origin=o.__instance._$origin[0],i.tooltip=o.__instance._$tooltip[0],delete n.container,delete n.fits,delete n.mode,delete n.outerSize,delete n.whole,n.distance=n.distance.horizontal||n.distance.vertical;var u=t.extend(!0,{},n);if(o.__instance._trigger({edit:function(t){n=t},event:e,helper:i,position:u,type:"position"}),o.__options.functionPosition){var h=o.__options.functionPosition.call(o,o.__instance,i,u);h&&(n=h)}
435l.destroy();var p,f;"top"==n.side||"bottom"==n.side?(p={prop:"left",val:n.target-n.coord.left},f=n.size.width-this.__options.minIntersection):(p={prop:"top",val:n.target-n.coord.top},f=n.size.height-this.__options.minIntersection),p.val<this.__options.minIntersection?p.val=this.__options.minIntersection:p.val>f&&(p.val=f);var m;m=i.geo.origin.fixedLineage?i.geo.origin.windowOffset:{left:i.geo.origin.windowOffset.left+i.geo.window.scroll.left,top:i.geo.origin.windowOffset.top+i.geo.window.scroll.top},n.coord={left:m.left+(n.coord.left-i.geo.origin.windowOffset.left),top:m.top+(n.coord.top-i.geo.origin.windowOffset.top)},o.__sideChange(o.__instance._$tooltip,n.side),i.geo.origin.fixedLineage?o.__instance._$tooltip.css("position","fixed"):o.__instance._$tooltip.css("position",""),o.__instance._$tooltip.css({left:n.coord.left,top:n.coord.top,height:n.size.height,width:n.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(p.prop,p.val),o.__instance._$tooltip.appendTo(o.__instance.option("parent")),o.__instance._trigger({type:"repositioned",event:e,position:n})},__sideChange:function(t,e){t.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+e)},__targetFind:function(t){var e={},i=this.__instance._$origin[0].getClientRects();if(i.length>1){var n=this.__instance._$origin.css("opacity");1==n&&(this.__instance._$origin.css("opacity",.99),i=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1))}
436if(i.length<2)e.top=Math.floor(t.geo.origin.windowOffset.left+t.geo.origin.size.width/2),e.bottom=e.top,e.left=Math.floor(t.geo.origin.windowOffset.top+t.geo.origin.size.height/2),e.right=e.left;else{var o=i[0];e.top=Math.floor(o.left+(o.right-o.left)/2),o=i.length>2?i[Math.ceil(i.length/2)-1]:i[0],e.right=Math.floor(o.top+(o.bottom-o.top)/2),o=i[i.length-1],e.bottom=Math.floor(o.left+(o.right-o.left)/2),o=i.length>2?i[Math.ceil((i.length+1)/2)-1]:i[i.length-1],e.left=Math.floor(o.top+(o.bottom-o.top)/2)}
437return e}}}),t}),!function(t,e){function i(t){return "object"==typeof t}
438function n(t){return "string"==typeof t}
439function o(t){return "number"==typeof t}
440function s(t){return t===e}
441function r(){z=google.maps,H||(H={verbose:!1,queryLimit:{attempt:5,delay:250,random:250},classes:function(){var e={};return t.each("Map Marker InfoWindow Circle Rectangle OverlayView StreetViewPanorama KmlLayer TrafficLayer TransitLayer BicyclingLayer GroundOverlay StyledMapType ImageMapType".split(" "),function(t,i){e[i]=z[i]}),e}(),map:{mapTypeId:z.MapTypeId.ROADMAP,center:[46.578498,2.457275],zoom:2},overlay:{pane:"floatPane",content:"",offset:{x:0,y:0}},geoloc:{getCurrentPosition:{maximumAge:6e4,timeout:5e3}}})}
442function a(t,e){return s(t)?"gmap3_"+(e?j+1:++j):t}
443function l(t){var e,i=z.version.split(".");for(t=t.split("."),e=0;e<i.length;e++)i[e]=parseInt(i[e],10);for(e=0;e<t.length;e++){if(t[e]=parseInt(t[e],10),!i.hasOwnProperty(e))return !1;
443if(i[e]<t[e])return !1}
444return !0}
445function c(e,i,n,o,s){function r(i,o){i&&t.each(i,function(t,i){var r=e,a=i;W(i)&&(r=i[0],a=i[1]),o(n,t,function(t){a.apply(r,[s||n,t,l])})})}
446var a=i.td||{},l={id:o,data:a.data,tag:a.tag};r(a.events,z.event.addListener),r(a.onces,z.event.addListenerOnce)}
447function d(t){var e,i=[];for(e in t)t.hasOwnProperty(e)&&i.push(e);return i}
448function u(t,e){var i,n=arguments;for(i=2;i<n.length;i++)
449if(e in n[i]&&n[i].hasOwnProperty(e))return void(t[e]=n[i][e])}
450function h(e,i){var n,o,s=["data","tag","id","events","onces"],r={};if(e.td)
451for(n in e.td)e.td.hasOwnProperty(n)&&"options"!==n&&"values"!==n&&(r[n]=e.td[n]);for(o=0;o<s.length;o++)u(r,s[o],i,e.td);return r.options=t.extend({},e.opts||{},i.options||{}),r}
452function p(){if(H.verbose){var t,e=[];if(window.console&&Y(console.error)){for(t=0;t<arguments.length;t++)e.push(arguments[t]);console.error.apply(console,e)}else{for(e="",t=0;t<arguments.length;t++)e+=arguments[t].toString()+" ";alert(e)}}}
453function f(t){return(o(t)||n(t))&&""!==t&&!isNaN(t)}
454function m(t){var e,n=[];if(!s(t))
455if(i(t))
456if(o(t.length))n=t;else for(e in t)n.push(t[e]);else n.push(t);return n}
457function g(e){return e?Y(e)?e:(e=m(e),function(n){var o;if(s(n))return !1;if(i(n)){for(o=0;o<n.length;o++)
458if(t.inArray(n[o],e)>=0)return !0;return !1}
459return t.inArray(n,e)>=0}):void 0}
460function v(t,e,i){var o=e?t:null;return !t||n(t)?o:t.latLng?v(t.latLng):t instanceof z.LatLng?t:f(t.lat)?new z.LatLng(t.lat,t.lng):!i&&W(t)&&f(t[0])&&f(t[1])?new z.LatLng(t[0],t[1]):o}
461function y(t){var e,i;return !t||t instanceof z.LatLngBounds?t||null:(W(t)?2===t.length?(e=v(t[0]),i=v(t[1])):4===t.length&&(e=v([t[0],t[1]]),i=v([t[2],t[3]])):"ne" in t&&"sw" in t?(e=v(t.ne),i=v(t.sw)):"n" in t&&"e" in t&&"s" in t&&"w" in t&&(e=v([t.n,t.e]),i=v([t.s,t.w])),e&&i?new z.LatLngBounds(i,e):null)}
462function _(t,e,i,o,s){var r=!!i&&v(o.td,!1,!0),a=r?{latLng:r}:!!o.td.address&&(n(o.td.address)?{address:o.td.address}:o.td.address),l=!!a&&F.get(a),c=this;a?(s=s||0,l?(o.latLng=l.results[0].geometry.location,o.results=l.results,o.status=l.status,e.apply(t,[o])):(a.location&&(a.location=v(a.location)),a.bounds&&(a.bounds=y(a.bounds)),C().geocode(a,function(n,r){r===z.GeocoderStatus.OK?(F.store(a,{results:n,status:r}),o.latLng=n[0].geometry.location,o.results=n,o.status=r,e.apply(t,[o])):r===z.GeocoderStatus.OVER_QUERY_LIMIT&&s<H.queryLimit.attempt?setTimeout(function(){_.apply(c,[t,e,i,o,s+1])},H.queryLimit.delay+Math.floor(Math.random()*H.queryLimit.random)):(p("geocode failed",r,a),o.latLng=o.results=!1,o.status=r,e.apply(t,[o]))}))):(o.latLng=v(o.td,!1,!0),e.apply(t,[o]))}
463function b(e,i,n,o){function s(){do a++;while(a<e.length&&!("address" in e[a]));return a>=e.length?void n.apply(i,[o]):void _(r,function(i){delete i.td,t.extend(e[a],i),s.apply(r,[])},!0,{td:e[a]})}
464var r=this,a=-1;s()}
465function w(t,e,i){var n=!1;navigator&&navigator.geolocation?navigator.geolocation.getCurrentPosition(function(o){n||(n=!0,i.latLng=new z.LatLng(o.coords.latitude,o.coords.longitude),e.apply(t,[i]))},function(){n||(n=!0,i.latLng=!1,e.apply(t,[i]))},i.opts.getCurrentPosition):(i.latLng=!1,e.apply(t,[i]))}
466function k(t){var e,n=!1;if(i(t)&&t.hasOwnProperty("get")){for(e in t)
467if("get"!==e)return !1;n=!t.get.hasOwnProperty("callback")}
468return n}
469function C(){return B.geocoder||(B.geocoder=new z.Geocoder),B.geocoder}
470function x(){var t=[];this.get=function(e){if(t.length){var n,o,s,r,a,l=d(e);for(n=0;n<t.length;n++){for(r=t[n],a=l.length===r.keys.length,o=0;o<l.length&&a;o++)s=l[o],a=s in r.request,a&&(a=i(e[s])&&"equals" in e[s]&&Y(e[s])?e[s].equals(r.request[s]):e[s]===r.request[s]);if(a)return r.results}}},this.store=function(e,i){t.push({request:e,keys:d(e),results:i})}}
471function S(){var t=[],e=this;e.empty=function(){return !t.length},e.add=function(e){t.push(e)},e.get=function(){return !!t.length&&t[0]},e.ack=function(){t.shift()}}
472function T(){function e(t){return{id:t.id,name:t.name,object:t.obj,tag:t.tag,data:t.data}}
473function i(t){Y(t.setMap)&&t.setMap(null),Y(t.remove)&&t.remove(),Y(t.free)&&t.free(),t=null}
474var n={},o={},r=this;
474r.add=function(t,e,i,s){var l=t.td||{},c=a(l.id);return n[e]||(n[e]=[]),c in o&&r.clearById(c),o[c]={obj:i,sub:s,name:e,id:c,tag:l.tag,data:l.data},n[e].push(c),c},r.getById=function(t,i,n){var s=!1;return t in o&&(s=i?o[t].sub:n?e(o[t]):o[t].obj),s},r.get=function(t,i,s,r){var a,l,c=g(s);if(!n[t]||!n[t].length)return null;for(a=n[t].length;a;)
475if(a--,l=n[t][i?a:n[t].length-a-1],l&&o[l]){if(c&&!c(o[l].tag))continue;return r?e(o[l]):o[l].obj}
476return null},r.all=function(t,i,r){var a=[],l=g(i),c=function(t){var i,s;for(i=0;i<n[t].length;i++)
477if(s=n[t][i],s&&o[s]){if(l&&!l(o[s].tag))continue;a.push(r?e(o[s]):o[s].obj)}};if(t in n)c(t);else if(s(t))
478for(t in n)c(t);return a},r.rm=function(t,e,i){var s,a;if(!n[t])return !1;if(e)
479if(i)
480for(s=n[t].length-1;s>=0&&(a=n[t][s],!e(o[a].tag));s--);else for(s=0;s<n[t].length&&(a=n[t][s],!e(o[a].tag));s++);else s=i?n[t].length-1:0;return s in n[t]&&r.clearById(n[t][s],s)},r.clearById=function(t,e){if(t in o){var r,a=o[t].name;for(r=0;s(e)&&r<n[a].length;r++)t===n[a][r]&&(e=r);return i(o[t].obj),o[t].sub&&i(o[t].sub),delete o[t],n[a].splice(e,1),!0}
481return !1},r.objGetById=function(t){var e,i;if(n.clusterer)
482for(i in n.clusterer)
483if((e=o[n.clusterer[i]].obj.getById(t))!==!1)return e;return !1},r.objClearById=function(t){var e;if(n.clusterer)
484for(e in n.clusterer)
485if(o[n.clusterer[e]].obj.clearById(t))return !0;return null},r.clear=function(t,e,i,o){var s,a,l,c=g(o);if(t&&t.length)t=m(t);else{t=[];for(s in n)t.push(s)}
486for(a=0;a<t.length;a++)
487if(l=t[a],e)r.rm(l,c,!0);else if(i)r.rm(l,c,!1);else for(;r.rm(l,c,!1););},r.objClear=function(e,i,s,r){var a;if(n.clusterer&&(t.inArray("marker",e)>=0||!e.length))
488for(a in n.clusterer)o[n.clusterer[a]].obj.clear(i,s,r)}}
489function D(e,i,o){function s(t){var e={};return e[t]={},e}
490function r(){var t;for(t in o)
491if(o.hasOwnProperty(t)&&!l.hasOwnProperty(t))return t}
492var a,l={},c=this,d={latLng:{map:!1,marker:!1,infowindow:!1,circle:!1,overlay:!1,getlatlng:!1,getmaxzoom:!1,getelevation:!1,streetviewpanorama:!1,getaddress:!0},geoloc:{getgeoloc:!0}};n(o)&&(o=s(o)),c.run=function(){for(var n,s;n=r();){if(Y(e[n]))return a=n,s=t.extend(!0,{},H[n]||{},o[n].options||{}),void(n in d.latLng?o[n].values?b(o[n].values,e,e[n],{td:o[n],opts:s,session:l}):_(e,e[n],d.latLng[n],{td:o[n],opts:s,session:l}):n in d.geoloc?w(e,e[n],{td:o[n],opts:s,session:l}):e[n].apply(e,[{td:o[n],opts:s,session:l}]));l[n]=null}
493i.apply(e,[o,l])},c.ack=function(t){l[a]=t,c.run.apply(c,[])}}
494function $(){return B.ds||(B.ds=new z.DirectionsService),B.ds}
495function E(){return B.dms||(B.dms=new z.DistanceMatrixService),B.dms}
496function M(){return B.mzs||(B.mzs=new z.MaxZoomService),B.mzs}
497function P(){return B.es||(B.es=new z.ElevationService),B.es}
498function O(t,e){function i(){var t=this;return t.onAdd=function(){},t.onRemove=function(){},t.draw=function(){},H.classes.OverlayView.apply(t,[])}
499i.prototype=H.classes.OverlayView.prototype;var n=new i;return n.setMap(t),n}
500function I(e,n,o){function s(t){I[t]||(delete L[t].options.map,I[t]=new H.classes.Marker(L[t].options),c(e,{td:L[t]},I[t],L[t].id))}
501function r(){return(y=N.getProjection())?(S=!0,$.push(z.event.addListener(n,"zoom_changed",p)),$.push(z.event.addListener(n,"bounds_changed",p)),void m()):void setTimeout(function(){r.apply(D,[])},25)}
502function l(t){i(E[t])?(Y(E[t].obj.setMap)&&E[t].obj.setMap(null),Y(E[t].obj.remove)&&E[t].obj.remove(),Y(E[t].shadow.remove)&&E[t].obj.remove(),Y(E[t].shadow.setMap)&&E[t].shadow.setMap(null),delete E[t].obj,delete E[t].shadow):I[t]&&I[t].setMap(null),delete E[t]}
503function d(){var t,e,i,n,o,s,r,a,l=Math.cos,c=Math.sin,d=arguments;return d[0]instanceof z.LatLng?(t=d[0].lat(),i=d[0].lng(),d[1]instanceof z.LatLng?(e=d[1].lat(),n=d[1].lng()):(e=d[1],n=d[2])):(t=d[0],i=d[1],d[2]instanceof z.LatLng?(e=d[2].lat(),n=d[2].lng()):(e=d[2],n=d[3])),o=Math.PI*t/180,s=Math.PI*i/180,r=Math.PI*e/180,a=Math.PI*n/180,6371e3*Math.acos(Math.min(l(o)*l(r)*l(s)*l(a)+l(o)*c(s)*l(r)*c(a)+c(o)*c(r),1))}
504function u(){var t=d(n.getCenter(),n.getBounds().getNorthEast()),e=new z.Circle({center:n.getCenter(),radius:1.25*t});return e.getBounds()}
505function h(){var t,e={};for(t in E)e[t]=!0;return e}
506function p(){clearTimeout(v),v=setTimeout(m,25)}
507function f(t){var e=y.fromLatLngToDivPixel(t),i=y.fromDivPixelToLatLng(new z.Point(e.x+o.radius,e.y-o.radius)),n=y.fromDivPixelToLatLng(new z.Point(e.x-o.radius,e.y+o.radius));return new z.LatLngBounds(n,i)}
508function m(){if(!k&&!x&&S){var e,i,s,r,a,c,d,p,m,g,v,y=!1,w=[],D={},$=n.getZoom(),M="maxZoom" in o&&$>o.maxZoom,P=h();for(C=!1,$>
5083&&(a=u(),y=a.getSouthWest().lng()<a.getNorthEast().lng()),e=0;e<L.length;e++) !L[e]||y&&!a.contains(L[e].options.position)||_&&!_(A[e])||w.push(e);while(!0){for(e=0;D[e]&&e<w.length;)e++;if(e===w.length)break;if(r=[],T&&!M){v=10;do for(p=r,r=[],v--,d=p.length?a.getCenter():L[w[e]].options.position,a=f(d),i=e;i<w.length;i++)D[i]||a.contains(L[w[i]].options.position)&&r.push(i);while(p.length<r.length&&r.length>1&&v)}else for(i=e;i<w.length;i++)
509if(!D[i]){r.push(i);break}for(c={indexes:[],ref:[]},m=g=0,s=0;s<r.length;s++)D[r[s]]=!0,c.indexes.push(w[r[s]]),c.ref.push(w[r[s]]),m+=L[w[r[s]]].options.position.lat(),g+=L[w[r[s]]].options.position.lng();m/= r.length, g /=r.length,c.latLng=new z.LatLng(m,g),c.ref=c.ref.join("-"),c.ref in P?delete P[c.ref]:(1===r.length&&(E[c.ref]=!0),b(c))}
510t.each(P,function(t){l(t)}),x=!1}}
511var v,y,_,b,w,k=!1,C=!1,x=!1,S=!1,T=!0,D=this,$=[],E={},M={},P={},I=[],L=[],A=[],N=O(n,o.radius);r(),D.getById=function(t){return t in M&&(s(M[t]),I[M[t]])},D.rm=function(t){var e=M[t];I[e]&&I[e].setMap(null),delete I[e],I[e]=!1,delete L[e],L[e]=!1,delete A[e],A[e]=!1,delete M[t],delete P[e],C=!0},D.clearById=function(t){return t in M?(D.rm(t),!0):void 0},D.clear=function(t,e,i){var n,o,s,r,a,l=[],c=g(i);for(t?(n=L.length-1,o=-1,s=-1):(n=0,o=L.length,s=1),r=n;r!==o&&(!L[r]||c&&!c(L[r].tag)||(l.push(P[r]),!e&&!t));r+=s);for(a=0;a<l.length;a++)D.rm(l[a])},D.add=function(t,e){t.id=a(t.id),D.clearById(t.id),M[t.id]=I.length,P[I.length]=t.id,I.push(null),L.push(t),A.push(e),C=!0},D.addMarker=function(t,i){i=i||{},i.id=a(i.id),D.clearById(i.id),i.options||(i.options={}),i.options.position=t.getPosition(),c(e,{td:i},t,i.id),M[i.id]=I.length,P[I.length]=i.id,I.push(t),L.push(i),A.push(i.data||{}),C=!0},D.td=function(t){return L[t]},D.value=function(t){return A[t]},D.marker=function(t){return t in I&&(s(t),I[t])},D.markerIsSet=function(t){return Boolean(I[t])},D.setMarker=function(t,e){I[t]=e},D.store=function(t,e,i){E[t.ref]={obj:e,shadow:i}},D.free=function(){var e;for(e=0;e<$.length;e++)z.event.removeListener($[e]);$=[],t.each(E,function(t){l(t)}),E={},t.each(L,function(t){L[t]=null}),L=[],t.each(I,function(t){I[t]&&(I[t].setMap(null),delete I[t])}),I=[],t.each(A,function(t){delete A[t]}),A=[],M={},P={}},D.filter=function(t){_=t,m()},D.enable=function(t){T!==t&&(T=t,m())},D.display=function(t){b=t},D.error=function(t){w=t},D.beginUpdate=function(){k=!0},D.endUpdate=function(){k=!1,C&&m()},D.autofit=function(t){var e;for(e=0;e<L.length;e++)L[e]&&t.extend(L[e].options.position)}}
512function L(t,e){var i=this;i.id=function(){return t},i.filter=function(t){e.filter(t)},i.enable=function(){e.enable(!0)},i.disable=function(){e.enable(!1)},i.add=function(t,i,n){n||e.beginUpdate(),e.addMarker(t,i),n||e.endUpdate()},i.getById=function(t){return e.getById(t)},i.clearById=function(t,i){var n;return i||e.beginUpdate(),n=e.clearById(t),i||e.endUpdate(),n},i.clear=function(t,i,n,o){o||e.beginUpdate(),e.clear(t,i,n),o||e.endUpdate()}}
513function A(e,i,n,o){var s=this,r=[];H.classes.OverlayView.call(s),s.setMap(e),s.onAdd=function(){var e=s.getPanes();i.pane in e&&t(e[i.pane]).append(o),t.each("dblclick click mouseover mousemove mouseout mouseup mousedown".split(" "),function(e,i){r.push(z.event.addDomListener(o[0],i,function(e){t.Event(e).stopPropagation(),z.event.trigger(s,i,[e]),s.draw()}))}),r.push(z.event.addDomListener(o[0],"contextmenu",function(e){t.Event(e).stopPropagation(),z.event.trigger(s,"rightclick",[e]),s.draw()}))},s.getPosition=function(){return n},s.setPosition=function(t){n=t,s.draw()},s.draw=function(){var t=s.getProjection().fromLatLngToDivPixel(n);o.css("left",t.x+i.offset.x+"px").css("top",t.y+i.offset.y+"px")},s.onRemove=function(){var t;for(t=0;t<r.length;t++)z.event.removeListener(r[t]);o.remove()},s.hide=function(){o.hide()},s.show=function(){o.show()},s.toggle=function(){o&&(o.is(":visible")?s.show():s.hide())},s.toggleDOM=function(){s.setMap(s.getMap()?null:e)},s.getDOMElement=function(){return o[0]}}
514function N(o){function r(){!w&&(w=C.get())&&w.run()}
515function d(){w=null,C.ack(),r.call(k)}
516function u(t){var e,i=t.td.callback;
516i&&(e=Array.prototype.slice.call(arguments,1),Y(i)?i.apply(o,e):W(i)&&Y(i[1])&&i[1].apply(i[0],e))}
517function f(t,e,i){i&&c(o,t,e,i),u(t,e),w.ack(e)}
518function g(e,i){i=i||{};var n=i.td&&i.td.options?i.td.options:0;O?n&&(n.center&&(n.center=v(n.center)),O.setOptions(n)):(n=i.opts||t.extend(!0,{},H.map,n||{}),n.center=e||v(n.center),O=new H.classes.Map(o.get(0),n))}
519function _(i){var n,s,r=new I(o,O,i),a={},l={},d=[],u=/^[0-9]+$/;for(s in i)u.test(s)?(d.push(1*s),l[s]=i[s],l[s].width=l[s].width||0,l[s].height=l[s].height||0):a[s]=i[s];return d.sort(function(t,e){return t>e}),n=a.calculator?function(e){var i=[];return t.each(e,function(t,e){i.push(r.value(e))}),a.calculator.apply(o,[i])}:function(t){return t.length},r.error(function(){p.apply(k,arguments)}),r.display(function(s){var u,h,p,f,m,g,y=n(s.indexes);if(i.force||y>1)
520for(u=0;u<d.length;u++)d[u]<=y&&(h=l[d[u]]);h?(m=h.offset||[-h.width/2,-h.height/2],p=t.extend({},a),p.options=t.extend({pane:"overlayLayer",content:h.content?h.content.replace("CLUSTER_COUNT",y):"",offset:{x:("x" in m?m.x:m[0])||0,y:("y" in m?m.y:m[1])||0}},a.options||{}),f=k.overlay({td:p,opts:p.options,latLng:v(s)},!0),p.options.pane="floatShadow",p.options.content=t(document.createElement("div")).width(h.width+"px").height(h.height+"px").css({cursor:"pointer"}),g=k.overlay({td:p,opts:p.options,latLng:v(s)},!0),a.data={latLng:v(s),markers:[]},t.each(s.indexes,function(t,e){a.data.markers.push(r.value(e)),r.markerIsSet(e)&&r.marker(e).setMap(null)}),c(o,{td:a},g,e,{main:f,shadow:g}),r.store(s,f,g)):t.each(s.indexes,function(t,e){r.marker(e).setMap(O)})}),r}
521function b(e,i,n){var s=[],r="values" in e.td;return r||(e.td.values=[{options:e.opts}]),e.td.values.length?(g(),t.each(e.td.values,function(t,r){var a,l,d,u,p=h(e,r);if(p.options[n])
522if(p.options[n][0][0]&&W(p.options[n][0][0]))
523for(l=0;l<p.options[n].length;l++)
524for(d=0;d<p.options[n][l].length;d++)p.options[n][l][d]=v(p.options[n][l][d]);else for(l=0;l<p.options[n].length;l++)p.options[n][l]=v(p.options[n][l]);p.options.map=O,u=new z[i](p.options),s.push(u),a=x.add({td:p},i.toLowerCase(),u),c(o,{td:p},u,a)}),void f(e,r?s:s[0])):void f(e,!1)}
525var w,k=this,C=new S,x=new T,O=null;k._plan=function(t){var e;for(e=0;e<t.length;e++)C.add(new D(k,d,t[e]));r()},k.map=function(t){g(t.latLng,t),c(o,t,O),f(t,O)},k.destroy=function(t){x.clear(),o.empty(),O&&(O=null),f(t,!0)},k.overlay=function(e,i){var n=[],s="values" in e.td;return s||(e.td.values=[{latLng:e.latLng,options:e.opts}]),e.td.values.length?(A.__initialised||(A.prototype=new H.classes.OverlayView,A.__initialised=!0),t.each(e.td.values,function(s,r){var a,l,d=h(e,r),u=t(document.createElement("div")).css({border:"none",borderWidth:0,position:"absolute"});u.append(d.options.content),l=new A(O,d.options,v(d)||v(r),u),n.push(l),u=null,i||(a=x.add(e,"overlay",l),c(o,{td:d},l,a))}),i?n[0]:void f(e,s?n:n[0])):void f(e,!1)},k.marker=function(e){var i,n,s,r="values" in e.td,l=!O;return r||(e.opts.position=e.latLng||v(e.opts.position),e.td.values=[{options:e.opts}]),e.td.values.length?(l&&g(),e.td.cluster&&!O.getBounds()?void z.event.addListenerOnce(O,"bounds_changed",function(){k.marker.apply(k,[e])}):void(e.td.cluster?(e.td.cluster instanceof L?(n=e.td.cluster,s=x.getById(n.id(),!0)):(s=_(e.td.cluster),n=new L(a(e.td.id,!0),s),x.add(e,"clusterer",n,s)),s.beginUpdate(),t.each(e.td.values,function(t,i){var n=h(e,i);n.options.position=v(n.options.position?n.options.position:i),n.options.position&&(n.options.map=O,l&&(O.setCenter(n.options.position),l=!1),s.add(n,i))}),s.endUpdate(),f(e,n)):(i=[],t.each(e.td.values,function(t,n){var s,r,a=h(e,n);a.options.position=v(a.options.position?a.options.position:n),a.options.position&&(a.options.map=O,l&&(O.setCenter(a.options.position),l=!1),r=new H.classes.Marker(a.options),i.push(r),s=x.add({td:a},"marker",r),c(o,{td:a},r,s))}),f(e,r?i:i[0])))):void f(e,!1)},k.getroute=function(t){t.opts.origin=v(t.opts.origin,!0),t.opts.destination=v(t.opts.destination,!0),$().route(t.opts,function(e,i){u(t,i===z.DirectionsStatus.OK&&e,i),w.ack()})},k.getdistance=function(t){var e;
525for(t.opts.origins=m(t.opts.origins),e=0;e<t.opts.origins.length;e++)t.opts.origins[e]=v(t.opts.origins[e],!0);for(t.opts.destinations=m(t.opts.destinations),e=0;e<t.opts.destinations.length;e++)t.opts.destinations[e]=v(t.opts.destinations[e],!0);E().getDistanceMatrix(t.opts,function(e,i){u(t,i===z.DistanceMatrixStatus.OK&&e,i),w.ack()})},k.infowindow=function(i){var n=[],r="values" in i.td;r||(i.latLng&&(i.opts.position=i.latLng),i.td.values=[{options:i.opts}]),t.each(i.td.values,function(t,a){var l,d,u=h(i,a);u.options.position=v(u.options.position?u.options.position:a.latLng),O||g(u.options.position),d=new H.classes.InfoWindow(u.options),d&&(s(u.open)||u.open)&&(r?d.open(O,u.anchor||e):d.open(O,u.anchor||(i.latLng?e:i.session.marker?i.session.marker:e))),n.push(d),l=x.add({td:u},"infowindow",d),c(o,{td:u},d,l)}),f(i,r?n:n[0])},k.circle=function(e){var i=[],n="values" in e.td;return n||(e.opts.center=e.latLng||v(e.opts.center),e.td.values=[{options:e.opts}]),e.td.values.length?(t.each(e.td.values,function(t,n){var s,r,a=h(e,n);a.options.center=v(a.options.center?a.options.center:n),O||g(a.options.center),a.options.map=O,r=new H.classes.Circle(a.options),i.push(r),s=x.add({td:a},"circle",r),c(o,{td:a},r,s)}),void f(e,n?i:i[0])):void f(e,!1)},k.getaddress=function(t){u(t,t.results,t.status),w.ack()},k.getlatlng=function(t){u(t,t.results,t.status),w.ack()},k.getmaxzoom=function(t){M().getMaxZoomAtLatLng(t.latLng,function(e){u(t,e.status===z.MaxZoomStatus.OK&&e.zoom,status),w.ack()})},k.getelevation=function(t){var e,i=[],n=function(e,i){u(t,i===z.ElevationStatus.OK&&e,i),w.ack()};if(t.latLng)i.push(t.latLng);else for(i=m(t.td.locations||[]),e=0;e<i.length;e++)i[e]=v(i[e]);if(i.length)P().getElevationForLocations({locations:i},n);else{if(t.td.path&&t.td.path.length)
526for(e=0;e<t.td.path.length;e++)i.push(v(t.td.path[e]));i.length?P().getElevationAlongPath({path:i,samples:t.td.samples},n):w.ack()}},k.defaults=function(e){t.each(e.td,function(e,n){i(H[e])?H[e]=t.extend({},H[e],n):H[e]=n}),w.ack(!0)},k.rectangle=function(e){var i=[],n="values" in e.td;return n||(e.td.values=[{options:e.opts}]),e.td.values.length?(t.each(e.td.values,function(t,n){var s,r,a=h(e,n);a.options.bounds=y(a.options.bounds?a.options.bounds:n),O||g(a.options.bounds.getCenter()),a.options.map=O,r=new H.classes.Rectangle(a.options),i.push(r),s=x.add({td:a},"rectangle",r),c(o,{td:a},r,s)}),void f(e,n?i:i[0])):void f(e,!1)},k.polyline=function(t){b(t,"Polyline","path")},k.polygon=function(t){b(t,"Polygon","paths")},k.trafficlayer=function(t){g();var e=x.get("trafficlayer");e||(e=new H.classes.TrafficLayer,e.setMap(O),x.add(t,"trafficlayer",e)),f(t,e)},k.transitlayer=function(t){g();var e=x.get("transitlayer");e||(e=new H.classes.TransitLayer,e.setMap(O),x.add(t,"transitlayer",e)),f(t,e)},k.bicyclinglayer=function(t){g();var e=x.get("bicyclinglayer");e||(e=new H.classes.BicyclingLayer,e.setMap(O),x.add(t,"bicyclinglayer",e)),f(t,e)},k.groundoverlay=function(t){t.opts.bounds=y(t.opts.bounds),t.opts.bounds&&g(t.opts.bounds.getCenter());var e,i=new H.classes.GroundOverlay(t.opts.url,t.opts.bounds,t.opts.opts);i.setMap(O),e=x.add(t,"groundoverlay",i),f(t,i,e)},k.streetviewpanorama=function(e){e.opts.opts||(e.opts.opts={}),e.latLng?e.opts.opts.position=e.latLng:e.opts.opts.position&&(e.opts.opts.position=v(e.opts.opts.position)),e.td.divId?e.opts.container=document.getElementById(e.td.divId):e.opts.container&&(e.opts.container=t(e.opts.container).get(0));var i,n=new H.classes.StreetViewPanorama(e.opts.container,e.opts.opts);n&&O.setStreetView(n),i=x.add(e,"streetviewpanorama",n),f(e,n,i)},k.kmllayer=function(e){var i=[],n="values" in e.td;return n||(e.td.values=[{options:e.opts}]),e.td.values.length?(t.each(e.td.values,function(t,n){var s,r,a,d=h(e,n);O||g(),a=d.options,d.options.opts&&(a=d.options.opts,d.options.url&&(a.url=d.options.url)),a.map=O,r=l("3.10")?new H.classes.KmlLayer(a):new H.classes.KmlLayer(a.url,a),i.push(r),s=x.add({td:d},"kmllayer",r),c(o,{td:d},r,s)}),void f(e,n?i:i[0])):void f(e,!1)},k.panel=function(e){g();var i,n,r=0,a=0,l=t(document.createElement("div"));l.css({position:"absolute",zIndex:1e3,visibility:"hidden"}
526),e.opts.content&&(n=t(e.opts.content),l.append(n),o.first().prepend(l),s(e.opts.left)?s(e.opts.right)?e.opts.center&&(r=(o.width()-n.width())/2):r=o.width()-n.width()-e.opts.right:r=e.opts.left,s(e.opts.top)?s(e.opts.bottom)?e.opts.middle&&(a=(o.height()-n.height())/2):a=o.height()-n.height()-e.opts.bottom:a=e.opts.top,l.css({top:a,left:r,visibility:"visible"})),i=x.add(e,"panel",l),f(e,l,i),l=null},k.directionsrenderer=function(e){e.opts.map=O;var i,n=new z.DirectionsRenderer(e.opts);e.td.divId?n.setPanel(document.getElementById(e.td.divId)):e.td.container&&n.setPanel(t(e.td.container).get(0)),i=x.add(e,"directionsrenderer",n),f(e,n,i)},k.getgeoloc=function(t){f(t,t.latLng)},k.styledmaptype=function(t){g();var e=new H.classes.StyledMapType(t.td.styles,t.opts);O.mapTypes.set(t.td.id,e),f(t,e)},k.imagemaptype=function(t){g();var e=new H.classes.ImageMapType(t.opts);O.mapTypes.set(t.td.id,e),f(t,e)},k.autofit=function(e){var i=new z.LatLngBounds;t.each(x.all(),function(t,e){e.getPosition&&e.getPosition()?i.extend(e.getPosition()):e.getBounds&&e.getBounds()?(i.extend(e.getBounds().getNorthEast()),i.extend(e.getBounds().getSouthWest
526())):e.getPaths&&e.getPaths()?e.getPaths().forEach(function(t){t.forEach(function(t){i.extend(t)})}):e.getPath&&e.getPath()?e.getPath().forEach(function(t){i.extend(t)}):e.getCenter&&e.getCenter()?i.extend(e.getCenter()):"function"==typeof L&&e instanceof L&&(e=x.getById(e.id(),!0),e&&e.autofit(i))}),i.isEmpty()||O.getBounds()&&O.getBounds().equals(i)||("maxZoom" in e.td&&z.event.addListenerOnce(O,"bounds_changed",function(){this.getZoom()>e.td.maxZoom&&this.setZoom(e.td.maxZoom)}),O.fitBounds(i)),f(e,!0)},k.clear=function(e){if(n(e.td)){if(x.clearById(e.td)||x.objClearById(e.td))return void f(e,!0);e.td={name:e.td}}
527e.td.id?t.each(m(e.td.id),function(t,e){x.clearById(e)||x.objClearById(e)}):(x.clear(m(e.td.name),e.td.last,e.td.first,e.td.tag),x.objClear(m(e.td.name),e.td.last,e.td.first,e.td.tag)),f(e,!0)},k.get=function(i,o,s){var r,a,l=o?i:i.td;return o||(s=l.full),n(l)?(a=x.getById(l,!1,s)||x.objGetById(l),a===!1&&(r=l,l={})):r=l.name,"map"===r&&(a=O),a||(a=[],l.id?(t.each(m(l.id),function(t,e){a.push(x.getById(e,!1,s)||x.objGetById(e))}),W(l.id)||(a=a[0])):(t.each(r?m(r):[e],function(e,i){var n;l.first?(n=x.get(i,!1,l.tag,s),n&&a.push(n)):l.all?t.each(x.all(i,l.tag,s),function(t,e){a.push(e)}):(n=x.get(i,!0,l.tag,s),n&&a.push(n))}),l.all||W(r)||(a=a[0]))),a=W(a)||!l.all?a:[a],o?a:void f(i,a)},k.exec=function(e){t.each(m(e.td.func),function(i,n){t.each(k.get(e.td,!0,!e.td.hasOwnProperty("full")||e.td.full),function(t,e){n.call(o,e)})}),f(e,!0)},k.trigger=function(e){if(n(e.td))z.event.trigger(O,e.td);else{var i=[O,e.td.eventName];e.td.var_args&&t.each(e.td.var_args,function(t,e){i.push(e)}),z.event.trigger.apply(z.event,i)}
528u(e),w.ack()}}
529var H,z,j=0,Y=t.isFunction,W=t.isArray,B={},F=new x;t.fn.gmap3=function(){var e,i=[],n=!0,o=[];for(r(),e=0;e<arguments.length;e++)arguments[e]&&i.push(arguments[e]);return i.length||i.push("map"),t.each(this,function(){var e=t(this),s=e.data("gmap3");n=!1,s||(s=new N(e),e.data("gmap3",s)),1!==i.length||"get"!==i[0]&&!k(i[0])?s._plan(i):"get"===i[0]?o.push(s.get("map",!0)):o.push(s.get(i[0].get,!0,i[0].get.full))}),o.length?1===o.length?o[0]:o:this}}(jQuery),!function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,function(t){!function(){"use strict";function e(e,n){if(this.el=e,this.$el=t(e),this.s=t.extend({},i,n),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw "When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart" in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.s.dynamic?this.$items=this.s.dynamicEl:"this"===this.s.selector?this.$items=this.$el:""!==this.s.selector?this.s.selectWithin?this.$items=t(this.s.selectWithin).find(this.s.selector):this.$items=this.$el.find(t(this.s.selector)):this.$items=this.$el.children(),this.$slide="",this.$outer="",this.init(),this}
530var i={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};e.prototype.init=function(){var e=this;e.s.preload>e.$items.length&&(e.s.preload=e.$items.length);var i=window.location.hash;i.indexOf("lg="+this.s.galleryId)>0&&(e.index=parseInt(i.split("&slide=")[1],10),t("body").addClass("lg-from-hash"),t("body").hasClass("lg-on")||(setTimeout(function(){e.build(e.index)}),t("body").addClass("lg-on"))),e.s.dynamic?(e.$el.trigger("onBeforeOpen.lg"),e.index=e.s.index||0,t("body").hasClass("lg-on")||setTimeout(function(){e.build(e.index),t("body").addClass("lg-on")})):e.$items.on("click.lgcustom",function(i){try{i.preventDefault(),i.preventDefault()}catch(t){i.returnValue=!1}
531e.$el.trigger("onBeforeOpen.lg"),e.index=e.s.index||e.$items.index(this),t("body").hasClass("lg-on")||(e.build(e.index),t("body").addClass("lg-on"))})},e.prototype.build=function(e){var i=this;i.structure(),t.each(t.fn.lightGallery.modules,function(e){i.modules[e]=new t.fn.lightGallery.modules[e](i.el)}),i.slide(e,!1,!1,!1),i.s.keyPress&&i.keyPress(),i.$items.length>1&&(i.arrow(),setTimeout(function(){i.enableDrag(),i.enableSwipe()},50),i.s.mousewheel&&i.mousewheel()),i.counter(),i.closeGallery(),i.$el.trigger("onAfterOpen.lg"),i.$outer.on("mousemove.lg 
531click.lg touchstart.lg",function(){i.$outer.removeClass("lg-hide-items"),clearTimeout(i.hideBartimeout),i.hideBartimeout=setTimeout(function(){i.$outer.addClass("lg-hide-items")},i.s.hideBarsDelay)}),i.$outer.trigger("mousemove.lg")},e.prototype.structure=function(){var e,i="",n="",o=0,s="",r=this;for(t("body").append('<div class="lg-backdrop"></div>'),t(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),o=0;o<this.$items.length;o++)i+='<div class="lg-item"></div>';if(this.s.controls&&this.$items.length>1&&(n='<div class="lg-actions"><div class="lg-prev lg-icon">'+this.s.prevHtml+'</div><div class="lg-next lg-icon">'+this.s.nextHtml+"</div></div>"),".lg-sub-html"===this.s.appendSubHtmlTo&&(s='<div class="lg-sub-html"></div>'),e='<div class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+i+'</div><div class="lg-toolbar lg-group"><span class="lg-close lg-icon"></span></div>'+n+s+"</div></div>",t("body").append(e),this.$outer=t(".lg-outer"),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),r.setTop(),t(window).on("resize.lg orientationchange.lg",function(){setTimeout(function(){r.setTop()},100)}),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&this.$items.length>1&&this.$outer.addClass("lg-grab"),this.s.showAfterLoad&&this.$outer.addClass("lg-show-after-load"),this.doCss()){var a=this.$outer.find(".lg-inner");a.css("transition-timing-function",this.s.cssEasing),a.css("transition-duration",this.s.speed+"ms")}
532setTimeout(function(){t(".lg-backdrop").addClass("in")}),setTimeout(function(){r.$outer.addClass("lg-visible")},this.s.backdropDuration),this.s.download&&this.$outer.find(".lg-toolbar").append('<a id="lg-download" target="_blank" download class="lg-download lg-icon"></a>'),this.prevScrollTop=t(window).scrollTop()},e.prototype.setTop=function(){if("100%"!==this.s.height){var e=t(window).height(),i=(e-parseInt(this.s.height,10))/2,n=this.$outer.find(".lg");e>=parseInt(this.s.height,10)?n.css("top",i+"px"):n.css("top","0px")}},e.prototype.doCss=function(){var t=function(){var t=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],e=document.documentElement,i=0;for(i=0;i<t.length;i++)
533if(t[i]in e.style)return !0};return !!t()},e.prototype.isVideo=function(t,e){var i;if(i=this.s.dynamic?this.s.dynamicEl[e].html:this.$items.eq(e).attr("data-html"),!t&&i)return{html5:!0};var n=t.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),o=t.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),s=t.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),r=t.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return n?{youtube:n}:o?{vimeo:o}:s?{dailymotion:s}:r?{vk:r}:void 0},e.prototype.counter=function(){this.s.counter&&t(this.s.appendCounterTo).append('<div id="lg-counter"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.$items.length+"</span></div>")},e.prototype.addHtml=function(e){var i,n,o=null;if(this.s.dynamic?this.s.dynamicEl[e].subHtmlUrl?i=this.s.dynamicEl[e].subHtmlUrl:o=this.s.dynamicEl[e].subHtml:(n=this.$items.eq(e),n.attr("data-sub-html-url")?i=n.attr("data-sub-html-url"):(o=n.attr("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!o&&(o=n.attr("title")||n.find("img").first().attr("alt")))),!i)
534if("undefined"!=typeof o&&null!==o){var s=o.substring(0,1);"."!==s&&"#"!==s||(o=this.s.subHtmlSelectorRelative&&!this.s.dynamic?n.find(o).html():t(o).html())}else o="";".lg-sub-html"===this.s.appendSubHtmlTo?i?this.$outer.find(this.s.appendSubHtmlTo).load(i):this.$outer.find(this.s.appendSubHtmlTo).html(o):i?this.$slide.eq(e).load(i):this.$slide.eq(e).append(o),"undefined"!=typeof o&&null!==o&&(""===o?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html")),this.$el.trigger("onAfterAppendSubHtml.lg",[e])},e.prototype.preload=function(t){var e=1,i=1;for(e=1;e<=this.s.preload&&!(e>=this.$items.length-t);e++)this.loadContent(t+e,!1,0);for(i=1;i<=this.s.preload&&!(t-i<0);i++)this.loadContent(t-i,!1,0)},e.prototype.loadContent=function(e,i,n){var o,s,r,a,l,c,d=this,u=!1,h=function(e){for(var i=[],n=[],o=0;o<e.length;o++){var r=e[o].split(" ");""===r[0]&&r.splice(0,1),n.push(r[0]),i.push(r[1])}
535for(var a=t(window).width(),l=0;l<i.length;l++)
536if(parseInt(i[l],10)>a){s=n[l];break}};if(d.s.dynamic){if(d.s.dynamicEl[e].poster&&(u=!0,r=d.s.dynamicEl[e].poster),c=d.s.dynamicEl[e].html,s=d.s.dynamicEl[e].src,d.s.dynamicEl[e].responsive){var p=d.s.dynamicEl[e].responsive.split(",");h(p)}
537a=d.s.dynamicEl[e].srcset,l=d.s.dynamicEl[e].sizes}else{if(d.$items.eq(e).attr("data-poster")&&(u=!0,r=d.$items.eq(e).attr("data-poster")),c=d.$items.eq(e).attr("data-html"),s=d.$items.eq(e).attr("href")||d.$items.eq(e).attr("data-src"),d.$items.eq(e).attr("data-responsive")){var f=d.$items.eq(e).attr("data-responsive").split(",");h(f)}
538a=d.$items.eq(e).attr("data-srcset"),l=d.$items.eq(e).attr("data-sizes")}
539var m=!1;d.s.dynamic?d.s.dynamicEl[e].iframe&&(m=!0):"true"===d.$items.eq(e).attr("data-iframe")&&(m=!0);var g=d.isVideo(s,e);if(!d.$slide.eq(e).hasClass("lg-loaded")){if(m)d.$slide.eq(e).prepend('<div class="lg-video-cont" style="max-width:'+d.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+s+'"  allowfullscreen="true"></iframe></div></div>');else if(u){var v="";v=g&&g.youtube?"lg-has-youtube":g&&g.vimeo?"lg-has-vimeo":"lg-has-html5",d.$slide.eq(e).prepend('<div class="lg-video-cont '+v+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+r+'" /></div></div>')}
539else g?(d.$slide.eq(e).prepend('<div class="lg-video-cont "><div class="lg-video"></div></div>'),d.$el.trigger("hasVideo.lg",[e,s,c])):d.$slide.eq(e).prepend('<div class="lg-img-wrap"><img class="lg-object lg-image" src="'+s+'" /></div>');if(d.$el.trigger("onAferAppendSlide.lg",[e]),o=d.$slide.eq(e).find(".lg-object"),l&&o.attr("sizes",l),a){o.attr("srcset",a);try{picturefill({elements:[o[0]]})}catch(t){console.warn("lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.")}}
540".lg-sub-html"!==this.s.appendSubHtmlTo&&d.addHtml(e),d.$slide.eq(e).addClass("lg-loaded")}
541d.$slide.eq(e).find(".lg-object").on("load.lg error.lg",function(){var i=0;n&&!t("body").hasClass("lg-from-hash")&&(i=n),setTimeout(function(){d.$slide.eq(e).addClass("lg-complete"),d.$el.trigger("onSlideItemLoad.lg",[e,n||0])},i)}),g&&g.html5&&!u&&d.$slide.eq(e).addClass("lg-complete"),i===!0&&(d.$slide.eq(e).hasClass("lg-complete")?d.preload(e):d.$slide.eq(e).find(".lg-object").on("load.lg error.lg",function(){d.preload(e)}))},e.prototype.slide=function(e,i,n,o){var s=this.$outer.find(".lg-current").index(),r=this;if(!r.lGalleryOn||s!==e){var a=this.$slide.length,l=r.lGalleryOn?this.s.speed:0;if(!r.lgBusy){if(this.s.download){var c;c=r.s.dynamic?r.s.dynamicEl[e].downloadUrl!==!1&&(r.s.dynamicEl[e].downloadUrl||r.s.dynamicEl[e].src):"false"!==r.$items.eq(e).attr("data-download-url")&&(r.$items.eq(e).attr("data-download-url")||r.$items.eq(e).attr("href")||r.$items.eq(e).attr("data-src")),c?(t("#lg-download").attr("href",c),r.$outer.removeClass("lg-hide-download")):r.$outer.addClass("lg-hide-download")}
542if(this.$el.trigger("onBeforeSlide.lg",[s,e,i,n]),r.lgBusy=!0,clearTimeout(r.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){r.addHtml(e)},l),this.arrowDisable(e),o||(e<s?o="prev":e>s&&(o="next")),i){this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide");var d,u;a>2?(d=e-1,u=e+1,0===e&&s===a-1?(u=0,d=a-1):e===a-1&&0===s&&(u=0,d=a-1)):(d=0,u=1),"prev"===o?r.$slide.eq(u).addClass("lg-next-slide"):r.$slide.eq(d).addClass("lg-prev-slide"),r.$slide.eq(e).addClass("lg-current")}else r.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),"prev"===o?(this.$slide.eq(e).addClass("lg-prev-slide"),this.$slide.eq(s).addClass("lg-next-slide")):(this.$slide.eq(e).addClass("lg-next-slide"),this.$slide.eq(s).addClass("lg-prev-slide")),setTimeout(function(){r.$slide.removeClass("lg-current"),r.$slide.eq(e).addClass("lg-current"),r.$outer.removeClass("lg-no-trans")},50);r.lGalleryOn?(setTimeout(function(){r.loadContent(e,!0,0)},this.s.speed+50),setTimeout(function(){r.lgBusy=!1,r.$el.trigger("onAfterSlide.lg",[s,e,i,n])},this.s.speed)):(r.loadContent(e,!0,r.s.backdropDuration),r.lgBusy=!1,r.$el.trigger("onAfterSlide.lg",[s,e,i,n])),r.lGalleryOn=!0,this.s.counter&&t("#lg-counter-current").text(e+1)}}},e.prototype.goToNextSlide=function(t){var e=this,i=e.s.loop;t&&e.$slide.length<3&&(i=!1),e.lgBusy||(e.index+1<e.$slide.length?(e.index++,e.$el.trigger("onBeforeNextSlide.lg",[e.index]),e.slide(e.index,t,!1,"next")):i?(e.index=0,e.$el.trigger("onBeforeNextSlide.lg",[e.index]),e.slide(e.index,t,!1,"next")):e.s.slideEndAnimatoin&&!t&&(e.$outer.addClass("lg-right-end"),setTimeout(function(){e.$outer.removeClass("lg-right-end")},400)))},e.prototype.goToPrevSlide=function(t){var e=this,i=e.s.loop;t&&e.$slide.length<3&&(i=!1),e.lgBusy||(e.index>0?(e.index--,e.$el.trigger("onBeforePrevSlide.lg",[e.index,t]),e.slide(e.index,t,!1,"prev")):i?(e.index=e.$items.length-1,e.$el.trigger("onBeforePrevSlide.lg",[e.index,t]),e.slide(e.index,t,!1,"prev")):e.s.slideEndAnimatoin&&!t&&(e.$outer.addClass("lg-left-end"),setTimeout(function(){e.$outer.removeClass("lg-left-end")},400)))},e.prototype.keyPress=function(){var e=this;this.$items.length>1&&t(window).on("keyup.lg",function(t){e.$items.length>1&&(37===t.keyCode&&(t.preventDefault(),e.goToPrevSlide()),39===t.keyCode&&(t.preventDefault(),e.goToNextSlide()))}),t(window).on("keydown.lg",function(t){e.s.escKey===!0&&27===t.keyCode&&(t.preventDefault(),e.$outer.hasClass("lg-thumb-open")?e.$outer.removeClass("lg-thumb-open"):e.destroy())})},e.prototype.arrow=function(){var t=this;this.$outer.find(".lg-prev").on("click.lg",function(){t.goToPrevSlide()}),this.$outer.find(".lg-next").on("click.lg",function(){t.goToNextSlide()})},e.prototype.arrowDisable=function(t){!this.s.loop&&this.s.hideControlOnEnd&&(t+1<this.$slide.length?this.$outer.find(".lg-next").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-next").attr("disabled","disabled").addClass("disabled"),t>0?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"))}
542,e.prototype.setTranslate=function(t,e,i){this.s.useLeft?t.css("left",e):t.css({transform:"translate3d("+e+"px, "+i+"px, 0px)"})},e.prototype.touchMove=function(e,i){var n=i-e;Math.abs(n)>15&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),n,0),this.setTranslate(t(".lg-prev-slide"),-this.$slide.eq(this.index).width()+n,0),this.setTranslate(t(".lg-next-slide"),this.$slide.eq(this.index).width()+n,0))},e.prototype.touchEnd=function(t){var e=this;"lg-slide"!==e.s.mode&&e.$outer.addClass("lg-slide"),this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0"),setTimeout(function(){e.$outer.removeClass("lg-dragging"),t<0&&Math.abs(t)>e.s.swipeThreshold?e.goToNextSlide(!0):t>0&&Math.abs(t)>e.s.swipeThreshold?e.goToPrevSlide(!0):Math.abs(t)<5&&e.$el.trigger("onSlideClick.lg"),e.$slide.removeAttr("style")}),setTimeout(function(){e.$outer.hasClass("lg-dragging")||"lg-slide"===e.s.mode||e.$outer.removeClass("lg-slide")},e.s.speed+100)},e.prototype.enableSwipe=function(){var t=this,e=0,i=0,n=!1;t.s.enableSwipe&&t.isTouch&&t.doCss()&&(t.$slide.on("touchstart.lg",function(i){t.$outer.hasClass("lg-zoomed")||t.lgBusy||(i.preventDefault(),t.manageSwipeClass(),e=i.originalEvent.targetTouches[0].pageX)}),t.$slide.on("touchmove.lg",function(o){t.$outer.hasClass("lg-zoomed")||(o.preventDefault(),i=o.originalEvent.targetTouches[0].pageX,t.touchMove(e,i),n=!0)}),t.$slide.on("touchend.lg",function(){t.$outer.hasClass("lg-zoomed")||(n?(n=!1,t.touchEnd(i-e)):t.$el.trigger("onSlideClick.lg"))}))},e.prototype.enableDrag=function(){var e=this,i=0,n=0,o=!1,s=!1;e.s.enableDrag&&!e.isTouch&&e.doCss()&&(e.$slide.on("mousedown.lg",function(n){e.$outer.hasClass("lg-zoomed")||(t(n.target).hasClass("lg-object")||t(n.target).hasClass("lg-video-play"))&&(n.preventDefault(),e.lgBusy||(e.manageSwipeClass(),i=n.pageX,o=!0,e.$outer.scrollLeft+=1,e.$outer.scrollLeft-=1,e.$outer.removeClass("lg-grab").addClass("lg-grabbing"),e.$el.trigger("onDragstart.lg")))}),t(window).on("mousemove.lg",function(t){o&&(s=!0,n=t.pageX,e.touchMove(i,n),e.$el.trigger("onDragmove.lg"))}),t(window).on("mouseup.lg",function(r){s?(s=!1,e.touchEnd(n-i),e.$el.trigger("onDragend.lg")):(t(r.target).hasClass("lg-object")||t(r.target).hasClass("lg-video-play"))&&e.$el.trigger("onSlideClick.lg"),o&&(o=!1,e.$outer.removeClass("lg-grabbing").addClass("lg-grab"))}))},e.prototype.manageSwipeClass=function(){var t=this.index+1,e=this.index-1;this.s.loop&&this.$slide.length>2&&(0===this.index?e=this.$slide.length-1:this.index===this.$slide.length-1&&(t=0)),this.$slide.removeClass("lg-next-slide lg-prev-slide"),e>-1&&this.$slide.eq(e).addClass("lg-prev-slide"),this.$slide.eq(t).addClass("lg-next-slide")},e.prototype.mousewheel=function(){var t=this;t.$outer.on("mousewheel.lg",function(e){e.deltaY&&(e.deltaY>0?t.goToPrevSlide():t.goToNextSlide(),e.preventDefault())})},e.prototype.closeGallery=function(){var e=this,i=!1;this.$outer.find(".lg-close").on("click.lg",function(){e.destroy()}),e.s.closable&&(e.$outer.on("mousedown.lg",function(e){i=!!(t(e.target).is(".lg-outer")||t(e.target).is(".lg-item ")||t(e.target).is(".lg-img-wrap"))}),e.$outer.on("mouseup.lg",function(n){(t(n.target).is(".lg-outer")||t(n.target).is(".lg-item ")||t(n.target).is(".lg-img-wrap")&&i)&&(e.$outer.hasClass("lg-dragging")||e.destroy())}))},e.prototype.destroy=function(e){var i=this;e||(i.$el.trigger("onBeforeClose.lg"),t(window).scrollTop(i.prevScrollTop)),e&&(i.s.dynamic||this.$items.off("click.lg click.lgcustom"),t.removeData(i.el,"lightGallery")),this.$el.off(".lg.tm"),t.each(t.fn.lightGallery.modules,function(t){i.modules[t]&&i.modules[t].destroy()}),this.lGalleryOn=!1,clearTimeout(i.hideBartimeout),this.hideBartimeout=!1,t(window).off(".lg"),t("body").removeClass("lg-on lg-from-hash"),i.$outer&&i.$outer.removeClass("lg-visible"),t(".lg-backdrop").removeClass("in"),setTimeout(function(){i.$outer&&i.$outer.remove(),t(".lg-backdrop").remove(),e||i.$el.trigger("onCloseAfter.lg")},i.s.backdropDuration+50)},t.fn.lightGallery=function(i){return this.each(function(){if(t.data(this,"lightGallery"))try{t(this).data("lightGallery").init()}catch(t){console.error("lightGallery has not initiated properly")}else t.data(this,"lightGallery",new e(this,i))})},t.fn.lightGallery.modules={}}()}),function(){"use strict";var t={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",thumbWidth:100,thumbContHeight:100,thumbMargin:5,exThumbImage:!1,showThumbByDefault:!0,toogleThumb:!0,pullCaptionUp:!0,enableThumbDrag:!0,enableThumbSwipe:!0,swipeThreshold:50,loadYoutubeThumbn
vendor: 7,760 bytes, lines 542-554
542ail:!0,youtubeThumbSize:1,loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:!0},e=function(e){return this.core=$(e).data("lightGallery"),this.core.s=$.extend({},t,this.core.s),this.$el=$(e),this.$thumbOuter=null,this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin),this.thumbIndex=this.core.index,this.left=0,this.init(),this};e.prototype.init=function(){var t=this;this.core.s.thumbnail&&this.core.$items.length>1&&(this.core.s.showThumbByDefault&&setTimeout(function(){t.core.$outer.addClass("lg-thumb-open")},700),this.core.s.pullCaptionUp&&this.core.$outer.addClass("lg-pull-caption-up"),this.build(),this.core.s.animateThumb?(this.core.s.enableThumbDrag&&!this.core.isTouch&&this.core.doCss()&&this.enableThumbDrag(),this.core.s.enableThumbSwipe&&this.core.isTouch&&this.core.doCss()&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toogle(),this.thumbkeyPress())},e.prototype.build=function(){function t(t,e,s){var r,a=i.core.isVideo(t,s)||{},l="";a.youtube||a.vimeo||a.dailymotion?a.youtube?r=i.core.s.loadYoutubeThumbnail?"//img.youtube.com/vi/"+a.youtube[1]+"/"+i.core.s.youtubeThumbSize+".jpg":e:a.vimeo?i.core.s.loadVimeoThumbnail?(r="//i.vimeocdn.com/video/error_"+o+".jpg",l=a.vimeo[1]):r=e:a.dailymotion&&(r=i.core.s.loadDailymotionThumbnail?"//www.dailymotion.com/thumbnail/video/"+a.dailymotion[1]:e):r=e,n+='<div data-vimeo-id="'+l+'" class="lg-thumb-item" style="width:'+i.core.s.thumbWidth+"px; margin-right: "+i.core.s.thumbMargin+'px"><img src="'+r+'" /></div>',l=""}
543var e,i=this,n="",o="",s='<div class="lg-thumb-outer"><div class="lg-thumb lg-group"></div></div>';switch(this.core.s.vimeoThumbSize){case "thumbnail_large":o="640";break;case "thumbnail_medium":o="200x150";break;case "thumbnail_small":o="100x75"}
544if(i.core.$outer.addClass("lg-has-thumb"),i.core.$outer.find(".lg").append(s),i.$thumbOuter=i.core.$outer.find(".lg-thumb-outer"),i.thumbOuterWidth=i.$thumbOuter.width(),i.core.s.animateThumb&&i.core.$outer.find(".lg-thumb").css({width:i.thumbTotalWidth+"px",position:"relative"}),this.core.s.animateThumb&&i.$thumbOuter.css("height",i.core.s.thumbContHeight+"px"),i.core.s.dynamic)
545for(var r=0;r<i.core.s.dynamicEl.length;r++)t(i.core.s.dynamicEl[r].src,i.core.s.dynamicEl[r].thumb,r);else i.core.$items.each(function(e){i.core.s.exThumbImage?t($(this).attr("href")||$(this).attr("data-src"),$(this).attr(i.core.s.exThumbImage),e):t($(this).attr("href")||$(this).attr("data-src"),$(this).find("img").attr("src"),e)});i.core.$outer.find(".lg-thumb").html(n),e=i.core.$outer.find(".lg-thumb-item"),e.each(function(){var t=$(this),e=t.attr("data-vimeo-id");e&&$.getJSON("//www.vimeo.com/api/v2/video/"+e+".json?callback=?",{format:"json"},function(e){t.find("img").attr("src",e[0][i.core.s.vimeoThumbSize])})}),e.eq(i.core.index).addClass("active"),i.core.$el.on("onBeforeSlide.lg.tm",function(){e.removeClass("active"),e.eq(i.core.index).addClass("active")}),e.on("click.lg touchend.lg",function(){var t=$(this);setTimeout(function(){(i.thumbClickable&&!i.core.lgBusy||!i.core.doCss())&&(i.core.index=t.index(),i.core.slide(i.core.index,!1,!0,!1))},50)}),i.core.$el.on("onBeforeSlide.lg.tm",function(){i.animateThumb(i.core.index)}),$(window).on("resize.lg.thumb orientationchange.lg.thumb",function(){setTimeout(function(){i.animateThumb(i.core.index),i.thumbOuterWidth=i.$thumbOuter.width()},200)})},e.prototype.setTranslate=function(t){this.core.$outer.find(".lg-thumb").css({transform:"translate3d(-"+t+"px, 0px, 0px)"})},e.prototype.animateThumb=function(t){var e=this.core.$outer.find(".lg-thumb");if(this.core.s.animateThumb){var i;switch(this.core.s.currentPagerPosition){case "left":i=0;break;case "middle":i=this.thumbOuterWidth/2-this.core.s.thumbWidth/2;break;case "right":i=this.thumbOuterWidth-this.core.s.thumbWidth}
546this.left=(this.core.s.thumbWidth+this.core.s.thumbMargin)*t-1-i,this.left>this.thumbTotalWidth-this.thumbOuterWidth&&(this.left=this.thumbTotalWidth-this.thumbOuterWidth),this.left<0&&(this.left=0),this.core.lGalleryOn?(e.hasClass("on")||this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms"),this.core.doCss()||e.animate({left:-this.left+"px"},this.core.s.speed)):this.core.doCss()||e.css("left",-this.left+"px"),this.setTranslate(this.left)}},e.prototype.enableThumbDrag=function(){var t=this,e=0,i=0,n=!1,o=!1,s=0;t.$thumbOuter.addClass("lg-grab"),t.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e=i.pageX,n=!0,t.core.$outer.scrollLeft+=1,t.core.$outer.scrollLeft-=1,t.thumbClickable=!1,t.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))}),$(window).on("mousemove.lg.thumb",function(r){n&&(s=t.left,o=!0,i=r.pageX,t.$thumbOuter.addClass("lg-dragging"),s-=i-e,s>t.thumbTotalWidth-t.thumbOuterWidth&&(s=t.thumbTotalWidth-t.thumbOuterWidth),s<0&&(s=0),t.setTranslate(s))}),$(window).on("mouseup.lg.thumb",function(){o?(o=!1,t.$thumbOuter.removeClass("lg-dragging"),t.left=s,Math.abs(i-e)<t.core.s.swipeThreshold&&(t.thumbClickable=!0)):t.thumbClickable=!0,n&&(n=!1,t.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab"))})},e.prototype.enableThumbSwipe=function(){var t=this,e=0,i=0,n=!1,o=0;t.core.$outer.find(".lg-thumb").on("touchstart.lg",function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e=i.originalEvent.targetTouches[0].pageX,t.thumbClickable=!1)}),t.core.$outer.find(".lg-thumb").on("touchmove.lg",function(s){t.thumbTotalWidth>t.thumbOuterWidth&&(s.preventDefault(),i=s.originalEvent.targetTouches[0].pageX,n=!0,t.$thumbOuter.addClass("lg-dragging"),o=t.left,o-=i-e,o>t.thumbTotalWidth-t.thumbOuterWidth&&(o=t.thumbTotalWidth-t.thumbOuterWidth),o<0&&(o=0),t.setTranslate(o))}),t.core.$outer.find(".lg-thumb").on("touchend.lg",function(){t.thumbTotalWidth>t.thumbOuterWidth&&n?(n=!1,t.$thumbOuter.removeClass("lg-dragging"),Math.abs(i-e)<t.core.s.swipeThreshold&&(t.thumbClickable=!0),t.left=o):t.thumbClickable=!0})},e.prototype.toogle=function(){var t=this;t.core.s.toogleThumb&&(t.core.$outer.addClass("lg-can-toggle"),t.$thumbOuter.append('<span class="lg-toogle-thumb lg-icon"></span>'),t.core.$outer.find(".lg-toogle-thumb").on("click.lg",function(){t.core.$outer.toggleClass("lg-thumb-open")}))},e.prototype.thumbkeyPress=function(){var t=this;$(window).on("keydown.lg.thumb",function(e){38===e.keyCode?(e.preventDefault(),t.core.$outer.addClass("lg-thumb-open")):40===e.keyCode&&(e.preventDefault(),t.core.$outer.removeClass("lg-thumb-open"))})},e.prototype.destroy=function(){this.core.s.thumbnail&&this.core.$items.length>1&&($(window).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb"),this.$thumbOuter.remove(),this.core.$outer.removeClass("lg-has-thumb"))},$.fn.lightGallery.modules.Thumbnail=e}(),!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return rn.apply(null,arguments)}
547function e(t){rn=t}
548function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}
549function n(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}
550function o(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}
551function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}
552function r(t,e){for(var i in e)s(e,i)&&(t[i]=e[i]);return s(e,"toString")&&(t.toString=e.toString),s(e,"valueOf")&&(t.valueOf=e.valueOf),t}
553function a(t,e,i,n){return At(t,e,i,n,!0).utc()}
554function l(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invali
vendor: 44,245 bytes, lines 554-789
554dFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}
555function c(t){return null==t._pf&&(t._pf=l()),t._pf}
556function d(t){if(null==t._isValid){var e=c(t),i=an.call(e.parsedDateParts,function(t){return null!=t});t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}
557return t._isValid}
558function u(t){var e=a(NaN);return null!=t?r(c(e),t):c(e).userInvalidated=!0,e}
559function h(t){return void 0===t}
560function p(t,e){var i,n,o;if(h(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),h(e._i)||(t._i=e._i),h(e._f)||(t._f=e._f),h(e._l)||(t._l=e._l),h(e._strict)||(t._strict=e._strict),h(e._tzm)||(t._tzm=e._tzm),h(e._isUTC)||(t._isUTC=e._isUTC),h(e._offset)||(t._offset=e._offset),h(e._pf)||(t._pf=c(e)),h(e._locale)||(t._locale=e._locale),ln.length>0)
561for(i in ln)n=ln[i],o=e[n],h(o)||(t[n]=o);return t}
562function f(e){p(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),cn===!1&&(cn=!0,t.updateOffset(this),cn=!1)}
563function m(t){return t instanceof f||null!=t&&null!=t._isAMomentObject}
564function g(t){return 0>t?Math.ceil(t):Math.floor(t)}
565function v(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=g(e)),i}
566function y(t,e,i){var n,o=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),r=0;for(n=0;o>n;n++)(i&&t[n]!==e[n]||!i&&v(t[n])!==v(e[n]))&&r++;return r+s}
567function _(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}
568function b(e,i){var n=!0;return r(function(){return null!=t.deprecationHandler&&t.deprecationHandler(null,e),n&&(_(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),n=!1),i.apply(this,arguments)},i)}
569function w(e,i){null!=t.deprecationHandler&&t.deprecationHandler(e,i),dn[e]||(_(i),dn[e]=!0)}
570function k(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}
571function C(t){return "[object Object]"===Object.prototype.toString.call(t)}
572function x(t){var e,i;for(i in t)e=t[i],k(e)?this[i]=e:this["_"+i]=e;this._config=t,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}
573function S(t,e){var i,n=r({},t);for(i in e)s(e,i)&&(C(t[i])&&C(e[i])?(n[i]={},r(n[i],t[i]),r(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);return n}
574function T(t){null!=t&&this.set(t)}
575function D(t){return t?t.toLowerCase().replace("_","-"):t}
576function $(t){for(var e,i,n,o,s=0;s<t.length;){for(o=D(t[s]).split("-"),e=o.length,i=D(t[s+1]),i=i?i.split("-"):null;e>0;){if(n=E(o.slice(0,e).join("-")))return n;if(i&&i.length>=e&&y(o,i,!0)>=e-1)break;e--}
577s++}
578return null}
579function E(t){var e=null;if(!fn[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=hn._abbr,require("./locale/"+t),M(e)}catch(t){}
580return fn[t]}
581function M(t,e){var i;return t&&(i=h(e)?I(t):P(t,e),i&&(hn=i)),hn._abbr}
582function P(t,e){return null!==e?(e.abbr=t,null!=fn[t]?(w("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),e=S(fn[t]._config,e)):null!=e.parentLocale&&(null!=fn[e.parentLocale]?e=S(fn[e.parentLocale]._config,e):w("parentLocaleUndefined","specified parentLocale is not defined yet")),fn[t]=new T(e),M(t),fn[t]):(delete fn[t],null)}
583function O(t,e){if(null!=e){var i;null!=fn[t]&&(e=S(fn[t]._config,e)),i=new T(e),i.parentLocale=fn[t],fn[t]=i,M(t)}else null!=fn[t]&&(null!=fn[t].parentLocale?fn[t]=fn[t].parentLocale:null!=fn[t]&&delete fn[t]);return fn[t]}
584function I(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return hn;if(!i(t)){if(e=E(t))return e;t=[t]}
585return $(t)}
586function L(){return un(fn)}
587function A(t,e){var i=t.toLowerCase();mn[i]=mn[i+"s"]=mn[e]=t}
588function N(t){return "string"==typeof t?mn[t]||mn[t.toLowerCase()]:void 0}
589function H(t){var e,i,n={};for(i in t)s(t,i)&&(e=N(i),e&&(n[e]=t[i]));return n}
590function z(e,i){return function(n){return null!=n?(Y(this,e,n),t.updateOffset(this,i),this):j(this,e)}}
591function j(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}
592function Y(t,e,i){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](i)}
593function W(t,e){var i;if("object"==typeof t)
594for(i in t)this.set(i,t[i]);else if(t=N(t),k(this[t]))return this[t](e);return this}
595function B(t,e,i){var n=""+Math.abs(t),o=e-n.length,s=t>=0;return(s?i?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+n}
596function F(t,e,i,n){var o=n;"string"==typeof n&&(o=function(){return this[n]()}),t&&(_n[t]=o),e&&(_n[e[0]]=function(){return B(o.apply(this,arguments),e[1],e[2])}),i&&(_n[i]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}
597function q(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}
598function R(t){var e,i,n=t.match(gn);for(e=0,i=n.length;i>e;e++)_n[n[e]]?n[e]=_n[n[e]]:n[e]=q(n[e]);return function(e){var o,s="";for(o=0;i>o;o++)s+=n[o]instanceof Function?n[o].call(e,t):n[o];return s}}
599function U(t,e){return t.isValid()?(e=V(e,t.localeData()),yn[e]=yn[e]||R(e),yn[e](t)):t.localeData().invalidDate()}
600function V(t,e){function i(t){return e.longDateFormat(t)||t}
601var n=5;for(vn.lastIndex=0;n>=0&&vn.test(t);)t=t.replace(vn,i),vn.lastIndex=0,n-=1;return t}
602function G(t,e,i){Hn[t]=k(e)?e:function(t,n){return t&&i?i:e}}
603function X(t,e){return s(Hn,t)?Hn[t](e._strict,e._locale):new RegExp(Z(t))}
604function Z(t){return Q(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,o){return e||i||n||o}))}
605function Q(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}
606function K(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(n=function(t,i){i[e]=v(t)}),i=0;i<t.length;i++)zn[t[i]]=n}
607function J(t,e){K(t,function(t,i,n,o){n._w=n._w||{},e(t,n._w,n,o)})}
608function tt(t,e,i){null!=e&&s(zn,t)&&zn[t](e,i._a,i,t)}
609function et(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}
610function it(t,e){return i(this._months)?this._months[t.month()]:this._months[Gn.test(e)?"format":"standalone"][t.month()]}
611function nt(t,e){return i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Gn.test(e)?"format":"standalone"][t.month()]}
612function ot(t,e,i){var n,o,s,r=t.toLocaleLowerCase();if(!this._monthsParse)
613for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;12>n;++n)s=a([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===e?(o=pn.call(this._shortMonthsParse,r),-1!==o?o:null):(o=pn.call(this._longMonthsParse,r),-1!==o?o:null):"MMM"===e?(o=pn.call(this._shortMonthsParse,r),-1!==o?o:(o=pn.call(this._longMonthsParse,r),-1!==o?o:null)):(o=pn.call(this._longMonthsParse,r),-1!==o?o:(o=pn.call(this._shortMonthsParse,r),-1!==o?o:null))}
614function st(t,e,i){var n,o,s;if(this._monthsParseExact)return ot.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;12>n;n++){if(o=a([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(s="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}}
615function rt(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)
616if(/^\d+$/.test(e))e=v(e);else if(e=t.localeData().monthsParse(e),"number"!=typeof e)return t;return i=Math.min(t.date(),et(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}
617function at(e){return null!=e?(rt(this,e),t.updateOffset(this,!0),this):j(this,"Month")}
618function lt(){return et(this.year(),this.month())}
619function ct(t){return this._monthsParseExact?(s(this,"_monthsRegex")||ut.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex}
620function dt(t){return this._monthsParseExact?(s(this,"_monthsRegex")||ut.call(this),t?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex}
621function ut(){function t(t,e){return e.length-t.length}
622var e,i,n=[],o=[],s=[];for(e=0;12>e;e++)i=a([2e3,e]),n.push(this.monthsShort(i,"")),o.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(n.sort(t),o.sort(t),s.sort(t),e=0;12>e;e++)n[e]=Q(n[e]),o[e]=Q(o[e]),s[e]=Q(s[e]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}
623function ht(t){var e,i=t._a;return i&&-2===c(t).overflow&&(e=i[Yn]<0||i[Yn]>11?Yn:i[Wn]<1||i[Wn]>et(i[jn],i[Yn])?Wn:i[Bn]<0||i[Bn]>24||24===i[Bn]&&(0!==i[Fn]||0!==i[qn]||0!==i[Rn])?Bn:i[Fn]<0||i[Fn]>59?Fn:i[qn]<0||i[qn]>59?qn:i[Rn]<0||i[Rn]>999?Rn:-1,c(t)._overflowDayOfYear&&(jn>e||e>Wn)&&(e=Wn),c(t)._overflowWeeks&&-1===e&&(e=Un),c(t)._overflowWeekday&&-1===e&&(e=Vn),c(t).overflow=e),t}
624function pt(t){var e,i,n,o,s,r,a=t._i,l=Jn.exec(a)||to.exec(a);if(l){for(c(t).iso=!0,e=0,i=io.length;i>e;e++)
625if(io[e][1].exec(l[1])){o=io[e][0],n=io[e][2]!==!1;break}
626if(null==o)return void(t._isValid=!1);if(l[3]){for(e=0,i=no.length;i>e;e++)
627if(no[e][1].exec(l[3])){s=(l[2]||" ")+no[e][0];break}
628if(null==s)return void(t._isValid=!1)}
629if(!n&&null!=s)return void(t._isValid=!1);if(l[4]){if(!eo.exec(l[4]))return void(t._isValid=!1);r="Z"}
630t._f=o+(s||"")+(r||""),$t(t)}else t._isValid=!1}
631function ft(e){var i=oo.exec(e._i);return null!==i?void(e._d=new Date(+i[1])):(pt(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}
632function mt(t,e,i,n,o,s,r){var a=new Date(t,e,i,n,o,s,r);return 100>t&&t>=0&&isFinite(a.getFullYear())&&a.setFullYear(t),a}
633function gt(t){var e=new Date(Date.UTC.apply(null,arguments));return 100>t&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}
634function vt(t){return yt(t)?366:365}
635function yt(t){return t%4===0&&t%100!==0||t%400===0}
636function _t(){return yt(this.year())}
637function bt(t,e,i){var n=7+e-i,o=(7+gt(t,0,n).getUTCDay()-e)%7;return-o+n-1}
638function wt(t,e,i,n,o){var s,r,a=(7+i-n)%7,l=bt(t,n,o),c=1+7*(e-1)+a+l;return 0>=c?(s=t-1,r=vt(s)+c):c>vt(t)?(s=t+1,r=c-vt(t)):(s=t,r=c),{year:s,dayOfYear:r}}
639function kt(t,e,i){var n,o,s=bt(t.year(),e,i),r=Math.floor((t.dayOfYear()-s-1)/7)+1;return 1>r?(o=t.year()-1,n=r+Ct(o,e,i)):r>Ct(t.year(),e,i)?(n=r-Ct(t.year(),e,i),o=t.year()+1):(o=t.year(),n=r),{week:n,year:o}}
640function Ct(t,e,i){var n=bt(t,e,i),o=bt(t+1,e,i);return(vt(t)-n+o)/7}
641function xt(t,e,i){return null!=t?t:null!=e?e:i}
642function St(e){var i=new Date(t.now());return e._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()]}
643function Tt(t){var e,i,n,o,s=[];if(!t._d){for(n=St(t),t._w&&null==t._a[Wn]&&null==t._a[Yn]&&Dt(t),t._dayOfYear&&(o=xt(t._a[jn],n[jn]),t._dayOfYear>vt(o)&&(c(t)._overflowDayOfYear=!0),i=gt(o,0,t._dayOfYear),t._a[Yn]=i.getUTCMonth(),t._a[Wn]=i.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=s[e]=n[e];for(;7>e;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Bn]&&0===t._a[Fn]&&0===t._a[qn]&&0===t._a[Rn]&&(t._nextDay=!0,t._a[Bn]=0),t._d=(t._useUTC?gt:mt).apply(null,s),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Bn]=24)}}
644function Dt(t){var e,i,n,o,s,r,a,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(s=1,r=4,i=xt(e.GG,t._a[jn],kt(Nt(),1,4).year),n=xt(e.W,1),o=xt(e.E,1),(1>o||o>7)&&(l=!0)):(s=t._locale._week.dow,r=t._locale._week.doy,i=xt(e.gg,t._a[jn],kt(Nt(),s,r).year),n=xt(e.w,1),null!=e.d?(o=e.d,(0>o||o>6)&&(l=!0)):null!=e.e?(o=e.e+s,(e.e<0||e.e>6)&&(l=!0)):o=s),1>n||n>Ct(i,s,r)?c(t)._overflowWeeks=!0:null!=l?c(t)._overflowWeekday=!0:(a=wt(i,n,o,s,r),t._a[jn]=a.year,t._dayOfYear=a.dayOfYear)}
645function $t(e){if(e._f===t.ISO_8601)return void pt(e);e._a=[],c(e).empty=!0;var i,n,o,s,r,a=""+e._i,l=a.length,d=0;for(o=V(e._f,e._locale).match(gn)||[],i=0;i<o.length;i++)s=o[i],n=(a.match(X(s,e))||[])[0],n&&(r=a.substr(0,a.indexOf(n)),r.length>0&&c(e).unusedInput.push(r),a=a.slice(a.indexOf(n)+n.length),d+=n.length),_n[s]?(n?c(e).empty=!1:c(e).unusedTokens.push(s),tt(s,n,e)):e._strict&&!n&&c(e).unusedTokens.push(s);c(e).charsLeftOver=l-d,a.length>0&&c(e).unusedInput.push(a),c(e).bigHour===!0&&e._a[Bn]<=12&&e._a[Bn]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[Bn]=Et(e._locale,e._a[Bn],e._meridiem),Tt(e),ht(e)}
646function Et(t,e,i){var n;return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?(n=t.isPM(i),n&&12>e&&(e+=12),n||12!==e||(e=0),e):e}
647function Mt(t){var e,i,n,o,s;if(0===t._f.length)return c(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)s=0,e=p({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],$t(e),d(e)&&(s+=c(e).charsLeftOver,s+=10*c(e).unusedTokens.length,c(e).score=s,(null==n||n>s)&&(n=s,i=e));r(t,i||e)}
648function Pt(t){if(!t._d){var e=H(t._i);t._a=o([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Tt(t)}}
649function Ot(t){var e=new f(ht(It(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}
650function It(t){var e=t._i,o=t._f;return t._locale=t._locale||I(t._l),null===e||void 0===o&&""===e?u({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new f(ht(e)):(i(o)?Mt(t):o?$t(t):n(e)?t._d=e:Lt(t),d(t)||(t._d=null),t))}
651function Lt(e){var s=e._i;void 0===s?e._d=new Date(t.now()):n(s)?e._d=new Date(s.valueOf()):"string"==typeof s?ft(e):i(s)?(e._a=o(s.slice(0),function(t){return parseInt(t,10)}),Tt(e)):"object"==typeof s?Pt(e):"number"==typeof s?e._d=new Date(s):t.createFromInputFallback(e)}
652function At(t,e,i,n,o){var s={};return "boolean"==typeof i&&(n=i,i=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=i,s._i=t,s._f=e,s._strict=n,Ot(s)}
653function Nt(t,e,i,n){return At(t,e,i,n,!1)}
654function Ht(t,e){var n,o;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return Nt();for(n=e[0],o=1;o<e.length;++o)(!e[o].isValid()||e[o][t](n))&&(n=e[o]);return n}
655function zt(){var t=[].slice.call(arguments,0);return Ht("isBefore",t)}
656function jt(){var t=[].slice.call(arguments,0);return Ht("isAfter",t)}
657function Yt(t){var e=H(t),i=e.year||0,n=e.quarter||0,o=e.month||0,s=e.week||0,r=e.day||0,a=e.hour||0,l=e.minute||0,c=e.second||0,d=e.millisecond||0;this._milliseconds=+d+1e3*c+6e4*l+1e3*a*60*60,this._days=+r+7*s,this._months=+o+3*n+12*i,this._data={},this._locale=I(),this._bubble()}
658function Wt(t){return t instanceof Yt}
659function Bt(t,e){F(t,0,0,function(){var t=this.utcOffset(),i="+";return 0>t&&(t=-t,i="-"),i+B(~~(t/60),2)+e+B(~~t%60,2)})}
660function Ft(t,e){var i=(e||"").match(t)||[],n=i[i.length-1]||[],o=(n+"").match(co)||["-",0,0],s=+(60*o[1])+v(o[2]);return "+"===o[0]?s:-s}
661function qt(e,i){var o,s;return i._isUTC?(o=i.clone(),s=(m(e)||n(e)?e.valueOf():Nt(e).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+s),t.updateOffset(o,!1),o):Nt(e).local()}
662function Rt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}
663function Ut(e,i){var n,o=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Ft(Ln,e):Math.abs(e)<16&&(e*=60),!this._isUTC&&i&&(n=Rt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),o!==e&&(!i||this._changeInProgress?ce(this,ne(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?o:Rt(this):null!=e?this:NaN}
664function Vt(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}
665function Gt(t){return this.utcOffset(0,t)}
666function Xt(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Rt(this),"m")),this}
667function Zt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ft(In,this._i)),this}
668function Qt(t){return !!this.isValid()&&(t=t?Nt(t).utcOffset():0,(this.utcOffset()-t)%60===0)}
669function Kt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}
670function Jt(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t={};if(p(t,this),t=It(t),t._a){var e=t._isUTC?a(t._a):Nt(t._a);this._isDSTShifted=this.isValid()&&y(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}
671function te(){return !!this.isValid()&&!this._isUTC}
672function ee(){return !!this.isValid()&&this._isUTC}
673function ie(){return !!this.isValid()&&(this._isUTC&&0===this._offset)}
674function ne(t,e){var i,n,o,r=t,a=null;return Wt(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(r={},e?r[e]=t:r.milliseconds=t):(a=uo.exec(t))?(i="-"===a[1]?-1:1,r={y:0,d:v(a[Wn])*i,h:v(a[Bn])*i,m:v(a[Fn])*i,s:v(a[qn])*i,ms:v(a[Rn])*i}):(a=ho.exec(t))?(i="-"===a[1]?-1:1,r={y:oe(a[2],i),M:oe(a[3],i),w:oe(a[4],i),d:oe(a[5],i),h:oe(a[6],i),m:oe(a[7],i),s:oe(a[8],i)}):null==r?r={}:"object"==typeof r&&("from" in r||"to" in r)&&(o=re(Nt(r.from),Nt(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),n=new Yt(r),Wt(t)&&s(t,"_locale")&&(n._locale=t._locale),n}
675function oe(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}
676function se(t,e){var i={milliseconds:0,months:0};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e- +t.clone().add(i.months,"M"),i}
677function re(t,e){var i;return t.isValid()&&e.isValid()?(e=qt(e,t),t.isBefore(e)?i=se(t,e):(i=se(e,t),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}
678function ae(t){return 0>t?-1*Math.round(-1*t):Math.round(t)}
679function le(t,e){return function(i,n){var o,s;return null===n||isNaN(+n)||(w(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),s=i,i=n,n=s),i="string"==typeof i?+i:i,o=ne(i,n),ce(this,o,t),this}}
680function ce(e,i,n,o){var s=i._milliseconds,r=ae(i._days),a=ae(i._months);e.isValid()&&(o=null==o||o,s&&e._d.setTime(e._d.valueOf()+s*n),r&&Y(e,"Date",j(e,"Date")+r*n),a&&rt(e,j(e,"Month")+a*n),o&&t.updateOffset(e,r||a))}
681function de(t,e){var i=t||Nt(),n=qt(i,this).startOf("day"),o=this.diff(n,"days",!0),s=-6>o?"sameElse":-1>o?"lastWeek":0>o?"lastDay":1>o?"sameDay":2>o?"nextDay":7>o?"nextWeek":"sameElse",r=e&&(k(e[s])?e[s]():e[s]);return this.format(r||this.localeData().calendar(s,this,Nt(i)))}
682function ue(){return new f(this)}
683function he(t,e){var i=m(t)?t:Nt(t);return !(!this.isValid()||!i.isValid())&&(e=N(h(e)?"millisecond":e),"millisecond"===e?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())}
684function pe(t,e){var i=m(t)?t:Nt(t);return !(!this.isValid()||!i.isValid())&&(e=N(h(e)?"millisecond":e),"millisecond"===e?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())}
685function fe(t,e,i,n){return n=n||"()",("("===n[0]?this.isAfter(t,i):!this.isBefore(t,i))&&(")"===n[1]?this.isBefore(e,i):!this.isAfter(e,i))}
686function me(t,e){var i,n=m(t)?t:Nt(t);return !(!this.isValid()||!n.isValid())&&(e=N(e||"millisecond"),"millisecond"===e?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))}
687function ge(t,e){return this.isSame(t,e)||this.isAfter(t,e)}
688function ve(t,e){return this.isSame(t,e)||this.isBefore(t,e)}
689function ye(t,e,i){var n,o,s,r;return this.isValid()?(n=qt(t,this),n.isValid()?(o=6e4*(n.utcOffset()-this.utcOffset()),e=N(e),"year"===e||"month"===e||"quarter"===e?(r=_e(this,n),"quarter"===e?r/= 3 : "year" === e && (r /=12)):(s=this-n,r="second"===e?s/1e3:"minute"===e?s/6e4:"hour"===e?s/36e5:"day"===e?(s-o)/864e5:"week"===e?(s-o)/6048e5:s),i?r:g(r)):NaN):NaN}
690function _e(t,e){var i,n,o=12*(e.year()-t.year())+(e.month()-t.month()),s=t.clone().add(o,"months");return 0>e-s?(i=t.clone().add(o-1,"months"),n=(e-s)/ (s - i)) : (i = t.clone().add(o + 1, "months"), n = (e - s) / (i-s)),-(o+n)||0}
691function be(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}
692function we(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?k(Date.prototype.toISOString)?this.toDate().toISOString():U(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):U(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}
693function ke(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var i=U(this,e);return this.localeData().postformat(i)}
694function Ce(t,e){return this.isValid()&&(m(t)&&t.isValid()||Nt(t).isValid())?ne({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}
695function xe(t){return this.from(Nt(),t)}
696function Se(t,e){return this.isValid()&&(m(t)&&t.isValid()||Nt(t).isValid())?ne({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}
697function Te(t){return this.to(Nt(),t)}
698function De(t){var e;return void 0===t?this._locale._abbr:(e=I(t),null!=e&&(this._locale=e),this)}
699function $e(){return this._locale}
700function Ee(t){switch(t=N(t)){case "year":this.month(0);case "quarter":case "month":this.date(1);case "week":case "isoWeek":case "day":case "date":this.hours(0);case "hour":this.minutes(0);case "minute":this.seconds(0);case "second":this.milliseconds(0)}
701return "week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}
702function Me(t){return t=N(t),void 0===t||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}
703function Pe(){return this._d.valueOf()-6e4*(this._offset||0)}
704function Oe(){return Math.floor(this.valueOf()/1e3)}
705function Ie(){return this._offset?new Date(this.valueOf()):this._d}
706function Le(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}
707function Ae(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}
708function Ne(){return this.isValid()?this.toISOString():null}
709function He(){return d(this)}
710function ze(){return r({},c(this))}
711function je(){return c(this).overflow}
712function Ye(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}
713function We(t,e){F(0,[t,t.length],0,e)}
714function Be(t){return Ue.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}
715function Fe(t){return Ue.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}
716function qe(){return Ct(this.year(),1,4)}
717function Re(){var t=this.localeData()._week;return Ct(this.year(),t.dow,t.doy)}
718function Ue(t,e,i,n,o){var s;return null==t?kt(this,n,o).year:(s=Ct(t,n,o),e>s&&(e=s),Ve.call(this,t,e,i,n,o))}
719function Ve(t,e,i,n,o){var s=wt(t,e,i,n,o),r=gt(s.year,0,s.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}
720function Ge(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}
721function Xe(t){return kt(t,this._week.dow,this._week.doy).week}
722function Ze(){return this._week.dow}
723function Qe(){return this._week.doy}
724function Ke(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}
725function Je(t){var e=kt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}
726function ti(t,e){return "string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}
727function ei(t,e){return i(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]}
728function ii(t){return this._weekdaysShort[t.day()]}
729function ni(t){return this._weekdaysMin[t.day()]}
730function oi(t,e,i){var n,o,s,r=t.toLocaleLowerCase();if(!this._weekdaysParse)
731for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;7>n;++n)s=a([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===e?(o=pn.call(this._weekdaysParse,r),-1!==o?o:null):"ddd"===e?(o=pn.call(this._shortWeekdaysParse,r),-1!==o?o:null):(o=pn.call(this._minWeekdaysParse,r),-1!==o?o:null):"dddd"===e?(o=pn.call(this._weekdaysParse,r),-1!==o?o:(o=pn.call(this._shortWeekdaysParse,r),-1!==o?o:(o=pn.call(this._minWeekdaysParse,r),-1!==o?o:null))):"ddd"===e?(o=pn.call(this._shortWeekdaysParse,r),-1!==o?o:(o=pn.call(this._weekdaysParse,r),-1!==o?o:(o=pn.call(this._minWeekdaysParse,r),-1!==o?o:null))):(o=pn.call(this._minWeekdaysParse,r),-1!==o?o:(o=pn.call(this._weekdaysParse,r),-1!==o?o:(o=pn.call(this._shortWeekdaysParse,r),-1!==o?o:null)))}
732function si(t,e,i){var n,o,s;if(this._weekdaysParseExact)return oi.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;7>n;n++){if(o=a([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}}
733function ri(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=ti(t,this.localeData()),this.add(t-e,"d")):e}
734function ai(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}
735function li(t){return this.isValid()?null==t?this.day()||7:this.day(this.day()%7?t:t-7):null!=t?this:NaN}
736function ci(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||hi.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex}
737function di(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||hi.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}
738function ui(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||hi.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}
739function hi(){function t(t,e){return e.length-t.length}
740var e,i,n,o,s,r=[],l=[],c=[],d=[];for(e=0;7>e;e++)i=a([2e3,1]).day(e),n=this.weekdaysMin(i,""),o=this.weekdaysShort(i,""),s=this.weekdays(i,""),r.push(n),l.push(o),c.push(s),d.push(n),d.push(o),d.push(s);for(r.sort(t),l.sort(t),c.sort(t),d.sort(t),e=0;7>e;e++)l[e]=Q(l[e]),c[e]=Q(c[e]),d[e]=Q(d[e]);this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}
741function pi(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}
742function fi(){return this.hours()%12||12}
743function mi(){return this.hours()||24}
744function gi(t,e){F(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}
745function vi(t,e){return e._meridiemParse}
746function yi(t){return "p"===(t+"").toLowerCase().charAt(0)}
747function _i(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"}
748function bi(t,e){e[Rn]=v(1e3*("0."+t))}
749function wi(){return this._isUTC?"UTC":""}
750function ki(){return this._isUTC?"Coordinated Universal Time":""}
751function Ci(t){return Nt(1e3*t)}
752function xi(){return Nt.apply(null,arguments).parseZone()}
753function Si(t,e,i){var n=this._calendar[t];return k(n)?n.call(e,i):n}
754function Ti(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}
755function Di(){return this._invalidDate}
756function $i(t){return this._ordinal.replace("%d",t)}
757function Ei(t){return t}
758function Mi(t,e,i,n){var o=this._relativeTime[i];return k(o)?o(t,e,i,n):o.replace(/%d/i,t)}
759function Pi(t,e){var i=this._relativeTime[t>0?"future":"past"];return k(i)?i(e):i.replace(/%s/i,e)}
760function Oi(t,e,i,n){var o=I(),s=a().set(n,e);return o[i](s,t)}
761function Ii(t,e,i){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return Oi(t,e,i,"month");var n,o=[];for(n=0;12>n;n++)o[n]=Oi(t,n,i,"month");return o}
762function Li(t,e,i,n){"boolean"==typeof t?("number"==typeof e&&(i=e,e=void 0),e=e||""):(e=t,i=e,t=!1,"number"==typeof e&&(i=e,e=void 0),e=e||"");var o=I(),s=t?o._week.dow:0;if(null!=i)return Oi(e,(i+s)%7,n,"day");var r,a=[];for(r=0;7>r;r++)a[r]=Oi(e,(r+s)%7,n,"day");return a}
763function Ai(t,e){return Ii(t,e,"months")}
764function Ni(t,e){return Ii(t,e,"monthsShort")}
765function Hi(t,e,i){return Li(t,e,i,"weekdays")}
766function zi(t,e,i){return Li(t,e,i,"weekdaysShort")}
767function ji(t,e,i){return Li(t,e,i,"weekdaysMin")}
768function Yi(){var t=this._data;return this._milliseconds=jo(this._milliseconds),this._days=jo(this._days),this._months=jo(this._months),t.milliseconds=jo(t.milliseconds),t.seconds=jo(t.seconds),t.minutes=jo(t.minutes),t.hours=jo(t.hours),t.months=jo(t.months),t.years=jo(t.years),this}
769function Wi(t,e,i,n){var o=ne(e,i);return t._milliseconds+=n*o._milliseconds,t._days+=n*o._days,t._months+=n*o._months,t._bubble()}
770function Bi(t,e){return Wi(this,t,e,1)}
771function Fi(t,e){return Wi(this,t,e,-1)}
772function qi(t){return 0>t?Math.floor(t):Math.ceil(t)}
773function Ri(){var t,e,i,n,o,s=this._milliseconds,r=this._days,a=this._months,l=this._data;return s>=0&&r>=0&&a>=0||0>=s&&0>=r&&0>=a||(s+=864e5*qi(Vi(a)+r),r=0,a=0),l.milliseconds=s%1e3,t=g(s/1e3),l.seconds=t%60,e=g(t/60),l.minutes=e%60,i=g(e/60),l.hours=i%24,r+=g(i/24),o=g(Ui(r)),a+=o,r-=qi(Vi(o)),n=g(a/12),a%=12,l.days=r,l.months=a,l.years=n,this}
774function Ui(t){return 4800*t/146097}
775function Vi(t){return 146097*t/4800}
776function Gi(t){var e,i,n=this._milliseconds;if(t=N(t),"month"===t||"year"===t)return e=this._days+n/864e5,i=this._months+Ui(e),"month"===t?i:i/12;switch(e=this._days+Math.round(Vi(this._months)),t){case "week":return e/7+n/6048e5;case "day":return e+n/864e5;case "hour":return 24*e+n/36e5;case "minute":return 1440*e+n/6e4;case "second":return 86400*e+n/1e3;case "millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}}
777function Xi(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}
778function Zi(t){return function(){return this.as(t)}}
779function Qi(t){return t=N(t),this[t+"s"]()}
780function Ki(t){return function(){return this._data[t]}}
781function Ji(){return g(this.days()/7)}
782function tn(t,e,i,n,o){return o.relativeTime(e||1,!!i,t,n)}
783function en(t,e,i){var n=ne(t).abs(),o=es(n.as("s")),s=es(n.as("m")),r=es(n.as("h")),a=es(n.as("d")),l=es(n.as("M")),c=es(n.as("y")),d=o<is.s&&["s",o]||1>=s&&["m"]||s<is.m&&["mm",s]||1>=r&&["h"]||r<is.h&&["hh",r]||1>=a&&["d"]||a<is.d&&["dd",a]||1>=l&&["M"]||l<is.M&&["MM",l]||1>=c&&["y"]||["yy",c];return d[2]=e,d[3]=+t>0,d[4]=i,tn.apply(null,d)}
784function nn(t,e){return void 0!==is[t]&&(void 0===e?is[t]:(is[t]=e,!0))}
785function on(t){var e=this.localeData(),i=en(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)}
786function sn(){var t,e,i,n=ns(this._milliseconds)/1e3,o=ns(this._days),s=ns(this._months);t=g(n/60),e=g(t/60),n%=60,t%=60,i=g(s/12),s%=12;var r=i,a=s,l=o,c=e,d=t,u=n,h=this.asSeconds();return h?(0>h?"-":"")+"P"+(r?r+"Y":"")+(a?a+"M":"")+(l?l+"D":"")+(c||d||u?"T":"")+(c?c+"H":"")+(d?d+"M":"")+(u?u+"S":""):"P0D"}
787var rn,an;an=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),i=e.length>>>0,n=0;i>n;n++)
788if(n in e&&t.call(this,e[n],n,e))return !0;return !1};var ln=t.momentProperties=[],cn=!1,dn={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var un;un=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)s(t,e)&&i.push(e);return i};var hn,pn,fn={},mn={},gn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,vn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,yn={},_n={},bn=/\d/,wn=/\d\d/,kn=/\d{3}/,Cn=/\d{4}/,xn=/[+-]?\d{6}/,Sn=/\d\d?/,Tn=/\d\d\d\d?/,Dn=/\d\d\d\d\d\d?/,$n=/\d{1,3}/,En=/\d{1,4}/,Mn=/[+-]?\d{1,6}/,Pn=/\d+/,On=/[+-]?\d+/,In=/Z|[+-]\d\d:?\d\d/gi,Ln=/Z|[+-]\d\d(?::?\d\d)?/gi,An=/[+-]?\d+(\.\d{1,3})?/,Nn=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Hn={},zn={},jn=0,Yn=1,Wn=2,Bn=3,Fn=4,qn=5,Rn=6,Un=7,Vn=8;pn=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)
789if(this[e]===t)return e;return-1},F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),F("MMMM",0,0,function(t){return this.localeData().months(this,t)}),A("month","M"),G("M",Sn),G("MM",Sn,wn),G("MMM",function(t,e){return e.monthsShortRegex(t)}),G("MMMM",function(t,e){return e.monthsRegex(t)}),K(["M","MM"],function(t,e){e[Yn]=v(t)-1}),K(["MMM","MMMM"],function(t,e,i,n){var o=i._locale.monthsParse(t,n,i._strict);null!=o?e[Yn]=o:c(i).invalidMonth=t});var Gn=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Xn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Zn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Qn=Nn,Kn=Nn,Jn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,to=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,eo=/Z|[+-]\d\d(?::?\d\d)?/,io=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],no=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],oo=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=b("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),F("Y",0,0,function(){var t=this.year();return 9999>=t?""+t:"+"+t}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),A("year","y"),G("Y",On),G("YY",Sn,wn),G("YYYY",En,Cn),G("YYYYY",Mn,xn),G("YYYYYY",Mn,xn),K(["YYYYY","YYYYYY"],jn),K("YYYY",function(e,i){i[jn]=2===e.length?t.parseTwoDigitYear(e):v(e)}),K("YY",function(e,i){i[jn]=t.parseTwoDigitYear(e)}),K("Y",function(t,e){e[jn]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return v(t)+(v(t)>68?1900:2e3)};var so=z("FullYear",!0);t.ISO_8601=function(){};var ro=b("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Nt.apply(null,arguments);return this.isValid()&&t.isValid()?this>t?this:t:u()}),ao=b("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Nt.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:u()}),lo=function(){return Date.now?Date.now():+new Date};Bt("Z",":"),Bt("ZZ",""),G("Z",Ln),G("ZZ",Ln),K(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Ft(Ln,t)});var co=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var uo=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,ho=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ne.fn=Yt.prototype;var po=le(1,"add"),fo=le(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var mo=b("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100}),We("gggg","weekYear"),We("ggggg","weekYear"),We("GGGG","isoWeekYear"),We("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),G("G",On),G("g",On),G("GG",Sn,wn),G("gg",Sn,wn),G("GGGG",En,Cn),G("gggg",En,Cn),G("GGGGG",Mn,xn),G("ggggg",Mn,xn),J(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=v(t)}),J(["gg","GG"],function(e,i,n,o){i[o]=t.parseTwoDigitYear(e)}),F("Q",0,"Qo","quarter"),A("quarter","Q"),G("Q",bn),K("Q",function(t,e){e[Yn]=3*(v(t)-1)}),F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),G("w",Sn),G("ww",Sn,wn),G("W",Sn),G("WW",Sn,wn),J(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=v(t)});var go={dow:0,doy:6};F("D",["DD",2],"Do","date"),A("date","D"),G("D",Sn),G("DD",Sn,wn),G("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),K(["D","DD"],Wn),K("Do",function(t,e){e[Wn]=v(t.match(Sn)[0],10)});var vo=z("Date",!0);F("d",0,"do","day"),F("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),F("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),F("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),G("d",Sn),G("e",Sn),G("E",Sn),G("dd",function(t,e){return e.weekdaysMinRegex(t)}),G("ddd",function(t,e){return e.weekdaysShortRegex(t)}),G("dddd",function(t,e){return e.weekdaysRegex(t)}),J(["dd","ddd","dddd"],function(t,e,i,n){var o=i._locale.weekdaysParse(t,n,i._strict);null!=o?e.d=o:c(i).invalidWeekday=t}),J(["d","e","E"],function(t,e,i,n){e[n]=v(t)});var yo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_o="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),bo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),wo=Nn,ko=Nn,Co=Nn;F("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),G("DDD",$n),G("DDDD",kn),K(["DDD","DDDD"],function(t,e,i){i._dayOfYear=v(t)}),F("H",["HH",2],0,"hour"),F("h",["hh",2],0,fi),F("k",["kk",2],0,mi),F("hmm",0,0,function(){return ""+fi.apply(this)+B(this.minutes(),2)}),F("hmmss",0,0,function(){return ""+fi.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),F("Hmm",0,0,function(){return ""+this.hours()+B(this.minutes(),2)}),F("Hmmss",0,0,function(){return ""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),gi("a",!0),gi("A",!1),A("hour","h"),G("a",vi),G("A",vi),G("H",Sn),G("h",Sn),G("HH",Sn,wn),G("hh",Sn,wn),G("hmm",Tn),G("hmmss",Dn),G("Hmm",Tn),G("Hmmss",Dn),K(["H","HH"],Bn),K(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),K(["h","hh"],function(t,e,i){e[Bn]=v(t),c(i).bigHour=!0}),K("hmm",function(t,e,i){var n=t.length-2;e[Bn]=v(t.substr(0,n)),e[Fn]=v(t.substr(n)),c(i).bigHour=!0}),K("hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[Bn]=v(t.substr(0,n)),e[Fn]=v(t.substr(n,2)),e[qn]=v(t.substr(o)),c(i).bigHour=!0}),K("Hmm",function(t,e,i){var n=t.length-2;e[Bn]=v(t.substr(0,n)),e[Fn]=v(t.substr(n))}),K("Hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[Bn]=v(t.substr(0,n)),e[Fn]=v(t.substr(n,2)),e[qn]=v(t.substr(o))});var xo=/[ap]\.?m?\.?/i,So=z("Hours",!0);F("m",["mm",2],0,"minute"),A("minute","m"),G("m",Sn),G("mm",Sn,wn),K(["m","mm"],Fn);var To=z("Minutes",!1);F("s",["ss",2],0,"second"),A("second","s"),G("s",Sn),G("ss",Sn,wn),K(["s","ss"],qn);var Do=z("Seconds",!1);F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,function(){return 10*this.millisecond()}),F(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),F(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),F(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),F(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),F(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),A("millisecond","ms"),G("S",$n,bn),G("SS",$n,wn),G("SSS",$n,kn);var $o;for($o="SSSS";$o.length<=9;$o+="S")G($o,Pn);for($o="S";$o.length<=9;$o+="S")K($o,bi);var Eo=z("Milliseconds",!1);F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var Mo=f.prototype;Mo.add=po,Mo.calendar=de,Mo.clone=ue,Mo.diff=ye,Mo.endOf=Me,Mo.format=ke,Mo.from=Ce,Mo.fromNow=xe,Mo.to=Se,Mo.toNow=Te,Mo.get=W,Mo.invalidAt=je,Mo.isAfter=he,Mo.isBefore=pe,Mo.isBetween=fe,Mo.isSame=me,Mo.isSameOrAfter=ge,Mo.isSameOrBefore=ve,Mo.isValid=He,Mo.lang=mo,Mo.locale=De,Mo.localeData=$e,Mo.max=ao,Mo.min=ro,Mo.parsingFlags=ze,Mo.set=W,Mo.startOf=Ee,Mo.subtract=fo,Mo.toArray=Le,Mo.toObject=Ae,Mo.toDate=Ie,Mo.toISOString=we,Mo.toJSON=Ne,Mo.toString=be,Mo.unix=Oe,Mo.valueOf=Pe,Mo.creationData=Ye,Mo.year=so,Mo.isLeapYear=_t,Mo.weekYear=Be,Mo.isoWeekYear=Fe,Mo.quarter=Mo.quarters=Ge,Mo.month=at,Mo.daysInMonth=lt,Mo.week=Mo.weeks=Ke,Mo.isoWeek=Mo.isoWeeks=Je,Mo.weeksInYear=Re,Mo.isoWeeksInYear=qe,Mo.date=vo,Mo.day=Mo.days=ri,Mo.weekday=ai,Mo.isoWeekday=li,Mo.dayOfYear=pi,Mo.hour=Mo.hours=So,Mo.minute=Mo.minutes=To,Mo.second=Mo.seconds=Do,Mo.millisecond=Mo.milliseconds=Eo,Mo.utcOffset=Ut,Mo.utc=Gt,Mo.local=Xt,Mo.parseZone=Zt,Mo.hasAlignedHourOffset=Qt,Mo.isDST=Kt,Mo.isDSTShifted=Jt,Mo.isLocal=te,Mo.isUtcOffset=ee,Mo.isUtc=ie,Mo.isUTC=ie,Mo.zoneAbbr=wi,Mo.zoneName=ki,Mo.dates=b("dates accessor is deprecated. Use date instead.",vo),Mo.months=b("months accessor is deprecated. Use month instead",at),Mo.years=b("years accessor is deprecated. Use year instead",so),Mo.zone=b("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Vt);var Po=Mo,Oo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Io={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Lo="Invalid date",Ao="%d",No=/\d{1,2}/,Ho={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},zo=T.prototype;zo._calendar=Oo,zo.calendar=Si,zo._longDateFormat=Io,zo.longDateFormat=Ti,zo._invalidDate=Lo,zo.invalidDate=Di,zo._ordinal=Ao,zo.ordinal=$i,zo._ordinalParse=No,zo.preparse=Ei,zo.postformat=Ei,zo._relativeTime=Ho,zo.relativeTime=Mi,zo.pastFuture=Pi,zo.set=x,zo.months=it,zo._months=Xn,zo.monthsShort=nt,zo._monthsShort=Zn,zo.monthsParse=st,zo._monthsRegex=Kn,zo.monthsRegex=dt,zo._monthsShortRegex=Qn,zo.monthsShortRegex=ct,zo.week=Xe,zo._week=go,zo.firstDayOfYear=Qe,zo.firstDayOfWeek=Ze,zo.weekdays=ei,zo._weekdays=yo,zo.weekdaysMin=ni,zo._weekdaysMin=bo,zo.weekdaysShort=ii,zo._weekdaysShort=_o,zo.weekdaysParse=si,zo._weekdaysRegex=wo,zo.weekdaysRegex=ci,zo._weekdaysShortRegex=ko,zo.weekdaysShortRegex=di,zo._weekdaysMinRegex=Co,zo.weekdaysMinRegex=ui,zo.isPM=yi,zo._meridiemParse=x
789o,zo.meridiem=_i,M("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,i=1===v(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i}}),t.lang=b("moment.lang is deprecated. Use moment.locale instead.",M),t.langData=b("moment.langData is deprecated. Use moment.localeData instead.",I);var jo=Math.abs,Yo=Zi("ms"),Wo=Zi("s"),Bo=Zi("m"),Fo=Zi("h"),qo=Zi("d"),Ro=Zi("w"),Uo=Zi("M"),Vo=Zi("y"),Go=Ki("milliseconds"),Xo=Ki("seconds"),Zo=Ki("minutes"),Qo=Ki("hours"),Ko=Ki("days"),Jo=Ki("months"),ts=Ki("years"),es=Math.round,is={s:45,m:45,h:22,d:26,M:11},ns=Math.abs,os=Yt.prototype;os.abs=Yi,os.add=Bi,os.subtract=Fi,os.as=Gi,os.asMilliseconds=Yo,os.asSeconds=Wo,os.asMinutes=Bo,os.asHours=Fo,os.asDays=qo,os.asWeeks=Ro,os.asMonths=Uo,os.asYears=Vo,os.valueOf=Xi,os._bubble=Ri,os.get=Qi,os.milliseconds=Go,os.seconds=Xo,os.minutes=Zo,os.hours=Qo,os.days=Ko,os.weeks=Ji,os.months=Jo,os.years=ts,os.humanize=on,os.toISOString=sn,os.toString=sn,os.toJSON=sn,os.locale=De,os.localeData=$e,os.toIsoString=b("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sn),os.lang=mo,F("X",0,0,"unix"),F("x",0,0,"valueOf"),G("x",On),G("X",An),K("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),K("x",function(t,e,i){i._d=new Date(v(t))}),t.version="2.13.0",e(Nt),t.fn=Po,t.min=zt,t.max=jt,t.now=lo,t.utc=a,t.unix=Ci,t.months=Ai,t.isDate=n,t.locale=M,t.invalid=u,t.duration=ne,t.isMoment=m,t.weekdays=Hi,t.parseZone=xi,t.localeData=I,t.isDuration=Wt,t.monthsShort=Ni,t.weekdaysMin=ji,t.defineLocale=P,t.updateLocale=O,t.locales=L,t.weekdaysShort=zi,t.normalizeUnits=N,t.relativeTimeThreshold=nn,t.prototype=Po;var ss=t;return ss}),function(t,e){"use strict";var i=function(){var i={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},n=function(){var e=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);return e&&t("html").css("cursor","pointer").on("click",t.noop),e}(),o=function(){var t=document.documentElement.style;return "behavior" in t&&"fill" in t&&/iemobile/i.test(navigator.userAgent)}(),s=function(){return !!e.PointerEvent}(),r=function(t,e,n){var o,s=i.menuClass;e.cssArrows&&(s+=" "+i.menuArrowClass),o=n?"addClass":"removeClass",t[o](s)},a=function(e,n){return e.find("li."+n.pathClass).slice(0,n.pathLevels).addClass(n.hoverClass+" "+i.bcClass).filter(function(){return t(this).children(n.popUpSelector).hide().show().length}).removeClass(n.pathClass)},l=function(t,e){var n=e?"addClass":"removeClass";t.children("a")[n](i.anchorClass)},c=function(t){var e=t.css("ms-touch-action"),i=t.css("touch-action");i=i||e,i="pan-y"===i?"auto":"pan-y",t.css({"ms-touch-action":i,"touch-action":i})},d=function(t){return t.closest("."+i.menuClass)},u=function(t){return d(t).data("sfOptions")},h=function(){var e=t(this),i=u(e);clearTimeout(i.sfTimer),e.siblings().superfish("hide").end().superfish("show")},p=function(e){e.retainPath=t.inArray(this[0],e.$path)>-1,this.superfish("hide"),this.parents("."+e.hoverClass).length||(e.onIdle.call(d(this)),e.$path.length&&t.proxy(h,e.$path)())},f=function(){var e=t(this),i=u(e);n?t.proxy(p,e,i)():(clearTimeout(i.sfTimer),i.sfTimer=setTimeout(t.proxy(p,e,i),i.delay))},m=function(e){var i=t(this),n=u(i),o=i.siblings(e.data.popUpSelector);return n.onHandleTouch.call(o)===!1?this:void(o.length>0&&o.is(":hidden")&&(i.one("click.superfish",!1),"MSPointerDown"===e.type||"pointerdown"===e.type?i.trigger("focus"):t.proxy(h,i.parent("li"))()))},g=function(e,i){var r="li:has("+i.popUpSelector+")";t.fn.hoverIntent&&!i.disableHI?e.hoverIntent(h,f,r):e.on("mouseenter.superfish",r,h).on("mouseleave.superfish",r,f);var a="MSPointerDown.superfish";s&&(a="pointerdown.superfish"),n||(a+=" touchend.superfish"),o&&(a+=" mousedown.superfish"),e.on("focusin.superfish","li",h).on("focusout.superfish","li",f).on(a,"a",i,m)};return{hide:function(e){if(this.length){var i=this,n=u(i);if(!n)return this;var o=n.retainPath===!0?n.$path:"",s=i.find("li."+n.hoverClass).add(this).not(o).removeClass(n.hoverClass).children(n.popUpSelector),r=n.speedOut;if(e&&(s.show(),r=0),n.retainPath=!1,n.onBeforeHide.call(s)===!1)return this;s.stop(!0,!0).animate(n.animationOut,r,function(){var e=t(this);n.onHide.call(e)})}
790return this},show:function(){var t=u(this);if(!t)return this;var e=this.addClass(t.hoverClass),i=e.children(t.popUpSelector);return t.onBeforeShow.call(i)===!1?this:(i.stop(!0,!0).animate(t.animation,t.speed,function(){t.onShow.call(i)}),this)},destroy:function(){return this.each(function(){var e,n=t(this),o=n.data("sfOptions");return !!o&&(e=n.find(o.popUpSelector).parent("li"),clearTimeout(o.sfTimer),r(n,o),l(e),c(n),n.off(".superfish").off(".hoverIntent"),e.children(o.popUpSelector).attr("style",function(t,e){return e.replace(/display[^;]+;?/g,"")}),o.$path.removeClass(o.hoverClass+" "+i.bcClass).addClass(o.pathClass),n.find("."+o.hoverClass).removeClass(o.hoverClass),o.onDestroy.call(n),void n.removeData("sfOptions"))})},init:function(e){return this.each(function(){var n=t(this);if(n.data("sfOptions"))return !1;var o=t.extend({},t.fn.superfish.defaults,e),s=n.find(o.popUpSelector).parent("li");o.$path=a(n,o),n.data("sfOptions",o),r(n,o,!0),l(s,!0),c(n),g(n,o),s.not("."+i.bcClass).superfish("hide",!0),o.onInit.call(this)})}}}();t.fn.superfish=function(e,n){return i[e]?i[e].apply(this,Array.prototype.slice.call(arguments,1
790)):"object"!=typeof e&&e?t.error("Method "+e+" does not exist on jQuery.fn.superfish"):i.init.apply(this,arguments)},t.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:t.noop,onBeforeShow:t.noop,onShow:t.noop,onBeforeHide:t.noop,onHide:t.noop,onIdle:t.noop,onDestroy:t.noop,onHandleTouch:t.noop}}(jQuery,window),function(t){t.fn.hoverIntent=function(e,i,n){var o={interval:100,sensitivity:7,timeout:0};o="object"==typeof e?t.extend(o,e):t.isFunction(i)?t.extend(o,{over:e,out:i,selector:n}):t.extend(o,{over:e,out:e,selector:i});var s,r,a,l,c=function(t){s=t.pageX,r=t.pageY},d=function(e,i){return i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.abs(a-s)+Math.abs(l-r)<o.sensitivity?(t(i).off("mousemove.hoverIntent",c),i.hoverIntent_s=1,o.over.apply(i,[e])):(a=s,l=r,i.hoverIntent_t=setTimeout(function(){d(e,i)},o.interval),void 0)},u=function(t,e){return e.hoverIntent_t=clearTimeout(e.hoverIntent_t),e.hoverIntent_s=0,o.out.apply(e,[t])},h=function(e){var i=jQuery.extend({},e),n=this;n.hoverIntent_t&&(n.hoverIntent_t=clearTimeout(n.hoverIntent_t)),"mouseenter"==e.type?(a=i.pageX,l=i.pageY,t(n).on("mousemove.hoverIntent",c),1!=n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){d(i,n)},o.interval))):(t(n).off("mousemove.hoverIntent",c),1==n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){u(i,n)},o.timeout)))};return this.on({"mouseenter.hoverIntent":h,"mouseleave.hoverIntent":h},o.selector)}}(jQuery),function(t,e){if("function"==typeof define&&define.amd)define(["moment","jquery"],function(i,n){return t.daterangepicker=e(i,n)});else if("object"==typeof module&&module.exports){var i="undefined"!=typeof window?window.jQuery:void 0;i||(i=require("jquery"),i.fn||(i.fn={}));var n="undefined"!=typeof window&&"undefined"!=typeof window.moment?window.moment:require("moment");module.exports=e(n,i)}else t.daterangepicker=e(t.moment,t.jQuery)}(this,function(t,e){var i=function(i,n,o){if(this.parentEl="body",this.element=e(i),this.startDate=t().startOf("day"),this.endDate=t().endOf("day"),this.minDate=!1,this.maxDate=!1,this.dateLimit=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyClass="btn-success",this.cancelClass="btn-default",this.locale={direction:"ltr",format:t.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:t.weekdaysMin(),monthNames:t.monthsShort(),firstDay:t.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},"object"==typeof n&&null!==n||(n={}),n=e.extend(this.element.data(),n),"string"==typeof n.template||n.template instanceof e||(n.template='<div class="daterangepicker dropdown-menu"><div class="calendar left"><div class="daterangepicker_input"><input class="input-mini form-control" type="text" name="daterangepicker_start" value="" /><i class="fa fa-calendar glyphicon glyphicon-calendar"></i><div class="calendar-time"><div></div><i class="fa fa-clock-o glyphicon glyphicon-time"></i></div></div><div class="calendar-table"></div></div><div class="calendar right"><div class="daterangepicker_input"><input class="input-mini form-control" type="text" name="daterangepicker_end" value="" /><i class="fa fa-calendar glyphicon glyphicon-calendar"></i><div class="calendar-time"><div></div><i class="fa fa-clock-o glyphicon glyphicon-time"></i></div></div><div class="calendar-table"></div></div><div class="ranges"><div class="range_inputs"><button class="applyBtn" disabled="disabled" type="button"></button> <button class="cancelBtn" type="button"></button></div></div></div>'),this.parentEl=e(n.parentEl&&e(n.parentEl).length?n.parentEl:this.parentEl),this.container=e(n.template).appendTo(this.parentEl),"object"==typeof n.locale&&("string"==typeof n.locale.direction&&(this.locale.direction=n.locale.direction),"string"==typeof n.locale.format&&(this.locale.format=n.locale.format),"string"==typeof n.locale.separator&&(this.locale.separator=n.locale.separator),"object"==typeof n.locale.daysOfWeek&&
790(this.locale.daysOfWeek=n.locale.daysOfWeek.slice()),"object"==typeof n.locale.monthNames&&(this.locale.monthNames=n.locale.monthNames.slice()),"number"==typeof n.locale.firstDay&&(this.locale.firstDay=n.locale.firstDay),"string"==typeof n.locale.applyLabel&&(this.locale.applyLabel=n.locale.applyLabel),"string"==typeof n.locale.cancelLabel&&(this.locale.cancelLabel=n.locale.cancelLabel),"string"==typeof n.locale.weekLabel&&(this.locale.weekLabel=n.locale.weekLabel),"string"==typeof n.locale.customRangeLabel)){var s=document.createElement("textarea");s.innerHTML=n.locale.customRangeLabel;var r=s.value;this.locale.customRangeLabel=r}
791if(this.container.addClass(this.locale.direction),"string"==typeof n.startDate&&(this.startDate=t(n.startDate,this.locale.format)),"string"==typeof n.endDate&&(this.endDate=t(n.endDate,this.locale.format)),"string"==typeof n.minDate&&(this.minDate=t(n.minDate,this.locale.format)),"string"==typeof n.maxDate&&(this.maxDate=t(n.maxDate,this.locale.format)),"object"==typeof n.startDate&&(this.startDate=t(n.startDate)),"object"==typeof n.endDate&&(this.endDate=t(n.endDate)),"object"==typeof n.minDate&&(this.minDate=t(n.minDate)),"object"==typeof n.maxDate&&(this.maxDate=t(n.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),"string"==typeof n.applyClass&&(this.applyClass=n.applyClass),"string"==typeof n.cancelClass&&(this.cancelClass=n.cancelClass),"object"==typeof n.dateLimit&&(this.dateLimit=n.dateLimit),"string"==typeof n.opens&&(this.opens=n.opens),"string"==typeof n.drops&&(this.drops=n.drops),"boolean"==typeof n.showWeekNumbers&&(this.showWeekNumbers=n.showWeekNumbers),"boolean"==typeof n.showISOWeekNumbers&&(this.showISOWeekNumbers=n.showISOWeekNumbers),"string"==typeof n.buttonClasses&&(this.buttonClasses=n.buttonClasses),"object"==typeof n.buttonClasses&&(this.buttonClasses=n.buttonClasses.join(" ")),"boolean"==typeof n.showDropdowns&&(this.showDropdowns=n.showDropdowns),"boolean"==typeof n.showCustomRangeLabel&&(this.showCustomRangeLabel=n.showCustomRangeLabel),"boolean"==typeof n.singleDatePicker&&(this.singleDatePicker=n.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof n.timePicker&&(this.timePicker=n.timePicker),"boolean"==typeof n.timePickerSeconds&&(this.timePickerSeconds=n.timePickerSeconds),"number"==typeof n.timePickerIncrement&&(this.timePickerIncrement=n.timePickerIncrement),"boolean"==typeof n.timePicker24Hour&&(this.timePicker24Hour=n.timePicker24Hour),"boolean"==typeof n.autoApply&&(this.autoApply=n.autoApply),"boolean"==typeof n.autoUpdateInput&&(this.autoUpdateInput=n.autoUpdateInput),"boolean"==typeof n.linkedCalendars&&(this.linkedCalendars=n.linkedCalendars),"function"==typeof n.isInvalidDate&&(this.isInvalidDate=n.isInvalidDate),"function"==typeof n.isCustomDate&&(this.isCustomDate=n.isCustomDate),"boolean"==typeof n.alwaysShowCalendars&&(this.alwaysShowCalendars=n.alwaysShowCalendars),0!=this.locale.firstDay)
792for(var a=this.locale.firstDay;a>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),a--;var l,c,d;if("undefined"==typeof n.startDate&&"undefined"==typeof n.endDate&&e(this.element).is("input[type=text]")){var u=e(this.element).val(),h=u.split(this.locale.separator);l=c=null,2==h.length?(l=t(h[0],this.locale.format),c=t(h[1],this.locale.format)):this.singleDatePicker&&""!==u&&(l=t(u,this.locale.format),c=t(u,this.locale.format)),null!==l&&null!==c&&(this.setStartDate(l),this.setEndDate(c))}
793if("object"==typeof n.ranges){for(d in n.ranges){l="string"==typeof n.ranges[d][0]?t(n.ranges[d][0],this.locale.format):t(n.ranges[d][0]),c="string"==typeof n.ranges[d][1]?t(n.ranges[d][1],this.locale.format):t(n.ranges[d][1]),this.minDate&&l.isBefore(this.minDate)&&(l=this.minDate.clone());var p=this.maxDate;if(this.dateLimit&&p&&l.clone().add(this.dateLimit).isAfter(p)&&(p=l.clone().add(this.dateLimit)),p&&c.isAfter(p)&&(c=p.clone()),!(this.minDate&&c.isBefore(this.minDate,this.timepicker?"minute":"day")||p&&l.isAfter(p,this.timepicker?"minute":"day"))){var s=document.createElement("textarea");s.innerHTML=d;var r=s.value;this.ranges[r]=[l,c]}}
794var f="<ul>";
794for(d in this.ranges)f+='<li data-range-key="'+d+'">'+d+"</li>";this.showCustomRangeLabel&&(f+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),f+="</ul>",this.container.find(".ranges").prepend(f)}
795"function"==typeof o&&(this.callback=o),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&"object"!=typeof n.ranges?this.container.find(".ranges").hide():this.autoApply&&this.container.find(".applyBtn, .cancelBtn").addClass("hide"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".calendar.left").addClass("single"),this.container.find(".calendar.left").show(),this.container.find(".calendar.right").hide(),this.container.find(".daterangepicker_input input, .daterangepicker_input > i").hide(),this.timePicker?this.container.find(".ranges ul").hide():this.container.find(".ranges").hide()),("undefined"==typeof n.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),"undefined"!=typeof n.ranges&&"right"==this.opens&&this.container.find(".ranges").prependTo(this.container.find(".calendar.left").parent()),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyClass.length&&this.container.find(".applyBtn").addClass(this.applyClass),this.cancelClass.length&&this.container.find(".cancelBtn").addClass(this.cancelClass),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".calendar").on("click.daterangepicker",".prev",e.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",e.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",e.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",e.proxy(this.hoverDate,this)).on("mouseleave.daterangepicker","td.available",e.proxy(this.updateFormInputs,this)).on("change.daterangepicker","select.yearselect",e.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",e.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",e.proxy(this.timeChanged,this)).on("click.daterangepicker",".daterangepicker_input input",e.proxy(this.showCalendars,this)).on("focus.daterangepicker",".daterangepicker_input input",e.proxy(this.formInputsFocused,this)).on("blur.daterangepicker",".daterangepicker_input input",e.proxy(this.formInputsBlurred,this)).on("change.daterangepicker",".daterangepicker_input input",e.proxy(this.formInputsChanged,this)),this.container.find(".ranges").on("click.daterangepicker","button.applyBtn",e.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",e.proxy(this.clickCancel,this)).on("click.daterangepicker","li",e.proxy(this.clickRange,this)).on("mouseenter.daterangepicker","li",e.proxy(this.hoverRange,this)).on("mouseleave.daterangepicker","li",e.proxy(this.updateFormInputs,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":e.proxy(this.show,this),"focus.daterangepicker":e.proxy(this.show,this),"keyup.daterangepicker":e.proxy(this.elementChanged,this),"keydown.daterangepicker":e.proxy(this.keydown,this)}):this.element.on("click.daterangepicker",e.proxy(this.toggle,this)),this.element.is("input")&&!this.singleDatePicker&&this.autoUpdateInput?(this.element.val(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.element.trigger("change")):this.element.is("input")&&this.autoUpdateInput&&(this.element.val(this.startDate.format(this.locale.format)),this.element.trigger("change"))};return i.prototype={constructor:i,setStartDate:function(e){"string"==typeof e&&(this.startDate=t(e,this.locale.format)),"object"==typeof e&&(this.startDate=t(e)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/ this.timePickerIncrement) * this.timePickerIncrement), this.minDate && this.startDate.isBefore(this.minDate) && (this.startDate = this.minDate.clone(), this.timePicker && this.timePickerIncrement && this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(e){"string"==typeof e&&(this.endDate=t(e,this.locale.format)),"object"==typeof e&&(this.endDate=t(e)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.dateLimit&&this.startDate.clone().add(this.dateLimit).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.dateLimit)),this.previousRightTime=this.endDate.clone(),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return !1},isCustomDate:function(){return !1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").removeAttr("disabled").removeClass("disabled"):this.container.find(".right .calendar-time select").attr("disabled","disabled").addClass("disabled")),this.endDate?(this.container.find('input[name="daterangepicker_end"]').removeClass("active"),this.container.find('input[name="daterangepicker_start"]').addClass("active")):(this.container.find('input[name="daterangepicker_end"]').addClass("active"),this.container.find('input[name="daterangepicker_start"]').removeClass("active")),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var t,e,i;if(this.endDate){if(t=parseInt(this.container.find(".left .hourselect").val(),10),e=parseInt(this.container.find(".left .minuteselect").val(),10),i=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var n=this.container.find(".left .ampmselect").val();"PM"===n&&t<12&&(t+=12),"AM"===n&&12===t&&(t=0)}}else if(t=parseInt(this.container.find(".right .hourselect").val(),10),e=parseInt(this.container.find(".right .minuteselect").val(),10),i=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var n=this.container.find(".right .ampmselect").val();"PM"===n&&t<12&&(t+=12),"AM"===n&&12===t&&(t=0)}
796this.leftCalendar.month.hour(t).minute(e).second(i),this.rightCalendar.month.hour(t).minute(e).second(i)}
797this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()},renderCalendar:function(i){var n="left"==i?this.leftCalendar:this.rightCalendar,o=n.month.month(),s=n.month.year(),r=n.month.hour(),a=n.month.minute(),l=n.month.second(),c=t([s,o]).daysInMonth(),d=t([s,o,1]),u=t([s,o,c]),h=t(d).subtract(1,"month").month(),p=t(d).subtract(1,"month").year(),f=t([p,h]).daysInMonth(),m=d.day(),n=[];n.firstDay=d,n.lastDay=u;for(var g=0;g<6;g++)n[g]=[];var v=f-m+this.locale.firstDay+1;v>f&&(v-=7),m==this.locale.firstDay&&(v=f-6);
797for(var y,_,b=t([p,h,v,12,a,l]),g=0,y=0,_=0;g<42;g++,y++,b=t(b).add(24,"hour"))g>0&&y%7===0&&(y=0,_++),n[_][y]=b.clone().hour(r).minute(a).second(l),b.hour(12),this.minDate&&n[_][y].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&n[_][y].isBefore(this.minDate)&&"left"==i&&(n[_][y]=this.minDate.clone()),this.maxDate&&n[_][y].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&n[_][y].isAfter(this.maxDate)&&"right"==i&&(n[_][y]=this.maxDate.clone());"left"==i?this.leftCalendar.calendar=n:this.rightCalendar.calendar=n;var w="left"==i?this.minDate:this.startDate,k=this.maxDate,C=("left"==i?this.startDate:this.endDate,"ltr"==this.locale.direction?{left:"chevron-left",right:"chevron-right"}:{left:"chevron-right",right:"chevron-left"}),x='<table class="table-condensed">';x+="<thead>",x+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(x+="<th></th>"),x+=w&&!w.isBefore(n.firstDay)||this.linkedCalendars&&"left"!=i?"<th></th>":'<th class="prev available"><i class="fa fa-'+C.left+" glyphicon glyphicon-"+C.left+'"></i></th>';var S=this.locale.monthNames[n[1][1].month()]+n[1][1].format(" YYYY");if(this.showDropdowns){for(var T=n[1][1].month(),D=n[1][1].year(),$=k&&k.year()||D+5,E=w&&w.year()||D-50,M=D==E,P=D==$,O='<select class="monthselect">',I=0;I<12;I++)O+=(!M||I>=w.month())&&(!P||I<=k.month())?"<option value='"+I+"'"+(I===T?" selected='selected'":"")+">"+this.locale.monthNames[I]+"</option>":"<option value='"+I+"'"+(I===T?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[I]+"</option>";O+="</select>";for(var L='<select class="yearselect">',A=E;A<=$;A++)L+='<option value="'+A+'"'+(A===D?' selected="selected"':"")+">"+A+"</option>";L+="</select>",S=O+L}
798if(x+='<th colspan="5" class="month">'+S+"</th>",x+=k&&!k.isAfter(n.lastDay)||this.linkedCalendars&&"right"!=i&&!this.singleDatePicker?"<th></th>":'<th class="next available"><i class="fa fa-'+C.right+" glyphicon glyphicon-"+C.right+'"></i></th>',x+="</tr>",x+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(x+='<th class="week">'+this.locale.weekLabel+"</th>"),e.each(this.locale.daysOfWeek,function(t,e){x+="<th>"+e+"</th>"}),x+="</tr>",x+="</thead>",x+="<tbody>",null==this.endDate&&this.dateLimit){var N=this.startDate.clone().add(this.dateLimit).endOf("day");k&&!N.isBefore(k)||(k=N)}
799for(var _=0;_<6;_++){x+="<tr>",this.showWeekNumbers?x+='<td class="week">'+n[_][0].week()+"</td>":this.showISOWeekNumbers&&(x+='<td class="week">'+n[_][0].isoWeek()+"</td>");for(var y=0;y<7;y++){var H=[];n[_][y].isSame(new Date,"day")&&H.push("today"),n[_][y].isoWeekday()>5&&H.push("weekend"),n[_][y].month()!=n[1][1].month()&&H.push("off"),this.minDate&&n[_][y].isBefore(this.minDate,"day")&&H.push("off","disabled"),k&&n[_][y].isAfter(k,"day")&&H.push("off","disabled"),this.isInvalidDate(n[_][y])&&H.push("off","disabled"),n[_][y].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&H.push("active","start-date"),null!=this.endDate&&n[_][y].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&H.push("active","end-date"),null!=this.endDate&&n[_][y]>this.startDate&&n[_][y]<this.endDate&&H.push("in-range");var z=this.isCustomDate(n[_][y]);z!==!1&&("string"==typeof z?H.push(z):Array.prototype.push.apply(H,z));for(var j="",Y=!1,g=0;g<H.length;g++)j+=H[g]+" ","disabled"==H[g]&&(Y=!0);Y||(j+="available"),x+='<td class="'+j.replace(/^\s+|\s+$/g,"")+'" data-title="r'+_+"c"+y+'">'+n[_][y].date()+"</td>"}
800x+="</tr>"}
801x+="</tbody>",x+="</table>",this.container.find(".calendar."+i+" .calendar-table").html(x)},renderTimePicker:function(t){if("right"!=t||this.endDate){var e,i,n,o=this.maxDate;if(!this.dateLimit||this.maxDate&&!this.startDate.clone().add(this.dateLimit).isAfter(this.maxDate)||(o=this.startDate.clone().add(this.dateLimit)),"left"==t)i=this.startDate.clone(),n=this.minDate;else if("right"==t){i=this.endDate.clone(),n=this.startDate;var s=this.container.find(".calendar.right .calendar-time div");if(""!=s.html()&&(i.hour(s.find(".hourselect option:selected").val()||i.hour()),i.minute(s.find(".minuteselect option:selected").val()||i.minute()),i.second(s.find(".secondselect option:selected").val()||i.second()),!this.timePicker24Hour)){var r=s.find(".ampmselect option:selected").val();"PM"===r&&i.hour()<12&&i.hour(i.hour()+12),"AM"===r&&12===i.hour()&&i.hour(0)}
802i.isBefore(this.startDate)&&(i=this.startDate.clone()),o&&i.isAfter(o
802)&&(i=o.clone())}
803e='<select class="hourselect">';for(var a=this.timePicker24Hour?0:1,l=this.timePicker24Hour?23:12,c=a;c<=l;c++){var d=c;this.timePicker24Hour||(d=i.hour()>=12?12==c?12:c+12:12==c?0:c);var u=i.clone().hour(d),h=!1;n&&u.minute(59).isBefore(n)&&(h=!0),o&&u.minute(0).isAfter(o)&&(h=!0),e+=d!=i.hour()||h?h?'<option value="'+c+'" disabled="disabled" class="disabled">'+c+"</option>":'<option value="'+c+'">'+c+"</option>":'<option value="'+c+'" selected="selected">'+c+"</option>"}
804e+="</select> ",e+=': <select class="minuteselect">';for(var c=0;c<60;c+=this.timePickerIncrement){var p=c<10?"0"+c:c,u=i.clone().minute(c),h=!1;n&&u.second(59).isBefore(n)&&(h=!0),o&&u.second(0).isAfter(o)&&(h=!0),e+=i.minute()!=c||h?h?'<option value="'+c+'" disabled="disabled" class="disabled">'+p+"</option>":'<option value="'+c+'">'+p+"</option>":'<option value="'+c+'" selected="selected">'+p+"</option>"}
805if(e+="</select> ",this.timePickerSeconds){e+=': <select class="secondselect">';for(var c=0;c<60;c++){var p=c<10?"0"+c:c,u=i.clone().second(c),h=!1;n&&u.isBefore(n)&&(h=!0),o&&u.isAfter(o)&&(h=!0),e+=i.second()!=c||h?h?'<option value="'+c+'" disabled="disabled" class="disabled">'+p+"</option>":'<option value="'+c+'">'+p+"</option>":'<option value="'+c+'" selected="selected">'+p+"</option>"}
806e+="</select> "}
807if(!this.timePicker24Hour){e+='<select class="ampmselect">';var f="",m="";n&&i.clone().hour(12).minute(0).second(0).isBefore(n)&&(f=' disabled="disabled" class="disabled"'),o&&i.clone().hour(0).minute(0).second(0).isAfter(o)&&(m=' disabled="disabled" class="disabled"'),e+=i.hour()>=12?'<option value="AM"'+f+'>AM</option><option value="PM" selected="selected"'+m+">PM</option>":'<option value="AM" selected="selected"'+f+'>AM</option><option value="PM"'+m+">PM</option>",e+="</select>"}
808this.container.find(".calendar."+t+" .calendar-time div").html(e)}},updateFormInputs:function(){this.container.find("input[name=daterangepicker_start]").is(":focus")||this.container.find("input[name=daterangepicker_end]").is(":focus")||(this.container.find("input[name=daterangepicker_start]").val(this.startDate.format(this.locale.format)),this.endDate&&this.container.find("input[name=daterangepicker_end]").val(this.endDate.format(this.locale.format)),this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled"))},move:function(){var t,i={top:0,left:0},n=e(window).width();this.parentEl.is("body")||(i={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},n=this.parentEl[0].clientWidth+this.parentEl.offset().left),t="up"==this.drops?this.element.offset().top-this.container.outerHeight()-i.top:this.element.offset().top+this.element.outerHeight()-i.top,this.container["up"==this.drops?"addClass":"removeClass"]("dropup"),"left"==this.opens?(this.container.css({top:t,right:n-this.element.offset().left-this.element.outerWidth(),left:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):"center"==this.opens?(this.container.css({top:t,left:this.element.offset().left-i.left+this.element.outerWidth()/2-this.container.outerWidth()/2,right:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):(this.container.css({top:t,left:this.element.offset().left-i.left,right:"auto"}),this.container.offset().left+this.container.outerWidth()>e(window).width()&&this.container.css({left:"auto",right:0}))},show:function(t){this.isShowing||(this._outsideClickProxy=e.proxy(function(t){this.outsideClick(t)},this),e(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),e(window).on("resize.daterangepicker",e.proxy(function(t){this.move(t)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(t){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate,this.endDate,this.chosenLabel),this.updateElement(),e(document).off(".daterangepicker"),e(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(t){this.isShowing?this.hide():this.show()},outsideClick:function(t){var i=e(t.target);"focusin"==t.type||i.closest(this.element).length||i.closest(this.container).length||i.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},hoverRange:function(t){if(!this.container.find("input[name=daterangepicker_start]").is(":focus")&&!this.container.find("input[name=daterangepicker_end]").is(":focus")){var e=t.target.getAttribute("data-range-key");if(e==this.locale.customRangeLabel)this.updateView();else{var i=this.ranges[e];this.container.find("input[name=daterangepicker_start]").val(i[0].format(this.locale.format)),this.container.find("input[name=daterangepicker_end]").val(i[1].format(this.locale.format))}}},clickRange:function(t){var e=t.target.getAttribute("data-range-key");if(this.chosenLabel=e,e==this.locale.customRangeLabel)this.showCalendars();else{var i=this.ranges[e];this.startDate=i[0],this.endDate=i[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(t){var i=e(t.target).parents(".calendar");i.hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(t){var i=e(t.target).parents(".calendar");i.hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(t){if(e(t.target).hasClass("available")){var i=e(t.target).attr("data-title"),n=i.substr(1,1),o=i.substr(3,1),s=e(t.target).parents(".calendar"),r=s.hasClass("left")?this.leftCalendar.calendar[n][o]:this.rightCalendar.calendar[n][o];this.endDate&&!this.container.find("input[name=daterangepicker_start]").is(":focus")?this.container.find("input[name=daterangepicker_start]").val(r.format(this.locale.format)):this.endDate||this.container.find("input[name=daterangepicker_end]").is(":focus")||this.container.find("input[name=daterangepicker_end]").val(r.format(this.locale.format));var a=this.leftCalendar,l=this.rightCalendar,c=this.startDate;this.endDate||this.container.find(".calendar tbody td").each(function(t,i){if(!e(i).hasClass("week")){var n=e(i).attr("data-title"),o=n.substr(1,1),s=n.substr(3,1),d=e(i).parents(".calendar"),u=d.hasClass("left")?a.calendar[o][s]:l.calendar[o][s];u.isAfter(c)&&u.isBefore(r)||u.isSame(r,"day")?e(i).addClass("in-range"):e(i).removeClass("in-range")}})}},clickDate:function(t){if(e(t.target).hasClass("available")){var i=e(t.target).attr("data-title"),n=i.substr(1,1),o=i.substr(3,1),s=e(t.target).parents(".calendar"),r=s.hasClass("left")?this.leftCalendar.calendar[n][o]:this.rightCalendar.calendar[n][o];if(this.endDate||r.isBefore(this.startDate,"day")){if(this.timePicker){var a=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var l=this.container.find(".left .ampmselect").val();"PM"===l&&a<12&&(a+=12),"AM"===l&&12===a&&(a=0)}
809var c=parseInt(this.container.find(".left .minuteselect").val(),10),d=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;r=r.clone().hour(a).minute(c).second(d)}
810this.endDate=null,this.setStartDate(r.clone())}else if(!this.endDate&&r.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var a=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var l=this.container.find(".right .ampmselect").val();"PM"===l&&a<12&&(a+=12),"AM"===l&&12===a&&(a=0)}
811var c=parseInt(this.container.find(".right .minuteselect").val(),10),d=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;r=r.clone().hour(a).minute(c).second(d)}
812this.setEndDate(r.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}
813this.singleDatePicker&&(this.setEndDate(this.startDate),this.timePicker||this.clickApply()),this.updateView(),t.stopPropagation()}},calculateChosenLabel:function(){var t=!0,e=0;for(var i in this.ranges){if(this.timePicker){if(this.startDate.isSame(this.ranges[i][0])&&this.endDate.isSame(this.ranges[i][1])){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+e+")").addClass("active").html();break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[i][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[i][1].format("YYYY-MM-DD")){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+e+")").addClass("active").html();break}
814e++}
815t&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").html():this.chosenLabel=null,this.showCalendars())},clickApply:function(t){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(t){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(t){var i=e(t.target).closest(".calendar").hasClass("left"),n=i?"left":"right",o=this.container.find(".calendar."+n),s=parseInt(o.find(".monthselect").val(),10),r=o.find(".yearselect").val();i||(r<this.startDate.year()||r==this.startDate.year()&&s<this.startDate.month())&&(s=this.startDate.month(),r=this.startDate.year()),this.minDate&&(r<this.minDate.year()||r==this.minDate.year()&&s<this.minDate.month())&&(s=this.minDate.month(),r=this.minDate.year()),this.maxDate&&(r>this.maxDate.year()||r==this.maxDate.year()&&s>this.maxDate.month())&&(s=this.maxDate.month(),r=this.maxDate.year()),i?(this.leftCalendar.month.month(s).year(r),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(s).year(r),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(t){var i=e(t.target).closest(".calendar"),n=i.hasClass("left"),o=parseInt(i.find(".hourselect").val(),10),s=parseInt(i.find(".minuteselect").val(),10),r=this.timePickerSeconds?parseInt(i.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var a=i.find(".ampmselect").val();"PM"===a&&o<12&&(o+=12),"AM"===a&&12===o&&(o=0)}
816if(n){var l=this.startDate.clone();l.hour(o),l.minute(s),l.second(r),this.setStartDate(l),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==l.format("YYYY-MM-DD")&&this.endDate.isBefore(l)&&this.setEndDate(l.clone())}else if(this.endDate){var c=this.endDate.clone();c.hour(o),c.minute(s),c.second(r),this.setEndDate(c)}
817this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},formInputsChanged:function(i){var n=e(i.target).closest(".calendar").hasClass("right"),o=t(this.container.find('input[name="daterangepicker_start"]').val(),this.locale.format),s=t(this.container.find('input[name="daterangepicker_end"]').val(),this.locale.format);o.isValid()&&s.isValid()&&(n&&s.isBefore(o)&&(o=s.clone()),this.setStartDate(o),this.setEndDate(s),n?this.container.find('input[name="daterangepicker_start"]').val(this.startDate.format(this.locale.format)):this.container.find('input[name="daterangepicker_end"]').val(this.endDate.format(this.locale.format))),this.updateView()},formInputsFocused:function(t){this.container.find('input[name="daterangepicker_start"], input[name="daterangepicker_end"]').removeClass("active"),e(t.target).addClass("active");var i=e(t.target).closest(".calendar").hasClass("right");i&&(this.endDate=null,this.setStartDate(this.startDate.clone()),this.updateView())},formInputsBlurred:function(e){if(!this.endDate){var i=this.container.find('input[name="daterangepicker_end"]').val(),n=t(i,this.locale.format);n.isValid()&&(this.setEndDate(n),this.updateView())}},elementChanged:function(){if(this.element.is("input")&&this.element.val().length&&!(this.element.val().length<this.locale.format.length)){var e=this.element.val().split(this.locale.separator),i=null,n=null;2===e.length&&(i=t(e[0],this.locale.format),n=t(e[1],this.locale.format)),(this.singleDatePicker||null===i||null===n)&&(i=t(this.element.val(),this.locale.format),n=i),i.isValid()&&n.isValid()&&(this.setStartDate(i),this.setEndDate(n),this.updateView())}},keydown:function(t){9!==t.keyCode&&13!==t.keyCode||this.hide()},updateElement:function(){this.element.is("input")&&!this.singleDatePicker&&this.autoUpdateInput?(this.element.val(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.element.trigger("change")):this.element.is("input")&&this.autoUpdateInput&&(this.element.val(this.startDate.format(this.locale.format)),this.element.trigger("change"))},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},e.fn.daterangepicker=function(t,n){return this.each(function(){var o=e(this);o.data("daterangepicker")&&o.data("daterangepicker").remove(),o.data("daterangepicker",new i(o,t,n))}),this},i}),function(t){var e=!1;if("function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),!e){var i=window.Cookies,n=window.Cookies=t();n.noConflict=function(){return window.Cookies=i,n}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}
818return e}
819function e(i){function n(e,o,s){var r;if("undefined"!=typeof document){if(arguments.length>1){if(s=t({path:"/"},n.defaults,s),"number"==typeof s.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*s.expires),s.expires=a}
820s.expires=s.expires?s.expires.toUTCString():"";try{r=JSON.stringify(o),/^[\{\[]/.test(r)&&(o=r)}catch(t){}
821o=i.write?i.write(o,e):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decode
821URIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape);var l="";for(var c in s)s[c]&&(l+="; "+c,s[c]!==!0&&(l+="="+s[c]));return document.cookie=e+"="+o+l}
822e||(r={});for(var d=document.cookie?document.cookie.split("; "):[],u=/(%[0-9A-Z]{2})+/g,h=0;h<d.length;h++){var p=d[h].split("="),f=p.slice(1).join("=");'"'===f.charAt(0)&&(f=f.slice(1,-1));try{var m=p[0].replace(u,decodeURIComponent);if(f=i.read?i.read(f,m):i(f,m)||f.replace(u,decodeURIComponent),this.json)try{f=JSON.parse(f)}catch(t){}
823if(e===m){r=f;break}
824e||(r[m]=f)}catch(t){}}
825return r}}
826return n.set=n,n.get=function(t){return n.call(n,t)},n.getJSON=function(){return n.apply({json:!0},[].slice.call(arguments))},n.defaults={},n.remove=function(e,i){n(e,"",t(i,{expires:-1}))},n.withConverter=e,n}
827return e(function(){})}),!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Shuffle=e()}(this,function(){"use strict";function t(){}
828function e(){}
829function i(t){return parseFloat(t)||0}
830function n(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.getComputedStyle(t,null),o=i(n[e]);return L||"width"!==e?L||"height"!==e||(o+=i(n.paddingTop)+i(n.paddingBottom)+i(n.borderTopWidth)+i(n.borderBottomWidth)):o+=i(n.paddingLeft)+i(n.paddingRight)+i(n.borderLeftWidth)+i(n.borderRightWidth),o}
831function o(t){for(var e=t.length;e;){e-=1;var i=Math.floor(Math.random()*(e+1)),n=t[i];t[i]=t[e],t[e]=n}
832return t}
833function s(t,e){var i=Object.assign({},A,e),n=Array.from(t),s=!1;return t.length?i.randomize?o(t):("function"==typeof i.by&&t.sort(function(t,e){if(s)return 0;var n=i.by(t[i.key]),o=i.by(e[i.key]);return void 0===n&&void 0===o?(s=!0,0):n<o||"sortFirst"===n||"sortLast"===o?-1:n>o||"sortLast"===n||"sortFirst"===o?1:0}),s?n:(i.reverse&&t.reverse(),t)):[]}
834function r(){return z+=1,H+z}
835function a(t){return !!N[t]&&(N[t].element.removeEventListener(H,N[t].listener),N[t]=null,!0)}
836function l(t,e){var i=r(),n=function(t){t.currentTarget===t.target&&(a(i),e(t))};return t.addEventListener(H,n),N[i]={element:t,listener:n},i}
837function c(t){return Math.max.apply(Math,t)}
838function d(t){return Math.min.apply(Math,t)}
839function u(t,e,i,n){var o=t/e;return Math.abs(Math.round(o)-o)<n&&(o=Math.round(o)),Math.min(Math.ceil(o),i)}
840function h(t,e,i){if(1===e)return t;for(var n=[],o=0;o<=i-e;o++)n.push(c(t.slice(o,o+e)));return n}
841function p(t,e){for(var i=d(t),n=0,o=t.length;n<o;n++)
842if(t[n]>=i-e&&t[n]<=i+e)return n;return 0}
843function f(t){for(var e=t.itemSize,i=t.positions,n=t.gridSize,o=t.total,s=t.threshold,r=t.buffer,a=u(e.width,n,o,s),l=h(i,a,o),c=p(l,r),d=new D(n*c,l[c]),f=l[c]+e.height,m=0;m<a;m++)i[c+m]=f;return d}
844function m(t,e){var i={};t.forEach(function(t){i[t.top]?i[t.top].push(t):i[t.top]=[t]});var n=[],o=[],s=[];
844return Object.keys(i).forEach(function(t){var r=i[t];o.push(r);var a=r[r.length-1],l=a.left+a.width,c=Math.round((e-l)/2),d=r,u=!1;if(c>0){var h=[];(u=r.every(function(t){var e=new $(t.left+c,t.top,t.width,t.height,t.id),i=!n.some(function(t){return $.intersects(e,t)});return h.push(e),i}))&&(d=h)}
845if(!u){var p=void 0;if(r.some(function(t){return n.some(function(e){var i=$.intersects(t,e);return i&&(p=e),i})})){var f=s.findIndex(function(t){return t.includes(p)});s.splice(f,1,o[f])}}
846n=n.concat(d),s.push(d)}),[].concat.apply([],s).sort(function(t,e){return t.id-e.id}).map(function(t){return new D(t.left,t.top)})}
847function g(t){return t.replace(/([A-Z])/g,function(t,e){return "-"+e.toLowerCase()})}
848function v(t){return Array.from(new Set(t))}
849t.prototype={on:function(t,e,i){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:i}),this},once:function(t,e,i){function n(){o.off(t,n),e.apply(i,arguments)}
850var o=this;return n._=e,this.on(t,n,i)},emit:function(t){var e=[].slice.call(arguments,1),i=((this.e||(this.e={}))[t]||[]).slice(),n=0,o=i.length;for(n;n<o;n++)i[n].fn.apply(i[n].ctx,e);return this},off:function(t,e){var i=this.e||(this.e={}),n=i[t],o=[];if(n&&e)
851for(var s=0,r=n.length;s<r;s++)n[s].fn!==e&&n[s].fn._!==e&&o.push(n[s]);return o.length?i[t]=o:delete i[t],this}};var y=t,_="undefined"!=typeof Element?Element.prototype:{},b=_.matches||_.matchesSelector||_.webkitMatchesSelector||_.mozMatchesSelector||_.msMatchesSelector||_.oMatchesSelector,w=function(t,e){if(!t||1!==t.nodeType)return !1;if(b)return b.call(t,e);for(var i=t.parentNode.querySelectorAll(e),n=0;n<i.length;n++)
852if(i[n]==t)return !0;return !1},k=function(t,i,n){function o(t){return function(e,i){if(!r){if(e)return n(e,a),void(r=!0);a[t]=i,--s||n(null,a)}}}
853n||("function"==typeof i?(n=i,i=null):n=e);var s=t&&t.length;if(!s)return n(null,[]);var r=!1,a=new Array(s);t.forEach(i?function(t,e){t.call(i,o(e))}:function(t,e){t(o(e))})},C=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},x=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
854return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),S=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},T=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return !e||"object"!=typeof e&&"function"!=typeof e?t:e},D=function(){function t(e,n){C(this,t),this.x=i(e),this.y=i(n)}
855return x(t,null,[{key:"equals",value:function(t,e){return t.x===e.x&&t.y===e.y}}]),t}(),$=function(){function t(e,i,n,o,s){C(this,t),this.id=s,this.left=e,this.top=i,this.width=n,this.height=o}
856return x(t,null,[{key:"intersects",value:function(t,e){return t.left<e.left+e.width&&e.left<t.left+t.width&&t.top<e.top+e.height&&e.top<t.top+t.height}}]),t}(),E={BASE:"shuffle",SHUFFLE_ITEM:"shuffle-item",VISIBLE:"shuffle-item--visible",HIDDEN:"shuffle-item--hidden"},M=0,P=function(){function t(e){C(this,t),M+=1,this.id=M,this.element=e,this.isVisible=!0,this.isHidden=!1}
857return x(t,[{key:"show",value:function(){this.isVisible=!0,this.element.classList.remove(E.HIDDEN),this.element.classList.add(E.VISIBLE),this.element.removeAttribute("aria-hidden")}},{key:"hide",value:function(){this.isVisible=!1,this.element.classList.remove(E.VISIBLE),this.element.classList.add(E.HIDDEN),this.element.setAttribute("aria-hidden",!0)}},{key:"init",value:function(){this.addClasses([E.SHUFFLE_ITEM,E.VISIBLE]),this.applyCss(t.Css.INITIAL),this.scale=t.Scale.VISIBLE,this.point=new D}},{key:"addClasses",value:function(t){var e=this;t.forEach(function(t){e.element.classList.add(t)})}},{key:"removeClasses",value:function(t){var e=this;t.forEach(function(t){e.element.classList.remove(t)})}},{key:"applyCss",value:function(t){var e=this;Object.keys(t).forEach(function(i){e.element.style[i]=t[i]})}},{key:"dispose",value:function(){this.removeClasses([E.HIDDEN,E.VISIBLE,E.SHUFFLE_ITEM]),this.element.removeAttribute("style"),this.element=null}}]),t}();P.Css={INITIAL:{position:"absolute",top:0,left:0,visibility:"visible","will-change":"transform"},VISIBLE:{before:{opacity:1,visibility:"visible"},after:{transitionDelay:""}},HIDDEN:{before:{opacity:0}
857,after:{visibility:"hidden",transitionDelay:""}}},P.Scale={VISIBLE:1,HIDDEN:.001};var O=document.body||document.documentElement,I=document.createElement("div");I.style.cssText="width:10px;padding:2px;box-sizing:border-box;",O.appendChild(I);var L="10px"===window.getComputedStyle(I,null).width;O.removeChild(I);var A={reverse:!1,by:null,randomize:!1,key:"element"},N={},H="transitionend",z=0,j=0,Y=function(t){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C(this,e);var n=T(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));n.options=Object.assign({},e.options,i),n.lastSort={},n.group=e.ALL_ITEMS,n.lastFilter=e.ALL_ITEMS,n.isEnabled=!0,n.isDestroyed=!1,n.isInitialized=!1,n._transitions=[],n.isTransitioning=!1,n._queue=[];var o=n._getElementOption(t);if(!o)throw new TypeError("Shuffle needs to be initialized with an element.");return n.element=o,n.id="shuffle_"+j,j+=1,n._init(),n.isInitialized=!0,n}
858return S(e,y),x(e,[{key:"_init",value:function(){if(this.items=this._getItems(),this.options.sizer=this._getElementOption(this.options.sizer),this.element.classList.add(e.Classes.BASE),this._initItems(this.items),this._onResize=this._getResizeFunction(),window.addEventListener("resize",this._onResize),"complete"!==document.readyState){var t=this.layout.bind(this);window.addEventListener("load",function e(){window.removeEventListener("load",e),t()})}
859var i=window.getComputedStyle(this.element,null),n=e.getSize(this.element).width;this._validateStyles(i),this._setColumns(n),this.filter(this.options.group,this.options.initialSort),this.element.offsetWidth,this.setItemTransitions(this.items),this.element.style.transition="height "+this.options.speed+"ms "+this.options.easing}},{key:"_getResizeFunction",value:function(){var t=this._handleResize.bind(this);return this.options.throttle?this.options.throttle(t,this.options.throttleTime):t}},{key:"_getElementOption",value:function(t){return "string"==typeof t?this.element.querySelector(t):t&&t.nodeType&&1===t.nodeType?t:t&&t.jquery?t[0]:null}},{key:"_validateStyles",value:function(t){"static"===t.position&&(this.element.style.position="relative"),"hidden"!==t.overflow&&(this.element.style.overflow="hidden")}},{key:"_filter",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastFilter,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.items,i=this._getFilteredSets(t,e);return this._toggleFilterClasses(i),this.lastFilter=t,"string"==typeof t&&(this.group=t),i}},{key:"_getFilteredSets",value:function(t,i){var n=this,o=[],s=[];return t===e.ALL_ITEMS?o=i:i.forEach(function(e){n._doesPassFilter(t,e.element)?o.push(e):s.push(e)}),{visible:o,hidden:s}}},{key:"_doesPassFilter",value:function(t,i){function n(t){return s.includes(t)}
860if("function"==typeof t)return t.call(i,i,this);var o=i.getAttribute("data-"+e.FILTER_ATTRIBUTE_KEY),s=this.options.delimeter?o.split(this.options.delimeter):JSON.parse(o);return Array.isArray(t)?this.options.filterMode===e.FilterMode.ANY?t.some(n):t.every(n):s.includes(t)}},{key:"_toggleFilterClasses",value:function(t){var e=t.visible,i=t.hidden;e.forEach(function(t){t.show()}
860),i.forEach(function(t){t.hide()})}},{key:"_initItems",value:function(t){t.forEach(function(t){t.init()})}},{key:"_disposeItems",value:function(t){t.forEach(function(t){t.dispose()})}},{key:"_updateItemCount",value:function(){this.visibleItems=this._getFilteredItems().length}},{key:"setItemTransitions",value:function(t){var e=this.options.speed,i=this.options.easing,n=(this.options.useTransforms?["transform"]:["top","left"]).concat(Object.keys(P.Css.HIDDEN.before).map(function(t){return g(t)})).join();t.forEach(function(t){t.element.style.transitionDuration=e+"ms",t.element.style.transitionTimingFunction=i,t.element.style.transitionProperty=n})}},{key:"_getItems",value:function(){var t=this;return Array.from(this.element.children).filter(function(e){return w(e,t.options.itemSelector)}).map(function(t){return new P(t)})}},{key:"_mergeNewItems",value:function(t){var e=Array.from(this.element.children);return s(this.items.concat(t),{by:function(t){return e.indexOf(t)}})}},{key:"_getFilteredItems",value:function(){return this.items.filter(function(t){return t.isVisible})}},{key:"_getConcealedItems",value:function(){return this.items.filter(function(t){return !t.isVisible})}},{key:"_getColumnSize",value:function(t,i){var n=void 0;return 0===(n="function"==typeof this.options.columnWidth?this.options.columnWidth(t):this.options.sizer?e.getSize(this.options.sizer).width:this.options.columnWidth?this.options.columnWidth:this.items.length>0?e.getSize(this.items[0].element,!0).width:t)&&(n=t),n+i}},{key:"_getGutterSize",value:function(t){return "function"==typeof this.options.gutterWidth?this.options.gutterWidth(t):this.options.sizer?n(this.options.sizer,"marginLeft"):this.options.gutterWidth}},{key:"_setColumns",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.getSize(this.element).width,i=this._getGutterSize(t),n=this._getColumnSize(t,i),o=(t+i)/n;Math.abs(Math.round(o)-o)<this.options.columnThreshold&&(o=Math.round(o)),this.cols=Math.max(Math.floor(o),1),this.containerWidth=t,this.colWidth=n}},{key:"_setContainerSize",value:function(){this.element.style.height=this._getContainerSize()+"px"}},{key:"_getContainerSize",value:function(){return c(this.positions)}},{key:"_getStaggerAmount",value:function(t){return Math.min(t*this.options.staggerAmount,this.options.staggerAmountMax)}},{key:"_dispatch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.isDestroyed||(e.shuffle=this,this.emit(t,e))}},{key:"_resetCols",value:function(){var t=this.cols;for(this.positions=[];t;)t-=1,this.positions.push(0)}},{key:"_layout",value:function(t){var e=this,i=this._getNextPositions(t),n=0;t.forEach(function(t,o){function s(){t.applyCss(P.Css.VISIBLE.after)}
861if(D.equals(t.point,i[o])&&!t.isHidden)return t.applyCss(P.Css.VISIBLE.before),void s();t.point=i[o],t.scale=P.Scale.VISIBLE,t.isHidden=!1;var r=e.getStylesForTransition(t,P.Css.VISIBLE.before);r.transitionDelay=e._getStaggerAmount(n)+"ms",e._queue.push({item:t,styles:r,callback:s}),n+=1})}},{key:"_getNextPositions",value:function(t){var i=this;if(this.options.isCentered){var n=t.map(function(t,n){var o=e.getSize(t.element,!0),s=i._getItemPosition(o);return new $(s.x,s.y,o.width,o.height,n)});return this.getTransformedPositions(n,this.containerWidth)}
862return t.map(function(t){return i._getItemPosition(e.getSize(t.element,!0))})}},{key:"_getItemPosition",value:function(t){return f({itemSize:t,positions:this.positions,gridSize:this.colWidth,total:this.cols,threshold:this.options.columnThreshold,buffer:this.options.buffer})}},{key:"getTransformedPositions",value:function(t,e){return m(t,e)}},{key:"_shrink",value:function(){var t=this,e=0;(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getConcealedItems()).forEach(function(i){function n(){i.applyCss(P.Css.HIDDEN.after)}
863if(i.isHidden)return i.applyCss(P.Css.HIDDEN.before),void n();i.scale=P.Scale.HIDDEN,i.isHidden=!0;var o=t.getStylesForTransition(i,P.Css.HIDDEN.before);o.transitionDelay=t._getStaggerAmount(e)+"ms",t._queue.push({item:i,styles:o,callback:n}),e+=1})}},{key:"_handleResize",value:function(){this.isEnabled&&!this.isDestroyed&&this.update()}},{key:"getStylesForTransition",value:function(t,e){var i=Object.assign({},e);return this.options.useTransforms?(this.options.roundTransforms&&(t.point=new D(Math.round(t.point.x),Math.round(t.point.y))),i.transform="translate("+t.point.x+"px, "+t.point.y+"px) scale("+t.scale+")"):(i.left=t.point.x+"px",i.top=t.point.y+"px"),i}}
863,{key:"_whenTransitionDone",value:function(t,e,i){var n=l(t,function(t){e(),i(null,t)});this._transitions.push(n)}},{key:"_getTransitionFunction",value:function(t){var e=this;return function(i){t.item.applyCss(t.styles),e._whenTransitionDone(t.item.element,t.callback,i)}}},{key:"_processQueue",value:function(){this.isTransitioning&&this._cancelMovement();var t=this.options.speed>0,i=this._queue.length>0;i&&t&&this.isInitialized?this._startTransitions(this._queue):i?(this._styleImmediately(this._queue),this._dispatch(e.EventType.LAYOUT)):this._dispatch(e.EventType.LAYOUT),this._queue.length=0}},{key:"_startTransitions",value:function(t){var e=this;this.isTransitioning=!0;var i=t.map(function(t){return e._getTransitionFunction(t)});k(i,this._movementFinished.bind(this))}},{key:"_cancelMovement",value:function(){this._transitions.forEach(a),this._transitions.length=0,this.isTransitioning=!1}},{key:"_styleImmediately",value:function(t){if(t.length){var i=t.map(function(t){return t.item.element});e._skipTransitions(i,function(){t.forEach(function(t){t.item.applyCss(t.styles),t.callback()})})}}},{key:"_movementFinished",value:function(){this._transitions.length=0,this.isTransitioning=!1,this._dispatch(e.EventType.LAYOUT)}},{key:"filter",value:function(t,i){this.isEnabled&&((!t||t&&0===t.length)&&(t=e.ALL_ITEMS),this._filter(t),this._shrink(),this._updateItemCount(),this.sort(i))}},{key:"sort",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastSort;if(this.isEnabled){this._resetCols();var e=s(this._getFilteredItems(),t);this._layout(e),this._processQueue(),this._setContainerSize(),this.lastSort=t}}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isEnabled&&(t||this._setColumns(),this.sort())}},{key:"layout",value:function(){this.update(!0)}},{key:"add",value:function(t){var e=this,i=v(t).map(function(t){return new P(t)});this._initItems(i),this._resetCols();var n=this._filter(this.lastFilter,i),o=s(this._mergeNewItems(n.visible),this.lastSort),r=this._getNextPositions(o);o.forEach(function(t,i){n.visible.includes(t)&&(t.point=r[i],t.scale=P.Scale.HIDDEN,t.isHidden=!0,t.applyCss(P.Css.HIDDEN.before),t.applyCss(P.Css.HIDDEN.after),t.applyCss(e.getStylesForTransition(t,{})))}),this.element.offsetWidth,this.setItemTransitions(i),this.items=this._mergeNewItems(i),this.filter(this.lastFilter)}},{key:"disable",value:function(){this.isEnabled=!1}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isEnabled=!0,t&&this.update()}},{key:"remove",value:function(t){var i=this;if(t.length){var n=v(t),o=n.map(function(t){return i.getItemByElement(t)}).filter(function(t){return !!t});this._toggleFilterClasses({visible:[],hidden:o}),this._shrink(o),this.sort(),this.items=this.items.filter(function(t){return !o.includes(t)}),this._updateItemCount(),this.once(e.EventType.LAYOUT,function(){i._disposeItems(o),n.forEach(function(t){t.parentNode.removeChild(t)}),i._dispatch(e.EventType.REMOVED,{collection:n})})}}},{key:"getItemByElement",value:function(t){return this.items.find(function(e){return e.element===t})}},{key:"resetItems",value:function(){var t=this;this._disposeItems(this.items),this.isInitialized=!1,this.items=this._getItems(),this._initItems(this.items),this.once(e.EventType.LAYOUT,function(){t.setItemTransitions(t.items),t.isInitialized=!0}),this.filter(this.lastFilter)}},{key:"destroy",value:function(){this._cancelMovement(),window.removeEventListener("resize",this._onResize),this.element.classList.remove("shuffle"),this.element.removeAttribute("style"),this._disposeItems(this.items),this.items.length=0,this._transitions.length=0,this.options.sizer=null,this.element=null,this.isDestroyed=!0,this.isEnabled=!1}}],[{key:"getSize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=window.getComputedStyle(t,null),o=n(t,"width",i),s=n(t,"height",i);return e&&(o+=n(t,"marginLeft",i)+n(t,"marginRight",i),s+=n(t,"marginTop",i)+n(t,"marginBottom",i)),{width:o,height:s}}},{key:"_skipTransitions",value:function(t,e){var i=t.map(function(t){var e=t.style,i=e.transitionDuration,n=e.transitionDelay;return e.transitionDuration="0ms",e.transitionDelay="0ms",{duration:i,delay:n}});e(),t[0].offsetWidth,t.forEach(function(t,e){t.style.transitionDuration=i[e].duration,t.style.transitionDelay=i[e].delay})}}]),e}();return Y.ShuffleItem=P,Y.ALL_ITEMS="all",Y.FILTER_ATTRIBUTE_KEY="groups",Y.EventType={LAYOUT:"shuffle:layout",REMOVED:"shuffle:removed"},Y.Classes=E,Y.FilterMode={ANY:"any",ALL:"all"},Y.options={group:Y.ALL_ITEMS,speed:250,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)",itemSelector:"*",sizer:null,gutterWidth:0,columnWidth:0,delimeter:null,buffer:0,columnThreshold:.01,initialSort:null,throttle:function(t,e){function i(){r=0,a=+new Date,s=t.apply(n,o),n=null,o=null}
864var n,o,s,r,a=0;return function(){n=this,o=arguments;var t=new Date-a;return r||(t>=e?i():r=setTimeout(i,e-t)),s}},throttleTime:300,staggerAmount:15,staggerAmountMax:150,useTransforms:!0,filterMode:Y.FilterMode.ANY,isCentered:!1,roundTransforms:!0},Y.Point=D,Y.Rect=$,Y.__sorter=s,Y.__getColumnSpan=u,Y.__getAvailablePositions=h,Y.__getShortColumn=p,Y.__getCenteredPositions=m,Y});(function($){$('.js-switchable-mode-list.objects-list').on('list.mode.change',function(e,mode){$.post(window.njin.ajax.url+'/save/user-objects-list-mode',{mode:mode})});$('[data-main-search-autocomplete]').off('autocomplete.query').on('autocomplete.query',function(){var $self=$(this),$list=$(this).next('.autocomplete-list');if(typeof($(this).data('autocomplete.xhr'))instanceof XMLHttpRequest){$(this).data('autocomplete.xhr').abort()}
865$(this).data('autocomplete.xhr',$.ajax(window.njin.ajax.url+'/get/main-search',{method:'POST',dataType:'json',data:{search:$(this).val()}}).done(function(data,status,xhr){$self.data('autocomplete.xhr',null);if(data&&data.response){$self.trigger('autocomplete.fill',[data.result])}}))})}(jQuery));!(function(t){if((1==Cookies.get("contrast-mode")&&t("html").addClass("site-contrast-mode"),Cookies.get("font-size")>0&&t("html").addClass("site-font-size-"+Cookies.get("font-size")),t(".site-header, .object-guide-site-header").headroom(),t(".homepage-intro_search input[type=text], .top-search_search input[type=text]").attr("data-main-search-autocomplete",""),t(".js-scroll-to").on("click",function(e){var i=t(t(this).attr("href"));i.length>0&&(t("html, body").animate({scrollTop:i.offset().top},500,"easeInOutQuad"),e.preventDefault())}),t.extend(!0,t.magnificPopup.defaults,{mainClass:"mfp-fade",removalDelay:150,tClose:"Zamknij (Esc)",tLoading:'<i class="icon ionicons ion-loop animate--spin"></i>',gallery:{tPrev:"Poprzedni (Lewa strzałka)",tNext:"Następny (Prawa strzałka)",tCounter:"%curr% z %total%"},image:{tError:'Nie udało się załadować <a href="%url%">obrazu</a>.'},ajax:{tError:'Nie udało się załadować <a href="%url%">treści</a>.'},callbacks:{change:function(){this.isOpen&&this.wrap.addClass("mfp-open")},},}),t(document).on("click",".js-toggle-mobile-site-section",function(e){var i=t(this).attr("href").replace("#",""),o=t('[id="'+i+'"]');if(o.length>0){var a=o.is(":visible");o.stop().slideToggle(600,"swing"),t('.js-toggle-mobile-site-section[href="#'+i+'"]').closest(".mobile-site-section_toggle")[a?"removeClass":"addClass"]("is-active"),a||o.find(".google-map_embed").trigger("google-map.load"),e.preventDefault()}}),t(document).on("click",".mobile-object-navigation a",function(e){var i=t(this).attr("href").replace("#",""),o=t('[id="'+i+'"]'),a=t('.js-toggle-mobile-site-section[href="#'+i+'"]');o.length>0&&(o.is(":visible")||a.trigger("click"),t("html, body").stop().animate({scrollTop:a.offset().top},500,"easeInOutQuad"),e.preventDefault())}),t(".js-toggle-site-contrast-mode").on("click",function(e){t("html").hasClass("site-contrast-mode")?(Cookie
865s.set("contrast-mode",0),t("html").removeClass("site-contrast-mode")):(Cookies.set("contrast-mode",1,{expires:7}),t("html").addClass("site-contrast-mode")),e.preventDefault()}),t(".js-change-site-font-size").on("click",function(e){var i=0;t("html").hasClass("site-font-size-1")?(i=1):t("html").hasClass("site-font-size-2")&&(i=2),++i>2&&(i=0),Cookies.set("font-size",i,{expires:7}),t("html").removeClass("site-font-size-0 site-font-size-1 site-font-size-2").addClass("site-font-size-"+i),e.preventDefault()}),t(".js-filterable-grid").on("filterable-grid.init",function(){t(this);t(this).addClass("shuffle--without-transforms").prop("ui.shuffle",new Shuffle(t(this).get(0),{itemSelector:".filterable-grid_item",filterMode:Shuffle.FilterMode.ALL,useTransforms:!1})),t(this).prop("ui.shuffle").on(Shuffle.EventType.LAYOUT,function(){t(window).trigger("scroll")})}).on("filterable-grid.filter",function(){var e=[],i=t(this).prop("ui.shuffle");t(".js-filterable-grid-navigation a.is-active").each(function(){t(this).data("group")&&"all"!==t(this).data("group")&&e.push(t(this).data("group"))}),e.length>0?i.filter(e):i.filter(Shuffle.ALL_ITEMS),t(window).trigger("scroll")}).trigger("filterable-grid.init"),t("select.js-sort-filterable-grid").on("change",function(){var e=t(this).val(),i=e.split(":")[0],o=e.split(":")[1],a=t(".js-filterable-grid:first").prop("ui.shuffle");switch(((by=null),i||(i="default"),o||(o="asc"),i)){case "distance":by=function(e){return t(e).data("distance")};break;case "rating":by=function(e){return t(e).data("rating")}}
866a.sort({by:by,reverse:"desc"==o})}),t(document).on("click",".js-filterable-grid-navigation a[data-group]",function(e){var i=t(this).closest(".js-filterable-grid-navigation"),o=!t(this).hasClass("is-active");i.find(".is-active").removeClass("is-active"),t(this)[o?"addClass":"removeClass"]("is-active").parent()[o?"addClass":"removeClass"]("is-active"),t(".js-filterable-grid").trigger("filterable-grid.filter"),i.find(".is-active").length<=0&&i.find('[data-group="all"]').addClass("is-active"),e.preventDefault()}),t(".site-header_navigation ul").superfish({hoverClass:"is-hovered",pathClass:"is-active",delay:150,speed:0,speedOut:0,onShow:function(){t(this).removeClass("transition-out").addClass("transition-in")},onHide:function(){t(this).removeClass("transition-in").addClass("transition-out")},}),t(".sf-js-enabled a.sf-with-ul").on('click',function(){return(window.location=t(this).attr("href")),!1}),t("#mobile-navigation").length>0)){var e=t("#mobile-navigation").mmenu({navbar:{add:!0},extensions:["effect-slide-listitems","theme-blue"]}).data("mmenu");t(document).on("click",".js-close-mobile-navigation",function(t){e.close(),t.preventDefault()}),t(window).on('resize',function(){t(this).width()>992&&e.close()})}
867t(".featured-objects-carousel .carousel_items").each(function(){var e=t(this),i=t(this).closest(".carousel");t(this).slick({infinite:!0,slidesToShow:1,autoplay:!0,autoplaySpeed:4e3,arrows:!1,useTransform:!1,easing:"easeInOutQuad"}).on("afterChange",function(e,i,o,a){t(this).find(".slick-slide[data-slick-index="+o+"] img.img--lazy-load:not(.img--loaded)").trigger("unveil")}),i.find(".carousel_controls_previous").on("click",function(t){e.slick("slickPrev"),t.preventDefault()}),i.find(".carousel_controls_next").on("click",function(t){e.slick("slickNext"),t.preventDefault()})}),t(".homepage-intro-carousel .carousel_items").each(function(){t(this),t(this).closest(".carousel");t(this).slick({infinite:!0,slidesToShow:1,autoplay:!0,autoplaySpeed:8e3,pauseOnFocus:!1,pauseOnHover:!1,draggable:!1,fade:!0,arrows:!1,dots:!1,easing:"easeInOutQuad"}).on("afterChange",function(e,i,o,a){t(this).find(".slick-slide[data-slick-index="+o+"] img.img--lazy-load:not(.img--loaded)").trigger("unveil")})}),t(".banners-carousel .carousel_items").each(function(){t(this),t(this).closest(".carousel");t(this).slick({infinite:!0,slidesToShow:1,autoplay:!0,autoplaySpeed:6e3,pauseOnFocus:!1,pauseOnHover:!1,draggable:!1,fade:!0,arrows:!1,dots:!1,easing:"easeInOutQuad"}).on("afterChange",function(e,i,o,a){t(this).find(".slick-slide[data-slick-index="+o+"] img.img--lazy-load:not(.img--loaded)").trigger("unveil")})}),t(".object-pictures-carousel").each(function(){var e=t(this);t(this).lightGallery({selector:".carousel_item > a",download:!1,exThumbImage:"data-thumb-src"}),e.find(".carousel_controls_gallery").on("click",function(t){e.find('.carousel_item:first-child > a').trigger("click"),t.preventDefault()})}),t(".object-pictures-carousel .carousel_items").each(function(){var e=t(this),i=t(this).closest(".carousel");t(this).find(".img--lazy-load[data-src]").each(function(){t(this).attr("data-lazy",t(this).data("src")).attr("data-src","")}),t(this).slick({infinite:!0,slidesToShow:4,slidesToScroll:1,autoplay:!0,autoplaySpeed:4e3,arrows:!1,useTransform:!0,variableWidth:!0,centerMode:!0,lazyLoad:"ondemand",responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1}}]}).on("lazyLoaded",function(e,i,o,a){t(o).addClass("img--loaded")}).on("afterChange",function(e,i,o,a){t(this).find(".slick-slide[data-slick-index="+o+"] img.img--lazy-load:not(.img--loaded)").trigger("unveil")}),i.find(".carousel_controls_previous").on("click",function(t){e.slick("slickPrev"),t.preventDefault()}),i.find(".carousel_controls_next").on("click",function(t){e.slick("slickNext"),t.preventDefault()}),i.find(".carousel_controls_gallery").on("click",function(t){e.find('.slick-slide[data-slick-index="0"] > a').trigger("click"),t.preventDefault()})})
868t(".filterable-attractions-grid").on("filterable-attractions-grid.init",function(){var e=t(this);t(this).find(".distance-dotted-navigation a[data-toggle-distance]").on("click",function(i){t(this).closest("ul").find("li.is-active").removeClass("is-active"),t(this).closest("li").addClass("is-active").prevAll("li").addClass("is-active"),e.trigger("filterable-attractions-grid.filter",[t(this).data("toggle-distance")]),i.preventDefault()}),t(window).width()<=992?t(this).find(".expandable-content").addClass("is-active").css("height","").next(".expandable-content_more").hide():t(this).find(".expandable-content").each(function(){var e=2*t(this).find("[data-distance]:first").outerHeight(),i=t(this).data("expandable-content");void 0!==i.maxHeight&&(i.maxHeight=e),t(this).attr("data-expandable-content",JSON.stringify(i))})}).on("filterable-attractions-grid.filter",function(e,i){"*"==i&&(i=1e5),t(this).find("[data-distance]").each(function(){t(this)[parseFloat(t(this).data("distance"))<=i?"show":"hide"]()}),t(this).find(".expandable-content").trigger("expandable-content.refresh")}).trigger("filterable-attractions-grid.init"),t(".expandable-content").on("expandable-content.init",function(){var e=t(this),i=t(this).data("expandable-content"),o=t.extend({},{label:{},maxHeight:0},"object"==typeof i?i:{});t('<a href="#" class="expandable-content_more">'+o.label.contracted+"</a>").on("click",function(t){e.trigger("expandable-content."+(e.hasClass("is-active")?"contract":"exp
868and")),t.preventDefault()}).insertAfter(t(this)),t(this).trigger("expandable-content.refresh"),t(this).hasClass("is-active")?t(this).next(".expandable-content_more").html(o.label.expanded):t(this).trigger("expandable-content.contract")}).on("expandable-content.refresh",function(){var e=t(this).hasClass("is-active"),i=t(this).outerHeight();(data=t(this).data("expandable-content")),(options=t.extend({},{label:{},maxHeight:0},"object"==typeof data?data:{})),t(this).css("height",""),e||t(this).addClass("is-active");i=t(this).outerHeight();t(this).data("expandable-content.height",i),e?t(this).css("height",i+"px"):options.maxHeight<i&&t(this).css("height",options.maxHeight+"px").removeClass("is-active"),options.maxHeight>i?t(this).next(".expandable-content_more").hide():t(this).next(".expandable-content_more").show()}).on("expandable-content.expand",function(){var e=t(this).data("expandable-content"),i=t.extend({},{label:{},maxHeight:0},"object"==typeof e?e:{});t(this).css("height",t(this).data("expandable-content.height")+"px").addClass("is-active"),t(this).next(".expandable-content_more").html(i.label.expanded)}).on("expandable-content.contract",function(){var e=t(this).data("expandable-content"),i=t.extend({},{label:{},maxHeight:0},"object"==typeof e?e:{});t(this).css("height",i.maxHeight+"px").removeClass("is-active"),t(this).next(".expandable-content_more").html(i.label.contracted)}).trigger("expandable-content.init"),t(window).on("resize",function(){t(".expandable-content").trigger("expandable-content.refresh")}),t(".lightbox-gallery").magnificPopup({delegate:'a[href$="jpg"], a[href$="jpeg"], a[href$="png"], a[href$="gif"]',type:"image",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}}),t(".media-gallery").lightGallery({selector:".media-gallery_item a",download:!1}),t(".switch-list-mode-button[data-switch-list-mode]").on("click",function(e){var i=t(this).data("switch-list-mode"),o=t.extend({},{classPrefix:""},"object"==typeof i?i:{});($list=t(o.list)),$list.trigger("list.mode.change",[o.mode]),e.preventDefault()}),t(".js-switchable-mode-list").on("list.mode.change",function(e,i){var o=t(this),a=((i=i),t(this).data("list.mode")),n=t(this).data("switchable-mode-list"),s=t.extend({},{classPrefix:"",modes:[]},"object"==typeof n?n:{});if(!a)for(var l in s.modes)t(this).hasClass(s.classPrefix+s.modes[l])&&t(this).data("list.mode",(a=s.modes[l]));i!==a&&t.inArray(i,s.modes)>=0&&(t(".switch-list-mode-button[data-switch-list-mode]").each(function(){var e=t(this).data("switch-list-mode"),a=t.extend({},{classPrefix:""},"object"==typeof e?e:{});o.is(a.list)&&(t(this).removeClass("is-active"),a.mode===i&&t(this).addClass("is-active"));}),t(this).css("opacity",0),setTimeout(function(){for(var e in s.modes)o.removeClass(s.classPrefix+s.modes[e]);o.css("opacity",1).addClass(s.classPrefix+i).data("list.mode",i),t(window).trigger("scroll")},100));}),t('.form-checkbox input[type="checkbox"], .form-radio input[type="radio"]').on("change input.update-state",function(){t(this).is('[type="checkbox"]')?t(this).closest(".form-checkbox")[t(this).is(":checked")?"addClass":"removeClass"]("is-checked"):t(this).is('[type="radio"]')&&(t(this).closest("form").find('input[name="'+t(this).attr("name")+'"]:radio:checked').closest(".form-radio").addClass("is-checked"),t(this).closest("form").find('input[name="'+t(this).attr("name")+'"]:radio:not(:checked)').closest(".form-radio").removeClass("is-checked")),t(this).closest(".form-checkbox, .form-radio")[t(this).is(":disabled")?"addClass":"removeClass"]("is-disabled")}).trigger("input.update-state"),t(".form-range").each(function(){t(this).append('<div class="form-range_wrapper"><div class="form-range_input"></div></div>');var e=t(this),i=t(this).find(".form-range_input").get(0),o=t(this).data("form-range"),a=t.extend({},{min:0,max:100,step:1,margin:10},"object"==typeof o?o:{}),n=t(this).find("input:first").val(),s=t(this).find("input:last").val();noUiSlider.create(i,{start:[a.min,a.max],range:{min:a.min,max:a.max},margin:a.margin,step:a.step,connect:!0}),i.noUiSlider.on("update",function(){var e=t(this.target).closest(".form-range"),i=this.get();e.find(".form-range_min").html(parseInt(i[0])),e.find(".form-range_max").html(parseInt(i[1])),e.find("input:first").val(parseInt(i[0])),e.find("input:last").val(parseInt(i[1]))}),i.noUiSlider.on("change",function(){e.closest("form.js-submit-on-change").trigger("change")}),t(this).find(".form-range_wrapper").append('<span class="form-range_min"></span>').append('<span class="form-range_max"></span>'),n&&i.noUiSlider.set([n,null]),s&&i.noUiSlider.set([null,s]),i.noUiSlider.set([null,null])}),t(".form-filters > form").on("change",function(){if(t(this).hasClass("js-submit-on-change")){var e=t(this);e.data("form.submit-on-change.timeout")&&clearTimeout(e.data("form.submit-on-change.timeout")),e.data("form.submit-on-change.timeout",setTimeout(function(){e.data("form.submit-on-change.timeout","").submit()},1e3))}}),t(".form-filters").on("mobile.open",function(){t(this).addClass("is-active"),t(".form-filters_mobile-toggle").addClass("is-hidden"),t("body").addClass("no-scroll")}).on("mobile.close",function(){t(this).removeClass("is-active"),t(".form-filters_mobile-toggle").removeClass("is-hidden"),t("body").removeClass("no-scroll")}),t(".form-filters_mobile-toggle").on("click",function(e){t(".form-filters").trigger("mobile.open"),e.preventDefault()}),t(".form-filters_mobile-toolbar .btn--cancel").on("click",function(e){t(".form-filters").trigger("mobile.close"),e.preventDefault()}),t(window).on("resize update.form.objects-filters",function(){t("form.objects-filters")[t(window).width()>992?"addClass":"removeClass"]("js-submit-on-change")}).trigger("update.form.objects-filters"),t("form .g-recaptcha").each(function(){var e=t(this).closest("form"),i=t(this);t(this).hasClass("is-active")||t(this).hide(),e.on("change",function(){i.show()}),e.find("input, textarea").on("keyup",function(){i.show()})}),t(".content-accordion").on("accordion.init",function(){var e=t(this);
868t(this).find(".content-accordion_item").on("accordion.item.show",function(){t(this).find('.content-accordion_item_headline').attr('aria-expanded',!0);t(this).addClass("is-active").find(".content-accordion_item_content").css("height",t(this).data("accordion.item.content.height")+"px"),t(window).trigger("scroll")}).on("accordion.item.hide",function(){t(this).find('.content-accordion_item_headline').attr('aria-expanded',!1);t(this).removeClass("is-active").find(".content-accordion_item_content").css("height","")}),t(this).find(".content-accordion_item .content-accordion_item_headline").on("click keypress",function(i){if(i.type==='keypress'&&i.which!==13){return}
869var o=t(this).closest(".content-accordion_item");o.hasClass("is-active")?o.trigger("accordion.item.hide"):(e.find(".content-accordion_item.is-active").trigger("accordion.item.hide"),o.trigger("accordion.item.show")),i.preventDefault()}),t(this).trigger("accordion.refresh")}).on("accordion.refresh",function(){t(this).find(".content-accordion_item").each(function(){var e=t(this).hasClass("is-active"),i=t(this).find(".content-accordion_item_content"),o=i.outerHeight();i.css("height",""),e||t(this).addClass("is-active");o=t(this).find(".content-accordion_item_content").outerHeight();t(this).data("accordion.item.content.height",o),e?i.css("height",o+"px"):t(this).removeClass("is-active")})}).trigger("accordion.init"),t(window).on("resize",function(){t(".content-accordion").trigger("accordion.refresh")}),t(".table-accordion").on("table-accordion.init",function(){var e=t(this);t(this).find(".table-accordion_toggleable-row").on("accordion.item.show",function(){var e=t(this);t(this).addClass("is-active").find(".table-accordion_toggleable-row_content").css("height",t(this).data("accordion.item.content.height")+"px"),t(this).prev("tr").find(".table-accordion_row-toggle").addClass("is-toggled"),t(window).trigger("scroll"),setTimeout(function(){e.find(".table-accordion_toggleable-row_content").css("height","auto")},350)}).on("accordion.item.hide",function(){var e=t(this),i=t(this).find(".table-accordion_toggleable-row_content").outerHeight();t(this).data("accordion.item.content.height",i),t(this).find(".table-accordion_toggleable-row_content").css("height",i+"px"),setTimeout(function(){e.removeClass("is-active").find(".table-accordion_toggleable-row_content").css("height",""),e.prev("tr").find(".table-accordion_row-toggle").removeClass("is-toggled")},15)}),t(this).find(".table-accordion_row-toggle").on("click",function(i){var o=t(this).closest("tr").next(".table-accordion_toggleable-row");o.hasClass("is-active")?o.trigger("accordion.item.hide"):(e.find(".table-accordion_toggleable-row.is-active").trigger("accordion.item.hide"),o.trigger("accordion.item.show")),i.preventDefault()}),t(this).trigger("table-accordion.refresh")}).on("table-accordion.refresh",function(){t(this).find(".table-accordion_toggleable-row").each(function(){var e=t(this).hasClass("is-active"),i=t(this).find(".table-accordion_toggleable-row_content"),o=i.outerHeight();i.css("height",""),e||t(this).addClass("is-active");o=t(this).find(".table-accordion_toggleable-row_content").outerHeight();t(this).data("accordion.item.content.height",o),e?i.css("height",o+"px"):t(this).removeClass("is-active")})}).trigger("table-accordion.init"),t(window).on("resize",function(){t(".table-accordion").trigger("table-accordion.refresh")}),t(".content-tabs").on("tabs.init",function(){var e=t(this);t(this).find(".content-tabs_item").on("tabs.item.show",function(){e.find('.content-tabs_navigation a[href="#'+t(this).attr("id")+'"]').addClass("is-active"),e.find(".content-tabs_item.is-active").trigger("tabs.item.hide"),t(this).addClass("is-active"),t(this).find(".content-accordion").trigger("accordion.refresh"),t(this).find(".table-accordion").trigger("table-accordion.refresh"),t(window).trigger("scroll")}).on("tabs.item.hide",function(){e.find('.content-tabs_navigation a[href="#'+t(this).attr("id")+'"]').removeClass("is-active"),t(this).removeClass("is-active")}),t(this).find(".content-tabs_navigation a").on("click",function(i){var o=e.find('.content-tabs_item[id="'+t(this).attr("href").replace(/^#/,"")+'"]:not(.is-active)'),a=t(this).closest("li").find("> ul");a.length>0&&(a.toggleClass("is-active"),t(this).toggleClass("is-dropped"),i.preventDefault()),o.length>0&&(o.trigger("tabs.item.show"),i.preventDefault())}),t(document).on("click",".js-toggle-content-tab",function(e){t('.content-tabs_item[id="'+t(this).attr("href").replace("#","")+'"]').trigger("tabs.item.show"),e.preventDefault()}),window.location.hash.substr(1)&&e.find('.content-tabs_item[id="'+window.location.hash.substr(1)+'"]').trigger("tabs.item.show"),t(window).on("click",function(e){var i=t(e.target),o=t(".content-tabs_navigation a.is-dropped + ul.is-active");o.length>0&&!i.is(".content-tabs_navigation a")&&!i.is(".content-tabs_navigation ul.is-active")&&(o.removeClass("is-active"),o.prev("a.is-dropped").removeClass("is-dropped"))})}).trigger("tabs.init"),t("[data-main-search-autocomplete]").on("autocomplete.init",function(){var e=t(this).next(".autocomplete-list");if((t(this).addClass("has-autocomplete-list"),e.length<=0)){e=t('<div class="autocomplete-list"></div>');t(this).after(e)}
870t(this).closest("form").on("submit",function(t){var i;(i=e.find('a[data-autocomplete-list-focus="1"]').attr("href")).length>0&&((window.location=i),t.preventDefault())})}).on("autocomplete.query",function(){var e=t(this);t(this).next(".autocomplete-list");typeof t(this).data("autocomplete.xhr")instanceof XMLHttpRequest&&t(this).data("autocomplete.xhr").abort(),t(this).data("autocomplete.xhr",t.ajax("tmp/main-search.json",{dataType:"json"}).done(function(t,i,o){e.data("autocomplete.xhr",null),e.trigger("autocomplete.fill",[t])}))}).on("autocomplete.clear",function(e,i){t(this).next(".autocomplete-list").html("")}).on("autocomplete.fill",function(e,i){t(this);var o=t(this).next(".autocomplete-list");if((t(this).trigger("autocomplete.hide"),i&&i.length&&i.length>0)){for(var a in(t(this).trigger("autocomplete.clear"),o.html("<ul></ul>"),i)){var n=t("<li></li>");n.addClass("autocomplete-list_item type--"+i[a].type),i[a].image&&n.append('<span class="autocomplete-list_item_image-wrapper">
870<img src="'+i[a].image+'" alt=""/></span>'),i[a].headline&&n.append('<span class="autocomplete-list_item_headline">'+i[a].headline+"</span>"),i[a].subline&&n.append('<span class="autocomplete-list_item_subline">'+i[a].subline+"</span>"),n.wrapInner('<a href="'+i[a].url+'"></a>'),o.removeClass("al--no-data").addClass("al--has-data").find("ul").append(n)}
871t(this).trigger("autocomplete.show"),o.find("ul a:first").addClass("is-focused").attr("data-autocomplete-list-focus",1);}else o.removeClass("al--has-data").addClass("al--no-data")}).on("autocomplete.show",function(e,i){t(this);t(this).next(".autocomplete-list").addClass("al--active")}).on("autocomplete.hide",function(e,i){t(this);t(this).next(".autocomplete-list").removeClass("al--active")}).on("keyup",function(){var e=t(this),i=t(this).val();i.length>=3?t(this).data("autocomplete.query")!==i&&(void 0!==t(this).data("autocomplete.query.delay")&&clearTimeout(t(this).data("autocomplete.query.delay")),t(this).data("autocomplete.query.delay",setTimeout(function(){e.data("autocomplete.query.delay",null),e.data("autocomplete.query",i),e.trigger("autocomplete.query")},200))):t(this).trigger("autocomplete.clear").trigger("autocomplete.hide")}).on("focus",function(){t(this).trigger("autocomplete.show")}).on("blur",function(){var e=t(this);setTimeout(function(){e.trigger("autocomplete.hide")},100)}).trigger("autocomplete.init"),t(window).on("keydown",function(e){var i=t(document.activeElement);if(i.is("[data-main-search-autocomplete]")&&(38===e.which||40===e.which)){var o=i.next(".autocomplete-list"),a=o.find('a[data-autocomplete-list-focus="1"]');38===e.which?($newActive=a.length>0&&a.closest("li").prev("li").find("> a").length>0?a.closest("li").prev("li").find("> a"):o.find("ul a:last")):40===e.which&&($newActive=a.length>0&&a.closest("li").next("li").find("> a").length>0?a.closest("li").next("li").find("> a"):o.find("ul a:first")),a.removeClass("is-focused").attr("data-autocomplete-list-focus",""),$newActive.addClass("is-focused").attr("data-autocomplete-list-focus",1),e.preventDefault()}}),t(".content-overlay").on("content-overlay.init",function(){t(this).hasClass("is-hidden")||(t("html").addClass("content-overlay-visible"),t(".content-overlay_toggle").addClass("is-visible"))}).on("content-overlay.show",function(){t("html").addClass("content-overlay-visible"),t(this).removeClass("is-hidden"),t(".content-overlay_toggle").addClass("is-visible")}).on("content-overlay.hide",function(){t("html").removeClass("content-overlay-visible"),t(this).addClass("is-hidden"),t(".content-overlay_toggle").removeClass("is-visible")}).on("content-overlay.toggle",function(){t(this).trigger("content-overlay."+(t(this).hasClass("is-hidden")?"show":"hide"))}).trigger("content-overlay.init"),t(".content-overlay_toggle_button").on("click",function(e){t(".content-overlay").trigger("content-overlay.toggle"),e.preventDefault()}),t(".modal.is-active").each(function(){t('.js-open-modal[href="#'+t(this).attr("id")+'"]:first').trigger("click")})
872window.location.hash.substr(1)&&(function(){var e=t('.modal[id="'+window.location.hash.substr(1)+'"]'),i=t('.js-open-modal[href="#'+window.location.hash.substr(1)+'"]:first');if(e.length>0&&i.length>0){i.trigger("click");var o=i.closest(".content-tabs_item"),a=i.closest(".content-accordion_item");o.length>0&&o.trigger("tabs.item.show"),a.length>0&&a.trigger("accordion.item.show")}})(),t("img.img--lazy-load").unveil(1,function(){t(this).on('load',function(){t(this).addClass("img--loaded")})}),t(".js-open-social-share-minibar").on("click",function(e){t(t(this).attr("href")).length>0&&e.preventDefault()}).on("mouseover",function(e){var i=t(t(this).attr("href"));i.length>0&&(void 0!==i.prop("minibar.timeout")&&clearTimeout(i.prop("minibar.timeout")),i.css({left:t(this).offset().left+(t(this).outerWidth()-i.outerWidth())/2,top:t(this).offset().top+t(this).outerHeight()+8}),i.addClass("is-visible"))}).on("mouseout",function(e){var i=t(t(this).attr("href"));i.length>0&&i.prop("minibar.timeout",setTimeout(function(){i.removeClass("is-visible")},150))}),t(".social-share-minibar").on("social-share-minibar.init",function(){t(this).find("a").on("click",function(e){window.open(t(this).attr("href"),"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=550"),e.preventDefault()}),t(this).on("mouseover",function(e){void 0!==t(this).prop("minibar.timeout")&&clearTimeout(t(this).prop("minibar.timeout"))}).on("mouseout",function(e){var i=t(this);t(this).prop("minibar.timeout",setTimeout(function(){i.removeClass("is-visible")},150))})}).trigger("social-share-minibar.init"),t(document).on("click",".js-open-panoram-embed-window",function(e){t(this).closest("div").find(".panoram-embed-window").toggleClass("is-visible"),e.preventDefault()}),t('.icon[title]:not([title=""]), a[title]:not([title=""]), .js-tooltip').tooltipster({delay:100}),t(".js-open-social-popup").on("click",function(e){window.open(t(this).attr("href"),"socialPopup","width=500, height=400"),e.preventDefault()}),t(".floating-share-box").on("ui.floating-share-box.init",function(){var e=t(this);t(this).find(".floating-share-box_toggle").on("click",function(t){e.toggleClass("is-toggled"),t.preventDefault()})}).trigger("ui.floating-share-box.init"),t(window).width()<=768&&t(".floating-share-box.is-toggled").removeClass("is-toggled"),t(".media-overlay").on("ui.media-overlay.init",function(){var e=t(this);t(this).find(".media-overlay_sidebar_toggle").on("click",function(t){e.toggleClass("mo--hidden-sidebar"),t.preventDefault()})}).trigger("ui.media-overlay.init")})(jQuery);(function($){$(".js-switchable-mode-list.objects-list").on("list.mode.change",function(e,mode){$.post(window.njin.ajax.url+"/save/user-objects-list-mode",{mode:mode})});$("[data-main-search-autocomplete]").off("autocomplete.query").on("autocomplete.query",function(){var $self=$(this),$list=$(this).next(".autocomplete-list");if(typeof $(this).data("autocomplete.xhr")instanceof XMLHttpRequest){$(this).data("autocomplete.xhr").abort()}
873$(this).data("autocomplete.xhr",$.ajax(window.njin.ajax.url+"/get/main-search",{method:"POST",dataType:"json",data:{search:$(this).val()}}).done(function(data,status,xhr){$self.data("autocomplete.xhr",null);if(data&&data.response){$self.trigger("autocomplete.fill",[data.result])}}))})})(jQuery);jQuery('a[href="#add-object-popup"]').magnificPopup({type:'inline'});jQuery(".js-open-modal").magnificPopup({type:"inline",callbacks:{open:function(){const frame=jQuery(this)[0].content.find('iframe')
874frame.attr('src',frame.attr('lazy-src'))}}})
875window.addEventListener('load',function(){jQuery('.expandable-content').each(function(){jQuery(this).trigger('exp
875andable-content.refresh')})})
876document.querySelectorAll('.site-header_navigation ul a').forEach(link=>{if(window.location.href.includes(link.getAttribute('href'))){link.classList.add('is-hovered')}})
877if(document.querySelector('.frontpage-special-offers')){jQuery(".frontpage-special-offers .carousel_items").each(function(){var e=jQuery(this),options={infinite:!0,slidesToShow:3,responsive:[{breakpoint:992,settings:{slidesToShow:2}},{breakpoint:600,settings:{slidesToShow:1}}],autoplay:!0,autoplaySpeed:4000,arrows:!1,edgeFriction:0.35,touchThreshold:25,speed:500,swipeToSlide:!0,};jQuery(this).find(".img--lazy-load[data-src]").each(function(index){index>=5&&jQuery(this).attr("data-lazy",jQuery(this).data("src")).attr("data-src","")});jQuery(this).slick(options).on("lazyLoaded",function(e,i,o,a){jQuery(o).addClass("img--loaded")}).on("afterChange",function(e,i,o,a){jQuery(this).find(".slick-slide[data-slick-index="+o+"] img.img--lazy-load:not(.img--loaded)").trigger("unveil")});jQuery(".frontpage-special-offers .carousel_controls_previous").on("click",function(t){e.slick("slickPrev"),t.preventDefault()}),jQuery(".frontpage-special-offers .carousel_controls_next").on("click",function(t){e.slick("slickNext"),t.preventDefault()})})}
878$(document).ready(function(){$(".main-cards").each(function(index,element){var $this=$(this);var maxItem=parseInt($this.attr('data-max-item'));$this.find('.swiper-container').addClass("instance-"+index);$this.find(".swiper-button-prev").addClass("btn-prev-"+index);$this.find(".swiper-button-next").addClass("btn-next-"+index);slidesAmount=$this.find('.swiper-slide').length;let minSlidesAmountForLoop=5;if(window.innerWidth<992){minSlidesAmountForLoop=2}
879if(slidesAmount>minSlidesAmountForLoop){var swiper=new Swiper(".instance-"+index,{slidesPerView:1,spaceBetween:5,loop:!0,preloadImages:!1,lazy:!0,breakpoints:{768:{slidesPerView:(maxItem>0?maxItem:2),spaceBetween:5},992:{slidesPerView:(maxItem>0?maxItem:5),spaceBetween:5}},navigation:{nextEl:".btn-next-"+index,prevEl:".btn-prev-"+index},})}else{var swiper=new Swiper(".instance-"+index,{slidesPerView:1,spaceBetween:5,loop:!1,preloadImages:!1,lazy:!0,breakpoints:{768:{slidesPerView:(maxItem>0?maxItem:2),spaceBetween:5},992:{slidesPerView:(maxItem>0?maxItem:5),spaceBetween:5}},navigation:{nextEl:".btn-next-"+index,prevEl:".btn-prev-"+index},})}})})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.