Files
bootstrap-5-examples/dist/main.js
2021-08-09 15:44:07 +09:00

2 lines
76 KiB
JavaScript

/*! For license information please see main.js.LICENSE.txt */
(()=>{"use strict";var t={d:(e,i)=>{for(var n in i)t.o(i,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{afterMain:()=>E,afterRead:()=>v,afterWrite:()=>O,applyStyles:()=>N,arrow:()=>G,auto:()=>a,basePlacements:()=>l,beforeMain:()=>y,beforeRead:()=>_,beforeWrite:()=>A,bottom:()=>s,clippingParents:()=>d,computeStyles:()=>tt,createPopper:()=>St,createPopperBase:()=>xt,createPopperLite:()=>Dt,detectOverflow:()=>mt,end:()=>h,eventListeners:()=>it,flip:()=>_t,hide:()=>yt,left:()=>r,main:()=>w,modifierPhases:()=>C,offset:()=>wt,placements:()=>m,popper:()=>f,popperGenerator:()=>Lt,popperOffsets:()=>Et,preventOverflow:()=>At,read:()=>b,reference:()=>p,right:()=>o,start:()=>c,top:()=>n,variationPlacements:()=>g,viewport:()=>u,write:()=>T});var i={};t.r(i);var n="top",s="bottom",o="right",r="left",a="auto",l=[n,s,o,r],c="start",h="end",d="clippingParents",u="viewport",f="popper",p="reference",g=l.reduce((function(t,e){return t.concat([e+"-"+c,e+"-"+h])}),[]),m=[].concat(l,[a]).reduce((function(t,e){return t.concat([e,e+"-"+c,e+"-"+h])}),[]),_="beforeRead",b="read",v="afterRead",y="beforeMain",w="main",E="afterMain",A="beforeWrite",T="write",O="afterWrite",C=[_,b,v,y,w,E,A,T,O];function k(t){return t?(t.nodeName||"").toLowerCase():null}function L(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function x(t){return t instanceof L(t).Element||t instanceof Element}function S(t){return t instanceof L(t).HTMLElement||t instanceof HTMLElement}function D(t){return"undefined"!=typeof ShadowRoot&&(t instanceof L(t).ShadowRoot||t instanceof ShadowRoot)}const N={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];S(s)&&k(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});S(n)&&k(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function I(t){return t.split("-")[0]}var P=Math.round;function j(t,e){void 0===e&&(e=!1);var i=t.getBoundingClientRect(),n=1,s=1;return S(t)&&e&&(n=i.width/t.offsetWidth||1,s=i.height/t.offsetHeight||1),{width:P(i.width/n),height:P(i.height/s),top:P(i.top/s),right:P(i.right/n),bottom:P(i.bottom/s),left:P(i.left/n),x:P(i.left/n),y:P(i.top/s)}}function M(t){var e=j(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function H(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&D(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function B(t){return L(t).getComputedStyle(t)}function R(t){return["table","td","th"].indexOf(k(t))>=0}function W(t){return((x(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){return"html"===k(t)?t:t.assignedSlot||t.parentNode||(D(t)?t.host:null)||W(t)}function z(t){return S(t)&&"fixed"!==B(t).position?t.offsetParent:null}function q(t){for(var e=L(t),i=z(t);i&&R(i)&&"static"===B(i).position;)i=z(i);return i&&("html"===k(i)||"body"===k(i)&&"static"===B(i).position)?e:i||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&S(t)&&"fixed"===B(t).position)return null;for(var i=$(t);S(i)&&["html","body"].indexOf(k(i))<0;){var n=B(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function F(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var U=Math.max,V=Math.min,K=Math.round;function X(t,e,i){return U(t,V(e,i))}function Y(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Q(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}const G={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,a=t.name,c=t.options,h=i.elements.arrow,d=i.modifiersData.popperOffsets,u=I(i.placement),f=F(u),p=[r,o].indexOf(u)>=0?"height":"width";if(h&&d){var g=function(t,e){return Y("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Q(t,l))}(c.padding,i),m=M(h),_="y"===f?n:r,b="y"===f?s:o,v=i.rects.reference[p]+i.rects.reference[f]-d[f]-i.rects.popper[p],y=d[f]-i.rects.reference[f],w=q(h),E=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,A=v/2-y/2,T=g[_],O=E-m[p]-g[b],C=E/2-m[p]/2+A,k=X(T,C,O),L=f;i.modifiersData[a]=((e={})[L]=k,e.centerOffset=k-C,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&H(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(t){var e,i=t.popper,a=t.popperRect,l=t.placement,c=t.offsets,h=t.position,d=t.gpuAcceleration,u=t.adaptive,f=t.roundOffsets,p=!0===f?function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:K(K(e*n)/n)||0,y:K(K(i*n)/n)||0}}(c):"function"==typeof f?f(c):c,g=p.x,m=void 0===g?0:g,_=p.y,b=void 0===_?0:_,v=c.hasOwnProperty("x"),y=c.hasOwnProperty("y"),w=r,E=n,A=window;if(u){var T=q(i),O="clientHeight",C="clientWidth";T===L(i)&&"static"!==B(T=W(i)).position&&(O="scrollHeight",C="scrollWidth"),T=T,l===n&&(E=s,b-=T[O]-a.height,b*=d?1:-1),l===r&&(w=o,m-=T[C]-a.width,m*=d?1:-1)}var k,x=Object.assign({position:h},u&&Z);return d?Object.assign({},x,((k={})[E]=y?"0":"",k[w]=v?"0":"",k.transform=(A.devicePixelRatio||1)<2?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",k)):Object.assign({},x,((e={})[E]=y?b+"px":"",e[w]=v?m+"px":"",e.transform="",e))}const tt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:I(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,J(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,J(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var et={passive:!0};const it={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=L(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,et)})),a&&l.addEventListener("resize",i.update,et),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,et)})),a&&l.removeEventListener("resize",i.update,et)}},data:{}};var nt={left:"right",right:"left",bottom:"top",top:"bottom"};function st(t){return t.replace(/left|right|bottom|top/g,(function(t){return nt[t]}))}var ot={start:"end",end:"start"};function rt(t){return t.replace(/start|end/g,(function(t){return ot[t]}))}function at(t){var e=L(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function lt(t){return j(W(t)).left+at(t).scrollLeft}function ct(t){var e=B(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function ht(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:S(t)&&ct(t)?t:ht($(t))}function dt(t,e){var i;void 0===e&&(e=[]);var n=ht(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=L(n),r=s?[o].concat(o.visualViewport||[],ct(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(dt($(r)))}function ut(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ft(t,e){return e===u?ut(function(t){var e=L(t),i=W(t),n=e.visualViewport,s=i.clientWidth,o=i.clientHeight,r=0,a=0;return n&&(s=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:s,height:o,x:r+lt(t),y:a}}(t)):S(e)?function(t){var e=j(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ut(function(t){var e,i=W(t),n=at(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=U(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=U(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+lt(t),l=-n.scrollTop;return"rtl"===B(s||i).direction&&(a+=U(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(W(t)))}function pt(t){return t.split("-")[1]}function gt(t){var e,i=t.reference,a=t.element,l=t.placement,d=l?I(l):null,u=l?pt(l):null,f=i.x+i.width/2-a.width/2,p=i.y+i.height/2-a.height/2;switch(d){case n:e={x:f,y:i.y-a.height};break;case s:e={x:f,y:i.y+i.height};break;case o:e={x:i.x+i.width,y:p};break;case r:e={x:i.x-a.width,y:p};break;default:e={x:i.x,y:i.y}}var g=d?F(d):null;if(null!=g){var m="y"===g?"height":"width";switch(u){case c:e[g]=e[g]-(i[m]/2-a[m]/2);break;case h:e[g]=e[g]+(i[m]/2-a[m]/2)}}return e}function mt(t,e){void 0===e&&(e={});var i=e,r=i.placement,a=void 0===r?t.placement:r,c=i.boundary,h=void 0===c?d:c,g=i.rootBoundary,m=void 0===g?u:g,_=i.elementContext,b=void 0===_?f:_,v=i.altBoundary,y=void 0!==v&&v,w=i.padding,E=void 0===w?0:w,A=Y("number"!=typeof E?E:Q(E,l)),T=b===f?p:f,O=t.elements.reference,C=t.rects.popper,L=t.elements[y?T:b],D=function(t,e,i){var n="clippingParents"===e?function(t){var e=dt($(t)),i=["absolute","fixed"].indexOf(B(t).position)>=0&&S(t)?q(t):t;return x(i)?e.filter((function(t){return x(t)&&H(t,i)&&"body"!==k(t)})):[]}(t):[].concat(e),s=[].concat(n,[i]),o=s[0],r=s.reduce((function(e,i){var n=ft(t,i);return e.top=U(n.top,e.top),e.right=V(n.right,e.right),e.bottom=V(n.bottom,e.bottom),e.left=U(n.left,e.left),e}),ft(t,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(x(L)?L:L.contextElement||W(t.elements.popper),h,m),N=j(O),I=gt({reference:N,element:C,strategy:"absolute",placement:a}),P=ut(Object.assign({},C,I)),M=b===f?P:N,R={top:D.top-M.top+A.top,bottom:M.bottom-D.bottom+A.bottom,left:D.left-M.left+A.left,right:M.right-D.right+A.right},z=t.modifiersData.offset;if(b===f&&z){var F=z[a];Object.keys(R).forEach((function(t){var e=[o,s].indexOf(t)>=0?1:-1,i=[n,s].indexOf(t)>=0?"y":"x";R[t]+=F[i]*e}))}return R}const _t={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,h=t.name;if(!e.modifiersData[h]._skip){for(var d=i.mainAxis,u=void 0===d||d,f=i.altAxis,p=void 0===f||f,_=i.fallbackPlacements,b=i.padding,v=i.boundary,y=i.rootBoundary,w=i.altBoundary,E=i.flipVariations,A=void 0===E||E,T=i.allowedAutoPlacements,O=e.options.placement,C=I(O),k=_||(C!==O&&A?function(t){if(I(t)===a)return[];var e=st(t);return[rt(t),e,rt(e)]}(O):[st(O)]),L=[O].concat(k).reduce((function(t,i){return t.concat(I(i)===a?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,c=i.allowedAutoPlacements,h=void 0===c?m:c,d=pt(n),u=d?a?g:g.filter((function(t){return pt(t)===d})):l,f=u.filter((function(t){return h.indexOf(t)>=0}));0===f.length&&(f=u);var p=f.reduce((function(e,i){return e[i]=mt(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[I(i)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:i,boundary:v,rootBoundary:y,padding:b,flipVariations:A,allowedAutoPlacements:T}):i)}),[]),x=e.rects.reference,S=e.rects.popper,D=new Map,N=!0,P=L[0],j=0;j<L.length;j++){var M=L[j],H=I(M),B=pt(M)===c,R=[n,s].indexOf(H)>=0,W=R?"width":"height",$=mt(e,{placement:M,boundary:v,rootBoundary:y,altBoundary:w,padding:b}),z=R?B?o:r:B?s:n;x[W]>S[W]&&(z=st(z));var q=st(z),F=[];if(u&&F.push($[H]<=0),p&&F.push($[z]<=0,$[q]<=0),F.every((function(t){return t}))){P=M,N=!1;break}D.set(M,F)}if(N)for(var U=function(t){var e=L.find((function(e){var i=D.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return P=e,"break"},V=A?3:1;V>0&&"break"!==U(V);V--);e.placement!==P&&(e.modifiersData[h]._skip=!0,e.placement=P,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function vt(t){return[n,o,s,r].some((function(e){return t[e]>=0}))}const yt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=mt(e,{elementContext:"reference"}),a=mt(e,{altBoundary:!0}),l=bt(r,n),c=bt(a,s,o),h=vt(l),d=vt(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,s=t.name,a=i.offset,l=void 0===a?[0,0]:a,c=m.reduce((function(t,i){return t[i]=function(t,e,i){var s=I(t),a=[r,n].indexOf(s)>=0?-1:1,l="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=l[0],h=l[1];return c=c||0,h=(h||0)*a,[r,o].indexOf(s)>=0?{x:h,y:c}:{x:c,y:h}}(i,e.rects,l),t}),{}),h=c[e.placement],d=h.x,u=h.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=u),e.modifiersData[s]=c}},Et={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=gt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},At={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,a=t.name,l=i.mainAxis,h=void 0===l||l,d=i.altAxis,u=void 0!==d&&d,f=i.boundary,p=i.rootBoundary,g=i.altBoundary,m=i.padding,_=i.tether,b=void 0===_||_,v=i.tetherOffset,y=void 0===v?0:v,w=mt(e,{boundary:f,rootBoundary:p,padding:m,altBoundary:g}),E=I(e.placement),A=pt(e.placement),T=!A,O=F(E),C="x"===O?"y":"x",k=e.modifiersData.popperOffsets,L=e.rects.reference,x=e.rects.popper,S="function"==typeof y?y(Object.assign({},e.rects,{placement:e.placement})):y,D={x:0,y:0};if(k){if(h||u){var N="y"===O?n:r,P="y"===O?s:o,j="y"===O?"height":"width",H=k[O],B=k[O]+w[N],R=k[O]-w[P],W=b?-x[j]/2:0,$=A===c?L[j]:x[j],z=A===c?-x[j]:-L[j],K=e.elements.arrow,Y=b&&K?M(K):{width:0,height:0},Q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=Q[N],Z=Q[P],J=X(0,L[j],Y[j]),tt=T?L[j]/2-W-J-G-S:$-J-G-S,et=T?-L[j]/2+W+J+Z+S:z+J+Z+S,it=e.elements.arrow&&q(e.elements.arrow),nt=it?"y"===O?it.clientTop||0:it.clientLeft||0:0,st=e.modifiersData.offset?e.modifiersData.offset[e.placement][O]:0,ot=k[O]+tt-st-nt,rt=k[O]+et-st;if(h){var at=X(b?V(B,ot):B,H,b?U(R,rt):R);k[O]=at,D[O]=at-H}if(u){var lt="x"===O?n:r,ct="x"===O?s:o,ht=k[C],dt=ht+w[lt],ut=ht-w[ct],ft=X(b?V(dt,ot):dt,ht,b?U(ut,rt):ut);k[C]=ft,D[C]=ft-ht}}e.modifiersData[a]=D}},requiresIfExists:["offset"]};function Tt(t,e,i){void 0===i&&(i=!1);var n,s,o=S(e),r=S(e)&&function(t){var e=t.getBoundingClientRect(),i=e.width/t.offsetWidth||1,n=e.height/t.offsetHeight||1;return 1!==i||1!==n}(e),a=W(e),l=j(t,r),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==k(e)||ct(a))&&(c=(n=e)!==L(n)&&S(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:at(n)),S(e)?((h=j(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=lt(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Ot(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var Ct={placement:"bottom",modifiers:[],strategy:"absolute"};function kt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Lt(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?Ct:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ct,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){d(),a.options=Object.assign({},o,a.options,i),a.scrollParents={reference:x(t)?dt(t):t.contextElement?dt(t.contextElement):[],popper:dt(e)};var s,r,c=function(t){var e=Ot(t);return C.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((s=[].concat(n,a.options.modifiers),r=s.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(r).map((function(t){return r[t]}))));return a.orderedModifiers=c.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(kt(e,i)){a.rects={reference:Tt(e,q(i),"fixed"===a.options.strategy),popper:M(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var s=a.orderedModifiers[n],o=s.fn,r=s.options,l=void 0===r?{}:r,d=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:d,instance:h})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise((function(t){h.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!kt(t,e))return h;function d(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),h}}var xt=Lt(),St=Lt({defaultModifiers:[it,Et,tt,N,wt,_t,At,G,yt]}),Dt=Lt({defaultModifiers:[it,Et,tt,N]});const Nt="transitionend",It=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},Pt=t=>{const e=It(t);return e&&document.querySelector(e)?e:null},jt=t=>{const e=It(t);return e?document.querySelector(e):null},Mt=t=>{t.dispatchEvent(new Event(Nt))},Ht=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),Bt=t=>Ht(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,Rt=(t,e,i)=>{Object.keys(i).forEach((n=>{const s=i[n],o=e[n],r=o&&Ht(o)?"element":null==(a=o)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(s).test(r))throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${s}".`)}))},Wt=t=>!(!Ht(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),$t=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),zt=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?zt(t.parentNode):null},qt=()=>{},Ft=t=>{t.offsetHeight},Ut=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},Vt=[],Kt=()=>"rtl"===document.documentElement.dir,Xt=t=>{var e;e=()=>{const e=Ut();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(Vt.length||document.addEventListener("DOMContentLoaded",(()=>{Vt.forEach((t=>t()))})),Vt.push(e)):e()},Yt=t=>{"function"==typeof t&&t()},Qt=(t,e,i=!0)=>{if(!i)return void Yt(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const o=({target:i})=>{i===e&&(s=!0,e.removeEventListener(Nt,o),Yt(t))};e.addEventListener(Nt,o),setTimeout((()=>{s||Mt(e)}),n)},Gt=(t,e,i,n)=>{let s=t.indexOf(e);if(-1===s)return t[!i&&n?t.length-1:0];const o=t.length;return s+=i?1:-1,n&&(s=(s+o)%o),t[Math.max(0,Math.min(s,o-1))]},Zt=/[^.]*(?=\..*)\.|.*/,Jt=/\..*/,te=/::\d+$/,ee={};let ie=1;const ne={mouseenter:"mouseover",mouseleave:"mouseout"},se=/^(mouseenter|mouseleave)/i,oe=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function re(t,e){return e&&`${e}::${ie++}`||t.uidEvent||ie++}function ae(t){const e=re(t);return t.uidEvent=e,ee[e]=ee[e]||{},ee[e]}function le(t,e,i=null){const n=Object.keys(t);for(let s=0,o=n.length;s<o;s++){const o=t[n[s]];if(o.originalHandler===e&&o.delegationSelector===i)return o}return null}function ce(t,e,i){const n="string"==typeof e,s=n?i:e;let o=ue(t);return oe.has(o)||(o=t),[n,s,o]}function he(t,e,i,n,s){if("string"!=typeof e||!t)return;if(i||(i=n,n=null),se.test(e)){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};n?n=t(n):i=t(i)}const[o,r,a]=ce(e,i,n),l=ae(t),c=l[a]||(l[a]={}),h=le(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=re(r,e.replace(Zt,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,n.oneOff&&fe.off(t,s.type,e,i),i.apply(r,[s]);return null}}(t,i,n):function(t,e){return function i(n){return n.delegateTarget=t,i.oneOff&&fe.off(t,n.type,e),e.apply(t,[n])}}(t,i);u.delegationSelector=o?i:null,u.originalHandler=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function de(t,e,i,n,s){const o=le(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function ue(t){return t=t.replace(Jt,""),ne[t]||t}const fe={on(t,e,i,n){he(t,e,i,n,!1)},one(t,e,i,n){he(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=ce(e,i,n),a=r!==e,l=ae(t),c=e.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void de(t,l,r,o,s?i:null)}c&&Object.keys(l).forEach((i=>{!function(t,e,i,n){const s=e[i]||{};Object.keys(s).forEach((o=>{if(o.includes(n)){const n=s[o];de(t,e,i,n.originalHandler,n.delegationSelector)}}))}(t,l,i,e.slice(1))}));const h=l[r]||{};Object.keys(h).forEach((i=>{const n=i.replace(te,"");if(!a||e.includes(n)){const e=h[i];de(t,l,r,e.originalHandler,e.delegationSelector)}}))},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=Ut(),s=ue(e),o=e!==s,r=oe.has(s);let a,l=!0,c=!0,h=!1,d=null;return o&&n&&(a=n.Event(e,i),n(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents"),d.initEvent(s,l,!0)):d=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach((t=>{Object.defineProperty(d,t,{get:()=>i[t]})})),h&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},pe=new Map;var ge={set(t,e,i){pe.has(t)||pe.set(t,new Map);const n=pe.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>pe.has(t)&&pe.get(t).get(e)||null,remove(t,e){if(!pe.has(t))return;const i=pe.get(t);i.delete(e),0===i.size&&pe.delete(t)}};class me{constructor(t){(t=Bt(t))&&(this._element=t,ge.set(this._element,this.constructor.DATA_KEY,this))}dispose(){ge.remove(this._element,this.constructor.DATA_KEY),fe.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((t=>{this[t]=null}))}_queueCallback(t,e,i=!0){Qt(t,e,i)}static getInstance(t){return ge.get(Bt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.1.0"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const _e=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;fe.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),$t(this))return;const s=jt(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()}))};class be extends me{static get NAME(){return"alert"}close(){if(fe.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),fe.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=be.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}_e(be,"close"),Xt(be);const ve='[data-bs-toggle="button"]';class ye extends me{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=ye.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}function we(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function Ee(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}fe.on(document,"click.bs.button.data-api",ve,(t=>{t.preventDefault();const e=t.target.closest(ve);ye.getOrCreateInstance(e).toggle()})),Xt(ye);const Ae={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Ee(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Ee(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=we(t.dataset[i])})),e},getDataAttribute:(t,e)=>we(t.getAttribute(`data-bs-${Ee(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},Te={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&i.push(n),n=n.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(", ");return this.find(e,t).filter((t=>!$t(t)&&Wt(t)))}},Oe="carousel",Ce={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},ke={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Le="next",xe="prev",Se="left",De="right",Ne={ArrowLeft:De,ArrowRight:Se},Ie="slid.bs.carousel",Pe="active",je=".active.carousel-item",Me="touch";class He extends me{constructor(t,e){super(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(e),this._indicatorsElement=Te.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Ce}static get NAME(){return Oe}next(){this._slide(Le)}nextWhenVisible(){!document.hidden&&Wt(this._element)&&this.next()}prev(){this._slide(xe)}pause(t){t||(this._isPaused=!0),Te.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Mt(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=Te.findOne(je,this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void fe.one(this._element,Ie,(()=>this.to(t)));if(e===t)return this.pause(),void this.cycle();const i=t>e?Le:xe;this._slide(i,this._items[t])}_getConfig(t){return t={...Ce,...Ae.getDataAttributes(this._element),..."object"==typeof t?t:{}},Rt(Oe,t,ke),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?De:Se)}_addEventListeners(){this._config.keyboard&&fe.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(fe.on(this._element,"mouseenter.bs.carousel",(t=>this.pause(t))),fe.on(this._element,"mouseleave.bs.carousel",(t=>this.cycle(t)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>{!this._pointerEvent||"pen"!==t.pointerType&&t.pointerType!==Me?this._pointerEvent||(this.touchStartX=t.touches[0].clientX):this.touchStartX=t.clientX},e=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},i=t=>{!this._pointerEvent||"pen"!==t.pointerType&&t.pointerType!==Me||(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((t=>this.cycle(t)),500+this._config.interval))};Te.find(".carousel-item img",this._element).forEach((t=>{fe.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()))})),this._pointerEvent?(fe.on(this._element,"pointerdown.bs.carousel",(e=>t(e))),fe.on(this._element,"pointerup.bs.carousel",(t=>i(t))),this._element.classList.add("pointer-event")):(fe.on(this._element,"touchstart.bs.carousel",(e=>t(e))),fe.on(this._element,"touchmove.bs.carousel",(t=>e(t))),fe.on(this._element,"touchend.bs.carousel",(t=>i(t))))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Ne[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._items=t&&t.parentNode?Te.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const i=t===Le;return Gt(this._items,e,i,this._config.wrap)}_triggerSlideEvent(t,e){const i=this._getItemIndex(t),n=this._getItemIndex(Te.findOne(je,this._element));return fe.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=Te.findOne(".active",this._indicatorsElement);e.classList.remove(Pe),e.removeAttribute("aria-current");const i=Te.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e<i.length;e++)if(Number.parseInt(i[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){i[e].classList.add(Pe),i[e].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||Te.findOne(je,this._element);if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,e){const i=this._directionToOrder(t),n=Te.findOne(je,this._element),s=this._getItemIndex(n),o=e||this._getItemByOrder(i,n),r=this._getItemIndex(o),a=Boolean(this._interval),l=i===Le,c=l?"carousel-item-start":"carousel-item-end",h=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(i);if(o&&o.classList.contains(Pe))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(o,d).defaultPrevented)return;if(!n||!o)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const u=()=>{fe.trigger(this._element,Ie,{relatedTarget:o,direction:d,from:s,to:r})};if(this._element.classList.contains("slide")){o.classList.add(h),Ft(o),n.classList.add(c),o.classList.add(c);const t=()=>{o.classList.remove(c,h),o.classList.add(Pe),n.classList.remove(Pe,h,c),this._isSliding=!1,setTimeout(u,0)};this._queueCallback(t,n,!0)}else n.classList.remove(Pe),o.classList.add(Pe),this._isSliding=!1,u();a&&this.cycle()}_directionToOrder(t){return[De,Se].includes(t)?Kt()?t===Se?xe:Le:t===Se?Le:xe:t}_orderToDirection(t){return[Le,xe].includes(t)?Kt()?t===xe?Se:De:t===xe?De:Se:t}static carouselInterface(t,e){const i=He.getOrCreateInstance(t,e);let{_config:n}=i;"object"==typeof e&&(n={...n,...e});const s="string"==typeof e?e:n.slide;if("number"==typeof e)i.to(e);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each((function(){He.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=jt(this);if(!e||!e.classList.contains("carousel"))return;const i={...Ae.getDataAttributes(e),...Ae.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),He.carouselInterface(e,i),n&&He.getInstance(e).to(n),t.preventDefault()}}fe.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",He.dataApiClickHandler),fe.on(window,"load.bs.carousel.data-api",(()=>{const t=Te.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;e<i;e++)He.carouselInterface(t[e],He.getInstance(t[e]))})),Xt(He);const Be="collapse",Re={toggle:!0,parent:null},We={toggle:"boolean",parent:"(null|element)"},$e="show",ze="collapse",qe="collapsing",Fe="collapsed",Ue='[data-bs-toggle="collapse"]';class Ve extends me{constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=[];const i=Te.find(Ue);for(let t=0,e=i.length;t<e;t++){const e=i[t],n=Pt(e),s=Te.find(n).filter((t=>t===this._element));null!==n&&s.length&&(this._selector=n,this._triggerArray.push(e))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Re}static get NAME(){return Be}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t,e=[];if(this._config.parent){const t=Te.find(".collapse .collapse",this._config.parent);e=Te.find(".show, .collapsing",this._config.parent).filter((e=>!t.includes(e)))}const i=Te.findOne(this._selector);if(e.length){const n=e.find((t=>i!==t));if(t=n?Ve.getInstance(n):null,t&&t._isTransitioning)return}if(fe.trigger(this._element,"show.bs.collapse").defaultPrevented)return;e.forEach((e=>{i!==e&&Ve.getOrCreateInstance(e,{toggle:!1}).hide(),t||ge.set(e,"bs.collapse",null)}));const n=this._getDimension();this._element.classList.remove(ze),this._element.classList.add(qe),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(qe),this._element.classList.add(ze,$e),this._element.style[n]="",fe.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(fe.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Ft(this._element),this._element.classList.add(qe),this._element.classList.remove(ze,$e);const e=this._triggerArray.length;for(let t=0;t<e;t++){const e=this._triggerArray[t],i=jt(e);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(qe),this._element.classList.add(ze),fe.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains($e)}_getConfig(t){return(t={...Re,...Ae.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=Bt(t.parent),Rt(Be,t,We),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=Te.find(".collapse .collapse",this._config.parent);Te.find(Ue,this._config.parent).filter((e=>!t.includes(e))).forEach((t=>{const e=jt(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}))}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach((t=>{e?t.classList.remove(Fe):t.classList.add(Fe),t.setAttribute("aria-expanded",e)}))}static jQueryInterface(t){return this.each((function(){const e={};"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const i=Ve.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}fe.on(document,"click.bs.collapse.data-api",Ue,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=Pt(this);Te.find(e).forEach((t=>{Ve.getOrCreateInstance(t,{toggle:!1}).toggle()}))})),Xt(Ve);const Ke="dropdown",Xe="Escape",Ye="Space",Qe="ArrowUp",Ge="ArrowDown",Ze=new RegExp("ArrowUp|ArrowDown|Escape"),Je="click.bs.dropdown.data-api",ti="keydown.bs.dropdown.data-api",ei="show",ii='[data-bs-toggle="dropdown"]',ni=".dropdown-menu",si=Kt()?"top-end":"top-start",oi=Kt()?"top-start":"top-end",ri=Kt()?"bottom-end":"bottom-start",ai=Kt()?"bottom-start":"bottom-end",li=Kt()?"left-start":"right-start",ci=Kt()?"right-start":"left-start",hi={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},di={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class ui extends me{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return hi}static get DefaultType(){return di}static get NAME(){return Ke}toggle(){return this._isShown()?this.hide():this.show()}show(){if($t(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element};if(fe.trigger(this._element,"show.bs.dropdown",t).defaultPrevented)return;const e=ui.getParentFromElement(this._element);this._inNavbar?Ae.setDataAttribute(this._menu,"popper","none"):this._createPopper(e),"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((t=>fe.on(t,"mouseover",qt))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ei),this._element.classList.add(ei),fe.trigger(this._element,"shown.bs.dropdown",t)}hide(){if($t(this._element)||!this._isShown(this._menu))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){fe.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>fe.off(t,"mouseover",qt))),this._popper&&this._popper.destroy(),this._menu.classList.remove(ei),this._element.classList.remove(ei),this._element.setAttribute("aria-expanded","false"),Ae.removeDataAttribute(this._menu,"popper"),fe.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...Ae.getDataAttributes(this._element),...t},Rt(Ke,t,this.constructor.DefaultType),"object"==typeof t.reference&&!Ht(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ke.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(t){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;"parent"===this._config.reference?i=t:Ht(this._config.reference)?i=Bt(this._config.reference):"object"==typeof this._config.reference&&(i=this._config.reference);const n=this._getPopperConfig(),s=n.modifiers.find((t=>"applyStyles"===t.name&&!1===t.enabled));this._popper=St(i,this._menu,n),s&&Ae.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(ei)}_getMenuElement(){return Te.next(this._element,ni)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return li;if(t.classList.contains("dropstart"))return ci;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?oi:si:e?ai:ri}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const i=Te.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Wt);i.length&&Gt(i,e,t===Ge,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ui.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(t&&(2===t.button||"keyup"===t.type&&"Tab"!==t.key))return;const e=Te.find(ii);for(let i=0,n=e.length;i<n;i++){const n=ui.getInstance(e[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const s={relatedTarget:n._element};if(t){const e=t.composedPath(),i=e.includes(n._menu);if(e.includes(n._element)||"inside"===n._config.autoClose&&!i||"outside"===n._config.autoClose&&i)continue;if(n._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;"click"===t.type&&(s.clickEvent=t)}n._completeHide(s)}}static getParentFromElement(t){return jt(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?t.key===Ye||t.key!==Xe&&(t.key!==Ge&&t.key!==Qe||t.target.closest(ni)):!Ze.test(t.key))return;const e=this.classList.contains(ei);if(!e&&t.key===Xe)return;if(t.preventDefault(),t.stopPropagation(),$t(this))return;const i=this.matches(ii)?this:Te.prev(this,ii)[0],n=ui.getOrCreateInstance(i);if(t.key!==Xe)return t.key===Qe||t.key===Ge?(e||n.show(),void n._selectMenuItem(t)):void(e&&t.key!==Ye||ui.clearMenus());n.hide()}}fe.on(document,ti,ii,ui.dataApiKeydownHandler),fe.on(document,ti,ni,ui.dataApiKeydownHandler),fe.on(document,Je,ui.clearMenus),fe.on(document,"keyup.bs.dropdown.data-api",ui.clearMenus),fe.on(document,Je,ii,(function(t){t.preventDefault(),ui.getOrCreateInstance(this).toggle()})),Xt(ui);const fi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",pi=".sticky-top";class gi{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(e=>e+t)),this._setElementAttributes(fi,"paddingRight",(e=>e+t)),this._setElementAttributes(pi,"marginRight",(e=>e-t))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t)[e];t.style[e]=`${i(Number.parseFloat(s))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(fi,"paddingRight"),this._resetElementAttributes(pi,"marginRight")}_saveInitialAttribute(t,e){const i=t.style[e];i&&Ae.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=Ae.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(Ae.removeDataAttribute(t,e),t.style[e]=i)}))}_applyManipulationCallback(t,e){Ht(t)?e(t):Te.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const mi={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},_i={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},bi="show",vi="mousedown.bs.backdrop";class yi{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&Ft(this._getElement()),this._getElement().classList.add(bi),this._emulateAnimation((()=>{Yt(t)}))):Yt(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(bi),this._emulateAnimation((()=>{this.dispose(),Yt(t)}))):Yt(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...mi,..."object"==typeof t?t:{}}).rootElement=Bt(t.rootElement),Rt("backdrop",t,_i),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),fe.on(this._getElement(),vi,(()=>{Yt(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(fe.off(this._element,vi),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){Qt(t,this._getElement(),this._config.isAnimated)}}const wi={trapElement:null,autofocus:!0},Ei={trapElement:"element",autofocus:"boolean"},Ai=".bs.focustrap",Ti="backward";class Oi{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),fe.off(document,Ai),fe.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),fe.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,fe.off(document,Ai))}_handleFocusin(t){const{target:e}=t,{trapElement:i}=this._config;if(e===document||e===i||i.contains(e))return;const n=Te.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===Ti?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Ti:"forward")}_getConfig(t){return t={...wi,..."object"==typeof t?t:{}},Rt("focustrap",t,Ei),t}}const Ci="modal",ki="Escape",Li={backdrop:!0,keyboard:!0,focus:!0},xi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Si="hidden.bs.modal",Di="show.bs.modal",Ni="resize.bs.modal",Ii="click.dismiss.bs.modal",Pi="keydown.dismiss.bs.modal",ji="mousedown.dismiss.bs.modal",Mi="modal-open",Hi="show",Bi="modal-static";class Ri extends me{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=Te.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new gi}static get Default(){return Li}static get NAME(){return Ci}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||fe.trigger(this._element,Di,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Mi),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),fe.on(this._dialog,ji,(()=>{fe.one(this._element,"mouseup.dismiss.bs.modal",(t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;if(fe.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const t=this._isAnimated();t&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Hi),fe.off(this._element,Ii),fe.off(this._dialog,ji),this._queueCallback((()=>this._hideModal()),this._element,t)}dispose(){[window,this._dialog].forEach((t=>fe.off(t,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new yi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Oi({trapElement:this._element})}_getConfig(t){return t={...Li,...Ae.getDataAttributes(this._element),..."object"==typeof t?t:{}},Rt(Ci,t,xi),t}_showElement(t){const e=this._isAnimated(),i=Te.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),e&&Ft(this._element),this._element.classList.add(Hi),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,fe.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,e)}_setEscapeEvent(){this._isShown?fe.on(this._element,Pi,(t=>{this._config.keyboard&&t.key===ki?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==ki||this._triggerBackdropTransition()})):fe.off(this._element,Pi)}_setResizeEvent(){this._isShown?fe.on(window,Ni,(()=>this._adjustDialog())):fe.off(window,Ni)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Mi),this._resetAdjustments(),this._scrollBar.reset(),fe.trigger(this._element,Si)}))}_showBackdrop(t){fe.on(this._element,Ii,(t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(fe.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:t,scrollHeight:e,style:i}=this._element,n=e>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||t.contains(Bi)||(n||(i.overflowY="hidden"),t.add(Bi),this._queueCallback((()=>{t.remove(Bi),n||this._queueCallback((()=>{i.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;(!i&&t&&!Kt()||i&&!t&&Kt())&&(this._element.style.paddingLeft=`${e}px`),(i&&!t&&!Kt()||!i&&t&&Kt())&&(this._element.style.paddingRight=`${e}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=Ri.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}fe.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=jt(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),fe.one(e,Di,(t=>{t.defaultPrevented||fe.one(e,Si,(()=>{Wt(this)&&this.focus()}))})),Ri.getOrCreateInstance(e).toggle(this)})),_e(Ri),Xt(Ri);const Wi="offcanvas",$i={backdrop:!0,keyboard:!0,scroll:!1},zi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},qi="show",Fi=".offcanvas.show",Ui="hidden.bs.offcanvas";class Vi extends me{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Wi}static get Default(){return $i}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||fe.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new gi).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qi),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),fe.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(fe.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(qi),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new gi).reset(),fe.trigger(this._element,Ui)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...$i,...Ae.getDataAttributes(this._element),..."object"==typeof t?t:{}},Rt(Wi,t,zi),t}_initializeBackDrop(){return new yi({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Oi({trapElement:this._element})}_addEventListeners(){fe.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}))}static jQueryInterface(t){return this.each((function(){const e=Vi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}fe.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=jt(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),$t(this))return;fe.one(e,Ui,(()=>{Wt(this)&&this.focus()}));const i=Te.findOne(Fi);i&&i!==e&&Vi.getInstance(i).hide(),Vi.getOrCreateInstance(e).toggle(this)})),fe.on(window,"load.bs.offcanvas.data-api",(()=>Te.find(Fi).forEach((t=>Vi.getOrCreateInstance(t).show())))),_e(Vi),Xt(Vi);const Ki=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Xi=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Yi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Qi=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!Ki.has(i)||Boolean(Xi.test(t.nodeValue)||Yi.test(t.nodeValue));const n=e.filter((t=>t instanceof RegExp));for(let t=0,e=n.length;t<e;t++)if(n[t].test(i))return!0;return!1};function Gi(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=Object.keys(e),o=[].concat(...n.body.querySelectorAll("*"));for(let t=0,i=o.length;t<i;t++){const i=o[t],n=i.nodeName.toLowerCase();if(!s.includes(n)){i.remove();continue}const r=[].concat(...i.attributes),a=[].concat(e["*"]||[],e[n]||[]);r.forEach((t=>{Qi(t,a)||i.removeAttribute(t.nodeName)}))}return n.body.innerHTML}const Zi="tooltip",Ji=new Set(["sanitize","allowList","sanitizeFn"]),tn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},en={AUTO:"auto",TOP:"top",RIGHT:Kt()?"left":"right",BOTTOM:"bottom",LEFT:Kt()?"right":"left"},nn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["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","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},sn={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},on="fade",rn="show",an="show",ln="out",cn=".modal",hn="hide.bs.modal",dn="hover",un="focus";class fn extends me{constructor(t,i){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(i),this.tip=null,this._setListeners()}static get Default(){return nn}static get NAME(){return Zi}static get Event(){return sn}static get DefaultType(){return tn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(rn))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),fe.off(this._element.closest(cn),hn,this._hideModalHandler),this.tip&&this.tip.remove(),this._popper&&this._popper.destroy(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=fe.trigger(this._element,this.constructor.Event.SHOW),e=zt(this._element),i=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!i)return;const n=this.getTipElement(),s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME);n.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&n.classList.add(on);const o="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,r=this._getAttachment(o);this._addAttachmentClass(r);const{container:a}=this._config;ge.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(n),fe.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=St(this._element,n,this._getPopperConfig(r)),n.classList.add(rn);const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>{fe.on(t,"mouseover",qt)}));const c=this.tip.classList.contains(on);this._queueCallback((()=>{const t=this._hoverState;this._hoverState=null,fe.trigger(this._element,this.constructor.Event.SHOWN),t===ln&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const t=this.getTipElement();if(fe.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(rn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>fe.off(t,"mouseover",qt))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const e=this.tip.classList.contains(on);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==an&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),fe.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))}),this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(on,rn),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".tooltip-inner")}_sanitizeAndSetContent(t,e,i){const n=Te.findOne(i,t);e||!n?this.setElementContent(n,e):n.remove()}setElementContent(t,e){if(null!==t)return Ht(e)?(e=Bt(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=Gi(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){const t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return en[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((t=>{if("click"===t)fe.on(this._element,this.constructor.Event.CLICK,this._config.selector,(t=>this.toggle(t)));else if("manual"!==t){const e=t===dn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=t===dn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;fe.on(this._element,e,this._config.selector,(t=>this._enter(t))),fe.on(this._element,i,this._config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},fe.on(this._element.closest(cn),hn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?un:dn]=!0),e.getTipElement().classList.contains(rn)||e._hoverState===an?e._hoverState=an:(clearTimeout(e._timeout),e._hoverState=an,e._config.delay&&e._config.delay.show?e._timeout=setTimeout((()=>{e._hoverState===an&&e.show()}),e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?un:dn]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=ln,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout((()=>{e._hoverState===ln&&e.hide()}),e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=Ae.getDataAttributes(this._element);return Object.keys(e).forEach((t=>{Ji.has(t)&&delete e[t]})),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:Bt(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),Rt(Zi,t,this.constructor.DefaultType),t.sanitize&&(t.template=Gi(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&i.length>0&&i.map((t=>t.trim())).forEach((e=>t.classList.remove(e)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}static jQueryInterface(t){return this.each((function(){const e=fn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Xt(fn);const pn={...fn.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},gn={...fn.DefaultType,content:"(string|element|function)"},mn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class _n extends fn{static get Default(){return pn}static get NAME(){return"popover"}static get Event(){return mn}static get DefaultType(){return gn}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each((function(){const e=_n.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Xt(_n);const bn="scrollspy",vn={offset:10,method:"auto",target:""},yn={offset:"number",method:"string",target:"(string|element)"},wn="active",En=".nav-link, .list-group-item, .dropdown-item",An="position";class Tn extends me{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,fe.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return vn}static get NAME(){return bn}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":An,e="auto"===this._config.method?t:this._config.method,i=e===An?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),Te.find(En,this._config.target).map((t=>{const n=Pt(t),s=n?Te.findOne(n):null;if(s){const t=s.getBoundingClientRect();if(t.width||t.height)return[Ae[e](s).top+i,n]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){fe.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(t){return(t={...vn,...Ae.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=Bt(t.target)||document.documentElement,Rt(bn,t,yn),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=En.split(",").map((e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`)),i=Te.findOne(e.join(","),this._config.target);i.classList.add(wn),i.classList.contains("dropdown-item")?Te.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(wn):Te.parents(i,".nav, .list-group").forEach((t=>{Te.prev(t,".nav-link, .list-group-item").forEach((t=>t.classList.add(wn))),Te.prev(t,".nav-item").forEach((t=>{Te.children(t,".nav-link").forEach((t=>t.classList.add(wn)))}))})),fe.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){Te.find(En,this._config.target).filter((t=>t.classList.contains(wn))).forEach((t=>t.classList.remove(wn)))}static jQueryInterface(t){return this.each((function(){const e=Tn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}fe.on(window,"load.bs.scrollspy.data-api",(()=>{Te.find('[data-bs-spy="scroll"]').forEach((t=>new Tn(t)))})),Xt(Tn);const On="active",Cn="fade",kn="show",Ln=".active",xn=":scope > li > .active";class Sn extends me{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(On))return;let t;const e=jt(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?xn:Ln;t=Te.find(e,i),t=t[t.length-1]}const n=t?fe.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(fe.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==n&&n.defaultPrevented)return;this._activate(this._element,i);const s=()=>{fe.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),fe.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,s):s()}_activate(t,e,i){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?Te.children(e,Ln):Te.find(xn,e))[0],s=i&&n&&n.classList.contains(Cn),o=()=>this._transitionComplete(t,n,i);n&&s?(n.classList.remove(kn),this._queueCallback(o,t,!0)):o()}_transitionComplete(t,e,i){if(e){e.classList.remove(On);const t=Te.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove(On),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(On),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),Ft(t),t.classList.contains(Cn)&&t.classList.add(kn);let n=t.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const e=t.closest(".dropdown");e&&Te.find(".dropdown-toggle",e).forEach((t=>t.classList.add(On))),t.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each((function(){const e=Sn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}fe.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),$t(this)||Sn.getOrCreateInstance(this).show()})),Xt(Sn);const Dn="toast",Nn="hide",In="show",Pn="showing",jn={animation:"boolean",autohide:"boolean",delay:"number"},Mn={animation:!0,autohide:!0,delay:5e3};class Hn extends me{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return jn}static get Default(){return Mn}static get NAME(){return Dn}show(){fe.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Nn),Ft(this._element),this._element.classList.add(In),this._element.classList.add(Pn),this._queueCallback((()=>{this._element.classList.remove(Pn),fe.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(In)&&(fe.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(Pn),this._queueCallback((()=>{this._element.classList.add(Nn),this._element.classList.remove(Pn),this._element.classList.remove(In),fe.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(In)&&this._element.classList.remove(In),super.dispose()}_getConfig(t){return t={...Mn,...Ae.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},Rt(Dn,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){fe.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),fe.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),fe.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),fe.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Hn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}_e(Hn),Xt(Hn),[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map((function(t){return new i.bootstrap.Tooltip(t)})),console.log("Hello World!")})();