/*!
  * Bootstrap v4.6.2 (https://getbootstrap.com/)
  * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  *//*!
* Parsley.js
* Version 2.9.2 - built Tue, Dec 10th 2019, 6:18 pm
* http://parsleyjs.org
* Guillaume Potier - <guillaume@wisembly.com>
* Marc-Andre Lafortune - <petroselinum@marc-andre.ca>
* MIT Licensed
*/(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()})(this,function(){"use strict";function e(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})}function t(e){var t=this;return new t(function(t,n){function o(n,e){if(e&&("object"==typeof e||"function"==typeof e)){var i=e.then;if("function"==typeof i)return void i.call(e,function(e){o(n,e)},function(i){a[n]={status:"rejected",reason:i},0==--r&&t(a)})}a[n]={status:"fulfilled",value:e},0==--r&&t(a)}if(!(e&&"undefined"!=typeof e.length))return n(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var a=Array.prototype.slice.call(e);if(0===a.length)return t([]);for(var r=a.length,s=0;s<a.length;s++)o(s,a[s])})}function n(e){return!!(e&&"undefined"!=typeof e.length)}function i(){}function o(e,t){return function(){e.apply(t,arguments)}}function a(e){if(!(this instanceof a))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function r(e,t){for(;3===e._state;)e=e._value;return 0===e._state?void e._deferreds.push(t):void(e._handled=!0,a._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._state?s:l)(t.promise,e._value);var i;try{i=n(e._value)}catch(n){return void l(t.promise,n)}s(t.promise,i)}))}function s(t,n){try{if(n===t)throw new TypeError("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var i=n.then;if(n instanceof a)return t._state=3,t._value=n,void d(t);if("function"==typeof i)return void c(o(i,n),t)}t._state=1,t._value=n,d(t)}catch(n){l(t,n)}}function l(e,t){e._state=2,e._value=t,d(e)}function d(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)r(e,e._deferreds[t]);e._deferreds=null}function _(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function c(e,t){var n=!1;try{e(function(e){n||(n=!0,s(t,e))},function(e){n||(n=!0,l(t,e))})}catch(e){if(n)return;n=!0,l(t,e)}}var u=setTimeout;a.prototype["catch"]=function(e){return this.then(null,e)},a.prototype.then=function(e,t){var n=new this.constructor(i);return r(this,new _(e,t,n)),n},a.prototype["finally"]=e,a.all=function(e){return new a(function(t,o){function a(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var i=n.then;if("function"==typeof i)return void i.call(n,function(t){a(e,t)},o)}r[e]=n,0==--s&&t(r)}catch(e){o(e)}}if(!n(e))return o(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var s=r.length,l=0;l<r.length;l++)a(l,r[l])})},a.allSettled=t,a.resolve=function(e){return e&&"object"==typeof e&&e.constructor===a?e:new a(function(t){t(e)})},a.reject=function(e){return new a(function(t,n){n(e)})},a.race=function(e){return new a(function(t,o){if(!n(e))return o(new TypeError("Promise.race accepts an array"));for(var r=0,s=e.length;r<s;r++)a.resolve(e[r]).then(t,o)})},a._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){u(e,0)},a._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var p=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();"function"==typeof p.Promise?p.Promise.prototype["finally"]?!p.Promise.allSettled&&(p.Promise.allSettled=t):p.Promise.prototype["finally"]=e:p.Promise=a}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):(e="undefined"==typeof globalThis?e||self:globalThis,t(e.bootstrap={},e.jQuery,e.Popper))}(this,function(e,t,n){"use strict";var i=Math.max,o=Math.round;function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function r(e,t){for(var n=0,o;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}function s(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1,n;t<arguments.length;t++)for(var o in n=arguments[t],n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e},l.apply(this,arguments)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_(e,t)}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function n(e,t){return e.__proto__=t,e},_(e,t)}function c(e){return null===e||"undefined"==typeof e?""+e:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function u(){return{bindType:"transitionend",delegateType:"transitionend",handle:function t(e){return m["default"](e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}}}function p(e){var t=this,n=!1;return m["default"](this).one(v.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||v.triggerTransitionEnd(t)},e),this}function g(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===Be.indexOf(n)||!!(Qe.test(e.nodeValue)||Ye.test(e.nodeValue));for(var o=t.filter(function(e){return e instanceof RegExp}),a=0,r=o.length;a<r;a++)if(o[a].test(n))return!0;return!1}function f(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var o=new window.DOMParser,a=o.parseFromString(e,"text/html"),r=Object.keys(t),s=[].slice.call(a.body.querySelectorAll("*")),l=function i(e,n){var o=s[e],a=o.nodeName.toLowerCase();if(-1===r.indexOf(o.nodeName.toLowerCase()))return o.parentNode.removeChild(o),"continue";var l=[].slice.call(o.attributes),d=[].concat(t["*"]||[],t[a]||[]);l.forEach(function(e){g(e,d)||o.removeAttribute(e.nodeName)})},d=0,_=s.length,c;d<_;d++)c=l(d),"continue"===c;return a.body.innerHTML}var m=a(t),h=a(n),y="transitionend",v={TRANSITION_END:"bsTransitionEnd",getUID:function t(e){do e+=~~(Math.random()*1e6);while(document.getElementById(e));return e},getSelectorFromElement:function t(e){var n=e.getAttribute("data-target");if(!n||"#"===n){var i=e.getAttribute("href");n=i&&"#"!==i?i.trim():""}try{return document.querySelector(n)?n:null}catch(e){return null}},getTransitionDurationFromElement:function t(e){if(!e)return 0;var n=m["default"](e).css("transition-duration"),i=m["default"](e).css("transition-delay"),o=parseFloat(n),a=parseFloat(i);return o||a?(n=n.split(",")[0],i=i.split(",")[0],(parseFloat(n)+parseFloat(i))*1e3):0},reflow:function t(e){return e.offsetHeight},triggerTransitionEnd:function t(e){m["default"](e).trigger(y)},supportsTransitionEnd:function e(){return!!y},isElement:function t(e){return(e[0]||e).nodeType},typeCheckConfig:function i(e,t,n){for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var a=n[o],r=t[o],s=r&&v.isElement(r)?"element":c(r);if(!new RegExp(a).test(s))throw new Error(e.toUpperCase()+": "+("Option \""+o+"\" provided type \""+s+"\" ")+("but expected type \""+a+"\"."))}},findShadowRoot:function t(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var n=e.getRootNode();return n instanceof ShadowRoot?n:null}return e instanceof ShadowRoot?e:e.parentNode?v.findShadowRoot(e.parentNode):null},jQueryDetection:function e(){if("undefined"==typeof m["default"])throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=m["default"].fn.jquery.split(" ")[0].split("."),n=1,i=2,o=9,a=1,r=4;if(t[0]<i&&t[1]<o||t[0]===n&&t[1]===o&&t[2]<a||t[0]>=r)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};v.jQueryDetection(),function e(){m["default"].fn.emulateTransitionEnd=p,m["default"].event.special[v.TRANSITION_END]=u()}();var b="bs.alert",w="."+b,C=m["default"].fn.alert,E=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function t(e){var n=this._element;e&&(n=this._getRootElement(e));var i=this._triggerCloseEvent(n);i.isDefaultPrevented()||this._removeElement(n)},t.dispose=function e(){m["default"].removeData(this._element,b),this._element=null},t._getRootElement=function t(e){var n=v.getSelectorFromElement(e),i=!1;return n&&(i=document.querySelector(n)),i||(i=m["default"](e).closest("."+"alert")[0]),i},t._triggerCloseEvent=function t(e){var n=m["default"].Event("close"+w);return m["default"](e).trigger(n),n},t._removeElement=function t(e){var n=this;if(m["default"](e).removeClass("show"),!m["default"](e).hasClass("fade"))return void this._destroyElement(e);var i=v.getTransitionDurationFromElement(e);m["default"](e).one(v.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(i)},t._destroyElement=function t(e){m["default"](e).detach().trigger("closed"+w).remove()},e._jQueryInterface=function n(t){return this.each(function(){var n=m["default"](this),i=n.data(b);i||(i=new e(this),n.data(b,i)),"close"===t&&i[t](this)})},e._handleDismiss=function t(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}}]),e}();m["default"](document).on("click"+w+".data-api","[data-dismiss=\"alert\"]",E._handleDismiss(new E)),m["default"].fn.alert=E._jQueryInterface,m["default"].fn.alert.Constructor=E,m["default"].fn.alert.noConflict=function(){return m["default"].fn.alert=C,E._jQueryInterface};var T="bs.button",S="."+T,I=".data-api",O=m["default"].fn.button,A="active",$="[data-toggle^=\"button\"]",k="input:not([type=\"hidden\"])",D=".btn",P=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function e(){var t=!0,n=!0,i=m["default"](this._element).closest("[data-toggle=\"buttons\"]")[0];if(i){var o=this._element.querySelector(k);if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains(A))t=!1;else{var a=i.querySelector(".active");a&&m["default"](a).removeClass(A)}t&&(("checkbox"===o.type||"radio"===o.type)&&(o.checked=!this._element.classList.contains(A)),!this.shouldAvoidTriggerChange&&m["default"](o).trigger("change")),o.focus(),n=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(A)),t&&m["default"](this._element).toggleClass(A))},t.dispose=function e(){m["default"].removeData(this._element,T),this._element=null},e._jQueryInterface=function i(t,n){return this.each(function(){var i=m["default"](this),o=i.data(T);o||(o=new e(this),i.data(T,o)),o.shouldAvoidTriggerChange=n,"toggle"===t&&o[t]()})},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}}]),e}();m["default"](document).on("click"+S+I,$,function(e){var t=e.target,n=t;if(m["default"](t).hasClass("btn")||(t=m["default"](t).closest(D)[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var i=t.querySelector(k);if(i&&(i.hasAttribute("disabled")||i.classList.contains("disabled")))return void e.preventDefault();("INPUT"===n.tagName||"LABEL"!==t.tagName)&&P._jQueryInterface.call(m["default"](t),"toggle","INPUT"===n.tagName)}}).on("focus"+S+I+" "+("blur"+S+I),$,function(e){var t=m["default"](e.target).closest(D)[0];m["default"](t).toggleClass("focus",/^focus(in)?$/.test(e.type))}),m["default"](window).on("load"+S+I,function(){for(var e=[].slice.call(document.querySelectorAll("[data-toggle=\"buttons\"] .btn")),t=0,n=e.length;t<n;t++){var o=e[t],a=o.querySelector(k);a.checked||a.hasAttribute("checked")?o.classList.add(A):o.classList.remove(A)}e=[].slice.call(document.querySelectorAll("[data-toggle=\"button\"]"));for(var r=0,s=e.length,l;r<s;r++)l=e[r],"true"===l.getAttribute("aria-pressed")?l.classList.add(A):l.classList.remove(A)}),m["default"].fn.button=P._jQueryInterface,m["default"].fn.button.Constructor=P,m["default"].fn.button.noConflict=function(){return m["default"].fn.button=O,P._jQueryInterface};var N="bs.carousel",x="."+N,j=".data-api",R=m["default"].fn.carousel,z="active",q="next",F="prev",M="slid"+x,L=".active.carousel-item",V={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},H={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},U={TOUCH:"touch",PEN:"pen"},W=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=!!(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function e(){this._isSliding||this._slide(q)},t.nextWhenVisible=function e(){var t=m["default"](this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},t.prev=function e(){this._isSliding||this._slide(F)},t.pause=function t(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(v.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function t(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function t(e){var n=this;this._activeElement=this._element.querySelector(L);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||0>e)){if(this._isSliding)return void m["default"](this._element).one(M,function(){return n.to(e)});if(i===e)return this.pause(),void this.cycle();var o=e>i?q:F;this._slide(o,this._items[e])}},t.dispose=function e(){m["default"](this._element).off(x),m["default"].removeData(this._element,N),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function t(e){return e=l({},V,e),v.typeCheckConfig("carousel",e,H),e},t._handleSwipe=function e(){var t=Math.abs,n=t(this.touchDeltaX);if(!(n<=40)){var i=n/this.touchDeltaX;this.touchDeltaX=0,0<i&&this.prev(),0>i&&this.next()}},t._addEventListeners=function e(){var t=this;this._config.keyboard&&m["default"](this._element).on("keydown"+x,function(e){return t._keydown(e)}),"hover"===this._config.pause&&m["default"](this._element).on("mouseenter"+x,function(e){return t.pause(e)}).on("mouseleave"+x,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function e(){var t=this;if(this._touchSupported){var n=function n(e){t._pointerEvent&&U[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:!t._pointerEvent&&(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function n(e){t.touchDeltaX=e.originalEvent.touches&&1<e.originalEvent.touches.length?0:e.originalEvent.touches[0].clientX-t.touchStartX},o=function n(e){t._pointerEvent&&U[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};m["default"](this._element.querySelectorAll(".carousel-item img")).on("dragstart"+x,function(t){return t.preventDefault()}),this._pointerEvent?(m["default"](this._element).on("pointerdown"+x,function(e){return n(e)}),m["default"](this._element).on("pointerup"+x,function(e){return o(e)}),this._element.classList.add("pointer-event")):(m["default"](this._element).on("touchstart"+x,function(e){return n(e)}),m["default"](this._element).on("touchmove"+x,function(e){return i(e)}),m["default"](this._element).on("touchend"+x,function(e){return o(e)}))}},t._keydown=function t(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},t._getItemIndex=function t(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},t._getItemByDirection=function n(e,t){var i=e===q,o=e===F,a=this._getItemIndex(t),r=this._items.length-1,s=o&&0===a||i&&a===r;if(s&&!this._config.wrap)return t;var l=e===F?-1:1,d=(a+l)%this._items.length;return-1===d?this._items[this._items.length-1]:this._items[d]},t._triggerSlideEvent=function n(e,t){var i=this._getItemIndex(e),o=this._getItemIndex(this._element.querySelector(L)),a=m["default"].Event("slide"+x,{relatedTarget:e,direction:t,from:o,to:i});return m["default"](this._element).trigger(a),a},t._setActiveIndicatorElement=function t(e){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));m["default"](n).removeClass(z);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&m["default"](i).addClass(z)}},t._updateInterval=function e(){var t=this._activeElement||this._element.querySelector(L);if(t){var n=parseInt(t.getAttribute("data-interval"),10);n?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=n):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function n(e,t){var i=this,o=this._element.querySelector(L),a=this._getItemIndex(o),r=t||o&&this._getItemByDirection(e,o),s=this._getItemIndex(r),l=!!this._interval,d,_,c;if(e===q?(d="carousel-item-left",_="carousel-item-next",c="left"):(d="carousel-item-right",_="carousel-item-prev",c="right"),r&&m["default"](r).hasClass(z))return void(this._isSliding=!1);var u=this._triggerSlideEvent(r,c);if(!u.isDefaultPrevented()&&o&&r){this._isSliding=!0,l&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r;var p=m["default"].Event(M,{relatedTarget:r,direction:c,from:a,to:s});if(m["default"](this._element).hasClass("slide")){m["default"](r).addClass(_),v.reflow(r),m["default"](o).addClass(d),m["default"](r).addClass(d);var g=v.getTransitionDurationFromElement(o);m["default"](o).one(v.TRANSITION_END,function(){m["default"](r).removeClass(d+" "+_).addClass(z),m["default"](o).removeClass(z+" "+_+" "+d),i._isSliding=!1,setTimeout(function(){return m["default"](i._element).trigger(p)},0)}).emulateTransitionEnd(g)}else m["default"](o).removeClass(z),m["default"](r).addClass(z),this._isSliding=!1,m["default"](this._element).trigger(p);l&&this.cycle()}},e._jQueryInterface=function n(t){return this.each(function(){var n=m["default"](this).data(N),i=l({},V,m["default"](this).data());"object"==typeof t&&(i=l({},i,t));var o="string"==typeof t?t:i.slide;if(n||(n=new e(this,i),m["default"](this).data(N,n)),"number"==typeof t)n.to(t);else if("string"==typeof o){if("undefined"==typeof n[o])throw new TypeError("No method named \""+o+"\"");n[o]()}else i.interval&&i.ride&&(n.pause(),n.cycle())})},e._dataApiClickHandler=function n(t){var i=v.getSelectorFromElement(this);if(i){var o=m["default"](i)[0];if(o&&m["default"](o).hasClass("carousel")){var a=l({},m["default"](o).data(),m["default"](this).data()),r=this.getAttribute("data-slide-to");r&&(a.interval=!1),e._jQueryInterface.call(m["default"](o),a),r&&m["default"](o).data(N).to(r),t.preventDefault()}}},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}},{key:"Default",get:function e(){return V}}]),e}();m["default"](document).on("click"+x+j,"[data-slide], [data-slide-to]",W._dataApiClickHandler),m["default"](window).on("load"+x+j,function(){for(var e=[].slice.call(document.querySelectorAll("[data-ride=\"carousel\"]")),t=0,n=e.length,o;t<n;t++)o=m["default"](e[t]),W._jQueryInterface.call(o,o.data())}),m["default"].fn.carousel=W._jQueryInterface,m["default"].fn.carousel.Constructor=W,m["default"].fn.carousel.noConflict=function(){return m["default"].fn.carousel=R,W._jQueryInterface};var B="bs.collapse",Q="."+B,Y=m["default"].fn.collapse,G="show",K="collapse",X="collapsing",Z="collapsed",J="width",ee="[data-toggle=\"collapse\"]",te={toggle:!0,parent:""},ne={toggle:"boolean",parent:"(string|element)"},ie=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#"+e.id+"\"],"+("[data-toggle=\"collapse\"][data-target=\"#"+e.id+"\"]")));for(var n=[].slice.call(document.querySelectorAll(ee)),o=0,a=n.length;o<a;o++){var r=n[o],s=v.getSelectorFromElement(r),l=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<l.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function e(){m["default"](this._element).hasClass(G)?this.hide():this.show()},t.show=function t(){var n=this;if(!(this._isTransitioning||m["default"](this._element).hasClass(G))){var i,o;if(this._parent&&(i=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(e){return"string"==typeof n._config.parent?e.getAttribute("data-parent")===n._config.parent:e.classList.contains(K)}),0===i.length&&(i=null)),!(i&&(o=m["default"](i).not(this._selector).data(B),o&&o._isTransitioning))){var a=m["default"].Event("show"+Q);if(m["default"](this._element).trigger(a),!a.isDefaultPrevented()){i&&(e._jQueryInterface.call(m["default"](i).not(this._selector),"hide"),!o&&m["default"](i).data(B,null));var r=this._getDimension();m["default"](this._element).removeClass(K).addClass(X),this._element.style[r]=0,this._triggerArray.length&&m["default"](this._triggerArray).removeClass(Z).attr("aria-expanded",!0),this.setTransitioning(!0);var s=function e(){m["default"](n._element).removeClass(X).addClass(K+" "+G),n._element.style[r]="",n.setTransitioning(!1),m["default"](n._element).trigger("shown"+Q)},l=r[0].toUpperCase()+r.slice(1),d="scroll"+l,_=v.getTransitionDurationFromElement(this._element);m["default"](this._element).one(v.TRANSITION_END,s).emulateTransitionEnd(_),this._element.style[r]=this._element[d]+"px"}}}},t.hide=function e(){var t=this;if(!this._isTransitioning&&m["default"](this._element).hasClass(G)){var n=m["default"].Event("hide"+Q);if(m["default"](this._element).trigger(n),!n.isDefaultPrevented()){var o=this._getDimension();this._element.style[o]=this._element.getBoundingClientRect()[o]+"px",v.reflow(this._element),m["default"](this._element).addClass(X).removeClass(K+" "+G);var a=this._triggerArray.length;if(0<a)for(var r=0;r<a;r++){var s=this._triggerArray[r],l=v.getSelectorFromElement(s);if(null!==l){var d=m["default"]([].slice.call(document.querySelectorAll(l)));d.hasClass(G)||m["default"](s).addClass(Z).attr("aria-expanded",!1)}}this.setTransitioning(!0);var _=function e(){t.setTransitioning(!1),m["default"](t._element).removeClass(X).addClass(K).trigger("hidden"+Q)};this._element.style[o]="";var c=v.getTransitionDurationFromElement(this._element);m["default"](this._element).one(v.TRANSITION_END,_).emulateTransitionEnd(c)}}},t.setTransitioning=function t(e){this._isTransitioning=e},t.dispose=function e(){m["default"].removeData(this._element,B),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function t(e){return e=l({},te,e),e.toggle=!!e.toggle,v.typeCheckConfig("collapse",e,ne),e},t._getDimension=function e(){var t=m["default"](this._element).hasClass(J);return t?J:"height"},t._getParent=function t(){var n=this,i;v.isElement(this._config.parent)?(i=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(i=this._config.parent[0])):i=document.querySelector(this._config.parent);var o="[data-toggle=\"collapse\"][data-parent=\""+this._config.parent+"\"]",a=[].slice.call(i.querySelectorAll(o));return m["default"](a).each(function(t,i){n._addAriaAndCollapsedClass(e._getTargetFromElement(i),[i])}),i},t._addAriaAndCollapsedClass=function n(e,t){var i=m["default"](e).hasClass(G);t.length&&m["default"](t).toggleClass(Z,!i).attr("aria-expanded",i)},e._getTargetFromElement=function t(e){var n=v.getSelectorFromElement(e);return n?document.querySelector(n):null},e._jQueryInterface=function n(t){return this.each(function(){var n=m["default"](this),i=n.data(B),o=l({},te,n.data(),"object"==typeof t&&t?t:{});if(!i&&o.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(o.toggle=!1),i||(i=new e(this,o),n.data(B,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError("No method named \""+t+"\"");i[t]()}})},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}},{key:"Default",get:function e(){return te}}]),e}();m["default"](document).on("click"+Q+".data-api",ee,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=m["default"](this),n=v.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(n));m["default"](i).each(function(){var e=m["default"](this),n=e.data(B),i=n?"toggle":t.data();ie._jQueryInterface.call(e,i)})}),m["default"].fn.collapse=ie._jQueryInterface,m["default"].fn.collapse.Constructor=ie,m["default"].fn.collapse.noConflict=function(){return m["default"].fn.collapse=Y,ie._jQueryInterface};var oe="bs.dropdown",ae="."+oe,re=".data-api",se=m["default"].fn.dropdown,le=27,de=32,_e=9,ce=38,ue=40,pe=new RegExp(ce+"|"+ue+"|"+le),ge="disabled",fe="show",me="dropdown-menu-right",he="hide"+ae,ye="hidden"+ae,ve="click"+ae+re,be="keydown"+ae+re,we="[data-toggle=\"dropdown\"]",Ce=".dropdown-menu",Ee={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Te={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},Se=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=e.prototype;return t.toggle=function t(){if(!(this._element.disabled||m["default"](this._element).hasClass(ge))){var n=m["default"](this._menu).hasClass(fe);e._clearMenus(),n||this.show(!0)}},t.show=function n(t){if(void 0===t&&(t=!1),!(this._element.disabled||m["default"](this._element).hasClass(ge)||m["default"](this._menu).hasClass(fe))){var i={relatedTarget:this._element},o=m["default"].Event("show"+ae,i),a=e._getParentFromElement(this._element);if(m["default"](a).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&t){if("undefined"==typeof h["default"])throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var r=this._element;"parent"===this._config.reference?r=a:v.isElement(this._config.reference)&&(r=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(r=this._config.reference[0])),"scrollParent"!==this._config.boundary&&m["default"](a).addClass("position-static"),this._popper=new h["default"](r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===m["default"](a).closest(".navbar-nav").length&&m["default"](document.body).children().on("mouseover",null,m["default"].noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),m["default"](this._menu).toggleClass(fe),m["default"](a).toggleClass(fe).trigger(m["default"].Event("shown"+ae,i))}}},t.hide=function t(){if(!(this._element.disabled||m["default"](this._element).hasClass(ge)||!m["default"](this._menu).hasClass(fe))){var n={relatedTarget:this._element},i=m["default"].Event(he,n),o=e._getParentFromElement(this._element);m["default"](o).trigger(i),i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),m["default"](this._menu).toggleClass(fe),m["default"](o).toggleClass(fe).trigger(m["default"].Event(ye,n)))}},t.dispose=function e(){m["default"].removeData(this._element,oe),m["default"](this._element).off(ae),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function e(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function e(){var t=this;m["default"](this._element).on("click"+ae,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},t._getConfig=function t(e){return e=l({},this.constructor.Default,m["default"](this._element).data(),e),v.typeCheckConfig("dropdown",e,this.constructor.DefaultType),e},t._getMenuElement=function t(){if(!this._menu){var n=e._getParentFromElement(this._element);n&&(this._menu=n.querySelector(Ce))}return this._menu},t._getPlacement=function e(){var t=m["default"](this._element.parentNode),n="bottom-start";return t.hasClass("dropup")?n=m["default"](this._menu).hasClass(me)?"top-end":"top-start":t.hasClass("dropright")?n="right-start":t.hasClass("dropleft")?n="left-start":m["default"](this._menu).hasClass(me)&&(n="bottom-end"),n},t._detectNavbar=function e(){return 0<m["default"](this._element).closest(".navbar").length},t._getOffset=function e(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(e){return e.offsets=l({},e.offsets,t._config.offset(e.offsets,t._element)),e}:n.offset=this._config.offset,n},t._getPopperConfig=function e(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),l({},t,this._config.popperConfig)},e._jQueryInterface=function n(t){return this.each(function(){var n=m["default"](this).data(oe),i="object"==typeof t?t:null;if(n||(n=new e(this,i),m["default"](this).data(oe,n)),"string"==typeof t){if("undefined"==typeof n[t])throw new TypeError("No method named \""+t+"\"");n[t]()}})},e._clearMenus=function n(t){if(!(t&&(t.which===3||"keyup"===t.type&&t.which!==_e)))for(var o=[].slice.call(document.querySelectorAll(we)),a=0,r=o.length;void 0>a;a++){var s=e._getParentFromElement(o[a]),l=m["default"](o[a]).data(oe),d={relatedTarget:o[a]};if(t&&"click"===t.type&&(d.clickEvent=t),!!l){var _=l._menu;if(m["default"](s).hasClass(fe)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&t.which===_e)&&m["default"].contains(s,t.target))){var c=m["default"].Event(he,d);(m["default"](s).trigger(c),!c.isDefaultPrevented())&&("ontouchstart"in document.documentElement&&m["default"](document.body).children().off("mouseover",null,m["default"].noop),o[a].setAttribute("aria-expanded","false"),l._popper&&l._popper.destroy(),m["default"](_).removeClass(fe),m["default"](s).removeClass(fe).trigger(m["default"].Event(ye,d)))}}}},e._getParentFromElement=function t(e){var n=v.getSelectorFromElement(e),i;return n&&(i=document.querySelector(n)),i||e.parentNode},e._dataApiKeydownHandler=function n(t){if((/input|textarea/i.test(t.target.tagName)?!(t.which===de||t.which!==le&&(t.which!==ue&&t.which!==ce||m["default"](t.target).closest(Ce).length)):!!pe.test(t.which))&&!(this.disabled||m["default"](this).hasClass(ge))){var i=e._getParentFromElement(this),o=m["default"](i).hasClass(fe);if(o||t.which!==le){if(t.preventDefault(),t.stopPropagation(),!o||t.which===le||t.which===de)return t.which===le&&m["default"](i.querySelector(we)).trigger("focus"),void m["default"](this).trigger("click");var a=[].slice.call(i.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(e){return m["default"](e).is(":visible")});if(0!==a.length){var r=a.indexOf(t.target);t.which===ce&&0<r&&r--,t.which===ue&&r<a.length-1&&r++,0>r&&(r=0),a[r].focus()}}}},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}},{key:"Default",get:function e(){return Ee}},{key:"DefaultType",get:function e(){return Te}}]),e}();m["default"](document).on(be,we,Se._dataApiKeydownHandler).on(be,Ce,Se._dataApiKeydownHandler).on(ve+" "+("keyup"+ae+re),Se._clearMenus).on(ve,we,function(e){e.preventDefault(),e.stopPropagation(),Se._jQueryInterface.call(m["default"](this),"toggle")}).on(ve,".dropdown form",function(t){t.stopPropagation()}),m["default"].fn.dropdown=Se._jQueryInterface,m["default"].fn.dropdown.Constructor=Se,m["default"].fn.dropdown.noConflict=function(){return m["default"].fn.dropdown=se,Se._jQueryInterface};var Ie="bs.modal",Oe="."+Ie,Ae=m["default"].fn.modal,$e=27,ke="modal-open",De="fade",Pe="show",Ne="modal-static",xe="hidden"+Oe,je="show"+Oe,Re="focusin"+Oe,ze="resize"+Oe,qe="click.dismiss"+Oe,Fe="keydown.dismiss"+Oe,Me="mousedown.dismiss"+Oe,Le=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ve=".sticky-top",He={backdrop:!0,keyboard:!0,focus:!0,show:!0},Ue={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},We=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=e.prototype;return t.toggle=function t(e){return this._isShown?this.hide():this.show(e)},t.show=function t(e){var n=this;if(!(this._isShown||this._isTransitioning)){var i=m["default"].Event(je,{relatedTarget:e});m["default"](this._element).trigger(i),i.isDefaultPrevented()||(this._isShown=!0,m["default"](this._element).hasClass(De)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),m["default"](this._element).on(qe,"[data-dismiss=\"modal\"]",function(e){return n.hide(e)}),m["default"](this._dialog).on(Me,function(){m["default"](n._element).one("mouseup.dismiss"+Oe,function(e){m["default"](e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)}))}},t.hide=function t(e){var n=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var i=m["default"].Event("hide"+Oe);if(m["default"](this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var o=m["default"](this._element).hasClass(De);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),m["default"](document).off(Re),m["default"](this._element).removeClass(Pe),m["default"](this._element).off(qe),m["default"](this._dialog).off(Me),o){var a=v.getTransitionDurationFromElement(this._element);m["default"](this._element).one(v.TRANSITION_END,function(e){return n._hideModal(e)}).emulateTransitionEnd(a)}else this._hideModal()}}},t.dispose=function e(){[window,this._element,this._dialog].forEach(function(e){return m["default"](e).off(Oe)}),m["default"](document).off(Re),m["default"].removeData(this._element,Ie),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function e(){this._adjustDialog()},t._getConfig=function t(e){return e=l({},He,e),v.typeCheckConfig("modal",e,Ue),e},t._triggerBackdropTransition=function e(){var t=this,n=m["default"].Event("hidePrevented"+Oe);if(m["default"](this._element).trigger(n),!n.isDefaultPrevented()){var i=this._element.scrollHeight>document.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add(Ne);var o=v.getTransitionDurationFromElement(this._dialog);m["default"](this._element).off(v.TRANSITION_END),m["default"](this._element).one(v.TRANSITION_END,function(){t._element.classList.remove(Ne),i||m["default"](t._element).one(v.TRANSITION_END,function(){t._element.style.overflowY=""}).emulateTransitionEnd(t._element,o)}).emulateTransitionEnd(o),this._element.focus()}},t._showElement=function t(e){var n=this,i=m["default"](this._element).hasClass(De),o=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),m["default"](this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,i&&v.reflow(this._element),m["default"](this._element).addClass(Pe),this._config.focus&&this._enforceFocus();var a=m["default"].Event("shown"+Oe,{relatedTarget:e}),r=function e(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,m["default"](n._element).trigger(a)};if(i){var s=v.getTransitionDurationFromElement(this._dialog);m["default"](this._dialog).one(v.TRANSITION_END,r).emulateTransitionEnd(s)}else r()},t._enforceFocus=function e(){var t=this;m["default"](document).off(Re).on(Re,function(e){document!==e.target&&t._element!==e.target&&0===m["default"](t._element).has(e.target).length&&t._element.focus()})},t._setEscapeEvent=function e(){var t=this;this._isShown?m["default"](this._element).on(Fe,function(e){t._config.keyboard&&e.which===$e?(e.preventDefault(),t.hide()):!t._config.keyboard&&e.which===$e&&t._triggerBackdropTransition()}):!this._isShown&&m["default"](this._element).off(Fe)},t._setResizeEvent=function e(){var t=this;this._isShown?m["default"](window).on(ze,function(e){return t.handleUpdate(e)}):m["default"](window).off(ze)},t._hideModal=function e(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){m["default"](document.body).removeClass(ke),t._resetAdjustments(),t._resetScrollbar(),m["default"](t._element).trigger(xe)})},t._removeBackdrop=function e(){this._backdrop&&(m["default"](this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function t(e){var n=this,i=m["default"](this._element).hasClass(De)?De:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),m["default"](this._backdrop).appendTo(document.body),m["default"](this._element).on(qe,function(e){return n._ignoreBackdropClick?void(n._ignoreBackdropClick=!1):void(e.target!==e.currentTarget||("static"===n._config.backdrop?n._triggerBackdropTransition():n.hide()))}),i&&v.reflow(this._backdrop),m["default"](this._backdrop).addClass(Pe),!e)return;if(!i)return void e();var o=v.getTransitionDurationFromElement(this._backdrop);m["default"](this._backdrop).one(v.TRANSITION_END,e).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){m["default"](this._backdrop).removeClass(Pe);var a=function t(){n._removeBackdrop(),e&&e()};if(m["default"](this._element).hasClass(De)){var r=v.getTransitionDurationFromElement(this._backdrop);m["default"](this._backdrop).one(v.TRANSITION_END,a).emulateTransitionEnd(r)}else a()}else e&&e()},t._adjustDialog=function e(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function e(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function e(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=o(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function e(){var t=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(Le)),i=[].slice.call(document.querySelectorAll(Ve));m["default"](n).each(function(e,n){var i=n.style.paddingRight,o=m["default"](n).css("padding-right");m["default"](n).data("padding-right",i).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),m["default"](i).each(function(e,n){var i=n.style.marginRight,o=m["default"](n).css("margin-right");m["default"](n).data("margin-right",i).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")});var o=document.body.style.paddingRight,a=m["default"](document.body).css("padding-right");m["default"](document.body).data("padding-right",o).css("padding-right",parseFloat(a)+this._scrollbarWidth+"px")}m["default"](document.body).addClass(ke)},t._resetScrollbar=function e(){var t=[].slice.call(document.querySelectorAll(Le));m["default"](t).each(function(e,t){var n=m["default"](t).data("padding-right");m["default"](t).removeData("padding-right"),t.style.paddingRight=n?n:""});var n=[].slice.call(document.querySelectorAll(""+Ve));m["default"](n).each(function(e,t){var n=m["default"](t).data("margin-right");"undefined"!=typeof n&&m["default"](t).css("margin-right",n).removeData("margin-right")});var i=m["default"](document.body).data("padding-right");m["default"](document.body).removeData("padding-right"),document.body.style.paddingRight=i?i:""},t._getScrollbarWidth=function e(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var n=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),n},e._jQueryInterface=function i(t,n){return this.each(function(){var i=m["default"](this).data(Ie),o=l({},He,m["default"](this).data(),"object"==typeof t&&t?t:{});if(i||(i=new e(this,o),m["default"](this).data(Ie,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError("No method named \""+t+"\"");i[t](n)}else o.show&&i.show(n)})},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}},{key:"Default",get:function e(){return He}}]),e}();m["default"](document).on("click"+Oe+".data-api","[data-toggle=\"modal\"]",function(e){var t=this,n=v.getSelectorFromElement(this),i;n&&(i=document.querySelector(n));var o=m["default"](i).data(Ie)?"toggle":l({},m["default"](i).data(),m["default"](this).data());("A"===this.tagName||"AREA"===this.tagName)&&e.preventDefault();var a=m["default"](i).one(je,function(e){e.isDefaultPrevented()||a.one(xe,function(){m["default"](t).is(":visible")&&t.focus()})});We._jQueryInterface.call(m["default"](i),o,this)}),m["default"].fn.modal=We._jQueryInterface,m["default"].fn.modal.Constructor=We,m["default"].fn.modal.noConflict=function(){return m["default"].fn.modal=Ae,We._jQueryInterface};var Be=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Qe=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Ge="tooltip",Ke="bs.tooltip",Xe="."+Ke,Ze=m["default"].fn[Ge],Je="bs-tooltip",et=new RegExp("(^|\\s)"+Je+"\\S+","g"),tt=["sanitize","whiteList","sanitizeFn"],nt="fade",it="show",ot="show",at="out",rt="hover",st="focus",lt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},dt={animation:!0,template:"<div class=\"tooltip\" role=\"tooltip\"><div class=\"arrow\"></div><div class=\"tooltip-inner\"></div></div>",trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},_t={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},ct={HIDE:"hide"+Xe,HIDDEN:"hidden"+Xe,SHOW:"show"+Xe,SHOWN:"shown"+Xe,INSERTED:"inserted"+Xe,CLICK:"click"+Xe,FOCUSIN:"focusin"+Xe,FOCUSOUT:"focusout"+Xe,MOUSEENTER:"mouseenter"+Xe,MOUSELEAVE:"mouseleave"+Xe},ut=function(){function e(e,t){if("undefined"==typeof h["default"])throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function e(){this._isEnabled=!0},t.disable=function e(){this._isEnabled=!1},t.toggleEnabled=function e(){this._isEnabled=!this._isEnabled},t.toggle=function t(e){if(this._isEnabled)if(e){var n=this.constructor.DATA_KEY,i=m["default"](e.currentTarget).data(n);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),m["default"](e.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(m["default"](this.getTipElement()).hasClass(it))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function e(){clearTimeout(this._timeout),m["default"].removeData(this.element,this.constructor.DATA_KEY),m["default"](this.element).off(this.constructor.EVENT_KEY),m["default"](this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&m["default"](this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function e(){var t=this;if("none"===m["default"](this.element).css("display"))throw new Error("Please use show on visible elements");var n=m["default"].Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){m["default"](this.element).trigger(n);var i=v.findShadowRoot(this.element),o=m["default"].contains(null===i?this.element.ownerDocument.documentElement:i,this.element);if(n.isDefaultPrevented()||!o)return;var a=this.getTipElement(),r=v.getUID(this.constructor.NAME);a.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&m["default"](a).addClass(nt);var s="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,l=this._getAttachment(s);this.addAttachmentClass(l);var d=this._getContainer();m["default"](a).data(this.constructor.DATA_KEY,this),m["default"].contains(this.element.ownerDocument.documentElement,this.tip)||m["default"](a).appendTo(d),m["default"](this.element).trigger(this.constructor.Event.INSERTED),this._popper=new h["default"](this.element,a,this._getPopperConfig(l)),m["default"](a).addClass(it),m["default"](a).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&m["default"](document.body).children().on("mouseover",null,m["default"].noop);var _=function e(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,m["default"](t.element).trigger(t.constructor.Event.SHOWN),n===at&&t._leave(null,t)};if(m["default"](this.tip).hasClass(nt)){var c=v.getTransitionDurationFromElement(this.tip);m["default"](this.tip).one(v.TRANSITION_END,_).emulateTransitionEnd(c)}else _()}},t.hide=function t(e){var n=this,i=this.getTipElement(),o=m["default"].Event(this.constructor.Event.HIDE),a=function t(){n._hoverState!==ot&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),m["default"](n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()};if(m["default"](this.element).trigger(o),!o.isDefaultPrevented()){if(m["default"](i).removeClass(it),"ontouchstart"in document.documentElement&&m["default"](document.body).children().off("mouseover",null,m["default"].noop),this._activeTrigger["click"]=!1,this._activeTrigger[st]=!1,this._activeTrigger[rt]=!1,m["default"](this.tip).hasClass(nt)){var r=v.getTransitionDurationFromElement(i);m["default"](i).one(v.TRANSITION_END,a).emulateTransitionEnd(r)}else a();this._hoverState=""}},t.update=function e(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function e(){return!!this.getTitle()},t.addAttachmentClass=function t(e){m["default"](this.getTipElement()).addClass(Je+"-"+e)},t.getTipElement=function e(){return this.tip=this.tip||m["default"](this.config.template)[0],this.tip},t.setContent=function e(){var t=this.getTipElement();this.setElementContent(m["default"](t.querySelectorAll(".tooltip-inner")),this.getTitle()),m["default"](t).removeClass(nt+" "+it)},t.setElementContent=function n(e,t){return"object"==typeof t&&(t.nodeType||t.jquery)?void(this.config.html?!m["default"](t).parent().is(e)&&e.empty().append(t):e.text(m["default"](t).text())):void(this.config.html?(this.config.sanitize&&(t=f(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t))},t.getTitle=function e(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getPopperConfig=function t(e){var n=this,i={placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function t(e){e.originalPlacement!==e.placement&&n._handlePopperPlacementChange(e)},onUpdate:function t(e){return n._handlePopperPlacementChange(e)}};return l({},i,this.config.popperConfig)},t._getOffset=function e(){var t=this,n={};return"function"==typeof this.config.offset?n.fn=function(e){return e.offsets=l({},e.offsets,t.config.offset(e.offsets,t.element)),e}:n.offset=this.config.offset,n},t._getContainer=function e(){return!1===this.config.container?document.body:v.isElement(this.config.container)?m["default"](this.config.container):m["default"](document).find(this.config.container)},t._getAttachment=function t(e){return lt[e.toUpperCase()]},t._setListeners=function e(){var t=this,n=this.config.trigger.split(" ");n.forEach(function(e){if("click"===e)m["default"](t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!=="manual"){var n=e===rt?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===rt?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;m["default"](t.element).on(n,t.config.selector,function(e){return t._enter(e)}).on(i,t.config.selector,function(e){return t._leave(e)})}}),this._hideModalHandler=function(){t.element&&t.hide()},m["default"](this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function e(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function n(e,t){var i=this.constructor.DATA_KEY;return(t=t||m["default"](e.currentTarget).data(i),t||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),m["default"](e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusin"===e.type?st:rt]=!0),m["default"](t.getTipElement()).hasClass(it)||t._hoverState===ot)?void(t._hoverState=ot):(clearTimeout(t._timeout),t._hoverState=ot,t.config.delay&&t.config.delay.show?void(t._timeout=setTimeout(function(){t._hoverState===ot&&t.show()},t.config.delay.show)):void t.show())},t._leave=function n(e,t){var i=this.constructor.DATA_KEY;if(t=t||m["default"](e.currentTarget).data(i),t||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),m["default"](e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusout"===e.type?st:rt]=!1),!t._isWithActiveTrigger())return clearTimeout(t._timeout),t._hoverState=at,t.config.delay&&t.config.delay.hide?void(t._timeout=setTimeout(function(){t._hoverState===at&&t.hide()},t.config.delay.hide)):void t.hide()},t._isWithActiveTrigger=function e(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function t(e){var n=m["default"](this.element).data();return Object.keys(n).forEach(function(e){-1!==tt.indexOf(e)&&delete n[e]}),e=l({},this.constructor.Default,n,"object"==typeof e&&e?e:{}),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),v.typeCheckConfig(Ge,e,this.constructor.DefaultType),e.sanitize&&(e.template=f(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function e(){var t={};if(this.config)for(var n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},t._cleanTipClass=function e(){var t=m["default"](this.getTipElement()),n=t.attr("class").match(et);null!==n&&n.length&&t.removeClass(n.join(""))},t._handlePopperPlacementChange=function t(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function e(){var t=this.getTipElement(),n=this.config.animation;null!==t.getAttribute("x-placement")||(m["default"](t).removeClass(nt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},e._jQueryInterface=function n(t){return this.each(function(){var n=m["default"](this),i=n.data(Ke),o="object"==typeof t&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new e(this,o),n.data(Ke,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new TypeError("No method named \""+t+"\"");i[t]()}})},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}},{key:"Default",get:function e(){return dt}},{key:"NAME",get:function e(){return Ge}},{key:"DATA_KEY",get:function e(){return Ke}},{key:"Event",get:function e(){return ct}},{key:"EVENT_KEY",get:function e(){return Xe}},{key:"DefaultType",get:function e(){return _t}}]),e}();m["default"].fn[Ge]=ut._jQueryInterface,m["default"].fn[Ge].Constructor=ut,m["default"].fn[Ge].noConflict=function(){return m["default"].fn[Ge]=Ze,ut._jQueryInterface};var pt="bs.popover",gt="."+pt,ft=m["default"].fn.popover,mt="bs-popover",ht=new RegExp("(^|\\s)"+mt+"\\S+","g"),yt=l({},ut.Default,{placement:"right",trigger:"click",content:"",template:"<div class=\"popover\" role=\"tooltip\"><div class=\"arrow\"></div><h3 class=\"popover-header\"></h3><div class=\"popover-body\"></div></div>"}),vt=l({},ut.DefaultType,{content:"(string|element|function)"}),bt={HIDE:"hide"+gt,HIDDEN:"hidden"+gt,SHOW:"show"+gt,SHOWN:"shown"+gt,INSERTED:"inserted"+gt,CLICK:"click"+gt,FOCUSIN:"focusin"+gt,FOCUSOUT:"focusout"+gt,MOUSEENTER:"mouseenter"+gt,MOUSELEAVE:"mouseleave"+gt},wt=function(e){function t(){return e.apply(this,arguments)||this}d(t,e);var n=t.prototype;return n.isWithContent=function e(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function t(e){m["default"](this.getTipElement()).addClass(mt+"-"+e)},n.getTipElement=function e(){return this.tip=this.tip||m["default"](this.config.template)[0],this.tip},n.setContent=function e(){var t=m["default"](this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(".popover-body"),n),t.removeClass("fade"+" "+"show")},n._getContent=function e(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function e(){var t=m["default"](this.getTipElement()),n=t.attr("class").match(ht);null!==n&&0<n.length&&t.removeClass(n.join(""))},t._jQueryInterface=function n(e){return this.each(function(){var n=m["default"](this).data(pt),i="object"==typeof e?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,i),m["default"](this).data(pt,n)),"string"==typeof e)){if("undefined"==typeof n[e])throw new TypeError("No method named \""+e+"\"");n[e]()}})},s(t,null,[{key:"VERSION",get:function e(){return"4.6.2"}},{key:"Default",get:function e(){return yt}},{key:"NAME",get:function e(){return"popover"}},{key:"DATA_KEY",get:function e(){return pt}},{key:"Event",get:function e(){return bt}},{key:"EVENT_KEY",get:function e(){return gt}},{key:"DefaultType",get:function e(){return vt}}]),t}(ut);m["default"].fn.popover=wt._jQueryInterface,m["default"].fn.popover.Constructor=wt,m["default"].fn.popover.noConflict=function(){return m["default"].fn.popover=ft,wt._jQueryInterface};var Ct="bs.scrollspy",Et="."+Ct,Tt=m["default"].fn.scrollspy,St="active",It="position",Ot=".nav, .list-group",At=".nav-link",$t=".list-group-item",kt={offset:10,method:"auto",target:""},Dt={offset:"number",method:"string",target:"(string|element)"},Pt=function(){function e(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+At+","+(this._config.target+" "+$t+",")+(this._config.target+" "+".dropdown-item"),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,m["default"](this._scrollElement).on("scroll"+Et,function(e){return n._process(e)}),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function e(){var t=this,n=this._scrollElement===this._scrollElement.window?"offset":It,i="auto"===this._config.method?n:this._config.method,o=i===It?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var a=[].slice.call(document.querySelectorAll(this._selector));a.map(function(e){var t=v.getSelectorFromElement(e),n;if(t&&(n=document.querySelector(t)),n){var a=n.getBoundingClientRect();if(a.width||a.height)return[m["default"](n)[i]().top+o,t]}return null}).filter(Boolean).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},t.dispose=function e(){m["default"].removeData(this._element,Ct),m["default"](this._scrollElement).off(Et),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function t(e){if(e=l({},kt,"object"==typeof e&&e?e:{}),"string"!=typeof e.target&&v.isElement(e.target)){var n=m["default"](e.target).attr("id");n||(n=v.getUID("scrollspy"),m["default"](e.target).attr("id",n)),e.target="#"+n}return v.typeCheckConfig("scrollspy",e,Dt),e},t._getScrollTop=function e(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function e(){return this._scrollElement.scrollHeight||i(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function e(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function e(){var t=this._getScrollTop()+this._config.offset,n=this._getScrollHeight(),o=this._config.offset+n-this._getOffsetHeight();if(this._scrollHeight!==n&&this.refresh(),t>=o){var a=this._targets[this._targets.length-1];return void(this._activeTarget!==a&&this._activate(a))}if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var r=this._offsets.length,s;r--;)s=this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&("undefined"==typeof this._offsets[r+1]||t<this._offsets[r+1]),s&&this._activate(this._targets[r])},t._activate=function t(e){this._activeTarget=e,this._clear();var n=this._selector.split(",").map(function(t){return t+"[data-target=\""+e+"\"],"+t+"[href=\""+e+"\"]"}),i=m["default"]([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass("dropdown-item")?(i.closest(".dropdown").find(".dropdown-toggle").addClass(St),i.addClass(St)):(i.addClass(St),i.parents(Ot).prev(At+", "+$t).addClass(St),i.parents(Ot).prev(".nav-item").children(At).addClass(St)),m["default"](this._scrollElement).trigger("activate"+Et,{relatedTarget:e})},t._clear=function e(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(St)}).forEach(function(e){return e.classList.remove(St)})},e._jQueryInterface=function n(t){return this.each(function(){var n=m["default"](this).data(Ct),i="object"==typeof t&&t;if(n||(n=new e(this,i),m["default"](this).data(Ct,n)),"string"==typeof t){if("undefined"==typeof n[t])throw new TypeError("No method named \""+t+"\"");n[t]()}})},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}},{key:"Default",get:function e(){return kt}}]),e}();m["default"](window).on("load"+Et+".data-api",function(){for(var e=[].slice.call(document.querySelectorAll("[data-spy=\"scroll\"]")),t=e.length,n=t,o;n--;)o=m["default"](e[n]),Pt._jQueryInterface.call(o,o.data())}),m["default"].fn.scrollspy=Pt._jQueryInterface,m["default"].fn.scrollspy.Constructor=Pt,m["default"].fn.scrollspy.noConflict=function(){return m["default"].fn.scrollspy=Tt,Pt._jQueryInterface};var Nt="bs.tab",xt="."+Nt,jt=m["default"].fn.tab,Rt="active",zt="fade",qt="show",Ft=".active",Mt="> li > .active",Lt=function(){function e(e){this._element=e}var t=e.prototype;return t.show=function e(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&m["default"](this._element).hasClass(Rt)||m["default"](this._element).hasClass("disabled")||this._element.hasAttribute("disabled"))){var n=m["default"](this._element).closest(".nav, .list-group")[0],i=v.getSelectorFromElement(this._element),o,a;if(n){var r="UL"===n.nodeName||"OL"===n.nodeName?Mt:Ft;a=m["default"].makeArray(m["default"](n).find(r)),a=a[a.length-1]}var s=m["default"].Event("hide"+xt,{relatedTarget:this._element}),l=m["default"].Event("show"+xt,{relatedTarget:a});if(a&&m["default"](a).trigger(s),m["default"](this._element).trigger(l),!(l.isDefaultPrevented()||s.isDefaultPrevented())){i&&(o=document.querySelector(i)),this._activate(this._element,n);var d=function e(){var n=m["default"].Event("hidden"+xt,{relatedTarget:t._element}),i=m["default"].Event("shown"+xt,{relatedTarget:a});m["default"](a).trigger(n),m["default"](t._element).trigger(i)};o?this._activate(o,o.parentNode,d):d()}}},t.dispose=function e(){m["default"].removeData(this._element,Nt),this._element=null},t._activate=function i(e,t,n){var o=this,a=t&&("UL"===t.nodeName||"OL"===t.nodeName)?m["default"](t).find(Mt):m["default"](t).children(Ft),r=a[0],s=n&&r&&m["default"](r).hasClass(zt),l=function t(){return o._transitionComplete(e,r,n)};if(r&&s){var d=v.getTransitionDurationFromElement(r);m["default"](r).removeClass(qt).one(v.TRANSITION_END,l).emulateTransitionEnd(d)}else l()},t._transitionComplete=function i(e,t,n){if(t){m["default"](t).removeClass(Rt);var o=m["default"](t.parentNode).find("> .dropdown-menu .active")[0];o&&m["default"](o).removeClass(Rt),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}m["default"](e).addClass(Rt),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),v.reflow(e),e.classList.contains(zt)&&e.classList.add(qt);var a=e.parentNode;if(a&&"LI"===a.nodeName&&(a=a.parentNode),a&&m["default"](a).hasClass("dropdown-menu")){var r=m["default"](e).closest(".dropdown")[0];if(r){var s=[].slice.call(r.querySelectorAll(".dropdown-toggle"));m["default"](s).addClass(Rt)}e.setAttribute("aria-expanded",!0)}n&&n()},e._jQueryInterface=function n(t){return this.each(function(){var n=m["default"](this),i=n.data(Nt);if(i||(i=new e(this),n.data(Nt,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError("No method named \""+t+"\"");i[t]()}})},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}}]),e}();m["default"](document).on("click"+xt+".data-api","[data-toggle=\"tab\"], [data-toggle=\"pill\"], [data-toggle=\"list\"]",function(e){e.preventDefault(),Lt._jQueryInterface.call(m["default"](this),"show")}),m["default"].fn.tab=Lt._jQueryInterface,m["default"].fn.tab.Constructor=Lt,m["default"].fn.tab.noConflict=function(){return m["default"].fn.tab=jt,Lt._jQueryInterface};var Vt="bs.toast",Ht="."+Vt,Ut=m["default"].fn.toast,Wt="hide",Bt="show",Qt="showing",Yt="click.dismiss"+Ht,Gt={animation:!0,autohide:!0,delay:500},Kt={animation:"boolean",autohide:"boolean",delay:"number"},Xt=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var t=e.prototype;return t.show=function e(){var t=this,n=m["default"].Event("show"+Ht);if(m["default"](this._element).trigger(n),!n.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var i=function e(){t._element.classList.remove(Qt),t._element.classList.add(Bt),m["default"](t._element).trigger("shown"+Ht),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))};if(this._element.classList.remove(Wt),v.reflow(this._element),this._element.classList.add(Qt),this._config.animation){var o=v.getTransitionDurationFromElement(this._element);m["default"](this._element).one(v.TRANSITION_END,i).emulateTransitionEnd(o)}else i()}},t.hide=function e(){if(this._element.classList.contains(Bt)){var t=m["default"].Event("hide"+Ht);m["default"](this._element).trigger(t),t.isDefaultPrevented()||this._close()}},t.dispose=function e(){this._clearTimeout(),this._element.classList.contains(Bt)&&this._element.classList.remove(Bt),m["default"](this._element).off(Yt),m["default"].removeData(this._element,Vt),this._element=null,this._config=null},t._getConfig=function t(e){return e=l({},Gt,m["default"](this._element).data(),"object"==typeof e&&e?e:{}),v.typeCheckConfig("toast",e,this.constructor.DefaultType),e},t._setListeners=function e(){var t=this;m["default"](this._element).on(Yt,"[data-dismiss=\"toast\"]",function(){return t.hide()})},t._close=function e(){var t=this,n=function e(){t._element.classList.add(Wt),m["default"](t._element).trigger("hidden"+Ht)};if(this._element.classList.remove(Bt),this._config.animation){var i=v.getTransitionDurationFromElement(this._element);m["default"](this._element).one(v.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},t._clearTimeout=function e(){clearTimeout(this._timeout),this._timeout=null},e._jQueryInterface=function n(t){return this.each(function(){var n=m["default"](this),i=n.data(Vt),o="object"==typeof t&&t;if(i||(i=new e(this,o),n.data(Vt,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError("No method named \""+t+"\"");i[t](this)}})},s(e,null,[{key:"VERSION",get:function e(){return"4.6.2"}},{key:"DefaultType",get:function e(){return Kt}},{key:"Default",get:function e(){return Gt}}]),e}();m["default"].fn.toast=Xt._jQueryInterface,m["default"].fn.toast.Constructor=Xt,m["default"].fn.toast.noConflict=function(){return m["default"].fn.toast=Ut,Xt._jQueryInterface},e.Alert=E,e.Button=P,e.Carousel=W,e.Collapse=ie,e.Dropdown=Se,e.Modal=We,e.Popover=wt,e.Scrollspy=Pt,e.Tab=Lt,e.Toast=Xt,e.Tooltip=ut,e.Util=v,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(t){var e=Math.floor,n=Math.ceil,i=Math.max,o=Math.round;function a(e){this.$container,this.constraints=null,this.__$tooltip,this.__init(e)}function r(e,n){var o=!0;return t.each(e,function(t,i){if(void 0===n[t]||e[t]!==n[t])return o=!1,!1}),o}function s(e){var n=e.attr("id"),i=n?u.window.document.getElementById(n):null;return i?i===e[0]:t.contains(u.window.document.body,e[0])}function l(){if(!c)return!1;var e=c.document.body||c.document.documentElement,t=e.style,n="transition",o=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof t[n])return!0;n=n.charAt(0).toUpperCase()+n.substr(1);for(var a=0;a<o.length;a++)if("string"==typeof t[o[a]+n])return!0;return!1}var _={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},c="undefined"==typeof window?null:window,u={hasTouchCapability:!!(c&&("ontouchstart"in c||c.DocumentTouch&&c.document instanceof c.DocumentTouch||c.navigator.maxTouchPoints)),hasTransitions:l(),IE:!1,semVer:"4.2.8",window:c},p=function(){this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__instancesLatestArr=[],this.__plugins={},this._env=u};p.prototype={__bridge:function(e,n,i){if(!n[i]){var o=function(){};o.prototype=e;var a=new o;a.__init&&a.__init(n),t.each(e,function(e,t){0!=e.indexOf("__")&&(n[e]?_.debug&&console.log("The "+e+" method of the "+i+" plugin conflicts with another plugin or native methods"):(n[e]=function(){return a[e].apply(a,Array.prototype.slice.apply(arguments))},n[e].bridged=a))}),n[i]=a}return this},__setWindow:function(e){return u.window=e,this},_getRuler:function(e){return new a(e)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(e){var n=this;if("string"==typeof e){var o=e,a=null;return 0<o.indexOf(".")?a=n.__plugins[o]:t.each(n.__plugins,function(e,t){if(t.name.substring(t.name.length-o.length-1)=="."+o)return a=t,!1}),a}if(0>e.name.indexOf("."))throw new Error("Plugins must be namespaced");return n.__plugins[e.name]=e,e.core&&n.__bridge(e.core,n,e.name),this},_trigger:function(){var e=Array.prototype.slice.apply(arguments);return"string"==typeof e[0]&&(e[0]={type:e[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,e),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,e),this},instances:function(e){var n=[],i=e||".tooltipstered";return t(i).each(function(){var e=t(this),i=e.data("tooltipster-ns");i&&t.each(i,function(t,i){n.push(e.data(i))})}),n},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(e){var n=e?e+" ":"";return t(n+".tooltipstered").toArray()},setDefaults:function(e){return t.extend(_,e),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.tooltipster=new p,t.Tooltipster=function(e,n){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+o(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(e,n)},t.Tooltipster.prototype={__init:function(e,n){var o=this;if(o._$origin=t(e),o.__options=t.extend(!0,{},_,n),o.__optionsFormat(),!u.IE||u.IE>=o.__options.IEmin){var a=null;if(void 0===o._$origin.data("tooltipster-initialTitle")&&(a=o._$origin.attr("title"),void 0===a&&(a=null),o._$origin.data("tooltipster-initialTitle",a)),null!==o.__options.content)o.__contentSet(o.__options.content);else{var r=o._$origin.attr("data-tooltip-content"),s;r&&(s=t(r)),s&&s[0]?o.__contentSet(s.first()):o.__contentSet(a)}o._$origin.removeAttr("title").addClass("tooltipstered"),o.__prepareOrigin(),o.__prepareGC(),t.each(o.__options.plugins,function(e,t){o._plug(t)}),u.hasTouchCapability&&t(u.window.document.body).on("touchmove."+o.__namespace+"-triggerOpen",function(e){o._touchRecordEvent(e)}),o._on("created",function(){o.__prepareTooltip()})._on("repositioned",function(t){o.__lastPosition=t.position})}else o.__options.disabled=!0},__contentInsert:function(){var e=this,t=e._$tooltip.find(".tooltipster-content"),n=e.__Content,i=function(e){n=e};return e._trigger({type:"format",content:e.__Content,format:i}),e.__options.functionFormat&&(n=e.__options.functionFormat.call(e,e,{origin:e._$origin[0]},e.__Content)),"string"!=typeof n||e.__options.contentAsHTML?t.empty().append(n):t.text(n),e},__contentSet:function(e){return e instanceof t&&this.__options.contentCloning&&(e=e.clone(!0)),this.__Content=e,this._trigger({type:"updated",content:e}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var e=this,n=e._$origin,o=e._$origin.is("area");if(o){var a=e._$origin.parent().attr("name");n=t("img[usemap=\"#"+a+"\"]")}var r=n[0].getBoundingClientRect(),s=t(u.window.document),l=t(u.window),d=n,_={available:{document:null,window:null},document:{size:{height:s.height(),width:s.width()}},window:{scroll:{left:u.window.scrollX||u.window.document.documentElement.scrollLeft,top:u.window.scrollY||u.window.document.documentElement.scrollTop},size:{height:l.height(),width:l.width()}},origin:{fixedLineage:!1,offset:{},size:{height:r.bottom-r.top,width:r.right-r.left},usemapImage:o?n[0]:null,windowOffset:{bottom:r.bottom,left:r.left,right:r.right,top:r.top}}},c=!1;if(o){var p=e._$origin.attr("shape"),g=e._$origin.attr("coords");if(g&&(g=g.split(","),t.map(g,function(e,t){g[t]=parseInt(e)})),"default"!=p)switch(p){case"circle":var f=g[0],m=g[1],h=g[2],y=m-h,v=f-h;_.origin.size.height=2*h,_.origin.size.width=_.origin.size.height,_.origin.windowOffset.left+=v,_.origin.windowOffset.top+=y;break;case"rect":var b=g[0],w=g[1],C=g[2],E=g[3];_.origin.size.height=E-w,_.origin.size.width=C-b,_.origin.windowOffset.left+=b,_.origin.windowOffset.top+=w;break;case"poly":for(var T=0,S=0,I=0,O=0,A="even",$=0,k;$<g.length;$++)k=g[$],"even"==A?(k>I&&(I=k,0===$&&(T=I)),k<T&&(T=k),A="odd"):(k>O&&(O=k,1==$&&(S=O)),k<S&&(S=k),A="even");_.origin.size.height=O-S,_.origin.size.width=I-T,_.origin.windowOffset.left+=T,_.origin.windowOffset.top+=S}}var D=function(e){_.origin.size.height=e.height,_.origin.windowOffset.left=e.left,_.origin.windowOffset.top=e.top,_.origin.size.width=e.width};for(e._trigger({type:"geometry",edit:D,geometry:{height:_.origin.size.height,left:_.origin.windowOffset.left,top:_.origin.windowOffset.top,width:_.origin.size.width}}),_.origin.windowOffset.right=_.origin.windowOffset.left+_.origin.size.width,_.origin.windowOffset.bottom=_.origin.windowOffset.top+_.origin.size.height,_.origin.offset.left=_.origin.windowOffset.left+_.window.scroll.left,_.origin.offset.top=_.origin.windowOffset.top+_.window.scroll.top,_.origin.offset.bottom=_.origin.offset.top+_.origin.size.height,_.origin.offset.right=_.origin.offset.left+_.origin.size.width,_.available.document={bottom:{height:_.document.size.height-_.origin.offset.bottom,width:_.document.size.width},left:{height:_.document.size.height,width:_.origin.offset.left},right:{height:_.document.size.height,width:_.document.size.width-_.origin.offset.right},top:{height:_.origin.offset.top,width:_.document.size.width}},_.available.window={bottom:{height:i(_.window.size.height-i(_.origin.windowOffset.bottom,0),0),width:_.window.size.width},left:{height:_.window.size.height,width:i(_.origin.windowOffset.left,0)},right:{height:_.window.size.height,width:i(_.window.size.width-i(_.origin.windowOffset.right,0),0)},top:{height:i(_.origin.windowOffset.top,0),width:_.window.size.width}};"html"!=d[0].tagName.toLowerCase();){if("fixed"==d.css("position")){_.origin.fixedLineage=!0;break}d=d.parent()}return _},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=t(u.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=t(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var e=this;return e.__options.selfDestruction?e.__garbageCollector=setInterval(function(){var n=new Date().getTime();e.__touchEvents=t.grep(e.__touchEvents,function(e,t){return 6e4<n-e.time}),s(e._$origin)||e.close(function(){e.destroy()})},2e4):clearInterval(e.__garbageCollector),e},__prepareOrigin:function(){var e=this;if(e._$origin.off("."+e.__namespace+"-triggerOpen"),u.hasTouchCapability&&e._$origin.on("touchstart."+e.__namespace+"-triggerOpen touchend."+e.__namespace+"-triggerOpen touchcancel."+e.__namespace+"-triggerOpen",function(t){e._touchRecordEvent(t)}),e.__options.triggerOpen.click||e.__options.triggerOpen.tap&&u.hasTouchCapability){var t="";e.__options.triggerOpen.click&&(t+="click."+e.__namespace+"-triggerOpen "),e.__options.triggerOpen.tap&&u.hasTouchCapability&&(t+="touchend."+e.__namespace+"-triggerOpen"),e._$origin.on(t,function(t){e._touchIsMeaningfulEvent(t)&&e._open(t)})}if(e.__options.triggerOpen.mouseenter||e.__options.triggerOpen.touchstart&&u.hasTouchCapability){var t="";e.__options.triggerOpen.mouseenter&&(t+="mouseenter."+e.__namespace+"-triggerOpen "),e.__options.triggerOpen.touchstart&&u.hasTouchCapability&&(t+="touchstart."+e.__namespace+"-triggerOpen"),e._$origin.on(t,function(t){(e._touchIsTouchEvent(t)||!e._touchIsEmulatedEvent(t))&&(e.__pointerIsOverOrigin=!0,e._openShortly(t))})}if(e.__options.triggerClose.mouseleave||e.__options.triggerClose.touchleave&&u.hasTouchCapability){var t="";e.__options.triggerClose.mouseleave&&(t+="mouseleave."+e.__namespace+"-triggerOpen "),e.__options.triggerClose.touchleave&&u.hasTouchCapability&&(t+="touchend."+e.__namespace+"-triggerOpen touchcancel."+e.__namespace+"-triggerOpen"),e._$origin.on(t,function(t){e._touchIsMeaningfulEvent(t)&&(e.__pointerIsOverOrigin=!1)})}return e},__prepareTooltip:function(){var e=this,n=e.__options.interactive?"auto":"";return e._$tooltip.attr("id",e.__namespace).css({"pointer-events":n,zIndex:e.__options.zIndex}),t.each(e.__previousThemes,function(t,n){e._$tooltip.removeClass(n)}),t.each(e.__options.theme,function(t,n){e._$tooltip.addClass(n)}),e.__previousThemes=t.merge([],e.__options.theme),e},__scrollHandler:function(e){var n=this;if(n.__options.triggerClose.scroll)n._close(e);else if(s(n._$origin)&&s(n._$tooltip)){var i=null;if(e.target===u.window.document)!n.__Geometry.origin.fixedLineage&&n.__options.repositionOnScroll&&n.reposition(e);else{i=n.__geometry();var o=!1;if("fixed"!=n._$origin.css("position")&&n.__$originParents.each(function(e,n){var a=t(n),r=a.css("overflow-x"),s=a.css("overflow-y");if("visible"!=r||"visible"!=s){var l=n.getBoundingClientRect();if("visible"!=r&&(i.origin.windowOffset.left<l.left||i.origin.windowOffset.right>l.right))return o=!0,!1;if("visible"!=s&&(i.origin.windowOffset.top<l.top||i.origin.windowOffset.bottom>l.bottom))return o=!0,!1}return"fixed"!=a.css("position")&&void 0}),o)n._$tooltip.css("visibility","hidden");else if(n._$tooltip.css("visibility","visible"),n.__options.repositionOnScroll)n.reposition(e);else{var a=i.origin.offset.left-n.__Geometry.origin.offset.left,r=i.origin.offset.top-n.__Geometry.origin.offset.top;n._$tooltip.css({left:n.__lastPosition.coord.left+a,top:n.__lastPosition.coord.top+r})}}n._trigger({type:"scroll",event:e,geo:i})}return n},__stateSet:function(e){return this.__state=e,this._trigger({type:"state",state:e}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,t.each(this.__timeouts.close,function(e,t){clearTimeout(t)}),this.__timeouts.close=[],this},__trackerStart:function(){var e=this,t=e._$tooltip.find(".tooltipster-content");return e.__options.trackTooltip&&(e.__contentBcr=t[0].getBoundingClientRect()),e.__tracker=setInterval(function(){if(!s(e._$origin)||!s(e._$tooltip))e._close();else{if(e.__options.trackOrigin){var n=e.__geometry(),i=!1;r(n.origin.size,e.__Geometry.origin.size)&&(e.__Geometry.origin.fixedLineage?r(n.origin.windowOffset,e.__Geometry.origin.windowOffset)&&(i=!0):r(n.origin.offset,e.__Geometry.origin.offset)&&(i=!0)),i||(e.__options.triggerClose.mouseleave?e._close():e.reposition())}if(e.__options.trackTooltip){var o=t[0].getBoundingClientRect();(o.height!==e.__contentBcr.height||o.width!==e.__contentBcr.width)&&(e.reposition(),e.__contentBcr=o)}}},e.__options.trackerInterval),e},_close:function(e,n,i){var o=this,a=!0;if(o._trigger({type:"close",event:e,stop:function(){a=!1}}),a||i){n&&o.__callbacks.close.push(n),o.__callbacks.open=[],o.__timeoutsClear();var r=function(){t.each(o.__callbacks.close,function(t,n){n.call(o,o,{event:e,origin:o._$origin[0]})}),o.__callbacks.close=[]};if("closed"!=o.__state){var s=!0,l=new Date,d=l.getTime(),_=d+o.__options.animationDuration[1];if("disappearing"==o.__state&&_>o.__closingTime&&0<o.__options.animationDuration[1]&&(s=!1),s){o.__closingTime=_,"disappearing"!=o.__state&&o.__stateSet("disappearing");var c=function(){clearInterval(o.__tracker),o._trigger({type:"closing",event:e}),o._$tooltip.off("."+o.__namespace+"-triggerClose").removeClass("tooltipster-dying"),t(u.window).off("."+o.__namespace+"-triggerClose"),o.__$originParents.each(function(e,n){t(n).off("scroll."+o.__namespace+"-triggerClose")}),o.__$originParents=null,t(u.window.document.body).off("."+o.__namespace+"-triggerClose"),o._$origin.off("."+o.__namespace+"-triggerClose"),o._off("dismissable"),o.__stateSet("closed"),o._trigger({type:"after",event:e}),o.__options.functionAfter&&o.__options.functionAfter.call(o,o,{event:e,origin:o._$origin[0]}),r()};u.hasTransitions?(o._$tooltip.css({"-moz-animation-duration":o.__options.animationDuration[1]+"ms","-ms-animation-duration":o.__options.animationDuration[1]+"ms","-o-animation-duration":o.__options.animationDuration[1]+"ms","-webkit-animation-duration":o.__options.animationDuration[1]+"ms","animation-duration":o.__options.animationDuration[1]+"ms","transition-duration":o.__options.animationDuration[1]+"ms"}),o._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),0<o.__options.animationDuration[1]&&o._$tooltip.delay(o.__options.animationDuration[1]),o._$tooltip.queue(c)):o._$tooltip.stop().fadeOut(o.__options.animationDuration[1],c)}}else r()}return o},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(e,n){var o=this;if(!o.__destroying&&s(o._$origin)&&o.__enabled){var a=!0;if("closed"==o.__state&&(o._trigger({type:"before",event:e,stop:function(){a=!1}}),a&&o.__options.functionBefore&&(a=o.__options.functionBefore.call(o,o,{event:e,origin:o._$origin[0]}))),!1!==a&&null!==o.__Content){n&&o.__callbacks.open.push(n),o.__callbacks.close=[],o.__timeoutsClear();var i=function(){"stable"!=o.__state&&o.__stateSet("stable"),t.each(o.__callbacks.open,function(e,t){t.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}),o.__callbacks.open=[]},r;if("closed"!==o.__state)r=0,"disappearing"===o.__state?(o.__stateSet("appearing"),u.hasTransitions?(o._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),0<o.__options.animationDuration[0]&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(i)):o._$tooltip.stop().fadeIn(i)):"stable"==o.__state&&i();else{if(o.__stateSet("appearing"),r=o.__options.animationDuration[0],o.__contentInsert(),o.reposition(e,!0),u.hasTransitions?(o._$tooltip.addClass("tooltipster-"+o.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":o.__options.animationDuration[0]+"ms","-ms-animation-duration":o.__options.animationDuration[0]+"ms","-o-animation-duration":o.__options.animationDuration[0]+"ms","-webkit-animation-duration":o.__options.animationDuration[0]+"ms","animation-duration":o.__options.animationDuration[0]+"ms","transition-duration":o.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=o.__state&&(o._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),0<o.__options.animationDuration[0]&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(i))},0)):o._$tooltip.css("display","none").fadeIn(o.__options.animationDuration[0],i),o.__trackerStart(),t(u.window).on("resize."+o.__namespace+"-triggerClose",function(n){var e=t(document.activeElement);(e.is("input")||e.is("textarea"))&&t.contains(o._$tooltip[0],e[0])||o.reposition(n)}).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)}),o.__$originParents=o._$origin.parents(),o.__$originParents.each(function(e,n){t(n).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)})}),o.__options.triggerClose.mouseleave||o.__options.triggerClose.touchleave&&u.hasTouchCapability){o._on("dismissable",function(e){e.dismissable?e.delay?(c=setTimeout(function(){o._close(e.event)},e.delay),o.__timeouts.close.push(c)):o._close(e):clearTimeout(c)});var l=o._$origin,d="",_="",c=null;o.__options.interactive&&(l=l.add(o._$tooltip)),o.__options.triggerClose.mouseleave&&(d+="mouseenter."+o.__namespace+"-triggerClose ",_+="mouseleave."+o.__namespace+"-triggerClose "),o.__options.triggerClose.touchleave&&u.hasTouchCapability&&(d+="touchstart."+o.__namespace+"-triggerClose",_+="touchend."+o.__namespace+"-triggerClose touchcancel."+o.__namespace+"-triggerClose"),l.on(_,function(e){if(o._touchIsTouchEvent(e)||!o._touchIsEmulatedEvent(e)){var t="mouseleave"==e.type?o.__options.delay:o.__options.delayTouch;o._trigger({delay:t[1],dismissable:!0,event:e,type:"dismissable"})}}).on(d,function(e){(o._touchIsTouchEvent(e)||!o._touchIsEmulatedEvent(e))&&o._trigger({dismissable:!1,event:e,type:"dismissable"})})}o.__options.triggerClose.originClick&&o._$origin.on("click."+o.__namespace+"-triggerClose",function(e){o._touchIsTouchEvent(e)||o._touchIsEmulatedEvent(e)||o._close(e)}),(o.__options.triggerClose.click||o.__options.triggerClose.tap&&u.hasTouchCapability)&&setTimeout(function(){if("closed"!=o.__state){var e="",n=t(u.window.document.body);o.__options.triggerClose.click&&(e+="click."+o.__namespace+"-triggerClose "),o.__options.triggerClose.tap&&u.hasTouchCapability&&(e+="touchend."+o.__namespace+"-triggerClose"),n.on(e,function(e){o._touchIsMeaningfulEvent(e)&&(o._touchRecordEvent(e),(!o.__options.interactive||!t.contains(o._$tooltip[0],e.target))&&o._close(e))}),o.__options.triggerClose.tap&&u.hasTouchCapability&&n.on("touchstart."+o.__namespace+"-triggerClose",function(e){o._touchRecordEvent(e)})}},0),o._trigger("ready"),o.__options.functionReady&&o.__options.functionReady.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}if(0<o.__options.timer){var c=setTimeout(function(){o._close()},o.__options.timer+r);o.__timeouts.close.push(c)}}}return o},_openShortly:function(e){var t=this,n=!0;if("stable"!=t.__state&&"appearing"!=t.__state&&!t.__timeouts.open&&(t._trigger({type:"start",event:e,stop:function(){n=!1}}),n)){var i=0==e.type.indexOf("touch")?t.__options.delayTouch:t.__options.delay;i[0]?t.__timeouts.open=setTimeout(function(){t.__timeouts.open=null,t.__pointerIsOverOrigin&&t._touchIsMeaningfulEvent(e)?(t._trigger("startend"),t._open(e)):t._trigger("startcancel")},i[0]):(t._trigger("startend"),t._open(e))}return t},_optionsExtract:function(e,n){var i=this,o=t.extend(!0,{},n),a=i.__options[e];return a||(a={},t.each(n,function(e,t){var n=i.__options[e];void 0!==n&&(a[e]=n)})),t.each(o,function(e,n){void 0!==a[e]&&("object"!=typeof n||n instanceof Array||null==n||"object"!=typeof a[e]||a[e]instanceof Array||null==a[e]?o[e]=a[e]:t.extend(o[e],a[e]))}),o},_plug:function(e){var n=t.tooltipster._plugin(e);if(n)n.instance&&t.tooltipster.__bridge(n.instance,this,n.name);else throw new Error("The \""+e+"\" plugin is not defined");return this},_touchIsEmulatedEvent:function(t){for(var n=!1,o=new Date().getTime(),a=this.__touchEvents.length-1,r;0<=a&&(r=this.__touchEvents[a],500>o-r.time);a--)r.target===t.target&&(n=!0);return n},_touchIsMeaningfulEvent:function(e){return this._touchIsTouchEvent(e)&&!this._touchSwiped(e.target)||!this._touchIsTouchEvent(e)&&!this._touchIsEmulatedEvent(e)},_touchIsTouchEvent:function(e){return 0==e.type.indexOf("touch")},_touchRecordEvent:function(e){return this._touchIsTouchEvent(e)&&(e.time=new Date().getTime(),this.__touchEvents.push(e)),this},_touchSwiped:function(t){for(var n=!1,o=this.__touchEvents.length-1,a;0<=o;o--)if(a=this.__touchEvents[o],"touchmove"==a.type){n=!0;break}else if("touchstart"==a.type&&t===a.target)break;return n},_trigger:function(){var e=Array.prototype.slice.apply(arguments);return"string"==typeof e[0]&&(e[0]={type:e[0]}),e[0].instance=this,e[0].origin=this._$origin?this._$origin[0]:null,e[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,e),t.tooltipster._trigger.apply(t.tooltipster,e),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,e),this},_unplug:function(e){var n=this;if(n[e]){var i=t.tooltipster._plugin(e);i.instance&&t.each(i.instance,function(t,i){n[t]&&n[t].bridged===n[e]&&delete n[t]}),n[e].__destroy&&n[e].__destroy(),delete n[e]}return n},close:function(e){return this.__destroyed?this.__destroyError():this._close(null,e),this},content:function(e){var t=this;if(void 0===e)return t.__Content;if(!!t.__destroyed)t.__destroyError();else if(t.__contentSet(e),null===t.__Content)t._close();else if("closed"!==t.__state&&(t.__contentInsert(),t.reposition(),t.__options.updateAnimation))if(u.hasTransitions){var n=t.__options.updateAnimation;t._$tooltip.addClass("tooltipster-update-"+n),setTimeout(function(){"closed"!=t.__state&&t._$tooltip.removeClass("tooltipster-update-"+n)},1e3)}else t._$tooltip.fadeTo(200,.5,function(){"closed"!=t.__state&&t._$tooltip.fadeTo(200,1)});return t},destroy:function(){var e=this;if(!e.__destroyed){"closed"==e.__state?e.__timeoutsClear():e.option("animationDuration",0)._close(null,null,!0),e._trigger("destroy"),e.__destroyed=!0,e._$origin.removeData(e.__namespace).off("."+e.__namespace+"-triggerOpen"),t(u.window.document.body).off("."+e.__namespace+"-triggerOpen");var n=e._$origin.data("tooltipster-ns");if(n)if(1===n.length){var i=null;"previous"==e.__options.restoration?i=e._$origin.data("tooltipster-initialTitle"):"current"==e.__options.restoration&&(i="string"==typeof e.__Content?e.__Content:t("<div></div>").append(e.__Content).html()),i&&e._$origin.attr("title",i),e._$origin.removeClass("tooltipstered"),e._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else n=t.grep(n,function(t,n){return t!==e.__namespace}),e._$origin.data("tooltipster-ns",n);e._trigger("destroyed"),e._off(),e.off(),e.__Content=null,e.__$emitterPrivate=null,e.__$emitterPublic=null,e.__options.parent=null,e._$origin=null,e._$tooltip=null,t.tooltipster.__instancesLatestArr=t.grep(t.tooltipster.__instancesLatestArr,function(t,n){return e!==t}),clearInterval(e.__garbageCollector)}else e.__destroyError();return e},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(e){return this.close(e)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(e){return this.__destroyed?this.__destroyError():this._open(null,e),this},option:function(e,n){return void 0===n?this.__options[e]:(this.__destroyed?this.__destroyError():(this.__options[e]=n,this.__optionsFormat(),0<=t.inArray(e,["trigger","triggerClose","triggerOpen"])&&this.__prepareOrigin(),"selfDestruction"===e&&this.__prepareGC()),this)},reposition:function(e,t){var n=this;return n.__destroyed?n.__destroyError():"closed"!=n.__state&&s(n._$origin)&&(t||s(n._$tooltip))&&(!t&&n._$tooltip.detach(),n.__Geometry=n.__geometry(),n._trigger({type:"reposition",event:e,helper:{geo:n.__Geometry}})),n},show:function(e){return this.open(e)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.fn.tooltipster=function(){var e=Array.prototype.slice.apply(arguments),n="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof e[0]){var i="#*$~&";return this.each(function(){var n=t(this).data("tooltipster-ns"),o=n?t(this).data(n[0]):null;if(o){if("function"==typeof o[e[0]]){1<this.length&&"content"==e[0]&&(e[1]instanceof t||"object"==typeof e[1]&&null!=e[1]&&e[1].tagName)&&!o.__options.contentCloning&&o.__options.debug&&console.log("You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.");var a=o[e[0]](e[1],e[2])}else throw new Error("Unknown method \""+e[0]+"\"");if(a!==o||"instance"===e[0])return i=a,!1}else throw new Error("You called Tooltipster's \""+e[0]+"\" method on an uninitialized element")}),"#*$~&"===i?this:i}t.tooltipster.__instancesLatestArr=[];var o=e[0]&&void 0!==e[0].multiple,a=o&&e[0].multiple||!o&&_.multiple,r=e[0]&&void 0!==e[0].content,s=r&&e[0].content||!r&&_.content,l=e[0]&&void 0!==e[0].contentCloning,d=l&&e[0].contentCloning||!l&&_.contentCloning,c=e[0]&&void 0!==e[0].debug,u=c&&e[0].debug||!c&&_.debug;return 1<this.length&&(s instanceof t||"object"==typeof s&&null!=s&&s.tagName)&&!d&&u&&console.log("You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE."),this.each(function(){var n=!1,i=t(this),o=i.data("tooltipster-ns"),r=null;o?a?n=!0:u&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):n=!0,n&&(r=new t.Tooltipster(this,e[0]),!o&&(o=[]),o.push(r.__namespace),i.data("tooltipster-ns",o),i.data(r.__namespace,r),r.__options.functionInit&&r.__options.functionInit.call(r,r,{origin:this}),r._trigger("init")),t.tooltipster.__instancesLatestArr.push(r)}),this},a.prototype={__init:function(e){this.__$tooltip=e,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=t("<div class=\"tooltipster-ruler\"></div>").append(this.__$tooltip).appendTo(u.window.document.body)},__forceRedraw:function(){var e=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(e)},constrain:function(e,t){return this.constraints={width:e,height:t},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:e}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var e=this.__$tooltip[0].getBoundingClientRect(),t={size:{height:e.height||e.bottom-e.top,width:e.width||e.right-e.left}};if(this.constraints){var i=this.__$tooltip.find(".tooltipster-content"),o=this.__$tooltip.outerHeight(),a=i[0].getBoundingClientRect(),r={height:o<=this.constraints.height,width:e.width<=this.constraints.width&&a.width>=i[0].scrollWidth-1};t.fits=r.height&&r.width}return u.IE&&11>=u.IE&&t.size.width!==u.window.document.documentElement.clientWidth&&(t.size.width=n(t.size.width)+1),t}};var g=navigator.userAgent.toLowerCase();-1==g.indexOf("msie")?-1!==g.toLowerCase().indexOf("trident")&&-1!==g.indexOf(" rv:11")?u.IE=11:-1!=g.toLowerCase().indexOf("edge/")&&(u.IE=parseInt(g.toLowerCase().split("edge/")[1])):u.IE=parseInt(g.split("msie")[1]);var d="tooltipster.sideTip";return t.tooltipster._plugin({name:"tooltipster.sideTip",instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(e){var t=this;t.__instance=e,t.__namespace="tooltipster-sideTip-"+o(1e6*Math.random()),t.__previousState="closed",t.__options,t.__optionsFormat(),t.__instance._on("state."+t.__namespace,function(e){"closed"==e.state?t.__close():"appearing"==e.state&&"closed"==t.__previousState&&t.__create(),t.__previousState=e.state}),t.__instance._on("options."+t.__namespace,function(){t.__optionsFormat()}),t.__instance._on("reposition."+t.__namespace,function(n){t.__reposition(n.event,n.helper)})},__close:function(){this.__instance.content()instanceof t&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var e=t("<div class=\"tooltipster-base tooltipster-sidetip\"><div class=\"tooltipster-box\"><div class=\"tooltipster-content\"></div></div><div class=\"tooltipster-arrow\"><div class=\"tooltipster-arrow-uncropped\"><div class=\"tooltipster-arrow-border\"></div><div class=\"tooltipster-arrow-background\"></div></div></div></div>");this.__options.arrow||e.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&e.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&e.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=e,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var e=this;if(e.__options=e.__instance._optionsExtract("tooltipster.sideTip",e.__defaults()),e.__options.position&&(e.__options.side=e.__options.position),"object"!=typeof e.__options.distance&&(e.__options.distance=[e.__options.distance]),4>e.__options.distance.length&&(void 0===e.__options.distance[1]&&(e.__options.distance[1]=e.__options.distance[0]),void 0===e.__options.distance[2]&&(e.__options.distance[2]=e.__options.distance[0]),void 0===e.__options.distance[3]&&(e.__options.distance[3]=e.__options.distance[1])),e.__options.distance={top:e.__options.distance[0],right:e.__options.distance[1],bottom:e.__options.distance[2],left:e.__options.distance[3]},"string"==typeof e.__options.side){var n={top:"bottom",right:"left",bottom:"top",left:"right"};e.__options.side=[e.__options.side,n[e.__options.side]],"left"==e.__options.side[0]||"right"==e.__options.side[0]?e.__options.side.push("top","bottom"):e.__options.side.push("right","left")}6===t.tooltipster._env.IE&&!0!==e.__options.arrow&&(e.__options.arrow=!1)},__reposition:function(n,o){var r=this,s=r.__targetFind(o),l=[],d;r.__instance._$tooltip.detach();var _=r.__instance._$tooltip.clone(),c=t.tooltipster._getRuler(_),u=!1,p=r.__instance.option("animation");switch(p&&_.removeClass("tooltipster-"+p),t.each(["window","document"],function(e,a){var d=null;if(r.__instance._trigger({container:a,helper:o,satisfied:u,takeTest:function(e){d=e},results:l,type:"positionTest"}),!0==d||!1!=d&&!1==u&&("window"!=a||r.__options.viewportAware))for(var e=0;e<r.__options.side.length;e++){var p={horizontal:0,vertical:0},g=r.__options.side[e];"top"==g||"bottom"==g?p.vertical=r.__options.distance[g]:p.horizontal=r.__options.distance[g],r.__sideChange(_,g),t.each(["natural","constrained"],function(e,t){if(d=null,r.__instance._trigger({container:a,event:n,helper:o,mode:t,results:l,satisfied:u,side:g,takeTest:function(e){d=e},type:"positionTest"}),!0==d||!1!=d&&!1==u){var i={container:a,distance:p,fits:null,mode:t,outerSize:null,side:g,size:null,target:s[g],whole:null},_="natural"==t?c.free():c.constrain(o.geo.available[a][g].width-p.horizontal,o.geo.available[a][g].height-p.vertical),f=_.measure();if(i.size=f.size,i.outerSize={height:f.size.height+p.vertical,width:f.size.width+p.horizontal},i.fits="natural"==t?!!(o.geo.available[a][g].width>=i.outerSize.width&&o.geo.available[a][g].height>=i.outerSize.height):f.fits,"window"==a&&(i.fits?"top"==g||"bottom"==g?i.whole=o.geo.origin.windowOffset.right>=r.__options.minIntersection&&o.geo.window.size.width-o.geo.origin.windowOffset.left>=r.__options.minIntersection:i.whole=o.geo.origin.windowOffset.bottom>=r.__options.minIntersection&&o.geo.window.size.height-o.geo.origin.windowOffset.top>=r.__options.minIntersection:i.whole=!1),l.push(i),i.whole)u=!0;else if("natural"==i.mode&&(i.fits||i.size.width<=o.geo.available[a][g].width))return!1}})}}),r.__instance._trigger({edit:function(e){l=e},event:n,helper:o,results:l,type:"positionTested"}),l.sort(function(e,t){if(e.whole&&!t.whole)return-1;if(!e.whole&&t.whole)return 1;if(e.whole&&t.whole){var n=r.__options.side.indexOf(e.side),i=r.__options.side.indexOf(t.side);return n<i?-1:n>i?1:"natural"==e.mode?-1:1}if(e.fits&&!t.fits)return-1;if(!e.fits&&t.fits)return 1;if(e.fits&&t.fits){var n=r.__options.side.indexOf(e.side),i=r.__options.side.indexOf(t.side);return n<i?-1:n>i?1:"natural"==e.mode?-1:1}return"document"==e.container&&"bottom"==e.side&&"natural"==e.mode?-1:1}),d=l[0],d.coord={},d.side){case"left":case"right":d.coord.top=e(d.target-d.size.height/2);break;case"bottom":case"top":d.coord.left=e(d.target-d.size.width/2)}switch(d.side){case"left":d.coord.left=o.geo.origin.windowOffset.left-d.outerSize.width;break;case"right":d.coord.left=o.geo.origin.windowOffset.right+d.distance.horizontal;break;case"top":d.coord.top=o.geo.origin.windowOffset.top-d.outerSize.height;break;case"bottom":d.coord.top=o.geo.origin.windowOffset.bottom+d.distance.vertical}"window"==d.container?"top"==d.side||"bottom"==d.side?0>d.coord.left?0<=o.geo.origin.windowOffset.right-this.__options.minIntersection?d.coord.left=0:d.coord.left=o.geo.origin.windowOffset.right-this.__options.minIntersection-1:d.coord.left>o.geo.window.size.width-d.size.width&&(o.geo.origin.windowOffset.left+this.__options.minIntersection<=o.geo.window.size.width?d.coord.left=o.geo.window.size.width-d.size.width:d.coord.left=o.geo.origin.windowOffset.left+this.__options.minIntersection+1-d.size.width):0>d.coord.top?0<=o.geo.origin.windowOffset.bottom-this.__options.minIntersection?d.coord.top=0:d.coord.top=o.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:d.coord.top>o.geo.window.size.height-d.size.height&&(o.geo.origin.windowOffset.top+this.__options.minIntersection<=o.geo.window.size.height?d.coord.top=o.geo.window.size.height-d.size.height:d.coord.top=o.geo.origin.windowOffset.top+this.__options.minIntersection+1-d.size.height):(d.coord.left>o.geo.window.size.width-d.size.width&&(d.coord.left=o.geo.window.size.width-d.size.width),0>d.coord.left&&(d.coord.left=0)),r.__sideChange(_,d.side),o.tooltipClone=_[0],o.tooltipParent=r.__instance.option("parent").parent[0],o.mode=d.mode,o.whole=d.whole,o.origin=r.__instance._$origin[0],o.tooltip=r.__instance._$tooltip[0],delete d.container,delete d.fits,delete d.mode,delete d.outerSize,delete d.whole,d.distance=d.distance.horizontal||d.distance.vertical;var g=t.extend(!0,{},d);if(r.__instance._trigger({edit:function(e){d=e},event:n,helper:o,position:g,type:"position"}),r.__options.functionPosition){var f=r.__options.functionPosition.call(r,r.__instance,o,g);f&&(d=f)}c.destroy();var m,h;"top"==d.side||"bottom"==d.side?(m={prop:"left",val:d.target-d.coord.left},h=d.size.width-this.__options.minIntersection):(m={prop:"top",val:d.target-d.coord.top},h=d.size.height-this.__options.minIntersection),m.val<this.__options.minIntersection?m.val=this.__options.minIntersection:m.val>h&&(m.val=h);var y;y=o.geo.origin.fixedLineage?o.geo.origin.windowOffset:{left:o.geo.origin.windowOffset.left+o.geo.window.scroll.left,top:o.geo.origin.windowOffset.top+o.geo.window.scroll.top},d.coord={left:y.left+(d.coord.left-o.geo.origin.windowOffset.left),top:y.top+(d.coord.top-o.geo.origin.windowOffset.top)},r.__sideChange(r.__instance._$tooltip,d.side),o.geo.origin.fixedLineage?r.__instance._$tooltip.css("position","fixed"):r.__instance._$tooltip.css("position",""),r.__instance._$tooltip.css({left:d.coord.left,top:d.coord.top,height:d.size.height,width:d.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(m.prop,m.val),r.__instance._$tooltip.appendTo(r.__instance.option("parent")),r.__instance._trigger({type:"repositioned",event:n,position:d})},__sideChange:function(e,t){e.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+t)},__targetFind:function(t){var i={},o=this.__instance._$origin[0].getClientRects();if(1<o.length){var a=this.__instance._$origin.css("opacity");1==a&&(this.__instance._$origin.css("opacity",.99),o=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1))}if(2>o.length)i.top=e(t.geo.origin.windowOffset.left+t.geo.origin.size.width/2),i.bottom=i.top,i.left=e(t.geo.origin.windowOffset.top+t.geo.origin.size.height/2),i.right=i.left;else{var r=o[0];i.top=e(r.left+(r.right-r.left)/2),r=2<o.length?o[n(o.length/2)-1]:o[0],i.right=e(r.top+(r.bottom-r.top)/2),r=o[o.length-1],i.bottom=e(r.left+(r.right-r.left)/2),r=2<o.length?o[n((o.length+1)/2)-1]:o[o.length-1],i.left=e(r.top+(r.bottom-r.top)/2)}return i}}}),t}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self,e.parsley=t(e.jQuery))}(this,function(e){"use strict";var t=Math.max,n=Math.round;function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function r(){return r=Object.assign||function(e){for(var t=1,n;t<arguments.length;t++)for(var o in n=arguments[t],n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e},r.apply(this,arguments)}function s(e,t){return _(e)||u(e,t)||g()}function l(e){return d(e)||c(e)||p()}function d(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function _(e){if(Array.isArray(e))return e}function c(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,o=!1,a=void 0;try{for(var r=e[Symbol.iterator](),s;!(i=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));i=!0);}catch(e){o=!0,a=e}finally{try{i||null==r["return"]||r["return"]()}finally{if(o)throw a}}return n}}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function f(e,t){return e.parsleyAdaptedCallback||(e.parsleyAdaptedCallback=function(){var n=Array.prototype.slice.call(arguments,0);n.unshift(this),e.apply(t||U,n)}),e.parsleyAdaptedCallback}function m(e){return 0===e.lastIndexOf("parsley:",0)?e.substr(8):e}function h(){var t=this,n=window||global;r(this,{isNativeEvent:function t(e){return e.originalEvent&&!1!==e.originalEvent.isTrusted},fakeInputEvent:function i(n){t.isNativeEvent(n)&&e(n.target).trigger("input")},misbehaves:function i(n){t.isNativeEvent(n)&&(t.behavesOk(n),e(document).on("change.inputevent",n.data.selector,t.fakeInputEvent),t.fakeInputEvent(n))},behavesOk:function i(n){t.isNativeEvent(n)&&e(document).off("input.inputevent",n.data.selector,t.behavesOk).off("change.inputevent",n.data.selector,t.misbehaves)},install:function i(){if(!n.inputEventPatched){n.inputEventPatched="0.0.3";for(var o=0,a=["select","input[type=\"checkbox\"]","input[type=\"radio\"]","input[type=\"file\"]"],r;o<a.length;o++)r=a[o],e(document).on("input.inputevent",r,{selector:r},t.behavesOk).on("change.inputevent",r,{selector:r},t.misbehaves)}},uninstall:function t(){delete n.inputEventPatched,e(document).off(".inputevent")}})}var y=1,v={},b={attr:function o(e,t,n){var a=new RegExp("^"+t,"i"),r,s,l;if("undefined"==typeof n)n={};else for(r in n)n.hasOwnProperty(r)&&delete n[r];if(!e)return n;for(l=e.attributes,r=l.length;r--;)s=l[r],s&&s.specified&&a.test(s.name)&&(n[this.camelize(s.name.slice(t.length))]=this.deserializeValue(s.value));return n},checkAttr:function i(e,t,n){return e.hasAttribute(t+n)},setAttr:function o(e,t,n,i){e.setAttribute(this.dasherize(t+n),i+"")},getType:function t(e){return e.getAttribute("type")||"text"},generateID:function e(){return""+y++},deserializeValue:function n(t){var i;try{return t?"true"==t||"false"!=t&&("null"==t?null:isNaN(i=+t)?/^[\[\{]/.test(t)?JSON.parse(t):t:i):t}catch(n){return t}},camelize:function t(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},dasherize:function t(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function e(){var t;window.console&&"function"==typeof window.console.warn&&(t=window.console).warn.apply(t,arguments)},warnOnce:function t(e){v[e]||(v[e]=!0,this.warn.apply(this,arguments))},_resetWarnings:function e(){v={}},trimString:function t(e){return e.replace(/^\s+|\s+$/g,"")},parse:{date:function t(e){var n=e.match(/^(\d{4,})-(\d\d)-(\d\d)$/);if(!n)return null;var i=n.map(function(e){return parseInt(e,10)}),o=s(i,4),a=o[0],r=o[1],l=o[2],d=o[3],t=new Date(r,l-1,d);return t.getFullYear()!==r||t.getMonth()+1!==l||t.getDate()!==d?null:t},string:function t(e){return e},integer:function t(e){return isNaN(e)?null:parseInt(e,10)},number:function t(e){if(isNaN(e))throw null;return parseFloat(e)},boolean:function t(e){return!/^\s*false\s*$/i.test(e)},object:function t(e){return b.deserializeValue(e)},regexp:function t(e){var n="";return /^\/.*\/(?:[gimy]*)$/.test(e)?(n=e.replace(/.*\/([gimy]*)$/,"$1"),e=e.replace(new RegExp("^/(.*?)/"+n+"$"),"$1")):e="^"+e+"$",new RegExp(e,n)}},parseRequirement:function n(e,t){var i=this.parse[e||"string"];if(!i)throw"Unknown requirement specification: \""+e+"\"";var o=i(t);if(null===o)throw"Requirement is not a ".concat(e,": \"").concat(t,"\"");return o},namespaceEvents:function i(t,n){return t=this.trimString(t||"").split(/\s+/),t[0]?e.map(t,function(e){return"".concat(e,".").concat(n)}).join(" "):""},difference:function i(t,n){var o=[];return e.each(t,function(e,t){-1==n.indexOf(t)&&o.push(t)}),o},all:function n(t){return e.when.apply(e,l(t).concat([42,42]))},objectCreate:Object.create||function(){var e=function e(){};return function(t){if(1<arguments.length)throw Error("Second argument not supported");if("object"!=a(t))throw TypeError("Argument must be an object");e.prototype=t;var n=new e;return e.prototype=null,n}}(),_SubmitSelector:"input[type=\"submit\"], button:submit"},w={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:!1,triggerAfterFailure:"input",errorClass:"parsley-error",successClass:"parsley-success",classHandler:function t(e){},errorsContainer:function t(e){},errorsWrapper:"<ul class=\"parsley-errors-list\"></ul>",errorTemplate:"<li></li>"},C=function e(){this.__id__=b.generateID()};C.prototype={asyncSupport:!0,_pipeAccordingToValidationResult:function t(){var n=this,i=function t(){var i=e.Deferred();return!0!==n.validationResult&&i.reject(),i.resolve().promise()};return[i,i]},actualizeOptions:function e(){return b.attr(this.element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function t(e){for(var n in this.domOptions=b.objectCreate(this.parent.options),this.options=b.objectCreate(this.domOptions),e)e.hasOwnProperty(n)&&(this.options[n]=e[n]);this.actualizeOptions()},_listeners:null,on:function n(e,t){this._listeners=this._listeners||{};var i=this._listeners[e]=this._listeners[e]||[];return i.push(t),this},subscribe:function i(t,n){e.listenTo(this,t.toLowerCase(),n)},off:function n(e,t){var o=this._listeners&&this._listeners[e];if(o)if(!t)delete this._listeners[e];else for(var a=o.length;a--;)o[a]===t&&o.splice(a,1);return this},unsubscribe:function i(t,n){e.unsubscribeTo(this,t.toLowerCase())},trigger:function o(e,t,n){t=t||this;var a=this._listeners&&this._listeners[e],r;if(a)for(var s=a.length;s--;)if(r=a[s].call(t,t,n),!1===r)return r;return!this.parent||this.parent.trigger(e,t,n)},asyncIsValid:function n(e,t){return b.warnOnce("asyncIsValid is deprecated; please use whenValid instead"),this.whenValid({group:e,force:t})},_findRelated:function t(){return this.options.multiple?e(this.parent.element.querySelectorAll("[".concat(this.options.namespace,"multiple=\"").concat(this.options.multiple,"\"]"))):this.$element}};var E=function n(e,t){var i=e.match(/^\s*\[(.*)\]\s*$/);if(!i)throw"Requirement is not an array: \""+e+"\"";var o=i[1].split(",").map(b.trimString);if(o.length!==t)throw"Requirement has "+o.length+" values when "+t+" are needed";return o},T=function i(e,t,n){var o=null,a={};for(var r in e)if(r){var s=n(r);"string"==typeof s&&(s=b.parseRequirement(e[r],s)),a[r]=s}else o=b.parseRequirement(e[r],t);return[o,a]},S=function n(t){e.extend(!0,this,t)};S.prototype={validate:function n(e,t){if(this.fn)return 3<arguments.length&&(t=[].slice.call(arguments,1,-1)),this.fn(e,t);if(Array.isArray(e)){if(!this.validateMultiple)throw"Validator `"+this.name+"` does not handle multiple values";return this.validateMultiple.apply(this,arguments)}var i=arguments[arguments.length-1];if(this.validateDate&&i._isDateInput())return arguments[0]=b.parse.date(arguments[0]),null!==arguments[0]&&this.validateDate.apply(this,arguments);if(this.validateNumber)return!e||!isNaN(e)&&(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function o(t,n){if("string"!=typeof t)return Array.isArray(t)?t:[t];var a=this.requirementType;if(Array.isArray(a)){for(var r=E(t,a.length),s=0;s<r.length;s++)r[s]=b.parseRequirement(a[s],r[s]);return r}return e.isPlainObject(a)?T(a,t,n):[b.parseRequirement(a,t)]},requirementType:"string",priority:2};var I=function n(e,t){this.__class__="ValidatorRegistry",this.locale="en",this.init(e||{},t||{})},O={email:/^((([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))$/,number:/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,date:{test:function t(e){return null!==b.parse.date(e)}},url:/^(?:(?:https?|ftp):\/\/)?(?:\S+(?::\S*)?@)?(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-zA-Z\u00a1-\uffff0-9]-*)*[a-zA-Z\u00a1-\uffff0-9]+)(?:\.(?:[a-zA-Z\u00a1-\uffff0-9]-*)*[a-zA-Z\u00a1-\uffff0-9]+)*(?:\.(?:[a-zA-Z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/};O.range=O.number;var A=function n(e){var i=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return i?t(0,(i[1]?i[1].length:0)-(i[2]?+i[2]:0)):0},$=function n(e,t){return t.map(b.parse[e])},k=function n(e,t){return function(n){for(var i=arguments.length,o=Array(1<i?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return o.pop(),t.apply(void 0,[n].concat(l($(e,o))))}},D=function t(e){return{validateDate:k("date",e),validateNumber:k("number",e),requirementType:2>=e.length?"string":["string","string"],priority:30}};I.prototype={init:function n(e,t){for(var i in this.catalog=t,this.validators=r({},this.validators),e)this.addValidator(i,e[i].fn,e[i].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function t(e){if("undefined"==typeof this.catalog[e])throw new Error(e+" is not available in the catalog");return this.locale=e,this},addCatalog:function i(e,t,n){return"object"===a(t)&&(this.catalog[e]=t),!0===n?this.setLocale(e):this},addMessage:function i(e,t,n){return"undefined"==typeof this.catalog[e]&&(this.catalog[e]={}),this.catalog[e][t]=n,this},addMessages:function n(e,t){for(var i in t)this.addMessage(e,i,t[i]);return this},addValidator:function i(e,t,n){if(this.validators[e])b.warn("Validator \""+e+"\" is already defined.");else if(w.hasOwnProperty(e))return void b.warn("\""+e+"\" is a restricted keyword and is not a valid validator name.");return this._setValidator.apply(this,arguments)},hasValidator:function t(e){return!!this.validators[e]},updateValidator:function i(e,t,n){return this.validators[e]?this._setValidator.apply(this,arguments):(b.warn("Validator \""+e+"\" is not already defined."),this.addValidator.apply(this,arguments))},removeValidator:function t(e){return this.validators[e]||b.warn("Validator \""+e+"\" is not defined."),delete this.validators[e],this},_setValidator:function i(e,t,n){for(var o in"object"!==a(t)&&(t={fn:t,priority:n}),t.validate||(t=new S(t)),this.validators[e]=t,t.messages||{})this.addMessage(o,e,t.messages[o]);return this},getErrorMessage:function t(e){var n;if("type"===e.name){var i=this.catalog[this.locale][e.name]||{};n=i[e.requirements]}else n=this.formatMessage(this.catalog[this.locale][e.name],e.requirements);return n||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function n(e,t){if("object"===a(t)){for(var o in t)e=this.formatMessage(e,t[o]);return e}return"string"==typeof e?e.replace(/%s/i,t):""},validators:{notblank:{validateString:function t(e){return /\S/.test(e)},priority:2},required:{validateMultiple:function t(e){return 0<e.length},validateString:function t(e){return /\S/.test(e)},priority:512},type:{validateString:function o(e,i){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=a.step,s=void 0===r?"any":r,l=a.base,d=void 0===l?0:l,_=O[i];if(!_)throw new Error("validator type `"+i+"` is not supported");if(!e)return!0;if(!_.test(e))return!1;if("number"===i&&!/^any$/i.test(s||"")){var c=+e,u=t(A(s),A(d));if(A(c)>u)return!1;var p=function t(e){var i=Math.pow;return n(e*i(10,u))};if(0!=(p(c)-p(d))%p(s))return!1}return!0},requirementType:{"":"string",step:"string",base:"number"},priority:256},pattern:{validateString:function n(e,t){return!e||t.test(e)},requirementType:"regexp",priority:64},minlength:{validateString:function n(e,t){return!e||e.length>=t},requirementType:"integer",priority:30},maxlength:{validateString:function n(e,t){return e.length<=t},requirementType:"integer",priority:30},length:{validateString:function i(e,t,n){return!e||e.length>=t&&e.length<=n},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function n(e,t){return e.length>=t},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function n(e,t){return e.length<=t},requirementType:"integer",priority:30},check:{validateMultiple:function i(e,t,n){return e.length>=t&&e.length<=n},requirementType:["integer","integer"],priority:30},min:D(function(e,t){return e>=t}),max:D(function(e,t){return e<=t}),range:D(function(e,t,n){return e>=t&&e<=n}),equalto:{validateString:function i(t,n){if(!t)return!0;var o=e(n);return o.length?t===o.val():t===n},priority:256},euvatin:{validateString:function n(e,t){if(!e)return!0;var i=/^[A-Z][A-Z][A-Za-z0-9 -]{2,}$/;return i.test(e)},priority:30}}};var P={},i=function o(e,t,n){for(var a=[],r=[],s=0,l;s<e.length;s++){l=!1;for(var d=0;d<t.length;d++)if(e[s].assert.name===t[d].assert.name){l=!0;break}l?r.push(e[s]):a.push(e[s])}return{kept:r,added:a,removed:n?[]:o(t,e,!0).added}};P.Form={_actualizeTriggers:function e(){var t=this;this.$element.on("submit.Parsley",function(e){t.onSubmitValidate(e)}),this.$element.on("click.Parsley",b._SubmitSelector,function(e){t.onSubmitButton(e)}),!1===this.options.uiEnabled||this.element.setAttribute("novalidate","")},focus:function e(){if(this._focusedField=null,!0===this.validationResult||"none"===this.options.focus)return null;for(var t=0,n;t<this.fields.length&&(n=this.fields[t],!(!0!==n.validationResult&&0<n.validationResult.length&&"undefined"==typeof n.options.noFocus&&(this._focusedField=n.$element,"first"===this.options.focus)));t++);return null===this._focusedField?null:this._focusedField.focus()},_destroyUI:function e(){this.$element.off(".Parsley")}},P.Field={_reflowUI:function e(){if(this._buildUI(),!!this._ui){var t=i(this.validationResult,this._ui.lastValidationResult);this._ui.lastValidationResult=this.validationResult,this._manageStatusClass(),this._manageErrorsMessages(t),this._actualizeTriggers(),(t.kept.length||t.added.length)&&!this._failedOnce&&(this._failedOnce=!0,this._actualizeTriggers())}},getErrorsMessages:function e(){if(!0===this.validationResult)return[];for(var t=[],n=0;n<this.validationResult.length;n++)t.push(this.validationResult[n].errorMessage||this._getErrorMessage(this.validationResult[n].assert));return t},addError:function t(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=n.message,o=n.assert,a=n.updateClass,r=void 0===a||a;this._buildUI(),this._addError(e,{message:i,assert:o}),r&&this._errorClass()},updateError:function t(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=n.message,o=n.assert,a=n.updateClass,r=void 0===a||a;this._buildUI(),this._updateError(e,{message:i,assert:o}),r&&this._errorClass()},removeError:function t(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=n.updateClass,o=void 0===i||i;this._buildUI(),this._removeError(e),o&&this._manageStatusClass()},_manageStatusClass:function e(){this.hasConstraints()&&this.needsValidation()&&!0===this.validationResult?this._successClass():0<this.validationResult.length?this._errorClass():this._resetClass()},_manageErrorsMessages:function n(t){if("undefined"==typeof this.options.errorsMessagesDisabled){if("undefined"!=typeof this.options.errorMessage)return t.added.length||t.kept.length?(this._insertErrorWrapper(),0===this._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&this._ui.$errorsWrapper.append(e(this.options.errorTemplate).addClass("parsley-custom-error-message")),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").find(".parsley-custom-error-message").html(this.options.errorMessage)):(this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-custom-error-message").remove());for(var o=0;o<t.removed.length;o++)this._removeError(t.removed[o].assert.name);for(o=0;o<t.added.length;o++)this._addError(t.added[o].assert.name,{message:t.added[o].errorMessage,assert:t.added[o].assert});for(o=0;o<t.kept.length;o++)this._updateError(t.kept[o].assert.name,{message:t.kept[o].errorMessage,assert:t.kept[o].assert})}},_addError:function i(t,n){var o=n.message,a=n.assert;this._insertErrorWrapper(),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").append(e(this.options.errorTemplate).addClass("parsley-"+t).html(o||this._getErrorMessage(a)))},_updateError:function n(e,t){var i=t.message,o=t.assert;this._ui.$errorsWrapper.addClass("filled").find(".parsley-"+e).html(i||this._getErrorMessage(o))},_removeError:function t(e){this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-"+e).remove()},_getErrorMessage:function t(e){var n=e.name+"Message";return"undefined"==typeof this.options[n]?window.Parsley.getErrorMessage(e):window.Parsley.formatMessage(this.options[n],e.requirements)},_buildUI:function t(){if(!(this._ui||!1===this.options.uiEnabled)){var n={};this.element.setAttribute(this.options.namespace+"id",this.__id__),n.$errorClassHandler=this._manageClassHandler(),n.errorsWrapperId="parsley-id-"+(this.options.multiple?"multiple-"+this.options.multiple:this.__id__),n.$errorsWrapper=e(this.options.errorsWrapper).attr("id",n.errorsWrapperId),n.lastValidationResult=[],n.validationInformationVisible=!1,this._ui=n}},_manageClassHandler:function t(){if("string"==typeof this.options.classHandler&&e(this.options.classHandler).length)return e(this.options.classHandler);var n=this.options.classHandler;if("string"==typeof this.options.classHandler&&"function"==typeof window[this.options.classHandler]&&(n=window[this.options.classHandler]),"function"==typeof n){var i=n.call(this,this);if("undefined"!=typeof i&&i.length)return i}else{if("object"===a(n)&&n instanceof jQuery&&n.length)return n;n&&b.warn("The class handler `"+n+"` does not exist in DOM nor as a global JS function")}return this._inputHolder()},_inputHolder:function e(){return this.options.multiple&&"SELECT"!==this.element.nodeName?this.$element.parent():this.$element},_insertErrorWrapper:function t(){var n=this.options.errorsContainer;if(0!==this._ui.$errorsWrapper.parent().length)return this._ui.$errorsWrapper.parent();if("string"==typeof n){if(e(n).length)return e(n).append(this._ui.$errorsWrapper);"function"==typeof window[n]?n=window[n]:b.warn("The errors container `"+n+"` does not exist in DOM nor as a global JS function")}return"function"==typeof n&&(n=n.call(this,this)),"object"===a(n)&&n.length?n.append(this._ui.$errorsWrapper):this._inputHolder().after(this._ui.$errorsWrapper)},_actualizeTriggers:function e(){var t=this,n=this._findRelated(),i;n.off(".Parsley"),this._failedOnce?n.on(b.namespaceEvents(this.options.triggerAfterFailure,"Parsley"),function(){t._validateIfNeeded()}):(i=b.namespaceEvents(this.options.trigger,"Parsley"))&&n.on(i,function(e){t._validateIfNeeded(e)})},_validateIfNeeded:function t(e){var n=this;e&&/key|input/.test(e.type)&&!(this._ui&&this._ui.validationInformationVisible)&&this.getValue().length<=this.options.validationThreshold||(this.options.debounce?(window.clearTimeout(this._debounced),this._debounced=window.setTimeout(function(){return n.validate()},this.options.debounce)):this.validate())},_resetUI:function e(){this._failedOnce=!1,this._actualizeTriggers(),"undefined"==typeof this._ui||(this._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(),this._ui.lastValidationResult=[],this._ui.validationInformationVisible=!1)},_destroyUI:function e(){this._resetUI(),"undefined"!=typeof this._ui&&this._ui.$errorsWrapper.remove(),delete this._ui},_successClass:function e(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.errorClass).addClass(this.options.successClass)},_errorClass:function e(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.successClass).addClass(this.options.errorClass)},_resetClass:function e(){this._ui.$errorClassHandler.removeClass(this.options.successClass).removeClass(this.options.errorClass)}};var N=function o(t,n,i){this.__class__="Form",this.element=t,this.$element=e(t),this.domOptions=n,this.options=i,this.parent=window.Parsley,this.fields=[],this.validationResult=null},x={pending:null,resolved:!0,rejected:!1};N.prototype={onSubmitValidate:function t(e){var n=this;if(!0!==e.parsley){var i=this._submitSource||this.$element.find(b._SubmitSelector)[0];if(this._submitSource=null,this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!0),!(i&&null!==i.getAttribute("formnovalidate"))){window.Parsley._remoteCache={};var o=this.whenValidate({event:e});if("resolved"===o.state()&&!1!==this._trigger("submit"));else e.stopImmediatePropagation(),e.preventDefault(),"pending"===o.state()&&o.done(function(){n._submit(i)})}}},onSubmitButton:function t(e){this._submitSource=e.currentTarget},_submit:function n(t){if(!1!==this._trigger("submit")){if(t){var i=this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!1);0===i.length&&(i=e("<input class=\"parsley-synthetic-submit-button\" type=\"hidden\">").appendTo(this.$element)),i.attr({name:t.getAttribute("name"),value:t.getAttribute("value")})}this.$element.trigger(r(e.Event("submit"),{parsley:!0}))}},validate:function n(t){if(1<=arguments.length&&!e.isPlainObject(t)){b.warnOnce("Calling validate on a parsley form without passing arguments as an object is deprecated.");var i=Array.prototype.slice.call(arguments),o=i[0],a=i[1],r=i[2];t={group:o,force:a,event:r}}return x[this.whenValidate(t).state()]},whenValidate:function t(){var n=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},o=i.group,a=i.force,s=i.event,d;this.submitEvent=s,s&&(this.submitEvent=r({},s,{preventDefault:function e(){b.warnOnce("Using `this.submitEvent.preventDefault()` is deprecated; instead, call `this.validationResult = false`"),n.validationResult=!1}})),this.validationResult=!0,this._trigger("validate"),this._refreshFields();var _=this._withoutReactualizingFormOptions(function(){return e.map(n.fields,function(e){return e.whenValidate({force:a,group:o})})});return(d=b.all(_).done(function(){n._trigger("success")}).fail(function(){n.validationResult=!1,n.focus(),n._trigger("error")}).always(function(){n._trigger("validated")})).pipe.apply(d,l(this._pipeAccordingToValidationResult()))},isValid:function n(t){if(1<=arguments.length&&!e.isPlainObject(t)){b.warnOnce("Calling isValid on a parsley form without passing arguments as an object is deprecated.");var i=Array.prototype.slice.call(arguments),o=i[0],a=i[1];t={group:o,force:a}}return x[this.whenValid(t).state()]},whenValid:function t(){var n=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},o=i.group,a=i.force;this._refreshFields();var r=this._withoutReactualizingFormOptions(function(){return e.map(n.fields,function(e){return e.whenValid({group:o,force:a})})});return b.all(r)},refresh:function e(){return this._refreshFields(),this},reset:function e(){for(var t=0;t<this.fields.length;t++)this.fields[t].reset();this._trigger("reset")},destroy:function e(){this._destroyUI();for(var t=0;t<this.fields.length;t++)this.fields[t].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},_refreshFields:function e(){return this.actualizeOptions()._bindFields()},_bindFields:function t(){var n=this,i=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){n.$element.find(n.options.inputs).not(n.options.excluded).not("[".concat(n.options.namespace,"excluded=true]")).each(function(e,t){var i=new window.Parsley.Factory(t,{},n);if("Field"===i.__class__||"FieldMultiple"===i.__class__){var o=i.__class__+"-"+i.__id__;"undefined"==typeof n.fieldsMappedById[o]&&(n.fieldsMappedById[o]=i,n.fields.push(i))}}),e.each(b.difference(i,n.fields),function(e,t){t.reset()})}),this},_withoutReactualizingFormOptions:function t(e){var n=this.actualizeOptions;this.actualizeOptions=function(){return this};var i=e();return this.actualizeOptions=n,i},_trigger:function t(e){return this.trigger("form:"+e)}};var j=function a(e,t,n,i,o){var s=window.Parsley._validatorRegistry.validators[t],l=new S(s);i=i||e.options[t+"Priority"]||l.priority,o=!0===o,r(this,{validator:l,name:t,requirements:n,priority:i,isDomConstraint:o}),this._parseRequirements(e.options)},R=function t(e){var n=e[0].toUpperCase();return n+e.slice(1)};j.prototype={validate:function n(e,t){var i;return(i=this.validator).validate.apply(i,[e].concat(l(this.requirementList),[t]))},_parseRequirements:function t(e){var n=this;this.requirementList=this.validator.parseRequirements(this.requirements,function(t){return e[n.name+R(t)]})}};var z=function a(t,n,i,o){this.__class__="Field",this.element=t,this.$element=e(t),"undefined"!=typeof o&&(this.parent=o),this.options=i,this.domOptions=n,this.constraints=[],this.constraintsByName={},this.validationResult=!0,this._bindConstraints()},q={pending:null,resolved:!0,rejected:!1};z.prototype={validate:function n(t){1<=arguments.length&&!e.isPlainObject(t)&&(b.warnOnce("Calling validate on a parsley field without passing arguments as an object is deprecated."),t={options:t});var i=this.whenValidate(t);if(!i)return!0;switch(i.state()){case"pending":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function e(){var t=this,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=n.force,o=n.group,a;if(this.refresh(),!o||this._isInGroup(o))return this.value=this.getValue(),this._trigger("validate"),(a=this.whenValid({force:i,value:this.value,_refreshed:!0}).always(function(){t._reflowUI()}).done(function(){t._trigger("success")}).fail(function(){t._trigger("error")}).always(function(){t._trigger("validated")})).pipe.apply(a,l(this._pipeAccordingToValidationResult()))},hasConstraints:function e(){return 0!==this.constraints.length},needsValidation:function t(e){return"undefined"==typeof e&&(e=this.getValue()),!!(e.length||this._isRequired()||"undefined"!=typeof this.options.validateIfEmpty)},_isInGroup:function n(t){return Array.isArray(this.options.group)?-1!==e.inArray(t,this.options.group):this.options.group===t},isValid:function n(t){if(1<=arguments.length&&!e.isPlainObject(t)){b.warnOnce("Calling isValid on a parsley field without passing arguments as an object is deprecated.");var i=Array.prototype.slice.call(arguments),o=i[0],a=i[1];t={force:o,value:a}}var r=this.whenValid(t);return!r||q[r.state()]},whenValid:function t(){var n=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},o=i.force,a=void 0!==o&&o,r=i.value,s=i.group,l=i._refreshed;if(l||this.refresh(),!s||this._isInGroup(s)){if(this.validationResult=!0,!this.hasConstraints())return e.when();if(("undefined"==typeof r||null===r)&&(r=this.getValue()),!this.needsValidation(r)&&!0!==a)return e.when();var d=this._getGroupedConstraints(),c=[];return e.each(d,function(t,i){var o=b.all(e.map(i,function(e){return n._validateConstraint(r,e)}));if(c.push(o),"rejected"===o.state())return!1}),b.all(c)}},_validateConstraint:function i(t,n){var o=this,a=n.validate(t,this);return!1===a&&(a=e.Deferred().reject()),b.all([a]).fail(function(e){o.validationResult instanceof Array||(o.validationResult=[]),o.validationResult.push({assert:n,errorMessage:"string"==typeof e&&e})})},getValue:function e(){var t;return t="function"==typeof this.options.value?this.options.value(this):"undefined"==typeof this.options.value?this.$element.val():this.options.value,"undefined"==typeof t||null===t?"":this._handleWhitespace(t)},reset:function e(){return this._resetUI(),this._trigger("reset")},destroy:function e(){this._destroyUI(),this.$element.removeData("Parsley"),this.$element.removeData("FieldMultiple"),this._trigger("destroy")},refresh:function e(){return this._refreshConstraints(),this},_refreshConstraints:function e(){return this.actualizeOptions()._bindConstraints()},refreshConstraints:function e(){return b.warnOnce("Parsley's refreshConstraints is deprecated. Please use refresh"),this.refresh()},addConstraint:function o(e,t,n,i){if(window.Parsley._validatorRegistry.validators[e]){var a=new j(this,e,t,n,i);"undefined"!==this.constraintsByName[a.name]&&this.removeConstraint(a.name),this.constraints.push(a),this.constraintsByName[a.name]=a}return this},removeConstraint:function t(e){for(var n=0;n<this.constraints.length;n++)if(e===this.constraints[n].name){this.constraints.splice(n,1);break}return delete this.constraintsByName[e],this},updateConstraint:function i(e,t,n){return this.removeConstraint(e).addConstraint(e,t,n)},_bindConstraints:function e(){for(var t=[],n={},o=0;o<this.constraints.length;o++)!1===this.constraints[o].isDomConstraint&&(t.push(this.constraints[o]),n[this.constraints[o].name]=this.constraints[o]);for(var a in this.constraints=t,this.constraintsByName=n,this.options)this.addConstraint(a,this.options[a],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function e(){null!==this.element.getAttribute("required")&&this.addConstraint("required",!0,void 0,!0),null!==this.element.getAttribute("pattern")&&this.addConstraint("pattern",this.element.getAttribute("pattern"),void 0,!0);var t=this.element.getAttribute("min"),n=this.element.getAttribute("max");null!==t&&null!==n?this.addConstraint("range",[t,n],void 0,!0):null===t?null!==n&&this.addConstraint("max",n,void 0,!0):this.addConstraint("min",t,void 0,!0),null!==this.element.getAttribute("minlength")&&null!==this.element.getAttribute("maxlength")?this.addConstraint("length",[this.element.getAttribute("minlength"),this.element.getAttribute("maxlength")],void 0,!0):null===this.element.getAttribute("minlength")?null!==this.element.getAttribute("maxlength")&&this.addConstraint("maxlength",this.element.getAttribute("maxlength"),void 0,!0):this.addConstraint("minlength",this.element.getAttribute("minlength"),void 0,!0);var i=b.getType(this.element);return"number"===i?this.addConstraint("type",["number",{step:this.element.getAttribute("step")||"1",base:t||this.element.getAttribute("value")}],void 0,!0):/^(email|url|range|date)$/i.test(i)?this.addConstraint("type",i,void 0,!0):this},_isRequired:function e(){return"undefined"!=typeof this.constraintsByName.required&&!1!==this.constraintsByName.required.requirements},_trigger:function t(e){return this.trigger("field:"+e)},_handleWhitespace:function t(e){return!0===this.options.trimValue&&b.warnOnce("data-parsley-trim-value=\"true\" is deprecated, please use data-parsley-whitespace=\"trim\""),"squish"===this.options.whitespace&&(e=e.replace(/\s{2,}/g," ")),("trim"===this.options.whitespace||"squish"===this.options.whitespace||!0===this.options.trimValue)&&(e=b.trimString(e)),e},_isDateInput:function e(){var t=this.constraintsByName.type;return t&&"date"===t.requirements},_getGroupedConstraints:function e(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var t=[],n={},o=0,a;o<this.constraints.length;o++)a=this.constraints[o].priority,n[a]||t.push(n[a]=[]),n[a].push(this.constraints[o]);return t.sort(function(e,t){return t[0].priority-e[0].priority}),t}};var F=function e(){this.__class__="FieldMultiple"};F.prototype={addElement:function t(e){return this.$elements.push(e),this},_refreshConstraints:function t(){var n;if(this.constraints=[],"SELECT"===this.element.nodeName)return this.actualizeOptions()._bindConstraints(),this;for(var o=0;o<this.$elements.length;o++){if(!e("html").has(this.$elements[o]).length){this.$elements.splice(o,1);continue}n=this.$elements[o].data("FieldMultiple")._refreshConstraints().constraints;for(var a=0;a<n.length;a++)this.addConstraint(n[a].name,n[a].requirements,n[a].priority,n[a].isDomConstraint)}return this},getValue:function t(){if("function"==typeof this.options.value)return this.options.value(this);if("undefined"!=typeof this.options.value)return this.options.value;if("INPUT"===this.element.nodeName){var n=b.getType(this.element);if("radio"===n)return this._findRelated().filter(":checked").val()||"";if("checkbox"===n){var i=[];return this._findRelated().filter(":checked").each(function(){i.push(e(this).val())}),i}}return"SELECT"===this.element.nodeName&&null===this.$element.val()?[]:this.$element.val()},_init:function e(){return this.$elements=[this.$element],this}};var M=function o(t,n,i){this.element=t,this.$element=e(t);var s=this.$element.data("Parsley");if(s)return"undefined"!=typeof i&&s.parent===window.Parsley&&(s.parent=i,s._resetOptions(s.options)),"object"===a(n)&&r(s.options,n),s;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if("undefined"!=typeof i&&"Form"!==i.__class__)throw new Error("Parent instance must be a Form instance");return this.parent=i||window.Parsley,this.init(n)};M.prototype={init:function t(e){return this.__class__="Parsley",this.__version__="2.9.2",this.__id__=b.generateID(),this._resetOptions(e),"FORM"===this.element.nodeName||b.checkAttr(this.element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function e(){var t=b.getType(this.element);return"radio"===t||"checkbox"===t||"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple")},handleMultiple:function t(){var n=this,o,a;if(this.options.multiple=this.options.multiple||(o=this.element.getAttribute("name"))||this.element.getAttribute("id"),"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return b.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),o&&e("input[name=\""+o+"\"]").each(function(e,t){var i=b.getType(t);("radio"===i||"checkbox"===i)&&t.setAttribute(n.options.namespace+"multiple",n.options.multiple)});for(var r=this._findRelated(),s=0;s<r.length;s++)if(a=e(r.get(s)).data("Parsley"),"undefined"!=typeof a){this.$element.data("FieldMultiple")||a.addElement(this.$element);break}return this.bind("parsleyField",!0),a||this.bind("parsleyFieldMultiple")},bind:function i(t,n){var o;switch(t){case"parsleyForm":o=e.extend(new N(this.element,this.domOptions,this.options),new C,window.ParsleyExtend)._bindFields();break;case"parsleyField":o=e.extend(new z(this.element,this.domOptions,this.options,this.parent),new C,window.ParsleyExtend);break;case"parsleyFieldMultiple":o=e.extend(new z(this.element,this.domOptions,this.options,this.parent),new F,new C,window.ParsleyExtend)._init();break;default:throw new Error(t+"is not a supported Parsley type")}return(this.options.multiple&&b.setAttr(this.element,this.options.namespace,"multiple",this.options.multiple),"undefined"!=typeof n)?(this.$element.data("FieldMultiple",o),o):(this.$element.data("Parsley",o),o._actualizeTriggers(),o._trigger("init"),o)}};var L=e.fn.jquery.split(".");if(1>=parseInt(L[0])&&8>parseInt(L[1]))throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";L.forEach||b.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");var V=r(new C,{element:document,$element:e(document),actualizeOptions:null,_resetOptions:null,Factory:M,version:"2.9.2"});r(z.prototype,P.Field,C.prototype),r(N.prototype,P.Form,C.prototype),r(M.prototype,C.prototype),e.fn.parsley=e.fn.psly=function(t){if(1<this.length){var n=[];return this.each(function(){n.push(e(this).parsley(t))}),n}return 0==this.length?void 0:new M(this[0],t)},"undefined"==typeof window.ParsleyExtend&&(window.ParsleyExtend={}),V.options=r(b.objectCreate(w),window.ParsleyConfig),window.ParsleyConfig=V.options,window.Parsley=window.psly=V,V.Utils=b,window.ParsleyUtils={},e.each(b,function(e,t){"function"==typeof t&&(window.ParsleyUtils[e]=function(){return b.warnOnce("Accessing `window.ParsleyUtils` is deprecated. Use `window.Parsley.Utils` instead."),b[e].apply(b,arguments)})});var H=window.Parsley._validatorRegistry=new I(window.ParsleyConfig.validators,window.ParsleyConfig.i18n);window.ParsleyValidator={},e.each(["setLocale","addCatalog","addMessage","addMessages","getErrorMessage","formatMessage","addValidator","updateValidator","removeValidator","hasValidator"],function(e,t){window.Parsley[t]=function(){return H[t].apply(H,arguments)},window.ParsleyValidator[t]=function(){var e;return b.warnOnce("Accessing the method '".concat(t,"' through Validator is deprecated. Simply call 'window.Parsley.").concat(t,"(...)'")),(e=window.Parsley)[t].apply(e,arguments)}}),window.Parsley.UI=P,window.ParsleyUI={removeError:function i(e,t,n){var o=!0!==n;return b.warnOnce("Accessing UI is deprecated. Call 'removeError' on the instance directly. Please comment in issue 1073 as to your need to call this method."),e.removeError(t,{updateClass:o})},getErrorsMessages:function t(e){return b.warnOnce("Accessing UI is deprecated. Call 'getErrorsMessages' on the instance directly."),e.getErrorsMessages()}},e.each(["addError","updateError"],function(e,t){window.ParsleyUI[t]=function(e,n,i,o,a){var r=!0!==a;return b.warnOnce("Accessing UI is deprecated. Call '".concat(t,"' on the instance directly. Please comment in issue 1073 as to your need to call this method.")),e[t](n,{message:i,assert:o,updateClass:r})}}),!1!==window.ParsleyConfig.autoBind&&e(function(){e("[data-parsley-validate]").length&&e("[data-parsley-validate]").parsley()});var U=e({}),o=function e(){b.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")},W="parsley:";e.listen=function(e,t){var n;if(o(),"object"===a(arguments[1])&&"function"==typeof arguments[2]&&(n=arguments[1],t=arguments[2]),"function"!=typeof t)throw new Error("Wrong parameters");window.Parsley.on(m(e),f(t,n))},e.listenTo=function(e,t,n){if(o(),!(e instanceof z)&&!(e instanceof N))throw new Error("Must give Parsley instance");if("string"!=typeof t||"function"!=typeof n)throw new Error("Wrong parameters");e.on(m(t),f(n))},e.unsubscribe=function(e,t){if(o(),"string"!=typeof e||"function"!=typeof t)throw new Error("Wrong arguments");window.Parsley.off(m(e),t.parsleyAdaptedCallback)},e.unsubscribeTo=function(e,t){if(o(),!(e instanceof z)&&!(e instanceof N))throw new Error("Must give Parsley instance");e.off(m(t))},e.unsubscribeAll=function(t){o(),window.Parsley.off(m(t)),e("form,input,textarea,select").each(function(){var n=e(this).data("Parsley");n&&n.off(m(t))})},e.emit=function(e,t){var n;o();var i=t instanceof z||t instanceof N,a=Array.prototype.slice.call(arguments,i?2:1);a.unshift(m(e)),i||(t=window.Parsley),(n=t).trigger.apply(n,l(a))},e.extend(!0,V,{asyncValidators:{default:{fn:function t(e){return 200<=e.status&&300>e.status},url:!1},reverse:{fn:function t(e){return 200>e.status||300<=e.status},url:!1}},addAsyncValidator:function o(e,t,n,i){return V.asyncValidators[e]={fn:t,url:n||!1,options:i||{}},this}}),V.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function a(t,n,i,o){var r={},s=i.validator||(!0===i.reverse?"reverse":"default"),l,d;if("undefined"==typeof V.asyncValidators[s])throw new Error("Calling an undefined async validator: `"+s+"`");n=V.asyncValidators[s].url||n,-1<n.indexOf("{value}")?n=n.replace("{value}",encodeURIComponent(t)):r[o.element.getAttribute("name")||o.element.getAttribute("id")]=t;var _=e.extend(!0,i.options||{},V.asyncValidators[s].options);l=e.extend(!0,{},{url:n,data:r,type:"GET"},_),o.trigger("field:ajaxoptions",o,l),d=e.param(l),"undefined"==typeof V._remoteCache&&(V._remoteCache={});var c=V._remoteCache[d]=V._remoteCache[d]||e.ajax(l),u=function t(){var a=V.asyncValidators[s].fn.call(o,c,n,i);return a||(a=e.Deferred().reject()),e.when(a)};return c.then(u,u)},priority:-1}),V.on("form:submit",function(){V._remoteCache={}}),C.prototype.addAsyncValidator=function(){return b.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),V.addAsyncValidator.apply(V,arguments)},V.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same.",euvatin:"It's not a valid VAT Identification Number."}),V.setLocale("en");var B=new h;return B.install(),V}),Parsley.addMessages("de",{defaultMessage:"Die Eingabe scheint nicht korrekt zu sein.",type:{email:"Die Eingabe muss eine g\xFCltige E-Mail-Adresse sein.",url:"Die Eingabe muss eine g\xFCltige URL sein.",number:"Die Eingabe muss eine Zahl sein.",integer:"Die Eingabe muss eine Zahl sein.",digits:"Die Eingabe darf nur Ziffern enthalten.",alphanum:"Die Eingabe muss alphanumerisch sein."},notblank:"Die Eingabe darf nicht leer sein.",required:"Dies ist ein Pflichtfeld.",pattern:"Die Eingabe scheint ung\xFCltig zu sein.",min:"Die Eingabe muss gr\xF6\xDFer oder gleich %s sein.",max:"Die Eingabe muss kleiner oder gleich %s sein.",range:"Die Eingabe muss zwischen %s und %s liegen.",minlength:"Die Eingabe ist zu kurz. Es m\xFCssen mindestens %s Zeichen eingegeben werden.",maxlength:"Die Eingabe ist zu lang. Es d\xFCrfen h\xF6chstens %s Zeichen eingegeben werden.",length:"Die L\xE4nge der Eingabe ist ung\xFCltig. Es m\xFCssen zwischen %s und %s Zeichen eingegeben werden.",mincheck:"W\xE4hlen Sie mindestens %s Angaben aus.",maxcheck:"W\xE4hlen Sie maximal %s Angaben aus.",check:"W\xE4hlen Sie zwischen %s und %s Angaben.",equalto:"Dieses Feld muss dem anderen entsprechen."}),Parsley.setLocale("de");