@unlk/keymaster 1.0.13 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,66 +1,66 @@
1
1
  /*!
2
- * Unlock Keymaster [object Object] v1.0.13 (https://unlock-com.github.io/keymaster)
2
+ * Unlock Keymaster [object Object] v1.1.0 (https://unlock-com.github.io/keymaster)
3
3
  * Copyright 2022-2025 Unlk Developers
4
4
  */
5
5
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).keymaster={})}(this,function(e){"use strict";function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?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 i,s={exports:{}},o={exports:{}},r={exports:{}};function a(){return i||(i=1,function(e){e.exports=function(){const e=new Map,t={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)},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)}};return t}()}(r)),r.exports}var l,c={exports:{}},u={exports:{}};function d(){return l||(l=1,function(e,t){!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)},A=(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=A,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"})}(t)}(0,u.exports)),u.exports}
6
6
  /*!
7
- * Bootstrap event-handler.js v5.3.7 (https://getbootstrap.com/)
7
+ * Bootstrap event-handler.js v5.3.8 (https://getbootstrap.com/)
8
8
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
9
9
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
10
10
  */var h;function f(){return h||(h=1,function(e){e.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);if(n in r){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};p=e(p)}const m=c(e),_=m[g]||(m[g]={}),b=h(_,p,a?i:null);if(b)return void(b.oneOff=b.oneOff&&o);const v=l(p,n.replace(t,"")),y=a?d(e,i,p):u(e,p);y.delegationSelector=a?i:null,y.callable=p,y.oneOff=o,y.uidEvent=v,_[v]=y,e.addEventListener(g,y,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}(d())}(c)),c.exports}var p,g={exports:{}},m={exports:{}};function _(){return p||(p=1,function(e){e.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()}`)}const n={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)}`))};return n}()}(m)),m.exports}
11
11
  /*!
12
- * Bootstrap config.js v5.3.7 (https://getbootstrap.com/)
12
+ * Bootstrap config.js v5.3.8 (https://getbootstrap.com/)
13
13
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
14
14
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
15
15
  */var b;function v(){return b||(b=1,function(e){e.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}(_(),d())}(g)),g.exports}
