HOME


Mini Shell 1.0
Negocios La Pieza.DO | Registrate o Inicia Sesión

Inicie Sesión en su Cuenta de Negocios

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