UNPKG

@hummingbirdui/hummingbird

Version:

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

66 lines 63.6 kB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@popperjs/core")):"function"==typeof define&&define.amd?define(["exports","@popperjs/core"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).hummingbird={},t.Popper)}(this,(function(t,e){"use strict";function i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var s,n={exports:{}},o={exports:{}},r={exports:{}};function a(){return s||(s=1,r.exports=function(){const t=new Map;return{set(e,i,s){t.has(e)||t.set(e,new Map);const n=t.get(e);n.has(i)||0===n.size?n.set(i,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,i)=>t.has(e)&&t.get(e).get(i)||null,remove(e,i){if(!t.has(e))return;const s=t.get(e);s.delete(i),0===s.size&&t.delete(e)}}}()),r.exports}var l,c={exports:{}},h={exports:{}};function u(){return l||(l=1,function(t){const e=1e6,i=1e3,s="transitionend",n=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),o=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),r=t=>{do{t+=Math.floor(Math.random()*e)}while(document.getElementById(t));return t},a=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:s}=window.getComputedStyle(t);const n=Number.parseFloat(e),o=Number.parseFloat(s);return n||o?(e=e.split(",")[0],s=s.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(s))*i):0},l=t=>{t.dispatchEvent(new Event(s))},c=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),h=t=>c(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(n(t)):null,u=t=>{if(!c(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},d=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),g=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?g(t.parentNode):null},f=()=>{},p=t=>{t.offsetHeight},_=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,m=[],b=t=>{"loading"===document.readyState?(m.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of m)t()})),m.push(t)):t()},v=()=>"rtl"===document.documentElement.dir,y=t=>{b((()=>{const e=_();if(e){const i=t.NAME,s=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=s,t.jQueryInterface)}}))},w=(t,e=[],i=t)=>"function"==typeof t?t.call(...e):i,E=(t,e,i=!0)=>{if(!i)return void w(t);const n=5,o=a(e)+n;let r=!1;const c=({target:i})=>{i===e&&(r=!0,e.removeEventListener(s,c),w(t))};e.addEventListener(s,c),setTimeout((()=>{r||l(e)}),o)},A=(t,e,i,s)=>{const n=t.length;let o=t.indexOf(e);return-1===o?!i&&s?t[n-1]:t[0]:(o+=i?1:-1,s&&(o=(o+n)%n),t[Math.max(0,Math.min(o,n-1))])};t.defineJQueryPlugin=y,t.execute=w,t.executeAfterTransition=E,t.findShadowRoot=g,t.getElement=h,t.getNextActiveElement=A,t.getTransitionDurationFromElement=a,t.getUID=r,t.getjQuery=_,t.isDisabled=d,t.isElement=c,t.isRTL=v,t.isVisible=u,t.noop=f,t.onDOMContentLoaded=b,t.parseSelector=n,t.reflow=p,t.toType=o,t.triggerTransitionEnd=l,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(h.exports)),h.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 g(){return d||(d=1,c.exports=function(t){const e=/[^.]*(?=\..*)\.|.*/,i=/\..*/,s=/::\d+$/,n={};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(t,e){return e&&`${e}::${o++}`||t.uidEvent||o++}function c(t){const e=l(t);return t.uidEvent=e,n[e]=n[e]||{},n[e]}function h(t,e){return function i(s){return v(s,{delegateTarget:t}),i.oneOff&&b.off(t,s.type,e),e.apply(t,[s])}}function u(t,e,i){return function s(n){const o=t.querySelectorAll(e);for(let{target:r}=n;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return v(n,{delegateTarget:r}),s.oneOff&&b.off(t,n.type,e,i),i.apply(r,[n])}}function d(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function g(t,e,i){const s="string"==typeof e,n=s?i:e||i;let o=m(t);return a.has(o)||(o=t),[s,n,o]}function f(t,i,s,n,o){if("string"!=typeof i||!t)return;let[a,f,p]=g(i,s,n);var _;i in r&&(_=f,f=function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return _.call(this,t)});const m=c(t),b=m[p]||(m[p]={}),v=d(b,f,a?s:null);if(v)return void(v.oneOff=v.oneOff&&o);const y=l(f,i.replace(e,"")),w=a?u(t,s,f):h(t,f);w.delegationSelector=a?s:null,w.callable=f,w.oneOff=o,w.uidEvent=y,b[y]=w,t.addEventListener(p,w,a)}function p(t,e,i,s,n){const o=d(e[i],s,n);o&&(t.removeEventListener(i,o,Boolean(n)),delete e[i][o.uidEvent])}function _(t,e,i,s){const n=e[i]||{};for(const[o,r]of Object.entries(n))o.includes(s)&&p(t,e,i,r.callable,r.delegationSelector)}function m(t){return t=t.replace(i,""),r[t]||t}const b={on(t,e,i,s){f(t,e,i,s,!1)},one(t,e,i,s){f(t,e,i,s,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[o,r,a]=g(e,i,n),l=a!==e,h=c(t),u=h[a]||{},d=e.startsWith(".");if(void 0===r){if(d)for(const i of Object.keys(h))_(t,h,i,e.slice(1));for(const[i,n]of Object.entries(u)){const o=i.replace(s,"");l&&!e.includes(o)||p(t,h,a,n.callable,n.delegationSelector)}}else{if(!Object.keys(u).length)return;p(t,h,a,r,o?i:null)}},trigger(e,i,s){if("string"!=typeof i||!e)return null;const n=t.getjQuery();let o=null,r=!0,a=!0,l=!1;i!==m(i)&&n&&(o=n.Event(i,s),n(e).trigger(o),r=!o.isPropagationStopped(),a=!o.isImmediatePropagationStopped(),l=o.isDefaultPrevented());const c=v(new Event(i,{bubbles:r,cancelable:!0}),s);return l&&c.preventDefault(),a&&e.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function v(t,e={}){for(const[i,s]of Object.entries(e))try{t[i]=s}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>s})}return t}return b}(u())),c.exports}var f,p={exports:{}},_={exports:{}};function m(){return f||(f=1,_.exports=function(){function t(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 e(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}return{setDataAttribute(t,i,s){t.setAttribute(`data-bs-${e(i)}`,s)},removeDataAttribute(t,i){t.removeAttribute(`data-bs-${e(i)}`)},getDataAttributes(e){if(!e)return{};const i={},s=Object.keys(e.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of s){let s=n.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1),i[s]=t(e.dataset[n])}return i},getDataAttribute:(i,s)=>t(i.getAttribute(`data-bs-${e(s)}`))}}()),_.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 b;function v(){return b||(b=1,p.exports=function(t,e){class i{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(i,s){const n=e.isElement(s)?t.getDataAttribute(s,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...e.isElement(s)?t.getDataAttributes(s):{},..."object"==typeof i?i:{}}}_typeCheckConfig(t,i=this.constructor.DefaultType){for(const[s,n]of Object.entries(i)){const i=t[s],o=e.isElement(i)?"element":e.toType(i);if(!new RegExp(n).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${n}".`)}}}return i}(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 y;function w(){return y||(y=1,o.exports=function(t,e,i,s){const n="5.3.8";class o extends i{constructor(e,i){super(),(e=s.getElement(e))&&(this._element=e,this._config=this._getConfig(i),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),e.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){s.executeAfterTransition(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(e){return t.get(s.getElement(e),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return n}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}return o}(a(),g(),v(),u())),o.exports}var E,A={exports:{}},T={exports:{}};function C(){return E||(E=1,T.exports=function(t){const e=e=>{let i=e.getAttribute("data-bs-target");if(!i||"#"===i){let t=e.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),i=t&&"#"!==t?t.trim():null}return i?i.split(",").map((e=>t.parseSelector(e))).join(","):null},i={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let s=t.parentNode.closest(e);for(;s;)i.push(s),s=s.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(e){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(i,e).filter((e=>!t.isDisabled(e)&&t.isVisible(e)))},getSelectorFromElement(t){const s=e(t);return s&&i.findOne(s)?s:null},getElementFromSelector(t){const s=e(t);return s?i.findOne(s):null},getMultipleElementsFromSelector(t){const s=e(t);return s?i.find(s):[]}};return i}(u())),T.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 x;function k(){return x||(x=1,function(t,e,i,s){const n=(t,n="hide")=>{const o=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;e.on(document,o,`[data-bs-dismiss="${r}"]`,(function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),s.isDisabled(this))return;const o=i.getElementFromSelector(this)||this.closest(`.${r}`);t.getOrCreateInstance(o)[n]()}))};t.enableDismissTrigger=n,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(A.exports,g(),C(),u())),A.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 O;const S=i((O||(O=1,n.exports=function(t,e,i,s){const n="alert",o=".bs.alert",r=`close${o}`,a=`closed${o}`,l="fade",c="show";class h extends t{static get NAME(){return n}close(){if(e.trigger(this._element,r).defaultPrevented)return;this._element.classList.remove(c);const t=this._element.classList.contains(l);this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),e.trigger(this._element,a),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=h.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return i.enableDismissTrigger(h,"close"),s.defineJQueryPlugin(h),h}(w(),g(),k(),u())),n.exports));var D=(t=>(t.close="close.bs.alert",t.closed="closed.bs.alert",t))(D||{});const L=S;L.Events=D;var $,N={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 I=i(($||($=1,N.exports=function(t,e,i){const s="button",n="active",o='[data-bs-toggle="button"]',r="click.bs.button.data-api";class a extends t{static get NAME(){return s}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(n))}static jQueryInterface(t){return this.each((function(){const e=a.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}return e.on(document,r,o,(t=>{t.preventDefault();const e=t.target.closest(o);a.getOrCreateInstance(e).toggle()})),i.defineJQueryPlugin(a),a}(w(),g(),u())),N.exports));var P,j={exports:{}},M={exports:{}};function F(){return P||(P=1,M.exports=function(t,e,i){const s="swipe",n=".bs.swipe",o=`touchstart${n}`,r=`touchmove${n}`,a=`touchend${n}`,l=`pointerdown${n}`,c=`pointerup${n}`,h="touch",u="pen",d="pointer-event",g=40,f={endCallback:null,leftCallback:null,rightCallback:null},p={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class _ extends e{constructor(t,e){super(),this._element=t,t&&_.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return f}static get DefaultType(){return p}static get NAME(){return s}dispose(){t.off(this._element,n)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),i.execute(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<=g)return;const e=t/this._deltaX;this._deltaX=0,e&&i.execute(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(t.on(this._element,l,(t=>this._start(t))),t.on(this._element,c,(t=>this._end(t))),this._element.classList.add(d)):(t.on(this._element,o,(t=>this._start(t))),t.on(this._element,r,(t=>this._move(t))),t.on(this._element,a,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===u||t.pointerType===h)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}return _}(g(),v(),u())),M.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 z=i((H||(H=1,j.exports=function(t,e,i,s,n,o){const r="carousel",a=".bs.carousel",l=".data-api",c="ArrowLeft",h="ArrowRight",u=500,d="next",g="prev",f="left",p="right",_=`slide${a}`,m=`slid${a}`,b=`keydown${a}`,v=`mouseenter${a}`,y=`mouseleave${a}`,w=`dragstart${a}`,E=`load${a}${l}`,A=`click${a}${l}`,T="carousel",C="active",x="slide",k="carousel-item-end",O="carousel-item-start",S="carousel-item-next",D="carousel-item-prev",L=".active",$=".carousel-item",N=L+$,I=".carousel-item img",P=".carousel-indicators",j="[data-bs-slide], [data-bs-slide-to]",M='[data-bs-ride="carousel"]',F={[c]:p,[h]:f},H={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},z={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class R extends t{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=s.findOne(P,this._element),this._addEventListeners(),this._config.ride===T&&this.cycle()}static get Default(){return H}static get DefaultType(){return z}static get NAME(){return r}next(){this._slide(d)}nextWhenVisible(){!document.hidden&&n.isVisible(this._element)&&this.next()}prev(){this._slide(g)}pause(){this._isSliding&&n.triggerTransitionEnd(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?e.one(this._element,m,(()=>this.cycle())):this.cycle())}to(t){const i=this._getItems();if(t>i.length-1||t<0)return;if(this._isSliding)return void e.one(this._element,m,(()=>this.to(t)));const s=this._getItemIndex(this._getActive());if(s===t)return;const n=t>s?d:g;this._slide(n,i[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&e.on(this._element,b,(t=>this._keydown(t))),"hover"===this._config.pause&&(e.on(this._element,v,(()=>this.pause())),e.on(this._element,y,(()=>this._maybeEnableCycle()))),this._config.touch&&o.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of s.find(I,this._element))e.on(t,w,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(f)),rightCallback:()=>this._slide(this._directionToOrder(p)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),u+this._config.interval))}};this._swipeHelper=new o(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=F[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=s.findOne(L,this._indicatorsElement);e.classList.remove(C),e.removeAttribute("aria-current");const i=s.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(C),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,i=null){if(this._isSliding)return;const s=this._getActive(),o=t===d,r=i||n.getNextActiveElement(this._getItems(),s,o,this._config.wrap);if(r===s)return;const a=this._getItemIndex(r),l=i=>e.trigger(this._element,i,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:a});if(l(_).defaultPrevented)return;if(!s||!r)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const h=o?O:k,u=o?S:D;r.classList.add(u),n.reflow(r),s.classList.add(h),r.classList.add(h);const g=()=>{r.classList.remove(h,u),r.classList.add(C),s.classList.remove(C,u,h),this._isSliding=!1,l(m)};this._queueCallback(g,s,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(x)}_getActive(){return s.findOne(N,this._element)}_getItems(){return s.find($,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return n.isRTL()?t===f?g:d:t===f?d:g}_orderToDirection(t){return n.isRTL()?t===g?f:p:t===g?p:f}static jQueryInterface(t){return this.each((function(){const e=R.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}return e.on(document,A,j,(function(t){const e=s.getElementFromSelector(this);if(!e||!e.classList.contains(T))return;t.preventDefault();const n=R.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");return o?(n.to(o),void n._maybeEnableCycle()):"next"===i.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),e.on(window,E,(()=>{const t=s.find(M);for(const e of t)R.getOrCreateInstance(e)})),n.defineJQueryPlugin(R),R}(w(),g(),m(),C(),u(),F())),j.exports));var R=(t=>(t.slide="slide.bs.carousel",t.slid="slid.bs.carousel",t))(R||{});const B=z;B.Events=R;var W,q={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=i((W||(W=1,q.exports=function(t,e,i,s){const n="collapse",o=".bs.collapse",r=`show${o}`,a=`shown${o}`,l=`hide${o}`,c=`hidden${o}`,h=`click${o}.data-api`,u="show",d="collapse",g="collapsing",f="collapsed",p=`:scope .${d} .${d}`,_="collapse-horizontal",m="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 A extends t{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const s=i.find(y);for(const t of s){const e=i.getSelectorFromElement(t),s=i.find(e).filter((t=>t===this._element));null!==e&&s.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 w}static get DefaultType(){return E}static get NAME(){return n}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(v).filter((t=>t!==this._element)).map((t=>A.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(e.trigger(this._element,r).defaultPrevented)return;for(const e of t)e.hide();const i=this._getDimension();this._element.classList.remove(d),this._element.classList.add(g),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(g),this._element.classList.add(d,u),this._element.style[i]="",e.trigger(this._element,a)},n=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[i]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(e.trigger(this._element,l).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,s.reflow(this._element),this._element.classList.add(g),this._element.classList.remove(d,u);for(const t of this._triggerArray){const e=i.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(g),this._element.classList.add(d),e.trigger(this._element,c)};this._element.style[t]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(u)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=s.getElement(t.parent),t}_getDimension(){return this._element.classList.contains(_)?m:b}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(y);for(const e of t){const t=i.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=i.find(p,this._config.parent);return i.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle(f,!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const i=A.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}return e.on(document,h,y,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of i.getMultipleElementsFromSelector(this))A.getOrCreateInstance(t,{toggle:!1}).toggle()})),s.defineJQueryPlugin(A),A}(w(),g(),C(),u())),q.exports));var V=(t=>(t.show="show.bs.collapse",t.shown="shown.bs.collapse",t.hide="hide.bs.collapse",t.hidden="hidden.bs.collapse",t))(V||{});const K=Q;K.Events=V;var X,Y={exports:{}}; /*! * 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) */const J=i((X||(X=1,Y.exports=function(t,e,i,s,n,o){function r(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t)for(const i in t)if("default"!==i){const s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>t[i]})}return e.default=t,Object.freeze(e)}const a=r(t),l="dropdown",c=".bs.dropdown",h=".data-api",u="Escape",d="Tab",g="ArrowUp",f="ArrowDown",p=2,_=`hide${c}`,m=`hidden${c}`,b=`show${c}`,v=`shown${c}`,y=`click${c}${h}`,w=`keydown${c}${h}`,E=`keyup${c}${h}`,A="show",T="dropup",C="dropend",x="dropstart",k="dropup-center",O="dropdown-center",S='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',D=`${S}.${A}`,L=".dropdown-menu",$=".navbar",N=".navbar-nav",I=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",P=o.isRTL()?"top-end":"top-start",j=o.isRTL()?"top-start":"top-end",M=o.isRTL()?"bottom-end":"bottom-start",F=o.isRTL()?"bottom-start":"bottom-end",H=o.isRTL()?"left-start":"right-start",z=o.isRTL()?"right-start":"left-start",R="top",B="bottom",W={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 Q extends e{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=n.next(this._element,L)[0]||n.prev(this._element,L)[0]||n.findOne(L,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return W}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 t={relatedTarget:this._element};if(!i.trigger(this._element,b,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(N))for(const t of[].concat(...document.body.children))i.on(t,"mouseover",o.noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(A),this._element.classList.add(A),i.trigger(this._element,v,t)}}hide(){if(o.isDisabled(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(!i.trigger(this._element,_,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))i.off(t,"mouseover",o.noop);this._popper&&this._popper.destroy(),this._menu.classList.remove(A),this._element.classList.remove(A),this._element.setAttribute("aria-expanded","false"),s.removeDataAttribute(this._menu,"popper"),i.trigger(this._element,m,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!o.isElement(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${l.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===a)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:o.isElement(this._config.reference)?t=o.getElement(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=a.createPopper(t,this._menu,e)}_isShown(){return this._menu.classList.contains(A)}_getPlacement(){const t=this._parent;if(t.classList.contains(C))return H;if(t.classList.contains(x))return z;if(t.classList.contains(k))return R;if(t.classList.contains(O))return B;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains(T)?e?j:P:e?F:M}_detectNavbar(){return null!==this._element.closest($)}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(s.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...o.execute(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:e}){const i=n.find(I,this._menu).filter((t=>o.isVisible(t)));i.length&&o.getNextActiveElement(i,e,t===f,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Q.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(t.button===p||"keyup"===t.type&&t.key!==d)return;const e=n.find(D);for(const i of e){const e=Q.getInstance(i);if(!e||!1===e._config.autoClose)continue;const s=t.composedPath(),n=s.includes(e._menu);if(s.includes(e._element)||"inside"===e._config.autoClose&&!n||"outside"===e._config.autoClose&&n)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&t.key===d||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i=t.key===u,s=[g,f].includes(t.key);if(!s&&!i)return;if(e&&!i)return;t.preventDefault();const o=this.matches(S)?this:n.prev(this,S)[0]||n.next(this,S)[0]||n.findOne(S,t.delegateTarget.parentNode),r=Q.getOrCreateInstance(o);if(s)return t.stopPropagation(),r.show(),void r._selectMenuItem(t);r._isShown()&&(t.stopPropagation(),r.hide(),o.focus())}}return i.on(document,w,S,Q.dataApiKeydownHandler),i.on(document,w,L,Q.dataApiKeydownHandler),i.on(document,y,Q.clearMenus),i.on(document,E,Q.clearMenus),i.on(document,y,S,(function(t){t.preventDefault(),Q.getOrCreateInstance(this).toggle()})),o.defineJQueryPlugin(Q),Q}(e,w(),g(),m(),C(),u())),Y.exports));var U,G={exports:{}},Z={exports:{}};function tt(){return U||(U=1,function(t){const e={"*":["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:[]},i=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),s=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,n=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?!i.has(n)||Boolean(s.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(n)))};function o(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const s=(new window.DOMParser).parseFromString(t,"text/html"),o=[].concat(...s.body.querySelectorAll("*"));for(const t of o){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const s=[].concat(...t.attributes),o=[].concat(e["*"]||[],e[i]||[]);for(const e of s)n(e,o)||t.removeAttribute(e.nodeName)}return s.body.innerHTML}t.DefaultAllowlist=e,t.sanitizeHtml=o,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(Z.exports)),Z.exports}var et,it={exports:{}}; /*! * Bootstrap template-factory.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) */function st(){return et||(et=1,it.exports=function(t,e,i,s){const n="TemplateFactory",o={allowList:i.DefaultAllowlist,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},r={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},a={entry:"(string|element|function|null)",selector:"(string|element)"};class l extends e{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return o}static get DefaultType(){return r}static get NAME(){return n}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[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},a)}_setContent(e,i,n){const o=t.findOne(n,e);o&&((i=this._resolvePossibleFunction(i))?s.isElement(i)?this._putElementInTemplate(s.getElement(i),o):this._config.html?o.innerHTML=this._maybeSanitize(i):o.textContent=i:o.remove())}_maybeSanitize(t){return this._config.sanitize?i.sanitizeHtml(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return s.execute(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}return l}(C(),v(),tt(),u())),it.exports} /*! * Bootstrap tooltip.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 nt;const ot=i((nt||(nt=1,G.exports=function(t,e,i,s,n,o,r){function a(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t)for(const i in t)if("default"!==i){const s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>t[i]})}return e.default=t,Object.freeze(e)}const l=a(t),c="tooltip",h=new Set(["sanitize","allowList","sanitizeFn"]),u="fade",d="show",g=".tooltip-inner",f=".modal",p="hide.bs.modal",_="hover",m="focus",b="click",v="manual",y="hide",w="hidden",E="show",A="shown",T="inserted",C="click",x="focusin",k="focusout",O="mouseenter",S="mouseleave",D={AUTO:"auto",TOP:"top",RIGHT:n.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:n.isRTL()?"right":"left"},L={allowList:o.DefaultAllowlist,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},$={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class N extends e{constructor(t,e){if(void 0===l)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._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return L}static get DefaultType(){return $}static get NAME(){return c}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),i.off(this._element.closest(f),p,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=i.trigger(this._element,this.constructor.eventName(E)),e=(n.findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(s),i.trigger(this._element,this.constructor.eventName(T))),this._popper=this._createPopper(s),s.classList.add(d),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))i.on(t,"mouseover",n.noop);const r=()=>{i.trigger(this._element,this.constructor.eventName(A)),!1===this._isHovered&&this._leave(),this._isHovered=!1};this._queueCallback(r,this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(i.trigger(this._element,this.constructor.eventName(y)).defaultPrevented)return;if(this._getTipElement().classList.remove(d),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))i.off(t,"mouseover",n.noop);this._activeTrigger[b]=!1,this._activeTrigger[m]=!1,this._activeTrigger[_]=!1,this._isHovered=null;const t=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),i.trigger(this._element,this.constructor.eventName(w)))};this._queueCallback(t,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(u,d),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=n.getUID(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(u),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new r({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[g]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(u)}_isShown(){return this.tip&&this.tip.classList.contains(d)}_createPopper(t){const e=n.execute(this._config.placement,[this,t,this._element]),i=D[e.toUpperCase()];return l.createPopper(this._element,t,this._getPopperConfig(i))}_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 n.execute(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)}}]};return{...e,...n.execute(this._config.popperConfig,[void 0,e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)i.on(this._element,this.constructor.eventName(C),this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[b]=!(e._isShown()&&e._activeTrigger[b]),e.toggle()}));else if(e!==v){const t=e===_?this.constructor.eventName(O):this.constructor.eventName(x),s=e===_?this.constructor.eventName(S):this.constructor.eventName(k);i.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?m:_]=!0,e._enter()})),i.on(this._element,s,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?m:_]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},i.on(this._element.closest(f),p,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=s.getDataAttributes(this._element);for(const t of Object.keys(e))h.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:n.getElement(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)}static jQueryInterface(t){return this.each((function(){const e=N.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}return n.defineJQueryPlugin(N),N}(e,w(),g(),m(),u(),tt(),st())),G.exports));var rt=(t=>(t.SHOW="show.bs.tooltip",t.SHOWN="shown.bs.tooltip",t.HIDE="hide.bs.tooltip",t.HIDDEN="hidden.bs.tooltip",t.INSERTED="inserted.bs.tooltip",t))(rt||{});const at=ot;at.Events=rt;const lt=document.querySelectorAll('[data-bs-toggle="tooltip"]');Array.from(lt).map((t=>new at(t)));var ct=(t=>(t.SHOW="show.bs.dropdown",t.SHOWN="shown.bs.dropdown",t.HIDE="hide.bs.dropdown",t.HIDDEN="hidden.bs.dropdown",t))(ct||{});const ht=J;ht.Events=ct;var ut,dt={exports:{}},gt={exports:{}};function ft(){return ut||(ut=1,gt.exports=function(t,e,i){const s="backdrop",n="fade",o="show",r=`mousedown.bs.${s}`,a={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},l={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class c extends e{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return s}show(t){if(!this._config.isVisible)return void i.execute(t);this._append();const e=this._getElement();this._config.isAnimated&&i.reflow(e),e.classList.add(o),this._emulateAnimation((()=>{i.execute(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(o),this._emulateAnimation((()=>{this.dispose(),i.execute(t)}))):i.execute(t)}dispose(){this._isAppended&&(t.off(this._element,r),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(n),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=i.getElement(t.rootElement),t}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),t.on(e,r,(()=>{i.execute(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){i.executeAfterTransition(t,this._getElement(),this._config.isAnimated)}}return c}(g(),v(),u())),gt.exports}var pt,_t={exports:{}}; /*! * Bootstrap focustrap.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) */function mt(){return pt||(pt=1,_t.exports=function(t,e,i){const s="focustrap",n=".bs.focustrap",o=`focusin${n}`,r=`keydown.tab${n}`,a="Tab",l="forward",c="backward",h={autofocus:!0,trapElement:null},u={autofocus:"boolean",trapElement:"element"};class d extends i{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return h}static get DefaultType(){return u}static get NAME(){return s}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),t.off(document,n),t.on(document,o,(t=>this._handleFocusin(t))),t.on(document,r,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,t.off(document,n))}_handleFocusin(t){const{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;const s=e.focusableChildren(i);0===s.length?i.focus():this._lastTabNavDirection===c?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===a&&(this._lastTabNavDirection=t.shiftKey?c:l)}}return d}(g(),C(),v())),_t.exports}var bt,vt={exports:{}}; /*! * Bootstrap scrollbar.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) */function yt(){return bt||(bt=1,vt.exports=function(t,e,i){const s=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",n=".sticky-top",o="padding-right",r="margin-right";class a{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,o,(e=>e+t)),this._setElementAttributes(s,o,(e=>e+t)),this._setElementAttributes(n,r,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,o),this._resetElementAttributes(s,o),this._resetElementAttributes(n,r)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const s=this.getWidth(),n=t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+s)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(n))}px`)};this._applyManipulationCallback(t,n)}_saveInitialAttribute(e,i){const s=e.style.getPropertyValue(i);s&&t.setDataAttribute(e,i,s)}_resetEle