UNPKG

@hummingbirdui/hummingbird

Version:

An open-source system designed for rapid development, without sacrificing the granular control of utility-first CSS.

47 lines 84.4 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).hummingbird=t()}(this,(function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})})),n}var n,i={exports:{}},s={exports:{}},o={exports:{}};function r(){return n||(n=1,o.exports=function(){const e=new Map;return{set(t,n,i){e.has(t)||e.set(t,new Map);const s=e.get(t);s.has(n)||0===s.size?s.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}}}()),o.exports}var a,l={exports:{}},c={exports:{}};function u(){return a||(a=1,function(e){const t=1e6,n=1e3,i="transitionend",s=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),o=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),r=e=>{do{e+=Math.floor(Math.random()*t)}while(document.getElementById(e));return e},a=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const s=Number.parseFloat(t),o=Number.parseFloat(i);return s||o?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*n):0},l=e=>{e.dispatchEvent(new Event(i))},c=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),u=e=>c(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(s(e)):null,d=e=>{if(!c(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},h=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),f=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?f(e.parentNode):null},p=()=>{},g=e=>{e.offsetHeight},m=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,_=[],b=e=>{"loading"===document.readyState?(_.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of _)e()})),_.push(e)):e()},v=()=>"rtl"===document.documentElement.dir,y=e=>{b((()=>{const t=m();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}}))},w=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,E=(e,t,n=!0)=>{if(!n)return void w(e);const s=5,o=a(t)+s;let r=!1;const c=({target:n})=>{n===t&&(r=!0,t.removeEventListener(i,c),w(e))};t.addEventListener(i,c),setTimeout((()=>{r||l(t)}),o)},x=(e,t,n,i)=>{const s=e.length;let o=e.indexOf(t);return-1===o?!n&&i?e[s-1]:e[0]:(o+=n?1:-1,i&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])};e.defineJQueryPlugin=y,e.execute=w,e.executeAfterTransition=E,e.findShadowRoot=f,e.getElement=u,e.getNextActiveElement=x,e.getTransitionDurationFromElement=a,e.getUID=r,e.getjQuery=m,e.isDisabled=h,e.isElement=c,e.isRTL=v,e.isVisible=d,e.noop=p,e.onDOMContentLoaded=b,e.parseSelector=s,e.reflow=g,e.toType=o,e.triggerTransitionEnd=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(c.exports)),c.exports} /*! * Bootstrap event-handler.js v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */var d;function h(){return d||(d=1,l.exports=function(e){const t=/[^.]*(?=\..*)\.|.*/,n=/\..*/,i=/::\d+$/,s={};let o=1;const r={mouseenter:"mouseover",mouseleave:"mouseout"},a=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 l(e,t){return t&&`${t}::${o++}`||e.uidEvent||o++}function c(e){const t=l(e);return e.uidEvent=t,s[t]=s[t]||{},s[t]}function u(e,t){return function n(i){return v(i,{delegateTarget:e}),n.oneOff&&b.off(e,i.type,t),t.apply(e,[i])}}function d(e,t,n){return function i(s){const o=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return v(s,{delegateTarget:r}),i.oneOff&&b.off(e,s.type,t,n),n.apply(r,[s])}}function h(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function f(e,t,n){const i="string"==typeof t,s=i?n:t||n;let o=_(e);return a.has(o)||(o=e),[i,s,o]}function p(e,n,i,s,o){if("string"!=typeof n||!e)return;let[a,p,g]=f(n,i,s);var m;n in r&&(m=p,p=function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return m.call(this,e)});const _=c(e),b=_[g]||(_[g]={}),v=h(b,p,a?i:null);if(v)return void(v.oneOff=v.oneOff&&o);const y=l(p,n.replace(t,"")),w=a?d(e,i,p):u(e,p);w.delegationSelector=a?i:null,w.callable=p,w.oneOff=o,w.uidEvent=y,b[y]=w,e.addEventListener(g,w,a)}function g(e,t,n,i,s){const o=h(t[n],i,s);o&&(e.removeEventListener(n,o,Boolean(s)),delete t[n][o.uidEvent])}function m(e,t,n,i){const s=t[n]||{};for(const[o,r]of Object.entries(s))o.includes(i)&&g(e,t,n,r.callable,r.delegationSelector)}function _(e){return e=e.replace(n,""),r[e]||e}const b={on(e,t,n,i){p(e,t,n,i,!1)},one(e,t,n,i){p(e,t,n,i,!0)},off(e,t,n,s){if("string"!=typeof t||!e)return;const[o,r,a]=f(t,n,s),l=a!==t,u=c(e),d=u[a]||{},h=t.startsWith(".");if(void 0===r){if(h)for(const n of Object.keys(u))m(e,u,n,t.slice(1));for(const[n,s]of Object.entries(d)){const o=n.replace(i,"");l&&!t.includes(o)||g(e,u,a,s.callable,s.delegationSelector)}}else{if(!Object.keys(d).length)return;g(e,u,a,r,o?n:null)}},trigger(t,n,i){if("string"!=typeof n||!t)return null;const s=e.getjQuery();let o=null,r=!0,a=!0,l=!1;n!==_(n)&&s&&(o=s.Event(n,i),s(t).trigger(o),r=!o.isPropagationStopped(),a=!o.isImmediatePropagationStopped(),l=o.isDefaultPrevented());const c=v(new Event(n,{bubbles:r,cancelable:!0}),i);return l&&c.preventDefault(),a&&t.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function v(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}return b}(u())),l.exports}var f,p={exports:{}},g={exports:{}};function m(){return f||(f=1,g.exports=function(){function e(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function t(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}return{setDataAttribute(e,n,i){e.setAttribute(`data-bs-${t(n)}`,i)},removeDataAttribute(e,n){e.removeAttribute(`data-bs-${t(n)}`)},getDataAttributes(t){if(!t)return{};const n={},i=Object.keys(t.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const s of i){let i=s.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),n[i]=e(t.dataset[s])}return n},getDataAttribute:(n,i)=>e(n.getAttribute(`data-bs-${t(i)}`))}}()),g.exports} /*! * Bootstrap config.js v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */var _;function b(){return _||(_=1,p.exports=function(e,t){class n{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(n,i){const s=t.isElement(i)?e.getDataAttribute(i,"config"):{};return{...this.constructor.Default,..."object"==typeof s?s:{},...t.isElement(i)?e.getDataAttributes(i):{},..."object"==typeof n?n:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[i,s]of Object.entries(n)){const n=e[i],o=t.isElement(n)?"element":t.toType(n);if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${s}".`)}}}return n}(m(),u())),p.exports} /*! * Bootstrap base-component.js v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */var v;function y(){return v||(v=1,s.exports=function(e,t,n,i){const s="5.3.8";class o extends n{constructor(t,n){super(),(t=i.getElement(t))&&(this._element=t,this._config=this._getConfig(n),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),t.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){i.executeAfterTransition(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(t){return e.get(i.getElement(t),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return s}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}return o}(r(),h(),b(),u())),s.exports}var w,E={exports:{}},x={exports:{}};function A(){return w||(w=1,x.exports=function(e){const t=t=>{let n=t.getAttribute("data-bs-target");if(!n||"#"===n){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),n=e&&"#"!==e?e.trim():null}return n?n.split(",").map((t=>e.parseSelector(t))).join(","):null},n={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const n=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(n,t).filter((t=>!e.isDisabled(t)&&e.isVisible(t)))},getSelectorFromElement(e){const i=t(e);return i&&n.findOne(i)?i:null},getElementFromSelector(e){const i=t(e);return i?n.findOne(i):null},getMultipleElementsFromSelector(e){const i=t(e);return i?n.find(i):[]}};return n}(u())),x.exports} /*! * Bootstrap component-functions.js v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */var O;function T(){return O||(O=1,function(e,t,n,i){const s=(e,s="hide")=>{const o=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;t.on(document,o,`[data-bs-dismiss="${r}"]`,(function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),i.isDisabled(this))return;const o=n.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(o)[s]()}))};e.enableDismissTrigger=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(E.exports,h(),A(),u())),E.exports} /*! * Bootstrap alert.js v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */var C;const k=e((C||(C=1,i.exports=function(e,t,n,i){const s="alert",o=".bs.alert",r=`close${o}`,a=`closed${o}`,l="fade",c="show";class u extends e{static get NAME(){return s}close(){if(t.trigger(this._element,r).defaultPrevented)return;this._element.classList.remove(c);const e=this._element.classList.contains(l);this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),t.trigger(this._element,a),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=u.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return n.enableDismissTrigger(u,"close"),i.defineJQueryPlugin(u),u}(y(),h(),T(),u())),i.exports));var D=(e=>(e.close="close.bs.alert",e.closed="closed.bs.alert",e))(D||{});const L=k;L.Events=D;var S,P={exports:{}}; /*! * Bootstrap button.js v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */const j=e((S||(S=1,P.exports=function(e,t,n){const i="button",s="active",o='[data-bs-toggle="button"]',r="click.bs.button.data-api";class a extends e{static get NAME(){return i}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(s))}static jQueryInterface(e){return this.each((function(){const t=a.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}return t.on(document,r,o,(e=>{e.preventDefault();const t=e.target.closest(o);a.getOrCreateInstance(t).toggle()})),n.defineJQueryPlugin(a),a}(y(),h(),u())),P.exports));var N,$={exports:{}},I={exports:{}};function M(){return N||(N=1,I.exports=function(e,t,n){const i="swipe",s=".bs.swipe",o=`touchstart${s}`,r=`touchmove${s}`,a=`touchend${s}`,l=`pointerdown${s}`,c=`pointerup${s}`,u="touch",d="pen",h="pointer-event",f=40,p={endCallback:null,leftCallback:null,rightCallback:null},g={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class m extends t{constructor(e,t){super(),this._element=e,e&&m.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return p}static get DefaultType(){return g}static get NAME(){return i}dispose(){e.off(this._element,s)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),n.execute(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=f)return;const t=e/this._deltaX;this._deltaX=0,t&&n.execute(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(e.on(this._element,l,(e=>this._start(e))),e.on(this._element,c,(e=>this._end(e))),this._element.classList.add(h)):(e.on(this._element,o,(e=>this._start(e))),e.on(this._element,r,(e=>this._move(e))),e.on(this._element,a,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===d||e.pointerType===u)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}return m}(h(),b(),u())),I.exports} /*! * Bootstrap carousel.js v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */var H;const F=e((H||(H=1,$.exports=function(e,t,n,i,s,o){const r="carousel",a=".bs.carousel",l=".data-api",c="ArrowLeft",u="ArrowRight",d=500,h="next",f="prev",p="left",g="right",m=`slide${a}`,_=`slid${a}`,b=`keydown${a}`,v=`mouseenter${a}`,y=`mouseleave${a}`,w=`dragstart${a}`,E=`load${a}${l}`,x=`click${a}${l}`,A="carousel",O="active",T="slide",C="carousel-item-end",k="carousel-item-start",D="carousel-item-next",L="carousel-item-prev",S=".active",P=".carousel-item",j=S+P,N=".carousel-item img",$=".carousel-indicators",I="[data-bs-slide], [data-bs-slide-to]",M='[data-bs-ride="carousel"]',H={[c]:g,[u]:p},F={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},R={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class W extends e{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=i.findOne($,this._element),this._addEventListeners(),this._config.ride===A&&this.cycle()}static get Default(){return F}static get DefaultType(){return R}static get NAME(){return r}next(){this._slide(h)}nextWhenVisible(){!document.hidden&&s.isVisible(this._element)&&this.next()}prev(){this._slide(f)}pause(){this._isSliding&&s.triggerTransitionEnd(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?t.one(this._element,_,(()=>this.cycle())):this.cycle())}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding)return void t.one(this._element,_,(()=>this.to(e)));const i=this._getItemIndex(this._getActive());if(i===e)return;const s=e>i?h:f;this._slide(s,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&t.on(this._element,b,(e=>this._keydown(e))),"hover"===this._config.pause&&(t.on(this._element,v,(()=>this.pause())),t.on(this._element,y,(()=>this._maybeEnableCycle()))),this._config.touch&&o.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of i.find(N,this._element))t.on(e,w,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(p)),rightCallback:()=>this._slide(this._directionToOrder(g)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),d+this._config.interval))}};this._swipeHelper=new o(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=H[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=i.findOne(S,this._indicatorsElement);t.classList.remove(O),t.removeAttribute("aria-current");const n=i.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(O),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const i=this._getActive(),o=e===h,r=n||s.getNextActiveElement(this._getItems(),i,o,this._config.wrap);if(r===i)return;const a=this._getItemIndex(r),l=n=>t.trigger(this._element,n,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:a});if(l(m).defaultPrevented)return;if(!i||!r)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const u=o?k:C,d=o?D:L;r.classList.add(d),s.reflow(r),i.classList.add(u),r.classList.add(u);const f=()=>{r.classList.remove(u,d),r.classList.add(O),i.classList.remove(O,d,u),this._isSliding=!1,l(_)};this._queueCallback(f,i,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(T)}_getActive(){return i.findOne(j,this._element)}_getItems(){return i.find(P,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return s.isRTL()?e===p?f:h:e===p?h:f}_orderToDirection(e){return s.isRTL()?e===f?p:g:e===f?g:p}static jQueryInterface(e){return this.each((function(){const t=W.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}return t.on(document,x,I,(function(e){const t=i.getElementFromSelector(this);if(!t||!t.classList.contains(A))return;e.preventDefault();const s=W.getOrCreateInstance(t),o=this.getAttribute("data-bs-slide-to");return o?(s.to(o),void s._maybeEnableCycle()):"next"===n.getDataAttribute(this,"slide")?(s.next(),void s._maybeEnableCycle()):(s.prev(),void s._maybeEnableCycle())})),t.on(window,E,(()=>{const e=i.find(M);for(const t of e)W.getOrCreateInstance(t)})),s.defineJQueryPlugin(W),W}(y(),h(),m(),A(),u(),M())),$.exports));var R=(e=>(e.slide="slide.bs.carousel",e.slid="slid.bs.carousel",e))(R||{});const W=F;W.Events=R;var B,z={exports:{}}; /*! * Bootstrap collapse.js v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */const q=e((B||(B=1,z.exports=function(e,t,n,i){const s="collapse",o=".bs.collapse",r=`show${o}`,a=`shown${o}`,l=`hide${o}`,c=`hidden${o}`,u=`click${o}.data-api`,d="show",h="collapse",f="collapsing",p="collapsed",g=`:scope .${h} .${h}`,m="collapse-horizontal",_="width",b="height",v=".collapse.show, .collapse.collapsing",y='[data-bs-toggle="collapse"]',w={parent:null,toggle:!0},E={parent:"(null|element)",toggle:"boolean"};class x extends e{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=n.find(y);for(const e of i){const t=n.getSelectorFromElement(e),i=n.find(t).filter((e=>e===this._element));null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return w}static get DefaultType(){return E}static get NAME(){return s}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(v).filter((e=>e!==this._element)).map((e=>x.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(t.trigger(this._element,r).defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(h),this._element.classList.add(f),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(h,d),this._element.style[n]="",t.trigger(this._element,a)},s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(t.trigger(this._element,l).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,i.reflow(this._element),this._element.classList.add(f),this._element.classList.remove(h,d);for(const e of this._triggerArray){const t=n.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(h),t.trigger(this._element,c)};this._element.style[e]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(d)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=i.getElement(e.parent),e}_getDimension(){return this._element.classList.contains(m)?_:b}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(y);for(const t of e){const e=n.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=n.find(g,this._config.parent);return n.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle(p,!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=x.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}return t.on(document,u,y,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of n.getMultipleElementsFromSelector(this))x.getOrCreateInstance(e,{toggle:!1}).toggle()})),i.defineJQueryPlugin(x),x}(y(),h(),A(),u())),z.exports));var V=(e=>(e.show="show.bs.collapse",e.shown="shown.bs.collapse",e.hide="hide.bs.collapse",e.hidden="hidden.bs.collapse",e))(V||{});const Q=q;Q.Events=V;var X={exports:{}},K="top",U="bottom",Y="right",J="left",G="auto",Z=[K,U,Y,J],ee="start",te="end",ne="clippingParents",ie="viewport",se="popper",oe="reference",re=Z.reduce((function(e,t){return e.concat([t+"-"+ee,t+"-"+te])}),[]),ae=[].concat(Z,[G]).reduce((function(e,t){return e.concat([t,t+"-"+ee,t+"-"+te])}),[]),le="beforeRead",ce="read",ue="afterRead",de="beforeMain",he="main",fe="afterMain",pe="beforeWrite",ge="write",me="afterWrite",_e=[le,ce,ue,de,he,fe,pe,ge,me];function be(e){return e?(e.nodeName||"").toLowerCase():null}function ve(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ye(e){return e instanceof ve(e).Element||e instanceof Element}function we(e){return e instanceof ve(e).HTMLElement||e instanceof HTMLElement}function Ee(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ve(e).ShadowRoot||e instanceof ShadowRoot)}const xe={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},s=t.elements[e];we(s)&&be(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],s=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});we(i)&&be(i)&&(Object.assign(i.style,o),Object.keys(s).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Ae(e){return e.split("-")[0]}var Oe=Math.max,Te=Math.min,Ce=Math.round;function ke(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function De(){return!/^((?!chrome|android).)*safari/i.test(ke())}function Le(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&we(e)&&(s=e.offsetWidth>0&&Ce(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ce(i.height)/e.offsetHeight||1);var r=(ye(e)?ve(e):window).visualViewport,a=!De()&&n,l=(i.left+(a&&r?r.offsetLeft:0))/s,c=(i.top+(a&&r?r.offsetTop:0))/o,u=i.width/s,d=i.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Se(e){var t=Le(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Pe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ee(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function je(e){return ve(e).getComputedStyle(e)}function Ne(e){return["table","td","th"].indexOf(be(e))>=0}function $e(e){return((ye(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ie(e){return"html"===be(e)?e:e.assignedSlot||e.parentNode||(Ee(e)?e.host:null)||$e(e)}function Me(e){return we(e)&&"fixed"!==je(e).position?e.offsetParent:null}function He(e){for(var t=ve(e),n=Me(e);n&&Ne(n)&&"static"===je(n).position;)n=Me(n);return n&&("html"===be(n)||"body"===be(n)&&"static"===je(n).position)?t:n||function(e){var t=/firefox/i.test(ke());if(/Trident/i.test(ke())&&we(e)&&"fixed"===je(e).position)return null;var n=Ie(e);for(Ee(n)&&(n=n.host);we(n)&&["html","body"].indexOf(be(n))<0;){var i=je(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Fe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Re(e,t,n){return Oe(e,Te(t,n))}function We(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Be(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const ze={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,s=e.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,a=Ae(n.placement),l=Fe(a),c=[J,Y].indexOf(a)>=0?"height":"width";if(o&&r){var u=function(e,t){return We("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Be(e,Z))}(s.padding,n),d=Se(o),h="y"===l?K:J,f="y"===l?U:Y,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],g=r[l]-n.rects.reference[l],m=He(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=p/2-g/2,v=u[h],y=_-d[c]-u[f],w=_/2-d[c]/2+b,E=Re(v,w,y),x=l;n.modifiersData[i]=((t={})[x]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Pe(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qe(e){return e.split("-")[1]}var Ve={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qe(e){var t,n=e.popper,i=e.popperRect,s=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=r.x,f=void 0===h?0:h,p=r.y,g=void 0===p?0:p,m="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=J,y=K,w=window;if(c){var E=He(n),x="clientHeight",A="clientWidth";if(E===ve(n)&&"static"!==je(E=$e(n)).position&&"absolute"===a&&(x="scrollHeight",A="scrollWidth"),s===K||(s===J||s===Y)&&o===te)y=U,g-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[x])-i.height,g*=l?1:-1;if(s===J||(s===K||s===U)&&o===te)v=Y,f-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[A])-i.width,f*=l?1:-1}var O,T=Object.assign({position:a},c&&Ve),C=!0===u?function(e,t){var n=e.x,i=e.y,s=t.devicePixelRatio||1;return{x:Ce(n*s)/s||0,y:Ce(i*s)/s||0}}({x:f,y:g},ve(n)):{x:f,y:g};return f=C.x,g=C.y,l?Object.assign({},T,((O={})[y]=b?"0":"",O[v]=_?"0":"",O.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",O)):Object.assign({},T,((t={})[y]=b?g+"px":"",t[v]=_?f+"px":"",t.transform="",t))}const Xe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=void 0===i||i,o=n.adaptive,r=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:Ae(t.placement),variation:qe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Qe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Qe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var Ke={passive:!0};const Ue={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,o=void 0===s||s,r=i.resize,a=void 0===r||r,l=ve(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,Ke)})),a&&l.addEventListener("resize",n.update,Ke),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Ke)})),a&&l.removeEventListener("resize",n.update,Ke)}},data:{}};var Ye={left:"right",right:"left",bottom:"top",top:"bottom"};function Je(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ye[e]}))}var Ge={start:"end",end:"start"};function Ze(e){return e.replace(/start|end/g,(function(e){return Ge[e]}))}function et(e){var t=ve(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tt(e){return Le($e(e)).left+et(e).scrollLeft}function nt(e){var t=je(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function it(e){return["html","body","#document"].indexOf(be(e))>=0?e.ownerDocument.body:we(e)&&nt(e)?e:it(Ie(e))}function st(e,t){var n;void 0===t&&(t=[]);var i=it(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=ve(i),r=s?[o].concat(o.visualViewport||[],nt(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(st(Ie(r)))}function ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function rt(e,t,n){return t===ie?ot(function(e,t){var n=ve(e),i=$e(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=De();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+tt(e),y:l}}(e,n)):ye(t)?function(e,t){var n=Le(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ot(function(e){var t,n=$e(e),i=et(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=Oe(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Oe(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+tt(e),l=-i.scrollTop;return"rtl"===je(s||n).direction&&(a+=Oe(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}($e(e)))}function at(e,t,n,i){var s="clippingParents"===t?function(e){var t=st(Ie(e)),n=["absolute","fixed"].indexOf(je(e).position)>=0&&we(e)?He(e):e;return ye(n)?t.filter((function(e){return ye(e)&&Pe(e,n)&&"body"!==be(e)})):[]}(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce((function(t,n){var s=rt(e,n,i);return t.top=Oe(s.top,t.top),t.right=Te(s.right,t.right),t.bottom=Te(s.bottom,t.bottom),t.left=Oe(s.left,t.left),t}),rt(e,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function lt(e){var t,n=e.reference,i=e.element,s=e.placement,o=s?Ae(s):null,r=s?qe(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case K:t={x:a,y:n.y-i.height};break;case U:t={x:a,y:n.y+n.height};break;case Y:t={x:n.x+n.width,y:l};break;case J:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?Fe(o):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case ee:t[c]=t[c]-(n[u]/2-i[u]/2);break;case te:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function ct(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=void 0===i?e.placement:i,o=n.strategy,r=void 0===o?e.strategy:o,a=n.boundary,l=void 0===a?ne:a,c=n.rootBoundary,u=void 0===c?ie:c,d=n.elementContext,h=void 0===d?se:d,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,m=void 0===g?0:g,_=We("number"!=typeof m?m:Be(m,Z)),b=h===se?oe:se,v=e.rects.popper,y=e.elements[p?b:h],w=at(ye(y)?y:y.contextElement||$e(e.elements.popper),l,u,r),E=Le(e.elements.reference),x=lt({reference:E,element:v,placement:s}),A=ot(Object.assign({},v,x)),O=h===se?A:E,T={top:w.top-O.top+_.top,bottom:O.bottom-w.bottom+_.bottom,left:w.left-O.left+_.left,right:O.right-w.right+_.right},C=e.modifiersData.offset;if(h===se&&C){var k=C[s];Object.keys(T).forEach((function(e){var t=[Y,U].indexOf(e)>=0?1:-1,n=[K,U].indexOf(e)>=0?"y":"x";T[e]+=k[n]*t}))}return T}const ut={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var s=n.mainAxis,o=void 0===s||s,r=n.altAxis,a=void 0===r||r,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,_=Ae(m),b=l||(_===m||!p?[Je(m)]:function(e){if(Ae(e)===G)return[];var t=Je(e);return[Ze(e),t,Ze(t)]}(m)),v=[m].concat(b).reduce((function(e,n){return e.concat(Ae(n)===G?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?ae:l,u=qe(i),d=u?a?re:re.filter((function(e){return qe(e)===u})):Z,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var f=h.reduce((function(t,n){return t[n]=ct(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[Ae(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),y=t.rects.reference,w=t.rects.popper,E=new Map,x=!0,A=v[0],O=0;O<v.length;O++){var T=v[O],C=Ae(T),k=qe(T)===ee,D=[K,U].indexOf(C)>=0,L=D?"width":"height",S=ct(t,{placement:T,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),P=D?k?Y:J:k?U:K;y[L]>w[L]&&(P=Je(P));var j=Je(P),N=[];if(o&&N.push(S[C]<=0),a&&N.push(S[P]<=0,S[j]<=0),N.every((function(e){return e}))){A=T,x=!1;break}E.set(T,N)}if(x)for(var $=function(e){var t=v.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},I=p?3:1;I>0;I--){if("break"===$(I))break}t.placement!==A&&(t.modifiersData[i]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function dt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ht(e){return[K,Y,U,J].some((function(t){return e[t]>=0}))}const ft={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=ct(t,{elementContext:"reference"}),a=ct(t,{altBoundary:!0}),l=dt(r,i),c=dt(a,s,o),u=ht(l),d=ht(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};const pt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.offset,o=void 0===s?[0,0]:s,r=ae.reduce((function(e,n){return e[n]=function(e,t,n){var i=Ae(e),s=[J,K].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[J,Y].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}(n,t.rects,o),e}),{}),a=r[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=r}};const gt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=lt({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}};const mt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.mainAxis,o=void 0===s||s,r=n.altAxis,a=void 0!==r&&r,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,f=void 0===h||h,p=n.tetherOffset,g=void 0===p?0:p,m=ct(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),_=Ae(t.placement),b=qe(t.placement),v=!b,y=Fe(_),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,x=t.rects.reference,A=t.rects.popper,O="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,T="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(E){if(o){var D,L="y"===y?K:J,S="y"===y?U:Y,P="y"===y?"height":"width",j=E[y],N=j+m[L],$=j-m[S],I=f?-A[P]/2:0,M=b===ee?x[P]:A[P],H=b===ee?-A[P]:-x[P],F=t.elements.arrow,R=f&&F?Se(F):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=W[L],z=W[S],q=Re(0,x[P],R[P]),V=v?x[P]/2-I-q-B-T.mainAxis:M-q-B-T.mainAxis,Q=v?-x[P]/2+I+q+z+T.mainAxis:H+q+z+T.mainAxis,X=t.elements.arrow&&He(t.elements.arrow),G=X?"y"===y?X.clientTop||0:X.clientLeft||0:0,Z=null!=(D=null==C?void 0:C[y])?D:0,te=j+Q-Z,ne=Re(f?Te(N,j+V-Z-G):N,j,f?Oe($,te):$);E[y]=ne,k[y]=ne-j}if(a){var ie,se="x"===y?K:J,oe="x"===y?U:Y,re=E[w],ae="y"===w?"height":"width",le=re+m[se],ce=re-m[oe],ue=-1!==[K,J].indexOf(_),de=null!=(ie=null==C?void 0:C[w])?ie:0,he=ue?le:re-x[ae]-A[ae]-de+T.altAxis,fe=ue?re+x[ae]+A[ae]-de-T.altAxis:ce,pe=f&&ue?(me=Re(he,re,ge=fe))>ge?ge:me:Re(f?he:le,re,f?fe:ce);E[w]=pe,k[w]=pe-re}var ge,me;t.modifiersData[i]=k}},requiresIfExists:["offset"]};function _t(e,t,n){void 0===n&&(n=!1);var i,s,o=we(t),r=we(t)&&function(e){var t=e.getBoundingClientRect(),n=Ce(t.width)/e.offsetWidth||1,i=Ce(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=$e(t),l=Le(e,r,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==be(t)||nt(a))&&(c=(i=t)!==ve(i)&&we(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:et(i)),we(t)?((u=Le(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=tt(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function bt(e){var t=new Map,n=new Set,i=[];function s(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&s(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||s(e)})),i}var vt={placement:"bottom",modifiers:[],strategy:"absolute"};function yt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function wt(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,s=t.defaultOptions,o=void 0===s?vt:s;return function(e,t,n){void 0===n&&(n=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},vt,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var s="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:ye(e)?st(e):e.contextElement?st(e.contextElement):[],popper:st(t)};var r,c,h=function(e){var t=bt(e);return _e.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((r=[].concat(i,a.options.modifiers),c=r.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return a.orderedModifiers=h.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,s=e.effect;if("function"==typeof s){var o=s({state:a,name:t,instance:u,options:i}),r=function(){};l.push(o||r)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(yt(t,n)){a.rects={reference:_t(t,He(n),"fixed"===a.options.strategy),popper:Se(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],o=s.fn,r=s.options,l=void 0===r?{}:r,d=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,i=-1}}},update:(s=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return r||(r=new Promise((function(e){Promise.resolve().then((function(){r=void 0,e(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!yt(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Et=wt(),xt=wt({defaultModifiers:[Ue,gt,Xe,xe]}),At=wt({defaultModifiers:[Ue,gt,Xe,xe,pt,ut,mt,ze,ft]});const Ot=t(Object.freeze(Object.defineProperty({__proto__:null,afterMain:fe,afterRead:ue,afterWrite:me,applyStyles:xe,arrow:ze,auto:G,basePlacements:Z,beforeMain:de,beforeRead:le,beforeWrite:pe,bottom:U,clippingParents:ne,computeStyles:Xe,createPopper:At,createPopperBase:Et,createPopperLite:xt,detectOverflow:ct,end:te,eventListeners:Ue,flip:ut,hide:ft,left:J,main:he,modifierPhases:_e,offset:pt,placements:ae,popper:se,popperGenerator:wt,popperOffsets:gt,preventOverflow:mt,read:ce,reference:oe,right:Y,start:ee,top:K,variationPlacements:re,viewport:ie,write:ge},Symbol.toStringTag,{value:"Module"}))); /*! * Bootstrap dropdown.js v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ var Tt;const Ct=e((Tt||(Tt=1,X.exports=function(e,t,n,i,s,o){function r(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const a=r(e),l="dropdown",c=".bs.dropdown",u=".data-api",d="Escape",h="Tab",f="ArrowUp",p="ArrowDown",g=2,m=`hide${c}`,_=`hidden${c}`,b=`show${c}`,v=`shown${c}`,y=`click${c}${u}`,w=`keydown${c}${u}`,E=`keyup${c}${u}`,x="show",A="dropup",O="dropend",T="dropstart",C="dropup-center",k="dropdown-center",D='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',L=`${D}.${x}`,S=".dropdown-menu",P=".navbar",j=".navbar-nav",N=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",$=o.isRTL()?"top-end":"top-start",I=o.isRTL()?"top-start":"top-end",M=o.isRTL()?"bottom-end":"bottom-start",H=o.isRTL()?"bottom-start":"bottom-end",F=o.isRTL()?"left-start":"right-start",R=o.isRTL()?"right-start":"left-start",W="top",B="bottom",z={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},q={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class V extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=s.next(this._element,S)[0]||s.prev(this._element,S)[0]||s.findOne(S,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return z}static get DefaultType(){return q}static get NAME(){return l}toggle(){return this._isShown()?this.hide():this.show()}show(){if(o.isDisabled(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!n.trigger(this._element,b,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(j))for(const e of[].concat(...document.body.children))n.on(e,"mouseover",o.noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(x),this._element.classList.add(x),n.trigger(this._element,v,e)}}hide(){if(o.isDisabled(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!n.trigger(this._element,m,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",o.noop);this._popper&&this._popper.destroy(),this._menu.classList.remove(x),this._element.classList.remove(x),this._element.setAttribute("aria-expanded","false"),i.removeDataAttribute(this._menu,"popper"),n.trigger(this._element,_,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!o.isElement(e.reference)&&"function"!=typeof e.reference.getBoundingCli