function CheckWordCountIsValid(n,t){var r,i;if(n!=null&&t!=null){for(n=n.replace(/(\r\n|[\r\n])/g," "),r=n.split(" "),i=0;i<r.length;i++)r[i]==""&&(r.splice(i,1),i--);return r.length<=t}return!1}function getURLParameter(n){return decodeURIComponent((new RegExp("[?|&]"+n+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null}function LoadLoadingAnimation(n,t){$.ajax({url:n+"/LoadLoadingAnimation",type:"GET",datatype:"html",success:function(n){t?$("#"+t).html(n):$("#PageContentContainerDiv").html(n)},error:function(){ToastrError("Error loading the Loading Animation")}})}function LoadGrid(n,t,i,r,u,f,e){$.ajax({url:t,data:{gridID:n,pageNumber:i,searchText:r,searchByColumnTypeID:u,sortByTypeID:f,sortDescending:e},type:"GET",datatype:"html",success:function(n){$("#PageContentContainerDiv").html(n)},error:function(){ToastrError("Error loading grid")}})}function CloseModalDialog(){$("#ModalContainerDiv").hide()}function LoadUserAccountViewer(n){$.ajax({url:"/Controls/UserAccountViewerControl/LoadUserAccountViewer",data:{userID:n},type:"GET",datatype:"html",success:function(n){$("#ModalContainerDiv").html(n);$("#ModalContainerDiv").show()},error:function(){ToastrError("Error loading User Account Viewer")}})}function UpdateGUIValidationToValidationFailedForElements(n,t,i,r,u){$("#"+n).length===0?ToastrError("Couldn't find an element to update Validation Icon and text with ID of "+n):(n&&!r?(document.getElementById(n).style.borderColor="red",document.getElementById(n).style.boxShadow="0 0 0 .2rem rgba(220, 53, 69, .25)"):n&&r&&(document.getElementById(n).style.backgroundColor="red"),document.getElementById(t).textContent=i,document.getElementById(t).style.display="inline-block");typeof u!="undefined"&&(u=!0)}function ResetGUIValidation(n,t){$("#"+n).length===0?ToastrError("Couldn't find an element to update Validation Icon and text with ID of "+n):(document.getElementById(n).style.borderColor="#ced4da",document.getElementById(n).style.boxShadow="none",document.getElementById(t).style.display="none")}function LoadCreateNewForm(n,t,i,r,u,f,e){t.length<1?alert("Error loading Create New Form - no URL supplied to load form"):$.ajax({url:t,data:{gridID:n,pageNumber:i,searchText:r,sortByTypeID:f,searchByColumnTypeID:u,sortDescending:e},type:"GET",datatype:"html",success:function(n){$("#ModalContainerDiv").html(n);$("#ModalContainerDiv").show()},error:function(){ToastrError("Error loading Create New Form")}})}function LoadEditForm(n,t,i,r,u,f,e,o){t.length<1?alert("Error loading Edit Form - no URL supplied to load form"):$.ajax({url:t,data:{objectID:i,gridID:n,pageNumber:r,searchText:u,sortByTypeID:e,searchByColumnTypeID:f,sortDescending:o},type:"GET",datatype:"html",success:function(n){$("#ModalContainerDiv").html(n);$("#ModalContainerDiv").show()},error:function(){ToastrError("Error loading Edit Form")}})}function LoadDeleteConfirmationForm(n,t,i,r,u,f,e,o){t.length<1?alert("Error loading Delete Form - no URL supplied to load form"):$.ajax({url:t,data:{objectID:i,gridID:n,pageNumber:r,searchText:u,searchByColumnTypeID:f,sortByTypeID:e,sortDescending:o},type:"GET",datatype:"json",success:function(n){$("#ModalContainerDiv").html(n);$("#ModalContainerDiv").show()},error:function(){ToastrError("Error loading delete confirmation form")}})}function LoadHTMLViewer(n,t,i){t.length<1?alert("Error loading HTML Viewer - no URL supplied to load form"):$.ajax({url:t,data:{objectID:i,gridID:n},type:"GET",datatype:"html",success:function(n){$("#ModalContainerDiv").html(n);$("#ModalContainerDiv").show()},error:function(){ToastrError("Error loading HTML Viewer")}})}function ToastrSuccess(n){toastr.options={positionClass:"toast-top-center",timeOut:"1500",progressBar:!0,closeButton:!0};toastr.success(n?n:"Success")}function ToastrError(n){toastr.options={positionClass:"toast-top-center",timeOut:"0",extendedTimeOut:"0",closeButton:!0};toastr.error(n?n:"Error")}function ToastrError(n,t,i){toastr.options={positionClass:"toast-top-center",timeOut:t,extendedTimeOut:t,closeButton:!0,progressBar:i};toastr.error(n?n:"Error")}function ToastrInfo(n){toastr.options={positionClass:"toast-top-center",timeOut:"0",progressBar:!0,closeButton:!0};toastr.info(n?n:"Info")}function RedirectTo(n){window.location=n}function ToastrInfo(n){toastr.options={positionClass:"toast-top-center",timeOut:"5000",progressBar:!0,closeButton:!0};toastr.info(n?n:"")}function DisplayBasket(n){var t=JSON.parse(localStorage.getItem("basket")||"[]");$("#BasketDiv").length&&($("#BasketItemsDiv").empty(),t.filter(t=>t.eventId===n).length>0?(t.filter(t=>t.eventId===n).forEach(function(t){$("#BasketItemsDiv").append("<p><span style='cursor: pointer;' onclick='RemoveFromBasket("+t.id+","+n+")'><i class='fa-sharp fa-solid fa-circle-xmark'><\/i><\/span> "+t.name+"<\/p>")}),$("#BasketCheckoutLink").show(),CheckForMethodsSchoolCourseSelectionIssues(n)):($("#BasketItemsDiv").append("<p>You don't have anything in your basket.<\/p>"),$("#BasketCheckoutLink").hide()))}function UpdateBasket(n,t,i){var r=JSON.parse(localStorage.getItem("basket")||"[]"),u,f;r.filter(t=>t.id===n).length>0?(u=r.filter(t=>t.id!==n),localStorage.setItem("basket",JSON.stringify(u))):(f={id:n,name:t,eventId:i},r.push(f),localStorage.setItem("basket",JSON.stringify(r)));UpdateButtonText(n);DisplayBasket(i)}function RemoveFromBasket(n,t){UpdateBasket(n,"",t)}function ClearBasket(n){var t=JSON.parse(localStorage.getItem("basket")||"[]"),i;t.filter(t=>t.eventId===n).length>0&&(i=t.filter(t=>t.eventId!==n),localStorage.setItem("basket",JSON.stringify(i)))}function ClearEntireBasket(){localStorage.setItem("basket","[]")}function GetSelectedCourseIDsFromBasket(n){var i=JSON.parse(localStorage.getItem("basket")||"[]"),t=[];return i.filter(t=>t.eventId===n).forEach(function(n){t.push(n.id)}),t}function UpdateButtonText(n){var t=$(`#UpdateBasketButton_${n}`),i;t.length&&(i=JSON.parse(localStorage.getItem("basket")||"[]"),i.filter(t=>t.id===n).length>0?(gtag_report_conversion(),t.html("Remove from Basket")):t.html("Add to Basket"))}function UpdateAllBasketButtonText(n){var t=GetSelectedCourseIDsFromBasket(n);t.forEach(function(n){UpdateButtonText(n)})}function CheckForMethodsSchoolCourseSelectionIssues(n){var t=GetSelectedCourseIDsFromBasket(n);$.ajax({url:"/Services/EventRegistrationControlService.svc/CheckForMethodsSchoolCourseSelectionIssues",data:'{"selectedCourses":'+JSON.stringify(t)+"}",type:"POST",contentType:"application/json; charset=utf-8",processData:!1,dataType:"json",success:function(n){$("#BasketErrorDiv").length?($("#BasketErrorDiv").empty(),n.d.length>0?($("#BasketErrorDiv").append("<p style='white-space: pre-wrap'>"+n.d+"<\/p>"),$("#BasketErrorDiv").show()):$("#BasketErrorDiv").hide()):($("#CheckoutMSCourseErrorDiv").empty(),n.d.length>0?($("#CheckoutMSCourseErrorDiv").append("<p style='white-space: pre-wrap'>"+n.d+"<\/p>"),$("#CheckoutMSCourseErrorDiv").show()):$("#CheckoutMSCourseErrorDiv").hide())}})}function DisplayCheckoutDetails(n){var t=JSON.parse(localStorage.getItem("basket")||"[]");$("#CheckoutMSCoursesDiv").length&&($("#CheckoutMSCoursesDiv").empty(),t.length>0?(t.filter(t=>t.eventId===n).forEach(function(t){$("#CheckoutMSCoursesDiv").append("<p><span style='cursor: pointer;' onclick='RemoveFromCheckout("+t.id+","+n+")'><i class='fa-sharp fa-solid fa-circle-xmark'><\/i><\/span> "+t.name+"<\/p>")}),CheckForMethodsSchoolCourseSelectionIssues(n)):$("#CheckoutMSCoursesDiv").append("<p>You don't have anything in your basket.<\/p>"))}function RemoveFromCheckout(n,t){UpdateBasket(n,"");MSCourseList_Init();DisplayCheckoutDetails(t)}function LogTrackedURLVisit(n){$.ajax({url:"/Controls/TrackedURL/LogTrackedURLVisit",type:"POST",data:{Url:n},dataType:"json"})}(function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Popper=t()})(this,function(){"use strict";function ut(n){return n&&"[object Function]"==={}.toString.call(n)}function r(n,t){if(1!==n.nodeType)return[];var r=n.ownerDocument.defaultView,i=r.getComputedStyle(n,null);return t?i[t]:i}function y(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function s(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=r(n),i=t.overflow,u=t.overflowX,f=t.overflowY;return/(auto|scroll|overlay)/.test(i+f+u)?n:s(y(n))}function ft(n){return n&&n.referenceNode?n.referenceNode:n}function u(n){return 11===n?ii:10===n?ri:ii||ri}function f(n){var e,t,i;if(!n)return document.documentElement;for(e=u(10)?document.body:null,t=n.offsetParent||null;t===e&&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"===r(t,"position")?f(t):t:n?n.ownerDocument.documentElement:document.documentElement}function fi(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||f(n.firstElementChild)===n)}function p(n){return null===n.parentNode?n:p(n.parentNode)}function l(n,t){var i,u;if(!n||!n.nodeType||!t||!t.nodeType)return document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?n:t,s=e?t:n,r=document.createRange();return(r.setStart(o,0),r.setEnd(s,0),i=r.commonAncestorContainer,n!==i&&t!==i||o.contains(s))?fi(i)?i:f(i):(u=p(n),u.host?l(u.host,t):l(n,p(t).host))}function e(n){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",t="top"===f?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return"BODY"===i||"HTML"===i?(r=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||r,u[t]):n[t]}function ei(n,t){var f=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=e(t,"top"),u=e(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function et(n,t){var i="x"===t?"Left":"Top",r="Left"==i?"Right":"Bottom";return parseFloat(n["border"+i+"Width"])+parseFloat(n["border"+r+"Width"])}function ot(n,i,r,f){return t(i["offset"+n],i["scroll"+n],r["client"+n],r["offset"+n],r["scroll"+n],u(10)?parseInt(r["offset"+n])+parseInt(f["margin"+("Height"===n?"Top":"Left")])+parseInt(f["margin"+("Height"===n?"Bottom":"Right")]):0)}function st(n){var i=n.body,t=n.documentElement,r=u(10)&&getComputedStyle(t);return{height:ot("Height",i,t,r),width:ot("Width",i,t,r)}}function i(t){return n({},t,{right:t.left+t.width,bottom:t.top+t.height})}function w(n){var t={},o,s,l;try{u(10)?(t=n.getBoundingClientRect(),o=e(n,"top"),s=e(n,"left"),t.top+=o,t.left+=s,t.bottom+=o,t.right+=s):t=n.getBoundingClientRect()}catch(r){}var f={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===n.nodeName?st(n.ownerDocument):{},v=a.width||n.clientWidth||f.width,y=a.height||n.clientHeight||f.height,h=n.offsetWidth-v,c=n.offsetHeight-y;return(h||c)&&(l=r(n),h-=et(l,"x"),c-=et(l,"y"),f.width-=h,f.height-=c),i(f)}function b(n,f){var b=2<arguments.length&&void 0!==arguments[2]&&arguments[2],k=u(10),d="HTML"===f.nodeName,h=w(n),o=w(f),v=s(n),c=r(f),y=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth),e,l,a;return b&&d&&(o.top=t(o.top,0),o.left=t(o.left,0)),e=i({top:h.top-o.top-y,left:h.left-o.left-p,width:h.width,height:h.height}),(e.marginTop=0,e.marginLeft=0,!k&&d)&&(l=parseFloat(c.marginTop),a=parseFloat(c.marginLeft),e.top-=y-l,e.bottom-=y-l,e.left-=p-a,e.right-=p-a,e.marginTop=l,e.marginLeft=a),(k&&!b?f.contains(v):f===v&&"BODY"!==v.nodeName)&&(e=ei(e,f)),e}function oi(n){var f=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=n.ownerDocument.documentElement,u=b(n,r),o=t(r.clientWidth,window.innerWidth||0),s=t(r.clientHeight,window.innerHeight||0),h=f?0:e(r),c=f?0:e(r,"left"),l={top:h-u.top+u.marginTop,left:c-u.left+u.marginLeft,width:o,height:s};return i(l)}function ht(n){var i=n.nodeName,t;return"BODY"===i||"HTML"===i?!1:"fixed"===r(n,"position")?!0:(t=y(n),!!t&&ht(t))}function ct(n){if(!n||!n.parentElement||u())return document.documentElement;for(var t=n.parentElement;t&&"none"===r(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(n,t,i,r){var h=4<arguments.length&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},c=h?ct(n):l(n,ft(t)),e,f,o;if("viewport"===r)u=oi(c,h);else if("scrollParent"===r?(e=s(y(t)),"BODY"===e.nodeName&&(e=n.ownerDocument.documentElement)):e="window"===r?n.ownerDocument.documentElement:r,f=b(e,c,h),"HTML"!==e.nodeName||ht(c))u=f;else{var a=st(n.ownerDocument),v=a.height,p=a.width;u.top+=f.top-f.marginTop;u.bottom=v+f.top;u.left+=f.left-f.marginLeft;u.right=p+f.left}return i=i||0,o="number"==typeof i,u.left+=o?i:i.left||0,u.top+=o?i:i.top||0,u.right-=o?i:i.right||0,u.bottom-=o?i:i.bottom||0,u}function si(n){var t=n.width,i=n.height;return t*i}function lt(t,i,r,u,f){var l=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var e=k(r,u,l,f),o={top:{width:e.width,height:i.top-e.top},right:{width:e.right-i.right,height:e.height},bottom:{width:e.width,height:e.bottom-i.bottom},left:{width:i.left-e.left,height:e.height}},s=Object.keys(o).map(function(t){return n({key:t},o[t],{area:si(o[t])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,i=n.height;return t>=r.clientWidth&&i>=r.clientHeight}),a=0<h.length?h[0].key:s[0].key,c=t.split("-")[1];return a+(c?"-"+c:"")}function at(n,t,i){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,u=r?ct(t):l(t,ft(i));return b(i,u,r)}function vt(n){var i=n.ownerDocument.defaultView,t=i.getComputedStyle(n),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),u=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+u,height:n.offsetHeight+r}}function a(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 yt(n,t,i){i=i.split("-")[0];var r=vt(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[a(f)],e}function h(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function hi(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=h(n,function(n){return n[t]===i});return n.indexOf(r)}function pt(n,t,r){var u=void 0===r?n:n.slice(0,hi(n,"name",r));return u.forEach(function(n){n["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=n["function"]||n.fn;n.enabled&&ut(r)&&(t.offsets.popper=i(t.offsets.popper),t.offsets.reference=i(t.offsets.reference),t=r(t,n))}),t}function ci(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=at(this.state,this.popper,this.reference,this.options.positionFixed);n.placement=lt(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=yt(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";n=pt(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function wt(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function d(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 li(){return this.state.isDestroyed=!0,wt(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[d("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function bt(n){var t=n.ownerDocument;return t?t.defaultView:window}function kt(n,t,i,r){var f="BODY"===n.nodeName,u=f?n.ownerDocument.defaultView:n;u.addEventListener(t,i,{passive:!0});f||kt(s(u.parentNode),t,i,r);r.push(u)}function ai(n,t,i,r){i.updateBound=r;bt(n).addEventListener("resize",i.updateBound,{passive:!0});var u=s(n);return kt(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function vi(){this.state.eventsEnabled||(this.state=ai(this.reference,this.options,this.state,this.scheduleUpdate))}function yi(n,t){return bt(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}function pi(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=yi(this.reference,this.state))}function g(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function nt(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&g(t[i])&&(r="px");n.style[i]=t[i]+r})}function wi(n,t){Object.keys(t).forEach(function(i){var r=t[i];!1===r?n.removeAttribute(i):n.setAttribute(i,t[i])})}function bi(n,t){var u=n.offsets,i=u.popper,l=u.reference,r=ti,f=function(n){return n},e=r(l.width),o=r(i.width),a=-1!==["left","right"].indexOf(n.placement),s=-1!==n.placement.indexOf("-"),h=t?a||s||e%2==o%2?r:tt:f,c=t?r:f;return{left:h(1==e%2&&1==o%2&&!s&&t?i.left-1:i.left),top:c(i.top),bottom:c(i.bottom),right:h(i.right)}}function dt(n,t,i){var u=h(n,function(n){var i=n.name;return i===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r;return f||(r="`"+t+"`",console.warn("`"+i+"` modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function ki(n){return"end"===n?"start":"start"===n?"end":n}function gt(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=it.indexOf(n),i=it.slice(t+1).concat(it.slice(0,t));return r?i.reverse():i}function di(n,r,u,f){var h=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+h[1],e=h[2],s,c,l;if(!o)return n;if(0===e.indexOf("%")){switch(e){case"%p":s=u;break;case"%":case"%r":default:s=f}return c=i(s),c[r]/100*o}return"vh"===e||"vw"===e?(l="vh"===e?t(document.documentElement.clientHeight,window.innerHeight||0):t(document.documentElement.clientWidth,window.innerWidth||0),l/100*o):o}function gi(n,t,i,r){var s=[0,0],c=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(h(u,function(n){return-1!==n.search(/,|\s/)})),o,e;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=-1===f?[u]:[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))],e=e.map(function(n,r){var f=(1===r?!c:c)?"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 di(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){g(i)&&(s[t]+=i*("-"===n[r-1]?-1:1))})}),s}function nr(n,t){var r,f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0];return r=g(+f)?[+f,0]:gi(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}var ni=Math.min,tt=Math.floor,ti=Math.round,t=Math.max,c="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,tr=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(c&&0<=navigator.userAgent.indexOf(t[n]))return 1;return 0}(),ir=c&&window.Promise,rr=ir?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()},tr))}},ii=c&&!!(window.MSInputMethodContext&&document.documentMode),ri=c&&/MSIE 10/.test(navigator.userAgent),ur=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},fr=function(){function n(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)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},n=Object.assign||function(n){for(var t,r,i=1;i<arguments.length;i++)for(r in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},er=c&&/Firefox/i.test(navigator.userAgent),ui=["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"],it=ui.slice(3),rt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},v=function(){function t(i,r){var u=this,f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e;ur(this,t);this.scheduleUpdate=function(){return requestAnimationFrame(u.update)};this.update=rr(this.update.bind(this));this.options=n({},t.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=i&&i.jquery?i[0]:i;this.popper=r&&r.jquery?r[0]:r;this.options.modifiers={};Object.keys(n({},t.Defaults.modifiers,f.modifiers)).forEach(function(i){u.options.modifiers[i]=n({},t.Defaults.modifiers[i]||{},f.modifiers?f.modifiers[i]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(t){return n({name:t},u.options.modifiers[t])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&ut(n.onLoad)&&n.onLoad(u.reference,u.popper,u.options,n,u.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return fr(t,[{key:"update",value:function(){return ci.call(this)}},{key:"destroy",value:function(){return li.call(this)}},{key:"enableEventListeners",value:function(){return vi.call(this)}},{key:"disableEventListeners",value:function(){return pi.call(this)}}]),t}();return v.Utils=("undefined"==typeof window?global:window).PopperUtils,v.placements=ui,v.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var u=t.placement,l=u.split("-")[0],f=u.split("-")[1];if(f){var e=t.offsets,r=e.reference,s=e.popper,h=-1!==["bottom","top"].indexOf(l),i=h?"left":"top",c=h?"width":"height",a={start:o({},i,r[i]),end:o({},i,r[i]+r[c]-s[c])};t.offsets.popper=n({},s,a[f])}return t}},offset:{order:200,enabled:!0,fn:nr,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(i,r){var h=r.boundariesElement||f(i.instance.popper),s;i.instance.reference===h&&(h=f(h));var c=d("transform"),e=i.instance.popper.style,l=e.top,a=e.left,v=e[c];e.top="";e.left="";e[c]="";s=k(i.instance.popper,i.instance.reference,r.padding,h,i.positionFixed);e.top=l;e.left=a;e[c]=v;r.boundaries=s;var y=r.priority,u=i.offsets.popper,p={primary:function(n){var i=u[n];return u[n]<s[n]&&!r.escapeWithReference&&(i=t(u[n],s[n])),o({},n,i)},secondary:function(n){var t="right"===n?"left":"top",i=u[t];return u[n]>s[n]&&!r.escapeWithReference&&(i=ni(u[t],s[n]-("right"===n?u.width:u.height))),o({},t,i)}};return y.forEach(function(t){var i=-1===["left","top"].indexOf(t)?"secondary":"primary";u=n({},u,p[i](t))}),i.offsets.popper=u,i},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=tt,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,u){var l,e;if(!dt(n.instance.modifiers,"arrow","keepTogether"))return n;if(e=u.element,"string"==typeof e){if(e=n.instance.popper.querySelector(e),!e)return n}else if(!n.instance.popper.contains(e))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var d=n.placement.split("-")[0],b=n.offsets,c=b.popper,s=b.reference,a=-1!==["left","right"].indexOf(d),y=a?"height":"width",p=a?"Top":"Left",f=p.toLowerCase(),g=a?"left":"top",v=a?"bottom":"right",h=vt(e)[y];s[v]-h<c[f]&&(n.offsets.popper[f]-=c[f]-(s[v]-h));s[f]+h>c[v]&&(n.offsets.popper[f]+=s[f]+h-c[v]);n.offsets.popper=i(n.offsets.popper);var nt=s[f]+s[y]/2-h/2,k=r(n.instance.popper),tt=parseFloat(k["margin"+p]),it=parseFloat(k["border"+p+"Width"]),w=nt-n.offsets.popper[f]-tt-it;return w=t(ni(c[y]-h,w),0),n.arrowElement=e,n.offsets.arrow=(l={},o(l,f,ti(w)),o(l,g,""),l),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,i){if(wt(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var e=k(t.instance.popper,t.instance.reference,i.padding,i.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=a(r),u=t.placement.split("-")[1]||"",f=[];switch(i.behavior){case rt.FLIP:f=[r,o];break;case rt.CLOCKWISE:f=gt(r);break;case rt.COUNTERCLOCKWISE:f=gt(r,!0);break;default:f=i.behavior}return f.forEach(function(s,h){if(r!==s||f.length===h+1)return t;r=t.placement.split("-")[0];o=a(r);var l=t.offsets.popper,y=t.offsets.reference,c=tt,d="left"===r&&c(l.right)>c(y.left)||"right"===r&&c(l.left)<c(y.right)||"top"===r&&c(l.bottom)>c(y.top)||"bottom"===r&&c(l.top)<c(y.bottom),p=c(l.left)<c(e.left),w=c(l.right)>c(e.right),b=c(l.top)<c(e.top),k=c(l.bottom)>c(e.bottom),g="left"===r&&p||"right"===r&&w||"top"===r&&b||"bottom"===r&&k,v=-1!==["top","bottom"].indexOf(r),it=!!i.flipVariations&&(v&&"start"===u&&p||v&&"end"===u&&w||!v&&"start"===u&&b||!v&&"end"===u&&k),rt=!!i.flipVariationsByContent&&(v&&"start"===u&&w||v&&"end"===u&&p||!v&&"start"===u&&k||!v&&"end"===u&&b),nt=it||rt;(d||g||nt)&&(t.flipped=!0,(d||g)&&(r=f[h+1]),nt&&(u=ki(u)),t.placement=r+(u?"-"+u:""),t.offsets.popper=n({},t.offsets.popper,yt(t.instance.popper,t.offsets.reference,t.placement)),t=pt(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(n){var u=n.placement,t=u.split("-")[0],f=n.offsets,r=f.popper,o=f.reference,e=-1!==["left","right"].indexOf(t),s=-1===["top","left"].indexOf(t);return r[e?"left":"top"]=o[t]-(s?r[e?"width":"height"]:0),n.placement=a(u),n.offsets.popper=i(r),n}},hide:{order:800,enabled:!0,fn:function(n){if(!dt(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=h(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(t,i){var g=i.x,nt=i.y,tt=t.offsets.popper,c=h(t.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,p,b,k;void 0!==c&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var l,a,it=void 0===c?i.gpuAcceleration:c,e=f(t.instance.popper),v=w(e),r={position:tt.position},u=bi(t,2>window.devicePixelRatio||!er),o="bottom"===g?"top":"bottom",s="right"===nt?"left":"right",y=d("transform");return(a="bottom"==o?"HTML"===e.nodeName?-e.clientHeight+u.bottom:-v.height+u.bottom:u.top,l="right"==s?"HTML"===e.nodeName?-e.clientWidth+u.right:-v.width+u.right:u.left,it&&y)?(r[y]="translate3d("+l+"px, "+a+"px, 0)",r[o]=0,r[s]=0,r.willChange="transform"):(p="bottom"==o?-1:1,b="right"==s?-1:1,r[o]=a*p,r[s]=l*b,r.willChange=o+", "+s),k={"x-placement":t.placement},t.attributes=n({},k,t.attributes),t.styles=n({},r,t.styles),t.arrowStyles=n({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return nt(n.instance.popper,n.styles),wi(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&nt(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=at(u,t,n,i.positionFixed),e=lt(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),nt(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},v});!function(n,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((n=n||self).bootstrap={},n.jQuery,n.Popper)}(this,function(n,t,i){"use strict";function eu(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&&eu(n.prototype,t),i&&eu(n,i),n}function ou(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 f(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?ou(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)):ou(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function vf(n){var u=this,i=!1;return t(this).one(r.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||r.triggerTransitionEnd(u)},n),this}function du(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===ss.indexOf(i)||Boolean(n.nodeValue.match(hs)||n.nodeValue.match(cs));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 vt,r;t=t&&t.hasOwnProperty("default")?t.default:t;i=i&&i.hasOwnProperty("default")?i.default:i;vt="transitionend";r={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(vt)},supportsTransitionEnd:function(){return Boolean(vt)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,i){var u,s;for(u in i)if(Object.prototype.hasOwnProperty.call(i,u)){var e=i[u],f=t[u],o=f&&r.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?r.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");}};r.jQueryDetection();t.fn.emulateTransitionEnd=vf;t.event.special[r.TRANSITION_END]={bindType:vt,delegateType:vt,handle:function(n){if(t(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}};var yt="alert",pi="bs.alert",ar="."+pi,yf=t.fn[yt],vr={CLOSE:"close"+ar,CLOSED:"closed"+ar,CLICK_DATA_API:"click"+ar+".data-api"},pf="alert",wf="fade",bf="show",rt=function(){function n(n){this._element=n}var i=n.prototype;return i.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},i.dispose=function(){t.removeData(this._element,pi);this._element=null},i._getRootElement=function(n){var u=r.getSelectorFromElement(n),i=!1;return u&&(i=document.querySelector(u)),i=i||t(n).closest("."+pf)[0]},i._triggerCloseEvent=function(n){var i=t.Event(vr.CLOSE);return t(n).trigger(i),i},i._removeElement=function(n){var u=this,i;(t(n).removeClass(bf),t(n).hasClass(wf))?(i=r.getTransitionDurationFromElement(n),t(n).one(r.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(i)):this._destroyElement(n)},i._destroyElement=function(n){t(n).detach().trigger(vr.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(pi);r||(r=new n(this),u.data(pi,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(vr.CLICK_DATA_API,'[data-dismiss="alert"]',rt._handleDismiss(new rt));t.fn[yt]=rt._jQueryInterface;t.fn[yt].Constructor=rt;t.fn[yt].noConflict=function(){return t.fn[yt]=yf,rt._jQueryInterface};var pt="button",wi="bs.button",bi="."+wi,ki=".data-api",kf=t.fn[pt],y="active",df="btn",gf="focus",su='[data-toggle^="button"]',ne='[data-toggle="buttons"]',te='[data-toggle="button"]',ie='[data-toggle="buttons"] .btn',yr='input:not([type="hidden"])',re=".active",hu=".btn",pr={CLICK_DATA_API:"click"+bi+ki,FOCUS_BLUR_DATA_API:"focus"+bi+ki+" blur"+bi+ki,LOAD_DATA_API:"load"+bi+ki},wt=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(ne)[0],n,r;f&&(n=this._element.querySelector(yr),n&&("radio"===n.type?n.checked&&this._element.classList.contains(y)?i=!1:(r=f.querySelector(re),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,wi);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(wi);r||(r=new n(this),t(this).data(wi,r));"toggle"===i&&r[i]()})},c(n,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),n}();t(document).on(pr.CLICK_DATA_API,su,function(n){var i=n.target,r;if(t(i).hasClass(df)||(i=t(i).closest(hu)[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))n.preventDefault();else{if(r=i.querySelector(yr),r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void n.preventDefault();wt._jQueryInterface.call(t(i),"toggle")}}).on(pr.FOCUS_BLUR_DATA_API,su,function(n){var i=t(n.target).closest(hu)[0];t(i).toggleClass(gf,/^focus(in)?$/.test(n.type))});t(window).on(pr.LOAD_DATA_API,function(){for(var t,f,i,e,r,n=[].slice.call(document.querySelectorAll(ie)),u=0,o=n.length;u<o;u++)t=n[u],f=t.querySelector(yr),f.checked||f.hasAttribute("checked")?t.classList.add(y):t.classList.remove(y);for(i=0,e=(n=[].slice.call(document.querySelectorAll(te))).length;i<e;i++)r=n[i],"true"===r.getAttribute("aria-pressed")?r.classList.add(y):r.classList.remove(y)});t.fn[pt]=wt._jQueryInterface;t.fn[pt].Constructor=wt;t.fn[pt].noConflict=function(){return t.fn[pt]=kf,wt._jQueryInterface};var ut="carousel",bt="bs.carousel",e="."+bt,cu=".data-api",ue=t.fn[ut],wr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},fe={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},di="next",gi="prev",ee="left",oe="right",o={SLIDE:"slide"+e,SLID:"slid"+e,KEYDOWN:"keydown"+e,MOUSEENTER:"mouseenter"+e,MOUSELEAVE:"mouseleave"+e,TOUCHSTART:"touchstart"+e,TOUCHMOVE:"touchmove"+e,TOUCHEND:"touchend"+e,POINTERDOWN:"pointerdown"+e,POINTERUP:"pointerup"+e,DRAG_START:"dragstart"+e,LOAD_DATA_API:"load"+e+cu,CLICK_DATA_API:"click"+e+cu},se="carousel",b="active",he="slide",ce="carousel-item-right",le="carousel-item-left",ae="carousel-item-next",ve="carousel-item-prev",ye="pointer-event",pe=".active",br=".active.carousel-item",we=".carousel-item",be=".carousel-item img",ke=".carousel-item-next, .carousel-item-prev",de=".carousel-indicators",ge='[data-ride="carousel"]',lu={TOUCH:"touch",PEN:"pen"},ft=function(){function i(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(de);this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=i.prototype;return n.next=function(){this._isSliding||this._slide(di)},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(gi)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(ke)&&(r.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(br),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)t(this._element).one(o.SLID,function(){return u.to(n)});else{if(i===n)return this.pause(),void this.cycle();r=i<n?di:gi;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(e);t.removeData(this._element,bt);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=f({},wr,{},n),r.typeCheckConfig(ut,n,fe),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(o.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&t(this._element).on(o.MOUSEENTER,function(t){return n.pause(t)}).on(o.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&&lu[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},r=function(t){n._pointerEvent&&lu[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(be)).on(o.DRAG_START,function(n){return n.preventDefault()}),this._pointerEvent?(t(this._element).on(o.POINTERDOWN,function(n){return i(n)}),t(this._element).on(o.POINTERUP,function(n){return r(n)}),this._element.classList.add(ye)):(t(this._element).on(o.TOUCHSTART,function(n){return i(n)}),t(this._element).on(o.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(o.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(we)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u=n===di,f=n===gi,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===gi?-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(br)),r=t.Event(o.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(pe)),t(r).removeClass(b),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(b))},n._slide=function(n,i){var e,s,h,a=this,f=this._element.querySelector(br),p=this._getItemIndex(f),u=i||f&&this._getItemByDirection(n,f),w=this._getItemIndex(u),v=Boolean(this._interval),c,l,y;(h=n===di?(e=le,s=ae,ee):(e=ce,s=ve,oe),u&&t(u).hasClass(b))?this._isSliding=!1:!this._triggerSlideEvent(u,h).isDefaultPrevented()&&f&&u&&(this._isSliding=!0,v&&this.pause(),this._setActiveIndicatorElement(u),c=t.Event(o.SLID,{relatedTarget:u,direction:h,from:p,to:w}),t(this._element).hasClass(he)?(t(u).addClass(s),r.reflow(u),t(f).addClass(e),t(u).addClass(e),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=r.getTransitionDurationFromElement(f),t(f).one(r.TRANSITION_END,function(){t(u).removeClass(e+" "+s).addClass(b);t(f).removeClass(b+" "+s+" "+e);a._isSliding=!1;setTimeout(function(){return t(a._element).trigger(c)},0)}).emulateTransitionEnd(y)):(t(f).removeClass(b),t(u).addClass(b),this._isSliding=!1,t(this._element).trigger(c)),v&&this.cycle())},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(bt),u=f({},wr,{},t(this).data()),e;if("object"==typeof n&&(u=f({},u,{},n)),e="string"==typeof n?n:u.slide,r||(r=new i(this,u),t(this).data(bt,r)),"number"==typeof n)r.to(n);else if("string"==typeof e){if("undefined"==typeof r[e])throw new TypeError('No method named "'+e+'"');r[e]()}else u.interval&&u.ride&&(r.pause(),r.cycle())})},i._dataApiClickHandler=function(n){var s=r.getSelectorFromElement(this),u,o,e;s&&(u=t(s)[0],u&&t(u).hasClass(se)&&(o=f({},t(u).data(),{},t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),i._jQueryInterface.call(t(u),o),e&&t(u).data(bt).to(e),n.preventDefault()))},c(i,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return wr}}]),i}();t(document).on(o.CLICK_DATA_API,"[data-slide], [data-slide-to]",ft._dataApiClickHandler);t(window).on(o.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(ge)),n=0,u=r.length;n<u;n++)i=t(r[n]),ft._jQueryInterface.call(i,i.data())});t.fn[ut]=ft._jQueryInterface;t.fn[ut].Constructor=ft;t.fn[ut].noConflict=function(){return t.fn[ut]=ue,ft._jQueryInterface};var et="collapse",k="bs.collapse",kt="."+k,no=t.fn[et],kr={toggle:!0,parent:""},to={toggle:"boolean",parent:"(string|element)"},dt={SHOW:"show"+kt,SHOWN:"shown"+kt,HIDE:"hide"+kt,HIDDEN:"hidden"+kt,CLICK_DATA_API:"click"+kt+".data-api"},d="show",gt="collapse",nr="collapsing",dr="collapsed",au="width",io="height",ro=".show, .collapsing",vu='[data-toggle="collapse"]',ni=function(){function i(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(vu)),i=0,o=f.length;i<o;i++){var e=f[i],u=r.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=i.prototype;return n.toggle=function(){t(this._element).hasClass(d)?this.hide():this.show()},n.show=function(){var n,e,u=this,o,f,s,h;this._isTransitioning||t(this._element).hasClass(d)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(ro)).filter(function(n){return"string"==typeof u._config.parent?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(gt)})).length&&(n=null),n&&(e=t(n).not(this._selector).data(k))&&e._isTransitioning)||(o=t.Event(dt.SHOW),(t(this._element).trigger(o),o.isDefaultPrevented())||(n&&(i._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data(k,null)),f=this._getDimension(),t(this._element).removeClass(gt).addClass(nr),this._element.style[f]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(dr).attr("aria-expanded",!0),this.setTransitioning(!0),s="scroll"+(f[0].toUpperCase()+f.slice(1)),h=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,function(){t(u._element).removeClass(nr).addClass(gt).addClass(d);u._element.style[f]="";u.setTransitioning(!1);t(u._element).trigger(dt.SHOWN)}).emulateTransitionEnd(h),this._element.style[f]=this._element[s]+"px"))},n.hide=function(){var s=this,u,n,f,i,e,o,h;if(!this._isTransitioning&&t(this._element).hasClass(d)&&(u=t.Event(dt.HIDE),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",r.reflow(this._element),t(this._element).addClass(nr).removeClass(gt).removeClass(d),f=this._triggerArray.length,0<f)for(i=0;i<f;i++)e=this._triggerArray[i],o=r.getSelectorFromElement(e),null!==o&&(t([].slice.call(document.querySelectorAll(o))).hasClass(d)||t(e).addClass(dr).attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";h=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,function(){s.setTransitioning(!1);t(s._element).removeClass(nr).addClass(gt).trigger(dt.HIDDEN)}).emulateTransitionEnd(h)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,k);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=f({},kr,{},n)).toggle=Boolean(n.toggle),r.typeCheckConfig(et,n,to),n},n._getDimension=function(){return t(this._element).hasClass(au)?au:io},n._getParent=function(){var n,e=this,u,f;return r.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(i._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(d);i.length&&t(i).toggleClass(dr,!r).attr("aria-expanded",r)},i._getTargetFromElement=function(n){var t=r.getSelectorFromElement(n);return t?document.querySelector(t):null},i._jQueryInterface=function(n){return this.each(function(){var u=t(this),r=u.data(k),e=f({},kr,{},u.data(),{},"object"==typeof n&&n?n:{});if(!r&&e.toggle&&/show|hide/.test(n)&&(e.toggle=!1),r||(r=new i(this,e),u.data(k,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 kr}}]),i}();t(document).on(dt.CLICK_DATA_API,vu,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var i=t(this),u=r.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),r=n.data(k)?"toggle":i.data();ni._jQueryInterface.call(n,r)})});t.fn[et]=ni._jQueryInterface;t.fn[et].Constructor=ni;t.fn[et].noConflict=function(){return t.fn[et]=no,ni._jQueryInterface};var ot="dropdown",ti="bs.dropdown",p="."+ti,gr=".data-api",uo=t.fn[ot],fo=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+gr,KEYDOWN_DATA_API:"keydown"+p+gr,KEYUP_DATA_API:"keyup"+p+gr},tr="disabled",l="show",eo="dropup",oo="dropright",so="dropleft",yu="dropdown-menu-right",ho="position-static",ir='[data-toggle="dropdown"]',nu=".dropdown-menu",co=".navbar-nav",lo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ao="top-start",vo="top-end",yo="bottom-start",po="bottom-end",wo="right-start",bo="left-start",ko={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},go={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},w=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 u=n.prototype;return u.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(tr)){var i=t(this._menu).hasClass(l);n._clearMenus();i||this.show(!0)}},u.show=function(u){var e;if(void 0===u&&(u=!1),!(this._element.disabled||t(this._element).hasClass(tr)||t(this._menu).hasClass(l))){var o={relatedTarget:this._element},h=t.Event(s.SHOW,o),f=n._getParentFromElement(this._element);if(t(f).trigger(h),!h.isDefaultPrevented()){if(!this._inNavbar&&u){if("undefined"==typeof i)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");e=this._element;"parent"===this._config.reference?e=f:r.isElement(this._config.reference)&&(e=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(e=this._config.reference[0]));"scrollParent"!==this._config.boundary&&t(f).addClass(ho);this._popper=new i(e,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(f).closest(co).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(f).toggleClass(l).trigger(t.Event(s.SHOWN,o))}}},u.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(tr)&&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)))}},u.dispose=function(){t.removeData(this._element,ti);t(this._element).off(p);this._element=null;(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},u.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},u._addEventListeners=function(){var n=this;t(this._element).on(s.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},u._getConfig=function(n){return n=f({},this.constructor.Default,{},t(this._element).data(),{},n),r.typeCheckConfig(ot,n,this.constructor.DefaultType),n},u._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(nu))}return this._menu},u._getPlacement=function(){var i=t(this._element.parentNode),n=yo;return i.hasClass(eo)?(n=ao,t(this._menu).hasClass(yu)&&(n=vo)):i.hasClass(oo)?n=wo:i.hasClass(so)?n=bo:t(this._menu).hasClass(yu)&&(n=po),n},u._detectNavbar=function(){return 0<t(this._element).closest(".navbar").length},u._getOffset=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=f({},n.offsets,{},t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},u._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}),f({},n,{},this._config.popperConfig)},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(ti);if(r||(r=new n(this,"object"==typeof i?i:null),t(this).data(ti,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(ir)),r=0,a=u.length;r<a;r++){var f=n._getParentFromElement(u[r]),e=t(u[r]).data(ti),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,i=r.getSelectorFromElement(n);return i&&(t=document.querySelector(i)),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(nu).length):!fo.test(i.which))||(i.preventDefault(),i.stopPropagation(),this.disabled||t(this).hasClass(tr))||(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(lo)).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(ir),t(o).trigger("focus")),t(this).trigger("click"))))},c(n,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return ko}},{key:"DefaultType",get:function(){return go}}]),n}();t(document).on(s.KEYDOWN_DATA_API,ir,w._dataApiKeydownHandler).on(s.KEYDOWN_DATA_API,nu,w._dataApiKeydownHandler).on(s.CLICK_DATA_API+" "+s.KEYUP_DATA_API,w._clearMenus).on(s.CLICK_DATA_API,ir,function(n){n.preventDefault();n.stopPropagation();w._jQueryInterface.call(t(this),"toggle")}).on(s.CLICK_DATA_API,".dropdown form",function(n){n.stopPropagation()});t.fn[ot]=w._jQueryInterface;t.fn[ot].Constructor=w;t.fn[ot].noConflict=function(){return t.fn[ot]=uo,w._jQueryInterface};var st="modal",ii="bs.modal",h="."+ii,ns=t.fn[st],tu={backdrop:!0,keyboard:!0,focus:!0,show:!0},ts={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},u={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"},is="modal-dialog-scrollable",rs="modal-scrollbar-measure",us="modal-backdrop",pu="modal-open",ht="fade",rr="show",wu="modal-static",fs=".modal-dialog",es=".modal-body",os='[data-dismiss="modal"]',bu=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ku=".sticky-top",ri=function(){function i(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(fs);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=i.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,r;this._isShown||this._isTransitioning||(t(this._element).hasClass(ht)&&(this._isTransitioning=!0),r=t.Event(u.SHOW,{relatedTarget:n}),t(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(u.CLICK_DISMISS,os,function(n){return i.hide(n)}),t(this._dialog).on(u.MOUSEDOWN_DISMISS,function(){t(i._element).one(u.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,i,f,e;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(i=t.Event(u.HIDE),(t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented())&&(this._isShown=!1,f=t(this._element).hasClass(ht),(f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(u.FOCUSIN),t(this._element).removeClass(rr),t(this._element).off(u.CLICK_DISMISS),t(this._dialog).off(u.MOUSEDOWN_DISMISS),f)?(e=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.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(u.FOCUSIN);t.removeData(this._element,ii);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=f({},tu,{},n),r.typeCheckConfig(st,n,ts),n},n._triggerBackdropTransition=function(){var f=this,n,i;if("static"===this._config.backdrop){if(n=t.Event(u.HIDE_PREVENTED),t(this._element).trigger(n),n.defaultPrevented)return;this._element.classList.add(wu);i=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,function(){f._element.classList.remove(wu)}).emulateTransitionEnd(i);this._element.focus()}else this.hide()},n._showElement=function(n){function o(){i._config.focus&&i._element.focus();i._isTransitioning=!1;t(i._element).trigger(s)}var i=this,f=t(this._element).hasClass(ht),e=this._dialog?this._dialog.querySelector(es):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(is)&&e?e.scrollTop=0:this._element.scrollTop=0;f&&r.reflow(this._element);t(this._element).addClass(rr);this._config.focus&&this._enforceFocus();s=t.Event(u.SHOWN,{relatedTarget:n});f?(h=r.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(r.TRANSITION_END,o).emulateTransitionEnd(h)):o()},n._enforceFocus=function(){var n=this;t(document).off(u.FOCUSIN).on(u.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(u.KEYDOWN_DISMISS,function(t){27===t.which&&n._triggerBackdropTransition()}):this._isShown||t(this._element).off(u.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;this._isShown?t(window).on(u.RESIZE,function(t){return n.handleUpdate(t)}):t(window).off(u.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(pu);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(u.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var i=this,f=t(this._element).hasClass(ht)?ht:"",o,e,s;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=us,f&&this._backdrop.classList.add(f),t(this._backdrop).appendTo(document.body),t(this._element).on(u.CLICK_DISMISS,function(n){i._ignoreBackdropClick?i._ignoreBackdropClick=!1:n.target===n.currentTarget&&i._triggerBackdropTransition()}),f&&r.reflow(this._backdrop),t(this._backdrop).addClass(rr),!n)return;if(!f)return void n();o=r.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(r.TRANSITION_END,n).emulateTransitionEnd(o)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(rr),e=function(){i._removeBackdrop();n&&n()},t(this._element).hasClass(ht)?(s=r.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(r.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(bu)),r=[].slice.call(document.querySelectorAll(ku)),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(pu)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(bu)),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(""+ku));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=rs,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},i._jQueryInterface=function(n,r){return this.each(function(){var u=t(this).data(ii),e=f({},tu,{},t(this).data(),{},"object"==typeof n&&n?n:{});if(u||(u=new i(this,e),t(this).data(ii,u)),"string"==typeof n){if("undefined"==typeof u[n])throw new TypeError('No method named "'+n+'"');u[n](r)}else e.show&&u.show(r)})},c(i,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return tu}}]),i}();t(document).on(u.CLICK_DATA_API,'[data-toggle="modal"]',function(n){var i,e=this,o=r.getSelectorFromElement(this),s,h;o&&(i=document.querySelector(o));s=t(i).data(ii)?"toggle":f({},t(i).data(),{},t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();h=t(i).one(u.SHOW,function(n){n.isDefaultPrevented()||h.one(u.HIDDEN,function(){t(e).is(":visible")&&e.focus()})});ri._jQueryInterface.call(t(i),s,this)});t.fn[st]=ri._jQueryInterface;t.fn[st].Constructor=ri;t.fn[st].noConflict=function(){return t.fn[st]=ns,ri._jQueryInterface};var ss=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],hs=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,cs=/^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 g="tooltip",ur="bs.tooltip",a="."+ur,ls=t.fn[g],gu="bs-tooltip",as=new RegExp("(^|\\s)"+gu+"\\S+","g"),vs=["sanitize","whiteList","sanitizeFn"],ys={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)"},ps={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},ws={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},ui="show",iu="out",bs={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},fi="fade",ei="show",ks=".tooltip-inner",ds=".arrow",oi="hover",ru="focus",gs="click",nh="manual",nt=function(){function u(n,t){if("undefined"==typeof i)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=u.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(ei))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,f,e,c,u,o,l,s,a,h,v;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");if(f=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(f),e=r.findShadowRoot(this.element),c=t.contains(null!==e?e:this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!c)return;u=this.getTipElement();o=r.getUID(this.constructor.NAME);u.setAttribute("id",o);this.element.setAttribute("aria-describedby",o);this.setContent();this.config.animation&&t(u).addClass(fi);l="function"==typeof this.config.placement?this.config.placement.call(this,u,this.element):this.config.placement;s=this._getAttachment(l);this.addAttachmentClass(s);a=this._getContainer();t(u).data(this.constructor.DATA_KEY,this);t.contains(this.element.ownerDocument.documentElement,this.tip)||t(u).appendTo(a);t(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new i(this.element,u,this._getPopperConfig(s));t(u).addClass(ei);"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);h=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===iu&&n._leave(null,n)};t(this.tip).hasClass(fi)?(v=r.getTransitionDurationFromElement(this.tip),t(this.tip).one(r.TRANSITION_END,h).emulateTransitionEnd(v)):h()}},n.hide=function(n){function f(){i._hoverState!==ui&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");t(i.element).trigger(i.constructor.Event.HIDDEN);null!==i._popper&&i._popper.destroy();n&&n()}var i=this,u=this.getTipElement(),e=t.Event(this.constructor.Event.HIDE),o;(t(this.element).trigger(e),e.isDefaultPrevented())||((t(u).removeClass(ei),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[gs]=!1,this._activeTrigger[ru]=!1,this._activeTrigger[oi]=!1,t(this.tip).hasClass(fi))?(o=r.getTransitionDurationFromElement(u),t(u).one(r.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(gu+"-"+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(ks)),this.getTitle());t(n).removeClass(fi+" "+ei)},n.setElementContent=function(n,i){"object"!=typeof i||!i.nodeType&&!i.jquery?this.config.html?(this.config.sanitize&&(i=du(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 f({},{placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ds},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=f({},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:r.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return ps[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!==nh){var r=i===oi?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===oi?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=f({},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?ru:oi]=!0);t(i.getTipElement()).hasClass(ei)||i._hoverState===ui?i._hoverState=ui:(clearTimeout(i._timeout),i._hoverState=ui,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===ui&&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?ru:oi]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=iu,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===iu&&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 i=t(this.element).data();return Object.keys(i).forEach(function(n){-1!==vs.indexOf(n)&&delete i[n]}),"number"==typeof(n=f({},this.constructor.Default,{},i,{},"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()),r.typeCheckConfig(g,n,this.constructor.DefaultType),n.sanitize&&(n.template=du(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(as);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(fi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},u._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(ur),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new u(this,r),t(this).data(ur,i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},c(u,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return ws}},{key:"NAME",get:function(){return g}},{key:"DATA_KEY",get:function(){return ur}},{key:"Event",get:function(){return bs}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return ys}}]),u}();t.fn[g]=nt._jQueryInterface;t.fn[g].Constructor=nt;t.fn[g].noConflict=function(){return t.fn[g]=ls,nt._jQueryInterface};var ct="popover",fr="bs.popover",v="."+fr,th=t.fn[ct],nf="bs-popover",ih=new RegExp("(^|\\s)"+nf+"\\S+","g"),rh=f({},nt.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>'}),uh=f({},nt.DefaultType,{content:"(string|element|function)"}),fh="fade",eh="show",oh=".popover-header",sh=".popover-body",hh={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},er=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(nf+"-"+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(oh),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(i.find(sh),n);i.removeClass(fh+" "+eh)},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(ih);null!==n&&0<n.length&&i.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(fr),u="object"==typeof n?n:null;if((r||!/dispose|hide/.test(n))&&(r||(r=new i(this,u),t(this).data(fr,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 rh}},{key:"NAME",get:function(){return ct}},{key:"DATA_KEY",get:function(){return fr}},{key:"Event",get:function(){return hh}},{key:"EVENT_KEY",get:function(){return v}},{key:"DefaultType",get:function(){return uh}}]),i}(nt);t.fn[ct]=er._jQueryInterface;t.fn[ct].Constructor=er;t.fn[ct].noConflict=function(){return t.fn[ct]=th,er._jQueryInterface};var tt="scrollspy",or="bs.scrollspy",sr="."+or,ch=t.fn[tt],tf={offset:10,method:"auto",target:""},lh={offset:"number",method:"string",target:"(string|element)"},uu={ACTIVATE:"activate"+sr,SCROLL:"scroll"+sr,LOAD_DATA_API:"load"+sr+".data-api"},ah="dropdown-item",it="active",vh='[data-spy="scroll"]',rf=".nav, .list-group",fu=".nav-link",yh=".nav-item",uf=".list-group-item",ph=".dropdown",wh=".dropdown-item",bh=".dropdown-toggle",kh="offset",ff="position",si=function(){function i(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+" "+fu+","+this._config.target+" "+uf+","+this._config.target+" "+wh;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(uu.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}var n=i.prototype;return n.refresh=function(){var n=this,u=this._scrollElement===this._scrollElement.window?kh:ff,i="auto"===this._config.method?u:this._config.method,f=i===ff?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();[].slice.call(document.querySelectorAll(this._selector)).map(function(n){var u,e=r.getSelectorFromElement(n),o;return(e&&(u=document.querySelector(e)),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[t(u)[i]().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,or);t(this._scrollElement).off(sr);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=f({},tf,{},"object"==typeof n&&n?n:{})).target){var i=t(n.target).attr("id");i||(i=r.getUID(tt),t(n.target).attr("id",i));n.target="#"+i}return r.typeCheckConfig(tt,n,lh),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(ah)?(i.closest(ph).find(bh).addClass(it),i.addClass(it)):(i.addClass(it),i.parents(rf).prev(fu+", "+uf).addClass(it),i.parents(rf).prev(yh).children(fu).addClass(it));t(this._scrollElement).trigger(uu.ACTIVATE,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(it)}).forEach(function(n){return n.classList.remove(it)})},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(or);if(r||(r=new i(this,"object"==typeof n&&n),t(this).data(or,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 tf}}]),i}();t(window).on(uu.LOAD_DATA_API,function(){for(var r,n=[].slice.call(document.querySelectorAll(vh)),i=n.length;i--;)r=t(n[i]),si._jQueryInterface.call(r,r.data())});t.fn[tt]=si._jQueryInterface;t.fn[tt].Constructor=si;t.fn[tt].noConflict=function(){return t.fn[tt]=ch,si._jQueryInterface};var hr="bs.tab",hi="."+hr,dh=t.fn.tab,ci={HIDE:"hide"+hi,HIDDEN:"hidden"+hi,SHOW:"show"+hi,SHOWN:"shown"+hi,CLICK_DATA_API:"click"+hi+".data-api"},gh="dropdown-menu",li="active",nc="disabled",ef="fade",of="show",tc=".dropdown",ic=".nav, .list-group",sf=".active",hf="> li > .active",rc=".dropdown-toggle",uc="> .dropdown-menu .active",ai=function(){function n(n){this._element=n}var i=n.prototype;return i.show=function(){var h=this,u,n,i,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(li)||t(this._element).hasClass(nc)||(i=t(this._element).closest(ic)[0],f=r.getSelectorFromElement(this._element),i&&(c="UL"===i.nodeName||"OL"===i.nodeName?hf:sf,n=(n=t.makeArray(t(i).find(c)))[n.length-1]),e=t.Event(ci.HIDE,{relatedTarget:this._element}),o=t.Event(ci.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,i),s=function(){var i=t.Event(ci.HIDDEN,{relatedTarget:h._element}),r=t.Event(ci.SHOWN,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s()))},i.dispose=function(){t.removeData(this._element,hr);this._element=null},i._activate=function(n,i,u){function e(){return s._transitionComplete(n,f,u)}var s=this,f=(!i||"UL"!==i.nodeName&&"OL"!==i.nodeName?t(i).children(sf):t(i).find(hf))[0],h=u&&f&&t(f).hasClass(ef),o;f&&h?(o=r.getTransitionDurationFromElement(f),t(f).removeClass(of).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e()},i._transitionComplete=function(n,i,u){var f,e,o;i&&(t(i).removeClass(li),f=t(i.parentNode).find(uc)[0],f&&t(f).removeClass(li),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1));(t(n).addClass(li),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),r.reflow(n),n.classList.contains(ef)&&n.classList.add(of),n.parentNode&&t(n.parentNode).hasClass(gh))&&(e=t(n).closest(tc)[0],e&&(o=[].slice.call(e.querySelectorAll(rc)),t(o).addClass(li)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(hr);if(r||(r=new n(this),u.data(hr,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(ci.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();ai._jQueryInterface.call(t(this),"show")});t.fn.tab=ai._jQueryInterface;t.fn.tab.Constructor=ai;t.fn.tab.noConflict=function(){return t.fn.tab=dh,ai._jQueryInterface};var lt="toast",cr="bs.toast",vi="."+cr,fc=t.fn[lt],at={CLICK_DISMISS:"click.dismiss"+vi,HIDE:"hide"+vi,HIDDEN:"hidden"+vi,SHOW:"show"+vi,SHOWN:"shown"+vi},ec="fade",cf="hide",yi="show",lf="showing",oc={animation:"boolean",autohide:"boolean",delay:"number"},af={animation:!0,autohide:!0,delay:500},sc='[data-dismiss="toast"]',lr=function(){function i(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=i.prototype;return n.show=function(){var n=this,u=t.Event(at.SHOW),i,f;(t(this._element).trigger(u),u.isDefaultPrevented())||(this._config.animation&&this._element.classList.add(ec),i=function(){n._element.classList.remove(lf);n._element.classList.add(yi);t(n._element).trigger(at.SHOWN);n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},(this._element.classList.remove(cf),r.reflow(this._element),this._element.classList.add(lf),this._config.animation)?(f=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(f)):i())},n.hide=function(){if(this._element.classList.contains(yi)){var n=t.Event(at.HIDE);t(this._element).trigger(n);n.isDefaultPrevented()||this._close()}},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(yi)&&this._element.classList.remove(yi);t(this._element).off(at.CLICK_DISMISS);t.removeData(this._element,cr);this._element=null;this._config=null},n._getConfig=function(n){return n=f({},af,{},t(this._element).data(),{},"object"==typeof n&&n?n:{}),r.typeCheckConfig(lt,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(at.CLICK_DISMISS,sc,function(){return n.hide()})},n._close=function(){function n(){i._element.classList.add(cf);t(i._element).trigger(at.HIDDEN)}var i=this,u;(this._element.classList.remove(yi),this._config.animation)?(u=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,n).emulateTransitionEnd(u)):n()},i._jQueryInterface=function(n){return this.each(function(){var u=t(this),r=u.data(cr);if(r||(r=new i(this,"object"==typeof n&&n),u.data(cr,r)),"string"==typeof n){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n](this)}})},c(i,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"DefaultType",get:function(){return oc}},{key:"Default",get:function(){return af}}]),i}();t.fn[lt]=lr._jQueryInterface;t.fn[lt].Constructor=lr;t.fn[lt].noConflict=function(){return t.fn[lt]=fc,lr._jQueryInterface};n.Alert=rt;n.Button=wt;n.Carousel=ft;n.Collapse=ni;n.Dropdown=w;n.Modal=ri;n.Popover=er;n.Scrollspy=si;n.Tab=ai;n.Toast=lr;n.Tooltip=nt;n.Util=r;Object.defineProperty(n,"__esModule",{value:!0})}),function(n){n(["jquery"],function(n){return function(){function v(n,t,r){return f({type:u.error,iconClass:i().iconClasses.error,message:n,optionsOverride:r,title:t})}function r(r,u){return(r||(r=i()),t=n("#"+r.containerId),t.length)?t:(u&&(t=nt(r)),t)}function y(n,t,r){return f({type:u.info,iconClass:i().iconClasses.info,message:n,optionsOverride:r,title:t})}function p(n){e=n}function w(n,t,r){return f({type:u.success,iconClass:i().iconClasses.success,message:n,optionsOverride:r,title:t})}function b(n,t,r){return f({type:u.warning,iconClass:i().iconClasses.warning,message:n,optionsOverride:r,title:t})}function k(n,u){var f=i();t||r(f);l(n,f,u)||g(f)}function d(u){var f=i();if(t||r(f),u&&n(":focus",u).length===0){s(u);return}t.children().length&&t.remove()}function g(i){for(var u=t.children(),r=u.length-1;r>=0;r--)l(n(u[r]),i)}function l(t,i,r){var u=r&&r.force?r.force:!1;return t&&(u||n(":focus",t).length===0)?(t[i.hideMethod]({duration:i.hideDuration,easing:i.hideEasing,complete:function(){s(t)}}),!0):!1}function nt(i){return t=n("<div/>").attr("id",i.containerId).addClass(i.positionClass).attr("aria-live","polite").attr("role","alert"),t.appendTo(n(i.target)),t}function tt(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:undefined,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:undefined,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",closeHtml:'<button type="button">&times;<\/button>',newestOnTop:!0,preventDuplicates:!1,progressBar:!1}}function a(n){e&&e(n)}function f(u){function g(){it();ut();ft();et();ot();rt()}function nt(){e.hover(ct,ht);!f.onclick&&f.tapToDismiss&&e.click(v);f.closeButton&&y&&y.click(function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble!==undefined&&n.cancelBubble!==!0&&(n.cancelBubble=!0);v(!0)});f.onclick&&e.click(function(){f.onclick();v()})}function tt(){e.hide();e[f.showMethod]({duration:f.showDuration,easing:f.showEasing,complete:f.onShown});f.timeOut>0&&(w=setTimeout(v,f.timeOut),c.maxHideTime=parseFloat(f.timeOut),c.hideEta=(new Date).getTime()+c.maxHideTime,f.progressBar&&(c.intervalId=setInterval(lt,10)))}function it(){u.iconClass&&e.addClass(f.toastClass).addClass(p)}function rt(){f.newestOnTop?t.prepend(e):t.append(e)}function ut(){u.title&&(k.append(u.title).addClass(f.titleClass),e.append(k))}function ft(){u.message&&(d.append(u.message).addClass(f.messageClass),e.append(d))}function et(){f.closeButton&&(y.addClass("toast-close-button").attr("role","button"),e.prepend(y))}function ot(){f.progressBar&&(b.addClass("toast-progress"),e.prepend(b))}function st(n,t){if(n.preventDuplicates){if(t.message===o)return!0;o=t.message}return!1}function v(t){if(!n(":focus",e).length||t)return clearTimeout(c.intervalId),e[f.hideMethod]({duration:f.hideDuration,easing:f.hideEasing,complete:function(){s(e);f.onHidden&&l.state!=="hidden"&&f.onHidden();l.state="hidden";l.endTime=new Date;a(l)}})}function ht(){(f.timeOut>0||f.extendedTimeOut>0)&&(w=setTimeout(v,f.extendedTimeOut),c.maxHideTime=parseFloat(f.extendedTimeOut),c.hideEta=(new Date).getTime()+c.maxHideTime)}function ct(){clearTimeout(w);c.hideEta=0;e.stop(!0,!0)[f.showMethod]({duration:f.showDuration,easing:f.showEasing})}function lt(){var n=(c.hideEta-(new Date).getTime())/c.maxHideTime*100;b.width(n+"%")}var f=i(),p=u.iconClass||f.iconClass;if(typeof u.optionsOverride!="undefined"&&(f=n.extend(f,u.optionsOverride),p=u.optionsOverride.iconClass||p),!st(f,u)){h++;t=r(f,!0);var w=null,e=n("<div/>"),k=n("<div/>"),d=n("<div/>"),b=n("<div/>"),y=n(f.closeHtml),c={intervalId:null,hideEta:null,maxHideTime:null},l={toastId:h,state:"visible",startTime:new Date,options:f,map:u};return g(),tt(),nt(),a(l),f.debug&&console&&console.log(l),e}}function i(){return n.extend({},tt(),c.options)}function s(n){(t||(t=r()),n.is(":visible"))||(n.remove(),n=null,t.children().length===0&&(t.remove(),o=undefined))}var t,e,h=0,u={error:"error",info:"info",success:"success",warning:"warning"},c={clear:k,remove:d,error:v,getContainer:r,info:y,options:{},subscribe:p,success:w,version:"2.1.1",warning:b},o;return c}()})}(typeof define=="function"&&define.amd?define:function(n,t){typeof module!="undefined"&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)});String.prototype.format=function(){for(var n=this,t=arguments.length;t--;)n=n.replace(new RegExp("\\{"+t+"\\}","gm"),arguments[t]);return n};var KeyCode={Backspace:8,Tab:9,Enter:13,Shift:16,Ctrl:17,Alt:18,PauseBreak:19,CapsLock:20,Escape:27,Spacebar:32,PageUp:33,PageDown:34,End:35,Home:36,LeftArrow:37,UpArrow:38,RightArrow:39,DownArrow:40,Insert:45,Delete:46,Zero:48,One:49,Two:50,Three:51,Four:52,Five:53,Six:54,Seven:55,Eight:56,Nine:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,LeftWindowKey:91,RightWindowKey:92,Select:93,NumpadZero:96,NumpadOne:97,NumpadTwo:98,NumpadThree:99,NumpadFour:100,NumpadFive:101,NumpadSix:102,NumpadSeven:103,NumpadEight:104,NumpadNine:105,Multiply:106,Add:107,Subtract:109,DecimalPoint:110,Divide:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NumLock:144,ScrollLock:145,SemiColon:186,Equals:187,Comma:188,Hyphen:189,FullStop:190,ForwardSlash:191,SingleQuote:192,OpenBracket:219,BackSlash:220,CloseBracket:221,Tilde:222,Grave:223};$(function(){var i=window.location.hash,n,t;if(i&&(n=$('#myTab a[href="'+i+'"]'),n.length))if(t=function(){setTimeout(function(){$("html, body").animate({scrollTop:$(".nav-tabs").offset().top-20},400)},10)},n.hasClass("active"))t();else{n.one("shown.bs.tab",t);n.tab("show")}}),function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):n.pwaInstallPrompt=t()}(this,function(){const n={active_class:"is-active",closer:".pwa-install-prompt__overlay",condition:null,container:".pwa-install-prompt__container",expires:180,show_after:90},i=function(n){if(n.condition!==null)return n.condition;if(navigator.standalone)return!1;const i=Date.now(),t=document.cookie.match(/pwa_install_prompt_last_visit=([0-9]+)/);document.cookie="pwa_install_prompt_last_visit="+i+"; max-age="+86400*n.expires;const r=t&&t.length>=2?Math.ceil((parseInt(t[1])-i)/864e5):NaN,u=["iPad","iPhone","iPod"].indexOf(navigator.platform)>-1;return(isNaN(r)||r>n.show_after)&&u},t=function(){var u=arguments.length>0&&arguments[0]!==undefined?arguments[0]:n.container,t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};const r=this;t.active_class=t.active_class||n.active_class;t.closer=t.closer||n.closer;t.condition=t.condition||n.condition;t.container=u;t.expires=t.expires||n.expires;t.show_after=t.show_after||n.show_after;t.on=t.on||!1;r.container=u;r.options=t;r.eventListeners={};r.options.on&&Object.keys(r.options.on).forEach(function(n){r.on(n,r.options.on[n])});i(r.options)&&r.open();const f=document.querySelector(r.options.closer);f&&f.addEventListener("click",function(){r.close()})};return t.prototype.on=function(n,t){const i=this;return typeof t!="function"?i:(n.split(" ").forEach(function(n){i.eventListeners[n]||(i.eventListeners[n]=[]);i.eventListeners[n].push(t)}),i)},t.prototype.emit=function(){const n=this;if(!n.eventListeners)return n;const t=Array.isArray(arguments[0])?arguments[0]:arguments[0].split(" ");return t.forEach(function(t){n.eventListeners&&n.eventListeners[t]&&n.eventListeners[t].forEach(function(t){t.apply(n)})}),n},t.prototype.open=function(){const n=this,t=document.querySelector(n.options.container);n.emit("beforeOpen");t&&t.classList.add(n.options.active_class);n.emit("afterOpen")},t.prototype.close=function(){const n=this,t=document.querySelector(n.options.container);n.emit("beforeClose");t&&t.classList.remove(n.options.active_class);n.emit("afterClose")},t})