/*! * Tabler v1.5.0 (https://tabler.io) * Copyright 2018-2026 The Tabler Authors * Copyright 2018-2026 codecalm.net Paweł Kuna * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE) */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).tabler={})}(this,function(t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});var e=Object.defineProperty,i=(t,i)=>{let n={};for(var s in t)e(n,s,{get:t[s],enumerable:!0});return i||e(n,Symbol.toStringTag,{value:"Module"}),n},n=document.querySelectorAll('[data-bs-toggle="autosize"]');n.length&&n.forEach(function(t){window.autosize&&window.autosize(t)});var s=document.querySelectorAll("[data-countup]");s.length&&s.forEach(function(t){var e;let i={};try{const e=t.getAttribute("data-countup")?JSON.parse(t.getAttribute("data-countup")):{};i=Object.assign({enableScrollSpy:!0},e)}catch(t){}const n=parseFloat((null!==(e=t.textContent)&&void 0!==e?e:"").replace(/[^0-9.-]/g,""));if(!Number.isNaN(n)&&window.countUp&&window.countUp.CountUp){const e=new window.countUp.CountUp(t,n,i);e.error||i.enableScrollSpy||e.start()}}),[].slice.call(document.querySelectorAll("[data-mask]")).map(function(t){window.IMask&&new window.IMask(t,{mask:t.dataset.mask,lazy:"true"!==t.dataset.maskVisible})});var o="bottom",r="right",a="left",l="auto",c=["top",o,r,a],d="start",u="clippingParents",h="viewport",f="popper",p="reference",g=c.reduce(function(t,e){return t.concat([e+"-"+d,e+"-end"])},[]),m=[].concat(c,[l]).reduce(function(t,e){return t.concat([e,e+"-"+d,e+"-end"])},[]),_="beforeRead",b="read",v="afterRead",y="beforeMain",w="main",A="afterMain",E="beforeWrite",T="write",O="afterWrite",C=[_,b,v,y,w,A,E,T,O];function x(t){return t?(t.nodeName||"").toLowerCase():null}function S(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function k(t){return t instanceof S(t).Element||t instanceof Element}function L(t){return t instanceof S(t).HTMLElement||t instanceof HTMLElement}function $(t){return"undefined"!=typeof ShadowRoot&&(t instanceof S(t).ShadowRoot||t instanceof ShadowRoot)}var D={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];L(s)&&x(s)&&(Object.assign(s.style,i),Object.keys(n).forEach(function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce(function(t,e){return t[e]="",t},{});L(n)&&x(n)&&(Object.assign(n.style,o),Object.keys(s).forEach(function(t){n.removeAttribute(t)}))})}},requires:["computeStyles"]};function P(t){return t.split("-")[0]}var N=Math.max,M=Math.min,I=Math.round;function j(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function F(){return!/^((?!chrome|android).)*safari/i.test(j())}function H(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&L(t)&&(s=t.offsetWidth>0&&I(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&I(n.height)/t.offsetHeight||1);var r=(k(t)?S(t):window).visualViewport,a=!F()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,d=n.width/s,u=n.height/o;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function B(t){var e=H(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function q(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&$(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function W(t){return S(t).getComputedStyle(t)}function z(t){return["table","td","th"].indexOf(x(t))>=0}function R(t){return((k(t)?t.ownerDocument:t.document)||window.document).documentElement}function V(t){return"html"===x(t)?t:t.assignedSlot||t.parentNode||($(t)?t.host:null)||R(t)}function U(t){return L(t)&&"fixed"!==W(t).position?t.offsetParent:null}function K(t){for(var e=S(t),i=U(t);i&&z(i)&&"static"===W(i).position;)i=U(i);return i&&("html"===x(i)||"body"===x(i)&&"static"===W(i).position)?e:i||function(t){var e=/firefox/i.test(j());if(/Trident/i.test(j())&&L(t)&&"fixed"===W(t).position)return null;var i=V(t);for($(i)&&(i=i.host);L(i)&&["html","body"].indexOf(x(i))<0;){var n=W(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t,e,i){return N(t,M(e,i))}function J(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function G(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}var Z={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,l=i.elements.arrow,d=i.modifiersData.popperOffsets,u=P(i.placement),h=X(u),f=["left","right"].indexOf(u)>=0?"height":"width";if(l&&d){var p=function(t,e){return J("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:G(t,c))}(s.padding,i),g=B(l),m="y"===h?"top":a,_="y"===h?o:r,b=i.rects.reference[f]+i.rects.reference[h]-d[h]-i.rects.popper[f],v=d[h]-i.rects.reference[h],y=K(l),w=y?"y"===h?y.clientHeight||0:y.clientWidth||0:0,A=b/2-v/2,E=p[m],T=w-g[f]-p[_],O=w/2-g[f]/2+A,C=Y(E,O,T),x=h;i.modifiersData[n]=((e={})[x]=C,e.centerOffset=C-O,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&q(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Q(t){return t.split("-")[1]}var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function et(t){var e,i=t.popper,n=t.popperRect,s=t.placement,l=t.variation,c=t.offsets,d=t.position,u=t.gpuAcceleration,h=t.adaptive,f=t.roundOffsets,p=t.isFixed,g=c.x,m=void 0===g?0:g,_=c.y,b=void 0===_?0:_,v="function"==typeof f?f({x:m,y:b}):{x:m,y:b};m=v.x,b=v.y;var y=c.hasOwnProperty("x"),w=c.hasOwnProperty("y"),A=a,E="top",T=window;if(h){var O=K(i),C="clientHeight",x="clientWidth";if(O===S(i)&&"static"!==W(O=R(i)).position&&"absolute"===d&&(C="scrollHeight",x="scrollWidth"),"top"===s||("left"===s||"right"===s)&&"end"===l)E=o,b-=(p&&O===T&&T.visualViewport?T.visualViewport.height:O[C])-n.height,b*=u?1:-1;if("left"===s||("top"===s||"bottom"===s)&&"end"===l)A=r,m-=(p&&O===T&&T.visualViewport?T.visualViewport.width:O[x])-n.width,m*=u?1:-1}var k,L=Object.assign({position:d},h&&tt),$=!0===f?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:I(i*s)/s||0,y:I(n*s)/s||0}}({x:m,y:b},S(i)):{x:m,y:b};return m=$.x,b=$.y,u?Object.assign({},L,((k={})[E]=w?"0":"",k[A]=y?"0":"",k.transform=(T.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",k)):Object.assign({},L,((e={})[E]=w?b+"px":"",e[A]=y?m+"px":"",e.transform="",e))}var it={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:P(e.placement),variation:Q(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,et(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,et(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},nt={passive:!0};var st={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=S(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(t){t.addEventListener("scroll",i.update,nt)}),a&&l.addEventListener("resize",i.update,nt),function(){o&&c.forEach(function(t){t.removeEventListener("scroll",i.update,nt)}),a&&l.removeEventListener("resize",i.update,nt)}},data:{}},ot={left:"right",right:"left",bottom:"top",top:"bottom"};function rt(t){return t.replace(/left|right|bottom|top/g,function(t){return ot[t]})}var at={start:"end",end:"start"};function lt(t){return t.replace(/start|end/g,function(t){return at[t]})}function ct(t){var e=S(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function dt(t){return H(R(t)).left+ct(t).scrollLeft}function ut(t){var e=W(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function ht(t){return["html","body","#document"].indexOf(x(t))>=0?t.ownerDocument.body:L(t)&&ut(t)?t:ht(V(t))}function ft(t,e){var i;void 0===e&&(e=[]);var n=ht(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=S(n),r=s?[o].concat(o.visualViewport||[],ut(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(ft(V(r)))}function pt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function gt(t,e,i){return"viewport"===e?pt(function(t,e){var i=S(t),n=R(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=F();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+dt(t),y:l}}(t,i)):k(e)?function(t,e){var i=H(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):pt(function(t){var e,i=R(t),n=ct(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=N(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=N(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+dt(t),l=-n.scrollTop;return"rtl"===W(s||i).direction&&(a+=N(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(R(t)))}function mt(t,e,i,n){var s="clippingParents"===e?function(t){var e=ft(V(t)),i=["absolute","fixed"].indexOf(W(t).position)>=0&&L(t)?K(t):t;return k(i)?e.filter(function(t){return k(t)&&q(t,i)&&"body"!==x(t)}):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce(function(e,i){var s=gt(t,i,n);return e.top=N(s.top,e.top),e.right=M(s.right,e.right),e.bottom=M(s.bottom,e.bottom),e.left=N(s.left,e.left),e},gt(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function _t(t){var e,i=t.reference,n=t.element,s=t.placement,l=s?P(s):null,c=s?Q(s):null,u=i.x+i.width/2-n.width/2,h=i.y+i.height/2-n.height/2;switch(l){case"top":e={x:u,y:i.y-n.height};break;case o:e={x:u,y:i.y+i.height};break;case r:e={x:i.x+i.width,y:h};break;case a:e={x:i.x-n.width,y:h};break;default:e={x:i.x,y:i.y}}var f=l?X(l):null;if(null!=f){var p="y"===f?"height":"width";switch(c){case d:e[f]=e[f]-(i[p]/2-n[p]/2);break;case"end":e[f]=e[f]+(i[p]/2-n[p]/2)}}return e}function bt(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.strategy,r=void 0===o?t.strategy:o,a=i.boundary,l=void 0===a?u:a,d=i.rootBoundary,g=void 0===d?h:d,m=i.elementContext,_=void 0===m?f:m,b=i.altBoundary,v=void 0!==b&&b,y=i.padding,w=void 0===y?0:y,A=J("number"!=typeof w?w:G(w,c)),E="popper"===_?p:f,T=t.rects.popper,O=t.elements[v?E:_],C=mt(k(O)?O:O.contextElement||R(t.elements.popper),l,g,r),x=H(t.elements.reference),S=_t({reference:x,element:T,strategy:"absolute",placement:s}),L=pt(Object.assign({},T,S)),$="popper"===_?L:x,D={top:C.top-$.top+A.top,bottom:$.bottom-C.bottom+A.bottom,left:C.left-$.left+A.left,right:$.right-C.right+A.right},P=t.modifiersData.offset;if("popper"===_&&P){var N=P[s];Object.keys(D).forEach(function(t){var e=["right","bottom"].indexOf(t)>=0?1:-1,i=["top","bottom"].indexOf(t)>=0?"y":"x";D[t]+=N[i]*e})}return D}function vt(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,d=void 0===l?m:l,u=Q(n),h=u?a?g:g.filter(function(t){return Q(t)===u}):c,f=h.filter(function(t){return d.indexOf(t)>=0});0===f.length&&(f=h);var p=f.reduce(function(e,i){return e[i]=bt(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[P(i)],e},{});return Object.keys(p).sort(function(t,e){return p[t]-p[e]})}var yt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,l=void 0===s||s,c=i.altAxis,u=void 0===c||c,h=i.fallbackPlacements,f=i.padding,p=i.boundary,g=i.rootBoundary,m=i.altBoundary,_=i.flipVariations,b=void 0===_||_,v=i.allowedAutoPlacements,y=e.options.placement,w=P(y)===y,A=h||(w||!b?[rt(y)]:function(t){if("auto"===P(t))return[];var e=rt(t);return[lt(t),e,lt(e)]}(y)),E=[y].concat(A).reduce(function(t,i){return t.concat("auto"===P(i)?vt(e,{placement:i,boundary:p,rootBoundary:g,padding:f,flipVariations:b,allowedAutoPlacements:v}):i)},[]),T=e.rects.reference,O=e.rects.popper,C=new Map,x=!0,S=E[0],k=0;k=0,M=N?"width":"height",I=bt(e,{placement:L,boundary:p,rootBoundary:g,altBoundary:m,padding:f}),j=N?D?r:a:D?o:"top";T[M]>O[M]&&(j=rt(j));var F=rt(j),H=[];if(l&&H.push(I[$]<=0),u&&H.push(I[j]<=0,I[F]<=0),H.every(function(t){return t})){S=L,x=!1;break}C.set(L,H)}if(x)for(var B=function(t){var e=E.find(function(e){var i=C.get(e);if(i)return i.slice(0,t).every(function(t){return t})});if(e)return S=e,"break"},q=b?3:1;q>0&&"break"!==B(q);q--);e.placement!==S&&(e.modifiersData[n]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function wt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function At(t){return["top",r,o,a].some(function(e){return t[e]>=0})}var Et={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=bt(e,{elementContext:"reference"}),a=bt(e,{altBoundary:!0}),l=wt(r,n),c=wt(a,s,o),d=At(l),u=At(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}};var Tt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=m.reduce(function(t,i){return t[i]=function(t,e,i){var n=P(t),s=["left","top"].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,["left","right"].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t},{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}};var Ot={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=_t({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Ct={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,l=void 0===s||s,c=i.altAxis,d=void 0!==c&&c,u=i.boundary,h=i.rootBoundary,f=i.altBoundary,p=i.padding,g=i.tether,m=void 0===g||g,_=i.tetherOffset,b=void 0===_?0:_,v=bt(e,{boundary:u,rootBoundary:h,padding:p,altBoundary:f}),y=P(e.placement),w=Q(e.placement),A=!w,E=X(y),T="x"===E?"y":"x",O=e.modifiersData.popperOffsets,C=e.rects.reference,x=e.rects.popper,S="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,k="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,$={x:0,y:0};if(O){if(l){var D,I="y"===E?"top":a,j="y"===E?o:r,F="y"===E?"height":"width",H=O[E],q=H+v[I],W=H-v[j],z=m?-x[F]/2:0,R="start"===w?C[F]:x[F],V="start"===w?-x[F]:-C[F],U=e.elements.arrow,J=m&&U?B(U):{width:0,height:0},G=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=G[I],tt=G[j],et=Y(0,C[F],J[F]),it=A?C[F]/2-z-et-Z-k.mainAxis:R-et-Z-k.mainAxis,nt=A?-C[F]/2+z+et+tt+k.mainAxis:V+et+tt+k.mainAxis,st=e.elements.arrow&&K(e.elements.arrow),ot=st?"y"===E?st.clientTop||0:st.clientLeft||0:0,rt=null!=(D=null==L?void 0:L[E])?D:0,at=H+nt-rt,lt=Y(m?M(q,H+it-rt-ot):q,H,m?N(W,at):W);O[E]=lt,$[E]=lt-H}if(d){var ct,dt="x"===E?"top":a,ut="x"===E?o:r,ht=O[T],ft="y"===T?"height":"width",pt=ht+v[dt],gt=ht-v[ut],mt=-1!==["top",a].indexOf(y),_t=null!=(ct=null==L?void 0:L[T])?ct:0,vt=mt?pt:ht-C[ft]-x[ft]-_t+k.altAxis,yt=mt?ht+C[ft]+x[ft]-_t-k.altAxis:gt,wt=m&&mt?function(t,e,i){var n=Y(t,e,i);return n>i?i:n}(vt,ht,yt):Y(m?vt:pt,ht,m?yt:gt);O[T]=wt,$[T]=wt-ht}e.modifiersData[n]=$}},requiresIfExists:["offset"]};function xt(t,e,i){void 0===i&&(i=!1);var n,s,o=L(e),r=L(e)&&function(t){var e=t.getBoundingClientRect(),i=I(e.width)/t.offsetWidth||1,n=I(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=R(e),l=H(t,r,i),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!i)&&(("body"!==x(e)||ut(a))&&(c=(n=e)!==S(n)&&L(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:ct(n)),L(e)?((d=H(e,!0)).x+=e.clientLeft,d.y+=e.clientTop):a&&(d.x=dt(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function St(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}}),n.push(t)}return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){i.has(t.name)||s(t)}),n}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Lt(){for(var t=arguments.length,e=new Array(t),i=0;iA,afterRead:()=>v,afterWrite:()=>O,applyStyles:()=>D,arrow:()=>Z,auto:()=>l,basePlacements:()=>c,beforeMain:()=>y,beforeRead:()=>_,beforeWrite:()=>E,bottom:()=>o,clippingParents:()=>u,computeStyles:()=>it,createPopper:()=>Nt,createPopperBase:()=>Dt,createPopperLite:()=>Pt,detectOverflow:()=>bt,end:()=>"end",eventListeners:()=>st,flip:()=>yt,hide:()=>Et,left:()=>a,main:()=>w,modifierPhases:()=>C,offset:()=>Tt,placements:()=>m,popper:()=>f,popperGenerator:()=>$t,popperOffsets:()=>Ot,preventOverflow:()=>Ct,read:()=>b,reference:()=>p,right:()=>r,start:()=>d,top:()=>"top",variationPlacements:()=>g,viewport:()=>h,write:()=>T}),It=new Map,jt={set(t,e,i){It.has(t)||It.set(t,new Map);const n=It.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>It.has(t)&&It.get(t).get(e)||null,remove(t,e){if(!It.has(t))return;const i=It.get(t);i.delete(e),0===i.size&&It.delete(t)}},Ft=/[^.]*(?=\..*)\.|.*/,Ht=/\..*/,Bt=/::\d+$/,qt={},Wt=1,zt={mouseenter:"mouseover",mouseleave:"mouseout"},Rt=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 Vt(t,e){return e&&`${e}::${Wt++}`||t.uidEvent||Wt++}function Ut(t){const e=Vt(t);return t.uidEvent=e,qt[e]=qt[e]||{},qt[e]}function Kt(t,e,i=null){return Object.values(t).find(t=>t.callable===e&&t.delegationSelector===i)}function Xt(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=(r=(r=t).replace(Ht,""),zt[r]||r);var r;return Rt.has(o)||(o=t),[n,s,o]}function Yt(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=Xt(e,i,n);if(e in zt){const t=t=>function(e){const i=e;if(!i.relatedTarget||i.relatedTarget!==i.delegateTarget&&!i.delegateTarget.contains(i.relatedTarget))return t.call(this,e)};r=t(r)}const l=Ut(t),c=l[a]||(l[a]={}),d=Kt(c,r,o?i:null);if(d)return void(d.oneOff=d.oneOff&&s);const u=Vt(r,e.replace(Ft,"")),h=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return Qt(s,{delegateTarget:r}),n.oneOff&&Zt.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return Qt(n,{delegateTarget:t}),i.oneOff&&Zt.off(t,n.type,e),e.apply(t,[n])}}(t,r);h.delegationSelector=o?i:null,h.callable=r,h.oneOff=s,h.uidEvent=u,c[u]=h,t.addEventListener(a,h,o)}function Jt(t,e,i,n,s){const o=Kt(e[i],n,null!=s?s:null);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function Gt(t,e,i,n){const s=e[i]||{};for(const[o,r]of Object.entries(s))o.includes(n)&&Jt(t,e,i,r.callable,r.delegationSelector)}var Zt={on(t,e,i,n){Yt(t,e,i,n,!1)},one(t,e,i,n){Yt(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=Xt(e,i,n),a=r!==e,l=Ut(t),c=l[r]||{},d=e.startsWith(".");if(void 0===o){if(d)for(const i of Object.keys(l))Gt(t,l,i,e.slice(1));for(const[i,n]of Object.entries(c)){const s=i.replace(Bt,"");a&&!e.includes(s)||Jt(t,l,r,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;Jt(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=Qt(new Event(e,{bubbles:!0,cancelable:!0}),i);return t.dispatchEvent(n),n}};function Qt(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}function te(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function ee(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var ie=["tblr","bs"],ne={setDataAttribute(t,e,i){t.setAttribute(`data-tblr-${ee(e)}`,i)},removeDataAttribute(t,e){for(const i of ie)t.removeAttribute(`data-${i}-${ee(e)}`)},getDataAttributes(t){if(!t)return{};const e={};for(const i of ie){const n=Object.keys(t.dataset).filter(t=>t.startsWith(i)&&!t.startsWith(`${i}Config`));for(const s of n){let n=s.replace(new RegExp(`^${i}`),"");n=n.charAt(0).toLowerCase()+n.slice(1),n in e||(e[n]=te(t.dataset[s]))}}return e},getDataAttribute(t,e){for(const i of ie){const n=t.getAttribute(`data-${i}-${ee(e)}`);if(null!==n)return te(n)}return null}},se="transitionend",oe=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),t),re=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),ae=t=>{t.dispatchEvent(new Event(se))},le=t=>!(!t||"object"!=typeof t)&&void 0!==t.nodeType,ce=t=>le(t)?t:"string"==typeof t&&t.length>0?document.querySelector(oe(t)):null,de=t=>{if(!le(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},ue=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||("disabled"in t&&void 0!==t.disabled?Boolean(t.disabled):t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),he=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?he(t.parentNode):null},fe=()=>{},pe=t=>{t.offsetHeight},ge=()=>"rtl"===document.documentElement.dir,me=(t,e=[],i=t)=>"function"==typeof t?t.call(e[0],...e.slice(1)):i,_e=(t,e,i=!0)=>{if(!i)return void me(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);return Number.parseFloat(e)||Number.parseFloat(i)?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const o=({target:i})=>{i===e&&(s=!0,e.removeEventListener(se,o),me(t))};e.addEventListener(se,o),setTimeout(()=>{s||ae(e)},n)},be=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])};function ve(t){return ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ve(t)}function ye(t){var e=function(t,e){if("object"!=ve(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=ve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ve(e)?e:e+""}function we(t,e,i){return(e=ye(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ae(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function Ee(t){for(var e=1;e{let e=t.getAttribute("data-tblr-target")||t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e?e.split(",").map(t=>oe(t)).join(","):null},xe={find:(t,e=document.documentElement)=>Array.from(e.querySelectorAll(t)),findOne:(t,e=document.documentElement)=>e.querySelector(t),children:(t,e)=>Array.from(t.children).filter(t=>t.matches(e)),parents(t,e){const i=[];let n=t.parentNode&&t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode&&n.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(t=>!ue(t)&&de(t))},getSelectorFromElement(t){const e=Ce(t);return e&&xe.findOne(e)?e:null},getElementFromSelector(t){const e=Ce(t);return e?xe.findOne(e):null},getMultipleElementsFromSelector(t){const e=Ce(t);return e?xe.find(e):[]}},Se=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;Zt.on(document,i,`[data-bs-dismiss="${n}"], [data-tblr-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),ue(this))return;const s=xe.getElementFromSelector(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()})},ke=".bs.alert",Le=`close${ke}`,$e=`closed${ke}`,De=class extends Oe{static get NAME(){return"alert"}close(){const t=Zt.trigger(this._element,Le);if(null==t?void 0:t.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(),Zt.trigger(this._element,$e),this.dispose()}};Se(De,"close");var Pe='[data-bs-toggle="button"], [data-tblr-toggle="button"]',Ne=class extends Oe{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",String(this._element.classList.toggle("active")))}};Zt.on(document,"click.bs.button.data-api",Pe,t=>{var e;t.preventDefault();const i=null===(e=t.target)||void 0===e?void 0:e.closest(Pe);i&&Ne.getOrCreateInstance(i).toggle()});var Me=".bs.swipe",Ie=`touchstart${Me}`,je=`touchmove${Me}`,Fe=`touchend${Me}`,He=`pointerdown${Me}`,Be=`pointerup${Me}`,qe={endCallback:null,leftCallback:null,rightCallback:null},We={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},ze=class t extends Te{constructor(e,i){super(),this._element=e,e&&t.isSupported()&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return qe}static get DefaultType(){return We}static get NAME(){return"swipe"}dispose(){Zt.off(this._element,Me)}_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(),me(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&&me(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Zt.on(this._element,He,t=>this._start(t)),Zt.on(this._element,Be,t=>this._end(t)),this._element.classList.add("pointer-event")):(Zt.on(this._element,Ie,t=>this._start(t)),Zt.on(this._element,je,t=>this._move(t)),Zt.on(this._element,Fe,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}},Re=".bs.carousel",Ve=".data-api",Ue="ArrowLeft",Ke="ArrowRight",Xe="next",Ye="prev",Je="left",Ge="right",Ze=`slide${Re}`,Qe=`slid${Re}`,ti=`keydown${Re}`,ei=`mouseenter${Re}`,ii=`mouseleave${Re}`,ni=`dragstart${Re}`,si=`load${Re}${Ve}`,oi=`click${Re}${Ve}`,ri="carousel",ai="active",li={[Ue]:Ge,[Ke]:Je},ci={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},di={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},ui=class extends Oe{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=xe.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ri&&this.cycle()}static get Default(){return ci}static get DefaultType(){return di}static get NAME(){return"carousel"}next(){this._slide(Xe)}nextWhenVisible(){!document.hidden&&de(this._element)&&this.next()}prev(){this._slide(Ye)}pause(){this._isSliding&&ae(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?Zt.one(this._element,Qe,()=>this.cycle()):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void Zt.one(this._element,Qe,()=>this.to(t));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?Xe:Ye;this._slide(n,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Zt.on(this._element,ti,t=>this._keydown(t)),"hover"===this._config.pause&&(Zt.on(this._element,ei,()=>this.pause()),Zt.on(this._element,ii,()=>this._maybeEnableCycle())),this._config.touch&&ze.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of xe.find(".carousel-item img",this._element))Zt.on(t,ni,t=>t.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Je)),rightCallback:()=>this._slide(this._directionToOrder(Ge)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ze(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=li[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=xe.findOne(".active",this._indicatorsElement);e.classList.remove(ai),e.removeAttribute("aria-current");const i=xe.findOne(`[data-bs-slide-to="${t}"], [data-tblr-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(ai),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval")||t.getAttribute("data-tblr-interval")||"",10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),n=t===Xe,s=e||be(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>Zt.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(Ze).defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),pe(s),i.classList.add(l),s.classList.add(l);this._queueCallback(()=>{s.classList.remove(l,c),s.classList.add(ai),i.classList.remove(ai,c,l),this._isSliding=!1,r(Qe)},i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return xe.findOne(".active.carousel-item",this._element)}_getItems(){return xe.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ge()?t===Je?Ye:Xe:t===Je?Xe:Ye}_orderToDirection(t){return ge()?t===Ye?Je:Ge:t===Ye?Ge:Je}};Zt.on(document,oi,"[data-bs-slide], [data-bs-slide-to], [data-tblr-slide], [data-tblr-slide-to]",function(t){const e=xe.getElementFromSelector(this);if(!e||!e.classList.contains(ri))return;t.preventDefault();const i=ui.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to")||this.getAttribute("data-tblr-slide-to");return n?(i.to(Number(n)),void i._maybeEnableCycle()):"next"===ne.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())}),Zt.on(window,si,()=>{const t=xe.find('[data-bs-ride="carousel"], [data-tblr-ride="carousel"]');for(const e of t)ui.getOrCreateInstance(e)});var hi=".bs.collapse",fi=`show${hi}`,pi=`shown${hi}`,gi=`hide${hi}`,mi=`hidden${hi}`,_i=`click${hi}.data-api`,bi="show",vi="collapse",yi="collapsing",wi=`:scope .${vi} .${vi}`,Ai='[data-bs-toggle="collapse"], [data-tblr-toggle="collapse"]',Ei={parent:null,toggle:!0},Ti={parent:"(null|element)",toggle:"boolean"},Oi=class t extends Oe{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=xe.find(Ai);for(const t of i){const e=xe.getSelectorFromElement(t),i=xe.find(e).filter(t=>t===this._element);null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ei}static get DefaultType(){return Ti}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(e=>t.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;const i=Zt.trigger(this._element,fi);if(null==i?void 0:i.defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(vi),this._element.classList.add(yi),this._element.style[n]="0",this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(yi),this._element.classList.add(vi,bi),this._element.style[n]="",Zt.trigger(this._element,pi)},this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;const t=Zt.trigger(this._element,gi);if(null==t?void 0:t.defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,pe(this._element),this._element.classList.add(yi),this._element.classList.remove(vi,bi);for(const t of this._triggerArray){const e=xe.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(yi),this._element.classList.add(vi),Zt.trigger(this._element,mi)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(bi)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=ce(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ai);for(const e of t){const t=xe.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=xe.find(wi,this._config.parent);return xe.find(t,this._config.parent).filter(t=>!e.includes(t))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",String(e))}};Zt.on(document,_i,Ai,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of xe.getMultipleElementsFromSelector(this))Oi.getOrCreateInstance(t,{toggle:!1}).toggle()});var Ci="dropdown",xi=".bs.dropdown",Si=".data-api",ki="ArrowUp",Li="ArrowDown",$i=`hide${xi}`,Di=`hidden${xi}`,Pi=`show${xi}`,Ni=`shown${xi}`,Mi=`click${xi}${Si}`,Ii=`keydown${xi}${Si}`,ji=`keyup${xi}${Si}`,Fi="show",Hi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled), [data-tblr-toggle="dropdown"]:not(.disabled):not(:disabled)',Bi=`.${Fi}[data-bs-toggle="dropdown"], .${Fi}[data-tblr-toggle="dropdown"]`,qi=".dropdown-menu",Wi=ge()?"top-end":"top-start",zi=ge()?"top-start":"top-end",Ri=ge()?"bottom-end":"bottom-start",Vi=ge()?"bottom-start":"bottom-end",Ui=ge()?"left-start":"right-start",Ki=ge()?"right-start":"left-start",Xi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Yi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},Ji=class t extends Oe{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=xe.next(this._element,qi)[0]||xe.prev(this._element,qi)[0]||xe.findOne(qi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Xi}static get DefaultType(){return Yi}static get NAME(){return Ci}toggle(){this._isShown()?this.hide():this.show()}show(){if(ue(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Zt.trigger(this._element,Pi,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))Zt.on(t,"mouseover",fe);this._element.focus(),this._element.setAttribute("aria-expanded","true"),this._menu.classList.add(Fi),this._element.classList.add(Fi),Zt.trigger(this._element,Ni,t)}}hide(){if(ue(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Zt.trigger(this._element,$i,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Zt.off(t,"mouseover",fe);this._popper&&this._popper.destroy(),this._menu.classList.remove(Fi),this._element.classList.remove(Fi),this._element.setAttribute("aria-expanded","false"),ne.removeDataAttribute(this._menu,"popper"),Zt.trigger(this._element,Di,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!le(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ci.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===Mt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;"parent"===this._config.reference?t=this._parent:le(this._config.reference)?t=ce(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=Nt(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Fi)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Ui;if(t.classList.contains("dropstart"))return Ki;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?zi:Wi:e?Vi:Ri}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};(this._inNavbar||"static"===this._config.display)&&(ne.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]);const e=me(this._config.popperConfig,[void 0,t]);return Ee(Ee({},t),"object"==typeof e&&null!==e?e:{})}_selectMenuItem({key:t,target:e}){const i=xe.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(t=>de(t));i.length&&be(i,e,t===Li,!i.includes(e)).focus()}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const i=xe.find(Bi);for(const n of i){const i=t.getInstance(n);if(!i||!1===i._config.autoClose)continue;const s=e.composedPath(),o=s.includes(i._menu);if(s.includes(i._element)||"inside"===i._config.autoClose&&!o||"outside"===i._config.autoClose&&o)continue;if(i._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const r={relatedTarget:i._element};"click"===e.type&&(r.clickEvent=e),i._completeHide(r)}}static dataApiKeydownHandler(e){const i=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,s=[ki,Li].includes(e.key);if(!s&&!n)return;if(i&&!n)return;e.preventDefault();const o=this.matches(Hi)?this:xe.prev(this,Hi)[0]||xe.next(this,Hi)[0]||xe.findOne(Hi,e.delegateTarget.parentNode),r=t.getOrCreateInstance(o);if(s)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),o.focus())}};Zt.on(document,Ii,Hi,Ji.dataApiKeydownHandler),Zt.on(document,Ii,qi,Ji.dataApiKeydownHandler),Zt.on(document,Mi,Ji.clearMenus),Zt.on(document,ji,Ji.clearMenus),Zt.on(document,Mi,Hi,function(t){t.preventDefault(),Ji.getOrCreateInstance(this).toggle()});var Gi="backdrop",Zi="show",Qi=`mousedown.bs.${Gi}`,tn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},en={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},nn=class extends Te{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return tn}static get DefaultType(){return en}static get NAME(){return Gi}show(t){if(!this._config.isVisible)return void me(t);this._append();const e=this._getElement();this._config.isAnimated&&pe(e),e.classList.add(Zi),this._emulateAnimation(()=>{me(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(Zi),this._emulateAnimation(()=>{this.dispose(),me(t)})):me(t)}dispose(){this._isAppended&&(Zt.off(this._element,Qi),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=ce(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Zt.on(t,Qi,()=>{me(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){_e(t,this._getElement(),this._config.isAnimated)}},sn=".bs.focustrap",on=`focusin${sn}`,rn=`keydown.tab${sn}`,an="backward",ln={autofocus:!0,trapElement:null},cn={autofocus:"boolean",trapElement:"element"},dn=class extends Te{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ln}static get DefaultType(){return cn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Zt.off(document,sn),Zt.on(document,on,t=>this._handleFocusin(t)),Zt.on(document,rn,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Zt.off(document,sn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=xe.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===an?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?an:"forward")}},un=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",hn=".sticky-top",fn="padding-right",pn="margin-right",gn=class{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,fn,e=>e+t),this._setElementAttributes(un,fn,e=>e+t),this._setElementAttributes(hn,pn,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,fn),this._resetElementAttributes(un,fn),this._resetElementAttributes(hn,pn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)})}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&ne.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{const i=ne.getDataAttribute(t,e);null!==i?(ne.removeDataAttribute(t,e),t.style.setProperty(e,String(i))):t.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(le(t))e(t);else for(const i of xe.find(t,this._element))e(i)}},mn=".bs.modal",_n=`hide${mn}`,bn=`hidePrevented${mn}`,vn=`hidden${mn}`,yn=`show${mn}`,wn=`shown${mn}`,An=`resize${mn}`,En=`click.dismiss${mn}`,Tn=`mousedown.dismiss${mn}`,On=`keydown.dismiss${mn}`,Cn=`click${mn}.data-api`,xn="modal-open",Sn="show",kn="modal-static",Ln={backdrop:!0,focus:!0,keyboard:!0},$n={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},Dn=class extends Oe{constructor(t,e){super(t,e),this._dialog=xe.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new gn,this._addEventListeners()}static get Default(){return Ln}static get DefaultType(){return $n}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Zt.trigger(this._element,yn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(xn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(Zt.trigger(this._element,_n).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Sn),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){Zt.off(window,mn),Zt.off(this._dialog,mn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new nn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new dn({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","true"),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=xe.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),pe(this._element),this._element.classList.add(Sn);this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Zt.trigger(this._element,wn,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){Zt.on(this._element,On,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),Zt.on(window,An,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Zt.on(this._element,Tn,t=>{Zt.one(this._element,En,e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(xn),this._resetAdjustments(),this._scrollBar.reset(),Zt.trigger(this._element,vn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(Zt.trigger(this._element,bn).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(kn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(kn),this._queueCallback(()=>{this._element.classList.remove(kn),this._queueCallback(()=>{this._element.style.overflowY=e},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=ge()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=ge()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}};Zt.on(document,Cn,'[data-bs-toggle="modal"], [data-tblr-toggle="modal"]',function(t){const e=xe.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),Zt.one(e,yn,t=>{t.defaultPrevented||Zt.one(e,vn,()=>{de(this)&&this.focus()})});const i=xe.findOne(".modal.show");i&&Dn.getInstance(i).hide(),Dn.getOrCreateInstance(e).toggle(this)}),Se(Dn);var Pn=".bs.offcanvas",Nn=".data-api",Mn=`load${Pn}${Nn}`,In="show",jn="showing",Fn="hiding",Hn=".offcanvas.show",Bn=`show${Pn}`,qn=`shown${Pn}`,Wn=`hide${Pn}`,zn=`hidePrevented${Pn}`,Rn=`hidden${Pn}`,Vn=`resize${Pn}`,Un=`click${Pn}${Nn}`,Kn=`keydown.dismiss${Pn}`,Xn={backdrop:!0,keyboard:!0,scroll:!1},Yn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},Jn=class extends Oe{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Xn}static get DefaultType(){return Yn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(Zt.trigger(this._element,Bn,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new gn).hide(),this._element.setAttribute("aria-modal","true"),this._element.setAttribute("role","dialog"),this._element.classList.add(jn);this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(In),this._element.classList.remove(jn),Zt.trigger(this._element,qn,{relatedTarget:t})},this._element,!0)}hide(){if(!this._isShown)return;if(Zt.trigger(this._element,Wn).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Fn),this._backdrop.hide();this._queueCallback(()=>{this._element.classList.remove(In,Fn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new gn).reset(),Zt.trigger(this._element,Rn)},this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new nn({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():Zt.trigger(this._element,zn)}:null})}_initializeFocusTrap(){return new dn({trapElement:this._element})}_addEventListeners(){Zt.on(this._element,Kn,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():Zt.trigger(this._element,zn))})}};Zt.on(document,Un,'[data-bs-toggle="offcanvas"], [data-tblr-toggle="offcanvas"]',function(t){const e=xe.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),ue(this))return;Zt.one(e,Rn,()=>{de(this)&&this.focus()});const i=xe.findOne(Hn);i&&i!==e&&Jn.getInstance(i).hide(),Jn.getOrCreateInstance(e).toggle(this)}),Zt.on(window,Mn,()=>{for(const t of xe.find(Hn))Jn.getOrCreateInstance(t).show()}),Zt.on(window,Vn,()=>{for(const t of xe.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Jn.getOrCreateInstance(t).hide()}),Se(Jn);var Gn={"*":["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:[]},Zn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,ts=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Zn.has(i)||Boolean(Qn.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(i))};var es={allowList:Gn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},is={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ns={entry:"(string|element|function|null)",selector:"(string|element)"},ss=class extends Te{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return es}static get DefaultType(){return is}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=Ee(Ee({},this._config.content),t),this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},ns)}_setContent(t,e,i){const n=xe.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?le(e)?this._putElementInTemplate(ce(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=Array.from(n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=Array.from(t.attributes),s=[...e["*"]||[],...e[i]||[]];for(const e of n)ts(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return me(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}},os=new Set(["sanitize","allowList","sanitizeFn"]),rs="fade",as="show",ls=".tooltip-inner",cs=".modal",ds="hide.bs.modal",us="hover",hs="focus",fs="click",ps={AUTO:"auto",TOP:"top",RIGHT:ge()?"left":"right",BOTTOM:"bottom",LEFT:ge()?"right":"left"},gs={allowList:Gn,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:'',title:"",trigger:"hover focus"},ms={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"},_s=class extends Oe{constructor(t,e){if(void 0===Mt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");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._hideModalHandler=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return gs}static get DefaultType(){return ms}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),Zt.off(this._element.closest(cs),ds,this._hideModalHandler),(this._element.getAttribute("data-bs-original-title")||this._element.getAttribute("data-tblr-original-title"))&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")||this._element.getAttribute("data-tblr-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=Zt.trigger(this._element,this.constructor.eventName("show")),e=(he(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),Zt.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(as),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Zt.on(t,"mouseover",fe);this._queueCallback(()=>{Zt.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(Zt.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(as),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Zt.off(t,"mouseover",fe);this._activeTrigger[fs]=!1,this._activeTrigger[hs]=!1,this._activeTrigger[us]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Zt.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(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(rs,as),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(rs),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new ss(Ee(Ee({},this._config),{},{content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory}_getContentForTemplate(){return{[ls]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")||this._element.getAttribute("data-tblr-original-title")||""}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||null!==this.tip&&this.tip.classList.contains(rs)}_isShown(){return null!==this.tip&&this.tip.classList.contains(as)}_createPopper(t){const e=ps[me(this._config.placement,[this,t,this._element]).toUpperCase()];return Nt(this._element,t,this._getPopperConfig(e))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return me(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:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]},i=me(this._config.popperConfig,[void 0,e]);return Ee(Ee({},e),"object"==typeof i&&null!==i?i:{})}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)Zt.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[fs]=!(e._isShown()&&e._activeTrigger[fs]),e.toggle()});else if("manual"!==e){const t=e===us?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===us?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");Zt.on(this._element,t,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?hs:us]=!0,e._enter()}),Zt.on(this._element,i,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?hs:us]=e._element.contains(t.relatedTarget),e._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Zt.on(this._element.closest(cs),ds,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=ne.getDataAttributes(this._element);for(const t of Object.keys(e))os.has(t)&&delete e[t];return t=Ee(Ee({},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:ce(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,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);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)}},bs=".popover-header",vs=".popover-body",ys=Ee(Ee({},_s.Default),{},{content:"",offset:[0,8],placement:"right",template:'',trigger:"click"}),ws=Ee(Ee({},_s.DefaultType),{},{content:"(null|string|element|function)"}),As=class extends _s{static get Default(){return ys}static get DefaultType(){return ws}static get NAME(){return"popover"}_isWithContent(){return Boolean(this._getTitle()||this._getContent())}_getContentForTemplate(){return{[bs]:this._getTitle(),[vs]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}},Es=".bs.scrollspy",Ts=`activate${Es}`,Os=`click${Es}`,Cs=`load${Es}.data-api`,xs="active",Ss="[href]",ks=".nav-link",Ls=`${ks}, .nav-item > ${ks}, .list-group-item`,$s={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ds={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},Ps=class extends Oe{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 $s}static get DefaultType(){return Ds}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=ce(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(t=>Number.parseFloat(t))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Zt.off(this._config.target,Os),Zt.on(this._config.target,Os,Ss,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if("scrollTo"in i)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=xe.find(Ss,this._config.target);for(const e of t){if(!e.hash||ue(e))continue;const t=xe.findOne(oe(decodeURI(e.hash)),this._element);de(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(xs),this._activateParents(t),Zt.trigger(this._element,Ts,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))xe.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(xs);else for(const e of xe.parents(t,".nav, .list-group"))for(const t of xe.prev(e,Ls))t.classList.add(xs)}_clearActiveClass(t){t.classList.remove(xs);const e=xe.find(`${Ss}.${xs}`,t);for(const t of e)t.classList.remove(xs)}};Zt.on(window,Cs,()=>{for(const t of xe.find('[data-bs-spy="scroll"], [data-tblr-spy="scroll"]'))Ps.getOrCreateInstance(t)});var Ns=".bs.tab",Ms=`hide${Ns}`,Is=`hidden${Ns}`,js=`show${Ns}`,Fs=`shown${Ns}`,Hs=`click${Ns}`,Bs=`keydown${Ns}`,qs=`load${Ns}`,Ws="ArrowLeft",zs="ArrowRight",Rs="ArrowUp",Vs="ArrowDown",Us="Home",Ks="End",Xs="active",Ys="fade",Js="show",Gs=".dropdown-toggle",Zs=`:not(${Gs})`,Qs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"], [data-tblr-toggle="tab"], [data-tblr-toggle="pill"], [data-tblr-toggle="list"]',to=`${`.nav-link${Zs}, .list-group-item${Zs}, [role="tab"]${Zs}`}, ${Qs}`,eo=`.${Xs}[data-bs-toggle="tab"], .${Xs}[data-bs-toggle="pill"], .${Xs}[data-bs-toggle="list"], .${Xs}[data-tblr-toggle="tab"], .${Xs}[data-tblr-toggle="pill"], .${Xs}[data-tblr-toggle="list"]`,io=class t extends Oe{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Zt.on(this._element,Bs,t=>this._keydown(t)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?Zt.trigger(e,Ms,{relatedTarget:t}):null,n=Zt.trigger(t,js,{relatedTarget:e});(null==n?void 0:n.defaultPrevented)||(null==i?void 0:i.defaultPrevented)||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(Xs),this._activate(xe.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected","true"),this._toggleDropDown(t,!0),Zt.trigger(t,Fs,{relatedTarget:e})):t.classList.add(Js)},t,t.classList.contains(Ys))}_deactivate(t,e){if(!t)return;t.classList.remove(Xs),t.blur(),this._deactivate(xe.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Zt.trigger(t,Is,{relatedTarget:e})):t.classList.remove(Js)},t,t.classList.contains(Ys))}_keydown(e){if(![Ws,zs,Rs,Vs,Us,Ks].includes(e.key))return;e.stopPropagation(),e.preventDefault();const i=this._getChildren().filter(t=>!ue(t));let n;if([Us,Ks].includes(e.key))n=i[e.key===Us?0:i.length-1];else{const t=[zs,Vs].includes(e.key);n=be(i,e.target,t,!0)}n&&(n.focus({preventScroll:!0}),t.getOrCreateInstance(n).show())}_getChildren(){return xe.find(to,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",String(e)),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=xe.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const s=xe.findOne(t,i);s&&s.classList.toggle(n,e)};n(Gs,Xs),n(".dropdown-menu",Js),i.setAttribute("aria-expanded",String(e))}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(Xs)}_getInnerElement(t){return t.matches(to)?t:xe.findOne(to,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}};Zt.on(document,Hs,Qs,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),ue(this)||io.getOrCreateInstance(this).show()}),Zt.on(window,qs,()=>{for(const t of xe.find(eo))io.getOrCreateInstance(t)});var no=".bs.toast",so=`mouseover${no}`,oo=`mouseout${no}`,ro=`focusin${no}`,ao=`focusout${no}`,lo=`hide${no}`,co=`hidden${no}`,uo=`show${no}`,ho=`shown${no}`,fo="hide",po="show",go="showing",mo={animation:"boolean",autohide:"boolean",delay:"number"},_o={animation:!0,autohide:!0,delay:5e3},bo=class extends Oe{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return _o}static get DefaultType(){return mo}static get NAME(){return"toast"}show(){const t=Zt.trigger(this._element,uo);if(null==t?void 0:t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(fo),pe(this._element),this._element.classList.add(po,go),this._queueCallback(()=>{this._element.classList.remove(go),Zt.trigger(this._element,ho),this._maybeScheduleHide()},this._element,this._config.animation)}hide(){if(!this.isShown())return;const t=Zt.trigger(this._element,lo);if(null==t?void 0:t.defaultPrevented)return;this._element.classList.add(go),this._queueCallback(()=>{this._element.classList.add(fo),this._element.classList.remove(go,po),Zt.trigger(this._element,co)},this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(po),super.dispose()}isShown(){return this._element.classList.contains(po)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){Zt.on(this._element,so,t=>this._onInteraction(t,!0)),Zt.on(this._element,oo,t=>this._onInteraction(t,!1)),Zt.on(this._element,ro,t=>this._onInteraction(t,!0)),Zt.on(this._element,ao,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}};Se(bo);var vo={Alert:De,Button:Ne,Carousel:ui,Collapse:Oi,Dropdown:Ji,Modal:Dn,Offcanvas:Jn,Popover:As,ScrollSpy:Ps,Tab:io,Toast:bo,Tooltip:_s};[].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]')).map(function(t){return new Ji(t,{boundary:"viewport"===t.getAttribute("data-bs-boundary")?document.documentElement:"clippingParents"})});var yo=t=>{for(const e of document.querySelectorAll('[data-bs-toggle="sidebar-folded"]'))e.setAttribute("aria-pressed",String(t))},wo=t=>{for(const i of document.querySelectorAll('.navbar-vertical [data-bs-toggle="dropdown"][aria-expanded="true"]'))if(i!==t){var e;null===(e=Ji.getInstance(i))||void 0===e||e.hide()}};document.addEventListener("click",t=>{if(!(null!==(e=document.documentElement.getAttribute("data-bs-sidebar"))&&void 0!==e?e:"").startsWith("folded")&&!document.querySelector(".navbar-vertical.navbar-folded, .navbar-vertical.navbar-folded-hover"))return;var e;const i=t.target;i.closest(".navbar-vertical .dropdown-menu")||wo(i.closest('.navbar-vertical [data-bs-toggle="dropdown"]'))}),document.addEventListener("mouseleave",t=>{const e=t.target;e instanceof Element&&e.matches(".navbar-vertical")&&("folded-hover"===document.documentElement.getAttribute("data-bs-sidebar")||e.classList.contains("navbar-folded-hover"))&&wo()},!0),document.addEventListener("DOMContentLoaded",()=>{var t;const e=(null!==(t=document.documentElement.getAttribute("data-bs-sidebar"))&&void 0!==t?t:"").startsWith("folded");if(yo(e),e)for(const t of document.querySelectorAll(".navbar-vertical .dropdown-menu.show")){var i;t.classList.remove("show"),null===(i=t.parentElement)||void 0===i||null===(i=i.querySelector('[data-bs-toggle="dropdown"]'))||void 0===i||i.setAttribute("aria-expanded","false")}}),document.addEventListener("click",t=>{var e;if(!t.target.closest('[data-bs-toggle="sidebar-folded"]'))return;const i=document.documentElement,n=!(null!==(e=i.getAttribute("data-bs-sidebar"))&&void 0!==e?e:"").startsWith("folded");n?i.setAttribute("data-bs-sidebar","folded-hover"):i.removeAttribute("data-bs-sidebar"),localStorage.setItem("tabler-sidebar",n?"folded-hover":"default"),yo(n),wo(),document.dispatchEvent(new CustomEvent("tabler:sidebar-folded",{detail:{folded:n}}))}),[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(t){var e;return new _s(t,{delay:{show:50,hide:50},html:"true"===t.getAttribute("data-bs-html"),placement:null!==(e=t.getAttribute("data-bs-placement"))&&void 0!==e?e:"auto"})}),[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function(t){var e;return new As(t,{delay:{show:50,hide:50},html:"true"===t.getAttribute("data-bs-html"),placement:null!==(e=t.getAttribute("data-bs-placement"))&&void 0!==e?e:"auto"})}),[].slice.call(document.querySelectorAll('[data-bs-toggle="switch-icon"]')).map(function(t){t.addEventListener("click",e=>{e.stopPropagation();const i=t.classList.toggle("active");t.setAttribute("aria-pressed",i?"true":"false")})});(()=>{const t=window.location.hash;t&&[].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]')).filter(e=>e.hash===t).map(t=>{new io(t).show()})})(),[].slice.call(document.querySelectorAll('[data-bs-toggle="toast"]')).map(function(t){const e=t.getAttribute("data-bs-target");if(null===e)return;const i=new bo(e);t.addEventListener("click",()=>{i.show()})});var Ao=document.querySelectorAll("[data-sortable]");Ao.length&&Ao.forEach(function(t){let e={};try{const i=t.getAttribute("data-sortable");e=i?JSON.parse(i):{}}catch(t){}window.Sortable&&new window.Sortable(t,e)});var Eo=i({getColor:()=>Co,hexToRgba:()=>Oo,prefix:()=>To}),To="tblr-",Oo=(t,e)=>{const i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?`rgba(${parseInt(i[1],16)}, ${parseInt(i[2],16)}, ${parseInt(i[3],16)}, ${e})`:null},Co=(t,e=1)=>{const i=getComputedStyle(document.body).getPropertyValue(`--${To}${t}`).trim();return 1!==e?Oo(i,e):i};t.Alert=De,t.Button=Ne,t.Carousel=ui,t.Collapse=Oi,t.Dropdown=Ji,t.Modal=Dn,t.Offcanvas=Jn,t.Popover=As,Object.defineProperty(t,"Popper",{enumerable:!0,get:function(){return Mt}}),t.ScrollSpy=Ps,t.Tab=io,t.Toast=bo,t.Tooltip=_s,t.bootstrap=vo,Object.defineProperty(t,"tabler",{enumerable:!0,get:function(){return Eo}})}); //# sourceMappingURL=tabler.min.js.map