1
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(e.bootstrap={},e.jQuery)}(this,function(e,t){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function I(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function A(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{},t=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),t.forEach(function(e){var t,n;t=i,e=o[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e})}return i}t=t&&t.hasOwnProperty("default")?t.default:t;var o,n,a,O=(n="transitionend",a={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=e.getAttribute("href")||"");try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;e=o(e).css("transition-duration");return parseFloat(e)?(e=e.split(",")[0],1e3*parseFloat(e)):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){o(e).trigger(n)},supportsTransitionEnd:function(){return Boolean(n)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=t[i],s=r&&a.isElement(r)?"element":(s=r,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var s}},(o=t).fn.emulateTransitionEnd=r,o.event.special[a.TRANSITION_END]={bindType:n,delegateType:n,handle:function(e){if(o(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},a);function r(e){var t=this,n=!1;return o(this).one(a.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||a.triggerTransitionEnd(t)},e),this}for(var s=function(o){var e="alert",r="bs.alert",t="."+r,n=o.fn[e],s={CLOSE:"close"+t,CLOSED:"closed"+t,CLICK_DATA_API:"click"+t+".data-api"},a="alert",l="fade",c="show",i=function(){function i(e){this._element=e}var e=i.prototype;return e.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},e.dispose=function(){o.removeData(this._element,r),this._element=null},e._getRootElement=function(e){var t=O.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n=n||o(e).closest("."+a)[0]},e._triggerCloseEvent=function(e){var t=o.Event(s.CLOSE);return o(e).trigger(t),t},e._removeElement=function(t){var e,n=this;o(t).removeClass(c),o(t).hasClass(l)?(e=O.getTransitionDurationFromElement(t),o(t).one(O.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)):this._destroyElement(t)},e._destroyElement=function(e){o(e).detach().trigger(s.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var e=o(this),t=e.data(r);t||(t=new i(this),e.data(r,t)),"close"===n&&t[n](this)})},i._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},I(i,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),i}();return o(document).on(s.CLICK_DATA_API,'[data-dismiss="alert"]',i._handleDismiss(new i)),o.fn[e]=i._jQueryInterface,o.fn[e].Constructor=i,o.fn[e].noConflict=function(){return o.fn[e]=n,i._jQueryInterface},i}(t),l=function(r){var e="button",i="bs.button",t="."+i,n=".data-api",o=r.fn[e],s="active",a="btn",l="focus",c='[data-toggle^="button"]',u='[data-toggle="buttons"]',d="input",h=".active",f=".btn",n={CLICK_DATA_API:"click"+t+n,FOCUS_BLUR_DATA_API:"focus"+t+n+" blur"+t+n},p=function(){function n(e){this._element=e}var e=n.prototype;return e.toggle=function(){var e=!0,t=!0,n=r(this._element).closest(u)[0];if(n){var i,o=this._element.querySelector(d);if(o){if("radio"===o.type&&(o.checked&&this._element.classList.contains(s)?e=!1:(i=n.querySelector(h))&&r(i).removeClass(s)),e){if(o.hasAttribute("disabled")||n.hasAttribute("disabled")||o.classList.contains("disabled")||n.classList.contains("disabled"))return;o.checked=!this._element.classList.contains(s),r(o).trigger("change")}o.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(s)),e&&r(this._element).toggleClass(s)},e.dispose=function(){r.removeData(this._element,i),this._element=null},n._jQueryInterface=function(t){return this.each(function(){var e=r(this).data(i);e||(e=new n(this),r(this).data(i,e)),"toggle"===t&&e[t]()})},I(n,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),n}();return r(document).on(n.CLICK_DATA_API,c,function(e){e.preventDefault();e=e.target;r(e).hasClass(a)||(e=r(e).closest(f)),p._jQueryInterface.call(r(e),"toggle")}).on(n.FOCUS_BLUR_DATA_API,c,function(e){var t=r(e.target).closest(f)[0];r(t).toggleClass(l,/^focus(in)?$/.test(e.type))}),r.fn[e]=p._jQueryInterface,r.fn[e].Constructor=p,r.fn[e].noConflict=function(){return r.fn[e]=o,p._jQueryInterface},p}(t),c=function(u){var t="carousel",r="bs.carousel",n="."+r,e=".data-api",i=u.fn[t],s={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},a={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},d="next",l="prev",h="left",f="right",p={SLIDE:"slide"+n,SLID:"slid"+n,KEYDOWN:"keydown"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n,TOUCHEND:"touchend"+n,LOAD_DATA_API:"load"+n+e,CLICK_DATA_API:"click"+n+e},c="carousel",m="active",g="slide",_="carousel-item-right",v="carousel-item-left",y="carousel-item-next",b="carousel-item-prev",w=".active",E=".active.carousel-item",S=".carousel-item",C=".carousel-item-next, .carousel-item-prev",k=".carousel-indicators",e="[data-slide], [data-slide-to]",o='[data-ride="carousel"]',T=function(){function o(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(t),this._element=u(e)[0],this._indicatorsElement=this._element.querySelector(k),this._addEventListeners()}var e=o.prototype;return e.next=function(){this._isSliding||this._slide(d)},e.nextWhenVisible=function(){!document.hidden&&u(this._element).is(":visible")&&"hidden"!==u(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(l)},e.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(C)&&(O.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(e){var t=this;this._activeElement=this._element.querySelector(E);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)u(this._element).one(p.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();n=n<e?d:l;this._slide(n,this._items[e])}},e.dispose=function(){u(this._element).off(n),u.removeData(this._element,r),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(e){return e=A({},s,e),O.typeCheckConfig(t,e,a),e},e._addEventListeners=function(){var t=this;this._config.keyboard&&u(this._element).on(p.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(u(this._element).on(p.MOUSEENTER,function(e){return t.pause(e)}).on(p.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&u(this._element).on(p.TOUCHEND,function(){t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval)}))},e._keydown=function(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()}},e._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(S)):[],this._items.indexOf(e)},e._getItemByDirection=function(e,t){var n=e===d,i=e===l,o=this._getItemIndex(t),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return t;e=(o+(e===l?-1:1))%this._items.length;return-1==e?this._items[this._items.length-1]:this._items[e]},e._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(E)),n=u.Event(p.SLIDE,{relatedTarget:e,direction:t,from:i,to:n});return u(this._element).trigger(n),n},e._setActiveIndicatorElement=function(e){var t;this._indicatorsElement&&(t=[].slice.call(this._indicatorsElement.querySelectorAll(w)),u(t).removeClass(m),(e=this._indicatorsElement.children[this._getItemIndex(e)])&&u(e).addClass(m))},e._slide=function(e,t){var n,i,o,r=this,s=this._element.querySelector(E),a=this._getItemIndex(s),l=t||s&&this._getItemByDirection(e,s),c=this._getItemIndex(l),t=Boolean(this._interval),e=e===d?(n=v,i=y,h):(n=_,i=b,f);l&&u(l).hasClass(m)?this._isSliding=!1:this._triggerSlideEvent(l,e).isDefaultPrevented()||s&&l&&(this._isSliding=!0,t&&this.pause(),this._setActiveIndicatorElement(l),o=u.Event(p.SLID,{relatedTarget:l,direction:e,from:a,to:c}),u(this._element).hasClass(g)?(u(l).addClass(i),O.reflow(l),u(s).addClass(n),u(l).addClass(n),c=O.getTransitionDurationFromElement(s),u(s).one(O.TRANSITION_END,function(){u(l).removeClass(n+" "+i).addClass(m),u(s).removeClass(m+" "+i+" "+n),r._isSliding=!1,setTimeout(function(){return u(r._element).trigger(o)},0)}).emulateTransitionEnd(c)):(u(s).removeClass(m),u(l).addClass(m),this._isSliding=!1,u(this._element).trigger(o)),t&&this.cycle())},o._jQueryInterface=function(i){return this.each(function(){var e=u(this).data(r),t=A({},s,u(this).data());"object"==typeof i&&(t=A({},t,i));var n="string"==typeof i?i:t.slide;if(e||(e=new o(this,t),u(this).data(r,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&(e.pause(),e.cycle())})},o._dataApiClickHandler=function(e){var t,n,i=O.getSelectorFromElement(this);!i||(t=u(i)[0])&&u(t).hasClass(c)&&(n=A({},u(t).data(),u(this).data()),(i=this.getAttribute("data-slide-to"))&&(n.interval=!1),o._jQueryInterface.call(u(t),n),i&&u(t).data(r).to(i),e.preventDefault())},I(o,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return s}}]),o}();return u(document).on(p.CLICK_DATA_API,e,T._dataApiClickHandler),u(window).on(p.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(o)),t=0,n=e.length;t<n;t++){var i=u(e[t]);T._jQueryInterface.call(i,i.data())}}),u.fn[t]=T._jQueryInterface,u.fn[t].Constructor=T,u.fn[t].noConflict=function(){return u.fn[t]=i,T._jQueryInterface},T}(t),u=function(l){var t="collapse",s="bs.collapse",e="."+s,n=l.fn[t],o={toggle:!0,parent:""},i={toggle:"boolean",parent:"(string|element)"},a={SHOW:"show"+e,SHOWN:"shown"+e,HIDE:"hide"+e,HIDDEN:"hidden"+e,CLICK_DATA_API:"click"+e+".data-api"},c="show",u="collapse",d="collapsing",h="collapsed",f="width",p="height",m=".show, .collapsing",g='[data-toggle="collapse"]',r=function(){function r(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=l.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(g)),i=0,o=n.length;i<o;i++){var r=n[i],s=O.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&&0<a.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 e=r.prototype;return e.toggle=function(){l(this._element).hasClass(c)?this.hide():this.show()},e.show=function(){var e,t,n,i,o=this;this._isTransitioning||l(this._element).hasClass(c)||(this._parent&&0===(i=[].slice.call(this._parent.querySelectorAll(m)).filter(function(e){return e.getAttribute("data-parent")===o._config.parent})).length&&(i=null),i&&(n=l(i).not(this._selector).data(s))&&n._isTransitioning||(e=l.Event(a.SHOW),l(this._element).trigger(e),e.isDefaultPrevented()||(i&&(r._jQueryInterface.call(l(i).not(this._selector),"hide"),n||l(i).data(s,null)),t=this._getDimension(),l(this._element).removeClass(u).addClass(d),this._element.style[t]=0,this._triggerArray.length&&l(this._triggerArray).removeClass(h).attr("aria-expanded",!0),this.setTransitioning(!0),n="scroll"+(t[0].toUpperCase()+t.slice(1)),i=O.getTransitionDurationFromElement(this._element),l(this._element).one(O.TRANSITION_END,function(){l(o._element).removeClass(d).addClass(u).addClass(c),o._element.style[t]="",o.setTransitioning(!1),l(o._element).trigger(a.SHOWN)}).emulateTransitionEnd(i),this._element.style[t]=this._element[n]+"px")))},e.hide=function(){var e=this;if(!this._isTransitioning&&l(this._element).hasClass(c)){var t=l.Event(a.HIDE);if(l(this._element).trigger(t),!t.isDefaultPrevented()){t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",O.reflow(this._element),l(this._element).addClass(d).removeClass(u).removeClass(c);var n=this._triggerArray.length;if(0<n)for(var i=0;i<n;i++){var o=this._triggerArray[i],r=O.getSelectorFromElement(o);null!==r&&(l([].slice.call(document.querySelectorAll(r))).hasClass(c)||l(o).addClass(h).attr("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[t]="";t=O.getTransitionDurationFromElement(this._element);l(this._element).one(O.TRANSITION_END,function(){e.setTransitioning(!1),l(e._element).removeClass(d).addClass(u).trigger(a.HIDDEN)}).emulateTransitionEnd(t)}}},e.setTransitioning=function(e){this._isTransitioning=e},e.dispose=function(){l.removeData(this._element,s),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(e){return(e=A({},o,e)).toggle=Boolean(e.toggle),O.typeCheckConfig(t,e,i),e},e._getDimension=function(){return l(this._element).hasClass(f)?f:p},e._getParent=function(){var n=this,e=null;O.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',t=[].slice.call(e.querySelectorAll(t));return l(t).each(function(e,t){n._addAriaAndCollapsedClass(r._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function(e,t){e&&(e=l(e).hasClass(c),t.length&&l(t).toggleClass(h,!e).attr("aria-expanded",e))},r._getTargetFromElement=function(e){e=O.getSelectorFromElement(e);return e?document.querySelector(e):null},r._jQueryInterface=function(i){return this.each(function(){var e=l(this),t=e.data(s),n=A({},o,e.data(),"object"==typeof i&&i?i:{});if(!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new r(this,n),e.data(s,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},I(r,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return o}}]),r}();return l(document).on(a.CLICK_DATA_API,g,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=l(this),e=O.getSelectorFromElement(this),e=[].slice.call(document.querySelectorAll(e));l(e).each(function(){var e=l(this),t=e.data(s)?"toggle":n.data();r._jQueryInterface.call(e,t)})}),l.fn[t]=r._jQueryInterface,l.fn[t].Constructor=r,l.fn[t].noConflict=function(){return l.fn[t]=n,r._jQueryInterface},r}(t),d="undefined"!=typeof window&&"undefined"!=typeof document,h=["Edge","Trident","Firefox"],f=0,p=0;p<h.length;p+=1)if(d&&0<=navigator.userAgent.indexOf(h[p])){f=1;break}var m=d&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},f))}};function g(e){return e&&"[object Function]"==={}.toString.call(e)}function _(e,t){if(1!==e.nodeType)return[];e=getComputedStyle(e,null);return t?e[t]:e}function v(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function y(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=_(e),n=t.overflow,i=t.overflowX,t=t.overflowY;return/(auto|scroll|overlay)/.test(n+t+i)?e:y(v(e))}var b=d&&!(!window.MSInputMethodContext||!document.documentMode),w=d&&/MSIE 10/.test(navigator.userAgent);function E(e){return 11===e?b:10!==e&&b||w}function S(e){if(!e)return document.documentElement;for(var t=E(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===_(n,"position")?S(n):n:(e?e.ownerDocument:document).documentElement}function C(e){return null!==e.parentNode?C(e.parentNode):e}function k(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,n=document.createRange();n.setStart(i,0),n.setEnd(o,0);n=n.commonAncestorContainer;if(e!==n&&t!==n||i.contains(o))return"BODY"===(o=(i=n).nodeName)||"HTML"!==o&&S(i.firstElementChild)!==i?S(n):n;n=C(e);return n.host?k(n.host,t):k(e,C(t).host)}function T(e,t){var n="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",t=e.nodeName;if("BODY"!==t&&"HTML"!==t)return e[n];t=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||t)[n]}function D(e,t){var n="x"===t?"Left":"Top",t="Left"==n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+t+"Width"],10)}function N(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],E(10)?n["offset"+e]+i["margin"+("Height"===e?"Top":"Left")]+i["margin"+("Height"===e?"Bottom":"Right")]:0)}function x(){var e=document.body,t=document.documentElement,n=E(10)&&getComputedStyle(t);return{height:N("Height",e,t,n),width:N("Width",e,t,n)}}var P=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},j=function(e,t,n){return t&&M(e.prototype,t),n&&M(e,n),e};function M(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};function H(e){return F({},e,{right:e.left+e.width,bottom:e.top+e.height})}function R(e){var t,n,i={};try{E(10)?(i=e.getBoundingClientRect(),t=T(e,"top"),n=T(e,"left"),i.top+=t,i.left+=n,i.bottom+=t,i.right+=n):i=e.getBoundingClientRect()}catch(e){}var o={left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top},r="HTML"===e.nodeName?x():{},s=r.width||e.clientWidth||o.right-o.left,a=r.height||e.clientHeight||o.bottom-o.top,r=e.offsetWidth-s,s=e.offsetHeight-a;return(r||s)&&(r-=D(a=_(e),"x"),s-=D(a,"y"),o.width-=r,o.height-=s),H(o)}function W(e,t,n){var i=2<arguments.length&&void 0!==n&&n,o=E(10),r="HTML"===t.nodeName,s=R(e),a=R(t),l=y(e),c=_(t),n=parseFloat(c.borderTopWidth,10),e=parseFloat(c.borderLeftWidth,10);i&&"HTML"===t.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));s=H({top:s.top-a.top-n,left:s.left-a.left-e,width:s.width,height:s.height});return s.marginTop=0,s.marginLeft=0,!o&&r&&(r=parseFloat(c.marginTop,10),c=parseFloat(c.marginLeft,10),s.top-=n-r,s.bottom-=n-r,s.left-=e-c,s.right-=e-c,s.marginTop=r,s.marginLeft=c),(o&&!i?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(s=function(e,t,n){var i=2<arguments.length&&void 0!==n&&n,n=T(t,"top"),t=T(t,"left"),i=i?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=t*i,e.right+=t*i,e}(s,t)),s}function U(e){if(!e||!e.parentElement||E())return document.documentElement;for(var t=e.parentElement;t&&"none"===_(t,"transform");)t=t.parentElement;return t||document.documentElement}function B(e,t,n,i,o){var r=4<arguments.length&&void 0!==o&&o,s={top:0,left:0},a=r?U(e):k(e,t);return"viewport"===i?s=function(e,t){var n=1<arguments.length&&void 0!==t&&t,i=e.ownerDocument.documentElement,o=W(e,i),r=Math.max(i.clientWidth,window.innerWidth||0),t=Math.max(i.clientHeight,window.innerHeight||0),e=n?0:T(i),i=n?0:T(i,"left");return H({top:e-o.top+o.marginTop,left:i-o.left+o.marginLeft,width:r,height:t})}(a,r):(o=void 0,"scrollParent"===i?"BODY"===(o=y(v(t))).nodeName&&(o=e.ownerDocument.documentElement):o="window"===i?e.ownerDocument.documentElement:i,r=W(o,a,r),"HTML"!==o.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===_(t,"position")||e(v(t)))}(a)?s=r:(a=(o=x()).height,o=o.width,s.top+=r.top-r.marginTop,s.bottom=a+r.top,s.left+=r.left-r.marginLeft,s.right=o+r.left)),s.left+=n,s.top+=n,s.right-=n,s.bottom-=n,s}function Q(e,t,n,i,o,r){r=5<arguments.length&&void 0!==r?r:0;if(-1===e.indexOf("auto"))return e;var o=B(n,i,r,o),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},t=Object.keys(s).map(function(e){return F({key:e},s[e],{area:(e=s[e]).width*e.height})}).sort(function(e,t){return t.area-e.area}),o=t.filter(function(e){var t=e.width,e=e.height;return t>=n.clientWidth&&e>=n.clientHeight}),t=(0<o.length?o:t)[0].key,e=e.split("-")[1];return t+(e?"-"+e:"")}function q(e,t,n,i){i=3<arguments.length&&void 0!==i?i:null;return W(n,i?U(t):k(t,n),i)}function $(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),t=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+t,height:e.offsetHeight+n}}function K(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function Y(e,t,n){n=n.split("-")[0];var i=$(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",e=r?"height":"width",r=r?"width":"height";return o[s]=t[s]+t[e]/2-i[e]/2,o[a]=n===a?t[a]-i[r]:t[K(a)],o}function V(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function J(e,n,t){return(void 0===t?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=V(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",t))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&g(t)&&(n.offsets.popper=H(n.offsets.popper),n.offsets.reference=H(n.offsets.reference),n=t(n,e))}),n}function z(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function G(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],o=o?""+o+n:e;if(void 0!==document.body.style[o])return o}return null}function Z(e){e=e.ownerDocument;return e?e.defaultView:window}function X(e,t,n,i){n.updateBound=i,Z(e).addEventListener("resize",n.updateBound,{passive:!0});e=y(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,t=r?t.ownerDocument.defaultView:t;t.addEventListener(n,i,{passive:!0}),r||e(y(t.parentNode),n,i,o),o.push(t)}(e,"scroll",n.updateBound,n.scrollParents),n.scrollElement=e,n.eventsEnabled=!0,n}function ee(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,Z(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function te(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ne(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&te(i[e])&&(t="px"),n.style[e]=i[e]+t})}function ie(e,t,n){var i,o=V(e,function(e){return e.name===t}),r=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});return r||(i="`"+t+"`",e="`"+n+"`",console.warn(e+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")),r}var oe=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],re=oe.slice(3);function se(e,t){t=1<arguments.length&&void 0!==t&&t,e=re.indexOf(e),e=re.slice(e+1).concat(re.slice(0,e));return t?e.reverse():e}var ae="flip",le="clockwise",ce="counterclockwise";function ue(e,o,r,t){var s=[0,0],a=-1!==["right","left"].indexOf(t),n=e.split(/(\+|\-)/).map(function(e){return e.trim()}),t=n.indexOf(V(n,function(e){return-1!==e.search(/,|\s/)}));n[t]&&-1===n[t].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");e=/\s*,\s*|\s+/;return(-1!==t?[n.slice(0,t).concat([n[t].split(e)[0]]),[n[t].split(e)[1]].concat(n.slice(t+1))]:[n]).map(function(e,t){var n=(1===t?!a:a)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var o=+(r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],r=r[2];if(!o)return e;if(0!==r.indexOf("%"))return"vh"!==r&&"vw"!==r?o:("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;var s=void 0;switch(r){case"%p":s=n;break;case"%":case"%r":default:s=i}return H(s)[t]/100*o}(e,n,o,r)})}).forEach(function(n,i){n.forEach(function(e,t){te(e)&&(s[i]+=e*("-"===n[t-1]?-1:1))})}),s}var de={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,n,i=e.placement,o=i.split("-")[0],r=i.split("-")[1];return r&&(t=(n=e.offsets).reference,i=n.popper,o=(n=-1!==["bottom","top"].indexOf(o))?"width":"height",o={start:L({},n=n?"left":"top",t[n]),end:L({},n,t[n]+t[o]-i[o])},e.offsets.popper=F({},i,o[r])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=(r=e.offsets).popper,t=r.reference,r=i.split("-")[0],i=void 0,i=te(+n)?[+n,0]:ue(n,o,t,r);return"left"===r?(o.top+=i[0],o.left-=i[1]):"right"===r?(o.top+=i[0],o.left+=i[1]):"top"===r?(o.left+=i[0],o.top-=i[1]):"bottom"===r&&(o.left+=i[0],o.top+=i[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,i){var t=i.boundariesElement||S(e.instance.popper);e.instance.reference===t&&(t=S(t));var n=G("transform"),o=e.instance.popper.style,r=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=B(e.instance.popper,e.instance.reference,i.padding,t,e.positionFixed);o.top=r,o.left=s,o[n]=a,i.boundaries=l;var a=i.priority,c=e.offsets.popper,u={primary:function(e){var t=c[e];return c[e]<l[e]&&!i.escapeWithReference&&(t=Math.max(c[e],l[e])),L({},e,t)},secondary:function(e){var t="right"===e?"left":"top",n=c[t];return c[e]>l[e]&&!i.escapeWithReference&&(n=Math.min(c[t],l[e]-("right"===e?c.width:c.height))),L({},t,n)}};return a.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=F({},c,u[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(r=e.offsets).popper,n=r.reference,i=e.placement.split("-")[0],o=Math.floor,r=(s=-1!==["top","bottom"].indexOf(i))?"right":"bottom",i=s?"left":"top",s=s?"width":"height";return t[r]<o(n[i])&&(e.offsets.popper[i]=o(n[i])-t[s]),t[i]>o(n[r])&&(e.offsets.popper[i]=o(n[r])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!ie(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=(u=e.offsets).popper,r=u.reference,s=-1!==["left","right"].indexOf(i),a=s?"height":"width",l=s?"Top":"Left",c=l.toLowerCase(),t=s?"left":"top",u=s?"bottom":"right",i=$(n)[a];return r[u]-i<o[c]&&(e.offsets.popper[c]-=o[c]-(r[u]-i)),r[c]+i>o[u]&&(e.offsets.popper[c]+=r[c]+i-o[u]),e.offsets.popper=H(e.offsets.popper),s=r[c]+r[a]/2-i/2,u=_(e.instance.popper),r=parseFloat(u["margin"+l],10),l=parseFloat(u["border"+l+"Width"],10),l=s-e.offsets.popper[c]-r-l,l=Math.max(Math.min(o[a]-i,l),0),e.arrowElement=n,e.offsets.arrow=(L(n={},c,Math.round(l)),L(n,t,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(l,c){if(z(l.instance.modifiers,"inner"))return l;if(l.flipped&&l.placement===l.originalPlacement)return l;var u=B(l.instance.popper,l.instance.reference,c.padding,c.boundariesElement,l.positionFixed),d=l.placement.split("-")[0],h=K(d),f=l.placement.split("-")[1]||"",p=[];switch(c.behavior){case ae:p=[d,h];break;case le:p=se(d);break;case ce:p=se(d,!0);break;default:p=c.behavior}return p.forEach(function(e,t){if(d!==e||p.length===t+1)return l;d=l.placement.split("-")[0],h=K(d);var n=l.offsets.popper,i=l.offsets.reference,o=Math.floor,r="left"===d&&o(n.right)>o(i.left)||"right"===d&&o(n.left)<o(i.right)||"top"===d&&o(n.bottom)>o(i.top)||"bottom"===d&&o(n.top)<o(i.bottom),s=o(n.left)<o(u.left),a=o(n.right)>o(u.right),e=o(n.top)<o(u.top),i=o(n.bottom)>o(u.bottom),n="left"===d&&s||"right"===d&&a||"top"===d&&e||"bottom"===d&&i,o=-1!==["top","bottom"].indexOf(d),i=!!c.flipVariations&&(o&&"start"===f&&s||o&&"end"===f&&a||!o&&"start"===f&&e||!o&&"end"===f&&i);(r||n||i)&&(l.flipped=!0,(r||n)&&(d=p[t+1]),i&&(f="end"===(i=f)?"start":"start"===i?"end":i),l.placement=d+(f?"-"+f:""),l.offsets.popper=F({},l.offsets.popper,Y(l.instance.popper,l.offsets.reference,l.placement)),l=J(l.instance.modifiers,l,"flip"))}),l},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=(s=e.offsets).popper,o=s.reference,r=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[r?"left":"top"]=o[n]-(s?i[r?"width":"height"]:0),e.placement=K(t),e.offsets.popper=H(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ie(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=V(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper;void 0!==(c=V(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration)&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var r=void 0!==c?c:t.gpuAcceleration,s=R(S(e.instance.popper)),a={position:o.position},l={left:Math.floor(o.left),top:Math.round(o.top),bottom:Math.round(o.bottom),right:Math.floor(o.right)},c="bottom"===n?"top":"bottom",t="right"===i?"left":"right",o=G("transform"),n=void 0,i=void 0,i="bottom"==c?-s.height+l.bottom:l.top,n="right"==t?-s.width+l.right:l.left;return r&&o?(a[o]="translate3d("+n+"px, "+i+"px, 0)",a[c]=0,a[t]=0,a.willChange="transform"):(r="bottom"==c?-1:1,o="right"==t?-1:1,a[c]=i*r,a[t]=n*o,a.willChange=c+", "+t),t={"x-placement":e.placement},e.attributes=F({},t,e.attributes),e.styles=F({},a,e.styles),e.arrowStyles=F({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return ne(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&ne(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){return o=q(o,t,e,n.positionFixed),e=Q(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding),t.setAttribute("x-placement",e),ne(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},he=(j(fe,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=q(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Q(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=Y(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=J(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[G("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=X(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return ee.call(this)}}]),fe);function fe(e,t){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};P(this,fe),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=m(this.update.bind(this)),this.options=F({},fe.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(F({},fe.Defaults.modifiers,i.modifiers)).forEach(function(e){n.options.modifiers[e]=F({},fe.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return F({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&g(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();t=this.options.eventsEnabled;t&&this.enableEventListeners(),this.state.eventsEnabled=t}he.Utils=("undefined"!=typeof window?window:global).PopperUtils,he.placements=oe,he.Defaults=de;var pe=function(c){var t="dropdown",u="bs.dropdown",n="."+u,e=".data-api",i=c.fn[t],o=new RegExp("38|40|27"),d={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,CLICK:"click"+n,CLICK_DATA_API:"click"+n+e,KEYDOWN_DATA_API:"keydown"+n+e,KEYUP_DATA_API:"keyup"+n+e},r="disabled",h="show",s="dropup",a="dropright",f="dropleft",p="dropdown-menu-right",m="position-static",g='[data-toggle="dropdown"]',e=".dropdown form",_=".dropdown-menu",v=".navbar-nav",y=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",b="top-start",w="top-end",E="bottom-start",S="bottom-end",C="right-start",k="left-start",T={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},D={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},l=function(){function l(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=l.prototype;return e.toggle=function(){if(!this._element.disabled&&!c(this._element).hasClass(r)){var e=l._getParentFromElement(this._element),t=c(this._menu).hasClass(h);if(l._clearMenus(),!t){var n={relatedTarget:this._element},t=c.Event(d.SHOW,n);if(c(e).trigger(t),!t.isDefaultPrevented()){if(!this._inNavbar){if(void 0===he)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");t=this._element;"parent"===this._config.reference?t=e:O.isElement(this._config.reference)&&(t=this._config.reference,void 0!==this._config.reference.jquery&&(t=this._config.reference[0])),"scrollParent"!==this._config.boundary&&c(e).addClass(m),this._popper=new he(t,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===c(e).closest(v).length&&c(document.body).children().on("mouseover",null,c.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),c(this._menu).toggleClass(h),c(e).toggleClass(h).trigger(c.Event(d.SHOWN,n))}}}},e.dispose=function(){c.removeData(this._element,u),c(this._element).off(n),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;c(this._element).on(d.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(e){return e=A({},this.constructor.Default,c(this._element).data(),e),O.typeCheckConfig(t,e,this.constructor.DefaultType),e},e._getMenuElement=function(){var e;return this._menu||(e=l._getParentFromElement(this._element))&&(this._menu=e.querySelector(_)),this._menu},e._getPlacement=function(){var e=c(this._element.parentNode),t=E;return e.hasClass(s)?(t=b,c(this._menu).hasClass(p)&&(t=w)):e.hasClass(a)?t=C:e.hasClass(f)?t=k:c(this._menu).hasClass(p)&&(t=S),t},e._detectNavbar=function(){return 0<c(this._element).closest(".navbar").length},e._getPopperConfig=function(){var t=this,e={};"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=A({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset;e={placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},l._jQueryInterface=function(t){return this.each(function(){var e=c(this).data(u);if(e||(e=new l(this,"object"==typeof t?t:null),c(this).data(u,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},l._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(g)),n=0,i=t.length;n<i;n++){var o,r=l._getParentFromElement(t[n]),s=c(t[n]).data(u),a={relatedTarget:t[n]};e&&"click"===e.type&&(a.clickEvent=e),s&&(o=s._menu,c(r).hasClass(h)&&(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&c.contains(r,e.target)||(s=c.Event(d.HIDE,a),c(r).trigger(s),s.isDefaultPrevented()||("ontouchstart"in document.documentElement&&c(document.body).children().off("mouseover",null,c.noop),t[n].setAttribute("aria-expanded","false"),c(o).removeClass(h),c(r).removeClass(h).trigger(c.Event(d.HIDDEN,a))))))}},l._getParentFromElement=function(e){var t,n=O.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},l._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||c(e.target).closest(_).length)):o.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!c(this).hasClass(r))){var t=l._getParentFromElement(this),n=c(t).hasClass(h);if(!n&&(27!==e.which||32!==e.which)||n&&(27===e.which||32===e.which))return 27===e.which&&(i=t.querySelector(g),c(i).trigger("focus")),void c(this).trigger("click");var i=[].slice.call(t.querySelectorAll(y));0!==i.length&&(t=i.indexOf(e.target),38===e.which&&0<t&&t--,40===e.which&&t<i.length-1&&t++,t<0&&(t=0),i[t].focus())}},I(l,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return T}},{key:"DefaultType",get:function(){return D}}]),l}();return c(document).on(d.KEYDOWN_DATA_API,g,l._dataApiKeydownHandler).on(d.KEYDOWN_DATA_API,_,l._dataApiKeydownHandler).on(d.CLICK_DATA_API+" "+d.KEYUP_DATA_API,l._clearMenus).on(d.CLICK_DATA_API,g,function(e){e.preventDefault(),e.stopPropagation(),l._jQueryInterface.call(c(this),"toggle")}).on(d.CLICK_DATA_API,e,function(e){e.stopPropagation()}),c.fn[t]=l._jQueryInterface,c.fn[t].Constructor=l,c.fn[t].noConflict=function(){return c.fn[t]=i,l._jQueryInterface},l}(t),me=function(r){var t="modal",s="bs.modal",n="."+s,e=r.fn[t],a={backdrop:!0,keyboard:!0,focus:!0,show:!0},i={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},l={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,FOCUSIN:"focusin"+n,RESIZE:"resize"+n,CLICK_DISMISS:"click.dismiss"+n,KEYDOWN_DISMISS:"keydown.dismiss"+n,MOUSEUP_DISMISS:"mouseup.dismiss"+n,MOUSEDOWN_DISMISS:"mousedown.dismiss"+n,CLICK_DATA_API:"click"+n+".data-api"},c="modal-scrollbar-measure",u="modal-backdrop",d="modal-open",h="fade",f="show",p=".modal-dialog",o='[data-toggle="modal"]',m='[data-dismiss="modal"]',g=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",_=".sticky-top",v=function(){function o(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(p),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}var e=o.prototype;return e.toggle=function(e){return this._isShown?this.hide():this.show(e)},e.show=function(e){var t,n=this;this._isTransitioning||this._isShown||(r(this._element).hasClass(h)&&(this._isTransitioning=!0),t=r.Event(l.SHOW,{relatedTarget:e}),r(this._element).trigger(t),this._isShown||t.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),r(document.body).addClass(d),this._setEscapeEvent(),this._setResizeEvent(),r(this._element).on(l.CLICK_DISMISS,m,function(e){return n.hide(e)}),r(this._dialog).on(l.MOUSEDOWN_DISMISS,function(){r(n._element).one(l.MOUSEUP_DISMISS,function(e){r(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)})))},e.hide=function(e){var t=this;e&&e.preventDefault(),!this._isTransitioning&&this._isShown&&(e=r.Event(l.HIDE),r(this._element).trigger(e),this._isShown&&!e.isDefaultPrevented()&&(this._isShown=!1,(e=r(this._element).hasClass(h))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),r(document).off(l.FOCUSIN),r(this._element).removeClass(f),r(this._element).off(l.CLICK_DISMISS),r(this._dialog).off(l.MOUSEDOWN_DISMISS),e?(e=O.getTransitionDurationFromElement(this._element),r(this._element).one(O.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(e)):this._hideModal()))},e.dispose=function(){r.removeData(this._element,s),r(window,document,this._element,this._backdrop).off(n),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(e){return e=A({},a,e),O.typeCheckConfig(t,e,i),e},e._showElement=function(e){var t=this,n=r(this._element).hasClass(h);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.scrollTop=0,n&&O.reflow(this._element),r(this._element).addClass(f),this._config.focus&&this._enforceFocus();var i=r.Event(l.SHOWN,{relatedTarget:e}),e=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,r(t._element).trigger(i)};n?(n=O.getTransitionDurationFromElement(this._element),r(this._dialog).one(O.TRANSITION_END,e).emulateTransitionEnd(n)):e()},e._enforceFocus=function(){var t=this;r(document).off(l.FOCUSIN).on(l.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===r(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?r(this._element).on(l.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||r(this._element).off(l.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?r(window).on(l.RESIZE,function(e){return t.handleUpdate(e)}):r(window).off(l.RESIZE)},e._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){r(document.body).removeClass(d),e._resetAdjustments(),e._resetScrollbar(),r(e._element).trigger(l.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(r(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(e){var t,n=this,i=r(this._element).hasClass(h)?h:"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className=u,i&&this._backdrop.classList.add(i),r(this._backdrop).appendTo(document.body),r(this._element).on(l.CLICK_DISMISS,function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),i&&O.reflow(this._backdrop),r(this._backdrop).addClass(f),e&&(i?(t=O.getTransitionDurationFromElement(this._backdrop),r(this._backdrop).one(O.TRANSITION_END,e).emulateTransitionEnd(t)):e())):!this._isShown&&this._backdrop?(r(this._backdrop).removeClass(f),i=function(){n._removeBackdrop(),e&&e()},r(this._element).hasClass(h)?(t=O.getTransitionDurationFromElement(this._backdrop),r(this._backdrop).one(O.TRANSITION_END,i).emulateTransitionEnd(t)):i()):e&&e()},e._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var e,t,o=this;this._isBodyOverflowing&&(e=[].slice.call(document.querySelectorAll(g)),t=[].slice.call(document.querySelectorAll(_)),r(e).each(function(e,t){var n=t.style.paddingRight,i=r(t).css("padding-right");r(t).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),r(t).each(function(e,t){var n=t.style.marginRight,i=r(t).css("margin-right");r(t).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")}),e=document.body.style.paddingRight,t=r(document.body).css("padding-right"),r(document.body).data("padding-right",e).css("padding-right",parseFloat(t)+this._scrollbarWidth+"px"))},e._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(g));r(e).each(function(e,t){var n=r(t).data("padding-right");r(t).removeData("padding-right"),t.style.paddingRight=n||""});e=[].slice.call(document.querySelectorAll(""+_));r(e).each(function(e,t){var n=r(t).data("margin-right");void 0!==n&&r(t).css("margin-right",n).removeData("margin-right")});e=r(document.body).data("padding-right");r(document.body).removeData("padding-right"),document.body.style.paddingRight=e||""},e._getScrollbarWidth=function(){var e=document.createElement("div");e.className=c,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},o._jQueryInterface=function(n,i){return this.each(function(){var e=r(this).data(s),t=A({},a,r(this).data(),"object"==typeof n&&n?n:{});if(e||(e=new o(this,t),r(this).data(s,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](i)}else t.show&&e.show(i)})},I(o,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return a}}]),o}();return r(document).on(l.CLICK_DATA_API,o,function(e){var t,n=this,i=O.getSelectorFromElement(this);i&&(t=document.querySelector(i));i=r(t).data(s)?"toggle":A({},r(t).data(),r(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var o=r(t).one(l.SHOW,function(e){e.isDefaultPrevented()||o.one(l.HIDDEN,function(){r(n).is(":visible")&&n.focus()})});v._jQueryInterface.call(r(t),i,this)}),r.fn[t]=v._jQueryInterface,r.fn[t].Constructor=v,r.fn[t].noConflict=function(){return r.fn[t]=e,v._jQueryInterface},v}(t),ge=function(r){var t="tooltip",o="bs.tooltip",n="."+o,e=r.fn[t],s="bs-tooltip",a=new RegExp("(^|\\s)"+s+"\\S+","g"),l={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},c={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},u={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"},d="show",h="out",f={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},p="fade",m="show",g=".tooltip-inner",_=".arrow",v="hover",y="focus",b="click",w="manual",i=function(){function i(e,t){if(void 0===he)throw new TypeError("Bootstrap tooltips require Popper.js (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 e=i.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(e){var t,n;this._isEnabled&&(e?(t=this.constructor.DATA_KEY,(n=r(e.currentTarget).data(t))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),r(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):r(this.getTipElement()).hasClass(m)?this._leave(null,this):this._enter(null,this))},e.dispose=function(){clearTimeout(this._timeout),r.removeData(this.element,this.constructor.DATA_KEY),r(this.element).off(this.constructor.EVENT_KEY),r(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&r(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},e.show=function(){var t=this;if("none"===r(this.element).css("display"))throw new Error("Please use show on visible elements");var e,n,i=r.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(r(this.element).trigger(i),e=r.contains(this.element.ownerDocument.documentElement,this.element),!i.isDefaultPrevented()&&e&&(n=this.getTipElement(),i=O.getUID(this.constructor.NAME),n.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.config.animation&&r(n).addClass(p),e="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,i=this._getAttachment(e),this.addAttachmentClass(i),e=!1===this.config.container?document.body:r(document).find(this.config.container),r(n).data(this.constructor.DATA_KEY,this),r.contains(this.element.ownerDocument.documentElement,this.tip)||r(n).appendTo(e),r(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new he(this.element,n,{placement:i,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:_},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),r(n).addClass(m),"ontouchstart"in document.documentElement&&r(document.body).children().on("mouseover",null,r.noop),i=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,r(t.element).trigger(t.constructor.Event.SHOWN),e===h&&t._leave(null,t)},r(this.tip).hasClass(p)?(n=O.getTransitionDurationFromElement(this.tip),r(this.tip).one(O.TRANSITION_END,i).emulateTransitionEnd(n)):i()))},e.hide=function(e){function t(){n._hoverState!==d&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),r(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var n=this,i=this.getTipElement(),o=r.Event(this.constructor.Event.HIDE);r(this.element).trigger(o),o.isDefaultPrevented()||(r(i).removeClass(m),"ontouchstart"in document.documentElement&&r(document.body).children().off("mouseover",null,r.noop),this._activeTrigger[b]=!1,this._activeTrigger[y]=!1,this._activeTrigger[v]=!1,r(this.tip).hasClass(p)?(o=O.getTransitionDurationFromElement(i),r(i).one(O.TRANSITION_END,t).emulateTransitionEnd(o)):t(),this._hoverState="")},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){r(this.getTipElement()).addClass(s+"-"+e)},e.getTipElement=function(){return this.tip=this.tip||r(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(r(e.querySelectorAll(g)),this.getTitle()),r(e).removeClass(p+" "+m)},e.setElementContent=function(e,t){var n=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?n?r(t).parent().is(e)||e.empty().append(t):e.text(r(t).text()):e[n?"html":"text"](t)},e.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},e._getAttachment=function(e){return c[e.toUpperCase()]},e._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(e){var t;"click"===e?r(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)}):e!==w&&(t=e===v?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,e=e===v?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,r(n.element).on(t,n.config.selector,function(e){return n._enter(e)}).on(e,n.config.selector,function(e){return n._leave(e)})),r(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})}),this.config.selector?this.config=A({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||r(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),r(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?y:v]=!0),r(t.getTipElement()).hasClass(m)||t._hoverState===d?t._hoverState=d:(clearTimeout(t._timeout),t._hoverState=d,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===d&&t.show()},t.config.delay.show):t.show())},e._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||r(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),r(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?y:v]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=h,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===h&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){return"number"==typeof(e=A({},this.constructor.Default,r(this.element).data(),"object"==typeof e&&e?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()),O.typeCheckConfig(t,e,this.constructor.DefaultType),e},e._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},e._cleanTipClass=function(){var e=r(this.getTipElement()),t=e.attr("class").match(a);null!==t&&t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(r(e).removeClass(p),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},i._jQueryInterface=function(n){return this.each(function(){var e=r(this).data(o),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new i(this,t),r(this).data(o,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},I(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return u}},{key:"NAME",get:function(){return t}},{key:"DATA_KEY",get:function(){return o}},{key:"Event",get:function(){return f}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return l}}]),i}();return r.fn[t]=i._jQueryInterface,r.fn[t].Constructor=i,r.fn[t].noConflict=function(){return r.fn[t]=e,i._jQueryInterface},i}(t),j=function(o){var r="popover",s="bs.popover",a="."+s,e=o.fn[r],l="bs-popover",c=new RegExp("(^|\\s)"+l+"\\S+","g"),u=A({},ge.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>'}),d=A({},ge.DefaultType,{content:"(string|element|function)"}),h="fade",f="show",p=".popover-header",m=".popover-body",g={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},t=function(e){var t;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),(t.prototype.constructor=t).__proto__=n;var n=i.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(e){o(this.getTipElement()).addClass(l+"-"+e)},n.getTipElement=function(){return this.tip=this.tip||o(this.config.template)[0],this.tip},n.setContent=function(){var e=o(this.getTipElement());this.setElementContent(e.find(p),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(m),t),e.removeClass(h+" "+f)},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var e=o(this.getTipElement()),t=e.attr("class").match(c);null!==t&&0<t.length&&e.removeClass(t.join(""))},i._jQueryInterface=function(n){return this.each(function(){var e=o(this).data(s),t="object"==typeof n?n:null;if((e||!/destroy|hide/.test(n))&&(e||(e=new i(this,t),o(this).data(s,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},I(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return u}},{key:"NAME",get:function(){return r}},{key:"DATA_KEY",get:function(){return s}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return d}}]),i}(ge);return o.fn[r]=t._jQueryInterface,o.fn[r].Constructor=t,o.fn[r].noConflict=function(){return o.fn[r]=e,t._jQueryInterface},t}(t),oe=function(r){var i="scrollspy",o="bs.scrollspy",t="."+o,e=r.fn[i],s={offset:10,method:"auto",target:""},a={offset:"number",method:"string",target:"(string|element)"},l={ACTIVATE:"activate"+t,SCROLL:"scroll"+t,LOAD_DATA_API:"load"+t+".data-api"},c="dropdown-item",u="active",d='[data-spy="scroll"]',h=".active",f=".nav, .list-group",p=".nav-link",m=".nav-item",g=".list-group-item",_=".dropdown",v=".dropdown-item",y=".dropdown-toggle",b="offset",w="position",E=function(){function n(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+" "+p+","+this._config.target+" "+g+","+this._config.target+" "+v,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,r(this._scrollElement).on(l.SCROLL,function(e){return n._process(e)}),this.refresh(),this._process()}var e=n.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?b:w,i="auto"===this._config.method?e:this._config.method,o=i===w?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,n=O.getSelectorFromElement(e);if(n&&(t=document.querySelector(n)),t){e=t.getBoundingClientRect();if(e.width||e.height)return[r(t)[i]().top+o,n]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){r.removeData(this._element,o),r(this._scrollElement).off(t),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(e){var t;return"string"!=typeof(e=A({},s,"object"==typeof e&&e?e:{})).target&&((t=r(e.target).attr("id"))||(t=O.getUID(i),r(e.target).attr("id",t)),e.target="#"+t),O.typeCheckConfig(i,e,a),e},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e){n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e<this._offsets[i+1])&&this._activate(this._targets[i])}},e._activate=function(t){this._activeTarget=t,this._clear();var e=(e=this._selector.split(",")).map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),e=r([].slice.call(document.querySelectorAll(e.join(","))));e.hasClass(c)?(e.closest(_).find(y).addClass(u),e.addClass(u)):(e.addClass(u),e.parents(f).prev(p+", "+g).addClass(u),e.parents(f).prev(m).children(p).addClass(u)),r(this._scrollElement).trigger(l.ACTIVATE,{relatedTarget:t})},e._clear=function(){var e=[].slice.call(document.querySelectorAll(this._selector));r(e).filter(h).removeClass(u)},n._jQueryInterface=function(t){return this.each(function(){var e=r(this).data(o);if(e||(e=new n(this,"object"==typeof t&&t),r(this).data(o,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},I(n,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return s}}]),n}();return r(window).on(l.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(d)),t=e.length;t--;){var n=r(e[t]);E._jQueryInterface.call(n,n.data())}}),r.fn[i]=E._jQueryInterface,r.fn[i].Constructor=E,r.fn[i].noConflict=function(){return r.fn[i]=e,E._jQueryInterface},E}(t),de=function(a){var o="bs.tab",e="."+o,t=a.fn.tab,l={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK_DATA_API:"click"+e+".data-api"},r="dropdown-menu",c="active",u="disabled",s="fade",d="show",h=".dropdown",f=".nav, .list-group",p=".active",m="> li > .active",e='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',g=".dropdown-toggle",_="> .dropdown-menu .active",n=function(){function i(e){this._element=e}var e=i.prototype;return e.show=function(){var e,t,n,i,o,r,s=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&a(this._element).hasClass(c)||a(this._element).hasClass(u)||(r=a(this._element).closest(f)[0],t=O.getSelectorFromElement(this._element),r&&(o="UL"===r.nodeName?m:p,n=(n=a.makeArray(a(r).find(o)))[n.length-1]),i=a.Event(l.HIDE,{relatedTarget:this._element}),o=a.Event(l.SHOW,{relatedTarget:n}),n&&a(n).trigger(i),a(this._element).trigger(o),o.isDefaultPrevented()||i.isDefaultPrevented()||(t&&(e=document.querySelector(t)),this._activate(this._element,r),r=function(){var e=a.Event(l.HIDDEN,{relatedTarget:s._element}),t=a.Event(l.SHOWN,{relatedTarget:n});a(n).trigger(e),a(s._element).trigger(t)},e?this._activate(e,e.parentNode,r):r()))},e.dispose=function(){a.removeData(this._element,o),this._element=null},e._activate=function(e,t,n){var i=this,o="UL"===t.nodeName?a(t).find(m):a(t).children(p),r=o[0],t=n&&r&&a(r).hasClass(s),o=function(){return i._transitionComplete(e,r,n)};r&&t?(t=O.getTransitionDurationFromElement(r),a(r).one(O.TRANSITION_END,o).emulateTransitionEnd(t)):o()},e._transitionComplete=function(e,t,n){var i;t&&(a(t).removeClass(d+" "+c),(i=a(t.parentNode).find(_)[0])&&a(i).removeClass(c),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)),a(e).addClass(c),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),O.reflow(e),a(e).addClass(d),e.parentNode&&a(e.parentNode).hasClass(r)&&((t=a(e).closest(h)[0])&&(t=[].slice.call(t.querySelectorAll(g)),a(t).addClass(c)),e.setAttribute("aria-expanded",!0)),n&&n()},i._jQueryInterface=function(n){return this.each(function(){var e=a(this),t=e.data(o);if(t||(t=new i(this),e.data(o,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},I(i,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),i}();return a(document).on(l.CLICK_DATA_API,e,function(e){e.preventDefault(),n._jQueryInterface.call(a(this),"show")}),a.fn.tab=n._jQueryInterface,a.fn.tab.Constructor=n,a.fn.tab.noConflict=function(){return a.fn.tab=t,n._jQueryInterface},n}(t);!function(e){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");if((e=e.fn.jquery.split(" ")[0].split("."))[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),e.Util=O,e.Alert=s,e.Button=l,e.Carousel=c,e.Collapse=u,e.Dropdown=pe,e.Modal=me,e.Popover=j,e.Scrollspy=oe,e.Tab=de,e.Tooltip=ge,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(e.material={},e.jQuery)}(this,function(e,i){"use strict";i=i&&i.hasOwnProperty("default")?i.default:i;n="show-predecessor",o=".expansion-panel",ee=".expansion-panel .collapse",(t=i)(document).on("hide.bs.collapse",ee,function(){var e=t(this).closest(o);e.removeClass("show");e=e.prev(o);e.length&&e.removeClass(n)}).on("show.bs.collapse",ee,function(){var e=t(this).closest(o);e.addClass("show");e=e.prev(o);e.length&&e.addClass(n)});var t,n,o,r,s,a,l,c,u,d,h,f=(A="."+(s="md.floatinglabel"),a="floatinglabel",l=(r=i).fn[a],c="is-focused",u="has-value",d={DATA_PARENT:".floating-label",DATA_TOGGLE:".floating-label .custom-select, .floating-label .form-control"},(X=p.prototype).change=function(){r(this._element).val()||r(this._element).is("select")&&""!==r("option:first-child",r(this._element)).html().replace(" ","")?r(this._parent).addClass(u):r(this._parent).removeClass(u)},X.focusin=function(){r(this._parent).addClass(c)},X.focusout=function(){r(this._parent).removeClass(c)},p._jQueryInterface=function(n){return this.each(function(){var e=n||"change",t=r(this).data(s);if(t||(t=new p(this),r(this).data(s,t)),"string"==typeof e){if(void 0===t[e])throw new Error('No method named "'+e+'"');t[e]()}})},h=p,r(document).on("change.md.floatinglabel focusin.md.floatinglabel focusout.md.floatinglabel",d.DATA_TOGGLE,function(e){h._jQueryInterface.call(r(this),e.type)}),r.fn[a]=h._jQueryInterface,r.fn[a].Constructor=h,r.fn[a].noConflict=function(){return r.fn[a]=l,h._jQueryInterface},h);function p(e){this._element=e,this._parent=r(e).closest(d.DATA_PARENT)[0]}function m(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function g(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{},t=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),t.forEach(function(e){var t,n=i,e=o[t=e];t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e})}return i}var _,v,y,b,w,E,S,C,k,T,D,I,A,O,N,x,P=(N="transitionend",x={TRANSITION_END:"mdTransitionEnd",getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=e.getAttribute("href")||"");try{return 0<O(document).find(t).length?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;e=O(e).css("transition-duration");return e?(e=e.split(",")[0],1e3*parseFloat(e)):0},getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},isElement:function(e){return(e[0]||e).nodeType},reflow:function(e){return e.offsetHeight},supportsTransitionEnd:function(){return Boolean(N)},triggerTransitionEnd:function(e){O(e).trigger(N)},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=t[i],r=r&&x.isElement(r)?"element":{}.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(r))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+r+'" but expected type "'+o+'".')}}},(O=i).fn.emulateTransitionEnd=function(e){var t=this,n=!1;return O(this).one(x.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||x.triggerTransitionEnd(t)},e),this},O.event.special[x.TRANSITION_END]={bindType:N,delegateType:N,handle:function(e){if(O(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},x),A=(ee="."+(v="md.navdrawer"),y="navdrawer",b=(_=i).fn[y],w="navdrawer-backdrop",E="navdrawer-open",C={breakpoint:"",keyboard:!0,show:!0,type:"default"},k={keyboard:"boolean",show:"boolean",type:"string"},T={CLICK_DATA_API:"click"+ee+".data-api",CLICK_DISMISS:"click.dismiss"+ee,FOCUSIN:"focusin"+ee,HIDDEN:"hidden"+ee,HIDE:"hide"+ee,KEYDOWN_DISMISS:"keydown.dismiss"+ee,MOUSEDOWN_DISMISS:"mousedown.dismiss"+ee,MOUSEUP_DISMISS:"mouseup.dismiss"+ee,SHOW:(S="show")+ee,SHOWN:"shown"+ee},D={CONTENT:".navdrawer-content",DATA_DISMISS:'[data-dismiss="navdrawer"]',DATA_TOGGLE:'[data-toggle="navdrawer"]'},(A=j.prototype).hide=function(e){var t=this;e&&e.preventDefault(),!this._isTransitioning&&this._isShown&&(e=_.Event(T.HIDE),_(this._element).trigger(e),this._isShown&&!e.isDefaultPrevented()&&(this._isShown=!1,this._isTransitioning=!0,this._setEscapeEvent(),_(document).off(T.FOCUSIN),_(document.body).removeClass(E+"-"+this._config.type+this._typeBreakpoint),_(this._element).removeClass(S),_(this._element).off(T.CLICK_DISMISS),_(this._content).off(T.MOUSEDOWN_DISMISS),e=P.getTransitionDurationFromElement(this._content),_(this._content).one(P.TRANSITION_END,function(e){return t._hideNavdrawer(e)}).emulateTransitionEnd(e),this._showBackdrop()))},A.show=function(e){var t,n=this;this._isTransitioning||this._isShown||(this._isTransitioning=!0,t=_.Event(T.SHOW,{relatedTarget:e}),_(this._element).trigger(t),this._isShown||t.isDefaultPrevented()||(this._isShown=!0,this._setEscapeEvent(),_(this._element).addClass(y+"-"+this._config.type+this._typeBreakpoint),_(this._element).on(T.CLICK_DISMISS,D.DATA_DISMISS,function(e){return n.hide(e)}),_(this._content).on(T.MOUSEDOWN_DISMISS,function(){_(n._element).one(T.MOUSEUP_DISMISS,function(e){_(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(),this._showElement(e)))},A.toggle=function(e){return this._isShown?this.hide():this.show(e)},A._enforceFocus=function(){var t=this;_(document).off(T.FOCUSIN).on(T.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===_(t._element).has(e.target).length&&t._element.focus()})},A._getConfig=function(e){return e=g({},C,e),P.typeCheckConfig(y,e,k),e},A._hideNavdrawer=function(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,_(this._element).trigger(T.HIDDEN)},A._removeBackdrop=function(){this._backdrop&&(_(this._backdrop).remove(),this._backdrop=null)},A._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?_(this._element).on(T.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||_(this._element).off(T.KEYDOWN_DISMISS)},A._showBackdrop=function(){var t=this;this._isShown?(this._backdrop=document.createElement("div"),_(this._backdrop).addClass(w).addClass(w+"-"+this._config.type+this._typeBreakpoint).appendTo(document.body),_(this._element).on(T.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&t.hide()}),P.reflow(this._backdrop),_(this._backdrop).addClass(S)):!this._isShown&&this._backdrop&&(_(this._backdrop).removeClass(S),this._removeBackdrop())},A._showElement=function(e){var t=this;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"),P.reflow(this._element),_(document.body).addClass(E+"-"+this._config.type+this._typeBreakpoint),_(this._element).addClass(S),this._enforceFocus();var n=_.Event(T.SHOWN,{relatedTarget:e}),e=P.getTransitionDurationFromElement(this._content);_(this._content).one(P.TRANSITION_END,function(){t._element.focus(),t._isTransitioning=!1,_(t._element).trigger(n)}).emulateTransitionEnd(e)},j._jQueryInterface=function(n,i){return this.each(function(){var e=g({},C,_(this).data(),"object"==typeof n&&n?n:{}),t=_(this).data(v);if(t||(t=new j(this,e),_(this).data(v,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},X=j,ee=[{key:"Default",get:function(){return C}}],(A=null)&&m(X.prototype,A),m(X,ee),I=j,_(document).on(T.CLICK_DATA_API,D.DATA_TOGGLE,function(e){var t,n=this,i=P.getSelectorFromElement(this);i&&(t=_(i)[0]);i=_(t).data(v)?"toggle":g({},_(t).data(),_(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var o=_(t).one(T.SHOW,function(e){e.isDefaultPrevented()||o.one(T.HIDDEN,function(){_(n).is(":visible")&&n.focus()})});I._jQueryInterface.call(_(t),i,this)}),_.fn[y]=I._jQueryInterface,_.fn[y].Constructor=I,_.fn[y].noConflict=function(){return _.fn[y]=b,I._jQueryInterface},I);function j(e,t){this._backdrop=null,this._config=this._getConfig(t),this._content=_(e).find(D.CONTENT)[0],this._element=e,this._ignoreBackdropClick=!1,this._isShown=!1,this._typeBreakpoint=""===this._config.breakpoint?"":"-"+this._config.breakpoint}function M(e,t){return e(t={exports:{}},t.exports),t.exports}var L,F,H,R,W,U,B,Q,q,$,K,Y,V,J,z,G,Z,X=M(function(e,t){var n=function(m){var i=m(window),n=m(document),g=m(document.documentElement),_=null!=document.documentElement.style.transition;function v(i,o,r,e){if(!i)return v;var s=!1,a={id:i.id||"P"+Math.abs(~~(Math.random()*new Date))},l=r?m.extend(!0,{},r.defaults,e):e||{},c=m.extend({},v.klasses(),l.klass),u=m(i),e=function(){return this.start()},d=e.prototype={constructor:e,$node:u,start:function(){return a&&a.start?d:(a.methods={},a.start=!0,a.open=!1,a.type=i.type,i.autofocus=i==w(),i.readOnly=!l.editable,i.id=i.id||a.id,"text"!=i.type&&(i.type="text"),d.component=new r(d,l),d.$root=m('<div class="'+c.picker+'" id="'+i.id+'_root" />'),b(d.$root[0],"hidden",!0),d.$holder=m(h()).appendTo(d.$root),f(),l.formatSubmit&&(!0===l.hiddenName?(n=i.name,i.name=""):n=(n=["string"==typeof l.hiddenPrefix?l.hiddenPrefix:"","string"==typeof l.hiddenSuffix?l.hiddenSuffix:"_submit"])[0]+i.name+n[1],d._hidden=m('<input type=hidden name="'+n+'"'+(u.data("value")||i.value?' value="'+d.get("select",l.formatSubmit)+'"':"")+">")[0],u.on("change."+a.id,function(){d._hidden.value=i.value?d.get("select",l.formatSubmit):""})),u.data(o,d).addClass(c.input).val(u.data("value")?d.get("select",l.format):i.value),l.editable||u.on("focus."+a.id+" click."+a.id,function(e){e.preventDefault(),d.open()}).on("keydown."+a.id,p),b(i,{haspopup:!0,expanded:!1,readonly:!1,owns:i.id+"_root"}),l.containerHidden?m(l.containerHidden).append(d._hidden):u.after(d._hidden),l.container?m(l.container).append(d.$root):u.after(d.$root),d.on({start:d.component.onStart,render:d.component.onRender,stop:d.component.onStop,open:d.component.onOpen,close:d.component.onClose,set:d.component.onSet}).on({start:l.onStart,render:l.onRender,stop:l.onStop,open:l.onOpen,close:l.onClose,set:l.onSet}),e=d.$holder[0],n="position",e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]),s="fixed"==t,i.autofocus&&d.open(),d.trigger("start").trigger("render"));var e,t,n},render:function(e){return e?(d.$holder=m(h()),f(),d.$root.html(d.$holder)):d.$root.find("."+c.box).html(d.component.nodes(a.open)),d.trigger("render")},stop:function(){return a.start&&(d.close(),d._hidden&&d._hidden.parentNode.removeChild(d._hidden),d.$root.remove(),u.removeClass(c.input).removeData(o),setTimeout(function(){u.off("."+a.id)},0),i.type=a.type,i.readOnly=!1,d.trigger("stop"),a.methods={},a.start=!1),d},open:function(e){return a.open?d:(u.addClass(c.active),b(i,"expanded",!0),setTimeout(function(){d.$root.addClass(c.opened),b(d.$root[0],"hidden",!1)},0),!1!==e&&(a.open=!0,s&&g.css("overflow","hidden").css("padding-right","+="+y()),s&&_?d.$holder.find("."+c.frame).one("transitionend",function(){d.$holder[0].focus()}):d.$holder[0].focus(),n.on("click."+a.id+" focusin."+a.id,function(e){var t=e.target;t!=i&&t!=document&&3!=e.which&&d.close(t===d.$holder[0])}).on("keydown."+a.id,function(e){var t=e.keyCode,n=d.component.key[t],i=e.target;27==t?d.close(!0):i!=d.$holder[0]||!n&&13!=t?m.contains(d.$root[0],i)&&13==t&&(e.preventDefault(),i.click()):(e.preventDefault(),n?v._.trigger(d.component.key.go,d,[v._.trigger(n)]):d.$root.find("."+c.highlighted).hasClass(c.disabled)||(d.set("select",d.component.item.highlight),l.closeOnSelect&&d.close(!0)))})),d.trigger("open"))},close:function(e){return e&&(l.editable?i.focus():(d.$holder.off("focus.toOpen").focus(),setTimeout(function(){d.$holder.on("focus.toOpen",t)},0))),u.removeClass(c.active),b(i,"expanded",!1),setTimeout(function(){d.$root.removeClass(c.opened+" "+c.focused),b(d.$root[0],"hidden",!0)},0),a.open?(a.open=!1,s&&g.css("overflow","").css("padding-right","-="+y()),n.off("."+a.id),d.trigger("close")):d},clear:function(e){return d.set("clear",null,e)},set:function(e,t,n){var i,o,r=m.isPlainObject(e),s=r?e:{};if(n=r&&m.isPlainObject(t)?t:n||{},e){for(i in r||(s[e]=t),s)o=s[i],i in d.component.item&&(void 0===o&&(o=null),d.component.set(i,o,n)),"select"!=i&&"clear"!=i||u.val("clear"==i?"":d.get(i,l.format)).trigger("change");d.render()}return n.muted?d:d.trigger("set",s)},get:function(e,t){if(null!=a[e=e||"value"])return a[e];if("valueSubmit"==e){if(d._hidden)return d._hidden.value;e="value"}if("value"==e)return i.value;if(e in d.component.item){if("string"!=typeof t)return d.component.get(e);e=d.component.get(e);return e?v._.trigger(d.component.formats.toString,d.component,[t,e]):""}},on:function(e,t,n){var i,o,r=m.isPlainObject(e),s=r?e:{};if(e)for(i in r||(s[e]=t),s)o=s[i],n&&(i="_"+i),a.methods[i]=a.methods[i]||[],a.methods[i].push(o);return d},off:function(){var e,t=arguments,n=0;for(namesCount=t.length;n<namesCount;n+=1)(e=t[n])in a.methods&&delete a.methods[e];return d},trigger:function(e,t){function n(e){(e=a.methods[e])&&e.map(function(e){v._.trigger(e,d,[t])})}return n("_"+e),n(e),d}};function h(){return v._.node("div",v._.node("div",v._.node("div",v._.node("div",d.component.nodes(a.open),c.box),c.wrap),c.frame),c.holder,'tabindex="-1"')}function f(){d.$holder.on({keydown:p,"focus.toOpen":t,blur:function(){u.removeClass(c.target)},focusin:function(e){d.$root.removeClass(c.focused),e.stopPropagation()},"mousedown click":function(e){var t=e.target;t!=d.$holder[0]&&(e.stopPropagation(),"mousedown"!=e.type||m(t).is("input, select, textarea, button, option")||(e.preventDefault(),d.$holder[0].focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=m(this),t=e.data(),n=e.hasClass(c.navDisabled)||e.hasClass(c.disabled),e=(e=w())&&(e.type||e.href);(n||e&&!m.contains(d.$root[0],e))&&d.$holder[0].focus(),!n&&t.nav?d.set("highlight",d.component.item.highlight,{nav:t.nav}):!n&&"pick"in t?(d.set("select",t.pick),l.closeOnSelect&&d.close(!0)):t.clear?(d.clear(),l.closeOnClear&&d.close(!0)):t.close&&d.close(!0)})}function t(e){e.stopPropagation(),u.addClass(c.target),d.$root.addClass(c.focused),d.open()}function p(e){var t=e.keyCode,n=/^(8|46)$/.test(t);if(27==t)return d.close(!0),!1;(32==t||n||!a.open&&d.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?d.clear().close():d.open())}return new e}function y(){if(g.height()<=i.height())return 0;var e=m('<div style="visibility:hidden;width:100px" />').appendTo("body"),t=e[0].offsetWidth;e.css("overflow","scroll");var n=m('<div style="width:100%" />').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function b(e,t,n){if(m.isPlainObject(t))for(var i in t)o(e,i,t[i]);else o(e,t,n)}function o(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function w(){try{return document.activeElement}catch(e){}}return v.klasses=function(e){return{picker:e=e||"picker",opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",target:e+"__input--target",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},v._={group:function(e){for(var t,n="",i=v._.trigger(e.min,e);i<=v._.trigger(e.max,e,[i]);i+=e.i)t=v._.trigger(e.item,e,[i]),n+=v._.node(e.node,t[0],t[1],t[2]);return n},node:function(e,t,n,i){return t?"<"+e+(n=n?' class="'+n+'"':"")+(i=i?" "+i:"")+">"+(t=m.isArray(t)?t.join(""):t)+"</"+e+">":""},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return-1<{}.toString.call(e).indexOf("Date")&&this.isInteger(e.getDate())},isInteger:function(e){return-1<{}.toString.call(e).indexOf("Number")&&e%1==0},ariaAttr:function(e,t){for(var n in m.isPlainObject(e)||(e={attribute:t}),t="",e){var i=("role"==n?"":"aria-")+n;t+=null==e[n]?"":i+'="'+e[n]+'"'}return t}},v.extend=function(i,o){m.fn[i]=function(e,t){var n=this.data(i);return"picker"==e?n:n&&"string"==typeof e?v._.trigger(n[e],n,[t]):this.each(function(){m(this).data(i)||new v(this,i,o,e)})},m.fn[i].defaults=o.defaults},v};e.exports=n(i)}),ee=Object.freeze({default:X,__moduleExports:X}),te=ee&&X||ee,X=(M(function(e,t){var n=function(e,p){var t,g=e._;function n(t,n){function e(){return o.currentStyle?"rtl"==o.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction}var i=this,o=t.$node[0],r=o.value,s=t.$node.data("value"),a=s||r,r=s?n.formatSubmit:n.format;i.settings=n,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(n.disable||[]).slice(0),i.item.enable=-(!0===(s=i.item.disable)[0]?s.shift():-1),i.set("min",n.min).set("max",n.max).set("now"),a?i.set("select",a,{format:r,defaultValue:!0}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return e()?-1:1},37:function(){return e()?1:-1},go:function(e){var t=i.item.highlight,t=new Date(t.year,t.month,t.date+e);i.set("highlight",t,{interval:e}),this.render()}},t.on("render",function(){t.$root.find("."+n.klass.selectMonth).on("change",function(){var e=this.value;e&&(t.set("highlight",[t.get("view").year,e,t.get("highlight").date]),t.$root.find("."+n.klass.selectMonth).trigger("focus"))}),t.$root.find("."+n.klass.selectYear).on("change",function(){var e=this.value;e&&(t.set("highlight",[e,t.get("view").month,t.get("highlight").date]),t.$root.find("."+n.klass.selectYear).trigger("focus"))})},1).on("open",function(){var e="";i.disabled(i.get("now"))&&(e=":not(."+n.klass.buttonToday+")"),t.$root.find("button"+e+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}function i(e,t,n){e=e.match(/[^\x00-\x7F]+|\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(e)+1),e.length}function o(e){return e.match(/\w+/)[0].length}n.prototype.set=function(t,n,i){var o=this,e=o.item;return null===n?("clear"==t&&(t="select"),e[t]=n):(e["enable"==t?"disable":"flip"==t?"enable":t]=o.queue[t].split(" ").map(function(e){return n=o[e](t,n,i)}).pop(),"select"==t?o.set("highlight",e.select,i):"highlight"==t?o.set("view",e.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(e.select&&o.disabled(e.select)&&o.set("select",e.select,i),e.highlight&&o.disabled(e.highlight)&&o.set("highlight",e.highlight,i))),o},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,t,n){var i;return(t=void 0===t?e:t)==-1/0||t==1/0?i=t:t=p.isPlainObject(t)&&g.isInteger(t.pick)?t.obj:p.isArray(t)?(t=new Date(t[0],t[1],t[2]),g.isDate(t)?t:this.create().obj):g.isInteger(t)||g.isDate(t)?this.normalize(new Date(t),n):this.now(e,t,n),{year:i||t.getFullYear(),month:i||t.getMonth(),date:i||t.getDate(),day:i||t.getDay(),obj:i||t,pick:i||t.getTime()}},n.prototype.createRange=function(e,t){function n(e){return!0===e||p.isArray(e)||g.isDate(e)?i.create(e):e}var i=this;return g.isInteger(e)||(e=n(e)),g.isInteger(t)||(t=n(t)),g.isInteger(e)&&p.isPlainObject(t)?e=[t.year,t.month,t.date+e]:g.isInteger(t)&&p.isPlainObject(e)&&(t=[e.year,e.month,e.date+t]),{from:n(e),to:n(t)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},n.prototype.navigate=function(e,t,n){var i,o,r,s=p.isArray(t),a=p.isPlainObject(t),l=this.item.view;if(s||a){for(r=a?(i=t.year,o=t.month,t.date):(i=+t[0],o=+t[1],+t[2]),n&&n.nav&&l&&l.month!==o&&(i=l.year,o=l.month),i=(n=new Date(i,o+(n&&n.nav?n.nav:0),1)).getFullYear(),o=n.getMonth();new Date(i,o,r).getMonth()!==o;)--r;t=[i,o,r]}return t},n.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},n.prototype.measure=function(e,t){return t?"string"==typeof t?t=this.parse(e,t):g.isInteger(t)&&(t=this.now(e,t,{rel:t})):t="min"==e?-1/0:1/0,t},n.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},n.prototype.validate=function(e,n,t){var i,o,r,s,a=this,l=n,c=t&&t.interval?t.interval:1,u=-1===a.item.enable,d=a.item.min,h=a.item.max,f=u&&a.item.disable.filter(function(e){var t;return p.isArray(e)&&((t=a.create(e).pick)<n.pick?i=!0:t>n.pick&&(o=!0)),g.isInteger(e)}).length;if((!t||!t.nav&&!t.defaultValue)&&(!u&&a.disabled(n)||u&&a.disabled(n)&&(f||i||o)||!u&&(n.pick<=d.pick||n.pick>=h.pick)))for(u&&!f&&(!o&&0<c||!i&&c<0)&&(c*=-1);a.disabled(n)&&(1<Math.abs(c)&&(n.month<l.month||n.month>l.month)&&(n=l,c=0<c?1:-1),n.pick<=d.pick?(r=!0,c=1,n=a.create([d.year,d.month,d.date+(n.pick===d.pick?0:-1)])):n.pick>=h.pick&&(s=!0,c=-1,n=a.create([h.year,h.month,h.date+(n.pick===h.pick?0:1)])),!r||!s);)n=a.create([n.year,n.month,n.date+c]);return n},n.prototype.disabled=function(t){var n=this,e=(e=n.item.disable.filter(function(e){return g.isInteger(e)?t.day===(n.settings.firstDay?e:e-1)%7:p.isArray(e)||g.isDate(e)?t.pick===n.create(e).pick:p.isPlainObject(e)?n.withinRange(e,t):void 0})).length&&!e.filter(function(e){return p.isArray(e)&&"inverted"==e[3]||p.isPlainObject(e)&&e.inverted}).length;return-1===n.item.enable?!e:e||t.pick<n.item.min.pick||t.pick>n.item.max.pick},n.prototype.parse=function(e,i,t){var o=this,r={};return i&&"string"==typeof i?(t&&t.format||((t=t||{}).format=o.settings.format),o.formats.toArray(t.format).map(function(e){var t=o.formats[e],n=t?g.trigger(t,o,[i,r]):e.replace(/^!/,"").length;t&&(r[e]=i.substr(0,n)),i=i.substr(n)}),[r.yyyy||r.yy,+(r.mm||r.m)-1,r.dd||r.d]):i},n.prototype.formats={d:function(e,t){return e?g.digits(e):t.date},dd:function(e,t){return e?2:g.lead(t.date)},ddd:function(e,t){return e?o(e):this.settings.weekdaysShort[t.day]},dddd:function(e,t){return e?o(e):this.settings.weekdaysFull[t.day]},m:function(e,t){return e?g.digits(e):t.month+1},mm:function(e,t){return e?2:g.lead(t.month+1)},mmm:function(e,t){var n=this.settings.monthsShort;return e?i(e,n,t):n[t.month]},mmmm:function(e,t){var n=this.settings.monthsFull;return e?i(e,n,t):n[t.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return g.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}},n.prototype.isDateExact=function(e,t){return g.isInteger(e)&&g.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(g.isDate(e)||p.isArray(e))&&(g.isDate(t)||p.isArray(t))?this.create(e).pick===this.create(t).pick:!(!p.isPlainObject(e)||!p.isPlainObject(t))&&this.isDateExact(e.from,t.from)&&this.isDateExact(e.to,t.to)},n.prototype.isDateOverlap=function(e,t){var n=this.settings.firstDay?1:0;return g.isInteger(e)&&(g.isDate(t)||p.isArray(t))?(e=e%7+n)===this.create(t).day+1:g.isInteger(t)&&(g.isDate(e)||p.isArray(e))?(t=t%7+n)===this.create(e).day+1:!(!p.isPlainObject(e)||!p.isPlainObject(t))&&this.overlapRanges(e,t)},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,t){var i=this,o=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),o=[]):!0===t?(i.flipEnable(-1),o=[]):t.map(function(e){for(var t,n=0;n<o.length;n+=1)if(i.isDateExact(e,o[n])){t=!0;break}t||(g.isInteger(e)||g.isDate(e)||p.isArray(e)||p.isPlainObject(e)&&e.from&&e.to)&&o.push(e)}),o},n.prototype.activate=function(e,t){var r=this,s=r.item.disable,a=s.length;return"flip"==t?r.flipEnable():!0===t?(r.flipEnable(1),s=[]):!1===t?(r.flipEnable(-1),s=[]):t.map(function(e){for(var t,n,i,o=0;o<a;o+=1){if(n=s[o],r.isDateExact(n,e)){i=!(t=s[o]=null);break}if(r.isDateOverlap(n,e)){p.isPlainObject(e)?(e.inverted=!0,t=e):p.isArray(e)?(t=e)[3]||t.push("inverted"):g.isDate(e)&&(t=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(t)for(o=0;o<a;o+=1)if(r.isDateExact(s[o],e)){s[o]=null;break}if(i)for(o=0;o<a;o+=1)if(r.isDateOverlap(s[o],e)){s[o]=null;break}t&&s.push(t)}),s.filter(function(e){return null!=e})},n.prototype.nodes=function(s){function e(e){return g.node("div"," ",l.klass["nav"+(e?"Next":"Prev")]+(e&&h.year>=m.year&&h.month>=m.month||!e&&h.year<=p.year&&h.month<=p.month?" "+l.klass.navDisabled:""),"data-nav="+(e||-1)+" "+g.ariaAttr({role:"button",controls:a.$node[0].id+"_table"})+' title="'+(e?l.labelMonthNext:l.labelMonthPrev)+'"')}function t(){var t=l.showMonthsShort?l.monthsShort:l.monthsFull;return l.selectMonths?g.node("select",g.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(h.month==e?" selected":"")+(h.year==p.year&&e<p.month||h.year==m.year&&e>m.month?" disabled":"")]}}),l.klass.selectMonth,(s?"":"disabled")+" "+g.ariaAttr({controls:a.$node[0].id+"_table"})+' title="'+l.labelMonthSelect+'"'):g.node("div",t[h.month],l.klass.month)}var n,i,a=this,l=a.settings,o=a.item,c=o.now,u=o.select,d=o.highlight,h=o.view,f=o.disable,p=o.min,m=o.max,r=(n=(l.showWeekdaysFull?l.weekdaysFull:l.weekdaysShort).slice(0),i=l.weekdaysFull.slice(0),l.firstDay&&(n.push(n.shift()),i.push(i.shift())),g.node("thead",g.node("tr",g.group({min:0,max:6,i:1,node:"th",item:function(e){return[n[e],l.klass.weekdays,'scope=col title="'+i[e]+'"']}})))),o=function(){var t=h.year,e=!0===l.selectYears?5:~~(l.selectYears/2);if(e){var n=p.year,i=m.year,o=t-e,r=t+e;return o<n&&(r+=n-o,o=n),i<r&&(o-=(e=r-i)<(n=o-n)?e:n,r=i),g.node("select",g.group({min:o,max:r,i:1,node:"option",item:function(e){return[e,0,"value="+e+(t==e?" selected":"")]}}),l.klass.selectYear,(s?"":"disabled")+" "+g.ariaAttr({controls:a.$node[0].id+"_table"})+' title="'+l.labelYearSelect+'"')}return g.node("div",t,l.klass.year)};return g.node("div",(l.selectYears?o()+t():t()+o())+e()+e(1),l.klass.header)+g.node("table",r+g.node("tbody",g.group({min:0,max:5,i:1,node:"tr",item:function(e){var t=l.firstDay&&0===a.create([h.year,h.month,1]).day?-7:0;return[g.group({min:7*e-h.day+t+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(e){e=a.create([h.year,h.month,e+(l.firstDay?1:0)]);var t,n=u&&u.pick==e.pick,i=d&&d.pick==e.pick,o=f&&a.disabled(e)||e.pick<p.pick||e.pick>m.pick,r=g.trigger(a.formats.toString,a,[l.format,e]);return[g.node("div",e.date,((t=[l.klass.day]).push(h.month==e.month?l.klass.infocus:l.klass.outfocus),c.pick==e.pick&&t.push(l.klass.now),n&&t.push(l.klass.selected),i&&t.push(l.klass.highlighted),o&&t.push(l.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+g.ariaAttr({role:"gridcell",label:r,selected:!(!n||a.$node.val()!==r)||null,activedescendant:!!i||null,disabled:!!o||null})),"",g.ariaAttr({role:"presentation"})]}})]}})),l.klass.table,'id="'+a.$node[0].id+'_table" '+g.ariaAttr({role:"grid",controls:a.$node[0].id,readonly:!0}))+g.node("div",g.node("button",l.today,l.klass.buttonToday,"type=button data-pick="+c.pick+(s&&!a.disabled(c)?"":" disabled")+" "+g.ariaAttr({controls:a.$node[0].id}))+g.node("button",l.clear,l.klass.buttonClear,"type=button data-clear=1"+(s?"":" disabled")+" "+g.ariaAttr({controls:a.$node[0].id}))+g.node("button",l.close,l.klass.buttonClose,"type=button data-close=true "+(s?"":" disabled")+" "+g.ariaAttr({controls:a.$node[0].id})),l.klass.footer)},n.defaults={labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],today:"Today",clear:"Clear",close:"Close",closeOnSelect:!0,closeOnClear:!0,format:"d mmmm, yyyy",klass:{table:(t=e.klasses().picker+"__")+"table",header:t+"header",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}},e.extend("pickadate",n)};e.exports=n(te,i)}),F="md.pickdate",H="pickdate",R=(L=i).fn[H],W={cancel:"Cancel",closeOnCancel:!0,closeOnSelect:!1,container:"",containerHidden:"",disable:[],firstDay:0,format:"d/m/yyyy",formatSubmit:"",hiddenName:!1,hiddenPrefix:"",hiddenSuffix:"",klass:{buttonClear:"btn btn-outline-primary picker-button-clear",buttonClose:"btn btn-outline-primary picker-button-close",buttonToday:"btn btn-outline-primary picker-button-today",day:"picker-day",disabled:"picker-day-disabled",highlighted:"picker-day-highlighted",infocus:"picker-day-infocus",now:"picker-day-today",outfocus:"picker-day-outfocus",selected:"picker-day-selected",weekdays:"picker-weekday",box:"picker-box",footer:"picker-footer",frame:"picker-frame",header:"picker-header",holder:"picker-holder",table:"picker-table",wrap:"picker-wrap",active:"picker-input-active",input:"picker-input",month:"picker-month",navDisabled:"picker-nav-disabled",navNext:"material-icons picker-nav-next",navPrev:"material-icons picker-nav-prev",selectMonth:"picker-select-month",selectYear:"picker-select-year",year:"picker-year",focused:"picker-focused",opened:"picker-opened",picker:"picker"},labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",max:!1,min:!1,monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ok:"OK",onClose:function(){},onOpen:function(){},onRender:function(){},onSet:function(){},onStart:function(){},onStop:function(){},selectMonths:!1,selectYears:!1,today:"",weekdaysFull:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysShort:["S","M","T","W","T","F","S"]},U={cancel:"string",closeOnCancel:"boolean",closeOnSelect:"boolean",container:"string",containerHidden:"string",disable:"array",firstDay:"number",format:"string",formatSubmit:"string",hiddenName:"boolean",hiddenPrefix:"string",hiddenSuffix:"string",klass:"object",labelMonthNext:"string",labelMonthPrev:"string",labelMonthSelect:"string",labelYearSelect:"string",max:"boolean || date",min:"boolean || date",monthsFull:"array",monthsShort:"array",ok:"string",onClose:"function",onOpen:"function",onRender:"function",onSet:"function",onStart:"function",onStop:"function",selectMonths:"boolean",selectYears:"boolean || number",today:"string",weekdaysFull:"array",weekdaysShort:"array"},(X=ie.prototype).display=function(e,t,n){L(".picker-date-display",t).remove(),L(".picker-wrap",t).prepend('<div class="picker-date-display"><div class="picker-date-display-top"><span class="picker-year-display">'+e.get(n,"yyyy")+'</span></div><div class="picker-date-display-bottom"><span class="picker-weekday-display">'+e.get(n,"dddd")+'</span><span class="picker-day-display">'+e.get(n,"d")+'</span><span class="picker-month-display">'+e.get(n,"mmm")+"</span></div></div>")},X.show=function(){var e=this;L(this._element).pickadate({clear:this._config.cancel,close:this._config.ok,closeOnClear:this._config.closeOnCancel,closeOnSelect:this._config.closeOnSelect,container:this._config.container,containerHidden:this._config.containerHidden,disable:this._config.disable,firstDay:this._config.firstDay,format:this._config.format,formatSubmit:this._config.formatSubmit,klass:this._config.klass,hiddenName:this._config.hiddenName,hiddenPrefix:this._config.hiddenPrefix,hiddenSuffix:this._config.hiddenSuffix,labelMonthNext:this._config.labelMonthNext,labelMonthPrev:this._config.labelMonthPrev,labelMonthSelect:this._config.labelMonthSelect,labelYearSelect:this._config.labelYearSelect,max:this._config.max,min:this._config.min,monthsFull:this._config.monthsFull,monthsShort:this._config.monthsShort,onClose:this._config.onClose,onOpen:this._config.onOpen,onRender:this._config.onRender,onSet:this._config.onSet,onStart:this._config.onStart,onStop:this._config.onStop,selectMonths:this._config.selectMonths,selectYears:this._config.selectYears,today:this._config.today,weekdaysFull:this._config.weekdaysFull,weekdaysShort:this._config.weekdaysShort});var t=L(this._element).pickadate("picker"),n=t.$root;t.on({close:function(){L(document.activeElement).blur()},open:function(){L(".picker__date-display",n).length||e.display(t,n,"highlight")},set:function(){null!==t.get("select")&&e.display(t,n,"select")}})},X._getConfig=function(e){return e=g({},W,e),P.typeCheckConfig(H,e,U),e},ie._jQueryInterface=function(n){return this.each(function(){var e=g({},W,L(this).data(),"object"==typeof n&&n?n:{}),t=L(this).data(F);t||(t=new ie(this,e),L(this).data(F,t)),t.show()})},B=ie,L.fn[H]=B._jQueryInterface,L.fn[H].Constructor=B,L.fn[H].noConflict=function(){return L.fn[H]=R,B._jQueryInterface},q={IS_MOUSEDOWN:!"focus"},X=".custom-control",ee=".custom-control-input",(Q=i)(document).on("blur.md.selectioncontrolfocus",ee,function(){Q(this).removeClass("focus")}).on("focus.md.selectioncontrolfocus",ee,function(){!1===q.IS_MOUSEDOWN&&Q(this).addClass("focus")}).on("mousedown.md.selectioncontrolfocus",X,function(){q.IS_MOUSEDOWN=!0}).on("mouseup.md.selectioncontrolfocus",X,function(){setTimeout(function(){q.IS_MOUSEDOWN=!1},1)}),K="md.tabswitch",Y="tabswitch",V=($=i).fn[Y],J="animate",z="dropdown-item",G=".dropdown",(X=ne.prototype).switch=function(e,t){var n=this,i=$(this._nav).offset().left,o=$(this._nav).scrollLeft(),r=$(this._nav).outerWidth();this._navindicator||this._createIndicator(i,o,r,t),$(e).hasClass(z)&&(e=$(e).closest(G));t=$(e).offset().left,e=$(e).outerWidth();$(this._navindicator).addClass("show"),P.reflow(this._navindicator),$(this._nav).addClass(J),$(this._navindicator).css({left:t+o-i,right:r-(t+o-i+e)});e=P.getTransitionDurationFromElement(this._navindicator);$(this._navindicator).one(P.TRANSITION_END,function(){$(n._nav).removeClass(J),$(n._navindicator).removeClass("show")}).emulateTransitionEnd(e)},X._createIndicator=function(e,t,n,i){var o;this._navindicator=document.createElement("div"),$(this._navindicator).addClass("nav-tabs-indicator").appendTo(this._nav),void 0!==i&&($(i).hasClass(z)&&(i=$(i).closest(G)),o=$(i).offset().left,i=$(i).outerWidth(),$(this._navindicator).css({left:o+t-e,right:n-(o+t-e+i)})),$(this._nav).addClass("nav-tabs-material")},ne._jQueryInterface=function(n){return this.each(function(){var e,t=$(this).closest(".nav-tabs")[0];t&&((e=$(t).data(K))||(e=new ne(t),$(t).data(K,e)),e.switch(this,n))})},Z=ne,$(document).on("show.bs.tab",'.nav-tabs [data-toggle="tab"]',function(e){Z._jQueryInterface.call($(this),e.relatedTarget)}),$.fn[Y]=Z._jQueryInterface,$.fn[Y].Constructor=Z,$.fn[Y].noConflict=function(){return $.fn[Y]=V,Z._jQueryInterface},Z);function ne(e){this._nav=e,this._navindicator=null}function ie(e,t){this._config=this._getConfig(t),this._element=e}e.Util=P,e.ExpansionPanel=void 0,e.FloatingLabel=f,e.NavDrawer=A,e.PickDate=void 0,e.SelectionControlFocus=void 0,e.TabSwitch=X,Object.defineProperty(e,"__esModule",{value:!0})}),function(){var e=-1<navigator.userAgent.toLowerCase().indexOf("webkit"),t=-1<navigator.userAgent.toLowerCase().indexOf("opera"),n=-1<navigator.userAgent.toLowerCase().indexOf("msie");(e||t||n)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())},!1)}(),jQuery(window).load(function(){jQuery(window).scroll(function(){50<jQuery(this).scrollTop()?(jQuery("#back-to-top").fadeIn(),jQuery("#back-to-top").tooltip()):jQuery("#back-to-top").fadeOut()}),jQuery("#back-to-top").click(function(){return jQuery("#back-to-top").tooltip("hide"),jQuery("body,html").animate({scrollTop:0},"slow"),!1}),jQuery("#back-to-top").is(":visible")&&jQuery("#back-to-top").tooltip("show")});
|