16
16
  /*!
17
- * Bootstrap base-component.js v5.3.7 (https://getbootstrap.com/)
17
+ * Bootstrap base-component.js v5.3.8 (https://getbootstrap.com/)
18
18
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
19
19
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
20
- */var y;function w(){return y||(y=1,function(e){e.exports=function(e,t,n,i){const s="5.3.7";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}(a(),f(),v(),d())}(o)),o.exports}var E,A={exports:{}},x={exports:{}};function T(){return E||(E=1,function(e){e.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}(d())}(x)),x.exports}
20
+ */var y;function w(){return y||(y=1,function(e){e.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}(a(),f(),v(),d())}(o)),o.exports}var E,A={exports:{}},x={exports:{}};function T(){return E||(E=1,function(e){e.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}(d())}(x)),x.exports}
21
21
  /*!
22
- * Bootstrap component-functions.js v5.3.7 (https://getbootstrap.com/)
22
+ * Bootstrap component-functions.js v5.3.8 (https://getbootstrap.com/)
23
23
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
24
24
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
25
25
  */var C;function O(){return C||(C=1,function(e,t){!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"})}(t,f(),T(),d())}(0,A.exports)),A.exports}
26
26
  /*!
27
- * Bootstrap alert.js v5.3.7 (https://getbootstrap.com/)
27
+ * Bootstrap alert.js v5.3.8 (https://getbootstrap.com/)
28
28
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
29
29
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
30
30
  */var S;var k,D=(S||(S=1,function(e){e.exports=function(e,t,n,i){const s="alert",o="bs.alert",r=`.${o}`,a=`close${r}`,l=`closed${r}`,c="fade",u="show";class d extends e{static get NAME(){return s}close(){if(t.trigger(this._element,a).defaultPrevented)return;this._element.classList.remove(u);const e=this._element.classList.contains(c);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),t.trigger(this._element,l),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=d.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(d,"close"),i.defineJQueryPlugin(d),d}(w(),f(),O(),d())}(s)),s.exports),L=t(D),$={exports:{}},P={exports:{}};function j(){return k||(k=1,function(e){e.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}(f(),v(),d())}(P)),P.exports}
31
31
  /*!
32
- * Bootstrap carousel.js v5.3.7 (https://getbootstrap.com/)
32
+ * Bootstrap carousel.js v5.3.8 (https://getbootstrap.com/)
33
33
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
34
34
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
35
- */var N;var I,M=(N||(N=1,function(e){e.exports=function(e,t,n,i,s,o){const r="carousel",a="bs.carousel",l=`.${a}`,c=".data-api",u="ArrowLeft",d="ArrowRight",h=500,f="next",p="prev",g="left",m="right",_=`slide${l}`,b=`slid${l}`,v=`keydown${l}`,y=`mouseenter${l}`,w=`mouseleave${l}`,E=`dragstart${l}`,A=`load${l}${c}`,x=`click${l}${c}`,T="carousel",C="active",O="slide",S="carousel-item-end",k="carousel-item-start",D="carousel-item-next",L="carousel-item-prev",$=".active",P=".carousel-item",j=$+P,N=".carousel-item img",I=".carousel-indicators",M="[data-bs-slide], [data-bs-slide-to]",F='[data-bs-ride="carousel"]',H={[u]:m,[d]:g},R={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},W={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class z 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(I,this._element),this._addEventListeners(),this._config.ride===T&&this.cycle()}static get Default(){return R}static get DefaultType(){return W}static get NAME(){return r}next(){this._slide(f)}nextWhenVisible(){!document.hidden&&s.isVisible(this._element)&&this.next()}prev(){this._slide(p)}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,b,()=>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,b,()=>this.to(e));const i=this._getItemIndex(this._getActive());if(i===e)return;const s=e>i?f:p;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,v,e=>this._keydown(e)),"hover"===this._config.pause&&(t.on(this._element,y,()=>this.pause()),t.on(this._element,w,()=>this._maybeEnableCycle())),this._config.touch&&o.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of i.find(N,this._element))t.on(e,E,e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(g)),rightCallback:()=>this._slide(this._directionToOrder(m)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),h+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($,this._indicatorsElement);t.classList.remove(C),t.removeAttribute("aria-current");const n=i.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(C),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===f,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(_).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:S,d=o?D:L;r.classList.add(d),s.reflow(r),i.classList.add(u),r.classList.add(u);const h=()=>{r.classList.remove(u,d),r.classList.add(C),i.classList.remove(C,d,u),this._isSliding=!1,l(b)};this._queueCallback(h,i,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(O)}_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===g?p:f:e===g?f:p}_orderToDirection(e){return s.isRTL()?e===p?g:m:e===p?m:g}static jQueryInterface(e){return this.each(function(){const t=z.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,M,function(e){const t=i.getElementFromSelector(this);if(!t||!t.classList.contains(T))return;e.preventDefault();const s=z.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,A,()=>{const e=i.find(F);for(const t of e)z.getOrCreateInstance(t)}),s.defineJQueryPlugin(z),z}(w(),f(),_(),T(),d(),j())}($)),$.exports),F=t(M),H={exports:{}};var R=(I||(I=1,function(e){e.exports=function(e,t,n){const i="button",s="bs.button",o=`.${s}`,r=".data-api",a="active",l='[data-bs-toggle="button"]',c=`click${o}${r}`;class u extends e{static get NAME(){return i}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(a))}static jQueryInterface(e){return this.each(function(){const t=u.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}return t.on(document,c,l,e=>{e.preventDefault();const t=e.target.closest(l);u.getOrCreateInstance(t).toggle()}),n.defineJQueryPlugin(u),u}(w(),f(),d())}(H)),H.exports),W=t(R),z={exports:{}},q="top",B="bottom",V="right",Q="left",Y="auto",K=[q,B,V,Q],U="start",X="end",J="clippingParents",G="viewport",Z="popper",ee="reference",te=K.reduce(function(e,t){return e.concat([t+"-"+U,t+"-"+X])},[]),ne=[].concat(K,[Y]).reduce(function(e,t){return e.concat([t,t+"-"+U,t+"-"+X])},[]),ie="beforeRead",se="read",oe="afterRead",re="beforeMain",ae="main",le="afterMain",ce="beforeWrite",ue="write",de="afterWrite",he=[ie,se,oe,re,ae,le,ce,ue,de];function fe(e){return e?(e.nodeName||"").toLowerCase():null}function pe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ge(e){return e instanceof pe(e).Element||e instanceof Element}function me(e){return e instanceof pe(e).HTMLElement||e instanceof HTMLElement}function _e(e){return"undefined"!=typeof ShadowRoot&&(e instanceof pe(e).ShadowRoot||e instanceof ShadowRoot)}var be={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];me(s)&&fe(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},{});me(i)&&fe(i)&&(Object.assign(i.style,o),Object.keys(s).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};function ve(e){return e.split("-")[0]}var ye=Math.max,we=Math.min,Ee=Math.round;function Ae(){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 xe(){return!/^((?!chrome|android).)*safari/i.test(Ae())}function Te(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&me(e)&&(s=e.offsetWidth>0&&Ee(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ee(i.height)/e.offsetHeight||1);var r=(ge(e)?pe(e):window).visualViewport,a=!xe()&&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 Ce(e){var t=Te(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 Oe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_e(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Se(e){return pe(e).getComputedStyle(e)}function ke(e){return["table","td","th"].indexOf(fe(e))>=0}function De(e){return((ge(e)?e.ownerDocument:e.document)||window.document).documentElement}function Le(e){return"html"===fe(e)?e:e.assignedSlot||e.parentNode||(_e(e)?e.host:null)||De(e)}function $e(e){return me(e)&&"fixed"!==Se(e).position?e.offsetParent:null}function Pe(e){for(var t=pe(e),n=$e(e);n&&ke(n)&&"static"===Se(n).position;)n=$e(n);return n&&("html"===fe(n)||"body"===fe(n)&&"static"===Se(n).position)?t:n||function(e){var t=/firefox/i.test(Ae());if(/Trident/i.test(Ae())&&me(e)&&"fixed"===Se(e).position)return null;var n=Le(e);for(_e(n)&&(n=n.host);me(n)&&["html","body"].indexOf(fe(n))<0;){var i=Se(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 je(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ne(e,t,n){return ye(e,we(t,n))}function Ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Me(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Fe={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=ve(n.placement),l=je(a),c=[Q,V].indexOf(a)>=0?"height":"width";if(o&&r){var u=function(e,t){return Ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Me(e,K))}(s.padding,n),d=Ce(o),h="y"===l?q:Q,f="y"===l?B:V,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],g=r[l]-n.rects.reference[l],m=Pe(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=Ne(v,w,y),A=l;n.modifiersData[i]=((t={})[A]=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)))&&Oe(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function He(e){return e.split("-")[1]}var Re={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(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=Q,y=q,w=window;if(c){var E=Pe(n),A="clientHeight",x="clientWidth";if(E===pe(n)&&"static"!==Se(E=De(n)).position&&"absolute"===a&&(A="scrollHeight",x="scrollWidth"),s===q||(s===Q||s===V)&&o===X)y=B,g-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-i.height,g*=l?1:-1;if(s===Q||(s===q||s===B)&&o===X)v=V,f-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[x])-i.width,f*=l?1:-1}var T,C=Object.assign({position:a},c&&Re),O=!0===u?function(e,t){var n=e.x,i=e.y,s=t.devicePixelRatio||1;return{x:Ee(n*s)/s||0,y:Ee(i*s)/s||0}}({x:f,y:g},pe(n)):{x:f,y:g};return f=O.x,g=O.y,l?Object.assign({},C,((T={})[y]=b?"0":"",T[v]=_?"0":"",T.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",T)):Object.assign({},C,((t={})[y]=b?g+"px":"",t[v]=_?f+"px":"",t.transform="",t))}var ze={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:ve(t.placement),variation:He(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,We(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,We(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:{}},qe={passive:!0};var Be={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=pe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,qe)}),a&&l.addEventListener("resize",n.update,qe),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,qe)}),a&&l.removeEventListener("resize",n.update,qe)}},data:{}},Ve={left:"right",right:"left",bottom:"top",top:"bottom"};function Qe(e){return e.replace(/left|right|bottom|top/g,function(e){return Ve[e]})}var Ye={start:"end",end:"start"};function Ke(e){return e.replace(/start|end/g,function(e){return Ye[e]})}function Ue(e){var t=pe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xe(e){return Te(De(e)).left+Ue(e).scrollLeft}function Je(e){var t=Se(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function Ge(e){return["html","body","#document"].indexOf(fe(e))>=0?e.ownerDocument.body:me(e)&&Je(e)?e:Ge(Le(e))}function Ze(e,t){var n;void 0===t&&(t=[]);var i=Ge(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=pe(i),r=s?[o].concat(o.visualViewport||[],Je(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(Ze(Le(r)))}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tt(e,t,n){return t===G?et(function(e,t){var n=pe(e),i=De(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=xe();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Xe(e),y:l}}(e,n)):ge(t)?function(e,t){var n=Te(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):et(function(e){var t,n=De(e),i=Ue(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=ye(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ye(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+Xe(e),l=-i.scrollTop;return"rtl"===Se(s||n).direction&&(a+=ye(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(De(e)))}function nt(e,t,n,i){var s="clippingParents"===t?function(e){var t=Ze(Le(e)),n=["absolute","fixed"].indexOf(Se(e).position)>=0&&me(e)?Pe(e):e;return ge(n)?t.filter(function(e){return ge(e)&&Oe(e,n)&&"body"!==fe(e)}):[]}(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce(function(t,n){var s=tt(e,n,i);return t.top=ye(s.top,t.top),t.right=we(s.right,t.right),t.bottom=we(s.bottom,t.bottom),t.left=ye(s.left,t.left),t},tt(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 it(e){var t,n=e.reference,i=e.element,s=e.placement,o=s?ve(s):null,r=s?He(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case q:t={x:a,y:n.y-i.height};break;case B:t={x:a,y:n.y+n.height};break;case V:t={x:n.x+n.width,y:l};break;case Q:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?je(o):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case U:t[c]=t[c]-(n[u]/2-i[u]/2);break;case X:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function st(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?J:a,c=n.rootBoundary,u=void 0===c?G:c,d=n.elementContext,h=void 0===d?Z:d,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,m=void 0===g?0:g,_=Ie("number"!=typeof m?m:Me(m,K)),b=h===Z?ee:Z,v=e.rects.popper,y=e.elements[p?b:h],w=nt(ge(y)?y:y.contextElement||De(e.elements.popper),l,u,r),E=Te(e.elements.reference),A=it({reference:E,element:v,placement:s}),x=et(Object.assign({},v,A)),T=h===Z?x:E,C={top:w.top-T.top+_.top,bottom:T.bottom-w.bottom+_.bottom,left:w.left-T.left+_.left,right:T.right-w.right+_.right},O=e.modifiersData.offset;if(h===Z&&O){var S=O[s];Object.keys(C).forEach(function(e){var t=[V,B].indexOf(e)>=0?1:-1,n=[q,B].indexOf(e)>=0?"y":"x";C[e]+=S[n]*t})}return C}function ot(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?ne:l,u=He(i),d=u?a?te:te.filter(function(e){return He(e)===u}):K,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]=st(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[ve(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var rt={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,_=ve(m),b=l||(_===m||!p?[Qe(m)]:function(e){if(ve(e)===Y)return[];var t=Qe(e);return[Ke(e),t,Ke(t)]}(m)),v=[m].concat(b).reduce(function(e,n){return e.concat(ve(n)===Y?ot(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,A=!0,x=v[0],T=0;T<v.length;T++){var C=v[T],O=ve(C),S=He(C)===U,k=[q,B].indexOf(O)>=0,D=k?"width":"height",L=st(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),$=k?S?V:Q:S?B:q;y[D]>w[D]&&($=Qe($));var P=Qe($),j=[];if(o&&j.push(L[O]<=0),a&&j.push(L[$]<=0,L[P]<=0),j.every(function(e){return e})){x=C,A=!1;break}E.set(C,j)}if(A)for(var N=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 x=t,"break"},I=p?3:1;I>0;I--){if("break"===N(I))break}t.placement!==x&&(t.modifiersData[i]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function at(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 lt(e){return[q,V,B,Q].some(function(t){return e[t]>=0})}var ct={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=st(t,{elementContext:"reference"}),a=st(t,{altBoundary:!0}),l=at(r,i),c=at(a,s,o),u=lt(l),d=lt(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})}};var ut={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=ne.reduce(function(e,n){return e[n]=function(e,t,n){var i=ve(e),s=[Q,q].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,[Q,V].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}};var dt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=it({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}};var ht={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=st(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),_=ve(t.placement),b=He(t.placement),v=!b,y=je(_),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,A=t.rects.reference,x=t.rects.popper,T="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,C="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(E){if(o){var k,D="y"===y?q:Q,L="y"===y?B:V,$="y"===y?"height":"width",P=E[y],j=P+m[D],N=P-m[L],I=f?-x[$]/2:0,M=b===U?A[$]:x[$],F=b===U?-x[$]:-A[$],H=t.elements.arrow,R=f&&H?Ce(H):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=W[D],Y=W[L],K=Ne(0,A[$],R[$]),X=v?A[$]/2-I-K-z-C.mainAxis:M-K-z-C.mainAxis,J=v?-A[$]/2+I+K+Y+C.mainAxis:F+K+Y+C.mainAxis,G=t.elements.arrow&&Pe(t.elements.arrow),Z=G?"y"===y?G.clientTop||0:G.clientLeft||0:0,ee=null!=(k=null==O?void 0:O[y])?k:0,te=P+J-ee,ne=Ne(f?we(j,P+X-ee-Z):j,P,f?ye(N,te):N);E[y]=ne,S[y]=ne-P}if(a){var ie,se="x"===y?q:Q,oe="x"===y?B:V,re=E[w],ae="y"===w?"height":"width",le=re+m[se],ce=re-m[oe],ue=-1!==[q,Q].indexOf(_),de=null!=(ie=null==O?void 0:O[w])?ie:0,he=ue?le:re-A[ae]-x[ae]-de+C.altAxis,fe=ue?re+A[ae]+x[ae]-de-C.altAxis:ce,pe=f&&ue?function(e,t,n){var i=Ne(e,t,n);return i>n?n:i}(he,re,fe):Ne(f?he:le,re,f?fe:ce);E[w]=pe,S[w]=pe-re}t.modifiersData[i]=S}},requiresIfExists:["offset"]};function ft(e,t,n){void 0===n&&(n=!1);var i,s,o=me(t),r=me(t)&&function(e){var t=e.getBoundingClientRect(),n=Ee(t.width)/e.offsetWidth||1,i=Ee(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=De(t),l=Te(e,r,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==fe(t)||Je(a))&&(c=(i=t)!==pe(i)&&me(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:Ue(i)),me(t)?((u=Te(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Xe(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function pt(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 gt={placement:"bottom",modifiers:[],strategy:"absolute"};function mt(){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 _t(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,s=t.defaultOptions,o=void 0===s?gt:s;return function(e,t,n){void 0===n&&(n=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},gt,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:ge(e)?Ze(e):e.contextElement?Ze(e.contextElement):[],popper:Ze(t)};var r,c,h=function(e){var t=pt(e);return he.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(mt(t,n)){a.rects={reference:ft(t,Pe(n),"fixed"===a.options.strategy),popper:Ce(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(!mt(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 bt,vt=_t(),yt=_t({defaultModifiers:[Be,dt,ze,be]}),wt=_t({defaultModifiers:[Be,dt,ze,be,ut,rt,ht,Fe,ct]}),Et=n(Object.freeze({__proto__:null,afterMain:le,afterRead:oe,afterWrite:de,applyStyles:be,arrow:Fe,auto:Y,basePlacements:K,beforeMain:re,beforeRead:ie,beforeWrite:ce,bottom:B,clippingParents:J,computeStyles:ze,createPopper:wt,createPopperBase:vt,createPopperLite:yt,detectOverflow:st,end:X,eventListeners:Be,flip:rt,hide:ct,left:Q,main:ae,modifierPhases:he,offset:ut,placements:ne,popper:Z,popperGenerator:_t,popperOffsets:dt,preventOverflow:ht,read:se,reference:ee,right:V,start:U,top:q,variationPlacements:te,viewport:G,write:ue}));var At,xt=(bt||(bt=1,function(e){e.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=`.${c}`,d=".data-api",h="Escape",f="Tab",p="ArrowUp",g="ArrowDown",m=2,_=`hide${u}`,b=`hidden${u}`,v=`show${u}`,y=`shown${u}`,w=`click${u}${d}`,E=`keydown${u}${d}`,A=`keyup${u}${d}`,x="show",T="dropup",C="dropend",O="dropstart",S="dropup-center",k="dropdown-center",D='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',L=`${D}.${x}`,$=".dropdown-menu",P=".navbar",j=".navbar-nav",N=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",I=o.isRTL()?"top-end":"top-start",M=o.isRTL()?"top-start":"top-end",F=o.isRTL()?"bottom-end":"bottom-start",H=o.isRTL()?"bottom-start":"bottom-end",R=o.isRTL()?"left-start":"right-start",W=o.isRTL()?"right-start":"left-start",z="top",q="bottom",B={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},V={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Q extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=s.next(this._element,$)[0]||s.prev(this._element,$)[0]||s.findOne($,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return B}static get DefaultType(){return V}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,v,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,y,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,_,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,b,e),this._element.focus()}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!o.isElement(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${l.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===a)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;"parent"===this._config.reference?e=this._parent:o.isElement(this._config.reference)?e=o.getElement(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=a.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(x)}_getPlacement(){const e=this._parent;if(e.classList.contains(C))return R;if(e.classList.contains(O))return W;if(e.classList.contains(S))return z;if(e.classList.contains(k))return q;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains(T)?t?M:I:t?H:F}_detectNavbar(){return null!==this._element.closest(P)}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(i.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...o.execute(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){const n=s.find(N,this._menu).filter(e=>o.isVisible(e));n.length&&o.getNextActiveElement(n,t,e===g,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Q.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===m||"keyup"===e.type&&e.key!==f)return;const t=s.find(L);for(const n of t){const t=Q.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),s=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!s||"outside"===t._config.autoClose&&s)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&e.key===f||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const o={relatedTarget:t._element};"click"===e.type&&(o.clickEvent=e),t._completeHide(o)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n=e.key===h,i=[p,g].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const o=this.matches(D)?this:s.prev(this,D)[0]||s.next(this,D)[0]||s.findOne(D,e.delegateTarget.parentNode),r=Q.getOrCreateInstance(o);if(i)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),o.focus())}}return n.on(document,E,D,Q.dataApiKeydownHandler),n.on(document,E,$,Q.dataApiKeydownHandler),n.on(document,w,Q.clearMenus),n.on(document,A,Q.clearMenus),n.on(document,w,D,function(e){e.preventDefault(),Q.getOrCreateInstance(this).toggle()}),o.defineJQueryPlugin(Q),Q}(Et,w(),f(),_(),T(),d())}(z)),z.exports),Tt=t(xt),Ct={exports:{}};var Ot,St=(At||(At=1,function(e){e.exports=function(e,t,n,i){const s="collapse",o="bs.collapse",r=`.${o}`,a=".data-api",l=`show${r}`,c=`shown${r}`,u=`hide${r}`,d=`hidden${r}`,h=`click${r}${a}`,f="show",p="collapse",g="collapsing",m="collapsed",_=`:scope .${p} .${p}`,b="collapse-horizontal",v="width",y="height",w=".collapse.show, .collapse.collapsing",E='[data-bs-toggle="collapse"]',A={parent:null,toggle:!0},x={parent:"(null|element)",toggle:"boolean"};class T extends e{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=n.find(E);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 A}static get DefaultType(){return x}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(w).filter(e=>e!==this._element).map(e=>T.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(t.trigger(this._element,l).defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(p),this._element.classList.add(g),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(g),this._element.classList.add(p,f),this._element.style[n]="",t.trigger(this._element,c)},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,u).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,i.reflow(this._element),this._element.classList.add(g),this._element.classList.remove(p,f);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(g),this._element.classList.add(p),t.trigger(this._element,d)};this._element.style[e]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(f)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=i.getElement(e.parent),e}_getDimension(){return this._element.classList.contains(b)?v:y}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(E);for(const t of e){const e=n.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=n.find(_,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(m,!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=T.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,h,E,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of n.getMultipleElementsFromSelector(this))T.getOrCreateInstance(e,{toggle:!1}).toggle()}),i.defineJQueryPlugin(T),T}(w(),f(),T(),d())}(Ct)),Ct.exports),kt=t(St),Dt={exports:{}},Lt={exports:{}};function $t(){return Ot||(Ot=1,function(e){e.exports=function(e,t,n){const i="backdrop",s="fade",o="show",r=`mousedown.bs.${i}`,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 t{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return i}show(e){if(!this._config.isVisible)return void n.execute(e);this._append();const t=this._getElement();this._config.isAnimated&&n.reflow(t),t.classList.add(o),this._emulateAnimation(()=>{n.execute(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(o),this._emulateAnimation(()=>{this.dispose(),n.execute(e)})):n.execute(e)}dispose(){this._isAppended&&(e.off(this._element,r),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(s),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=n.getElement(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,r,()=>{n.execute(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){n.executeAfterTransition(e,this._getElement(),this._config.isAnimated)}}return c}(f(),v(),d())}(Lt)),Lt.exports}var Pt,jt={exports:{}};
35
+ */var N;var I,M=(N||(N=1,function(e){e.exports=function(e,t,n,i,s,o){const r="carousel",a="bs.carousel",l=`.${a}`,c=".data-api",u="ArrowLeft",d="ArrowRight",h=500,f="next",p="prev",g="left",m="right",_=`slide${l}`,b=`slid${l}`,v=`keydown${l}`,y=`mouseenter${l}`,w=`mouseleave${l}`,E=`dragstart${l}`,A=`load${l}${c}`,x=`click${l}${c}`,T="carousel",C="active",O="slide",S="carousel-item-end",k="carousel-item-start",D="carousel-item-next",L="carousel-item-prev",$=".active",P=".carousel-item",j=$+P,N=".carousel-item img",I=".carousel-indicators",M="[data-bs-slide], [data-bs-slide-to]",F='[data-bs-ride="carousel"]',H={[u]:m,[d]:g},R={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},W={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class z 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(I,this._element),this._addEventListeners(),this._config.ride===T&&this.cycle()}static get Default(){return R}static get DefaultType(){return W}static get NAME(){return r}next(){this._slide(f)}nextWhenVisible(){!document.hidden&&s.isVisible(this._element)&&this.next()}prev(){this._slide(p)}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,b,()=>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,b,()=>this.to(e));const i=this._getItemIndex(this._getActive());if(i===e)return;const s=e>i?f:p;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,v,e=>this._keydown(e)),"hover"===this._config.pause&&(t.on(this._element,y,()=>this.pause()),t.on(this._element,w,()=>this._maybeEnableCycle())),this._config.touch&&o.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of i.find(N,this._element))t.on(e,E,e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(g)),rightCallback:()=>this._slide(this._directionToOrder(m)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),h+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($,this._indicatorsElement);t.classList.remove(C),t.removeAttribute("aria-current");const n=i.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(C),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===f,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(_).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:S,d=o?D:L;r.classList.add(d),s.reflow(r),i.classList.add(u),r.classList.add(u);const h=()=>{r.classList.remove(u,d),r.classList.add(C),i.classList.remove(C,d,u),this._isSliding=!1,l(b)};this._queueCallback(h,i,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(O)}_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===g?p:f:e===g?f:p}_orderToDirection(e){return s.isRTL()?e===p?g:m:e===p?m:g}static jQueryInterface(e){return this.each(function(){const t=z.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,M,function(e){const t=i.getElementFromSelector(this);if(!t||!t.classList.contains(T))return;e.preventDefault();const s=z.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,A,()=>{const e=i.find(F);for(const t of e)z.getOrCreateInstance(t)}),s.defineJQueryPlugin(z),z}(w(),f(),_(),T(),d(),j())}($)),$.exports),F=t(M),H={exports:{}};var R=(I||(I=1,function(e){e.exports=function(e,t,n){const i="button",s="bs.button",o=`.${s}`,r=".data-api",a="active",l='[data-bs-toggle="button"]',c=`click${o}${r}`;class u extends e{static get NAME(){return i}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(a))}static jQueryInterface(e){return this.each(function(){const t=u.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}return t.on(document,c,l,e=>{e.preventDefault();const t=e.target.closest(l);u.getOrCreateInstance(t).toggle()}),n.defineJQueryPlugin(u),u}(w(),f(),d())}(H)),H.exports),W=t(R),z={exports:{}},q="top",B="bottom",V="right",Q="left",Y="auto",K=[q,B,V,Q],U="start",X="end",J="clippingParents",G="viewport",Z="popper",ee="reference",te=K.reduce(function(e,t){return e.concat([t+"-"+U,t+"-"+X])},[]),ne=[].concat(K,[Y]).reduce(function(e,t){return e.concat([t,t+"-"+U,t+"-"+X])},[]),ie="beforeRead",se="read",oe="afterRead",re="beforeMain",ae="main",le="afterMain",ce="beforeWrite",ue="write",de="afterWrite",he=[ie,se,oe,re,ae,le,ce,ue,de];function fe(e){return e?(e.nodeName||"").toLowerCase():null}function pe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ge(e){return e instanceof pe(e).Element||e instanceof Element}function me(e){return e instanceof pe(e).HTMLElement||e instanceof HTMLElement}function _e(e){return"undefined"!=typeof ShadowRoot&&(e instanceof pe(e).ShadowRoot||e instanceof ShadowRoot)}var be={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];me(s)&&fe(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},{});me(i)&&fe(i)&&(Object.assign(i.style,o),Object.keys(s).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};function ve(e){return e.split("-")[0]}var ye=Math.max,we=Math.min,Ee=Math.round;function Ae(){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 xe(){return!/^((?!chrome|android).)*safari/i.test(Ae())}function Te(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&me(e)&&(s=e.offsetWidth>0&&Ee(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ee(i.height)/e.offsetHeight||1);var r=(ge(e)?pe(e):window).visualViewport,a=!xe()&&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 Ce(e){var t=Te(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 Oe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_e(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Se(e){return pe(e).getComputedStyle(e)}function ke(e){return["table","td","th"].indexOf(fe(e))>=0}function De(e){return((ge(e)?e.ownerDocument:e.document)||window.document).documentElement}function Le(e){return"html"===fe(e)?e:e.assignedSlot||e.parentNode||(_e(e)?e.host:null)||De(e)}function $e(e){return me(e)&&"fixed"!==Se(e).position?e.offsetParent:null}function Pe(e){for(var t=pe(e),n=$e(e);n&&ke(n)&&"static"===Se(n).position;)n=$e(n);return n&&("html"===fe(n)||"body"===fe(n)&&"static"===Se(n).position)?t:n||function(e){var t=/firefox/i.test(Ae());if(/Trident/i.test(Ae())&&me(e)&&"fixed"===Se(e).position)return null;var n=Le(e);for(_e(n)&&(n=n.host);me(n)&&["html","body"].indexOf(fe(n))<0;){var i=Se(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 je(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ne(e,t,n){return ye(e,we(t,n))}function Ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Me(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Fe={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=ve(n.placement),l=je(a),c=[Q,V].indexOf(a)>=0?"height":"width";if(o&&r){var u=function(e,t){return Ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Me(e,K))}(s.padding,n),d=Ce(o),h="y"===l?q:Q,f="y"===l?B:V,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],g=r[l]-n.rects.reference[l],m=Pe(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=Ne(v,w,y),A=l;n.modifiersData[i]=((t={})[A]=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)))&&Oe(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function He(e){return e.split("-")[1]}var Re={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(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=Q,y=q,w=window;if(c){var E=Pe(n),A="clientHeight",x="clientWidth";if(E===pe(n)&&"static"!==Se(E=De(n)).position&&"absolute"===a&&(A="scrollHeight",x="scrollWidth"),s===q||(s===Q||s===V)&&o===X)y=B,g-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-i.height,g*=l?1:-1;if(s===Q||(s===q||s===B)&&o===X)v=V,f-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[x])-i.width,f*=l?1:-1}var T,C=Object.assign({position:a},c&&Re),O=!0===u?function(e,t){var n=e.x,i=e.y,s=t.devicePixelRatio||1;return{x:Ee(n*s)/s||0,y:Ee(i*s)/s||0}}({x:f,y:g},pe(n)):{x:f,y:g};return f=O.x,g=O.y,l?Object.assign({},C,((T={})[y]=b?"0":"",T[v]=_?"0":"",T.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",T)):Object.assign({},C,((t={})[y]=b?g+"px":"",t[v]=_?f+"px":"",t.transform="",t))}var ze={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:ve(t.placement),variation:He(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,We(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,We(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:{}},qe={passive:!0};var Be={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=pe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,qe)}),a&&l.addEventListener("resize",n.update,qe),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,qe)}),a&&l.removeEventListener("resize",n.update,qe)}},data:{}},Ve={left:"right",right:"left",bottom:"top",top:"bottom"};function Qe(e){return e.replace(/left|right|bottom|top/g,function(e){return Ve[e]})}var Ye={start:"end",end:"start"};function Ke(e){return e.replace(/start|end/g,function(e){return Ye[e]})}function Ue(e){var t=pe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xe(e){return Te(De(e)).left+Ue(e).scrollLeft}function Je(e){var t=Se(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function Ge(e){return["html","body","#document"].indexOf(fe(e))>=0?e.ownerDocument.body:me(e)&&Je(e)?e:Ge(Le(e))}function Ze(e,t){var n;void 0===t&&(t=[]);var i=Ge(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=pe(i),r=s?[o].concat(o.visualViewport||[],Je(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(Ze(Le(r)))}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tt(e,t,n){return t===G?et(function(e,t){var n=pe(e),i=De(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=xe();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Xe(e),y:l}}(e,n)):ge(t)?function(e,t){var n=Te(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):et(function(e){var t,n=De(e),i=Ue(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=ye(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ye(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+Xe(e),l=-i.scrollTop;return"rtl"===Se(s||n).direction&&(a+=ye(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(De(e)))}function nt(e,t,n,i){var s="clippingParents"===t?function(e){var t=Ze(Le(e)),n=["absolute","fixed"].indexOf(Se(e).position)>=0&&me(e)?Pe(e):e;return ge(n)?t.filter(function(e){return ge(e)&&Oe(e,n)&&"body"!==fe(e)}):[]}(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce(function(t,n){var s=tt(e,n,i);return t.top=ye(s.top,t.top),t.right=we(s.right,t.right),t.bottom=we(s.bottom,t.bottom),t.left=ye(s.left,t.left),t},tt(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 it(e){var t,n=e.reference,i=e.element,s=e.placement,o=s?ve(s):null,r=s?He(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case q:t={x:a,y:n.y-i.height};break;case B:t={x:a,y:n.y+n.height};break;case V:t={x:n.x+n.width,y:l};break;case Q:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?je(o):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case U:t[c]=t[c]-(n[u]/2-i[u]/2);break;case X:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function st(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?J:a,c=n.rootBoundary,u=void 0===c?G:c,d=n.elementContext,h=void 0===d?Z:d,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,m=void 0===g?0:g,_=Ie("number"!=typeof m?m:Me(m,K)),b=h===Z?ee:Z,v=e.rects.popper,y=e.elements[p?b:h],w=nt(ge(y)?y:y.contextElement||De(e.elements.popper),l,u,r),E=Te(e.elements.reference),A=it({reference:E,element:v,placement:s}),x=et(Object.assign({},v,A)),T=h===Z?x:E,C={top:w.top-T.top+_.top,bottom:T.bottom-w.bottom+_.bottom,left:w.left-T.left+_.left,right:T.right-w.right+_.right},O=e.modifiersData.offset;if(h===Z&&O){var S=O[s];Object.keys(C).forEach(function(e){var t=[V,B].indexOf(e)>=0?1:-1,n=[q,B].indexOf(e)>=0?"y":"x";C[e]+=S[n]*t})}return C}function ot(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?ne:l,u=He(i),d=u?a?te:te.filter(function(e){return He(e)===u}):K,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]=st(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[ve(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var rt={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,_=ve(m),b=l||(_===m||!p?[Qe(m)]:function(e){if(ve(e)===Y)return[];var t=Qe(e);return[Ke(e),t,Ke(t)]}(m)),v=[m].concat(b).reduce(function(e,n){return e.concat(ve(n)===Y?ot(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,A=!0,x=v[0],T=0;T<v.length;T++){var C=v[T],O=ve(C),S=He(C)===U,k=[q,B].indexOf(O)>=0,D=k?"width":"height",L=st(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),$=k?S?V:Q:S?B:q;y[D]>w[D]&&($=Qe($));var P=Qe($),j=[];if(o&&j.push(L[O]<=0),a&&j.push(L[$]<=0,L[P]<=0),j.every(function(e){return e})){x=C,A=!1;break}E.set(C,j)}if(A)for(var N=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 x=t,"break"},I=p?3:1;I>0;I--){if("break"===N(I))break}t.placement!==x&&(t.modifiersData[i]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function at(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 lt(e){return[q,V,B,Q].some(function(t){return e[t]>=0})}var ct={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=st(t,{elementContext:"reference"}),a=st(t,{altBoundary:!0}),l=at(r,i),c=at(a,s,o),u=lt(l),d=lt(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})}};var ut={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=ne.reduce(function(e,n){return e[n]=function(e,t,n){var i=ve(e),s=[Q,q].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,[Q,V].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}};var dt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=it({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}};var ht={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=st(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),_=ve(t.placement),b=He(t.placement),v=!b,y=je(_),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,A=t.rects.reference,x=t.rects.popper,T="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,C="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(E){if(o){var k,D="y"===y?q:Q,L="y"===y?B:V,$="y"===y?"height":"width",P=E[y],j=P+m[D],N=P-m[L],I=f?-x[$]/2:0,M=b===U?A[$]:x[$],F=b===U?-x[$]:-A[$],H=t.elements.arrow,R=f&&H?Ce(H):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=W[D],Y=W[L],K=Ne(0,A[$],R[$]),X=v?A[$]/2-I-K-z-C.mainAxis:M-K-z-C.mainAxis,J=v?-A[$]/2+I+K+Y+C.mainAxis:F+K+Y+C.mainAxis,G=t.elements.arrow&&Pe(t.elements.arrow),Z=G?"y"===y?G.clientTop||0:G.clientLeft||0:0,ee=null!=(k=null==O?void 0:O[y])?k:0,te=P+J-ee,ne=Ne(f?we(j,P+X-ee-Z):j,P,f?ye(N,te):N);E[y]=ne,S[y]=ne-P}if(a){var ie,se="x"===y?q:Q,oe="x"===y?B:V,re=E[w],ae="y"===w?"height":"width",le=re+m[se],ce=re-m[oe],ue=-1!==[q,Q].indexOf(_),de=null!=(ie=null==O?void 0:O[w])?ie:0,he=ue?le:re-A[ae]-x[ae]-de+C.altAxis,fe=ue?re+A[ae]+x[ae]-de-C.altAxis:ce,pe=f&&ue?function(e,t,n){var i=Ne(e,t,n);return i>n?n:i}(he,re,fe):Ne(f?he:le,re,f?fe:ce);E[w]=pe,S[w]=pe-re}t.modifiersData[i]=S}},requiresIfExists:["offset"]};function ft(e,t,n){void 0===n&&(n=!1);var i,s,o=me(t),r=me(t)&&function(e){var t=e.getBoundingClientRect(),n=Ee(t.width)/e.offsetWidth||1,i=Ee(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=De(t),l=Te(e,r,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==fe(t)||Je(a))&&(c=(i=t)!==pe(i)&&me(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:Ue(i)),me(t)?((u=Te(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Xe(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function pt(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 gt={placement:"bottom",modifiers:[],strategy:"absolute"};function mt(){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 _t(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,s=t.defaultOptions,o=void 0===s?gt:s;return function(e,t,n){void 0===n&&(n=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},gt,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:ge(e)?Ze(e):e.contextElement?Ze(e.contextElement):[],popper:Ze(t)};var r,c,h=function(e){var t=pt(e);return he.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(mt(t,n)){a.rects={reference:ft(t,Pe(n),"fixed"===a.options.strategy),popper:Ce(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(!mt(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 bt,vt=_t(),yt=_t({defaultModifiers:[Be,dt,ze,be]}),wt=_t({defaultModifiers:[Be,dt,ze,be,ut,rt,ht,Fe,ct]}),Et=n(Object.freeze({__proto__:null,afterMain:le,afterRead:oe,afterWrite:de,applyStyles:be,arrow:Fe,auto:Y,basePlacements:K,beforeMain:re,beforeRead:ie,beforeWrite:ce,bottom:B,clippingParents:J,computeStyles:ze,createPopper:wt,createPopperBase:vt,createPopperLite:yt,detectOverflow:st,end:X,eventListeners:Be,flip:rt,hide:ct,left:Q,main:ae,modifierPhases:he,offset:ut,placements:ne,popper:Z,popperGenerator:_t,popperOffsets:dt,preventOverflow:ht,read:se,reference:ee,right:V,start:U,top:q,variationPlacements:te,viewport:G,write:ue}));var At,xt=(bt||(bt=1,function(e){e.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=`.${c}`,d=".data-api",h="Escape",f="Tab",p="ArrowUp",g="ArrowDown",m=2,_=`hide${u}`,b=`hidden${u}`,v=`show${u}`,y=`shown${u}`,w=`click${u}${d}`,E=`keydown${u}${d}`,A=`keyup${u}${d}`,x="show",T="dropup",C="dropend",O="dropstart",S="dropup-center",k="dropdown-center",D='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',L=`${D}.${x}`,$=".dropdown-menu",P=".navbar",j=".navbar-nav",N=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",I=o.isRTL()?"top-end":"top-start",M=o.isRTL()?"top-start":"top-end",F=o.isRTL()?"bottom-end":"bottom-start",H=o.isRTL()?"bottom-start":"bottom-end",R=o.isRTL()?"left-start":"right-start",W=o.isRTL()?"right-start":"left-start",z="top",q="bottom",B={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},V={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Q extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=s.next(this._element,$)[0]||s.prev(this._element,$)[0]||s.findOne($,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return B}static get DefaultType(){return V}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,v,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,y,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,_,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,b,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!o.isElement(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${l.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===a)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;"parent"===this._config.reference?e=this._parent:o.isElement(this._config.reference)?e=o.getElement(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=a.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(x)}_getPlacement(){const e=this._parent;if(e.classList.contains(C))return R;if(e.classList.contains(O))return W;if(e.classList.contains(S))return z;if(e.classList.contains(k))return q;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains(T)?t?M:I:t?H:F}_detectNavbar(){return null!==this._element.closest(P)}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(i.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...o.execute(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){const n=s.find(N,this._menu).filter(e=>o.isVisible(e));n.length&&o.getNextActiveElement(n,t,e===g,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Q.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===m||"keyup"===e.type&&e.key!==f)return;const t=s.find(L);for(const n of t){const t=Q.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),s=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!s||"outside"===t._config.autoClose&&s)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&e.key===f||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const o={relatedTarget:t._element};"click"===e.type&&(o.clickEvent=e),t._completeHide(o)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n=e.key===h,i=[p,g].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const o=this.matches(D)?this:s.prev(this,D)[0]||s.next(this,D)[0]||s.findOne(D,e.delegateTarget.parentNode),r=Q.getOrCreateInstance(o);if(i)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),o.focus())}}return n.on(document,E,D,Q.dataApiKeydownHandler),n.on(document,E,$,Q.dataApiKeydownHandler),n.on(document,w,Q.clearMenus),n.on(document,A,Q.clearMenus),n.on(document,w,D,function(e){e.preventDefault(),Q.getOrCreateInstance(this).toggle()}),o.defineJQueryPlugin(Q),Q}(Et,w(),f(),_(),T(),d())}(z)),z.exports),Tt=t(xt),Ct={exports:{}};var Ot,St=(At||(At=1,function(e){e.exports=function(e,t,n,i){const s="collapse",o="bs.collapse",r=`.${o}`,a=".data-api",l=`show${r}`,c=`shown${r}`,u=`hide${r}`,d=`hidden${r}`,h=`click${r}${a}`,f="show",p="collapse",g="collapsing",m="collapsed",_=`:scope .${p} .${p}`,b="collapse-horizontal",v="width",y="height",w=".collapse.show, .collapse.collapsing",E='[data-bs-toggle="collapse"]',A={parent:null,toggle:!0},x={parent:"(null|element)",toggle:"boolean"};class T extends e{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=n.find(E);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 A}static get DefaultType(){return x}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(w).filter(e=>e!==this._element).map(e=>T.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(t.trigger(this._element,l).defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(p),this._element.classList.add(g),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(g),this._element.classList.add(p,f),this._element.style[n]="",t.trigger(this._element,c)},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,u).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,i.reflow(this._element),this._element.classList.add(g),this._element.classList.remove(p,f);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(g),this._element.classList.add(p),t.trigger(this._element,d)};this._element.style[e]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(f)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=i.getElement(e.parent),e}_getDimension(){return this._element.classList.contains(b)?v:y}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(E);for(const t of e){const e=n.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=n.find(_,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(m,!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=T.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,h,E,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of n.getMultipleElementsFromSelector(this))T.getOrCreateInstance(e,{toggle:!1}).toggle()}),i.defineJQueryPlugin(T),T}(w(),f(),T(),d())}(Ct)),Ct.exports),kt=t(St),Dt={exports:{}},Lt={exports:{}};function $t(){return Ot||(Ot=1,function(e){e.exports=function(e,t,n){const i="backdrop",s="fade",o="show",r=`mousedown.bs.${i}`,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 t{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return i}show(e){if(!this._config.isVisible)return void n.execute(e);this._append();const t=this._getElement();this._config.isAnimated&&n.reflow(t),t.classList.add(o),this._emulateAnimation(()=>{n.execute(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(o),this._emulateAnimation(()=>{this.dispose(),n.execute(e)})):n.execute(e)}dispose(){this._isAppended&&(e.off(this._element,r),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(s),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=n.getElement(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,r,()=>{n.execute(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){n.executeAfterTransition(e,this._getElement(),this._config.isAnimated)}}return c}(f(),v(),d())}(Lt)),Lt.exports}var Pt,jt={exports:{}};
36
36
  /*!
37
- * Bootstrap focustrap.js v5.3.7 (https://getbootstrap.com/)
37
+ * Bootstrap focustrap.js v5.3.8 (https://getbootstrap.com/)
38
38
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
39
39
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
40
40
  */function Nt(){return Pt||(Pt=1,function(e){e.exports=function(e,t,n){const i="focustrap",s="bs.focustrap",o=`.${s}`,r=`focusin${o}`,a=`keydown.tab${o}`,l="Tab",c="forward",u="backward",d={autofocus:!0,trapElement:null},h={autofocus:"boolean",trapElement:"element"};class f extends n{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return d}static get DefaultType(){return h}static get NAME(){return i}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),e.off(document,o),e.on(document,r,e=>this._handleFocusin(e)),e.on(document,a,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,e.off(document,o))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const i=t.focusableChildren(n);0===i.length?n.focus():this._lastTabNavDirection===u?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){e.key===l&&(this._lastTabNavDirection=e.shiftKey?u:c)}}return f}(f(),T(),v())}(jt)),jt.exports}var It,Mt={exports:{}};
41
41
  /*!
42
- * Bootstrap scrollbar.js v5.3.7 (https://getbootstrap.com/)
42
+ * Bootstrap scrollbar.js v5.3.8 (https://getbootstrap.com/)
43
43
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
44
44
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
45
45
  */function Ft(){return It||(It=1,function(e){e.exports=function(e,t,n){const i=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",s=".sticky-top",o="padding-right",r="margin-right";class a{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,o,t=>t+e),this._setElementAttributes(i,o,t=>t+e),this._setElementAttributes(s,r,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,o),this._resetElementAttributes(i,o),this._resetElementAttributes(s,r)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth(),s=e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const s=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(s))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(t,n){const i=t.style.getPropertyValue(n);i&&e.setDataAttribute(t,n,i)}_resetElementAttributes(t,n){const i=t=>{const i=e.getDataAttribute(t,n);null!==i?(e.removeDataAttribute(t,n),t.style.setProperty(n,i)):t.style.removeProperty(n)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(e,i){if(n.isElement(e))i(e);else for(const n of t.find(e,this._element))i(n)}}return a}(_(),T(),d())}(Mt)),Mt.exports}
46
46
  /*!
47
- * Bootstrap offcanvas.js v5.3.7 (https://getbootstrap.com/)
47
+ * Bootstrap offcanvas.js v5.3.8 (https://getbootstrap.com/)
48
48
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
49
49
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
50
50
  */var Ht;var Rt,Wt=(Ht||(Ht=1,function(e){e.exports=function(e,t,n,i,s,o,r,a){const l="offcanvas",c="bs.offcanvas",u=`.${c}`,d=".data-api",h=`load${u}${d}`,f="Escape",p="show",g="showing",m="hiding",_="offcanvas-backdrop",b=".offcanvas.show",v=`show${u}`,y=`shown${u}`,w=`hide${u}`,E=`hidePrevented${u}`,A=`hidden${u}`,x=`resize${u}`,T=`click${u}${d}`,C=`keydown.dismiss${u}`,O='[data-bs-toggle="offcanvas"]',S={backdrop:!0,keyboard:!0,scroll:!1},k={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class D extends e{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return S}static get DefaultType(){return k}static get NAME(){return l}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(t.trigger(this._element,v,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new a).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(g);const n=()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(p),this._element.classList.remove(g),t.trigger(this._element,y,{relatedTarget:e})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown)return;if(t.trigger(this._element,w).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(m),this._backdrop.hide();const e=()=>{this._element.classList.remove(p,m),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new a).reset(),t.trigger(this._element,A)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{"static"!==this._config.backdrop?this.hide():t.trigger(this._element,E)},n=Boolean(this._config.backdrop);return new i({className:_,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new o({trapElement:this._element})}_addEventListeners(){t.on(this._element,C,e=>{e.key===f&&(this._config.keyboard?this.hide():t.trigger(this._element,E))})}static jQueryInterface(e){return this.each(function(){const t=D.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return t.on(document,T,O,function(e){const i=n.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),r.isDisabled(this))return;t.one(i,A,()=>{r.isVisible(this)&&this.focus()});const s=n.findOne(b);s&&s!==i&&D.getInstance(s).hide(),D.getOrCreateInstance(i).toggle(this)}),t.on(window,h,()=>{for(const e of n.find(b))D.getOrCreateInstance(e).show()}),t.on(window,x,()=>{for(const e of n.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&D.getOrCreateInstance(e).hide()}),s.enableDismissTrigger(D),r.defineJQueryPlugin(D),D}(w(),f(),T(),$t(),O(),Nt(),d(),Ft())}(Dt)),Dt.exports),zt=t(Wt),qt={exports:{}};var Bt,Vt=(Rt||(Rt=1,function(e){e.exports=function(e,t,n,i,s,o,r,a){const l="modal",c="bs.modal",u=`.${c}`,d=".data-api",h="Escape",f=`hide${u}`,p=`hidePrevented${u}`,g=`hidden${u}`,m=`show${u}`,_=`shown${u}`,b=`resize${u}`,v=`click.dismiss${u}`,y=`mousedown.dismiss${u}`,w=`keydown.dismiss${u}`,E=`click${u}${d}`,A="modal-open",x="fade",T="show",C="modal-static",O=".modal.show",S=".modal-dialog",k=".modal-body",D='[data-bs-toggle="modal"]',L={backdrop:!0,focus:!0,keyboard:!0},$={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class P extends e{constructor(e,t){super(e,t),this._dialog=n.findOne(S,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new a,this._addEventListeners()}static get Default(){return L}static get DefaultType(){return $}static get NAME(){return l}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||t.trigger(this._element,m,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(A),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(t.trigger(this._element,f).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(T),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){t.off(window,u),t.off(this._dialog,u),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new i({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new o({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const i=n.findOne(k,this._dialog);i&&(i.scrollTop=0),r.reflow(this._element),this._element.classList.add(T);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,t.trigger(this._element,_,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){t.on(this._element,w,e=>{e.key===h&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),t.on(window,b,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),t.on(this._element,y,e=>{t.one(this._element,v,t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(A),this._resetAdjustments(),this._scrollBar.reset(),t.trigger(this._element,g)})}_isAnimated(){return this._element.classList.contains(x)}_triggerBackdropTransition(){if(t.trigger(this._element,p).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(C)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(C),this._queueCallback(()=>{this._element.classList.remove(C),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=r.isRTL()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=r.isRTL()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=P.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}return t.on(document,E,D,function(e){const i=n.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),t.one(i,m,e=>{e.defaultPrevented||t.one(i,g,()=>{r.isVisible(this)&&this.focus()})});const s=n.findOne(O);s&&P.getInstance(s).hide(),P.getOrCreateInstance(i).toggle(this)}),s.enableDismissTrigger(P),r.defineJQueryPlugin(P),P}(w(),f(),T(),$t(),O(),Nt(),d(),Ft())}(qt)),qt.exports),Qt=t(Vt),Yt={exports:{}};var Kt,Ut=(Bt||(Bt=1,function(e){e.exports=function(e,t,n,i){const s="scrollspy",o="bs.scrollspy",r=`.${o}`,a=".data-api",l=`activate${r}`,c=`click${r}`,u=`load${r}${a}`,d="dropdown-item",h="active",f='[data-bs-spy="scroll"]',p="[href]",g=".nav, .list-group",m=".nav-link",_=`${m}, .nav-item > ${m}, .list-group-item`,b=".dropdown",v=".dropdown-toggle",y={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},w={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class E extends e{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return y}static get DefaultType(){return w}static get NAME(){return s}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=i.getElement(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(t.off(this._config.target,c),t.on(this._config.target,c,p,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,i=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,s=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(o));continue}const e=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&e){if(n(o),!i)return}else s||e||n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=n.find(p,this._config.target);for(const t of e){if(!t.hash||i.isDisabled(t))continue;const e=n.findOne(decodeURI(t.hash),this._element);i.isVisible(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(h),this._activateParents(e),t.trigger(this._element,l,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(d))n.findOne(v,e.closest(b)).classList.add(h);else for(const t of n.parents(e,g))for(const e of n.prev(t,_))e.classList.add(h)}_clearActiveClass(e){e.classList.remove(h);const t=n.find(`${p}.${h}`,e);for(const e of t)e.classList.remove(h)}static jQueryInterface(e){return this.each(function(){const t=E.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.on(window,u,()=>{for(const e of n.find(f))E.getOrCreateInstance(e)}),i.defineJQueryPlugin(E),E}(w(),f(),T(),d())}(Yt)),Yt.exports),Xt=t(Ut),Jt={exports:{}},Gt={exports:{}},Zt={exports:{}};function en(){return Kt||(Kt=1,function(e,t){!function(e){const t={"*":["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:[]},n=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),i=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,s=(e,t)=>{const s=e.nodeName.toLowerCase();return t.includes(s)?!n.has(s)||Boolean(i.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(s))};function o(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const e of o){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const i=[].concat(...e.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const t of i)s(t,o)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}e.DefaultAllowlist=t,e.sanitizeHtml=o,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)}(0,Zt.exports)),Zt.exports}var tn,nn={exports:{}};
51
51
  /*!
52
- * Bootstrap template-factory.js v5.3.7 (https://getbootstrap.com/)
52
+ * Bootstrap template-factory.js v5.3.8 (https://getbootstrap.com/)
53
53
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
54
54
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
55
55
  */function sn(){return tn||(tn=1,function(e){e.exports=function(e,t,n,i){const s="TemplateFactory",o={allowList:n.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 t{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return o}static get DefaultType(){return r}static get NAME(){return s}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},a)}_setContent(t,n,s){const o=e.findOne(s,t);o&&((n=this._resolvePossibleFunction(n))?i.isElement(n)?this._putElementInTemplate(i.getElement(n),o):this._config.html?o.innerHTML=this._maybeSanitize(n):o.textContent=n:o.remove())}_maybeSanitize(e){return this._config.sanitize?n.sanitizeHtml(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return i.execute(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}return l}(T(),v(),en(),d())}(nn)),nn.exports}
56
56
  /*!
57
- * Bootstrap tooltip.js v5.3.7 (https://getbootstrap.com/)
57
+ * Bootstrap tooltip.js v5.3.8 (https://getbootstrap.com/)
58
58
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
59
59
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
60
60
  */var on;function rn(){return on||(on=1,function(e){e.exports=function(e,t,n,i,s,o,r){function a(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 l=a(e),c="tooltip",u=new Set(["sanitize","allowList","sanitizeFn"]),d="fade",h="show",f=".tooltip-inner",p=".modal",g="hide.bs.modal",m="hover",_="focus",b="click",v="manual",y="hide",w="hidden",E="show",A="shown",x="inserted",T="click",C="focusin",O="focusout",S="mouseenter",k="mouseleave",D={AUTO:"auto",TOP:"top",RIGHT:s.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:s.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 P extends t{constructor(e,t){if(void 0===l)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return 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),n.off(this._element.closest(p),g,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 e=n.trigger(this._element,this.constructor.eventName(E)),t=(s.findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(i),n.trigger(this._element,this.constructor.eventName(x))),this._popper=this._createPopper(i),i.classList.add(h),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.on(e,"mouseover",s.noop);const r=()=>{n.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(n.trigger(this._element,this.constructor.eventName(y)).defaultPrevented)return;if(this._getTipElement().classList.remove(h),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",s.noop);this._activeTrigger[b]=!1,this._activeTrigger[_]=!1,this._activeTrigger[m]=!1,this._isHovered=null;const e=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),n.trigger(this._element,this.constructor.eventName(w)))};this._queueCallback(e,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(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(d,h),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=s.getUID(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(d),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new r({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[f]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(d)}_isShown(){return this.tip&&this.tip.classList.contains(h)}_createPopper(e){const t=s.execute(this._config.placement,[this,e,this._element]),n=D[t.toUpperCase()];return l.createPopper(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return s.execute(e,[this._element,this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...s.execute(this._config.popperConfig,[void 0,t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)n.on(this._element,this.constructor.eventName(T),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[b]=!(t._isShown()&&t._activeTrigger[b]),t.toggle()});else if(t!==v){const e=t===m?this.constructor.eventName(S):this.constructor.eventName(C),i=t===m?this.constructor.eventName(k):this.constructor.eventName(O);n.on(this._element,e,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?_:m]=!0,t._enter()}),n.on(this._element,i,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?_:m]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},n.on(this._element.closest(p),g,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){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(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=i.getDataAttributes(this._element);for(const e of Object.keys(t))u.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:s.getElement(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=P.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}return s.defineJQueryPlugin(P),P}(Et,w(),f(),_(),d(),en(),sn())}(Gt)),Gt.exports}
61
61
  /*!
62
- * Bootstrap popover.js v5.3.7 (https://getbootstrap.com/)
62
+ * Bootstrap popover.js v5.3.8 (https://getbootstrap.com/)
63
63
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
64
64
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
65
- */var an;var ln,cn=(an||(an=1,function(e){e.exports=function(e,t){const n="popover",i=".popover-header",s=".popover-body",o={...e.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},r={...e.DefaultType,content:"(null|string|element|function)"};class a extends e{static get Default(){return o}static get DefaultType(){return r}static get NAME(){return n}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[i]:this._getTitle(),[s]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=a.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.defineJQueryPlugin(a),a}(rn(),d())}(Jt)),Jt.exports),un=t(cn),dn={exports:{}};var hn,fn=(ln||(ln=1,function(e){e.exports=function(e,t,n,i){const s="toast",o="bs.toast",r=`.${o}`,a=`mouseover${r}`,l=`mouseout${r}`,c=`focusin${r}`,u=`focusout${r}`,d=`hide${r}`,h=`hidden${r}`,f=`show${r}`,p=`shown${r}`,g="fade",m="hide",_="show",b="showing",v={animation:"boolean",autohide:"boolean",delay:"number"},y={animation:!0,autohide:!0,delay:5e3};class w extends e{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return y}static get DefaultType(){return v}static get NAME(){return s}show(){if(t.trigger(this._element,f).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(g);const e=()=>{this._element.classList.remove(b),t.trigger(this._element,p),this._maybeScheduleHide()};this._element.classList.remove(m),i.reflow(this._element),this._element.classList.add(_,b),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown())return;if(t.trigger(this._element,d).defaultPrevented)return;const e=()=>{this._element.classList.add(m),this._element.classList.remove(b,_),t.trigger(this._element,h)};this._element.classList.add(b),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(_),super.dispose()}isShown(){return this._element.classList.contains(_)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){t.on(this._element,a,e=>this._onInteraction(e,!0)),t.on(this._element,l,e=>this._onInteraction(e,!1)),t.on(this._element,c,e=>this._onInteraction(e,!0)),t.on(this._element,u,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=w.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return n.enableDismissTrigger(w),i.defineJQueryPlugin(w),w}(w(),f(),O(),d())}(dn)),dn.exports),pn=t(fn),gn={exports:{}};var mn=(hn||(hn=1,function(e){e.exports=function(e,t,n,i){const s="tab",o="bs.tab",r=`.${o}`,a=`hide${r}`,l=`hidden${r}`,c=`show${r}`,u=`shown${r}`,d=`click${r}`,h=`keydown${r}`,f=`load${r}`,p="ArrowLeft",g="ArrowRight",m="ArrowUp",_="ArrowDown",b="Home",v="End",y="active",w="fade",E="show",A="dropdown",x=".dropdown-toggle",T=".dropdown-menu",C=`:not(${x})`,O='.list-group, .nav, [role="tablist"]',S=".nav-item, .list-group-item",k='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',D=`.nav-link${C}, .list-group-item${C}, [role="tab"]${C}, ${k}`,L=`.${y}[data-bs-toggle="tab"], .${y}[data-bs-toggle="pill"], .${y}[data-bs-toggle="list"]`;class $ extends e{constructor(e){super(e),this._parent=this._element.closest(O),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),t.on(this._element,h,e=>this._keydown(e)))}static get NAME(){return s}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),i=n?t.trigger(n,a,{relatedTarget:e}):null;t.trigger(e,c,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,i){if(!e)return;e.classList.add(y),this._activate(n.getElementFromSelector(e));const s=()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),t.trigger(e,u,{relatedTarget:i})):e.classList.add(E)};this._queueCallback(s,e,e.classList.contains(w))}_deactivate(e,i){if(!e)return;e.classList.remove(y),e.blur(),this._deactivate(n.getElementFromSelector(e));const s=()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),t.trigger(e,l,{relatedTarget:i})):e.classList.remove(E)};this._queueCallback(s,e,e.classList.contains(w))}_keydown(e){if(![p,g,m,_,b,v].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(e=>!i.isDisabled(e));let n;if([b,v].includes(e.key))n=t[e.key===b?0:t.length-1];else{const s=[g,_].includes(e.key);n=i.getNextActiveElement(t,e.target,s,!0)}n&&(n.focus({preventScroll:!0}),$.getOrCreateInstance(n).show())}_getChildren(){return n.find(D,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=n.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains(A))return;const s=(e,s)=>{const o=n.findOne(e,i);o&&o.classList.toggle(s,t)};s(x,y),s(T,E),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(y)}_getInnerElement(e){return e.matches(D)?e:n.findOne(D,e)}_getOuterElement(e){return e.closest(S)||e}static jQueryInterface(e){return this.each(function(){const t=$.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.on(document,d,k,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),i.isDisabled(this)||$.getOrCreateInstance(this).show()}),t.on(window,f,()=>{for(const e of n.find(L))$.getOrCreateInstance(e)}),i.defineJQueryPlugin($),$}(w(),f(),T(),d())}(gn)),gn.exports),_n=t(mn),bn=t(rn());const vn=new Map;var yn={set(e,t,n){vn.has(e)||vn.set(e,new Map);const i=vn.get(e);(i.has(t)||0===i.size)&&i.set(t,n)},get:(e,t)=>vn.has(e)&&vn.get(e).get(t)||null,remove(e,t){if(!vn.has(e))return;const n=vn.get(e);n.delete(t),0===n.size&&vn.delete(e)}};const wn="transitionend",En=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),An=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),xn=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Tn=e=>xn(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(En(e)):null,Cn=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,On=[],Sn=e=>{var t;t=()=>{const t=Cn();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)}},"loading"===document.readyState?(On.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of On)e()}),On.push(t)):t()},kn=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,Dn=(e,t,n=!0)=>{if(!n)return void kn(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),s=Number.parseFloat(n);return i||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const o=({target:n})=>{n===t&&(s=!0,t.removeEventListener(wn,o),kn(e))};t.addEventListener(wn,o),setTimeout(()=>{s||t.dispatchEvent(new Event(wn))},i)},Ln=/[^.]*(?=\..*)\.|.*/,$n=/\..*/,Pn=/::\d+$/,jn={};let Nn=1;const In={mouseenter:"mouseover",mouseleave:"mouseout"},Mn=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 Fn(e,t){return t&&`${t}::${Nn++}`||e.uidEvent||Nn++}function Hn(e){const t=Fn(e);return e.uidEvent=t,jn[t]=jn[t]||{},jn[t]}function Rn(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function Wn(e,t,n){const i="string"==typeof t,s=i?n:t||n;let o=Vn(e);return Mn.has(o)||(o=e),[i,s,o]}function zn(e,t,n,i,s){if("string"!=typeof t||!e)return;let[o,r,a]=Wn(t,n,i);if(t in In){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r=e(r)}const l=Hn(e),c=l[a]||(l[a]={}),u=Rn(c,r,o?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const d=Fn(r,t.replace(Ln,"")),h=o?function(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 Yn(s,{delegateTarget:r}),i.oneOff&&Qn.off(e,s.type,t,n),n.apply(r,[s])}}(e,n,r):function(e,t){return function n(i){return Yn(i,{delegateTarget:e}),n.oneOff&&Qn.off(e,i.type,t),t.apply(e,[i])}}(e,r);h.delegationSelector=o?n:null,h.callable=r,h.oneOff=s,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,o)}function qn(e,t,n,i,s){const o=Rn(t[n],i,s);o&&(e.removeEventListener(n,o,Boolean(s)),delete t[n][o.uidEvent])}function Bn(e,t,n,i){const s=t[n]||{};for(const[o,r]of Object.entries(s))o.includes(i)&&qn(e,t,n,r.callable,r.delegationSelector)}function Vn(e){return e=e.replace($n,""),In[e]||e}const Qn={on(e,t,n,i){zn(e,t,n,i,!1)},one(e,t,n,i){zn(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[s,o,r]=Wn(t,n,i),a=r!==t,l=Hn(e),c=l[r]||{},u=t.startsWith(".");if(void 0===o){if(u)for(const n of Object.keys(l))Bn(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const s=n.replace(Pn,"");a&&!t.includes(s)||qn(e,l,r,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;qn(e,l,r,o,s?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=Cn();let s=null,o=!0,r=!0,a=!1;t!==Vn(t)&&i&&(s=i.Event(t,n),i(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=Yn(new Event(t,{bubbles:o,cancelable:!0}),n);return a&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function Yn(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch{Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}function Kn(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{return e}}function Un(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Xn={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Un(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Un(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=Kn(e.dataset[i])}return t},getDataAttribute:(e,t)=>Kn(e.getAttribute(`data-bs-${Un(t)}`))};class Jn{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(e,t){const n=xn(t)?Xn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...xn(t)?Xn.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,i]of Object.entries(t)){const t=e[n],s=xn(t)?"element":An(t);if(!new RegExp(i).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${i}".`)}}}class Gn extends Jn{constructor(e,t){super(),(e=Tn(e))&&(this._element=e,this._config=this._getConfig(t),yn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){yn.remove(this._element,this.constructor.DATA_KEY),Qn.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Dn(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return yn.get(Tn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.7"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Zn='[data-bs-toggle="datepicker"]';class ei extends Gn{static get NAME(){return"datepicker"}static jQueryInterface(e){return this.each(function(){const t=ei.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}Qn.on(document,"focus.bs.datepicker.data-api",Zn,e=>{const t=e.target.closest(Zn);if("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0){const e=t.cloneNode(!0);e.type="date",e.removeAttribute("data-bs-toggle"),t.parentNode.prepend(e),e.focus(),e.showPicker(),t.remove(),e.addEventListener("blur",function n(){e.value||(e.parentNode.prepend(t),e.remove(),e.removeEventListener("blur",n))})}else t.type="date",t.addEventListener("blur",function e(){t.value||(t.type="text"),t.removeEventListener("blur",e)})}),Sn(ei);const ti=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>En(e)).join(","):null},ni={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(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!(e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")))(e)&&(e=>{if(!xn(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})(e))},getSelectorFromElement(e){const t=ti(e);return t&&ni.findOne(t)?t:null},getElementFromSelector(e){const t=ti(e);return t?ni.findOne(t):null},getMultipleElementsFromSelector(e){const t=ti(e);return t?ni.find(t):[]}},ii="slid.bs.carousel";class si extends Gn{constructor(e){super(e),this._captionEl=this._findCaptionEl(),this._captionEl&&(this._updateCaption(),this._bindEvents())}dispose(){Qn.off(this._element,ii),super.dispose()}_bindEvents(){Qn.on(this._element,ii,()=>this._updateCaption())}_updateCaption(){const e=ni.findOne(".carousel-item.active",this._element),t=e?.getAttribute("data-caption");this._captionEl&&t&&(this._captionEl.textContent=t||"")}_findCaptionEl(){return this._element.querySelector(".carousel-caption-container p")||null}static get NAME(){return"carouselCaption"}static jQueryInterface(e){return this.each(function(){si.getOrCreateInstance(this,e)})}}document.addEventListener("DOMContentLoaded",()=>{for(const e of ni.find(".carousel"))si.getOrCreateInstance(e)}),Sn(si);const oi=".modal-dialog-media",ri=new Promise(e=>{if(window.YT?.Player)e();else{window.onYouTubeIframeAPIReady=()=>{e()};const t=document.createElement("script");t.src="https://www.youtube.com/iframe_api",document.head.append(t)}}),ai=new Promise(e=>{if(window.Vimeo?.Player)e();else{const t=document.createElement("script");t.src="https://player.vimeo.com/api/player.js",t.addEventListener("load",()=>{e()}),document.head.append(t)}});class li extends Gn{constructor(e){super(e),this._dialog=ni.findOne(oi,this._element),this._container=ni.findOne(".ratio",this._element),this._dialog&&this._container&&(this._youtubeSrc=this._container.getAttribute("data-src"),this._vimeoUrl=this._container.getAttribute("data-vimeo-url"),this._youtubePlayer=null,this._vimeoPlayer=null,Qn.on(this._element,"show.bs.modal",()=>this._onShow()),Qn.on(this._element,"hidden.bs.modal",()=>this._onHide()))}dispose(){this._onHide(),super.dispose()}async _onShow(){const{id:e}=this._element,t=`${e}-youtube-player`;if(this._vimeoUrl){await ai;const e=this._getVimeoId(this._vimeoUrl);this._vimeoPlayer=new window.Vimeo.Player(this._container,{id:e,autoplay:!0})}if(this._youtubeSrc){await ri;const e=this._getYouTubeId(this._youtubeSrc);this._container.innerHTML=`<div class="${t} w-100 h-100"></div>`;const n=this._container.querySelector(`.${t}`);this._youtubePlayer=new window.YT.Player(n,{videoId:e,playerVars:{autoplay:1,rel:0}})}}_onHide(){this._vimeoPlayer&&(this._vimeoPlayer.unload().catch(()=>{}),this._vimeoPlayer=null),this._youtubePlayer&&(this._youtubePlayer.destroy(),this._youtubePlayer=null)}_getYouTubeId(e){const t=e.match(/(?:v=|youtu\.be\/)([\w-]{11})/);return t?t[1]:""}_getVimeoId(e){const t=e.match(/vimeo\.com\/(\d+)/);return t?t[1]:""}static get NAME(){return"videoModal"}static jQueryInterface(e){return this.each(function(){li.getOrCreateInstance(this,e)})}}document.addEventListener("DOMContentLoaded",()=>{const e=ni.find('[data-bs-toggle="modal"][data-bs-target]');for(const t of e){const e=t.getAttribute("data-bs-target"),n=document.querySelector(e);n?.querySelector(oi)&&li.getOrCreateInstance(n)}}),Sn(li),e.Alert=L,e.Button=W,e.Carousel=F,e.CarouselCaption=si,e.Collapse=kt,e.Datepicker=ei,e.Dropdown=Tt,e.Modal=Qt,e.Offcanvas=zt,e.Popover=un,e.Scrollspy=Xt,e.Tab=_n,e.Toast=pn,e.Tooltip=bn,e.VideoModal=li});
65
+ */var an;var ln,cn=(an||(an=1,function(e){e.exports=function(e,t){const n="popover",i=".popover-header",s=".popover-body",o={...e.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},r={...e.DefaultType,content:"(null|string|element|function)"};class a extends e{static get Default(){return o}static get DefaultType(){return r}static get NAME(){return n}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[i]:this._getTitle(),[s]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=a.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.defineJQueryPlugin(a),a}(rn(),d())}(Jt)),Jt.exports),un=t(cn),dn={exports:{}};var hn,fn=(ln||(ln=1,function(e){e.exports=function(e,t,n,i){const s="toast",o="bs.toast",r=`.${o}`,a=`mouseover${r}`,l=`mouseout${r}`,c=`focusin${r}`,u=`focusout${r}`,d=`hide${r}`,h=`hidden${r}`,f=`show${r}`,p=`shown${r}`,g="fade",m="hide",_="show",b="showing",v={animation:"boolean",autohide:"boolean",delay:"number"},y={animation:!0,autohide:!0,delay:5e3};class w extends e{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return y}static get DefaultType(){return v}static get NAME(){return s}show(){if(t.trigger(this._element,f).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(g);const e=()=>{this._element.classList.remove(b),t.trigger(this._element,p),this._maybeScheduleHide()};this._element.classList.remove(m),i.reflow(this._element),this._element.classList.add(_,b),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown())return;if(t.trigger(this._element,d).defaultPrevented)return;const e=()=>{this._element.classList.add(m),this._element.classList.remove(b,_),t.trigger(this._element,h)};this._element.classList.add(b),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(_),super.dispose()}isShown(){return this._element.classList.contains(_)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){t.on(this._element,a,e=>this._onInteraction(e,!0)),t.on(this._element,l,e=>this._onInteraction(e,!1)),t.on(this._element,c,e=>this._onInteraction(e,!0)),t.on(this._element,u,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=w.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return n.enableDismissTrigger(w),i.defineJQueryPlugin(w),w}(w(),f(),O(),d())}(dn)),dn.exports),pn=t(fn),gn={exports:{}};var mn=(hn||(hn=1,function(e){e.exports=function(e,t,n,i){const s="tab",o="bs.tab",r=`.${o}`,a=`hide${r}`,l=`hidden${r}`,c=`show${r}`,u=`shown${r}`,d=`click${r}`,h=`keydown${r}`,f=`load${r}`,p="ArrowLeft",g="ArrowRight",m="ArrowUp",_="ArrowDown",b="Home",v="End",y="active",w="fade",E="show",A="dropdown",x=".dropdown-toggle",T=".dropdown-menu",C=`:not(${x})`,O='.list-group, .nav, [role="tablist"]',S=".nav-item, .list-group-item",k='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',D=`.nav-link${C}, .list-group-item${C}, [role="tab"]${C}, ${k}`,L=`.${y}[data-bs-toggle="tab"], .${y}[data-bs-toggle="pill"], .${y}[data-bs-toggle="list"]`;class $ extends e{constructor(e){super(e),this._parent=this._element.closest(O),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),t.on(this._element,h,e=>this._keydown(e)))}static get NAME(){return s}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),i=n?t.trigger(n,a,{relatedTarget:e}):null;t.trigger(e,c,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,i){if(!e)return;e.classList.add(y),this._activate(n.getElementFromSelector(e));const s=()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),t.trigger(e,u,{relatedTarget:i})):e.classList.add(E)};this._queueCallback(s,e,e.classList.contains(w))}_deactivate(e,i){if(!e)return;e.classList.remove(y),e.blur(),this._deactivate(n.getElementFromSelector(e));const s=()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),t.trigger(e,l,{relatedTarget:i})):e.classList.remove(E)};this._queueCallback(s,e,e.classList.contains(w))}_keydown(e){if(![p,g,m,_,b,v].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(e=>!i.isDisabled(e));let n;if([b,v].includes(e.key))n=t[e.key===b?0:t.length-1];else{const s=[g,_].includes(e.key);n=i.getNextActiveElement(t,e.target,s,!0)}n&&(n.focus({preventScroll:!0}),$.getOrCreateInstance(n).show())}_getChildren(){return n.find(D,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=n.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains(A))return;const s=(e,s)=>{const o=n.findOne(e,i);o&&o.classList.toggle(s,t)};s(x,y),s(T,E),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(y)}_getInnerElement(e){return e.matches(D)?e:n.findOne(D,e)}_getOuterElement(e){return e.closest(S)||e}static jQueryInterface(e){return this.each(function(){const t=$.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.on(document,d,k,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),i.isDisabled(this)||$.getOrCreateInstance(this).show()}),t.on(window,f,()=>{for(const e of n.find(L))$.getOrCreateInstance(e)}),i.defineJQueryPlugin($),$}(w(),f(),T(),d())}(gn)),gn.exports),_n=t(mn),bn=t(rn());const vn=new Map;var yn={set(e,t,n){vn.has(e)||vn.set(e,new Map);const i=vn.get(e);(i.has(t)||0===i.size)&&i.set(t,n)},get:(e,t)=>vn.has(e)&&vn.get(e).get(t)||null,remove(e,t){if(!vn.has(e))return;const n=vn.get(e);n.delete(t),0===n.size&&vn.delete(e)}};const wn="transitionend",En=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),An=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),xn=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Tn=e=>xn(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(En(e)):null,Cn=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,On=[],Sn=e=>{var t;t=()=>{const t=Cn();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)}},"loading"===document.readyState?(On.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of On)e()}),On.push(t)):t()},kn=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,Dn=(e,t,n=!0)=>{if(!n)return void kn(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),s=Number.parseFloat(n);return i||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const o=({target:n})=>{n===t&&(s=!0,t.removeEventListener(wn,o),kn(e))};t.addEventListener(wn,o),setTimeout(()=>{s||t.dispatchEvent(new Event(wn))},i)},Ln=/[^.]*(?=\..*)\.|.*/,$n=/\..*/,Pn=/::\d+$/,jn={};let Nn=1;const In={mouseenter:"mouseover",mouseleave:"mouseout"},Mn=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 Fn(e,t){return t&&`${t}::${Nn++}`||e.uidEvent||Nn++}function Hn(e){const t=Fn(e);return e.uidEvent=t,jn[t]=jn[t]||{},jn[t]}function Rn(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function Wn(e,t,n){const i="string"==typeof t,s=i?n:t||n;let o=Vn(e);return Mn.has(o)||(o=e),[i,s,o]}function zn(e,t,n,i,s){if("string"!=typeof t||!e)return;let[o,r,a]=Wn(t,n,i);if(t in In){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r=e(r)}const l=Hn(e),c=l[a]||(l[a]={}),u=Rn(c,r,o?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const d=Fn(r,t.replace(Ln,"")),h=o?function(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 Yn(s,{delegateTarget:r}),i.oneOff&&Qn.off(e,s.type,t,n),n.apply(r,[s])}}(e,n,r):function(e,t){return function n(i){return Yn(i,{delegateTarget:e}),n.oneOff&&Qn.off(e,i.type,t),t.apply(e,[i])}}(e,r);h.delegationSelector=o?n:null,h.callable=r,h.oneOff=s,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,o)}function qn(e,t,n,i,s){const o=Rn(t[n],i,s);o&&(e.removeEventListener(n,o,Boolean(s)),delete t[n][o.uidEvent])}function Bn(e,t,n,i){const s=t[n]||{};for(const[o,r]of Object.entries(s))o.includes(i)&&qn(e,t,n,r.callable,r.delegationSelector)}function Vn(e){return e=e.replace($n,""),In[e]||e}const Qn={on(e,t,n,i){zn(e,t,n,i,!1)},one(e,t,n,i){zn(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[s,o,r]=Wn(t,n,i),a=r!==t,l=Hn(e),c=l[r]||{},u=t.startsWith(".");if(void 0===o){if(u)for(const n of Object.keys(l))Bn(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const s=n.replace(Pn,"");a&&!t.includes(s)||qn(e,l,r,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;qn(e,l,r,o,s?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=Cn();let s=null,o=!0,r=!0,a=!1;t!==Vn(t)&&i&&(s=i.Event(t,n),i(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=Yn(new Event(t,{bubbles:o,cancelable:!0}),n);return a&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function Yn(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch{Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}function Kn(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{return e}}function Un(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Xn={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Un(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Un(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=Kn(e.dataset[i])}return t},getDataAttribute:(e,t)=>Kn(e.getAttribute(`data-bs-${Un(t)}`))};class Jn{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(e,t){const n=xn(t)?Xn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...xn(t)?Xn.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,i]of Object.entries(t)){const t=e[n],s=xn(t)?"element":An(t);if(!new RegExp(i).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${i}".`)}}}class Gn extends Jn{constructor(e,t){super(),(e=Tn(e))&&(this._element=e,this._config=this._getConfig(t),yn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){yn.remove(this._element,this.constructor.DATA_KEY),Qn.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Dn(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return yn.get(Tn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Zn='[data-bs-toggle="datepicker"]';class ei extends Gn{static get NAME(){return"datepicker"}static jQueryInterface(e){return this.each(function(){const t=ei.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}Qn.on(document,"focus.bs.datepicker.data-api",Zn,e=>{const t=e.target.closest(Zn);if("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0){const e=t.cloneNode(!0);e.type="date",e.removeAttribute("data-bs-toggle"),t.parentNode.prepend(e),e.focus(),e.showPicker(),t.remove(),e.addEventListener("blur",function n(){e.value||(e.parentNode.prepend(t),e.remove(),e.removeEventListener("blur",n))})}else t.type="date",t.addEventListener("blur",function e(){t.value||(t.type="text"),t.removeEventListener("blur",e)})}),Sn(ei);const ti=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>En(e)).join(","):null},ni={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(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!(e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")))(e)&&(e=>{if(!xn(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})(e))},getSelectorFromElement(e){const t=ti(e);return t&&ni.findOne(t)?t:null},getElementFromSelector(e){const t=ti(e);return t?ni.findOne(t):null},getMultipleElementsFromSelector(e){const t=ti(e);return t?ni.find(t):[]}},ii="slid.bs.carousel";class si extends Gn{constructor(e){super(e),this._captionEl=this._findCaptionEl(),this._captionEl&&(this._updateCaption(),this._bindEvents())}dispose(){Qn.off(this._element,ii),super.dispose()}_bindEvents(){Qn.on(this._element,ii,()=>this._updateCaption())}_updateCaption(){const e=ni.findOne(".carousel-item.active",this._element),t=e?.getAttribute("data-caption");this._captionEl&&t&&(this._captionEl.textContent=t||"")}_findCaptionEl(){return this._element.querySelector(".carousel-caption-container p")||null}static get NAME(){return"carouselCaption"}static jQueryInterface(e){return this.each(function(){si.getOrCreateInstance(this,e)})}}document.addEventListener("DOMContentLoaded",()=>{for(const e of ni.find(".carousel"))si.getOrCreateInstance(e)}),Sn(si);const oi=".modal-dialog-media",ri=new Promise(e=>{if(window.YT?.Player)e();else{window.onYouTubeIframeAPIReady=()=>{e()};const t=document.createElement("script");t.src="https://www.youtube.com/iframe_api",document.head.append(t)}}),ai=new Promise(e=>{if(window.Vimeo?.Player)e();else{const t=document.createElement("script");t.src="https://player.vimeo.com/api/player.js",t.addEventListener("load",()=>{e()}),document.head.append(t)}});class li extends Gn{constructor(e){super(e),this._dialog=ni.findOne(oi,this._element),this._container=ni.findOne(".ratio",this._element),this._dialog&&this._container&&(this._youtubeSrc=this._container.getAttribute("data-src"),this._vimeoUrl=this._container.getAttribute("data-vimeo-url"),this._youtubePlayer=null,this._vimeoPlayer=null,Qn.on(this._element,"show.bs.modal",()=>this._onShow()),Qn.on(this._element,"hidden.bs.modal",()=>this._onHide()))}dispose(){this._onHide(),super.dispose()}async _onShow(){const{id:e}=this._element,t=`${e}-youtube-player`;if(this._vimeoUrl){await ai;const e=this._getVimeoId(this._vimeoUrl);this._vimeoPlayer=new window.Vimeo.Player(this._container,{id:e,autoplay:!0})}if(this._youtubeSrc){await ri;const e=this._getYouTubeId(this._youtubeSrc);this._container.innerHTML=`<div class="${t} w-100 h-100"></div>`;const n=this._container.querySelector(`.${t}`);this._youtubePlayer=new window.YT.Player(n,{videoId:e,playerVars:{autoplay:1,rel:0}})}}_onHide(){this._vimeoPlayer&&(this._vimeoPlayer.unload().catch(()=>{}),this._vimeoPlayer=null),this._youtubePlayer&&(this._youtubePlayer.destroy(),this._youtubePlayer=null)}_getYouTubeId(e){const t=e.match(/(?:v=|youtu\.be\/)([\w-]{11})/);return t?t[1]:""}_getVimeoId(e){const t=e.match(/vimeo\.com\/(\d+)/);return t?t[1]:""}static get NAME(){return"videoModal"}static jQueryInterface(e){return this.each(function(){li.getOrCreateInstance(this,e)})}}document.addEventListener("DOMContentLoaded",()=>{const e=ni.find('[data-bs-toggle="modal"][data-bs-target]');for(const t of e){const e=t.getAttribute("data-bs-target"),n=document.querySelector(e);n?.querySelector(oi)&&li.getOrCreateInstance(n)}}),Sn(li),e.Alert=L,e.Button=W,e.Carousel=F,e.CarouselCaption=si,e.Collapse=kt,e.Datepicker=ei,e.Dropdown=Tt,e.Modal=Qt,e.Offcanvas=zt,e.Popover=un,e.Scrollspy=Xt,e.Tab=_n,e.Toast=pn,e.Tooltip=bn,e.VideoModal=li});
66
66
  //# sourceMappingURL=symphony.min.js.map