
/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
function tosc5CustomInit(){let e=document.querySelector("dw-app-container");if(e){let t=e.shadowRoot.querySelector(".app_root");$.cookie("ariacontrast")&&t.classList.add($.cookie("ariacontrast"))}}
/*!
 * @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015
 * @version 1.3.3
 *
 * Date formatter utility library that allows formatting date/time variables or Date objects using PHP DateTime format.
 * @see http://php.net/manual/en/function.date.php
 *
 * For more JQuery plugins visit http://plugins.krajee.com
 * For more Yii related demos visit http://demos.krajee.com
 */
var DateFormatter;!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t,n){var i,r,s=(n=n||de).createElement("script");if(s.text=e,t)for(i in he)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&s.setAttribute(i,r);n.head.appendChild(s).parentNode.removeChild(s)}function i(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ie[re.call(e)]||"object":typeof e}function r(e){var t=!!e&&"length"in e&&e.length,n=i(e);return!ue(e)&&!ce(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function s(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function o(e,t,n){return ue(t)?pe.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?pe.grep(e,function(e){return e===t!==n}):"string"!=typeof t?pe.grep(e,function(e){return-1<ne.call(t,e)!==n}):pe.filter(t,e,n)}function a(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){return e}function u(e){throw e}function c(e,t,n,i){var r;try{e&&ue(r=e.promise)?r.call(e).done(t).fail(n):e&&ue(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}function d(){de.removeEventListener("DOMContentLoaded",d),e.removeEventListener("load",d),pe.ready()}function h(e,t){return t.toUpperCase()}function f(e){return e.replace(Me,"ms-").replace(Oe,h)}function p(){this.expando=pe.expando+p.uid++}function m(e,t,n){var i,r;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Ne,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:Ee.test(r)?JSON.parse(r):r)}catch(e){}Ae.set(e,t,n)}else n=void 0;return n}function g(e,t,n,i){var r,s,o=20,a=i?function(){return i.cur()}:function(){return pe.css(e,t,"")},l=a(),u=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=e.nodeType&&(pe.cssNumber[t]||"px"!==u&&+l)&&Ye.exec(pe.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;o--;)pe.style(e,t,c+u),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),c/=s;c*=2,pe.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function y(e,t){for(var n,i,r,s,o,a,l,u=[],c=0,d=e.length;c<d;c++)(i=e[c]).style&&(n=i.style.display,t?("none"===n&&(u[c]=Pe.get(i,"display")||null,u[c]||(i.style.display="")),""===i.style.display&&Fe(i)&&(u[c]=(l=o=s=void 0,o=(r=i).ownerDocument,a=r.nodeName,(l=ze[a])||(s=o.body.appendChild(o.createElement(a)),l=pe.css(s,"display"),s.parentNode.removeChild(s),"none"===l&&(l="block"),ze[a]=l)))):"none"!==n&&(u[c]="none",Pe.set(i,"display",n)));for(c=0;c<d;c++)null!=u[c]&&(e[c].style.display=u[c]);return e}function v(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&s(e,t)?pe.merge([e],n):n}function _(e,t){for(var n=0,i=e.length;n<i;n++)Pe.set(e[n],"globalEval",!t||Pe.get(t[n],"globalEval"))}function w(e,t,n,r,s){for(var o,a,l,u,c,d,h=t.createDocumentFragment(),f=[],p=0,m=e.length;p<m;p++)if((o=e[p])||0===o)if("object"===i(o))pe.merge(f,o.nodeType?[o]:o);else if(Je.test(o)){for(a=a||h.appendChild(t.createElement("div")),l=(Ue.exec(o)||["",""])[1].toLowerCase(),u=Ge[l]||Ge._default,a.innerHTML=u[1]+pe.htmlPrefilter(o)+u[2],d=u[0];d--;)a=a.lastChild;pe.merge(f,a.childNodes),(a=h.firstChild).textContent=""}else f.push(t.createTextNode(o));for(h.textContent="",p=0;o=f[p++];)if(r&&-1<pe.inArray(o,r))s&&s.push(o);else if(c=Ie(o),a=v(h.appendChild(o),"script"),c&&_(a),n)for(d=0;o=a[d++];)Ve.test(o.type||"")&&n.push(o);return h}function x(){return!0}function b(){return!1}function S(e,t){return e===function(){try{return de.activeElement}catch(e){}}()==("focus"===t)}function k(e,t,n,i,r,s){var o,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)k(e,a,n,i,t[a],s);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=b;else if(!r)return e;return 1===s&&(o=r,(r=function(e){return pe().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=pe.guid++)),e.each(function(){pe.event.add(this,t,r,i,n)})}function T(e,t,n){n?(Pe.set(e,t,!1),pe.event.add(e,t,{namespace:!1,handler:function(e){var i,r,s=Pe.get(this,t);if(1&e.isTrigger&&this[t]){if(s.length)(pe.event.special[t]||{}).delegateType&&e.stopPropagation();else if(s=K.call(arguments),Pe.set(this,t,s),i=n(this,t),this[t](),s!==(r=Pe.get(this,t))||i?Pe.set(this,t,!1):r={},s!==r)return e.stopImmediatePropagation(),e.preventDefault(),r&&r.value}else s.length&&(Pe.set(this,t,{value:pe.event.trigger(pe.extend(s[0],pe.Event.prototype),s.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Pe.get(e,t)&&pe.event.add(e,t,x)}function D(e,t){return s(e,"table")&&s(11!==t.nodeType?t:t.firstChild,"tr")&&pe(e).children("tbody")[0]||e}function C(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function M(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function O(e,t){var n,i,r,s,o,a;if(1===t.nodeType){if(Pe.hasData(e)&&(a=Pe.get(e).events))for(r in Pe.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)pe.event.add(t,r,a[r][n]);Ae.hasData(e)&&(s=Ae.access(e),o=pe.extend({},s),Ae.set(t,o))}}function $(e,t,i,r){t=ee(t);var s,o,a,l,u,c,d=0,h=e.length,f=h-1,p=t[0],m=ue(p);if(m||1<h&&"string"==typeof p&&!le.checkClone&&Xe.test(p))return e.each(function(n){var s=e.eq(n);m&&(t[0]=p.call(this,n,s.html())),$(s,t,i,r)});if(h&&(o=(s=w(t,e[0].ownerDocument,!1,e,r)).firstChild,1===s.childNodes.length&&(s=o),o||r)){for(l=(a=pe.map(v(s,"script"),C)).length;d<h;d++)u=s,d!==f&&(u=pe.clone(u,!0,!0),l&&pe.merge(a,v(u,"script"))),i.call(e[d],u,d);if(l)for(c=a[a.length-1].ownerDocument,pe.map(a,M),d=0;d<l;d++)u=a[d],Ve.test(u.type||"")&&!Pe.access(u,"globalEval")&&pe.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?pe._evalUrl&&!u.noModule&&pe._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):n(u.textContent.replace(Ke,""),u,c))}return e}function P(e,t,n){for(var i,r=t?pe.filter(t,e):e,s=0;null!=(i=r[s]);s++)n||1!==i.nodeType||pe.cleanData(v(i)),i.parentNode&&(n&&Ie(i)&&_(v(i,"script")),i.parentNode.removeChild(i));return e}function A(e,t,n){var i,r,s,o,a=e.style;return(n=n||tt(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||Ie(e)||(o=pe.style(e,t)),!le.pixelBoxStyles()&&et.test(o)&&it.test(t)&&(i=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=n.width,a.width=i,a.minWidth=r,a.maxWidth=s)),void 0!==o?o+"":o}function E(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function N(e){return pe.cssProps[e]||ot[e]||(e in st?e:ot[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=rt.length;n--;)if((e=rt[n]+t)in st)return e}(e)||e)}function H(e,t,n){var i=Ye.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Y(e,t,n,i,r,s){var o="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=pe.css(e,n+je[o],!0,r)),i?("content"===n&&(l-=pe.css(e,"padding"+je[o],!0,r)),"margin"!==n&&(l-=pe.css(e,"border"+je[o]+"Width",!0,r))):(l+=pe.css(e,"padding"+je[o],!0,r),"padding"!==n?l+=pe.css(e,"border"+je[o]+"Width",!0,r):a+=pe.css(e,"border"+je[o]+"Width",!0,r));return!i&&0<=s&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0),l}function j(e,t,n){var i=tt(e),r=(!le.boxSizingReliable()||n)&&"border-box"===pe.css(e,"boxSizing",!1,i),o=r,a=A(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(et.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&r||!le.reliableTrDimensions()&&s(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===pe.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===pe.css(e,"boxSizing",!1,i),(o=l in e)&&(a=e[l])),(a=parseFloat(a)||0)+Y(e,t,n||(r?"border":"content"),o,i,a)+"px"}function W(e,t,n,i,r){return new W.prototype.init(e,t,n,i,r)}function I(){ht&&(!1===de.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(I):e.setTimeout(I,pe.fx.interval),pe.fx.tick())}function L(){return e.setTimeout(function(){dt=void 0}),dt=Date.now()}function F(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=je[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function z(e,t,n){for(var i,r=(R.tweeners[t]||[]).concat(R.tweeners["*"]),s=0,o=r.length;s<o;s++)if(i=r[s].call(n,t,e))return i}function R(e,t,n){var i,r,s=0,o=R.prefilters.length,a=pe.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=dt||L(),n=Math.max(0,u.startTime+u.duration-t),i=1-(n/u.duration||0),s=0,o=u.tweens.length;s<o;s++)u.tweens[s].run(i);return a.notifyWith(e,[u,i,n]),i<1&&o?n:(o||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:pe.extend({},t),opts:pe.extend(!0,{specialEasing:{},easing:pe.easing._default},n),originalProperties:t,originalOptions:n,startTime:dt||L(),duration:n.duration,tweens:[],createTween:function(t,n){var i=pe.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(function(e,t){var n,i,r,s,o;for(n in e)if(r=t[i=f(n)],s=e[n],Array.isArray(s)&&(r=s[1],s=e[n]=s[0]),n!==i&&(e[i]=s,delete e[n]),(o=pe.cssHooks[i])&&"expand"in o)for(n in s=o.expand(s),delete e[i],s)n in e||(e[n]=s[n],t[n]=r);else t[i]=r}(c,u.opts.specialEasing);s<o;s++)if(i=R.prefilters[s].call(u,e,c,u.opts))return ue(i.stop)&&(pe._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return pe.map(c,z,u),ue(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),pe.fx.timer(pe.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}function q(e){return(e.match(ke)||[]).join(" ")}function B(e){return e.getAttribute&&e.getAttribute("class")||""}function U(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(ke)||[]}function V(e,t,n,r){var s;if(Array.isArray(t))pe.each(t,function(t,i){n||Ct.test(e)?r(e,i):V(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==i(t))r(e,t);else for(s in t)V(e+"["+s+"]",t[s],n,r)}function G(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,s=t.toLowerCase().match(ke)||[];if(ue(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function J(e,t,n,i){function r(a){var l;return s[a]=!0,pe.each(e[a]||[],function(e,a){var u=a(t,n,i);return"string"!=typeof u||o||s[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var s={},o=e===Wt;return r(t.dataTypes[0])||!s["*"]&&r("*")}function Q(e,t){var n,i,r=pe.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&pe.extend(!0,e,i),e}var Z=[],X=Object.getPrototypeOf,K=Z.slice,ee=Z.flat?function(e){return Z.flat.call(e)}:function(e){return Z.concat.apply([],e)},te=Z.push,ne=Z.indexOf,ie={},re=ie.toString,se=ie.hasOwnProperty,oe=se.toString,ae=oe.call(Object),le={},ue=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},ce=function(e){return null!=e&&e===e.window},de=e.document,he={type:!0,src:!0,nonce:!0,noModule:!0},fe="3.6.0",pe=function(e,t){return new pe.fn.init(e,t)};pe.fn=pe.prototype={jquery:fe,constructor:pe,length:0,toArray:function(){return K.call(this)},get:function(e){return null==e?K.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=pe.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return pe.each(this,e)},map:function(e){return this.pushStack(pe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(K.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(pe.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(pe.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:te,sort:Z.sort,splice:Z.splice},pe.extend=pe.fn.extend=function(){var e,t,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||ue(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&o!==i&&(u&&i&&(pe.isPlainObject(i)||(r=Array.isArray(i)))?(n=o[t],s=r&&!Array.isArray(n)?[]:r||pe.isPlainObject(n)?n:{},r=!1,o[t]=pe.extend(u,s,i)):void 0!==i&&(o[t]=i));return o},pe.extend({expando:"jQuery"+(fe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==re.call(e)||(t=X(e))&&("function"!=typeof(n=se.call(t,"constructor")&&t.constructor)||oe.call(n)!==ae))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){n(e,{nonce:t&&t.nonce},i)},each:function(e,t){var n,i=0;if(r(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?pe.merge(n,"string"==typeof e?[e]:e):te.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:ne.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,s=e.length,o=!n;r<s;r++)!t(e[r],r)!==o&&i.push(e[r]);return i},map:function(e,t,n){var i,s,o=0,a=[];if(r(e))for(i=e.length;o<i;o++)null!=(s=t(e[o],o,n))&&a.push(s);else for(o in e)null!=(s=t(e[o],o,n))&&a.push(s);return ee(a)},guid:1,support:le}),"function"==typeof Symbol&&(pe.fn[Symbol.iterator]=Z[Symbol.iterator]),pe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ie["[object "+t+"]"]=t.toLowerCase()});var me=function(e){function t(e,t,n,i){var r,s,o,a,l,u,c,h=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!i&&($(t),t=t||P,E)){if(11!==p&&(l=ye.exec(e)))if(r=l[1]){if(9===p){if(!(o=t.getElementById(r)))return n;if(o.id===r)return n.push(o),n}else if(h&&(o=h.getElementById(r))&&j(t,o)&&o.id===r)return n.push(o),n}else{if(l[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(r)),n}if(w.qsa&&!B[e+" "]&&(!N||!N.test(e))&&(1!==p||"object"!==t.nodeName.toLowerCase())){if(c=e,h=t,1===p&&(ue.test(e)||le.test(e))){for((h=ve.test(e)&&d(t.parentNode)||t)===t&&w.scope||((a=t.getAttribute("id"))?a=a.replace(xe,be):t.setAttribute("id",a=W)),s=(u=k(e)).length;s--;)u[s]=(a?"#"+a:":scope")+" "+f(u[s]);c=u.join(",")}try{return Z.apply(n,h.querySelectorAll(c)),n}catch(t){B(e,!0)}finally{a===W&&t.removeAttribute("id")}}}return D(e.replace(oe,"$1"),t,n,i)}function n(){var e=[];return function t(n,i){return e.push(n+" ")>x.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function i(e){return e[W]=!0,e}function r(e){var t=P.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e,t){for(var n=e.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=t}function o(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ke(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return i(function(t){return t=+t,i(function(n,i){for(var r,s=e([],n.length,t),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function h(){}function f(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function p(e,t,n){var i=t.dir,r=t.next,s=r||i,o=n&&"parentNode"===s,a=F++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||o)return e(t,n,r);return!1}:function(t,n,l){var u,c,d,h=[L,a];if(l){for(;t=t[i];)if((1===t.nodeType||o)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||o)if(c=(d=t[W]||(t[W]={}))[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((u=c[s])&&u[0]===L&&u[1]===a)return h[2]=u[2];if((c[s]=h)[2]=e(t,n,l))return!0}return!1}}function m(e){return 1<e.length?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function g(e,t,n,i,r){for(var s,o=[],a=0,l=e.length,u=null!=t;a<l;a++)(s=e[a])&&(n&&!n(s,i,r)||(o.push(s),u&&t.push(a)));return o}function y(e,n,r,s,o,a){return s&&!s[W]&&(s=y(s)),o&&!o[W]&&(o=y(o,a)),i(function(i,a,l,u){var c,d,h,f=[],p=[],m=a.length,y=i||function(e,n,i){for(var r=0,s=n.length;r<s;r++)t(e,n[r],i);return i}(n||"*",l.nodeType?[l]:l,[]),v=!e||!i&&n?y:g(y,f,e,l,u),_=r?o||(i?e:m||s)?[]:a:v;if(r&&r(v,_,l,u),s)for(c=g(_,p),s(c,[],l,u),d=c.length;d--;)(h=c[d])&&(_[p[d]]=!(v[p[d]]=h));if(i){if(o||e){if(o){for(c=[],d=_.length;d--;)(h=_[d])&&c.push(v[d]=h);o(null,_=[],c,u)}for(d=_.length;d--;)(h=_[d])&&-1<(c=o?K(i,h):f[d])&&(i[c]=!(a[c]=h))}}else _=g(_===a?_.splice(m,_.length):_),o?o(null,a,_,u):Z.apply(a,_)})}function v(e){for(var t,n,i,r=e.length,s=x.relative[e[0].type],o=s||x.relative[" "],a=s?1:0,l=p(function(e){return e===t},o,!0),u=p(function(e){return-1<K(t,e)},o,!0),c=[function(e,n,i){var r=!s&&(i||n!==C)||((t=n).nodeType?l(e,n,i):u(e,n,i));return t=null,r}];a<r;a++)if(n=x.relative[e[a].type])c=[p(m(c),n)];else{if((n=x.filter[e[a].type].apply(null,e[a].matches))[W]){for(i=++a;i<r&&!x.relative[e[i].type];i++);return y(1<a&&m(c),1<a&&f(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(oe,"$1"),n,a<i&&v(e.slice(a,i)),i<r&&v(e=e.slice(i)),i<r&&f(e))}c.push(n)}return m(c)}var _,w,x,b,S,k,T,D,C,M,O,$,P,A,E,N,H,Y,j,W="sizzle"+1*new Date,I=e.document,L=0,F=0,z=n(),R=n(),q=n(),B=n(),U=function(e,t){return e===t&&(O=!0),0},V={}.hasOwnProperty,G=[],J=G.pop,Q=G.push,Z=G.push,X=G.slice,K=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},ee="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",te="[\\x20\\t\\r\\n\\f]",ne="(?:\\\\[\\da-fA-F]{1,6}"+te+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ie="\\["+te+"*("+ne+")(?:"+te+"*([*^$|!~]?=)"+te+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ne+"))|)"+te+"*\\]",re=":("+ne+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",se=new RegExp(te+"+","g"),oe=new RegExp("^"+te+"+|((?:^|[^\\\\])(?:\\\\.)*)"+te+"+$","g"),ae=new RegExp("^"+te+"*,"+te+"*"),le=new RegExp("^"+te+"*([>+~]|"+te+")"+te+"*"),ue=new RegExp(te+"|>"),ce=new RegExp(re),de=new RegExp("^"+ne+"$"),he={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},fe=/HTML$/i,pe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,_e=new RegExp("\\\\[\\da-fA-F]{1,6}"+te+"?|\\\\([^\\r\\n\\f])","g"),we=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,be=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Se=function(){$()},ke=p(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Z.apply(G=X.call(I.childNodes),I.childNodes),G[I.childNodes.length].nodeType}catch(_){Z={apply:G.length?function(e,t){Q.apply(e,X.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(_ in w=t.support={},S=t.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!fe.test(t||n&&n.nodeName||"HTML")},$=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:I;return i!=P&&9===i.nodeType&&i.documentElement&&(A=(P=i).documentElement,E=!S(P),I!=P&&(n=P.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Se,!1):n.attachEvent&&n.attachEvent("onunload",Se)),w.scope=r(function(e){return A.appendChild(e).appendChild(P.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),w.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=r(function(e){return e.appendChild(P.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ge.test(P.getElementsByClassName),w.getById=r(function(e){return A.appendChild(e).id=W,!P.getElementsByName||!P.getElementsByName(W).length}),w.getById?(x.filter.ID=function(e){var t=e.replace(_e,we);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var t=e.replace(_e,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,i,r,s=t.getElementById(e);if(s){if((n=s.getAttributeNode("id"))&&n.value===e)return[s];for(r=t.getElementsByName(e),i=0;s=r[i++];)if((n=s.getAttributeNode("id"))&&n.value===e)return[s]}return[]}}),x.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,s=t.getElementsByTagName(e);if("*"===e){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},x.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},H=[],N=[],(w.qsa=ge.test(P.querySelectorAll))&&(r(function(e){var t;A.appendChild(e).innerHTML="<a id='"+W+"'></a><select id='"+W+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+te+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||N.push("\\["+te+"*(?:value|"+ee+")"),e.querySelectorAll("[id~="+W+"-]").length||N.push("~="),(t=P.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||N.push("\\["+te+"*name"+te+"*="+te+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||N.push(":checked"),e.querySelectorAll("a#"+W+"+*").length||N.push(".#.+[+~]"),e.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),r(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=P.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&N.push("name"+te+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),A.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),N.push(",.*:")})),(w.matchesSelector=ge.test(Y=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&r(function(e){w.disconnectedMatch=Y.call(e,"*"),Y.call(e,"[s!='']:x"),H.push("!=",re)}),N=N.length&&new RegExp(N.join("|")),H=H.length&&new RegExp(H.join("|")),t=ge.test(A.compareDocumentPosition),j=t||ge.test(A.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return O=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!w.sortDetached&&t.compareDocumentPosition(e)===n?e==P||e.ownerDocument==I&&j(I,e)?-1:t==P||t.ownerDocument==I&&j(I,t)?1:M?K(M,e)-K(M,t):0:4&n?-1:1)}:function(e,t){if(e===t)return O=!0,0;var n,i=0,r=e.parentNode,s=t.parentNode,a=[e],l=[t];if(!r||!s)return e==P?-1:t==P?1:r?-1:s?1:M?K(M,e)-K(M,t):0;if(r===s)return o(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?o(a[i],l[i]):a[i]==I?-1:l[i]==I?1:0}),P},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if($(e),w.matchesSelector&&E&&!B[n+" "]&&(!H||!H.test(n))&&(!N||!N.test(n)))try{var i=Y.call(e,n);if(i||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){B(n,!0)}return 0<t(n,P,null,[e]).length},t.contains=function(e,t){return(e.ownerDocument||e)!=P&&$(e),j(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!=P&&$(e);var n=x.attrHandle[t.toLowerCase()],i=n&&V.call(x.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==i?i:w.attributes||!E?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.escape=function(e){return(e+"").replace(xe,be)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,r=0;if(O=!w.detectDuplicates,M=!w.sortStable&&e.slice(0),e.sort(U),O){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return M=null,e},b=t.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=b(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=b(t);return n},(x=t.selectors={cacheLength:50,createPseudo:i,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(_e,we),e[3]=(e[3]||e[4]||e[5]||"").replace(_e,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(_e,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|"+te+")"+e+"("+te+"|$)"))&&z(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(r){var s=t.attr(r,e);return null==s?"!="===n:!n||(s+="","="===n?s===i:"!="===n?s!==i:"^="===n?i&&0===s.indexOf(i):"*="===n?i&&-1<s.indexOf(i):"$="===n?i&&s.slice(-i.length)===i:"~="===n?-1<(" "+s.replace(se," ")+" ").indexOf(i):"|="===n&&(s===i||s.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var s="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,h,f,p,m=s!==o?"nextSibling":"previousSibling",g=t.parentNode,y=a&&t.nodeName.toLowerCase(),v=!l&&!a,_=!1;if(g){if(s){for(;m;){for(h=t;h=h[m];)if(a?h.nodeName.toLowerCase()===y:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&v){for(_=(f=(u=(c=(d=(h=g)[W]||(h[W]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===L&&u[1])&&u[2],h=f&&g.childNodes[f];h=++f&&h&&h[m]||(_=f=0)||p.pop();)if(1===h.nodeType&&++_&&h===t){c[e]=[L,f,_];break}}else if(v&&(_=f=(u=(c=(d=(h=t)[W]||(h[W]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===L&&u[1]),!1===_)for(;(h=++f&&h&&h[m]||(_=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==y:1!==h.nodeType)||!++_||(v&&((c=(d=h[W]||(h[W]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[L,_]),h!==t)););return(_-=r)===i||_%i==0&&0<=_/i}}},PSEUDO:function(e,n){var r,s=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return s[W]?s(n):1<s.length?(r=[e,e,"",n],x.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,r=s(e,n),o=r.length;o--;)e[i=K(e,r[o])]=!(t[i]=r[o])}):function(e){return s(e,0,r)}):s}},pseudos:{not:i(function(e){var t=[],n=[],r=T(e.replace(oe,"$1"));return r[W]?i(function(e,t,n,i){for(var s,o=r(e,null,i,[]),a=e.length;a--;)(s=o[a])&&(e[a]=!(t[a]=s))}):function(e,i,s){return t[0]=e,r(t,null,s,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return 0<t(e,n).length}}),contains:i(function(e){return e=e.replace(_e,we),function(t){return-1<(t.textContent||b(t)).indexOf(e)}}),lang:i(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(_e,we).toLowerCase(),function(t){var n;do{if(n=E?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===A},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:c(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[_]=a(_);for(_ in{submit:!0,reset:!0})x.pseudos[_]=l(_);return h.prototype=x.filters=x.pseudos,x.setFilters=new h,k=t.tokenize=function(e,n){var i,r,s,o,a,l,u,c=R[e+" "];if(c)return n?0:c.slice(0);for(a=e,l=[],u=x.preFilter;a;){for(o in i&&!(r=ae.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),i=!1,(r=le.exec(a))&&(i=r.shift(),s.push({value:i,type:r[0].replace(oe," ")}),a=a.slice(i.length)),x.filter)!(r=he[o].exec(a))||u[o]&&!(r=u[o](r))||(i=r.shift(),s.push({value:i,type:o,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?t.error(e):R(e,l).slice(0)},T=t.compile=function(e,n){var r,s,o,a,l,u,c=[],d=[],h=q[e+" "];if(!h){for(n||(n=k(e)),r=n.length;r--;)(h=v(n[r]))[W]?c.push(h):d.push(h);(h=q(e,(s=d,a=0<(o=c).length,l=0<s.length,u=function(e,n,i,r,u){var c,d,h,f=0,p="0",m=e&&[],y=[],v=C,_=e||l&&x.find.TAG("*",u),w=L+=null==v?1:Math.random()||.1,b=_.length;for(u&&(C=n==P||n||u);p!==b&&null!=(c=_[p]);p++){if(l&&c){for(d=0,n||c.ownerDocument==P||($(c),i=!E);h=s[d++];)if(h(c,n||P,i)){r.push(c);break}u&&(L=w)}a&&((c=!h&&c)&&f--,e&&m.push(c))}if(f+=p,a&&p!==f){for(d=0;h=o[d++];)h(m,y,n,i);if(e){if(0<f)for(;p--;)m[p]||y[p]||(y[p]=J.call(r));y=g(y)}Z.apply(r,y),u&&!e&&0<y.length&&1<f+o.length&&t.uniqueSort(r)}return u&&(L=w,C=v),m},a?i(u):u))).selector=e}return h},D=t.select=function(e,t,n,i){var r,s,o,a,l,u="function"==typeof e&&e,c=!i&&k(e=u.selector||e);if(n=n||[],1===c.length){if(2<(s=c[0]=c[0].slice(0)).length&&"ID"===(o=s[0]).type&&9===t.nodeType&&E&&x.relative[s[1].type]){if(!(t=(x.find.ID(o.matches[0].replace(_e,we),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(r=he.needsContext.test(e)?0:s.length;r--&&(o=s[r],!x.relative[a=o.type]);)if((l=x.find[a])&&(i=l(o.matches[0].replace(_e,we),ve.test(s[0].type)&&d(t.parentNode)||t))){if(s.splice(r,1),!(e=i.length&&f(s)))return Z.apply(n,i),n;break}}return(u||T(e,c))(i,t,!E,n,!t||ve.test(e)&&d(t.parentNode)||t),n},w.sortStable=W.split("").sort(U).join("")===W,w.detectDuplicates=!!O,$(),w.sortDetached=r(function(e){return 1&e.compareDocumentPosition(P.createElement("fieldset"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||s("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||s("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||s(ee,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(e);pe.find=me,pe.expr=me.selectors,pe.expr[":"]=pe.expr.pseudos,pe.uniqueSort=pe.unique=me.uniqueSort,pe.text=me.getText,pe.isXMLDoc=me.isXML,pe.contains=me.contains,pe.escapeSelector=me.escape;var ge=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&pe(e).is(n))break;i.push(e)}return i},ye=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ve=pe.expr.match.needsContext,_e=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pe.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?pe.find.matchesSelector(i,e)?[i]:[]:pe.find.matches(e,pe.grep(t,function(e){return 1===e.nodeType}))},pe.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(pe(e).filter(function(){for(t=0;t<i;t++)if(pe.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)pe.find(e,r[t],n);return 1<i?pe.uniqueSort(n):n},filter:function(e){return this.pushStack(o(this,e||[],!1))},not:function(e){return this.pushStack(o(this,e||[],!0))},is:function(e){return!!o(this,"string"==typeof e&&ve.test(e)?pe(e):e||[],!1).length}});var we,xe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(pe.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||we,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:xe.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof pe?t[0]:t,pe.merge(this,pe.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:de,!0)),_e.test(i[1])&&pe.isPlainObject(t))for(i in t)ue(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=de.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ue(e)?void 0!==n.ready?n.ready(e):e(pe):pe.makeArray(e,this)}).prototype=pe.fn,we=pe(de);var be=/^(?:parents|prev(?:Until|All))/,Se={children:!0,contents:!0,next:!0,prev:!0};pe.fn.extend({has:function(e){var t=pe(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(pe.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,s=[],o="string"!=typeof e&&pe(e);if(!ve.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&pe.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(1<s.length?pe.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?ne.call(pe(e),this[0]):ne.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(pe.uniqueSort(pe.merge(this.get(),pe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),pe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ge(e,"parentNode")},parentsUntil:function(e,t,n){return ge(e,"parentNode",n)},next:function(e){return a(e,"nextSibling")},prev:function(e){return a(e,"previousSibling")},nextAll:function(e){return ge(e,"nextSibling")},prevAll:function(e){return ge(e,"previousSibling")},nextUntil:function(e,t,n){return ge(e,"nextSibling",n)},prevUntil:function(e,t,n){return ge(e,"previousSibling",n)},siblings:function(e){return ye((e.parentNode||{}).firstChild,e)},children:function(e){return ye(e.firstChild)},contents:function(e){return null!=e.contentDocument&&X(e.contentDocument)?e.contentDocument:(s(e,"template")&&(e=e.content||e),pe.merge([],e.childNodes))}},function(e,t){pe.fn[e]=function(n,i){var r=pe.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=pe.filter(i,r)),1<this.length&&(Se[e]||pe.uniqueSort(r),be.test(e)&&r.reverse()),this.pushStack(r)}});var ke=/[^\x20\t\r\n\f]+/g;pe.Callbacks=function(e){var t,n;e="string"==typeof e?(t=e,n={},pe.each(t.match(ke)||[],function(e,t){n[t]=!0}),n):pe.extend({},e);var r,s,o,a,l=[],u=[],c=-1,d=function(){for(a=a||e.once,o=r=!0;u.length;c=-1)for(s=u.shift();++c<l.length;)!1===l[c].apply(s[0],s[1])&&e.stopOnFalse&&(c=l.length,s=!1);e.memory||(s=!1),r=!1,a&&(l=s?[]:"")},h={add:function(){return l&&(s&&!r&&(c=l.length-1,u.push(s)),function t(n){pe.each(n,function(n,r){ue(r)?e.unique&&h.has(r)||l.push(r):r&&r.length&&"string"!==i(r)&&t(r)})}(arguments),s&&!r&&d()),this},remove:function(){return pe.each(arguments,function(e,t){for(var n;-1<(n=pe.inArray(t,l,n));)l.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<pe.inArray(e,l):0<l.length},empty:function(){return l&&(l=[]),this},disable:function(){return a=u=[],l=s="",this},disabled:function(){return!l},lock:function(){return a=u=[],s||r||(l=s=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),r||d()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!o}};return h},pe.extend({Deferred:function(t){var n=[["notify","progress",pe.Callbacks("memory"),pe.Callbacks("memory"),2],["resolve","done",pe.Callbacks("once memory"),pe.Callbacks("once memory"),0,"resolved"],["reject","fail",pe.Callbacks("once memory"),pe.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return r.then(null,e)},pipe:function(){var e=arguments;return pe.Deferred(function(t){pe.each(n,function(n,i){var r=ue(e[i[4]])&&e[i[4]];s[i[1]](function(){var e=r&&r.apply(this,arguments);e&&ue(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(t,i,r){function s(t,n,i,r){return function(){var a=this,c=arguments,d=function(){var e,d;if(!(t<o)){if((e=i.apply(a,c))===n.promise())throw new TypeError("Thenable self-resolution");d=e&&("object"==typeof e||"function"==typeof e)&&e.then,ue(d)?r?d.call(e,s(o,n,l,r),s(o,n,u,r)):(o++,d.call(e,s(o,n,l,r),s(o,n,u,r),s(o,n,l,n.notifyWith))):(i!==l&&(a=void 0,c=[e]),(r||n.resolveWith)(a,c))}},h=r?d:function(){try{d()}catch(d){pe.Deferred.exceptionHook&&pe.Deferred.exceptionHook(d,h.stackTrace),o<=t+1&&(i!==u&&(a=void 0,c=[d]),n.rejectWith(a,c))}};t?h():(pe.Deferred.getStackHook&&(h.stackTrace=pe.Deferred.getStackHook()),e.setTimeout(h))}}var o=0;return pe.Deferred(function(e){n[0][3].add(s(0,e,ue(r)?r:l,e.notifyWith)),n[1][3].add(s(0,e,ue(t)?t:l)),n[2][3].add(s(0,e,ue(i)?i:u))}).promise()},promise:function(e){return null!=e?pe.extend(e,r):r}},s={};return pe.each(n,function(e,t){var o=t[2],a=t[5];r[t[1]]=o.add,a&&o.add(function(){i=a},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),o.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=o.fireWith}),r.promise(s),t&&t.call(s,s),s},when:function(e){var t=arguments.length,n=t,i=Array(n),r=K.call(arguments),s=pe.Deferred(),o=function(e){return function(n){i[e]=this,r[e]=1<arguments.length?K.call(arguments):n,--t||s.resolveWith(i,r)}};if(t<=1&&(c(e,s.done(o(n)).resolve,s.reject,!t),"pending"===s.state()||ue(r[n]&&r[n].then)))return s.then();for(;n--;)c(r[n],o(n),s.reject);return s.promise()}});var Te=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;pe.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Te.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},pe.readyException=function(t){e.setTimeout(function(){throw t})};var De=pe.Deferred();pe.fn.ready=function(e){return De.then(e)["catch"](function(e){pe.readyException(e)}),this},pe.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--pe.readyWait:pe.isReady)||(pe.isReady=!0)!==e&&0<--pe.readyWait||De.resolveWith(de,[pe])}}),pe.ready.then=De.then,"complete"===de.readyState||"loading"!==de.readyState&&!de.documentElement.doScroll?e.setTimeout(pe.ready):(de.addEventListener("DOMContentLoaded",d),e.addEventListener("load",d));var Ce=function(e,t,n,r,s,o,a){var l=0,u=e.length,c=null==n;if("object"===i(n))for(l in s=!0,n)Ce(e,t,l,n[l],!0,o,a);else if(void 0!==r&&(s=!0,ue(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(pe(e),n)})),t))for(;l<u;l++)t(e[l],n,a?r:r.call(e[l],l,t(e[l],n)));return s?e:c?t.call(e):u?t(e[0],n):o},Me=/^-ms-/,Oe=/-([a-z])/g,$e=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};p.uid=1,p.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$e(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[f(t)]=n;else for(i in t)r[f(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][f(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(f):(t=f(t))in i?[t]:t.match(ke)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||pe.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!pe.isEmptyObject(t)}};var Pe=new p,Ae=new p,Ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ne=/[A-Z]/g;pe.extend({hasData:function(e){return Ae.hasData(e)||Pe.hasData(e)},data:function(e,t,n){return Ae.access(e,t,n)},removeData:function(e,t){Ae.remove(e,t)},_data:function(e,t,n){return Pe.access(e,t,n)},_removeData:function(e,t){Pe.remove(e,t)}}),pe.fn.extend({data:function(e,t){var n,i,r,s=this[0],o=s&&s.attributes;if(void 0===e){if(this.length&&(r=Ae.get(s),1===s.nodeType&&!Pe.get(s,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(i=o[n].name).indexOf("data-")&&(i=f(i.slice(5)),m(s,i,r[i]));Pe.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){Ae.set(this,e)}):Ce(this,function(t){var n;if(s&&void 0===t)return void 0!==(n=Ae.get(s,e))?n:void 0!==(n=m(s,e))?n:void 0;this.each(function(){Ae.set(this,e,t)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Ae.remove(this,e)})}}),pe.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Pe.get(e,t),n&&(!i||Array.isArray(n)?i=Pe.access(e,t,pe.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=pe.queue(e,t),i=n.length,r=n.shift(),s=pe._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete s.stop,r.call(e,function(){pe.dequeue(e,t)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Pe.get(e,n)||Pe.access(e,n,{empty:pe.Callbacks("once memory").add(function(){Pe.remove(e,[t+"queue",n])})})}}),pe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?pe.queue(this[0],e):void 0===t?this:this.each(function(){var n=pe.queue(this,e,t);pe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&pe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){pe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=pe.Deferred(),s=this,o=this.length,a=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=Pe.get(s[o],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var He=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ye=new RegExp("^(?:([+-])=|)("+He+")([a-z%]*)$","i"),je=["Top","Right","Bottom","Left"],We=de.documentElement,Ie=function(e){return pe.contains(e.ownerDocument,e)},Le={composed:!0};We.getRootNode&&(Ie=function(e){return pe.contains(e.ownerDocument,e)||e.getRootNode(Le)===e.ownerDocument});var Fe=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&Ie(e)&&"none"===pe.css(e,"display")},ze={};pe.fn.extend({show:function(){return y(this,!0)},hide:function(){return y(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Fe(this)?pe(this).show():pe(this).hide()})}});var Re,qe,Be=/^(?:checkbox|radio)$/i,Ue=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ve=/^$|^module$|\/(?:java|ecma)script/i;Re=de.createDocumentFragment().appendChild(de.createElement("div")),(qe=de.createElement("input")).setAttribute("type","radio"),qe.setAttribute("checked","checked"),qe.setAttribute("name","t"),Re.appendChild(qe),le.checkClone=Re.cloneNode(!0).cloneNode(!0).lastChild.checked,Re.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!Re.cloneNode(!0).lastChild.defaultValue,Re.innerHTML="<option></option>",le.option=!!Re.lastChild;var Ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td,le.option||(Ge.optgroup=Ge.option=[1,"<select multiple='multiple'>","</select>"]);var Je=/<|&#?\w+;/,Qe=/^([^.]*)(?:\.(.+)|)/;pe.event={global:{},add:function(e,t,n,i,r){var s,o,a,l,u,c,d,h,f,p,m,g=Pe.get(e);if($e(e))for(n.handler&&(n=(s=n).handler,r=s.selector),r&&pe.find.matchesSelector(We,r),n.guid||(n.guid=pe.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==pe&&pe.event.triggered!==t.type?pe.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(ke)||[""]).length;u--;)f=m=(a=Qe.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),f&&(d=pe.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=pe.event.special[f]||{},c=pe.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&pe.expr.match.needsContext.test(r),namespace:p.join(".")},s),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,p,o)||e.addEventListener&&e.addEventListener(f,o)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),pe.event.global[f]=!0)},remove:function(e,t,n,i,r){var s,o,a,l,u,c,d,h,f,p,m,g=Pe.hasData(e)&&Pe.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(ke)||[""]).length;u--;)if(f=m=(a=Qe.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=pe.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=h.length;s--;)c=h[s],!r&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(s,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||pe.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)pe.event.remove(e,f+t[u],n,i,!0);pe.isEmptyObject(l)&&Pe.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,s,o,a=new Array(arguments.length),l=pe.event.fix(e),u=(Pe.get(this,"events")||Object.create(null))[l.type]||[],c=pe.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(o=pe.event.handlers.call(this,l,u),t=0;(r=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(s=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(i=((pe.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,s,o,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&1<=e.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(s=[],o={},n=0;n<l;n++)void 0===o[r=(i=t[n]).selector+" "]&&(o[r]=i.needsContext?-1<pe(r,this).index(u):pe.find(r,this,null,[u]).length),o[r]&&s.push(i);s.length&&a.push({elem:u,handlers:s})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(pe.Event.prototype,e,{enumerable:!0,configurable:!0,get:ue(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[pe.expando]?e:new pe.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Be.test(t.type)&&t.click&&s(t,"input")&&T(t,"click",x),!1},trigger:function(e){var t=this||e;return Be.test(t.type)&&t.click&&s(t,"input")&&T(t,"click"),!0},_default:function(e){var t=e.target;return Be.test(t.type)&&t.click&&s(t,"input")&&Pe.get(t,"click")||s(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},pe.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},pe.Event=function(e,t){if(!(this instanceof pe.Event))return new pe.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?x:b,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&pe.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[pe.expando]=!0},pe.Event.prototype={constructor:pe.Event,isDefaultPrevented:b,isPropagationStopped:b,isImmediatePropagationStopped:b,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=x,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=x,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=x,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},pe.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},pe.event.addProp),pe.each({focus:"focusin",blur:"focusout"},function(e,t){pe.event.special[e]={setup:function(){return T(this,e,S),!1},trigger:function(){return T(this,e),!0},_default:function(){return!0},delegateType:t}}),pe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){pe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||pe.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),pe.fn.extend({on:function(e,t,n,i){return k(this,e,t,n,i)},one:function(e,t,n,i){return k(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,pe(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=b),this.each(function(){pe.event.remove(this,e,n,t)})}});var Ze=/<script|<style|<link/i,Xe=/checked\s*(?:[^=]|=\s*.checked.)/i,Ke=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;pe.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,s,o,a,l,u,c=e.cloneNode(!0),d=Ie(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pe.isXMLDoc(e)))for(o=v(c),i=0,r=(s=v(e)).length;i<r;i++)a=s[i],"input"===(u=(l=o[i]).nodeName.toLowerCase())&&Be.test(a.type)?l.checked=a.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=a.defaultValue);if(t)if(n)for(s=s||v(e),o=o||v(c),i=0,r=s.length;i<r;i++)O(s[i],o[i]);else O(e,c);return 0<(o=v(c,"script")).length&&_(o,!d&&v(e,"script")),c},cleanData:function(e){for(var t,n,i,r=pe.event.special,s=0;void 0!==(n=e[s]);s++)if($e(n)){if(t=n[Pe.expando]){if(t.events)for(i in t.events)r[i]?pe.event.remove(n,i):pe.removeEvent(n,i,t.handle);n[Pe.expando]=void 0}n[Ae.expando]&&(n[Ae.expando]=void 0)}}}),pe.fn.extend({detach:function(e){return P(this,e,!0)},remove:function(e){return P(this,e)},text:function(e){return Ce(this,function(e){return void 0===e?pe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||D(this,e).appendChild(e)})},prepend:function(){return $(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=D(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(pe.cleanData(v(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return pe.clone(this,e,t)})},html:function(e){return Ce(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ze.test(e)&&!Ge[(Ue.exec(e)||["",""])[1].toLowerCase()]){e=pe.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(pe.cleanData(v(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return $(this,arguments,function(t){var n=this.parentNode;pe.inArray(this,e)<0&&(pe.cleanData(v(this)),n&&n.replaceChild(t,this))},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){pe.fn[e]=function(e){for(var n,i=[],r=pe(e),s=r.length-1,o=0;o<=s;o++)n=o===s?this:this.clone(!0),pe(r[o])[t](n),te.apply(i,n.get());return this.pushStack(i)}});var et=new RegExp("^("+He+")(?!px)[a-z%]+$","i"),tt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},nt=function(e,t,n){var i,r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=s[r];return i},it=new RegExp(je.join("|"),"i");!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",We.appendChild(u).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,l=12===n(t.marginLeft),c.style.right="60%",o=36===n(t.right),r=36===n(t.width),c.style.position="absolute",s=12===n(c.offsetWidth/3),We.removeChild(u),c=null}}function n(e){return Math.round(parseFloat(e))}var i,r,s,o,a,l,u=de.createElement("div"),c=de.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===c.style.backgroundClip,pe.extend(le,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),o},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),s},reliableTrDimensions:function(){var t,n,i,r;return null==a&&(t=de.createElement("table"),n=de.createElement("tr"),i=de.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",We.appendChild(t).appendChild(n).appendChild(i),r=e.getComputedStyle(n),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===n.offsetHeight,We.removeChild(t)),a}}))}();var rt=["Webkit","Moz","ms"],st=de.createElement("div").style,ot={},at=/^(none|table(?!-c[ea]).+)/,lt=/^--/,ut={position:"absolute",visibility:"hidden",display:"block"},ct={letterSpacing:"0",fontWeight:"400"};pe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=A(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,o,a=f(t),l=lt.test(t),u=e.style;if(l||(t=N(a)),o=pe.cssHooks[t]||pe.cssHooks[a],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:u[t];"string"==(s=typeof n)&&(r=Ye.exec(n))&&r[1]&&(n=g(e,t,r),s="number"),null!=n&&n==n&&("number"!==s||l||(n+=r&&r[3]||(pe.cssNumber[a]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,s,o,a=f(t);return lt.test(t)||(t=N(a)),(o=pe.cssHooks[t]||pe.cssHooks[a])&&"get"in o&&(r=o.get(e,!0,n)),void 0===r&&(r=A(e,t,i)),"normal"===r&&t in ct&&(r=ct[t]),""===n||n?(s=parseFloat(r),!0===n||isFinite(s)?s||0:r):r}}),pe.each(["height","width"],function(e,t){pe.cssHooks[t]={get:function(e,n,i){if(n)return!at.test(pe.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?j(e,t,i):nt(e,ut,function(){return j(e,t,i)})},set:function(e,n,i){var r,s=tt(e),o=!le.scrollboxSize()&&"absolute"===s.position,a=(o||i)&&"border-box"===pe.css(e,"boxSizing",!1,s),l=i?Y(e,t,i,a,s):0;return a&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-Y(e,t,"border",!1,s)-.5)),l&&(r=Ye.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=pe.css(e,t)),H(0,n,l)}}}),pe.cssHooks.marginLeft=E(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(A(e,"marginLeft"))||e.getBoundingClientRect().left-nt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),pe.each({margin:"",padding:"",border:"Width"},function(e,t){pe.cssHooks[e+t]={expand:function(n){for(var i=0,r={},s="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+je[i]+t]=s[i]||s[i-2]||s[0];return r}},"margin"!==e&&(pe.cssHooks[e+t].set=H)}),pe.fn.extend({css:function(e,t){return Ce(this,function(e,t,n){var i,r,s={},o=0;if(Array.isArray(t)){for(i=tt(e),r=t.length;o<r;o++)s[t[o]]=pe.css(e,t[o],!1,i);return s}return void 0!==n?pe.style(e,t,n):pe.css(e,t)},e,t,1<arguments.length)}}),((pe.Tween=W).prototype={constructor:W,init:function(e,t,n,i,r,s){this.elem=e,this.prop=n,this.easing=r||pe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(pe.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=pe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}}).init.prototype=W.prototype,(W.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=pe.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){pe.fx.step[e.prop]?pe.fx.step[e.prop](e):1!==e.elem.nodeType||!pe.cssHooks[e.prop]&&null==e.elem.style[N(e.prop)]?e.elem[e.prop]=e.now:pe.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},pe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},pe.fx=W.prototype.init,pe.fx.step={};var dt,ht,ft,pt,mt=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;pe.Animation=pe.extend(R,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return g(n.elem,e,Ye.exec(t),n),n}]},tweener:function(e,t){ue(e)?(t=e,e=["*"]):e=e.match(ke);for(var n,i=0,r=e.length;i<r;i++)n=e[i],R.tweeners[n]=R.tweeners[n]||[],R.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,s,o,a,l,u,c,d="width"in t||"height"in t,h=this,f={},p=e.style,m=e.nodeType&&Fe(e),g=Pe.get(e,"fxshow");for(i in n.queue||(null==(o=pe._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,h.always(function(){h.always(function(){o.unqueued--,pe.queue(e,"fx").length||o.empty.fire()})})),t)if(r=t[i],mt.test(r)){if(delete t[i],s=s||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||pe.style(e,i)}if((l=!pe.isEmptyObject(t))||!pe.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=g&&g.display)&&(u=Pe.get(e,"display")),"none"===(c=pe.css(e,"display"))&&(u?c=u:(y([e],!0),u=e.style.display||u,c=pe.css(e,"display"),y([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===pe.css(e,"float")&&(l||(h.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=Pe.access(e,"fxshow",{display:u}),s&&(g.hidden=!m),m&&y([e],!0),h.done(function(){for(i in m||y([e]),Pe.remove(e,"fxshow"),f)pe.style(e,i,f[i])})),l=z(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?R.prefilters.unshift(e):R.prefilters.push(e)}}),pe.speed=function(e,t,n){var i=e&&"object"==typeof e?pe.extend({},e):{complete:n||!n&&t||ue(e)&&e,duration:e,easing:n&&t||t&&!ue(t)&&t};return pe.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in pe.fx.speeds?i.duration=pe.fx.speeds[i.duration]:i.duration=pe.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ue(i.old)&&i.old.call(this),i.queue&&pe.dequeue(this,i.queue)},i},pe.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Fe).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=pe.isEmptyObject(e),s=pe.speed(t,n,i),o=function(){var t=R(this,pe.extend({},e),s);(r||Pe.get(this,"finish"))&&t.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",s=pe.timers,o=Pe.get(this);if(r)o[r]&&o[r].stop&&i(o[r]);else for(r in o)o[r]&&o[r].stop&&gt.test(r)&&i(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=e&&s[r].queue!==e||(s[r].anim.stop(n),t=!1,s.splice(r,1));!t&&n||pe.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Pe.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],s=pe.timers,o=i?i.length:0;for(n.finish=!0,pe.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),pe.each(["toggle","show","hide"],function(e,t){var n=pe.fn[t];pe.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(F(t,!0),e,i,r)}}),pe.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){pe.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),pe.timers=[],pe.fx.tick=function(){var e,t=0,n=pe.timers;for(dt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||pe.fx.stop(),dt=void 0},pe.fx.timer=function(e){pe.timers.push(e),pe.fx.start()},pe.fx.interval=13,pe.fx.start=function(){ht||(ht=!0,I())},pe.fx.stop=function(){ht=null},pe.fx.speeds={slow:600,fast:200,_default:400},pe.fn.delay=function(t,n){return t=pe.fx&&pe.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}})},ft=de.createElement("input"),pt=de.createElement("select").appendChild(de.createElement("option")),ft.type="checkbox",le.checkOn=""!==ft.value,le.optSelected=pt.selected,(ft=de.createElement("input")).value="t",ft.type="radio",le.radioValue="t"===ft.value;var yt,vt=pe.expr.attrHandle;pe.fn.extend({attr:function(e,t){return Ce(this,pe.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){pe.removeAttr(this,e)})}}),pe.extend({attr:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return"undefined"==typeof e.getAttribute?pe.prop(e,t,n):(1===s&&pe.isXMLDoc(e)||(r=pe.attrHooks[t.toLowerCase()]||(pe.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void pe.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=pe.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&s(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(ke);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return!1===t?pe.removeAttr(e,n):e.setAttribute(n,n),n}},pe.each(pe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=vt[t]||pe.find.attr;vt[t]=function(e,t,i){var r,s,o=t.toLowerCase();return i||(s=vt[o],vt[o]=r,r=null!=n(e,t,i)?o:null,vt[o]=s),r}});var _t=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;pe.fn.extend({prop:function(e,t){return Ce(this,pe.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[pe.propFix[e]||e]})}}),pe.extend({prop:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&pe.isXMLDoc(e)||(t=pe.propFix[t]||t,r=pe.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=pe.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(pe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),pe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pe.propFix[this.toLowerCase()]=this}),pe.fn.extend({addClass:function(e){var t,n,i,r,s,o,a,l=0;if(ue(e))return this.each(function(t){pe(this).addClass(e.call(this,t,B(this)))});if((t=U(e)).length)for(;n=this[l++];)if(r=B(n),i=1===n.nodeType&&" "+q(r)+" "){for(o=0;s=t[o++];)i.indexOf(" "+s+" ")<0&&(i+=s+" ");r!==(a=q(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,s,o,a,l=0;if(ue(e))return this.each(function(t){pe(this).removeClass(e.call(this,t,B(this)))});if(!arguments.length)return this.attr("class","");if((t=U(e)).length)for(;n=this[l++];)if(r=B(n),i=1===n.nodeType&&" "+q(r)+" "){for(o=0;s=t[o++];)for(;-1<i.indexOf(" "+s+" ");)i=i.replace(" "+s+" "," ");r!==(a=q(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):ue(e)?this.each(function(n){pe(this).toggleClass(e.call(this,n,B(this),t),t)}):this.each(function(){var t,r,s,o;if(i)for(r=0,s=pe(this),o=U(e);t=o[r++];)s.hasClass(t)?s.removeClass(t):s.addClass(t);else void 0!==e&&"boolean"!==n||((t=B(this))&&Pe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Pe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+q(B(n))+" ").indexOf(t))return!0;return!1}});var xt=/\r/g;pe.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=ue(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,pe(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=pe.map(r,function(e){return null==e?"":e+""})),(t=pe.valHooks[this.type]||pe.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=pe.valHooks[r.type]||pe.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(xt,""):null==n?"":n:void 0}}),pe.extend({valHooks:{option:{get:function(e){var t=pe.find.attr(e,"value");return null!=t?t:q(pe.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,a="select-one"===e.type,l=a?null:[],u=a?o+1:r.length;for(i=o<0?u:a?o:0;i<u;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!s(n.parentNode,"optgroup"))){if(t=pe(n).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var n,i,r=e.options,s=pe.makeArray(t),o=r.length;o--;)((i=r[o]).selected=-1<pe.inArray(pe.valHooks.option.get(i),s))&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),pe.each(["radio","checkbox"],function(){pe.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<pe.inArray(pe(e).val(),t)}},le.checkOn||(pe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),le.focusin="onfocusin"in e;var bt=/^(?:focusinfocus|focusoutblur)$/,St=function(e){e.stopPropagation()};pe.extend(pe.event,{trigger:function(t,n,i,r){var s,o,a,l,u,c,d,h,f=[i||de],p=se.call(t,"type")?t.type:t,m=se.call(t,"namespace")?t.namespace.split("."):[];if(o=h=a=i=i||de,3!==i.nodeType&&8!==i.nodeType&&!bt.test(p+pe.event.triggered)&&(-1<p.indexOf(".")&&(p=(m=p.split(".")).shift(),m.sort()),u=p.indexOf(":")<0&&"on"+p,(t=t[pe.expando]?t:new pe.Event(p,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:pe.makeArray(n,[t]),d=pe.event.special[p]||{},r||!d.trigger||!1!==d.trigger.apply(i,n))){if(!r&&!d.noBubble&&!ce(i)){for(l=d.delegateType||p,bt.test(l+p)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(i.ownerDocument||de)&&f.push(a.defaultView||a.parentWindow||e)}for(s=0;(o=f[s++])&&!t.isPropagationStopped();)h=o,t.type=1<s?l:d.bindType||p,(c=(Pe.get(o,"events")||Object.create(null))[t.type]&&Pe.get(o,"handle"))&&c.apply(o,n),(c=u&&o[u])&&c.apply&&$e(o)&&(t.result=c.apply(o,n),!1===t.result&&t.preventDefault());return t.type=p,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),n)||!$e(i)||u&&ue(i[p])&&!ce(i)&&((a=i[u])&&(i[u]=null),pe.event.triggered=p,t.isPropagationStopped()&&h.addEventListener(p,St),i[p](),t.isPropagationStopped()&&h.removeEventListener(p,St),pe.event.triggered=void 0,a&&(i[u]=a)),t.result}},simulate:function(e,t,n){var i=pe.extend(new pe.Event,n,{type:e,isSimulated:!0});pe.event.trigger(i,null,t)}}),pe.fn.extend({trigger:function(e,t){return this.each(function(){pe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return pe.event.trigger(e,t,n,!0)}}),le.focusin||pe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){pe.event.simulate(t,e.target,pe.event.fix(e))};pe.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=Pe.access(i,t);r||i.addEventListener(e,n,!0),Pe.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Pe.access(i,t)-1;r?Pe.access(i,t,r):(i.removeEventListener(e,n,!0),Pe.remove(i,t))}}});var kt=e.location,Tt={guid:Date.now()},Dt=/\?/;pe.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||pe.error("Invalid XML: "+(i?pe.map(i.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var Ct=/\[\]$/,Mt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,$t=/^(?:input|select|textarea|keygen)/i;pe.param=function(e,t){var n,i=[],r=function(e,t){var n=ue(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!pe.isPlainObject(e))pe.each(e,function(){r(this.name,this.value)});else for(n in e)V(n,e[n],t,r);return i.join("&")},pe.fn.extend({serialize:function(){return pe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=pe.prop(this,"elements");return e?pe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!pe(this).is(":disabled")&&$t.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!Be.test(e))}).map(function(e,t){var n=pe(this).val();return null==n?null:Array.isArray(n)?pe.map(n,function(e){return{name:t.name,value:e.replace(Mt,"\r\n")}}):{name:t.name,value:n.replace(Mt,"\r\n")}}).get()}});var Pt=/%20/g,At=/#.*$/,Et=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:GET|HEAD)$/,Yt=/^\/\//,jt={},Wt={},It="*/".concat("*"),Lt=de.createElement("a");Lt.href=kt.href,pe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":pe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Q(Q(e,pe.ajaxSettings),t):Q(pe.ajaxSettings,e)},ajaxPrefilter:G(jt),ajaxTransport:G(Wt),ajax:function(t,n){function i(t,n,i,a){var u,h,f,w,x,b=n;c||(c=!0,l&&e.clearTimeout(l),r=void 0,o=a||"",S.readyState=0<t?4:0,u=200<=t&&t<300||304===t,i&&(w=function(e,t,n){for(var i,r,s,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)s=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),n[s]}(p,S,i)),!u&&-1<pe.inArray("script",p.dataTypes)&&pe.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),w=function(e,t,n,i){var r,s,o,a,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(s=c.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=c.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=u[l+" "+s]||u["* "+s]))for(r in u)if((a=r.split(" "))[1]===s&&(o=u[l+" "+a[0]]||u["* "+a[0]])){!0===o?o=u[r]:!0!==u[r]&&(s=a[0],c.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(p,w,S,u),u?(p.ifModified&&((x=S.getResponseHeader("Last-Modified"))&&(pe.lastModified[s]=x),(x=S.getResponseHeader("etag"))&&(pe.etag[s]=x)),204===t||"HEAD"===p.type?b="nocontent":304===t?b="notmodified":(b=w.state,h=w.data,u=!(f=w.error))):(f=b,!t&&b||(b="error",t<0&&(t=0))),S.status=t,S.statusText=(n||b)+"",u?y.resolveWith(m,[h,b,S]):y.rejectWith(m,[S,b,f]),S.statusCode(_),_=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[S,p,u?h:f]),v.fireWith(m,[S,b]),d&&(g.trigger("ajaxComplete",[S,p]),--pe.active||pe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,s,o,a,l,u,c,d,h,f,p=pe.ajaxSetup({},n),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?pe(m):pe.event,y=pe.Deferred(),v=pe.Callbacks("once memory"),_=p.statusCode||{},w={},x={},b="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Nt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||b;return r&&r.abort(t),i(0,t),this}};if(y.promise(S),p.url=((t||p.url||kt.href)+"").replace(Yt,kt.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(ke)||[""],null==p.crossDomain){u=de.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Lt.protocol+"//"+Lt.host!=u.protocol+"//"+u.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=pe.param(p.data,p.traditional)),J(jt,p,n,S),c)return S;for(h in(d=pe.event&&p.global)&&0==pe.active++&&pe.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ht.test(p.type),s=p.url.replace(At,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pt,"+")):(f=p.url.slice(s.length),p.data&&(p.processData||"string"==typeof p.data)&&(s+=(Dt.test(s)?"&":"?")+p.data,delete p.data),!1===p.cache&&(s=s.replace(Et,"$1"),f=(Dt.test(s)?"&":"?")+"_="+Tt.guid+++f),p.url=s+f),p.ifModified&&(pe.lastModified[s]&&S.setRequestHeader("If-Modified-Since",pe.lastModified[s]),pe.etag[s]&&S.setRequestHeader("If-None-Match",pe.etag[s])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+It+"; q=0.01":""):p.accepts["*"]),p.headers)S.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(m,S,p)||c))return S.abort();if(b="abort",v.add(p.complete),S.done(p.success),S.fail(p.error),r=J(Wt,p,n,S)){if(S.readyState=1,d&&g.trigger("ajaxSend",[S,p]),c)return S;p.async&&0<p.timeout&&(l=e.setTimeout(function(){S.abort("timeout")},p.timeout));try{c=!1,r.send(w,i)}catch(t){if(c)throw t;i(-1,t)}}else i(-1,"No Transport");return S},getJSON:function(e,t,n){return pe.get(e,t,n,"json")},getScript:function(e,t){return pe.get(e,void 0,t,"script")}}),pe.each(["get","post"],function(e,t){pe[t]=function(e,n,i,r){return ue(n)&&(r=r||i,i=n,n=void 0),pe.ajax(pe.extend({url:e,type:t,dataType:r,data:n,success:i},pe.isPlainObject(e)&&e))}}),pe.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),pe._evalUrl=function(e,t,n){return pe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){pe.globalEval(e,t,n)}})},pe.fn.extend({wrapAll:function(e){var t;return this[0]&&(ue(e)&&(e=e.call(this[0])),t=pe(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return ue(e)?this.each(function(t){pe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=pe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ue(e);return this.each(function(n){pe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){pe(this).replaceWith(this.childNodes)}),this}}),pe.expr.pseudos.hidden=function(e){return!pe.expr.pseudos.visible(e)},pe.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},pe.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Ft={0:200,1223:204},zt=pe.ajaxSettings.xhr();le.cors=!!zt&&"withCredentials"in zt,le.ajax=zt=!!zt,pe.ajaxTransport(function(t){var n,i;if(le.cors||zt&&!t.crossDomain)return{send:function(r,s){var o,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];for(o in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Ft[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(r){if(n)throw r}},abort:function(){n&&n()}}}),pe.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),pe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return pe.globalEval(e),e}}}),pe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),pe.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=pe("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),de.head.appendChild(t[0])},abort:function(){n&&n()}}});var Rt,qt=[],Bt=/(=)\?(?=&|$)|\?\?/;pe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=qt.pop()||pe.expando+"_"+Tt.guid++;return this[e]=!0,e}}),pe.ajaxPrefilter("json jsonp",function(t,n,i){var r,s,o,a=!1!==t.jsonp&&(Bt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ue(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Bt,"$1"+r):!1!==t.jsonp&&(t.url+=(Dt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||pe.error(r+" was not called"),o[0]},t.dataTypes[0]="json",s=e[r],e[r]=function(){o=arguments},i.always(function(){void 0===s?pe(e).removeProp(r):e[r]=s,t[r]&&(t.jsonpCallback=n.jsonpCallback,qt.push(r)),o&&ue(s)&&s(o[0]),o=s=void 0}),"script"}),le.createHTMLDocument=((Rt=de.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Rt.childNodes.length),pe.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((i=(t=de.implementation.createHTMLDocument("")).createElement("base")).href=de.location.href,t.head.appendChild(i)):t=de),s=!n&&[],(r=_e.exec(e))?[t.createElement(r[1])]:(r=w([e],t,s),s&&s.length&&pe(s).remove(),pe.merge([],r.childNodes)));var i,r,s},pe.fn.load=function(e,t,n){var i,r,s,o=this,a=e.indexOf(" ");return-1<a&&(i=q(e.slice(a)),e=e.slice(0,a)),ue(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),0<o.length&&pe.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){s=arguments,o.html(i?pe("<div>").append(pe.parseHTML(e)).find(i):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,s||[e.responseText,t,e])})}),this},pe.expr.pseudos.animated=function(e){return pe.grep(pe.timers,function(t){return e===t.elem}).length},pe.offset={setOffset:function(e,t,n){var i,r,s,o,a,l,u=pe.css(e,"position"),c=pe(e),d={};"static"===u&&(e.style.position="relative"),a=c.offset(),s=pe.css(e,"top"),l=pe.css(e,"left"),("absolute"===u||"fixed"===u)&&-1<(s+l).indexOf("auto")?(o=(i=c.position()).top,r=i.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),ue(t)&&(t=t.call(e,n,pe.extend({},a))),null!=t.top&&(d.top=t.top-a.top+o),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):c.css(d)}},pe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){pe.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===pe.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===pe.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=pe(e).offset()).top+=pe.css(e,"borderTopWidth",!0),r.left+=pe.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-pe.css(i,"marginTop",!0),left:t.left-r.left-pe.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===pe.css(e,"position");)e=e.offsetParent;return e||We})}}),pe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;pe.fn[e]=function(i){return Ce(this,function(e,i,r){var s;if(ce(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===r)return s?s[t]:e[i];s?s.scrollTo(n?s.pageXOffset:r,n?r:s.pageYOffset):e[i]=r},e,i,arguments.length)}}),pe.each(["top","left"],function(e,t){pe.cssHooks[t]=E(le.pixelPosition,function(e,n){if(n)return n=A(e,t),et.test(n)?pe(e).position()[t]+"px":n})}),pe.each({Height:"height",Width:"width"},function(e,t){pe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){pe.fn[i]=function(r,s){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===s?"margin":"border");return Ce(this,function(t,n,r){var s;return ce(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===r?pe.css(t,n,a):pe.style(t,n,r,a)},t,o?r:void 0,o)}})}),pe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){pe.fn[t]=function(e){return this.on(t,e)}}),pe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),pe.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){pe.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}});var Ut=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;pe.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),ue(e))return i=K.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(K.call(arguments)))}).guid=e.guid=e.guid||pe.guid++,r},pe.holdReady=function(e){e?pe.readyWait++:pe.ready(!0)},pe.isArray=Array.isArray,pe.parseJSON=JSON.parse,pe.nodeName=s,pe.isFunction=ue,pe.isWindow=ce,pe.camelCase=f,pe.type=i,pe.now=Date.now,pe.isNumeric=function(e){var t=pe.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},pe.trim=function(e){return null==e?"":(e+"").replace(Ut,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return pe});var Vt=e.jQuery,Gt=e.$;return pe.noConflict=function(t){return e.$===pe&&(e.$=Gt),t&&e.jQuery===pe&&(e.jQuery=Vt),pe},void 0===t&&(e.jQuery=e.$=pe),pe}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return tr.apply(null,arguments)}function t(e){tr=e}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(r(e,t))return!1;return!0}function o(e){return void 0===e}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,i=[],r=e.length;for(n=0;n<r;++n)i.push(t(e[n],n));return i}function c(e,t){for(var n in t)r(t,n)&&(e[n]=t[n]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,i){return Dt(e,t,n,i,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(e){return null==e._pf&&(e._pf=h()),e._pf}function p(e){if(null==e._isValid){var t=f(e),n=nr.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&t.bigHour===undefined),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function m(e){var t=d(NaN);return null!=e?c(f(t),e):f(t).userInvalidated=!0,t}function g(e,t){var n,i,r,s=rr.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=f(t)),o(t._locale)||(e._locale=t._locale),s>0)for(n=0;n<s;n++)o(r=t[i=rr[n]])||(e[i]=r);return e}function y(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===sr&&(sr=!0,e.updateOffset(this),sr=!1)}function v(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function _(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function w(t,n){var i=!0;return c(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),i){var s,o,a,l=[],u=arguments.length;for(o=0;o<u;o++){if(s="","object"==typeof arguments[o]){for(a in s+="\n["+o+"] ",arguments[0])r(arguments[0],a)&&(s+=a+": "+arguments[0][a]+", ");s=s.slice(0,-2)}else s=arguments[o];l.push(s)}_(t+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)},n)}function x(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),or[t]||(_(n),or[t]=!0)}function b(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){var t,n;for(n in e)r(e,n)&&(b(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function k(e,t){var n,s=c({},e);for(n in t)r(t,n)&&(i(e[n])&&i(t[n])?(s[n]={},c(s[n],e[n]),c(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)r(e,n)&&!r(t,n)&&i(e[n])&&(s[n]=c({},s[n]));return s}function T(e){null!=e&&this.set(e)}function D(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return b(i)?i.call(t,n):i}function C(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function M(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(hr[e]=r),t&&(hr[t[0]]=function(){return C(r.apply(this,arguments),t[1],t[2])}),n&&(hr[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function O(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function $(e){var t,n,i=e.match(ur);for(t=0,n=i.length;t<n;t++)hr[i[t]]?i[t]=hr[i[t]]:i[t]=O(i[t]);return function(t){var r,s="";for(r=0;r<n;r++)s+=b(i[r])?i[r].call(t,e):i[r];return s}}function P(e,t){return e.isValid()?(t=A(t,e.localeData()),dr[t]=dr[t]||$(t),dr[t](e)):e.localeData().invalidDate()}function A(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(cr.lastIndex=0;i>=0&&cr.test(e);)e=e.replace(cr,n),cr.lastIndex=0,i-=1;return e}function E(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ur).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}function N(){return this._invalidDate}function H(e){return this._ordinal.replace("%d",e)}function Y(e,t,n,i){var r=this._relativeTime[n];return b(r)?r(e,t,n,i):r.replace(/%d/i,e)}function j(e,t){var n=this._relativeTime[e>0?"future":"past"];return b(n)?n(t):n.replace(/%s/i,t)}function W(e,t){var n=e.toLowerCase();vr[n]=vr[n+"s"]=vr[t]=e}function I(e){return"string"==typeof e?vr[e]||vr[e.toLowerCase()]:undefined}function L(e){var t,n,i={};for(n in e)r(e,n)&&(t=I(n))&&(i[t]=e[n]);return i}function F(e,t){_r[e]=t}function z(e){var t,n=[];for(t in e)r(e,t)&&n.push({unit:t,priority:_r[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function R(e){return e%4==0&&e%100!=0||e%400==0}function q(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=q(t)),n}function U(t,n){return function(i){return null!=i?(G(this,t,i),e.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function G(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&R(e.year())&&1===e.month()&&29===e.date()?(n=B(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),se(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function J(e){return b(this[e=I(e)])?this[e]():this}function Q(e,t){if("object"==typeof e){var n,i=z(e=L(e)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](e[i[n].unit])}else if(b(this[e=I(e)]))return this[e](t);return this}function Z(e,t,n){ar[e]=b(t)?t:function(e){return e&&n?n:t}}function X(e,t){return r(ar,e)?ar[e](t._strict,t._locale):new RegExp(K(e))}function K(e){return ee(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}function ee(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function te(e,t){var n,i,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=B(e)}),i=e.length,n=0;n<i;n++)Wr[e[n]]=r}function ne(e,t){te(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function ie(e,t,n){null!=t&&r(Wr,e)&&Wr[e](t,n._a,n,e)}function re(e,t){return(e%t+t)%t}function se(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=re(t,12);return e+=(t-n)/12,1===n?R(e)?29:28:31-n%7%2}function oe(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Qr).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone}function ae(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Qr.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function le(e,t,n){var i,r,s,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=jr.call(this._shortMonthsParse,o))?r:null:-1!==(r=jr.call(this._longMonthsParse,o))?r:null:"MMM"===t?-1!==(r=jr.call(this._shortMonthsParse,o))?r:-1!==(r=jr.call(this._longMonthsParse,o))?r:null:-1!==(r=jr.call(this._longMonthsParse,o))?r:-1!==(r=jr.call(this._shortMonthsParse,o))?r:null}
function ue(e,t,n){var i,r,s;if(this._monthsParseExact)return le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=B(t);else if(!a(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),se(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function de(t){return null!=t?(ce(this,t),e.updateOffset(this,!0),this):V(this,"Month")}function he(){return se(this.year(),this.month())}function fe(e){return this._monthsParseExact?(r(this,"_monthsRegex")||me.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=Zr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pe(e){return this._monthsParseExact?(r(this,"_monthsRegex")||me.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=Xr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function me(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],s=[];for(t=0;t<12;t++)n=d([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),s.push(this.months(n,"")),s.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),s.sort(e),t=0;t<12;t++)i[t]=ee(i[t]),r[t]=ee(r[t]);for(t=0;t<24;t++)s[t]=ee(s[t]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ge(e){return R(e)?366:365}function ye(){return R(this.year())}function ve(e,t,n,i,r,s,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,i,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,s,o),a}function _e(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function we(e,t,n){var i=7+t-n;return-((7+_e(e,0,i).getUTCDay()-t)%7)+i-1}function xe(e,t,n,i,r){var s,o,a=1+7*(t-1)+(7+n-i)%7+we(e,i,r);return a<=0?o=ge(s=e-1)+a:a>ge(e)?(s=e+1,o=a-ge(e)):(s=e,o=a),{year:s,dayOfYear:o}}function be(e,t,n){var i,r,s=we(e.year(),t,n),o=Math.floor((e.dayOfYear()-s-1)/7)+1;return o<1?i=o+Se(r=e.year()-1,t,n):o>Se(e.year(),t,n)?(i=o-Se(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function Se(e,t,n){var i=we(e,t,n),r=we(e+1,t,n);return(ge(e)-i+r)/7}function ke(e){return be(e,this._week.dow,this._week.doy).week}function Te(){return this._week.dow}function De(){return this._week.doy}function Ce(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Me(e){var t=be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Oe(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function $e(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pe(e,t){return e.slice(t,7).concat(e.slice(0,t))}function Ae(e,t){var i=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pe(i,this._week.dow):e?i[e.day()]:i}function Ee(e){return!0===e?Pe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ne(e){return!0===e?Pe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function He(e,t,n){var i,r,s,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=jr.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=jr.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=jr.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=jr.call(this._weekdaysParse,o))?r:-1!==(r=jr.call(this._shortWeekdaysParse,o))?r:-1!==(r=jr.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=jr.call(this._shortWeekdaysParse,o))?r:-1!==(r=jr.call(this._weekdaysParse,o))?r:-1!==(r=jr.call(this._minWeekdaysParse,o))?r:null:-1!==(r=jr.call(this._minWeekdaysParse,o))?r:-1!==(r=jr.call(this._weekdaysParse,o))?r:-1!==(r=jr.call(this._shortWeekdaysParse,o))?r:null}function Ye(e,t,n){var i,r,s;if(this._weekdaysParseExact)return He.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function je(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Oe(e,this.localeData()),this.add(e-t,"d")):t}function We(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ie(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=$e(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Le(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Re.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=rs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Fe(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Re.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ss),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Re.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=os),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Re(){function e(e,t){return t.length-e.length}var t,n,i,r,s,o=[],a=[],l=[],u=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),i=ee(this.weekdaysMin(n,"")),r=ee(this.weekdaysShort(n,"")),s=ee(this.weekdays(n,"")),o.push(i),a.push(r),l.push(s),u.push(i),u.push(r),u.push(s);o.sort(e),a.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function qe(){return this.hours()%12||12}function Be(){return this.hours()||24}function Ue(e,t){M(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ve(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Je(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function Ze(e){return e?e.toLowerCase().replace("_","-"):e}function Xe(e){for(var t,n,i,r,s=0;s<e.length;){for(t=(r=Ze(e[s]).split("-")).length,n=(n=Ze(e[s+1]))?n.split("-"):null;t>0;){if(i=et(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&Qe(r,n)>=t-1)break;t--}s++}return as}function Ke(e){return null!=e.match("^[^/\\\\]*$")}function et(e){var t=null;if(ds[e]===undefined&&"undefined"!=typeof module&&module&&module.exports&&Ke(e))try{t=as._abbr,require("./locale/"+e),tt(t)}catch(n){ds[e]=null}return ds[e]}function tt(e,t){var n;return e&&((n=o(t)?rt(e):nt(e,t))?as=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),as._abbr}function nt(e,t){if(null!==t){var n,i=cs;if(t.abbr=e,null!=ds[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ds[e]._config;else if(null!=t.parentLocale)if(null!=ds[t.parentLocale])i=ds[t.parentLocale]._config;else{if(null==(n=et(t.parentLocale)))return hs[t.parentLocale]||(hs[t.parentLocale]=[]),hs[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ds[e]=new T(k(i,t)),hs[e]&&hs[e].forEach(function(e){nt(e.name,e.config)}),tt(e),ds[e]}return delete ds[e],null}function it(e,t){if(null!=t){var n,i,r=cs;null!=ds[e]&&null!=ds[e].parentLocale?ds[e].set(k(ds[e]._config,t)):(null!=(i=et(e))&&(r=i._config),t=k(r,t),null==i&&(t.abbr=e),(n=new T(t)).parentLocale=ds[e],ds[e]=n),tt(e)}else null!=ds[e]&&(null!=ds[e].parentLocale?(ds[e]=ds[e].parentLocale,e===tt()&&tt(e)):null!=ds[e]&&delete ds[e]);return ds[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return as;if(!n(e)){if(t=et(e))return t;e=[e]}return Xe(e)}function st(){return ir(ds)}function ot(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[Lr]<0||n[Lr]>11?Lr:n[Fr]<1||n[Fr]>se(n[Ir],n[Lr])?Fr:n[zr]<0||n[zr]>24||24===n[zr]&&(0!==n[Rr]||0!==n[qr]||0!==n[Br])?zr:n[Rr]<0||n[Rr]>59?Rr:n[qr]<0||n[qr]>59?qr:n[Br]<0||n[Br]>999?Br:-1,f(e)._overflowDayOfYear&&(t<Ir||t>Fr)&&(t=Fr),f(e)._overflowWeeks&&-1===t&&(t=Ur),f(e)._overflowWeekday&&-1===t&&(t=Vr),f(e).overflow=t),e}function at(e){var t,n,i,r,s,o,a=e._i,l=fs.exec(a)||ps.exec(a),u=gs.length,c=ys.length;if(l){for(f(e).iso=!0,t=0,n=u;t<n;t++)if(gs[t][1].exec(l[1])){r=gs[t][0],i=!1!==gs[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(ys[t][1].exec(l[3])){s=(l[2]||" ")+ys[t][0];break}if(null==s)return void(e._isValid=!1)}if(!i&&null!=s)return void(e._isValid=!1);if(l[4]){if(!ms.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(s||"")+(o||""),_t(e)}else e._isValid=!1}function lt(e,t,n,i,r,s){var o=[ut(e),Jr.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return s&&o.push(parseInt(s,10)),o}function ut(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ct(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function dt(e,t,n){if(e&&ns.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return f(n).weekdayMismatch=!0,n._isValid=!1,!1;return!0}function ht(e,t,n){if(e)return ws[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return 60*((i-r)/100)+r}function ft(e){var t,n=_s.exec(ct(e._i));if(n){if(t=lt(n[4],n[3],n[2],n[5],n[6],n[7]),!dt(n[1],t,e))return;e._a=t,e._tzm=ht(n[8],n[9],n[10]),e._d=_e.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function pt(t){var n=vs.exec(t._i);null===n?(at(t),!1===t._isValid&&(delete t._isValid,ft(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:e.createFromInputFallback(t)))):t._d=new Date(+n[1])}function mt(e,t,n){return null!=e?e:null!=t?t:n}function gt(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function yt(e){var t,n,i,r,s,o=[];if(!e._d){for(i=gt(e),e._w&&null==e._a[Fr]&&null==e._a[Lr]&&vt(e),null!=e._dayOfYear&&(s=mt(e._a[Ir],i[Ir]),(e._dayOfYear>ge(s)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=_e(s,0,e._dayOfYear),e._a[Lr]=n.getUTCMonth(),e._a[Fr]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[zr]&&0===e._a[Rr]&&0===e._a[qr]&&0===e._a[Br]&&(e._nextDay=!0,e._a[zr]=0),e._d=(e._useUTC?_e:ve).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[zr]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function vt(e){var t,n,i,r,s,o,a,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(s=1,o=4,n=mt(t.GG,e._a[Ir],be(Ct(),1,4).year),i=mt(t.W,1),((r=mt(t.E,1))<1||r>7)&&(l=!0)):(s=e._locale._week.dow,o=e._locale._week.doy,u=be(Ct(),s,o),n=mt(t.gg,e._a[Ir],u.year),i=mt(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+s,(t.e<0||t.e>6)&&(l=!0)):r=s),i<1||i>Se(n,s,o)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(a=xe(n,i,r,s,o),e._a[Ir]=a.year,e._dayOfYear=a.dayOfYear)}function _t(t){if(t._f!==e.ISO_8601)if(t._f!==e.RFC_2822){t._a=[],f(t).empty=!0;var n,i,r,s,o,a,l,u=""+t._i,c=u.length,d=0;for(l=(r=A(t._f,t._locale).match(ur)||[]).length,n=0;n<l;n++)s=r[n],(i=(u.match(X(s,t))||[])[0])&&((o=u.substr(0,u.indexOf(i))).length>0&&f(t).unusedInput.push(o),u=u.slice(u.indexOf(i)+i.length),d+=i.length),hr[s]?(i?f(t).empty=!1:f(t).unusedTokens.push(s),ie(s,i,t)):t._strict&&!i&&f(t).unusedTokens.push(s);f(t).charsLeftOver=c-d,u.length>0&&f(t).unusedInput.push(u),t._a[zr]<=12&&!0===f(t).bigHour&&t._a[zr]>0&&(f(t).bigHour=undefined),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[zr]=wt(t._locale,t._a[zr],t._meridiem),null!==(a=f(t).era)&&(t._a[Ir]=t._locale.erasConvertYear(a,t._a[Ir])),yt(t),ot(t)}else ft(t);else at(t)}function wt(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function xt(e){var t,n,i,r,s,o,a=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)s=0,o=!1,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],_t(t),p(t)&&(o=!0),s+=f(t).charsLeftOver,s+=10*f(t).unusedTokens.length,f(t).score=s,a?s<i&&(i=s,n=t):(null==i||s<i||o)&&(i=s,n=t,o&&(a=!0));c(e,n||t)}function bt(e){if(!e._d){var t=L(e._i),n=t.day===undefined?t.date:t.day;e._a=u([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),yt(e)}}function St(e){var t=new y(ot(kt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=undefined),t}function kt(e){var t=e._i,i=e._f;return e._locale=e._locale||rt(e._l),null===t||i===undefined&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new y(ot(t)):(l(t)?e._d=t:n(i)?xt(e):i?_t(e):Tt(e),p(e)||(e._d=null),e))}function Tt(t){var r=t._i;o(r)?t._d=new Date(e.now()):l(r)?t._d=new Date(r.valueOf()):"string"==typeof r?pt(t):n(r)?(t._a=u(r.slice(0),function(e){return parseInt(e,10)}),yt(t)):i(r)?bt(t):a(r)?t._d=new Date(r):e.createFromInputFallback(t)}function Dt(e,t,r,o,a){var l={};return!0!==t&&!1!==t||(o=t,t=undefined),!0!==r&&!1!==r||(o=r,r=undefined),(i(e)&&s(e)||n(e)&&0===e.length)&&(e=undefined),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=r,l._i=e,l._f=t,l._strict=o,St(l)}function Ct(e,t,n,i){return Dt(e,t,n,i,!1)}function Mt(e,t){var i,r;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Ct();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}function Ot(){return Mt("isBefore",[].slice.call(arguments,0))}function $t(){return Mt("isAfter",[].slice.call(arguments,0))}function Pt(e){var t,n,i=!1,s=ks.length;for(t in e)if(r(e,t)&&(-1===jr.call(ks,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<s;++n)if(e[ks[n]]){if(i)return!1;parseFloat(e[ks[n]])!==B(e[ks[n]])&&(i=!0)}return!0}function At(){return this._isValid}function Et(){return Kt(NaN)}function Nt(e){var t=L(e),n=t.year||0,i=t.quarter||0,r=t.month||0,s=t.week||t.isoWeek||0,o=t.day||0,a=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=Pt(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*a*60*60,this._days=+o+7*s,this._months=+r+3*i+12*n,this._data={},this._locale=rt(),this._bubble()}function Ht(e){return e instanceof Nt}function Yt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function jt(e,t,n){var i,r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),o=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&B(e[i])!==B(t[i]))&&o++;return o+s}function Wt(e,t){M(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+C(~~(e/60),2)+t+C(~~e%60,2)})}function It(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Ts)||["-",0,0])[1]+B(n[2]))?0:"+"===n[0]?i:-i}function Lt(t,n){var i,r;return n._isUTC?(i=n.clone(),r=(v(t)||l(t)?t.valueOf():Ct(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),e.updateOffset(i,!1),i):Ct(t).local()}function Ft(e){return-Math.round(e._d.getTimezoneOffset())}function zt(t,n,i){var r,s=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=It(Nr,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(r=Ft(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),s!==t&&(!n||this._changeInProgress?sn(this,Kt(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:Ft(this)}function Rt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function qt(e){return this.utcOffset(0,e)}function Bt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ft(this),"m")),this}function Ut(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(Er,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Vt(e){return!!this.isValid()&&(e=e?Ct(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Gt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Jt(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return g(t,this),(t=kt(t))._a?(e=t._isUTC?d(t._a):Ct(t._a),this._isDSTShifted=this.isValid()&&jt(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Qt(){return!!this.isValid()&&!this._isUTC}function Zt(){return!!this.isValid()&&this._isUTC}function Xt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Kt(e,t){var n,i,s,o=e,l=null;return Ht(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(l=Ds.exec(e))?(n="-"===l[1]?-1:1,o={y:0,d:B(l[Fr])*n,h:B(l[zr])*n,m:B(l[Rr])*n,s:B(l[qr])*n,ms:B(Yt(1e3*l[Br]))*n}):(l=Cs.exec(e))?(n="-"===l[1]?-1:1,o={y:en(l[2],n),M:en(l[3],n),w:en(l[4],n),d:en(l[5],n),h:en(l[6],n),m:en(l[7],n),s:en(l[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(s=nn(Ct(o.from),Ct(o.to)),(o={}).ms=s.milliseconds,o.M=s.months),i=new Nt(o),Ht(e)&&r(e,"_locale")&&(i._locale=e._locale),Ht(e)&&r(e,"_isValid")&&(i._isValid=e._isValid),i}function en(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function tn(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function nn(e,t){var n;return e.isValid()&&t.isValid()?(t=Lt(t,e),e.isBefore(t)?n=tn(e,t):((n=tn(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function rn(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),sn(this,Kt(n,i),e),this}}function sn(t,n,i,r){var s=n._milliseconds,o=Yt(n._days),a=Yt(n._months);t.isValid()&&(r=null==r||r,a&&ce(t,V(t,"Month")+a*i),o&&G(t,"Date",V(t,"Date")+o*i),s&&t._d.setTime(t._d.valueOf()+s*i),r&&e.updateOffset(t,o||a))}function on(e){return"string"==typeof e||e instanceof String}function an(e){return v(e)||l(e)||on(e)||a(e)||un(e)||ln(e)||null===e||e===undefined}function ln(e){var t,n,o=i(e)&&!s(e),a=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=l.length;for(t=0;t<u;t+=1)n=l[t],a=a||r(e,n);return o&&a}function un(e){var t=n(e),i=!1;return t&&(i=0===e.filter(function(t){return!a(t)&&on(e)}).length),t&&i}function cn(e){var t,n,o=i(e)&&!s(e),a=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<l.length;t+=1)n=l[t],a=a||r(e,n);return o&&a}function dn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function hn(t,n){1===arguments.length&&(arguments[0]?an(arguments[0])?(t=arguments[0],n=undefined):cn(arguments[0])&&(n=arguments[0],t=undefined):(t=undefined,n=undefined));var i=t||Ct(),r=Lt(i,this).startOf("day"),s=e.calendarFormat(this,r)||"sameElse",o=n&&(b(n[s])?n[s].call(this,i):n[s]);return this.format(o||this.localeData().calendar(s,this,Ct(i)))}function fn(){return new y(this)}function pn(e,t){var n=v(e)?e:Ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function mn(e,t){var n=v(e)?e:Ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function gn(e,t,n,i){var r=v(e)?e:Ct(e),s=v(t)?t:Ct(t);return!!(this.isValid()&&r.isValid()&&s.isValid())&&(("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(s,n):!this.isAfter(s,n)))}function yn(e,t){var n,i=v(e)?e:Ct(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function vn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function _n(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function wn(e,t,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=Lt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=I(t)){case"year":s=xn(this,i)/12;break;case"month":s=xn(this,i);break;case"quarter":s=xn(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:q(s)}function xn(e,t){if(e.date()<t.date())return-xn(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function bn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Sn(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?P(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):b(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",P(n,"Z")):P(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function kn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i,r="moment",s="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=s+'[")]',this.format(e+t+n+i)}function Tn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=P(this,t);return this.localeData().postformat(n)}function Dn(e,t){return this.isValid()&&(v(e)&&e.isValid()||Ct(e).isValid())?Kt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Cn(e){return this.from(Ct(),e)}function Mn(e,t){return this.isValid()&&(v(e)&&e.isValid()||Ct(e).isValid())?Kt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function On(e){return this.to(Ct(),e)}function $n(e){var t;return e===undefined?this._locale._abbr:(null!=(t=rt(e))&&(this._locale=t),this)}function Pn(){return this._locale}function An(e,t){return(e%t+t)%t}function En(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Ns:new Date(e,t,n).valueOf()}function Nn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Ns:Date.UTC(e,t,n)}function Hn(t){var n,i;if((t=I(t))===undefined||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Nn:En,t){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=An(n+(this._isUTC?0:this.utcOffset()*As),Es);break;case"minute":n=this._d.valueOf(),n-=An(n,As);break;case"second":n=this._d.valueOf(),n-=An(n,Ps)}return this._d.setTime(n),e.updateOffset(this,!0),this}function Yn(t){var n,i;if((t=I(t))===undefined||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Nn:En,t){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=Es-An(n+(this._isUTC?0:this.utcOffset()*As),Es)-1;break;case"minute":n=this._d.valueOf(),n+=As-An(n,As)-1;break;case"second":n=this._d.valueOf(),n+=Ps-An(n,Ps)-1}return this._d.setTime(n),e.updateOffset(this,!0),this}function jn(){return this._d.valueOf()-6e4*(this._offset||0)}function Wn(){return Math.floor(this.valueOf()/1e3)}function In(){return new Date(this.valueOf())}function Ln(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Fn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function zn(){return this.isValid()?this.toISOString():null}function Rn(){return p(this)}function qn(){return c({},f(this))}function Bn(){return f(this).overflow}function Un(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Vn(){var t,n,i,r=this._eras||rt("en")._eras;for(t=0,n=r.length;t<n;++t){switch(typeof r[t].since){case"string":i=e(r[t].since).startOf("day"),r[t].since=i.valueOf()}switch(typeof r[t].until){case"undefined":r[t].until=+Infinity;break;case"string":i=e(r[t].until).startOf("day").valueOf(),r[t].until=i.valueOf()}}return r}function Gn(e,t,n){var i,r,s,o,a,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(s=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(s===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if([s,o,a].indexOf(e)>=0)return l[i]}function Jn(t,n){var i=t.since<=t.until?1:-1;return n===undefined?e(t.since).year():e(t.since).year()+(n-t.offset)*i}function Qn(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""}function Zn(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""}function Xn(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""}function Kn(){var t,n,i,r,s=this.localeData().eras();for(t=0,n=s.length;t<n;++t)if(i=s[t].since<=s[t].until?1:-1,r=this.clone().startOf("day").valueOf(),s[t].since<=r&&r<=s[t].until||s[t].until<=r&&r<=s[t].since)return(this.year()-e(s[t].since).year())*i+s[t].offset;return this.year()}function ei(e){return r(this,"_erasNameRegex")||ai.call(this),e?this._erasNameRegex:this._erasRegex}function ti(e){return r(this,"_erasAbbrRegex")||ai.call(this),e?this._erasAbbrRegex:this._erasRegex}function ni(e){return r(this,"_erasNarrowRegex")||ai.call(this),e?this._erasNarrowRegex:this._erasRegex}function ii(e,t){return t.erasAbbrRegex(e)}function ri(e,t){return t.erasNameRegex(e)}function si(e,t){return t.erasNarrowRegex(e)}function oi(e,t){return t._eraYearOrdinalRegex||Pr}function ai(){var e,t,n=[],i=[],r=[],s=[],o=this.eras();for(e=0,t=o.length;e<t;++e)i.push(ee(o[e].name)),n.push(ee(o[e].abbr)),r.push(ee(o[e].narrow)),s.push(ee(o[e].name)),s.push(ee(o[e].abbr)),s.push(ee(o[e].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function li(e,t){M(0,[e,e.length],0,t)}function ui(e){return mi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ci(e){return mi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function di(){return Se(this.year(),1,4)}function hi(){return Se(this.isoWeekYear(),1,4)}function fi(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function pi(){var e=this.localeData()._week;return Se(this.weekYear(),e.dow,e.doy)}function mi(e,t,n,i,r){var s;return null==e?be(this,i,r).year:(t>(s=Se(e,i,r))&&(t=s),gi.call(this,e,t,n,i,r))}function gi(e,t,n,i,r){var s=xe(e,t,n,i,r),o=_e(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function yi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function vi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function _i(e,t){t[Br]=B(1e3*("0."+e))}function wi(){return this._isUTC?"UTC":""}function xi(){return this._isUTC?"Coordinated Universal Time":""}function bi(e){return Ct(1e3*e)}function Si(){return Ct.apply(null,arguments).parseZone()}function ki(e){return e}function Ti(e,t,n,i){var r=rt(),s=d().set(i,t);return r[n](s,e)}function Di(e,t,n){if(a(e)&&(t=e,e=undefined),e=e||"",null!=t)return Ti(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Ti(e,i,n,"month");return r}function Ci(e,t,n,i){"boolean"==typeof e?(a(t)&&(n=t,t=undefined),t=t||""):(n=t=e,e=!1,a(t)&&(n=t,t=undefined),t=t||"");var r,s=rt(),o=e?s._week.dow:0,l=[];if(null!=n)return Ti(t,(n+o)%7,i,"day");for(r=0;r<7;r++)l[r]=Ti(t,(r+o)%7,i,"day");return l}function Mi(e,t){return Di(e,t,"months")}function Oi(e,t){return Di(e,t,"monthsShort")}function $i(e,t,n){return Ci(e,t,n,"weekdays")}function Pi(e,t,n){return Ci(e,t,n,"weekdaysShort")}function Ai(e,t,n){return Ci(e,t,n,"weekdaysMin")}function Ei(){var e=this._data;return this._milliseconds=zs(this._milliseconds),this._days=zs(this._days),this._months=zs(this._months),e.milliseconds=zs(e.milliseconds),e.seconds=zs(e.seconds),e.minutes=zs(e.minutes),e.hours=zs(e.hours),e.months=zs(e.months),e.years=zs(e.years),this}function Ni(e,t,n,i){var r=Kt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Hi(e,t){return Ni(this,e,t,1)}function Yi(e,t){return Ni(this,e,t,-1)}function ji(e){return e<0?Math.floor(e):Math.ceil(e)}function Wi(){var e,t,n,i,r,s=this._milliseconds,o=this._days,a=this._months,l=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*ji(Li(a)+o),o=0,a=0),l.milliseconds=s%1e3,e=q(s/1e3),l.seconds=e%60,t=q(e/60),l.minutes=t%60,n=q(t/60),l.hours=n%24,a+=r=q(Ii(o+=q(n/24))),o-=ji(Li(r)),i=q(a/12),a%=12,l.days=o,l.months=a,l.years=i,this}function Ii(e){return 4800*e/146097}function Li(e){return 146097*e/4800}function Fi(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=I(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Ii(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Li(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function zi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN}function Ri(e){return function(){return this.as(e)}}function qi(){return Kt(this)}function Bi(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function Ui(e){return function(){return this.isValid()?this._data[e]:NaN}}function Vi(){return q(this.days()/7)}function Gi(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function Ji(e,t,n,i){var r=Kt(e).abs(),s=so(r.as("s")),o=so(r.as("m")),a=so(r.as("h")),l=so(r.as("d")),u=so(r.as("M")),c=so(r.as("w")),d=so(r.as("y")),h=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||o<=1&&["m"]||o<n.m&&["mm",o]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),(h=h||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=i,Gi.apply(null,h)}function Qi(e){return e===undefined?so:"function"==typeof e&&(so=e,!0)}function Zi(e,t){return oo[e]!==undefined&&(t===undefined?oo[e]:(oo[e]=t,"s"===e&&(oo.ss=t-1),!0))}function Xi(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=oo;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(s=Object.assign({},oo,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),i=Ji(this,!r,s,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}function Ki(e){return(e>0)-(e<0)||+e}function er(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,s,o,a,l=ao(this._milliseconds)/1e3,u=ao(this._days),c=ao(this._months),d=this.asSeconds();return d?(t=q((e=q(l/60))/60),l%=60,e%=60,n=q(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=Ki(this._months)!==Ki(d)?"-":"",o=Ki(this._days)!==Ki(d)?"-":"",a=Ki(this._milliseconds)!==Ki(d)?"-":"",r+"P"+(n?s+n+"Y":"")+(c?s+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+i+"S":"")):"P0D"}var tr,nr;nr=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var ir,rr=e.momentProperties=[],sr=!1,or={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null,ir=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)r(e,t)&&n.push(t);return n};var ar,lr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},ur=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,cr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,dr={},hr={},fr={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"},pr="Invalid date",mr="%d",gr=/\d{1,2}/,yr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},vr={},_r={},wr=/\d/,xr=/\d\d/,br=/\d{3}/,Sr=/\d{4}/,kr=/[+-]?\d{6}/,Tr=/\d\d?/,Dr=/\d\d\d\d?/,Cr=/\d\d\d\d\d\d?/,Mr=/\d{1,3}/,Or=/\d{1,4}/,$r=/[+-]?\d{1,6}/,Pr=/\d+/,Ar=/[+-]?\d+/,Er=/Z|[+-]\d\d:?\d\d/gi,Nr=/Z|[+-]\d\d(?::?\d\d)?/gi,Hr=/[+-]?\d+(\.\d{1,3})?/,Yr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;ar={};var jr,Wr={},Ir=0,Lr=1,Fr=2,zr=3,Rr=4,qr=5,Br=6,Ur=7,Vr=8;jr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},M("M",["MM",2],"Mo",function(){return this.month()+1}),M("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),M("MMMM",0,0,function(e){return this.localeData().months(this,e)}),W("month","M"),F("month",8),Z("M",Tr),Z("MM",Tr,xr),Z("MMM",function(e,t){return t.monthsShortRegex(e)}),Z("MMMM",function(e,t){return t.monthsRegex(e)}),te(["M","MM"],function(e,t){t[Lr]=B(e)-1}),te(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[Lr]=r:f(n).invalidMonth=e});var Gr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Jr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Qr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Zr=Yr,Xr=Yr;M("Y",0,0,function(){var e=this.year();return e<=9999?C(e,4):"+"+e}),M(0,["YY",2],0,function(){return this.year()%100}),M(0,["YYYY",4],0,"year"),M(0,["YYYYY",5],0,"year"),M(0,["YYYYYY",6,!0],0,"year"),W("year","y"),F("year",1),Z("Y",Ar),Z("YY",Tr,xr),Z("YYYY",Or,Sr),Z("YYYYY",$r,kr),Z("YYYYYY",$r,kr),te(["YYYYY","YYYYYY"],Ir),te("YYYY",function(t,n){n[Ir]=2===t.length?e.parseTwoDigitYear(t):B(t)}),te("YY",function(t,n){n[Ir]=e.parseTwoDigitYear(t)}),te("Y",function(e,t){t[Ir]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return B(e)+(B(e)>68?1900:2e3)};var Kr=U("FullYear",!0);M("w",["ww",2],"wo","week"),M("W",["WW",2],"Wo","isoWeek"),W("week","w"),W("isoWeek","W"),F("week",5),F("isoWeek",5),Z("w",Tr),Z("ww",Tr,xr),Z("W",Tr),Z("WW",Tr,xr),ne(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=B(e)});var es={dow:0,doy:6};M("d",0,"do","day"),M("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),M("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),M("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),M("e",0,0,"weekday"),M("E",0,0,"isoWeekday"),W("day","d"),W("weekday","e"),W("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),Z("d",Tr),Z("e",Tr),Z("E",Tr),Z("dd",function(e,t){return t.weekdaysMinRegex(e)}),Z("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Z("dddd",function(e,t){return t.weekdaysRegex(e)}),ne(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),ne(["d","e","E"],function(e,t,n,i){t[i]=B(e)});var ts="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ns="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),is="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),rs=Yr,ss=Yr,os=Yr;M("H",["HH",2],0,"hour"),M("h",["hh",2],0,qe),M("k",["kk",2],0,Be),M("hmm",0,0,function(){return""+qe.apply(this)+C(this.minutes(),2)}),M("hmmss",0,0,function(){return""+qe.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)}),M("Hmm",0,0,function(){return""+this.hours()+C(this.minutes(),2)}),M("Hmmss",0,0,function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)}),Ue("a",!0),Ue("A",!1),W("hour","h"),F("hour",13),Z("a",Ve),Z("A",Ve),Z("H",Tr),Z("h",Tr),Z("k",Tr),Z("HH",Tr,xr),Z("hh",Tr,xr),Z("kk",Tr,xr),Z("hmm",Dr),Z("hmmss",Cr),Z("Hmm",Dr),Z("Hmmss",Cr),te(["H","HH"],zr),te(["k","kk"],function(e,t){var n=B(e);t[zr]=24===n?0:n}),te(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),te(["h","hh"],function(e,t,n){t[zr]=B(e),f(n).bigHour=!0}),te("hmm",function(e,t,n){var i=e.length-2;t[zr]=B(e.substr(0,i)),t[Rr]=B(e.substr(i)),f(n).bigHour=!0}),te("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[zr]=B(e.substr(0,i)),t[Rr]=B(e.substr(i,2)),t[qr]=B(e.substr(r)),f(n).bigHour=!0}),te("Hmm",function(e,t){var n=e.length-2;t[zr]=B(e.substr(0,n)),t[Rr]=B(e.substr(n))}),te("Hmmss",function(e,t){var n=e.length-4,i=e.length-2;t[zr]=B(e.substr(0,n)),t[Rr]=B(e.substr(n,2)),t[qr]=B(e.substr(i))});var as,ls=/[ap]\.?m?\.?/i,us=U("Hours",!0),cs={calendar:lr,longDateFormat:fr,invalidDate:pr,ordinal:mr,dayOfMonthOrdinalParse:gr,relativeTime:yr,months:Gr,monthsShort:Jr,week:es,weekdays:ts,weekdaysMin:is,weekdaysShort:ns,meridiemParse:ls},ds={},hs={},fs=/^\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)?)?$/,ps=/^\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)?)?$/,ms=/Z|[+-]\d\d(?::?\d\d)?/,gs=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ys=[["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/]],vs=/^\/?Date\((-?\d+)/i,_s=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ws={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=w("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var xs=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),bs=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}),Ss=function(){return Date.now?Date.now():+new Date},ks=["year","quarter","month","week","day","hour","minute","second","millisecond"];Wt("Z",":"),Wt("ZZ",""),Z("Z",Nr),Z("ZZ",Nr),te(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=It(Nr,e)});var Ts=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ds=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cs=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Kt.fn=Nt.prototype,Kt.invalid=Et;var Ms=rn(1,"add"),Os=rn(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var $s=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===undefined?this.localeData():this.locale(e)}),Ps=1e3,As=60*Ps,Es=60*As,Ns=3506328*Es;M("N",0,0,"eraAbbr"),M("NN",0,0,"eraAbbr"),M("NNN",0,0,"eraAbbr"),M("NNNN",0,0,"eraName"),M("NNNNN",0,0,"eraNarrow"),M("y",["y",1],"yo","eraYear"),M("y",["yy",2],0,"eraYear"),M("y",["yyy",3],0,"eraYear"),M("y",["yyyy",4],0,"eraYear"),Z("N",ii),Z("NN",ii),Z("NNN",ii),Z("NNNN",ri),Z("NNNNN",si),te(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?f(n).era=r:f(n).invalidEra=e}),Z("y",Pr),Z("yy",Pr),Z("yyy",Pr),Z("yyyy",Pr),Z("yo",oi),te(["y","yy","yyy","yyyy"],Ir),te(["yo"],function(e,t,n){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ir]=n._locale.eraYearOrdinalParse(e,i):t[Ir]=parseInt(e,10)}),M(0,["gg",2],0,function(){return this.weekYear()%100}),M(0,["GG",2],0,function(){return this.isoWeekYear()%100}),li("gggg","weekYear"),li("ggggg","weekYear"),li("GGGG","isoWeekYear"),li("GGGGG","isoWeekYear"),W("weekYear","gg"),W("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),Z("G",Ar),Z("g",Ar),Z("GG",Tr,xr),Z("gg",Tr,xr),Z("GGGG",Or,Sr),Z("gggg",Or,Sr),Z("GGGGG",$r,kr),Z("ggggg",$r,kr),ne(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=B(e)}),ne(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),M("Q",0,"Qo","quarter"),W("quarter","Q"),F("quarter",7),Z("Q",wr),te("Q",function(e,t){t[Lr]=3*(B(e)-1)}),M("D",["DD",2],"Do","date"),W("date","D"),F("date",9),Z("D",Tr),Z("DD",Tr,xr),Z("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),te(["D","DD"],Fr),te("Do",function(e,t){t[Fr]=B(e.match(Tr)[0])});var Hs=U("Date",!0);M("DDD",["DDDD",3],"DDDo","dayOfYear"),W("dayOfYear","DDD"),F("dayOfYear",4),Z("DDD",Mr),Z("DDDD",br),te(["DDD","DDDD"],function(e,t,n){n._dayOfYear=B(e)}),M("m",["mm",2],0,"minute"),W("minute","m"),F("minute",14),Z("m",Tr),Z("mm",Tr,xr),te(["m","mm"],Rr);var Ys=U("Minutes",!1);M("s",["ss",2],0,"second"),W("second","s"),F("second",15),Z("s",Tr),Z("ss",Tr,xr),te(["s","ss"],qr);var js,Ws,Is=U("Seconds",!1);for(M("S",0,0,function(){return~~(this.millisecond()/100)}),M(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),M(0,["SSS",3],0,"millisecond"),M(0,["SSSS",4],0,function(){return 10*this.millisecond()}),M(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),M(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),M(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),M(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),M(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),W("millisecond","ms"),F("millisecond",16),Z("S",Mr,wr),Z("SS",Mr,xr),Z("SSS",Mr,br),js="SSSS";js.length<=9;js+="S")Z(js,Pr);for(js="S";js.length<=9;js+="S")te(js,_i);Ws=U("Milliseconds",!1),M("z",0,0,"zoneAbbr"),M("zz",0,0,"zoneName");var Ls=y.prototype;Ls.add=Ms,Ls.calendar=hn,Ls.clone=fn,Ls.diff=wn,Ls.endOf=Yn,Ls.format=Tn,Ls.from=Dn,Ls.fromNow=Cn,Ls.to=Mn,Ls.toNow=On,Ls.get=J,Ls.invalidAt=Bn,Ls.isAfter=pn,Ls.isBefore=mn,Ls.isBetween=gn,Ls.isSame=yn,Ls.isSameOrAfter=vn,Ls.isSameOrBefore=_n,Ls.isValid=Rn,Ls.lang=$s,Ls.locale=$n,Ls.localeData=Pn,Ls.max=bs,Ls.min=xs,Ls.parsingFlags=qn,Ls.set=Q,Ls.startOf=Hn,Ls.subtract=Os,Ls.toArray=Ln,Ls.toObject=Fn,Ls.toDate=In,Ls.toISOString=Sn,Ls.inspect=kn,"undefined"!=typeof Symbol&&null!=Symbol["for"]&&(Ls[Symbol["for"]("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ls.toJSON=zn,Ls.toString=bn,Ls.unix=Wn,Ls.valueOf=jn,Ls.creationData=Un,Ls.eraName=Qn,Ls.eraNarrow=Zn,Ls.eraAbbr=Xn,Ls.eraYear=Kn,Ls.year=Kr,Ls.isLeapYear=ye,Ls.weekYear=ui,Ls.isoWeekYear=ci,Ls.quarter=Ls.quarters=yi,Ls.month=de,Ls.daysInMonth=he,Ls.week=Ls.weeks=Ce,Ls.isoWeek=Ls.isoWeeks=Me,Ls.weeksInYear=fi,Ls.weeksInWeekYear=pi,Ls.isoWeeksInYear=di,Ls.isoWeeksInISOWeekYear=hi,Ls.date=Hs,Ls.day=Ls.days=je,Ls.weekday=We,Ls.isoWeekday=Ie,Ls.dayOfYear=vi,Ls.hour=Ls.hours=us,Ls.minute=Ls.minutes=Ys,Ls.second=Ls.seconds=Is,Ls.millisecond=Ls.milliseconds=Ws,Ls.utcOffset=zt,Ls.utc=qt,Ls.local=Bt,Ls.parseZone=Ut,Ls.hasAlignedHourOffset=Vt,Ls.isDST=Gt,Ls.isLocal=Qt,Ls.isUtcOffset=Zt,Ls.isUtc=Xt,Ls.isUTC=Xt,Ls.zoneAbbr=wi,Ls.zoneName=xi,Ls.dates=w("dates accessor is deprecated. Use date instead.",Hs),Ls.months=w("months accessor is deprecated. Use month instead",de),Ls.years=w("years accessor is deprecated. Use year instead",Kr),Ls.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Rt),Ls.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Jt);var Fs=T.prototype;Fs.calendar=D,Fs.longDateFormat=E,Fs.invalidDate=N,Fs.ordinal=H,Fs.preparse=ki,Fs.postformat=ki,Fs.relativeTime=Y,Fs.pastFuture=j,Fs.set=S,Fs.eras=Vn,Fs.erasParse=Gn,Fs.erasConvertYear=Jn,Fs.erasAbbrRegex=ti,Fs.erasNameRegex=ei,Fs.erasNarrowRegex=ni,Fs.months=oe,Fs.monthsShort=ae,Fs.monthsParse=ue,Fs.monthsRegex=pe,Fs.monthsShortRegex=fe,Fs.week=ke,Fs.firstDayOfYear=De,Fs.firstDayOfWeek=Te,Fs.weekdays=Ae,Fs.weekdaysMin=Ne,Fs.weekdaysShort=Ee,Fs.weekdaysParse=Ye,Fs.weekdaysRegex=Le,Fs.weekdaysShortRegex=Fe,Fs.weekdaysMinRegex=ze,Fs.isPM=Ge,Fs.meridiem=Je,tt("en",{eras:[{since:"0001-01-01",until:+Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===B(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),e.lang=w("moment.lang is deprecated. Use moment.locale instead.",tt),e.langData=w("moment.langData is deprecated. Use moment.localeData instead.",rt);var zs=Math.abs,Rs=Ri("ms"),qs=Ri("s"),Bs=Ri("m"),Us=Ri("h"),Vs=Ri("d"),Gs=Ri("w"),Js=Ri("M"),Qs=Ri("Q"),Zs=Ri("y"),Xs=Ui("milliseconds"),Ks=Ui("seconds"),eo=Ui("minutes"),to=Ui("hours"),no=Ui("days"),io=Ui("months"),ro=Ui("years"),so=Math.round,oo={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},ao=Math.abs,lo=Nt.prototype;return lo.isValid=At,lo.abs=Ei,lo.add=Hi,lo.subtract=Yi,lo.as=Fi,lo.asMilliseconds=Rs,lo.asSeconds=qs,lo.asMinutes=Bs,lo.asHours=Us,lo.asDays=Vs,lo.asWeeks=Gs,lo.asMonths=Js,lo.asQuarters=Qs,lo.asYears=Zs,lo.valueOf=zi,lo._bubble=Wi,lo.clone=qi,lo.get=Bi,lo.milliseconds=Xs,lo.seconds=Ks,lo.minutes=eo,lo.hours=to,lo.days=no,lo.weeks=Vi,lo.months=io,lo.years=ro,lo.humanize=Xi,lo.toISOString=er,lo.toString=er,lo.toJSON=er,lo.locale=$n,lo.localeData=Pn,lo.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",er),lo.lang=$s,M("X",0,0,"unix"),M("x",0,0,"valueOf"),Z("x",Ar),Z("X",Hr),te("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),te("x",function(e,t,n){n._d=new Date(B(e))}),e.version="2.29.4",t(Ct),e.fn=Ls,e.min=Ot,e.max=$t,e.now=Ss,e.utc=d,e.unix=bi,e.months=Mi,e.isDate=l,e.locale=tt,e.invalid=m,e.duration=Kt,e.isMoment=v,e.weekdays=$i,e.parseZone=Si,e.localeData=rt,e.isDuration=Ht,e.monthsShort=Oi,e.weekdaysMin=Ai,e.defineLocale=nt,e.updateLocale=it,e.locales=st,e.weekdaysShort=Pi,e.normalizeUnits=I,e.relativeTimeRounding=Qi,e.relativeTimeThreshold=Zi,e.calendarFormat=dn,e.prototype=Ls,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e,t,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}return e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(e,t,n,i){function r(t,n){this.settings=null,this.options=e.extend({},r.Defaults,n),this.$element=e(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},e.each(["onResize","onThrottledResize"],e.proxy(function(t,n){this._handlers[n]=e.proxy(this[n],this)},this)),e.each(r.Plugins,e.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(r.Workers,e.proxy(function(t,n){this._pipe.push({filter:n.filter,run:e.proxy(n.run,this)})},this)),this.setup(),this.initialize()}r.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},r.Width={Default:"default",Inner:"inner",Outer:"outer"},r.Type={Event:"event",State:"state"},r.Plugins={},r.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,r={width:"auto","margin-left":i?t:"","margin-right":i?"":t};!n&&this.$stage.children().css(r),e.css=r}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,r=!this.settings.autoWidth,s=[];for(e.items={merge:!1,width:t};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,e.items.merge=n>1||e.items.merge,s[i]=r?t*n:this._items[i].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],n=this._items,i=this.settings,r=Math.max(2*i.items,4),s=2*Math.ceil(n.length/2),o=i.loop&&n.length?i.rewind?r:Math.max(r,s):0,a="",l="";for(o/=2;o--;)t.push(this.normalize(t.length/2,!0)),a+=n[t[t.length-1]][0].outerHTML,t.push(this.normalize(n.length-1-(t.length-1)/2,!0)),l=n[t[t.length-1]][0].outerHTML+l;this._clones=t,e(a).addClass("cloned").appendTo(this.$stage),e(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,n=-1,i=0,r=0,s=[];++n<t;)i=s[n-1]||0,r=this._widths[this.relative(n)]+this.settings.margin,s.push(i+r*e);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,n={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],i.eq(t).css(e.css);else n&&(e.css.width=e.items.width,i.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var e,t,n,i,r=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,o=this.coordinates(this.current())+s,a=o+this.width()*r,l=[];for(n=0,i=this._coordinates.length;n<i;n++)e=this._coordinates[n-1]||0,t=Math.abs(this._coordinates[n])+s*r,(this.op(e,"<=",o)&&this.op(e,">",a)||this.op(t,"<",o)&&this.op(t,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],r.prototype.initialize=function(){var t,n,r;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),n=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:i,r=this.$element.children(n).width(),t.length&&r<=0&&this.preloadAutoWidthImages(t));this.$element.addClass(this.options.loadingClass),this.$stage=e("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},r.prototype.setup=function(){var t=this.viewport(),n=this.options.responsive,i=-1,r=null;n?(e.each(n,function(e){e<=t&&e>i&&(i=Number(e))}),"function"==typeof(r=e.extend({},this.options,n[i])).stagePadding&&(r.stagePadding=r.stagePadding()),delete r.responsive,r.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):r=e.extend({},this.options),this.trigger("change",{property:{name:"settings",value:r}}),this._breakpoint=i,this.settings=r,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},r.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},r.prototype.prepare=function(t){var n=this.trigger("prepare",{content:t});return n.data||(n.data=e("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:n.data}),n.data},r.prototype.update=function(){for(var t=0,n=this._pipe.length,i=e.proxy(function(e){return this[e]},this._invalidated),r={};t<n;)(this._invalidated.all||e.grep(this._pipe[t].filter,i).length>0)&&this._pipe[t].run(r),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},r.prototype.width=function(e){switch(e=e||r.Width.Default){case r.Width.Inner:case r.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},r.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},r.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},r.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},r.prototype.registerEventHandlers=function(){e.support.transition&&this.$stage.on(e.support.transition.end+".owl.core",e.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(t,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",e.proxy(this.onDragEnd,this)))},r.prototype.onDragStart=function(t){var i=null;3!==t.which&&(e.support.transform?i={x:(i=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===i.length?12:4],y:i[16===i.length?13:5]}:(i=this.$stage.position(),i={x:this.settings.rtl?i.left+this.$stage.width()-this.width()+this.settings.margin:i.left,y:i.top}),this.is("animating")&&(e.support.transform?this.animate(i.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=e(t.target),this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this.pointer(t),e(n).on("mouseup.owl.core touchend.owl.core",e.proxy(this.onDragEnd,this)),e(n).one("mousemove.owl.core touchmove.owl.core",e.proxy(function(t){var i=this.difference(this._drag.pointer,this.pointer(t));e(n).on("mousemove.owl.core touchmove.owl.core",e.proxy(this.onDragMove,this)),Math.abs(i.x)<Math.abs(i.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},r.prototype.onDragMove=function(e){var t=null,n=null,i=null,r=this.difference(this._drag.pointer,this.pointer(e)),s=this.difference(this._drag.stage.start,r);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-t,s.x=((s.x-t)%n+n)%n+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),i=this.settings.pullDrag?-1*r.x/5:0,s.x=Math.max(Math.min(s.x,t+i),n+i)),this._drag.stage.current=s,this.animate(s.x))},r.prototype.onDragEnd=function(t){var i=this.difference(this._drag.pointer,this.pointer(t)),r=this._drag.stage.current,s=i.x>0^this.settings.rtl?"left":"right";e(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==i.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(r.x,0!==i.x?s:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=s,(Math.abs(i.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},r.prototype.closest=function(t,n){var i=-1,r=30,s=this.width(),o=this.coordinates();return this.settings.freeDrag||e.each(o,e.proxy(function(e,a){return"left"===n&&t>a-r&&t<a+r?i=e:"right"===n&&t>a-s-r&&t<a-s+r?i=e+1:this.op(t,"<",a)&&this.op(t,">",o[e+1]||a-s)&&(i="left"===n?e+1:e),-1===i},this)),this.settings.loop||(this.op(t,">",o[this.minimum()])?i=t=this.minimum():this.op(t,"<",o[this.maximum()])&&(i=t=this.maximum())),i},r.prototype.animate=function(t){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),e.support.transform3d&&e.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"}):n?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,e.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},r.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},r.prototype.current=function(e){if(e===i)return this._current;if(0===this._items.length)return i;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==i&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},r.prototype.invalidate=function(t){return"string"===e.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),e.map(this._invalidated,function(e,t){return t})},r.prototype.reset=function(e){(e=this.normalize(e))!==i&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},r.prototype.normalize=function(e,t){var n=this._items.length,r=t?0:this._clones.length;return!this.isNumeric(e)||n<1?e=i:(e<0||e>=n+r)&&(e=((e-r/2)%n+n)%n+r/2),e},r.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},r.prototype.maximum=function(e){var t,n,i,r=this.settings,s=this._coordinates.length;if(r.loop)s=this._clones.length/2+this._items.length-1;else if(r.autoWidth||r.merge){for(t=this._items.length,n=this._items[--t].width(),i=this.$element.width();t--&&!((n+=this._items[t].width()+this.settings.margin)>i););s=t+1}else s=r.center?this._items.length-1:this._items.length-r.items;return e&&(s-=this._clones.length/2),Math.max(s,0)},r.prototype.minimum=function(e){return e?0:this._clones.length/2},r.prototype.items=function(e){return e===i?this._items.slice():(e=this.normalize(e,!0),this._items[e])},r.prototype.mergers=function(e){return e===i?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},r.prototype.clones=function(t){var n=this._clones.length/2,r=n+this._items.length,s=function(e){return e%2==0?r+e/2:n-(e+1)/2};return t===i?e.map(this._clones,function(e,t){return s(t)}):e.map(this._clones,function(e,n){return e===t?s(n):null})},r.prototype.speed=function(e){return e!==i&&(this._speed=e),this._speed},r.prototype.coordinates=function(t){var n,r=1,s=t-1;return t===i?e.map(this._coordinates,e.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(r=-1,s=t+1),n=this._coordinates[t],n+=(this.width()-n+(this._coordinates[s]||0))/2*r):n=this._coordinates[s]||0,n=Math.ceil(n))},r.prototype.duration=function(e,t,n){return 0===n?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(n||this.settings.smartSpeed)},r.prototype.to=function(e,t){var n=this.current(),i=null,r=e-this.relative(n),s=(r>0)-(r<0),o=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(r)>o/2&&(r+=-1*s*o),(i=(((e=n+r)-a)%o+o)%o+a)!==e&&i-r<=l&&i-r>0&&(n=i-r,e=i,this.reset(n))):e=this.settings.rewind?(e%(l+=1)+l)%l:Math.max(a,Math.min(l,e)),this.speed(this.duration(n,e,t)),this.current(e),this.$element.is(":visible")&&this.update()},r.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},r.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},r.prototype.onTransitionEnd=function(e){if(e!==i&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},r.prototype.viewport=function(){var i;return this.options.responsiveBaseElement!==t?i=e(this.options.responsiveBaseElement).width():t.innerWidth?i=t.innerWidth:n.documentElement&&n.documentElement.clientWidth?i=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),i},r.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(e.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},r.prototype.add=function(t,n){var r=this.relative(this._current);n=n===i?this._items.length:this.normalize(n,!0),t=t instanceof jQuery?t:e(t),this.trigger("add",{content:t,position:n}),t=this.prepare(t),0===this._items.length||n===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[n-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[n].before(t),this._items.splice(n,0,t),this._mergers.splice(n,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[r]&&this.reset(this._items[r].index()),this.invalidate("items"),this.trigger("added",{content:t,position:n})},r.prototype.remove=function(e){(e=this.normalize(e,!0))!==i&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},r.prototype.preloadAutoWidthImages=function(t){t.each(e.proxy(function(t,n){this.enter("pre-loading"),n=e(n),e(new Image).one("load",e.proxy(function(e){n.attr("src",e.target.src),n.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",n.attr("src")||n.attr("data-src")||n.attr("data-src-retina"))},this))},r.prototype.destroy=function(){for(var i in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),e(n).off(".owl.core"),!1!==this.settings.responsive&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[i].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},r.prototype.op=function(e,t,n){var i=this.settings.rtl;switch(t){case"<":return i?e>n:e<n;case">":return i?e<n:e>n;case">=":return i?e<=n:e>=n;case"<=":return i?e>=n:e<=n}},r.prototype.on=function(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i):e.attachEvent&&e.attachEvent("on"+t,n)},r.prototype.off=function(e,t,n,i){e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&e.detachEvent("on"+t,n)},r.prototype.trigger=function(t,n,i){var s={item:{count:this._items.length,index:this.current()}},o=e.camelCase(e.grep(["on",t,i],function(e){return e}).join("-").toLowerCase()),a=e.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},s,n));return this._supress[t]||(e.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(a)}),this.register({type:r.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].call(this,a)),a},r.prototype.enter=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]===i&&(this._states.current[t]=0),this._states.current[t]++},this))},r.prototype.leave=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]--},this))},r.prototype.register=function(t){if(t.type===r.Type.Event){if(e.event.special[t.name]||(e.event.special[t.name]={}),!e.event.special[t.name].owl){var n=e.event.special[t.name]._default;e.event.special[t.name]._default=function(e){return!n||!n.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&e.namespace.indexOf("owl")>-1:n.apply(this,arguments)},e.event.special[t.name].owl=!0}}else t.type===r.Type.State&&(this._states.tags[t.name]?this._states.tags[t.name]=this._states.tags[t.name].concat(t.tags):this._states.tags[t.name]=t.tags,this._states.tags[t.name]=e.grep(this._states.tags[t.name],e.proxy(function(n,i){return e.inArray(n,this._states.tags[t.name])===i},this)))},r.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},r.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},r.prototype.pointer=function(e){var n={x:null,y:null};return(e=(e=e.originalEvent||e||t.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(n.x=e.pageX,n.y=e.pageY):(n.x=e.clientX,n.y=e.clientY),n},r.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},r.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},e.fn.owlCarousel=function(t){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var i=e(this),s=i.data("owl.carousel");s||(s=new r(this,"object"==typeof t&&t),i.data("owl.carousel",s),e.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,n){s.register({type:r.Type.Event,name:n}),s.$element.on(n+".owl.carousel.core",e.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([n]),s[n].apply(this,[].slice.call(arguments,1)),this.release([n]))},s))})),"string"==typeof t&&"_"!==t.charAt(0)&&s[t].apply(s,n)})},e.fn.owlCarousel.Constructor=r}(window.Zepto||window.jQuery,window,document),function(e,t){var n=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=t.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var e,n;for(e in t.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var r=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":e.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var n=this._core.settings,r=n.center&&Math.ceil(n.items/2)||n.items,s=n.center&&-1*r||0,o=(t.property&&t.property.value!==i?t.property.value:this._core.current())+s,a=this._core.clones().length,l=e.proxy(function(e,t){this.load(t)},this);s++<r;)this.load(a/2+this._core.relative(o)),a&&e.each(this._core.clones(this._core.relative(o)),l),o++},this)},this._core.options=e.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={lazyLoad:!1},r.prototype.load=function(n){var i=this._core.$stage.children().eq(n),r=i&&i.find(".owl-lazy");!r||e.inArray(i.get(0),this._loaded)>-1||(r.each(e.proxy(function(n,i){var r,s=e(i),o=t.devicePixelRatio>1&&s.attr("data-src-retina")||s.attr("data-src");this._core.trigger("load",{element:s,url:o},"lazy"),s.is("img")?s.one("load.owl.lazy",e.proxy(function(){s.css("opacity",1),this._core.trigger("loaded",{element:s,url:o},"lazy")},this)).attr("src",o):((r=new Image).onload=e.proxy(function(){s.css({"background-image":'url("'+o+'")',opacity:"1"}),this._core.trigger("loaded",{element:s,url:o},"lazy")},this),r.src=o)},this)),this._loaded.push(i.get(0)))},r.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=r}(window.Zepto||window.jQuery,window,document),function(e){var t=function(n){this._core=n,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"==e.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=e.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)};t.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},t.prototype.update=function(){var t=this._core._current,n=t+this._core.settings.items,i=this._core.$stage.children().toArray().slice(t,n),r=[],s=0;e.each(i,function(t,n){r.push(e(n).height())}),s=Math.max.apply(null,r),this._core.$stage.parent().height(s).addClass(this._core.settings.autoHeightClass)},t.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=t}(window.Zepto||window.jQuery,window,document),function(e,t,n){var i=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var n=e(t.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,e(t.content)))}},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy(function(e){this.play(e)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(e,t){var n=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",i=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),r=e.attr("data-width")||this._core.settings.videoWidth,s=e.attr("data-height")||this._core.settings.videoHeight,o=e.attr("href");if(!o)throw new Error("Missing video URL.");if((i=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)n="youtube";else if(i[3].indexOf("vimeo")>-1)n="vimeo";else{if(!(i[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[o]={type:n,id:i,width:r,height:s},t.attr("data-video",o),this.thumbnail(e,this._videos[o])},i.prototype.thumbnail=function(t,n){var i,r,s,o=n.width&&n.height?'style="width:'+n.width+"px;height:"+n.height+'px;"':"",a=t.find("img"),l="src",u="",c=this._core.settings,d=function(e){r='<div class="owl-video-play-icon"></div>',i=c.lazyLoad?'<div class="owl-video-tn '+u+'" '+l+'="'+e+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+e+')"></div>',t.after(i),t.after(r)};if(t.wrap('<div class="owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(l="data-src",u="owl-lazy"),a.length)return d(a.attr(l)),a.remove(),!1;"youtube"===n.type?(s="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",d(s)):"vimeo"===n.type?e.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){s=e[0].thumbnail_large,d(s)}}):"vzaar"===n.type&&e.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){s=e.framegrab_url,d(s)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var n,i=e(t.target).closest("."+this._core.settings.itemClass),r=this._videos[i.attr("data-video")],s=r.width||"100%",o=r.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),"youtube"===r.type?n='<iframe width="'+s+'" height="'+o+'" src="//www.youtube.com/embed/'+r.id+"?autoplay=1&rel=0&v="+r.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===r.type?n='<iframe src="//player.vimeo.com/video/'+r.id+'?autoplay=1" width="'+s+'" height="'+o+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===r.type&&(n='<iframe frameborder="0"height="'+o+'"width="'+s+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+r.id+'/player?autoplay=true"></iframe>'),e('<div class="owl-video-frame">'+n+"</div>").insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return t&&e(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var r=function(t){this.core=t,this.core.options=e.extend({},r.Defaults,this.core.options),this.swapping=!0,this.previous=i,this.next=i,this.handlers={"change.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":e.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};r.Defaults={animateOut:!1,animateIn:!1},r.prototype.swap=function(){if(1===this.core.settings.items&&e.support.animation&&e.support.transition){this.core.speed(0);var t,n=e.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),r=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,o=this.core.settings.animateOut;this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(e.support.animation.end,n).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o)),s&&r.one(e.support.animation.end,n).addClass("animated owl-animated-in").addClass(s))}},r.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},r.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=r}(window.Zepto||window.jQuery,window,document),function(e,t,n){var i=function(t){this._core=t,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":e.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":e.proxy(function(e,t,n){e.namespace&&this.play(t,n)},this),"stop.owl.autoplay":e.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=e.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype.play=function(){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},i.prototype._getNextTimeout=function(i,r){return this._timeout&&t.clearTimeout(this._timeout),t.setTimeout(e.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||n.hidden||this._core.next(r||this._core.settings.autoplaySpeed)},this),i||this._core.settings.autoplayTimeout)},i.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},i.prototype.stop=function(){this._core.is("rotating")&&(t.clearTimeout(this._timeout),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},i.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(e){"use strict";var t=function(n){this._core=n,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+e(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=e.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)};t.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},t.prototype.initialize=function(){var t,n=this._core.settings;for(t in this._controls.$relative=(n.navContainer?e(n.navContainer):e("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=e("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",e.proxy(function(){this.prev(n.navSpeed)},this)),this._controls.$next=e("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",e.proxy(function(){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[e("<div>").addClass(n.dotClass).append(e("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?e(n.dotsContainer):e("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",e.proxy(function(t){var i=e(t.target).parent().is(this._controls.$absolute)?e(t.target).index():e(t.target).parent().index();t.preventDefault(),this.to(i,n.dotsSpeed)},this)),this._overrides)this._core[t]=e.proxy(this[t],this)},t.prototype.destroy=function(){var e,t,n,i;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)this._controls[t].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.prototype.update=function(){var e,t,n=this._core.clones().length/2,i=n+this._core.items().length,r=this._core.maximum(!0),s=this._core.settings,o=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],e=n,t=0,0;e<i;e++){if(t>=o||0===t){if(this._pages.push({start:Math.min(r,e-n),end:e-n+o-1}),Math.min(r,e-n)===r)break;t=0,0}t+=this._core.mergers(this._core.relative(e))}},t.prototype.draw=function(){var t,n=this._core.settings,i=this._core.items().length<=n.items,r=this._core.relative(this._core.current()),s=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||i),n.nav&&(this._controls.$previous.toggleClass("disabled",!s&&r<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!s&&r>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||i),n.dots&&(t=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):t>0?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(e.inArray(this.current(),this._pages)).addClass("active"))},t.prototype.onTrigger=function(t){var n=this._core.settings;t.page={index:e.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},t.prototype.current=function(){var t=this._core.relative(this._core.current());return e.grep(this._pages,e.proxy(function(e){return e.start<=t&&e.end>=t},this)).pop()},t.prototype.getPosition=function(t){var n,i,r=this._core.settings;return"page"==r.slideBy?(n=e.inArray(this.current(),this._pages),i=this._pages.length,t?++n:--n,n=this._pages[(n%i+i)%i].start):(n=this._core.relative(this._core.current()),i=this._core.items().length,t?n+=r.slideBy:n-=r.slideBy),n},t.prototype.next=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},t.prototype.prev=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},t.prototype.to=function(t,n,i){var r;!i&&this._pages.length?(r=this._pages.length,e.proxy(this._overrides.to,this._core)(this._pages[(t%r+r)%r].start,n)):e.proxy(this._overrides.to,this._core)(t,n)},e.fn.owlCarousel.Constructor.Plugins.Navigation=t}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){"use strict";var r=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":e.proxy(function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&e(t).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var n=e(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=t.content}},this),"changed.owl.carousel":e.proxy(function(n){if(n.namespace&&"position"===n.property.name){var i=this._core.items(this._core.relative(this._core.current())),r=e.map(this._hashes,function(e,t){return e===i?t:null}).join();if(!r||t.location.hash.slice(1)===r)return;t.location.hash=r}},this)},this._core.options=e.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers),e(t).on("hashchange.owl.navigation",e.proxy(function(){var e=t.location.hash.substring(1),n=this._core.$stage.children(),r=this._hashes[e]&&n.index(this._hashes[e]);r!==i&&r!==this._core.current()&&this._core.to(this._core.relative(r),!1,!0)},this))};r.Defaults={URLhashListener:!1},r.prototype.destroy=function(){var n,i;for(n in e(t).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(n,this._handlers[n]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.fn.owlCarousel.Constructor.Plugins.Hash=r}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){function r(t,n){var r=!1,s=t.charAt(0).toUpperCase()+t.slice(1);return e.each((t+" "+a.join(s+" ")+s).split(" "),function(e,t){if(o[t]!==i)return r=!n||t,!1}),r}function s(e){return r(e,!0)}var o=e("<support>").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},u={csstransforms:function(){return!!r("transform")},csstransforms3d:function(){return!!r("perspective")},csstransitions:function(){return!!r("transition")},cssanimations:function(){return!!r("animation")}};u.csstransitions()&&(e.support.transition=new String(s("transition")),e.support.transition.end=l.transition.end[e.support.transition]),u.cssanimations()&&(e.support.animation=new String(s("animation")),e.support.animation.end=l.animation.end[e.support.animation]),u.csstransforms()&&(e.support.transform=new String(s("transform")),e.support.transform3d=u.csstransforms3d())}(window.Zepto||window.jQuery,window,document),function(){"use strict";var e,t,n,i,r,s;r=864e5,s=3600,e=function(e,t){return"string"==typeof e&&"string"==typeof t&&e.toLowerCase()===t.toLowerCase()},t=function(e,n,i){var r=i||"0",s=e.toString();return s.length<n?t(r+s,n):s},n=function(e){var t,i;for(e=e||{},t=1;t<arguments.length;t++)if(i=arguments[t])for(var r in i)i.hasOwnProperty(r)&&("object"==typeof i[r]?n(e[r],i[r]):e[r]=i[r]);return e},i={dateSettings:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridiem:["AM","PM"],ordinal:function(e){var t=e%10,n={1:"st",2:"nd",3:"rd"};return 1!==Math.floor(e%100/10)&&n[t]?n[t]:"th"}},separators:/[ \-+\/\.T:@]/g,validParts:/[dDjlNSwzWFmMntLoYyaABgGhHisueTIOPZcrU]/g,intParts:/[djwNzmnyYhHgGis]/g,tzParts:/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,tzClip:/[^-+\dA-Z]/g},(DateFormatter=function(e){var t=this,r=n(i,e);t.dateSettings=r.dateSettings,t.separators=r.separators,t.validParts=r.validParts,t.intParts=r.intParts,t.tzParts=r.tzParts,t.tzClip=r.tzClip}).prototype={constructor:DateFormatter,parseDate:function(t,n){var i,r,s,o,a,l,u,c,d,h,f=this,p=!1,m=!1,g=f.dateSettings,y={date:null,year:null,month:null,day:null,hour:0,min:0,sec:0};if(!t)return undefined;if(t instanceof Date)return t;if("number"==typeof t)return new Date(t);if("U"===n)return(s=parseInt(t))?new Date(1e3*s):t;if("string"!=typeof t)return"";if(!(i=n.match(f.validParts))||0===i.length)throw new Error("Invalid date format definition.");for(r=t.replace(f.separators,"\0").split("\0"),s=0;s<r.length;s++)switch(o=r[s],a=parseInt(o),i[s]){case"y":case"Y":2===(d=o.length)?y.year=parseInt((a<70?"20":"19")+o):4===d&&(y.year=a),p=!0;break;case"m":case"n":case"M":case"F":isNaN(o)?((l=g.monthsShort.indexOf(o))>-1&&(y.month=l+1),(l=g.months.indexOf(o))>-1&&(y.month=l+1)):a>=1&&a<=12&&(y.month=a),p=!0;break;case"d":case"j":a>=1&&a<=31&&(y.day=a),p=!0;break;case"g":case"h":h=r[u=i.indexOf("a")>-1?i.indexOf("a"):i.indexOf("A")>-1?i.indexOf("A"):-1],u>-1?(c=e(h,g.meridiem[0])?0:e(h,g.meridiem[1])?12:-1,a>=1&&a<=12&&c>-1?y.hour=a+c-1:a>=0&&a<=23&&(y.hour=a)):a>=0&&a<=23&&(y.hour=a),m=!0;break;case"G":case"H":a>=0&&a<=23&&(y.hour=a),m=!0;break;case"i":a>=0&&a<=59&&(y.min=a),m=!0;break;case"s":a>=0&&a<=59&&(y.sec=a),m=!0}if(!0===p&&y.year&&y.month&&y.day)y.date=new Date(y.year,y.month-1,y.day,y.hour,y.min,y.sec,0);else{if(!0!==m)return!1;y.date=new Date(0,0,0,y.hour,y.min,y.sec,0)}return y.date},guessDate:function(e,t){if("string"!=typeof e)return e;var n,i,r,s,o=this,a=e.replace(o.separators,"\0").split("\0"),l=/^[djmn]/g,u=t.match(o.validParts),c=new Date,d=0;if(!l.test(u[0]))return e;for(i=0;i<a.length;i++){switch(d=2,r=a[i],s=parseInt(r.substr(0,2)),i){case 0:"m"===u[0]||"n"===u[0]?c.setMonth(s-1):c.setDate(s);break;case 1:"m"===u[0]||"n"===u[0]?c.setDate(s):c.setMonth(s-1);break;case 2:n=c.getFullYear(),r.length<4?(c.setFullYear(parseInt(n.toString().substr(0,4-r.length)+r)),d=r.length):(c.setFullYear=parseInt(r.substr(0,4)),d=4);break;case 3:c.setHours(s);break;case 4:c.setMinutes(s);break;case 5:c.setSeconds(s)}r.substr(d).length>0&&a.splice(i+1,0,r.substr(d))}return c},parseFormat:function(e,n){var i,o=this,a=o.dateSettings,l=/\\?(.?)/gi,u=function(e,t){return i[e]?i[e]():t};return i={d:function(){return t(i.j(),2)},D:function(){return a.daysShort[i.w()]},j:function(){return n.getDate()},l:function(){return a.days[i.w()]},N:function(){return i.w()||7},w:function(){return n.getDay()},z:function(){var e=new Date(i.Y(),i.n()-1,i.j()),t=new Date(i.Y(),0,1);return Math.round((e-t)/r)},W:function(){var e=new Date(i.Y(),i.n()-1,i.j()-i.N()+3),n=new Date(e.getFullYear(),0,4);return t(1+Math.round((e-n)/r/7),2)},F:function(){return a.months[n.getMonth()]},m:function(){return t(i.n(),2)},M:function(){return a.monthsShort[n.getMonth()]},n:function(){return n.getMonth()+1},t:function(){return new Date(i.Y(),i.n(),0).getDate()},L:function(){var e=i.Y();return e%4==0&&e%100!=0||e%400==0?1:0},o:function(){var e=i.n(),t=i.W();return i.Y()+(12===e&&t<9?1:1===e&&t>9?-1:0)},Y:function(){return n.getFullYear()},y:function(){return i.Y().toString().slice(-2)},a:function(){return i.A().toLowerCase()},A:function(){var e=i.G()<12?0:1;return a.meridiem[e]},B:function(){var e=n.getUTCHours()*s,i=60*n.getUTCMinutes(),r=n.getUTCSeconds();return t(Math.floor((e+i+r+s)/86.4)%1e3,3)},g:function(){return i.G()%12||12},G:function(){return n.getHours()},h:function(){return t(i.g(),2)},H:function(){return t(i.G(),2)},i:function(){return t(n.getMinutes(),2)},s:function(){return t(n.getSeconds(),2)},u:function(){return t(1e3*n.getMilliseconds(),6)},e:function(){return/\((.*)\)/.exec(String(n))[1]||"Coordinated Universal Time"},T:function(){return(String(n).match(o.tzParts)||[""]).pop().replace(o.tzClip,"")||"UTC"},I:function(){return new Date(i.Y(),0)-Date.UTC(i.Y(),0)!=new Date(i.Y(),6)-Date.UTC(i.Y(),6)?1:0},O:function(){var e=n.getTimezoneOffset(),i=Math.abs(e);return(e>0?"-":"+")+t(100*Math.floor(i/60)+i%60,4)},P:function(){var e=i.O();return e.substr(0,3)+":"+e.substr(3,2)},Z:function(){return 60*-n.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(l,u)},r:function(){return"D, d M Y H:i:s O".replace(l,u)},U:function(){return n.getTime()/1e3||0}},u(e,e)},formatDate:function(e,t){var n,i,r,s,o,a=this,l="";if("string"==typeof e&&!1===(e=a.parseDate(e,t)))return!1;if(e instanceof Date){for(r=t.length,n=0;n<r;n++)"S"!==(o=t.charAt(n))&&(s=a.parseFormat(o,e),n!==r-1&&a.intParts.test(o)&&"S"===t.charAt(n+1)&&(i=parseInt(s),s+=a.dateSettings.ordinal(i)),l+=s);return l}return""}}}(),function(e){"function"==typeof define&&define.amd?define(["jquery","jquery-mousewheel"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){"use strict";function t(e,t,n){this.date=e,this.desc=t,this.style=n}var n={i18n:{ar:{months:["\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a","\u0634\u0628\u0627\u0637","\u0622\u0630\u0627\u0631","\u0646\u064a\u0633\u0627\u0646","\u0645\u0627\u064a\u0648","\u062d\u0632\u064a\u0631\u0627\u0646","\u062a\u0645\u0648\u0632","\u0622\u0628","\u0623\u064a\u0644\u0648\u0644","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a","\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"],dayOfWeekShort:["\u0646","\u062b","\u0639","\u062e","\u062c","\u0633","\u062d"],dayOfWeek:["\u0627\u0644\u0623\u062d\u062f","\u0627\u0644\u0627\u062b\u0646\u064a\u0646","\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062e\u0645\u064a\u0633","\u0627\u0644\u062c\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062a","\u0627\u0644\u0623\u062d\u062f"]},ro:{months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],dayOfWeekShort:["Du","Lu","Ma","Mi","Jo","Vi","S\xe2"],dayOfWeek:["Duminic\u0103","Luni","Mar\u0163i","Miercuri","Joi","Vineri","S\xe2mb\u0103t\u0103"]},id:{months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],dayOfWeekShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],dayOfWeek:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},is:{months:["Jan\xfaar","Febr\xfaar","Mars","Apr\xedl","Ma\xed","J\xfan\xed","J\xfal\xed","\xc1g\xfast","September","Okt\xf3ber","N\xf3vember","Desember"],dayOfWeekShort:["Sun","M\xe1n","\xderi\xf0","Mi\xf0","Fim","F\xf6s","Lau"],dayOfWeek:["Sunnudagur","M\xe1nudagur","\xderi\xf0judagur","Mi\xf0vikudagur","Fimmtudagur","F\xf6studagur","Laugardagur"]},bg:{months:["\u042f\u043d\u0443\u0430\u0440\u0438","\u0424\u0435\u0432\u0440\u0443\u0430\u0440\u0438","\u041c\u0430\u0440\u0442","\u0410\u043f\u0440\u0438\u043b","\u041c\u0430\u0439","\u042e\u043d\u0438","\u042e\u043b\u0438","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438","\u041e\u043a\u0442\u043e\u043c\u0432\u0440\u0438","\u041d\u043e\u0435\u043c\u0432\u0440\u0438","\u0414\u0435\u043a\u0435\u043c\u0432\u0440\u0438"],dayOfWeekShort:["\u041d\u0434","\u041f\u043d","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041f\u0442","\u0421\u0431"],dayOfWeek:["\u041d\u0435\u0434\u0435\u043b\u044f","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u044f\u0434\u0430","\u0427\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a","\u041f\u0435\u0442\u044a\u043a","\u0421\u044a\u0431\u043e\u0442\u0430"]},fa:{months:["\u0641\u0631\u0648\u0631\u062f\u06cc\u0646","\u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a","\u062e\u0631\u062f\u0627\u062f","\u062a\u06cc\u0631","\u0645\u0631\u062f\u0627\u062f","\u0634\u0647\u0631\u06cc\u0648\u0631","\u0645\u0647\u0631","\u0622\u0628\u0627\u0646","\u0622\u0630\u0631","\u062f\u06cc","\u0628\u0647\u0645\u0646","\u0627\u0633\u0641\u0646\u062f"],dayOfWeekShort:["\u06cc\u06a9\u0634\u0646\u0628\u0647","\u062f\u0648\u0634\u0646\u0628\u0647","\u0633\u0647 \u0634\u0646\u0628\u0647","\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647","\u067e\u0646\u062c\u0634\u0646\u0628\u0647","\u062c\u0645\u0639\u0647","\u0634\u0646\u0628\u0647"],dayOfWeek:["\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647","\u062f\u0648\u0634\u0646\u0628\u0647","\u0633\u0647\u200c\u0634\u0646\u0628\u0647","\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647","\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647","\u062c\u0645\u0639\u0647","\u0634\u0646\u0628\u0647","\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647"]},ru:{months:["\u042f\u043d\u0432\u0430\u0440\u044c","\u0424\u0435\u0432\u0440\u0430\u043b\u044c","\u041c\u0430\u0440\u0442","\u0410\u043f\u0440\u0435\u043b\u044c","\u041c\u0430\u0439","\u0418\u044e\u043d\u044c","\u0418\u044e\u043b\u044c","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u041e\u043a\u0442\u044f\u0431\u0440\u044c","\u041d\u043e\u044f\u0431\u0440\u044c","\u0414\u0435\u043a\u0430\u0431\u0440\u044c"],dayOfWeekShort:["\u0412\u0441","\u041f\u043d","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041f\u0442","\u0421\u0431"],dayOfWeek:["\u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440\u0433","\u041f\u044f\u0442\u043d\u0438\u0446\u0430","\u0421\u0443\u0431\u0431\u043e\u0442\u0430"]},uk:{months:["\u0421\u0456\u0447\u0435\u043d\u044c","\u041b\u044e\u0442\u0438\u0439","\u0411\u0435\u0440\u0435\u0437\u0435\u043d\u044c","\u041a\u0432\u0456\u0442\u0435\u043d\u044c","\u0422\u0440\u0430\u0432\u0435\u043d\u044c","\u0427\u0435\u0440\u0432\u0435\u043d\u044c","\u041b\u0438\u043f\u0435\u043d\u044c","\u0421\u0435\u0440\u043f\u0435\u043d\u044c","\u0412\u0435\u0440\u0435\u0441\u0435\u043d\u044c","\u0416\u043e\u0432\u0442\u0435\u043d\u044c","\u041b\u0438\u0441\u0442\u043e\u043f\u0430\u0434","\u0413\u0440\u0443\u0434\u0435\u043d\u044c"],dayOfWeekShort:["\u041d\u0434\u043b","\u041f\u043d\u0434","\u0412\u0442\u0440","\u0421\u0440\u0434","\u0427\u0442\u0432","\u041f\u0442\u043d","\u0421\u0431\u0442"],dayOfWeek:["\u041d\u0435\u0434\u0456\u043b\u044f","\u041f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a","\u0412\u0456\u0432\u0442\u043e\u0440\u043e\u043a","\u0421\u0435\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440","\u041f'\u044f\u0442\u043d\u0438\u0446\u044f","\u0421\u0443\u0431\u043e\u0442\u0430"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},el:{months:["\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2","\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2","\u039c\u03ac\u03b9\u03bf\u03c2","\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2","\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2","\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2","\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2","\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2"],dayOfWeekShort:["\u039a\u03c5\u03c1","\u0394\u03b5\u03c5","\u03a4\u03c1\u03b9","\u03a4\u03b5\u03c4","\u03a0\u03b5\u03bc","\u03a0\u03b1\u03c1","\u03a3\u03b1\u03b2"],dayOfWeek:["\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae","\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1","\u03a4\u03c1\u03af\u03c4\u03b7","\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7","\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7","\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae","\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf"]},de:{months:["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dayOfWeekShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayOfWeek:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},nl:{months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],dayOfWeekShort:["zo","ma","di","wo","do","vr","za"],dayOfWeek:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},tr:{months:["Ocak","\u015eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011fustos","Eyl\xfcl","Ekim","Kas\u0131m","Aral\u0131k"],dayOfWeekShort:["Paz","Pts","Sal","\xc7ar","Per","Cum","Cts"],dayOfWeek:["Pazar","Pazartesi","Sal\u0131","\xc7ar\u015famba","Per\u015fembe","Cuma","Cumartesi"]},fr:{months:["Janvier","F\xe9vrier","Mars","Avril","Mai","Juin","Juillet","Ao\xfbt","Septembre","Octobre","Novembre","D\xe9cembre"],dayOfWeekShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayOfWeek:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},es:{months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],dayOfWeekShort:["Dom","Lun","Mar","Mi\xe9","Jue","Vie","S\xe1b"],dayOfWeek:["Domingo","Lunes","Martes","Mi\xe9rcoles","Jueves","Viernes","S\xe1bado"]},th:{months:["\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21","\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c","\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21","\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19","\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21","\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19","\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21","\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21","\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19","\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21","\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19","\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21"],dayOfWeekShort:["\u0e2d\u0e32.","\u0e08.","\u0e2d.","\u0e1e.","\u0e1e\u0e24.","\u0e28.","\u0e2a."],dayOfWeek:["\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c","\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c","\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23","\u0e1e\u0e38\u0e18","\u0e1e\u0e24\u0e2b\u0e31\u0e2a","\u0e28\u0e38\u0e01\u0e23\u0e4c","\u0e40\u0e2a\u0e32\u0e23\u0e4c","\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c"]},pl:{months:["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017adziernik","listopad","grudzie\u0144"],dayOfWeekShort:["nd","pn","wt","\u015br","cz","pt","sb"],dayOfWeek:["niedziela","poniedzia\u0142ek","wtorek","\u015broda","czwartek","pi\u0105tek","sobota"]},pt:{months:["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],dayOfWeek:["Domingo","Segunda","Ter\xe7a","Quarta","Quinta","Sexta","S\xe1bado"]},ch:{months:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],dayOfWeekShort:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},se:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["S\xf6n","M\xe5n","Tis","Ons","Tor","Fre","L\xf6r"]},kr:{months:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],dayOfWeekShort:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],dayOfWeek:["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"]},it:{months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayOfWeek:["Domenica","Luned\xec","Marted\xec","Mercoled\xec","Gioved\xec","Venerd\xec","Sabato"]},da:{months:["January","Februar","Marts","April","Maj","Juni","July","August","September","Oktober","November","December"],dayOfWeekShort:["S\xf8n","Man","Tir","Ons","Tor","Fre","L\xf8r"],dayOfWeek:["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"]},no:{months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],dayOfWeekShort:["S\xf8n","Man","Tir","Ons","Tor","Fre","L\xf8r"],dayOfWeek:["S\xf8ndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","L\xf8rdag"]},ja:{months:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeekShort:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],dayOfWeek:["\u65e5\u66dc","\u6708\u66dc","\u706b\u66dc","\u6c34\u66dc","\u6728\u66dc","\u91d1\u66dc","\u571f\u66dc"]},vi:{months:["Th\xe1ng 1","Th\xe1ng 2","Th\xe1ng 3","Th\xe1ng 4","Th\xe1ng 5","Th\xe1ng 6","Th\xe1ng 7","Th\xe1ng 8","Th\xe1ng 9","Th\xe1ng 10","Th\xe1ng 11","Th\xe1ng 12"],dayOfWeekShort:["CN","T2","T3","T4","T5","T6","T7"],dayOfWeek:["Ch\u1ee7 nh\u1eadt","Th\u1ee9 hai","Th\u1ee9 ba","Th\u1ee9 t\u01b0","Th\u1ee9 n\u0103m","Th\u1ee9 s\xe1u","Th\u1ee9 b\u1ea3y"]},sl:{months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],dayOfWeekShort:["Ned","Pon","Tor","Sre","\u010cet","Pet","Sob"],dayOfWeek:["Nedelja","Ponedeljek","Torek","Sreda","\u010cetrtek","Petek","Sobota"]},cs:{months:["Leden","\xdanor","B\u0159ezen","Duben","Kv\u011bten","\u010cerven","\u010cervenec","Srpen","Z\xe1\u0159\xed","\u0158\xedjen","Listopad","Prosinec"],dayOfWeekShort:["Ne","Po","\xdat","St","\u010ct","P\xe1","So"]},hu:{months:["Janu\xe1r","Febru\xe1r","M\xe1rcius","\xc1prilis","M\xe1jus","J\xfanius","J\xfalius","Augusztus","Szeptember","Okt\xf3ber","November","December"],dayOfWeekShort:["Va","H\xe9","Ke","Sze","Cs","P\xe9","Szo"],dayOfWeek:["vas\xe1rnap","h\xe9tf\u0151","kedd","szerda","cs\xfct\xf6rt\xf6k","p\xe9ntek","szombat"]},az:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],dayOfWeekShort:["B","Be","\xc7a","\xc7","Ca","C","\u015e"],dayOfWeek:["Bazar","Bazar ert\u0259si","\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131","\xc7\u0259r\u015f\u0259nb\u0259","C\xfcm\u0259 ax\u015fam\u0131","C\xfcm\u0259","\u015e\u0259nb\u0259"]},bs:{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sri","\u010cet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","\u010cetvrtak","Petak","Subota"]},ca:{months:["Gener","Febrer","Mar\xe7","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],dayOfWeekShort:["Dg","Dl","Dt","Dc","Dj","Dv","Ds"],dayOfWeek:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"]},"en-GB":{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},et:{months:["Jaanuar","Veebruar","M\xe4rts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],dayOfWeekShort:["P","E","T","K","N","R","L"],dayOfWeek:["P\xfchap\xe4ev","Esmasp\xe4ev","Teisip\xe4ev","Kolmap\xe4ev","Neljap\xe4ev","Reede","Laup\xe4ev"]},eu:{months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],dayOfWeekShort:["Ig.","Al.","Ar.","Az.","Og.","Or.","La."],dayOfWeek:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"]},fi:{months:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kes\xe4kuu","Hein\xe4kuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],dayOfWeekShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayOfWeek:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},gl:{months:["Xan","Feb","Maz","Abr","Mai","Xun","Xul","Ago","Set","Out","Nov","Dec"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Xov","Ven","Sab"],dayOfWeek:["Domingo","Luns","Martes","M\xe9rcores","Xoves","Venres","S\xe1bado"]},hr:{months:["Sije\u010danj","Velja\u010da","O\u017eujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],dayOfWeekShort:["Ned","Pon","Uto","Sri","\u010cet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","\u010cetvrtak","Petak","Subota"]},ko:{months:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],dayOfWeekShort:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],dayOfWeek:["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"]},lt:{months:["Sausio","Vasario","Kovo","Baland\u017eio","Gegu\u017e\u0117s","Bir\u017eelio","Liepos","Rugpj\u016b\u010dio","Rugs\u0117jo","Spalio","Lapkri\u010dio","Gruod\u017eio"],dayOfWeekShort:["Sek","Pir","Ant","Tre","Ket","Pen","\u0160e\u0161"],dayOfWeek:["Sekmadienis","Pirmadienis","Antradienis","Tre\u010diadienis","Ketvirtadienis","Penktadienis","\u0160e\u0161tadienis"]},lv:{months:["Janv\u0101ris","Febru\u0101ris","Marts","Apr\u012blis ","Maijs","J\u016bnijs","J\u016blijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],dayOfWeekShort:["Sv","Pr","Ot","Tr","Ct","Pk","St"],dayOfWeek:["Sv\u0113tdiena","Pirmdiena","Otrdiena","Tre\u0161diena","Ceturtdiena","Piektdiena","Sestdiena"]},mk:{months:["\u0458\u0430\u043d\u0443\u0430\u0440\u0438","\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0438\u043b","\u043c\u0430\u0458","\u0458\u0443\u043d\u0438","\u0458\u0443\u043b\u0438","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438","\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438","\u043d\u043e\u0435\u043c\u0432\u0440\u0438","\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438"],dayOfWeekShort:["\u043d\u0435\u0434","\u043f\u043e\u043d","\u0432\u0442\u043e","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043f\u0435\u0442","\u0441\u0430\u0431"],dayOfWeek:["\u041d\u0435\u0434\u0435\u043b\u0430","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0440\u0442\u043e\u043a","\u041f\u0435\u0442\u043e\u043a","\u0421\u0430\u0431\u043e\u0442\u0430"]},mn:{months:["1-\u0440 \u0441\u0430\u0440","2-\u0440 \u0441\u0430\u0440","3-\u0440 \u0441\u0430\u0440","4-\u0440 \u0441\u0430\u0440","5-\u0440 \u0441\u0430\u0440","6-\u0440 \u0441\u0430\u0440","7-\u0440 \u0441\u0430\u0440","8-\u0440 \u0441\u0430\u0440","9-\u0440 \u0441\u0430\u0440","10-\u0440 \u0441\u0430\u0440","11-\u0440 \u0441\u0430\u0440","12-\u0440 \u0441\u0430\u0440"],dayOfWeekShort:["\u0414\u0430\u0432","\u041c\u044f\u0433","\u041b\u0445\u0430","\u041f\u04af\u0440","\u0411\u0441\u043d","\u0411\u044f\u043c","\u041d\u044f\u043c"],dayOfWeek:["\u0414\u0430\u0432\u0430\u0430","\u041c\u044f\u0433\u043c\u0430\u0440","\u041b\u0445\u0430\u0433\u0432\u0430","\u041f\u04af\u0440\u044d\u0432","\u0411\u0430\u0430\u0441\u0430\u043d","\u0411\u044f\u043c\u0431\u0430","\u041d\u044f\u043c"]},"pt-BR":{months:["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","S\xe1b"],dayOfWeek:["Domingo","Segunda","Ter\xe7a","Quarta","Quinta","Sexta","S\xe1bado"]},sk:{months:["Janu\xe1r","Febru\xe1r","Marec","Apr\xedl","M\xe1j","J\xfan","J\xfal","August","September","Okt\xf3ber","November","December"],dayOfWeekShort:["Ne","Po","Ut","St","\u0160t","Pi","So"],dayOfWeek:["Nede\u013ea","Pondelok","Utorok","Streda","\u0160tvrtok","Piatok","Sobota"]},sq:{months:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","N\xebntor","Dhjetor"],dayOfWeekShort:["Die","H\xebn","Mar","M\xebr","Enj","Pre","Shtu"],dayOfWeek:["E Diel","E H\xebn\xeb","E Mart\u0113","E M\xebrkur\xeb","E Enjte","E Premte","E Shtun\xeb"]},"sr-YU":{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sre","\u010det","Pet","Sub"],dayOfWeek:["Nedelja","Ponedeljak","Utorak","Sreda","\u010cetvrtak","Petak","Subota"]},sr:{months:["\u0458\u0430\u043d\u0443\u0430\u0440","\u0444\u0435\u0431\u0440\u0443\u0430\u0440","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0438\u043b","\u043c\u0430\u0458","\u0458\u0443\u043d","\u0458\u0443\u043b","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440","\u043e\u043a\u0442\u043e\u0431\u0430\u0440","\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440","\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440"],dayOfWeekShort:["\u043d\u0435\u0434","\u043f\u043e\u043d","\u0443\u0442\u043e","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043f\u0435\u0442","\u0441\u0443\u0431"],dayOfWeek:["\u041d\u0435\u0434\u0435\u0459\u0430","\u041f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a","\u0423\u0442\u043e\u0440\u0430\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0440\u0442\u0430\u043a","\u041f\u0435\u0442\u0430\u043a","\u0421\u0443\u0431\u043e\u0442\u0430"]},sv:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["S\xf6n","M\xe5n","Tis","Ons","Tor","Fre","L\xf6r"],dayOfWeek:["S\xf6ndag","M\xe5ndag","Tisdag","Onsdag","Torsdag","Fredag","L\xf6rdag"]},"zh-TW":{months:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],dayOfWeekShort:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},zh:{months:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],dayOfWeekShort:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},he:{months:["\u05d9\u05e0\u05d5\u05d0\u05e8","\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8","\u05de\u05e8\u05e5","\u05d0\u05e4\u05e8\u05d9\u05dc","\u05de\u05d0\u05d9","\u05d9\u05d5\u05e0\u05d9","\u05d9\u05d5\u05dc\u05d9","\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8","\u05e1\u05e4\u05d8\u05de\u05d1\u05e8","\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8","\u05e0\u05d5\u05d1\u05de\u05d1\u05e8","\u05d3\u05e6\u05de\u05d1\u05e8"],dayOfWeekShort:["\u05d0'","\u05d1'","\u05d2'","\u05d3'","\u05d4'","\u05d5'","\u05e9\u05d1\u05ea"],dayOfWeek:["\u05e8\u05d0\u05e9\u05d5\u05df","\u05e9\u05e0\u05d9","\u05e9\u05dc\u05d9\u05e9\u05d9","\u05e8\u05d1\u05d9\u05e2\u05d9","\u05d7\u05de\u05d9\u05e9\u05d9","\u05e9\u05d9\u05e9\u05d9","\u05e9\u05d1\u05ea","\u05e8\u05d0\u05e9\u05d5\u05df"]},hy:{months:["\u0540\u0578\u0582\u0576\u057e\u0561\u0580","\u0553\u0565\u057f\u0580\u057e\u0561\u0580","\u0544\u0561\u0580\u057f","\u0531\u057a\u0580\u056b\u056c","\u0544\u0561\u0575\u056b\u057d","\u0540\u0578\u0582\u0576\u056b\u057d","\u0540\u0578\u0582\u056c\u056b\u057d","\u0555\u0563\u0578\u057d\u057f\u0578\u057d","\u054d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580","\u0540\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580","\u0546\u0578\u0575\u0565\u0574\u0562\u0565\u0580","\u0534\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580"],dayOfWeekShort:["\u053f\u056b","\u0535\u0580\u056f","\u0535\u0580\u0584","\u0549\u0578\u0580","\u0540\u0576\u0563","\u0548\u0582\u0580\u0562","\u0547\u0562\u0569"],dayOfWeek:["\u053f\u056b\u0580\u0561\u056f\u056b","\u0535\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b","\u0535\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b","\u0549\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b","\u0540\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b","\u0548\u0582\u0580\u0562\u0561\u0569","\u0547\u0561\u0562\u0561\u0569"]},kg:{months:["\u04ae\u0447\u0442\u04af\u043d \u0430\u0439\u044b","\u0411\u0438\u0440\u0434\u0438\u043d \u0430\u0439\u044b","\u0416\u0430\u043b\u0433\u0430\u043d \u041a\u0443\u0440\u0430\u043d","\u0427\u044b\u043d \u041a\u0443\u0440\u0430\u043d","\u0411\u0443\u0433\u0443","\u041a\u0443\u043b\u0436\u0430","\u0422\u0435\u043a\u0435","\u0411\u0430\u0448 \u041e\u043e\u043d\u0430","\u0410\u044f\u043a \u041e\u043e\u043d\u0430","\u0422\u043e\u0433\u0443\u0437\u0434\u0443\u043d \u0430\u0439\u044b","\u0416\u0435\u0442\u0438\u043d\u0438\u043d \u0430\u0439\u044b","\u0411\u0435\u0448\u0442\u0438\u043d \u0430\u0439\u044b"],dayOfWeekShort:["\u0416\u0435\u043a","\u0414\u04af\u0439","\u0428\u0435\u0439","\u0428\u0430\u0440","\u0411\u0435\u0439","\u0416\u0443\u043c","\u0418\u0448\u0435"],dayOfWeek:["\u0416\u0435\u043a\u0448\u0435\u043c\u0431","\u0414\u04af\u0439\u0448\u04e9\u043c\u0431","\u0428\u0435\u0439\u0448\u0435\u043c\u0431","\u0428\u0430\u0440\u0448\u0435\u043c\u0431","\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438","\u0416\u0443\u043c\u0430","\u0418\u0448\u0435\u043d\u0431"]},rm:{months:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],dayOfWeekShort:["Du","Gli","Ma","Me","Gie","Ve","So"],dayOfWeek:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"]},ka:{months:["\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8","\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8","\u10db\u10d0\u10e0\u10e2\u10d8","\u10d0\u10de\u10e0\u10d8\u10da\u10d8","\u10db\u10d0\u10d8\u10e1\u10d8","\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8","\u10d8\u10d5\u10da\u10d8\u10e1\u10d8","\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd","\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8","\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8","\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8","\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8"],dayOfWeekShort:["\u10d9\u10d5","\u10dd\u10e0\u10e8","\u10e1\u10d0\u10db\u10e8","\u10dd\u10d7\u10ee","\u10ee\u10e3\u10d7","\u10de\u10d0\u10e0","\u10e8\u10d0\u10d1"],dayOfWeek:["\u10d9\u10d5\u10d8\u10e0\u10d0","\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8","\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8"]}},value:"",rtl:!1,format:"Y/m/d H:i",formatTime:"H:i",formatDate:"Y/m/d",startDate:!1,step:60,monthChangeSpinner:!0,closeOnDateSelect:!1,closeOnTimeSelect:!0,closeOnWithoutClick:!0,closeOnInputClick:!0,timepicker:!0,datepicker:!0,weeks:!1,defaultTime:!1,defaultDate:!1,minDate:!1,maxDate:!1,minTime:!1,maxTime:!1,disabledMinTime:!1,disabledMaxTime:!1,allowTimes:[],opened:!1,initTime:!0,inline:!1,theme:"",onSelectDate:function(){},onSelectTime:function(){},onChangeMonth:function(){},onGetWeekOfYear:function(){},onChangeYear:function(){},onChangeDateTime:function(){},onShow:function(){},onClose:function(){},onGenerate:function(){},withoutCopyright:!0,inverseButton:!1,hours12:!1,next:"xdsoft_next",prev:"xdsoft_prev",dayOfWeekStart:0,parentID:"body",timeHeightInTimePicker:25,timepickerScrollbar:!0,todayButton:!0,prevButton:!0,nextButton:!0,defaultSelect:!0,scrollMonth:!0,scrollTime:!0,scrollInput:!0,lazyInit:!1,mask:!1,validateOnBlur:!0,allowBlank:!0,yearStart:1950,yearEnd:2050,monthStart:0,monthEnd:11,style:"",id:"",fixed:!1,roundTime:"round",className:"",weekends:[],highlightedDates:[],highlightedPeriods:[],allowDates:[],allowDateRe:null,disabledDates:[],disabledWeekDays:[],yearOffset:0,beforeShowDay:null,enterLikeTab:!0,showApplyButton:!1},i=null,r="en",s="en",o={meridiem:["AM","PM"]},a=function(){var t=n.i18n[s],r={days:t.dayOfWeek,daysShort:t.dayOfWeekShort,months:t.months,monthsShort:e.map(t.months,function(e){return e.substring(0,3)})};i=new DateFormatter({dateSettings:e.extend({},o,r)})};e.datetimepicker={setLocale:function(e){var t=n.i18n[e]?e:r;s!=t&&(s=t,a())},setDateFormatter:function(e){i=e},RFC_2822:"D, d M Y H:i:s O",ATOM:"Y-m-dTH:i:sP",ISO_8601:"Y-m-dTH:i:sO",RFC_822:"D, d M y H:i:s O",RFC_850:"l, d-M-y H:i:s T",RFC_1036:"D, d M y H:i:s O",RFC_1123:"D, d M Y H:i:s O",RSS:"D, d M Y H:i:s O",W3C:"Y-m-dTH:i:sP"},a(),window.getComputedStyle||(window.getComputedStyle=function(e){return this.el=e,this.getPropertyValue=function(t){var n=/(\-([a-z]){1})/g;return"float"===t&&(t="styleFloat"),n.test(t)&&(t=t.replace(n,function(e,t,n){return n.toUpperCase()})),e.currentStyle[t]||null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var n,i;for(n=t||0,i=this.length;n<i;n+=1)if(this[n]===e)return n;return-1}),Date.prototype.countDaysInMonth=function(){return new Date(this.getFullYear(),this.getMonth()+1,0).getDate()},e.fn.xdsoftScroller=function(t){return this.each(function(){var n,i,r,s,o,a=e(this),l=function(e){var t,n={x:0,y:0};return"touchstart"===e.type||"touchmove"===e.type||"touchend"===e.type||"touchcancel"===e.type?(t=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],n.x=t.clientX,n.y=t.clientY):"mousedown"!==e.type&&"mouseup"!==e.type&&"mousemove"!==e.type&&"mouseover"!==e.type&&"mouseout"!==e.type&&"mouseenter"!==e.type&&"mouseleave"!==e.type||(n.x=e.clientX,n.y=e.clientY),n},u=100,c=!1,d=0,h=0,f=0,p=!1,m=0,g=function(){};"hide"!==t?(e(this).hasClass("xdsoft_scroller_box")||(n=a.children().eq(0),i=a[0].clientHeight,r=n[0].offsetHeight,s=e('<div class="xdsoft_scrollbar"></div>'),o=e('<div class="xdsoft_scroller"></div>'),s.append(o),a.addClass("xdsoft_scroller_box").append(s),g=function(e){var t=l(e).y-d+m;t<0&&(t=0),t+o[0].offsetHeight>f&&(t=f-o[0].offsetHeight),a.trigger("scroll_element.xdsoft_scroller",[u?t/u:0])},o.on("touchstart.xdsoft_scroller mousedown.xdsoft_scroller",function(n){i||a.trigger("resize_scroll.xdsoft_scroller",[t]),d=l(n).y,m=parseInt(o.css("margin-top"),10),f=s[0].offsetHeight,"mousedown"===n.type||"touchstart"===n.type?(document&&e(document.body).addClass("xdsoft_noselect"),e([document.body,window]).on("touchend mouseup.xdsoft_scroller",function r(){e([document.body,window]).off("touchend mouseup.xdsoft_scroller",r).off("mousemove.xdsoft_scroller",g).removeClass("xdsoft_noselect")}),e(document.body).on("mousemove.xdsoft_scroller",g)):(p=!0,n.stopPropagation(),n.preventDefault())}).on("touchmove",function(e){p&&(e.preventDefault(),g(e))}).on("touchend touchcancel",function(){p=!1,m=0}),a.on("scroll_element.xdsoft_scroller",function(e,t){i||a.trigger("resize_scroll.xdsoft_scroller",[t,!0]),t=t>1?1:t<0||isNaN(t)?0:t,o.css("margin-top",u*t),setTimeout(function(){n.css("marginTop",-parseInt((n[0].offsetHeight-i)*t,10))},10)}).on("resize_scroll.xdsoft_scroller",function(e,t,l){var c,d;i=a[0].clientHeight,r=n[0].offsetHeight,d=(c=i/r)*s[0].offsetHeight,c>1?o.hide():(o.show(),o.css("height",parseInt(d>10?d:10,10)),u=s[0].offsetHeight-o[0].offsetHeight,!0!==l&&a.trigger("scroll_element.xdsoft_scroller",[t||Math.abs(parseInt(n.css("marginTop"),10))/(r-i)]))}),a.on("mousewheel",function(e){var t=Math.abs(parseInt(n.css("marginTop"),10));return(t-=20*e.deltaY)<0&&(t=0),a.trigger("scroll_element.xdsoft_scroller",[t/(r-i)]),e.stopPropagation(),!1}),a.on("touchstart",function(e){c=l(e),h=Math.abs(parseInt(n.css("marginTop"),10))}),a.on("touchmove",function(e){if(c){e.preventDefault();var t=l(e);a.trigger("scroll_element.xdsoft_scroller",[(h-(t.y-c.y))/(r-i)])}}),a.on("touchend touchcancel",function(){c=!1,h=0})),a.trigger("resize_scroll.xdsoft_scroller",[t])):a.find(".xdsoft_scrollbar").hide()})},e.fn.datetimepicker=function(r,o){var a,l,u=this,c=48,d=57,h=96,f=105,p=17,m=46,g=13,y=27,v=8,_=37,w=38,x=39,b=40,S=9,k=116,T=65,D=67,C=86,M=90,O=89,$=!1,P=e.isPlainObject(r)||!r?e.extend(!0,{},n,r):e.extend(!0,{},n),A=0,E=function(e){e.on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function t(){e.is(":disabled")||e.data("xdsoft_datetimepicker")||(clearTimeout(A),A=setTimeout(function(){e.data("xdsoft_datetimepicker")||a(e),e.off("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",t).trigger("open.xdsoft")},100))})};return a=function(n){function o(){var e,t=!1;return P.startDate?t=N.strToDate(P.startDate):(t=P.value||(n&&n.val&&n.val()?n.val():""))?t=N.strToDateTime(t):P.defaultDate&&(t=N.strToDateTime(P.defaultDate),P.defaultTime&&(e=N.strtotime(P.defaultTime),t.setHours(e.getHours()),t.setMinutes(e.getMinutes()))),t&&N.isValidDate(t)?Y.data("changed",!0):t="",t||0}function a(t){var i=function(e,t){var n=e.replace(/([\[\]\/\{\}\(\)\-\.\+]{1})/g,"\\$1").replace(/_/g,"{digit+}").replace(/([0-9]{1})/g,"{digit$1}").replace(/\{digit([0-9]{1})\}/g,"[0-$1_]{1}").replace(/\{digit[\+]\}/g,"[0-9_]{1}");return new RegExp(n).test(t)},r=function(e){try{if(document.selection&&document.selection.createRange)return document.selection.createRange().getBookmark().charCodeAt(2)-2;if(e.setSelectionRange)return e.selectionStart}catch(t){return 0}},s=function(e,t){if(!(e="string"==typeof e||e instanceof String?document.getElementById(e):e))return!1;if(e.createTextRange){var n=e.createTextRange();return n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select(),!0}return!!e.setSelectionRange&&(e.setSelectionRange(t,t),!0)};t.mask&&n.off("keydown.xdsoft"),!0===t.mask&&("undefined"!=typeof moment?t.mask=t.format.replace(/Y{4}/g,"9999").replace(/Y{2}/g,"99").replace(/M{2}/g,"19").replace(/D{2}/g,"39").replace(/H{2}/g,"29").replace(/m{2}/g,"59").replace(/s{2}/g,"59"):t.mask=t.format.replace(/Y/g,"9999").replace(/F/g,"9999").replace(/m/g,"19").replace(/d/g,"39").replace(/H/g,"29").replace(/i/g,"59").replace(/s/g,"59")),"string"===e.type(t.mask)&&(i(t.mask,n.val())||(n.val(t.mask.replace(/[0-9]/g,"_")),s(n[0],0)),n.on("keydown.xdsoft",function(o){var a,l,u=this.value,P=o.which;if(P>=c&&P<=d||P>=h&&P<=f||P===v||P===m){for(a=r(this),l=P!==v&&P!==m?String.fromCharCode(h<=P&&P<=f?P-c:P):"_",P!==v&&P!==m||!a||(a-=1,l="_");/[^0-9_]/.test(t.mask.substr(a,1))&&a<t.mask.length&&a>0;)a+=P===v||P===m?-1:1;if(u=u.substr(0,a)+l+u.substr(a+1),""===e.trim(u))u=t.mask.replace(/[0-9]/g,"_");else if(a===t.mask.length)return o.preventDefault(),!1;for(a+=P===v||P===m?0:1;/[^0-9_]/.test(t.mask.substr(a,1))&&a<t.mask.length&&a>0;)a+=P===v||P===m?-1:1;i(t.mask,u)?(this.value=u,s(this,a)):""===e.trim(u)?this.value=t.mask.replace(/[0-9]/g,"_"):n.trigger("error_input.xdsoft")}else if(-1!==[T,D,C,M,O].indexOf(P)&&$||-1!==[y,w,b,_,x,k,p,S,g].indexOf(P))return!0;return o.preventDefault(),!1}))}var l,u,A,E,N,H,Y=e('<div class="xdsoft_datetimepicker xdsoft_noselect"></div>'),j=e('<div class="xdsoft_copyright"><a target="_blank" href="http://xdsoft.net/jqplugins/datetimepicker/">xdsoft.net</a></div>'),W=e('<div class="xdsoft_datepicker active"></div>'),I=e('<div class="xdsoft_mounthpicker"><button type="button" class="xdsoft_prev"></button><button type="button" class="xdsoft_today_button"></button><div class="xdsoft_label xdsoft_month"><span></span><i></i></div><div class="xdsoft_label xdsoft_year"><span></span><i></i></div><button type="button" class="xdsoft_next"></button></div>'),L=e('<div class="xdsoft_calendar"></div>'),F=e('<div class="xdsoft_timepicker active"><button type="button" class="xdsoft_prev"></button><div class="xdsoft_time_box"></div><button type="button" class="xdsoft_next"></button></div>'),z=F.find(".xdsoft_time_box").eq(0),R=e('<div class="xdsoft_time_variant"></div>'),q=e('<button type="button" class="xdsoft_save_selected blue-gradient-button">Save Selected</button>'),B=e('<div class="xdsoft_select xdsoft_monthselect"><div></div></div>'),U=e('<div class="xdsoft_select xdsoft_yearselect"><div></div></div>'),V=!1,G=0;P.id&&Y.attr("id",P.id),P.style&&Y.attr("style",P.style),P.weeks&&Y.addClass("xdsoft_showweeks"),P.rtl&&Y.addClass("xdsoft_rtl"),Y.addClass("xdsoft_"+P.theme),Y.addClass(P.className),I.find(".xdsoft_month span").after(B),I.find(".xdsoft_year span").after(U),I.find(".xdsoft_month,.xdsoft_year").on("touchstart mousedown.xdsoft",function(t){var n,i,r=e(this).find(".xdsoft_select").eq(0),s=0,o=0,a=r.is(":visible");for(I.find(".xdsoft_select").hide(),N.currentTime&&(s=N.currentTime[e(this).hasClass("xdsoft_month")?"getMonth":"getFullYear"]()),r[a?"hide":"show"](),n=r.find("div.xdsoft_option"),i=0;i<n.length&&n.eq(i).data("value")!==s;i+=1)o+=n[0].offsetHeight;return r.xdsoftScroller(o/(r.children()[0].offsetHeight-r[0].clientHeight)),t.stopPropagation(),!1}),I.find(".xdsoft_select").xdsoftScroller().on("touchstart mousedown.xdsoft",function(e){e.stopPropagation(),e.preventDefault()}).on("touchstart mousedown.xdsoft",".xdsoft_option",function(){N.currentTime!==undefined&&null!==N.currentTime||(N.currentTime=N.now());var t=N.currentTime.getFullYear();N&&N.currentTime&&N.currentTime[e(this).parent().parent().hasClass("xdsoft_monthselect")?"setMonth":"setFullYear"](e(this).data("value")),e(this).parent().parent().hide(),Y.trigger("xchange.xdsoft"),P.onChangeMonth&&e.isFunction(P.onChangeMonth)&&P.onChangeMonth.call(Y,N.currentTime,Y.data("input")),t!==N.currentTime.getFullYear()&&e.isFunction(P.onChangeYear)&&P.onChangeYear.call(Y,N.currentTime,Y.data("input"))}),Y.getValue=function(){return N.getCurrentTime()},Y.setOptions=function(r){var s={};P=e.extend(!0,{},P,r),r.allowTimes&&e.isArray(r.allowTimes)&&r.allowTimes.length&&(P.allowTimes=e.extend(!0,[],r.allowTimes)),r.weekends&&e.isArray(r.weekends)&&r.weekends.length&&(P.weekends=e.extend(!0,[],r.weekends)),r.allowDates&&e.isArray(r.allowDates)&&r.allowDates.length&&(P.allowDates=e.extend(!0,[],r.allowDates)),r.allowDateRe&&"[object String]"===Object.prototype.toString.call(r.allowDateRe)&&(P.allowDateRe=new RegExp(r.allowDateRe)),r.highlightedDates&&e.isArray(r.highlightedDates)&&r.highlightedDates.length&&(e.each(r.highlightedDates,function(n,r){var o,a=e.map(r.split(","),e.trim),l=new t(i.parseDate(a[0],P.formatDate),a[1],a[2]),u=i.formatDate(l.date,P.formatDate);s[u]!==undefined?(o=s[u].desc)&&o.length&&l.desc&&l.desc.length&&(s[u].desc=o+"\n"+l.desc):s[u]=l}),P.highlightedDates=e.extend(!0,[],s)),r.highlightedPeriods&&e.isArray(r.highlightedPeriods)&&r.highlightedPeriods.length&&(s=e.extend(!0,[],P.highlightedDates),e.each(r.highlightedPeriods,function(n,r){var o,a,l,u,c,d,h;if(e.isArray(r))o=r[0],a=r[1],l=r[2],h=r[3];else{var f=e.map(r.split(","),e.trim);o=i.parseDate(f[0],P.formatDate),a=i.parseDate(f[1],P.formatDate),l=f[2],h=f[3]}for(;o<=a;)u=new t(o,l,h),c=i.formatDate(o,P.formatDate),o.setDate(o.getDate()+1),s[c]!==undefined?(d=s[c].desc)&&d.length&&u.desc&&u.desc.length&&(s[c].desc=d+"\n"+u.desc):s[c]=u}),P.highlightedDates=e.extend(!0,[],s)),r.disabledDates&&e.isArray(r.disabledDates)&&r.disabledDates.length&&(P.disabledDates=e.extend(!0,[],r.disabledDates)),r.disabledWeekDays&&e.isArray(r.disabledWeekDays)&&r.disabledWeekDays.length&&(P.disabledWeekDays=e.extend(!0,[],r.disabledWeekDays)),!P.open&&!P.opened||P.inline||n.trigger("open.xdsoft"),P.inline&&(V=!0,Y.addClass("xdsoft_inline"),n.after(Y).hide()),P.inverseButton&&(P.next="xdsoft_prev",P.prev="xdsoft_next"),P.datepicker?W.addClass("active"):W.removeClass("active"),P.timepicker?F.addClass("active"):F.removeClass("active"),P.value&&(N.setCurrentTime(P.value),n&&n.val&&n.val(N.str)),isNaN(P.dayOfWeekStart)?P.dayOfWeekStart=0:P.dayOfWeekStart=parseInt(P.dayOfWeekStart,10)%7,P.timepickerScrollbar||z.xdsoftScroller("hide"),P.minDate&&/^[\+\-](.*)$/.test(P.minDate)&&(P.minDate=i.formatDate(N.strToDateTime(P.minDate),P.formatDate)),P.maxDate&&/^[\+\-](.*)$/.test(P.maxDate)&&(P.maxDate=i.formatDate(N.strToDateTime(P.maxDate),P.formatDate)),q.toggle(P.showApplyButton),I.find(".xdsoft_today_button").css("visibility",P.todayButton?"visible":"hidden"),I.find("."+P.prev).css("visibility",P.prevButton?"visible":"hidden"),I.find("."+P.next).css("visibility",P.nextButton?"visible":"hidden"),a(P),P.validateOnBlur&&n.off("blur.xdsoft").on("blur.xdsoft",function(){if(P.allowBlank&&(!e.trim(e(this).val()).length||"string"==typeof P.mask&&e.trim(e(this).val())===P.mask.replace(/[0-9]/g,"_")))e(this).val(null),Y.data("xdsoft_datetime").empty();else{var t=i.parseDate(e(this).val(),P.format);if(t)e(this).val(i.formatDate(t,P.format));else{var n=+[e(this).val()[0],e(this).val()[1]].join(""),r=+[e(this).val()[2],e(this).val()[3]].join("");!P.datepicker&&P.timepicker&&n>=0&&n<24&&r>=0&&r<60?e(this).val([n,r].map(function(e){return e>9?e:"0"+e}).join(":")):e(this).val(i.formatDate(N.now(),P.format))}Y.data("xdsoft_datetime").setCurrentTime(e(this).val())}Y.trigger("changedatetime.xdsoft"),Y.trigger("close.xdsoft")}),P.dayOfWeekStartPrev=0===P.dayOfWeekStart?6:P.dayOfWeekStart-1,Y.trigger("xchange.xdsoft").trigger("afterOpen.xdsoft")},Y.data("options",P).on("touchstart mousedown.xdsoft",function(e){return e.stopPropagation(),e.preventDefault(),U.hide(),B.hide(),!1}),z.append(R),z.xdsoftScroller(),Y.on("afterOpen.xdsoft",function(){z.xdsoftScroller()}),Y.append(W).append(F),!0!==P.withoutCopyright&&Y.append(j),W.append(I).append(L).append(q),e(P.parentID).append(Y),N=new function(){var t=this;t.now=function(e){var n,i,r=new Date;return!e&&P.defaultDate&&(n=t.strToDateTime(P.defaultDate),r.setFullYear(n.getFullYear()),r.setMonth(n.getMonth()),r.setDate(n.getDate())),P.yearOffset&&r.setFullYear(r.getFullYear()+P.yearOffset),!e&&P.defaultTime&&(i=t.strtotime(P.defaultTime),r.setHours(i.getHours()),r.setMinutes(i.getMinutes())),r},t.isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},t.setCurrentTime=function(e,n){"string"==typeof e?t.currentTime=t.strToDateTime(e):t.isValidDate(e)?t.currentTime=e:e||n||!P.allowBlank?t.currentTime=t.now():t.currentTime=null,Y.trigger("xchange.xdsoft")},t.empty=function(){t.currentTime=null},t.getCurrentTime=function(){return t.currentTime},t.nextMonth=function(){t.currentTime!==undefined&&null!==t.currentTime||(t.currentTime=t.now());var n,i=t.currentTime.getMonth()+1;return 12===i&&(t.currentTime.setFullYear(t.currentTime.getFullYear()+1),i=0),n=t.currentTime.getFullYear(),t.currentTime.setDate(Math.min(new Date(t.currentTime.getFullYear(),i+1,0).getDate(),t.currentTime.getDate())),t.currentTime.setMonth(i),P.onChangeMonth&&e.isFunction(P.onChangeMonth)&&P.onChangeMonth.call(Y,N.currentTime,Y.data("input")),n!==t.currentTime.getFullYear()&&e.isFunction(P.onChangeYear)&&P.onChangeYear.call(Y,N.currentTime,Y.data("input")),Y.trigger("xchange.xdsoft"),i},t.prevMonth=function(){t.currentTime!==undefined&&null!==t.currentTime||(t.currentTime=t.now());var n=t.currentTime.getMonth()-1;return-1===n&&(t.currentTime.setFullYear(t.currentTime.getFullYear()-1),n=11),t.currentTime.setDate(Math.min(new Date(t.currentTime.getFullYear(),n+1,0).getDate(),t.currentTime.getDate())),t.currentTime.setMonth(n),P.onChangeMonth&&e.isFunction(P.onChangeMonth)&&P.onChangeMonth.call(Y,N.currentTime,Y.data("input")),Y.trigger("xchange.xdsoft"),n},t.getWeekOfYear=function(t){if(P.onGetWeekOfYear&&e.isFunction(P.onGetWeekOfYear)){var n=P.onGetWeekOfYear.call(Y,t);if(void 0!==n)return n}var i=new Date(t.getFullYear(),0,1);return 4!=i.getDay()&&i.setMonth(0,1+(4-i.getDay()+7)%7),Math.ceil(((t-i)/864e5+i.getDay()+1)/7)},t.strToDateTime=function(e){var n,r,s=[];return e&&e instanceof Date&&t.isValidDate(e)?e:((s=/^(\+|\-)(.*)$/.exec(e))&&(s[2]=i.parseDate(s[2],P.formatDate)),s&&s[2]?(n=s[2].getTime()-6e4*s[2].getTimezoneOffset(),r=new Date(t.now(!0).getTime()+parseInt(s[1]+"1",10)*n)):r=e?i.parseDate(e,P.format):t.now(),t.isValidDate(r)||(r=t.now()),r)},t.strToDate=function(e){if(e&&e instanceof Date&&t.isValidDate(e))return e;var n=e?i.parseDate(e,P.formatDate):t.now(!0);return t.isValidDate(n)||(n=t.now(!0)),n},t.strtotime=function(e){if(e&&e instanceof Date&&t.isValidDate(e))return e;var n=e?i.parseDate(e,P.formatTime):t.now(!0);return t.isValidDate(n)||(n=t.now(!0)),n},t.str=function(){return i.formatDate(t.currentTime,P.format)},t.currentTime=this.now()},q.on("touchend click",function(e){e.preventDefault(),Y.data("changed",!0),N.setCurrentTime(o()),n.val(N.str()),Y.trigger("close.xdsoft")}),I.find(".xdsoft_today_button").on("touchend mousedown.xdsoft",function(){Y.data("changed",!0),N.setCurrentTime(0,!0),Y.trigger("afterOpen.xdsoft")}).on("dblclick.xdsoft",function(){var e,t,i=N.getCurrentTime();i=new Date(i.getFullYear(),i.getMonth(),i.getDate()),e=N.strToDate(P.minDate),i<(e=new Date(e.getFullYear(),e.getMonth(),e.getDate()))||(t=N.strToDate(P.maxDate),i>(t=new Date(t.getFullYear(),t.getMonth(),t.getDate()))||(n.val(N.str()),n.trigger("change"),Y.trigger("close.xdsoft")))}),I.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var t=e(this),n=0,i=!1;!function r(e){t.hasClass(P.next)?N.nextMonth():t.hasClass(P.prev)&&N.prevMonth(),P.monthChangeSpinner&&(i||(n=setTimeout(r,e||100)))}(500),e([document.body,window]).on("touchend mouseup.xdsoft",function s(){clearTimeout(n),i=!0,e([document.body,window]).off("touchend mouseup.xdsoft",s)})}),F.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var t=e(this),n=0,i=!1,r=110;!function s(e){var o=z[0].clientHeight,a=R[0].offsetHeight,l=Math.abs(parseInt(R.css("marginTop"),10));t.hasClass(P.next)&&a-o-P.timeHeightInTimePicker>=l?R.css("marginTop","-"+(l+P.timeHeightInTimePicker)+"px"):t.hasClass(P.prev)&&l-P.timeHeightInTimePicker>=0&&R.css("marginTop","-"+(l-P.timeHeightInTimePicker)+"px"),z.trigger("scroll_element.xdsoft_scroller",[Math.abs(parseInt(R[0].style.marginTop,10)/(a-o))]),r=r>10?10:r-10,i||(n=setTimeout(s,e||r))}(500),e([document.body,window]).on("touchend mouseup.xdsoft",function o(){clearTimeout(n),i=!0,e([document.body,window]).off("touchend mouseup.xdsoft",o)})}),l=0,Y.on("xchange.xdsoft",function(t){clearTimeout(l),l=setTimeout(function(){if(N.currentTime===undefined||null===N.currentTime){if(P.allowBlank)return;N.currentTime=N.now()}for(var t,o,a,l,u,c,d,h,f,p,m="",g=new Date(N.currentTime.getFullYear(),N.currentTime.getMonth(),1,12,0,0),y=0,v=N.now(),_=!1,w=!1,x=[],b=!0,S="";g.getDay()!==P.dayOfWeekStart;)g.setDate(g.getDate()-1);for(m+="<table><thead><tr>",P.weeks&&(m+="<th></th>"),t=0;t<7;t+=1)m+="<th>"+P.i18n[s].dayOfWeekShort[(t+P.dayOfWeekStart)%7]+"</th>";for(m+="</tr></thead>",m+="<tbody>",!1!==P.maxDate&&(_=N.strToDate(P.maxDate),_=new Date(_.getFullYear(),_.getMonth(),_.getDate(),23,59,59,999)),!1!==P.minDate&&(w=N.strToDate(P.minDate),w=new Date(w.getFullYear(),w.getMonth(),w.getDate()));y<N.currentTime.countDaysInMonth()||g.getDay()!==P.dayOfWeekStart||N.currentTime.getMonth()===g.getMonth();)x=[],y+=1,a=g.getDay(),l=g.getDate(),u=g.getFullYear(),c=g.getMonth(),d=N.getWeekOfYear(g),p="",x.push("xdsoft_date"),h=P.beforeShowDay&&e.isFunction(P.beforeShowDay.call)?P.beforeShowDay.call(Y,g):null,P.allowDateRe&&"[object RegExp]"===Object.prototype.toString.call(P.allowDateRe)?P.allowDateRe.test(i.formatDate(g,P.formatDate))||x.push("xdsoft_disabled"):P.allowDates&&P.allowDates.length>0?-1===P.allowDates.indexOf(i.formatDate(g,P.formatDate))&&x.push("xdsoft_disabled"):!1!==_&&g>_||!1!==w&&g<w||h&&!1===h[0]?x.push("xdsoft_disabled"):-1!==P.disabledDates.indexOf(i.formatDate(g,P.formatDate))?x.push("xdsoft_disabled"):-1!==P.disabledWeekDays.indexOf(a)?x.push("xdsoft_disabled"):n.is("[readonly]")&&x.push("xdsoft_disabled"),h&&""!==h[1]&&x.push(h[1]),N.currentTime.getMonth()!==c&&x.push("xdsoft_other_month"),(P.defaultSelect||Y.data("changed"))&&i.formatDate(N.currentTime,P.formatDate)===i.formatDate(g,P.formatDate)&&x.push("xdsoft_current"),i.formatDate(v,P.formatDate)===i.formatDate(g,P.formatDate)&&x.push("xdsoft_today"),0!==g.getDay()&&6!==g.getDay()&&-1===P.weekends.indexOf(i.formatDate(g,P.formatDate))||x.push("xdsoft_weekend"),P.highlightedDates[i.formatDate(g,P.formatDate)]!==undefined&&(o=P.highlightedDates[i.formatDate(g,P.formatDate)],x.push(o.style===undefined?"xdsoft_highlighted_default":o.style),p=o.desc===undefined?"":o.desc),P.beforeShowDay&&e.isFunction(P.beforeShowDay)&&x.push(P.beforeShowDay(g)),b&&(m+="<tr>",b=!1,P.weeks&&(m+="<th>"+d+"</th>")),m+='<td data-date="'+l+'" data-month="'+c+'" data-year="'+u+'" class="xdsoft_date xdsoft_day_of_week'+g.getDay()+" "+x.join(" ")+'" title="'+p+'"><div>'+l+"</div></td>",g.getDay()===P.dayOfWeekStartPrev&&(m+="</tr>",b=!0),g.setDate(l+1);if(m+="</tbody></table>",L.html(m),I.find(".xdsoft_label span").eq(0).text(P.i18n[s].months[N.currentTime.getMonth()]),I.find(".xdsoft_label span").eq(1).text(N.currentTime.getFullYear()),S="","",c="",f=function(t,r){var s,o,a=N.now(),l=P.allowTimes&&e.isArray(P.allowTimes)&&P.allowTimes.length;a.setHours(t),t=parseInt(a.getHours(),10),a.setMinutes(r),r=parseInt(a.getMinutes(),10),(s=new Date(N.currentTime)).setHours(t),s.setMinutes(r),x=[],!1!==P.minDateTime&&P.minDateTime>s||!1!==P.maxTime&&N.strtotime(P.maxTime).getTime()<a.getTime()||!1!==P.minTime&&N.strtotime(P.minTime).getTime()>a.getTime()?x.push("xdsoft_disabled"):!1!==P.minDateTime&&P.minDateTime>s||!1!==P.disabledMinTime&&a.getTime()>N.strtotime(P.disabledMinTime).getTime()&&!1!==P.disabledMaxTime&&a.getTime()<N.strtotime(P.disabledMaxTime).getTime()?x.push("xdsoft_disabled"):n.is("[readonly]")&&x.push("xdsoft_disabled"),(o=new Date(N.currentTime)).setHours(parseInt(N.currentTime.getHours(),10)),l||o.setMinutes(Math[P.roundTime](N.currentTime.getMinutes()/P.step)*P.step),(P.initTime||P.defaultSelect||Y.data("changed"))&&o.getHours()===parseInt(t,10)&&(!l&&P.step>59||o.getMinutes()===parseInt(r,10))&&(P.defaultSelect||Y.data("changed")?x.push("xdsoft_current"):P.initTime&&x.push("xdsoft_init_time")),parseInt(v.getHours(),10)===parseInt(t,10)&&parseInt(v.getMinutes(),10)===parseInt(r,10)&&x.push("xdsoft_today"),S+='<div class="xdsoft_time '+x.join(" ")+'" data-hour="'+t+'" data-minute="'+r+'">'+i.formatDate(a,P.formatTime)+"</div>"},P.allowTimes&&e.isArray(P.allowTimes)&&P.allowTimes.length)for(y=0;y<P.allowTimes.length;y+=1)f(N.strtotime(P.allowTimes[y]).getHours(),c=N.strtotime(P.allowTimes[y]).getMinutes());else for(y=0,t=0;y<(P.hours12?12:24);y+=1)for(t=0;t<60;t+=P.step)f((y<10?"0":"")+y,c=(t<10?"0":"")+t);for(R.html(S),r="",y=0,y=parseInt(P.yearStart,10)+P.yearOffset;y<=parseInt(P.yearEnd,10)+P.yearOffset;y+=1)r+='<div class="xdsoft_option '+(N.currentTime.getFullYear()===y?"xdsoft_current":"")+'" data-value="'+y+'">'+y+"</div>";for(U.children().eq(0).html(r),y=parseInt(P.monthStart,10),r="";y<=parseInt(P.monthEnd,10);y+=1)r+='<div class="xdsoft_option '+(N.currentTime.getMonth()===y?"xdsoft_current":"")+'" data-value="'+y+'">'+P.i18n[s].months[y]+"</div>";B.children().eq(0).html(r),e(Y).trigger("generate.xdsoft")},10),t.stopPropagation()}).on("afterOpen.xdsoft",function(){var e,t,n,i;P.timepicker&&(R.find(".xdsoft_current").length?e=".xdsoft_current":R.find(".xdsoft_init_time").length&&(e=".xdsoft_init_time"),e?(t=z[0].clientHeight,(n=R[0].offsetHeight)-t<(i=R.find(e).index()*P.timeHeightInTimePicker+1)&&(i=n-t),z.trigger("scroll_element.xdsoft_scroller",[parseInt(i,10)/(n-t)])):z.trigger("scroll_element.xdsoft_scroller",[0]))}),u=0,L.on("touchend click.xdsoft","td",function(t){t.stopPropagation(),u+=1;var i=e(this),r=N.currentTime;if(r!==undefined&&null!==r||(N.currentTime=N.now(),r=N.currentTime),i.hasClass("xdsoft_disabled"))return!1;r.setDate(1),r.setFullYear(i.data("year")),r.setMonth(i.data("month")),r.setDate(i.data("date")),Y.trigger("select.xdsoft",[r]),n.val(N.str()),P.onSelectDate&&e.isFunction(P.onSelectDate)&&P.onSelectDate.call(Y,N.currentTime,Y.data("input"),t),Y.data("changed",!0),Y.trigger("xchange.xdsoft"),Y.trigger("changedatetime.xdsoft"),(u>1||!0===P.closeOnDateSelect||!1===P.closeOnDateSelect&&!P.timepicker)&&!P.inline&&Y.trigger("close.xdsoft"),setTimeout(function(){u=0},200)}),R.on("touchend click.xdsoft","div",function(t){t.stopPropagation();var n=e(this),i=N.currentTime;if(i!==undefined&&null!==i||(N.currentTime=N.now(),i=N.currentTime),n.hasClass("xdsoft_disabled"))return!1;i.setHours(n.data("hour")),i.setMinutes(n.data("minute")),Y.trigger("select.xdsoft",[i]),Y.data("input").val(N.str()),P.onSelectTime&&e.isFunction(P.onSelectTime)&&P.onSelectTime.call(Y,N.currentTime,Y.data("input"),t),Y.data("changed",!0),Y.trigger("xchange.xdsoft"),Y.trigger("changedatetime.xdsoft"),!0!==P.inline&&!0===P.closeOnTimeSelect&&Y.trigger("close.xdsoft")}),W.on("mousewheel.xdsoft",function(e){return!P.scrollMonth||(e.deltaY<0?N.nextMonth():N.prevMonth(),!1)}),n.on("mousewheel.xdsoft",function(e){return!P.scrollInput||(!P.datepicker&&P.timepicker?((A=R.find(".xdsoft_current").length?R.find(".xdsoft_current").eq(0).index():0)+e.deltaY>=0&&A+e.deltaY<R.children().length&&(A+=e.deltaY),R.children().eq(A).length&&R.children().eq(A).trigger("mousedown"),!1):P.datepicker&&!P.timepicker?(W.trigger(e,[e.deltaY,e.deltaX,e.deltaY]),n.val&&n.val(N.str()),Y.trigger("changedatetime.xdsoft"),!1):void 0)}),Y.on("changedatetime.xdsoft",function(t){if(P.onChangeDateTime&&e.isFunction(P.onChangeDateTime)){var n=Y.data("input");P.onChangeDateTime.call(Y,N.currentTime,n,t),delete P.value,n.trigger("change")}}).on("generate.xdsoft",function(){P.onGenerate&&e.isFunction(P.onGenerate)&&P.onGenerate.call(Y,N.currentTime,Y.data("input")),V&&(Y.trigger("afterOpen.xdsoft"),V=!1)}).on("click.xdsoft",function(e){e.stopPropagation()}),A=0,H=function(e,t){do{if(!1===t(e=e.parentNode))break}while("HTML"!==e.nodeName)},E=function(){var t,n,i,r,s,o,a,l,u,c,d,h,f;if(t=(l=Y.data("input")).offset(),n=l[0],c="top",i=t.top+n.offsetHeight-1,r=t.left,s="absolute",u=e(window).width(),h=e(window).height(),f=e(window).scrollTop(),document.documentElement.clientWidth-t.left<W.parent().outerWidth(!0)){var p=W.parent().outerWidth(!0)-n.offsetWidth;r-=p}"rtl"===l.parent().css("direction")&&(r-=Y.outerWidth()-l.outerWidth()),P.fixed?(i-=f,r-=e(window).scrollLeft(),s="fixed"):(a=!1,H(n,function(e){if("fixed"===window.getComputedStyle(e).getPropertyValue("position"))return a=!0,!1}),a?(s="fixed",i+Y.outerHeight()>h+f?(c="bottom",i=h+f-t.top):i-=f):i+n.offsetHeight>h+f&&(i=t.top-n.offsetHeight+1),i<0&&(i=0),r+n.offsetWidth>u&&(r=u-n.offsetWidth)),o=Y[0],H(o,function(e){if("relative"===window.getComputedStyle(e).getPropertyValue("position")&&u>=e.offsetWidth)return r-=(u-e.offsetWidth)/2,!1}),(d={position:s,left:r,top:"",bottom:""})[c]=i,Y.css(d)},Y.on("open.xdsoft",function(t){var n=!0;P.onShow&&e.isFunction(P.onShow)&&(n=P.onShow.call(Y,N.currentTime,Y.data("input"),t)),!1!==n&&(Y.show(),E(),e(window).off("resize.xdsoft",E).on("resize.xdsoft",E),P.closeOnWithoutClick&&e([document.body,window]).on("touchstart mousedown.xdsoft",function i(){Y.trigger("close.xdsoft"),e([document.body,window]).off("touchstart mousedown.xdsoft",i)}))}).on("close.xdsoft",function(t){var n=!0;I.find(".xdsoft_month,.xdsoft_year").find(".xdsoft_select").hide(),P.onClose&&e.isFunction(P.onClose)&&(n=P.onClose.call(Y,N.currentTime,Y.data("input"),t)),!1===n||P.opened||P.inline||Y.hide(),t.stopPropagation()}).on("toggle.xdsoft",function(){Y.is(":visible")?Y.trigger("close.xdsoft"):Y.trigger("open.xdsoft")}).data("input",n),G=0,Y.data("xdsoft_datetime",N),Y.setOptions(P),N.setCurrentTime(o()),n.data("xdsoft_datetimepicker",Y).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function(){n.is(":disabled")||n.data("xdsoft_datetimepicker").is(":visible")&&P.closeOnInputClick||(clearTimeout(G),G=setTimeout(function(){n.is(":disabled")||(V=!0,N.setCurrentTime(o(),!0),P.mask&&a(P),Y.trigger("open.xdsoft"))},100))}).on("keydown.xdsoft",function(t){var n,i=t.which;return-1!==[g].indexOf(i)&&P.enterLikeTab?(n=e("input:visible,textarea:visible,button:visible,a:visible"),Y.trigger("close.xdsoft"),n.eq(n.index(this)+1).focus(),!1):-1!==[S].indexOf(i)?(Y.trigger("close.xdsoft"),!0):void 0}).on("blur.xdsoft",function(){Y.trigger("close.xdsoft")})},l=function(t){var n=t.data("xdsoft_datetimepicker");n&&(n.data("xdsoft_datetime",null),n.remove(),t.data("xdsoft_datetimepicker",null).off(".xdsoft"),e(window).off("resize.xdsoft"),e([window,document.body]).off("mousedown.xdsoft touchstart"),t.unmousewheel&&t.unmousewheel())},e(document).off("keydown.xdsoftctrl keyup.xdsoftctrl").on("keydown.xdsoftctrl",function(e){e.keyCode===p&&($=!0)}).on("keyup.xdsoftctrl",function(e){e.keyCode===p&&($=!1)}),this.each(function(){var t=e(this).data("xdsoft_datetimepicker");if(t){if("string"===e.type(r))switch(r){case"show":e(this).select().focus(),t.trigger("open.xdsoft");break;case"hide":t.trigger("close.xdsoft");break;case"toggle":t.trigger("toggle.xdsoft");break;case"destroy":l(e(this));break;case"reset":this.value=this.defaultValue,this.value&&t.data("xdsoft_datetime").isValidDate(i.parseDate(this.value,P.format))||t.data("changed",!1),t.data("xdsoft_datetime").setCurrentTime(this.value);break;case"validate":t.data("input").trigger("blur.xdsoft");break;default:t[r]&&e.isFunction(t[r])&&(u=t[r](o))}else t.setOptions(r);return 0}"string"!==e.type(r)&&(!P.lazyInit||P.open||P.inline?a(e(this)):E(e(this)))}),u},e.fn.datetimepicker.defaults=n}),
/*!
 * jQuery Mousewheel 3.1.13
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 */
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var o=t||window.event,a=l.call(arguments,1),u=0,d=0,h=0,f=0,p=0,m=0;if((t=e.event.fix(o)).type="mousewheel","detail"in o&&(h=-1*o.detail),"wheelDelta"in o&&(h=o.wheelDelta),"wheelDeltaY"in o&&(h=o.wheelDeltaY),"wheelDeltaX"in o&&(d=-1*o.wheelDeltaX),"axis"in o&&o.axis===o.HORIZONTAL_AXIS&&(d=-1*h,h=0),u=0===h?d:h,"deltaY"in o&&(u=h=-1*o.deltaY),"deltaX"in o&&(d=o.deltaX,0===h&&(u=-1*d)),0!==h||0!==d){if(1===o.deltaMode){var g=e.data(this,"mousewheel-line-height");u*=g,h*=g,d*=g}else if(2===o.deltaMode){var y=e.data(this,"mousewheel-page-height");u*=y,h*=y,d*=y}if(f=Math.max(Math.abs(h),Math.abs(d)),(!s||f<s)&&(s=f,i(o,f)&&(s/=40)),i(o,f)&&(u/=40,d/=40,h/=40),u=Math[u>=1?"floor":"ceil"](u/s),d=Math[d>=1?"floor":"ceil"](d/s),h=Math[h>=1?"floor":"ceil"](h/s),c.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();p=t.clientX-v.left,m=t.clientY-v.top}return t.deltaX=d,t.deltaY=h,t.deltaFactor=s,t.offsetX=p,t.offsetY=m,t.deltaMode=0,a.unshift(t,u,d,h),r&&clearTimeout(r),r=setTimeout(n,200),(e.event.dispatch||e.event.handle).apply(this,a)}}function n(){s=null}function i(e,t){return c.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var r,s,o=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var u=o.length;u;)e.event.fixHooks[o[--u]]=e.event.mouseHooks;var c=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=a.length;n;)this.addEventListener(a[--n],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",c.getLineHeight(this)),e.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=a.length;n;)this.removeEventListener(a[--n],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),
/*! nanoScrollerJS - v0.8.7 - 2015
* http://jamesflorentino.github.com/nanoScrollerJS/
* Copyright (c) 2015 James Florentino; Licensed MIT */
function(e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t,window,document)}):"object"==typeof exports?module.exports=e(require("jquery"),window,document):e(jQuery,window,document)}(function(e,t,n){"use strict";var i,r,s,o,a,l,u,c,d,h,f,p,m,g,y,v,_,w,x,b,S,k,T,D,C,M,O;b={paneClass:"nano-pane",sliderClass:"nano-slider",contentClass:"nano-content",enabledClass:"has-scrollbar",flashedClass:"flashed",activeClass:"active",iOSNativeScrolling:!1,preventPageScrolling:!1,disableResize:!1,alwaysVisible:!1,flashDelay:1500,sliderMinHeight:20,sliderMaxHeight:null,documentContext:null,windowContext:null},y="scroll",u="mousedown",c="mouseenter",d="mousemove",f="mousewheel",h="mouseup",g="resize",a="drag",l="enter",_="up",m="panedown",s="DOMMouseScroll",o="down",w="wheel",v="touchmove",i="Microsoft Internet Explorer"===t.navigator.appName&&/msie 7./i.test(t.navigator.appVersion)&&t.ActiveXObject,r=null,D=t.requestAnimationFrame,x=t.cancelAnimationFrame,M=n.createElement("div").style,O=function(){var e,t,n,i;for(e=n=0,i=(t=["t","webkitT","MozT","msT","OT"]).length;n<i;e=++n)if(t[e],t[e]+"ransform"in M)return t[e].substr(0,t[e].length-1);return!1}(),C=function(e){return!1!==O&&(""===O?e:O+e.charAt(0).toUpperCase()+e.substr(1))}("transform"),k=!1!==C,S=function(){var e,t,i;return(t=(e=n.createElement("div")).style).position="absolute",t.width="100px",t.height="100px",t.overflow=y,t.top="-9999px",n.body.appendChild(e),i=e.offsetWidth-e.clientWidth,n.body.removeChild(e),i},T=function(){var e,n,i;return n=t.navigator.userAgent,!!(e=/(?=.+Mac OS X)(?=.+Firefox)/.test(n))&&((i=/Firefox\/\d{2}\./.exec(n))&&(i=i[0].replace(/\D+/g,"")),e&&+i>23)},p=function(){function p(i,s){this.el=i,this.options=s,r||(r=S()),this.$el=e(this.el),this.doc=e(this.options.documentContext||n),this.win=e(this.options.windowContext||t),this.body=this.doc.find("body"),this.$content=this.$el.children("."+this.options.contentClass),this.$content.attr("tabindex",this.options.tabIndex||0),this.content=this.$content[0],this.previousPosition=0,this.options.iOSNativeScrolling&&null!=this.el.style.WebkitOverflowScrolling?this.nativeScrolling():this.generate(),this.createEvents(),this.addEvents(),this.reset()}return p.prototype.preventScrolling=function(e,t){if(this.isActive)if(e.type===s)(t===o&&e.originalEvent.detail>0||t===_&&e.originalEvent.detail<0)&&e.preventDefault();else if(e.type===f){if(!e.originalEvent||!e.originalEvent.wheelDelta)return;(t===o&&e.originalEvent.wheelDelta<0||t===_&&e.originalEvent.wheelDelta>0)&&e.preventDefault()}},p.prototype.nativeScrolling=function(){this.$content.css({WebkitOverflowScrolling:"touch"}),this.iOSNativeScrolling=!0,this.isActive=!0},p.prototype.updateScrollValues=function(){var e,t;e=this.content,this.maxScrollTop=e.scrollHeight-e.clientHeight,this.prevScrollTop=this.contentScrollTop||0,this.contentScrollTop=e.scrollTop,t=this.contentScrollTop>this.previousPosition?"down":this.contentScrollTop<this.previousPosition?"up":"same",this.previousPosition=this.contentScrollTop,"same"!==t&&this.$el.trigger("update",{position:this.contentScrollTop,maximum:this.maxScrollTop,direction:t}),this.iOSNativeScrolling||(this.maxSliderTop=this.paneHeight-this.sliderHeight,this.sliderTop=0===this.maxScrollTop?0:this.contentScrollTop*this.maxSliderTop/this.maxScrollTop)},p.prototype.setOnScrollStyles=function(){var e,t;k?(e={})[C]="translate(0, "+this.sliderTop+"px)":e={top:this.sliderTop},D?(x&&this.scrollRAF&&x(this.scrollRAF),this.scrollRAF=D((t=this,function(){return t.scrollRAF=null,t.slider.css(e)}))):this.slider.css(e)},p.prototype.createEvents=function(){var e;this.events={down:(e=this,function(t){return e.isBeingDragged=!0,e.offsetY=t.pageY-e.slider.offset().top,e.slider.is(t.target)||(e.offsetY=0),e.pane.addClass(e.options.activeClass),e.doc.bind(d,e.events[a]).bind(h,e.events[_]),e.body.bind(c,e.events[l]),!1}),drag:function(e){return function(t){return e.sliderY=t.pageY-e.$el.offset().top-e.paneTop-(e.offsetY||.5*e.sliderHeight),e.scroll(),e.contentScrollTop>=e.maxScrollTop&&e.prevScrollTop!==e.maxScrollTop?e.$el.trigger("scrollend"):0===e.contentScrollTop&&0!==e.prevScrollTop&&e.$el.trigger("scrolltop"),!1}}(this),up:function(e){return function(){return e.isBeingDragged=!1,e.pane.removeClass(e.options.activeClass),e.doc.unbind(d,e.events[a]).unbind(h,e.events[_]),e.body.unbind(c,e.events[l]),!1}}(this),resize:function(e){return function(){e.reset()}}(this),panedown:function(e){return function(t){return e.sliderY=(t.offsetY||t.originalEvent.layerY)-.5*e.sliderHeight,e.scroll(),e.events.down(t),!1}}(this),scroll:function(e){return function(t){e.updateScrollValues(),e.isBeingDragged||(e.iOSNativeScrolling||(e.sliderY=e.sliderTop,e.setOnScrollStyles()),null!=t&&(e.contentScrollTop>=e.maxScrollTop?(e.options.preventPageScrolling&&e.preventScrolling(t,o),e.prevScrollTop!==e.maxScrollTop&&e.$el.trigger("scrollend")):0===e.contentScrollTop&&(e.options.preventPageScrolling&&e.preventScrolling(t,_),0!==e.prevScrollTop&&e.$el.trigger("scrolltop"))))}}(this),wheel:function(e){return function(t){var n;if(null!=t)return(n=t.delta||t.wheelDelta||t.originalEvent&&t.originalEvent.wheelDelta||-t.detail||t.originalEvent&&-t.originalEvent.detail)&&(e.sliderY+=-n/3),e.scroll(),!1}}(this),enter:function(e){return function(t){var n;if(e.isBeingDragged)return 1!==(t.buttons||t.which)?(n=e.events)[_].apply(n,arguments):void 0}}(this)}},p.prototype.addEvents=function(){var e;this.removeEvents(),e=this.events,this.options.disableResize||this.win.bind(g,e[g]),this.iOSNativeScrolling||(this.slider.bind(u,e[o]),this.pane.bind(u,e[m]).bind(f+" "+s,e[w])),this.$content.bind(y+" "+f+" "+s+" "+v,e[y])},p.prototype.removeEvents=function(){var e;e=this.events,this.win.unbind(g,e[g]),this.iOSNativeScrolling||(this.slider.unbind(),this.pane.unbind()),this.$content.unbind(y+" "+f+" "+s+" "+v,e[y])},p.prototype.generate=function(){var e,n,i,s,o;return s=(n=this.options).paneClass,o=n.sliderClass,n.contentClass,(i=this.$el.children("."+s)).length||i.children("."+o).length||this.$el.append('<div class="'+s+'"><div class="'+o+'" /></div>'),this.pane=this.$el.children("."+s),this.slider=this.pane.find("."+o),0===r&&T()?e={right:-14,paddingRight:+t.getComputedStyle(this.content,null).getPropertyValue("padding-right").replace(/[^0-9.]+/g,"")+14}:r&&(e={right:-r},this.$el.addClass(n.enabledClass)),null!=e&&this.$content.css(e),this},p.prototype.restore=function(){this.stopped=!1,this.iOSNativeScrolling||this.pane.show(),this.addEvents()},p.prototype.reset=function(){var e,t,n,s,o,a,l,u,c,d,h;if(!this.iOSNativeScrolling)return this.$el.find("."+this.options.paneClass).length||this.generate().stop(),this.stopped&&this.restore(),o=(s=(e=this.content).style).overflowY,i&&this.$content.css({height:this.$content.height()}),t=e.scrollHeight+r,(c=parseInt(this.$el.css("max-height"),10))>0&&(this.$el.height(""),this.$el.height(e.scrollHeight>c?c:e.scrollHeight)),l=(a=this.pane.outerHeight(!1))+(u=parseInt(this.pane.css("top"),10))+parseInt(this.pane.css("bottom"),10),(h=Math.round(l/t*a))<this.options.sliderMinHeight?h=this.options.sliderMinHeight:null!=this.options.sliderMaxHeight&&h>this.options.sliderMaxHeight&&(h=this.options.sliderMaxHeight),o===y&&s.overflowX!==y&&(h+=r),this.maxSliderTop=l-h,this.contentHeight=t,this.paneHeight=a,this.paneOuterHeight=l,this.sliderHeight=h,this.paneTop=u,this.slider.height(h),this.events.scroll(),this.pane.show(),this.isActive=!0,e.scrollHeight===e.clientHeight||this.pane.outerHeight(!0)>=e.scrollHeight&&o!==y?(this.pane.hide(),this.isActive=!1):this.el.clientHeight===e.scrollHeight&&o===y?this.slider.hide():this.slider.show(),this.pane.css({opacity:this.options.alwaysVisible?1:"",visibility:this.options.alwaysVisible?"visible":""}),"static"!==(n=this.$content.css("position"))&&"relative"!==n||(d=parseInt(this.$content.css("right"),10))&&this.$content.css({right:"",marginRight:d}),this;this.contentHeight=this.content.scrollHeight},p.prototype.scroll=function(){if(this.isActive)return this.sliderY=Math.max(0,this.sliderY),this.sliderY=Math.min(this.maxSliderTop,this.sliderY),this.$content.scrollTop(this.maxScrollTop*this.sliderY/this.maxSliderTop),this.iOSNativeScrolling||(this.updateScrollValues(),this.setOnScrollStyles()),this},p.prototype.scrollBottom=function(e){if(this.isActive)return this.$content.scrollTop(this.contentHeight-this.$content.height()-e).trigger(f),this.stop().restore(),this},p.prototype.scrollTop=function(e){if(this.isActive)return this.$content.scrollTop(+e).trigger(f),this.stop().restore(),this},p.prototype.scrollTo=function(e){if(this.isActive)return this.scrollTop(this.$el.find(e).get(0).offsetTop),this},p.prototype.stop=function(){return x&&this.scrollRAF&&(x(this.scrollRAF),this.scrollRAF=null),this.stopped=!0,this.removeEvents(),this.iOSNativeScrolling||this.pane.hide(),this},p.prototype.destroy=function(){return this.stopped||this.stop(),!this.iOSNativeScrolling&&this.pane.length&&this.pane.remove(),i&&this.$content.height(""),this.$content.removeAttr("tabindex"),this.$el.hasClass(this.options.enabledClass)&&(this.$el.removeClass(this.options.enabledClass),this.$content.css({right:""})),this},p.prototype.flash=function(){var e;if(!this.iOSNativeScrolling&&this.isActive)return this.reset(),this.pane.addClass(this.options.flashedClass),setTimeout((e=this,function(){e.pane.removeClass(e.options.flashedClass)}),this.options.flashDelay),this},p}(),e.fn.nanoScroller=function(t){return this.each(function(){var n,i;if((i=this.nanoscroller)||(n=e.extend({},b,t),this.nanoscroller=i=new p(this,n)),t&&"object"==typeof t){if(e.extend(i.options,t),null!=t.scrollBottom)return i.scrollBottom(t.scrollBottom);if(null!=t.scrollTop)return i.scrollTop(t.scrollTop);if(t.scrollTo)return i.scrollTo(t.scrollTo);if("bottom"===t.scroll)return i.scrollBottom(0);if("top"===t.scroll)return i.scrollTop(0);if(t.scroll&&t.scroll instanceof e)return i.scrollTo(t.scroll);if(t.stop)return i.stop();if(t.destroy)return i.destroy();if(t.flash)return i.flash()}return i.reset()})},e.fn.nanoScroller.Constructor=p}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(e){var t,n,i,r,s,o,a="Close",l="BeforeClose",u="AfterClose",c="BeforeAppend",d="MarkupParse",h="Open",f="Change",p="mfp",m="."+p,g="mfp-ready",y="mfp-removing",v="mfp-prevent-close",_=function(){},w=!!window.jQuery,x=e(window),b=function(e,n){t.ev.on(p+e+m,n)},S=function(t,n,i,r){var s=document.createElement("div");return s.className="mfp-"+t,i&&(s.innerHTML=i),r?n&&n.appendChild(s):(s=e(s),n&&s.appendTo(n)),s},k=function(n,i){t.ev.triggerHandler(p+n,i),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(i)?i:[i]))},T=function(n){return n===o&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),o=n),t.currTemplate.closeBtn},D=function(){e.magnificPopup.instance||((t=new _).init(),e.magnificPopup.instance=t)},C=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(e.transition!==undefined)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};_.prototype={constructor:_,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=C(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(n){var r;if(!1===n.isObj){t.items=n.items.toArray(),t.index=0;var o,a=n.items;for(r=0;r<a.length;r++)if((o=a[r]).parsed&&(o=o.el[0]),o===n.el[0]){t.index=r;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(!t.isOpen){t.types=[],s="",n.mainEl&&n.mainEl.length?t.ev=n.mainEl.eq(0):t.ev=i,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=S("bg").on("click"+m,function(){t.close()}),t.wrap=S("wrap").attr("tabindex",-1).on("click"+m,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=S("container",t.wrap)),t.contentContainer=S("content"),t.st.preloader&&(t.preloader=S("preloader",t.container,t.st.tLoading));var l=e.magnificPopup.modules;for(r=0;r<l.length;r++){var u=l[r];u=u.charAt(0).toUpperCase()+u.slice(1),t["init"+u].call(t)}k("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(b(d,function(e,t,n,i){n.close_replaceWith=T(i.type)}),s+=" mfp-close-btn-in"):t.wrap.append(T())),t.st.alignTop&&(s+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:x.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup"+m,function(e){27===e.keyCode&&t.close()}),x.on("resize"+m,function(){t.updateSize()}),t.st.closeOnContentClick||(s+=" mfp-auto-cursor"),s&&t.wrap.addClass(s);var c=t.wH=x.height(),f={};if(t.fixedContentPos&&t._hasScrollBar(c)){var p=t._getScrollbarSize();p&&(f.marginRight=p)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):f.overflow="hidden");var y=t.st.mainClass;return t.isIE7&&(y+=" mfp-ie7"),y&&t._addClassToMFP(y),t.updateItemHTML(),k("BuildControls"),e("html").css(f),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(g),t._setFocus()):t.bgOverlay.addClass(g),i.on("focusin"+m,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(c),k(h),n}t.updateItemHTML()},close:function(){t.isOpen&&(k(l),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(y),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){k(a);var n=y+" "+g+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var r={marginRight:""};t.isIE7?e("body, html").css("overflow",""):r.overflow="",e("html").css(r)}i.off("keyup"+m+" focusin"+m),t.ev.off(m),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,k(u)},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||x.height();t.fixedContentPos||t.wrap.css("height",t.wH),k("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(k("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var s=!!t.st[i]&&t.st[i].markup;k("FirstMarkupParse",s),t.currTemplate[i]=!s||e(s)}r&&r!==n.type&&t.container.removeClass("mfp-"+r+"-holder");var o=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(o,i),n.preloaded=!0,k(f,n),r=n.type,t.container.prepend(t.contentContainer),k("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[n]?t.content.find(".mfp-close").length||t.content.append(T()):t.content=e:t.content="",k(c),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i,r=t.items[n];if(r.tagName?r={el:e(r)}:(i=r.type,r={data:r,src:r.src}),r.el){for(var s=t.types,o=0;o<s.length;o++)if(r.el.hasClass("mfp-"+s[o])){i=s[o];break}r.src=r.el.attr("data-mfp-src"),r.src||(r.src=r.el.attr("href"))}return r.type=i||t.st.type||"inline",r.index=n,r.parsed=!0,t.items[n]=r,k("ElementParse",r),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var r="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(r).on(r,i)):(n.isObj=!1,n.delegate?e.off(r).on(r,n.delegate,i):(n.items=e,e.off(r).on(r,i)))},_openClick:function(n,i,r){if((r.midClick!==undefined?r.midClick:e.magnificPopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var s=r.disableOn!==undefined?r.disableOn:e.magnificPopup.defaults.disableOn;if(s)if(e.isFunction(s)){if(!s.call(t))return!0}else if(x.width()<s)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),r.el=e(n.mfpEl),r.delegate&&(r.items=i.find(r.delegate)),t.open(r)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),i||"loading"!==e||(i=t.st.tLoading);var r={status:e,text:i};k("UpdateStatus",r),e=r.status,i=r.text,t.preloader.html(i),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass(v)){var i=t.st.closeOnContentClick,r=t.st.closeOnBgClick;if(i&&r)return!0;if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(r&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?i.height():document.body.scrollHeight)>(e||x.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,n,i){var r;i.data&&(n=e.extend(i.data,n)),k(d,[t,n,i]),e.each(n,function(n,i){if(i===undefined||!1===i)return!0;if((r=n.split("_")).length>1){var s=t.find(m+"-"+r[0]);if(s.length>0){var o=r[1];"replaceWith"===o?s[0]!==i[0]&&s.replaceWith(i):"img"===o?s.is("img")?s.attr("src",i):s.replaceWith(e("<img>").attr("src",i).attr("class",s.attr("class"))):s.attr(r[1],i)}}else t.find(m+"-"+n).html(i)})},_getScrollbarSize:function(){if(t.scrollbarSize===undefined){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:_.prototype,modules:[],open:function(t,n){return D(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},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}},e.fn.magnificPopup=function(n){D();var i=e(this);if("string"==typeof n)if("open"===n){var r,s=w?i.data("magnificPopup"):i[0].magnificPopup,o=parseInt(arguments[1],10)||0;s.items?r=s.items[o]:(r=i,s.delegate&&(r=r.find(s.delegate)),r=r.eq(o)),t._openClick({mfpEl:r},i,s)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),w?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var M,O,$,P="inline",A=function(){$&&(O.after($.addClass(M)).detach(),$=null)};e.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(P),b(a+"."+P,function(){A()})},getInline:function(n,i){if(A(),n.src){var r=t.st.inline,s=e(n.src);if(s.length){var o=s[0].parentNode;o&&o.tagName&&(O||(M=r.hiddenClass,O=S(M),M="mfp-"+M),$=s.after(O).detach().removeClass(M)),t.updateStatus("ready")}else t.updateStatus("error",r.tNotFound),s=e("<div>");return n.inlineElement=s,s}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var E,N="ajax",H=function(){E&&e(document.body).removeClass(E)},Y=function(){H(),t.req&&t.req.abort()};e.magnificPopup.registerModule(N,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(N),E=t.st.ajax.cursor,b(a+"."+N,Y),b("BeforeChange."+N,Y)},getAjax:function(n){E&&e(document.body).addClass(E),t.updateStatus("loading");var i=e.extend({url:n.src,success:function(i,r,s){var o={data:i,xhr:s};k("ParseAjax",o),t.appendContent(e(o.data),N),n.finished=!0,H(),t._setFocus(),setTimeout(function(){t.wrap.addClass(g)},16),t.updateStatus("ready"),k("AjaxContentAdded")},error:function(){H(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(i),""}}});var j,W=function(n){if(n.data&&n.data.title!==undefined)return n.data.title;var i=t.st.image.titleSrc;if(i){if(e.isFunction(i))return i.call(t,n);if(n.el)return n.el.attr(i)||""}return""};e.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 n=t.st.image,i=".image";t.types.push("image"),b(h+i,function(){"image"===t.currItem.type&&n.cursor&&e(document.body).addClass(n.cursor)}),b(a+i,function(){n.cursor&&e(document.body).removeClass(n.cursor),x.off("resize"+m)}),b("Resize"+i,t.resizeImage),t.isLowIE&&b("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,j&&clearInterval(j),e.isCheckingImgSize=!1,k("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],r=function(s){j&&clearInterval(j),j=setInterval(function(){i.naturalWidth>0?t._onImageHasSize(e):(n>200&&clearInterval(j),3===++n?r(10):40===n?r(50):100===n&&r(500))},s)};r(1)},getImage:function(n,i){var r=0,s=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,k("ImageLoadComplete")):++r<200?setTimeout(s,100):o())},o=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",a.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},a=t.st.image,l=i.find(".mfp-img");if(l.length){var u=document.createElement("img");u.className="mfp-img",n.el&&n.el.find("img").length&&(u.alt=n.el.find("img").attr("alt")),n.img=e(u).on("load.mfploader",s).on("error.mfploader",o),u.src=n.src,l.is("img")&&(n.img=n.img.clone()),(u=n.img[0]).naturalWidth>0?n.hasSize=!0:u.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:W(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(j&&clearInterval(j),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",a.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}});var I,L=function(){return I===undefined&&(I=document.createElement("p").style.MozTransform!==undefined),I};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var r,s,o=n.duration,u=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,r={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return r["-webkit-"+s]=r["-moz-"+s]=r["-o-"+s]=r[s]=i,t.css(r),t},c=function(){t.content.css("visibility","visible")};b("BuildControls"+i,function(){if(t._allowZoom()){if(clearTimeout(r),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void c();(s=u(e)).css(t._getOffset()),t.wrap.append(s),r=setTimeout(function(){s.css(t._getOffset(!0)),r=setTimeout(function(){c(),setTimeout(function(){s.remove(),e=s=null,k("ZoomAnimationEnded")},16)},o)},16)}}),b(l+i,function(){if(t._allowZoom()){if(clearTimeout(r),t.st.removalDelay=o,!e){if(!(e=t._getItemToZoom()))return;s=u(e)}s.css(t._getOffset(!0)),t.wrap.append(s),t.content.css("visibility","hidden"),setTimeout(function(){s.css(t._getOffset())},16)}}),b(a+i,function(){t._allowZoom()&&(c(),s&&s.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var i,r=(i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),s=parseInt(i.css("padding-top"),10),o=parseInt(i.css("padding-bottom"),10);r.top-=e(window).scrollTop()-s;var a={width:i.width(),height:(w?i.innerHeight():i[0].offsetHeight)-o-s};return L()?a["-moz-transform"]=a.transform="translate("+r.left+"px,"+r.top+"px)":(a.left=r.left,a.top=r.top),a}}});var F="iframe",z="//about:blank",R=function(e){if(t.currTemplate[F]){var n=t.currTemplate[F].find("iframe");n.length&&(e||(n[0].src=z),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(F,{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(){t.types.push(F),b("BeforeChange",function(e,t,n){t!==n&&(t===F?R():n===F&&R(!0))}),b(a+"."+F,function(){R()})},getIframe:function(n,i){var r=n.src,s=t.st.iframe;e.each(s.patterns,function(){if(r.indexOf(this.index)>-1)return this.id&&(r="string"==typeof this.id?r.substr(r.lastIndexOf(this.id)+this.id.length,r.length):this.id.call(this,r)),r=this.src.replace("%id%",r),!1});var o={};return s.srcAction&&(o[s.srcAction]=r),t._parseMarkup(i,o,n),t.updateStatus("ready"),i}}});var q=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},B=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.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 n=t.st.gallery,r=".mfp-gallery";if(t.direction=!0,!n||!n.enabled)return!1;s+=" mfp-gallery",b(h+r,function(){n.navigateByImgClick&&t.wrap.on("click"+r,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),i.on("keydown"+r,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),b("UpdateStatus"+r,function(e,n){n.text&&(n.text=B(n.text,t.currItem.index,t.items.length))}),b(d+r,function(e,i,r,s){var o=t.items.length;r.counter=o>1?B(n.tCounter,s.index,o):""}),b("BuildControls"+r,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,r=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(v),s=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(v);r.click(function(){t.prev()}),s.click(function(){t.next()}),t.container.append(r.add(s))}}),b(f+r,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),b(a+r,function(){i.off(r),t.wrap.off("click"+r),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=q(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=q(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),r=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?r:i);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?i:r);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=q(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),k("LazyLoad",i),"image"===i.type&&(i.img=e('<img class="mfp-img" />').on("load.mfploader",function(){i.hasSize=!0}).on("error.mfploader",function(){i.hasSize=!0,i.loadError=!0,k("LazyLoadError",i)}).attr("src",i.src)),i.preloaded=!0}}}});var U="retina";e.magnificPopup.registerModule(U,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;(n=isNaN(n)?n():n)>1&&(b("ImageHasSize."+U,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),b("ElementParse."+U,function(t,i){i.src=e.replaceSrc(i,n)}))}}}}),D()}),$.extend(!0,$.magnificPopup.defaults,{tClose:"Schlie\xdfen (Esc)",tLoading:"Lade...",gallery:{tPrev:"Vorheriges (linke Pfeiltaste)",tNext:"N\xe4chstes (rechts Pfeiltastey)",tCounter:"%curr% von %total%"},image:{tError:'<a href="%url%">Das Bild</a> konnte nicht geladen werden.'},ajax:{tError:'<a href="%url%">Der Inhalt</a> konnte nicht geladen werden.'}}),
/*!
 * jQuery Cookie Plugin v1.4.1
 * https://github.com/carhartl/jquery-cookie
 *
 * Copyright 2006, 2014 Klaus Hartl
 * Released under the MIT license
 */
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){function t(e){return a.raw?e:encodeURIComponent(e)}function n(e){return a.raw?e:decodeURIComponent(e)}function i(e){return t(a.json?JSON.stringify(e):String(e))}function r(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(o," ")),a.json?JSON.parse(e):e}catch(t){}}function s(t,n){var i=a.raw?t:r(t);return e.isFunction(n)?n(i):i}var o=/\+/g,a=e.cookie=function(r,o,l){if(arguments.length>1&&!e.isFunction(o)){if("number"==typeof(l=e.extend({},a.defaults,l)).expires){var u=l.expires,c=l.expires=new Date;c.setMilliseconds(c.getMilliseconds()+864e5*u)}return document.cookie=[t(r),"=",i(o),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var d=r?undefined:{},h=document.cookie?document.cookie.split("; "):[],f=0,p=h.length;f<p;f++){var m=h[f].split("="),g=n(m.shift()),y=m.join("=");if(r===g){d=s(y,o);break}r||(y=s(y))===undefined||(d[g]=y)}return d};a.defaults={},e.removeCookie=function(t,n){return e.cookie(t,"",e.extend({},n,{expires:-1})),!e.cookie(t)}}),function(e){e.fn.setEqualHeights=function(t,n){function i(i){var r=e(window).outerWidth(),s=0;i.height("auto"),(!n.respectMinHeight||r<n.respectMinHeightMinWidth)&&i.css({"min-height":"auto"}),r>=n.minWidth?"eqh-group"===t?i.each(function(){dataHiddenParent=e(this).data("eqh-hidden-parent"),"none"!==e(this).css("display").toLowerCase()||dataHiddenParent||(e(this).css({display:"block"}),e(this).addClass("eqHeights-displayed")),dataHiddenParent&&($thisParent=e(this).closest(dataHiddenParent),"none"===$thisParent.css("display").toLowerCase()&&($thisParent.css({display:"block"}),e(this).addClass("eqHeights-displayed-parent")));var t=e(this).height()+n.addHeight;t>s&&(s=t),e(this).hasClass("eqHeights-displayed")?(e(this).attr("style",function(e,t){return t&&t.replace(/display[^;]+;?/g,"")}),e(this).removeClass("eqHeights-displayed")):e(this).hasClass("eqHeights-displayed-parent")&&($thisParent.attr("style",function(e,t){return t&&t.replace(/display[^;]+;?/g,"")}),e(this).removeClass("eqHeights-displayed-parent"))}).height(s):"eqh-same-as"===t&&($targetEl=e(i.data("eqh-same-as")),i.height($targetEl.height()-(parseInt(i.css("padding-top"),10)+parseInt(i.css("padding-bottom"),10)))):i.height("auto")}var r=e(this);return i(r),e(window).resize(function(){i(r)}),this}}(jQuery),jQuery(document).ready(function(){var e,t=[],n={};setTimeout(function(){$(".equalheight").each(function(){if($(this).data("eqh-options")&&(n=$(this).data("eqh-options")),n.minWidth||(n.minWidth=420),n.addHeight||(n.addHeight=0),n.respectMinHeight||(n.respectMinHeight=!1),n.respectMinHeightMinWidth||(n.respectMinHeightMinWidth=0),$(this).data("eqh-min-width")&&(n.minWidth=$(this).data("eqh-min-width")),$(this).data("eqh-add-height")&&(n.addHeight=$(this).data("eqh-add-height")),e=$(this).data("eqh-group")){if(-1===t.indexOf(e)){t.push(e);var i=$('.equalheight[data-eqh-group="'+e+'"]');i.length>1&&i.setEqualHeights("eqh-group",n)}}else $(this).data("eqh-same-as")&&$(this).setEqualHeights("eqh-same-as",n)})},200)}),function(e){e(function(){e('input[type="checkbox"]').each(function(){0==e(this).closest("#CybotCookiebotDialog").length&&(e(this).wrap('<span class="custom-checkbox"></span>'),e(this).is(":disabled")&&(e(this).parent().addClass("disabled"),e(this).parent().parent().addClass("disabled")),e(this).is(":checked")&&e(this).parent().addClass("selected"))}),e(document).on("click",'input[type="checkbox"]',function(){e(this).parent().toggleClass("selected")}),e(document).on("focus",'input[type="checkbox"]',function(){e(".custom-checkbox").removeClass("focus"),e(this).parent().addClass("focus")}),e(document).on("mouseup",function(t){var n;(n=e("label")).is(t.target)||0!==n.has(t.target).length||e(".custom-checkbox").removeClass("focus")})})}(jQuery),function(e){e(function(){e(":radio").each(function(){e(this).parent().addClass("custom-radio-box"),e('<span class="overlay" />').insertAfter(e(this))}),e(":radio").change(function(){e(":radio[name="+this.name+"]").parent().removeClass("checked"),e(this).parent().addClass("checked")})})}(jQuery),document.addEventListener("DOMContentLoaded",function(){function e(e,t=!1){let n=e.split(".");return!!n.length&&(t?new Date(parseInt(n[2]),parseInt(n[1])-1,parseInt(n[0])):n[2]+"/"+n[1]+"/"+n[0])}function t(e){return("0"+e.getDate()).slice(-2)+"."+("0"+(e.getMonth()+1)).slice(-2)+"."+e.getFullYear()}$.datetimepicker.setLocale("de"),$(".datepicker").each(function(){let n=$(this),i=n.data("init-date"),r=null;if(i){switch(i){case"today":r=t(new Date);break;default:i=new Date(i),isNaN(i)||(r=t(i))}r&&n.val(r)}if(n.data("to-field")){let i=$(n.data("to-field"));if(i.length){let s=n.data("to-field-init-day-diff")||1;if(r&&s){let n=e(r,!0);n.setDate(n.getDate()+s),i.val(t(n))}}}n.datetimepicker({timepicker:!1,format:"d.m.Y",dayOfWeekStart:1,minDate:!!n.data("disable-past")&&new Date,onGenerate:function(){n.data("disable-weekends")&&jQuery(this).find(".xdsoft_date.xdsoft_weekend").addClass("xdsoft_disabled")},onChangeDateTime:function(i,r){if(n.data("target-input")){let e=$(n.data("target-input"));if(e.length){let t=r.val().split(".").reverse().join("");e.val(t)}}if(n.data("to-field")){let r=$(n.data("to-field"));if(r.length){let n=e(r.val(),!0);if(n&&i>n){let e=new Date(i);e.setDate(e.getDate()+1),r.val(t(e))}}}if(n.data("from-field")){let t=$(n.data("from-field"));if(t.length){let r=e(t.val(),!0);if(r&&i<r){let e=new Date(r);e.setDate(e.getDate()+1),n.val(("0"+e.getDate()).slice(-2)+"."+("0"+(e.getMonth()+1)).slice(-2)+"."+e.getFullYear())}}}},onShow:function(){if(n.data("from-field")){let t=$(n.data("from-field"));if(t.length){let n=!!t.val()&&e(t.val());this.setOptions({minDate:n})}}}})})}),function(e){e.fn.addHeader=function(){var t=e(this);t.find(".primary-nav");return t.data("size","big"),e(window).scroll(function(){e(document).scrollTop()>0?"big"===t.data("size")&&(t.data("size","small"),t.addClass("small fixed"),e("body").addClass("is-scrolling")):"small"===t.data("size")&&(t.data("size","big"),t.removeClass("small fixed"),e("body").removeClass("is-scrolling"))}),this},e(function(){e(".main-header").addHeader()})}(jQuery);var KEYCODE_ENTER=13,KEYCODE_TAB=9,KEYCODE_ESC=27;$.fn.enterKey=function(e){return this.each(function(){$(this).on("keydown",function(t){t.target==t.currentTarget&&((t.keyCode?t.keyCode:t.which)==KEYCODE_ENTER&&e.call(this,t))})})},$.fn.onClickAndEnter=function(e){return this.each(function(){$(this).on("click",function(t){e.call(this,t)}).enterKey(function(t){e.call(this,t)})})},$.fn.tabKey=function(e){return this.each(function(){$(this).on("keydown",function(t){t.target==t.currentTarget&&((t.keyCode?t.keyCode:t.which)==KEYCODE_TAB&&e.call(this,t))})})},$.fn.escKey=function(e){return this.each(function(){$(this).on("keydown",function(t){(t.keyCode?t.keyCode:t.which)==KEYCODE_ESC&&e.call(this,t)})})},function($){$.fn.initAriaElements=function(){function toggleToscWidget(e){let t=document.querySelector("dw-app-container");if(t){t.shadowRoot.querySelector(".app_root").classList.toggle(e)}}function ariaContrast(){$.cookie("ariacontrast")&&($("body").addClass($.cookie("ariacontrast")),$el.find("[data-contrast='"+$.cookie("ariacontrast")+"']").addClass("active")),$itemContrast.each(function(){function e(e){$("body").toggleClass(e.data("contrast")),$itemContrast.find(".active").add(e).toggleClass("active"),$.cookie("ariacontrast")?$.removeCookie("ariacontrast",{path:"/"}):$.cookie("ariacontrast",e.data("contrast"),{path:"/",expires:7}),$.cookie("awido_theme")?$.removeCookie("awido_theme",{path:"/"}):$.cookie("awido_theme",e.data("contrast"),{path:"/",expires:7}),toggleToscWidget(e.data("contrast"))}$(this).on("click",function(){e($(this))}).enterKey(function(){e($(this))})})}function ariaFontSize(){function setSmall($this,$scaleLevel){function setScaling(){$maxScaleLevelNegative<$scaleLevel&&($scaleLevel>0?$html.css({fontSize:100+10*(eval($scaleLevel)-1)+"%"}):$scaleLevel<0?$html.css({fontSize:100- -10*(eval($scaleLevel)-1)+"%"}):$html.css({fontSize:"90%"}),$.cookie("ariafontsize",eval($scaleLevel)-1,{path:"/",expires:7}))}$scaleLevel||($scaleLevel=0),$this?setScaling():($scaleLevel++,setScaling()),addActiveClass(isFontSizeSet())}function setLarge($this,$scaleLevel){function setScaling(){$maxScaleLevel>$scaleLevel&&(0!=$scaleLevel?$html.css({fontSize:100+10*(eval($scaleLevel)+1)+"%"}):$html.css({fontSize:"110%"}),$.cookie("ariafontsize",eval($scaleLevel)+1,{path:"/",expires:7}))}$scaleLevel||($scaleLevel=0),$this?setScaling():($scaleLevel--,setScaling()),addActiveClass(isFontSizeSet())}function setNormal(){$html.css({fontSize:"100%"}),$.removeCookie("ariafontsize",{path:"/"}),addActiveClass(isFontSizeSet())}$maxScaleLevel=2,$maxScaleLevelNegative=-1*$maxScaleLevel,($scaleLevel=isFontSizeSet())?$scaleLevel>=$maxScaleLevelNegative&&$scaleLevel<0?setSmall(!1,$scaleLevel):$scaleLevel<=$maxScaleLevel&&$scaleLevel>0?setLarge(!1,$scaleLevel):setNormal():addActiveClass(isFontSizeSet()),$itemSmall.on("click",function(){setSmall($(this),isFontSizeSet()),addActiveClass(isFontSizeSet())}).enterKey(function(){setSmall($(this),isFontSizeSet()),addActiveClass(isFontSizeSet())}),$itemLarge.on("click",function(){setLarge($(this),isFontSizeSet())}).enterKey(function(){setLarge($(this),isFontSizeSet())}),$itemNormal.on("click",function(){setNormal()}).enterKey(function(){setNormal()})}function isFontSizeSet(){return $.cookie("ariafontsize")?$.cookie("ariafontsize"):0}function addActiveClass(e){0==e?($itemSmall.add($itemLarge).removeClass("active"),$itemNormal.addClass("active")):e>0?($itemSmall.add($itemNormal).removeClass("active"),$itemLarge.addClass("active")):($itemLarge.add($itemNormal).removeClass("active"),$itemSmall.addClass("active")),$html.removeClass(function(e,t){return(t.match(/(^|\s)fs\S+/g)||[]).join(" ")}),$html.addClass("fs"+e)}var $el=$(this);return $body=$("body"),$itemContrast=$el.find(".aria__item--contrast"),$itemContrast.length>0&&ariaContrast(),$html=$("html"),$itemSmall=$el.find(".aria__item--small"),$itemNormal=$el.find(".aria__item--normal"),$itemLarge=$el.find(".aria__item--large"),$itemNormal.length>0&&$itemLarge.length>0&&ariaFontSize(),this},$.fn.makeFocusable=function(e){e={...{mode:!0,index:0},...e};var t=$(this);return t.attr("tabindex")||(e.mode?t.attr("tabindex",e.index):t.removeAttr("tabindex")),this}}(jQuery),jQuery(document).ready(function(){$(".aria-elements").each(function(){$(this).initAriaElements()})}),function(e){e.fn.addPrimaryNav=function(t){function n(){i.find(".primary-nav__first-level").css({top:e("header.main-header").outerHeight()+i.outerHeight()}),i.css({top:e("header.main-header").outerHeight()})}var i=e(this),r=e.extend({toggleClasses:[".primary-nav__mobile",".primary-nav__first-level",".primary-nav",".primary-nav .state"]},t);return i.data("size","big"),e(window).scroll(function(){e(document).scrollTop()>0?"big"===i.data("size")&&(i.data("size","small"),i.addClass("fixed"),n()):"small"===i.data("size")&&(i.data("size","big"),i.removeClass("fixed"),n())}),i.find(".mobile__button").on("click",function(){n(),e("html").toggleClass("scrolling-disabled"),e.each(r.toggleClasses,function(t,n){e(n).toggleClass("active")})}),i.find("a .toggle").on("click",function(t){t.preventDefault(),t.stopPropagation(),e(this).toggleClass("icon--chevron-down").toggleClass("icon--chevron-up"),e(this).parent().parent().children("ul").toggleClass("active")}),i.find("a.toggle").on("click",function(t){e(window).outerWidth()<1025&&(t.preventDefault(),t.stopPropagation(),e(this).find(".icon").toggleClass("icon--chevron-down").toggleClass("icon--chevron-up"),e(this).parent().children("ul").toggleClass("active"))}),i.find("a.first-level__link > .icon").keydown(function(t){code=t.keyCode?t.keyCode:t.which,40!=code&&13!=code||(t.preventDefault(),t.stopPropagation(),e(".first-level__item").each(function(){e(this).removeClass("click")}),e(this).closest(".first-level__item").addClass("click")),38!=code&&27!=code||(t.preventDefault(),t.stopPropagation(),e(".first-level__item").each(function(){e(this).removeClass("click")}))}).each(function(){this.setAttribute("tabindex",0)}),i.find("a.second-level__link, a.third-level__link").keydown(function(t){code=t.keyCode?t.keyCode:t.which,38!=code&&27!=code||(t.preventDefault(),t.stopPropagation(),e(".first-level__item").each(function(){e(this).removeClass("click")}),e(this).closest(".first-level__item").children(".first-level__link > .icon").focus())}),n(),e(window).resize(function(){n()}),this},e(function(){e(".primary-nav").each(function(){e(this).addPrimaryNav()})})}(jQuery),function(e){e.fn.addSecondaryNav=function(t){var n=e(this);e.extend({},t);return n.find("a .toggle").on("click",function(t){t.preventDefault(),t.stopPropagation(),e(this).toggleClass("icon--chevron-down"),e(this).toggleClass("icon--chevron-up"),e(this).parent().toggleClass("active"),e(this).parent().next().toggleClass("active")}),n.find(".secondary-nav__button").on("click",function(){var t=e(this).find(".title"),i=t.data("title-close"),r=t.data("title-open");n.find(".secondary-nav__body").toggleClass("active"),t.text(function(e,t){return t===r?i:r})}),n.find(".nano").nanoScroller(),this},e(function(){e(".secondary-nav").each(function(){e(this).addSecondaryNav()})})}(jQuery),function(e){e.fn.addGallery=function(){function t(t){$overlayItemHeight=$overlay.find(".overlay__group.active .overlay__item.active .overlay__image").height(),$isSmallmode&&(0==$overlayItemHeight?$overlayItemHeight=450:$overlayItemHeight,$overlay.height($overlayItemHeight),maxHeight=-1,$overlayHeader.each(function(t,n){maxHeight=maxHeight>e(n).height()?maxHeight:e(n).height(),t==$overlayHeader.length-1&&e(n).parent().height(maxHeight)}),$separatedHeaders=e(".separated-headers"),t<=1024&&!$galleryList.hasClass("swapped")?$galleryList.insertAfter($separatedHeaders).addClass("swapped"):t>=1024&&$galleryList.hasClass("swapped")&&($separatedHeaders.insertAfter($galleryList),$galleryList.removeClass("swapped"))),$isBigmode&&(0==$overlayItemHeight?$overlayItemHeight=480:$overlayItemHeight,$overlayHeaderHeight=$overlay.find(".overlay__header.active").height(),$overlayPadding=parseInt($overlay.css("padding-bottom"),10),$overlay.find(".overlay__inner").css({minHeight:$overlayItemHeight+$overlayHeaderHeight+$overlayPadding}),$overlay.find(".overlay__image").css({top:$overlayHeaderHeight+$overlayPadding}),maxHeight=-1,$listItems.each(function(){maxHeight=maxHeight>e(this).find(".item__inner").height()?maxHeight:e(this).find(".item__inner").height()}),$listItems.each(function(){e(this).height(maxHeight)}))}function n(n){i(),$galleryContainer.addClass("active"),$overlay.addClass("active"),$overlay.find(".overlay__group--"+n).addClass("active"),$overlay.find(".overlay__group--"+n).find(".overlay__secondary-nav").addClass("active"),s.find(".overlay__header--"+n).addClass("active"),t(e(window).width())}function i(){$galleryContainer.removeClass("active"),$overlay.removeClass("active"),$overlayGroups.removeClass("active"),$overlay.find(".overlay__secondary-nav").removeClass("active"),$overlayHeader.removeClass("active")}function r(t,n,i,r,s){function o(){$currActiveItem=parseInt(t.find(".overlay__item.active").data("position"),10),$prev=t.find(".overlay__button--prev"),$next=t.find(".overlay__button--next"),1==$currActiveItem?($prev.addClass("hide"),r>=2&&$next.removeClass("hide"),1==r&&$next.addClass("hide")):$currActiveItem==r?($next.addClass("hide"),r>=2&&$prev.removeClass("hide")):t.find(".overlay__button").removeClass("hide")}function a(e){i.removeClass("active"),t.find(".secondary-nav__item").removeClass("active"),t.find(".overlay__item--"+e).addClass("active"),t.find(".secondary-nav__item--"+e).addClass("active"),o()}function l(e){switch($currMleft=parseInt(n.css("margin-left"),10),$overlayStageWidth=t.width(),$viewmode){case $bigmode:e.hasClass("overlay__button--prev")?($activeItem=t.find(".overlay__item.active"),$activeItemPosition=parseInt($activeItem.data("position"),10),$activeItemPosition>1&&($newActivePosition=$activeItemPosition-1,$newActiveItem=t.find(".overlay__item--"+$newActivePosition),$isBreakpoint=$newActiveItem.hasClass("slide__end"),0!=$currMleft&&$isBreakpoint?($activeItem.removeClass("fix-margin"),n.animate({marginLeft:$currMleft+$overlayStageWidth+"px"},200,function(){a($newActivePosition)})):a($newActivePosition))):e.hasClass("overlay__button--next")&&($activeItem=t.find(".overlay__item.active"),$activeItemPosition=parseInt($activeItem.data("position"),10),$activeItemPosition<r&&($newActivePosition=$activeItemPosition+1,$newActiveItem=t.find(".overlay__item--"+$newActivePosition),$isBreakpoint=$newActiveItem.hasClass("slide__start"),$currMleft>s*$overlayStageWidth*-1&&$isBreakpoint?($newActiveItem.addClass("fix-margin"),n.animate({marginLeft:"-"+(-1*$currMleft+$overlayStageWidth)+"px"},200,function(){a($newActivePosition)})):a($newActivePosition)));break;case $smallmode:e.hasClass("overlay__button--prev")?($activeItemPosition=parseInt(t.find(".overlay__item.active").data("position"),10),$activeItemPosition>1&&($newActivePosition=$activeItemPosition-1,a($newActivePosition))):e.hasClass("overlay__button--next")&&($activeItemPosition=parseInt(t.find(".overlay__item.active").data("position"),10),$activeItemPosition<r&&($newActivePosition=$activeItemPosition+1,a($newActivePosition)))}}$isSmallmode,$isBigmode&&(n.css({width:r*(n.find(".overlay__item--1").width()+parseFloat(n.find(".overlay__item--1").css("margin-right"),10))+"px"}),n.find(".overlay__item:nth-of-type("+$itemsPerSlide+"n+"+$itemsPerSlide+")").addClass("slide__end"),n.find(".overlay__item:nth-of-type("+$itemsPerSlide+"n+"+(parseInt($itemsPerSlide,10)+1)+")").addClass("slide__start")),$secNavWith=t.find(".overlay__secondary-nav").width(),t.find(".overlay__secondary-nav").css({marginLeft:"-"+$secNavWith/2+"px"}),i.each(function(){e(this).find(".overlay__thumbnail").on("click",function(){a(e(this).parent().data("position"))})}),t.find(".overlay__button").each(function(){e(this).on("click",function(){l(e(this))})}),o()}var s=e(this);return $galleryContainer=s.find(".gallery__container"),$galleryList=s.find(".gallery__list"),$listItems=s.find(".gallery__item"),$overlay=s.find(".overlay"),$overlayGroups=s.find(".overlay__group"),$overlayHeader=s.find(".overlay__header"),$viewmode=s.data("viewmode"),$smallmode="small-mode",$bigmode="big-mode",$isSmallmode=!1,$isBigmode=!1,$viewmode==$smallmode&&($isSmallmode=!0),$viewmode==$bigmode&&($isBigmode=!0),t(e(window).width()),e(window).resize(function(){t(e(window).width())}),$overlayGroups.each(function(){switch($overlayStage=e(this).find(".overlay__stage"),$overlayFooter=e(this).find(".overlay__footer"),$overlayItems=e(this).find(".overlay__item"),$overlayItemsCount=$overlayItems.length,$viewmode){case $bigmode:$itemsPerSlide=7;break;case $smallmode:$itemsPerSlide=1}$modulo=$overlayItemsCount%$itemsPerSlide,0==$modulo?$maxSlides=$overlayItemsCount/$itemsPerSlide-1:$modulo>0&&($maxSlides=($overlayItemsCount+($itemsPerSlide-$modulo))/$itemsPerSlide-1),r($overlayStage,$overlayFooter,$overlayItems,$overlayItemsCount,$maxSlides)}),$listItems.find(".gallery__thumbnail").add($listItems.find(".gallery__title")).each(function(){e(this).on("click",function(){$targetOverlayGroup=e(this).data("target"),n($targetOverlayGroup),$listItems.removeClass("active"),$isSmallmode&&e(this).parent().parent().addClass("active")})}),$galleryContainer.add($overlay.find(".overlay__close")).each(function(){e(this).on("click",function(){i()})}),this}}(jQuery),jQuery(document).ready(function(){$(".gallery").each(function(){$(this).addGallery()})}),function(e){e.fn.addWatch=function(){function t(){$curr_day_f=moment().format("dddd"),$curr_date_f=moment().format("L"),$curr_time_f=moment().format("LT"),$curr_dayNr_f=moment().format("d"),n.find(".current-day").html($curr_day_f),n.find(".current-date").html($curr_date_f),n.find(".current-time").html($curr_time_f),$curr_time=moment($curr_time_f,"HH:mm"),$curr_dayStart=moment($openingtimes[$curr_dayNr_f].start,"HH:mm"),$curr_dayEnd=moment($openingtimes[$curr_dayNr_f].end,"HH:mm"),$key_nextDay=parseInt($curr_dayNr_f,10)+1,$key_nextDay>Object.keys($openingtimes).length&&($key_nextDay=1),$next_dayStart=moment($openingtimes[$key_nextDay].start,"HH:mm").add(1,"days"),$curr_time.isBefore($curr_dayStart)?($time_till_open=moment.utc(moment($curr_dayStart,"HH:mm").diff(moment($curr_time,"HH:mm"))).format("HH:mm"),n.find(".time_till_open").html($time_till_open+" h"),n.find(".opened").addClass("hidden"),n.find(".closed").removeClass("hidden")):$curr_time.isBefore($curr_dayEnd)?($time_left_open_hours=moment.utc(moment($curr_dayEnd,"HH:mm").diff(moment($curr_time,"HH:mm"))).format("H"),$time_left_open_minutes=moment.utc(moment($curr_dayEnd,"HH:mm").diff(moment($curr_time,"HH:mm"))).format("m"),1==$time_left_open_hours?n.find(".open__hours").html($time_left_open_hours+" Stunde"):n.find(".open__hours").html($time_left_open_hours+" Stunden"),1==$time_left_open_minutes?n.find(".open__minutes").html($time_left_open_minutes+" Minute"):n.find(".open__minutes").html($time_left_open_minutes+" Minuten"),n.find(".opened").removeClass("hidden"),n.find(".closed").addClass("hidden")):($time_till_open_hours=moment.utc(moment($next_dayStart,"HH:mm").diff(moment($curr_time,"HH:mm"))).format("H"),$time_till_open_minutes=moment.utc(moment($next_dayStart,"HH:mm").diff(moment($curr_time,"HH:mm"))).format("m"),1==$time_till_open_hours?n.find(".till-open__hours").html($time_till_open_hours+" Stunde"):n.find(".till-open__hours").html($time_till_open_hours+" Stunden"),1==$time_till_open_minutes?n.find(".till-open__minutes").html($time_till_open_minutes+" Minute"):n.find(".till-open__minutes").html($time_till_open_minutes+" Minuten"),n.find(".opened").addClass("hidden"),n.find(".closed").removeClass("hidden"))}var n=e(this);return $openingtimes=n.data("openingtimes"),t(),setTimeout(function(){t()},1e3),this}}(jQuery),jQuery(document).ready(function(){$(".dynamic-watch").each(function(){$(this).addWatch()})}),function(e){e(document).ready(function(){e(".news .owl-carousel").owlCarousel({margin:20,nav:!0,dots:!1,responsive:{0:{items:1},600:{items:2},1000:{items:4}},loop:!1,navText:["",""]})})}(jQuery),function(e){e(document).ready(function(){e(".events .owl-carousel").owlCarousel({margin:20,nav:!0,dots:!1,responsive:{0:{items:1},600:{items:2},1000:{items:4}},loop:!0,navText:["",""]})})}(jQuery),function(e){e(document).ready(function(){e(".owl-carousel--hero").owlCarousel({nav:!0,dots:!0,responsive:{0:{items:1},600:{items:1},1000:{items:1}},loop:!0,navText:["",""]})})}(jQuery),function(e){e(document).ready(function(){e(".ce-lightbox .ce-gallery__single .image__popup").magnificPopup({type:"image",image:{titleSrc:"title"}}),e(".ce-lightbox .ce-gallery__multi").each(function(){e(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0}})})})}(jQuery),function(e){e.fn.addOmnibox=function(){function t(e){n.find(".active").removeClass("active"),n.find(".omnibox__item--"+e).add(n.find(".omnibox__tab[data-item='"+e+"']")).addClass("active")}var n=e(this),i=-1;return e(window).resize(function(){}),n.find(".omnibox__item").each(function(){i=i>e(this).height()?i:e(this).height()}),n.find(".omnibox__item").each(function(){e(this).height(i)}),n.find(".omnibox__tab:first-child").add(n.find(".omnibox__item:first-child")).addClass("active"),n.find(".omnibox__tab").each(function(){e(this).on("click",function(){t(e(this).data("item"))}),e(this).keypress(function(n){0!=n.keyCode&&32!=n.keyCode&&13!=n.keyCode||(n.preventDefault(),t(e(this).data("item")))})}),this}}(jQuery),jQuery(document).ready(function(){$(".omnibox").each(function(){$(this).addOmnibox()}),jQuery("#event-enddate,#event-startdate").change(function(){var e=jQuery("#event-enddate").val().split("."),t=jQuery("#event-startdate").val().split("."),n=new Date(e[2],e[1]-1,e[0]).getTime()-new Date(t[2],t[1]-1,t[0]).getTime();jQuery("#selNights").val(n/1e3/86400)})}),function(e){e.fn.initAccordeon=function(){var t=e(this);return $trigger=t.find(".accordeon__trigger"),$iconDefault="icon--chevron-down",$iconActive="icon--chevron-up",$trigger.on("click",function(){$this=e(this),$content=t.find(".accordeon__content"),$icon=t.find(".accordeon__icon"),$this.hasClass("active")?$icon.removeClass($iconActive).addClass($iconDefault):$icon.removeClass($iconDefault).addClass($iconActive),$this.add($content).toggleClass("active")}),this}}(jQuery),jQuery(document).ready(function(){$(".accordeon").each(function(){$(this).initAccordeon()})}),function(e){e(document).ready(function(){e(".news--detail .news-item__image").magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0},image:{titleSrc:"title"}})})}(jQuery),function(e){e.fn.initAccordeon=function(){function t(e){let t=e.closest(".fd-accordeon");t.find(".fd-accordeon__content").first(),t.hasClass("active"),t.toggleClass("active"),r.slideToggle(200)}let n=e(this),i=n.find(".fd-accordeon__trigger").first(),r=(n.find(".accordeon__icon").first(),n.find(".fd-accordeon__content").first());return n.hasClass("active")&&r.slideToggle(200),i.on("click",function(){t(e(this))}).enterKey(function(){t(e(this))}).makeFocusable(),this}}(jQuery),jQuery(document).ready(function(){$(".fd-accordeon").each(function(){$(this).initAccordeon()})}),jQuery(document).ready(function(){jQuery(".leisp-movie").magnificPopup({type:"inline"})}),function(e){e(document).ready(function(){e(".tx-veranstaltungen__show .owl-carousel").owlCarousel({margin:20,nav:!0,dots:!1,responsive:{0:{items:1},600:{items:1},1000:{items:1}},loop:!0,navText:["",""]})})}(jQuery),jQuery(document).ready(function(){$(".open-movie-popup").each(function(){$(this).magnificPopup({type:"inline"})})});(function($){$.fn.initAvPopup=function(){var $el=$(this);var $elId=$el.data('avp-id');var $elCookie=($.cookie('hide-'+$elId))?$.cookie('hide-'+$elId):!1;var $elLink=$('.av-popup-link');if(!$elCookie){$.magnificPopup.open({items:{src:$el,type:'inline'},tClose:'Meldung schließen',callbacks:{open:function(){},close:function(){$.cookie('hide-'+$elId,!0,{path:"/",expires:1})}}})}
if($elLink.length>0){var $elLinkInSidemenu=$elLink.closest('.sidemenu__item');if($elLinkInSidemenu.length>0)$elLinkInSidemenu.show();$elLink.magnificPopup({items:{src:$el,type:'inline'},tClose:'Meldung schließen',})}
return this}})(jQuery);document.addEventListener("DOMContentLoaded",function(){var $el=$('.av-popup').first();if($el.length>0){$el.initAvPopup()}});jQuery(function(){FlyoutMenu.initialize({el:".sidebar-slider"})});var FlyoutMenu;FlyoutMenu=(function($){var $el;function initMenu(){$el.find(".sidebar-slider__iconbar").on("click",function(event){var $this=$(this);if($this.parent().hasClass("active")){$this.parent().removeClass("active");$this.find(".sidebar-slider__header").removeClass("active")}else{$this.parent().addClass("active");$this.find(".sidebar-slider__header").addClass("active")}})};function catchOutside($el){content=$el;icon=$el.find(".sidebar-slider__header");$(document).on("click",function(event){if(!$(event.target).closest(content).length&&!$(event.target).is(content)){content.removeClass("active");icon.removeClass("active")}})}
return{initialize:function(options){$el=$(options.el);initMenu();catchOutside($el)}}})(jQuery)