@unlk/keymaster 1.0.5 → 1.0.7
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.
- package/CHANGELOG.md +16 -0
- package/dist/css/keymaster.css +314 -34
- package/dist/css/keymaster.css.map +1 -1
- package/dist/css/keymaster.min.css +2 -2
- package/dist/css/keymaster.min.css.map +1 -1
- package/dist/js/keymaster.js +327 -4594
- package/dist/js/keymaster.js.map +1 -1
- package/dist/js/keymaster.min.js +28 -34
- package/dist/js/keymaster.min.js.map +1 -1
- package/js/carousel-caption.js +48 -21
- package/js/video-modal.js +76 -53
- package/package.json +1 -1
- package/scss/theme/_accordion.scss +2 -1
- package/scss/theme/_alert.scss +7 -1
- package/scss/theme/_forms.scss +2 -0
- package/scss/theme/_utilities-overrides.scss +5 -5
- package/scss/theme/_variables-overrides.scss +251 -212
- package/scss/theme/_variables.scss +22 -22
- package/scss/theme/forms/_floating-labels.scss +12 -0
- package/scss/theme/forms/_form-check.scss +89 -0
package/dist/js/keymaster.min.js
CHANGED
@@ -1,164 +1,158 @@
|
|
1
1
|
/*!
|
2
|
-
* Unlock Keymaster v1.0.
|
2
|
+
* Unlock Keymaster v1.0.7 (https://unlock-com.github.io/keymaster)
|
3
3
|
* Copyright 2022-2025 Unlk Developers
|
4
4
|
*/
|
5
|
-
!function(t
|
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";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function t(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})})),t}var n={exports:{}},i={exports:{}},s={exports:{}};
|
6
6
|
/*!
|
7
7
|
* Bootstrap data.js v5.3.5 (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
|
*/
|
11
|
-
!function(
|
11
|
+
!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}()}(s);var o={exports:{}},r={exports:{}};
|
12
12
|
/*!
|
13
13
|
* Bootstrap index.js v5.3.5 (https://getbootstrap.com/)
|
14
14
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
15
15
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
16
16
|
*/
|
17
|
-
!function(t
|
17
|
+
!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,x=(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)},E=(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=x,e.findShadowRoot=f,e.getElement=u,e.getNextActiveElement=E,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,r.exports),
|
18
18
|
/*!
|
19
19
|
* Bootstrap event-handler.js v5.3.5 (https://getbootstrap.com/)
|
20
20
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
21
21
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
22
22
|
*/
|
23
|
-
function(
|
23
|
+
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}(r.exports)}(o);var a={exports:{}},l={exports:{}};
|
24
24
|
/*!
|
25
25
|
* Bootstrap manipulator.js v5.3.5 (https://getbootstrap.com/)
|
26
26
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
27
27
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
28
28
|
*/
|
29
|
-
!function(
|
29
|
+
!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}()}(l),
|
30
30
|
/*!
|
31
31
|
* Bootstrap config.js v5.3.5 (https://getbootstrap.com/)
|
32
32
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
33
33
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
34
34
|
*/
|
35
|
-
function(
|
35
|
+
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}(l.exports,r.exports)}(a),
|
36
36
|
/*!
|
37
37
|
* Bootstrap base-component.js v5.3.5 (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
|
*/
|
41
|
-
function(
|
41
|
+
function(e){e.exports=function(e,t,n,i){const s="5.3.5";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}(s.exports,o.exports,a.exports,r.exports)}(i);var c={exports:{}},u={exports:{}};
|
42
42
|
/*!
|
43
43
|
* Bootstrap selector-engine.js v5.3.5 (https://getbootstrap.com/)
|
44
44
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
45
45
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
46
46
|
*/
|
47
|
-
!function(
|
47
|
+
!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}(r.exports)}(u),
|
48
48
|
/*!
|
49
49
|
* Bootstrap component-functions.js v5.3.5 (https://getbootstrap.com/)
|
50
50
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
51
51
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
52
52
|
*/
|
53
|
-
function(t
|
53
|
+
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,o.exports,u.exports,r.exports)}(0,c.exports),
|
54
54
|
/*!
|
55
55
|
* Bootstrap alert.js v5.3.5 (https://getbootstrap.com/)
|
56
56
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
57
57
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
58
58
|
*/
|
59
|
-
function(
|
59
|
+
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}(i.exports,o.exports,c.exports,r.exports)}(n);var d=n.exports,h={exports:{}},f={exports:{}};
|
60
60
|
/*!
|
61
61
|
* Bootstrap swipe.js v5.3.5 (https://getbootstrap.com/)
|
62
62
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
63
63
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
64
64
|
*/
|
65
|
-
!function(
|
65
|
+
!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}(o.exports,a.exports,r.exports)}(f),
|
66
66
|
/*!
|
67
67
|
* Bootstrap carousel.js v5.3.5 (https://getbootstrap.com/)
|
68
68
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
69
69
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
70
70
|
*/
|
71
|
-
function(
|
71
|
+
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}`,x=`dragstart${l}`,E=`load${l}${c}`,A=`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",N=$+P,j=".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(j,this._element))t.on(e,x,(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(N,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,A,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,E,(()=>{const e=i.find(F);for(const t of e)z.getOrCreateInstance(t)})),s.defineJQueryPlugin(z),z}(i.exports,o.exports,l.exports,u.exports,r.exports,f.exports)}(h);var p=h.exports,g={exports:{}};
|
72
72
|
/*!
|
73
73
|
* Bootstrap button.js v5.3.5 (https://getbootstrap.com/)
|
74
74
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
75
75
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
76
76
|
*/
|
77
|
-
!function(t){t.exports=function(t,e,i){const n="button",s="bs.button",o=`.${s}`,r=".data-api",a="active",l='[data-bs-toggle="button"]',c=`click${o}${r}`;class h extends t{static get NAME(){return n}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(a))}static jQueryInterface(t){return this.each((function(){const e=h.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}return e.on(document,c,l,(t=>{t.preventDefault();const e=t.target.closest(l);h.getOrCreateInstance(e).toggle()})),i.defineJQueryPlugin(h),h}(n.exports,o.exports,r.exports)}(g);var m=g.exports,_={exports:{}},b="top",v="bottom",y="right",w="left",E="auto",A=[b,v,y,w],T="start",C="end",x="clippingParents",O="viewport",k="popper",S="reference",L=A.reduce((function(t,e){return t.concat([e+"-"+T,e+"-"+C])}),[]),$=[].concat(A,[E]).reduce((function(t,e){return t.concat([e,e+"-"+T,e+"-"+C])}),[]),D="beforeRead",I="read",N="afterRead",P="beforeMain",j="main",M="afterMain",F="beforeWrite",H="write",z="afterWrite",R=[D,I,N,P,j,M,F,H,z];function q(t){return t?(t.nodeName||"").toLowerCase():null}function W(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function B(t){return t instanceof W(t).Element||t instanceof Element}function V(t){return t instanceof W(t).HTMLElement||t instanceof HTMLElement}function Q(t){return"undefined"!=typeof ShadowRoot&&(t instanceof W(t).ShadowRoot||t instanceof ShadowRoot)}var K={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];V(s)&&q(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});V(n)&&q(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Y(t){return t.split("-")[0]}var U=Math.max,X=Math.min,J=Math.round;function G(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function Z(){return!/^((?!chrome|android).)*safari/i.test(G())}function tt(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&V(t)&&(s=t.offsetWidth>0&&J(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&J(n.height)/t.offsetHeight||1);var r=(B(t)?W(t):window).visualViewport,a=!Z()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,u=n.height/o;return{width:h,height:u,top:c,right:l+h,bottom:c+u,left:l,x:l,y:c}}function et(t){var e=tt(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function it(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&Q(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function nt(t){return W(t).getComputedStyle(t)}function st(t){return["table","td","th"].indexOf(q(t))>=0}function ot(t){return((B(t)?t.ownerDocument:t.document)||window.document).documentElement}function rt(t){return"html"===q(t)?t:t.assignedSlot||t.parentNode||(Q(t)?t.host:null)||ot(t)}function at(t){return V(t)&&"fixed"!==nt(t).position?t.offsetParent:null}function lt(t){for(var e=W(t),i=at(t);i&&st(i)&&"static"===nt(i).position;)i=at(i);return i&&("html"===q(i)||"body"===q(i)&&"static"===nt(i).position)?e:i||function(t){var e=/firefox/i.test(G());if(/Trident/i.test(G())&&V(t)&&"fixed"===nt(t).position)return null;var i=rt(t);for(Q(i)&&(i=i.host);V(i)&&["html","body"].indexOf(q(i))<0;){var n=nt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function ct(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ht(t,e,i){return U(t,X(e,i))}function ut(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function dt(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var ft={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=Y(i.placement),l=ct(a),c=[w,y].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return ut("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:dt(t,A))}(s.padding,i),u=et(o),d="y"===l?b:w,f="y"===l?v:y,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],g=r[l]-i.rects.reference[l],m=lt(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,E=p/2-g/2,T=h[d],C=_-u[c]-h[f],x=_/2-u[c]/2+E,O=ht(T,x,C),k=l;i.modifiersData[n]=((e={})[k]=O,e.centerOffset=O-x,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&it(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pt(t){return t.split("-")[1]}var gt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mt(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,u=t.isFixed,d=r.x,f=void 0===d?0:d,p=r.y,g=void 0===p?0:p,m="function"==typeof h?h({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var _=r.hasOwnProperty("x"),E=r.hasOwnProperty("y"),A=w,T=b,x=window;if(c){var O=lt(i),k="clientHeight",S="clientWidth";if(O===W(i)&&"static"!==nt(O=ot(i)).position&&"absolute"===a&&(k="scrollHeight",S="scrollWidth"),s===b||(s===w||s===y)&&o===C)T=v,g-=(u&&O===x&&x.visualViewport?x.visualViewport.height:O[k])-n.height,g*=l?1:-1;if(s===w||(s===b||s===v)&&o===C)A=y,f-=(u&&O===x&&x.visualViewport?x.visualViewport.width:O[S])-n.width,f*=l?1:-1}var L,$=Object.assign({position:a},c&>),D=!0===h?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:J(i*s)/s||0,y:J(n*s)/s||0}}({x:f,y:g},W(i)):{x:f,y:g};return f=D.x,g=D.y,l?Object.assign({},$,((L={})[T]=E?"0":"",L[A]=_?"0":"",L.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",L)):Object.assign({},$,((e={})[T]=E?g+"px":"",e[A]=_?f+"px":"",e.transform="",e))}var _t={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:Y(e.placement),variation:pt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,mt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,mt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},bt={passive:!0};var vt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=W(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,bt)})),a&&l.addEventListener("resize",i.update,bt),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,bt)})),a&&l.removeEventListener("resize",i.update,bt)}},data:{}},yt={left:"right",right:"left",bottom:"top",top:"bottom"};function wt(t){return t.replace(/left|right|bottom|top/g,(function(t){return yt[t]}))}var Et={start:"end",end:"start"};function At(t){return t.replace(/start|end/g,(function(t){return Et[t]}))}function Tt(t){var e=W(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ct(t){return tt(ot(t)).left+Tt(t).scrollLeft}function xt(t){var e=nt(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Ot(t){return["html","body","#document"].indexOf(q(t))>=0?t.ownerDocument.body:V(t)&&xt(t)?t:Ot(rt(t))}function kt(t,e){var i;void 0===e&&(e=[]);var n=Ot(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=W(n),r=s?[o].concat(o.visualViewport||[],xt(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(kt(rt(r)))}function St(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Lt(t,e,i){return e===O?St(function(t,e){var i=W(t),n=ot(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Z();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Ct(t),y:l}}(t,i)):B(e)?function(t,e){var i=tt(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):St(function(t){var e,i=ot(t),n=Tt(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=U(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=U(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Ct(t),l=-n.scrollTop;return"rtl"===nt(s||i).direction&&(a+=U(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(ot(t)))}function $t(t,e,i,n){var s="clippingParents"===e?function(t){var e=kt(rt(t)),i=["absolute","fixed"].indexOf(nt(t).position)>=0&&V(t)?lt(t):t;return B(i)?e.filter((function(t){return B(t)&&it(t,i)&&"body"!==q(t)})):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(e,i){var s=Lt(t,i,n);return e.top=U(s.top,e.top),e.right=X(s.right,e.right),e.bottom=X(s.bottom,e.bottom),e.left=U(s.left,e.left),e}),Lt(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Dt(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?Y(s):null,r=s?pt(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case b:e={x:a,y:i.y-n.height};break;case v:e={x:a,y:i.y+i.height};break;case y:e={x:i.x+i.width,y:l};break;case w:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?ct(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case T:e[c]=e[c]-(i[h]/2-n[h]/2);break;case C:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function It(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.strategy,r=void 0===o?t.strategy:o,a=i.boundary,l=void 0===a?x:a,c=i.rootBoundary,h=void 0===c?O:c,u=i.elementContext,d=void 0===u?k:u,f=i.altBoundary,p=void 0!==f&&f,g=i.padding,m=void 0===g?0:g,_=ut("number"!=typeof m?m:dt(m,A)),w=d===k?S:k,E=t.rects.popper,T=t.elements[p?w:d],C=$t(B(T)?T:T.contextElement||ot(t.elements.popper),l,h,r),L=tt(t.elements.reference),$=Dt({reference:L,element:E,strategy:"absolute",placement:s}),D=St(Object.assign({},E,$)),I=d===k?D:L,N={top:C.top-I.top+_.top,bottom:I.bottom-C.bottom+_.bottom,left:C.left-I.left+_.left,right:I.right-C.right+_.right},P=t.modifiersData.offset;if(d===k&&P){var j=P[s];Object.keys(N).forEach((function(t){var e=[y,v].indexOf(t)>=0?1:-1,i=[b,v].indexOf(t)>=0?"y":"x";N[t]+=j[i]*e}))}return N}function Nt(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?$:l,h=pt(n),u=h?a?L:L.filter((function(t){return pt(t)===h})):A,d=u.filter((function(t){return c.indexOf(t)>=0}));0===d.length&&(d=u);var f=d.reduce((function(e,i){return e[i]=It(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[Y(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}var Pt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,u=i.rootBoundary,d=i.altBoundary,f=i.flipVariations,p=void 0===f||f,g=i.allowedAutoPlacements,m=e.options.placement,_=Y(m),A=l||(_===m||!p?[wt(m)]:function(t){if(Y(t)===E)return[];var e=wt(t);return[At(t),e,At(e)]}(m)),C=[m].concat(A).reduce((function(t,i){return t.concat(Y(i)===E?Nt(e,{placement:i,boundary:h,rootBoundary:u,padding:c,flipVariations:p,allowedAutoPlacements:g}):i)}),[]),x=e.rects.reference,O=e.rects.popper,k=new Map,S=!0,L=C[0],$=0;$<C.length;$++){var D=C[$],I=Y(D),N=pt(D)===T,P=[b,v].indexOf(I)>=0,j=P?"width":"height",M=It(e,{placement:D,boundary:h,rootBoundary:u,altBoundary:d,padding:c}),F=P?N?y:w:N?v:b;x[j]>O[j]&&(F=wt(F));var H=wt(F),z=[];if(o&&z.push(M[I]<=0),a&&z.push(M[F]<=0,M[H]<=0),z.every((function(t){return t}))){L=D,S=!1;break}k.set(D,z)}if(S)for(var R=function(t){var e=C.find((function(e){var i=k.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return L=e,"break"},q=p?3:1;q>0;q--){if("break"===R(q))break}e.placement!==L&&(e.modifiersData[n]._skip=!0,e.placement=L,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function jt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Mt(t){return[b,y,v,w].some((function(e){return t[e]>=0}))}var Ft={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=It(e,{elementContext:"reference"}),a=It(e,{altBoundary:!0}),l=jt(r,n),c=jt(a,s,o),h=Mt(l),u=Mt(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":u})}};var Ht={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=$.reduce((function(t,i){return t[i]=function(t,e,i){var n=Y(t),s=[w,b].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[w,y].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}};var zt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Dt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Rt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,u=i.padding,d=i.tether,f=void 0===d||d,p=i.tetherOffset,g=void 0===p?0:p,m=It(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:h}),_=Y(e.placement),E=pt(e.placement),A=!E,C=ct(_),x="x"===C?"y":"x",O=e.modifiersData.popperOffsets,k=e.rects.reference,S=e.rects.popper,L="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,$="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,I={x:0,y:0};if(O){if(o){var N,P="y"===C?b:w,j="y"===C?v:y,M="y"===C?"height":"width",F=O[C],H=F+m[P],z=F-m[j],R=f?-S[M]/2:0,q=E===T?k[M]:S[M],W=E===T?-S[M]:-k[M],B=e.elements.arrow,V=f&&B?et(B):{width:0,height:0},Q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=Q[P],J=Q[j],G=ht(0,k[M],V[M]),Z=A?k[M]/2-R-G-K-$.mainAxis:q-G-K-$.mainAxis,tt=A?-k[M]/2+R+G+J+$.mainAxis:W+G+J+$.mainAxis,it=e.elements.arrow&<(e.elements.arrow),nt=it?"y"===C?it.clientTop||0:it.clientLeft||0:0,st=null!=(N=null==D?void 0:D[C])?N:0,ot=F+tt-st,rt=ht(f?X(H,F+Z-st-nt):H,F,f?U(z,ot):z);O[C]=rt,I[C]=rt-F}if(a){var at,ut="x"===C?b:w,dt="x"===C?v:y,ft=O[x],gt="y"===x?"height":"width",mt=ft+m[ut],_t=ft-m[dt],bt=-1!==[b,w].indexOf(_),vt=null!=(at=null==D?void 0:D[x])?at:0,yt=bt?mt:ft-k[gt]-S[gt]-vt+$.altAxis,wt=bt?ft+k[gt]+S[gt]-vt-$.altAxis:_t,Et=f&&bt?function(t,e,i){var n=ht(t,e,i);return n>i?i:n}(yt,ft,wt):ht(f?yt:mt,ft,f?wt:_t);O[x]=Et,I[x]=Et-ft}e.modifiersData[n]=I}},requiresIfExists:["offset"]};function qt(t,e,i){void 0===i&&(i=!1);var n,s,o=V(e),r=V(e)&&function(t){var e=t.getBoundingClientRect(),i=J(e.width)/t.offsetWidth||1,n=J(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=ot(e),l=tt(t,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==q(e)||xt(a))&&(c=(n=e)!==W(n)&&V(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Tt(n)),V(e)?((h=tt(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=Ct(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Wt(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var Bt={placement:"bottom",modifiers:[],strategy:"absolute"};function Vt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Qt(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?Bt:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Bt,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;u(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:B(t)?kt(t):t.contextElement?kt(t.contextElement):[],popper:kt(e)};var r,c,d=function(t){var e=Wt(t);return R.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((r=[].concat(n,a.options.modifiers),c=r.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=d.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:h,options:n}),r=function(){};l.push(o||r)}})),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(Vt(e,i)){a.rects={reference:qt(e,lt(i),"fixed"===a.options.strategy),popper:et(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var s=a.orderedModifiers[n],o=s.fn,r=s.options,l=void 0===r?{}:r,u=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:u,instance:h})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise((function(t){h.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(s())}))}))),r}),destroy:function(){u(),c=!0}};if(!Vt(t,e))return h;function u(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),h}}var Kt=Qt(),Yt=Qt({defaultModifiers:[vt,zt,_t,K]}),Ut=Qt({defaultModifiers:[vt,zt,_t,K,Ht,Pt,Rt,ft,Ft]}),Xt=Object.freeze({__proto__:null,popperGenerator:Qt,detectOverflow:It,createPopperBase:Kt,createPopper:Ut,createPopperLite:Yt,top:b,bottom:v,right:y,left:w,auto:E,basePlacements:A,start:T,end:C,clippingParents:x,viewport:O,popper:k,reference:S,variationPlacements:L,placements:$,beforeRead:D,read:I,afterRead:N,beforeMain:P,main:j,afterMain:M,beforeWrite:F,write:H,afterWrite:z,modifierPhases:R,applyStyles:K,arrow:ft,computeStyles:_t,eventListeners:vt,flip:Pt,hide:Ft,offset:Ht,popperOffsets:zt,preventOverflow:Rt}),Jt=e(Xt);
|
77
|
+
!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}(i.exports,o.exports,r.exports)}(g);var m=g.exports,_={exports:{}},b="top",v="bottom",y="right",w="left",x="auto",E=[b,v,y,w],A="start",T="end",C="clippingParents",O="viewport",S="popper",k="reference",D=E.reduce((function(e,t){return e.concat([t+"-"+A,t+"-"+T])}),[]),L=[].concat(E,[x]).reduce((function(e,t){return e.concat([t,t+"-"+A,t+"-"+T])}),[]),$="beforeRead",P="read",N="afterRead",j="beforeMain",I="main",M="afterMain",F="beforeWrite",H="write",R="afterWrite",W=[$,P,N,j,I,M,F,H,R];function z(e){return e?(e.nodeName||"").toLowerCase():null}function q(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function B(e){return e instanceof q(e).Element||e instanceof Element}function V(e){return e instanceof q(e).HTMLElement||e instanceof HTMLElement}function Q(e){return"undefined"!=typeof ShadowRoot&&(e instanceof q(e).ShadowRoot||e instanceof ShadowRoot)}var Y={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];V(s)&&z(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}),{});V(i)&&z(i)&&(Object.assign(i.style,o),Object.keys(s).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function K(e){return e.split("-")[0]}var U=Math.max,X=Math.min,J=Math.round;function G(){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 Z(){return!/^((?!chrome|android).)*safari/i.test(G())}function ee(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&V(e)&&(s=e.offsetWidth>0&&J(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&J(i.height)/e.offsetHeight||1);var r=(B(e)?q(e):window).visualViewport,a=!Z()&&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 te(e){var t=ee(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 ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Q(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ie(e){return q(e).getComputedStyle(e)}function se(e){return["table","td","th"].indexOf(z(e))>=0}function oe(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function re(e){return"html"===z(e)?e:e.assignedSlot||e.parentNode||(Q(e)?e.host:null)||oe(e)}function ae(e){return V(e)&&"fixed"!==ie(e).position?e.offsetParent:null}function le(e){for(var t=q(e),n=ae(e);n&&se(n)&&"static"===ie(n).position;)n=ae(n);return n&&("html"===z(n)||"body"===z(n)&&"static"===ie(n).position)?t:n||function(e){var t=/firefox/i.test(G());if(/Trident/i.test(G())&&V(e)&&"fixed"===ie(e).position)return null;var n=re(e);for(Q(n)&&(n=n.host);V(n)&&["html","body"].indexOf(z(n))<0;){var i=ie(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 ce(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ue(e,t,n){return U(e,X(t,n))}function de(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function he(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=K(n.placement),l=ce(a),c=[w,y].indexOf(a)>=0?"height":"width";if(o&&r){var u=function(e,t){return de("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:he(e,E))}(s.padding,n),d=te(o),h="y"===l?b:w,f="y"===l?v:y,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],g=r[l]-n.rects.reference[l],m=le(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,x=p/2-g/2,A=u[h],T=_-d[c]-u[f],C=_/2-d[c]/2+x,O=ue(A,C,T),S=l;n.modifiersData[i]=((t={})[S]=O,t.centerOffset=O-C,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)))&&ne(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pe(e){return e.split("-")[1]}var ge={top:"auto",right:"auto",bottom:"auto",left:"auto"};function me(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"),x=r.hasOwnProperty("y"),E=w,A=b,C=window;if(c){var O=le(n),S="clientHeight",k="clientWidth";if(O===q(n)&&"static"!==ie(O=oe(n)).position&&"absolute"===a&&(S="scrollHeight",k="scrollWidth"),s===b||(s===w||s===y)&&o===T)A=v,g-=(d&&O===C&&C.visualViewport?C.visualViewport.height:O[S])-i.height,g*=l?1:-1;if(s===w||(s===b||s===v)&&o===T)E=y,f-=(d&&O===C&&C.visualViewport?C.visualViewport.width:O[k])-i.width,f*=l?1:-1}var D,L=Object.assign({position:a},c&&ge),$=!0===u?function(e,t){var n=e.x,i=e.y,s=t.devicePixelRatio||1;return{x:J(n*s)/s||0,y:J(i*s)/s||0}}({x:f,y:g},q(n)):{x:f,y:g};return f=$.x,g=$.y,l?Object.assign({},L,((D={})[A]=x?"0":"",D[E]=_?"0":"",D.transform=(C.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",D)):Object.assign({},L,((t={})[A]=x?g+"px":"",t[E]=_?f+"px":"",t.transform="",t))}var _e={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:K(t.placement),variation:pe(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,me(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,me(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:{}},be={passive:!0};var ve={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=q(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,be)})),a&&l.addEventListener("resize",n.update,be),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,be)})),a&&l.removeEventListener("resize",n.update,be)}},data:{}},ye={left:"right",right:"left",bottom:"top",top:"bottom"};function we(e){return e.replace(/left|right|bottom|top/g,(function(e){return ye[e]}))}var xe={start:"end",end:"start"};function Ee(e){return e.replace(/start|end/g,(function(e){return xe[e]}))}function Ae(e){var t=q(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Te(e){return ee(oe(e)).left+Ae(e).scrollLeft}function Ce(e){var t=ie(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function Oe(e){return["html","body","#document"].indexOf(z(e))>=0?e.ownerDocument.body:V(e)&&Ce(e)?e:Oe(re(e))}function Se(e,t){var n;void 0===t&&(t=[]);var i=Oe(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=q(i),r=s?[o].concat(o.visualViewport||[],Ce(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(Se(re(r)))}function ke(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function De(e,t,n){return t===O?ke(function(e,t){var n=q(e),i=oe(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Z();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Te(e),y:l}}(e,n)):B(t)?function(e,t){var n=ee(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):ke(function(e){var t,n=oe(e),i=Ae(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=U(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=U(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+Te(e),l=-i.scrollTop;return"rtl"===ie(s||n).direction&&(a+=U(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(oe(e)))}function Le(e,t,n,i){var s="clippingParents"===t?function(e){var t=Se(re(e)),n=["absolute","fixed"].indexOf(ie(e).position)>=0&&V(e)?le(e):e;return B(n)?t.filter((function(e){return B(e)&&ne(e,n)&&"body"!==z(e)})):[]}(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce((function(t,n){var s=De(e,n,i);return t.top=U(s.top,t.top),t.right=X(s.right,t.right),t.bottom=X(s.bottom,t.bottom),t.left=U(s.left,t.left),t}),De(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 $e(e){var t,n=e.reference,i=e.element,s=e.placement,o=s?K(s):null,r=s?pe(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case b:t={x:a,y:n.y-i.height};break;case v:t={x:a,y:n.y+n.height};break;case y:t={x:n.x+n.width,y:l};break;case w:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?ce(o):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case A:t[c]=t[c]-(n[u]/2-i[u]/2);break;case T:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function Pe(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?C:a,c=n.rootBoundary,u=void 0===c?O:c,d=n.elementContext,h=void 0===d?S:d,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,m=void 0===g?0:g,_=de("number"!=typeof m?m:he(m,E)),w=h===S?k:S,x=e.rects.popper,A=e.elements[p?w:h],T=Le(B(A)?A:A.contextElement||oe(e.elements.popper),l,u,r),D=ee(e.elements.reference),L=$e({reference:D,element:x,strategy:"absolute",placement:s}),$=ke(Object.assign({},x,L)),P=h===S?$:D,N={top:T.top-P.top+_.top,bottom:P.bottom-T.bottom+_.bottom,left:T.left-P.left+_.left,right:P.right-T.right+_.right},j=e.modifiersData.offset;if(h===S&&j){var I=j[s];Object.keys(N).forEach((function(e){var t=[y,v].indexOf(e)>=0?1:-1,n=[b,v].indexOf(e)>=0?"y":"x";N[e]+=I[n]*t}))}return N}function Ne(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?L:l,u=pe(i),d=u?a?D:D.filter((function(e){return pe(e)===u})):E,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]=Pe(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[K(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var je={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,_=K(m),E=l||(_===m||!p?[we(m)]:function(e){if(K(e)===x)return[];var t=we(e);return[Ee(e),t,Ee(t)]}(m)),T=[m].concat(E).reduce((function(e,n){return e.concat(K(n)===x?Ne(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),C=t.rects.reference,O=t.rects.popper,S=new Map,k=!0,D=T[0],L=0;L<T.length;L++){var $=T[L],P=K($),N=pe($)===A,j=[b,v].indexOf(P)>=0,I=j?"width":"height",M=Pe(t,{placement:$,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),F=j?N?y:w:N?v:b;C[I]>O[I]&&(F=we(F));var H=we(F),R=[];if(o&&R.push(M[P]<=0),a&&R.push(M[F]<=0,M[H]<=0),R.every((function(e){return e}))){D=$,k=!1;break}S.set($,R)}if(k)for(var W=function(e){var t=T.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},z=p?3:1;z>0;z--){if("break"===W(z))break}t.placement!==D&&(t.modifiersData[i]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ie(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 Me(e){return[b,y,v,w].some((function(t){return e[t]>=0}))}var Fe={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=Pe(t,{elementContext:"reference"}),a=Pe(t,{altBoundary:!0}),l=Ie(r,i),c=Ie(a,s,o),u=Me(l),d=Me(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 He={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=L.reduce((function(e,n){return e[n]=function(e,t,n){var i=K(e),s=[w,b].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,[w,y].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}(n,t.rects,o),e}),{}),a=r[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=r}};var Re={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$e({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var We={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=Pe(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),_=K(t.placement),x=pe(t.placement),E=!x,T=ce(_),C="x"===T?"y":"x",O=t.modifiersData.popperOffsets,S=t.rects.reference,k=t.rects.popper,D="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,L="number"==typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(O){if(o){var N,j="y"===T?b:w,I="y"===T?v:y,M="y"===T?"height":"width",F=O[T],H=F+m[j],R=F-m[I],W=f?-k[M]/2:0,z=x===A?S[M]:k[M],q=x===A?-k[M]:-S[M],B=t.elements.arrow,V=f&&B?te(B):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=Q[j],J=Q[I],G=ue(0,S[M],V[M]),Z=E?S[M]/2-W-G-Y-L.mainAxis:z-G-Y-L.mainAxis,ee=E?-S[M]/2+W+G+J+L.mainAxis:q+G+J+L.mainAxis,ne=t.elements.arrow&&le(t.elements.arrow),ie=ne?"y"===T?ne.clientTop||0:ne.clientLeft||0:0,se=null!=(N=null==$?void 0:$[T])?N:0,oe=F+ee-se,re=ue(f?X(H,F+Z-se-ie):H,F,f?U(R,oe):R);O[T]=re,P[T]=re-F}if(a){var ae,de="x"===T?b:w,he="x"===T?v:y,fe=O[C],ge="y"===C?"height":"width",me=fe+m[de],_e=fe-m[he],be=-1!==[b,w].indexOf(_),ve=null!=(ae=null==$?void 0:$[C])?ae:0,ye=be?me:fe-S[ge]-k[ge]-ve+L.altAxis,we=be?fe+S[ge]+k[ge]-ve-L.altAxis:_e,xe=f&&be?function(e,t,n){var i=ue(e,t,n);return i>n?n:i}(ye,fe,we):ue(f?ye:me,fe,f?we:_e);O[C]=xe,P[C]=xe-fe}t.modifiersData[i]=P}},requiresIfExists:["offset"]};function ze(e,t,n){void 0===n&&(n=!1);var i,s,o=V(t),r=V(t)&&function(e){var t=e.getBoundingClientRect(),n=J(t.width)/e.offsetWidth||1,i=J(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=oe(t),l=ee(e,r,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==z(t)||Ce(a))&&(c=(i=t)!==q(i)&&V(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:Ae(i)),V(t)?((u=ee(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Te(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function qe(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 Be={placement:"bottom",modifiers:[],strategy:"absolute"};function Ve(){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 Qe(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,s=t.defaultOptions,o=void 0===s?Be:s;return function(e,t,n){void 0===n&&(n=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Be,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:B(e)?Se(e):e.contextElement?Se(e.contextElement):[],popper:Se(t)};var r,c,h=function(e){var t=qe(e);return W.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(Ve(t,n)){a.rects={reference:ze(t,le(n),"fixed"===a.options.strategy),popper:te(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(!Ve(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 Ye=Qe(),Ke=Qe({defaultModifiers:[ve,Re,_e,Y]}),Ue=Qe({defaultModifiers:[ve,Re,_e,Y,He,je,We,fe,Fe]}),Xe=t(Object.freeze({__proto__:null,popperGenerator:Qe,detectOverflow:Pe,createPopperBase:Ye,createPopper:Ue,createPopperLite:Ke,top:b,bottom:v,right:y,left:w,auto:x,basePlacements:E,start:A,end:T,clippingParents:C,viewport:O,popper:S,reference:k,variationPlacements:D,placements:L,beforeRead:$,read:P,afterRead:N,beforeMain:j,main:I,afterMain:M,beforeWrite:F,write:H,afterWrite:R,modifierPhases:W,applyStyles:Y,arrow:fe,computeStyles:_e,eventListeners:ve,flip:je,hide:Fe,offset:He,popperOffsets:Re,preventOverflow:We}));
|
78
78
|
/*!
|
79
79
|
* Bootstrap dropdown.js v5.3.5 (https://getbootstrap.com/)
|
80
80
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
81
81
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
82
82
|
*/
|
83
|
-
!function(
|
83
|
+
!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}`,x=`keydown${u}${d}`,E=`keyup${u}${d}`,A="show",T="dropup",C="dropend",O="dropstart",S="dropup-center",k="dropdown-center",D='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',L=`${D}.${A}`,$=".dropdown-menu",P=".navbar",N=".navbar-nav",j=".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(N))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(A),this._element.classList.add(A),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(A),this._element.classList.remove(A),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(A)}_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(j,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,x,D,Q.dataApiKeydownHandler),n.on(document,x,$,Q.dataApiKeydownHandler),n.on(document,w,Q.clearMenus),n.on(document,E,Q.clearMenus),n.on(document,w,D,(function(e){e.preventDefault(),Q.getOrCreateInstance(this).toggle()})),o.defineJQueryPlugin(Q),Q}(Xe,i.exports,o.exports,l.exports,u.exports,r.exports)}(_);var Je=_.exports,Ge={exports:{}};
|
84
84
|
/*!
|
85
85
|
* Bootstrap collapse.js v5.3.5 (https://getbootstrap.com/)
|
86
86
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
87
87
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
88
88
|
*/
|
89
|
-
!function(
|
89
|
+
!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",x='[data-bs-toggle="collapse"]',E={parent:null,toggle:!0},A={parent:"(null|element)",toggle:"boolean"};class T extends e{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=n.find(x);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 E}static get DefaultType(){return A}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(x);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,x,(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}(i.exports,o.exports,u.exports,r.exports)}(Ge);var Ze=Ge.exports,et={exports:{}},tt={exports:{}};
|
90
90
|
/*!
|
91
91
|
* Bootstrap backdrop.js v5.3.5 (https://getbootstrap.com/)
|
92
92
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
93
93
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
94
94
|
*/
|
95
|
-
!function(
|
95
|
+
!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}(o.exports,a.exports,r.exports)}(tt);var nt={exports:{}};
|
96
96
|
/*!
|
97
97
|
* Bootstrap focustrap.js v5.3.5 (https://getbootstrap.com/)
|
98
98
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
99
99
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
100
|
-
*/!function(
|
100
|
+
*/!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}(o.exports,u.exports,a.exports)}(nt);var it={exports:{}};
|
101
101
|
/*!
|
102
102
|
* Bootstrap scrollbar.js v5.3.5 (https://getbootstrap.com/)
|
103
103
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
104
104
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
105
|
-
*/!function(
|
105
|
+
*/!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}(l.exports,u.exports,r.exports)}(it),
|
106
106
|
/*!
|
107
107
|
* Bootstrap offcanvas.js v5.3.5 (https://getbootstrap.com/)
|
108
108
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
109
109
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
110
110
|
*/
|
111
|
-
function(
|
111
|
+
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}`,x=`hidePrevented${u}`,E=`hidden${u}`,A=`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,E)};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,x)},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,x))}))}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,E,(()=>{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,A,(()=>{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}(i.exports,o.exports,u.exports,tt.exports,c.exports,nt.exports,r.exports,it.exports)}(et);var st=et.exports,ot={exports:{}};
|
112
112
|
/*!
|
113
113
|
* Bootstrap modal.js v5.3.5 (https://getbootstrap.com/)
|
114
114
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
115
115
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
116
116
|
*/
|
117
|
-
!function(
|
117
|
+
!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}`,x=`click${u}${d}`,E="modal-open",A="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(E),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(E),this._resetAdjustments(),this._scrollBar.reset(),t.trigger(this._element,g)}))}_isAnimated(){return this._element.classList.contains(A)}_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,x,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}(i.exports,o.exports,u.exports,tt.exports,c.exports,nt.exports,r.exports,it.exports)}(ot);var rt=ot.exports,at={exports:{}};
|
118
118
|
/*!
|
119
119
|
* Bootstrap scrollspy.js v5.3.5 (https://getbootstrap.com/)
|
120
120
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
121
121
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
122
122
|
*/
|
123
|
-
!function(
|
123
|
+
!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 x 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=x.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))x.getOrCreateInstance(e)})),i.defineJQueryPlugin(x),x}(i.exports,o.exports,u.exports,r.exports)}(at);var lt=at.exports,ct={exports:{}},ut={exports:{}},dt={exports:{}};
|
124
124
|
/*!
|
125
125
|
* Bootstrap sanitizer.js v5.3.5 (https://getbootstrap.com/)
|
126
126
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
127
127
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
128
128
|
*/
|
129
|
-
!function(t
|
129
|
+
!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,dt.exports);var ht={exports:{}};
|
130
130
|
/*!
|
131
131
|
* Bootstrap template-factory.js v5.3.5 (https://getbootstrap.com/)
|
132
132
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
133
133
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
134
|
-
*/!function(
|
134
|
+
*/!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}(u.exports,a.exports,dt.exports,r.exports)}(ht),
|
135
135
|
/*!
|
136
136
|
* Bootstrap tooltip.js v5.3.5 (https://getbootstrap.com/)
|
137
137
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
138
138
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
139
139
|
*/
|
140
|
-
function(
|
140
|
+
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",x="show",E="shown",A="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(x)),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(A))),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(E)),!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=>{this._initializeOnDelegatedTarget(e).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}(Xe,i.exports,o.exports,l.exports,r.exports,dt.exports,ht.exports)}(ut);var ft=ut.exports;
|
141
141
|
/*!
|
142
142
|
* Bootstrap popover.js v5.3.5 (https://getbootstrap.com/)
|
143
143
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
144
144
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
145
|
-
*/!function(
|
145
|
+
*/!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}(ut.exports,r.exports)}(ct);var pt=ct.exports,gt={exports:{}};
|
146
146
|
/*!
|
147
147
|
* Bootstrap toast.js v5.3.5 (https://getbootstrap.com/)
|
148
148
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
149
149
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
150
150
|
*/
|
151
|
-
!function(
|
151
|
+
!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}(i.exports,o.exports,c.exports,r.exports)}(gt);var mt=gt.exports,_t={exports:{}};
|
152
152
|
/*!
|
153
153
|
* Bootstrap tab.js v5.3.5 (https://getbootstrap.com/)
|
154
154
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
155
155
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
156
156
|
*/
|
157
|
-
!function(t){t.exports=function(t,e,i,n){const s="tab",o="bs.tab",r=`.${o}`,a=`hide${r}`,l=`hidden${r}`,c=`show${r}`,h=`shown${r}`,u=`click${r}`,d=`keydown${r}`,f=`load${r}`,p="ArrowLeft",g="ArrowRight",m="ArrowUp",_="ArrowDown",b="Home",v="End",y="active",w="fade",E="show",A="dropdown",T=".dropdown-toggle",C=".dropdown-menu",x=`:not(${T})`,O='.list-group, .nav, [role="tablist"]',k=".nav-item, .list-group-item",S=`.nav-link${x}, .list-group-item${x}, [role="tab"]${x}`,L='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',$=`${S}, ${L}`,D=`.${y}[data-bs-toggle="tab"], .${y}[data-bs-toggle="pill"], .${y}[data-bs-toggle="list"]`;class I extends t{constructor(t){super(t),this._parent=this._element.closest(O),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),e.on(this._element,d,(t=>this._keydown(t))))}static get NAME(){return s}show(){const t=this._element;if(this._elemIsActive(t))return;const i=this._getActiveElem(),n=i?e.trigger(i,a,{relatedTarget:t}):null;e.trigger(t,c,{relatedTarget:i}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(i,t),this._activate(t,i))}_activate(t,n){if(!t)return;t.classList.add(y),this._activate(i.getElementFromSelector(t));const s=()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),e.trigger(t,h,{relatedTarget:n})):t.classList.add(E)};this._queueCallback(s,t,t.classList.contains(w))}_deactivate(t,n){if(!t)return;t.classList.remove(y),t.blur(),this._deactivate(i.getElementFromSelector(t));const s=()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),e.trigger(t,l,{relatedTarget:n})):t.classList.remove(E)};this._queueCallback(s,t,t.classList.contains(w))}_keydown(t){if(![p,g,m,_,b,v].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!n.isDisabled(t)));let i;if([b,v].includes(t.key))i=e[t.key===b?0:e.length-1];else{const s=[g,_].includes(t.key);i=n.getNextActiveElement(e,t.target,s,!0)}i&&(i.focus({preventScroll:!0}),I.getOrCreateInstance(i).show())}_getChildren(){return i.find($,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=i.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains(A))return;const s=(t,s)=>{const o=i.findOne(t,n);o&&o.classList.toggle(s,e)};s(T,y),s(C,E),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(y)}_getInnerElement(t){return t.matches($)?t:i.findOne($,t)}_getOuterElement(t){return t.closest(k)||t}static jQueryInterface(t){return this.each((function(){const e=I.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}return e.on(document,u,L,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),n.isDisabled(this)||I.getOrCreateInstance(this).show()})),e.on(window,f,(()=>{for(const t of i.find(D))I.getOrCreateInstance(t)})),n.defineJQueryPlugin(I),I}(n.exports,o.exports,h.exports,r.exports)}(be);var ve=be.exports;const ye=new Map;var we={set(t,e,i){ye.has(t)||ye.set(t,new Map);const n=ye.get(t);(n.has(e)||0===n.size)&&n.set(e,i)},get:(t,e)=>ye.has(t)&&ye.get(t).get(e)||null,remove(t,e){if(!ye.has(t))return;const i=ye.get(t);i.delete(e),0===i.size&&ye.delete(t)}};const Ee="transitionend",Ae=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),Te=t=>{return Ae(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(((e=t)&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),e)):null;var e},Ce=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,xe=[],Oe=(t,e=[],i=t)=>"function"==typeof t?t.call(...e):i,ke=(t,e,i=!0)=>{if(!i)return void Oe(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const o=({target:i})=>{i===e&&(s=!0,e.removeEventListener(Ee,o),Oe(t))};e.addEventListener(Ee,o),setTimeout((()=>{s||e.dispatchEvent(new Event(Ee))}),n)},Se=/[^.]*(?=\..*)\.|.*/,Le=/\..*/,$e=/::\d+$/,De={};let Ie=1;const Ne={mouseenter:"mouseover",mouseleave:"mouseout"},Pe=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 je(t,e){return e&&`${e}::${Ie++}`||t.uidEvent||Ie++}function Me(t){const e=je(t);return t.uidEvent=e,De[e]=De[e]||{},De[e]}function Fe(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function He(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=We(t);return Pe.has(o)||(o=t),[n,s,o]}function ze(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=He(e,i,n);if(e in Ne){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=Me(t),c=l[a]||(l[a]={}),h=Fe(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const u=je(r,e.replace(Se,"")),d=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return Ve(s,{delegateTarget:r}),n.oneOff&&Be.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return Ve(n,{delegateTarget:t}),i.oneOff&&Be.off(t,n.type,e),e.apply(t,[n])}}(t,r);d.delegationSelector=o?i:null,d.callable=r,d.oneOff=s,d.uidEvent=u,c[u]=d,t.addEventListener(a,d,o)}function Re(t,e,i,n,s){const o=Fe(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function qe(t,e,i,n){const s=e[i]||{};for(const[o,r]of Object.entries(s))o.includes(n)&&Re(t,e,i,r.callable,r.delegationSelector)}function We(t){return t=t.replace(Le,""),Ne[t]||t}const Be={on(t,e,i,n){ze(t,e,i,n,!1)},one(t,e,i,n){ze(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=He(e,i,n),a=r!==e,l=Me(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))qe(t,l,i,e.slice(1));for(const[i,n]of Object.entries(c)){const s=i.replace($e,"");a&&!e.includes(s)||Re(t,l,r,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;Re(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=Ce();let s=null,o=!0,r=!0,a=!1;e!==We(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=Ve(new Event(e,{bubbles:o,cancelable:!0}),i);return a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function Ve(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch{Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}function Qe(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Ke(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const Ye={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Ke(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Ke(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),e[i]=Qe(t.dataset[n])}return e},getDataAttribute:(t,e)=>Qe(t.getAttribute(`data-bs-${Ke(e)}`))};class Ue{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=Ae(e)?Ye.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...Ae(e)?Ye.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[n,s]of Object.entries(e)){const e=t[n],o=Ae(e)?"element":null==(i=e)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${s}".`)}var i}}class Xe extends Ue{constructor(t,e){super(),(t=Te(t))&&(this._element=t,this._config=this._getConfig(e),we.set(this._element,this.constructor.DATA_KEY,this))}dispose(){we.remove(this._element,this.constructor.DATA_KEY),Be.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){ke(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return we.get(Te(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.5"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Je='[data-bs-toggle="datepicker"]';class Ge extends Xe{static get NAME(){return"datepicker"}static jQueryInterface(t){return this.each((function(){const e=Ge.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}var Ze,ti;Be.on(document,"focus.bs.datepicker.data-api",Je,(t=>{const e=t.target.closest(Je);if("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0){const t=e.cloneNode(!0);t.type="date",t.removeAttribute("data-bs-toggle"),e.parentNode.prepend(t),t.focus(),t.showPicker(),e.remove(),t.addEventListener("blur",(function i(){t.value||(t.parentNode.prepend(e),t.remove(),t.removeEventListener("blur",i))}))}else e.type="date",e.addEventListener("blur",(function t(){e.value||(e.type="text"),e.removeEventListener("blur",t)}))})),Ze=Ge,ti=()=>{const t=Ce();if(t){const e=Ze.NAME,i=t.fn[e];t.fn[e]=Ze.jQueryInterface,t.fn[e].Constructor=Ze,t.fn[e].noConflict=()=>(t.fn[e]=i,Ze.jQueryInterface)}},"loading"===document.readyState?(xe.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of xe)t()})),xe.push(ti)):ti();
|
158
|
-
/*!
|
159
|
-
* Bootstrap v5.3.5 (https://getbootstrap.com/)
|
160
|
-
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
161
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
162
|
-
*/
|
163
|
-
const ei=new Map,ii={set(t,e,i){ei.has(t)||ei.set(t,new Map);const n=ei.get(t);(n.has(e)||0===n.size)&&n.set(e,i)},get:(t,e)=>ei.has(t)&&ei.get(t).get(e)||null,remove(t,e){if(!ei.has(t))return;const i=ei.get(t);i.delete(e),0===i.size&&ei.delete(t)}},ni="transitionend",si=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),oi=t=>{t.dispatchEvent(new Event(ni))},ri=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),ai=t=>ri(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(si(t)):null,li=t=>{if(!ri(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},ci=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),hi=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?hi(t.parentNode):null},ui=()=>{},di=t=>{t.offsetHeight},fi=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,pi=[],gi=()=>"rtl"===document.documentElement.dir,mi=t=>{(t=>{"loading"===document.readyState?(pi.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of pi)t()})),pi.push(t)):t()})((()=>{const e=fi();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}}))},_i=(t,e=[],i=t)=>"function"==typeof t?t.call(...e):i,bi=(t,e,i=!0)=>{if(!i)return void _i(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const o=({target:i})=>{i===e&&(s=!0,e.removeEventListener(ni,o),_i(t))};e.addEventListener(ni,o),setTimeout((()=>{s||oi(e)}),n)},vi=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])},yi=/[^.]*(?=\..*)\.|.*/,wi=/\..*/,Ei=/::\d+$/,Ai={};let Ti=1;const Ci={mouseenter:"mouseover",mouseleave:"mouseout"},xi=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 Oi(t,e){return e&&`${e}::${Ti++}`||t.uidEvent||Ti++}function ki(t){const e=Oi(t);return t.uidEvent=e,Ai[e]=Ai[e]||{},Ai[e]}function Si(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function Li(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=Ni(t);return xi.has(o)||(o=t),[n,s,o]}function $i(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=Li(e,i,n);if(e in Ci){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=ki(t),c=l[a]||(l[a]={}),h=Si(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const u=Oi(r,e.replace(yi,"")),d=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return ji(s,{delegateTarget:r}),n.oneOff&&Pi.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return ji(n,{delegateTarget:t}),i.oneOff&&Pi.off(t,n.type,e),e.apply(t,[n])}}(t,r);d.delegationSelector=o?i:null,d.callable=r,d.oneOff=s,d.uidEvent=u,c[u]=d,t.addEventListener(a,d,o)}function Di(t,e,i,n,s){const o=Si(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function Ii(t,e,i,n){const s=e[i]||{};for(const[o,r]of Object.entries(s))o.includes(n)&&Di(t,e,i,r.callable,r.delegationSelector)}function Ni(t){return t=t.replace(wi,""),Ci[t]||t}const Pi={on(t,e,i,n){$i(t,e,i,n,!1)},one(t,e,i,n){$i(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=Li(e,i,n),a=r!==e,l=ki(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))Ii(t,l,i,e.slice(1));for(const[i,n]of Object.entries(c)){const s=i.replace(Ei,"");a&&!e.includes(s)||Di(t,l,r,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;Di(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=fi();let s=null,o=!0,r=!0,a=!1;e!==Ni(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=ji(new Event(e,{bubbles:o,cancelable:!0}),i);return a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function ji(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}function Mi(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function Fi(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const Hi={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Fi(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Fi(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),e[i]=Mi(t.dataset[n])}return e},getDataAttribute:(t,e)=>Mi(t.getAttribute(`data-bs-${Fi(e)}`))};class zi{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=ri(e)?Hi.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...ri(e)?Hi.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[n,s]of Object.entries(e)){const e=t[n],o=ri(e)?"element":null==(i=e)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${s}".`)}var i}}class Ri extends zi{constructor(t,e){super(),(t=ai(t))&&(this._element=t,this._config=this._getConfig(e),ii.set(this._element,this.constructor.DATA_KEY,this))}dispose(){ii.remove(this._element,this.constructor.DATA_KEY),Pi.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){bi(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return ii.get(ai(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.5"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const qi=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e?e.split(",").map((t=>si(t))).join(","):null},Wi={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!ci(t)&&li(t)))},getSelectorFromElement(t){const e=qi(t);return e&&Wi.findOne(e)?e:null},getElementFromSelector(t){const e=qi(t);return e?Wi.findOne(e):null},getMultipleElementsFromSelector(t){const e=qi(t);return e?Wi.find(e):[]}},Bi=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;Pi.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),ci(this))return;const s=Wi.getElementFromSelector(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()}))},Vi=".bs.alert",Qi=`close${Vi}`,Ki=`closed${Vi}`;class Yi extends Ri{static get NAME(){return"alert"}close(){if(Pi.trigger(this._element,Qi).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),Pi.trigger(this._element,Ki),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=Yi.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}Bi(Yi,"close"),mi(Yi);const Ui='[data-bs-toggle="button"]';class Xi extends Ri{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=Xi.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}Pi.on(document,"click.bs.button.data-api",Ui,(t=>{t.preventDefault();const e=t.target.closest(Ui);Xi.getOrCreateInstance(e).toggle()})),mi(Xi);const Ji=".bs.swipe",Gi=`touchstart${Ji}`,Zi=`touchmove${Ji}`,tn=`touchend${Ji}`,en=`pointerdown${Ji}`,nn=`pointerup${Ji}`,sn={endCallback:null,leftCallback:null,rightCallback:null},on={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class rn extends zi{constructor(t,e){super(),this._element=t,t&&rn.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return sn}static get DefaultType(){return on}static get NAME(){return"swipe"}dispose(){Pi.off(this._element,Ji)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),_i(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&_i(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Pi.on(this._element,en,(t=>this._start(t))),Pi.on(this._element,nn,(t=>this._end(t))),this._element.classList.add("pointer-event")):(Pi.on(this._element,Gi,(t=>this._start(t))),Pi.on(this._element,Zi,(t=>this._move(t))),Pi.on(this._element,tn,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const an=".bs.carousel",ln=".data-api",cn="ArrowLeft",hn="ArrowRight",un="next",dn="prev",fn="left",pn="right",gn=`slide${an}`,mn=`slid${an}`,_n=`keydown${an}`,bn=`mouseenter${an}`,vn=`mouseleave${an}`,yn=`dragstart${an}`,wn=`load${an}${ln}`,En=`click${an}${ln}`,An="carousel",Tn="active",Cn=".active",xn=".carousel-item",On=Cn+xn,kn={[cn]:pn,[hn]:fn},Sn={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ln={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class $n extends Ri{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Wi.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===An&&this.cycle()}static get Default(){return Sn}static get DefaultType(){return Ln}static get NAME(){return"carousel"}next(){this._slide(un)}nextWhenVisible(){!document.hidden&&li(this._element)&&this.next()}prev(){this._slide(dn)}pause(){this._isSliding&&oi(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?Pi.one(this._element,mn,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void Pi.one(this._element,mn,(()=>this.to(t)));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?un:dn;this._slide(n,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Pi.on(this._element,_n,(t=>this._keydown(t))),"hover"===this._config.pause&&(Pi.on(this._element,bn,(()=>this.pause())),Pi.on(this._element,vn,(()=>this._maybeEnableCycle()))),this._config.touch&&rn.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of Wi.find(".carousel-item img",this._element))Pi.on(t,yn,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(fn)),rightCallback:()=>this._slide(this._directionToOrder(pn)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new rn(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=kn[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=Wi.findOne(Cn,this._indicatorsElement);e.classList.remove(Tn),e.removeAttribute("aria-current");const i=Wi.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(Tn),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),n=t===un,s=e||vi(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>Pi.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(gn).defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),di(s),i.classList.add(l),s.classList.add(l);this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(Tn),i.classList.remove(Tn,c,l),this._isSliding=!1,r(mn)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Wi.findOne(On,this._element)}_getItems(){return Wi.find(xn,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return gi()?t===fn?dn:un:t===fn?un:dn}_orderToDirection(t){return gi()?t===dn?fn:pn:t===dn?pn:fn}static jQueryInterface(t){return this.each((function(){const e=$n.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}Pi.on(document,En,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=Wi.getElementFromSelector(this);if(!e||!e.classList.contains(An))return;t.preventDefault();const i=$n.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(i.to(n),void i._maybeEnableCycle()):"next"===Hi.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),Pi.on(window,wn,(()=>{const t=Wi.find('[data-bs-ride="carousel"]');for(const e of t)$n.getOrCreateInstance(e)})),mi($n);const Dn=".bs.collapse",In=`show${Dn}`,Nn=`shown${Dn}`,Pn=`hide${Dn}`,jn=`hidden${Dn}`,Mn=`click${Dn}.data-api`,Fn="show",Hn="collapse",zn="collapsing",Rn=`:scope .${Hn} .${Hn}`,qn='[data-bs-toggle="collapse"]',Wn={parent:null,toggle:!0},Bn={parent:"(null|element)",toggle:"boolean"};class Vn extends Ri{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=Wi.find(qn);for(const t of i){const e=Wi.getSelectorFromElement(t),i=Wi.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Wn}static get DefaultType(){return Bn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>Vn.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(Pi.trigger(this._element,In).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(Hn),this._element.classList.add(zn),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(zn),this._element.classList.add(Hn,Fn),this._element.style[e]="",Pi.trigger(this._element,Nn)}),this._element,!0),this._element.style[e]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(Pi.trigger(this._element,Pn).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,di(this._element),this._element.classList.add(zn),this._element.classList.remove(Hn,Fn);for(const t of this._triggerArray){const e=Wi.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(zn),this._element.classList.add(Hn),Pi.trigger(this._element,jn)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Fn)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=ai(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(qn);for(const e of t){const t=Wi.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=Wi.find(Rn,this._config.parent);return Wi.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const i=Vn.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}Pi.on(document,Mn,qn,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of Wi.getMultipleElementsFromSelector(this))Vn.getOrCreateInstance(t,{toggle:!1}).toggle()})),mi(Vn);const Qn="dropdown",Kn=".bs.dropdown",Yn=".data-api",Un="ArrowUp",Xn="ArrowDown",Jn=`hide${Kn}`,Gn=`hidden${Kn}`,Zn=`show${Kn}`,ts=`shown${Kn}`,es=`click${Kn}${Yn}`,is=`keydown${Kn}${Yn}`,ns=`keyup${Kn}${Yn}`,ss="show",os='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',rs=`${os}.${ss}`,as=".dropdown-menu",ls=gi()?"top-end":"top-start",cs=gi()?"top-start":"top-end",hs=gi()?"bottom-end":"bottom-start",us=gi()?"bottom-start":"bottom-end",ds=gi()?"left-start":"right-start",fs=gi()?"right-start":"left-start",ps={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},gs={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ms extends Ri{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=Wi.next(this._element,as)[0]||Wi.prev(this._element,as)[0]||Wi.findOne(as,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ps}static get DefaultType(){return gs}static get NAME(){return Qn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ci(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Pi.trigger(this._element,Zn,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))Pi.on(t,"mouseover",ui);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ss),this._element.classList.add(ss),Pi.trigger(this._element,ts,t)}}hide(){if(ci(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Pi.trigger(this._element,Jn,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Pi.off(t,"mouseover",ui);this._popper&&this._popper.destroy(),this._menu.classList.remove(ss),this._element.classList.remove(ss),this._element.setAttribute("aria-expanded","false"),Hi.removeDataAttribute(this._menu,"popper"),Pi.trigger(this._element,Gn,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!ri(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Qn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===Xt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;"parent"===this._config.reference?t=this._parent:ri(this._config.reference)?t=ai(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=Ut(t,this._menu,e)}_isShown(){return this._menu.classList.contains(ss)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return ds;if(t.classList.contains("dropstart"))return fs;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?cs:ls:e?us:hs}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(Hi.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..._i(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:e}){const i=Wi.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>li(t)));i.length&&vi(i,e,t===Xn,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ms.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=Wi.find(rs);for(const i of e){const e=ms.getInstance(i);if(!e||!1===e._config.autoClose)continue;const n=t.composedPath(),s=n.includes(e._menu);if(n.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,n=[Un,Xn].includes(t.key);if(!n&&!i)return;if(e&&!i)return;t.preventDefault();const s=this.matches(os)?this:Wi.prev(this,os)[0]||Wi.next(this,os)[0]||Wi.findOne(os,t.delegateTarget.parentNode),o=ms.getOrCreateInstance(s);if(n)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}Pi.on(document,is,os,ms.dataApiKeydownHandler),Pi.on(document,is,as,ms.dataApiKeydownHandler),Pi.on(document,es,ms.clearMenus),Pi.on(document,ns,ms.clearMenus),Pi.on(document,es,os,(function(t){t.preventDefault(),ms.getOrCreateInstance(this).toggle()})),mi(ms);const _s="backdrop",bs="show",vs=`mousedown.bs.${_s}`,ys={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ws={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Es extends zi{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ys}static get DefaultType(){return ws}static get NAME(){return _s}show(t){if(!this._config.isVisible)return void _i(t);this._append();const e=this._getElement();this._config.isAnimated&&di(e),e.classList.add(bs),this._emulateAnimation((()=>{_i(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(bs),this._emulateAnimation((()=>{this.dispose(),_i(t)}))):_i(t)}dispose(){this._isAppended&&(Pi.off(this._element,vs),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=ai(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Pi.on(t,vs,(()=>{_i(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){bi(t,this._getElement(),this._config.isAnimated)}}const As=".bs.focustrap",Ts=`focusin${As}`,Cs=`keydown.tab${As}`,xs="backward",Os={autofocus:!0,trapElement:null},ks={autofocus:"boolean",trapElement:"element"};class Ss extends zi{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Os}static get DefaultType(){return ks}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Pi.off(document,As),Pi.on(document,Ts,(t=>this._handleFocusin(t))),Pi.on(document,Cs,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Pi.off(document,As))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=Wi.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===xs?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?xs:"forward")}}const Ls=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",$s=".sticky-top",Ds="padding-right",Is="margin-right";class Ns{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ds,(e=>e+t)),this._setElementAttributes(Ls,Ds,(e=>e+t)),this._setElementAttributes($s,Is,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ds),this._resetElementAttributes(Ls,Ds),this._resetElementAttributes($s,Is)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&Hi.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=Hi.getDataAttribute(t,e);null!==i?(Hi.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(ri(t))e(t);else for(const i of Wi.find(t,this._element))e(i)}}const Ps=".bs.modal",js=`hide${Ps}`,Ms=`hidePrevented${Ps}`,Fs=`hidden${Ps}`,Hs=`show${Ps}`,zs=`shown${Ps}`,Rs=`resize${Ps}`,qs=`click.dismiss${Ps}`,Ws=`mousedown.dismiss${Ps}`,Bs=`keydown.dismiss${Ps}`,Vs=`click${Ps}.data-api`,Qs="modal-open",Ks="show",Ys="modal-static",Us={backdrop:!0,focus:!0,keyboard:!0},Xs={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Js extends Ri{constructor(t,e){super(t,e),this._dialog=Wi.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ns,this._addEventListeners()}static get Default(){return Us}static get DefaultType(){return Xs}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;Pi.trigger(this._element,Hs,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Qs),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;Pi.trigger(this._element,js).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Ks),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){Pi.off(window,Ps),Pi.off(this._dialog,Ps),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Es({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ss({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=Wi.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),di(this._element),this._element.classList.add(Ks);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Pi.trigger(this._element,zs,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){Pi.on(this._element,Bs,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),Pi.on(window,Rs,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),Pi.on(this._element,Ws,(t=>{Pi.one(this._element,qs,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Qs),this._resetAdjustments(),this._scrollBar.reset(),Pi.trigger(this._element,Fs)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(Pi.trigger(this._element,Ms).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Ys)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ys),this._queueCallback((()=>{this._element.classList.remove(Ys),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=gi()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=gi()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=Js.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}Pi.on(document,Vs,'[data-bs-toggle="modal"]',(function(t){const e=Wi.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),Pi.one(e,Hs,(t=>{t.defaultPrevented||Pi.one(e,Fs,(()=>{li(this)&&this.focus()}))}));const i=Wi.findOne(".modal.show");i&&Js.getInstance(i).hide();Js.getOrCreateInstance(e).toggle(this)})),Bi(Js),mi(Js);const Gs=".bs.offcanvas",Zs=".data-api",to=`load${Gs}${Zs}`,eo="show",io="showing",no="hiding",so=".offcanvas.show",oo=`show${Gs}`,ro=`shown${Gs}`,ao=`hide${Gs}`,lo=`hidePrevented${Gs}`,co=`hidden${Gs}`,ho=`resize${Gs}`,uo=`click${Gs}${Zs}`,fo=`keydown.dismiss${Gs}`,po={backdrop:!0,keyboard:!0,scroll:!1},go={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class mo extends Ri{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return po}static get DefaultType(){return go}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(Pi.trigger(this._element,oo,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Ns).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(io);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(eo),this._element.classList.remove(io),Pi.trigger(this._element,ro,{relatedTarget:t})}),this._element,!0)}hide(){if(!this._isShown)return;if(Pi.trigger(this._element,ao).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(no),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(eo,no),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Ns).reset(),Pi.trigger(this._element,co)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Es({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():Pi.trigger(this._element,lo)}:null})}_initializeFocusTrap(){return new Ss({trapElement:this._element})}_addEventListeners(){Pi.on(this._element,fo,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():Pi.trigger(this._element,lo))}))}static jQueryInterface(t){return this.each((function(){const e=mo.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}Pi.on(document,uo,'[data-bs-toggle="offcanvas"]',(function(t){const e=Wi.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),ci(this))return;Pi.one(e,co,(()=>{li(this)&&this.focus()}));const i=Wi.findOne(so);i&&i!==e&&mo.getInstance(i).hide();mo.getOrCreateInstance(e).toggle(this)})),Pi.on(window,to,(()=>{for(const t of Wi.find(so))mo.getOrCreateInstance(t).show()})),Pi.on(window,ho,(()=>{for(const t of Wi.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&mo.getOrCreateInstance(t).hide()})),Bi(mo),mi(mo);const _o={"*":["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:[]},bo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),vo=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,yo=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!bo.has(i)||Boolean(vo.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))};const wo={allowList:_o,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Eo={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ao={entry:"(string|element|function|null)",selector:"(string|element)"};class To extends zi{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return wo}static get DefaultType(){return Eo}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},Ao)}_setContent(t,e,i){const n=Wi.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?ri(e)?this._putElementInTemplate(ai(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes),s=[].concat(e["*"]||[],e[i]||[]);for(const e of n)yo(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return _i(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Co=new Set(["sanitize","allowList","sanitizeFn"]),xo="fade",Oo="show",ko=".tooltip-inner",So=".modal",Lo="hide.bs.modal",$o="hover",Do="focus",Io={AUTO:"auto",TOP:"top",RIGHT:gi()?"left":"right",BOTTOM:"bottom",LEFT:gi()?"right":"left"},No={allowList:_o,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"},Po={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 jo extends Ri{constructor(t,e){if(void 0===Xt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return No}static get DefaultType(){return Po}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),Pi.off(this._element.closest(So),Lo,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=Pi.trigger(this._element,this.constructor.eventName("show")),e=(hi(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),Pi.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(Oo),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Pi.on(t,"mouseover",ui);this._queueCallback((()=>{Pi.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(Pi.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(Oo),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Pi.off(t,"mouseover",ui);this._activeTrigger.click=!1,this._activeTrigger[Do]=!1,this._activeTrigger[$o]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Pi.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(xo,Oo),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(xo),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new To({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ko]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(xo)}_isShown(){return this.tip&&this.tip.classList.contains(Oo)}_createPopper(t){const e=_i(this._config.placement,[this,t,this._element]),i=Io[e.toUpperCase()];return Ut(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return _i(t,[this._element,this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,..._i(this._config.popperConfig,[void 0,e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)Pi.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===$o?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===$o?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");Pi.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Do:$o]=!0,e._enter()})),Pi.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Do:$o]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},Pi.on(this._element.closest(So),Lo,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=Hi.getDataAttributes(this._element);for(const t of Object.keys(e))Co.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:ai(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=jo.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}mi(jo);const Mo=".popover-header",Fo=".popover-body",Ho={...jo.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"},zo={...jo.DefaultType,content:"(null|string|element|function)"};class Ro extends jo{static get Default(){return Ho}static get DefaultType(){return zo}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Mo]:this._getTitle(),[Fo]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=Ro.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}mi(Ro);const qo=".bs.scrollspy",Wo=`activate${qo}`,Bo=`click${qo}`,Vo=`load${qo}.data-api`,Qo="active",Ko="[href]",Yo=".nav-link",Uo=`${Yo}, .nav-item > ${Yo}, .list-group-item`,Xo={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Jo={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Go extends Ri{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Xo}static get DefaultType(){return Jo}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=ai(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Pi.off(this._config.target,Bo),Pi.on(this._config.target,Bo,Ko,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Wi.find(Ko,this._config.target);for(const e of t){if(!e.hash||ci(e))continue;const t=Wi.findOne(decodeURI(e.hash),this._element);li(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Qo),this._activateParents(t),Pi.trigger(this._element,Wo,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))Wi.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Qo);else for(const e of Wi.parents(t,".nav, .list-group"))for(const t of Wi.prev(e,Uo))t.classList.add(Qo)}_clearActiveClass(t){t.classList.remove(Qo);const e=Wi.find(`${Ko}.${Qo}`,t);for(const t of e)t.classList.remove(Qo)}static jQueryInterface(t){return this.each((function(){const e=Go.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Pi.on(window,Vo,(()=>{for(const t of Wi.find('[data-bs-spy="scroll"]'))Go.getOrCreateInstance(t)})),mi(Go);const Zo=".bs.tab",tr=`hide${Zo}`,er=`hidden${Zo}`,ir=`show${Zo}`,nr=`shown${Zo}`,sr=`click${Zo}`,or=`keydown${Zo}`,rr=`load${Zo}`,ar="ArrowLeft",lr="ArrowRight",cr="ArrowUp",hr="ArrowDown",ur="Home",dr="End",fr="active",pr="fade",gr="show",mr=".dropdown-toggle",_r=`:not(${mr})`,br='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',vr=`${`.nav-link${_r}, .list-group-item${_r}, [role="tab"]${_r}`}, ${br}`,yr=`.${fr}[data-bs-toggle="tab"], .${fr}[data-bs-toggle="pill"], .${fr}[data-bs-toggle="list"]`;class wr extends Ri{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Pi.on(this._element,or,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?Pi.trigger(e,tr,{relatedTarget:t}):null;Pi.trigger(t,ir,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(fr),this._activate(Wi.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Pi.trigger(t,nr,{relatedTarget:e})):t.classList.add(gr)}),t,t.classList.contains(pr))}_deactivate(t,e){if(!t)return;t.classList.remove(fr),t.blur(),this._deactivate(Wi.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Pi.trigger(t,er,{relatedTarget:e})):t.classList.remove(gr)}),t,t.classList.contains(pr))}_keydown(t){if(![ar,lr,cr,hr,ur,dr].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!ci(t)));let i;if([ur,dr].includes(t.key))i=e[t.key===ur?0:e.length-1];else{const n=[lr,hr].includes(t.key);i=vi(e,t.target,n,!0)}i&&(i.focus({preventScroll:!0}),wr.getOrCreateInstance(i).show())}_getChildren(){return Wi.find(vr,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=Wi.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const s=Wi.findOne(t,i);s&&s.classList.toggle(n,e)};n(mr,fr),n(".dropdown-menu",gr),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(fr)}_getInnerElement(t){return t.matches(vr)?t:Wi.findOne(vr,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=wr.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Pi.on(document,sr,br,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),ci(this)||wr.getOrCreateInstance(this).show()})),Pi.on(window,rr,(()=>{for(const t of Wi.find(yr))wr.getOrCreateInstance(t)})),mi(wr);const Er=".bs.toast",Ar=`mouseover${Er}`,Tr=`mouseout${Er}`,Cr=`focusin${Er}`,xr=`focusout${Er}`,Or=`hide${Er}`,kr=`hidden${Er}`,Sr=`show${Er}`,Lr=`shown${Er}`,$r="hide",Dr="show",Ir="showing",Nr={animation:"boolean",autohide:"boolean",delay:"number"},Pr={animation:!0,autohide:!0,delay:5e3};class jr extends Ri{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Pr}static get DefaultType(){return Nr}static get NAME(){return"toast"}show(){if(Pi.trigger(this._element,Sr).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove($r),di(this._element),this._element.classList.add(Dr,Ir),this._queueCallback((()=>{this._element.classList.remove(Ir),Pi.trigger(this._element,Lr),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(Pi.trigger(this._element,Or).defaultPrevented)return;this._element.classList.add(Ir),this._queueCallback((()=>{this._element.classList.add($r),this._element.classList.remove(Ir,Dr),Pi.trigger(this._element,kr)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Dr),super.dispose()}isShown(){return this._element.classList.contains(Dr)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){Pi.on(this._element,Ar,(t=>this._onInteraction(t,!0))),Pi.on(this._element,Tr,(t=>this._onInteraction(t,!1))),Pi.on(this._element,Cr,(t=>this._onInteraction(t,!0))),Pi.on(this._element,xr,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=jr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}Bi(jr),mi(jr);class Mr{constructor(t){t&&(this.carouselEl=t,this.carousel=$n.getOrCreateInstance(t),this.captionEl=t.closest(".carousel-wrapper")?.previousElementSibling?.querySelector(".carousel-caption-container"),this._bindEvents(),this._updateCaption())}_bindEvents(){this.carouselEl.addEventListener("slide.bs.carousel",(()=>this._updateCaption()))}_updateCaption(){const t=this.carouselEl.querySelector(".carousel-item.active"),e=t?.getAttribute("data-caption");this.captionEl&&e&&(this.captionEl.querySelector("p").textContent=e)}static initAll(){for(const t of document.querySelectorAll(".carousel"))new Mr(t)}}const Fr=new Promise((t=>{if(window.YT?.Player)t();else{window.onYouTubeIframeAPIReady=()=>{t()};const e=document.createElement("script");e.src="https://www.youtube.com/iframe_api",document.head.append(e)}})),Hr=new Promise((t=>{if(window.Vimeo?.Player)t();else{const e=document.createElement("script");e.src="https://player.vimeo.com/api/player.js",e.addEventListener("load",(()=>{t()})),document.head.append(e)}}));class zr{constructor(t){this.modal=t,this.dialog=t.querySelector(".modal-dialog-media"),this.container=t.querySelector(".ratio"),this.dialog&&this.container&&(this.modalId=t.id,this.youtubeSrc=this.container.getAttribute("data-src"),this.vimeoUrl=this.container.getAttribute("data-vimeo-url"),this.vimeoPlayer=null,this.youtubePlayer=null,t.addEventListener("show.bs.modal",(()=>this.onShow())),t.addEventListener("hidden.bs.modal",(()=>this.onHide())))}async onShow(){const t=`${this.modalId}-youtube-player`;if(this.vimeoUrl){const t=this.getVimeoId(this.vimeoUrl);await Hr,this.vimeoPlayer=new window.Vimeo.Player(this.container,{id:t,autoplay:!0})}if(this.youtubeSrc){const e=this.getYouTubeId(this.youtubeSrc);await Fr,this.container.innerHTML=`<div class="${t} w-100 h-100"></div>`;const i=this.container.querySelector(`.${t}`);this.youtubePlayer=new YT.Player(i,{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(t){const e=t.match(/(?:v=|youtu\.be\/)([\w-]{11})/);return e?e[1]:""}getVimeoId(t){const e=t.match(/vimeo\.com\/(\d+)/);return e?e[1]:""}}document.addEventListener("DOMContentLoaded",(()=>{for(const t of document.querySelectorAll('[data-bs-toggle="modal"][data-bs-target]')){const e=t.getAttribute("data-bs-target"),i=document.querySelector(e);i?.querySelector(".modal-dialog-media")&&new zr(i)}})),t.Alert=u,t.Button=m,t.Carousel=p,t.CarouselCaption=Mr,t.Collapse=te,t.Datepicker=Ge,t.Dropdown=Gt,t.Modal=ae,t.Offcanvas=oe,t.Popover=ge,t.Scrollspy=ce,t.Tab=ve,t.Toast=_e,t.Tooltip=pe,t.VideoModal=zr,Object.defineProperty(t,"__esModule",{value:!0})}));
|
157
|
+
!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",x="show",E="dropdown",A=".dropdown-toggle",T=".dropdown-menu",C=`:not(${A})`,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(x)};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(x)};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(E))return;const s=(e,s)=>{const o=n.findOne(e,i);o&&o.classList.toggle(s,t)};s(A,y),s(T,x),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($),$}(i.exports,o.exports,u.exports,r.exports)}(_t);var bt=_t.exports;const vt=new Map;var yt={set(e,t,n){vt.has(e)||vt.set(e,new Map);const i=vt.get(e);(i.has(t)||0===i.size)&&i.set(t,n)},get:(e,t)=>vt.has(e)&&vt.get(e).get(t)||null,remove(e,t){if(!vt.has(e))return;const n=vt.get(e);n.delete(t),0===n.size&&vt.delete(e)}};const wt="transitionend",xt=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),Et=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),At=e=>Et(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(xt(e)):null,Tt=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ct=[],Ot=e=>{var t;t=()=>{const t=Tt();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?(Ct.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of Ct)e()})),Ct.push(t)):t()},St=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,kt=(e,t,n=!0)=>{if(!n)return void St(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(wt,o),St(e))};t.addEventListener(wt,o),setTimeout((()=>{s||t.dispatchEvent(new Event(wt))}),i)},Dt=/[^.]*(?=\..*)\.|.*/,Lt=/\..*/,$t=/::\d+$/,Pt={};let Nt=1;const jt={mouseenter:"mouseover",mouseleave:"mouseout"},It=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 Mt(e,t){return t&&`${t}::${Nt++}`||e.uidEvent||Nt++}function Ft(e){const t=Mt(e);return e.uidEvent=t,Pt[t]=Pt[t]||{},Pt[t]}function Ht(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function Rt(e,t,n){const i="string"==typeof t,s=i?n:t||n;let o=Bt(e);return It.has(o)||(o=e),[i,s,o]}function Wt(e,t,n,i,s){if("string"!=typeof t||!e)return;let[o,r,a]=Rt(t,n,i);if(t in jt){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=Ft(e),c=l[a]||(l[a]={}),u=Ht(c,r,o?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const d=Mt(r,t.replace(Dt,"")),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 Qt(s,{delegateTarget:r}),i.oneOff&&Vt.off(e,s.type,t,n),n.apply(r,[s])}}(e,n,r):function(e,t){return function n(i){return Qt(i,{delegateTarget:e}),n.oneOff&&Vt.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 zt(e,t,n,i,s){const o=Ht(t[n],i,s);o&&(e.removeEventListener(n,o,Boolean(s)),delete t[n][o.uidEvent])}function qt(e,t,n,i){const s=t[n]||{};for(const[o,r]of Object.entries(s))o.includes(i)&&zt(e,t,n,r.callable,r.delegationSelector)}function Bt(e){return e=e.replace(Lt,""),jt[e]||e}const Vt={on(e,t,n,i){Wt(e,t,n,i,!1)},one(e,t,n,i){Wt(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[s,o,r]=Rt(t,n,i),a=r!==t,l=Ft(e),c=l[r]||{},u=t.startsWith(".");if(void 0===o){if(u)for(const n of Object.keys(l))qt(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const s=n.replace($t,"");a&&!t.includes(s)||zt(e,l,r,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;zt(e,l,r,o,s?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=Tt();let s=null,o=!0,r=!0,a=!1;t!==Bt(t)&&i&&(s=i.Event(t,n),i(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=Qt(new Event(t,{bubbles:o,cancelable:!0}),n);return a&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function Qt(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 Yt(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 Kt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const Ut={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Kt(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Kt(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]=Yt(e.dataset[i])}return t},getDataAttribute:(e,t)=>Yt(e.getAttribute(`data-bs-${Kt(t)}`))};class Xt{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=Et(t)?Ut.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...Et(t)?Ut.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[i,s]of Object.entries(t)){const t=e[i],o=Et(t)?"element":null==(n=t)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${s}".`)}var n}}class Jt extends Xt{constructor(e,t){super(),(e=At(e))&&(this._element=e,this._config=this._getConfig(t),yt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){yt.remove(this._element,this.constructor.DATA_KEY),Vt.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){kt(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return yt.get(At(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.5"}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 Gt='[data-bs-toggle="datepicker"]';class Zt extends Jt{static get NAME(){return"datepicker"}static jQueryInterface(e){return this.each((function(){const t=Zt.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}Vt.on(document,"focus.bs.datepicker.data-api",Gt,(e=>{const t=e.target.closest(Gt);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)}))})),Ot(Zt);const en=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=>xt(e))).join(","):null},tn={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(!Et(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=en(e);return t&&tn.findOne(t)?t:null},getElementFromSelector(e){const t=en(e);return t?tn.findOne(t):null},getMultipleElementsFromSelector(e){const t=en(e);return t?tn.find(t):[]}},nn="slid.bs.carousel";class sn extends Jt{constructor(e){super(e),this._captionEl=this._findCaptionEl(),this._captionEl&&(this._updateCaption(),this._bindEvents())}dispose(){Vt.off(this._element,nn),super.dispose()}_bindEvents(){Vt.on(this._element,nn,(()=>this._updateCaption()))}_updateCaption(){const e=tn.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(){sn.getOrCreateInstance(this,e)}))}}document.addEventListener("DOMContentLoaded",(()=>{for(const e of tn.find(".carousel"))sn.getOrCreateInstance(e)})),Ot(sn);const on=".modal-dialog-media",rn=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)}})),an=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 ln extends Jt{constructor(e){super(e),this._dialog=tn.findOne(on,this._element),this._container=tn.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,Vt.on(this._element,"show.bs.modal",(()=>this._onShow())),Vt.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 an;const e=this._getVimeoId(this._vimeoUrl);this._vimeoPlayer=new window.Vimeo.Player(this._container,{id:e,autoplay:!0})}if(this._youtubeSrc){await rn;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(){ln.getOrCreateInstance(this,e)}))}}document.addEventListener("DOMContentLoaded",(()=>{const e=tn.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(on)&&ln.getOrCreateInstance(n)}})),Ot(ln),e.Alert=d,e.Button=m,e.Carousel=p,e.CarouselCaption=sn,e.Collapse=Ze,e.Datepicker=Zt,e.Dropdown=Je,e.Modal=rt,e.Offcanvas=st,e.Popover=pt,e.Scrollspy=lt,e.Tab=bt,e.Toast=mt,e.Tooltip=ft,e.VideoModal=ln,Object.defineProperty(e,"__esModule",{value:!0})}));
|
164
158
|
//# sourceMappingURL=symphony.min.js.map
|