1/* Source Themes Academic v4.8.0 | https://sourcethemes.com/academic/ */ 2 3; 4/*! 5 * Bootstrap v4.4.1 (https://getbootstrap.com/) 6 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 7 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 8 */!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((e=e||self).bootstrap={},e.jQuery,e.Popper)}(this,function(e,t,n){"use strict";function $e(e,t){for(var n,s=0;s<t.length;s++)n=t[s],n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function h(e,t,n){return t&&$e(e.prototype,t),n&&$e(e,n),e}function ct(e,t){var n,s=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,n)),s}function i(e){for(var t,n=1;n<arguments.length;n++)t=null!=arguments[n]?arguments[n]:{},n%2?ct(Object(t),!0).forEach(function(n){var s,o=e,i=t[s=n];s in o?Object.defineProperty(o,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[s]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ct(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n,H="transitionend";function rs(e){var o=this,n=!1;return t(this).one(s.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||s.triggerTransitionEnd(o)},e),this}s={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var n,t=e.getAttribute("data-target");(!t||"#"===t)&&(n=e.getAttribute("href"),t=n&&"#"!==n?n.trim():"");try{return document.querySelector(t)?t:null}catch{return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var n=t(e).css("transition-duration"),s=t(e).css("transition-delay"),o=parseFloat(n),i=parseFloat(s);return o||i?(n=n.split(",")[0],s=s.split(",")[0],1e3*(parseFloat(n)+parseFloat(s))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(H)},supportsTransitionEnd:function(){return Boolean(H)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var o,c,a=n[o],i=t[o],r=i&&s.isElement(i)?"element":(c=i,{}.toString.call(c).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(a).test(r))throw new Error(e.toUpperCase()+': Option "'+o+'" provided type "'+r+'" but expected type "'+a+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?s.findShadowRoot(e.parentNode):null;var t=e.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 e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}},s.jQueryDetection(),t.fn.emulateTransitionEnd=rs,t.event.special[s.TRANSITION_END]={bindType:H,delegateType:H,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var W="alert",he="bs.alert",Oe="."+he,os=t.fn[W],Ee={CLOSE:"close"+Oe,CLOSED:"closed"+Oe,CLICK_DATA_API:"click"+Oe+".data-api"},ns="alert",ts="fade",es="show",E=function(){function e(e){this._element=e}var n=e.prototype;return n.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},n.dispose=function(){t.removeData(this._element,he),this._element=null}
8,n._getRootElement=function(e){var o=s.getSelectorFromElement(e),n=!1;return o&&(n=document.querySelector(o)),n=n||t(e).closest("."+ns)[0]},n._triggerCloseEvent=function(e){var n=t.Event(Ee.CLOSE);return t(e).trigger(n),n},n._removeElement=function(e){var n,o=this;t(e).removeClass(es),t(e).hasClass(ts)?(n=s.getTransitionDurationFromElement(e),t(e).one(s.TRANSITION_END,function(t){return o._destroyElement(e,t)}).emulateTransitionEnd(n)):this._destroyElement(e)},n._destroyElement=function(e){t(e).detach().trigger(Ee.CLOSED).remove()},e._jQueryInterface=function(n){return this.each(function(){var o=t(this),s=o.data(he);s||(s=new e(this),o.data(he,s)),"close"===n&&s[n](this)})},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},h(e,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),e}();t(document).on(Ee.CLICK_DATA_API,'[data-dismiss="alert"]',E._handleDismiss(new E)),t.fn[W]=E._jQueryInterface,t.fn[W].Constructor=E,t.fn[W].noConflict=function(){return t.fn[W]=os,E._jQueryInterface};var U="button",oe="bs.button",ie="."+oe,se=".data-api",Zn=t.fn[U],f="active",Xn="btn",Gn="focus",tt='[data-toggle^="button"]',Yn='[data-toggle="buttons"]',qn='[data-toggle="button"]',$n='[data-toggle="buttons"] .btn',ke='input:not([type="hidden"])',Vn=".active",qe=".btn",Ae={CLICK_DATA_API:"click"+ie+se,FOCUS_BLUR_DATA_API:"focus"+ie+se+" blur"+ie+se,LOAD_DATA_API:"load"+ie+se},te=function(){function e(e){this._element=e}var n=e.prototype;return n.toggle=function(){var e,s,n=!0,o=!0,i=t(this._element).closest(Yn)[0];i&&(e=this._element.querySelector(ke),e&&("radio"===e.type?e.checked&&this._element.classList.contains(f)?n=!1:(s=i.querySelector(Vn),s&&t(s).removeClass(f)):"checkbox"===e.type?"LABEL"===this._element.tagName&&e.checked===this._element.classList.contains(f)&&(n=!1):n=!1,n&&(e.checked=!this._element.classList.contains(f),t(e).trigger("change")),e.focus(),o=!1)),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(o&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(f)),n&&t(this._element).toggleClass(f))},n.dispose=function(){t.removeData(this._element,oe),this._element=null},e._jQueryInterface=function(n){return this.each(function(){var s=t(this).data(oe);s||(s=new e(this),t(this).data(oe,s)),"toggle"===n&&s[n]()})},h(e,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),e}();t(document).on(Ae.CLICK_DATA_API,tt,function(e){var s,n=e.target;if(t(n).hasClass(Xn)||(n=t(n).closest(qe)[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled"))e.preventDefault();else{if(s=n.querySelector(ke),s&&(s.hasAttribute("disabled")||s.classList.contains("disabled")))return void e.preventDefault();te._jQueryInterface.call(t(n),"toggle")}}).on(Ae.FOCUS_BLUR_DATA_API,tt,function(e){var n=t(e.target).closest(qe)[0];t(n).toggleClass(Gn,/^focus(in)?$/.test(e.type))}),t(window).on(Ae.LOAD_DATA_API,function(){for(var t,n,s,i,a,e=[].slice.call(document.querySelectorAll($n)),o=0,r=e.length;o<r;o++)t=e[o],i=t.querySelector(ke),i.checked||i.hasAttribute("checked")?t.classList.add(f):t.classList.remove(f);for(n=0,a=(e=[].slice.call(document.querySelectorAll(qn))).length;n<a;n++)s=e[n],"true"===s.getAttribute("aria-pressed")?s.classList.add(f):s.classList.remove(f)}),t.fn[U]=te._jQueryInterface,t.fn[U].Constructor=te,t.fn[U].noConflict=function(){return t.fn[U]=Zn,te._jQueryInterface};var s,H,T="carousel",R="bs.carousel",a="."+R,Le=".data-api",Hn=t.fn[T],Ne={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Pn={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},fe="next",me="prev",Ln="left",Dn="right",r={SLIDE:"slide"+a,SLID:"slid"+a,KEYDOWN:"keydown"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a,TOUCHSTART:"touchstart"+a,TOUCHMOVE:"touchmove"+a,TOUCHEND:"touchend"+a,POINTERDOWN:"pointerdown"+a,POINTERUP:"pointerup"+a,DRAG_START:"dragstart"+a,LOAD_DATA_API:"load"+a+Le,CLICK_DATA_API:"click"+a+Le},Tn="carousel",O="active",Fn="slide",Mn="carousel-item-right",Sn="carousel-item-left",xn="carousel-item-next",wn="carousel-item-prev",_n="pointer-event",lt=".active",Me=".active.carousel-item",jn=".carousel-item",vn=".carousel-item img",pn=".carousel-item-next, .carousel-item-prev",mn=".carousel-indicators",hn="[data-sli
8de], [data-slide-to]",un='[data-ride="carousel"]',Re={TOUCH:"touch",PEN:"pen"},x=function(){function n(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(mn),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=n.prototype;return e.next=function(){this._isSliding||this._slide(fe)},e.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(me)},e.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(pn)&&(s.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(e){var n,s,o=this;if(this._activeElement=this._element.querySelector(Me),n=this._getItemIndex(this._activeElement),!(e>this._items.length-1||e<0))if(this._isSliding)t(this._element).one(r.SLID,function(){return o.to(e)});else{if(n===e)return this.pause(),void this.cycle();s=n<e?fe:me,this._slide(s,this._items[e])}},e.dispose=function(){t(this._element).off(a),t.removeData(this._element,R),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(e){return e=i({},Ne,{},e),s.typeCheckConfig(T,e,Pn),e},e._handleSwipe=function(){var e,t=Math.abs(this.touchDeltaX);t<=40||(e=t/this.touchDeltaX,(this.touchDeltaX=0)<e&&this.prev(),e<0&&this.next())},e._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(r.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&t(this._element).on(r.MOUSEENTER,function(t){return e.pause(t)}).on(r.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){if(e=this,this._touchSupported){var e,n=function(t){e._pointerEvent&&Re[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},s=function(t){e._pointerEvent&&Re[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval))};t(this._element.querySelectorAll(vn)).on(r.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(t(this._element).on(r.POINTERDOWN,function(e){return n(e)}),t(this._element).on(r.POINTERUP,function(e){return s(e)}),this._element.classList.add(_n)):(t(this._element).on(r.TOUCHSTART,function(e){return n(e)}),t(this._element).on(r.TOUCHMOVE,function(t){return function(t){t.originalEvent.touches&&1<t.originalEvent.touches.length?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX}(t)}),t(this._element).on(r.TOUCHEND,function(e){return s(e)}))}},e._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},e._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(jn)):[],this._items.indexOf(e)},e._getItemByDirection=function(e,t){var s,o=e===fe,i=e===me,n=this._getItemIndex(t),a=this._items.length-1;return(i&&0===n||o&&n===a)&&!this._config.wrap?t:(s=(n+(e===me?-1:1))%this._items.length,-1==s?this._items[this._items.length-1]:this._items[s])},e._triggerSlideEvent=function(e,n){var o=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(Me)),s=t.Event(r.SLIDE,{relatedTarget:e,direction:n,from:i,to:o});return t(this._element).trigger(s),s},e._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var n,s=[].slice.call(this._indicatorsElement.querySelectorAll(lt));t(s).removeClass(O),n=this._indicatorsElement.children[this._getItemIndex(e)],n&&t(n).addClass(O)}},e._slide=function(e,n){var a,c,l,d,f,h=this,i=this._element.querySelector(Me),p=this._getItemIndex(i),o=n||i&&this._getItemByDirection(e,i),g=this._getItemIndex(o),m=Boolean(this._interval),u=e===fe?(a=Sn,c=xn,Ln):(a=Mn,c=wn,Dn);o&&t(o).hasClass(O)?this._isSliding=!1:!this._triggerSlideEvent(o,u).isDefaultPrevented()&&i&&o&&(this._isSliding=!0,m&&this.pause(),this._setActiveIndicatorElement(o),l=t.Event(r.SLID,{relatedTarget:o,direction:u,from:p,to:g}),t(this._element).hasClass(Fn)?(t(o).addClass(c),s.reflow(o),t(i).addClass(a),t(o).addClass(a),d=parseInt(o.getAttribute("data-interval"),10),d?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=d):this._config.interval=this._config.defaultInterval||this._config.interval,f=s.getTransitionDurationFromElement(i),t(i).one(s.TRANSITION_END,function(){t(o).removeClass(a+" "+c).addClass(O),t(i).removeClass(O+" "+c+" "+a),h._isSliding=!1,setTimeout(function(){return t(h._element).trigger(l)},0)}).emulateTransitionEnd(f)):(t(i).removeClass(O),t(o).addClass(O),this._isSliding=!1,t(this._element).trigger(l)),m&&this.cycle())},n._jQueryInterface=function(e){return this.each(function(){var a,s=t(this).data(R),o=i({},Ne,{},t(this).data());if("object"==typeof e&&(o=i({},o,{},e)),a="string"==typeof e?e:o.slide,s||(s=new n(this,o),t(this).data(R,s)),"number"==typeof e)s.to(e);else if("string"==typeof a){if("undefined"==typeof s[a])throw new TypeError('No method n
8amed "'+a+'"');s[a]()}else o.interval&&o.ride&&(s.pause(),s.cycle())})},n._dataApiClickHandler=function(e){if(a=s.getSelectorFromElement(this),a&&(o=t(a)[0],o&&t(o).hasClass(Tn))){var o,a,c=i({},t(o).data(),{},t(this).data()),r=this.getAttribute("data-slide-to");r&&(c.interval=!1),n._jQueryInterface.call(t(o),c),r&&t(o).data(R).to(r),e.preventDefault()}},h(n,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return Ne}}]),n}();t(document).on(r.CLICK_DATA_API,hn,x._dataApiClickHandler),t(window).on(r.LOAD_DATA_API,function(){for(var n,s=[].slice.call(document.querySelectorAll(un)),e=0,o=s.length;e<o;e++)n=t(s[e]),x._jQueryInterface.call(n,n.data())}),t.fn[T]=x._jQueryInterface,t.fn[T].Constructor=x,t.fn[T].noConflict=function(){return t.fn[T]=Hn,x._jQueryInterface};var M="collapse",v="bs.collapse",$="."+v,dn=t.fn[M],Ce={toggle:!0,parent:""},en={toggle:"boolean",parent:"(string|element)"},I={SHOW:"show"+$,SHOWN:"shown"+$,HIDE:"hide"+$,HIDDEN:"hidden"+$,CLICK_DATA_API:"click"+$+".data-api"},y="show",P="collapse",be="collapsing",ze="collapsed",rt="width",Zt="height",Qt=".show, .collapsing",ot='[data-toggle="collapse"]',X=function(){function n(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(ot)),n=0,r=i.length;n<r;n++){var a=i[n],o=s.getSelectorFromElement(a),c=[].slice.call(document.querySelectorAll(o)).filter(function(t){return t===e});null!==o&&0<c.length&&(this._selector=o,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=n.prototype;return e.toggle=function(){t(this._element).hasClass(y)?this.hide():this.show()},e.show=function(){if(o=this,!this._isTransitioning&&!t(this._element).hasClass(y)&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(Qt)).filter(function(e){return"string"==typeof o._config.parent?e.getAttribute("data-parent")===o._config.parent:e.classList.contains(P)})).length&&(e=null),!(e&&(a=t(e).not(this._selector).data(v))&&a._isTransitioning))&&(r=t.Event(I.SHOW),t(this._element).trigger(r),!r.isDefaultPrevented())){e&&(n._jQueryInterface.call(t(e).not(this._selector),"hide"),a||t(e).data(v,null)),i=this._getDimension(),t(this._element).removeClass(P).addClass(be),this._element.style[i]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(ze).attr("aria-expanded",!0),this.setTransitioning(!0);var e,o,i,a,r,c="scroll"+(i[0].toUpperCase()+i.slice(1)),l=s.getTransitionDurationFromElement(this._element);t(this._element).one(s.TRANSITION_END,function(){t(o._element).removeClass(be).addClass(P).addClass(y),o._element.style[i]="",o.setTransitioning(!1),t(o._element).trigger(I.SHOWN)}).emulateTransitionEnd(l),this._element.style[i]=this._element[c]+"px"}},e.hide=function(){if(o=this,!this._isTransitioning&&t(this._element).hasClass(y)&&(i=t.Event(I.HIDE),t(this._element).trigger(i),!i.isDefaultPrevented())){if(e=this._getDimension(),this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",s.reflow(this._element),t(this._element).addClass(be).removeClass(P).removeClass(y),a=this._triggerArray.length,0<a)for(n=0;n<a;n++){var e,n,o,i,a,l,r=this._triggerArray[n],c=s.getSelectorFromElement(r);null!==c&&(t([].slice.call(document.querySelectorAll(c))).hasClass(y)||t(r).addClass(ze).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[e]="",l=s.getTransitionDurationFromElement(this._element),t(this._element).one(s.TRANSITION_END,function(){o.setTransitioning(!1),t(o._element).removeClass(be).addClass(P).trigger(I.HIDDEN)}).emulateTransitionEnd(l)}},e.setTransitioning=function(e){this._isTransitioning=e},e.dispose=function(){t.removeData(this._element,v),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(e){return(e=i({},Ce,{},e)).toggle=Boolean(e.toggle),s.typeCheckConfig(M,e,en),e},e._getDimension=function(){return t(this._element).hasClass(rt)?rt:Zt},e._getParent=function(){o=this,s.isElement(this._config.parent)?(e=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var e,o,i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',a=[].slice.call(e.querySelectorAll(i));return t(a).each(function(e,t){o._addAriaAndCollapsedClass(n._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function(e,n){var s=t(e).hasClass(y);n.length&&t(n).toggleClass(ze,!s).attr("aria-expanded",s)},n._getTargetFromElement=function(e){var t=s.getSelectorFromElement(e);return t?document.querySelector(t):null},n._jQueryInterface=function(e){return this.each(function(){var o=t(this),s=o.data(v),a=i({},Ce,{},o.data(),{},"object"==typeof e&&e?e:{});if(!s&&a.toggle&&/show|hide/.test(e)&&(a.toggle=!1),s||(s=new n(this,a),o.data(v,s)),"string"==typeof e){if("undefined"==typeof s[e])throw new TypeError('No method n
8amed "'+e+'"');s[e]()}})},h(n,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return Ce}}]),n}();t(document).on(I.CLICK_DATA_API,ot,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=t(this),o=s.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(o));t(i).each(function(){var e=t(this),s=e.data(v)?"toggle":n.data();X._jQueryInterface.call(e,s)})}),t.fn[M]=X._jQueryInterface,t.fn[M].Constructor=X,t.fn[M].noConflict=function(){return t.fn[M]=dn,X._jQueryInterface};var C="dropdown",ne="bs.dropdown",p="."+ne,Fe=".data-api",Xt=t.fn[C],Gt=new RegExp("38|40|27"),l={HIDE:"hide"+p,HIDDEN:"hidden"+p,SHOW:"show"+p,SHOWN:"shown"+p,CLICK:"click"+p,CLICK_DATA_API:"click"+p+Fe,KEYDOWN_DATA_API:"keydown"+p+Fe,KEYUP_DATA_API:"keyup"+p+Fe},ae="disabled",m="show",Kt="dropup",Ut="dropright",Vt="dropleft",Ie="dropdown-menu-right",Bt="position-static",je='[data-toggle="dropdown"]',Ht=".dropdown form",Se=".dropdown-menu",Pt=".navbar-nav",Tt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Mt="top-start",St="top-end",At="bottom-start",kt="bottom-end",wt="right-start",_t="left-start",yt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},pt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},g=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var o=e.prototype;return o.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(ae)){var n=t(this._menu).hasClass(m);e._clearMenus(),n||this.show(!0)}},o.show=function(o){if(void 0===o&&(o=!1),!(this._element.disabled||t(this._element).hasClass(ae)||t(this._menu).hasClass(m))){var a,r={relatedTarget:this._element},c=t.Event(l.SHOW,r),i=e._getParentFromElement(this._element);if(t(i).trigger(c),!c.isDefaultPrevented()){if(!this._inNavbar&&o){if("undefined"==typeof n)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");a=this._element,"parent"===this._config.reference?a=i:s.isElement(this._config.reference)&&(a=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&t(i).addClass(Bt),this._popper=new n(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(i).closest(Pt).length&&t(document.body).children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(m),t(i).toggleClass(m).trigger(t.Event(l.SHOWN,r))}}},o.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(ae)&&t(this._menu).hasClass(m)){var n={relatedTarget:this._element},s=t.Event(l.HIDE,n),o=e._getParentFromElement(this._element);t(o).trigger(s),s.isDefaultPrevented()||(this._popper&&this._popper.destroy(),t(this._menu).toggleClass(m),t(o).toggleClass(m).trigger(t.Event(l.HIDDEN,n)))}},o.dispose=function(){t.removeData(this._element,ne),t(this._element).off(p),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},o.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},o._addEventListeners=function(){var e=this;t(this._element).on(l.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},o._getConfig=function(e){return e=i({},this.constructor.Default,{},t(this._element).data(),{},e),s.typeCheckConfig(C,e,this.constructor.DefaultType),e},o._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Se))}return this._menu},o._getPlacement=function(){var n=t(this._element.parentNode),e=At;return n.hasClass(Kt)?(e=Mt,t(this._menu).hasClass(Ie)&&(e=St)):n.hasClass(Ut)?e=wt:n.hasClass(Vt)?e=_t:t(this._menu).hasClass(Ie)&&(e=kt),e},o._detectNavbar=function(){return 0<t(this._element).closest(".
8navbar").length},o._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=i({},e.offsets,{},t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},o._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),i({},e,{},this._config.popperConfig)},e._jQueryInterface=function(n){return this.each(function(){var s=t(this).data(ne);if(s||(s=new e(this,"object"==typeof n?n:null),t(this).data(ne,s)),"string"==typeof n){if("undefined"==typeof s[n])throw new TypeError('No method named "'+n+'"');s[n]()}})},e._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var c,d,o=[].slice.call(document.querySelectorAll(je)),s=0,u=o.length;s<u;s++){var i=e._getParentFromElement(o[s]),a=t(o[s]).data(ne),r={relatedTarget:o[s]};n&&"click"===n.type&&(r.clickEvent=n),a&&(d=a._menu,t(i).hasClass(m)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"keyup"===n.type&&9===n.which)&&t.contains(i,n.target))&&(c=t.Event(l.HIDE,r),t(i).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),o[s].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),t(d).removeClass(m),t(i).removeClass(m).trigger(t.Event(l.HIDDEN,r)))))}},e._getParentFromElement=function(e){var t,n=s.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(n){if((/input|textarea/i.test(n.target.tagName)?!(32===n.which||27!==n.which&&(40!==n.which&&38!==n.which||t(n.target).closest(Se).length)):Gt.test(n.which))&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!t(this).hasClass(ae))){var s,o,r,i=e._getParentFromElement(this),a=t(i).hasClass(m);(a||27!==n.which)&&(a&&(!a||27!==n.which&&32!==n.which)?(o=[].slice.call(i.querySelectorAll(Tt)).filter(function(e){return t(e).is(":visible")}),0!==o.length&&(s=o.indexOf(n.target),38===n.which&&0<s&&s--,40===n.which&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus())):(27===n.which&&(r=i.querySelector(je),t(r).trigger("focus")),t(this).trigger("click")))}},h(e,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return yt}},{key:"DefaultType",get:function(){return pt}}]),e}();t(document).on(l.KEYDOWN_DATA_API,je,g._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,Se,g._dataApiKeydownHandler).on(l.CLICK_DATA_API+" "+l.KEYUP_DATA_API,g._clearMenus).on(l.CLICK_DATA_API,je,function(e){e.preventDefault(),e.stopPropagation(),g._jQueryInterface.call(t(this),"toggle")}).on(l.CLICK_DATA_API,Ht,function(e){e.stopPropagation()}),t.fn[C]=g._jQueryInterface,t.fn[C].Constructor=g,t.fn[C].noConflict=function(){return t.fn[C]=Xt,g._jQueryInterface};var z="modal",Z="bs.modal",c="."+Z,ft=t.fn[z],xe={backdrop:!0,keyboard:!0,focus:!0,show:!0},mt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},o={HIDE:"hide"+c,HIDE_PREVENTED:"hidePrevented"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,FOCUSIN:"focusin"+c,RESIZE:"resize"+c,CLICK_DISMISS:"click.dismiss"+c,KEYDOWN_DISMISS:"keydown.dismiss"+c,MOUSEUP_DISMISS:"mouseup.dismiss"+c,MOUSEDOWN_DISMISS:"mousedown.dismiss"+c,CLICK_DATA_API:"click"+c+".data-api"},ht="modal-dialog-scrollable",dt="modal-scrollbar-measure",ut="modal-backdrop",We="modal-open",k="fade",ue="show",et="modal-static",gt=".modal-dialog",vt=".modal-body",bt='[data-toggle="modal"]',jt='[data-dismiss="modal"]',Je=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ze=".sticky-top",q=function(){function n(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(gt),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=n.prototype;return e.toggle=function(e){return this._isShown?this.hide():this.show(e)},e.show=function(e){var s,n=this;!this._isShown&&!this._isTransitioning&&(t(this._element).hasClass(k)&&(this._isTransitioning=!0),s=t.Event(o.SHOW,{relatedTarget:e}),t(this._element).trigger(s),this._isShown||s.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(o.CLICK_DISMISS,jt,function(e){return n.hide(e)}),t(this._dialog).on(o.MOUSEDOWN_DISMISS,function(){t(n._element).one(o.MOUSEUP_DISMISS,function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)})))},e.hide=function(e){var n,i,a,r=this;e&&e.preventDefault(),this._isShown&&!this._isTransitioning&&(n=t.Event(o.HIDE),(t(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented())&&(this._isShown=!1,i=t(this._element).hasClass(k),i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(o.FOCUSIN),t(this._element).removeClass(ue),t(this._element).off(o.CLICK_DISMISS),t(this._dialog).off(o.MOUSEDOWN_DISMISS),i?(a=s.getTransitionDurationFromElement(this._element),t(this._element).one(s.TRANSITION_END,function(e){return r._hideModal(e)}).emulateTransitionEnd(a)):this._hideModal()))},e.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return t(e).off(c)}),t(document).off(o.FOCUSIN),t.removeData(this._element,Z),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(e){return e=i({},xe,{},e),s.typeCheckConfig(z,e,mt),e},e._triggerBackdropTransition=function(){var e,n,i=this;if("static"===this._config.backdrop){if(e=t.Event(o.HIDE_PREVENTED),t(this._element).trigger(e),e.defaultPrevented)return;this._element.classList.add(et),n=s.getTransitionDurationFromElement(this._element),t(this._element).one(s.TRANSITION_END,function(){i._element.classList.remove(et)}).emulateTransitionEnd(n),this._element.focus()}else this.hide()},e._showElement=function(e){var c,l,n=this,i=t(this._element).hasClass(k),a=this._dialog?this._dialog.querySelector(vt):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),t(this._dialog).hasClass(ht)&&a?a.scrollTop=0:this._element.scrollTop=0,i&&s.reflow(this._element),t(this._element).addClass(ue),this._config.focus&&this._enforceFocus();function r(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,t(n._element).trigger(c)}c=t.Event(o.SHOWN,{relatedTarget:e}),i?(l=s.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(s.TRANSITION_END,r).emulateTransitionEnd(l)):r()},e._enforceFocus=function(){var e=this;t(document).off(o.FOCUSIN).on(o.FOCUSIN,function(n){document!==n.target&&e._element!==n.target&&0===t(e._element).has(n.target).length&&e._element.focus()})},e._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(o.KEYDOWN_DISMISS,function(t){27===t.which&&e._triggerBackdropTransition()}):this._isShown||t(this._element).off(o.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var e=this;this._isShown?t(window).on(o.RESIZE,function(t){return e.handleUpdate(t)}):t(window).off(o.RESIZE)},e._hideModal=function(){var e=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(We),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(o.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(e){var a,r,c,n=this,i=t(this._element).hasClass(k)?k:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=ut,i&&this._backdrop.classList.add(i),t(this._backdrop).appendTo(document.body),t(this._element).on(o.CLICK_DISMISS,function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&n._triggerBackdropTransition()}),i&&s.reflow(this._backdrop),t(this._backdrop).addClass(ue),!e)return;if(!i)return void e();r=s.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(s.TRANSITION_END,e).emulateTransitionEnd(r)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(ue),a=function(){n._removeBackdrop(),e&&e()},t(this._element).hasClass(k)?(c=s.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(s.TRANSITION_END,a).emulateTransitionEnd(c)):a()):e&&e()},e._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){if(e=this,this._isBodyOverflowing){var e,n,s,o=[].slice.call(document.querySelectorAll(Je)),i=[].slice.call(document.querySelectorAll(Ze));t(o).each(function(n,s){var o=s.style.paddingRight,i=t(s).css("padding-right");t(s).data("padding-right",o).css("padding-right",parseFloat(i)+e._scrollbarWidth+"px")}),t(i).each(function(n,s){var o=s.style.marginRight,i=t(s).css("margin-right");t(s).data("margin-right",o).css("margin-right",parseFloat(i)-e._scrollbarWidth+"px")}),n=document.body.style.paddingRight,s=t(document.body).css("padding-right"),t(document.body).data("padding-right",n).css("padding-right",parseFloat(s)+this._scrollbarWidth+"px")}t(document.body).addClass(We)},e._resetScrollbar=function(){var e,n,s=[].slice.call(document.querySelectorAll(Je));t(s).each(function(e,n){var s=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=s||""}),e=[].slice.call(document.querySelectorAll(""+Ze)),t(e).each(function(e,n){var s=t(n).data("margin-right");"undefined"!=typeof s&&t(n).css("margin-right",s).removeData("margin-right")}),n=t(document.body).data("padding-right"),t(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function(){var t,e=document.createElement("div");return e.className=dt,document.body.appendChild(e),t=e.getBoundingClientRect().width-e.clientWidth,document.body.removeChild(e),t},n._jQueryInterface=function(e,s){return this.each(function(){var o=t(this).data(Z),a=i({},xe,{},t(this).data(),{},"object"==typeof e&&e?e:{});if(o||(o=new n(this,a),t(this).data(Z,o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method n
8amed "'+e+'"');o[e](s)}else a.show&&o.show(s)})},h(n,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return xe}}]),n}();t(document).on(o.CLICK_DATA_API,bt,function(e){var n,c,l,a=this,r=s.getSelectorFromElement(this);r&&(n=document.querySelector(r)),c=t(n).data(Z)?"toggle":i({},t(n).data(),{},t(this).data()),"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault(),l=t(n).one(o.SHOW,function(e){e.isDefaultPrevented()||l.one(o.HIDDEN,function(){t(a).is(":visible")&&a.focus()})}),q._jQueryInterface.call(t(n),c,this)}),t.fn[z]=q._jQueryInterface,t.fn[z].Constructor=q,t.fn[z].noConflict=function(){return t.fn[z]=ft,q._jQueryInterface};var Ot=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],xt={"*":["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:[]},Ct=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Et=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function Xe(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var o=(new window.DOMParser).parseFromString(e,"text/html"),a=Object.keys(t),i=[].slice.call(o.body.querySelectorAll("*")),r=function(e){var s,o,n=i[e],r=n.nodeName.toLowerCase();if(-1===a.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";s=[].slice.call(n.attributes),o=[].concat(t["*"]||[],t[r]||[]),s.forEach(function(e){!function(e,t){if(n=e.nodeName.toLowerCase(),-1!==t.indexOf(n))return-1===Ot.indexOf(n)||Boolean(e.nodeValue.match(Ct)||e.nodeValue.match(Et));for(var n,o=t.filter(function(e){return e instanceof RegExp}),s=0,i=o.length;s<i;s++)if(n.match(o[s]))return!0;return!1}(e,o)&&n.removeAttribute(e.nodeName)})},s=0,c=i.length;s<c;s++)r(s);return o.body.innerHTML}var _="tooltip",ye="bs.tooltip",d="."+ye,Ft=t.fn[_],Ke="bs-tooltip",zt=new RegExp("(^|\\s)"+Ke+"\\S+","g"),Dt=["sanitize","whiteList","sanitizeFn"],Nt={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)"},Lt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Rt={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:xt,popperConfig:null},L="show",Te="out",It={HIDE:"hide"+d,HIDDEN:"hidden"+d,SHOW:"show"+d,SHOWN:"shown"+d,INSERTED:"inserted"+d,CLICK:"click"+d,FOCUSIN:"focusin"+d,FOCUSOUT:"focusout"+d,MOUSEENTER:"mouseenter"+d,MOUSELEAVE:"mouseleave"+d},D="fade",B="show",$t=".tooltip-inner",Wt=".arrow",V="hover",we="focus",qt="click",Yt="manual",w=function(){function o(e,t){if("undefined"==typeof n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e=o.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(e){if(this._isEnabled)if(e){var s=this.constructor.DATA_KEY,n=t(e.currentTarget).data(s);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(s,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(t(this.getTipElement()).hasClass(B))return void this._leave(null,this);this._enter(null,this)}},e.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},e.show=function(){if(e=this,"none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");if(i=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var e,o,i,a,r,c,d,u,h,l=s.findShadowRoot(this.element),m=t.contains(null!==l?l:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!m)return;o=this.getTipElement(),a=s.getUID(this.constructor.NAME),o.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&t(o).addClass(D),d="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,r=this._getAttachment(d),this.addAttachmentClass(r),u=this._getContainer(),t(o).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(o).appendTo(u),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,o,this._getPopperConfig(r)),t(o).addClass(B),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop),c=function(){e.config.animation&&e._fixTransition();var n=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),n===Te&&e._leave(null,e)},t(this.tip).hasClass(D)?(h=s.getTransitionDurationFromElement(this.tip),t(this.tip).one(s.TRANSITION_END,c).emulateTransitionEnd(h)):c()}},e.hide=function(e){function i(){n._hoverState!==L&&o.parentNode&&o.parentNode.removeChild(o),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var r,n=this,o=this.getTipElement(),a=t.Event(this.constructor.Event.HIDE);t(this.element).trigger(a),!a.isDefaultPrevented()&&(t(o).removeClass(B),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[qt]=!1,this._activeTrigger[we]=!1,this._activeTrigger[V]=!1,t(this.tip).hasClass(D)?(r=s.getTransitionDurationFromElement(o),t(o).one(s.TRANSITION_END,i).emulateTransitionEnd(r)):i(),this._hoverState="")},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){t(this.getTipElement()).addClass(Ke+"-"+e)},e.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(t(e.querySelectorAll($t)),this.getTitle()),t(e).removeClass(D+" "+B)},e.setElementContent=function(e,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Xe(n,this.config.whiteList,this.config.sanitizeFn)),e.html(n)):e.text(n):this.config.html?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text())},e.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e=e||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},e._getPopperConfig=function(e){var t=this;return i({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Wt}
8,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},{},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=i({},e.offsets,{},t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:s.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},e._getAttachment=function(e){return Lt[e.toUpperCase()]},e._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(n!==Yt){var s=n===V?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,o=n===V?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(s,e.config.selector,function(t){return e._enter(t)}).on(o,e.config.selector,function(t){return e._leave(t)})}}),this._hideModalHandler=function(){e.element&&e.hide()},t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=i({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(e,n){var s=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(s))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(s,n)),e&&(n._activeTrigger["focusin"===e.type?we:V]=!0),t(n.getTipElement()).hasClass(B)||n._hoverState===L?n._hoverState=L:(clearTimeout(n._timeout),n._hoverState=L,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===L&&n.show()},n.config.delay.show):n.show())},e._leave=function(e,n){var s=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(s))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(s,n)),e&&(n._activeTrigger["focusout"===e.type?we:V]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=Te,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===Te&&n.hide()},n.config.delay.hide):n.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){var n=t(this.element).data();return Object.keys(n).forEach(function(e){-1!==Dt.indexOf(e)&&delete n[e]}),"number"==typeof(e=i({},this.constructor.Default,{},n,{},"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),s.typeCheckConfig(_,e,this.constructor.DefaultType),e.sanitize&&(e.template=Xe(e.template,e.whiteList,e.sanitizeFn)),e},e._getDelegateConfig=function(){var e,t={};if(this.config)for(e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var n=t(this.getTipElement()),e=n.attr("class").match(zt);null!==e&&e.length&&n.removeClass(e.join(""))},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),n=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(D),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},o._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(ye),s="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new o(this,s),t(this).data(ye,n)),"string"==typeof e)){if("undefined"==typeof n[e])throw new TypeError('No method n
8amed "'+e+'"');n[e]()}})},h(o,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return Rt}},{key:"NAME",get:function(){return _}},{key:"DATA_KEY",get:function(){return ye}},{key:"Event",get:function(){return It}},{key:"EVENT_KEY",get:function(){return d}},{key:"DefaultType",get:function(){return Nt}}]),o}();t.fn[_]=w._jQueryInterface,t.fn[_].Constructor=w,t.fn[_].noConflict=function(){return t.fn[_]=Ft,w._jQueryInterface};var F="popover",ge="bs.popover",u="."+ge,Jt=t.fn[F],at="bs-popover",tn=new RegExp("(^|\\s)"+at+"\\S+","g"),nn=i({},w.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>'}),sn=i({},w.DefaultType,{content:"(string|element|function)"}),on="fade",an="show",rn=".popover-header",cn=".popover-body",ln={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,INSERTED:"inserted"+u,CLICK:"click"+u,FOCUSIN:"focusin"+u,FOCUSOUT:"focusout"+u,MOUSEENTER:"mouseenter"+u,MOUSELEAVE:"mouseleave"+u},pe=function(e){function n(){return e.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(n,e);var s=n.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(e){t(this.getTipElement()).addClass(at+"-"+e)},s.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},s.setContent=function(){var e,n=t(this.getTipElement());this.setElementContent(n.find(rn),this.getTitle()),e=this._getContent(),"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(n.find(cn),e),n.removeClass(on+" "+an)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var n=t(this.getTipElement()),e=n.attr("class").match(tn);null!==e&&0<e.length&&n.removeClass(e.join(""))},n._jQueryInterface=function(e){return this.each(function(){var s=t(this).data(ge),o="object"==typeof e?e:null;if((s||!/dispose|hide/.test(e))&&(s||(s=new n(this,o),t(this).data(ge,s)),"string"==typeof e)){if("undefined"==typeof s[e])throw new TypeError('No method named "'+e+'"');s[e]()}})},h(n,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return nn}},{key:"NAME",get:function(){return F}},{key:"DATA_KEY",get:function(){return ge}},{key:"Event",get:function(){return ln}},{key:"EVENT_KEY",get:function(){return u}},{key:"DefaultType",get:function(){return sn}}]),n}(w);t.fn[F]=pe._jQueryInterface,t.fn[F].Constructor=pe,t.fn[F].noConflict=function(){return t.fn[F]=Jt,pe._jQueryInterface};var b="scrollspy",ce="bs.scrollspy",re="."+ce,fn=t.fn[b],Ue={offset:10,method:"auto",target:""},gn={offset:"number",method:"string",target:"(string|element)"},_e={ACTIVATE:"activate"+re,SCROLL:"scroll"+re,LOAD_DATA_API:"load"+re+".data-api"},bn="dropdown-item",j="active",yn='[data-spy="scroll"]',Ve=".nav, .list-group",De=".nav-link",On=".nav-item",He=".list-group-item",Cn=".dropdown",En=".dropdown-item",kn=".dropdown-toggle",An="offset",Ge="position",Q=function(){function n(e,n){var s=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+De+","+this._config.target+" "+He+","+this._config.target+" "+En,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(_e.SCROLL,function(e){return s._process(e)}),this.refresh(),this._process()}var e=n.prototype;return e.refresh=function(){var e=this,o=this._scrollElement===this._scrollElement.window?An:Ge,n="auto"===this._config.method?o:this._config.method,i=n===Ge?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var o,r,a=s.getSelectorFromElement(e);return(a&&(o=document.querySelector(a)),o)&&(r=o.getBoundingClientRect(),r.width||r.height)?[t(o)[n]().top+i,a]:null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}
8).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},e.dispose=function(){t.removeData(this._element,ce),t(this._scrollElement).off(re),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(e){if("string"!=typeof(e=i({},Ue,{},"object"==typeof e&&e?e:{})).target){var n=t(e.target).attr("id");n||(n=s.getUID(b),t(e.target).attr("id",n)),e.target="#"+n}return s.typeCheckConfig(b,e,gn),e},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var e,n,t=this._getScrollTop()+this._config.offset,s=this._getScrollHeight(),o=this._config.offset+s-this._getOffsetHeight();if(this._scrollHeight!==s&&this.refresh(),o<=t)n=this._targets[this._targets.length-1],this._activeTarget!==n&&this._activate(n);else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&("undefined"==typeof this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}},e._activate=function(e){this._activeTarget=e,this._clear();var s=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),n=t([].slice.call(document.querySelectorAll(s.join(","))));n.hasClass(bn)?(n.closest(Cn).find(kn).addClass(j),n.addClass(j)):(n.addClass(j),n.parents(Ve).prev(De+", "+He).addClass(j),n.parents(Ve).prev(On).children(De).addClass(j)),t(this._scrollElement).trigger(_e.ACTIVATE,{relatedTarget:e})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(j)}).forEach(function(e){return e.classList.remove(j)})},n._jQueryInterface=function(e){return this.each(function(){var s=t(this).data(ce);if(s||(s=new n(this,"object"==typeof e&&e),t(this).data(ce,s)),"string"==typeof e){if("undefined"==typeof s[e])throw new TypeError('No method named "'+e+'"');s[e]()}})},h(n,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return Ue}}]),n}();t(window).on(_e.LOAD_DATA_API,function(){for(var e,n=[].slice.call(document.querySelectorAll(yn)),s=n.length;s--;)e=t(n[s]),Q._jQueryInterface.call(e,e.data())}),t.fn[b]=Q._jQueryInterface,t.fn[b].Constructor=Q,t.fn[b].noConflict=function(){return t.fn[b]=fn,Q._jQueryInterface};var de="bs.tab",Y="."+de,zn=t.fn.tab,K={HIDE:"hide"+Y,HIDDEN:"hidden"+Y,SHOW:"show"+Y,SHOWN:"shown"+Y,CLICK_DATA_API:"click"+Y+".data-api"},Nn="dropdown-menu",N="active",Rn="disabled",Pe="fade",Be="show",In=".dropdown",Bn=".nav, .list-group",Ye=".active",Qe="> li > .active",Wn='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Un=".dropdown-toggle",Kn="> .dropdown-menu .active",G=function(){function e(e){this._element=e}var n=e.prototype;return n.show=function(){if(i=this,!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(N)||t(this._element).hasClass(Rn))){var e,o,i,a,r,c,d,n=t(this._element).closest(Bn)[0],l=s.getSelectorFromElement(this._element);n&&(d="UL"===n.nodeName||"OL"===n.nodeName?Qe:Ye,e=(e=t.makeArray(t(n).find(d)))[e.length-1]),a=t.Event(K.HIDE,{relatedTarget:this._element}),r=t.Event(K.SHOW,{relatedTarget:e}),(e&&t(e).trigger(a),t(this._element).trigger(r),!r.isDefaultPrevented()&&!a.isDefaultPrevented())&&(l&&(o=document.querySelector(l)),this._activate(this._element,n),c=function(){var n=t.Event(K.HIDDEN,{relatedTarget:i._element}),s=t.Event(K.SHOWN,{relatedTarget:e});t(e).trigger(n),t(i._element).trigger(s)},o?this._activate(o,o.parentNode,c):c())}},n.dispose=function(){t.removeData(this._element,de),this._element=null},n._activate=function(e,n,o){function a(){return c._transitionComplete(e,i,o)}var r,c=this,i=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?t(n).children(Ye):t(n).find(Qe))[0],l=o&&i&&t(i).hasClass(Pe);i&&l?(r=s.getTransitionDurationFromElement(i),t(i).removeClass(Be).one(s.TRANSITION_END,a).emulateTransitionEnd(r)):a()},n._transitionComplete=function(e,n,o){if(n){t(n).removeClass(N);var i,r,a=t(n.parentNode).find(Kn)[0];a&&t(a).removeClass(N),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}(t(e).addClass(N),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),s.reflow(e),e.classList.contains(Pe)&&e.classList.add(Be),e.parentNode&&t(e.parentNode).hasClass(Nn))&&(i=t(e).closest(In)[0],i&&(r=[].slice.call(i.querySelectorAll(Un)),t(r).addClass(N)),e.setAttribute("aria-expanded",!0)),o&&o()},e._jQueryInterface=function(n){return this.each(function(){var o=t(this),s=o.data(de);if(s||(s=new e(this),o.data(de,s)),"string"==typeof n){if("undefined"==typeof s[n])throw new TypeError('No method n
8amed "'+n+'"');s[n]()}})},h(e,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),e}();t(document).on(K.CLICK_DATA_API,Wn,function(e){e.preventDefault(),G._jQueryInterface.call(t(this),"show")}),t.fn.tab=G._jQueryInterface,t.fn.tab.Constructor=G,t.fn.tab.noConflict=function(){return t.fn.tab=zn,G._jQueryInterface};var A="toast",le="bs.toast",ee="."+le,Qn=t.fn[A],S={CLICK_DISMISS:"click.dismiss"+ee,HIDE:"hide"+ee,HIDDEN:"hidden"+ee,SHOW:"show"+ee,SHOWN:"shown"+ee},Jn="fade",nt="hide",J="show",st="showing",ss={animation:"boolean",autohide:"boolean",delay:"number"},it={animation:!0,autohide:!0,delay:500},is='[data-dismiss="toast"]',ve=function(){function n(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var e=n.prototype;return e.show=function(){var n,i,e=this,o=t.Event(S.SHOW);t(this._element).trigger(o),!o.isDefaultPrevented()&&(this._config.animation&&this._element.classList.add(Jn),n=function(){e._element.classList.remove(st),e._element.classList.add(J),t(e._element).trigger(S.SHOWN),e._config.autohide&&(e._timeout=setTimeout(function(){e.hide()},e._config.delay))},this._element.classList.remove(nt),s.reflow(this._element),this._element.classList.add(st),this._config.animation?(i=s.getTransitionDurationFromElement(this._element),t(this._element).one(s.TRANSITION_END,n).emulateTransitionEnd(i)):n())},e.hide=function(){if(this._element.classList.contains(J)){var e=t.Event(S.HIDE);t(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(J)&&this._element.classList.remove(J),t(this._element).off(S.CLICK_DISMISS),t.removeData(this._element,le),this._element=null,this._config=null},e._getConfig=function(e){return e=i({},it,{},t(this._element).data(),{},"object"==typeof e&&e?e:{}),s.typeCheckConfig(A,e,this.constructor.DefaultType),e},e._setListeners=function(){var e=this;t(this._element).on(S.CLICK_DISMISS,is,function(){return e.hide()})},e._close=function(){function e(){n._element.classList.add(nt),t(n._element).trigger(S.HIDDEN)}var o,n=this;this._element.classList.remove(J),this._config.animation?(o=s.getTransitionDurationFromElement(this._element),t(this._element).one(s.TRANSITION_END,e).emulateTransitionEnd(o)):e()},n._jQueryInterface=function(e){return this.each(function(){var o=t(this),s=o.data(le);if(s||(s=new n(this,"object"==typeof e&&e),o.data(le,s)),"string"==typeof e){if("undefined"==typeof s[e])throw new TypeError('No method named "'+e+'"');s[e](this)}})},h(n,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"DefaultType",get:function(){return ss}},{key:"Default",get:function(){return it}}]),n}();t.fn[A]=ve._jQueryInterface,t.fn[A].Constructor=ve,t.fn[A].noConflict=function(){return t.fn[A]=Qn,ve._jQueryInterface},e.Alert=E,e.Button=te,e.Carousel=x,e.Collapse=X,e.Dropdown=g,e.Modal=q,e.Popover=pe,e.Scrollspy=Q,e.Tab=G,e.Toast=ve,e.Tooltip=w,e.Util=s,Object.defineProperty(e,"__esModule",{value:!0})}),function(e){function d(){let n=e("#navbar-main"),t=n.outerHeight();return console.debug("Navbar height: "+t),t}function r(t){if(t=typeof t=="undefined"||typeof t=="object"?decodeURIComponent(window.location.hash):t,e(t).length){t="#"+e.escapeSelector(t.substring(1));let n=Math.ceil(e(t).offset().top-d());e("body").addClass("scrolling"),e("html, body").animate({scrollTop:n},600,function(){e("body").removeClass("scrolling")})}else console.debug("Cannot scroll to target `#"+t+"`. ID not found!")}function h(){let t=e("body"),n=t.data("bs.scrollspy");n&&(n._config.offset=d(),t.data("bs.scrollspy",n),t.scrollspy("refresh"))}function v(){if(window.history.replaceState){let e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash;window.history.replaceState({path:e},"",e)}}window.addEventListener("hashchange",r),e("#navbar-main li.nav-item a.nav-link").on("click",function(t){let n=this.hash;if(this.pathname===window.location.pathname&&n&&e(n).length&&e(".js-widget-page").length>0){t.preventDefault();let s=Math.ceil(e(n).offset().top-d());e("html, body").animate({scrollTop:s},800)}}),e(document).on("click",".navbar-collapse.show",function(t){let n=e(t.target).is("a")?e(t.target):e(t.target).parent();n.is("a")&&n.attr("class")!="dropdown-toggle"&&e(this).collapse("hide")});let i={},c,n,s=e("#container-publications");s.isotope({itemSelector:".isotope-item",percentPosition:!0,masonry:{columnWidth:".grid-sizer"},filter:function(){let t=e(this),s=!c||t.text().match(c),o=!n||t.is(n);return s&&o}});let _=e(".filter-search").keyup(j(function(){c=new RegExp(_.val(),"gi"),s.isotope()}));function j(e,t){let n;return t=t||100,function(){clearTimeout(n);let o=arguments,i=this;function a(){e.apply(i,o)}n=setTimeout(a,t)}}function m(e){let t="";for(let n in e)t+=e[n];return t}e(".pub-filters").on("change",function(){let o=e(this),t=o[0].getAttribute("data-filter-group");
8if(i[t]=this.value,n=m(i),s.isotope(),t=="pubtype"){let t=e(this).val();t.substr(0,9)==".pubtype-"?window.location.hash=t.substr(9):window.location.hash=""}});function C(){let t=window.location.hash.replace("#",""),o="*";t!=""&&!isNaN(t)&&(o=".pubtype-"+t);let a="pubtype";i[a]=o,n=m(i),s.isotope(),e(".pubtype-select").val(o)}function O(){if(e("#map").length){let i=e("#map-provider").val(),t=e("#map-lat").val(),n=e("#map-lng").val(),s=parseInt(e("#map-zoom").val()),o=e("#map-dir").val(),a=e("#map-api-key").val();if(i==1){let e=new GMaps({div:"#map",lat:t,lng:n,zoom:s,zoomControl:!0,zoomControlOpt:{style:"SMALL",position:"TOP_LEFT"},panControl:!1,streetViewControl:!1,mapTypeControl:!1,overviewMapControl:!1,scrollwheel:!0,draggable:!0});e.addMarker({lat:t,lng:n,click:function(){let s="https://www.google.com/maps/place/"+encodeURIComponent(o)+"/@"+t+","+n+"/";window.open(s,"_blank")},title:o})}else{let e=new L.map("map").setView([t,n],s);i==3&&a.length?L.tileLayer("https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}",{attribution:'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>',maxZoom:18,id:"mapbox.streets",accessToken:a}).addTo(e):L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}).addTo(e);let r=L.marker([t,n]).addTo(e),c=t+","+n+"#map="+s+"/"+t+"/"+n+"&layers=N";r.bindPopup(o+'<p><a href="https://www.openstreetmap.org/directions?engine=osrm_car&route='+c+'">Routing via OpenStreetMap</a></p>')}}}function g(t,n){e.getJSON("https://api.github.com/repos/"+n+"/tags").done(function(n){let s=n[0];e(t).append(" "+s.name)}).fail(function(e,t,n){let s=t+", "+n;console.log("Request Failed: "+s)})}function u(){e("body").hasClass("searching")?(e("[id=search-query]").blur(),e("body").removeClass("searching compensate-for-scrollbar"),v(),e("#fancybox-style-noscroll").remove()):(!e("#fancybox-style-noscroll").length&&document.body.scrollHeight>window.innerHeight&&(e("head").append('<style id="fancybox-style-noscroll">.compensate-for-scrollbar{margin-right:'+(window.innerWidth-document.documentElement.clientWidth)+"px;}</style>"),e("body").addClass("compensate-for-scrollbar")),e("body").addClass("searching"),e(".search-results").css({opacity:0,visibility:"visible"}).animate({opacity:1},200),e("#search-query").focus())}function o(){return e(".js-theme-selector").length}function f(){return parseInt(localStorage.getItem("dark_mode")||2)}function a(e){if(console.info("Request to set theme."),!o()){console.info("Cannot set theme - admin disabled theme selector.");return}let n;switch(e){case 0:localStorage.setItem("dark_mode","1"),n=!0,console.info("User changed theme variation to Dark."),t(0);break;case 1:localStorage.setItem("dark_mode","2"),window.matchMedia("(prefers-color-scheme: dark)").matches?n=!0:window.matchMedia("(prefers-color-scheme: light)").matches?n=!1:n=isSiteThemeDark,console.info("User changed theme variation to Auto."),t(1);break;default:localStorage.setItem("dark_mode","0"),n=!1,console.info("User changed theme variation to Light."),t(2);break}l(n)}function t(t){switch(t){case 0:e(".js-set-theme-light").removeClass("dropdown-item-active"),e(".js-set-theme-dark").addClass("dropdown-item-active"),e(".js-set-theme-auto").removeClass("dropdown-item-active");break;case 1:e(".js-set-theme-light").removeClass("dropdown-item-active"),e(".js-set-theme-dark").removeClass("dropdown-item-active"),e(".js-set-theme-auto").addClass("dropdown-item-active");break;default:e(".js-set-theme-light").addClass("dropdown-item-active"),e(".js-set-theme-dark").removeClass("dropdown-item-active"),e(".js-set-theme-auto").removeClass("dropdown-item-active");break}}function w(){if(!o())return isSiteThemeDark;let t=f(),e;switch(t){case 0:e=!1;break;case 1:e=!0;break;default:window.matchMedia("(prefers-color-scheme: dark)").matches?e=!0:window.matchMedia("(prefers-color-scheme: light)").matches?e=!1:e=isSiteThemeDark;break}return e}function l(t,n=!1){const s=e("link[title=hl-light]").length>0,o=e("link[title=hl-light]")[0],i=e("link[title=hl-dark]")[0],a=e("script[title=mermaid]").length>0;if(!n&&(t===!1&&!e("body").hasClass("dark")||t===!0&&e("body").hasClass("dark")))return;t===!1?(n||e("body").css({opacity:0,visibility:"visible"}).animate({opacity:1},500),e("body").removeClass("dark"),s&&(o.disabled=!1,i.disabled=!0),a&&(n?mermaid.initialize({theme:"default",securityLevel:"loose"}):location.reload())):t===!0&&(n||e("body").css({opacity:0,visibility:"visible"}).animate({opacity:1},500),e("body").addClass("dark"),s&&(o.disabled=!0,i.disabled=!1),a&&(n?mermaid.initialize({theme:"dark",securityLevel:"loose"}):location.reload()))}function y(){if(o){let e=f();switch(e){case 0:t(2),console.info("Initialize theme variation to Light.");break;case 1:t(0),console.info("Initialize theme variation to Dark.");break;default:t(1),console.info("Initialize theme variation to Auto.");break}}let e=w();l(e,!0)}function b(){e(".carousel").each(function(){let t=e(".carousel-item",this);t.css("min-height",0);let n=Math.max.apply(null,t.map(function(){return e(this).outerHeight()}).get());t.css("min-height",n+"px")})}function x(){e("#TableOfContents").addClass("nav flex-column"),e("#TableOfContents li").addClass("nav-item"),e("#TableOfContents li a").addClass("nav-link"),e("input[type='checkbox'][disabled]").parents("ul").addClass("task-list")}function p(){let t=[];[].push.apply(t,document.getElementsByClassName("language-mermaid"));for(let n=0;n<t.length;n++)e(t[n]).unwrap("pre"),e(t[n]).replaceWith(function(){return e("<div />").append(e(this).contents()).addClass("mermaid")})}e(document).ready(function(){x(),p(),code_highlighting&&hljs.initHighlighting(
8),y(),e(".js-set-theme-light").click(function(e){e.preventDefault(),a(2)}),e(".js-set-theme-dark").click(function(e){e.preventDefault(),a(0)}),e(".js-set-theme-auto").click(function(e){e.preventDefault(),a(1)});const t=window.matchMedia("(prefers-color-scheme: dark)");t.addListener(e=>{if(!o())return;const n=e.matches;console.log(`OS dark mode preference changed to ${n?"ð on":"âï¸ off"}.`);let s=parseInt(localStorage.getItem("dark_mode")||2),t;s===2&&(window.matchMedia("(prefers-color-scheme: dark)").matches?t=!0:window.matchMedia("(prefers-color-scheme: light)").matches?t=!1:t=isSiteThemeDark,l(t))})}),e(window).on("load",function(){e(".projects-container").each(function(t,n){let s=e(n),o=s.closest("section"),i;o.find(".isotope").hasClass("js-layout-row")?i="fitRows":i="masonry",s.imagesLoaded(function(){s.isotope({itemSelector:".isotope-item",layoutMode:i,masonry:{gutter:20},filter:o.find(".default-project-filter").text()}),o.find(".project-filters a").click(function(){let t=e(this).attr("data-filter");return s.isotope({filter:t}),e(this).removeClass("active").addClass("active").siblings().removeClass("active all"),!1}),window.location.hash&&r()})}),e(".pub-filters-select")&&C(),e(".back-to-top").click(function(t){t.preventDefault(),e("html, body").animate({scrollTop:0},800,function(){window.location.hash=""})}),e(".js-cite-modal").click(function(t){t.preventDefault();let n=e(this).attr("data-filename"),s=e("#modal");s.find(".modal-body code").load(n,function(t,s,o){if(s=="error"){let t="Error: ";e("#modal-error").html(t+o.status+" "+o.statusText)}else e(".js-download-cite").attr("href",n)}),s.modal("show")}),e(".js-copy-cite").click(function(e){e.preventDefault();let t=document.createRange(),n=document.querySelector("#modal .modal-body");t.selectNode(n),window.getSelection().addRange(t);try{document.execCommand("copy")}catch{console.log("Error: citation copy failed.")}window.getSelection().removeRange(t)}),O();let t=".js-github-release";e(t).length>0&&g(t,e(t).data("repo")),e(".js-search").click(function(e){e.preventDefault(),u()}),e(document).on("keydown",function(t){t.which==27?e("body").hasClass("searching")&&u():t.which==191&&t.shiftKey==!1&&!e("input,textarea").is(":focus")&&(t.preventDefault(),u())})}),e(window).on("load resize orientationchange",b),e("body").on("mouseenter mouseleave",".dropdown",function(t){var n=e(t.target).closest(".dropdown"),s=e(".dropdown-menu",n);n.addClass("show"),s.addClass("show"),setTimeout(function(){n[n.is(":hover")?"addClass":"removeClass"]("show"),s[n.is(":hover")?"addClass":"removeClass"]("show")},300),h(),window.location.hash&&(window.location.hash=="#top"?window.location.hash="":e(".projects-container").length||r());let o;e(window).resize(function(){clearTimeout(o),o=setTimeout(h,200)})})}(jQuery)
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.