Changeset 2281514
- Timestamp:
- 04/11/2020 02:51:22 PM (6 years ago)
- Location:
- deploy-netlifypress
- Files:
-
- 36 added
- 7 edited
-
tags/1.1.0 (added)
-
tags/1.1.0/LICENSE (added)
-
tags/1.1.0/assets (added)
-
tags/1.1.0/assets/dist (added)
-
tags/1.1.0/assets/dist/css (added)
-
tags/1.1.0/assets/dist/css/main.css (added)
-
tags/1.1.0/assets/dist/css/main.min.css (added)
-
tags/1.1.0/assets/dist/fonts (added)
-
tags/1.1.0/assets/dist/fonts/fa-brands-400.eot (added)
-
tags/1.1.0/assets/dist/fonts/fa-brands-400.svg (added)
-
tags/1.1.0/assets/dist/fonts/fa-brands-400.ttf (added)
-
tags/1.1.0/assets/dist/fonts/fa-brands-400.woff (added)
-
tags/1.1.0/assets/dist/fonts/fa-brands-400.woff2 (added)
-
tags/1.1.0/assets/dist/fonts/fa-solid-900.eot (added)
-
tags/1.1.0/assets/dist/fonts/fa-solid-900.svg (added)
-
tags/1.1.0/assets/dist/fonts/fa-solid-900.ttf (added)
-
tags/1.1.0/assets/dist/fonts/fa-solid-900.woff (added)
-
tags/1.1.0/assets/dist/fonts/fa-solid-900.woff2 (added)
-
tags/1.1.0/assets/dist/fonts/poppins-regular.ttf (added)
-
tags/1.1.0/assets/dist/js (added)
-
tags/1.1.0/assets/dist/js/bootstrap.js (added)
-
tags/1.1.0/assets/dist/js/bootstrap.min.js (added)
-
tags/1.1.0/assets/dist/js/main.js (added)
-
tags/1.1.0/assets/dist/js/main.min.js (added)
-
tags/1.1.0/assets/dist/js/popper.js (added)
-
tags/1.1.0/assets/dist/js/popper.min.js (added)
-
tags/1.1.0/deploy-netlifypress.php (added)
-
tags/1.1.0/includes (added)
-
tags/1.1.0/includes/admin (added)
-
tags/1.1.0/includes/admin/admin.php (added)
-
tags/1.1.0/includes/assets.php (added)
-
tags/1.1.0/includes/auto-deploy.php (added)
-
tags/1.1.0/includes/core.php (added)
-
tags/1.1.0/includes/manual-deploy.php (added)
-
tags/1.1.0/index.php (added)
-
tags/1.1.0/readme.txt (added)
-
trunk/assets/dist/js/bootstrap.min.js (modified) (1 diff)
-
trunk/assets/dist/js/main.js (modified) (1 diff)
-
trunk/assets/dist/js/main.min.js (modified) (1 diff)
-
trunk/deploy-netlifypress.php (modified) (1 diff)
-
trunk/includes/admin/admin.php (modified) (4 diffs)
-
trunk/includes/manual-deploy.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
deploy-netlifypress/trunk/assets/dist/js/bootstrap.min.js
r2146696 r2281514 5 5 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 6 */ 7 !function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){r(t,e,n[e])})}return t}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var a="transitionend";function l(t){var n=this,i=!1;return e(this).one(c.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||c.triggerTransitionEnd(n)},t),this}var c={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var n=e(t).css("transition-duration"),i=e(t).css("transition-delay"),o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(a)},supportsTransitionEnd:function(){return Boolean(a)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],s=r&&c.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c.findShadowRoot(t.parentNode):null}};e.fn.emulateTransitionEnd=l,e.event.special[c.TRANSITION_END]={bindType:a,delegateType:a,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var u=e.fn.alert,h={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},f={ALERT:"alert",FADE:"fade",SHOW:"show"},d=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);n.isDefaultPrevented()||this._removeElement(e)},n.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(t){var n=c.getSelectorFromElement(t),i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest("."+f.ALERT)[0]),i},n._triggerCloseEvent=function(t){var n=e.Event(h.CLOSE);return e(t).trigger(n),n},n._removeElement=function(t){var n=this;if(e(t).removeClass(f.SHOW),e(t).hasClass(f.FADE)){var i=c.getTransitionDurationFromElement(t);e(t).one(c.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(i)}else this._destroyElement(t)},n._destroyElement=function(t){e(t).detach().trigger(h.CLOSED).remove()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.alert");o||(o=new t(this),i.data("bs.alert",o)),"close"===n&&o[n](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',d._handleDismiss(new d)),e.fn.alert=d._jQueryInterface,e.fn.alert.Constructor=d,e.fn.alert.noConflict=function(){return e.fn.alert=u,d._jQueryInterface};var p=e.fn.button,m={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},g={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},_={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},v=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,i=e(this._element).closest(g.DATA_TOGGLE)[0];if(i){var o=this._element.querySelector(g.INPUT);if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains(m.ACTIVE))t=!1;else{var r=i.querySelector(g.ACTIVE);r&&e(r).removeClass(m.ACTIVE)}if(t){if(o.hasAttribute("disabled")||i.hasAttribute("disabled")||o.classList.contains("disabled")||i.classList.contains("disabled"))return;o.checked=!this._element.classList.contains(m.ACTIVE),e(o).trigger("change")}o.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(m.ACTIVE)),t&&e(this._element).toggleClass(m.ACTIVE)},n.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.button");i||(i=new t(this),e(this).data("bs.button",i)),"toggle"===n&&i[n]()})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(_.CLICK_DATA_API,g.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var n=t.target;e(n).hasClass(m.BUTTON)||(n=e(n).closest(g.BUTTON)),v._jQueryInterface.call(e(n),"toggle")}).on(_.FOCUS_BLUR_DATA_API,g.DATA_TOGGLE_CARROT,function(t){var n=e(t.target).closest(g.BUTTON)[0];e(n).toggleClass(m.FOCUS,/^focus(in)?$/.test(t.type))}),e.fn.button=v._jQueryInterface,e.fn.button.Constructor=v,e.fn.button.noConflict=function(){return e.fn.button=p,v._jQueryInterface};var E="carousel",T=".bs.carousel",b=e.fn[E],y={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},S={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},O={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},I={SLIDE:"slide.bs.carousel",SLID:"slid.bs.carousel",KEYDOWN:"keydown.bs.carousel",MOUSEENTER:"mouseenter.bs.carousel",MOUSELEAVE:"mouseleave.bs.carousel",TOUCHSTART:"touchstart.bs.carousel",TOUCHMOVE:"touchmove.bs.carousel",TOUCHEND:"touchend.bs.carousel",POINTERDOWN:"pointerdown.bs.carousel",POINTERUP:"pointerup.bs.carousel",DRAG_START:"dragstart.bs.carousel",LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},C={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},A={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},D={TOUCH:"touch",PEN:"pen"},w=function(){function t(t,e){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(e),this._element=t,this._indicatorsElement=this._element.querySelector(A.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(O.NEXT)},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(O.PREV)},n.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(A.NEXT_PREV)&&(c.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(t){t||(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))},n.to=function(t){var n=this;this._activeElement=this._element.querySelector(A.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one(I.SLID,function(){return n.to(t)});else{if(i===t)return this.pause(),void this.cycle();var o=t>i?O.NEXT:O.PREV;this._slide(o,this._items[t])}},n.dispose=function(){e(this._element).off(T),e.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},n._getConfig=function(t){return t=s({},y,t),c.typeCheckConfig(E,t,S),t},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(I.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&e(this._element).on(I.MOUSEENTER,function(e){return t.pause(e)}).on(I.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};e(this._element.querySelectorAll(A.ITEM_IMG)).on(I.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(e(this._element).on(I.POINTERDOWN,function(t){return n(t)}),e(this._element).on(I.POINTERUP,function(t){return i(t)}),this._element.classList.add(C.POINTER_EVENT)):(e(this._element).on(I.TOUCHSTART,function(t){return n(t)}),e(this._element).on(I.TOUCHMOVE,function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),e(this._element).on(I.TOUCHEND,function(t){return i(t)}))}},n._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(A.ITEM)):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n=t===O.NEXT,i=t===O.PREV,o=this._getItemIndex(e),r=this._items.length-1,s=i&&0===o||n&&o===r;if(s&&!this._config.wrap)return e;var a=t===O.PREV?-1:1,l=(o+a)%this._items.length;return-1===l?this._items[this._items.length-1]:this._items[l]},n._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(A.ACTIVE_ITEM)),r=e.Event(I.SLIDE,{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(r),r},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(A.ACTIVE));e(n).removeClass(C.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(C.ACTIVE)}},n._slide=function(t,n){var i,o,r,s=this,a=this._element.querySelector(A.ACTIVE_ITEM),l=this._getItemIndex(a),u=n||a&&this._getItemByDirection(t,a),h=this._getItemIndex(u),f=Boolean(this._interval);if(t===O.NEXT?(i=C.LEFT,o=C.NEXT,r=O.LEFT):(i=C.RIGHT,o=C.PREV,r=O.RIGHT),u&&e(u).hasClass(C.ACTIVE))this._isSliding=!1;else{var d=this._triggerSlideEvent(u,r);if(!d.isDefaultPrevented()&&a&&u){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(u);var p=e.Event(I.SLID,{relatedTarget:u,direction:r,from:l,to:h});if(e(this._element).hasClass(C.SLIDE)){e(u).addClass(o),c.reflow(u),e(a).addClass(i),e(u).addClass(i);var m=parseInt(u.getAttribute("data-interval"),10);m?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=m):this._config.interval=this._config.defaultInterval||this._config.interval;var g=c.getTransitionDurationFromElement(a);e(a).one(c.TRANSITION_END,function(){e(u).removeClass(i+" "+o).addClass(C.ACTIVE),e(a).removeClass(C.ACTIVE+" "+o+" "+i),s._isSliding=!1,setTimeout(function(){return e(s._element).trigger(p)},0)}).emulateTransitionEnd(g)}else e(a).removeClass(C.ACTIVE),e(u).addClass(C.ACTIVE),this._isSliding=!1,e(this._element).trigger(p);f&&this.cycle()}}},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.carousel"),o=s({},y,e(this).data());"object"==typeof n&&(o=s({},o,n));var r="string"==typeof n?n:o.slide;if(i||(i=new t(this,o),e(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof r){if(void 0===i[r])throw new TypeError('No method named "'+r+'"');i[r]()}else o.interval&&o.ride&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(n){var i=c.getSelectorFromElement(this);if(i){var o=e(i)[0];if(o&&e(o).hasClass(C.CAROUSEL)){var r=s({},e(o).data(),e(this).data()),a=this.getAttribute("data-slide-to");a&&(r.interval=!1),t._jQueryInterface.call(e(o),r),a&&e(o).data("bs.carousel").to(a),n.preventDefault()}}},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return y}}]),t}();e(document).on(I.CLICK_DATA_API,A.DATA_SLIDE,w._dataApiClickHandler),e(window).on(I.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(A.DATA_RIDE)),n=0,i=t.length;n<i;n++){var o=e(t[n]);w._jQueryInterface.call(o,o.data())}}),e.fn[E]=w._jQueryInterface,e.fn[E].Constructor=w,e.fn[E].noConflict=function(){return e.fn[E]=b,w._jQueryInterface};var N="collapse",L=e.fn[N],P={toggle:!0,parent:""},H={toggle:"boolean",parent:"(string|element)"},R={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},W={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},k={WIDTH:"width",HEIGHT:"height"},F={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},M=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(F.DATA_TOGGLE)),i=0,o=n.length;i<o;i++){var r=n[i],s=c.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&&a.length>0&&(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 n=t.prototype;return n.toggle=function(){e(this._element).hasClass(W.SHOW)?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!(this._isTransitioning||e(this._element).hasClass(W.SHOW)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(F.ACTIVES)).filter(function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains(W.COLLAPSE)})).length&&(n=null),n&&(i=e(n).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var r=e.Event(R.SHOW);if(e(this._element).trigger(r),!r.isDefaultPrevented()){n&&(t._jQueryInterface.call(e(n).not(this._selector),"hide"),i||e(n).data("bs.collapse",null));var s=this._getDimension();e(this._element).removeClass(W.COLLAPSE).addClass(W.COLLAPSING),this._element.style[s]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(W.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var a=s[0].toUpperCase()+s.slice(1),l="scroll"+a,u=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,function(){e(o._element).removeClass(W.COLLAPSING).addClass(W.COLLAPSE).addClass(W.SHOW),o._element.style[s]="",o.setTransitioning(!1),e(o._element).trigger(R.SHOWN)}).emulateTransitionEnd(u),this._element.style[s]=this._element[l]+"px"}}},n.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(W.SHOW)){var n=e.Event(R.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",c.reflow(this._element),e(this._element).addClass(W.COLLAPSING).removeClass(W.COLLAPSE).removeClass(W.SHOW);var o=this._triggerArray.length;if(o>0)for(var r=0;r<o;r++){var s=this._triggerArray[r],a=c.getSelectorFromElement(s);if(null!==a){var l=e([].slice.call(document.querySelectorAll(a)));l.hasClass(W.SHOW)||e(s).addClass(W.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0),this._element.style[i]="";var u=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,function(){t.setTransitioning(!1),e(t._element).removeClass(W.COLLAPSING).addClass(W.COLLAPSE).trigger(R.HIDDEN)}).emulateTransitionEnd(u)}}},n.setTransitioning=function(t){this._isTransitioning=t},n.dispose=function(){e.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(t){return(t=s({},P,t)).toggle=Boolean(t.toggle),c.typeCheckConfig(N,t,H),t},n._getDimension=function(){var t=e(this._element).hasClass(k.WIDTH);return t?k.WIDTH:k.HEIGHT},n._getParent=function(){var n,i=this;c.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(n.querySelectorAll(o));return e(r).each(function(e,n){i._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])}),n},n._addAriaAndCollapsedClass=function(t,n){var i=e(t).hasClass(W.SHOW);n.length&&e(n).toggleClass(W.COLLAPSED,!i).attr("aria-expanded",i)},t._getTargetFromElement=function(t){var e=c.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.collapse"),r=s({},P,i.data(),"object"==typeof n&&n?n:{});if(!o&&r.toggle&&/show|hide/.test(n)&&(r.toggle=!1),o||(o=new t(this,r),i.data("bs.collapse",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return P}}]),t}();e(document).on(R.CLICK_DATA_API,F.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=e(this),i=c.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(i));e(o).each(function(){var t=e(this),i=t.data("bs.collapse"),o=i?"toggle":n.data();M._jQueryInterface.call(t,o)})}),e.fn[N]=M._jQueryInterface,e.fn[N].Constructor=M,e.fn[N].noConflict=function(){return e.fn[N]=L,M._jQueryInterface};var x="dropdown",U=e.fn[x],V=new RegExp("38|40|27"),j={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},B={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},G={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},K={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},q={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Q={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Y=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var i=t.prototype;return i.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(B.DISABLED)){var i=t._getParentFromElement(this._element),o=e(this._menu).hasClass(B.SHOW);if(t._clearMenus(),!o){var r={relatedTarget:this._element},s=e.Event(j.SHOW,r);if(e(i).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=i:c.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(i).addClass(B.POSITION_STATIC),this._popper=new n(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(i).closest(G.NAVBAR_NAV).length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(B.SHOW),e(i).toggleClass(B.SHOW).trigger(e.Event(j.SHOWN,r))}}}},i.show=function(){if(!(this._element.disabled||e(this._element).hasClass(B.DISABLED)||e(this._menu).hasClass(B.SHOW))){var n={relatedTarget:this._element},i=e.Event(j.SHOW,n),o=t._getParentFromElement(this._element);e(o).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(B.SHOW),e(o).toggleClass(B.SHOW).trigger(e.Event(j.SHOWN,n)))}},i.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass(B.DISABLED)&&e(this._menu).hasClass(B.SHOW)){var n={relatedTarget:this._element},i=e.Event(j.HIDE,n),o=t._getParentFromElement(this._element);e(o).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(B.SHOW),e(o).toggleClass(B.SHOW).trigger(e.Event(j.HIDDEN,n)))}},i.dispose=function(){e.removeData(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var t=this;e(this._element).on(j.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},i._getConfig=function(t){return t=s({},this.constructor.Default,e(this._element).data(),t),c.typeCheckConfig(x,t,this.constructor.DefaultType),t},i._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(G.MENU))}return this._menu},i._getPlacement=function(){var t=e(this._element.parentNode),n=K.BOTTOM;return t.hasClass(B.DROPUP)?(n=K.TOP,e(this._menu).hasClass(B.MENURIGHT)&&(n=K.TOPEND)):t.hasClass(B.DROPRIGHT)?n=K.RIGHT:t.hasClass(B.DROPLEFT)?n=K.LEFT:e(this._menu).hasClass(B.MENURIGHT)&&(n=K.BOTTOMEND),n},i._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},i._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},i._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.dropdown"),o="object"==typeof n?n:null;if(i||(i=new t(this,o),e(this).data("bs.dropdown",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},t._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll(G.DATA_TOGGLE)),o=0,r=i.length;o<r;o++){var s=t._getParentFromElement(i[o]),a=e(i[o]).data("bs.dropdown"),l={relatedTarget:i[o]};if(n&&"click"===n.type&&(l.clickEvent=n),a){var c=a._menu;if(e(s).hasClass(B.SHOW)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"keyup"===n.type&&9===n.which)&&e.contains(s,n.target))){var u=e.Event(j.HIDE,l);e(s).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),i[o].setAttribute("aria-expanded","false"),e(c).removeClass(B.SHOW),e(s).removeClass(B.SHOW).trigger(e.Event(j.HIDDEN,l)))}}}},t._getParentFromElement=function(t){var e,n=c.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(n){if((/input|textarea/i.test(n.target.tagName)?!(32===n.which||27!==n.which&&(40!==n.which&&38!==n.which||e(n.target).closest(G.MENU).length)):V.test(n.which))&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!e(this).hasClass(B.DISABLED))){var i=t._getParentFromElement(this),o=e(i).hasClass(B.SHOW);if(o&&(!o||27!==n.which&&32!==n.which)){var r=[].slice.call(i.querySelectorAll(G.VISIBLE_ITEMS));if(0!==r.length){var s=r.indexOf(n.target);38===n.which&&s>0&&s--,40===n.which&&s<r.length-1&&s++,s<0&&(s=0),r[s].focus()}}else{if(27===n.which){var a=i.querySelector(G.DATA_TOGGLE);e(a).trigger("focus")}e(this).trigger("click")}}},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return q}},{key:"DefaultType",get:function(){return Q}}]),t}();e(document).on(j.KEYDOWN_DATA_API,G.DATA_TOGGLE,Y._dataApiKeydownHandler).on(j.KEYDOWN_DATA_API,G.MENU,Y._dataApiKeydownHandler).on(j.CLICK_DATA_API+" "+j.KEYUP_DATA_API,Y._clearMenus).on(j.CLICK_DATA_API,G.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),Y._jQueryInterface.call(e(this),"toggle")}).on(j.CLICK_DATA_API,G.FORM_CHILD,function(t){t.stopPropagation()}),e.fn[x]=Y._jQueryInterface,e.fn[x].Constructor=Y,e.fn[x].noConflict=function(){return e.fn[x]=U,Y._jQueryInterface};var X=e.fn.modal,z={backdrop:!0,keyboard:!0,focus:!0,show:!0},$={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},J={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},Z={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},tt={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},et=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(tt.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var n=t.prototype;return n.toggle=function(t){return this._isShown?this.hide():this.show(t)},n.show=function(t){var n=this;if(!this._isShown&&!this._isTransitioning){e(this._element).hasClass(Z.FADE)&&(this._isTransitioning=!0);var i=e.Event(J.SHOW,{relatedTarget:t});e(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(J.CLICK_DISMISS,tt.DATA_DISMISS,function(t){return n.hide(t)}),e(this._dialog).on(J.MOUSEDOWN_DISMISS,function(){e(n._element).one(J.MOUSEUP_DISMISS,function(t){e(t.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)}))}},n.hide=function(t){var n=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=e.Event(J.HIDE);if(e(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var o=e(this._element).hasClass(Z.FADE);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(J.FOCUSIN),e(this._element).removeClass(Z.SHOW),e(this._element).off(J.CLICK_DISMISS),e(this._dialog).off(J.MOUSEDOWN_DISMISS),o){var r=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,function(t){return n._hideModal(t)}).emulateTransitionEnd(r)}else this._hideModal()}}},n.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return e(t).off(".bs.modal")}),e(document).off(J.FOCUSIN),e.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},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(t){return t=s({},z,t),c.typeCheckConfig("modal",t,$),t},n._showElement=function(t){var n=this,i=e(this._element).hasClass(Z.FADE);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),e(this._dialog).hasClass(Z.SCROLLABLE)?this._dialog.querySelector(tt.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,i&&c.reflow(this._element),e(this._element).addClass(Z.SHOW),this._config.focus&&this._enforceFocus();var o=e.Event(J.SHOWN,{relatedTarget:t}),r=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,e(n._element).trigger(o)};if(i){var s=c.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(c.TRANSITION_END,r).emulateTransitionEnd(s)}else r()},n._enforceFocus=function(){var t=this;e(document).off(J.FOCUSIN).on(J.FOCUSIN,function(n){document!==n.target&&t._element!==n.target&&0===e(t._element).has(n.target).length&&t._element.focus()})},n._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?e(this._element).on(J.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||e(this._element).off(J.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var t=this;this._isShown?e(window).on(J.RESIZE,function(e){return t.handleUpdate(e)}):e(window).off(J.RESIZE)},n._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){e(document.body).removeClass(Z.OPEN),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(J.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(t){var n=this,i=e(this._element).hasClass(Z.FADE)?Z.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Z.BACKDROP,i&&this._backdrop.classList.add(i),e(this._backdrop).appendTo(document.body),e(this._element).on(J.CLICK_DISMISS,function(t){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),i&&c.reflow(this._backdrop),e(this._backdrop).addClass(Z.SHOW),!t)return;if(!i)return void t();var o=c.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(c.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(Z.SHOW);var r=function(){n._removeBackdrop(),t&&t()};if(e(this._element).hasClass(Z.FADE)){var s=c.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(c.TRANSITION_END,r).emulateTransitionEnd(s)}else r()}else t&&t()},n._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(tt.STICKY_CONTENT));e(n).each(function(n,i){var o=i.style.paddingRight,r=e(i).css("padding-right");e(i).data("padding-right",o).css("padding-right",parseFloat(r)+t._scrollbarWidth+"px")}),e(i).each(function(n,i){var o=i.style.marginRight,r=e(i).css("margin-right");e(i).data("margin-right",o).css("margin-right",parseFloat(r)-t._scrollbarWidth+"px")});var o=document.body.style.paddingRight,r=e(document.body).css("padding-right");e(document.body).data("padding-right",o).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}e(document.body).addClass(Z.OPEN)},n._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT));e(t).each(function(t,n){var i=e(n).data("padding-right");e(n).removeData("padding-right"),n.style.paddingRight=i||""});var n=[].slice.call(document.querySelectorAll(""+tt.STICKY_CONTENT));e(n).each(function(t,n){var i=e(n).data("margin-right");void 0!==i&&e(n).css("margin-right",i).removeData("margin-right")});var i=e(document.body).data("padding-right");e(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Z.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(n,i){return this.each(function(){var o=e(this).data("bs.modal"),r=s({},z,e(this).data(),"object"==typeof n&&n?n:{});if(o||(o=new t(this,r),e(this).data("bs.modal",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n](i)}else r.show&&o.show(i)})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return z}}]),t}();e(document).on(J.CLICK_DATA_API,tt.DATA_TOGGLE,function(t){var n,i=this,o=c.getSelectorFromElement(this);o&&(n=document.querySelector(o));var r=e(n).data("bs.modal")?"toggle":s({},e(n).data(),e(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var a=e(n).one(J.SHOW,function(t){t.isDefaultPrevented()||a.one(J.HIDDEN,function(){e(i).is(":visible")&&i.focus()})});et._jQueryInterface.call(e(n),r,this)}),e.fn.modal=et._jQueryInterface,e.fn.modal.Constructor=et,e.fn.modal.noConflict=function(){return e.fn.modal=X,et._jQueryInterface};var nt=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],it={"*":["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","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ot=/^(?:(?:https?|mailto|ftp|tel|file):|[^&: \/?#]*(?:[\/?#]|$))/gi,rt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function st(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=new window.DOMParser,o=i.parseFromString(t,"text/html"),r=Object.keys(e),s=[].slice.call(o.body.querySelectorAll("*")),a=function(t,n){var i=s[t],o=i.nodeName.toLowerCase();if(-1===r.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var a=[].slice.call(i.attributes),l=[].concat(e["*"]||[],e[o]||[]);a.forEach(function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===nt.indexOf(n)||Boolean(t.nodeValue.match(ot)||t.nodeValue.match(rt));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(t,l)||i.removeAttribute(t.nodeName)})},l=0,c=s.length;l<c;l++)a(l);return o.body.innerHTML}var at="tooltip",lt=e.fn.tooltip,ct=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ut=["sanitize","whiteList","sanitizeFn"],ht={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)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},ft={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},dt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:it},pt={SHOW:"show",OUT:"out"},mt={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"},gt={FADE:"fade",SHOW:"show"},_t={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},vt={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},Et=function(){function t(t,e){if(void 0===n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var i=t.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(gt.SHOW))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var o=c.findShadowRoot(this.element),r=e.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!r)return;var s=this.getTipElement(),a=c.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&e(s).addClass(gt.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(l);this.addAttachmentClass(u);var h=this._getContainer();e(s).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(s).appendTo(h),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,s,{placement:u,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:_t.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),e(s).addClass(gt.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var f=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===pt.OUT&&t._leave(null,t)};if(e(this.tip).hasClass(gt.FADE)){var d=c.getTransitionDurationFromElement(this.tip);e(this.tip).one(c.TRANSITION_END,f).emulateTransitionEnd(d)}else f()}},i.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==pt.SHOW&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(i).removeClass(gt.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[vt.CLICK]=!1,this._activeTrigger[vt.FOCUS]=!1,this._activeTrigger[vt.HOVER]=!1,e(this.tip).hasClass(gt.FADE)){var s=c.getTransitionDurationFromElement(i);e(i).one(c.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},i.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},i.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(_t.TOOLTIP_INNER)),this.getTitle()),e(t).removeClass(gt.FADE+" "+gt.SHOW)},i.setElementContent=function(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=st(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},i.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},i._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},i._getContainer=function(){return!1===this.config.container?document.body:c.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},i._getAttachment=function(t){return ft[t.toUpperCase()]},i._setListeners=function(){var t=this,n=this.config.trigger.split(" ");n.forEach(function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(n!==vt.MANUAL){var i=n===vt.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=n===vt.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(o,t.config.selector,function(e){return t._leave(e)})}}),e(this.element).closest(".modal").on("hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?vt.FOCUS:vt.HOVER]=!0),e(n.getTipElement()).hasClass(gt.SHOW)||n._hoverState===pt.SHOW?n._hoverState=pt.SHOW:(clearTimeout(n._timeout),n._hoverState=pt.SHOW,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===pt.SHOW&&n.show()},n.config.delay.show):n.show())},i._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?vt.FOCUS:vt.HOVER]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=pt.OUT,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===pt.OUT&&n.hide()},n.config.delay.hide):n.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach(function(t){-1!==ut.indexOf(t)&&delete n[t]}),"number"==typeof(t=s({},this.constructor.Default,n,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),c.typeCheckConfig(at,t,this.constructor.DefaultType),t.sanitize&&(t.template=st(t.template,t.whiteList,t.sanitizeFn)),t},i._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},i._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(ct);null!==n&&n.length&&t.removeClass(n.join(""))},i._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(gt.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.tooltip"),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,o),e(this).data("bs.tooltip",i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return dt}},{key:"NAME",get:function(){return at}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return mt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return ht}}]),t}();e.fn.tooltip=Et._jQueryInterface,e.fn.tooltip.Constructor=Et,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=lt,Et._jQueryInterface};var Tt="popover",bt=e.fn.popover,yt=new RegExp("(^|\\s)bs-popover\\S+","g"),St=s({},Et.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>'}),Ot=s({},Et.DefaultType,{content:"(string|element|function)"}),It={FADE:"fade",SHOW:"show"},Ct={TITLE:".popover-header",CONTENT:".popover-body"},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"},Dt=function(t){var n,i;function r(){return t.apply(this,arguments)||this}i=t,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var s=r.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},s.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},s.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(Ct.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(Ct.CONTENT),n),t.removeClass(It.FADE+" "+It.SHOW)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(yt);null!==n&&n.length>0&&t.removeClass(n.join(""))},r._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.popover"),i="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new r(this,i),e(this).data("bs.popover",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},o(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return St}},{key:"NAME",get:function(){return Tt}},{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 Ot}}]),r}(Et);e.fn.popover=Dt._jQueryInterface,e.fn.popover.Constructor=Dt,e.fn.popover.noConflict=function(){return e.fn.popover=bt,Dt._jQueryInterface};var wt="scrollspy",Nt=e.fn[wt],Lt={offset:10,method:"auto",target:""},Pt={offset:"number",method:"string",target:"(string|element)"},Ht={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Rt={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},Wt={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},kt={OFFSET:"offset",POSITION:"position"},Ft=function(){function t(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+Wt.NAV_LINKS+","+this._config.target+" "+Wt.LIST_ITEMS+","+this._config.target+" "+Wt.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(Ht.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?kt.OFFSET:kt.POSITION,i="auto"===this._config.method?n:this._config.method,o=i===kt.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var r=[].slice.call(document.querySelectorAll(this._selector));r.map(function(t){var n,r=c.getSelectorFromElement(t);if(r&&(n=document.querySelector(r)),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[e(n)[i]().top+o,r]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},n.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(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},n._getConfig=function(t){if("string"!=typeof(t=s({},Lt,"object"==typeof t&&t?t:{})).target){var n=e(t.target).attr("id");n||(n=c.getUID(wt),e(t.target).attr("id",n)),t.target="#"+n}return c.typeCheckConfig(wt,t,Pt),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length,r=o;r--;){var s=this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&(void 0===this._offsets[r+1]||t<this._offsets[r+1]);s&&this._activate(this._targets[r])}}},n._activate=function(t){this._activeTarget=t,this._clear();var n=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),i=e([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass(Rt.DROPDOWN_ITEM)?(i.closest(Wt.DROPDOWN).find(Wt.DROPDOWN_TOGGLE).addClass(Rt.ACTIVE),i.addClass(Rt.ACTIVE)):(i.addClass(Rt.ACTIVE),i.parents(Wt.NAV_LIST_GROUP).prev(Wt.NAV_LINKS+", "+Wt.LIST_ITEMS).addClass(Rt.ACTIVE),i.parents(Wt.NAV_LIST_GROUP).prev(Wt.NAV_ITEMS).children(Wt.NAV_LINKS).addClass(Rt.ACTIVE)),e(this._scrollElement).trigger(Ht.ACTIVATE,{relatedTarget:t})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(Rt.ACTIVE)}).forEach(function(t){return t.classList.remove(Rt.ACTIVE)})},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.scrollspy"),o="object"==typeof n&&n;if(i||(i=new t(this,o),e(this).data("bs.scrollspy",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Lt}}]),t}();e(window).on(Ht.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(Wt.DATA_SPY)),n=t.length,i=n;i--;){var o=e(t[i]);Ft._jQueryInterface.call(o,o.data())}}),e.fn[wt]=Ft._jQueryInterface,e.fn[wt].Constructor=Ft,e.fn[wt].noConflict=function(){return e.fn[wt]=Nt,Ft._jQueryInterface};var Mt=e.fn.tab,xt={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},Ut={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},Vt={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},jt=function(){function t(t){this._element=t}var n=t.prototype;return n.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(Ut.ACTIVE)||e(this._element).hasClass(Ut.DISABLED))){var n,i,o=e(this._element).closest(Vt.NAV_LIST_GROUP)[0],r=c.getSelectorFromElement(this._element);if(o){var s="UL"===o.nodeName||"OL"===o.nodeName?Vt.ACTIVE_UL:Vt.ACTIVE;i=(i=e.makeArray(e(o).find(s)))[i.length-1]}var a=e.Event(xt.HIDE,{relatedTarget:this._element}),l=e.Event(xt.SHOW,{relatedTarget:i});if(i&&e(i).trigger(a),e(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(n=document.querySelector(r)),this._activate(this._element,o);var u=function(){var n=e.Event(xt.HIDDEN,{relatedTarget:t._element}),o=e.Event(xt.SHOWN,{relatedTarget:i});e(i).trigger(n),e(t._element).trigger(o)};n?this._activate(n,n.parentNode,u):u()}}},n.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(t,n,i){var o=this,r=!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?e(n).children(Vt.ACTIVE):e(n).find(Vt.ACTIVE_UL),s=r[0],a=i&&s&&e(s).hasClass(Ut.FADE),l=function(){return o._transitionComplete(t,s,i)};if(s&&a){var u=c.getTransitionDurationFromElement(s);e(s).removeClass(Ut.SHOW).one(c.TRANSITION_END,l).emulateTransitionEnd(u)}else l()},n._transitionComplete=function(t,n,i){if(n){e(n).removeClass(Ut.ACTIVE);var o=e(n.parentNode).find(Vt.DROPDOWN_ACTIVE_CHILD)[0];o&&e(o).removeClass(Ut.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass(Ut.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),c.reflow(t),t.classList.contains(Ut.FADE)&&t.classList.add(Ut.SHOW),t.parentNode&&e(t.parentNode).hasClass(Ut.DROPDOWN_MENU)){var r=e(t).closest(Vt.DROPDOWN)[0];if(r){var s=[].slice.call(r.querySelectorAll(Vt.DROPDOWN_TOGGLE));e(s).addClass(Ut.ACTIVE)}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.tab");if(o||(o=new t(this),i.data("bs.tab",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(xt.CLICK_DATA_API,Vt.DATA_TOGGLE,function(t){t.preventDefault(),jt._jQueryInterface.call(e(this),"show")}),e.fn.tab=jt._jQueryInterface,e.fn.tab.Constructor=jt,e.fn.tab.noConflict=function(){return e.fn.tab=Mt,jt._jQueryInterface};var Bt=e.fn.toast,Gt={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},Kt={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},qt={animation:"boolean",autohide:"boolean",delay:"number"},Qt={animation:!0,autohide:!0,delay:500},Yt={DATA_DISMISS:'[data-dismiss="toast"]'},Xt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var n=t.prototype;return n.show=function(){var t=this;e(this._element).trigger(Gt.SHOW),this._config.animation&&this._element.classList.add(Kt.FADE);var n=function(){t._element.classList.remove(Kt.SHOWING),t._element.classList.add(Kt.SHOW),e(t._element).trigger(Gt.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(Kt.HIDE),this._element.classList.add(Kt.SHOWING),this._config.animation){var i=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(t){var n=this;this._element.classList.contains(Kt.SHOW)&&(e(this._element).trigger(Gt.HIDE),t?this._close():this._timeout=setTimeout(function(){n._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Kt.SHOW)&&this._element.classList.remove(Kt.SHOW),e(this._element).off(Gt.CLICK_DISMISS),e.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(t){return t=s({},Qt,e(this._element).data(),"object"==typeof t&&t?t:{}),c.typeCheckConfig("toast",t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;e(this._element).on(Gt.CLICK_DISMISS,Yt.DATA_DISMISS,function(){return t.hide(!0)})},n._close=function(){var t=this,n=function(){t._element.classList.add(Kt.HIDE),e(t._element).trigger(Gt.HIDDEN)};if(this._element.classList.remove(Kt.SHOW),this._config.animation){var i=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.toast"),r="object"==typeof n&&n;if(o||(o=new t(this,r),i.data("bs.toast",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n](this)}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return qt}},{key:"Default",get:function(){return Qt}}]),t}();e.fn.toast=Xt._jQueryInterface,e.fn.toast.Constructor=Xt,e.fn.toast.noConflict=function(){return e.fn.toast=Bt,Xt._jQueryInterface},function(){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=c,t.Alert=d,t.Button=v,t.Carousel=w,t.Collapse=M,t.Dropdown=Y,t.Modal=et,t.Popover=Dt,t.Scrollspy=Ft,t.Tab=jt,t.Toast=Xt,t.Tooltip=Et,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(3),n(4))},function(t,e){t.exports=jQuery},function(t,e,n){"use strict";n.r(e),function(t){for(7 !function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){r(t,e,n[e])})}return t}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var a="transitionend";function l(t){var n=this,i=!1;return e(this).one(c.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||c.triggerTransitionEnd(n)},t),this}var c={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var n=e(t).css("transition-duration"),i=e(t).css("transition-delay"),o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(a)},supportsTransitionEnd:function(){return Boolean(a)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],s=r&&c.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c.findShadowRoot(t.parentNode):null}};e.fn.emulateTransitionEnd=l,e.event.special[c.TRANSITION_END]={bindType:a,delegateType:a,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var u=e.fn.alert,h={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},f={ALERT:"alert",FADE:"fade",SHOW:"show"},d=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);n.isDefaultPrevented()||this._removeElement(e)},n.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(t){var n=c.getSelectorFromElement(t),i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest("."+f.ALERT)[0]),i},n._triggerCloseEvent=function(t){var n=e.Event(h.CLOSE);return e(t).trigger(n),n},n._removeElement=function(t){var n=this;if(e(t).removeClass(f.SHOW),e(t).hasClass(f.FADE)){var i=c.getTransitionDurationFromElement(t);e(t).one(c.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(i)}else this._destroyElement(t)},n._destroyElement=function(t){e(t).detach().trigger(h.CLOSED).remove()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.alert");o||(o=new t(this),i.data("bs.alert",o)),"close"===n&&o[n](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',d._handleDismiss(new d)),e.fn.alert=d._jQueryInterface,e.fn.alert.Constructor=d,e.fn.alert.noConflict=function(){return e.fn.alert=u,d._jQueryInterface};var p=e.fn.button,m={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},g={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},_={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},v=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,i=e(this._element).closest(g.DATA_TOGGLE)[0];if(i){var o=this._element.querySelector(g.INPUT);if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains(m.ACTIVE))t=!1;else{var r=i.querySelector(g.ACTIVE);r&&e(r).removeClass(m.ACTIVE)}if(t){if(o.hasAttribute("disabled")||i.hasAttribute("disabled")||o.classList.contains("disabled")||i.classList.contains("disabled"))return;o.checked=!this._element.classList.contains(m.ACTIVE),e(o).trigger("change")}o.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(m.ACTIVE)),t&&e(this._element).toggleClass(m.ACTIVE)},n.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.button");i||(i=new t(this),e(this).data("bs.button",i)),"toggle"===n&&i[n]()})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(_.CLICK_DATA_API,g.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var n=t.target;e(n).hasClass(m.BUTTON)||(n=e(n).closest(g.BUTTON)),v._jQueryInterface.call(e(n),"toggle")}).on(_.FOCUS_BLUR_DATA_API,g.DATA_TOGGLE_CARROT,function(t){var n=e(t.target).closest(g.BUTTON)[0];e(n).toggleClass(m.FOCUS,/^focus(in)?$/.test(t.type))}),e.fn.button=v._jQueryInterface,e.fn.button.Constructor=v,e.fn.button.noConflict=function(){return e.fn.button=p,v._jQueryInterface};var E="carousel",T=".bs.carousel",b=e.fn[E],y={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},S={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},O={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},I={SLIDE:"slide.bs.carousel",SLID:"slid.bs.carousel",KEYDOWN:"keydown.bs.carousel",MOUSEENTER:"mouseenter.bs.carousel",MOUSELEAVE:"mouseleave.bs.carousel",TOUCHSTART:"touchstart.bs.carousel",TOUCHMOVE:"touchmove.bs.carousel",TOUCHEND:"touchend.bs.carousel",POINTERDOWN:"pointerdown.bs.carousel",POINTERUP:"pointerup.bs.carousel",DRAG_START:"dragstart.bs.carousel",LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},C={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},A={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},D={TOUCH:"touch",PEN:"pen"},w=function(){function t(t,e){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(e),this._element=t,this._indicatorsElement=this._element.querySelector(A.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(O.NEXT)},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(O.PREV)},n.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(A.NEXT_PREV)&&(c.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(t){t||(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))},n.to=function(t){var n=this;this._activeElement=this._element.querySelector(A.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one(I.SLID,function(){return n.to(t)});else{if(i===t)return this.pause(),void this.cycle();var o=t>i?O.NEXT:O.PREV;this._slide(o,this._items[t])}},n.dispose=function(){e(this._element).off(T),e.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},n._getConfig=function(t){return t=s({},y,t),c.typeCheckConfig(E,t,S),t},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(I.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&e(this._element).on(I.MOUSEENTER,function(e){return t.pause(e)}).on(I.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};e(this._element.querySelectorAll(A.ITEM_IMG)).on(I.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(e(this._element).on(I.POINTERDOWN,function(t){return n(t)}),e(this._element).on(I.POINTERUP,function(t){return i(t)}),this._element.classList.add(C.POINTER_EVENT)):(e(this._element).on(I.TOUCHSTART,function(t){return n(t)}),e(this._element).on(I.TOUCHMOVE,function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),e(this._element).on(I.TOUCHEND,function(t){return i(t)}))}},n._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(A.ITEM)):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n=t===O.NEXT,i=t===O.PREV,o=this._getItemIndex(e),r=this._items.length-1,s=i&&0===o||n&&o===r;if(s&&!this._config.wrap)return e;var a=t===O.PREV?-1:1,l=(o+a)%this._items.length;return-1===l?this._items[this._items.length-1]:this._items[l]},n._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(A.ACTIVE_ITEM)),r=e.Event(I.SLIDE,{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(r),r},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(A.ACTIVE));e(n).removeClass(C.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(C.ACTIVE)}},n._slide=function(t,n){var i,o,r,s=this,a=this._element.querySelector(A.ACTIVE_ITEM),l=this._getItemIndex(a),u=n||a&&this._getItemByDirection(t,a),h=this._getItemIndex(u),f=Boolean(this._interval);if(t===O.NEXT?(i=C.LEFT,o=C.NEXT,r=O.LEFT):(i=C.RIGHT,o=C.PREV,r=O.RIGHT),u&&e(u).hasClass(C.ACTIVE))this._isSliding=!1;else{var d=this._triggerSlideEvent(u,r);if(!d.isDefaultPrevented()&&a&&u){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(u);var p=e.Event(I.SLID,{relatedTarget:u,direction:r,from:l,to:h});if(e(this._element).hasClass(C.SLIDE)){e(u).addClass(o),c.reflow(u),e(a).addClass(i),e(u).addClass(i);var m=parseInt(u.getAttribute("data-interval"),10);m?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=m):this._config.interval=this._config.defaultInterval||this._config.interval;var g=c.getTransitionDurationFromElement(a);e(a).one(c.TRANSITION_END,function(){e(u).removeClass(i+" "+o).addClass(C.ACTIVE),e(a).removeClass(C.ACTIVE+" "+o+" "+i),s._isSliding=!1,setTimeout(function(){return e(s._element).trigger(p)},0)}).emulateTransitionEnd(g)}else e(a).removeClass(C.ACTIVE),e(u).addClass(C.ACTIVE),this._isSliding=!1,e(this._element).trigger(p);f&&this.cycle()}}},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.carousel"),o=s({},y,e(this).data());"object"==typeof n&&(o=s({},o,n));var r="string"==typeof n?n:o.slide;if(i||(i=new t(this,o),e(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof r){if(void 0===i[r])throw new TypeError('No method named "'+r+'"');i[r]()}else o.interval&&o.ride&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(n){var i=c.getSelectorFromElement(this);if(i){var o=e(i)[0];if(o&&e(o).hasClass(C.CAROUSEL)){var r=s({},e(o).data(),e(this).data()),a=this.getAttribute("data-slide-to");a&&(r.interval=!1),t._jQueryInterface.call(e(o),r),a&&e(o).data("bs.carousel").to(a),n.preventDefault()}}},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return y}}]),t}();e(document).on(I.CLICK_DATA_API,A.DATA_SLIDE,w._dataApiClickHandler),e(window).on(I.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(A.DATA_RIDE)),n=0,i=t.length;n<i;n++){var o=e(t[n]);w._jQueryInterface.call(o,o.data())}}),e.fn[E]=w._jQueryInterface,e.fn[E].Constructor=w,e.fn[E].noConflict=function(){return e.fn[E]=b,w._jQueryInterface};var N="collapse",L=e.fn[N],P={toggle:!0,parent:""},H={toggle:"boolean",parent:"(string|element)"},R={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},W={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},k={WIDTH:"width",HEIGHT:"height"},F={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},M=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(F.DATA_TOGGLE)),i=0,o=n.length;i<o;i++){var r=n[i],s=c.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&&a.length>0&&(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 n=t.prototype;return n.toggle=function(){e(this._element).hasClass(W.SHOW)?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!(this._isTransitioning||e(this._element).hasClass(W.SHOW)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(F.ACTIVES)).filter(function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains(W.COLLAPSE)})).length&&(n=null),n&&(i=e(n).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var r=e.Event(R.SHOW);if(e(this._element).trigger(r),!r.isDefaultPrevented()){n&&(t._jQueryInterface.call(e(n).not(this._selector),"hide"),i||e(n).data("bs.collapse",null));var s=this._getDimension();e(this._element).removeClass(W.COLLAPSE).addClass(W.COLLAPSING),this._element.style[s]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(W.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var a=s[0].toUpperCase()+s.slice(1),l="scroll"+a,u=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,function(){e(o._element).removeClass(W.COLLAPSING).addClass(W.COLLAPSE).addClass(W.SHOW),o._element.style[s]="",o.setTransitioning(!1),e(o._element).trigger(R.SHOWN)}).emulateTransitionEnd(u),this._element.style[s]=this._element[l]+"px"}}},n.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(W.SHOW)){var n=e.Event(R.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",c.reflow(this._element),e(this._element).addClass(W.COLLAPSING).removeClass(W.COLLAPSE).removeClass(W.SHOW);var o=this._triggerArray.length;if(o>0)for(var r=0;r<o;r++){var s=this._triggerArray[r],a=c.getSelectorFromElement(s);if(null!==a){var l=e([].slice.call(document.querySelectorAll(a)));l.hasClass(W.SHOW)||e(s).addClass(W.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0),this._element.style[i]="";var u=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,function(){t.setTransitioning(!1),e(t._element).removeClass(W.COLLAPSING).addClass(W.COLLAPSE).trigger(R.HIDDEN)}).emulateTransitionEnd(u)}}},n.setTransitioning=function(t){this._isTransitioning=t},n.dispose=function(){e.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(t){return(t=s({},P,t)).toggle=Boolean(t.toggle),c.typeCheckConfig(N,t,H),t},n._getDimension=function(){var t=e(this._element).hasClass(k.WIDTH);return t?k.WIDTH:k.HEIGHT},n._getParent=function(){var n,i=this;c.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(n.querySelectorAll(o));return e(r).each(function(e,n){i._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])}),n},n._addAriaAndCollapsedClass=function(t,n){var i=e(t).hasClass(W.SHOW);n.length&&e(n).toggleClass(W.COLLAPSED,!i).attr("aria-expanded",i)},t._getTargetFromElement=function(t){var e=c.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.collapse"),r=s({},P,i.data(),"object"==typeof n&&n?n:{});if(!o&&r.toggle&&/show|hide/.test(n)&&(r.toggle=!1),o||(o=new t(this,r),i.data("bs.collapse",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return P}}]),t}();e(document).on(R.CLICK_DATA_API,F.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=e(this),i=c.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(i));e(o).each(function(){var t=e(this),i=t.data("bs.collapse"),o=i?"toggle":n.data();M._jQueryInterface.call(t,o)})}),e.fn[N]=M._jQueryInterface,e.fn[N].Constructor=M,e.fn[N].noConflict=function(){return e.fn[N]=L,M._jQueryInterface};var x="dropdown",U=e.fn[x],V=new RegExp("38|40|27"),j={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},B={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},G={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},K={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},q={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Q={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Y=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var i=t.prototype;return i.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(B.DISABLED)){var i=t._getParentFromElement(this._element),o=e(this._menu).hasClass(B.SHOW);if(t._clearMenus(),!o){var r={relatedTarget:this._element},s=e.Event(j.SHOW,r);if(e(i).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=i:c.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(i).addClass(B.POSITION_STATIC),this._popper=new n(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(i).closest(G.NAVBAR_NAV).length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(B.SHOW),e(i).toggleClass(B.SHOW).trigger(e.Event(j.SHOWN,r))}}}},i.show=function(){if(!(this._element.disabled||e(this._element).hasClass(B.DISABLED)||e(this._menu).hasClass(B.SHOW))){var n={relatedTarget:this._element},i=e.Event(j.SHOW,n),o=t._getParentFromElement(this._element);e(o).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(B.SHOW),e(o).toggleClass(B.SHOW).trigger(e.Event(j.SHOWN,n)))}},i.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass(B.DISABLED)&&e(this._menu).hasClass(B.SHOW)){var n={relatedTarget:this._element},i=e.Event(j.HIDE,n),o=t._getParentFromElement(this._element);e(o).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(B.SHOW),e(o).toggleClass(B.SHOW).trigger(e.Event(j.HIDDEN,n)))}},i.dispose=function(){e.removeData(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var t=this;e(this._element).on(j.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},i._getConfig=function(t){return t=s({},this.constructor.Default,e(this._element).data(),t),c.typeCheckConfig(x,t,this.constructor.DefaultType),t},i._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(G.MENU))}return this._menu},i._getPlacement=function(){var t=e(this._element.parentNode),n=K.BOTTOM;return t.hasClass(B.DROPUP)?(n=K.TOP,e(this._menu).hasClass(B.MENURIGHT)&&(n=K.TOPEND)):t.hasClass(B.DROPRIGHT)?n=K.RIGHT:t.hasClass(B.DROPLEFT)?n=K.LEFT:e(this._menu).hasClass(B.MENURIGHT)&&(n=K.BOTTOMEND),n},i._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},i._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},i._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.dropdown"),o="object"==typeof n?n:null;if(i||(i=new t(this,o),e(this).data("bs.dropdown",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},t._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll(G.DATA_TOGGLE)),o=0,r=i.length;o<r;o++){var s=t._getParentFromElement(i[o]),a=e(i[o]).data("bs.dropdown"),l={relatedTarget:i[o]};if(n&&"click"===n.type&&(l.clickEvent=n),a){var c=a._menu;if(e(s).hasClass(B.SHOW)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"keyup"===n.type&&9===n.which)&&e.contains(s,n.target))){var u=e.Event(j.HIDE,l);e(s).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),i[o].setAttribute("aria-expanded","false"),e(c).removeClass(B.SHOW),e(s).removeClass(B.SHOW).trigger(e.Event(j.HIDDEN,l)))}}}},t._getParentFromElement=function(t){var e,n=c.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(n){if((/input|textarea/i.test(n.target.tagName)?!(32===n.which||27!==n.which&&(40!==n.which&&38!==n.which||e(n.target).closest(G.MENU).length)):V.test(n.which))&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!e(this).hasClass(B.DISABLED))){var i=t._getParentFromElement(this),o=e(i).hasClass(B.SHOW);if(o&&(!o||27!==n.which&&32!==n.which)){var r=[].slice.call(i.querySelectorAll(G.VISIBLE_ITEMS));if(0!==r.length){var s=r.indexOf(n.target);38===n.which&&s>0&&s--,40===n.which&&s<r.length-1&&s++,s<0&&(s=0),r[s].focus()}}else{if(27===n.which){var a=i.querySelector(G.DATA_TOGGLE);e(a).trigger("focus")}e(this).trigger("click")}}},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return q}},{key:"DefaultType",get:function(){return Q}}]),t}();e(document).on(j.KEYDOWN_DATA_API,G.DATA_TOGGLE,Y._dataApiKeydownHandler).on(j.KEYDOWN_DATA_API,G.MENU,Y._dataApiKeydownHandler).on(j.CLICK_DATA_API+" "+j.KEYUP_DATA_API,Y._clearMenus).on(j.CLICK_DATA_API,G.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),Y._jQueryInterface.call(e(this),"toggle")}).on(j.CLICK_DATA_API,G.FORM_CHILD,function(t){t.stopPropagation()}),e.fn[x]=Y._jQueryInterface,e.fn[x].Constructor=Y,e.fn[x].noConflict=function(){return e.fn[x]=U,Y._jQueryInterface};var X=e.fn.modal,z={backdrop:!0,keyboard:!0,focus:!0,show:!0},$={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},J={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},Z={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},tt={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},et=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(tt.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var n=t.prototype;return n.toggle=function(t){return this._isShown?this.hide():this.show(t)},n.show=function(t){var n=this;if(!this._isShown&&!this._isTransitioning){e(this._element).hasClass(Z.FADE)&&(this._isTransitioning=!0);var i=e.Event(J.SHOW,{relatedTarget:t});e(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(J.CLICK_DISMISS,tt.DATA_DISMISS,function(t){return n.hide(t)}),e(this._dialog).on(J.MOUSEDOWN_DISMISS,function(){e(n._element).one(J.MOUSEUP_DISMISS,function(t){e(t.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)}))}},n.hide=function(t){var n=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=e.Event(J.HIDE);if(e(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var o=e(this._element).hasClass(Z.FADE);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(J.FOCUSIN),e(this._element).removeClass(Z.SHOW),e(this._element).off(J.CLICK_DISMISS),e(this._dialog).off(J.MOUSEDOWN_DISMISS),o){var r=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,function(t){return n._hideModal(t)}).emulateTransitionEnd(r)}else this._hideModal()}}},n.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return e(t).off(".bs.modal")}),e(document).off(J.FOCUSIN),e.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},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(t){return t=s({},z,t),c.typeCheckConfig("modal",t,$),t},n._showElement=function(t){var n=this,i=e(this._element).hasClass(Z.FADE);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),e(this._dialog).hasClass(Z.SCROLLABLE)?this._dialog.querySelector(tt.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,i&&c.reflow(this._element),e(this._element).addClass(Z.SHOW),this._config.focus&&this._enforceFocus();var o=e.Event(J.SHOWN,{relatedTarget:t}),r=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,e(n._element).trigger(o)};if(i){var s=c.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(c.TRANSITION_END,r).emulateTransitionEnd(s)}else r()},n._enforceFocus=function(){var t=this;e(document).off(J.FOCUSIN).on(J.FOCUSIN,function(n){document!==n.target&&t._element!==n.target&&0===e(t._element).has(n.target).length&&t._element.focus()})},n._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?e(this._element).on(J.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||e(this._element).off(J.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var t=this;this._isShown?e(window).on(J.RESIZE,function(e){return t.handleUpdate(e)}):e(window).off(J.RESIZE)},n._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){e(document.body).removeClass(Z.OPEN),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(J.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(t){var n=this,i=e(this._element).hasClass(Z.FADE)?Z.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Z.BACKDROP,i&&this._backdrop.classList.add(i),e(this._backdrop).appendTo(document.body),e(this._element).on(J.CLICK_DISMISS,function(t){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),i&&c.reflow(this._backdrop),e(this._backdrop).addClass(Z.SHOW),!t)return;if(!i)return void t();var o=c.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(c.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(Z.SHOW);var r=function(){n._removeBackdrop(),t&&t()};if(e(this._element).hasClass(Z.FADE)){var s=c.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(c.TRANSITION_END,r).emulateTransitionEnd(s)}else r()}else t&&t()},n._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(tt.STICKY_CONTENT));e(n).each(function(n,i){var o=i.style.paddingRight,r=e(i).css("padding-right");e(i).data("padding-right",o).css("padding-right",parseFloat(r)+t._scrollbarWidth+"px")}),e(i).each(function(n,i){var o=i.style.marginRight,r=e(i).css("margin-right");e(i).data("margin-right",o).css("margin-right",parseFloat(r)-t._scrollbarWidth+"px")});var o=document.body.style.paddingRight,r=e(document.body).css("padding-right");e(document.body).data("padding-right",o).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}e(document.body).addClass(Z.OPEN)},n._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT));e(t).each(function(t,n){var i=e(n).data("padding-right");e(n).removeData("padding-right"),n.style.paddingRight=i||""});var n=[].slice.call(document.querySelectorAll(""+tt.STICKY_CONTENT));e(n).each(function(t,n){var i=e(n).data("margin-right");void 0!==i&&e(n).css("margin-right",i).removeData("margin-right")});var i=e(document.body).data("padding-right");e(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Z.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(n,i){return this.each(function(){var o=e(this).data("bs.modal"),r=s({},z,e(this).data(),"object"==typeof n&&n?n:{});if(o||(o=new t(this,r),e(this).data("bs.modal",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n](i)}else r.show&&o.show(i)})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return z}}]),t}();e(document).on(J.CLICK_DATA_API,tt.DATA_TOGGLE,function(t){var n,i=this,o=c.getSelectorFromElement(this);o&&(n=document.querySelector(o));var r=e(n).data("bs.modal")?"toggle":s({},e(n).data(),e(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var a=e(n).one(J.SHOW,function(t){t.isDefaultPrevented()||a.one(J.HIDDEN,function(){e(i).is(":visible")&&i.focus()})});et._jQueryInterface.call(e(n),r,this)}),e.fn.modal=et._jQueryInterface,e.fn.modal.Constructor=et,e.fn.modal.noConflict=function(){return e.fn.modal=X,et._jQueryInterface};var nt=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],it={"*":["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","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ot=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,rt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function st(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=new window.DOMParser,o=i.parseFromString(t,"text/html"),r=Object.keys(e),s=[].slice.call(o.body.querySelectorAll("*")),a=function(t,n){var i=s[t],o=i.nodeName.toLowerCase();if(-1===r.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var a=[].slice.call(i.attributes),l=[].concat(e["*"]||[],e[o]||[]);a.forEach(function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===nt.indexOf(n)||Boolean(t.nodeValue.match(ot)||t.nodeValue.match(rt));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(t,l)||i.removeAttribute(t.nodeName)})},l=0,c=s.length;l<c;l++)a(l);return o.body.innerHTML}var at="tooltip",lt=e.fn.tooltip,ct=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ut=["sanitize","whiteList","sanitizeFn"],ht={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)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},ft={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},dt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:it},pt={SHOW:"show",OUT:"out"},mt={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"},gt={FADE:"fade",SHOW:"show"},_t={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},vt={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},Et=function(){function t(t,e){if(void 0===n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var i=t.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(gt.SHOW))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var o=c.findShadowRoot(this.element),r=e.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!r)return;var s=this.getTipElement(),a=c.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&e(s).addClass(gt.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(l);this.addAttachmentClass(u);var h=this._getContainer();e(s).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(s).appendTo(h),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,s,{placement:u,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:_t.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),e(s).addClass(gt.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var f=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===pt.OUT&&t._leave(null,t)};if(e(this.tip).hasClass(gt.FADE)){var d=c.getTransitionDurationFromElement(this.tip);e(this.tip).one(c.TRANSITION_END,f).emulateTransitionEnd(d)}else f()}},i.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==pt.SHOW&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(i).removeClass(gt.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[vt.CLICK]=!1,this._activeTrigger[vt.FOCUS]=!1,this._activeTrigger[vt.HOVER]=!1,e(this.tip).hasClass(gt.FADE)){var s=c.getTransitionDurationFromElement(i);e(i).one(c.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},i.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},i.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(_t.TOOLTIP_INNER)),this.getTitle()),e(t).removeClass(gt.FADE+" "+gt.SHOW)},i.setElementContent=function(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=st(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},i.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},i._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},i._getContainer=function(){return!1===this.config.container?document.body:c.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},i._getAttachment=function(t){return ft[t.toUpperCase()]},i._setListeners=function(){var t=this,n=this.config.trigger.split(" ");n.forEach(function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(n!==vt.MANUAL){var i=n===vt.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=n===vt.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(o,t.config.selector,function(e){return t._leave(e)})}}),e(this.element).closest(".modal").on("hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?vt.FOCUS:vt.HOVER]=!0),e(n.getTipElement()).hasClass(gt.SHOW)||n._hoverState===pt.SHOW?n._hoverState=pt.SHOW:(clearTimeout(n._timeout),n._hoverState=pt.SHOW,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===pt.SHOW&&n.show()},n.config.delay.show):n.show())},i._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?vt.FOCUS:vt.HOVER]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=pt.OUT,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===pt.OUT&&n.hide()},n.config.delay.hide):n.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach(function(t){-1!==ut.indexOf(t)&&delete n[t]}),"number"==typeof(t=s({},this.constructor.Default,n,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),c.typeCheckConfig(at,t,this.constructor.DefaultType),t.sanitize&&(t.template=st(t.template,t.whiteList,t.sanitizeFn)),t},i._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},i._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(ct);null!==n&&n.length&&t.removeClass(n.join(""))},i._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(gt.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.tooltip"),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,o),e(this).data("bs.tooltip",i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return dt}},{key:"NAME",get:function(){return at}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return mt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return ht}}]),t}();e.fn.tooltip=Et._jQueryInterface,e.fn.tooltip.Constructor=Et,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=lt,Et._jQueryInterface};var Tt="popover",bt=e.fn.popover,yt=new RegExp("(^|\\s)bs-popover\\S+","g"),St=s({},Et.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>'}),Ot=s({},Et.DefaultType,{content:"(string|element|function)"}),It={FADE:"fade",SHOW:"show"},Ct={TITLE:".popover-header",CONTENT:".popover-body"},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"},Dt=function(t){var n,i;function r(){return t.apply(this,arguments)||this}i=t,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var s=r.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},s.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},s.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(Ct.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(Ct.CONTENT),n),t.removeClass(It.FADE+" "+It.SHOW)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(yt);null!==n&&n.length>0&&t.removeClass(n.join(""))},r._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.popover"),i="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new r(this,i),e(this).data("bs.popover",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},o(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return St}},{key:"NAME",get:function(){return Tt}},{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 Ot}}]),r}(Et);e.fn.popover=Dt._jQueryInterface,e.fn.popover.Constructor=Dt,e.fn.popover.noConflict=function(){return e.fn.popover=bt,Dt._jQueryInterface};var wt="scrollspy",Nt=e.fn[wt],Lt={offset:10,method:"auto",target:""},Pt={offset:"number",method:"string",target:"(string|element)"},Ht={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Rt={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},Wt={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},kt={OFFSET:"offset",POSITION:"position"},Ft=function(){function t(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+Wt.NAV_LINKS+","+this._config.target+" "+Wt.LIST_ITEMS+","+this._config.target+" "+Wt.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(Ht.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?kt.OFFSET:kt.POSITION,i="auto"===this._config.method?n:this._config.method,o=i===kt.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var r=[].slice.call(document.querySelectorAll(this._selector));r.map(function(t){var n,r=c.getSelectorFromElement(t);if(r&&(n=document.querySelector(r)),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[e(n)[i]().top+o,r]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},n.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(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},n._getConfig=function(t){if("string"!=typeof(t=s({},Lt,"object"==typeof t&&t?t:{})).target){var n=e(t.target).attr("id");n||(n=c.getUID(wt),e(t.target).attr("id",n)),t.target="#"+n}return c.typeCheckConfig(wt,t,Pt),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length,r=o;r--;){var s=this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&(void 0===this._offsets[r+1]||t<this._offsets[r+1]);s&&this._activate(this._targets[r])}}},n._activate=function(t){this._activeTarget=t,this._clear();var n=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),i=e([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass(Rt.DROPDOWN_ITEM)?(i.closest(Wt.DROPDOWN).find(Wt.DROPDOWN_TOGGLE).addClass(Rt.ACTIVE),i.addClass(Rt.ACTIVE)):(i.addClass(Rt.ACTIVE),i.parents(Wt.NAV_LIST_GROUP).prev(Wt.NAV_LINKS+", "+Wt.LIST_ITEMS).addClass(Rt.ACTIVE),i.parents(Wt.NAV_LIST_GROUP).prev(Wt.NAV_ITEMS).children(Wt.NAV_LINKS).addClass(Rt.ACTIVE)),e(this._scrollElement).trigger(Ht.ACTIVATE,{relatedTarget:t})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(Rt.ACTIVE)}).forEach(function(t){return t.classList.remove(Rt.ACTIVE)})},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.scrollspy"),o="object"==typeof n&&n;if(i||(i=new t(this,o),e(this).data("bs.scrollspy",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Lt}}]),t}();e(window).on(Ht.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(Wt.DATA_SPY)),n=t.length,i=n;i--;){var o=e(t[i]);Ft._jQueryInterface.call(o,o.data())}}),e.fn[wt]=Ft._jQueryInterface,e.fn[wt].Constructor=Ft,e.fn[wt].noConflict=function(){return e.fn[wt]=Nt,Ft._jQueryInterface};var Mt=e.fn.tab,xt={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},Ut={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},Vt={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},jt=function(){function t(t){this._element=t}var n=t.prototype;return n.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(Ut.ACTIVE)||e(this._element).hasClass(Ut.DISABLED))){var n,i,o=e(this._element).closest(Vt.NAV_LIST_GROUP)[0],r=c.getSelectorFromElement(this._element);if(o){var s="UL"===o.nodeName||"OL"===o.nodeName?Vt.ACTIVE_UL:Vt.ACTIVE;i=(i=e.makeArray(e(o).find(s)))[i.length-1]}var a=e.Event(xt.HIDE,{relatedTarget:this._element}),l=e.Event(xt.SHOW,{relatedTarget:i});if(i&&e(i).trigger(a),e(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(n=document.querySelector(r)),this._activate(this._element,o);var u=function(){var n=e.Event(xt.HIDDEN,{relatedTarget:t._element}),o=e.Event(xt.SHOWN,{relatedTarget:i});e(i).trigger(n),e(t._element).trigger(o)};n?this._activate(n,n.parentNode,u):u()}}},n.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(t,n,i){var o=this,r=!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?e(n).children(Vt.ACTIVE):e(n).find(Vt.ACTIVE_UL),s=r[0],a=i&&s&&e(s).hasClass(Ut.FADE),l=function(){return o._transitionComplete(t,s,i)};if(s&&a){var u=c.getTransitionDurationFromElement(s);e(s).removeClass(Ut.SHOW).one(c.TRANSITION_END,l).emulateTransitionEnd(u)}else l()},n._transitionComplete=function(t,n,i){if(n){e(n).removeClass(Ut.ACTIVE);var o=e(n.parentNode).find(Vt.DROPDOWN_ACTIVE_CHILD)[0];o&&e(o).removeClass(Ut.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass(Ut.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),c.reflow(t),t.classList.contains(Ut.FADE)&&t.classList.add(Ut.SHOW),t.parentNode&&e(t.parentNode).hasClass(Ut.DROPDOWN_MENU)){var r=e(t).closest(Vt.DROPDOWN)[0];if(r){var s=[].slice.call(r.querySelectorAll(Vt.DROPDOWN_TOGGLE));e(s).addClass(Ut.ACTIVE)}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.tab");if(o||(o=new t(this),i.data("bs.tab",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(xt.CLICK_DATA_API,Vt.DATA_TOGGLE,function(t){t.preventDefault(),jt._jQueryInterface.call(e(this),"show")}),e.fn.tab=jt._jQueryInterface,e.fn.tab.Constructor=jt,e.fn.tab.noConflict=function(){return e.fn.tab=Mt,jt._jQueryInterface};var Bt=e.fn.toast,Gt={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},Kt={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},qt={animation:"boolean",autohide:"boolean",delay:"number"},Qt={animation:!0,autohide:!0,delay:500},Yt={DATA_DISMISS:'[data-dismiss="toast"]'},Xt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var n=t.prototype;return n.show=function(){var t=this;e(this._element).trigger(Gt.SHOW),this._config.animation&&this._element.classList.add(Kt.FADE);var n=function(){t._element.classList.remove(Kt.SHOWING),t._element.classList.add(Kt.SHOW),e(t._element).trigger(Gt.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(Kt.HIDE),this._element.classList.add(Kt.SHOWING),this._config.animation){var i=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(t){var n=this;this._element.classList.contains(Kt.SHOW)&&(e(this._element).trigger(Gt.HIDE),t?this._close():this._timeout=setTimeout(function(){n._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Kt.SHOW)&&this._element.classList.remove(Kt.SHOW),e(this._element).off(Gt.CLICK_DISMISS),e.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(t){return t=s({},Qt,e(this._element).data(),"object"==typeof t&&t?t:{}),c.typeCheckConfig("toast",t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;e(this._element).on(Gt.CLICK_DISMISS,Yt.DATA_DISMISS,function(){return t.hide(!0)})},n._close=function(){var t=this,n=function(){t._element.classList.add(Kt.HIDE),e(t._element).trigger(Gt.HIDDEN)};if(this._element.classList.remove(Kt.SHOW),this._config.animation){var i=c.getTransitionDurationFromElement(this._element);e(this._element).one(c.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.toast"),r="object"==typeof n&&n;if(o||(o=new t(this,r),i.data("bs.toast",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n](this)}})},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return qt}},{key:"Default",get:function(){return Qt}}]),t}();e.fn.toast=Xt._jQueryInterface,e.fn.toast.Constructor=Xt,e.fn.toast.noConflict=function(){return e.fn.toast=Bt,Xt._jQueryInterface},function(){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=c,t.Alert=d,t.Button=v,t.Carousel=w,t.Collapse=M,t.Dropdown=Y,t.Modal=et,t.Popover=Dt,t.Scrollspy=Ft,t.Tab=jt,t.Toast=Xt,t.Tooltip=Et,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(3),n(4))},function(t,e){t.exports=jQuery},function(t,e,n){"use strict";n.r(e),function(t){for( 8 8 /**! 9 9 * @fileOverview Kickass library to create and place poppers near their reference elements. -
deploy-netlifypress/trunk/assets/dist/js/main.js
r2258705 r2281514 166 166 $( '#automatic-deployment input#netlifypress_auto_deploy' ).click( function () { 167 167 $( '.auto-deploy-actions-post-types' ).slideToggle(); 168 }); 169 170 /* "Selct All" checkboxes for the manual-deploy selections */ 171 172 /* Authorized roles Selection */ 173 174 $( '.authorized-roles-form-group #netlifypress_auth_role_all' ).on( 'click', function() { 175 if( this.checked ) { 176 $( '.authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all )' ).each( function() { 177 this.checked = true; 178 } ); 179 } else { 180 $( '.authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all )' ).each( function() { 181 this.checked = false; 182 } ); 183 } 184 }); 185 186 $( '.authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all )' ).on( 'click', function() { 187 if( $( '.authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all ):checked' ).length == $( '.authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all )' ).length ) { 188 $( '.authorized-roles-form-group #netlifypress_auth_role_all' ).prop( 'checked', true ); 189 } else { 190 $( '.authorized-roles-form-group #netlifypress_auth_role_all' ).prop( 'checked', false ); 191 } 192 } ); 193 194 /* Manual Deploy Settings - Display Conditions */ 195 196 $( '#manual-deployment input#netlifypress_manual_deploy' ).click( function () { 197 $( '.manual-deploy-authorized-roles' ).slideToggle(); 168 198 }); 169 199 -
deploy-netlifypress/trunk/assets/dist/js/main.min.js
r2258705 r2281514 1 !function( t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}([,,,,,function(t,e,n){"use strict";n.r(e);var o;n(6);(o=jQuery)(document).ready(function(){o(".auto-deploy-action-form-group #netlifypress_action_auto_deploy_all").on("click",function(){this.checked?o(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all )").each(function(){this.checked=!0}):o(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all )").each(function(){this.checked=!1})}),o(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all )").on("click",function(){o(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all ):checked").length==o(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all )").length?o(".auto-deploy-action-form-group #netlifypress_action_auto_deploy_all").prop("checked",!0):o(".auto-deploy-action-form-group #netlifypress_action_auto_deploy_all").prop("checked",!1)}),o(".post-types-form-group #netlifypress_post_type_all").on("click",function(){this.checked?o(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all )").each(function(){this.checked=!0}):o(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all )").each(function(){this.checked=!1})}),o(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all )").on("click",function(){o(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all ):checked").length==o(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all )").length?o(".post-types-form-group #netlifypress_post_type_all").prop("checked",!0):o(".post-types-form-group #netlifypress_post_type_all").prop("checked",!1)}),o("#automatic-deployment input#netlifypress_auto_deploy").click(function(){o(".auto-deploy-actions-post-types").slideToggle()})})},function(t,e,n){var o=n(7);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(8)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){},function(t,e,n){var o,r,i={},s=(o=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=o.apply(this,arguments)),r}),c=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var o=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}e[t]=o}return e[t]}}(),a=null,p=0,l=[],u=n(9);function f(t,e){for(var n=0;n<t.length;n++){var o=t[n],r=i[o.id];if(r){r.refs++;for(var s=0;s<r.parts.length;s++)r.parts[s](o.parts[s]);for(;s<o.parts.length;s++)r.parts.push(_(o.parts[s],e))}else{var c=[];for(s=0;s<o.parts.length;s++)c.push(_(o.parts[s],e));i[o.id]={id:o.id,refs:1,parts:c}}}}function d(t,e){for(var n=[],o={},r=0;r<t.length;r++){var i=t[r],s=e.base?i[0]+e.base:i[0],c={css:i[1],media:i[2],sourceMap:i[3]};o[s]?o[s].parts.push(c):n.push(o[s]={id:s,parts:[c]})}return n}function y(t,e){var n=c(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=l[l.length-1];if("top"===t.insertAt)o?o.nextSibling?n.insertBefore(e,o.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),l.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=c(t.insertAt.before,n);n.insertBefore(e,r)}}function h(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=l.indexOf(t);e>=0&&l.splice(e,1)}function b(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var o=function(){0;return n.nc}();o&&(t.attrs.nonce=o)}return v(e,t.attrs),y(t,e),e}function v(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function _(t,e){var n,o,r,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var s=p++;n=a||(a=b(e)),o=k.bind(null,n,s,!1),r=k.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",v(e,t.attrs),y(t,e),e}(e),o=function(t,e,n){var o=n.css,r=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(o=u(o));r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([o],{type:"text/css"}),c=t.href;t.href=URL.createObjectURL(s),c&&URL.revokeObjectURL(c)}.bind(null,n,e),r=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(e),o=function(t,e){var n=e.css,o=e.media;o&&t.setAttribute("media",o);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){h(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return f(n,e),function(t){for(var o=[],r=0;r<n.length;r++){var s=n[r];(c=i[s.id]).refs--,o.push(c)}t&&f(d(t,e),e);for(r=0;r<o.length;r++){var c;if(0===(c=o[r]).refs){for(var a=0;a<c.parts.length;a++)c.parts[a]();delete i[c.id]}}}};var m,g=(m=[],function(t,e){return m[t]=e,m.filter(Boolean).join("\n")});function k(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=g(e,r);else{var i=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,o=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var r,i=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(r=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:o+i.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}}]);1 !function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=5)}([,,,,,function(e,t,o){"use strict";o.r(t);var n;o(6);(n=jQuery)(document).ready(function(){n(".auto-deploy-action-form-group #netlifypress_action_auto_deploy_all").on("click",function(){this.checked?n(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all )").each(function(){this.checked=!0}):n(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all )").each(function(){this.checked=!1})}),n(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all )").on("click",function(){n(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all ):checked").length==n(".auto-deploy-action-form-group input[type=checkbox]:not( #netlifypress_action_auto_deploy_all )").length?n(".auto-deploy-action-form-group #netlifypress_action_auto_deploy_all").prop("checked",!0):n(".auto-deploy-action-form-group #netlifypress_action_auto_deploy_all").prop("checked",!1)}),n(".post-types-form-group #netlifypress_post_type_all").on("click",function(){this.checked?n(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all )").each(function(){this.checked=!0}):n(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all )").each(function(){this.checked=!1})}),n(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all )").on("click",function(){n(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all ):checked").length==n(".post-types-form-group input[type=checkbox]:not( #netlifypress_post_type_all )").length?n(".post-types-form-group #netlifypress_post_type_all").prop("checked",!0):n(".post-types-form-group #netlifypress_post_type_all").prop("checked",!1)}),n("#automatic-deployment input#netlifypress_auto_deploy").click(function(){n(".auto-deploy-actions-post-types").slideToggle()}),n(".authorized-roles-form-group #netlifypress_auth_role_all").on("click",function(){this.checked?n(".authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all )").each(function(){this.checked=!0}):n(".authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all )").each(function(){this.checked=!1})}),n(".authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all )").on("click",function(){n(".authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all ):checked").length==n(".authorized-roles-form-group input[type=checkbox]:not( #netlifypress_auth_role_all )").length?n(".authorized-roles-form-group #netlifypress_auth_role_all").prop("checked",!0):n(".authorized-roles-form-group #netlifypress_auth_role_all").prop("checked",!1)}),n("#manual-deployment input#netlifypress_manual_deploy").click(function(){n(".manual-deploy-authorized-roles").slideToggle()})})},function(e,t,o){var n=o(7);"string"==typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};o(8)(n,r);n.locals&&(e.exports=n.locals)},function(e,t,o){},function(e,t,o){var n,r,i={},s=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=n.apply(this,arguments)),r}),l=function(e){var t={};return function(e,o){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,o);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,a=0,p=[],u=o(9);function f(e,t){for(var o=0;o<e.length;o++){var n=e[o],r=i[n.id];if(r){r.refs++;for(var s=0;s<r.parts.length;s++)r.parts[s](n.parts[s]);for(;s<n.parts.length;s++)r.parts.push(b(n.parts[s],t))}else{var l=[];for(s=0;s<n.parts.length;s++)l.push(b(n.parts[s],t));i[n.id]={id:n.id,refs:1,parts:l}}}}function d(e,t){for(var o=[],n={},r=0;r<e.length;r++){var i=e[r],s=t.base?i[0]+t.base:i[0],l={css:i[1],media:i[2],sourceMap:i[3]};n[s]?n[s].parts.push(l):o.push(n[s]={id:s,parts:[l]})}return o}function y(e,t){var o=l(e.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=p[p.length-1];if("top"===e.insertAt)n?n.nextSibling?o.insertBefore(t,n.nextSibling):o.appendChild(t):o.insertBefore(t,o.firstChild),p.push(t);else if("bottom"===e.insertAt)o.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=l(e.insertAt.before,o);o.insertBefore(t,r)}}function h(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=p.indexOf(e);t>=0&&p.splice(t,1)}function _(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=function(){0;return o.nc}();n&&(e.attrs.nonce=n)}return m(t,e.attrs),y(e,t),t}function m(e,t){Object.keys(t).forEach(function(o){e.setAttribute(o,t[o])})}function b(e,t){var o,n,r,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var s=a++;o=c||(c=_(t)),n=k.bind(null,o,s,!1),r=k.bind(null,o,s,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",m(t,e.attrs),y(e,t),t}(t),n=function(e,t,o){var n=o.css,r=o.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(n=u(n));r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([n],{type:"text/css"}),l=e.href;e.href=URL.createObjectURL(s),l&&URL.revokeObjectURL(l)}.bind(null,o,t),r=function(){h(o),o.href&&URL.revokeObjectURL(o.href)}):(o=_(t),n=function(e,t){var o=t.css,n=t.media;n&&e.setAttribute("media",n);if(e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}.bind(null,o),r=function(){h(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var o=d(e,t);return f(o,t),function(e){for(var n=[],r=0;r<o.length;r++){var s=o[r];(l=i[s.id]).refs--,n.push(l)}e&&f(d(e,t),t);for(r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete i[l.id]}}}};var g,v=(g=[],function(e,t){return g[e]=t,g.filter(Boolean).join("\n")});function k(e,t,o,n){var r=o?"":n.css;if(e.styleSheet)e.styleSheet.cssText=v(t,r);else{var i=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var o=t.protocol+"//"+t.host,n=o+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r,i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(r=0===i.indexOf("//")?i:0===i.indexOf("/")?o+i:n+i.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}}]); -
deploy-netlifypress/trunk/deploy-netlifypress.php
r2258705 r2281514 5 5 * Description: Seamlessly trigger deploys in Netlify from WordPress 6 6 * Author: Nahid Ferdous Mohit 7 * Version: 1. 0.27 * Version: 1.1.0 8 8 * Author URI: https://nahid.dev 9 9 * Text Domain: deploy-netlifypress -
deploy-netlifypress/trunk/includes/admin/admin.php
r2146716 r2281514 31 31 32 32 function netlifypress_options_page_display() { 33 34 /* 35 * Save default settings 36 */ 37 38 if ( ! empty( get_option( 'netlifypress_build_hook_url' ) ) ) { 39 40 /* Auto Deploy Status */ 41 42 if ( ! get_option( 'netlifypress_auto_deploy' ) ) { 43 add_option( 'netlifypress_auto_deploy', 'on' ); 44 } 45 46 /* Make sure auto deploy is on before other settings are processed */ 47 48 if ( get_option( 'netlifypress_auto_deploy' ) == 'on' ) { 49 50 /* Auto Deploy Actions */ 51 52 if ( ! get_option( 'netlifypress_action_auto_deploy' ) ) { 53 add_option( 'netlifypress_action_auto_deploy', array( 54 'publish', 55 'update', 56 'trash' 57 ) ); 58 } 59 60 /* Auto Deploy Post Types */ 61 62 if ( ! get_option( 'netlifypress_post_types_auto_deploy' ) ) { 63 add_option( 'netlifypress_post_types_auto_deploy', [ 'post', 'page' ] ); 64 } 65 } 66 67 /* Manual Deploy Status */ 68 69 if ( ! get_option( 'netlifypress_manual_deploy' ) ) { 70 add_option( 'netlifypress_manual_deploy', 'on' ); 71 } 72 73 /* Make sure manual deploy is on before other settings are processed */ 74 75 if ( get_option( 'netlifypress_manual_deploy' ) == 'on' ) { 76 77 /* Auto Deploy Post Types */ 78 79 if ( ! get_option( 'netlifypress_auth_roles_manual_deploy' ) ) { 80 add_option( 'netlifypress_auth_roles_manual_deploy', [ 'administrator' ] ); 81 } 82 } 83 } 84 33 85 if ( ! current_user_can( 'manage_options' ) ) { 34 86 wp_die( 'Unauthorized user' ); 35 87 } 88 36 89 ?> 37 90 <div class="netlifypress-admin-wrapper"> … … 194 247 </div> 195 248 </div> 249 250 <style> 251 .manual-deploy-authorized-roles { 252 <?php 253 if ( get_option( 'netlifypress_manual_deploy' ) == 'on' ) { 254 ?> 255 display: block; 256 <?php 257 } else { 258 ?> 259 display: none; 260 <?php 261 } 262 ?> 263 } 264 </style> 265 266 <div class="manual-deploy-authorized-roles"> 267 <div class="form-group authorized-roles-form-group"> 268 <h3><?php _e( 'Authorized Roles', 'deploy-netlifypress' ); ?></h3> 269 <p><?php _e( 'Specify user roles which can trigger manual deployments', 'deploy-netlifypress' ); ?></p> 270 271 <?php 272 global $wp_roles; 273 $valid_user_roles = $wp_roles->get_names(); 274 ?> 275 276 <div class="custom-control custom-switch"> 277 <input type="checkbox" class="custom-control-input" id="netlifypress_auth_role_all" <?php echo ( array_diff( array_keys( $valid_user_roles ), get_option( 'netlifypress_auth_roles_manual_deploy' ) ) === array_diff( get_option( 'netlifypress_auth_roles_manual_deploy' ), array_keys( $valid_user_roles ) ) ) ? 'checked' : ''; ?>> 278 <label class="custom-control-label" for="netlifypress_auth_role_all"> <?php _e( 'All', 'deploy-netlifypress' ); ?></label> 279 </div> 280 <?php 281 foreach ( $valid_user_roles as $key => $user_role ) { 282 ?> 283 <div class="custom-control custom-switch"> 284 <input type="checkbox" class="custom-control-input" id="netlifypress_auth_role_<?php echo $key; ?>" name="netlifypress_auth_roles_manual_deploy[]" value="<?php echo $key; ?>" <?php echo in_array( $key, get_option( 'netlifypress_auth_roles_manual_deploy' ) ) ? 'checked' : ''; ?>> 285 <label class="custom-control-label" for="netlifypress_auth_role_<?php echo $key; ?>"> <?php echo $user_role; ?></label> 286 </div> 287 <?php 288 } 289 ?> 290 </div> 291 </div> 196 292 </fieldset> 197 293 </div> … … 224 320 } 225 321 226 /* Default Options */227 228 if ( ! empty( get_option( 'netlifypress_build_hook_url' ) ) ) {229 230 /* Auto Deploy Status */231 232 add_option( 'netlifypress_auto_deploy', 'on' );233 234 /* Make sure auto deploy is on before other settings are processed */235 236 if ( get_option( 'netlifypress_auto_deploy' ) == 'on' ) {237 238 /* Auto Deploy Actions */239 240 add_option( 'netlifypress_action_auto_deploy', array(241 'publish',242 'update',243 'trash'244 ) );245 246 /* Auto Deploy Post Types */247 248 add_option( 'netlifypress_post_types_auto_deploy', get_post_types() );249 }250 251 /* Manual Deploy Status */252 253 add_option( 'netlifypress_manual_deploy', 'on' );254 }255 256 322 /* Make sure webhook URL is set before other settings are processed */ 257 323 … … 318 384 if ( in_array( $manual_deploy_status, $valid_manual_deploy_statuses ) ) { 319 385 update_option( 'netlifypress_manual_deploy', $manual_deploy_status ); 386 } 387 } 388 389 /* Make sure manual deploy is on before other settings are processed */ 390 391 if ( get_option( 'netlifypress_manual_deploy' ) == 'on' ) { 392 393 /* Manual Deploy Authorized Roles */ 394 395 global $wp_roles; 396 $valid_user_roles = array_keys( $wp_roles->get_names() ); 397 398 if ( isset( $_POST[ 'netlifypress_auth_roles_manual_deploy' ] ) && ! empty( $_POST[ 'netlifypress_auth_roles_manual_deploy' ] ) ) { 399 $set_auth_role = array_map( 'sanitize_text_field', $_POST[ 'netlifypress_auth_roles_manual_deploy' ] ); 400 401 if ( ! empty( array_intersect( $set_auth_role, $valid_user_roles ) ) ) { 402 update_option( 'netlifypress_auth_roles_manual_deploy', $set_auth_role ); 403 } 320 404 } 321 405 } -
deploy-netlifypress/trunk/includes/manual-deploy.php
r2146696 r2281514 22 22 add_action( 'admin_bar_menu', 'netlifypress_manual_deploy_button', 999 ); 23 23 function netlifypress_manual_deploy_button( $wp_admin_bar ) { 24 if ( current_user_can( 'manage_options' ) && ! empty( get_option( 'netlifypress_build_hook_url' ) ) && get_option( 'netlifypress_manual_deploy' ) == 'on' ) { 24 $currentUserRole = wp_get_current_user()->roles; 25 if ( ! empty( get_option( 'netlifypress_build_hook_url' ) ) && get_option( 'netlifypress_manual_deploy' ) == 'on' && ! empty ( array_intersect( $currentUserRole, get_option( 'netlifypress_auth_roles_manual_deploy' ) ) ) ) { 25 26 $args = array( 26 27 'id' => 'netlifypress_manual_deploy_button', … … 41 42 add_action( 'init', 'netlifypress_manual_deploy_initialize' ); 42 43 function netlifypress_manual_deploy_initialize() { 43 if ( current_user_can( 'manage_options' ) && is_admin_bar_showing() && ! empty( get_option( 'netlifypress_build_hook_url' ) ) && get_option( 'netlifypress_manual_deploy' ) == 'on' ) { 44 $currentUserRole = wp_get_current_user()->roles; 45 if ( is_admin_bar_showing() && ! empty( get_option( 'netlifypress_build_hook_url' ) ) && get_option( 'netlifypress_manual_deploy' ) == 'on' && ! empty ( array_intersect( $currentUserRole, get_option( 'netlifypress_auth_roles_manual_deploy' ) ) ) ) { 44 46 add_action( 'admin_enqueue_scripts', 'netlifypress_manual_trigger_script' ); 45 47 add_action( 'wp_enqueue_scripts', 'netlifypress_manual_trigger_script' ); … … 75 77 add_action( 'init', 'netlifypress_frontend_button_icon' ); 76 78 function netlifypress_frontend_button_icon() { 77 if ( current_user_can( 'manage_options' ) && is_admin_bar_showing() && ! empty( get_option( 'netlifypress_build_hook_url' ) ) && get_option( 'netlifypress_manual_deploy' ) == 'on' ) { 79 $currentUserRole = wp_get_current_user()->roles; 80 if ( is_admin_bar_showing() && ! empty( get_option( 'netlifypress_build_hook_url' ) ) && get_option( 'netlifypress_manual_deploy' ) == 'on' && ! empty ( array_intersect( $currentUserRole, get_option( 'netlifypress_auth_roles_manual_deploy' ) ) ) ) { 78 81 add_action( 'wp_footer', 'netlifypress_topbar_button_icon_styles' ); 79 82 add_action( 'admin_footer', 'netlifypress_topbar_button_icon_styles' ); -
deploy-netlifypress/trunk/readme.txt
r2260339 r2281514 5 5 Requires at least: 4.0 6 6 Tested up to: 5.4 7 Stable tag: 1. 0.27 Stable tag: 1.1.0 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 118 118 == Changelog == 119 119 120 = 1.1.0 = 121 * Added an option to set authorized roles who can trigger manual deploys (defaults to administrator) ( requested [here](https://wordpress.org/support/topic/trigger-link-for-the-editor-role/) ) 122 * Changed default post types for automatic deployments to posts and pages only 123 120 124 = 1.0.2 = 121 125 * Tested up-to WordPress 5.4 … … 131 135 == Upgrade Notice == 132 136 137 = 1.1.0 = 138 * You can now let users belonging to other user roles the ability to trigger manual deploys ( requested [here](https://wordpress.org/support/topic/trigger-link-for-the-editor-role/) ) 139 * Default post types for automatic deployments have been changed to posts and pages only. This helps prevent un-intended deploys from non-generic post types (only for new installations) 140 133 141 = 1.0.2 = 134 142 * Tested up-to WordPress 5.4
Note: See TracChangeset
for help on using the changeset viewer.