Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

79.2 KB
Raw Blame
"use strict";(function(){var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},n=`bottom`,r=`right`,i=`left`,a=`auto`,o=[`top`,n,r,i],s=`start`,c=`clippingParents`,l=`viewport`,u=`popper`,d=`reference`,f=o.reduce(function(e,t){return e.concat([t+`-`+s,t+`-end`])},[]),p=[].concat(o,[a]).reduce(function(e,t){return e.concat([t,t+`-`+s,t+`-end`])},[]),m=`beforeRead`,h=`read`,g=`afterRead`,_=`beforeMain`,v=`main`,y=`afterMain`,b=`beforeWrite`,x=`write`,S=`afterWrite`,C=[m,h,g,_,v,y,b,x,S];function w(e){return e?(e.nodeName||``).toLowerCase():null}function T(e){if(e==null)return window;if(e.toString()!==`[object Window]`){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function E(e){return e instanceof T(e).Element||e instanceof Element}function D(e){return e instanceof T(e).HTMLElement||e instanceof HTMLElement}function O(e){return typeof ShadowRoot>`u`?!1:e instanceof T(e).ShadowRoot||e instanceof ShadowRoot}function k(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];D(i)&&w(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function A(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});D(r)&&w(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var j={name:`applyStyles`,enabled:!0,phase:`write`,fn:k,effect:A,requires:[`computeStyles`]};function M(e){return e.split(`-`)[0]}var N=Math.max,ee=Math.min,P=Math.round;function F(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+`/`+e.version}).join(` `):navigator.userAgent}function I(){return!/^((?!chrome|android).)*safari/i.test(F())}function L(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&D(e)&&(i=e.offsetWidth>0&&P(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&P(r.height)/e.offsetHeight||1);var o=(E(e)?T(e):window).visualViewport,s=!I()&&n,c=(r.left+(s&&o?o.offsetLeft:0))/i,l=(r.top+(s&&o?o.offsetTop:0))/a,u=r.width/i,d=r.height/a;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function te(e){var t=L(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&O(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function R(e){return T(e).getComputedStyle(e)}function re(e){return[`table`,`td`,`th`].indexOf(w(e))>=0}function z(e){return((E(e)?e.ownerDocument:e.document)||window.document).documentElement}function ie(e){return w(e)===`html`?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||z(e)}function ae(e){return!D(e)||R(e).position===`fixed`?null:e.offsetParent}function oe(e){var t=/firefox/i.test(F());if(/Trident/i.test(F())&&D(e)&&R(e).position===`fixed`)return null;var n=ie(e);for(O(n)&&(n=n.host);D(n)&&[`html`,`body`].indexOf(w(n))<0;){var r=R(n);if(r.transform!==`none`||r.perspective!==`none`||r.contain===`paint`||[`transform`,`perspective`].indexOf(r.willChange)!==-1||t&&r.willChange===`filter`||t&&r.filter&&r.filter!==`none`)return n;n=n.parentNode}return null}function se(e){for(var t=T(e),n=ae(e);n&&re(n)&&R(n).position===`static`;)n=ae(n);return n&&(w(n)===`html`||w(n)===`body`&&R(n).position===`static`)?t:n||oe(e)||t}function ce(e){return[`top`,`bottom`].indexOf(e)>=0?`x`:`y`}function le(e,t,n){return N(e,ee(t,n))}function ue(e,t,n){var r=le(e,t,n);return r>n?n:r}function de(){return{top:0,right:0,bottom:0,left:0}}function fe(e){return Object.assign({},de(),e)}function pe(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var me=function(e,t){return e=typeof e==`function`?e(Object.assign({},t.rects,{placement:t.placement})):e,fe(typeof e==`number`?pe(e,o):e)};function he(e){var t,a=e.state,o=e.name,s=e.options,c=a.elements.arrow,l=a.modifiersData.popperOffsets,u=M(a.placement),d=ce(u),f=[`left`,`right`].indexOf(u)>=0?`height`:`width`;if(c&&l){var p=me(s.padding,a),m=te(c),h=d===`y`?`top`:i,g=d===`y`?n:r,_=a.rects.reference[f]+a.rects.reference[d]-l[d]-a.rects.popper[f],v=l[d]-a.rects.reference[d],y=se(c),b=y?d===`y`?y.clientHeight||0:y.clientWidth||0:0,x=_/2-v/2,S=p[h],C=b-m[f]-p[g],w=b/2-m[f]/2+x,T=le(S,w,C),E=d;a.modifiersData[o]=(t={},t[E]=T,t.centerOffset=T-w,t)}}function ge(e){var t=e.state,n=e.options.element,r=n===void 0?`[data-popper-arrow]`:n;r!=null&&(typeof r==`string`&&(r=t.elements.popper.querySelector(r),!r)||ne(t.elements.popper,r)&&(t.elements.arrow=r))}var _e={name:`arrow`,enabled:!0,phase:`main`,fn:he,effect:ge,requires:[`popperOffsets`],requiresIfExists:[`preventOverflow`]};function ve(e){return e.split(`-`)[1]}var ye={top:`auto`,right:`auto`,bottom:`auto`,left:`auto`};function be(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:P(n*i)/i||0,y:P(r*i)/i||0}}function xe(e){var t,a=e.popper,o=e.popperRect,s=e.placement,c=e.variation,l=e.offsets,u=e.position,d=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=l.x,g=h===void 0?0:h,_=l.y,v=_===void 0?0:_,y=typeof p==`function`?p({x:g,y:v}):{x:g,y:v};g=y.x,v=y.y;var b=l.hasOwnProperty(`x`),x=l.hasOwnProperty(`y`),S=i,C=`top`,w=window;if(f){var E=se(a),D=`clientHeight`,O=`clientWidth`;if(E===T(a)&&(E=z(a),R(E).position!==`static`&&u===`absolute`&&(D=`scrollHeight`,O=`scrollWidth`)),E=E,s===`top`||(s===`left`||s===`right`)&&c===`end`){C=n;var k=m&&E===w&&w.visualViewport?w.visualViewport.height:E[D];v-=k-o.height,v*=d?1:-1}if(s===`left`||(s===`top`||s===`bottom`)&&c===`end`){S=r;var A=m&&E===w&&w.visualViewport?w.visualViewport.width:E[O];g-=A-o.width,g*=d?1:-1}}var j=Object.assign({position:u},f&&ye),M=p===!0?be({x:g,y:v},T(a)):{x:g,y:v};if(g=M.x,v=M.y,d){var N;return Object.assign({},j,(N={},N[C]=x?`0`:``,N[S]=b?`0`:``,N.transform=(w.devicePixelRatio||1)<=1?`translate(`+g+`px, `+v+`px)`:`translate3d(`+g+`px, `+v+`px, 0)`,N))}return Object.assign({},j,(t={},t[C]=x?v+`px`:``,t[S]=b?g+`px`:``,t.transform=``,t))}function Se(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0||r,a=n.adaptive,o=a===void 0||a,s=n.roundOffsets,c=s===void 0||s,l={placement:M(t.placement),variation:ve(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy===`fixed`};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,xe(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,xe(Object.assign({},l,{offsets:t.modifiersData.arrow,position:`absolute`,adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ce={name:`computeStyles`,enabled:!0,phase:`beforeWrite`,fn:Se,data:{}},we={passive:!0};function Te(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0||i,o=r.resize,s=o===void 0||o,c=T(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener(`scroll`,n.update,we)}),s&&c.addEventListener(`resize`,n.update,we),function(){a&&l.forEach(function(e){e.removeEventListener(`scroll`,n.update,we)}),s&&c.removeEventListener(`resize`,n.update,we)}}var Ee={name:`eventListeners`,enabled:!0,phase:`write`,fn:function(){},effect:Te,data:{}},De={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Oe(e){return e.replace(/left|right|bottom|top/g,function(e){return De[e]})}var ke={start:`end`,end:`start`};function Ae(e){return e.replace(/start|end/g,function(e){return ke[e]})}function je(e){var t=T(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Me(e){return L(z(e)).left+je(e).scrollLeft}function Ne(e,t){var n=T(e),r=z(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var l=I();(l||!l&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+Me(e),y:c}}function Pe(e){var t=z(e),n=je(e),r=e.ownerDocument?.body,i=N(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=N(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-n.scrollLeft+Me(e),s=-n.scrollTop;return R(r||t).direction===`rtl`&&(o+=N(t.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:o,y:s}}function Fe(e){var t=R(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Ie(e){return[`html`,`body`,`#document`].indexOf(w(e))>=0?e.ownerDocument.body:D(e)&&Fe(e)?e:Ie(ie(e))}function Le(e,t){t===void 0&&(t=[]);var n=Ie(e),r=n===e.ownerDocument?.body,i=T(n),a=r?[i].concat(i.visualViewport||[],Fe(n)?n:[]):n,o=t.concat(a);return r?o:o.concat(Le(ie(a)))}function Re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ze(e,t){var n=L(e,!1,t===`fixed`);return n.top+=e.clientTop,n.left+=e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Be(e,t,n){return t===`viewport`?Re(Ne(e,n)):E(t)?ze(t,n):Re(Pe(z(e)))}function Ve(e){var t=Le(ie(e)),n=[`absolute`,`fixed`].indexOf(R(e).position)>=0&&D(e)?se(e):e;return E(n)?t.filter(function(e){return E(e)&&ne(e,n)&&w(e)!==`body`}):[]}function He(e,t,n,r){var i=t===`clippingParents`?Ve(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(t,n){var i=Be(e,n,r);return t.top=N(i.top,t.top),t.right=ee(i.right,t.right),t.bottom=ee(i.bottom,t.bottom),t.left=N(i.left,t.left),t},Be(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Ue(e){var t=e.reference,a=e.element,o=e.placement,c=o?M(o):null,l=o?ve(o):null,u=t.x+t.width/2-a.width/2,d=t.y+t.height/2-a.height/2,f;switch(c){case`top`:f={x:u,y:t.y-a.height};break;case n:f={x:u,y:t.y+t.height};break;case r:f={x:t.x+t.width,y:d};break;case i:f={x:t.x-a.width,y:d};break;default:f={x:t.x,y:t.y}}var p=c?ce(c):null;if(p!=null){var m=p===`y`?`height`:`width`;switch(l){case s:f[p]=f[p]-(t[m]/2-a[m]/2);break;case`end`:f[p]=f[p]+(t[m]/2-a[m]/2)}}return f}function We(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,s=a===void 0?e.strategy:a,f=n.boundary,p=f===void 0?c:f,m=n.rootBoundary,h=m===void 0?l:m,g=n.elementContext,_=g===void 0?u:g,v=n.altBoundary,y=v!==void 0&&v,b=n.padding,x=b===void 0?0:b,S=fe(typeof x==`number`?pe(x,o):x),C=_===`popper`?d:u,w=e.rects.popper,T=e.elements[y?C:_],D=He(E(T)?T:T.contextElement||z(e.elements.popper),p,h,s),O=L(e.elements.reference),k=Ue({reference:O,element:w,strategy:`absolute`,placement:i}),A=Re(Object.assign({},w,k)),j=_===`popper`?A:O,M={top:D.top-j.top+S.top,bottom:j.bottom-D.bottom+S.bottom,left:D.left-j.left+S.left,right:j.right-D.right+S.right},N=e.modifiersData.offset;if(_===`popper`&&N){var ee=N[i];Object.keys(M).forEach(function(e){var t=[`right`,`bottom`].indexOf(e)>=0?1:-1,n=[`top`,`bottom`].indexOf(e)>=0?`y`:`x`;M[e]+=ee[n]*t})}return M}function Ge(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,s=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?p:l,d=ve(r),m=d?c?f:f.filter(function(e){return ve(e)===d}):o,h=m.filter(function(e){return u.indexOf(e)>=0});h.length===0&&(h=m);var g=h.reduce(function(t,n){return t[n]=We(e,{placement:n,boundary:i,rootBoundary:a,padding:s})[M(n)],t},{});return Object.keys(g).sort(function(e,t){return g[e]-g[t]})}function Ke(e){if(M(e)===`auto`)return[];var t=Oe(e);return[Ae(e),t,Ae(t)]}function qe(e){var t=e.state,a=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var c=a.mainAxis,l=c===void 0||c,u=a.altAxis,d=u===void 0||u,f=a.fallbackPlacements,p=a.padding,m=a.boundary,h=a.rootBoundary,g=a.altBoundary,_=a.flipVariations,v=_===void 0||_,y=a.allowedAutoPlacements,b=t.options.placement,x=M(b)===b,S=f||(x||!v?[Oe(b)]:Ke(b)),C=[b].concat(S).reduce(function(e,n){return e.concat(M(n)===`auto`?Ge(t,{placement:n,boundary:m,rootBoundary:h,padding:p,flipVariations:v,allowedAutoPlacements:y}):n)},[]),w=t.rects.reference,T=t.rects.popper,E=new Map,D=!0,O=C[0],k=0;k<C.length;k++){var A=C[k],j=M(A),N=ve(A)===s,ee=[`top`,n].indexOf(j)>=0,P=ee?`width`:`height`,F=We(t,{placement:A,boundary:m,rootBoundary:h,altBoundary:g,padding:p}),I=ee?N?r:i:N?n:`top`;w[P]>T[P]&&(I=Oe(I));var L=Oe(I),te=[];if(l&&te.push(F[j]<=0),d&&te.push(F[I]<=0,F[L]<=0),te.every(function(e){return e})){O=A,D=!1;break}E.set(A,te)}if(D)for(var ne=v?3:1,R=function(e){var t=C.find(function(t){var n=E.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return O=t,`break`},re=ne;re>0&&R(re)!==`break`;re--);t.placement!==O&&(t.modifiersData[o]._skip=!0,t.placement=O,t.reset=!0)}}var Je={name:`flip`,enabled:!0,phase:`main`,fn:qe,requiresIfExists:[`offset`],data:{_skip:!1}};function Ye(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Xe(e){return[`top`,r,n,i].some(function(t){return e[t]>=0})}function Ze(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=We(t,{elementContext:`reference`}),s=We(t,{altBoundary:!0}),c=Ye(o,r),l=Ye(s,i,a),u=Xe(c),d=Xe(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var Qe={name:`hide`,enabled:!0,phase:`main`,requiresIfExists:[`preventOverflow`],fn:Ze};function $e(e,t,n){var r=M(e),i=[`left`,`top`].indexOf(r)>=0?-1:1,a=typeof n==`function`?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o||=0,s=(s||0)*i,[`left`,`right`].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function et(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=p.reduce(function(e,n){return e[n]=$e(n,t.rects,a),e},{}),s=o[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var tt={name:`offset`,enabled:!0,phase:`main`,requires:[`popperOffsets`],fn:et};function nt(e){var t=e.state,n=e.name;t.modifiersData[n]=Ue({reference:t.rects.reference,element:t.rects.popper,strategy:`absolute`,placement:t.placement})}var rt={name:`popperOffsets`,enabled:!0,phase:`read`,fn:nt,data:{}};function it(e){return e===`x`?`y`:`x`}function at(e){var t=e.state,a=e.options,o=e.name,s=a.mainAxis,c=s===void 0||s,l=a.altAxis,u=l!==void 0&&l,d=a.boundary,f=a.rootBoundary,p=a.altBoundary,m=a.padding,h=a.tether,g=h===void 0||h,_=a.tetherOffset,v=_===void 0?0:_,y=We(t,{boundary:d,rootBoundary:f,padding:m,altBoundary:p}),b=M(t.placement),x=ve(t.placement),S=!x,C=ce(b),w=it(C),T=t.modifiersData.popperOffsets,E=t.rects.reference,D=t.rects.popper,O=typeof v==`function`?v(Object.assign({},t.rects,{placement:t.placement})):v,k=typeof O==`number`?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(T){if(c){var P=C===`y`?`top`:i,F=C===`y`?n:r,I=C===`y`?`height`:`width`,L=T[C],ne=L+y[P],R=L-y[F],re=g?-D[I]/2:0,z=x===`start`?E[I]:D[I],ie=x===`start`?-D[I]:-E[I],ae=t.elements.arrow,oe=g&&ae?te(ae):{width:0,height:0},fe=t.modifiersData[`arrow#persistent`]?t.modifiersData[`arrow#persistent`].padding:de(),pe=fe[P],me=fe[F],he=le(0,E[I],oe[I]),ge=S?E[I]/2-re-he-pe-k.mainAxis:z-he-pe-k.mainAxis,_e=S?-E[I]/2+re+he+me+k.mainAxis:ie+he+me+k.mainAxis,ye=t.elements.arrow&&se(t.elements.arrow),be=ye?C===`y`?ye.clientTop||0:ye.clientLeft||0:0,xe=A?.[C]??0,Se=L+ge-xe-be,Ce=L+_e-xe,we=le(g?ee(ne,Se):ne,L,g?N(R,Ce):R);T[C]=we,j[C]=we-L}if(u){var Te=C===`x`?`top`:i,Ee=C===`x`?n:r,De=T[w],Oe=w===`y`?`height`:`width`,ke=De+y[Te],Ae=De-y[Ee],je=[`top`,i].indexOf(b)!==-1,Me=A?.[w]??0,Ne=je?ke:De-E[Oe]-D[Oe]-Me+k.altAxis,Pe=je?De+E[Oe]+D[Oe]-Me-k.altAxis:Ae,Fe=g&&je?ue(Ne,De,Pe):le(g?Ne:ke,De,g?Pe:Ae);T[w]=Fe,j[w]=Fe-De}t.modifiersData[o]=j}}var ot={name:`preventOverflow`,enabled:!0,phase:`main`,fn:at,requiresIfExists:[`offset`]};function st(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ct(e){return e===T(e)||!D(e)?je(e):st(e)}function lt(e){var t=e.getBoundingClientRect(),n=P(t.width)/e.offsetWidth||1,r=P(t.height)/e.offsetHeight||1;return n!==1||r!==1}function ut(e,t,n){n===void 0&&(n=!1);var r=D(t),i=D(t)&&lt(t),a=z(t),o=L(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((w(t)!==`body`||Fe(a))&&(s=ct(t)),D(t)?(c=L(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Me(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function dt(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||i(e)}),r}function ft(e){var t=dt(e);return C.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function pt(e){var t;return function(){return t||=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})}),t}}function mt(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var ht={placement:`bottom`,modifiers:[],strategy:`absolute`};function gt(){return![...arguments].some(function(e){return!(e&&typeof e.getBoundingClientRect==`function`)})}function _t(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?ht:i;return function(e,t,n){n===void 0&&(n=a);var i={placement:`bottom`,orderedModifiers:[],options:Object.assign({},ht,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,c={state:i,setOptions:function(n){var o=typeof n==`function`?n(i.options):n;u(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:E(e)?Le(e):e.contextElement?Le(e.contextElement):[],popper:Le(t)};var s=ft(mt([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),l(),c.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(gt(t,n)){i.rects={reference:ut(t,se(n),i.options.strategy===`fixed`),popper:te(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++){if(i.reset===!0){i.reset=!1,r=-1;continue}var a=i.orderedModifiers[r],o=a.fn,l=a.options,u=l===void 0?{}:l,d=a.name;typeof o==`function`&&(i=o({state:i,options:u,name:d,instance:c})||i)}}}},update:pt(function(){return new Promise(function(e){c.forceUpdate(),e(i)})}),destroy:function(){u(),s=!0}};if(!gt(e,t))return c;c.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)});function l(){i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,a=e.effect;if(typeof a==`function`){var s=a({state:i,name:t,instance:c,options:r});o.push(s||function(){})}})}function u(){o.forEach(function(e){return e()}),o=[]}return c}}var vt=_t(),yt=_t({defaultModifiers:[Ee,rt,Ce,j]}),bt=_t({defaultModifiers:[Ee,rt,Ce,j,tt,Je,ot,_e,Qe]}),xt=t({afterMain:()=>y,afterRead:()=>g,afterWrite:()=>S,applyStyles:()=>j,arrow:()=>_e,auto:()=>a,basePlacements:()=>o,beforeMain:()=>_,beforeRead:()=>m,beforeWrite:()=>b,bottom:()=>n,clippingParents:()=>c,computeStyles:()=>Ce,createPopper:()=>bt,createPopperBase:()=>vt,createPopperLite:()=>yt,detectOverflow:()=>We,end:()=>`end`,eventListeners:()=>Ee,flip:()=>Je,hide:()=>Qe,left:()=>i,main:()=>v,modifierPhases:()=>C,offset:()=>tt,placements:()=>p,popper:()=>u,popperGenerator:()=>_t,popperOffsets:()=>rt,preventOverflow:()=>ot,read:()=>h,reference:()=>d,right:()=>r,start:()=>s,top:()=>`top`,variationPlacements:()=>f,viewport:()=>l,write:()=>x}),St=t({Alert:()=>vn,Button:()=>Tn,Carousel:()=>br,Collapse:()=>Vr,Dropdown:()=>Ti,Modal:()=>_a,Offcanvas:()=>Ra,Popover:()=>Do,ScrollSpy:()=>Go,Tab:()=>bs,Toast:()=>Ls,Tooltip:()=>xo}),B=new Map,Ct={set(e,t,n){
/*!
* Bootstrap v5.3.8 (https://getbootstrap.com/)
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
B.has(e)||B.set(e,new Map);let r=B.get(e);if(!r.has(t)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(t,n)},get(e,t){return B.has(e)&&B.get(e).get(t)||null},remove(e,t){if(!B.has(e))return;let n=B.get(e);n.delete(t),n.size===0&&B.delete(e)}},wt=1e6,Tt=1e3,Et=`transitionend`,Dt=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),Ot=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),kt=e=>{do e+=Math.floor(Math.random()*wt);while(document.getElementById(e));return e},At=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);return!Number.parseFloat(t)&&!Number.parseFloat(n)?0:(t=t.split(`,`)[0],n=n.split(`,`)[0],(Number.parseFloat(t)+Number.parseFloat(n))*Tt)},jt=e=>{e.dispatchEvent(new Event(Et))},V=e=>!e||typeof e!=`object`?!1:(e.jquery!==void 0&&(e=e[0]),e.nodeType!==void 0),H=e=>V(e)?e.jquery?e[0]:e:typeof e==`string`&&e.length>0?document.querySelector(Dt(e)):null,Mt=e=>{if(!V(e)||e.getClientRects().length===0)return!1;let t=getComputedStyle(e).getPropertyValue(`visibility`)===`visible`,n=e.closest(`details:not([open])`);if(!n)return t;if(n!==e){let t=e.closest(`summary`);if(t&&t.parentNode!==n||t===null)return!1}return t},U=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains(`disabled`)?!0:e.disabled===void 0?e.hasAttribute(`disabled`)&&e.getAttribute(`disabled`)!==`false`:e.disabled,Nt=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode==`function`){let t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Nt(e.parentNode):null},Pt=()=>{},Ft=e=>{e.offsetHeight},It=()=>window.jQuery&&!document.body.hasAttribute(`data-bs-no-jquery`)?window.jQuery:null,Lt=[],Rt=e=>{document.readyState===`loading`?(Lt.length||document.addEventListener(`DOMContentLoaded`,()=>{for(let e of Lt)e()}),Lt.push(e)):e()},W=()=>document.documentElement.dir===`rtl`,G=e=>{Rt(()=>{let t=It();if(t){let n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},K=(e,t=[],n=e)=>typeof e==`function`?e.call(...t):n,zt=(e,t,n=!0)=>{if(!n){K(e);return}let r=At(t)+5,i=!1,a=({target:n})=>{n===t&&(i=!0,t.removeEventListener(Et,a),K(e))};t.addEventListener(Et,a),setTimeout(()=>{i||jt(t)},r)},Bt=(e,t,n,r)=>{let i=e.length,a=e.indexOf(t);return a===-1?!n&&r?e[i-1]:e[0]:(a+=n?1:-1,r&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},Vt=/[^.]*(?=\..*)\.|.*/,Ht=/\..*/,Ut=/::\d+$/,Wt={},Gt=1,Kt={mouseenter:`mouseover`,mouseleave:`mouseout`},qt=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`.split(`.`));function Jt(e,t){return t&&`${t}::${Gt++}`||e.uidEvent||Gt++}function Yt(e){let t=Jt(e);return e.uidEvent=t,Wt[t]=Wt[t]||{},Wt[t]}function Xt(e,t){return function n(r){return an(r,{delegateTarget:e}),n.oneOff&&q.off(e,r.type,t),t.apply(e,[r])}}function Zt(e,t,n){return function r(i){let a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(let s of a)if(s===o)return an(i,{delegateTarget:o}),r.oneOff&&q.off(e,i.type,t,n),n.apply(o,[i])}}function Qt(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function $t(e,t,n){let r=typeof t==`string`,i=r?n:t||n,a=rn(e);return qt.has(a)||(a=e),[r,i,a]}function en(e,t,n,r,i){if(typeof t!=`string`||!e)return;let[a,o,s]=$t(t,n,r);t in Kt&&(o=(e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)})(o));let c=Yt(e),l=c[s]||(c[s]={}),u=Qt(l,o,a?n:null);if(u){u.oneOff=u.oneOff&&i;return}let d=Jt(o,t.replace(Vt,``)),f=a?Zt(e,n,o):Xt(e,o);f.delegationSelector=a?n:null,f.callable=o,f.oneOff=i,f.uidEvent=d,l[d]=f,e.addEventListener(s,f,a)}function tn(e,t,n,r,i){let a=Qt(t[n],r,i);a&&(e.removeEventListener(n,a,!!i),delete t[n][a.uidEvent])}function nn(e,t,n,r){let i=t[n]||{};for(let[a,o]of Object.entries(i))a.includes(r)&&tn(e,t,n,o.callable,o.delegationSelector)}function rn(e){return e=e.replace(Ht,``),Kt[e]||e}var q={on(e,t,n,r){en(e,t,n,r,!1)},one(e,t,n,r){en(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!=`string`||!e)return;let[i,a,o]=$t(t,n,r),s=o!==t,c=Yt(e),l=c[o]||{},u=t.startsWith(`.`);if(a!==void 0){if(!Object.keys(l).length)return;tn(e,c,o,a,i?n:null);return}if(u)for(let n of Object.keys(c))nn(e,c,n,t.slice(1));for(let[n,r]of Object.entries(l)){let i=n.replace(Ut,``);(!s||t.includes(i))&&tn(e,c,o,r.callable,r.delegationSelector)}},trigger(e,t,n){if(typeof t!=`string`||!e)return null;let r=It(),i=t!==rn(t),a=null,o=!0,s=!0,c=!1;i&&r&&(a=r.Event(t,n),r(e).trigger(a),o=!a.isPropagationStopped(),s=!a.isImmediatePropagationStopped(),c=a.isDefaultPrevented());let l=an(new Event(t,{bubbles:o,cancelable:!0}),n);return c&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&a&&a.preventDefault(),l}};function an(e,t={}){for(let[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function on(e){if(e===`true`)return!0;if(e===`false`)return!1;if(e===Number(e).toString())return Number(e);if(e===``||e===`null`)return null;if(typeof e!=`string`)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function sn(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}var J={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${sn(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${sn(t)}`)},getDataAttributes(e){if(!e)return{};let t={},n=Object.keys(e.dataset).filter(e=>e.startsWith(`bs`)&&!e.startsWith(`bsConfig`));for(let r of n){let n=r.replace(/^bs/,``);n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=on(e.dataset[r])}return t},getDataAttribute(e,t){return on(e.getAttribute(`data-bs-${sn(t)}`))}},cn=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw Error(`You have to implement the static method "NAME", for each component!`)}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){let n=V(t)?J.getDataAttribute(t,`config`):{};return{...this.constructor.Default,...typeof n==`object`?n:{},...V(t)?J.getDataAttributes(t):{},...typeof e==`object`?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(let[n,r]of Object.entries(t)){let t=e[n],i=V(t)?`element`:Ot(t);if(!new RegExp(r).test(i))throw TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${r}".`)}}},ln=`5.3.8`,Y=class extends cn{constructor(e,t){super(),e=H(e),e&&(this._element=e,this._config=this._getConfig(t),Ct.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ct.remove(this._element,this.constructor.DATA_KEY),q.off(this._element,this.constructor.EVENT_KEY);for(let e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){zt(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ct.get(H(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t==`object`?t:null)}static get VERSION(){return ln}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},un=e=>{let t=e.getAttribute(`data-bs-target`);if(!t||t===`#`){let n=e.getAttribute(`href`);if(!n||!n.includes(`#`)&&!n.startsWith(`.`))return null;n.includes(`#`)&&!n.startsWith(`#`)&&(n=`#${n.split(`#`)[1]}`),t=n&&n!==`#`?n.trim():null}return t?t.split(`,`).map(e=>Dt(e)).join(`,`):null},X={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){let n=[],r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){let t=[`a`,`button`,`input`,`textarea`,`select`,`details`,`[tabindex]`,`[contenteditable="true"]`].map(e=>`${e}:not([tabindex^="-"])`).join(`,`);return this.find(t,e).filter(e=>!U(e)&&Mt(e))},getSelectorFromElement(e){let t=un(e);return t&&X.findOne(t)?t:null},getElementFromSelector(e){let t=un(e);return t?X.findOne(t):null},getMultipleElementsFromSelector(e){let t=un(e);return t?X.find(t):[]}},dn=(e,t=`hide`)=>{let n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;q.on(document,n,`[data-bs-dismiss="${r}"]`,function(n){if([`A`,`AREA`].includes(this.tagName)&&n.preventDefault(),U(this))return;let i=X.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},fn=`alert`,pn=`.bs.alert`,mn=`close${pn}`,hn=`closed${pn}`,gn=`fade`,_n=`show`,vn=class e extends Y{static get NAME(){return fn}close(){if(q.trigger(this._element,mn).defaultPrevented)return;this._element.classList.remove(_n);let e=this._element.classList.contains(gn);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),q.trigger(this._element,hn),this.dispose()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};dn(vn,`close`),G(vn);var yn=`button`,bn=`.bs.button`,xn=`.data-api`,Sn=`active`,Cn=`[data-bs-toggle="button"]`,wn=`click${bn}${xn}`,Tn=class e extends Y{static get NAME(){return yn}toggle(){this._element.setAttribute(`aria-pressed`,this._element.classList.toggle(Sn))}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);t===`toggle`&&n[t]()})}};q.on(document,wn,Cn,e=>{e.preventDefault();let t=e.target.closest(Cn);Tn.getOrCreateInstance(t).toggle()}),G(Tn);var En=`swipe`,Dn=`.bs.swipe`,On=`touchstart${Dn}`,kn=`touchmove${Dn}`,An=`touchend${Dn}`,jn=`pointerdown${Dn}`,Mn=`pointerup${Dn}`,Nn=`touch`,Pn=`pen`,Fn=`pointer-event`,In=40,Ln={endCallback:null,leftCallback:null,rightCallback:null},Rn={endCallback:`(function|null)`,leftCallback:`(function|null)`,rightCallback:`(function|null)`},zn=class e extends cn{constructor(t,n){super(),this._element=t,t&&e.isSupported()&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ln}static get DefaultType(){return Rn}static get NAME(){return En}dispose(){q.off(this._element,Dn)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),K(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){let e=Math.abs(this._deltaX);if(e<=In)return;let t=e/this._deltaX;this._deltaX=0,t&&K(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(q.on(this._element,jn,e=>this._start(e)),q.on(this._element,Mn,e=>this._end(e)),this._element.classList.add(Fn)):(q.on(this._element,On,e=>this._start(e)),q.on(this._element,kn,e=>this._move(e)),q.on(this._element,An,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Pn||e.pointerType===Nn)}static isSupported(){return`ontouchstart`in document.documentElement||navigator.maxTouchPoints>0}},Bn=`carousel`,Z=`.bs.carousel`,Vn=`.data-api`,Hn=`ArrowLeft`,Un=`ArrowRight`,Wn=500,Gn=`next`,Kn=`prev`,qn=`left`,Jn=`right`,Yn=`slide${Z}`,Xn=`slid${Z}`,Zn=`keydown${Z}`,Qn=`mouseenter${Z}`,$n=`mouseleave${Z}`,er=`dragstart${Z}`,tr=`load${Z}${Vn}`,nr=`click${Z}${Vn}`,rr=`carousel`,ir=`active`,ar=`slide`,or=`carousel-item-end`,sr=`carousel-item-start`,cr=`carousel-item-next`,lr=`carousel-item-prev`,ur=`.active`,dr=`.carousel-item`,fr=`.active.carousel-item`,pr=`.carousel-item img`,mr=`.carousel-indicators`,hr=`[data-bs-slide], [data-bs-slide-to]`,gr=`[data-bs-ride="carousel"]`,_r={[Hn]:Jn,[Un]:qn},vr={interval:5e3,keyboard:!0,pause:`hover`,ride:!1,touch:!0,wrap:!0},yr={interval:`(number|boolean)`,keyboard:`boolean`,pause:`(string|boolean)`,ride:`(boolean|string)`,touch:`boolean`,wrap:`boolean`},br=class e extends Y{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=X.findOne(mr,this._element),this._addEventListeners(),this._config.ride===rr&&this.cycle()}static get Default(){return vr}static get DefaultType(){return yr}static get NAME(){return Bn}next(){this._slide(Gn)}nextWhenVisible(){!document.hidden&&Mt(this._element)&&this.next()}prev(){this._slide(Kn)}pause(){this._isSliding&&jt(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){q.one(this._element,Xn,()=>this.cycle());return}this.cycle()}}to(e){let t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){q.one(this._element,Xn,()=>this.to(e));return}let n=this._getItemIndex(this._getActive());if(n===e)return;let r=e>n?Gn:Kn;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&q.on(this._element,Zn,e=>this._keydown(e)),this._config.pause===`hover`&&(q.on(this._element,Qn,()=>this.pause()),q.on(this._element,$n,()=>this._maybeEnableCycle())),this._config.touch&&zn.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let e of X.find(pr,this._element))q.on(e,er,e=>e.preventDefault());let e={leftCallback:()=>this._slide(this._directionToOrder(qn)),rightCallback:()=>this._slide(this._directionToOrder(Jn)),endCallback:()=>{this._config.pause===`hover`&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Wn+this._config.interval))}};this._swipeHelper=new zn(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;let t=_r[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;let t=X.findOne(ur,this._indicatorsElement);t.classList.remove(ir),t.removeAttribute(`aria-current`);let n=X.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(ir),n.setAttribute(`aria-current`,`true`))}_updateInterval(){let e=this._activeElement||this._getActive();if(!e)return;let t=Number.parseInt(e.getAttribute(`data-bs-interval`),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;let n=this._getActive(),r=e===Gn,i=t||Bt(this._getItems(),n,r,this._config.wrap);if(i===n)return;let a=this._getItemIndex(i),o=t=>q.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:a});if(o(Yn).defaultPrevented||!n||!i)return;let s=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=i;let c=r?sr:or,l=r?cr:lr;i.classList.add(l),Ft(i),n.classList.add(c),i.classList.add(c),this._queueCallback(()=>{i.classList.remove(c,l),i.classList.add(ir),n.classList.remove(ir,l,c),this._isSliding=!1,o(Xn)},n,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains(ar)}_getActive(){return X.findOne(fr,this._element)}_getItems(){return X.find(dr,this._element)}_clearInterval(){this._interval&&=(clearInterval(this._interval),null)}_directionToOrder(e){return W()?e===qn?Kn:Gn:e===qn?Gn:Kn}_orderToDirection(e){return W()?e===Kn?qn:Jn:e===Kn?Jn:qn}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`number`){n.to(t);return}if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};q.on(document,nr,hr,function(e){let t=X.getElementFromSelector(this);if(!t||!t.classList.contains(rr))return;e.preventDefault();let n=br.getOrCreateInstance(t),r=this.getAttribute(`data-bs-slide-to`);if(r){n.to(r),n._maybeEnableCycle();return}if(J.getDataAttribute(this,`slide`)===`next`){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()}),q.on(window,tr,()=>{let e=X.find(gr);for(let t of e)br.getOrCreateInstance(t)}),G(br);var xr=`collapse`,Sr=`.bs.collapse`,Cr=`.data-api`,wr=`show${Sr}`,Tr=`shown${Sr}`,Er=`hide${Sr}`,Dr=`hidden${Sr}`,Or=`click${Sr}${Cr}`,kr=`show`,Ar=`collapse`,jr=`collapsing`,Mr=`collapsed`,Nr=`:scope .${Ar} .${Ar}`,Pr=`collapse-horizontal`,Fr=`width`,Ir=`height`,Lr=`.collapse.show, .collapse.collapsing`,Rr=`[data-bs-toggle="collapse"]`,zr={parent:null,toggle:!0},Br={parent:`(null|element)`,toggle:`boolean`},Vr=class e extends Y{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];let n=X.find(Rr);for(let e of n){let t=X.getSelectorFromElement(e),n=X.find(t).filter(e=>e===this._element);t!==null&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return zr}static get DefaultType(){return Br}static get NAME(){return xr}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Lr).filter(e=>e!==this._element).map(t=>e.getOrCreateInstance(t,{toggle:!1}))),t.length&&t[0]._isTransitioning||q.trigger(this._element,wr).defaultPrevented)return;for(let e of t)e.hide();let n=this._getDimension();this._element.classList.remove(Ar),this._element.classList.add(jr),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let r=()=>{this._isTransitioning=!1,this._element.classList.remove(jr),this._element.classList.add(Ar,kr),this._element.style[n]=``,q.trigger(this._element,Tr)},i=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[n]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||q.trigger(this._element,Er).defaultPrevented)return;let e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Ft(this._element),this._element.classList.add(jr),this._element.classList.remove(Ar,kr);for(let e of this._triggerArray){let t=X.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;let t=()=>{this._isTransitioning=!1,this._element.classList.remove(jr),this._element.classList.add(Ar),q.trigger(this._element,Dr)};this._element.style[e]=``,this._queueCallback(t,this._element,!0)}_isShown(e=this._element){return e.classList.contains(kr)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=H(e.parent),e}_getDimension(){return this._element.classList.contains(Pr)?Fr:Ir}_initializeChildren(){if(!this._config.parent)return;let e=this._getFirstLevelChildren(Rr);for(let t of e){let e=X.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){let t=X.find(Nr,this._config.parent);return X.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(let n of e)n.classList.toggle(Mr,!t),n.setAttribute(`aria-expanded`,t)}static jQueryInterface(t){let n={};return typeof t==`string`&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){let r=e.getOrCreateInstance(this,n);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t]()}})}};q.on(document,Or,Rr,function(e){(e.target.tagName===`A`||e.delegateTarget&&e.delegateTarget.tagName===`A`)&&e.preventDefault();for(let e of X.getMultipleElementsFromSelector(this))Vr.getOrCreateInstance(e,{toggle:!1}).toggle()}),G(Vr);var Hr=`dropdown`,Ur=`.bs.dropdown`,Wr=`.data-api`,Gr=`Escape`,Kr=`Tab`,qr=`ArrowUp`,Jr=`ArrowDown`,Yr=2,Xr=`hide${Ur}`,Zr=`hidden${Ur}`,Qr=`show${Ur}`,$r=`shown${Ur}`,ei=`click${Ur}${Wr}`,ti=`keydown${Ur}${Wr}`,ni=`keyup${Ur}${Wr}`,ri=`show`,ii=`dropup`,ai=`dropend`,oi=`dropstart`,si=`dropup-center`,ci=`dropdown-center`,li=`[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)`,ui=`${li}.${ri}`,di=`.dropdown-menu`,fi=`.navbar`,pi=`.navbar-nav`,mi=`.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)`,hi=W()?`top-end`:`top-start`,gi=W()?`top-start`:`top-end`,_i=W()?`bottom-end`:`bottom-start`,vi=W()?`bottom-start`:`bottom-end`,yi=W()?`left-start`:`right-start`,bi=W()?`right-start`:`left-start`,xi=`top`,Si=`bottom`,Ci={autoClose:!0,boundary:`clippingParents`,display:`dynamic`,offset:[0,2],popperConfig:null,reference:`toggle`},wi={autoClose:`(boolean|string)`,boundary:`(string|element)`,display:`string`,offset:`(array|string|function)`,popperConfig:`(null|object|function)`,reference:`(string|element|object)`},Ti=class e extends Y{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=X.next(this._element,di)[0]||X.prev(this._element,di)[0]||X.findOne(di,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ci}static get DefaultType(){return wi}static get NAME(){return Hr}toggle(){return this._isShown()?this.hide():this.show()}show(){if(U(this._element)||this._isShown())return;let e={relatedTarget:this._element};if(!q.trigger(this._element,Qr,e).defaultPrevented){if(this._createPopper(),`ontouchstart`in document.documentElement&&!this._parent.closest(pi))for(let e of[].concat(...document.body.children))q.on(e,`mouseover`,Pt);this._element.focus(),this._element.setAttribute(`aria-expanded`,!0),this._menu.classList.add(ri),this._element.classList.add(ri),q.trigger(this._element,$r,e)}}hide(){if(U(this._element)||!this._isShown())return;let e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!q.trigger(this._element,Xr,e).defaultPrevented){if(`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))q.off(e,`mouseover`,Pt);this._popper&&this._popper.destroy(),this._menu.classList.remove(ri),this._element.classList.remove(ri),this._element.setAttribute(`aria-expanded`,`false`),J.removeDataAttribute(this._menu,`popper`),q.trigger(this._element,Zr,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference==`object`&&!V(e.reference)&&typeof e.reference.getBoundingClientRect!=`function`)throw TypeError(`${Hr.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(xt===void 0)throw TypeError(`Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)`);let e=this._element;this._config.reference===`parent`?e=this._parent:V(this._config.reference)?e=H(this._config.reference):typeof this._config.reference==`object`&&(e=this._config.reference);let t=this._getPopperConfig();this._popper=bt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(ri)}_getPlacement(){let e=this._parent;if(e.classList.contains(ai))return yi;if(e.classList.contains(oi))return bi;if(e.classList.contains(si))return xi;if(e.classList.contains(ci))return Si;let t=getComputedStyle(this._menu).getPropertyValue(`--bs-position`).trim()===`end`;return e.classList.contains(ii)?t?gi:hi:t?vi:_i}_detectNavbar(){return this._element.closest(fi)!==null}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_getPopperConfig(){let e={placement:this._getPlacement(),modifiers:[{name:`preventOverflow`,options:{boundary:this._config.boundary}},{name:`offset`,options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display===`static`)&&(J.setDataAttribute(this._menu,`popper`,`static`),e.modifiers=[{name:`applyStyles`,enabled:!1}]),{...e,...K(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){let n=X.find(mi,this._menu).filter(e=>Mt(e));n.length&&Bt(n,t,e===Jr,!n.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Yr||t.type===`keyup`&&t.key!==Kr)return;let n=X.find(ui);for(let r of n){let n=e.getInstance(r);if(!n||n._config.autoClose===!1)continue;let i=t.composedPath(),a=i.includes(n._menu);if(i.includes(n._element)||n._config.autoClose===`inside`&&!a||n._config.autoClose===`outside`&&a||n._menu.contains(t.target)&&(t.type===`keyup`&&t.key===Kr||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let o={relatedTarget:n._element};t.type===`click`&&(o.clickEvent=t),n._completeHide(o)}}static dataApiKeydownHandler(t){let n=/input|textarea/i.test(t.target.tagName),r=t.key===Gr,i=[qr,Jr].includes(t.key);if(!i&&!r||n&&!r)return;t.preventDefault();let a=this.matches(li)?this:X.prev(this,li)[0]||X.next(this,li)[0]||X.findOne(li,t.delegateTarget.parentNode),o=e.getOrCreateInstance(a);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),a.focus())}};q.on(document,ti,li,Ti.dataApiKeydownHandler),q.on(document,ti,di,Ti.dataApiKeydownHandler),q.on(document,ei,Ti.clearMenus),q.on(document,ni,Ti.clearMenus),q.on(document,ei,li,function(e){e.preventDefault(),Ti.getOrCreateInstance(this).toggle()}),G(Ti);var Ei=`backdrop`,Di=`fade`,Oi=`show`,ki=`mousedown.bs.${Ei}`,Ai={className:`modal-backdrop`,clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:`body`},ji={className:`string`,clickCallback:`(function|null)`,isAnimated:`boolean`,isVisible:`boolean`,rootElement:`(element|string)`},Mi=class extends cn{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Ai}static get DefaultType(){return ji}static get NAME(){return Ei}show(e){if(!this._config.isVisible){K(e);return}this._append();let t=this._getElement();this._config.isAnimated&&Ft(t),t.classList.add(Oi),this._emulateAnimation(()=>{K(e)})}hide(e){if(!this._config.isVisible){K(e);return}this._getElement().classList.remove(Oi),this._emulateAnimation(()=>{this.dispose(),K(e)})}dispose(){this._isAppended&&=(q.off(this._element,ki),this._element.remove(),!1)}_getElement(){if(!this._element){let e=document.createElement(`div`);e.className=this._config.className,this._config.isAnimated&&e.classList.add(Di),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=H(e.rootElement),e}_append(){if(this._isAppended)return;let e=this._getElement();this._config.rootElement.append(e),q.on(e,ki,()=>{K(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){zt(e,this._getElement(),this._config.isAnimated)}},Ni=`focustrap`,Pi=`.bs.focustrap`,Fi=`focusin${Pi}`,Ii=`keydown.tab${Pi}`,Li=`Tab`,Ri=`forward`,zi=`backward`,Bi={autofocus:!0,trapElement:null},Vi={autofocus:`boolean`,trapElement:`element`},Hi=class extends cn{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Bi}static get DefaultType(){return Vi}static get NAME(){return Ni}activate(){this._isActive||=(this._config.autofocus&&this._config.trapElement.focus(),q.off(document,Pi),q.on(document,Fi,e=>this._handleFocusin(e)),q.on(document,Ii,e=>this._handleKeydown(e)),!0)}deactivate(){this._isActive&&(this._isActive=!1,q.off(document,Pi))}_handleFocusin(e){let{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;let n=X.focusableChildren(t);n.length===0?t.focus():this._lastTabNavDirection===zi?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===Li&&(this._lastTabNavDirection=e.shiftKey?zi:Ri)}},Ui=`.fixed-top, .fixed-bottom, .is-fixed, .sticky-top`,Wi=`.sticky-top`,Gi=`padding-right`,Ki=`margin-right`,qi=class{constructor(){this._element=document.body}getWidth(){let e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){let e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Gi,t=>t+e),this._setElementAttributes(Ui,Gi,t=>t+e),this._setElementAttributes(Wi,Ki,t=>t-e)}reset(){this._resetElementAttributes(this._element,`overflow`),this._resetElementAttributes(this._element,Gi),this._resetElementAttributes(Ui,Gi),this._resetElementAttributes(Wi,Ki)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,`overflow`),this._element.style.overflow=`hidden`}_setElementAttributes(e,t,n){let r=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);let i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)})}_saveInitialAttribute(e,t){let n=e.style.getPropertyValue(t);n&&J.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{let n=J.getDataAttribute(e,t);if(n===null){e.style.removeProperty(t);return}J.removeDataAttribute(e,t),e.style.setProperty(t,n)})}_applyManipulationCallback(e,t){if(V(e)){t(e);return}for(let n of X.find(e,this._element))t(n)}},Ji=`modal`,Q=`.bs.modal`,Yi=`.data-api`,Xi=`Escape`,Zi=`hide${Q}`,Qi=`hidePrevented${Q}`,$i=`hidden${Q}`,ea=`show${Q}`,ta=`shown${Q}`,na=`resize${Q}`,ra=`click.dismiss${Q}`,ia=`mousedown.dismiss${Q}`,aa=`keydown.dismiss${Q}`,oa=`click${Q}${Yi}`,sa=`modal-open`,ca=`fade`,la=`show`,ua=`modal-static`,da=`.modal.show`,fa=`.modal-dialog`,pa=`.modal-body`,ma=`[data-bs-toggle="modal"]`,ha={backdrop:!0,focus:!0,keyboard:!0},ga={backdrop:`(boolean|string)`,focus:`boolean`,keyboard:`boolean`},_a=class e extends Y{constructor(e,t){super(e,t),this._dialog=X.findOne(fa,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new qi,this._addEventListeners()}static get Default(){return ha}static get DefaultType(){return ga}static get NAME(){return Ji}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||q.trigger(this._element,ea,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sa),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(q.trigger(this._element,Zi).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(la),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){q.off(window,Q),q.off(this._dialog,Q),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Mi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Hi({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||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;let t=X.findOne(pa,this._dialog);t&&(t.scrollTop=0),Ft(this._element),this._element.classList.add(la),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,q.trigger(this._element,ta,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){q.on(this._element,aa,e=>{if(e.key===Xi){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),q.on(window,na,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),q.on(this._element,ia,e=>{q.one(this._element,ra,t=>{if(this._element===e.target&&this._element===t.target){if(this._config.backdrop===`static`){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(sa),this._resetAdjustments(),this._scrollBar.reset(),q.trigger(this._element,$i)})}_isAnimated(){return this._element.classList.contains(ca)}_triggerBackdropTransition(){if(q.trigger(this._element,Qi).defaultPrevented)return;let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;t===`hidden`||this._element.classList.contains(ua)||(e||(this._element.style.overflowY=`hidden`),this._element.classList.add(ua),this._queueCallback(()=>{this._element.classList.remove(ua),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){let e=W()?`paddingLeft`:`paddingRight`;this._element.style[e]=`${t}px`}if(!n&&e){let e=W()?`paddingRight`:`paddingLeft`;this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft=``,this._element.style.paddingRight=``}static jQueryInterface(t,n){return this.each(function(){let r=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t](n)}})}};q.on(document,oa,ma,function(e){let t=X.getElementFromSelector(this);[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),q.one(t,ea,e=>{e.defaultPrevented||q.one(t,$i,()=>{Mt(this)&&this.focus()})});let n=X.findOne(da);n&&_a.getInstance(n).hide(),_a.getOrCreateInstance(t).toggle(this)}),dn(_a),G(_a);var va=`offcanvas`,$=`.bs.offcanvas`,ya=`.data-api`,ba=`load${$}${ya}`,xa=`Escape`,Sa=`show`,Ca=`showing`,wa=`hiding`,Ta=`offcanvas-backdrop`,Ea=`.offcanvas.show`,Da=`show${$}`,Oa=`shown${$}`,ka=`hide${$}`,Aa=`hidePrevented${$}`,ja=`hidden${$}`,Ma=`resize${$}`,Na=`click${$}${ya}`,Pa=`keydown.dismiss${$}`,Fa=`[data-bs-toggle="offcanvas"]`,Ia={backdrop:!0,keyboard:!0,scroll:!1},La={backdrop:`(boolean|string)`,keyboard:`boolean`,scroll:`boolean`},Ra=class e extends Y{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ia}static get DefaultType(){return La}static get NAME(){return va}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||q.trigger(this._element,Da,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new qi().hide(),this._element.setAttribute(`aria-modal`,!0),this._element.setAttribute(`role`,`dialog`),this._element.classList.add(Ca),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Sa),this._element.classList.remove(Ca),q.trigger(this._element,Oa,{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&!q.trigger(this._element,ka).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(wa),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Sa,wa),this._element.removeAttribute(`aria-modal`),this._element.removeAttribute(`role`),this._config.scroll||new qi().reset(),q.trigger(this._element,ja)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let e=()=>{if(this._config.backdrop===`static`){q.trigger(this._element,Aa);return}this.hide()},t=!!this._config.backdrop;return new Mi({className:Ta,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new Hi({trapElement:this._element})}_addEventListeners(){q.on(this._element,Pa,e=>{if(e.key===xa){if(this._config.keyboard){this.hide();return}q.trigger(this._element,Aa)}})}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};q.on(document,Na,Fa,function(e){let t=X.getElementFromSelector(this);if([`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),U(this))return;q.one(t,ja,()=>{Mt(this)&&this.focus()});let n=X.findOne(Ea);n&&n!==t&&Ra.getInstance(n).hide(),Ra.getOrCreateInstance(t).toggle(this)}),q.on(window,ba,()=>{for(let e of X.find(Ea))Ra.getOrCreateInstance(e).show()}),q.on(window,Ma,()=>{for(let e of X.find(`[aria-modal][class*=show][class*=offcanvas-]`))getComputedStyle(e).position!==`fixed`&&Ra.getOrCreateInstance(e).hide()}),dn(Ra),G(Ra);var za={"*":[`class`,`dir`,`id`,`lang`,`role`,/^aria-[\w-]*$/i],a:[`target`,`href`,`title`,`rel`],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},Ba=new Set([`background`,`cite`,`href`,`itemtype`,`longdesc`,`poster`,`src`,`xlink:href`]),Va=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Ha=(e,t)=>{let n=e.nodeName.toLowerCase();return t.includes(n)?!Ba.has(n)||!!Va.test(e.nodeValue):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};function Ua(e,t,n){if(!e.length)return e;if(n&&typeof n==`function`)return n(e);let r=new window.DOMParser().parseFromString(e,`text/html`),i=[].concat(...r.body.querySelectorAll(`*`));for(let e of i){let n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}let r=[].concat(...e.attributes),i=[].concat(t[`*`]||[],t[n]||[]);for(let t of r)Ha(t,i)||e.removeAttribute(t.nodeName)}return r.body.innerHTML}var Wa=`TemplateFactory`,Ga={allowList:za,content:{},extraClass:``,html:!1,sanitize:!0,sanitizeFn:null,template:`<div></div>`},Ka={allowList:`object`,content:`object`,extraClass:`(string|function)`,html:`boolean`,sanitize:`boolean`,sanitizeFn:`(null|function)`,template:`string`},qa={entry:`(string|element|function|null)`,selector:`(string|element)`},Ja=class extends cn{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ga}static get DefaultType(){return Ka}static get NAME(){return Wa}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){let e=document.createElement(`div`);e.innerHTML=this._maybeSanitize(this._config.template);for(let[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);let t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(` `)),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(let[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},qa)}_setContent(e,t,n){let r=X.findOne(n,e);if(r){if(t=this._resolvePossibleFunction(t),!t){r.remove();return}if(V(t)){this._putElementInTemplate(H(t),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(t);return}r.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Ua(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return K(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML=``,t.append(e);return}t.textContent=e.textContent}},Ya=`tooltip`,Xa=new Set([`sanitize`,`allowList`,`sanitizeFn`]),Za=`fade`,Qa=`modal`,$a=`show`,eo=`.tooltip-inner`,to=`.${Qa}`,no=`hide.bs.modal`,ro=`hover`,io=`focus`,ao=`click`,oo=`manual`,so=`hide`,co=`hidden`,lo=`show`,uo=`shown`,fo=`inserted`,po=`click`,mo=`focusin`,ho=`focusout`,go=`mouseenter`,_o=`mouseleave`,vo={AUTO:`auto`,TOP:`top`,RIGHT:W()?`left`:`right`,BOTTOM:`bottom`,LEFT:W()?`right`:`left`},yo={allowList:za,animation:!0,boundary:`clippingParents`,container:!1,customClass:``,delay:0,fallbackPlacements:[`top`,`right`,`bottom`,`left`],html:!1,offset:[0,6],placement:`top`,popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:`<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>`,title:``,trigger:`hover focus`},bo={allowList:`object`,animation:`boolean`,boundary:`(string|element)`,container:`(string|element|boolean)`,customClass:`(string|function)`,delay:`(number|object)`,fallbackPlacements:`array`,html:`boolean`,offset:`(array|string|function)`,placement:`(string|function)`,popperConfig:`(null|object|function)`,sanitize:`boolean`,sanitizeFn:`(null|function)`,selector:`(string|boolean)`,template:`string`,title:`(string|element|function)`,trigger:`string`},xo=class e extends Y{constructor(e,t){if(xt===void 0)throw TypeError(`Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)`);super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return yo}static get DefaultType(){return bo}static get NAME(){return Ya}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),q.off(this._element.closest(to),no,this._hideModalHandler),this._element.getAttribute(`data-bs-original-title`)&&this._element.setAttribute(`title`,this._element.getAttribute(`data-bs-original-title`)),this._disposePopper(),super.dispose()}show(){if(this._element.style.display===`none`)throw Error(`Please use show on visible elements`);if(!(this._isWithContent()&&this._isEnabled))return;let e=q.trigger(this._element,this.constructor.eventName(lo)),t=(Nt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();let n=this._getTipElement();this._element.setAttribute(`aria-describedby`,n.getAttribute(`id`));let{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),q.trigger(this._element,this.constructor.eventName(fo))),this._popper=this._createPopper(n),n.classList.add($a),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))q.on(e,`mouseover`,Pt);this._queueCallback(()=>{q.trigger(this._element,this.constructor.eventName(uo)),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!q.trigger(this._element,this.constructor.eventName(so)).defaultPrevented){if(this._getTipElement().classList.remove($a),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))q.off(e,`mouseover`,Pt);this._activeTrigger[ao]=!1,this._activeTrigger[io]=!1,this._activeTrigger[ro]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute(`aria-describedby`),q.trigger(this._element,this.constructor.eventName(co)))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||=this._createTipElement(this._newContent||this._getContentForTemplate()),this.tip}_createTipElement(e){let t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Za,$a),t.classList.add(`bs-${this.constructor.NAME}-auto`);let n=kt(this.constructor.NAME).toString();return t.setAttribute(`id`,n),this._isAnimated()&&t.classList.add(Za),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ja({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[eo]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute(`data-bs-original-title`)}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Za)}_isShown(){return this.tip&&this.tip.classList.contains($a)}_createPopper(e){let t=vo[K(this._config.placement,[this,e,this._element]).toUpperCase()];return bt(this._element,e,this._getPopperConfig(t))}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_resolvePossibleFunction(e){return K(e,[this._element,this._element])}_getPopperConfig(e){let t={placement:e,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:`preSetPlacement`,enabled:!0,phase:`beforeMain`,fn:e=>{this._getTipElement().setAttribute(`data-popper-placement`,e.state.placement)}}]};return{...t,...K(this._config.popperConfig,[void 0,t])}}_setListeners(){let e=this._config.trigger.split(` `);for(let t of e)if(t===`click`)q.on(this._element,this.constructor.eventName(po),this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[ao]=!(t._isShown()&&t._activeTrigger[ao]),t.toggle()});else if(t!==oo){let e=t===ro?this.constructor.eventName(go):this.constructor.eventName(mo),n=t===ro?this.constructor.eventName(_o):this.constructor.eventName(ho);q.on(this._element,e,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusin`?io:ro]=!0,t._enter()}),q.on(this._element,n,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusout`?io:ro]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},q.on(this._element.closest(to),no,this._hideModalHandler)}_fixTitle(){let e=this._element.getAttribute(`title`);e&&(!this._element.getAttribute(`aria-label`)&&!this._element.textContent.trim()&&this._element.setAttribute(`aria-label`,e),this._element.setAttribute(`data-bs-original-title`,e),this._element.removeAttribute(`title`))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){let t=J.getDataAttributes(this._element);for(let e of Object.keys(t))Xa.has(e)&&delete t[e];return e={...t,...typeof e==`object`&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:H(e.container),typeof e.delay==`number`&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title==`number`&&(e.title=e.title.toString()),typeof e.content==`number`&&(e.content=e.content.toString()),e}_getDelegateConfig(){let e={};for(let[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger=`manual`,e}_disposePopper(){this._popper&&=(this._popper.destroy(),null),this.tip&&=(this.tip.remove(),null)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}};G(xo);var So=`popover`,Co=`.popover-header`,wo=`.popover-body`,To={...xo.Default,content:``,offset:[0,8],placement:`right`,template:`<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>`,trigger:`click`},Eo={...xo.DefaultType,content:`(null|string|element|function)`},Do=class e extends xo{static get Default(){return To}static get DefaultType(){return Eo}static get NAME(){return So}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Co]:this._getTitle(),[wo]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}};G(Do);var Oo=`scrollspy`,ko=`.bs.scrollspy`,Ao=`.data-api`,jo=`activate${ko}`,Mo=`click${ko}`,No=`load${ko}${Ao}`,Po=`dropdown-item`,Fo=`active`,Io=`[data-bs-spy="scroll"]`,Lo=`[href]`,Ro=`.nav, .list-group`,zo=`.nav-link`,Bo=`${zo}, .nav-item > ${zo}, .list-group-item`,Vo=`.dropdown`,Ho=`.dropdown-toggle`,Uo={offset:null,rootMargin:`0px 0px -25%`,smoothScroll:!1,target:null,threshold:[.1,.5,1]},Wo={offset:`(number|null)`,rootMargin:`string`,smoothScroll:`boolean`,target:`element`,threshold:`array`},Go=class e extends Y{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY===`visible`?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Uo}static get DefaultType(){return Wo}static get NAME(){return Oo}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=H(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold==`string`&&(e.threshold=e.threshold.split(`,`).map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(q.off(this._config.target,Mo),q.on(this._config.target,Mo,Lo,e=>{let t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();let n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:r,behavior:`smooth`});return}n.scrollTop=r}}))}_getNewObserver(){let e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){let t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(let a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}let e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(a),!r)return;continue}!i&&!e&&n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let e=X.find(Lo,this._config.target);for(let t of e){if(!t.hash||U(t))continue;let e=X.findOne(decodeURI(t.hash),this._element);Mt(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Fo),this._activateParents(e),q.trigger(this._element,jo,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Po)){X.findOne(Ho,e.closest(Vo)).classList.add(Fo);return}for(let t of X.parents(e,Ro))for(let e of X.prev(t,Bo))e.classList.add(Fo)}_clearActiveClass(e){e.classList.remove(Fo);let t=X.find(`${Lo}.${Fo}`,e);for(let e of t)e.classList.remove(Fo)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};q.on(window,No,()=>{for(let e of X.find(Io))Go.getOrCreateInstance(e)}),G(Go);var Ko=`tab`,qo=`.bs.tab`,Jo=`hide${qo}`,Yo=`hidden${qo}`,Xo=`show${qo}`,Zo=`shown${qo}`,Qo=`click${qo}`,$o=`keydown${qo}`,es=`load${qo}`,ts=`ArrowLeft`,ns=`ArrowRight`,rs=`ArrowUp`,is=`ArrowDown`,as=`Home`,os=`End`,ss=`active`,cs=`fade`,ls=`show`,us=`dropdown`,ds=`.dropdown-toggle`,fs=`.dropdown-menu`,ps=`:not(${ds})`,ms=`.list-group, .nav, [role="tablist"]`,hs=`.nav-item, .list-group-item`,gs=`.nav-link${ps}, .list-group-item${ps}, [role="tab"]${ps}`,_s=`[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]`,vs=`${gs}, ${_s}`,ys=`.${ss}[data-bs-toggle="tab"], .${ss}[data-bs-toggle="pill"], .${ss}[data-bs-toggle="list"]`,bs=class e extends Y{constructor(e){super(e),this._parent=this._element.closest(ms),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),q.on(this._element,$o,e=>this._keydown(e)))}static get NAME(){return Ko}show(){let e=this._element;if(this._elemIsActive(e))return;let t=this._getActiveElem(),n=t?q.trigger(t,Jo,{relatedTarget:e}):null;q.trigger(e,Xo,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(ss),this._activate(X.getElementFromSelector(e)),this._queueCallback(()=>{if(e.getAttribute(`role`)!==`tab`){e.classList.add(ls);return}e.removeAttribute(`tabindex`),e.setAttribute(`aria-selected`,!0),this._toggleDropDown(e,!0),q.trigger(e,Zo,{relatedTarget:t})},e,e.classList.contains(cs)))}_deactivate(e,t){e&&(e.classList.remove(ss),e.blur(),this._deactivate(X.getElementFromSelector(e)),this._queueCallback(()=>{if(e.getAttribute(`role`)!==`tab`){e.classList.remove(ls);return}e.setAttribute(`aria-selected`,!1),e.setAttribute(`tabindex`,`-1`),this._toggleDropDown(e,!1),q.trigger(e,Yo,{relatedTarget:t})},e,e.classList.contains(cs)))}_keydown(t){if(![ts,ns,rs,is,as,os].includes(t.key))return;t.stopPropagation(),t.preventDefault();let n=this._getChildren().filter(e=>!U(e)),r;if([as,os].includes(t.key))r=n[t.key===as?0:n.length-1];else{let e=[ns,is].includes(t.key);r=Bt(n,t.target,e,!0)}r&&(r.focus({preventScroll:!0}),e.getOrCreateInstance(r).show())}_getChildren(){return X.find(vs,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,`role`,`tablist`);for(let e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);let t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute(`aria-selected`,t),n!==e&&this._setAttributeIfNotExists(n,`role`,`presentation`),t||e.setAttribute(`tabindex`,`-1`),this._setAttributeIfNotExists(e,`role`,`tab`),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){let t=X.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,`role`,`tabpanel`),e.id&&this._setAttributeIfNotExists(t,`aria-labelledby`,`${e.id}`))}_toggleDropDown(e,t){let n=this._getOuterElement(e);if(!n.classList.contains(us))return;let r=(e,r)=>{let i=X.findOne(e,n);i&&i.classList.toggle(r,t)};r(ds,ss),r(fs,ls),n.setAttribute(`aria-expanded`,t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(ss)}_getInnerElement(e){return e.matches(vs)?e:X.findOne(vs,e)}_getOuterElement(e){return e.closest(hs)||e}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};q.on(document,Qo,_s,function(e){[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),!U(this)&&bs.getOrCreateInstance(this).show()}),q.on(window,es,()=>{for(let e of X.find(ys))bs.getOrCreateInstance(e)}),G(bs);var xs=`toast`,Ss=`.bs.toast`,Cs=`mouseover${Ss}`,ws=`mouseout${Ss}`,Ts=`focusin${Ss}`,Es=`focusout${Ss}`,Ds=`hide${Ss}`,Os=`hidden${Ss}`,ks=`show${Ss}`,As=`shown${Ss}`,js=`fade`,Ms=`hide`,Ns=`show`,Ps=`showing`,Fs={animation:`boolean`,autohide:`boolean`,delay:`number`},Is={animation:!0,autohide:!0,delay:5e3},Ls=class e extends Y{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Is}static get DefaultType(){return Fs}static get NAME(){return xs}show(){q.trigger(this._element,ks).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add(js),this._element.classList.remove(Ms),Ft(this._element),this._element.classList.add(Ns,Ps),this._queueCallback(()=>{this._element.classList.remove(Ps),q.trigger(this._element,As),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!q.trigger(this._element,Ds).defaultPrevented&&(this._element.classList.add(Ps),this._queueCallback(()=>{this._element.classList.add(Ms),this._element.classList.remove(Ps,Ns),q.trigger(this._element,Os)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ns),super.dispose()}isShown(){return this._element.classList.contains(Ns)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case`mouseover`:case`mouseout`:this._hasMouseInteraction=t;break;case`focusin`:case`focusout`:this._hasKeyboardInteraction=t}if(t){this._clearTimeout();return}let n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){q.on(this._element,Cs,e=>this._onInteraction(e,!0)),q.on(this._element,ws,e=>this._onInteraction(e,!1)),q.on(this._element,Ts,e=>this._onInteraction(e,!0)),q.on(this._element,Es,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t](this)}})}};dn(Ls),G(Ls),window.bootstrap=St;var Rs=window.jQuery;if(Rs)for(let e of Object.values(St)){if(typeof e!=`function`||!e.NAME||!e.jQueryInterface)continue;let t=e.NAME,n=Rs.fn[t];Rs.fn[t]=e.jQueryInterface,Rs.fn[t].Constructor=e,Rs.fn[t].noConflict=()=>(Rs.fn[t]=n,e.jQueryInterface)}})();