/*!
  * Bootstrap v4.6.0 (https://getbootstrap.com/)
  * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  *//*!
 * Bootstrap Table of Contents v1.0.1 (http://afeld.github.io/bootstrap-toc/)
 * Copyright 2015 Aidan Feldman
 * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap={},e.jQuery)}(this,function(e,t){"use strict";function Ke(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}n=Ke(t);function te(e,t){for(var n,s=0;s<t.length;s++)n=t[s],n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function a(e,t,n){return t&&te(e.prototype,t),n&&te(e,n),e}function o(){return(o=Object.assign||function(e){for(var t,s,n=1;n<arguments.length;n++){t=arguments[n];for(s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e}).apply(this,arguments)}function ft(e){var o=this,t=!1;return n.default(this).one(s.TRANSITION_END,function(){t=!0}),setTimeout(function(){t||s.triggerTransitionEnd(o)},e),this}s={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do e+=~~(1e6*Math.random());while(document.getElementById(e))return e},getSelectorFromElement:function(e){var n,t=e.getAttribute("data-target");(!t||"#"===t)&&(n=e.getAttribute("href"),t=n&&"#"!==n?n.trim():"");try{return document.querySelector(t)?t:null}catch{return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=n.default(e).css("transition-duration"),s=n.default(e).css("transition-delay"),o=parseFloat(t),i=parseFloat(s);return o||i?(t=t.split(",")[0],s=s.split(",")[0],1e3*(parseFloat(t)+parseFloat(s))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){n.default(e).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var o,i,r=n[o],a=t[o],c=a&&s.isElement(a)?"element":null===(i=a)||"undefined"==typeof i?""+i:{}.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(c))throw new Error(e.toUpperCase()+': Option "'+o+'" provided type "'+c+'" but expected type "'+r+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?s.findShadowRoot(e.parentNode):null},jQueryDetection:function(){if("undefined"==typeof n.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=n.default.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}},s.jQueryDetection(),n.default.fn.emulateTransitionEnd=ft,n.default.event.special[s.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(e){if(n.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var S="alert",ht=n.default.fn[S],p=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){n.default.removeData(this._element,"bs.alert"),this._element=null},t._getRootElement=function(e){var o=s.getSelectorFromElement(e),t=!1;return o&&(t=document.querySelector(o)),t||(t=n.default(e).closest(".alert")[0]),t},t._triggerCloseEvent=function(e){var t=n.default.Event("close.bs.alert");return n.default(e).trigger(t),t},t._removeElement=function(e){var t,o=this;n.default(e).removeClass("show"),n.default(e).hasClass("fade")?(t=s.getTransitionDurationFromElement(e),n.default(e).one(s.TRANSITION_END,function(t){return o._destroyElement(e,t)}).emulateTransitionEnd(t)):this._destroyElement(e)},t._destroyElement=function(e){n.default(e).detach().trigger("closed.bs.alert").remove()},e._jQueryInterface=function(t){return this.each(function(){var o=n.default(this),s=o.data("bs.alert");s||(s=new e(this),o.data("bs.alert",s)),"close"===t&&s[t](this)})},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),e}();n.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',p._handleDismiss(new p)),n.default.fn[S]=p._jQueryInterface,n.default.fn[S].Constructor=p,n.default.fn[S].noConflict=function(){return n.default.fn[S]=ht,p._jQueryInterface},de=n.default.fn.button,j=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e,s,t=!0,o=!0,i=n.default(this._element).closest('[data-toggle="buttons"]')[0];i&&(e=this._element.querySelector('input:not([type="hidden"])'),e&&("radio"===e.type&&(e.checked&&this._element.classList.contains("active")?t=!1:(s=i.querySelector(".active"),s&&n.default(s).removeClass("active"))),t&&("checkbox"!==e.type&&"radio"!==e.type||(e.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||n.default(e).trigger("change")),e.focus(),o=!1)),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(o&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&n.default(this._element).toggleClass("active"))},t.dispose=function(){n.default.removeData(this._element,"bs.button"),this._element=null},e._jQueryInterface=function(t,s){return this.each(function(){var i=n.default(this),o=i.data("bs.button");o||(o=new e(this),i.data("bs.button",o)),o.shouldAvoidTriggerChange=s,"toggle"===t&&o[t]()})},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),e}(),n.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var s,t=e.target,o=t;if(n.default(t).hasClass("btn")||(t=n.default(t).closest(".btn")[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{if(s=t.querySelector('input:not([type="hidden"])'),s&&(s.hasAttribute("disabled")||s.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==o.tagName&&"LABEL"===t.tagName||j._jQueryInterface.call(n.default(t),"toggle","INPUT"===o.tagName)}}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=n.default(e.target).closest(".btn")[0];n.default(t).toggleClass("focus",/^focus(in)?$/.test(e.type))}),n.default(window).on("load.bs.button.data-api",function(){for(var t,n,s,i,a,e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),o=0,r=e.length;o<r;o++)t=e[o],i=t.querySelector('input:not([type="hidden"])'),i.checked||i.hasAttribute("checked")?t.classList.add("active"):t.classList.remove("active");for(n=0,a=(e=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;n<a;n++)s=e[n],"true"===s.getAttribute("aria-pressed")?s.classList.add("active"):s.classList.remove("active")}),n.default.fn.button=j._jQueryInterface,n.default.fn.button.Constructor=j,n.default.fn.button.noConflict=function(){return n.default.fn.button=de,j._jQueryInterface};var b="carousel",rt=".bs.carousel",tt=n.default.fn[b],G={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},et={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},ue={TOUCH:"touch",PEN:"pen"},y=function(){function t(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide("next")},e.nextWhenVisible=function(){var e=n.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide("prev")},e.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(s.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._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(e){var t,s,o=this;if(this._activeElement=this._element.querySelector(".active.carousel-item"),t=this._getItemIndex(this._activeElement),!(e>this._items.length-1||e<0))if(this._isSliding)n.default(this._element).one("slid.bs.carousel",function(){return o.to(e)});else{if(t===e)return this.pause(),void this.cycle();s=e>t?"next":"prev",this._slide(s,this._items[e])}},e.dispose=function(){n.default(this._element).off(rt),n.default.removeData(this._element,"bs.carousel"),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=o({},G,e),s.typeCheckConfig(b,e,et),e},e._handleSwipe=function(){var e,t=Math.abs(this.touchDeltaX);t<=40||(e=t/this.touchDeltaX,this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next())},e._addEventListeners=function(){var e=this;this._config.keyboard&&n.default(this._element).on("keydown.bs.carousel",function(t){return e._keydown(t)}),"hover"===this._config.pause&&n.default(this._element).on("mouseenter.bs.carousel",function(t){return e.pause(t)}).on("mouseleave.bs.carousel",function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){if(e=this,this._touchSupported){var e,t=function(t){e._pointerEvent&&ue[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},s=function(t){e._pointerEvent&&ue[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval))};n.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(e){return e.preventDefault()}),this._pointerEvent?(n.default(this._element).on("pointerdown.bs.carousel",function(e){return t(e)}),n.default(this._element).on("pointerup.bs.carousel",function(e){return s(e)}),this._element.classList.add("pointer-event")):(n.default(this._element).on("touchstart.bs.carousel",function(e){return t(e)}),n.default(this._element).on("touchmove.bs.carousel",function(t){return function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX}(t)}),n.default(this._element).on("touchend.bs.carousel",function(e){return s(e)}))}},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(".carousel-item")):[],this._items.indexOf(e)},e._getItemByDirection=function(e,t){var s,o="next"===e,i="prev"===e,n=this._getItemIndex(t),a=this._items.length-1;return(i&&0===n||o&&n===a)&&!this._config.wrap?t:(s=(n+("prev"===e?-1:1))%this._items.length,-1===s?this._items[this._items.length-1]:this._items[s])},e._triggerSlideEvent=function(e,t){var o=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(".active.carousel-item")),s=n.default.Event("slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:o});return n.default(this._element).trigger(s),s},e._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t,s=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));n.default(s).removeClass("active"),t=this._indicatorsElement.children[this._getItemIndex(e)],t&&n.default(t).addClass("active")}},e._updateInterval=function(){var e,t=this._activeElement||this._element.querySelector(".active.carousel-item");t&&(e=parseInt(t.getAttribute("data-interval"),10),e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval)},e._slide=function(e,t){var a,r,c,l,h,d=this,i=this._element.querySelector(".active.carousel-item"),m=this._getItemIndex(i),o=t||i&&this._getItemByDirection(e,i),f=this._getItemIndex(o),u=Boolean(this._interval);"next"===e?(a="carousel-item-left",r="carousel-item-next",c="left"):(a="carousel-item-right",r="carousel-item-prev",c="right"),o&&n.default(o).hasClass("active")?this._isSliding=!1:!this._triggerSlideEvent(o,c).isDefaultPrevented()&&i&&o&&(this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o,l=n.default.Event("slid.bs.carousel",{relatedTarget:o,direction:c,from:m,to:f}),n.default(this._element).hasClass("slide")?(n.default(o).addClass(r),s.reflow(o),n.default(i).addClass(a),n.default(o).addClass(a),h=s.getTransitionDurationFromElement(i),n.default(i).one(s.TRANSITION_END,function(){n.default(o).removeClass(a+" "+r).addClass("active"),n.default(i).removeClass("active "+r+" "+a),d._isSliding=!1,setTimeout(function(){return n.default(d._element).trigger(l)},0)}).emulateTransitionEnd(h)):(n.default(i).removeClass("active"),n.default(o).addClass("active"),this._isSliding=!1,n.default(this._element).trigger(l)),u&&this.cycle())},t._jQueryInterface=function(e){return this.each(function(){var a,s=n.default(this).data("bs.carousel"),i=o({},G,n.default(this).data());if("object"==typeof e&&(i=o({},i,e)),a="string"==typeof e?e:i.slide,s||(s=new t(this,i),n.default(this).data("bs.carousel",s)),"number"==typeof e)s.to(e);else if("string"==typeof a){if("undefined"==typeof s[a])throw new TypeError('No method named "'+a+'"');s[a]()}else i.interval&&i.ride&&(s.pause(),s.cycle())})},t._dataApiClickHandler=function(e){if(a=s.getSelectorFromElement(this),a&&(i=n.default(a)[0],i&&n.default(i).hasClass("carousel"))){var i,a,c=o({},n.default(i).data(),n.default(this).data()),r=this.getAttribute("data-slide-to");r&&(c.interval=!1),t._jQueryInterface.call(n.default(i),c),r&&n.default(i).data("bs.carousel").to(r),e.preventDefault()}},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return G}}]),t}();n.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",y._dataApiClickHandler),n.default(window).on("load.bs.carousel.data-api",function(){for(var t,s=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,o=s.length;e<o;e++)t=n.default(s[e]),y._jQueryInterface.call(t,t.data())}),n.default.fn[b]=y._jQueryInterface,n.default.fn[b].Constructor=y,n.default.fn[b].noConflict=function(){return n.default.fn[b]=tt,y._jQueryInterface};var _="collapse",Ie=n.default.fn[_],Y={toggle:!0,parent:""},Pe={toggle:"boolean",parent:"(string|element)"},k=function(){function t(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),n=0,r=i.length;n<r;n++){var a=i[n],o=s.getSelectorFromElement(a),c=[].slice.call(document.querySelectorAll(o)).filter(function(t){return t===e});null!==o&&c.length>0&&(this._selector=o,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){n.default(this._element).hasClass("show")?this.hide():this.show()},e.show=function(){if(o=this,!this._isTransitioning&&!n.default(this._element).hasClass("show")&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(e){return"string"==typeof o._config.parent?e.getAttribute("data-parent")===o._config.parent:e.classList.contains("collapse")})).length&&(e=null),!(e&&(a=n.default(e).not(this._selector).data("bs.collapse"))&&a._isTransitioning))&&(r=n.default.Event("show.bs.collapse"),n.default(this._element).trigger(r),!r.isDefaultPrevented())){e&&(t._jQueryInterface.call(n.default(e).not(this._selector),"hide"),a||n.default(e).data("bs.collapse",null)),i=this._getDimension(),n.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[i]=0,this._triggerArray.length&&n.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var e,o,i,a,r,c="scroll"+(i[0].toUpperCase()+i.slice(1)),l=s.getTransitionDurationFromElement(this._element);n.default(this._element).one(s.TRANSITION_END,function(){n.default(o._element).removeClass("collapsing").addClass("collapse show"),o._element.style[i]="",o.setTransitioning(!1),n.default(o._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(l),this._element.style[i]=this._element[c]+"px"}},e.hide=function(){if(o=this,!this._isTransitioning&&n.default(this._element).hasClass("show")&&(i=n.default.Event("hide.bs.collapse"),n.default(this._element).trigger(i),!i.isDefaultPrevented())){if(e=this._getDimension(),this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",s.reflow(this._element),n.default(this._element).addClass("collapsing").removeClass("collapse show"),a=this._triggerArray.length,a>0)for(t=0;t<a;t++){var e,t,o,i,a,l,r=this._triggerArray[t],c=s.getSelectorFromElement(r);null!==c&&(n.default([].slice.call(document.querySelectorAll(c))).hasClass("show")||n.default(r).addClass("collapsed").attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[e]="",l=s.getTransitionDurationFromElement(this._element),n.default(this._element).one(s.TRANSITION_END,function(){o.setTransitioning(!1),n.default(o._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")}).emulateTransitionEnd(l)}},e.setTransitioning=function(e){this._isTransitioning=e},e.dispose=function(){n.default.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(e){return(e=o({},Y,e)).toggle=Boolean(e.toggle),s.typeCheckConfig(_,e,Pe),e},e._getDimension=function(){return n.default(this._element).hasClass("width")?"width":"height"},e._getParent=function(){o=this,s.isElement(this._config.parent)?(e=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var e,o,i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',a=[].slice.call(e.querySelectorAll(i));return n.default(a).each(function(e,n){o._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])}),e},e._addAriaAndCollapsedClass=function(e,t){var s=n.default(e).hasClass("show");t.length&&n.default(t).toggleClass("collapsed",!s).attr("aria-expanded",s)},t._getTargetFromElement=function(e){var t=s.getSelectorFromElement(e);return t?document.querySelector(t):null},t._jQueryInterface=function(e){return this.each(function(){var i=n.default(this),s=i.data("bs.collapse"),a=o({},Y,i.data(),"object"==typeof e&&e?e:{});if(!s&&a.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(a.toggle=!1),s||(s=new t(this,a),i.data("bs.collapse",s)),"string"==typeof e){if("undefined"==typeof s[e])throw new TypeError('No method named "'+e+'"');s[e]()}})},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return Y}}]),t}();n.default(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=n.default(this),o=s.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(o));n.default(i).each(function(){var e=n.default(this),s=e.data("bs.collapse")?"toggle":t.data();k._jQueryInterface.call(e,s)})}),n.default.fn[_]=k._jQueryInterface,n.default.fn[_].Constructor=k,n.default.fn[_].noConflict=function(){return n.default.fn[_]=Ie,k._jQueryInterface},f="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,pe=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(f&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}(),ve=f&&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()},pe))}};function we(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function K(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function M(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),n=t.overflow,s=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+s)?e:M(K(e))}function Oe(e){return e&&e.referenceNode?e.referenceNode:e}U=f&&!!window.MSInputMethodContext&&!!document.documentMode,I=f&&/MSIE 10/.test(navigator.userAgent);function w(e){return 11===e?U:10===e?I:U||I}function v(e){if(!e)return document.documentElement;for(var n,s=w(10)?document.body:null,t=e.offsetParent||null;t===s&&e.nextElementSibling;)t=(e=e.nextElementSibling).offsetParent;return n=t&&t.nodeName,n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(t.nodeName)&&"static"===u(t,"position")?v(t):t:e?e.ownerDocument.documentElement:document.documentElement}function H(e){return null!==e.parentNode?H(e.parentNode):e}function z(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n,o,i,l,a=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=a?e:t,c=a?t:e,s=document.createRange();return s.setStart(r,0),s.setEnd(c,0),n=s.commonAncestorContainer,e!==n&&t!==n||r.contains(c)?"BODY"===(l=(o=n).nodeName)||"HTML"!==l&&v(o.firstElementChild)!==o?v(n):n:(i=H(e),i.host?z(i.host,t):z(e,H(t).host))}function x(e){var s,o,i=arguments.length>1&&0[0]!==arguments[1]?arguments[1]:"top",t="top"===i?"scrollTop":"scrollLeft",n=e.nodeName;return"BODY"===n||"HTML"===n?(s=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||s,o[t]):e[t]}function Me(e,t){var i=arguments.length>2&&0[0]!==arguments[2]&&arguments[2],s=x(t,"top"),o=x(t,"left"),n=i?-1:1;return e.top+=s*n,e.bottom+=s*n,e.left+=o*n,e.right+=o*n,e}function je(e,t){var n="x"===t?"Left":"Top",s="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+s+"Width"])}function be(e,t,n,s){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],w(10)?parseInt(n["offset"+e])+parseInt(s["margin"+("Height"===e?"Top":"Left")])+parseInt(s["margin"+("Height"===e?"Bottom":"Right")]):0)}function he(e){var n=e.body,t=e.documentElement,s=w(10)&&getComputedStyle(t);return{height:be("Height",n,t,s),width:be("Width",n,t,s)}}var dt=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},mt=function(){function e(e,t){for(var n,s=0;s<t.length;s++)n=t[s],n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),E=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},i=Object.assign||function(e){for(var t,s,n=1;n<arguments.length;n++){t=arguments[n];for(s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e};function r(e){return i({},e,{right:e.left+e.width,bottom:e.top+e.height})}function X(e){t={};try{w(10)?(t=e.getBoundingClientRect(),s=x(e,"top"),o=x(e,"left"),t.top+=s,t.left+=o,t.bottom+=s,t.right+=o):t=e.getBoundingClientRect()}catch{}var t,s,o,c,n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},l="HTML"===e.nodeName?he(e.ownerDocument):{},d=l.width||e.clientWidth||n.width,h=l.height||e.clientHeight||n.height,i=e.offsetWidth-d,a=e.offsetHeight-h;return(i||a)&&(c=u(e),i-=je(c,"x"),a-=je(c,"y"),n.width-=i,n.height-=a),r(n)}function Q(e,t){var n,a,c,m=arguments.length>2&&0[0]!==arguments[2]&&arguments[2],f=w(10),p="HTML"===t.nodeName,o=X(e),s=X(t),l=M(e),i=u(t),d=parseFloat(i.borderTopWidth),h=parseFloat(i.borderLeftWidth);return m&&p&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0)),n=r({top:o.top-s.top-d,left:o.left-s.left-h,width:o.width,height:o.height}),(n.marginTop=0,n.marginLeft=0,!f&&p)&&(a=parseFloat(i.marginTop),c=parseFloat(i.marginLeft),n.top-=d-a,n.bottom-=d-a,n.left-=h-c,n.right-=h-c,n.marginTop=a,n.marginLeft=c),(f&&!m?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(n=Me(n,t)),n}function bt(e){var s=arguments.length>1&&0[0]!==arguments[1]&&arguments[1],t=e.ownerDocument.documentElement,n=Q(e,t),o=Math.max(t.clientWidth,window.innerWidth||0),i=Math.max(t.clientHeight,window.innerHeight||0),a=s?0:x(t),c=s?0:x(t,"left"),l={top:a-n.top+n.marginTop,left:c-n.left+n.marginLeft,width:o,height:i};return r(l)}function ge(e){var t,n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===u(e,"position")||(t=K(e),!!t&&ge(t)))}function ee(e){if(!e||!e.parentElement||w())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function q(e,t,n,s){var i,a,r,c=arguments.length>4&&0[0]!==arguments[4]&&arguments[4],o={top:0,left:0},l=c?ee(e):z(e,Oe(t));if("viewport"===s)o=bt(l,c);else if(a=0[0],"scrollParent"===s?"BODY"===(a=M(K(t))).nodeName&&(a=e.ownerDocument.documentElement):a="window"===s?e.ownerDocument.documentElement:s,i=Q(a,l,c),"HTML"!==a.nodeName||ge(l))o=i;else{var d=he(e.ownerDocument),u=d.height,h=d.width;o.top+=i.top-i.marginTop,o.bottom=u+i.top,o.left+=i.left-i.marginLeft,o.right=h+i.left}return r="number"==typeof(n=n||0),o.left+=r?n:n.left||0,o.top+=r?n:n.top||0,o.right-=r?n:n.right||0,o.bottom-=r?n:n.bottom||0,o}function vt(e){return e.width*e.height}function se(e,t,n,s,o){if(c=arguments.length>5&&0[0]!==arguments[5]?arguments[5]:0,-1===e.indexOf("auto"))return e;var c,a=q(n,s,c,o),r={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(r).map(function(e){return i({key:e},r[e],{area:vt(r[e])})}).sort(function(e,t){return t.area-e.area}),d=l.filter(function(e){var t=e.width,s=e.height;return t>=n.clientWidth&&s>=n.clientHeight}),h=d.length>0?d[0].key:l[0].key,u=e.split("-")[1];return h+(u?"-"+u:"")}function oe(e,t,n){var s=arguments.length>3&&0[0]!==arguments[3]?arguments[3]:null,o=s?ee(t):z(t,Oe(n));return Q(n,o,s)}function ie(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),s=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+s,height:e.offsetHeight+n}}function D(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 re(e,t,n){n=n.split("-")[0];var s=ie(e),a={width:s.width,height:s.height},o=-1!==["right","left"].indexOf(n),r=o?"top":"left",i=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return a[r]=t[r]+t[c]/2-s[c]/2,a[i]=n===i?t[i]-s[l]:t[D(i)],a}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function le(e,t,n){return(0[0]===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var s=F(e,function(e){return e[t]===n});return e.indexOf(s)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&we(n)&&(t.offsets.popper=r(t.offsets.popper),t.offsets.reference=r(t.offsets.reference),t=n(t,e))}),t}function ct(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=oe(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=se(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=re(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=le(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Z(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function W(e){for(var n,s,o=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1),t=0;t<o.length;t++)if(n=o[t],s=n?""+n+i:e,"undefined"!=typeof document.body.style[s])return s;return null}function Ue(){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[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function fe(e){var t=e.ownerDocument;return t?t.defaultView:window}function Le(e,t,n,s){n.updateBound=s,fe(e).addEventListener("resize",n.updateBound,{passive:!0});var o=M(e);return function e(t,n,s,o){var a="BODY"===t.nodeName,i=a?t.ownerDocument.defaultView:t;i.addEventListener(n,s,{passive:!0}),a||e(M(i.parentNode),n,s,o),o.push(i)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function De(){this.state.eventsEnabled||(this.state=Le(this.reference,this.options,this.state,this.scheduleUpdate))}function Fe(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,fe(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function $(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function V(e,t){Object.keys(t).forEach(function(n){var s="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&$(t[n])&&(s="px"),e.style[n]=t[n]+s})}ye=f&&/Firefox/i.test(navigator.userAgent);function _e(e,t,n){var s,a,o=F(e,function(e){return e.name===t}),i=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});return i||(s="`"+t+"`",a="`"+n+"`",console.warn(a+" modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")),i}B=["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"],N=B.slice(3);function xe(e){var s=arguments.length>1&&0[0]!==arguments[1]&&arguments[1],t=N.indexOf(e),n=N.slice(t+1).concat(N.slice(0,t));return s?n.reverse():n}var Se="flip",Ye="clockwise",ke="counterclockwise";function Ae(e,t,n,s){var a,c,l=[0,0],d=-1!==["right","left"].indexOf(s),o=e.split(/(\+|-)/).map(function(e){return e.trim()}),i=o.indexOf(F(o,function(e){return-1!==e.search(/,|\s/)}));return o[i]&&-1===o[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),a=/\s*,\s*|\s+/,c=-1!==i?[o.slice(0,i).concat([o[i].split(a)[0]]),[o[i].split(a)[1]].concat(o.slice(i+1))]:[o],(c=c.map(function(e,s){var i=(1===s?!d:d)?"height":"width",o=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,s){var a,c=e.match(/((?:-|\+)?\d*\.?\d*)(.*)/),i=+c[1],o=c[2];if(!i)return e;if(0===o.indexOf("%")){switch(a=0[0],o){case"%p":a=n;break;case"%":case"%r":default:a=s}return r(a)[t]/100*i}return"vh"===o||"vw"===o?("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i}(e,i,t,n)})})).forEach(function(e,t){e.forEach(function(n,s){$(n)&&(l[t]+=n*("-"===e[s-1]?-1:1))})}),l}J={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var s=e.placement,d=s.split("-")[0],o=s.split("-")[1];if(o){var a=e.offsets,n=a.reference,r=a.popper,c=-1!==["bottom","top"].indexOf(d),t=c?"left":"top",l=c?"width":"height",u={start:E({},t,n[t]),end:E({},t,n[t]+n[l]-r[l])};e.offsets.popper=i({},r,u[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var i=t.offset,r=e.placement,a=e.offsets,n=a.popper,c=a.reference,o=r.split("-")[0],s=0[0];return s=$(+i)?[+i,0]:Ae(i,n,c,o),"left"===o?(n.top+=s[0],n.left-=s[1]):"right"===o?(n.top+=s[0],n.left+=s[1]):"top"===o?(n.left+=s[0],n.top-=s[1]):"bottom"===o&&(n.left+=s[0],n.top+=s[1]),e.popper=n,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){a=t.boundariesElement||v(e.instance.popper),e.instance.reference===a&&(a=v(a));var o,a,r=W("transform"),s=e.instance.popper.style,c=s.top,l=s.left,d=s[r];s.top="",s.left="",s[r]="",o=q(e.instance.popper,e.instance.reference,t.padding,a,e.positionFixed),s.top=c,s.left=l,s[r]=d,t.boundaries=o;var u=t.priority,n=e.offsets.popper,h={primary:function(e){var s=n[e];return n[e]<o[e]&&!t.escapeWithReference&&(s=Math.max(n[e],o[e])),E({},e,s)},secondary:function(e){var s="right"===e?"left":"top",i=n[s];return n[e]>o[e]&&!t.escapeWithReference&&(i=Math.min(n[s],o[e]-("right"===e?n.width:n.height))),E({},s,i)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";n=i({},n,h[t](e))}),e.offsets.popper=n,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var r=e.offsets,o=r.popper,n=r.reference,c=e.placement.split("-")[0],s=Math.floor,i=-1!==["top","bottom"].indexOf(c),a=i?"right":"bottom",t=i?"left":"top",l=i?"width":"height";return o[a]<s(n[t])&&(e.offsets.popper[t]=s(n[t])-o[l]),o[t]>s(n[a])&&(e.offsets.popper[t]=s(n[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!_e(e.instance.modifiers,"arrow","keepTogether"))return e;if(s=t.element,"string"==typeof s){if(!(s=e.instance.popper.querySelector(s)))return e}else if(!e.instance.popper.contains(s))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var s,h,b=e.placement.split("-")[0],p=e.offsets,a=p.popper,o=p.reference,l=-1!==["left","right"].indexOf(b),m=l?"height":"width",d=l?"Top":"Left",n=d.toLowerCase(),v=l?"left":"top",c=l?"bottom":"right",i=ie(s)[m];o[c]-i<a[n]&&(e.offsets.popper[n]-=a[n]-(o[c]-i)),o[n]+i>a[c]&&(e.offsets.popper[n]+=o[n]+i-a[c]),e.offsets.popper=r(e.offsets.popper);var j=o[n]+o[m]/2-i/2,g=u(e.instance.popper),y=parseFloat(g["margin"+d]),_=parseFloat(g["border"+d+"Width"]),f=j-e.offsets.popper[n]-y-_;return f=Math.max(Math.min(a[m]-i,f),0),e.arrowElement=s,e.offsets.arrow=(E(h={},n,Math.round(f)),E(h,v,""),h),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Z(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var a=q(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],r=D(n),s=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case Se:o=[n,r];break;case Ye:o=xe(n);break;case ke:o=xe(n,!0);break;default:o=t.behavior}return o.forEach(function(c,l){if(n!==c||o.length===l+1)return e;n=e.placement.split("-")[0],r=D(n);var u=e.offsets.popper,m=e.offsets.reference,d=Math.floor,j="left"===n&&d(u.right)>d(m.left)||"right"===n&&d(u.left)<d(m.right)||"top"===n&&d(u.bottom)>d(m.top)||"bottom"===n&&d(u.top)<d(m.bottom),g=d(u.left)<d(a.left),p=d(u.right)>d(a.right),f=d(u.top)<d(a.top),v=d(u.bottom)>d(a.bottom),b="left"===n&&g||"right"===n&&p||"top"===n&&f||"bottom"===n&&v,h=-1!==["top","bottom"].indexOf(n),_=!!t.flipVariations&&(h&&"start"===s&&g||h&&"end"===s&&p||!h&&"start"===s&&f||!h&&"end"===s&&v),w=!!t.flipVariationsByContent&&(h&&"start"===s&&p||h&&"end"===s&&g||!h&&"start"===s&&v||!h&&"end"===s&&f),y=_||w;(j||b||y)&&(e.flipped=!0,(j||b)&&(n=o[l+1]),y&&(s=function(e){return"end"===e?"start":"start"===e?"end":e}(s)),e.placement=n+(s?"-"+s:""),e.offsets.popper=i({},e.offsets.popper,re(e.instance.popper,e.offsets.reference,e.placement)),e=le(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var s=e.placement,t=s.split("-")[0],o=e.offsets,n=o.popper,a=o.reference,i=-1!==["left","right"].indexOf(t),c=-1===["top","left"].indexOf(t);return n[i?"left":"top"]=a[t]-(c?n[i?"width":"height"]:0),e.placement=D(s),e.offsets.popper=r(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!_e(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(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 y=t.x,j=t.y,b=e.offsets.popper,l=F(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;0[0]!==l&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var m,f,p,g=0[0]!==l?l:t.gpuAcceleration,o=v(e.instance.popper),u=X(o),n={position:b.position},s=function(e,t){var o=e.offsets,n=o.popper,u=o.reference,s=Math.round,h=Math.floor,i=function(e){return e},a=s(u.width),r=s(n.width),m=-1!==["left","right"].indexOf(e.placement),c=-1!==e.placement.indexOf("-"),l=t?m||c||a%2==r%2?s:h:i,d=t?s:i;return{left:l(a%2==1&&r%2==1&&!c&&t?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:l(n.right)}}(e,window.devicePixelRatio<2||!ye),r="bottom"===y?"top":"bottom",a="right"===j?"left":"right",h=W("transform"),c=0[0],d=0[0],d="bottom"===r?"HTML"===o.nodeName?-o.clientHeight+s.bottom:-u.height+s.bottom:s.top,c="right"===a?"HTML"===o.nodeName?-o.clientWidth+s.right:-u.width+s.right:s.left;return g&&h?(n[h]="translate3d("+c+"px, "+d+"px, 0)",n[r]=0,n[a]=0,n.willChange="transform"):(m="bottom"===r?-1:1,f="right"===a?-1:1,n[r]=d*m,n[a]=c*f,n.willChange=r+", "+a),p={"x-placement":e.placement},e.attributes=i({},p,e.attributes),e.styles=i({},n,e.styles),e.arrowStyles=i({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return V(e.instance.popper,e.styles),n=e.instance.popper,t=e.attributes,Object.keys(t).forEach(function(e){!1!==t[e]?n.setAttribute(e,t[e]):n.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&V(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,s,o){var i=oe(o,t,e,n.positionFixed),a=se(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),V(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:0[0]}}},c=function(){function e(t,n){var a,s=this,o=arguments.length>2&&0[0]!==arguments[2]?arguments[2]:{};dt(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(s.update)},this.update=ve(this.update.bind(this)),this.options=i({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(i({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){s.options.modifiers[t]=i({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return i({name:e},s.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&we(e.onLoad)&&e.onLoad(s.reference,s.popper,s.options,e,s.state)}),this.update(),a=this.options.eventsEnabled,a&&this.enableEventListeners(),this.state.eventsEnabled=a}return mt(e,[{key:"update",value:function(){return ct.call(this)}},{key:"destroy",value:function(){return Ue.call(this)}},{key:"enableEventListeners",value:function(){return De.call(this)}},{key:"disableEventListeners",value:function(){return Fe.call(this)}}]),e}(),c.Utils=("undefined"!=typeof window?window:global).PopperUtils,c.placements=B,c.Defaults=J;var C="dropdown",Te=n.default.fn[C],ze=new RegExp("38|40|27"),Ce={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Ne={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},l=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=e.prototype;return t.toggle=function(){if(!this._element.disabled&&!n.default(this._element).hasClass("disabled")){var t=n.default(this._menu).hasClass("show");e._clearMenus(),t||this.show(!0)}},t.show=function(t){if(0[0]===t&&(t=!1),!(this._element.disabled||n.default(this._element).hasClass("disabled")||n.default(this._menu).hasClass("show"))){var i,a={relatedTarget:this._element},r=n.default.Event("show.bs.dropdown",a),o=e._getParentFromElement(this._element);if(n.default(o).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar&&t){if("undefined"==typeof c)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");i=this._element,"parent"===this._config.reference?i=o:s.isElement(this._config.reference)&&(i=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(i=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n.default(o).addClass("position-static"),this._popper=new c(i,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n.default(o).closest(".navbar-nav").length&&n.default(document.body).children().on("mouseover",null,n.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),n.default(this._menu).toggleClass("show"),n.default(o).toggleClass("show").trigger(n.default.Event("shown.bs.dropdown",a))}}},t.hide=function(){if(!this._element.disabled&&!n.default(this._element).hasClass("disabled")&&n.default(this._menu).hasClass("show")){var t={relatedTarget:this._element},s=n.default.Event("hide.bs.dropdown",t),o=e._getParentFromElement(this._element);n.default(o).trigger(s),s.isDefaultPrevented()||(this._popper&&this._popper.destroy(),n.default(this._menu).toggleClass("show"),n.default(o).toggleClass("show").trigger(n.default.Event("hidden.bs.dropdown",t)))}},t.dispose=function(){n.default.removeData(this._element,"bs.dropdown"),n.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;n.default(this._element).on("click.bs.dropdown",function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(e){return e=o({},this.constructor.Default,n.default(this._element).data(),e),s.typeCheckConfig(C,e,this.constructor.DefaultType),e},t._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(".dropdown-menu"))}return this._menu},t._getPlacement=function(){var t=n.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=n.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":n.default(this._menu).hasClass("dropdown-menu-right")&&(e="bottom-end"),e},t._detectNavbar=function(){return n.default(this._element).closest(".navbar").length>0},t._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),o({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each(function(){var s=n.default(this).data("bs.dropdown");if(s||(s=new e(this,"object"==typeof t?t:null),n.default(this).data("bs.dropdown",s)),"string"==typeof t){if("undefined"==typeof s[t])throw new TypeError('No method named "'+t+'"');s[t]()}})},e._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var c,l,o=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),s=0,d=o.length;s<d;s++){var i=e._getParentFromElement(o[s]),a=n.default(o[s]).data("bs.dropdown"),r={relatedTarget:o[s]};t&&"click"===t.type&&(r.clickEvent=t),a&&(l=a._menu,n.default(i).hasClass("show")&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&n.default.contains(i,t.target))&&(c=n.default.Event("hide.bs.dropdown",r),n.default(i).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n.default(document.body).children().off("mouseover",null,n.default.noop),o[s].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),n.default(l).removeClass("show"),n.default(i).removeClass("show").trigger(n.default.Event("hidden.bs.dropdown",r)))))}},e._getParentFromElement=function(e){var t,n=s.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(t){if(!(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||n.default(t.target).closest(".dropdown-menu").length):!ze.test(t.which))&&!this.disabled&&!n.default(this).hasClass("disabled")){var s,o,i=e._getParentFromElement(this),a=n.default(i).hasClass("show");if(a||27!==t.which){if(t.preventDefault(),t.stopPropagation(),!a||27===t.which||32===t.which)return 27===t.which&&n.default(i.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void n.default(this).trigger("click");o=[].slice.call(i.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(e){return n.default(e).is(":visible")}),0!==o.length&&(s=o.indexOf(t.target),38===t.which&&s>0&&s--,40===t.which&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus())}}},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return Ce}},{key:"DefaultType",get:function(){return Ne}}]),e}();n.default(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',l._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",l._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",l._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',function(e){e.preventDefault(),e.stopPropagation(),l._jQueryInterface.call(n.default(this),"toggle")}).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}),n.default.fn[C]=l._jQueryInterface,n.default.fn[C].Constructor=l,n.default.fn[C].noConflict=function(){return n.default.fn[C]=Te,l._jQueryInterface};var Re=n.default.fn.modal,P={backdrop:!0,keyboard:!0,focus:!0,show:!0},He={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},T=function(){function t(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(e){return this._isShown?this.hide():this.show(e)},e.show=function(e){var s,t=this;!this._isShown&&!this._isTransitioning&&(n.default(this._element).hasClass("fade")&&(this._isTransitioning=!0),s=n.default.Event("show.bs.modal",{relatedTarget:e}),n.default(this._element).trigger(s),this._isShown||s.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),n.default(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',function(e){return t.hide(e)}),n.default(this._dialog).on("mousedown.dismiss.bs.modal",function(){n.default(t._element).one("mouseup.dismiss.bs.modal",function(e){n.default(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)})))},e.hide=function(e){var t,o,i,a=this;e&&e.preventDefault(),this._isShown&&!this._isTransitioning&&(t=n.default.Event("hide.bs.modal"),(n.default(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented())&&(this._isShown=!1,o=n.default(this._element).hasClass("fade"),o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n.default(document).off("focusin.bs.modal"),n.default(this._element).removeClass("show"),n.default(this._element).off("click.dismiss.bs.modal"),n.default(this._dialog).off("mousedown.dismiss.bs.modal"),o?(i=s.getTransitionDurationFromElement(this._element),n.default(this._element).one(s.TRANSITION_END,function(e){return a._hideModal(e)}).emulateTransitionEnd(i)):this._hideModal()))},e.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return n.default(e).off(".bs.modal")}),n.default(document).off("focusin.bs.modal"),n.default.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(e){return e=o({},P,e),s.typeCheckConfig("modal",e,He),e},e._triggerBackdropTransition=function(){var t,o,e=this,i=n.default.Event("hidePrevented.bs.modal");n.default(this._element).trigger(i),!i.isDefaultPrevented()&&(t=this._element.scrollHeight>document.documentElement.clientHeight,t||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static"),o=s.getTransitionDurationFromElement(this._dialog),n.default(this._element).off(s.TRANSITION_END),n.default(this._element).one(s.TRANSITION_END,function(){e._element.classList.remove("modal-static"),t||n.default(e._element).one(s.TRANSITION_END,function(){e._element.style.overflowY=""}).emulateTransitionEnd(e._element,o)}).emulateTransitionEnd(o),this._element.focus())},e._showElement=function(e){var o,r,c,t=this,i=n.default(this._element).hasClass("fade"),a=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),n.default(this._dialog).hasClass("modal-dialog-scrollable")&&a?a.scrollTop=0:this._element.scrollTop=0,i&&s.reflow(this._element),n.default(this._element).addClass("show"),this._config.focus&&this._enforceFocus(),r=n.default.Event("shown.bs.modal",{relatedTarget:e}),o=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,n.default(t._element).trigger(r)},i?(c=s.getTransitionDurationFromElement(this._dialog),n.default(this._dialog).one(s.TRANSITION_END,o).emulateTransitionEnd(c)):o()},e._enforceFocus=function(){var e=this;n.default(document).off("focusin.bs.modal").on("focusin.bs.modal",function(t){document!==t.target&&e._element!==t.target&&0===n.default(e._element).has(t.target).length&&e._element.focus()})},e._setEscapeEvent=function(){var e=this;this._isShown?n.default(this._element).on("keydown.dismiss.bs.modal",function(t){e._config.keyboard&&27===t.which?(t.preventDefault(),e.hide()):e._config.keyboard||27!==t.which||e._triggerBackdropTransition()}):this._isShown||n.default(this._element).off("keydown.dismiss.bs.modal")},e._setResizeEvent=function(){var e=this;this._isShown?n.default(window).on("resize.bs.modal",function(t){return e.handleUpdate(t)}):n.default(window).off("resize.bs.modal")},e._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){n.default(document.body).removeClass("modal-open"),e._resetAdjustments(),e._resetScrollbar(),n.default(e._element).trigger("hidden.bs.modal")})},e._removeBackdrop=function(){this._backdrop&&(n.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(e){var i,a,r,t=this,o=n.default(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",o&&this._backdrop.classList.add(o),n.default(this._backdrop).appendTo(document.body),n.default(this._element).on("click.dismiss.bs.modal",function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())}),o&&s.reflow(this._backdrop),n.default(this._backdrop).addClass("show"),!e)return;if(!o)return void e();a=s.getTransitionDurationFromElement(this._backdrop),n.default(this._backdrop).one(s.TRANSITION_END,e).emulateTransitionEnd(a)}else!this._isShown&&this._backdrop?(n.default(this._backdrop).removeClass("show"),i=function(){t._removeBackdrop(),e&&e()},n.default(this._element).hasClass("fade")?(r=s.getTransitionDurationFromElement(this._backdrop),n.default(this._backdrop).one(s.TRANSITION_END,i).emulateTransitionEnd(r)):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=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){if(e=this,this._isBodyOverflowing){var e,t,s,o=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),i=[].slice.call(document.querySelectorAll(".sticky-top"));n.default(o).each(function(t,s){var o=s.style.paddingRight,i=n.default(s).css("padding-right");n.default(s).data("padding-right",o).css("padding-right",parseFloat(i)+e._scrollbarWidth+"px")}),n.default(i).each(function(t,s){var o=s.style.marginRight,i=n.default(s).css("margin-right");n.default(s).data("margin-right",o).css("margin-right",parseFloat(i)-e._scrollbarWidth+"px")}),t=document.body.style.paddingRight,s=n.default(document.body).css("padding-right"),n.default(document.body).data("padding-right",t).css("padding-right",parseFloat(s)+this._scrollbarWidth+"px")}n.default(document.body).addClass("modal-open")},e._resetScrollbar=function(){var e,t,s=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"));n.default(s).each(function(e,t){var s=n.default(t).data("padding-right");n.default(t).removeData("padding-right"),t.style.paddingRight=s||""}),e=[].slice.call(document.querySelectorAll(".sticky-top")),n.default(e).each(function(e,t){var s=n.default(t).data("margin-right");"undefined"!=typeof s&&n.default(t).css("margin-right",s).removeData("margin-right")}),t=n.default(document.body).data("padding-right"),n.default(document.body).removeData("padding-right"),document.body.style.paddingRight=t||""},e._getScrollbarWidth=function(){var t,e=document.createElement("div");return e.className="modal-scrollbar-measure",document.body.appendChild(e),t=e.getBoundingClientRect().width-e.clientWidth,document.body.removeChild(e),t},t._jQueryInterface=function(e,s){return this.each(function(){var i=n.default(this).data("bs.modal"),a=o({},P,n.default(this).data(),"object"==typeof e&&e?e:{});if(i||(i=new t(this,a),n.default(this).data("bs.modal",i)),"string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e](s)}else a.show&&i.show(s)})},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return P}}]),t}();n.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t,r,c,i=this,a=s.getSelectorFromElement(this);a&&(t=document.querySelector(a)),r=n.default(t).data("bs.modal")?"toggle":o({},n.default(t).data(),n.default(this).data()),"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault(),c=n.default(t).one("show.bs.modal",function(e){e.isDefaultPrevented()||c.one("hidden.bs.modal",function(){n.default(i).is(":visible")&&i.focus()})}),T._jQueryInterface.call(n.default(t),r,this)}),n.default.fn.modal=T._jQueryInterface,n.default.fn.modal.Constructor=T,n.default.fn.modal.noConflict=function(){return n.default.fn.modal=Re,T._jQueryInterface};var Be=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Ve={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},$e=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,We=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function me(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var o=(new window.DOMParser).parseFromString(e,"text/html"),a=Object.keys(t),i=[].slice.call(o.body.querySelectorAll("*")),r=function(e){var o,r,s=i[e],c=s.nodeName.toLowerCase();if(-1===a.indexOf(s.nodeName.toLowerCase()))return s.parentNode.removeChild(s),"continue";o=[].slice.call(s.attributes),r=[].concat(t["*"]||[],t[c]||[]),o.forEach(function(e){(function(e,t){if(n=e.nodeName.toLowerCase(),-1!==t.indexOf(n))return-1===Be.indexOf(n)||Boolean(e.nodeValue.match($e)||e.nodeValue.match(We));for(var n,o=t.filter(function(e){return e instanceof RegExp}),s=0,i=o.length;s<i;s++)if(n.match(o[s]))return!0;return!1})(e,r)||s.removeAttribute(e.nodeName)})},s=0,c=i.length;s<c;s++)r(s);return o.body.innerHTML}var n,s,de,f,j,pe,ve,I,U,ye,c,N,ae,O,B,J,m="tooltip",qe=n.default.fn[m],Ee=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Ge=["sanitize","whiteList","sanitizeFn"],Xe={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Qe={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ze={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:Ve,popperConfig:null},Je={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},d=function(){function t(e,t){if("undefined"==typeof c)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e=t.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){if(this._isEnabled)if(e){var s=this.constructor.DATA_KEY,t=n.default(e.currentTarget).data(s);t||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),n.default(e.currentTarget).data(s,t)),t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(n.default(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),n.default.removeData(this.element,this.constructor.DATA_KEY),n.default(this.element).off(this.constructor.EVENT_KEY),n.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&n.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){if(e=this,"none"===n.default(this.element).css("display"))throw new Error("Please use show on visible elements");if(o=n.default.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){n.default(this.element).trigger(o);var e,t,o,i,a,r,d,u,h,l=s.findShadowRoot(this.element),m=n.default.contains(null!==l?l:this.element.ownerDocument.documentElement,this.element);if(o.isDefaultPrevented()||!m)return;t=this.getTipElement(),i=s.getUID(this.constructor.NAME),t.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.config.animation&&n.default(t).addClass("fade"),d="function"==typeof this.config.placement?this.config.placement.call(this,t,this.element):this.config.placement,a=this._getAttachment(d),this.addAttachmentClass(a),u=this._getContainer(),n.default(t).data(this.constructor.DATA_KEY,this),n.default.contains(this.element.ownerDocument.documentElement,this.tip)||n.default(t).appendTo(u),n.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new c(this.element,t,this._getPopperConfig(a)),n.default(t).addClass("show"),n.default(t).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&n.default(document.body).children().on("mouseover",null,n.default.noop),r=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,n.default(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)},n.default(this.tip).hasClass("fade")?(h=s.getTransitionDurationFromElement(this.tip),n.default(this.tip).one(s.TRANSITION_END,r).emulateTransitionEnd(h)):r()}},e.hide=function(e){var r,t=this,o=this.getTipElement(),i=n.default.Event(this.constructor.Event.HIDE),a=function(){"show"!==t._hoverState&&o.parentNode&&o.parentNode.removeChild(o),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),n.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};n.default(this.element).trigger(i),!i.isDefaultPrevented()&&(n.default(o).removeClass("show"),"ontouchstart"in document.documentElement&&n.default(document.body).children().off("mouseover",null,n.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,n.default(this.tip).hasClass("fade")?(r=s.getTransitionDurationFromElement(o),n.default(o).one(s.TRANSITION_END,a).emulateTransitionEnd(r)):a(),this._hoverState="")},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){n.default(this.getTipElement()).addClass("bs-tooltip-"+e)},e.getTipElement=function(){return this.tip=this.tip||n.default(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(n.default(e.querySelectorAll(".tooltip-inner")),this.getTitle()),n.default(e).removeClass("fade show")},e.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=me(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?n.default(t).parent().is(e)||e.empty().append(t):e.text(n.default(t).text())},e.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},e._getPopperConfig=function(e){var t=this;return o({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:s.isElement(this.config.container)?n.default(this.config.container):n.default(document).find(this.config.container)},e._getAttachment=function(e){return Qe[e.toUpperCase()]},e._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)n.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if("manual"!==t){var s="hover"===t?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,o="hover"===t?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;n.default(e.element).on(s,e.config.selector,function(t){return e._enter(t)}).on(o,e.config.selector,function(t){return e._leave(t)})}}),this._hideModalHandler=function(){e.element&&e.hide()},n.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=o({},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 s=this.constructor.DATA_KEY;(t=t||n.default(e.currentTarget).data(s))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),n.default(e.currentTarget).data(s,t)),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),n.default(t.getTipElement()).hasClass("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){"show"===t._hoverState&&t.show()},t.config.delay.show):t.show())},e._leave=function(e,t){var s=this.constructor.DATA_KEY;(t=t||n.default(e.currentTarget).data(s))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),n.default(e.currentTarget).data(s,t)),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&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){var t=n.default(this.element).data();return Object.keys(t).forEach(function(e){-1!==Ge.indexOf(e)&&delete t[e]}),"number"==typeof(e=o({},this.constructor.Default,t,"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()),s.typeCheckConfig(m,e,this.constructor.DefaultType),e.sanitize&&(e.template=me(e.template,e.whiteList,e.sanitizeFn)),e},e._getDelegateConfig=function(){var e,t={};if(this.config)for(e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=n.default(this.getTipElement()),e=t.attr("class").match(Ee);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(e){this.tip=e.instance.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")&&(n.default(e).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},t._jQueryInterface=function(e){return this.each(function(){var o=n.default(this),s=o.data("bs.tooltip"),i="object"==typeof e&&e;if((s||!/dispose|hide/.test(e))&&(s||(s=new t(this,i),o.data("bs.tooltip",s)),"string"==typeof e)){if("undefined"==typeof s[e])throw new TypeError('No method named "'+e+'"');s[e]()}})},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return Ze}},{key:"NAME",get:function(){return m}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Je}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Xe}}]),t}();n.default.fn[m]=d._jQueryInterface,n.default.fn[m].Constructor=d,n.default.fn[m].noConflict=function(){return n.default.fn[m]=qe,d._jQueryInterface};var g="popover",nt=n.default.fn[g],st=new RegExp("(^|\\s)bs-popover\\S+","g"),ot=o({},d.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>'}),it=o({},d.DefaultType,{content:"(string|element|function)"}),at={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},L=function(e){function t(){return e.apply(this,arguments)||this}i=e,(o=t).prototype=Object.create(i.prototype),o.prototype.constructor=o,o.__proto__=i;var o,i,s=t.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(e){n.default(this.getTipElement()).addClass("bs-popover-"+e)},s.getTipElement=function(){return this.tip=this.tip||n.default(this.config.template)[0],this.tip},s.setContent=function(){var e,t=n.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle()),e=this._getContent(),"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=n.default(this.getTipElement()),e=t.attr("class").match(st);null!==e&&e.length>0&&t.removeClass(e.join(""))},t._jQueryInterface=function(e){return this.each(function(){var s=n.default(this).data("bs.popover"),o="object"==typeof e?e:null;if((s||!/dispose|hide/.test(e))&&(s||(s=new t(this,o),n.default(this).data("bs.popover",s)),"string"==typeof e)){if("undefined"==typeof s[e])throw new TypeError('No method named "'+e+'"');s[e]()}})},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return ot}},{key:"NAME",get:function(){return g}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return at}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return it}}]),t}(d);n.default.fn[g]=L._jQueryInterface,n.default.fn[g].Constructor=L,n.default.fn[g].noConflict=function(){return n.default.fn[g]=nt,L._jQueryInterface};var h="scrollspy",lt=n.default.fn[h],ce={offset:10,method:"auto",target:""},ut={offset:"number",method:"string",target:"(string|element)"},A=function(){function t(e,t){var s=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,n.default(this._scrollElement).on("scroll.bs.scrollspy",function(e){return s._process(e)}),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var e=this,o=this._scrollElement===this._scrollElement.window?"offset":"position",t="auto"===this._config.method?o:this._config.method,i="position"===t?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var o,r,a=s.getSelectorFromElement(e);return(a&&(o=document.querySelector(a)),o)&&(r=o.getBoundingClientRect(),r.width||r.height)?[n.default(o)[t]().top+i,a]:null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},e.dispose=function(){n.default.removeData(this._element,"bs.scrollspy"),n.default(this._scrollElement).off(".bs.scrollspy"),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){if("string"!=typeof(e=o({},ce,"object"==typeof e&&e?e:{})).target&&s.isElement(e.target)){var t=n.default(e.target).attr("id");t||(t=s.getUID(h),n.default(e.target).attr("id",t)),e.target="#"+t}return s.typeCheckConfig(h,e,ut),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,n,t=this._getScrollTop()+this._config.offset,s=this._getScrollHeight(),o=this._config.offset+s-this._getOffsetHeight();if(this._scrollHeight!==s&&this.refresh(),t>=o)n=this._targets[this._targets.length-1],this._activeTarget!==n&&this._activate(n);else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&("undefined"==typeof this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}},e._activate=function(e){this._activeTarget=e,this._clear();var s=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),t=n.default([].slice.call(document.querySelectorAll(s.join(","))));t.hasClass("dropdown-item")?(t.closest(".dropdown").find(".dropdown-toggle").addClass("active"),t.addClass("active")):(t.addClass("active"),t.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),t.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")),n.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:e})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains("active")}).forEach(function(e){return e.classList.remove("active")})},t._jQueryInterface=function(e){return this.each(function(){var s=n.default(this).data("bs.scrollspy");if(s||(s=new t(this,"object"==typeof e&&e),n.default(this).data("bs.scrollspy",s)),"string"==typeof e){if("undefined"==typeof s[e])throw new TypeError('No method named "'+e+'"');s[e]()}})},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return ce}}]),t}();n.default(window).on("load.bs.scrollspy.data-api",function(){for(var e,t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),s=t.length;s--;)e=n.default(t[s]),A._jQueryInterface.call(e,e.data())}),n.default.fn[h]=A._jQueryInterface,n.default.fn[h].Constructor=A,n.default.fn[h].noConflict=function(){return n.default.fn[h]=lt,A._jQueryInterface},ae=n.default.fn.tab,O=function(){function e(e){this._element=e}var t=e.prototype;return t.show=function(){if(i=this,!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n.default(this._element).hasClass("active")||n.default(this._element).hasClass("disabled"))){var e,o,i,a,r,c,d,t=n.default(this._element).closest(".nav, .list-group")[0],l=s.getSelectorFromElement(this._element);t&&(d="UL"===t.nodeName||"OL"===t.nodeName?"> li > .active":".active",e=(e=n.default.makeArray(n.default(t).find(d)))[e.length-1]),a=n.default.Event("hide.bs.tab",{relatedTarget:this._element}),r=n.default.Event("show.bs.tab",{relatedTarget:e}),(e&&n.default(e).trigger(a),n.default(this._element).trigger(r),!r.isDefaultPrevented()&&!a.isDefaultPrevented())&&(l&&(o=document.querySelector(l)),this._activate(this._element,t),c=function(){var t=n.default.Event("hidden.bs.tab",{relatedTarget:i._element}),s=n.default.Event("shown.bs.tab",{relatedTarget:e});n.default(e).trigger(t),n.default(i._element).trigger(s)},o?this._activate(o,o.parentNode,c):c())}},t.dispose=function(){n.default.removeData(this._element,"bs.tab"),this._element=null},t._activate=function(e,t,o){var r,c=this,i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?n.default(t).children(".active"):n.default(t).find("> li > .active"))[0],l=o&&i&&n.default(i).hasClass("fade"),a=function(){return c._transitionComplete(e,i,o)};i&&l?(r=s.getTransitionDurationFromElement(i),n.default(i).removeClass("show").one(s.TRANSITION_END,a).emulateTransitionEnd(r)):a()},t._transitionComplete=function(e,t,o){if(t){n.default(t).removeClass("active");var i,r,a=n.default(t.parentNode).find("> .dropdown-menu .active")[0];a&&n.default(a).removeClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}(n.default(e).addClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),s.reflow(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&n.default(e.parentNode).hasClass("dropdown-menu"))&&(i=n.default(e).closest(".dropdown")[0],i&&(r=[].slice.call(i.querySelectorAll(".dropdown-toggle")),n.default(r).addClass("active")),e.setAttribute("aria-expanded",!0)),o&&o()},e._jQueryInterface=function(t){return this.each(function(){var o=n.default(this),s=o.data("bs.tab");if(s||(s=new e(this),o.data("bs.tab",s)),"string"==typeof t){if("undefined"==typeof s[t])throw new TypeError('No method named "'+t+'"');s[t]()}})},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),e}(),n.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),O._jQueryInterface.call(n.default(this),"show")}),n.default.fn.tab=O._jQueryInterface,n.default.fn.tab.Constructor=O,n.default.fn.tab.noConflict=function(){return n.default.fn.tab=ae,O._jQueryInterface};var pt=n.default.fn.toast,gt={animation:"boolean",autohide:"boolean",delay:"number"},ne={animation:!0,autohide:!0,delay:500},R=function(){function t(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t,i,e=this,o=n.default.Event("show.bs.toast");n.default(this._element).trigger(o),!o.isDefaultPrevented()&&(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),t=function(){e._element.classList.remove("showing"),e._element.classList.add("show"),n.default(e._element).trigger("shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout(function(){e.hide()},e._config.delay))},this._element.classList.remove("hide"),s.reflow(this._element),this._element.classList.add("showing"),this._config.animation?(i=s.getTransitionDurationFromElement(this._element),n.default(this._element).one(s.TRANSITION_END,t).emulateTransitionEnd(i)):t())},e.hide=function(){if(this._element.classList.contains("show")){var e=n.default.Event("hide.bs.toast");n.default(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),n.default(this._element).off("click.dismiss.bs.toast"),n.default.removeData(this._element,"bs.toast"),this._element=null,this._config=null},e._getConfig=function(e){return e=o({},ne,n.default(this._element).data(),"object"==typeof e&&e?e:{}),s.typeCheckConfig("toast",e,this.constructor.DefaultType),e},e._setListeners=function(){var e=this;n.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return e.hide()})},e._close=function(){var o,e=this,t=function(){e._element.classList.add("hide"),n.default(e._element).trigger("hidden.bs.toast")};this._element.classList.remove("show"),this._config.animation?(o=s.getTransitionDurationFromElement(this._element),n.default(this._element).one(s.TRANSITION_END,t).emulateTransitionEnd(o)):t()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each(function(){var o=n.default(this),s=o.data("bs.toast");if(s||(s=new t(this,"object"==typeof e&&e),o.data("bs.toast",s)),"string"==typeof e){if("undefined"==typeof s[e])throw new TypeError('No method named "'+e+'"');s[e](this)}})},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"DefaultType",get:function(){return gt}},{key:"Default",get:function(){return ne}}]),t}();n.default.fn.toast=R._jQueryInterface,n.default.fn.toast.Constructor=R,n.default.fn.toast.noConflict=function(){return n.default.fn.toast=pt,R._jQueryInterface},e.Alert=p,e.Button=j,e.Carousel=y,e.Collapse=k,e.Dropdown=l,e.Modal=T,e.Popover=L,e.Scrollspy=A,e.Tab=O,e.Toast=R,e.Tooltip=d,e.Util=s,Object.defineProperty(e,"__esModule",{value:!0})}),!function(e){"use strict";window.Toc={helpers:{findOrFilter:function(e,t){var n=e.find(t);return e.filter(t).add(n).filter(":not([data-toc-skip])")},generateUniqueIdBase:function(t){return e(t).text().trim().replace(/'/gi,"").replace(/[& +$,:;=?@"#{}|^~[`%!'<>\]./()*\\\n\t\b\v]/g,"-").replace(/-{2,}/g,"-").substring(0,64).replace(/^-+|-+$/gm,"").toLowerCase()||t.tagName.toLowerCase()},generateUniqueId:function(e){for(var t,s=this.generateUniqueIdBase(e),n=0;;n++)if(t=s,0<n&&(t+="-"+n),!document.getElementById(t))return t},generateAnchor:function(e){if(e.id)return e.id;var t=this.generateUniqueId(e);return e.id=t},createNavList:function(){return e('<ul class="nav navbar-nav"></ul>')},createChildNavList:function(e){var t=this.createNavList();return e.append(t),t},generateNavEl:function(t,n){var o,s=e('<a class="nav-link"></a>');return s.attr("href","#"+t),s.text(n),o=e("<li></li>"),o.append(s),o},generateNavItem:function(t){var s=this.generateAnchor(t),n=e(t),o=n.data("toc-text")||n.text();return this.generateNavEl(s,o)},getTopLevel:function(e){for(var t=1;t<=6;t++)if(1<this.findOrFilter(e,"h"+t).length)return t;return 1},getHeadings:function(e,t){var n="h"+t,s="h"+(t+1);return this.findOrFilter(e,n+","+s)},getNavLevel:function(e){return parseInt(e.tagName.charAt(1),10)},populateNav:function(e,t,n){var o,s=e,i=this;n.each(function(n,a){var r=i.generateNavItem(a);i.getNavLevel(a)===t?s=e:o&&s===e&&(s=i.createChildNavList(o)),s.append(r),o=r})},parseOps:function(t){var n;return(n=t.jquery?{$nav:t}:t).$scope=n.$scope||e(document.body),n}},init:function(e){(e=this.helpers.parseOps(e)).$nav.attr("data-toggle","toc");var n=this.helpers.createChildNavList(e.$nav),t=this.helpers.getTopLevel(e.$scope),s=this.helpers.getHeadings(e.$scope,t);this.helpers.populateNav(n,t,s)}},e(function(){e('nav[data-toggle="toc"]').each(function(t,n){var s=e(n);Toc.init(s)})})}(jQuery)