_.left="right"),n+h>y[2]&&"right"===_.left&&(n-=f,_.left="left")),"together"===c&&(n<y[0]&&"left"===_.left?"right"===v.left?(n+=f,_.left="right",n+=h,v.left="left"):"left"===v.left&&(n+=f,_.left="right",n-=h,v.left="right"):n+h>y[2]&&"right"===_.left?"left"===v.left?(n-=f,_.left="left",n-=h,v.left="right"):"right"===v.left&&(n-=f,_.left="left",n+=h,v.left="left"):"center"===_.left&&(n+h>y[2]&&"left"===v.left?(n-=h,v.left="right"):n<y[0]&&"right"===v.left&&(n+=h,v.left="left"))),"element"!==d&&"both"!==d||(i<y[1]&&"bottom"===v.top&&(i+=r,v.top="top"),i+r>y[3]&&"top"===v.top&&(i-=r,v.top="bottom")),"element"!==c&&"both"!==c||(n<y[0]&&("right"===v.left?(n+=h,v.left="left"):"center"===v.left&&(n+=h/2,v.left="left")),n+h>y[2]&&("left"===v.left?(n-=h,v.left="right"):"center"===v.left&&(n-=h/2,v.left="right"))),"string"==typeofl?l=l.split(",").map(function(t){returnt.trim()}):l===!0&&(l=["top","left","right","bottom"]),l=l||[];varw=[],E=[];i<y[1]&&(l.indexOf("top")>=0?(i=y[1],w.push("top")):E.push("top")),i+r>y[3]&&(l.indexOf("bottom")>=0?(i=y[3]-r,w.push("bottom")):E.push("bottom")),n<y[0]&&(l.indexOf("left")>=0?(n=y[0],w.push("left")):E.push("left")),n+h>y[2]&&(l.indexOf("right")>=0?(n=y[2]-h,w.push("right")):E.push("right")),w.length&&!function(){vart=void0;t="undefined"!=typeofe.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),g.push(t),w.forEach(function(e){g.push(t+"-"+e)})}(),E.length&&!function(){vart=void0;t="undefined"!=typeofe.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),g.push(t),E.forEach(function(e){g.push(t+"-"+e)})}(),(w.indexOf("left")>=0||w.indexOf("right")>=0)&&(v.left=_.left=!1),(w.indexOf("top")>=0||w.indexOf("bottom")>=0)&&(v.top=_.top=!1),_.top===s.top&&_.left===s.left&&v.top===e.attachment.top&&v.left===e.attachment.left||(e.updateAttachClasses(v,_),e.trigger("update",{attachment:v,targetAttachment:_}))}),N(function(){e.options.addTargetClasses!==!1&&m(e.target,g,p),m(e.element,g,p)}),{top:i,left:n}}});varW=b.Utils,a=W.getBounds,m=W.updateClasses,N=W.defer;b.modules.push({position:function(t){vare=this,i=t.top,n=t.left,s=this.cache("element-bounds",function(){returna(e.element)}),o=s.height,r=s.width,h=this.getTargetBounds(),l=i+o,c=n+r,d=[];i<=h.bottom&&l>=h.top&&["left","right"].forEach(function(t){vare=h[t];e!==n&&e!==c||d.push(t)}),n<=h.right&&c>=h.left&&["top","bottom"].forEach(function(t){vare=h[t];e!==i&&e!==l||d.push(t)});varu=[],f=[],p=["left","top","right","bottom"];returnu.push(this.getClass("abutted")),p.forEach(function(t){u.push(e.getClass("abutted")+"-"+t)}),d.length&&f.push(this.getClass("abutted")),d.forEach(function(t){f.push(e.getClass("abutted")+"-"+t)}),N(function(){e.options.addTargetClasses!==!1&&m(e.target,f,u),m(e.element,f,u)}),!0}});vark=function(){functiont(t,e){vari=[],n=!0,s=!1,o=void0;try{for(varr,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){s=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throwo}}returni}returnfunction(e,i){if(Array.isArray(e))returne;if(Symbol.iteratorinObject(e))returnt(e,i);thrownewTypeError("Invalid attempt to destructure non-iterable instance")}}();returnb.modules.push({position:function(t){vare=t.top,i=t.left;if(this.options.shift){varn=this.options.shift;"function"==typeofthis.options.shift&&(n=this.options.shift.call(this,{top:e,left:i}));vars=void0,o=void0;if("string"==typeofn){n=n.split(" "),n[1]=n[1]||n[0];varr=n,a=k(r,2);s=a[0],o=a[1],s=parseFloat(s,10),o=parseFloat(o,10)}elses=n.top,o=n.left;returne+=s,i+=o,{top:e,left:i}}}}),G}),"undefined"==typeofjQuery)thrownewError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");+function(t){vare=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)thrownewError("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(jQuery),+function(){functiont(t,e){if(!t)thrownewReferenceError("thishasn't been initialised - super() hasn'tbeencalled
},u={offset:"number",method:"string",target:"(string|element)"},f={ACTIVATE:"activate"+h,SCROLL:"scroll"+h,LOAD_DATA_API:"load"+h+l},p={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",NAV_LINK:"nav-link",NAV:"nav",ACTIVE:"active"},g={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",LIST_ITEM:".list-item",LI:"li",LI_DROPDOWN:"li.dropdown",NAV_LINKS:".nav-link",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},m={OFFSET:"offset",POSITION:"position"},_=function(){functionl(e,n){vars=this;i(this,l),this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+g.NAV_LINKS+","+(this._config.target+" "+g.DROPDOWN_ITEMS),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(f.SCROLL,function(t){returns._process(t)}),this.refresh(),this._process()}returnl.prototype.refresh=function(){vare=this,i=this._scrollElement!==this._scrollElement.window?m.POSITION:m.OFFSET,n="auto"===this._config.method?i:this._config.method,s=n===m.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();varr=t.makeArray(t(this._selector));r.map(function(e){vari=void0,r=o.getSelectorFromElement(e);returnr&&(i=t(r)[0]),i&&(i.offsetWidth||i.offsetHeight)?[t(i)[n]().top+s,r]:null}).filter(function(t){returnt}).sort(function(t,e){returnt[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},l.prototype.dispose=function(){t.removeData(this._element,a),t(this._scrollElement).off(h),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},l.prototype._getConfig=function(i){if(i=t.extend({},d,i),"string"!=typeofi.target){varn=t(i.target).attr("id");n||(n=o.getUID(e),t(i.target).attr("id",n)),i.target="#"+n}returno.typeCheckConfig(e,i,u),i},l.prototype._getScrollTop=function(){returnthis._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},l.prototype._getScrollHeight=function(){returnthis._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},l.prototype._getOffsetHeight=function(){returnthis._scrollElement===window?window.innerHeight:this._scrollElement.offsetHeight},l.prototype._process=function(){vart=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){varn=this._targets[this._targets.length-1];returnvoid(this._activeTarget!==n&&this._activate(n))}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)returnthis._activeTarget=null,voidthis._clear();for(vars=this._offsets.length;s--;){varo=this._activeTarget!==this._targets[s]&&t>=this._offsets[s]&&(void0===this._offsets[s+1]||t<this._offsets[s+1]);o&&this._activate(this._targets[s])}},l.prototype._activate=function(e){this._activeTarget=e,this._clear();vari=this._selector.split(",");i=i.map(function(t){returnt+'[data-target="'+e+'"],'+(t+'[href="'+e+'"]')});varn=t(i.join(","));n.hasClass(p.DROPDOWN_ITEM)?(n.closest(g.DROPDOWN).find(g.DROPDOWN_TOGGLE).addClass(p.ACTIVE),n.addClass(p.ACTIVE)):n.parents(g.LI).find("> "+g.NAV_LINKS).addClass(p.ACTIVE),t(this._scrollElement).trigger(f.ACTIVATE,{relatedTarget:e})},l.prototype._clear=function(){t(this._selector).filter(g.ACTIVE).removeClass(p.ACTIVE)},l._jQueryInterface=function(e){returnthis.each(function(){vari=t(this).data(a),s="object"===("undefined"==typeofe?"undefined":n(e))&&e;if(i||(i=newl(this,s),t(this).data(a,i)),"string"==typeofe){if(void0===i[e])thrownewError('No method named "'+e+'"');i[e]()}})},s(l,null,[{key:"VERSION",get:function(){returnr}},{key:"Default",get:function(){returnd}}]),l}();returnt(window).on(f.LOAD_DATA_API,function(){for(vare=t.makeArray(t(g.DATA_SPY)),i=e.length;i--;){varn=t(e[i]);_._jQueryInterface.call(n,n.data())}}),t.fn[e]=_._jQueryInte