if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){"use strict";var n=jQuery.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1==n[0]&&9==n[1]&&n[2]<1||3<n[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4");}(),function(n){"use strict";n.fn.emulateTransitionEnd=function(t){var i=!1,r=this;n(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||n(r).trigger(n.support.transition.end)},t),this};n(function(){n.support.transition=function(){var i=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var t in n)if(i.style[t]!==undefined)return{end:n[t]};return!1}();n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(n){"use strict";var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.VERSION="3.4.1";t.TRANSITION_DURATION=150;t.prototype.close=function(i){function e(){u.detach().trigger("closed.bs.alert").remove()}var f=n(this),r=f.attr("data-target"),u;r||(r=(r=f.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,""));r="#"===r?[]:r;u=n(document).find(r);i&&i.preventDefault();u.length||(u=f.closest(".alert"));u.trigger(i=n.Event("close.bs.alert"));i.isDefaultPrevented()||(u.removeClass("in"),n.support.transition&&u.hasClass("fade")?u.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e())};r=n.fn.alert;n.fn.alert=function(i){return this.each(function(){var r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));"string"==typeof i&&u[i].call(r)})};n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(jQuery),function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f="object"==typeof i&&i;r||u.data("bs.button",r=new t(this,f));"toggle"==i?r.toggle():i&&r.setState(i)})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.isLoading=!1},r;t.VERSION="3.4.1";t.DEFAULTS={loadingText:"loading..."};t.prototype.setState=function(t){var i="disabled",r=this.$element,f=r.is("input")?"val":"html",u=r.data();t+="Text";null==u.resetText&&r.data("resetText",r[f]());setTimeout(n.proxy(function(){r[f](null==u[t]?this.options[t]:u[t]);"loadingText"==t?(this.isLoading=!0,r.addClass(i).attr(i,i).prop(i,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(i).removeAttr(i).prop(i,!1))},this),0)};t.prototype.toggle=function(){var t=!0,i=this.$element.closest('[data-toggle="buttons"]'),n;i.length?(n=this.$element.find("input"),"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),i.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};r=n.fn.button;n.fn.button=i;n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=r,this};n(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=n(t.target).closest(".btn");i.call(r,"toggle");n(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){n(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i),e="string"==typeof i?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));"number"==typeof i?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})}var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=null;this.sliding=null;this.interval=null;this.$active=null;this.$items=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",n.proxy(this.keydown,this));"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",n.proxy(this.pause,this)).on("mouseleave.bs.carousel",n.proxy(this.cycle,this))},u,r;t.VERSION="3.4.1";t.TRANSITION_DURATION=600;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0};t.prototype.keydown=function(n){if(!/input|textarea/i.test(n.target.tagName)){switch(n.which){case 37:this.prev();break;case 39:this.next();break;default:return}n.preventDefault()}};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getItemIndex=function(n){return this.$items=n.parent().children(".item"),this.$items.index(n||this.$active)};t.prototype.getItemForDirection=function(n,t){var i=this.getItemIndex(t),r;return("prev"==n&&0===i||"next"==n&&i==this.$items.length-1)&&!this.options.wrap?t:(r=(i+("prev"==n?-1:1))%this.$items.length,this.$items.eq(r))};t.prototype.to=function(n){var i=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1||n<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(n)}):t==n?this.pause().cycle():this.slide(t<n?"next":"prev",this.$items.eq(n))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(i,r){var e=this.$element.find(".item.active"),u=r||this.getItemForDirection(i,e),l=this.interval,f="next"==i?"left":"right",a=this,o,s,h,c;return u.hasClass("active")?this.sliding=!1:(o=u[0],s=n.Event("slide.bs.carousel",{relatedTarget:o,direction:f}),(this.$element.trigger(s),!s.isDefaultPrevented())?((this.sliding=!0,l&&this.pause(),this.$indicators.length)&&(this.$indicators.find(".active").removeClass("active"),h=n(this.$indicators.children()[this.getItemIndex(u)]),h&&h.addClass("active")),c=n.Event("slid.bs.carousel",{relatedTarget:o,direction:f}),n.support.transition&&this.$element.hasClass("slide")?(u.addClass(i),"object"==typeof u&&u.length&&u[0].offsetWidth,e.addClass(f),u.addClass(f),e.one("bsTransitionEnd",function(){u.removeClass([i,f].join(" ")).addClass("active");e.removeClass(["active",f].join(" "));a.sliding=!1;setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(e.removeClass("active"),u.addClass("active"),this.sliding=!1,this.$element.trigger(c)),l&&this.cycle(),this):void 0)};u=n.fn.carousel;n.fn.carousel=i;n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=u,this};r=function(t){var u=n(this),f=u.attr("href"),s,r,o,e;f&&(f=f.replace(/.*(?=#[^\s]+$)/,""));s=u.attr("data-target")||f;r=n(document).find(s);r.hasClass("carousel")&&(o=n.extend({},r.data(),u.data()),e=u.attr("data-slide-to"),e&&(o.interval=!1),i.call(r,o),e&&r.data("bs.carousel").to(e),t.preventDefault())};n(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r);n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery),function(n){"use strict";function r(t){var i,r=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return n(document).find(r)}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.collapse"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i);!r&&f.toggle&&/show|hide/.test(i)&&(f.toggle=!1);r||u.data("bs.collapse",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.$trigger=n('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()},u;t.VERSION="3.4.1";t.TRANSITION_DURATION=350;t.DEFAULTS={toggle:!0};t.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"};t.prototype.show=function(){var f,r,e,u,o,s;if(!this.transitioning&&!this.$element.hasClass("in")&&(r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing"),!(r&&r.length&&(f=r.data("bs.collapse"))&&f.transitioning)&&(e=n.Event("show.bs.collapse"),this.$element.trigger(e),!e.isDefaultPrevented()))){if(r&&r.length&&(i.call(r,"hide"),f||r.data("bs.collapse",null)),u=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[u](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[u]("");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return o.call(this);s=n.camelCase(["scroll",u].join("-"));this.$element.one("bsTransitionEnd",n.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[u](this.$element[0][s])}};t.prototype.hide=function(){var r,i,u;if(!this.transitioning&&this.$element.hasClass("in")&&(r=n.Event("hide.bs.collapse"),this.$element.trigger(r),!r.isDefaultPrevented())){if(i=this.dimension(),this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,u=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},!n.support.transition)return u.call(this);this.$element[i](0).one("bsTransitionEnd",n.proxy(u,this)).emulateTransitionEnd(t.TRANSITION_DURATION)}};t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};t.prototype.getParent=function(){return n(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(n.proxy(function(t,i){var u=n(i);this.addAriaAndCollapsedClass(r(u),u)},this)).end()};t.prototype.addAriaAndCollapsedClass=function(n,t){var i=n.hasClass("in");n.attr("aria-expanded",i);t.toggleClass("collapsed",!i).attr("aria-expanded",i)};u=n.fn.collapse;n.fn.collapse=i;n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=u,this};n(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var u=n(this),f,e;u.attr("data-target")||t.preventDefault();f=r(u);e=f.data("bs.collapse")?"toggle":u.data();i.call(f,e)})}(jQuery),function(n){"use strict";function r(t){var i=t.attr("data-target"),r;return i||(i=(i=t.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r="#"!==i?n(document).find(i):null,r&&r.length?r:t.parent()}function u(t){t&&3===t.which||(n(".dropdown-backdrop").remove(),n(i).each(function(){var u=n(this),i=r(u),f={relatedTarget:this};i.hasClass("open")&&(t&&"click"==t.type&&/input|textarea/i.test(t.target.tagName)&&n.contains(i[0],t.target)||(i.trigger(t=n.Event("hide.bs.dropdown",f)),t.isDefaultPrevented()||(u.attr("aria-expanded","false"),i.removeClass("open").trigger(n.Event("hidden.bs.dropdown",f)))))}))}var i='[data-toggle="dropdown"]',t=function(t){n(t).on("click.bs.dropdown",this.toggle)},f;t.VERSION="3.4.1";t.prototype.toggle=function(t){var f=n(this),i,o,e;if(!f.is(".disabled, :disabled")){if(i=r(f),o=i.hasClass("open"),u(),!o){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&n(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(n(this)).on("click",u),e={relatedTarget:this},i.trigger(t=n.Event("show.bs.dropdown",e)),t.isDefaultPrevented())return;f.trigger("focus").attr("aria-expanded","true");i.toggleClass("open").trigger(n.Event("shown.bs.dropdown",e))}return!1}};t.prototype.keydown=function(t){var e,o,s,f,u;if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(e=n(this),t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled"))){if(o=r(e),s=o.hasClass("open"),!s&&27!=t.which||s&&27==t.which)return 27==t.which&&o.find(i).trigger("focus"),e.trigger("click");f=o.find(".dropdown-menu li:not(.disabled):visible a");f.length&&(u=f.index(t.target),38==t.which&&0<u&&u--,40==t.which&&u<f.length-1&&u++,~u||(u=0),f.eq(u).trigger("focus"))}};f=n.fn.dropdown;n.fn.dropdown=function(i){return this.each(function(){var r=n(this),u=r.data("bs.dropdown");u||r.data("bs.dropdown",u=new t(this));"string"==typeof i&&u[i].call(r)})};n.fn.dropdown.Constructor=t;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this};n(document).on("click.bs.dropdown.data-api",u).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("click.bs.dropdown.data-api",i,t.prototype.toggle).on("keydown.bs.dropdown.data-api",i,t.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",t.prototype.keydown)}(jQuery),function(n){"use strict";function i(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i);u||f.data("bs.modal",u=new t(this,e));"string"==typeof i?u[i](r):e.show&&u.show(r)})}var t=function(t,i){this.options=i;this.$body=n(document.body);this.$element=n(t);this.$dialog=this.$element.find(".modal-dialog");this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom";this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,n.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))},r;t.VERSION="3.4.1";t.TRANSITION_DURATION=300;t.BACKDROP_TRANSITION_DURATION=150;t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};t.prototype.toggle=function(n){return this.isShown?this.hide():this.show(n)};t.prototype.show=function(i){var r=this,u=n.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(u);this.isShown||u.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',n.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){n(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var f=n.support.transition&&r.$element.hasClass("fade"),u;r.$element.parent().length||r.$element.appendTo(r.$body);r.$element.show().scrollTop(0);r.adjustDialog();f&&r.$element[0].offsetWidth;r.$element.addClass("in");r.enforceFocus();u=n.Event("shown.bs.modal",{relatedTarget:i});f?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(u)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(u)}))};t.prototype.hide=function(i){i&&i.preventDefault();i=n.Event("hide.bs.modal");this.$element.trigger(i);this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),n(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),n.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",n.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())};t.prototype.enforceFocus=function(){n(document).off("focusin.bs.modal").on("focusin.bs.modal",n.proxy(function(n){document===n.target||this.$element[0]===n.target||this.$element.has(n.target).length||this.$element.trigger("focus")},this))};t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",n.proxy(function(n){27==n.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")};t.prototype.resize=function(){this.isShown?n(window).on("resize.bs.modal",n.proxy(this.handleUpdate,this)):n(window).off("resize.bs.modal")};t.prototype.hideModal=function(){var n=this;this.$element.hide();this.backdrop(function(){n.$body.removeClass("modal-open");n.resetAdjustments();n.resetScrollbar();n.$element.trigger("hidden.bs.modal")})};t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};t.prototype.backdrop=function(i){var e=this,f=this.$element.hasClass("fade")?"fade":"",r,u;if(this.isShown&&this.options.backdrop){if(r=n.support.transition&&f,this.$backdrop=n(document.createElement("div")).addClass("modal-backdrop "+f).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",n.proxy(function(n){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),u=function(){e.removeBackdrop();i&&i()},n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",u).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):u()):i&&i()};t.prototype.handleUpdate=function(){this.adjustDialog()};t.prototype.adjustDialog=function(){var n=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&n?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!n?this.scrollbarWidth:""})};t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};t.prototype.checkScrollbar=function(){var n=window.innerWidth,t;n||(t=document.documentElement.getBoundingClientRect(),n=t.right-Math.abs(t.left));this.bodyIsOverflowing=document.body.clientWidth<n;this.scrollbarWidth=this.measureScrollbar()};t.prototype.setScrollbar=function(){var i=parseInt(this.$body.css("padding-right")||0,10),t;this.originalBodyPad=document.body.style.paddingRight||"";t=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",i+t),n(this.fixedContent).each(function(i,r){var u=r.style.paddingRight,f=n(r).css("padding-right");n(r).data("padding-right",u).css("padding-right",parseFloat(f)+t+"px")}))};t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad);n(this.fixedContent).each(function(t,i){var r=n(i).data("padding-right");n(i).removeData("padding-right");i.style.paddingRight=r||""})};t.prototype.measureScrollbar=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",this.$body.append(n),t=n.offsetWidth-n.clientWidth,this.$body[0].removeChild(n),t};r=n.fn.modal;n.fn.modal=i;n.fn.modal.Constructor=t;n.fn.modal.noConflict=function(){return n.fn.modal=r,this};n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=n(this),f=r.attr("href"),e=r.attr("data-target")||f&&f.replace(/.*(?=#[^\s]+$)/,""),u=n(document).find(e),o=u.data("bs.modal")?"toggle":n.extend({remote:!/#/.test(f)&&f},u.data(),r.data());r.is("a")&&t.preventDefault();u.one("show.bs.modal",function(n){n.isDefaultPrevented()||u.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})});i.call(u,o,this)})}(jQuery),function(n){"use strict";function s(t,i){var r=t.nodeName.toLowerCase();if(-1!==n.inArray(r,i))return-1===n.inArray(r,f)||Boolean(t.nodeValue.match(e)||t.nodeValue.match(o));for(var s=n(i).filter(function(n,t){return t instanceof RegExp}),u=0,h=s.length;u<h;u++)if(r.match(s[u]))return!0;return!1}function i(t,i,r){var f,u,h;if(0===t.length)return t;if(r&&"function"==typeof r)return r(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;f=document.implementation.createHTMLDocument("sanitization");f.body.innerHTML=t;for(var a=n.map(i,function(n,t){return t}),l=n(f.body).find("*"),o=0,v=l.length;o<v;o++)if(u=l[o],h=u.nodeName.toLowerCase(),-1!==n.inArray(h,a))for(var c=n.map(u.attributes,function(n){return n}),y=[].concat(i["*"]||[],i[h]||[]),e=0,p=c.length;e<p;e++)s(c[e],y)||u.removeAttribute(c[e].nodeName);else u.parentNode.removeChild(u);return f.body.innerHTML}var u=["sanitize","whiteList","sanitizeFn"],f=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],e=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,t=function(n,t){this.type=null;this.options=null;this.enabled=null;this.timeout=null;this.hoverState=null;this.$element=null;this.inState=null;this.init("tooltip",n,t)},r;t.VERSION="3.4.1";t.TRANSITION_DURATION=150;t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}};t.prototype.init=function(t,i,r){var f,e,u,o,s;if(this.enabled=!0,this.type=t,this.$element=n(i),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&n(document).find(n.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(f=this.options.trigger.split(" "),e=f.length;e--;)if(u=f[e],"click"==u)this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else"manual"!=u&&(o="hover"==u?"mouseenter":"focusin",s="hover"==u?"mouseleave":"focusout",this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this)));this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.getOptions=function(t){var r=this.$element.data();for(var f in r)r.hasOwnProperty(f)&&-1!==n.inArray(f,u)&&delete r[f];return(t=n.extend({},this.getDefaults(),r,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=i(t.template,t.whiteList,t.sanitizeFn)),t};t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&n.each(this._options,function(n,r){i[n]!=r&&(t[n]=r)}),t};t.prototype.enter=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusin"==t.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}};t.prototype.isInStateTrue=function(){for(var n in this.inState)if(this.inState[n])return!0;return!1};t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusout"==t.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)}};t.prototype.show=function(){var c=n.Event("show.bs."+this.type),l,p,e,w,h;if(this.hasContent()&&this.enabled){if(this.$element.trigger(c),l=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),c.isDefaultPrevented()||!l)return;var u=this,r=this.tip(),a=this.getUID(this.type);this.setContent();r.attr("id",a);this.$element.attr("aria-describedby",a);this.options.animation&&r.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,v=/\s?auto?\s?/i,y=v.test(i);y&&(i=i.replace(v,"")||"top");r.detach().css({top:0,left:0,display:"block"}).addClass(i).data("bs."+this.type,this);this.options.container?r.appendTo(n(document).find(this.options.container)):r.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var f=this.getPosition(),o=r[0].offsetWidth,s=r[0].offsetHeight;y&&(p=i,e=this.getPosition(this.$viewport),i="bottom"==i&&f.bottom+s>e.bottom?"top":"top"==i&&f.top-s<e.top?"bottom":"right"==i&&f.right+o>e.width?"left":"left"==i&&f.left-o<e.left?"right":i,r.removeClass(p).addClass(i));w=this.getCalculatedOffset(i,f,o,s);this.applyPlacement(w,i);h=function(){var n=u.hoverState;u.$element.trigger("shown.bs."+u.type);u.hoverState=null;"out"==n&&u.leave(u)};n.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",h).emulateTransitionEnd(t.TRANSITION_DURATION):h()}};t.prototype.applyPlacement=function(t,i){var r=this.tip(),l=r[0].offsetWidth,e=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10),h,f,u;isNaN(o)&&(o=0);isNaN(s)&&(s=0);t.top+=o;t.left+=s;n.offset.setOffset(r[0],n.extend({using:function(n){r.css({top:Math.round(n.top),left:Math.round(n.left)})}},t),0);r.addClass("in");h=r[0].offsetWidth;f=r[0].offsetHeight;"top"==i&&f!=e&&(t.top=t.top+e-f);u=this.getViewportAdjustedDelta(i,t,h,f);u.left?t.left+=u.left:t.top+=u.top;var c=/top|bottom/.test(i),a=c?2*u.left-l+h:2*u.top-e+f,v=c?"offsetWidth":"offsetHeight";r.offset(t);this.replaceArrow(a,r[0][v],c)};t.prototype.replaceArrow=function(n,t,i){this.arrow().css(i?"left":"top",50*(1-n/t)+"%").css(i?"top":"left","")};t.prototype.setContent=function(){var t=this.tip(),n=this.getTitle();this.options.html?(this.options.sanitize&&(n=i(n,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(n)):t.find(".tooltip-inner").text(n);t.removeClass("fade in top bottom left right")};t.prototype.hide=function(i){function e(){"in"!=r.hoverState&&u.detach();r.$element&&r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type);i&&i()}var r=this,u=n(this.$tip),f=n.Event("hide.bs."+this.type);if(this.$element.trigger(f),!f.isDefaultPrevented())return u.removeClass("in"),n.support.transition&&u.hasClass("fade")?u.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e(),this.hoverState=null,this};t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||"string"!=typeof n.attr("data-original-title"))&&n.attr("data-original-title",n.attr("title")||"").attr("title","")};t.prototype.hasContent=function(){return this.getTitle()};t.prototype.getPosition=function(t){var r=(t=t||this.$element)[0],u="BODY"==r.tagName,i=r.getBoundingClientRect();null==i.width&&(i=n.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var f=window.SVGElement&&r instanceof window.SVGElement,e=u?{top:0,left:0}:f?null:t.offset(),o={scroll:u?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=u?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},i,o,s,e)};t.prototype.getCalculatedOffset=function(n,t,i,r){return"bottom"==n?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==n?{top:t.top-r,left:t.left+t.width/2-i/2}:"left"==n?{top:t.top+t.height/2-r/2,left:t.left-i}:{top:t.top+t.height/2-r/2,left:t.left+t.width}};t.prototype.getViewportAdjustedDelta=function(n,t,i,r){var f={top:0,left:0},e,u,o,s,h,c;return this.$viewport?(e=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport),/right|left/.test(n)?(o=t.top-e-u.scroll,s=t.top+e-u.scroll+r,o<u.top?f.top=u.top-o:s>u.top+u.height&&(f.top=u.top+u.height-s)):(h=t.left-e,c=t.left+e+i,h<u.left?f.left=u.left-h:c>u.right&&(f.left=u.left+u.width-c)),f):f};t.prototype.getTitle=function(){var t=this.$element,n=this.options;return t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)};t.prototype.getUID=function(n){for(;n+=~~(1e6*Math.random()),document.getElementById(n););return n};t.prototype.tip=function(){if(!this.$tip&&(this.$tip=n(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};t.prototype.enable=function(){this.enabled=!0};t.prototype.disable=function(){this.enabled=!1};t.prototype.toggleEnabled=function(){this.enabled=!this.enabled};t.prototype.toggle=function(t){var i=this;t&&((i=n(t.currentTarget).data("bs."+this.type))||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)));t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)};t.prototype.destroy=function(){var n=this;clearTimeout(this.timeout);this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type);n.$tip&&n.$tip.detach();n.$tip=null;n.$arrow=null;n.$viewport=null;n.$element=null})};t.prototype.sanitizeHtml=function(n){return i(n,this.options.whiteList,this.options.sanitizeFn)};r=n.fn.tooltip;n.fn.tooltip=function(i){return this.each(function(){var u=n(this),r=u.data("bs.tooltip"),f="object"==typeof i&&i;!r&&/destroy|hide/.test(i)||(r||u.data("bs.tooltip",r=new t(this,f)),"string"==typeof i&&r[i]())})};n.fn.tooltip.Constructor=t;n.fn.tooltip.noConflict=function(){return n.fn.tooltip=r,this}}(jQuery),function(n){"use strict";var t=function(n,t){this.init("popover",n,t)},i;if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.4.1";t.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-title"><\/h3><div class="popover-content"><\/div><\/div>'});((t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype)).constructor=t).prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.setContent=function(){var n=this.tip(),i=this.getTitle(),t=this.getContent(),r;this.options.html?(r=typeof t,this.options.sanitize&&(i=this.sanitizeHtml(i),"string"===r&&(t=this.sanitizeHtml(t))),n.find(".popover-title").html(i),n.find(".popover-content").children().detach().end()["string"===r?"html":"append"](t)):(n.find(".popover-title").text(i),n.find(".popover-content").children().detach().end().text(t));n.removeClass("fade top bottom left right in");n.find(".popover-title").html()||n.find(".popover-title").hide()};t.prototype.hasContent=function(){return this.getTitle()||this.getContent()};t.prototype.getContent=function(){var t=this.$element,n=this.options;return t.attr("data-content")||("function"==typeof n.content?n.content.call(t[0]):n.content)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};i=n.fn.popover;n.fn.popover=function(i){return this.each(function(){var u=n(this),r=u.data("bs.popover"),f="object"==typeof i&&i;!r&&/destroy|hide/.test(i)||(r||u.data("bs.popover",r=new t(this,f)),"string"==typeof i&&r[i]())})};n.fn.popover.Constructor=t;n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(jQuery),function(n){"use strict";function t(i,r){this.$body=n(document.body);this.$scrollElement=n(i).is(document.body)?n(window):n(i);this.options=n.extend({},t.DEFAULTS,r);this.selector=(this.options.target||"")+" .nav li > a";this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on("scroll.bs.scrollspy",n.proxy(this.process,this));this.refresh();this.process()}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.scrollspy"),f="object"==typeof i&&i;r||u.data("bs.scrollspy",r=new t(this,f));"string"==typeof i&&r[i]()})}t.VERSION="3.4.1";t.DEFAULTS={offset:10};t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};t.prototype.refresh=function(){var t=this,i="offset",r=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();n.isWindow(this.$scrollElement[0])||(i="position",r=this.$scrollElement.scrollTop());this.$body.find(this.selector).map(function(){var f=n(this),u=f.data("target")||f.attr("href"),t=/^#./.test(u)&&n(u);return t&&t.length&&t.is(":visible")&&[[t[i]().top+r,u]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){t.offsets.push(this[0]);t.targets.push(this[1])})};t.prototype.process=function(){var n,i=this.$scrollElement.scrollTop()+this.options.offset,f=this.getScrollHeight(),e=this.options.offset+f-this.$scrollElement.height(),t=this.offsets,r=this.targets,u=this.activeTarget;if(this.scrollHeight!=f&&this.refresh(),e<=i)return u!=(n=r[r.length-1])&&this.activate(n);if(u&&i<t[0])return this.activeTarget=null,this.clear();for(n=t.length;n--;)u!=r[n]&&i>=t[n]&&(t[n+1]===undefined||i<t[n+1])&&this.activate(r[n])};t.prototype.activate=function(t){this.activeTarget=t;this.clear();var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=n(r).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active"));i.trigger("activate.bs.scrollspy")};t.prototype.clear=function(){n(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=n.fn.scrollspy;n.fn.scrollspy=i;n.fn.scrollspy.Constructor=t;n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=r,this};n(window).on("load.bs.scrollspy.data-api",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery),function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tab");r||u.data("bs.tab",r=new t(this));"string"==typeof i&&r[i]()})}var t=function(t){this.element=n(t)},u,i;t.VERSION="3.4.1";t.TRANSITION_DURATION=150;t.prototype.show=function(){var t=this.element,f=t.closest("ul:not(.dropdown-menu)"),i=t.data("target"),u;if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=f.find(".active:last a"),e=n.Event("hide.bs.tab",{relatedTarget:t[0]}),o=n.Event("show.bs.tab",{relatedTarget:r[0]});(r.trigger(e),t.trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(u=n(document).find(i),this.activate(t.closest("li"),f),this.activate(u,u.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]});t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}};t.prototype.activate=function(i,r,u){function o(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1);i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0);e?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade");i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0);u&&u()}var f=r.find("> .active"),e=u&&n.support.transition&&(f.length&&f.hasClass("fade")||!!r.find("> .fade").length);f.length&&e?f.one("bsTransitionEnd",o).emulateTransitionEnd(t.TRANSITION_DURATION):o();f.removeClass("in")};u=n.fn.tab;n.fn.tab=r;n.fn.tab.Constructor=t;n.fn.tab.noConflict=function(){return n.fn.tab=u,this};i=function(t){t.preventDefault();r.call(n(this),"show")};n(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.affix"),f="object"==typeof i&&i;r||u.data("bs.affix",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.options=n.extend({},t.DEFAULTS,r);var u=this.options.target===t.DEFAULTS.target?n(this.options.target):n(document).find(this.options.target);this.$target=u.on("scroll.bs.affix.data-api",n.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",n.proxy(this.checkPositionWithEventLoop,this));this.$element=n(i);this.affixed=null;this.unpin=null;this.pinnedOffset=null;this.checkPosition()},r;t.VERSION="3.4.1";t.RESET="affix affix-top affix-bottom";t.DEFAULTS={offset:0,target:window};t.prototype.getState=function(n,t,i,r){var u=this.$target.scrollTop(),e=this.$element.offset(),o=this.$target.height(),f,s;return null!=i&&"top"==this.affixed?u<i&&"top":"bottom"==this.affixed?null!=i?!(u+this.unpin<=e.top)&&"bottom":!(u+o<=n-r)&&"bottom":(f=null==this.affixed,s=f?u:e.top,null!=i&&u<=i?"top":null!=r&&n-r<=s+(f?o:t)&&"bottom")};t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var n=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-n};t.prototype.checkPositionWithEventLoop=function(){setTimeout(n.proxy(this.checkPosition,this),1)};t.prototype.checkPosition=function(){var i,e,o;if(this.$element.is(":visible")){var s=this.$element.height(),r=this.options.offset,f=r.top,u=r.bottom,h=Math.max(n(document).height(),n(document.body).height());if("object"!=typeof r&&(u=f=r),"function"==typeof f&&(f=r.top(this.$element)),"function"==typeof u&&(u=r.bottom(this.$element)),i=this.getState(h,s,f,u),this.affixed!=i){if(null!=this.unpin&&this.$element.css("top",""),e="affix"+(i?"-"+i:""),o=n.Event(e+".bs.affix"),this.$element.trigger(o),o.isDefaultPrevented())return;this.affixed=i;this.unpin="bottom"==i?this.getPinnedOffset():null;this.$element.removeClass(t.RESET).addClass(e).trigger(e.replace("affix","affixed")+".bs.affix")}"bottom"==i&&this.$element.offset({top:h-s-u})}};r=n.fn.affix;n.fn.affix=i;n.fn.affix.Constructor=t;n.fn.affix.noConflict=function(){return n.fn.affix=r,this};n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var r=n(this),t=r.data();t.offset=t.offset||{};null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom);null!=t.offsetTop&&(t.offset.top=t.offsetTop);i.call(r,t)})})}(jQuery);!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((n=n||self).bootstrap={},n.jQuery)}(this,function(n,t){"use strict";function lf(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function c(n,t,i){return t&&lf(n.prototype,t),i&&lf(n,i),n}function af(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function u(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?af(Object(i),!0).forEach(function(t){var r,u,f;r=n;f=i[u=t];u in r?Object.defineProperty(r,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[u]=f}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):af(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function po(n){var u=this,r=!1;return t(this).one(i.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||i.triggerTransitionEnd(u)},n),this}function df(n){return n&&"[object Function]"==={}.toString.call(n)}function tt(n,t){if(1!==n.nodeType)return[];var i=n.ownerDocument.defaultView.getComputedStyle(n,null);return t?i[t]:i}function vu(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function ci(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=tt(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll|overlay)/.test(i+u+r)?n:ci(vu(n))}function gf(n){return n&&n.referenceNode?n.referenceNode:n}function ct(n){return 11===n?yu:10===n?pu:yu||pu}function lt(n){var r,t,i;if(!n)return document.documentElement;for(r=ct(10)?document.body:null,t=n.offsetParent||null;t===r&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return i=t&&t.nodeName,i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(t.nodeName)&&"static"===tt(t,"position")?lt(t):t:n?n.ownerDocument.documentElement:document.documentElement}function wu(n){return null!==n.parentNode?wu(n.parentNode):n}function ar(n,t){var i,u;if(!(n&&n.nodeType&&t&&t.nodeType))return document.documentElement;var f=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,e=f?n:t,o=f?t:n,r=document.createRange();return(r.setStart(e,0),r.setEnd(o,0),i=r.commonAncestorContainer,n!==i&&t!==i||e.contains(o))?function(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||lt(n.firstElementChild)===n)}(i)?i:lt(i):(u=wu(n),u.host?ar(u.host,t):ar(n,wu(t).host))}function at(n,t){var i="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",r=n.nodeName,u;return"BODY"!==r&&"HTML"!==r?n[i]:(u=n.ownerDocument.documentElement,(n.ownerDocument.scrollingElement||u)[i])}function ne(n,t){var i="x"===t?"Left":"Top",r="Left"==i?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function te(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],ct(10)?parseInt(i["offset"+n])+parseInt(r["margin"+("Height"===n?"Top":"Left")])+parseInt(r["margin"+("Height"===n?"Bottom":"Right")]):0)}function ie(n){var i=n.body,t=n.documentElement,r=ct(10)&&getComputedStyle(t);return{height:te("Height",i,t,r),width:te("Width",i,t,r)}}function ue(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function vt(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function w(n){return o({},n,{right:n.left+n.width,bottom:n.top+n.height})}function bu(n){var t={},r,u,o;try{ct(10)?(t=n.getBoundingClientRect(),r=at(n,"top"),u=at(n,"left"),t.top+=r,t.left+=u,t.bottom+=r,t.right+=u):t=n.getBoundingClientRect()}catch(n){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s="HTML"===n.nodeName?ie(n.ownerDocument):{},h=s.width||n.clientWidth||i.width,c=s.height||n.clientHeight||i.height,f=n.offsetWidth-h,e=n.offsetHeight-c;return(f||e)&&(o=tt(n),f-=ne(o,"x"),e-=ne(o,"y"),i.width-=f,i.height-=e),w(i)}function ku(n,t,i){var a=2<arguments.length&&void 0!==i&&i,v=ct(10),y="HTML"===t.nodeName,f=bu(n),u=bu(t),h=ci(n),e=tt(t),c=parseFloat(e.borderTopWidth,10),l=parseFloat(e.borderLeftWidth,10),r,o,s;return a&&y&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0)),r=w({top:f.top-u.top-c,left:f.left-u.left-l,width:f.width,height:f.height}),(r.marginTop=0,r.marginLeft=0,!v&&y)&&(o=parseFloat(e.marginTop,10),s=parseFloat(e.marginLeft,10),r.top-=c-o,r.bottom-=c-o,r.left-=l-s,r.right-=l-s,r.marginTop=o,r.marginLeft=s),(v&&!a?t.contains(h):t===h&&"BODY"!==h.nodeName)&&(r=function(n,t,i){var e=2<arguments.length&&void 0!==i&&i,u=at(t,"top"),f=at(t,"left"),r=e?-1:1;return n.top+=u*r,n.bottom+=u*r,n.left+=f*r,n.right+=f*r,n}(r,t)),r}function fe(n){if(!n||!n.parentElement||ct())return document.documentElement;for(var t=n.parentElement;t&&"none"===tt(t,"transform");)t=t.parentElement;return t||document.documentElement}function du(n,t,i,r,u){var h=4<arguments.length&&void 0!==u&&u,f={top:0,left:0},c=h?fe(n):ar(n,gf(t)),o,e,s;if("viewport"===r)f=function(n,t){var u=1<arguments.length&&void 0!==t&&t,i=n.ownerDocument.documentElement,r=ku(n,i),f=Math.max(i.clientWidth,window.innerWidth||0),e=Math.max(i.clientHeight,window.innerHeight||0),o=u?0:at(i),s=u?0:at(i,"left");return w({top:o-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:f,height:e})}(c,h);else if(o=void 0,"scrollParent"===r?"BODY"===(o=ci(vu(t))).nodeName&&(o=n.ownerDocument.documentElement):o="window"===r?n.ownerDocument.documentElement:r,e=ku(o,c,h),"HTML"!==o.nodeName||function n(t){var r=t.nodeName,i;return"BODY"===r||"HTML"===r?!1:"fixed"===tt(t,"position")?!0:(i=vu(t),!!i&&n(i))}(c))f=e;else{var l=ie(n.ownerDocument),a=l.height,v=l.width;f.top+=e.top-e.marginTop;f.bottom=a+e.top;f.left+=e.left-e.marginLeft;f.right=v+e.left}return s="number"==typeof(i=i||0),f.left+=s?i:i.left||0,f.top+=s?i:i.top||0,f.right-=s?i:i.right||0,f.bottom-=s?i:i.bottom||0,f}function ee(n,t,i,r,u,f){var a=5<arguments.length&&void 0!==f?f:0;if(-1===n.indexOf("auto"))return n;var e=du(i,r,a,u),s={top:{width:e.width,height:t.top-e.top},right:{width:e.right-t.right,height:e.height},bottom:{width:e.width,height:e.bottom-t.bottom},left:{width:t.left-e.left,height:e.height}},h=Object.keys(s).map(function(n){return o({key:n},s[n],{area:function(n){return n.width*n.height}(s[n])})}).sort(function(n,t){return t.area-n.area}),c=h.filter(function(n){var t=n.width,r=n.height;return t>=i.clientWidth&&r>=i.clientHeight}),v=0<c.length?c[0].key:h[0].key,l=n.split("-")[1];return v+(l?"-"+l:"")}function oe(n,t,i,r){var u=3<arguments.length&&void 0!==r?r:null;return ku(i,u?fe(t):ar(t,gf(i)),u)}function se(n){var t=n.ownerDocument.defaultView.getComputedStyle(n),i=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+r,height:n.offsetHeight+i}}function vr(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function he(n,t,i){i=i.split("-")[0];var r=se(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[vr(f)],e}function li(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function ce(n,t,i){return(void 0===i?n:n.slice(0,function(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=li(n,function(n){return n[t]===i});return n.indexOf(r)}(n,"name",i))).forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n.function||n.fn;n.enabled&&df(i)&&(t.offsets.popper=w(t.offsets.popper),t.offsets.reference=w(t.offsets.reference),t=i(t,n))}),t}function le(n,t){return n.some(function(n){var i=n.name;return n.enabled&&i===t})}function gu(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length;t++)if(i=u[t],r=i?""+i+f:n,"undefined"!=typeof document.body.style[r])return r;return null}function ae(n){var t=n.ownerDocument;return t?t.defaultView:window}function hh(n,t,i,r){i.updateBound=r;ae(n).addEventListener("resize",i.updateBound,{passive:!0});var u=ci(n);return function n(t,i,r,u){var e="BODY"===t.nodeName,f=e?t.ownerDocument.defaultView:t;f.addEventListener(i,r,{passive:!0});e||n(ci(f.parentNode),i,r,u);u.push(f)}(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function ch(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(n,t){return ae(n).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}function nf(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function tf(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&nf(t[i])&&(r="px");n.style[i]=t[i]+r})}function lh(n,t){function u(n){return n}var f=n.offsets,i=f.popper,l=f.reference,r=Math.round,a=Math.floor,e=r(l.width),o=r(i.width),v=-1!==["left","right"].indexOf(n.placement),s=-1!==n.placement.indexOf("-"),h=t?v||s||e%2==o%2?r:a:u,c=t?r:u;return{left:h(e%2==1&&o%2==1&&!s&&t?i.left-1:i.left),top:c(i.top),bottom:c(i.bottom),right:h(i.right)}}function ye(n,t,i){var u=li(n,function(n){return n.name===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r,e;return f||(r="`"+t+"`",e="`"+i+"`",console.warn(e+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function pe(n,t){var u=1<arguments.length&&void 0!==t&&t,i=yr.indexOf(n),r=yr.slice(i+1).concat(yr.slice(0,i));return u?r.reverse():r}function ph(n,t,i,r){var s=[0,0],h=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(li(u,function(n){return-1!==n.search(/,|\s/)})),e,o;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),e=/\s*,\s*|\s+/,o=-1!==f?[u.slice(0,f).concat([u[f].split(e)[0]]),[u[f].split(e)[1]].concat(u.slice(f+1))]:[u],(o=o.map(function(n,r){var f=(1===r?!h:h)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return function(n,t,i,r){var o=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+o[1],u=o[2],e;if(!f)return n;if(0!==u.indexOf("%"))return"vh"!==u&&"vw"!==u?f:("vh"===u?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*f;e=void 0;switch(u){case"%p":e=i;break;case"%":case"%r":default:e=r}return w(e)[t]/100*f}(n,f,t,i)})})).forEach(function(n,t){n.forEach(function(i,r){nf(i)&&(s[t]+=i*("-"===n[r-1]?-1:1))})}),s}function yt(n,t){var i=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},u;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,yt);this.scheduleUpdate=function(){return requestAnimationFrame(i.update)};this.update=sh(this.update.bind(this));this.options=o({},yt.Defaults,r);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=n&&n.jquery?n[0]:n;this.popper=t&&t.jquery?t[0]:t;this.options.modifiers={};Object.keys(o({},yt.Defaults.modifiers,r.modifiers)).forEach(function(n){i.options.modifiers[n]=o({},yt.Defaults.modifiers[n]||{},r.modifiers?r.modifiers[n]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return o({name:n},i.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&df(n.onLoad)&&n.onLoad(i.reference,i.popper,i.options,n,i.state)});this.update();u=this.options.eventsEnabled;u&&this.enableEventListeners();this.state.eventsEnabled=u}function to(n,t,i){if(0===n.length)return n;if(i&&"function"==typeof i)return i(n);for(var u=(new window.DOMParser).parseFromString(n,"text/html"),e=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),o=function(n){var i=f[n],o=i.nodeName.toLowerCase(),r,u;if(-1===e.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[o]||[]);r.forEach(function(n){(function(n,t){var i=n.nodeName.toLowerCase();if(-1!==t.indexOf(i))return-1===dc.indexOf(i)||Boolean(n.nodeValue.match(gc)||n.nodeValue.match(nl));for(var u=t.filter(function(n){return n instanceof RegExp}),r=0,f=u.length;r<f;r++)if(i.match(u[r]))return!0;return!1})(n,u)||i.removeAttribute(n.nodeName)})},r=0,s=f.length;r<s;r++)o(r);return u.body.innerHTML}var ni,i,yu,pu,re,o,ve,rf,yr,we,b;t=t&&t.hasOwnProperty("default")?t.default:t;ni="transitionend";i={TRANSITION_END:"bsTransitionEnd",getUID:function(n){for(;n+=~~(1e6*Math.random()),document.getElementById(n););return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;t&&"#"!==t||(i=n.getAttribute("href"),t=i&&"#"!==i?i.trim():"");try{return document.querySelector(t)?t:null}catch(n){return null}},getTransitionDurationFromElement:function(n){if(!n)return 0;var i=t(n).css("transition-duration"),r=t(n).css("transition-delay"),u=parseFloat(i),f=parseFloat(r);return u||f?(i=i.split(",")[0],r=r.split(",")[0],1e3*(parseFloat(i)+parseFloat(r))):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(ni)},supportsTransitionEnd:function(){return Boolean(ni)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,r){var u,s;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=t[u],o=f&&i.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+o+'" but expected type "'+e+'".');}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if("function"!=typeof n.getRootNode)return n instanceof ShadowRoot?n:n.parentNode?i.findShadowRoot(n.parentNode):null;var t=n.getRootNode();return t instanceof ShadowRoot?t:null},jQueryDetection:function(){if("undefined"==typeof t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1===n[0]&&9===n[1]&&n[2]<1||4<=n[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}};i.jQueryDetection();t.fn.emulateTransitionEnd=po;t.event.special[i.TRANSITION_END]={bindType:ni,delegateType:ni,handle:function(n){if(t(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}};var ti="alert",fr="bs.alert",fu="."+fr,wo=t.fn[ti],eu={CLOSE:"close"+fu,CLOSED:"closed"+fu,CLICK_DATA_API:"click"+fu+".data-api"},bo="alert",ko="fade",go="show",et=function(){function n(n){this._element=n}var r=n.prototype;return r.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},r.dispose=function(){t.removeData(this._element,fr);this._element=null},r._getRootElement=function(n){var u=i.getSelectorFromElement(n),r=!1;return u&&(r=document.querySelector(u)),r=r||t(n).closest("."+bo)[0]},r._triggerCloseEvent=function(n){var i=t.Event(eu.CLOSE);return t(n).trigger(i),i},r._removeElement=function(n){var u=this,r;(t(n).removeClass(go),t(n).hasClass(ko))?(r=i.getTransitionDurationFromElement(n),t(n).one(i.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(r)):this._destroyElement(n)},r._destroyElement=function(n){t(n).detach().trigger(eu.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(fr);r||(r=new n(this),u.data(fr,r));"close"===i&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},c(n,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),n}();t(document).on(eu.CLICK_DATA_API,'[data-dismiss="alert"]',et._handleDismiss(new et));t.fn[ti]=et._jQueryInterface;t.fn[ti].Constructor=et;t.fn[ti].noConflict=function(){return t.fn[ti]=wo,et._jQueryInterface};var ii="button",er="bs.button",or="."+er,sr=".data-api",ns=t.fn[ii],y="active",ts="btn",is="focus",vf='[data-toggle^="button"]',rs='[data-toggle="buttons"]',us='[data-toggle="button"]',fs='[data-toggle="buttons"] .btn',ou='input:not([type="hidden"])',es=".active",yf=".btn",su={CLICK_DATA_API:"click"+or+sr,FOCUS_BLUR_DATA_API:"focus"+or+sr+" blur"+or+sr,LOAD_DATA_API:"load"+or+sr},ri=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var i=!0,u=!0,f=t(this._element).closest(rs)[0],n,r;f&&(n=this._element.querySelector(ou),n&&("radio"===n.type?n.checked&&this._element.classList.contains(y)?i=!1:(r=f.querySelector(es),r&&t(r).removeClass(y)):"checkbox"===n.type?"LABEL"===this._element.tagName&&n.checked===this._element.classList.contains(y)&&(i=!1):i=!1,i&&(n.checked=!this._element.classList.contains(y),t(n).trigger("change")),n.focus(),u=!1));this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(u&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(y)),i&&t(this._element).toggleClass(y))},i.dispose=function(){t.removeData(this._element,er);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(er);r||(r=new n(this),t(this).data(er,r));"toggle"===i&&r[i]()})},c(n,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),n}();t(document).on(su.CLICK_DATA_API,vf,function(n){var i=n.target,r;if(t(i).hasClass(ts)||(i=t(i).closest(yf)[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))n.preventDefault();else{if(r=i.querySelector(ou),r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void n.preventDefault();ri._jQueryInterface.call(t(i),"toggle")}}).on(su.FOCUS_BLUR_DATA_API,vf,function(n){var i=t(n.target).closest(yf)[0];t(i).toggleClass(is,/^focus(in)?$/.test(n.type))});t(window).on(su.LOAD_DATA_API,function(){for(var t,f,i,e,r,n=[].slice.call(document.querySelectorAll(fs)),u=0,o=n.length;u<o;u++)t=n[u],f=t.querySelector(ou),f.checked||f.hasAttribute("checked")?t.classList.add(y):t.classList.remove(y);for(i=0,e=(n=[].slice.call(document.querySelectorAll(us))).length;i<e;i++)r=n[i],"true"===r.getAttribute("aria-pressed")?r.classList.add(y):r.classList.remove(y)});t.fn[ii]=ri._jQueryInterface;t.fn[ii].Constructor=ri;t.fn[ii].noConflict=function(){return t.fn[ii]=ns,ri._jQueryInterface};var ot="carousel",ui="bs.carousel",f="."+ui,pf=".data-api",os=t.fn[ot],hu={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},ss={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},hr="next",cr="prev",hs="left",cs="right",e={SLIDE:"slide"+f,SLID:"slid"+f,KEYDOWN:"keydown"+f,MOUSEENTER:"mouseenter"+f,MOUSELEAVE:"mouseleave"+f,TOUCHSTART:"touchstart"+f,TOUCHMOVE:"touchmove"+f,TOUCHEND:"touchend"+f,POINTERDOWN:"pointerdown"+f,POINTERUP:"pointerup"+f,DRAG_START:"dragstart"+f,LOAD_DATA_API:"load"+f+pf,CLICK_DATA_API:"click"+f+pf},ls="carousel",d="active",as="slide",vs="carousel-item-right",ys="carousel-item-left",ps="carousel-item-next",ws="carousel-item-prev",bs="pointer-event",ks=".active",cu=".active.carousel-item",ds=".carousel-item",gs=".carousel-item img",nh=".carousel-item-next, .carousel-item-prev",th=".carousel-indicators",ih='[data-ride="carousel"]',wf={TOUCH:"touch",PEN:"pen"},st=function(){function r(n,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this.touchStartX=0;this.touchDeltaX=0;this._config=this._getConfig(t);this._element=n;this._indicatorsElement=this._element.querySelector(th);this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=r.prototype;return n.next=function(){this._isSliding||this._slide(hr)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(cr)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(nh)&&(i.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(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(n){var u=this,i,r;if(this._activeElement=this._element.querySelector(cu),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)t(this._element).one(e.SLID,function(){return u.to(n)});else{if(i===n)return this.pause(),void this.cycle();r=i<n?hr:cr;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(f);t.removeData(this._element,ui);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(n){return n=u({},hu,{},n),i.typeCheckConfig(ot,n,ss),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=40||(n=t/this.touchDeltaX,(this.touchDeltaX=0)<n&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;this._config.keyboard&&t(this._element).on(e.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&t(this._element).on(e.MOUSEENTER,function(t){return n.pause(t)}).on(e.MOUSELEAVE,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this,i,r;this._touchSupported&&(i=function(t){n._pointerEvent&&wf[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},r=function(t){n._pointerEvent&&wf[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))},t(this._element.querySelectorAll(gs)).on(e.DRAG_START,function(n){return n.preventDefault()}),this._pointerEvent?(t(this._element).on(e.POINTERDOWN,function(n){return i(n)}),t(this._element).on(e.POINTERUP,function(n){return r(n)}),this._element.classList.add(bs)):(t(this._element).on(e.TOUCHSTART,function(n){return i(n)}),t(this._element).on(e.TOUCHMOVE,function(t){return function(t){n.touchDeltaX=t.originalEvent.touches&&1<t.originalEvent.touches.length?0:t.originalEvent.touches[0].clientX-n.touchStartX}(t)}),t(this._element).on(e.TOUCHEND,function(n){return r(n)})))},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(ds)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u=n===hr,f=n===cr,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===cr?-1:1))%this._items.length,-1==r?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(cu)),r=t.Event(e.SLIDE,{relatedTarget:n,direction:i,from:f,to:u});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,i;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(ks)),t(r).removeClass(d),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(d))},n._slide=function(n,r){var o,s,h,a=this,f=this._element.querySelector(cu),p=this._getItemIndex(f),u=r||f&&this._getItemByDirection(n,f),w=this._getItemIndex(u),v=Boolean(this._interval),c,l,y;(h=n===hr?(o=ys,s=ps,hs):(o=vs,s=ws,cs),u&&t(u).hasClass(d))?this._isSliding=!1:!this._triggerSlideEvent(u,h).isDefaultPrevented()&&f&&u&&(this._isSliding=!0,v&&this.pause(),this._setActiveIndicatorElement(u),c=t.Event(e.SLID,{relatedTarget:u,direction:h,from:p,to:w}),t(this._element).hasClass(as)?(t(u).addClass(s),i.reflow(u),t(f).addClass(o),t(u).addClass(o),l=parseInt(u.getAttribute("data-interval"),10),l?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=l):this._config.interval=this._config.defaultInterval||this._config.interval,y=i.getTransitionDurationFromElement(f),t(f).one(i.TRANSITION_END,function(){t(u).removeClass(o+" "+s).addClass(d);t(f).removeClass(d+" "+s+" "+o);a._isSliding=!1;setTimeout(function(){return t(a._element).trigger(c)},0)}).emulateTransitionEnd(y)):(t(f).removeClass(d),t(u).addClass(d),this._isSliding=!1,t(this._element).trigger(c)),v&&this.cycle())},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(ui),f=u({},hu,{},t(this).data()),e;if("object"==typeof n&&(f=u({},f,{},n)),e="string"==typeof n?n:f.slide,i||(i=new r(this,f),t(this).data(ui,i)),"number"==typeof n)i.to(n);else if("string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}else f.interval&&f.ride&&(i.pause(),i.cycle())})},r._dataApiClickHandler=function(n){var s=i.getSelectorFromElement(this),f,o,e;s&&(f=t(s)[0],f&&t(f).hasClass(ls)&&(o=u({},t(f).data(),{},t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),r._jQueryInterface.call(t(f),o),e&&t(f).data(ui).to(e),n.preventDefault()))},c(r,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return hu}}]),r}();t(document).on(e.CLICK_DATA_API,"[data-slide], [data-slide-to]",st._dataApiClickHandler);t(window).on(e.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(ih)),n=0,u=r.length;n<u;n++)i=t(r[n]),st._jQueryInterface.call(i,i.data())});t.fn[ot]=st._jQueryInterface;t.fn[ot].Constructor=st;t.fn[ot].noConflict=function(){return t.fn[ot]=os,st._jQueryInterface};var ht="collapse",g="bs.collapse",fi="."+g,rh=t.fn[ht],lu={toggle:!0,parent:""},uh={toggle:"boolean",parent:"(string|element)"},ei={SHOW:"show"+fi,SHOWN:"shown"+fi,HIDE:"hide"+fi,HIDDEN:"hidden"+fi,CLICK_DATA_API:"click"+fi+".data-api"},nt="show",oi="collapse",lr="collapsing",au="collapsed",bf="width",fh="height",eh=".show, .collapsing",kf='[data-toggle="collapse"]',si=function(){function r(n,t){this._isTransitioning=!1;this._element=n;this._config=this._getConfig(t);this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'));for(var f=[].slice.call(document.querySelectorAll(kf)),r=0,o=f.length;r<o;r++){var e=f[r],u=i.getSelectorFromElement(e),s=[].slice.call(document.querySelectorAll(u)).filter(function(t){return t===n});null!==u&&0<s.length&&(this._selector=u,this._triggerArray.push(e))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=r.prototype;return n.toggle=function(){t(this._element).hasClass(nt)?this.hide():this.show()},n.show=function(){var n,e,u=this,o,f,s,h;this._isTransitioning||t(this._element).hasClass(nt)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(eh)).filter(function(n){return"string"==typeof u._config.parent?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(oi)})).length&&(n=null),n&&(e=t(n).not(this._selector).data(g))&&e._isTransitioning)||(o=t.Event(ei.SHOW),(t(this._element).trigger(o),o.isDefaultPrevented())||(n&&(r._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data(g,null)),f=this._getDimension(),t(this._element).removeClass(oi).addClass(lr),this._element.style[f]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(au).attr("aria-expanded",!0),this.setTransitioning(!0),s="scroll"+(f[0].toUpperCase()+f.slice(1)),h=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,function(){t(u._element).removeClass(lr).addClass(oi).addClass(nt);u._element.style[f]="";u.setTransitioning(!1);t(u._element).trigger(ei.SHOWN)}).emulateTransitionEnd(h),this._element.style[f]=this._element[s]+"px"))},n.hide=function(){var s=this,u,n,f,r,e,o,h;if(!this._isTransitioning&&t(this._element).hasClass(nt)&&(u=t.Event(ei.HIDE),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",i.reflow(this._element),t(this._element).addClass(lr).removeClass(oi).removeClass(nt),f=this._triggerArray.length,0<f)for(r=0;r<f;r++)e=this._triggerArray[r],o=i.getSelectorFromElement(e),null!==o&&(t([].slice.call(document.querySelectorAll(o))).hasClass(nt)||t(e).addClass(au).attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";h=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,function(){s.setTransitioning(!1);t(s._element).removeClass(lr).addClass(oi).trigger(ei.HIDDEN)}).emulateTransitionEnd(h)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,g);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=u({},lu,{},n)).toggle=Boolean(n.toggle),i.typeCheckConfig(ht,n,uh),n},n._getDimension=function(){return t(this._element).hasClass(bf)?bf:fh},n._getParent=function(){var n,e=this,u,f;return i.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),u='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(u)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(r._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(nt);i.length&&t(i).toggleClass(au,!r).attr("aria-expanded",r)},r._getTargetFromElement=function(n){var t=i.getSelectorFromElement(n);return t?document.querySelector(t):null},r._jQueryInterface=function(n){return this.each(function(){var f=t(this),i=f.data(g),e=u({},lu,{},f.data(),{},"object"==typeof n&&n?n:{});if(!i&&e.toggle&&/show|hide/.test(n)&&(e.toggle=!1),i||(i=new r(this,e),f.data(g,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},c(r,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return lu}}]),r}();t(document).on(ei.CLICK_DATA_API,kf,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var r=t(this),u=i.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),i=n.data(g)?"toggle":r.data();si._jQueryInterface.call(n,i)})});t.fn[ht]=si._jQueryInterface;t.fn[ht].Constructor=si;t.fn[ht].noConflict=function(){return t.fn[ht]=rh,si._jQueryInterface};var hi="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,oh=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(hi&&0<=navigator.userAgent.indexOf(t[n]))return 1;return 0}(),sh=hi&&window.Promise?function(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},oh))}};yu=hi&&!(!window.MSInputMethodContext||!document.documentMode);pu=hi&&/MSIE 10/.test(navigator.userAgent);re=function(n,t,i){return t&&ue(n.prototype,t),i&&ue(n,i),n};o=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};ve=hi&&/Firefox/i.test(navigator.userAgent);rf=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"];yr=rf.slice(3);var ah="flip",vh="clockwise",yh="counterclockwise";we={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(n){var r=n.placement,c=r.split("-")[0],u=r.split("-")[1];if(u){var f=n.offsets,i=f.reference,e=f.popper,s=-1!==["bottom","top"].indexOf(c),t=s?"left":"top",h=s?"width":"height",l={start:vt({},t,i[t]),end:vt({},t,i[t]+i[h]-e[h])};n.offsets.popper=o({},e,l[u])}return n}},offset:{order:200,enabled:!0,fn:function(n,t){var f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0],r=void 0;return r=nf(+f)?[+f,0]:ph(f,i,s,u),"left"===u?(i.top+=r[0],i.left-=r[1]):"right"===u?(i.top+=r[0],i.left+=r[1]):"top"===u?(i.left+=r[0],i.top-=r[1]):"bottom"===u&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(n,t){var f=t.boundariesElement||lt(n.instance.popper),u;n.instance.reference===f&&(f=lt(f));var e=gu("transform"),r=n.instance.popper.style,s=r.top,h=r.left,c=r[e];r.top="";r.left="";r[e]="";u=du(n.instance.popper,n.instance.reference,t.padding,f,n.positionFixed);r.top=s;r.left=h;r[e]=c;t.boundaries=u;var l=t.priority,i=n.offsets.popper,a={primary:function(n){var r=i[n];return i[n]<u[n]&&!t.escapeWithReference&&(r=Math.max(i[n],u[n])),vt({},n,r)},secondary:function(n){var r="right"===n?"left":"top",f=i[r];return i[n]>u[n]&&!t.escapeWithReference&&(f=Math.min(i[r],u[n]-("right"===n?i.width:i.height))),vt({},r,f)}};return l.forEach(function(n){var t=-1!==["left","top"].indexOf(n)?"primary":"secondary";i=o({},i,a[t](n))}),n.offsets.popper=i,n},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=-1!==["top","bottom"].indexOf(s),e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[h]),u[t]>r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}},arrow:{order:500,enabled:!0,fn:function(n,t){var h,r;if(!ye(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,"string"==typeof r){if(!(r=n.instance.popper.querySelector(r)))return n}else if(!n.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var p=n.placement.split("-")[0],v=n.offsets,e=v.popper,u=v.reference,o=-1!==["left","right"].indexOf(p),c=o?"height":"width",l=o?"Top":"Left",i=l.toLowerCase(),b=o?"left":"top",s=o?"bottom":"right",f=se(r)[c];u[s]-f<e[i]&&(n.offsets.popper[i]-=e[i]-(u[s]-f));u[i]+f>e[s]&&(n.offsets.popper[i]+=u[i]+f-e[s]);n.offsets.popper=w(n.offsets.popper);var k=u[i]+u[c]/2-f/2,y=tt(n.instance.popper),d=parseFloat(y["margin"+l],10),g=parseFloat(y["border"+l+"Width"],10),a=k-n.offsets.popper[i]-d-g;return a=Math.max(Math.min(e[c]-f,a),0),n.arrowElement=r,n.offsets.arrow=(vt(h={},i,Math.round(a)),vt(h,b,""),h),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(n,t){if(le(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var f=du(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement,n.positionFixed),i=n.placement.split("-")[0],e=vr(i),r=n.placement.split("-")[1]||"",u=[];switch(t.behavior){case ah:u=[i,e];break;case vh:u=pe(i);break;case yh:u=pe(i,!0);break;default:u=t.behavior}return u.forEach(function(s,h){if(i!==s||u.length===h+1)return n;i=n.placement.split("-")[0];e=vr(i);var l=n.offsets.popper,v=n.offsets.reference,c=Math.floor,k="left"===i&&c(l.right)>c(v.left)||"right"===i&&c(l.left)<c(v.right)||"top"===i&&c(l.bottom)>c(v.top)||"bottom"===i&&c(l.top)<c(v.bottom),y=c(l.left)<c(f.left),p=c(l.right)>c(f.right),w=c(l.top)<c(f.top),b=c(l.bottom)>c(f.bottom),d="left"===i&&y||"right"===i&&p||"top"===i&&w||"bottom"===i&&b,a=-1!==["top","bottom"].indexOf(i),nt=!!t.flipVariations&&(a&&"start"===r&&y||a&&"end"===r&&p||!a&&"start"===r&&w||!a&&"end"===r&&b),tt=!!t.flipVariationsByContent&&(a&&"start"===r&&p||a&&"end"===r&&y||!a&&"start"===r&&b||!a&&"end"===r&&w),g=nt||tt;(k||d||g)&&(n.flipped=!0,(k||d)&&(i=u[h+1]),g&&(r=function(n){return"end"===n?"start":"start"===n?"end":n}(r)),n.placement=i+(r?"-"+r:""),n.offsets.popper=o({},n.offsets.popper,he(n.instance.popper,n.offsets.reference,n.placement)),n=ce(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,e=u.reference,f=-1!==["left","right"].indexOf(t),o=-1===["top","left"].indexOf(t);return i[f?"left":"top"]=e[t]-(o?i[f?"width":"height"]:0),n.placement=vr(r),n.offsets.popper=w(i),n}},hide:{order:800,enabled:!0,fn:function(n){if(!ye(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=li(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===n.hide)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function(n,t){var w=t.x,b=t.y,k=n.offsets.popper,s=li(n.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,v,y,p;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var d=void 0!==s?s:t.gpuAcceleration,u=lt(n.instance.popper),l=bu(u),i={position:k.position},r=lh(n,window.devicePixelRatio<2||!ve),f="bottom"===w?"top":"bottom",e="right"===b?"left":"right",a=gu("transform"),h=void 0,c=void 0;return(c="bottom"==f?"HTML"===u.nodeName?-u.clientHeight+r.bottom:-l.height+r.bottom:r.top,h="right"==e?"HTML"===u.nodeName?-u.clientWidth+r.right:-l.width+r.right:r.left,d&&a)?(i[a]="translate3d("+h+"px, "+c+"px, 0)",i[f]=0,i[e]=0,i.willChange="transform"):(v="bottom"==f?-1:1,y="right"==e?-1:1,i[f]=c*v,i[e]=h*y,i.willChange=f+", "+e),p={"x-placement":n.placement},n.attributes=o({},p,n.attributes),n.styles=o({},i,n.styles),n.arrowStyles=o({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return tf(n.instance.popper,n.styles),function(n,t){Object.keys(t).forEach(function(i){!1!==t[i]?n.setAttribute(i,t[i]):n.removeAttribute(i)})}(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&tf(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=oe(u,t,n,i.positionFixed),e=ee(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),tf(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}};b=(re(yt,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=oe(this.state,this.popper,this.reference,this.options.positionFixed);n.placement=ee(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);n.originalPlacement=n.placement;n.positionFixed=this.options.positionFixed;n.offsets.popper=he(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";n=ce(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,le(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[gu("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=hh(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return ch.call(this)}}]),yt);b.Utils=("undefined"!=typeof window?window:global).PopperUtils;b.placements=rf;b.Defaults=we;var pt="dropdown",ai="bs.dropdown",p="."+ai,uf=".data-api",wh=t.fn[pt],bh=new RegExp("38|40|27"),s={HIDE:"hide"+p,HIDDEN:"hidden"+p,SHOW:"show"+p,SHOWN:"shown"+p,CLICK:"click"+p,CLICK_DATA_API:"click"+p+uf,KEYDOWN_DATA_API:"keydown"+p+uf,KEYUP_DATA_API:"keyup"+p+uf},pr="disabled",l="show",kh="dropup",dh="dropright",gh="dropleft",be="dropdown-menu-right",nc="position-static",wr='[data-toggle="dropdown"]',ff=".dropdown-menu",tc=".navbar-nav",ic=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",rc="top-start",uc="top-end",fc="bottom-start",ec="bottom-end",oc="right-start",sc="left-start",hc={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},cc={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},k=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var r=n.prototype;return r.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(pr)){var i=t(this._menu).hasClass(l);n._clearMenus();i||this.show(!0)}},r.show=function(r){var f;if(void 0===r&&(r=!1),!(this._element.disabled||t(this._element).hasClass(pr)||t(this._menu).hasClass(l))){var e={relatedTarget:this._element},o=t.Event(s.SHOW,e),u=n._getParentFromElement(this._element);if(t(u).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&r){if("undefined"==typeof b)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");f=this._element;"parent"===this._config.reference?f=u:i.isElement(this._config.reference)&&(f=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(f=this._config.reference[0]));"scrollParent"!==this._config.boundary&&t(u).addClass(nc);this._popper=new b(f,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(u).closest(tc).length&&t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(l);t(u).toggleClass(l).trigger(t.Event(s.SHOWN,e))}}},r.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(pr)&&t(this._menu).hasClass(l)){var i={relatedTarget:this._element},r=t.Event(s.HIDE,i),u=n._getParentFromElement(this._element);t(u).trigger(r);r.isDefaultPrevented()||(this._popper&&this._popper.destroy(),t(this._menu).toggleClass(l),t(u).toggleClass(l).trigger(t.Event(s.HIDDEN,i)))}},r.dispose=function(){t.removeData(this._element,ai);t(this._element).off(p);this._element=null;(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},r.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},r._addEventListeners=function(){var n=this;t(this._element).on(s.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},r._getConfig=function(n){return n=u({},this.constructor.Default,{},t(this._element).data(),{},n),i.typeCheckConfig(pt,n,this.constructor.DefaultType),n},r._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(ff))}return this._menu},r._getPlacement=function(){var i=t(this._element.parentNode),n=fc;return i.hasClass(kh)?(n=rc,t(this._menu).hasClass(be)&&(n=uc)):i.hasClass(dh)?n=oc:i.hasClass(gh)?n=sc:t(this._menu).hasClass(be)&&(n=ec),n},r._detectNavbar=function(){return 0<t(this._element).closest(".navbar").length},r._getOffset=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=u({},n.offsets,{},t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},r._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),u({},n,{},this._config.popperConfig)},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(ai);if(r||(r=new n(this,"object"==typeof i?i:null),t(this).data(ai,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var c,h;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(var u=[].slice.call(document.querySelectorAll(wr)),r=0,a=u.length;r<a;r++){var f=n._getParentFromElement(u[r]),e=t(u[r]).data(ai),o={relatedTarget:u[r]};(i&&"click"===i.type&&(o.clickEvent=i),e)&&(c=e._menu,!t(f).hasClass(l)||i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&t.contains(f,i.target)||(h=t.Event(s.HIDE,o),t(f).trigger(h),h.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),u[r].setAttribute("aria-expanded","false"),e._popper&&e._popper.destroy(),t(c).removeClass(l),t(f).removeClass(l).trigger(t.Event(s.HIDDEN,o)))))}},n._getParentFromElement=function(n){var t,r=i.getSelectorFromElement(n);return r&&(t=document.querySelector(r)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var f,e,u,r,o;(/input|textarea/i.test(i.target.tagName)?32===i.which||27!==i.which&&(40!==i.which&&38!==i.which||t(i.target).closest(ff).length):!bh.test(i.which))||(i.preventDefault(),i.stopPropagation(),this.disabled||t(this).hasClass(pr))||(f=n._getParentFromElement(this),e=t(f).hasClass(l),(e||27!==i.which)&&(e&&(!e||27!==i.which&&32!==i.which)?(u=[].slice.call(f.querySelectorAll(ic)).filter(function(n){return t(n).is(":visible")}),0!==u.length&&(r=u.indexOf(i.target),38===i.which&&0<r&&r--,40===i.which&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())):(27===i.which&&(o=f.querySelector(wr),t(o).trigger("focus")),t(this).trigger("click"))))},c(n,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return hc}},{key:"DefaultType",get:function(){return cc}}]),n}();t(document).on(s.KEYDOWN_DATA_API,wr,k._dataApiKeydownHandler).on(s.KEYDOWN_DATA_API,ff,k._dataApiKeydownHandler).on(s.CLICK_DATA_API+" "+s.KEYUP_DATA_API,k._clearMenus).on(s.CLICK_DATA_API,wr,function(n){n.preventDefault();n.stopPropagation();k._jQueryInterface.call(t(this),"toggle")}).on(s.CLICK_DATA_API,".dropdown form",function(n){n.stopPropagation()});t.fn[pt]=k._jQueryInterface;t.fn[pt].Constructor=k;t.fn[pt].noConflict=function(){return t.fn[pt]=wh,k._jQueryInterface};var wt="modal",vi="bs.modal",h="."+vi,lc=t.fn[wt],ef={backdrop:!0,keyboard:!0,focus:!0,show:!0},ac={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},r={HIDE:"hide"+h,HIDE_PREVENTED:"hidePrevented"+h,HIDDEN:"hidden"+h,SHOW:"show"+h,SHOWN:"shown"+h,FOCUSIN:"focusin"+h,RESIZE:"resize"+h,CLICK_DISMISS:"click.dismiss"+h,KEYDOWN_DISMISS:"keydown.dismiss"+h,MOUSEUP_DISMISS:"mouseup.dismiss"+h,MOUSEDOWN_DISMISS:"mousedown.dismiss"+h,CLICK_DATA_API:"click"+h+".data-api"},vc="modal-dialog-scrollable",yc="modal-scrollbar-measure",pc="modal-backdrop",ke="modal-open",bt="fade",br="show",de="modal-static",wc=".modal-dialog",bc=".modal-body",kc='[data-dismiss="modal"]',ge=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",no=".sticky-top",yi=function(){function f(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(wc);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=f.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,u;this._isShown||this._isTransitioning||(t(this._element).hasClass(bt)&&(this._isTransitioning=!0),u=t.Event(r.SHOW,{relatedTarget:n}),t(this._element).trigger(u),this._isShown||u.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(r.CLICK_DISMISS,kc,function(n){return i.hide(n)}),t(this._dialog).on(r.MOUSEDOWN_DISMISS,function(){t(i._element).one(r.MOUSEUP_DISMISS,function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return i._showElement(n)})))},n.hide=function(n){var o=this,u,f,e;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(u=t.Event(r.HIDE),(t(this._element).trigger(u),this._isShown&&!u.isDefaultPrevented())&&(this._isShown=!1,f=t(this._element).hasClass(bt),(f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(r.FOCUSIN),t(this._element).removeClass(br),t(this._element).off(r.CLICK_DISMISS),t(this._dialog).off(r.MOUSEDOWN_DISMISS),f)?(e=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(e)):this._hideModal()))},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(h)});t(document).off(r.FOCUSIN);t.removeData(this._element,vi);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(n){return n=u({},ef,{},n),i.typeCheckConfig(wt,n,ac),n},n._triggerBackdropTransition=function(){var f=this,n,u;if("static"===this._config.backdrop){if(n=t.Event(r.HIDE_PREVENTED),t(this._element).trigger(n),n.defaultPrevented)return;this._element.classList.add(de);u=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,function(){f._element.classList.remove(de)}).emulateTransitionEnd(u);this._element.focus()}else this.hide()},n._showElement=function(n){function o(){u._config.focus&&u._element.focus();u._isTransitioning=!1;t(u._element).trigger(s)}var u=this,f=t(this._element).hasClass(bt),e=this._dialog?this._dialog.querySelector(bc):null,s,h;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",!0);t(this._dialog).hasClass(vc)&&e?e.scrollTop=0:this._element.scrollTop=0;f&&i.reflow(this._element);t(this._element).addClass(br);this._config.focus&&this._enforceFocus();s=t.Event(r.SHOWN,{relatedTarget:n});f?(h=i.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(i.TRANSITION_END,o).emulateTransitionEnd(h)):o()},n._enforceFocus=function(){var n=this;t(document).off(r.FOCUSIN).on(r.FOCUSIN,function(i){document!==i.target&&n._element!==i.target&&0===t(n._element).has(i.target).length&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;this._isShown&&this._config.keyboard?t(this._element).on(r.KEYDOWN_DISMISS,function(t){27===t.which&&n._triggerBackdropTransition()}):this._isShown||t(this._element).off(r.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;this._isShown?t(window).on(r.RESIZE,function(t){return n.handleUpdate(t)}):t(window).off(r.RESIZE)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(ke);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(r.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var u=this,f=t(this._element).hasClass(bt)?bt:"",o,e,s;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=pc,f&&this._backdrop.classList.add(f),t(this._backdrop).appendTo(document.body),t(this._element).on(r.CLICK_DISMISS,function(n){u._ignoreBackdropClick?u._ignoreBackdropClick=!1:n.target===n.currentTarget&&u._triggerBackdropTransition()}),f&&i.reflow(this._backdrop),t(this._backdrop).addClass(br),!n)return;if(!f)return void n();o=i.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(i.TRANSITION_END,n).emulateTransitionEnd(o)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(br),e=function(){u._removeBackdrop();n&&n()},t(this._element).hasClass(bt)?(s=i.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(i.TRANSITION_END,e).emulateTransitionEnd(s)):e()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(ge)),r=[].slice.call(document.querySelectorAll(no)),t(i).each(function(i,r){var u=r.style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(r).each(function(i,r){var u=r.style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=t(document.body).css("padding-right"),t(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));t(document.body).addClass(ke)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(ge)),n,i;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r||""});n=[].slice.call(document.querySelectorAll(""+no));t(n).each(function(n,i){var r=t(i).data("margin-right");"undefined"!=typeof r&&t(i).css("margin-right",r).removeData("margin-right")});i=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=yc,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},f._jQueryInterface=function(n,i){return this.each(function(){var r=t(this).data(vi),e=u({},ef,{},t(this).data(),{},"object"==typeof n&&n?n:{});if(r||(r=new f(this,e),t(this).data(vi,r)),"string"==typeof n){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n](i)}else e.show&&r.show(i)})},c(f,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return ef}}]),f}();t(document).on(r.CLICK_DATA_API,'[data-toggle="modal"]',function(n){var f,e=this,o=i.getSelectorFromElement(this),s,h;o&&(f=document.querySelector(o));s=t(f).data(vi)?"toggle":u({},t(f).data(),{},t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();h=t(f).one(r.SHOW,function(n){n.isDefaultPrevented()||h.one(r.HIDDEN,function(){t(e).is(":visible")&&e.focus()})});yi._jQueryInterface.call(t(f),s,this)});t.fn[wt]=yi._jQueryInterface;t.fn[wt].Constructor=yi;t.fn[wt].noConflict=function(){return t.fn[wt]=lc,yi._jQueryInterface};var dc=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],gc=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,nl=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;var it="tooltip",kr="bs.tooltip",a="."+kr,tl=t.fn[it],io="bs-tooltip",il=new RegExp("(^|\\s)"+io+"\\S+","g"),rl=["sanitize","whiteList","sanitizeFn"],ul={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",popperConfig:"(null|object)"},fl={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},el={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:{"*":["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:[]},popperConfig:null},pi="show",of="out",ol={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},wi="fade",bi="show",sl=".tooltip-inner",hl=".arrow",ki="hover",sf="focus",cl="click",ll="manual",rt=function(){function r(n,t){if("undefined"==typeof b)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=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=r.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(bi))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler);this.tip&&t(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},n.show=function(){var n=this,u,f,h,r,e,c,o,l,s,a;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");if(u=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(u),f=i.findShadowRoot(this.element),h=t.contains(null!==f?f:this.element.ownerDocument.documentElement,this.element),u.isDefaultPrevented()||!h)return;r=this.getTipElement();e=i.getUID(this.constructor.NAME);r.setAttribute("id",e);this.element.setAttribute("aria-describedby",e);this.setContent();this.config.animation&&t(r).addClass(wi);c="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement;o=this._getAttachment(c);this.addAttachmentClass(o);l=this._getContainer();t(r).data(this.constructor.DATA_KEY,this);t.contains(this.element.ownerDocument.documentElement,this.tip)||t(r).appendTo(l);t(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new b(this.element,r,this._getPopperConfig(o));t(r).addClass(bi);"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);s=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===of&&n._leave(null,n)};t(this.tip).hasClass(wi)?(a=i.getTransitionDurationFromElement(this.tip),t(this.tip).one(i.TRANSITION_END,s).emulateTransitionEnd(a)):s()}},n.hide=function(n){function f(){r._hoverState!==pi&&u.parentNode&&u.parentNode.removeChild(u);r._cleanTipClass();r.element.removeAttribute("aria-describedby");t(r.element).trigger(r.constructor.Event.HIDDEN);null!==r._popper&&r._popper.destroy();n&&n()}var r=this,u=this.getTipElement(),e=t.Event(this.constructor.Event.HIDE),o;(t(this.element).trigger(e),e.isDefaultPrevented())||((t(u).removeClass(bi),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[cl]=!1,this._activeTrigger[sf]=!1,this._activeTrigger[ki]=!1,t(this.tip).hasClass(wi))?(o=i.getTransitionDurationFromElement(u),t(u).one(i.TRANSITION_END,f).emulateTransitionEnd(o)):f(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass(io+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(sl)),this.getTitle());t(n).removeClass(wi+" "+bi)},n.setElementContent=function(n,i){"object"!=typeof i||!i.nodeType&&!i.jquery?this.config.html?(this.config.sanitize&&(i=to(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i):this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text())},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},n._getPopperConfig=function(n){var t=this;return u({},{placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:hl},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){return t._handlePopperPlacementChange(n)}},{},this.config.popperConfig)},n._getOffset=function(){var t=this,n={};return"function"==typeof this.config.offset?n.fn=function(n){return n.offsets=u({},n.offsets,{},t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return!1===this.config.container?document.body:i.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return fl[n.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==ll){var r=i===ki?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===ki?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});this._hideModalHandler=function(){n.element&&n.hide()};t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler);this.config.selector?this.config=u({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!=n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusin"===n.type?sf:ki]=!0);t(i.getTipElement()).hasClass(bi)||i._hoverState===pi?i._hoverState=pi:(clearTimeout(i._timeout),i._hoverState=pi,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===pi&&i.show()},i.config.delay.show):i.show())},n._leave=function(n,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusout"===n.type?sf:ki]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=of,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===of&&i.hide()},i.config.delay.hide):i.hide())},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var r=t(this.element).data();return Object.keys(r).forEach(function(n){-1!==rl.indexOf(n)&&delete r[n]}),"number"==typeof(n=u({},this.constructor.Default,{},r,{},"object"==typeof n&&n?n:{})).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),i.typeCheckConfig(it,n,this.constructor.DefaultType),n.sanitize&&(n.template=to(n.template,n.whiteList,n.sanitizeFn)),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(il);null!==n&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;null===n.getAttribute("x-placement")&&(t(n).removeClass(wi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(kr),u="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new r(this,u),t(this).data(kr,i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},c(r,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return el}},{key:"NAME",get:function(){return it}},{key:"DATA_KEY",get:function(){return kr}},{key:"Event",get:function(){return ol}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return ul}}]),r}();t.fn[it]=rt._jQueryInterface;t.fn[it].Constructor=rt;t.fn[it].noConflict=function(){return t.fn[it]=tl,rt._jQueryInterface};var kt="popover",dr="bs.popover",v="."+dr,al=t.fn[kt],ro="bs-popover",vl=new RegExp("(^|\\s)"+ro+"\\S+","g"),yl=u({},rt.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>'}),pl=u({},rt.DefaultType,{content:"(string|element|function)"}),wl="fade",bl="show",kl=".popover-header",dl=".popover-body",gl={HIDE:"hide"+v,HIDDEN:"hidden"+v,SHOW:"show"+v,SHOWN:"shown"+v,INSERTED:"inserted"+v,CLICK:"click"+v,FOCUSIN:"focusin"+v,FOCUSOUT:"focusout"+v,MOUSEENTER:"mouseenter"+v,MOUSELEAVE:"mouseleave"+v},gr=function(n){function i(){return n.apply(this,arguments)||this}!function(n,t){n.prototype=Object.create(t.prototype);(n.prototype.constructor=n).__proto__=t}(i,n);var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(n){t(this.getTipElement()).addClass(ro+"-"+n)},r.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},r.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(kl),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(i.find(dl),n);i.removeClass(wl+" "+bl)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(vl);null!==n&&0<n.length&&i.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(dr),u="object"==typeof n?n:null;if((r||!/dispose|hide/.test(n))&&(r||(r=new i(this,u),t(this).data(dr,r)),"string"==typeof n)){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},c(i,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return yl}},{key:"NAME",get:function(){return kt}},{key:"DATA_KEY",get:function(){return dr}},{key:"Event",get:function(){return gl}},{key:"EVENT_KEY",get:function(){return v}},{key:"DefaultType",get:function(){return pl}}]),i}(rt);t.fn[kt]=gr._jQueryInterface;t.fn[kt].Constructor=gr;t.fn[kt].noConflict=function(){return t.fn[kt]=al,gr._jQueryInterface};var ut="scrollspy",nu="bs.scrollspy",tu="."+nu,na=t.fn[ut],uo={offset:10,method:"auto",target:""},ta={offset:"number",method:"string",target:"(string|element)"},hf={ACTIVATE:"activate"+tu,SCROLL:"scroll"+tu,LOAD_DATA_API:"load"+tu+".data-api"},ia="dropdown-item",ft="active",ra='[data-spy="scroll"]',fo=".nav, .list-group",cf=".nav-link",ua=".nav-item",eo=".list-group-item",fa=".dropdown",ea=".dropdown-item",oa=".dropdown-toggle",sa="offset",oo="position",di=function(){function r(n,i){var r=this;this._element=n;this._scrollElement="BODY"===n.tagName?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+cf+","+this._config.target+" "+eo+","+this._config.target+" "+ea;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(hf.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}var n=r.prototype;return n.refresh=function(){var n=this,u=this._scrollElement===this._scrollElement.window?sa:oo,r="auto"===this._config.method?u:this._config.method,f=r===oo?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();[].slice.call(document.querySelectorAll(this._selector)).map(function(n){var u,e=i.getSelectorFromElement(n),o;return(e&&(u=document.querySelector(e)),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[t(u)[r]().top+f,e]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,nu);t(this._scrollElement).off(tu);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(n){if("string"!=typeof(n=u({},uo,{},"object"==typeof n&&n?n:{})).target){var r=t(n.target).attr("id");r||(r=i.getUID(ut),t(n.target).attr("id",r));n.target="#"+r}return i.typeCheckConfig(ut,n,ta),n},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,r=this._getScrollHeight(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),u<=t)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},n._activate=function(n){this._activeTarget=n;this._clear();var r=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),i=t([].slice.call(document.querySelectorAll(r.join(","))));i.hasClass(ia)?(i.closest(fa).find(oa).addClass(ft),i.addClass(ft)):(i.addClass(ft),i.parents(fo).prev(cf+", "+eo).addClass(ft),i.parents(fo).prev(ua).children(cf).addClass(ft));t(this._scrollElement).trigger(hf.ACTIVATE,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(ft)}).forEach(function(n){return n.classList.remove(ft)})},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(nu);if(i||(i=new r(this,"object"==typeof n&&n),t(this).data(nu,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},c(r,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return uo}}]),r}();t(window).on(hf.LOAD_DATA_API,function(){for(var r,n=[].slice.call(document.querySelectorAll(ra)),i=n.length;i--;)r=t(n[i]),di._jQueryInterface.call(r,r.data())});t.fn[ut]=di._jQueryInterface;t.fn[ut].Constructor=di;t.fn[ut].noConflict=function(){return t.fn[ut]=na,di._jQueryInterface};var iu="bs.tab",gi="."+iu,ha=t.fn.tab,nr={HIDE:"hide"+gi,HIDDEN:"hidden"+gi,SHOW:"show"+gi,SHOWN:"shown"+gi,CLICK_DATA_API:"click"+gi+".data-api"},ca="dropdown-menu",tr="active",la="disabled",so="fade",ho="show",aa=".dropdown",va=".nav, .list-group",co=".active",lo="> li > .active",ya=".dropdown-toggle",pa="> .dropdown-menu .active",ir=function(){function n(n){this._element=n}var r=n.prototype;return r.show=function(){var h=this,u,n,r,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(tr)||t(this._element).hasClass(la)||(r=t(this._element).closest(va)[0],f=i.getSelectorFromElement(this._element),r&&(c="UL"===r.nodeName||"OL"===r.nodeName?lo:co,n=(n=t.makeArray(t(r).find(c)))[n.length-1]),e=t.Event(nr.HIDE,{relatedTarget:this._element}),o=t.Event(nr.SHOW,{relatedTarget:n}),(n&&t(n).trigger(e),t(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,r),s=function(){var i=t.Event(nr.HIDDEN,{relatedTarget:h._element}),r=t.Event(nr.SHOWN,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s()))},r.dispose=function(){t.removeData(this._element,iu);this._element=null},r._activate=function(n,r,u){function e(){return s._transitionComplete(n,f,u)}var s=this,f=(!r||"UL"!==r.nodeName&&"OL"!==r.nodeName?t(r).children(co):t(r).find(lo))[0],h=u&&f&&t(f).hasClass(so),o;f&&h?(o=i.getTransitionDurationFromElement(f),t(f).removeClass(ho).one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e()},r._transitionComplete=function(n,r,u){var f,e,o;r&&(t(r).removeClass(tr),f=t(r.parentNode).find(pa)[0],f&&t(f).removeClass(tr),"tab"===r.getAttribute("role")&&r.setAttribute("aria-selected",!1));(t(n).addClass(tr),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),i.reflow(n),n.classList.contains(so)&&n.classList.add(ho),n.parentNode&&t(n.parentNode).hasClass(ca))&&(e=t(n).closest(aa)[0],e&&(o=[].slice.call(e.querySelectorAll(ya)),t(o).addClass(tr)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(iu);if(r||(r=new n(this),u.data(iu,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},c(n,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),n}();t(document).on(nr.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();ir._jQueryInterface.call(t(this),"show")});t.fn.tab=ir._jQueryInterface;t.fn.tab.Constructor=ir;t.fn.tab.noConflict=function(){return t.fn.tab=ha,ir._jQueryInterface};var dt="toast",ru="bs.toast",rr="."+ru,wa=t.fn[dt],gt={CLICK_DISMISS:"click.dismiss"+rr,HIDE:"hide"+rr,HIDDEN:"hidden"+rr,SHOW:"show"+rr,SHOWN:"shown"+rr},ba="fade",ao="hide",ur="show",vo="showing",ka={animation:"boolean",autohide:"boolean",delay:"number"},yo={animation:!0,autohide:!0,delay:500},da='[data-dismiss="toast"]',uu=function(){function r(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=r.prototype;return n.show=function(){var n=this,u=t.Event(gt.SHOW),r,f;(t(this._element).trigger(u),u.isDefaultPrevented())||(this._config.animation&&this._element.classList.add(ba),r=function(){n._element.classList.remove(vo);n._element.classList.add(ur);t(n._element).trigger(gt.SHOWN);n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},(this._element.classList.remove(ao),i.reflow(this._element),this._element.classList.add(vo),this._config.animation)?(f=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(f)):r())},n.hide=function(){if(this._element.classList.contains(ur)){var n=t.Event(gt.HIDE);t(this._element).trigger(n);n.isDefaultPrevented()||this._close()}},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(ur)&&this._element.classList.remove(ur);t(this._element).off(gt.CLICK_DISMISS);t.removeData(this._element,ru);this._element=null;this._config=null},n._getConfig=function(n){return n=u({},yo,{},t(this._element).data(),{},"object"==typeof n&&n?n:{}),i.typeCheckConfig(dt,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(gt.CLICK_DISMISS,da,function(){return n.hide()})},n._close=function(){function n(){r._element.classList.add(ao);t(r._element).trigger(gt.HIDDEN)}var r=this,u;(this._element.classList.remove(ur),this._config.animation)?(u=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,n).emulateTransitionEnd(u)):n()},r._jQueryInterface=function(n){return this.each(function(){var u=t(this),i=u.data(ru);if(i||(i=new r(this,"object"==typeof n&&n),u.data(ru,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n](this)}})},c(r,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"DefaultType",get:function(){return ka}},{key:"Default",get:function(){return yo}}]),r}();t.fn[dt]=uu._jQueryInterface;t.fn[dt].Constructor=uu;t.fn[dt].noConflict=function(){return t.fn[dt]=wa,uu._jQueryInterface};n.Alert=et;n.Button=ri;n.Carousel=st;n.Collapse=si;n.Dropdown=k;n.Modal=yi;n.Popover=gr;n.Scrollspy=di;n.Tab=ir;n.Toast=uu;n.Tooltip=rt;n.Util=i;Object.defineProperty(n,"__esModule",{value:!0})});!function(n){"use strict";n.matchMedia=n.matchMedia||function(n){var u,i=n.documentElement,f=i.firstElementChild||i.firstChild,r=n.createElement("body"),t=n.createElement("div");return t.id="mq-test-1",t.style.cssText="position:absolute;top:-100em",r.style.background="none",r.appendChild(t),function(n){return t.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }<\/style>',i.insertBefore(r,f),u=42===t.offsetWidth,i.removeChild(r),{matches:u,media:n}}}(n.document)}(this),function(n){"use strict";function p(){y(!0)}var t={};n.respond=t;t.update=function(){};var f=[],tt=function(){var t=!1;try{t=new n.XMLHttpRequest}catch(i){t=new n.ActiveXObject("Microsoft.XMLHTTP")}return function(){return t}}(),w=function(n,t){var i=tt();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){4!==i.readyState||200!==i.status&&304!==i.status||t(i.responseText)},4!==i.readyState&&i.send(null))};if(t.ajax=w,t.queue=f,t.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},t.mediaQueriesSupported=n.matchMedia&&null!==n.matchMedia("only all")&&n.matchMedia("only all").matches,!t.mediaQueriesSupported){var c,b,l,i=n.document,r=i.documentElement,e=[],o=[],u=[],a={},k=30,s=i.getElementsByTagName("head")[0]||r,it=i.getElementsByTagName("base")[0],h=s.getElementsByTagName("link"),v=function(){var u,t=i.createElement("div"),n=i.body,o=r.style.fontSize,e=n&&n.style.fontSize,f=!1;return t.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=f=i.createElement("body"),n.style.background="none"),r.style.fontSize="100%",n.style.fontSize="100%",n.appendChild(t),f&&r.insertBefore(n,r.firstChild),u=t.offsetWidth,f?r.removeChild(n):n.removeChild(t),r.style.fontSize=o,e&&(n.style.fontSize=e),u=l=parseFloat(u)},y=function(t){var rt="clientWidth",ut=r[rt],ft="CSS1Compat"===i.compatMode&&ut||i.body[rt]||ut,p={},ct=h[h.length-1],et=(new Date).getTime(),tt,g,nt,f,it;if(t&&c&&k>et-c)return n.clearTimeout(b),b=n.setTimeout(y,k),void 0;c=et;for(tt in e)if(e.hasOwnProperty(tt)){var a=e[tt],w=a.minw,d=a.maxw,ot=null===w,st=null===d,ht="em";w&&(w=parseFloat(w)*(w.indexOf(ht)>-1?l||v():1));d&&(d=parseFloat(d)*(d.indexOf(ht)>-1?l||v():1));a.hasquery&&(ot&&st||!(ot||ft>=w)||!(st||d>=ft))||(p[a.media]||(p[a.media]=[]),p[a.media].push(o[a.rules]))}for(g in u)u.hasOwnProperty(g)&&u[g]&&u[g].parentNode===s&&s.removeChild(u[g]);u.length=0;for(nt in p)p.hasOwnProperty(nt)&&(f=i.createElement("style"),it=p[nt].join("\n"),f.type="text/css",f.media=nt,s.insertBefore(f,ct.nextSibling),f.styleSheet?f.styleSheet.cssText=it:f.appendChild(i.createTextNode(it)),u.push(f))},d=function(n,i,r){var h=n.replace(t.regex.keyframes,"").match(t.regex.media),c=h&&h.length||0,l,a,f,v,u,p,w,s;for(i=i.substring(0,i.lastIndexOf("/")),l=function(n){return n.replace(t.regex.urls,"$1"+i+"$2$3")},a=!c&&r,i.length&&(i+="/"),a&&(c=1),f=0;c>f;f++)for(a?(v=r,o.push(l(n))):(v=h[f].match(t.regex.findStyles)&&RegExp.$1,o.push(RegExp.$2&&l(RegExp.$2))),p=v.split(","),w=p.length,s=0;w>s;s++)u=p[s],e.push({media:u.split("(")[0].match(t.regex.only)&&RegExp.$2||"all",rules:o.length-1,hasquery:u.indexOf("(")>-1,minw:u.match(t.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:u.match(t.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});y()},g=function(){if(f.length){var t=f.shift();w(t.href,function(i){d(i,t.href,t.media);a[t.href]=!0;n.setTimeout(function(){g()},0)})}},nt=function(){for(var r=0;r<h.length;r++){var i=h[r],t=i.href,u=i.media,e=i.rel&&"stylesheet"===i.rel.toLowerCase();t&&e&&!a[t]&&(i.styleSheet&&i.styleSheet.rawCssText?(d(i.styleSheet.rawCssText,t,u),a[t]=!0):(!/^([a-zA-Z:]*\/\/)/.test(t)&&!it||t.replace(RegExp.$1,"").split("/")[0]===n.location.host)&&("//"===t.substring(0,2)&&(t=n.location.protocol+t),f.push({href:t,media:u})))}g()};nt();t.update=nt;t.getEmValue=v;n.addEventListener?n.addEventListener("resize",p,!1):n.attachEvent&&n.attachEvent("onresize",p)}}(this)