child-theme.min.js
90.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*!
* Understrap v1.2.0 (https://understrap.com)
* Copyright 2013-2023 The Understrap Authors (https://github.com/understrap/understrap/graphs/contributors)
* Licensed under GPL-3.0 (undefined)
*/
!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).understrap={})}(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=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})})),n}var n,i={},s={},o={get exports(){return s},set exports(e){s=e}},r={},a={get exports(){return r},set exports(e){r=e}};function l(){return n||(n=1,function(e,t){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):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}};return t}()}(a)),r}var c,u,h={},d={get exports(){return h},set exports(e){h=e}},f={};function p(){return c||(c=1,function(e,t){!function(e){const t=1e6,n=1e3,i="transitionend",s=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),o=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),r=e=>{do{e+=Math.floor(Math.random()*t)}while(document.getElementById(e));return e},a=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const s=Number.parseFloat(t),o=Number.parseFloat(i);return s||o?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*n):0},l=e=>{e.dispatchEvent(new Event(i))},c=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),u=e=>c(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(s(e)):null,h=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},d=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(...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=d,e.isElement=c,e.isRTL=v,e.isVisible=h,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,f)),f}
/*!
* Bootstrap event-handler.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/function g(){return u||(u=1,function(e,t){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 h(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 d(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=d(_,p,a?i:null);if(b)return void(b.oneOff=b.oneOff&&o);const v=l(p,n.replace(t,"")),y=a?h(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=d(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),h=u[a]||{},d=t.startsWith(".");if(void 0===r){if(d)for(const n of Object.keys(u))m(e,u,n,t.slice(1));for(const[n,s]of Object.entries(h)){const o=n.replace(i,"");l&&!t.includes(o)||g(e,u,a,s.callable,s.delegationSelector)}}else{if(!Object.keys(h).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}(p())}(d)),h}var m,_,b,v={},y={get exports(){return v},set exports(e){v=e}},w={},x={get exports(){return w},set exports(e){w=e}};function E(){return m||(m=1,function(e,t){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()}`))}return{setDataAttribute(e,n,i){e.setAttribute(`data-bs-${t(n)}`,i)},removeDataAttribute(e,n){e.removeAttribute(`data-bs-${t(n)}`)},getDataAttributes(t){if(!t)return{};const n={},i=Object.keys(t.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const s of i){let i=s.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),n[i]=e(t.dataset[s])}return n},getDataAttribute:(n,i)=>e(n.getAttribute(`data-bs-${t(i)}`))}}()}(x)),w}
/*!
* Bootstrap config.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/function A(){return _||(_=1,function(e,t){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}(E(),p())}(y)),v}
/*!
* Bootstrap base-component.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/function T(){return b||(b=1,function(e,t){e.exports=function(e,t,n,i){const s="5.3.1";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}(l(),g(),A(),p())}(o)),s}var O,C,k={},L={},D={get exports(){return L},set exports(e){L=e}};function S(){return O||(O=1,function(e,t){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 e.parseSelector(n)},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}(p())}(D)),L}
/*!
* Bootstrap component-functions.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/function P(){return C||(C=1,function(e,t){!function(e,t,n,i){const s=(e,s="hide")=>{const o=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;t.on(document,o,`[data-bs-dismiss="${r}"]`,(function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),i.isDisabled(this))return;const o=n.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(o)[s]()}))};e.enableDismissTrigger=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t,g(),S(),p())}(0,k)),k}
/*!
* Bootstrap alert.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/!function(e,t){e.exports=function(e,t,n,i){const s="alert",o=".bs.alert",r=`close${o}`,a=`closed${o}`,l="fade",c="show";class u extends e{static get NAME(){return s}close(){if(t.trigger(this._element,r).defaultPrevented)return;this._element.classList.remove(c);const e=this._element.classList.contains(l);this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),t.trigger(this._element,a),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=u.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return n.enableDismissTrigger(u,"close"),i.defineJQueryPlugin(u),u}(T(),g(),P(),p())}({get exports(){return i},set exports(e){i=e}});var $=i,I={};
/*!
* Bootstrap button.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
!function(e,t){e.exports=function(e,t,n){const i="button",s="active",o='[data-bs-toggle="button"]',r="click.bs.button.data-api";class a extends e{static get NAME(){return i}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(s))}static jQueryInterface(e){return this.each((function(){const t=a.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}return t.on(document,r,o,(e=>{e.preventDefault();const t=e.target.closest(o);a.getOrCreateInstance(t).toggle()})),n.defineJQueryPlugin(a),a}(T(),g(),p())}({get exports(){return I},set exports(e){I=e}});var j,N=I,M={},F={},H={get exports(){return F},set exports(e){F=e}};function R(){return j||(j=1,function(e,t){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",h="pen",d="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(d)):(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===h||e.pointerType===u)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}return m}(g(),A(),p())}(H)),F}
/*!
* Bootstrap carousel.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/!function(e,t){e.exports=function(e,t,n,i,s,o){const r="carousel",a=".bs.carousel",l=".data-api",c=500,u="next",h="prev",d="left",f="right",p=`slide${a}`,g=`slid${a}`,m=`keydown${a}`,_=`mouseenter${a}`,b=`mouseleave${a}`,v=`dragstart${a}`,y=`load${a}${l}`,w=`click${a}${l}`,x="carousel",E="active",A="slide",T="carousel-item-end",O="carousel-item-start",C="carousel-item-next",k="carousel-item-prev",L=".active",D=".carousel-item",S=L+D,P=".carousel-item img",$=".carousel-indicators",I="[data-bs-slide], [data-bs-slide-to]",j='[data-bs-ride="carousel"]',N={ArrowLeft:f,ArrowRight:d},M={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},F={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class H extends e{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=i.findOne($,this._element),this._addEventListeners(),this._config.ride===x&&this.cycle()}static get Default(){return M}static get DefaultType(){return F}static get NAME(){return r}next(){this._slide(u)}nextWhenVisible(){!document.hidden&&s.isVisible(this._element)&&this.next()}prev(){this._slide(h)}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,g,(()=>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,g,(()=>this.to(e)));const i=this._getItemIndex(this._getActive());if(i===e)return;const s=e>i?u:h;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,m,(e=>this._keydown(e))),"hover"===this._config.pause&&(t.on(this._element,_,(()=>this.pause())),t.on(this._element,b,(()=>this._maybeEnableCycle()))),this._config.touch&&o.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of i.find(P,this._element))t.on(e,v,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(d)),rightCallback:()=>this._slide(this._directionToOrder(f)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),c+this._config.interval))}};this._swipeHelper=new o(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=N[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(L,this._indicatorsElement);t.classList.remove(E),t.removeAttribute("aria-current");const n=i.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(E),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===u,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(p).defaultPrevented)return;if(!i||!r)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const h=o?O:T,d=o?C:k;r.classList.add(d),s.reflow(r),i.classList.add(h),r.classList.add(h);const f=()=>{r.classList.remove(h,d),r.classList.add(E),i.classList.remove(E,d,h),this._isSliding=!1,l(g)};this._queueCallback(f,i,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(A)}_getActive(){return i.findOne(S,this._element)}_getItems(){return i.find(D,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return s.isRTL()?e===d?h:u:e===d?u:h}_orderToDirection(e){return s.isRTL()?e===h?d:f:e===h?f:d}static jQueryInterface(e){return this.each((function(){const t=H.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,w,I,(function(e){const t=i.getElementFromSelector(this);if(!t||!t.classList.contains(x))return;e.preventDefault();const s=H.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,y,(()=>{const e=i.find(j);for(const t of e)H.getOrCreateInstance(t)})),s.defineJQueryPlugin(H),H}(T(),g(),E(),S(),p(),R())}({get exports(){return M},set exports(e){M=e}});var B=M,z={};
/*!
* Bootstrap collapse.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
!function(e,t){e.exports=function(e,t,n,i){const s="collapse",o=".bs.collapse",r=`show${o}`,a=`shown${o}`,l=`hide${o}`,c=`hidden${o}`,u=`click${o}.data-api`,h="show",d="collapse",f="collapsing",p="collapsed",g=`:scope .${d} .${d}`,m="collapse-horizontal",_="width",b="height",v=".collapse.show, .collapse.collapsing",y='[data-bs-toggle="collapse"]',w={parent:null,toggle:!0},x={parent:"(null|element)",toggle:"boolean"};class E extends e{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=n.find(y);for(const e of i){const t=n.getSelectorFromElement(e),i=n.find(t).filter((e=>e===this._element));null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return w}static get DefaultType(){return x}static get NAME(){return s}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(v).filter((e=>e!==this._element)).map((e=>E.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(t.trigger(this._element,r).defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(d),this._element.classList.add(f),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(d,h),this._element.style[n]="",t.trigger(this._element,a)},s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(t.trigger(this._element,l).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,i.reflow(this._element),this._element.classList.add(f),this._element.classList.remove(d,h);for(const e of this._triggerArray){const t=n.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(d),t.trigger(this._element,c)};this._element.style[e]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(h)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=i.getElement(e.parent),e}_getDimension(){return this._element.classList.contains(m)?_:b}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(y);for(const t of e){const e=n.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=n.find(g,this._config.parent);return n.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle(p,!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=E.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}return t.on(document,u,y,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of n.getMultipleElementsFromSelector(this))E.getOrCreateInstance(e,{toggle:!1}).toggle()})),i.defineJQueryPlugin(E),E}(T(),g(),S(),p())}({get exports(){return z},set exports(e){z=e}});var W=z,q={},V={get exports(){return q},set exports(e){q=e}},Q="top",K="bottom",U="right",X="left",Y="auto",J=[Q,K,U,X],G="start",Z="end",ee="clippingParents",te="viewport",ne="popper",ie="reference",se=J.reduce((function(e,t){return e.concat([t+"-"+G,t+"-"+Z])}),[]),oe=[].concat(J,[Y]).reduce((function(e,t){return e.concat([t,t+"-"+G,t+"-"+Z])}),[]),re="beforeRead",ae="read",le="afterRead",ce="beforeMain",ue="main",he="afterMain",de="beforeWrite",fe="write",pe="afterWrite",ge=[re,ae,le,ce,ue,he,de,fe,pe];function me(e){return e?(e.nodeName||"").toLowerCase():null}function _e(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function be(e){return e instanceof _e(e).Element||e instanceof Element}function ve(e){return e instanceof _e(e).HTMLElement||e instanceof HTMLElement}function ye(e){return"undefined"!=typeof ShadowRoot&&(e instanceof _e(e).ShadowRoot||e instanceof ShadowRoot)}var we={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];ve(s)&&me(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}),{});ve(i)&&me(i)&&(Object.assign(i.style,o),Object.keys(s).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function xe(e){return e.split("-")[0]}var Ee=Math.max,Ae=Math.min,Te=Math.round;function Oe(){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 Ce(){return!/^((?!chrome|android).)*safari/i.test(Oe())}function ke(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&ve(e)&&(s=e.offsetWidth>0&&Te(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Te(i.height)/e.offsetHeight||1);var r=(be(e)?_e(e):window).visualViewport,a=!Ce()&&n,l=(i.left+(a&&r?r.offsetLeft:0))/s,c=(i.top+(a&&r?r.offsetTop:0))/o,u=i.width/s,h=i.height/o;return{width:u,height:h,top:c,right:l+u,bottom:c+h,left:l,x:l,y:c}}function Le(e){var t=ke(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 De(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ye(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Se(e){return _e(e).getComputedStyle(e)}function Pe(e){return["table","td","th"].indexOf(me(e))>=0}function $e(e){return((be(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ie(e){return"html"===me(e)?e:e.assignedSlot||e.parentNode||(ye(e)?e.host:null)||$e(e)}function je(e){return ve(e)&&"fixed"!==Se(e).position?e.offsetParent:null}function Ne(e){for(var t=_e(e),n=je(e);n&&Pe(n)&&"static"===Se(n).position;)n=je(n);return n&&("html"===me(n)||"body"===me(n)&&"static"===Se(n).position)?t:n||function(e){var t=/firefox/i.test(Oe());if(/Trident/i.test(Oe())&&ve(e)&&"fixed"===Se(e).position)return null;var n=Ie(e);for(ye(n)&&(n=n.host);ve(n)&&["html","body"].indexOf(me(n))<0;){var i=Se(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Me(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Fe(e,t,n){return Ee(e,Ae(t,n))}function He(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Re(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Be={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=xe(n.placement),l=Me(a),c=[X,U].indexOf(a)>=0?"height":"width";if(o&&r){var u=function(e,t){return He("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Re(e,J))}(s.padding,n),h=Le(o),d="y"===l?Q:X,f="y"===l?K:U,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],g=r[l]-n.rects.reference[l],m=Ne(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=p/2-g/2,v=u[d],y=_-h[c]-u[f],w=_/2-h[c]/2+b,x=Fe(v,w,y),E=l;n.modifiersData[i]=((t={})[E]=x,t.centerOffset=x-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&De(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ze(e){return e.split("-")[1]}var We={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qe(e){var t,n=e.popper,i=e.popperRect,s=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,h=e.isFixed,d=r.x,f=void 0===d?0:d,p=r.y,g=void 0===p?0:p,m="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=X,y=Q,w=window;if(c){var x=Ne(n),E="clientHeight",A="clientWidth";if(x===_e(n)&&"static"!==Se(x=$e(n)).position&&"absolute"===a&&(E="scrollHeight",A="scrollWidth"),s===Q||(s===X||s===U)&&o===Z)y=K,g-=(h&&x===w&&w.visualViewport?w.visualViewport.height:x[E])-i.height,g*=l?1:-1;if(s===X||(s===Q||s===K)&&o===Z)v=U,f-=(h&&x===w&&w.visualViewport?w.visualViewport.width:x[A])-i.width,f*=l?1:-1}var T,O=Object.assign({position:a},c&&We),C=!0===u?function(e,t){var n=e.x,i=e.y,s=t.devicePixelRatio||1;return{x:Te(n*s)/s||0,y:Te(i*s)/s||0}}({x:f,y:g},_e(n)):{x:f,y:g};return f=C.x,g=C.y,l?Object.assign({},O,((T={})[y]=b?"0":"",T[v]=_?"0":"",T.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",T)):Object.assign({},O,((t={})[y]=b?g+"px":"",t[v]=_?f+"px":"",t.transform="",t))}var Ve={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:xe(t.placement),variation:ze(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,qe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,qe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Qe={passive:!0};var Ke={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=_e(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,Qe)})),a&&l.addEventListener("resize",n.update,Qe),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Qe)})),a&&l.removeEventListener("resize",n.update,Qe)}},data:{}},Ue={left:"right",right:"left",bottom:"top",top:"bottom"};function Xe(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ue[e]}))}var Ye={start:"end",end:"start"};function Je(e){return e.replace(/start|end/g,(function(e){return Ye[e]}))}function Ge(e){var t=_e(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ze(e){return ke($e(e)).left+Ge(e).scrollLeft}function et(e){var t=Se(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function tt(e){return["html","body","#document"].indexOf(me(e))>=0?e.ownerDocument.body:ve(e)&&et(e)?e:tt(Ie(e))}function nt(e,t){var n;void 0===t&&(t=[]);var i=tt(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=_e(i),r=s?[o].concat(o.visualViewport||[],et(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(nt(Ie(r)))}function it(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function st(e,t,n){return t===te?it(function(e,t){var n=_e(e),i=$e(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Ce();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Ze(e),y:l}}(e,n)):be(t)?function(e,t){var n=ke(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):it(function(e){var t,n=$e(e),i=Ge(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=Ee(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Ee(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+Ze(e),l=-i.scrollTop;return"rtl"===Se(s||n).direction&&(a+=Ee(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}($e(e)))}function ot(e,t,n,i){var s="clippingParents"===t?function(e){var t=nt(Ie(e)),n=["absolute","fixed"].indexOf(Se(e).position)>=0&&ve(e)?Ne(e):e;return be(n)?t.filter((function(e){return be(e)&&De(e,n)&&"body"!==me(e)})):[]}(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce((function(t,n){var s=st(e,n,i);return t.top=Ee(s.top,t.top),t.right=Ae(s.right,t.right),t.bottom=Ae(s.bottom,t.bottom),t.left=Ee(s.left,t.left),t}),st(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 rt(e){var t,n=e.reference,i=e.element,s=e.placement,o=s?xe(s):null,r=s?ze(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case Q:t={x:a,y:n.y-i.height};break;case K:t={x:a,y:n.y+n.height};break;case U:t={x:n.x+n.width,y:l};break;case X:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?Me(o):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case G:t[c]=t[c]-(n[u]/2-i[u]/2);break;case Z:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function at(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?ee:a,c=n.rootBoundary,u=void 0===c?te:c,h=n.elementContext,d=void 0===h?ne:h,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,m=void 0===g?0:g,_=He("number"!=typeof m?m:Re(m,J)),b=d===ne?ie:ne,v=e.rects.popper,y=e.elements[p?b:d],w=ot(be(y)?y:y.contextElement||$e(e.elements.popper),l,u,r),x=ke(e.elements.reference),E=rt({reference:x,element:v,strategy:"absolute",placement:s}),A=it(Object.assign({},v,E)),T=d===ne?A:x,O={top:w.top-T.top+_.top,bottom:T.bottom-w.bottom+_.bottom,left:w.left-T.left+_.left,right:T.right-w.right+_.right},C=e.modifiersData.offset;if(d===ne&&C){var k=C[s];Object.keys(O).forEach((function(e){var t=[U,K].indexOf(e)>=0?1:-1,n=[Q,K].indexOf(e)>=0?"y":"x";O[e]+=k[n]*t}))}return O}function lt(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?oe:l,u=ze(i),h=u?a?se:se.filter((function(e){return ze(e)===u})):J,d=h.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=h);var f=d.reduce((function(t,n){return t[n]=at(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[xe(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var ct={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,h=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,_=xe(m),b=l||(_===m||!p?[Xe(m)]:function(e){if(xe(e)===Y)return[];var t=Xe(e);return[Je(e),t,Je(t)]}(m)),v=[m].concat(b).reduce((function(e,n){return e.concat(xe(n)===Y?lt(t,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),y=t.rects.reference,w=t.rects.popper,x=new Map,E=!0,A=v[0],T=0;T<v.length;T++){var O=v[T],C=xe(O),k=ze(O)===G,L=[Q,K].indexOf(C)>=0,D=L?"width":"height",S=at(t,{placement:O,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),P=L?k?U:X:k?K:Q;y[D]>w[D]&&(P=Xe(P));var $=Xe(P),I=[];if(o&&I.push(S[C]<=0),a&&I.push(S[P]<=0,S[$]<=0),I.every((function(e){return e}))){A=O,E=!1;break}x.set(O,I)}if(E)for(var j=function(e){var t=v.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},N=p?3:1;N>0;N--){if("break"===j(N))break}t.placement!==A&&(t.modifiersData[i]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ut(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ht(e){return[Q,U,K,X].some((function(t){return e[t]>=0}))}var dt={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=at(t,{elementContext:"reference"}),a=at(t,{altBoundary:!0}),l=ut(r,i),c=ut(a,s,o),u=ht(l),h=ht(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}};var ft={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=oe.reduce((function(e,n){return e[n]=function(e,t,n){var i=xe(e),s=[X,Q].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[X,U].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 pt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=rt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var gt={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,h=n.padding,d=n.tether,f=void 0===d||d,p=n.tetherOffset,g=void 0===p?0:p,m=at(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),_=xe(t.placement),b=ze(t.placement),v=!b,y=Me(_),w="x"===y?"y":"x",x=t.modifiersData.popperOffsets,E=t.rects.reference,A=t.rects.popper,T="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,O="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(x){if(o){var L,D="y"===y?Q:X,S="y"===y?K:U,P="y"===y?"height":"width",$=x[y],I=$+m[D],j=$-m[S],N=f?-A[P]/2:0,M=b===G?E[P]:A[P],F=b===G?-A[P]:-E[P],H=t.elements.arrow,R=f&&H?Le(H):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=B[D],W=B[S],q=Fe(0,E[P],R[P]),V=v?E[P]/2-N-q-z-O.mainAxis:M-q-z-O.mainAxis,Y=v?-E[P]/2+N+q+W+O.mainAxis:F+q+W+O.mainAxis,J=t.elements.arrow&&Ne(t.elements.arrow),Z=J?"y"===y?J.clientTop||0:J.clientLeft||0:0,ee=null!=(L=null==C?void 0:C[y])?L:0,te=$+Y-ee,ne=Fe(f?Ae(I,$+V-ee-Z):I,$,f?Ee(j,te):j);x[y]=ne,k[y]=ne-$}if(a){var ie,se="x"===y?Q:X,oe="x"===y?K:U,re=x[w],ae="y"===w?"height":"width",le=re+m[se],ce=re-m[oe],ue=-1!==[Q,X].indexOf(_),he=null!=(ie=null==C?void 0:C[w])?ie:0,de=ue?le:re-E[ae]-A[ae]-he+O.altAxis,fe=ue?re+E[ae]+A[ae]-he-O.altAxis:ce,pe=f&&ue?function(e,t,n){var i=Fe(e,t,n);return i>n?n:i}(de,re,fe):Fe(f?de:le,re,f?fe:ce);x[w]=pe,k[w]=pe-re}t.modifiersData[i]=k}},requiresIfExists:["offset"]};function mt(e,t,n){void 0===n&&(n=!1);var i,s,o=ve(t),r=ve(t)&&function(e){var t=e.getBoundingClientRect(),n=Te(t.width)/e.offsetWidth||1,i=Te(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=$e(t),l=ke(e,r,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==me(t)||et(a))&&(c=(i=t)!==_e(i)&&ve(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:Ge(i)),ve(t)?((u=ke(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Ze(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function _t(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 bt={placement:"bottom",modifiers:[],strategy:"absolute"};function vt(){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 yt(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,s=t.defaultOptions,o=void 0===s?bt:s;return function(e,t,n){void 0===n&&(n=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},bt,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;h(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:be(e)?nt(e):e.contextElement?nt(e.contextElement):[],popper:nt(t)};var r,c,d=function(e){var t=_t(e);return ge.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=d.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(vt(t,n)){a.rects={reference:mt(t,Ne(n),"fixed"===a.options.strategy),popper:Le(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,h=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:h,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(){h(),c=!0}};if(!vt(e,t))return u;function h(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var wt=yt(),xt=yt({defaultModifiers:[Ke,pt,Ve,we]}),Et=yt({defaultModifiers:[Ke,pt,Ve,we,ft,ct,gt,Be,dt]}),At=t(Object.freeze({__proto__:null,popperGenerator:yt,detectOverflow:at,createPopperBase:wt,createPopper:Et,createPopperLite:xt,top:Q,bottom:K,right:U,left:X,auto:Y,basePlacements:J,start:G,end:Z,clippingParents:ee,viewport:te,popper:ne,reference:ie,variationPlacements:se,placements:oe,beforeRead:re,read:ae,afterRead:le,beforeMain:ce,main:ue,afterMain:he,beforeWrite:de,write:fe,afterWrite:pe,modifierPhases:ge,applyStyles:we,arrow:Be,computeStyles:Ve,eventListeners:Ke,flip:ct,hide:dt,offset:ft,popperOffsets:pt,preventOverflow:gt}));
/*!
* Bootstrap dropdown.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
!function(e,t){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=".data-api",h="Escape",d="Tab",f="ArrowUp",p="ArrowDown",g=2,m=`hide${c}`,_=`hidden${c}`,b=`show${c}`,v=`shown${c}`,y=`click${c}${u}`,w=`keydown${c}${u}`,x=`keyup${c}${u}`,E="show",A="dropup",T="dropend",O="dropstart",C="dropup-center",k="dropdown-center",L='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',D=`${L}.${E}`,S=".dropdown-menu",P=".navbar",$=".navbar-nav",I=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",j=o.isRTL()?"top-end":"top-start",N=o.isRTL()?"top-start":"top-end",M=o.isRTL()?"bottom-end":"bottom-start",F=o.isRTL()?"bottom-start":"bottom-end",H=o.isRTL()?"left-start":"right-start",R=o.isRTL()?"right-start":"left-start",B="top",z="bottom",W={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},q={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class V extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=s.next(this._element,S)[0]||s.prev(this._element,S)[0]||s.findOne(S,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return W}static get DefaultType(){return q}static get NAME(){return l}toggle(){return this._isShown()?this.hide():this.show()}show(){if(o.isDisabled(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!n.trigger(this._element,b,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest($))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(E),this._element.classList.add(E),n.trigger(this._element,v,e)}}hide(){if(o.isDisabled(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!n.trigger(this._element,m,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",o.noop);this._popper&&this._popper.destroy(),this._menu.classList.remove(E),this._element.classList.remove(E),this._element.setAttribute("aria-expanded","false"),i.removeDataAttribute(this._menu,"popper"),n.trigger(this._element,_,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!o.isElement(e.reference)&&"function"!=typeof e.reference.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)");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(E)}_getPlacement(){const e=this._parent;if(e.classList.contains(T))return H;if(e.classList.contains(O))return R;if(e.classList.contains(C))return B;if(e.classList.contains(k))return z;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains(A)?t?N:j:t?F:M}_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,[e])}}_selectMenuItem({key:e,target:t}){const n=s.find(I,this._menu).filter((e=>o.isVisible(e)));n.length&&o.getNextActiveElement(n,t,e===p,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=V.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===g||"keyup"===e.type&&e.key!==d)return;const t=s.find(D);for(const n of t){const t=V.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===d||/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=[f,p].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const o=this.matches(L)?this:s.prev(this,L)[0]||s.next(this,L)[0]||s.findOne(L,e.delegateTarget.parentNode),r=V.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,w,L,V.dataApiKeydownHandler),n.on(document,w,S,V.dataApiKeydownHandler),n.on(document,y,V.clearMenus),n.on(document,x,V.clearMenus),n.on(document,y,L,(function(e){e.preventDefault(),V.getOrCreateInstance(this).toggle()})),o.defineJQueryPlugin(V),V}(At,T(),g(),E(),S(),p())}(V);var Tt,Ot=q,Ct={},kt={},Lt={get exports(){return kt},set exports(e){kt=e}};function Dt(){return Tt||(Tt=1,function(e,t){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}(g(),A(),p())}(Lt)),kt}var St,Pt={},$t={get exports(){return Pt},set exports(e){Pt=e}};function It(){return St||(St=1,function(e,t){e.exports=function(e,t,n){const i="focustrap",s=".bs.focustrap",o=`focusin${s}`,r=`keydown.tab${s}`,a="Tab",l="forward",c="backward",u={autofocus:!0,trapElement:null},h={autofocus:"boolean",trapElement:"element"};class d extends n{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return u}static get DefaultType(){return h}static get NAME(){return i}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),e.off(document,s),e.on(document,o,(e=>this._handleFocusin(e))),e.on(document,r,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,e.off(document,s))}_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===c?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){e.key===a&&(this._lastTabNavDirection=e.shiftKey?c:l)}}return d}(g(),S(),A())}($t)),Pt}var jt,Nt={},Mt={get exports(){return Nt},set exports(e){Nt=e}};function Ft(){return jt||(jt=1,function(e,t){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}(E(),S(),p())}(Mt)),Nt}
/*!
* Bootstrap modal.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/!function(e,t){e.exports=function(e,t,n,i,s,o,r,a){const l="modal",c=".bs.modal",u="Escape",h=`hide${c}`,d=`hidePrevented${c}`,f=`hidden${c}`,p=`show${c}`,g=`shown${c}`,m=`resize${c}`,_=`click.dismiss${c}`,b=`mousedown.dismiss${c}`,v=`keydown.dismiss${c}`,y=`click${c}.data-api`,w="modal-open",x="fade",E="show",A="modal-static",T=".modal.show",O=".modal-dialog",C=".modal-body",k='[data-bs-toggle="modal"]',L={backdrop:!0,focus:!0,keyboard:!0},D={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class S extends e{constructor(e,t){super(e,t),this._dialog=n.findOne(O,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 D}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,p,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(w),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(t.trigger(this._element,h).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(E),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){t.off(window,c),t.off(this._dialog,c),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(C,this._dialog);i&&(i.scrollTop=0),r.reflow(this._element),this._element.classList.add(E);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,t.trigger(this._element,g,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){t.on(this._element,v,(e=>{e.key===u&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),t.on(window,m,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),t.on(this._element,b,(e=>{t.one(this._element,_,(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(w),this._resetAdjustments(),this._scrollBar.reset(),t.trigger(this._element,f)}))}_isAnimated(){return this._element.classList.contains(x)}_triggerBackdropTransition(){if(t.trigger(this._element,d).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(A)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(A),this._queueCallback((()=>{this._element.classList.remove(A),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=S.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,y,k,(function(e){const i=n.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),t.one(i,p,(e=>{e.defaultPrevented||t.one(i,f,(()=>{r.isVisible(this)&&this.focus()}))}));const s=n.findOne(T);s&&S.getInstance(s).hide(),S.getOrCreateInstance(i).toggle(this)})),s.enableDismissTrigger(S),r.defineJQueryPlugin(S),S}(T(),g(),S(),Dt(),P(),It(),p(),Ft())}({get exports(){return Ct},set exports(e){Ct=e}});var Ht=Ct,Rt={};
/*!
* Bootstrap offcanvas.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
!function(e,t){e.exports=function(e,t,n,i,s,o,r,a){const l="offcanvas",c=".bs.offcanvas",u=".data-api",h=`load${c}${u}`,d="Escape",f="show",p="showing",g="hiding",m="offcanvas-backdrop",_=".offcanvas.show",b=`show${c}`,v=`shown${c}`,y=`hide${c}`,w=`hidePrevented${c}`,x=`hidden${c}`,E=`resize${c}`,A=`click${c}${u}`,T=`keydown.dismiss${c}`,O='[data-bs-toggle="offcanvas"]',C={backdrop:!0,keyboard:!0,scroll:!1},k={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class L 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 C}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,b,{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(p);const n=()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(f),this._element.classList.remove(p),t.trigger(this._element,v,{relatedTarget:e})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown)return;if(t.trigger(this._element,y).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(g),this._backdrop.hide();const e=()=>{this._element.classList.remove(f,g),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new a).reset(),t.trigger(this._element,x)};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,w)},n=Boolean(this._config.backdrop);return new i({className:m,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new o({trapElement:this._element})}_addEventListeners(){t.on(this._element,T,(e=>{e.key===d&&(this._config.keyboard?this.hide():t.trigger(this._element,w))}))}static jQueryInterface(e){return this.each((function(){const t=L.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,A,O,(function(e){const i=n.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),r.isDisabled(this))return;t.one(i,x,(()=>{r.isVisible(this)&&this.focus()}));const s=n.findOne(_);s&&s!==i&&L.getInstance(s).hide(),L.getOrCreateInstance(i).toggle(this)})),t.on(window,h,(()=>{for(const e of n.find(_))L.getOrCreateInstance(e).show()})),t.on(window,E,(()=>{for(const e of n.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&L.getOrCreateInstance(e).hide()})),s.enableDismissTrigger(L),r.defineJQueryPlugin(L),L}(T(),g(),S(),Dt(),P(),It(),p(),Ft())}({get exports(){return Rt},set exports(e){Rt=e}});var Bt,zt=Rt,Wt={},qt={get exports(){return Wt},set exports(e){Wt=e}},Vt={},Qt={};function Kt(){return Bt||(Bt=1,function(e,t){!function(e){const t={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],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,Qt)),Qt}var Ut,Xt={},Yt={get exports(){return Xt},set exports(e){Xt=e}};function Jt(){return Ut||(Ut=1,function(e,t){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,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}return l}(S(),A(),Kt(),p())}(Yt)),Xt}
/*!
* Bootstrap tooltip.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/!function(e,t){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"]),h="fade",d="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",O="focusin",C="focusout",k="mouseenter",L="mouseleave",D={AUTO:"auto",TOP:"top",RIGHT:s.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:s.isRTL()?"right":"left"},S={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"},P={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 $ extends t{constructor(e,t){if(void 0===l)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");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 S}static get DefaultType(){return P}static get NAME(){return c}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,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(d),"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(d),"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(h,d),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(h),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(h)}_isShown(){return this.tip&&this.tip.classList.contains(d)}_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])}_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,[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(k):this.constructor.eventName(O),i=t===m?this.constructor.eventName(L):this.constructor.eventName(C);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=$.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}return s.defineJQueryPlugin($),$}(At,T(),g(),E(),p(),Kt(),Jt())}({get exports(){return Vt},set exports(e){Vt=e}});var Gt=Vt;
/*!
* Bootstrap popover.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/!function(e,t){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}(Vt,p())}(qt);var Zt=Wt,en={};
/*!
* Bootstrap scrollspy.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
!function(e,t){e.exports=function(e,t,n,i){const s="scrollspy",o=".bs.scrollspy",r=`activate${o}`,a=`click${o}`,l=`load${o}.data-api`,c="dropdown-item",u="active",h='[data-bs-spy="scroll"]',d="[href]",f=".nav, .list-group",p=".nav-link",g=`${p}, .nav-item > ${p}, .list-group-item`,m=".dropdown",_=".dropdown-toggle",b={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},v={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class y 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 b}static get DefaultType(){return v}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,a),t.on(this._config.target,a,d,(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(d,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(u),this._activateParents(e),t.trigger(this._element,r,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(c))n.findOne(_,e.closest(m)).classList.add(u);else for(const t of n.parents(e,f))for(const e of n.prev(t,g))e.classList.add(u)}_clearActiveClass(e){e.classList.remove(u);const t=n.find(`${d}.${u}`,e);for(const e of t)e.classList.remove(u)}static jQueryInterface(e){return this.each((function(){const t=y.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,l,(()=>{for(const e of n.find(h))y.getOrCreateInstance(e)})),i.defineJQueryPlugin(y),y}(T(),g(),S(),p())}({get exports(){return en},set exports(e){en=e}});var tn=en,nn={};
/*!
* Bootstrap tab.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
!function(e,t){e.exports=function(e,t,n,i){const s="tab",o=".bs.tab",r=`hide${o}`,a=`hidden${o}`,l=`show${o}`,c=`shown${o}`,u=`click${o}`,h=`keydown${o}`,d=`load${o}`,f="ArrowLeft",p="ArrowRight",g="ArrowUp",m="ArrowDown",_="Home",b="End",v="active",y="fade",w="show",x="dropdown",E=".dropdown-toggle",A=".dropdown-menu",T=":not(.dropdown-toggle)",O='.list-group, .nav, [role="tablist"]',C=".nav-item, .list-group-item",k='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',L=`.nav-link${T}, .list-group-item${T}, [role="tab"]${T}, ${k}`,D=`.${v}[data-bs-toggle="tab"], .${v}[data-bs-toggle="pill"], .${v}[data-bs-toggle="list"]`;class S 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,r,{relatedTarget:e}):null;t.trigger(e,l,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,i){if(!e)return;e.classList.add(v),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,c,{relatedTarget:i})):e.classList.add(w)};this._queueCallback(s,e,e.classList.contains(y))}_deactivate(e,i){if(!e)return;e.classList.remove(v),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,a,{relatedTarget:i})):e.classList.remove(w)};this._queueCallback(s,e,e.classList.contains(y))}_keydown(e){if(![f,p,g,m,_,b].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter((e=>!i.isDisabled(e)));let n;if([_,b].includes(e.key))n=t[e.key===_?0:t.length-1];else{const s=[p,m].includes(e.key);n=i.getNextActiveElement(t,e.target,s,!0)}n&&(n.focus({preventScroll:!0}),S.getOrCreateInstance(n).show())}_getChildren(){return n.find(L,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(x))return;const s=(e,s)=>{const o=n.findOne(e,i);o&&o.classList.toggle(s,t)};s(E,v),s(A,w),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(v)}_getInnerElement(e){return e.matches(L)?e:n.findOne(L,e)}_getOuterElement(e){return e.closest(C)||e}static jQueryInterface(e){return this.each((function(){const t=S.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,u,k,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),i.isDisabled(this)||S.getOrCreateInstance(this).show()})),t.on(window,d,(()=>{for(const e of n.find(D))S.getOrCreateInstance(e)})),i.defineJQueryPlugin(S),S}(T(),g(),S(),p())}({get exports(){return nn},set exports(e){nn=e}});var sn=nn,on={};
/*!
* Bootstrap toast.js v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
!function(e,t){e.exports=function(e,t,n,i){const s="toast",o=".bs.toast",r=`mouseover${o}`,a=`mouseout${o}`,l=`focusin${o}`,c=`focusout${o}`,u=`hide${o}`,h=`hidden${o}`,d=`show${o}`,f=`shown${o}`,p="fade",g="hide",m="show",_="showing",b={animation:"boolean",autohide:"boolean",delay:"number"},v={animation:!0,autohide:!0,delay:5e3};class y extends e{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return v}static get DefaultType(){return b}static get NAME(){return s}show(){if(t.trigger(this._element,d).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(p);const e=()=>{this._element.classList.remove(_),t.trigger(this._element,f),this._maybeScheduleHide()};this._element.classList.remove(g),i.reflow(this._element),this._element.classList.add(m,_),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown())return;if(t.trigger(this._element,u).defaultPrevented)return;const e=()=>{this._element.classList.add(g),this._element.classList.remove(_,m),t.trigger(this._element,h)};this._element.classList.add(_),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(m),super.dispose()}isShown(){return this._element.classList.contains(m)}_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,r,(e=>this._onInteraction(e,!0))),t.on(this._element,a,(e=>this._onInteraction(e,!1))),t.on(this._element,l,(e=>this._onInteraction(e,!0))),t.on(this._element,c,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=y.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(y),i.defineJQueryPlugin(y),y}(T(),g(),P(),p())}({get exports(){return on},set exports(e){on=e}});var rn,an,ln,cn=on;rn=navigator.userAgent.toLowerCase().indexOf("webkit")>-1,an=navigator.userAgent.toLowerCase().indexOf("opera")>-1,ln=navigator.userAgent.toLowerCase().indexOf("msie")>-1,(rn||an||ln)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",(function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())}),!1),jQuery(document).ready((function(e){e(".story-body-image").each((function(t){e(this).parents(".wp-block-column").attr("style","background-image:url("+e(this).children("img").attr("src")+");"),e(this).children("img").hide()})),e(".story-body-image-full").each((function(t){e(this).parents(".wp-block-columns").attr("style","background-image:url("+e(this).children("img").attr("src")+");"),e(this).children("img").hide()})),document.addEventListener("wpcf7mailsent",(function(e){"6"==e.detail.contactFormId&&jQuery("#contest_popup").modal("show"),"108"==e.detail.contactFormId&&jQuery("#contact_popup").modal("show")}),!1),e(window).resize((function(){var t=e(".link-block.image-text .text"),n=0;t.each((function(){n=Math.max(n,e(this).outerHeight())})),t.css({height:n+"px"})})),e(document).ready((function(){var t=e(".link-block.image-text .text"),n=0;t.each((function(){n=Math.max(n,e(this).outerHeight())})),t.css({height:n+"px"})}))})),e.Alert=$,e.Button=N,e.Carousel=B,e.Collapse=W,e.Dropdown=Ot,e.Modal=Ht,e.Offcanvas=zt,e.Popover=Zt,e.Scrollspy=tn,e.Tab=sn,e.Toast=cn,e.Tooltip=Gt,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=child-theme.min.js.map