From bab23c4a007dae0e9b7513b7a1bd549981fd1d63 Mon Sep 17 00:00:00 2001 From: O Haran Date: Thu, 17 Oct 2024 19:47:20 -0400 Subject: [PATCH] Updates --- asset-manifest.json | 16 +- index.html | 2 +- static/js/main.03bae1e7.js | 3 + static/js/main.03bae1e7.js.LICENSE.txt | 259 +++++++++++++++++++++++++ static/js/main.03bae1e7.js.map | 1 + static/js/main.41fe132f.js | 3 - static/js/main.41fe132f.js.LICENSE.txt | 78 -------- static/js/main.41fe132f.js.map | 1 - 8 files changed, 272 insertions(+), 91 deletions(-) create mode 100644 static/js/main.03bae1e7.js create mode 100644 static/js/main.03bae1e7.js.LICENSE.txt create mode 100644 static/js/main.03bae1e7.js.map delete mode 100644 static/js/main.41fe132f.js delete mode 100644 static/js/main.41fe132f.js.LICENSE.txt delete mode 100644 static/js/main.41fe132f.js.map diff --git a/asset-manifest.json b/asset-manifest.json index a70c906..7f7a045 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,15 +1,15 @@ { "files": { - "main.css": "./static/css/main.79d19d76.css", - "main.js": "./static/js/main.41fe132f.js", - "static/js/453.3409cc7b.chunk.js": "./static/js/453.3409cc7b.chunk.js", - "index.html": "./index.html", - "main.79d19d76.css.map": "./static/css/main.79d19d76.css.map", - "main.41fe132f.js.map": "./static/js/main.41fe132f.js.map", - "453.3409cc7b.chunk.js.map": "./static/js/453.3409cc7b.chunk.js.map" + "main.css": "/static/css/main.79d19d76.css", + "main.js": "/static/js/main.03bae1e7.js", + "static/js/453.3409cc7b.chunk.js": "/static/js/453.3409cc7b.chunk.js", + "index.html": "/index.html", + "main.79d19d76.css.map": "/static/css/main.79d19d76.css.map", + "main.03bae1e7.js.map": "/static/js/main.03bae1e7.js.map", + "453.3409cc7b.chunk.js.map": "/static/js/453.3409cc7b.chunk.js.map" }, "entrypoints": [ "static/css/main.79d19d76.css", - "static/js/main.41fe132f.js" + "static/js/main.03bae1e7.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 82949cf..11747e5 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/static/js/main.03bae1e7.js b/static/js/main.03bae1e7.js new file mode 100644 index 0000000..643f622 --- /dev/null +++ b/static/js/main.03bae1e7.js @@ -0,0 +1,3 @@ +/*! For license information please see main.03bae1e7.js.LICENSE.txt */ +(()=>{var e={885:function(e){e.exports=function(){"use strict";const e=new Map,t={set(t,n,r){e.has(t)||e.set(t,new Map);const i=e.get(t);i.has(n)||0===i.size?i.set(n,r):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const r=e.get(t);r.delete(n),0===r.size&&e.delete(t)}},n="transitionend",r=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),i=e=>{e.dispatchEvent(new Event(n))},s=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),o=e=>s(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(r(e)):null,a=e=>{if(!s(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},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),u=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?u(e.parentNode):null},c=()=>{},h=e=>{e.offsetHeight},d=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,g=e=>{var t;t=()=>{const t=d();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of f)e()})),f.push(t)):t()},m=function(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?e(...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]):t},y=function(e,t){if(arguments.length>2&&void 0!==arguments[2]&&!arguments[2])return void m(e);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),i=Number.parseFloat(n);return r||i?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const o=r=>{let{target:i}=r;i===t&&(s=!0,t.removeEventListener(n,o),m(e))};t.addEventListener(n,o),setTimeout((()=>{s||i(t)}),r)},v=(e,t,n,r)=>{const i=e.length;let s=e.indexOf(t);return-1===s?!n&&r?e[i-1]:e[0]:(s+=n?1:-1,r&&(s=(s+i)%i),e[Math.max(0,Math.min(s,i-1))])},b=/[^.]*(?=\..*)\.|.*/,_=/\..*/,w=/::\d+$/,E={};let S=1;const k={mouseenter:"mouseover",mouseleave:"mouseout"},T=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 C(e,t){return t&&`${t}::${S++}`||e.uidEvent||S++}function A(e){const t=C(e);return e.uidEvent=t,E[t]=E[t]||{},E[t]}function I(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function x(e,t,n){const r="string"==typeof t,i=r?n:t||n;let s=L(e);return T.has(s)||(s=e),[r,i,s]}function N(e,t,n,r,i){if("string"!=typeof t||!e)return;let[s,o,a]=x(t,n,r);if(t in k){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const l=A(e),u=l[a]||(l[a]={}),c=I(u,o,s?n:null);if(c)return void(c.oneOff=c.oneOff&&i);const h=C(o,t.replace(b,"")),d=s?function(e,t,n){return function r(i){const s=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return P(i,{delegateTarget:o}),r.oneOff&&R.off(e,i.type,t,n),n.apply(o,[i])}}(e,n,o):function(e,t){return function n(r){return P(r,{delegateTarget:e}),n.oneOff&&R.off(e,r.type,t),t.apply(e,[r])}}(e,o);d.delegationSelector=s?n:null,d.callable=o,d.oneOff=i,d.uidEvent=h,u[h]=d,e.addEventListener(a,d,s)}function D(e,t,n,r,i){const s=I(t[n],r,i);s&&(e.removeEventListener(n,s,Boolean(i)),delete t[n][s.uidEvent])}function O(e,t,n,r){const i=t[n]||{};for(const[s,o]of Object.entries(i))s.includes(r)&&D(e,t,n,o.callable,o.delegationSelector)}function L(e){return e=e.replace(_,""),k[e]||e}const R={on(e,t,n,r){N(e,t,n,r,!1)},one(e,t,n,r){N(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[i,s,o]=x(t,n,r),a=o!==t,l=A(e),u=l[o]||{},c=t.startsWith(".");if(void 0===s){if(c)for(const n of Object.keys(l))O(e,l,n,t.slice(1));for(const[n,r]of Object.entries(u)){const i=n.replace(w,"");a&&!t.includes(i)||D(e,l,o,r.callable,r.delegationSelector)}}else{if(!Object.keys(u).length)return;D(e,l,o,s,i?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const r=d();let i=null,s=!0,o=!0,a=!1;t!==L(t)&&r&&(i=r.Event(t,n),r(e).trigger(i),s=!i.isPropagationStopped(),o=!i.isImmediatePropagationStopped(),a=i.isDefaultPrevented());const l=P(new Event(t,{bubbles:s,cancelable:!0}),n);return a&&l.preventDefault(),o&&e.dispatchEvent(l),l.defaultPrevented&&i&&i.preventDefault(),l}};function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const[n,r]of Object.entries(t))try{e[n]=r}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>r})}return e}function M(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 F(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const U={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${F(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${F(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=M(e.dataset[r])}return t},getDataAttribute:(e,t)=>M(e.getAttribute(`data-bs-${F(t)}`))};class V{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=s(t)?U.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...s(t)?U.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType;for(const[r,i]of Object.entries(t)){const t=e[r],o=s(t)?"element":null==(n=t)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`)}var n}}class z extends V{constructor(e,n){super(),(e=o(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),R.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t){y(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(o(e),this.DATA_KEY)}static getOrCreateInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const j=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map((e=>r(e))).join(","):null},B={find:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!l(e)&&a(e)))},getSelectorFromElement(e){const t=j(e);return t&&B.findOne(t)?t:null},getElementFromSelector(e){const t=j(e);return t?B.findOne(t):null},getMultipleElementsFromSelector(e){const t=j(e);return t?B.find(t):[]}},$=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hide";const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;R.on(document,n,`[data-bs-dismiss="${r}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),l(this))return;const i=B.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()}))},q=".bs.alert",H=`close${q}`,W=`closed${q}`;class K extends z{static get NAME(){return"alert"}close(){if(R.trigger(this._element,H).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),R.trigger(this._element,W),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=K.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)}}))}}$(K,"close"),g(K);const Q='[data-bs-toggle="button"]';class G extends z{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=G.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}R.on(document,"click.bs.button.data-api",Q,(e=>{e.preventDefault();const t=e.target.closest(Q);G.getOrCreateInstance(t).toggle()})),g(G);const X=".bs.swipe",Y=`touchstart${X}`,J=`touchmove${X}`,Z=`touchend${X}`,ee=`pointerdown${X}`,te=`pointerup${X}`,ne={endCallback:null,leftCallback:null,rightCallback:null},re={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ie extends V{constructor(e,t){super(),this._element=e,e&&ie.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ne}static get DefaultType(){return re}static get NAME(){return"swipe"}dispose(){R.off(this._element,X)}_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(),m(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<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&m(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(R.on(this._element,ee,(e=>this._start(e))),R.on(this._element,te,(e=>this._end(e))),this._element.classList.add("pointer-event")):(R.on(this._element,Y,(e=>this._start(e))),R.on(this._element,J,(e=>this._move(e))),R.on(this._element,Z,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const se=".bs.carousel",oe=".data-api",ae="next",le="prev",ue="left",ce="right",he=`slide${se}`,de=`slid${se}`,fe=`keydown${se}`,pe=`mouseenter${se}`,ge=`mouseleave${se}`,me=`dragstart${se}`,ye=`load${se}${oe}`,ve=`click${se}${oe}`,be="carousel",_e="active",we=".active",Ee=".carousel-item",Se=we+Ee,ke={ArrowLeft:ce,ArrowRight:ue},Te={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ce={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ae extends z{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=B.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===be&&this.cycle()}static get Default(){return Te}static get DefaultType(){return Ce}static get NAME(){return"carousel"}next(){this._slide(ae)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(le)}pause(){this._isSliding&&i(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?R.one(this._element,de,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void R.one(this._element,de,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const r=e>n?ae:le;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&R.on(this._element,fe,(e=>this._keydown(e))),"hover"===this._config.pause&&(R.on(this._element,pe,(()=>this.pause())),R.on(this._element,ge,(()=>this._maybeEnableCycle()))),this._config.touch&&ie.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of B.find(".carousel-item img",this._element))R.on(t,me,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(ue)),rightCallback:()=>this._slide(this._directionToOrder(ce)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ie(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ke[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=B.findOne(we,this._indicatorsElement);t.classList.remove(_e),t.removeAttribute("aria-current");const n=B.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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this._isSliding)return;const n=this._getActive(),r=e===ae,i=t||v(this._getItems(),n,r,this._config.wrap);if(i===n)return;const s=this._getItemIndex(i),o=t=>R.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:s});if(o(he).defaultPrevented)return;if(!n||!i)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const l=r?"carousel-item-start":"carousel-item-end",u=r?"carousel-item-next":"carousel-item-prev";i.classList.add(u),h(i),n.classList.add(l),i.classList.add(l),this._queueCallback((()=>{i.classList.remove(l,u),i.classList.add(_e),n.classList.remove(_e,u,l),this._isSliding=!1,o(de)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return B.findOne(Se,this._element)}_getItems(){return B.find(Ee,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return p()?e===ue?le:ae:e===ue?ae:le}_orderToDirection(e){return p()?e===le?ue:ce:e===le?ce:ue}static jQueryInterface(e){return this.each((function(){const t=Ae.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)}))}}R.on(document,ve,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=B.getElementFromSelector(this);if(!t||!t.classList.contains(be))return;e.preventDefault();const n=Ae.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===U.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),R.on(window,ye,(()=>{const e=B.find('[data-bs-ride="carousel"]');for(const t of e)Ae.getOrCreateInstance(t)})),g(Ae);const Ie=".bs.collapse",xe=`show${Ie}`,Ne=`shown${Ie}`,De=`hide${Ie}`,Oe=`hidden${Ie}`,Le=`click${Ie}.data-api`,Re="show",Pe="collapse",Me="collapsing",Fe=`:scope .${Pe} .${Pe}`,Ue='[data-bs-toggle="collapse"]',Ve={parent:null,toggle:!0},ze={parent:"(null|element)",toggle:"boolean"};class je extends z{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=B.find(Ue);for(const r of n){const e=B.getSelectorFromElement(r),t=B.find(e).filter((e=>e===this._element));null!==e&&t.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ve}static get DefaultType(){return ze}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>je.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(R.trigger(this._element,xe).defaultPrevented)return;for(const r of e)r.hide();const t=this._getDimension();this._element.classList.remove(Pe),this._element.classList.add(Me),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Me),this._element.classList.add(Pe,Re),this._element.style[t]="",R.trigger(this._element,Ne)}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(R.trigger(this._element,De).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,h(this._element),this._element.classList.add(Me),this._element.classList.remove(Pe,Re);for(const t of this._triggerArray){const e=B.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Me),this._element.classList.add(Pe),R.trigger(this._element,Oe)}),this._element,!0)}_isShown(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(Re)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=o(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ue);for(const t of e){const e=B.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=B.find(Fe,this._config.parent);return B.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!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=je.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}R.on(document,Le,Ue,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const t of B.getMultipleElementsFromSelector(this))je.getOrCreateInstance(t,{toggle:!1}).toggle()})),g(je);var Be="top",$e="bottom",qe="right",He="left",We="auto",Ke=[Be,$e,qe,He],Qe="start",Ge="end",Xe="clippingParents",Ye="viewport",Je="popper",Ze="reference",et=Ke.reduce((function(e,t){return e.concat([t+"-"+Qe,t+"-"+Ge])}),[]),tt=[].concat(Ke,[We]).reduce((function(e,t){return e.concat([t,t+"-"+Qe,t+"-"+Ge])}),[]),nt="beforeRead",rt="read",it="afterRead",st="beforeMain",ot="main",at="afterMain",lt="beforeWrite",ut="write",ct="afterWrite",ht=[nt,rt,it,st,ot,at,lt,ut,ct];function dt(e){return e?(e.nodeName||"").toLowerCase():null}function ft(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pt(e){return e instanceof ft(e).Element||e instanceof Element}function gt(e){return e instanceof ft(e).HTMLElement||e instanceof HTMLElement}function mt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ft(e).ShadowRoot||e instanceof ShadowRoot)}const yt={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]||{},r=t.attributes[e]||{},i=t.elements[e];gt(i)&&dt(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.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 r=t.elements[e],i=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});gt(r)&&dt(r)&&(Object.assign(r.style,s),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function vt(e){return e.split("-")[0]}var bt=Math.max,_t=Math.min,wt=Math.round;function Et(){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 St(){return!/^((?!chrome|android).)*safari/i.test(Et())}function kt(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,s=1;t&>(e)&&(i=e.offsetWidth>0&&wt(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&wt(r.height)/e.offsetHeight||1);var o=(pt(e)?ft(e):window).visualViewport,a=!St()&&n,l=(r.left+(a&&o?o.offsetLeft:0))/i,u=(r.top+(a&&o?o.offsetTop:0))/s,c=r.width/i,h=r.height/s;return{width:c,height:h,top:u,right:l+c,bottom:u+h,left:l,x:l,y:u}}function Tt(e){var t=kt(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ct(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&mt(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function At(e){return ft(e).getComputedStyle(e)}function It(e){return["table","td","th"].indexOf(dt(e))>=0}function xt(e){return((pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nt(e){return"html"===dt(e)?e:e.assignedSlot||e.parentNode||(mt(e)?e.host:null)||xt(e)}function Dt(e){return gt(e)&&"fixed"!==At(e).position?e.offsetParent:null}function Ot(e){for(var t=ft(e),n=Dt(e);n&&It(n)&&"static"===At(n).position;)n=Dt(n);return n&&("html"===dt(n)||"body"===dt(n)&&"static"===At(n).position)?t:n||function(e){var t=/firefox/i.test(Et());if(/Trident/i.test(Et())&>(e)&&"fixed"===At(e).position)return null;var n=Nt(e);for(mt(n)&&(n=n.host);gt(n)&&["html","body"].indexOf(dt(n))<0;){var r=At(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Lt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Rt(e,t,n){return bt(e,_t(t,n))}function Pt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Mt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Ft={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=vt(n.placement),l=Lt(a),u=[He,qe].indexOf(a)>=0?"height":"width";if(s&&o){var c=function(e,t){return Pt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Mt(e,Ke))}(i.padding,n),h=Tt(s),d="y"===l?Be:He,f="y"===l?$e:qe,p=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],m=Ot(s),y=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,v=p/2-g/2,b=c[d],_=y-h[u]-c[f],w=y/2-h[u]/2+v,E=Rt(b,w,_),S=l;n.modifiersData[r]=((t={})[S]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Ct(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ut(e){return e.split("-")[1]}var Vt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zt(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,h=e.isFixed,d=o.x,f=void 0===d?0:d,p=o.y,g=void 0===p?0:p,m="function"==typeof c?c({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var y=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),b=He,_=Be,w=window;if(u){var E=Ot(n),S="clientHeight",k="clientWidth";E===ft(n)&&"static"!==At(E=xt(n)).position&&"absolute"===a&&(S="scrollHeight",k="scrollWidth"),(i===Be||(i===He||i===qe)&&s===Ge)&&(_=$e,g-=(h&&E===w&&w.visualViewport?w.visualViewport.height:E[S])-r.height,g*=l?1:-1),i!==He&&(i!==Be&&i!==$e||s!==Ge)||(b=qe,f-=(h&&E===w&&w.visualViewport?w.visualViewport.width:E[k])-r.width,f*=l?1:-1)}var T,C=Object.assign({position:a},u&&Vt),A=!0===c?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:wt(n*i)/i||0,y:wt(r*i)/i||0}}({x:f,y:g},ft(n)):{x:f,y:g};return f=A.x,g=A.y,l?Object.assign({},C,((T={})[_]=v?"0":"",T[b]=y?"0":"",T.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",T)):Object.assign({},C,((t={})[_]=v?g+"px":"",t[b]=y?f+"px":"",t.transform="",t))}const jt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,s=n.adaptive,o=void 0===s||s,a=n.roundOffsets,l=void 0===a||a,u={placement:vt(t.placement),variation:Ut(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,zt(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,zt(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var Bt={passive:!0};const $t={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=void 0===i||i,o=r.resize,a=void 0===o||o,l=ft(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach((function(e){e.addEventListener("scroll",n.update,Bt)})),a&&l.addEventListener("resize",n.update,Bt),function(){s&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Bt)})),a&&l.removeEventListener("resize",n.update,Bt)}},data:{}};var qt={left:"right",right:"left",bottom:"top",top:"bottom"};function Ht(e){return e.replace(/left|right|bottom|top/g,(function(e){return qt[e]}))}var Wt={start:"end",end:"start"};function Kt(e){return e.replace(/start|end/g,(function(e){return Wt[e]}))}function Qt(e){var t=ft(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gt(e){return kt(xt(e)).left+Qt(e).scrollLeft}function Xt(e){var t=At(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Yt(e){return["html","body","#document"].indexOf(dt(e))>=0?e.ownerDocument.body:gt(e)&&Xt(e)?e:Yt(Nt(e))}function Jt(e,t){var n;void 0===t&&(t=[]);var r=Yt(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),s=ft(r),o=i?[s].concat(s.visualViewport||[],Xt(r)?r:[]):r,a=t.concat(o);return i?a:a.concat(Jt(Nt(o)))}function Zt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){return t===Ye?Zt(function(e,t){var n=ft(e),r=xt(e),i=n.visualViewport,s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var u=St();(u||!u&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+Gt(e),y:l}}(e,n)):pt(t)?function(e,t){var n=kt(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):Zt(function(e){var t,n=xt(e),r=Qt(e),i=null==(t=e.ownerDocument)?void 0:t.body,s=bt(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=bt(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Gt(e),l=-r.scrollTop;return"rtl"===At(i||n).direction&&(a+=bt(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(xt(e)))}function tn(e){var t,n=e.reference,r=e.element,i=e.placement,s=i?vt(i):null,o=i?Ut(i):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(s){case Be:t={x:a,y:n.y-r.height};break;case $e:t={x:a,y:n.y+n.height};break;case qe:t={x:n.x+n.width,y:l};break;case He:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=s?Lt(s):null;if(null!=u){var c="y"===u?"height":"width";switch(o){case Qe:t[u]=t[u]-(n[c]/2-r[c]/2);break;case Ge:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function nn(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,s=n.strategy,o=void 0===s?e.strategy:s,a=n.boundary,l=void 0===a?Xe:a,u=n.rootBoundary,c=void 0===u?Ye:u,h=n.elementContext,d=void 0===h?Je:h,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,m=void 0===g?0:g,y=Pt("number"!=typeof m?m:Mt(m,Ke)),v=d===Je?Ze:Je,b=e.rects.popper,_=e.elements[p?v:d],w=function(e,t,n,r){var i="clippingParents"===t?function(e){var t=Jt(Nt(e)),n=["absolute","fixed"].indexOf(At(e).position)>=0&>(e)?Ot(e):e;return pt(n)?t.filter((function(e){return pt(e)&&Ct(e,n)&&"body"!==dt(e)})):[]}(e):[].concat(t),s=[].concat(i,[n]),o=s[0],a=s.reduce((function(t,n){var i=en(e,n,r);return t.top=bt(i.top,t.top),t.right=_t(i.right,t.right),t.bottom=_t(i.bottom,t.bottom),t.left=bt(i.left,t.left),t}),en(e,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(pt(_)?_:_.contextElement||xt(e.elements.popper),l,c,o),E=kt(e.elements.reference),S=tn({reference:E,element:b,strategy:"absolute",placement:i}),k=Zt(Object.assign({},b,S)),T=d===Je?k:E,C={top:w.top-T.top+y.top,bottom:T.bottom-w.bottom+y.bottom,left:w.left-T.left+y.left,right:T.right-w.right+y.right},A=e.modifiersData.offset;if(d===Je&&A){var I=A[i];Object.keys(C).forEach((function(e){var t=[qe,$e].indexOf(e)>=0?1:-1,n=[Be,$e].indexOf(e)>=0?"y":"x";C[e]+=I[n]*t}))}return C}function rn(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?tt:l,c=Ut(r),h=c?a?et:et.filter((function(e){return Ut(e)===c})):Ke,d=h.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=h);var f=d.reduce((function(t,n){return t[n]=nn(e,{placement:n,boundary:i,rootBoundary:s,padding:o})[vt(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}const sn={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=void 0===i||i,o=n.altAxis,a=void 0===o||o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,h=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,y=vt(m),v=l||(y!==m&&p?function(e){if(vt(e)===We)return[];var t=Ht(e);return[Kt(e),t,Kt(t)]}(m):[Ht(m)]),b=[m].concat(v).reduce((function(e,n){return e.concat(vt(n)===We?rn(t,{placement:n,boundary:c,rootBoundary:h,padding:u,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),_=t.rects.reference,w=t.rects.popper,E=new Map,S=!0,k=b[0],T=0;T=0,N=x?"width":"height",D=nn(t,{placement:C,boundary:c,rootBoundary:h,altBoundary:d,padding:u}),O=x?I?qe:He:I?$e:Be;_[N]>w[N]&&(O=Ht(O));var L=Ht(O),R=[];if(s&&R.push(D[A]<=0),a&&R.push(D[O]<=0,D[L]<=0),R.every((function(e){return e}))){k=C,S=!1;break}E.set(C,R)}if(S)for(var P=function(e){var t=b.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},M=p?3:1;M>0&&"break"!==P(M);M--);t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function on(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 an(e){return[Be,qe,$e,He].some((function(t){return e[t]>=0}))}const ln={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,o=nn(t,{elementContext:"reference"}),a=nn(t,{altBoundary:!0}),l=on(o,r),u=on(a,i,s),c=an(l),h=an(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}},un={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=void 0===i?[0,0]:i,o=tt.reduce((function(e,n){return e[n]=function(e,t,n){var r=vt(e),i=[He,Be].indexOf(r)>=0?-1:1,s="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[He,qe].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}(n,t.rects,s),e}),{}),a=o[t.placement],l=a.x,u=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}},cn={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=tn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},hn={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=void 0===i||i,o=n.altAxis,a=void 0!==o&&o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,h=n.padding,d=n.tether,f=void 0===d||d,p=n.tetherOffset,g=void 0===p?0:p,m=nn(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),y=vt(t.placement),v=Ut(t.placement),b=!v,_=Lt(y),w="x"===_?"y":"x",E=t.modifiersData.popperOffsets,S=t.rects.reference,k=t.rects.popper,T="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,C="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(E){if(s){var x,N="y"===_?Be:He,D="y"===_?$e:qe,O="y"===_?"height":"width",L=E[_],R=L+m[N],P=L-m[D],M=f?-k[O]/2:0,F=v===Qe?S[O]:k[O],U=v===Qe?-k[O]:-S[O],V=t.elements.arrow,z=f&&V?Tt(V):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=j[N],$=j[D],q=Rt(0,S[O],z[O]),H=b?S[O]/2-M-q-B-C.mainAxis:F-q-B-C.mainAxis,W=b?-S[O]/2+M+q+$+C.mainAxis:U+q+$+C.mainAxis,K=t.elements.arrow&&Ot(t.elements.arrow),Q=K?"y"===_?K.clientTop||0:K.clientLeft||0:0,G=null!=(x=null==A?void 0:A[_])?x:0,X=L+W-G,Y=Rt(f?_t(R,L+H-G-Q):R,L,f?bt(P,X):P);E[_]=Y,I[_]=Y-L}if(a){var J,Z="x"===_?Be:He,ee="x"===_?$e:qe,te=E[w],ne="y"===w?"height":"width",re=te+m[Z],ie=te-m[ee],se=-1!==[Be,He].indexOf(y),oe=null!=(J=null==A?void 0:A[w])?J:0,ae=se?re:te-S[ne]-k[ne]-oe+C.altAxis,le=se?te+S[ne]+k[ne]-oe-C.altAxis:ie,ue=f&&se?function(e,t,n){var r=Rt(e,t,n);return r>n?n:r}(ae,te,le):Rt(f?ae:re,te,f?le:ie);E[w]=ue,I[w]=ue-te}t.modifiersData[r]=I}},requiresIfExists:["offset"]};function dn(e,t,n){void 0===n&&(n=!1);var r,i,s=gt(t),o=gt(t)&&function(e){var t=e.getBoundingClientRect(),n=wt(t.width)/e.offsetWidth||1,r=wt(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=xt(t),l=kt(e,o,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&(("body"!==dt(t)||Xt(a))&&(u=(r=t)!==ft(r)&>(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Qt(r)),gt(t)?((c=kt(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Gt(a))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function fn(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var pn={placement:"bottom",modifiers:[],strategy:"absolute"};function gn(){for(var e=arguments.length,t=new Array(e),n=0;nNumber.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)&&(U.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...m(this._config.popperConfig,[e])}}_selectMenuItem(e){let{key:t,target:n}=e;const r=B.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>a(e)));r.length&&v(r,n,t===Tn,!r.includes(n)).focus()}static jQueryInterface(e){return this.each((function(){const t=Hn.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(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=B.find(Pn);for(const n of t){const t=Hn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const r=e.composedPath(),i=r.includes(t._menu);if(r.includes(t._element)||"inside"===t._config.autoClose&&!i||"outside"===t._config.autoClose&&i)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const s={relatedTarget:t._element};"click"===e.type&&(s.clickEvent=e),t._completeHide(s)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,r=[kn,Tn].includes(e.key);if(!r&&!n)return;if(t&&!n)return;e.preventDefault();const i=this.matches(Rn)?this:B.prev(this,Rn)[0]||B.next(this,Rn)[0]||B.findOne(Rn,e.delegateTarget.parentNode),s=Hn.getOrCreateInstance(i);if(r)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}R.on(document,Dn,Rn,Hn.dataApiKeydownHandler),R.on(document,Dn,Mn,Hn.dataApiKeydownHandler),R.on(document,Nn,Hn.clearMenus),R.on(document,On,Hn.clearMenus),R.on(document,Nn,Rn,(function(e){e.preventDefault(),Hn.getOrCreateInstance(this).toggle()})),g(Hn);const Wn="backdrop",Kn="show",Qn=`mousedown.bs.${Wn}`,Gn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Xn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Yn extends V{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Gn}static get DefaultType(){return Xn}static get NAME(){return Wn}show(e){if(!this._config.isVisible)return void m(e);this._append();const t=this._getElement();this._config.isAnimated&&h(t),t.classList.add(Kn),this._emulateAnimation((()=>{m(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Kn),this._emulateAnimation((()=>{this.dispose(),m(e)}))):m(e)}dispose(){this._isAppended&&(R.off(this._element,Qn),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("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=o(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),R.on(e,Qn,(()=>{m(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){y(e,this._getElement(),this._config.isAnimated)}}const Jn=".bs.focustrap",Zn=`focusin${Jn}`,er=`keydown.tab${Jn}`,tr="backward",nr={autofocus:!0,trapElement:null},rr={autofocus:"boolean",trapElement:"element"};class ir extends V{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return nr}static get DefaultType(){return rr}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),R.off(document,Jn),R.on(document,Zn,(e=>this._handleFocusin(e))),R.on(document,er,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,R.off(document,Jn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=B.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===tr?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?tr:"forward")}}const sr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",or=".sticky-top",ar="padding-right",lr="margin-right";class ur{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,ar,(t=>t+e)),this._setElementAttributes(sr,ar,(t=>t+e)),this._setElementAttributes(or,lr,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ar),this._resetElementAttributes(sr,ar),this._resetElementAttributes(or,lr)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const r=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);const i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&U.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=U.getDataAttribute(e,t);null!==n?(U.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(s(e))t(e);else for(const n of B.find(e,this._element))t(n)}}const cr=".bs.modal",hr=`hide${cr}`,dr=`hidePrevented${cr}`,fr=`hidden${cr}`,pr=`show${cr}`,gr=`shown${cr}`,mr=`resize${cr}`,yr=`click.dismiss${cr}`,vr=`mousedown.dismiss${cr}`,br=`keydown.dismiss${cr}`,_r=`click${cr}.data-api`,wr="modal-open",Er="show",Sr="modal-static",kr={backdrop:!0,focus:!0,keyboard:!0},Tr={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Cr extends z{constructor(e,t){super(e,t),this._dialog=B.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ur,this._addEventListeners()}static get Default(){return kr}static get DefaultType(){return Tr}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||R.trigger(this._element,pr,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(wr),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(R.trigger(this._element,hr).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Er),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){R.off(window,cr),R.off(this._dialog,cr),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Yn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ir({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 t=B.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),h(this._element),this._element.classList.add(Er),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,R.trigger(this._element,gr,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){R.on(this._element,br,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),R.on(window,mr,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),R.on(this._element,vr,(e=>{R.one(this._element,yr,(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(wr),this._resetAdjustments(),this._scrollBar.reset(),R.trigger(this._element,fr)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(R.trigger(this._element,dr).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Sr)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Sr),this._queueCallback((()=>{this._element.classList.remove(Sr),this._queueCallback((()=>{this._element.style.overflowY=t}),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=p()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=p()?"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=Cr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}R.on(document,_r,'[data-bs-toggle="modal"]',(function(e){const t=B.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),R.one(t,pr,(e=>{e.defaultPrevented||R.one(t,fr,(()=>{a(this)&&this.focus()}))}));const n=B.findOne(".modal.show");n&&Cr.getInstance(n).hide(),Cr.getOrCreateInstance(t).toggle(this)})),$(Cr),g(Cr);const Ar=".bs.offcanvas",Ir=".data-api",xr=`load${Ar}${Ir}`,Nr="show",Dr="showing",Or="hiding",Lr=".offcanvas.show",Rr=`show${Ar}`,Pr=`shown${Ar}`,Mr=`hide${Ar}`,Fr=`hidePrevented${Ar}`,Ur=`hidden${Ar}`,Vr=`resize${Ar}`,zr=`click${Ar}${Ir}`,jr=`keydown.dismiss${Ar}`,Br={backdrop:!0,keyboard:!0,scroll:!1},$r={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class qr extends z{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Br}static get DefaultType(){return $r}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||R.trigger(this._element,Rr,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new ur).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Dr),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Nr),this._element.classList.remove(Dr),R.trigger(this._element,Pr,{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(R.trigger(this._element,Mr).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Or),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Nr,Or),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new ur).reset(),R.trigger(this._element,Ur)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Yn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():R.trigger(this._element,Fr)}:null})}_initializeFocusTrap(){return new ir({trapElement:this._element})}_addEventListeners(){R.on(this._element,jr,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():R.trigger(this._element,Fr))}))}static jQueryInterface(e){return this.each((function(){const t=qr.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)}}))}}R.on(document,zr,'[data-bs-toggle="offcanvas"]',(function(e){const t=B.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;R.one(t,Ur,(()=>{a(this)&&this.focus()}));const n=B.findOne(Lr);n&&n!==t&&qr.getInstance(n).hide(),qr.getOrCreateInstance(t).toggle(this)})),R.on(window,xr,(()=>{for(const e of B.find(Lr))qr.getOrCreateInstance(e).show()})),R.on(window,Vr,(()=>{for(const e of B.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&qr.getOrCreateInstance(e).hide()})),$(qr),g(qr);const Hr={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Wr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Kr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Qr=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Wr.has(n)||Boolean(Kr.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))},Gr={allowList:Hr,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Xr={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Yr={entry:"(string|element|function|null)",selector:"(string|element)"};class Jr extends V{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Gr}static get DefaultType(){return Xr}static get NAME(){return"TemplateFactory"}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[r,i]of Object.entries(this._config.content))this._setContent(e,i,r);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},Yr)}_setContent(e,t,n){const r=B.findOne(n,e);r&&((t=this._resolvePossibleFunction(t))?s(t)?this._putElementInTemplate(o(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const r=(new window.DOMParser).parseFromString(e,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const s of i){const e=s.nodeName.toLowerCase();if(!Object.keys(t).includes(e)){s.remove();continue}const n=[].concat(...s.attributes),r=[].concat(t["*"]||[],t[e]||[]);for(const t of n)Qr(t,r)||s.removeAttribute(t.nodeName)}return r.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return m(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Zr=new Set(["sanitize","allowList","sanitizeFn"]),ei="fade",ti="show",ni=".modal",ri="hide.bs.modal",ii="hover",si="focus",oi={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},ai={allowList:Hr,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:'',title:"",trigger:"hover focus"},li={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 ui extends z{constructor(e,t){if(void 0===_n)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 ai}static get DefaultType(){return li}static get NAME(){return"tooltip"}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),R.off(this._element.closest(ni),ri,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=R.trigger(this._element,this.constructor.eventName("show")),t=(u(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),R.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(ti),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))R.on(i,"mouseover",c);this._queueCallback((()=>{R.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!R.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(ti),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))R.off(e,"mouseover",c);this._activeTrigger.click=!1,this._activeTrigger[si]=!1,this._activeTrigger[ii]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),R.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(ei,ti),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(ei),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Jr({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":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(ei)}_isShown(){return this.tip&&this.tip.classList.contains(ti)}_createPopper(e){const t=m(this._config.placement,[this,e,this._element]),n=oi[t.toUpperCase()];return bn(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 m(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,...m(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)R.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===ii?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===ii?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");R.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?si:ii]=!0,t._enter()})),R.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?si:ii]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},R.on(this._element.closest(ni),ri,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=U.getDataAttributes(this._element);for(const n of Object.keys(t))Zr.has(n)&&delete t[n];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:o(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=ui.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}g(ui);const ci={...ui.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},hi={...ui.DefaultType,content:"(null|string|element|function)"};class di extends ui{static get Default(){return ci}static get DefaultType(){return hi}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=di.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}g(di);const fi=".bs.scrollspy",pi=`activate${fi}`,gi=`click${fi}`,mi=`load${fi}.data-api`,yi="active",vi="[href]",bi=".nav-link",_i=`${bi}, .nav-item > ${bi}, .list-group-item`,wi={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ei={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Si extends z{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 wi}static get DefaultType(){return Ei}static get NAME(){return"scrollspy"}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=o(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&&(R.off(this._config.target,gi),R.on(this._config.target,gi,vi,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:r,behavior:"smooth"});n.scrollTop=r}})))}_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))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const e=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(s),!r)return}else i||e||n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=B.find(vi,this._config.target);for(const t of e){if(!t.hash||l(t))continue;const e=B.findOne(decodeURI(t.hash),this._element);a(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(yi),this._activateParents(e),R.trigger(this._element,pi,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))B.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(yi);else for(const t of B.parents(e,".nav, .list-group"))for(const e of B.prev(t,_i))e.classList.add(yi)}_clearActiveClass(e){e.classList.remove(yi);const t=B.find(`${vi}.${yi}`,e);for(const n of t)n.classList.remove(yi)}static jQueryInterface(e){return this.each((function(){const t=Si.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]()}}))}}R.on(window,mi,(()=>{for(const e of B.find('[data-bs-spy="scroll"]'))Si.getOrCreateInstance(e)})),g(Si);const ki=".bs.tab",Ti=`hide${ki}`,Ci=`hidden${ki}`,Ai=`show${ki}`,Ii=`shown${ki}`,xi=`click${ki}`,Ni=`keydown${ki}`,Di=`load${ki}`,Oi="ArrowLeft",Li="ArrowRight",Ri="ArrowUp",Pi="ArrowDown",Mi="Home",Fi="End",Ui="active",Vi="fade",zi="show",ji=".dropdown-toggle",Bi=`:not(${ji})`,$i='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',qi=`.nav-link${Bi}, .list-group-item${Bi}, [role="tab"]${Bi}, ${$i}`,Hi=`.${Ui}[data-bs-toggle="tab"], .${Ui}[data-bs-toggle="pill"], .${Ui}[data-bs-toggle="list"]`;class Wi extends z{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),R.on(this._element,Ni,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?R.trigger(t,Ti,{relatedTarget:e}):null;R.trigger(e,Ai,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Ui),this._activate(B.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),R.trigger(e,Ii,{relatedTarget:t})):e.classList.add(zi)}),e,e.classList.contains(Vi)))}_deactivate(e,t){e&&(e.classList.remove(Ui),e.blur(),this._deactivate(B.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),R.trigger(e,Ci,{relatedTarget:t})):e.classList.remove(zi)}),e,e.classList.contains(Vi)))}_keydown(e){if(![Oi,Li,Ri,Pi,Mi,Fi].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter((e=>!l(e)));let n;if([Mi,Fi].includes(e.key))n=t[e.key===Mi?0:t.length-1];else{const r=[Li,Pi].includes(e.key);n=v(t,e.target,r,!0)}n&&(n.focus({preventScroll:!0}),Wi.getOrCreateInstance(n).show())}_getChildren(){return B.find(qi,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const n of t)this._setInitialAttributesOnChild(n)}_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=B.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const r=(e,r)=>{const i=B.findOne(e,n);i&&i.classList.toggle(r,t)};r(ji,Ui),r(".dropdown-menu",zi),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Ui)}_getInnerElement(e){return e.matches(qi)?e:B.findOne(qi,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Wi.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}R.on(document,xi,$i,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||Wi.getOrCreateInstance(this).show()})),R.on(window,Di,(()=>{for(const e of B.find(Hi))Wi.getOrCreateInstance(e)})),g(Wi);const Ki=".bs.toast",Qi=`mouseover${Ki}`,Gi=`mouseout${Ki}`,Xi=`focusin${Ki}`,Yi=`focusout${Ki}`,Ji=`hide${Ki}`,Zi=`hidden${Ki}`,es=`show${Ki}`,ts=`shown${Ki}`,ns="hide",rs="show",is="showing",ss={animation:"boolean",autohide:"boolean",delay:"number"},os={animation:!0,autohide:!0,delay:5e3};class as extends z{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return os}static get DefaultType(){return ss}static get NAME(){return"toast"}show(){R.trigger(this._element,es).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(ns),h(this._element),this._element.classList.add(rs,is),this._queueCallback((()=>{this._element.classList.remove(is),R.trigger(this._element,ts),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(R.trigger(this._element,Ji).defaultPrevented||(this._element.classList.add(is),this._queueCallback((()=>{this._element.classList.add(ns),this._element.classList.remove(is,rs),R.trigger(this._element,Zi)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(rs),super.dispose()}isShown(){return this._element.classList.contains(rs)}_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(){R.on(this._element,Qi,(e=>this._onInteraction(e,!0))),R.on(this._element,Gi,(e=>this._onInteraction(e,!1))),R.on(this._element,Xi,(e=>this._onInteraction(e,!0))),R.on(this._element,Yi,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=as.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return $(as),g(as),{Alert:K,Button:G,Carousel:Ae,Collapse:je,Dropdown:Hn,Modal:Cr,Offcanvas:qr,Popover:di,ScrollSpy:Si,Tab:Wi,Toast:as,Tooltip:ui}}()},730:(e,t,n)=>{"use strict";var r=n(43),i=n(853);function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n