marketplacepos 2.3.8 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/102.635de205af00df15.js +1 -0
- package/Marketplace/387.04d02414af56d750.js +1 -0
- package/Marketplace/3rdpartylicenses.txt +25 -0
- package/Marketplace/402.2999196dce334514.js +1 -0
- package/Marketplace/455.fc7663306b753727.js +1 -0
- package/Marketplace/458.c769122ade2c10ed.js +1 -0
- package/Marketplace/472.54413a4f69aa673d.js +1 -0
- package/Marketplace/585.9e916b668a91cc94.js +1 -0
- package/Marketplace/667.81e6162196d486da.js +1 -0
- package/Marketplace/{767.297995f3aba0da57.js → 767.79e23997e93fb6c3.js} +1 -1
- package/Marketplace/801.8eb1454f763d4534.js +1 -0
- package/Marketplace/882.b34c3cc6e65d7a17.js +1 -0
- package/Marketplace/970.d0e3ee1e2aec0db5.js +1 -0
- package/Marketplace/assets/lbd/_sidebar-and-main-panel.scss +0 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/main.f30bf3b0f501021c.js +1 -0
- package/Marketplace/runtime.d01f3ddbb2b8f1f2.js +1 -0
- package/Marketplace/scripts.6c7ffbfab0ec93ff.js +1 -0
- package/Marketplace/styles.296cdf56f9059ddb.css +39 -0
- package/package.json +1 -1
- package/Marketplace/146.e83dc5a5498a6408.js +0 -1
- package/Marketplace/288.9b236c96f7411cc2.js +0 -1
- package/Marketplace/327.36b24b9d7be528d8.js +0 -1
- package/Marketplace/402.76aaae9b8dfdc4fd.js +0 -1
- package/Marketplace/458.455af1a928a7caa9.js +0 -1
- package/Marketplace/466.02b13502d80588a2.js +0 -1
- package/Marketplace/472.2a25cc631023dd9d.js +0 -1
- package/Marketplace/585.c93552ac67f4550c.js +0 -1
- package/Marketplace/61.6bf2570c9c03e65d.js +0 -1
- package/Marketplace/970.3f4eb2182e0ed6ff.js +0 -1
- package/Marketplace/main.7b5711d2efb046b5.js +0 -1
- package/Marketplace/runtime.60ce88a49d8b2bf5.js +0 -1
- package/Marketplace/scripts.512baec01df5d79f.js +0 -1
- package/Marketplace/styles.84477c613818f650.css +0 -39
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";var e,v={},_={};function r(e){var n=_[e];if(void 0!==n)return n.exports;var t=_[e]={id:e,loaded:!1,exports:{}};return v[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=v,e=[],r.O=(n,t,f,i)=>{if(!t){var a=1/0;for(o=0;o<e.length;o++){for(var[t,f,i]=e[o],s=!0,d=0;d<t.length;d++)(!1&i||a>=i)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(s=!1,i<a&&(a=i));if(s){e.splice(o--,1);var l=f();void 0!==l&&(n=l)}}return n}i=i||0;for(var o=e.length;o>0&&e[o-1][2]>i;o--)e[o]=e[o-1];e[o]=[t,f,i]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var o={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(s=>o[s]=()=>t[s]);return o.default=()=>t,r.d(i,o),i}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>(592===e?"common":e)+"."+{6:"fc79ecc0c0a33462",102:"635de205af00df15",285:"1f547ef81e91fc15",387:"04d02414af56d750",402:"2999196dce334514",455:"fc7663306b753727",458:"c769122ade2c10ed",472:"54413a4f69aa673d",512:"84e77b4b4a7a1db7",585:"9e916b668a91cc94",592:"f2cd628914f2fae7",616:"507588c0a5d7b9e1",667:"81e6162196d486da",717:"5259a4803cce95ab",739:"82b92600f9519019",767:"79e23997e93fb6c3",796:"3be8ad424aad7864",801:"8eb1454f763d4534",882:"b34c3cc6e65d7a17",970:"d0e3ee1e2aec0db5"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="pos-marketplace:";r.l=(t,f,i,o)=>{if(e[t])e[t].push(f);else{var a,s;if(void 0!==i)for(var d=document.getElementsByTagName("script"),l=0;l<d.length;l++){var c=d[l];if(c.getAttribute("src")==t||c.getAttribute("data-webpack")==n+i){a=c;break}}a||(s=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",n+i),a.src=r.tu(t)),e[t]=[f];var p=(g,b)=>{a.onerror=a.onload=null,clearTimeout(u);var m=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),m&&m.forEach(h=>h(b)),g)return g(b)},u=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="https://cdn.jsdelivr.net/npm/marketplacepos@2.4.1/Marketplace/",(()=>{var e={666:0};r.f.j=(f,i)=>{var o=r.o(e,f)?e[f]:void 0;if(0!==o)if(o)i.push(o[2]);else if(666!=f){var a=new Promise((c,p)=>o=e[f]=[c,p]);i.push(o[2]=a);var s=r.p+r.u(f),d=new Error;r.l(s,c=>{if(r.o(e,f)&&(0!==(o=e[f])&&(e[f]=void 0),o)){var p=c&&("load"===c.type?"missing":c.type),u=c&&c.target&&c.target.src;d.message="Loading chunk "+f+" failed.\n("+p+": "+u+")",d.name="ChunkLoadError",d.type=p,d.request=u,o[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,i)=>{var d,l,[o,a,s]=i,c=0;if(o.some(u=>0!==e[u])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(s)var p=s(r)}for(f&&f(i);c<o.length;c++)r.o(e,l=o[c])&&e[l]&&e[l][0](),e[l]=0;return r.O(p)},t=self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(se,pe){"object"==typeof exports&&typeof module<"u"?module.exports=pe():"function"==typeof define&&define.amd?define(pe):se.Popper=pe()}(this,function(){"use strict";var se=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",pe=function(){for(var n=["Edge","Trident","Firefox"],o=0;o<n.length;o+=1)if(se&&navigator.userAgent.indexOf(n[o])>=0)return 1;return 0}(),_e=se&&window.Promise?function jt(n){var o=!1;return function(){o||(o=!0,window.Promise.resolve().then(function(){o=!1,n()}))}}:function ve(n){var o=!1;return function(){o||(o=!0,setTimeout(function(){o=!1,n()},pe))}};function be(n){return n&&"[object Function]"==={}.toString.call(n)}function ae(n,o){if(1!==n.nodeType)return[];var c=n.ownerDocument.defaultView.getComputedStyle(n,null);return o?c[o]:c}function me(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function Me(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var o=ae(n);return/(auto|scroll|overlay)/.test(o.overflow+o.overflowY+o.overflowX)?n:Me(me(n))}function Ye(n){return n&&n.referenceNode?n.referenceNode:n}var je=se&&!(!window.MSInputMethodContext||!document.documentMode),At=se&&/MSIE 10/.test(navigator.userAgent);function Ce(n){return 11===n?je:10===n?At:je||At}function U(n){if(!n)return document.documentElement;for(var o=Ce(10)?document.body:null,s=n.offsetParent||null;s===o&&n.nextElementSibling;)s=(n=n.nextElementSibling).offsetParent;var c=s&&s.nodeName;return c&&"BODY"!==c&&"HTML"!==c?-1!==["TH","TD","TABLE"].indexOf(s.nodeName)&&"static"===ae(s,"position")?U(s):s:n?n.ownerDocument.documentElement:document.documentElement}function de(n){return null!==n.parentNode?de(n.parentNode):n}function Ue(n,o){if(!(n&&n.nodeType&&o&&o.nodeType))return document.documentElement;var s=n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING,c=s?n:o,h=s?o:n,u=document.createRange();u.setStart(c,0),u.setEnd(h,0);var d=u.commonAncestorContainer;if(n!==d&&o!==d||c.contains(h))return function le(n){var o=n.nodeName;return"BODY"!==o&&("HTML"===o||U(n.firstElementChild)===n)}(d)?d:U(d);var g=de(n);return g.host?Ue(g.host,o):Ue(n,de(o).host)}function xe(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",s="top"===o?"scrollTop":"scrollLeft",c=n.nodeName;if("BODY"===c||"HTML"===c){var h=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||h;return u[s]}return n[s]}function fi(n,o){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=xe(o,"top"),h=xe(o,"left"),u=s?-1:1;return n.top+=c*u,n.bottom+=c*u,n.left+=h*u,n.right+=h*u,n}function Bt(n,o){var s="x"===o?"Left":"Top",c="Left"===s?"Right":"Bottom";return parseFloat(n["border"+s+"Width"])+parseFloat(n["border"+c+"Width"])}function Ft(n,o,s,c){return Math.max(o["offset"+n],o["scroll"+n],s["client"+n],s["offset"+n],s["scroll"+n],Ce(10)?parseInt(s["offset"+n])+parseInt(c["margin"+("Height"===n?"Top":"Left")])+parseInt(c["margin"+("Height"===n?"Bottom":"Right")]):0)}function ot(n){var o=n.body,s=n.documentElement,c=Ce(10)&&getComputedStyle(s);return{height:Ft("Height",o,s,c),width:Ft("Width",o,s,c)}}var Wt=function(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")},Rt=function(){function n(o,s){for(var c=0;c<s.length;c++){var h=s[c];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(o,h.key,h)}}return function(o,s,c){return s&&n(o.prototype,s),c&&n(o,c),o}}(),He=function(n,o,s){return o in n?Object.defineProperty(n,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[o]=s,n},te=Object.assign||function(n){for(var o=1;o<arguments.length;o++){var s=arguments[o];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(n[c]=s[c])}return n};function ye(n){return te({},n,{right:n.left+n.width,bottom:n.top+n.height})}function st(n){var o={};try{if(Ce(10)){o=n.getBoundingClientRect();var s=xe(n,"top"),c=xe(n,"left");o.top+=s,o.left+=c,o.bottom+=s,o.right+=c}else o=n.getBoundingClientRect()}catch{}var h={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},u="HTML"===n.nodeName?ot(n.ownerDocument):{},_=n.offsetWidth-(u.width||n.clientWidth||h.width),A=n.offsetHeight-(u.height||n.clientHeight||h.height);if(_||A){var O=ae(n);_-=Bt(O,"x"),A-=Bt(O,"y"),h.width-=_,h.height-=A}return ye(h)}function at(n,o){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=Ce(10),h="HTML"===o.nodeName,u=st(n),d=st(o),g=Me(n),_=ae(o),A=parseFloat(_.borderTopWidth),O=parseFloat(_.borderLeftWidth);s&&h&&(d.top=Math.max(d.top,0),d.left=Math.max(d.left,0));var w=ye({top:u.top-d.top-A,left:u.left-d.left-O,width:u.width,height:u.height});if(w.marginTop=0,w.marginLeft=0,!c&&h){var S=parseFloat(_.marginTop),T=parseFloat(_.marginLeft);w.top-=A-S,w.bottom-=A-S,w.left-=O-T,w.right-=O-T,w.marginTop=S,w.marginLeft=T}return(c&&!s?o.contains(g):o===g&&"BODY"!==g.nodeName)&&(w=fi(w,o)),w}function $t(n){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=n.ownerDocument.documentElement,c=at(n,s),h=Math.max(s.clientWidth,window.innerWidth||0),u=Math.max(s.clientHeight,window.innerHeight||0),d=o?0:xe(s),g=o?0:xe(s,"left"),_={top:d-c.top+c.marginTop,left:g-c.left+c.marginLeft,width:h,height:u};return ye(_)}function lt(n){var o=n.nodeName;if("BODY"===o||"HTML"===o)return!1;if("fixed"===ae(n,"position"))return!0;var s=me(n);return!!s&<(s)}function zt(n){if(!n||!n.parentElement||Ce())return document.documentElement;for(var o=n.parentElement;o&&"none"===ae(o,"transform");)o=o.parentElement;return o||document.documentElement}function ct(n,o,s,c){var h=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},d=h?zt(n):Ue(n,Ye(o));if("viewport"===c)u=$t(d,h);else{var g=void 0;"scrollParent"===c?"BODY"===(g=Me(me(o))).nodeName&&(g=n.ownerDocument.documentElement):g="window"===c?n.ownerDocument.documentElement:c;var _=at(g,d,h);if("HTML"!==g.nodeName||lt(d))u=_;else{var A=ot(n.ownerDocument),O=A.height,w=A.width;u.top+=_.top-_.marginTop,u.bottom=O+_.top,u.left+=_.left-_.marginLeft,u.right=w+_.left}}var S="number"==typeof(s=s||0);return u.left+=S?s:s.left||0,u.top+=S?s:s.top||0,u.right-=S?s:s.right||0,u.bottom-=S?s:s.bottom||0,u}function p(n){return n.width*n.height}function ft(n,o,s,c,h){var u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var d=ct(s,c,u,h),g={top:{width:d.width,height:o.top-d.top},right:{width:d.right-o.right,height:d.height},bottom:{width:d.width,height:d.bottom-o.bottom},left:{width:o.left-d.left,height:d.height}},_=Object.keys(g).map(function(S){return te({key:S},g[S],{area:p(g[S])})}).sort(function(S,T){return T.area-S.area}),A=_.filter(function(S){return S.width>=s.clientWidth&&S.height>=s.clientHeight}),O=A.length>0?A[0].key:_[0].key,w=n.split("-")[1];return O+(w?"-"+w:"")}function we(n,o,s){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,h=c?zt(o):Ue(o,Ye(s));return at(s,h,c)}function ut(n){var s=n.ownerDocument.defaultView.getComputedStyle(n),c=parseFloat(s.marginTop||0)+parseFloat(s.marginBottom||0),h=parseFloat(s.marginLeft||0)+parseFloat(s.marginRight||0);return{width:n.offsetWidth+h,height:n.offsetHeight+c}}function Ke(n){var o={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(s){return o[s]})}function ht(n,o,s){s=s.split("-")[0];var c=ut(n),h={width:c.width,height:c.height},u=-1!==["right","left"].indexOf(s),d=u?"top":"left",g=u?"left":"top",_=u?"height":"width",A=u?"width":"height";return h[d]=o[d]+o[_]/2-c[_]/2,h[g]=s===g?o[g]-c[A]:o[Ke(g)],h}function ie(n,o){return Array.prototype.find?n.find(o):n.filter(o)[0]}function ce(n,o,s){var c=void 0===s?n:n.slice(0,function Xe(n,o,s){if(Array.prototype.findIndex)return n.findIndex(function(h){return h[o]===s});var c=ie(n,function(h){return h[o]===s});return n.indexOf(c)}(n,"name",s));return c.forEach(function(h){h.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var u=h.function||h.fn;h.enabled&&be(u)&&(o.offsets.popper=ye(o.offsets.popper),o.offsets.reference=ye(o.offsets.reference),o=u(o,h))}),o}function dt(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=we(this.state,this.popper,this.reference,this.options.positionFixed),n.placement=ft(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),n.originalPlacement=n.placement,n.positionFixed=this.options.positionFixed,n.offsets.popper=ht(this.popper,n.offsets.reference,n.placement),n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",n=ce(this.modifiers,n),this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function Be(n,o){return n.some(function(s){return s.enabled&&s.name===o})}function pt(n){for(var o=[!1,"ms","Webkit","Moz","O"],s=n.charAt(0).toUpperCase()+n.slice(1),c=0;c<o.length;c++){var h=o[c],u=h?""+h+s:n;if(typeof document.body.style[u]<"u")return u}return null}function Qe(){return this.state.isDestroyed=!0,Be(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[pt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function N(n){var o=n.ownerDocument;return o?o.defaultView:window}function Vt(n,o,s,c){var h="BODY"===n.nodeName,u=h?n.ownerDocument.defaultView:n;u.addEventListener(o,s,{passive:!0}),h||Vt(Me(u.parentNode),o,s,c),c.push(u)}function ui(n,o,s,c){s.updateBound=c,N(n).addEventListener("resize",s.updateBound,{passive:!0});var h=Me(n);return Vt(h,"scroll",s.updateBound,s.scrollParents),s.scrollElement=h,s.eventsEnabled=!0,s}function mt(){this.state.eventsEnabled||(this.state=ui(this.reference,0,this.state,this.scheduleUpdate))}function Fe(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function Ge(n,o){return N(n).removeEventListener("resize",o.updateBound),o.scrollParents.forEach(function(s){s.removeEventListener("scroll",o.updateBound)}),o.updateBound=null,o.scrollParents=[],o.scrollElement=null,o.eventsEnabled=!1,o}(this.reference,this.state))}function Le(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function We(n,o){Object.keys(o).forEach(function(s){var c="";-1!==["width","height","top","right","bottom","left"].indexOf(s)&&Le(o[s])&&(c="px"),n.style[s]=o[s]+c})}var di=se&&/Firefox/i.test(navigator.userAgent);function ke(n,o,s){var c=ie(n,function(g){return g.name===o}),h=!!c&&n.some(function(g){return g.name===s&&g.enabled&&g.order<c.order});if(!h){var u="`"+o+"`";console.warn("`"+s+"` modifier is required by "+u+" modifier in order to work, be sure to include it before "+u+"!")}return h}var Ze=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Je=Ze.slice(3);function Yt(n){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=Je.indexOf(n),c=Je.slice(s+1).concat(Je.slice(0,s));return o?c.reverse():c}var xt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function $e(n){var o=n.placement,s=o.split("-")[0],c=o.split("-")[1];if(c){var h=n.offsets,u=h.reference,d=h.popper,g=-1!==["bottom","top"].indexOf(s),_=g?"left":"top",A=g?"width":"height",O={start:He({},_,u[_]),end:He({},_,u[_]+u[A]-d[A])};n.offsets.popper=te({},d,O[c])}return n}},offset:{order:200,enabled:!0,fn:function Z(n,o){var _,s=o.offset,h=n.offsets,u=h.popper,d=h.reference,g=n.placement.split("-")[0];return _=Le(+s)?[+s,0]:function re(n,o,s,c){var h=[0,0],u=-1!==["right","left"].indexOf(c),d=n.split(/(\+|\-)/).map(function(O){return O.trim()}),g=d.indexOf(ie(d,function(O){return-1!==O.search(/,|\s/)}));d[g]&&-1===d[g].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var _=/\s*,\s*|\s+/,A=-1!==g?[d.slice(0,g).concat([d[g].split(_)[0]]),[d[g].split(_)[1]].concat(d.slice(g+1))]:[d];return A=A.map(function(O,w){var S=(1===w?!u:u)?"height":"width",T=!1;return O.reduce(function(C,W){return""===C[C.length-1]&&-1!==["+","-"].indexOf(W)?(C[C.length-1]=W,T=!0,C):T?(C[C.length-1]+=W,T=!1,C):C.concat(W)},[]).map(function(C){return function ne(n,o,s,c){var h=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),u=+h[1],d=h[2];return u?0===d.indexOf("%")?ye("%p"===d?s:c)[o]/100*u:"vh"===d||"vw"===d?("vh"===d?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*u:u:n}(C,S,o,s)})}),A.forEach(function(O,w){O.forEach(function(S,T){Le(S)&&(h[w]+=S*("-"===O[T-1]?-1:1))})}),h}(s,u,d,g),"left"===g?(u.top+=_[0],u.left-=_[1]):"right"===g?(u.top+=_[0],u.left+=_[1]):"top"===g?(u.left+=_[0],u.top-=_[1]):"bottom"===g&&(u.left+=_[0],u.top+=_[1]),n.popper=u,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function _t(n,o){var s=o.boundariesElement||U(n.instance.popper);n.instance.reference===s&&(s=U(s));var c=pt("transform"),h=n.instance.popper.style,u=h.top,d=h.left,g=h[c];h.top="",h.left="",h[c]="";var _=ct(n.instance.popper,n.instance.reference,o.padding,s,n.positionFixed);h.top=u,h.left=d,h[c]=g,o.boundaries=_;var O=n.offsets.popper,w={primary:function(T){var C=O[T];return O[T]<_[T]&&!o.escapeWithReference&&(C=Math.max(O[T],_[T])),He({},T,C)},secondary:function(T){var C="right"===T?"left":"top",W=O[C];return O[T]>_[T]&&!o.escapeWithReference&&(W=Math.min(O[C],_[T]-("right"===T?O.width:O.height))),He({},C,W)}};return o.priority.forEach(function(S){var T=-1!==["left","top"].indexOf(S)?"primary":"secondary";O=te({},O,w[T](S))}),n.offsets.popper=O,n},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function G(n){var o=n.offsets,s=o.popper,c=o.reference,h=n.placement.split("-")[0],u=Math.floor,d=-1!==["top","bottom"].indexOf(h),g=d?"right":"bottom",_=d?"left":"top",A=d?"width":"height";return s[g]<u(c[_])&&(n.offsets.popper[_]=u(c[_])-s[A]),s[_]>u(c[g])&&(n.offsets.popper[_]=u(c[g])),n}},arrow:{order:500,enabled:!0,fn:function Tt(n,o){var s;if(!ke(n.instance.modifiers,"arrow","keepTogether"))return n;var c=o.element;if("string"==typeof c){if(!(c=n.instance.popper.querySelector(c)))return n}else if(!n.instance.popper.contains(c))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var h=n.placement.split("-")[0],u=n.offsets,d=u.popper,g=u.reference,_=-1!==["left","right"].indexOf(h),A=_?"height":"width",O=_?"Top":"Left",w=O.toLowerCase(),S=_?"left":"top",T=_?"bottom":"right",C=ut(c)[A];g[T]-C<d[w]&&(n.offsets.popper[w]-=d[w]-(g[T]-C)),g[w]+C>d[T]&&(n.offsets.popper[w]+=g[w]+C-d[T]),n.offsets.popper=ye(n.offsets.popper);var W=g[w]+g[A]/2-C/2,q=ae(n.instance.popper),ge=parseFloat(q["margin"+O]),J=parseFloat(q["border"+O+"Width"]),X=W-n.offsets.popper[w]-ge-J;return X=Math.max(Math.min(d[A]-C,X),0),n.arrowElement=c,n.offsets.arrow=(He(s={},w,Math.round(X)),He(s,S,""),s),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function Re(n,o){if(Be(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var s=ct(n.instance.popper,n.instance.reference,o.padding,o.boundariesElement,n.positionFixed),c=n.placement.split("-")[0],h=Ke(c),u=n.placement.split("-")[1]||"",d=[];switch(o.behavior){case"flip":d=[c,h];break;case"clockwise":d=Yt(c);break;case"counterclockwise":d=Yt(c,!0);break;default:d=o.behavior}return d.forEach(function(g,_){if(c!==g||d.length===_+1)return n;c=n.placement.split("-")[0],h=Ke(c);var A=n.offsets.popper,O=n.offsets.reference,w=Math.floor,S="left"===c&&w(A.right)>w(O.left)||"right"===c&&w(A.left)<w(O.right)||"top"===c&&w(A.bottom)>w(O.top)||"bottom"===c&&w(A.top)<w(O.bottom),T=w(A.left)<w(s.left),C=w(A.right)>w(s.right),W=w(A.top)<w(s.top),q=w(A.bottom)>w(s.bottom),ge="left"===c&&T||"right"===c&&C||"top"===c&&W||"bottom"===c&&q,J=-1!==["top","bottom"].indexOf(c),et=!!o.flipVariations&&(J&&"start"===u&&T||J&&"end"===u&&C||!J&&"start"===u&&W||!J&&"end"===u&&q)||!!o.flipVariationsByContent&&(J&&"start"===u&&C||J&&"end"===u&&T||!J&&"start"===u&&q||!J&&"end"===u&&W);(S||ge||et)&&(n.flipped=!0,(S||ge)&&(c=d[_+1]),et&&(u=function vt(n){return"end"===n?"start":"start"===n?"end":n}(u)),n.placement=c+(u?"-"+u:""),n.offsets.popper=te({},n.offsets.popper,ht(n.instance.popper,n.offsets.reference,n.placement)),n=ce(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function ze(n){var o=n.placement,s=o.split("-")[0],c=n.offsets,h=c.popper,u=c.reference,d=-1!==["left","right"].indexOf(s),g=-1===["top","left"].indexOf(s);return h[d?"left":"top"]=u[s]-(g?h[d?"width":"height"]:0),n.placement=Ke(o),n.offsets.popper=ye(h),n}},hide:{order:800,enabled:!0,fn:function Se(n){if(!ke(n.instance.modifiers,"hide","preventOverflow"))return n;var o=n.offsets.reference,s=ie(n.instance.modifiers,function(c){return"preventOverflow"===c.name}).boundaries;if(o.bottom<s.top||o.left>s.right||o.top>s.bottom||o.right<s.left){if(!0===n.hide)return n;n.hide=!0,n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1,n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function pi(n,o){var s=o.x,c=o.y,h=n.offsets.popper,u=ie(n.instance.modifiers,function(X){return"applyStyle"===X.name}).gpuAcceleration;void 0!==u&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var C,W,d=void 0!==u?u:o.gpuAcceleration,g=U(n.instance.popper),_=st(g),A={position:h.position},O=function hi(n,o){var s=n.offsets,c=s.popper,u=Math.round,d=Math.floor,g=function(ge){return ge},_=u(s.reference.width),A=u(c.width),O=-1!==["left","right"].indexOf(n.placement),w=-1!==n.placement.indexOf("-"),C=o?O||w||_%2==A%2?u:d:g,W=o?u:g;return{left:C(_%2==1&&A%2==1&&!w&&o?c.left-1:c.left),top:W(c.top),bottom:W(c.bottom),right:C(c.right)}}(n,window.devicePixelRatio<2||!di),w="bottom"===s?"top":"bottom",S="right"===c?"left":"right",T=pt("transform");if(W="bottom"===w?"HTML"===g.nodeName?-g.clientHeight+O.bottom:-_.height+O.bottom:O.top,C="right"===S?"HTML"===g.nodeName?-g.clientWidth+O.right:-_.width+O.right:O.left,d&&T)A[T]="translate3d("+C+"px, "+W+"px, 0)",A[w]=0,A[S]=0,A.willChange="transform";else{var ge="right"===S?-1:1;A[w]=W*("bottom"===w?-1:1),A[S]=C*ge,A.willChange=w+", "+S}return n.attributes=te({},{"x-placement":n.placement},n.attributes),n.styles=te({},A,n.styles),n.arrowStyles=te({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function qt(n){return We(n.instance.popper,n.styles),function Ot(n,o){Object.keys(o).forEach(function(s){!1!==o[s]?n.setAttribute(s,o[s]):n.removeAttribute(s)})}(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&We(n.arrowElement,n.arrowStyles),n},onLoad:function gt(n,o,s,c,h){var u=we(h,o,n,s.positionFixed),d=ft(s.placement,u,o,n,s.modifiers.flip.boundariesElement,s.modifiers.flip.padding);return o.setAttribute("x-placement",d),We(o,{position:s.positionFixed?"fixed":"absolute"}),s},gpuAcceleration:void 0}}},Ee=function(){function n(o,s){var c=this,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Wt(this,n),this.scheduleUpdate=function(){return requestAnimationFrame(c.update)},this.update=_e(this.update.bind(this)),this.options=te({},n.Defaults,h),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=s&&s.jquery?s[0]:s,this.options.modifiers={},Object.keys(te({},n.Defaults.modifiers,h.modifiers)).forEach(function(d){c.options.modifiers[d]=te({},n.Defaults.modifiers[d]||{},h.modifiers?h.modifiers[d]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(d){return te({name:d},c.options.modifiers[d])}).sort(function(d,g){return d.order-g.order}),this.modifiers.forEach(function(d){d.enabled&&be(d.onLoad)&&d.onLoad(c.reference,c.popper,c.options,d,c.state)}),this.update();var u=this.options.eventsEnabled;u&&this.enableEventListeners(),this.state.eventsEnabled=u}return Rt(n,[{key:"update",value:function(){return dt.call(this)}},{key:"destroy",value:function(){return Qe.call(this)}},{key:"enableEventListeners",value:function(){return mt.call(this)}},{key:"disableEventListeners",value:function(){return Fe.call(this)}}]),n}();return Ee.Utils=(typeof window<"u"?window:global).PopperUtils,Ee.placements=Ze,Ee.Defaults=xt,Ee}),function(se,pe){"object"==typeof exports&&typeof module<"u"?module.exports=pe():"function"==typeof define&&define.amd?define(pe):(se=typeof globalThis<"u"?globalThis:se||self).bootstrap=pe()}(this,function(){"use strict";const se="transitionend",pe=i=>{let e=i.getAttribute("data-bs-target");if(!e||"#"===e){let t=i.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&"#"!==t?t.trim():null}return e},jt=i=>{const e=pe(i);return e&&document.querySelector(e)?e:null},ve=i=>{const e=pe(i);return e?document.querySelector(e):null},Ht=i=>{i.dispatchEvent(new Event(se))},_e=i=>!(!i||"object"!=typeof i)&&(void 0!==i.jquery&&(i=i[0]),void 0!==i.nodeType),be=i=>_e(i)?i.jquery?i[0]:i:"string"==typeof i&&i.length>0?document.querySelector(i):null,ae=i=>{if(!_e(i)||0===i.getClientRects().length)return!1;const e="visible"===getComputedStyle(i).getPropertyValue("visibility"),t=i.closest("details:not([open])");if(!t)return e;if(t!==i){const r=i.closest("summary");if(r&&r.parentNode!==t||null===r)return!1}return e},me=i=>!i||i.nodeType!==Node.ELEMENT_NODE||!!i.classList.contains("disabled")||(void 0!==i.disabled?i.disabled:i.hasAttribute("disabled")&&"false"!==i.getAttribute("disabled")),Me=i=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof i.getRootNode){const e=i.getRootNode();return e instanceof ShadowRoot?e:null}return i instanceof ShadowRoot?i:i.parentNode?Me(i.parentNode):null},Ye=()=>{},At=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ce=[],U=()=>"rtl"===document.documentElement.dir,le=i=>{var e;e=()=>{const t=At();if(t){const r=i.NAME,a=t.fn[r];t.fn[r]=i.jQueryInterface,t.fn[r].Constructor=i,t.fn[r].noConflict=()=>(t.fn[r]=a,i.jQueryInterface)}},"loading"===document.readyState?(Ce.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Ce)t()}),Ce.push(e)):e()},de=i=>{"function"==typeof i&&i()},Ue=(i,e,t=!0)=>{if(!t)return void de(i);const r=(f=>{if(!f)return 0;let{transitionDuration:m,transitionDelay:v}=window.getComputedStyle(f);const y=Number.parseFloat(m),E=Number.parseFloat(v);return y||E?(m=m.split(",")[0],v=v.split(",")[0],1e3*(Number.parseFloat(m)+Number.parseFloat(v))):0})(e)+5;let a=!1;const l=({target:f})=>{f===e&&(a=!0,e.removeEventListener(se,l),de(i))};e.addEventListener(se,l),setTimeout(()=>{a||Ht(e)},r)},xe=(i,e,t,r)=>{const a=i.length;let l=i.indexOf(e);return-1===l?!t&&r?i[a-1]:i[0]:(l+=t?1:-1,r&&(l=(l+a)%a),i[Math.max(0,Math.min(l,a-1))])},fi=/[^.]*(?=\..*)\.|.*/,Bt=/\..*/,Ft=/::\d+$/,ot={};let Wt=1;const Rt={mouseenter:"mouseover",mouseleave:"mouseout"},He=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 te(i,e){return e&&`${e}::${Wt++}`||i.uidEvent||Wt++}function ye(i){const e=te(i);return i.uidEvent=e,ot[e]=ot[e]||{},ot[e]}function st(i,e,t=null){return Object.values(i).find(r=>r.callable===e&&r.delegationSelector===t)}function at(i,e,t){const r="string"==typeof e,a=r?t:e||t;let l=ct(i);return He.has(l)||(l=i),[r,a,l]}function $t(i,e,t,r,a){if("string"!=typeof e||!i)return;let[l,f,m]=at(e,t,r);var k;e in Rt&&(k=f,f=function(L){if(!L.relatedTarget||L.relatedTarget!==L.delegateTarget&&!L.delegateTarget.contains(L.relatedTarget))return k.call(this,L)});const v=ye(i),y=v[m]||(v[m]={}),E=st(y,f,l?t:null);if(E)return void(E.oneOff=E.oneOff&&a);const b=te(f,e.replace(fi,"")),M=l?function(x,k,L){return function D(z){const R=x.querySelectorAll(k);for(let{target:P}=z;P&&P!==this;P=P.parentNode)for(const B of R)if(B===P)return ft(z,{delegateTarget:P}),D.oneOff&&p.off(x,z.type,k,L),L.apply(P,[z])}}(i,t,f):function(x,k){return function L(D){return ft(D,{delegateTarget:x}),L.oneOff&&p.off(x,D.type,k),k.apply(x,[D])}}(i,f);M.delegationSelector=l?t:null,M.callable=f,M.oneOff=a,M.uidEvent=b,y[b]=M,i.addEventListener(m,M,l)}function lt(i,e,t,r,a){const l=st(e[t],r,a);l&&(i.removeEventListener(t,l,Boolean(a)),delete e[t][l.uidEvent])}function zt(i,e,t,r){const a=e[t]||{};for(const l of Object.keys(a))if(l.includes(r)){const f=a[l];lt(i,e,t,f.callable,f.delegationSelector)}}function ct(i){return i=i.replace(Bt,""),Rt[i]||i}const p={on(i,e,t,r){$t(i,e,t,r,!1)},one(i,e,t,r){$t(i,e,t,r,!0)},off(i,e,t,r){if("string"!=typeof e||!i)return;const[a,l,f]=at(e,t,r),m=f!==e,v=ye(i),y=v[f]||{},E=e.startsWith(".");if(void 0===l){if(E)for(const b of Object.keys(v))zt(i,v,b,e.slice(1));for(const b of Object.keys(y)){const M=b.replace(Ft,"");if(!m||e.includes(M)){const x=y[b];lt(i,v,f,x.callable,x.delegationSelector)}}}else{if(!Object.keys(y).length)return;lt(i,v,f,l,a?t:null)}},trigger(i,e,t){if("string"!=typeof e||!i)return null;const r=At();let a=null,l=!0,f=!0,m=!1;e!==ct(e)&&r&&(a=r.Event(e,t),r(i).trigger(a),l=!a.isPropagationStopped(),f=!a.isImmediatePropagationStopped(),m=a.isDefaultPrevented());let v=new Event(e,{bubbles:l,cancelable:!0});return v=ft(v,t),m&&v.preventDefault(),f&&i.dispatchEvent(v),v.defaultPrevented&&a&&a.preventDefault(),v}};function ft(i,e){for(const[t,r]of Object.entries(e||{}))try{i[t]=r}catch{Object.defineProperty(i,t,{configurable:!0,get:()=>r})}return i}const we=new Map,ut={set(i,e,t){we.has(i)||we.set(i,new Map);const r=we.get(i);r.has(e)||0===r.size?r.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(i,e)=>we.has(i)&&we.get(i).get(e)||null,remove(i,e){if(!we.has(i))return;const t=we.get(i);t.delete(e),0===t.size&&we.delete(i)}};function Ke(i){if("true"===i)return!0;if("false"===i)return!1;if(i===Number(i).toString())return Number(i);if(""===i||"null"===i)return null;if("string"!=typeof i)return i;try{return JSON.parse(decodeURIComponent(i))}catch{return i}}function ht(i){return i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const ie={setDataAttribute(i,e,t){i.setAttribute(`data-bs-${ht(e)}`,t)},removeDataAttribute(i,e){i.removeAttribute(`data-bs-${ht(e)}`)},getDataAttributes(i){if(!i)return{};const e={},t=Object.keys(i.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let a=r.replace(/^bs/,"");a=a.charAt(0).toLowerCase()+a.slice(1,a.length),e[a]=Ke(i.dataset[r])}return e},getDataAttribute:(i,e)=>Ke(i.getAttribute(`data-bs-${ht(e)}`))};class Xe{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 r=_e(t)?ie.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},..._e(t)?ie.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const a of Object.keys(t)){const l=t[a],f=e[a],m=_e(f)?"element":null==(r=f)?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(l).test(m))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${a}" provided type "${m}" but expected type "${l}".`)}var r}}class ce extends Xe{constructor(e,t){super(),(e=be(e))&&(this._element=e,this._config=this._getConfig(t),ut.set(this._element,this.constructor.DATA_KEY,this))}dispose(){ut.remove(this._element,this.constructor.DATA_KEY),p.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Ue(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return ut.get(be(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.2.0"}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 dt=(i,e="hide")=>{const r=i.NAME;p.on(document,`click.dismiss${i.EVENT_KEY}`,`[data-bs-dismiss="${r}"]`,function(a){if(["A","AREA"].includes(this.tagName)&&a.preventDefault(),me(this))return;const l=ve(this)||this.closest(`.${r}`);i.getOrCreateInstance(l)[e]()})};class Be extends ce{static get NAME(){return"alert"}close(){if(p.trigger(this._element,"close.bs.alert").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(),p.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Be.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)}})}}dt(Be,"close"),le(Be);const pt='[data-bs-toggle="button"]';class Qe extends ce{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=Qe.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}p.on(document,"click.bs.button.data-api",pt,i=>{i.preventDefault();const e=i.target.closest(pt);Qe.getOrCreateInstance(e).toggle()}),le(Qe);const N={find:(i,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,i)),findOne:(i,e=document.documentElement)=>Element.prototype.querySelector.call(e,i),children:(i,e)=>[].concat(...i.children).filter(t=>t.matches(e)),parents(i,e){const t=[];let r=i.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(i,e){let t=i.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(i,e){let t=i.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(i){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,i).filter(t=>!me(t)&&ae(t))}},Vt={endCallback:null,leftCallback:null,rightCallback:null},ui={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class mt extends Xe{constructor(e,t){super(),this._element=e,e&&mt.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Vt}static get DefaultType(){return ui}static get NAME(){return"swipe"}dispose(){p.off(this._element,".bs.swipe")}_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(),de(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&&de(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(p.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),p.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(p.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),p.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),p.on(this._element,"touchend.bs.swipe",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 Ge="next",Fe="prev",Le="left",We="right",Ot="slid.bs.carousel",qt="carousel",gt="active",hi={ArrowLeft:We,ArrowRight:Le},di={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},pi={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ke extends ce{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=N.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===qt&&this.cycle()}static get Default(){return di}static get DefaultType(){return pi}static get NAME(){return"carousel"}next(){this._slide(Ge)}nextWhenVisible(){!document.hidden&&ae(this._element)&&this.next()}prev(){this._slide(Fe)}pause(){this._isSliding&&Ht(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?p.one(this._element,Ot,()=>this.cycle()):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void p.one(this._element,Ot,()=>this.to(e));const r=this._getItemIndex(this._getActive());r!==e&&this._slide(e>r?Ge:Fe,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&p.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(p.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),p.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&mt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of N.find(".carousel-item img",this._element))p.on(t,"dragstart.bs.carousel",r=>r.preventDefault());this._swipeHelper=new mt(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Le)),rightCallback:()=>this._slide(this._directionToOrder(We)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=hi[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=N.findOne(".active",this._indicatorsElement);t.classList.remove(gt),t.removeAttribute("aria-current");const r=N.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(gt),r.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,t=null){if(this._isSliding)return;const r=this._getActive(),a=e===Ge,l=t||xe(this._getItems(),r,a,this._config.wrap);if(l===r)return;const f=this._getItemIndex(l),m=b=>p.trigger(this._element,b,{relatedTarget:l,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:f});if(m("slide.bs.carousel").defaultPrevented||!r||!l)return;const v=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(f),this._activeElement=l;const y=a?"carousel-item-start":"carousel-item-end",E=a?"carousel-item-next":"carousel-item-prev";l.classList.add(E),r.classList.add(y),l.classList.add(y),this._queueCallback(()=>{l.classList.remove(y,E),l.classList.add(gt),r.classList.remove(gt,E,y),this._isSliding=!1,m(Ot)},r,this._isAnimated()),v&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return N.findOne(".active.carousel-item",this._element)}_getItems(){return N.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return U()?e===Le?Fe:Ge:e===Le?Ge:Fe}_orderToDirection(e){return U()?e===Fe?Le:We:e===Fe?We:Le}static jQueryInterface(e){return this.each(function(){const t=ke.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)})}}p.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(i){const e=ve(this);if(!e||!e.classList.contains(qt))return;i.preventDefault();const t=ke.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");return r?(t.to(r),void t._maybeEnableCycle()):"next"===ie.getDataAttribute(this,"slide")?(t.next(),void t._maybeEnableCycle()):(t.prev(),void t._maybeEnableCycle())}),p.on(window,"load.bs.carousel.data-api",()=>{const i=N.find('[data-bs-ride="carousel"]');for(const e of i)ke.getOrCreateInstance(e)}),le(ke);const Tt="show",vt="collapse",Ze="collapsing",Je='[data-bs-toggle="collapse"]',Yt={parent:null,toggle:!0},Ct={parent:"(null|element)",toggle:"boolean"};class Re extends ce{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=N.find(Je);for(const a of r){const l=jt(a),f=N.find(l).filter(m=>m===this._element);null!==l&&f.length&&this._triggerArray.push(a)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Yt}static get DefaultType(){return Ct}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(a=>a!==this._element).map(a=>Re.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||p.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const a of e)a.hide();const t=this._getDimension();this._element.classList.remove(vt),this._element.classList.add(Ze),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ze),this._element.classList.add(vt,Tt),this._element.style[t]="",p.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[t]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||p.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(Ze),this._element.classList.remove(vt,Tt);for(const t of this._triggerArray){const r=ve(t);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ze),this._element.classList.add(vt),p.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(Tt)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=be(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Je);for(const t of e){const r=ve(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=N.find(":scope .collapse .collapse",this._config.parent);return N.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle("collapsed",!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Re.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===r[e])throw new TypeError(`No method named "${e}"`);r[e]()}})}}p.on(document,"click.bs.collapse.data-api",Je,function(i){("A"===i.target.tagName||i.delegateTarget&&"A"===i.delegateTarget.tagName)&&i.preventDefault();const e=jt(this),t=N.find(e);for(const r of t)Re.getOrCreateInstance(r,{toggle:!1}).toggle()}),le(Re);var G="top",ne="bottom",re="right",Z="left",_t="auto",$e=[G,ne,re,Z],Se="start",ze="end",Ut="clippingParents",xt="viewport",Ee="popper",n="reference",o=$e.reduce(function(i,e){return i.concat([e+"-"+Se,e+"-"+ze])},[]),s=[].concat($e,[_t]).reduce(function(i,e){return i.concat([e,e+"-"+Se,e+"-"+ze])},[]),c="beforeRead",h="read",u="afterRead",d="beforeMain",g="main",_="afterMain",A="beforeWrite",O="write",w="afterWrite",S=[c,h,u,d,g,_,A,O,w];function T(i){return i?(i.nodeName||"").toLowerCase():null}function C(i){if(null==i)return window;if("[object Window]"!==i.toString()){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function W(i){return i instanceof C(i).Element||i instanceof Element}function q(i){return i instanceof C(i).HTMLElement||i instanceof HTMLElement}function ge(i){return typeof ShadowRoot<"u"&&(i instanceof C(i).ShadowRoot||i instanceof ShadowRoot)}const J={name:"applyStyles",enabled:!0,phase:"write",fn:function(i){var e=i.state;Object.keys(e.elements).forEach(function(t){var r=e.styles[t]||{},a=e.attributes[t]||{},l=e.elements[t];q(l)&&T(l)&&(Object.assign(l.style,r),Object.keys(a).forEach(function(f){var m=a[f];!1===m?l.removeAttribute(f):l.setAttribute(f,!0===m?"":m)}))})},effect:function(i){var e=i.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(r){var a=e.elements[r],l=e.attributes[r]||{},f=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:t[r]).reduce(function(m,v){return m[v]="",m},{});q(a)&&T(a)&&(Object.assign(a.style,f),Object.keys(l).forEach(function(m){a.removeAttribute(m)}))})}},requires:["computeStyles"]};function X(i){return i.split("-")[0]}var De=Math.max,et=Math.min,bt=Math.round;function yt(i,e){void 0===e&&(e=!1);var t=i.getBoundingClientRect(),r=1,a=1;if(q(i)&&e){var l=i.offsetHeight,f=i.offsetWidth;f>0&&(r=bt(t.width)/f||1),l>0&&(a=bt(t.height)/l||1)}return{width:t.width/r,height:t.height/a,top:t.top/a,right:t.right/r,bottom:t.bottom/a,left:t.left/r,x:t.left/r,y:t.top/a}}function mi(i){var e=yt(i),t=i.offsetWidth,r=i.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:i.offsetLeft,y:i.offsetTop,width:t,height:r}}function Ni(i,e){var t=e.getRootNode&&e.getRootNode();if(i.contains(e))return!0;if(t&&ge(t)){var r=e;do{if(r&&i.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Pe(i){return C(i).getComputedStyle(i)}function Yn(i){return["table","td","th"].indexOf(T(i))>=0}function Ve(i){return((W(i)?i.ownerDocument:i.document)||window.document).documentElement}function Kt(i){return"html"===T(i)?i:i.assignedSlot||i.parentNode||(ge(i)?i.host:null)||Ve(i)}function Ii(i){return q(i)&&"fixed"!==Pe(i).position?i.offsetParent:null}function Lt(i){for(var e=C(i),t=Ii(i);t&&Yn(t)&&"static"===Pe(t).position;)t=Ii(t);return t&&("html"===T(t)||"body"===T(t)&&"static"===Pe(t).position)?e:t||function(r){var a=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&q(r)&&"fixed"===Pe(r).position)return null;var l=Kt(r);for(ge(l)&&(l=l.host);q(l)&&["html","body"].indexOf(T(l))<0;){var f=Pe(l);if("none"!==f.transform||"none"!==f.perspective||"paint"===f.contain||-1!==["transform","perspective"].indexOf(f.willChange)||a&&"filter"===f.willChange||a&&f.filter&&"none"!==f.filter)return l;l=l.parentNode}return null}(i)||e}function gi(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function kt(i,e,t){return De(i,et(e,t))}function Mi(i){return Object.assign({},{top:0,right:0,bottom:0,left:0},i)}function ji(i,e){return e.reduce(function(t,r){return t[r]=i,t},{})}const Hi={name:"arrow",enabled:!0,phase:"main",fn:function(i){var e,F,$,t=i.state,r=i.name,a=i.options,l=t.elements.arrow,f=t.modifiersData.popperOffsets,m=X(t.placement),v=gi(m),y=[Z,re].indexOf(m)>=0?"height":"width";if(l&&f){var E=($=t,Mi("number"!=typeof(F="function"==typeof(F=a.padding)?F(Object.assign({},$.rects,{placement:$.placement})):F)?F:ji(F,$e))),b=mi(l),M="y"===v?G:Z,x="y"===v?ne:re,k=t.rects.reference[y]+t.rects.reference[v]-f[v]-t.rects.popper[y],L=f[v]-t.rects.reference[v],D=Lt(l),z=D?"y"===v?D.clientHeight||0:D.clientWidth||0:0,I=z/2-b[y]/2+(k/2-L/2),j=kt(E[M],I,z-b[y]-E[x]);t.modifiersData[r]=((e={})[v]=j,e.centerOffset=j-I,e)}},effect:function(i){var e=i.state,t=i.options.element,r=void 0===t?"[data-popper-arrow]":t;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&Ni(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wt(i){return i.split("-")[1]}var Un={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bi(i){var e,t=i.popper,r=i.popperRect,a=i.placement,l=i.variation,f=i.offsets,m=i.position,v=i.gpuAcceleration,y=i.adaptive,E=i.roundOffsets,b=i.isFixed,M=f.x,x=void 0===M?0:M,k=f.y,L=void 0===k?0:k,D="function"==typeof E?E({x,y:L}):{x,y:L};x=D.x,L=D.y;var z=f.hasOwnProperty("x"),R=f.hasOwnProperty("y"),P=Z,B=G,I=window;if(y){var j=Lt(t),H="clientHeight",F="clientWidth";j===C(t)&&"static"!==Pe(j=Ve(t)).position&&"absolute"===m&&(H="scrollHeight",F="scrollWidth"),(a===G||(a===Z||a===re)&&l===ze)&&(B=ne,L-=(b&&j===I&&I.visualViewport?I.visualViewport.height:j[H])-r.height,L*=v?1:-1),a!==Z&&(a!==G&&a!==ne||l!==ze)||(P=re,x-=(b&&j===I&&I.visualViewport?I.visualViewport.width:j[F])-r.width,x*=v?1:-1)}var $,fe,Ie,ue,K=Object.assign({position:m},y&&Un),Q=!0===E?(Ie=(fe={x,y:L}).y,ue=window.devicePixelRatio||1,{x:bt(fe.x*ue)/ue||0,y:bt(Ie*ue)/ue||0}):{x,y:L};return x=Q.x,L=Q.y,Object.assign({},K,v?(($={})[B]=R?"0":"",$[P]=z?"0":"",$.transform=(I.devicePixelRatio||1)<=1?"translate("+x+"px, "+L+"px)":"translate3d("+x+"px, "+L+"px, 0)",$):((e={})[B]=R?L+"px":"",e[P]=z?x+"px":"",e.transform="",e))}const vi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(i){var e=i.state,t=i.options,r=t.gpuAcceleration,a=void 0===r||r,l=t.adaptive,f=void 0===l||l,m=t.roundOffsets,v=void 0===m||m,y={placement:X(e.placement),variation:wt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Bi(Object.assign({},y,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:f,roundOffsets:v})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Bi(Object.assign({},y,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:v})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var Xt={passive:!0};const _i={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(i){var e=i.state,t=i.instance,r=i.options,a=r.scroll,l=void 0===a||a,f=r.resize,m=void 0===f||f,v=C(e.elements.popper),y=[].concat(e.scrollParents.reference,e.scrollParents.popper);return l&&y.forEach(function(E){E.addEventListener("scroll",t.update,Xt)}),m&&v.addEventListener("resize",t.update,Xt),function(){l&&y.forEach(function(E){E.removeEventListener("scroll",t.update,Xt)}),m&&v.removeEventListener("resize",t.update,Xt)}},data:{}};var Kn={left:"right",right:"left",bottom:"top",top:"bottom"};function Qt(i){return i.replace(/left|right|bottom|top/g,function(e){return Kn[e]})}var Xn={start:"end",end:"start"};function Fi(i){return i.replace(/start|end/g,function(e){return Xn[e]})}function bi(i){var e=C(i);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function yi(i){return yt(Ve(i)).left+bi(i).scrollLeft}function wi(i){var e=Pe(i);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function Wi(i){return["html","body","#document"].indexOf(T(i))>=0?i.ownerDocument.body:q(i)&&wi(i)?i:Wi(Kt(i))}function St(i,e){var t;void 0===e&&(e=[]);var r=Wi(i),a=r===(null==(t=i.ownerDocument)?void 0:t.body),l=C(r),f=a?[l].concat(l.visualViewport||[],wi(r)?r:[]):r,m=e.concat(f);return a?m:m.concat(St(Kt(f)))}function Ei(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function Ri(i,e){return e===xt?Ei((r=C(t=i),f=(a=Ve(t)).clientWidth,m=a.clientHeight,v=0,y=0,(l=r.visualViewport)&&(f=l.width,m=l.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(v=l.offsetLeft,y=l.offsetTop)),{width:f,height:m,x:v+yi(t),y})):W(e)?function(t){var r=yt(t);return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}(e):Ei(function(t){var r,a=Ve(t),l=bi(t),f=null==(r=t.ownerDocument)?void 0:r.body,m=De(a.scrollWidth,a.clientWidth,f?f.scrollWidth:0,f?f.clientWidth:0),v=De(a.scrollHeight,a.clientHeight,f?f.scrollHeight:0,f?f.clientHeight:0),y=-l.scrollLeft+yi(t),E=-l.scrollTop;return"rtl"===Pe(f||a).direction&&(y+=De(a.clientWidth,f?f.clientWidth:0)-m),{width:m,height:v,x:y,y:E}}(Ve(i)));var t,r,a,l,f,m,v,y}function $i(i){var e,t=i.reference,r=i.element,a=i.placement,l=a?X(a):null,f=a?wt(a):null,m=t.x+t.width/2-r.width/2,v=t.y+t.height/2-r.height/2;switch(l){case G:e={x:m,y:t.y-r.height};break;case ne:e={x:m,y:t.y+t.height};break;case re:e={x:t.x+t.width,y:v};break;case Z:e={x:t.x-r.width,y:v};break;default:e={x:t.x,y:t.y}}var y=l?gi(l):null;if(null!=y){var E="y"===y?"height":"width";switch(f){case Se:e[y]=e[y]-(t[E]/2-r[E]/2);break;case ze:e[y]=e[y]+(t[E]/2-r[E]/2)}}return e}function Et(i,e){void 0===e&&(e={});var Q,fe,Oe,V,qe,he,Ie,ue,Y,r=e.placement,a=void 0===r?i.placement:r,l=e.boundary,f=void 0===l?Ut:l,m=e.rootBoundary,v=void 0===m?xt:m,y=e.elementContext,E=void 0===y?Ee:y,b=e.altBoundary,M=void 0!==b&&b,x=e.padding,k=void 0===x?0:x,L=Mi("number"!=typeof k?k:ji(k,$e)),z=i.rects.popper,R=i.elements[M?E===Ee?n:Ee:E],P=(Q=W(R)?R:R.contextElement||Ve(i.elements.popper),Oe=v,Ie="clippingParents"===(fe=f)?(qe=St(Kt(V=Q)),W(he=["absolute","fixed"].indexOf(Pe(V).position)>=0&&q(V)?Lt(V):V)?qe.filter(function(oe){return W(oe)&&Ni(oe,he)&&"body"!==T(oe)}):[]):[].concat(fe),Y=(ue=[].concat(Ie,[Oe])).reduce(function(V,qe){var he=Ri(Q,qe);return V.top=De(he.top,V.top),V.right=et(he.right,V.right),V.bottom=et(he.bottom,V.bottom),V.left=De(he.left,V.left),V},Ri(Q,ue[0])),Y.width=Y.right-Y.left,Y.height=Y.bottom-Y.top,Y.x=Y.left,Y.y=Y.top,Y),B=yt(i.elements.reference),I=$i({reference:B,element:z,strategy:"absolute",placement:a}),j=Ei(Object.assign({},z,I)),H=E===Ee?j:B,F={top:P.top-H.top+L.top,bottom:H.bottom-P.bottom+L.bottom,left:P.left-H.left+L.left,right:H.right-P.right+L.right},$=i.modifiersData.offset;if(E===Ee&&$){var K=$[a];Object.keys(F).forEach(function(Q){var fe=[re,ne].indexOf(Q)>=0?1:-1,Oe=[G,ne].indexOf(Q)>=0?"y":"x";F[Q]+=K[Oe]*fe})}return F}const zi={name:"flip",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,r=i.name;if(!e.modifiersData[r]._skip){for(var a=t.mainAxis,l=void 0===a||a,f=t.altAxis,m=void 0===f||f,v=t.fallbackPlacements,y=t.padding,E=t.boundary,b=t.rootBoundary,M=t.altBoundary,x=t.flipVariations,k=void 0===x||x,L=t.allowedAutoPlacements,D=e.options.placement,z=X(D),R=v||(z!==D&&k?function(oe){if(X(oe)===_t)return[];var Te=Qt(oe);return[Fi(oe),Te,Fi(Te)]}(D):[Qt(D)]),P=[D].concat(R).reduce(function(oe,Te){return oe.concat(X(Te)===_t?function Qn(i,e){void 0===e&&(e={});var a=e.boundary,l=e.rootBoundary,f=e.padding,m=e.flipVariations,v=e.allowedAutoPlacements,y=void 0===v?s:v,E=wt(e.placement),b=E?m?o:o.filter(function(k){return wt(k)===E}):$e,M=b.filter(function(k){return y.indexOf(k)>=0});0===M.length&&(M=b);var x=M.reduce(function(k,L){return k[L]=Et(i,{placement:L,boundary:a,rootBoundary:l,padding:f})[X(L)],k},{});return Object.keys(x).sort(function(k,L){return x[k]-x[L]})}(e,{placement:Te,boundary:E,rootBoundary:b,padding:y,flipVariations:k,allowedAutoPlacements:L}):Te)},[]),B=e.rects.reference,I=e.rects.popper,j=new Map,H=!0,F=P[0],$=0;$<P.length;$++){var K=P[$],Q=X(K),fe=wt(K)===Se,Oe=[G,ne].indexOf(Q)>=0,Ie=Oe?"width":"height",ue=Et(e,{placement:K,boundary:E,rootBoundary:b,altBoundary:M,padding:y}),ee=Oe?fe?re:Z:fe?ne:G;B[Ie]>I[Ie]&&(ee=Qt(ee));var Y=Qt(ee),V=[];if(l&&V.push(ue[Q]<=0),m&&V.push(ue[ee]<=0,ue[Y]<=0),V.every(function(oe){return oe})){F=K,H=!1;break}j.set(K,V)}if(H)for(var qe=function(oe){var Te=P.find(function(oi){var si=j.get(oi);if(si)return si.slice(0,oe).every(function(ai){return ai})});if(Te)return F=Te,"break"},he=k?3:1;he>0&&"break"!==qe(he);he--);e.placement!==F&&(e.modifiersData[r]._skip=!0,e.placement=F,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Vi(i,e,t){return void 0===t&&(t={x:0,y:0}),{top:i.top-e.height-t.y,right:i.right-e.width+t.x,bottom:i.bottom-e.height+t.y,left:i.left-e.width-t.x}}function qi(i){return[G,re,ne,Z].some(function(e){return i[e]>=0})}const Yi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(i){var e=i.state,t=i.name,r=e.rects.reference,a=e.rects.popper,l=e.modifiersData.preventOverflow,f=Et(e,{elementContext:"reference"}),m=Et(e,{altBoundary:!0}),v=Vi(f,r),y=Vi(m,a,l),E=qi(v),b=qi(y);e.modifiersData[t]={referenceClippingOffsets:v,popperEscapeOffsets:y,isReferenceHidden:E,hasPopperEscaped:b},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":E,"data-popper-escaped":b})}},Ui={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(i){var e=i.state,r=i.name,a=i.options.offset,l=void 0===a?[0,0]:a,f=s.reduce(function(E,b){return E[b]=(x=e.rects,k=l,L=X(M=b),D=[Z,G].indexOf(L)>=0?-1:1,R=(R=(z="function"==typeof k?k(Object.assign({},x,{placement:M})):k)[0])||0,P=((P=z[1])||0)*D,[Z,re].indexOf(L)>=0?{x:P,y:R}:{x:R,y:P}),E;var M,x,k,L,D,z,R,P},{}),m=f[e.placement],y=m.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=m.x,e.modifiersData.popperOffsets.y+=y),e.modifiersData[r]=f}},Ai={name:"popperOffsets",enabled:!0,phase:"read",fn:function(i){var e=i.state;e.modifiersData[i.name]=$i({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Ki={name:"preventOverflow",enabled:!0,phase:"main",fn:function(i){var Pi,qn,e=i.state,t=i.options,r=i.name,a=t.mainAxis,l=void 0===a||a,f=t.altAxis,m=void 0!==f&&f,M=t.tether,x=void 0===M||M,k=t.tetherOffset,L=void 0===k?0:k,D=Et(e,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),z=X(e.placement),R=wt(e.placement),P=!R,B=gi(z),I="x"===B?"y":"x",j=e.modifiersData.popperOffsets,H=e.rects.reference,F=e.rects.popper,$="function"==typeof L?L(Object.assign({},e.rects,{placement:e.placement})):L,K="number"==typeof $?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),Q=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,fe={x:0,y:0};if(j){if(l){var Oe,Ie="y"===B?G:Z,ue="y"===B?ne:re,ee="y"===B?"height":"width",Y=j[B],V=Y+D[Ie],qe=Y-D[ue],he=x?-F[ee]/2:0,oe=R===Se?H[ee]:F[ee],Te=R===Se?-F[ee]:-H[ee],oi=e.elements.arrow,si=x&&oi?mi(oi):{width:0,height:0},ai=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},In=ai[Ie],Mn=ai[ue],li=kt(0,H[ee],si[ee]),Fr=P?H[ee]/2-he-li-In-K.mainAxis:oe-li-In-K.mainAxis,Wr=P?-H[ee]/2+he+li+Mn+K.mainAxis:Te+li+Mn+K.mainAxis,Si=e.elements.arrow&&Lt(e.elements.arrow),jn=null!=(Oe=Q?.[B])?Oe:0,$r=Y+Wr-jn,Hn=kt(x?et(V,Y+Fr-jn-(Si?"y"===B?Si.clientTop||0:Si.clientLeft||0:0)):V,Y,x?De(qe,$r):qe);j[B]=Hn,fe[B]=Hn-Y}if(m){var Bn,rt=j[I],ci="y"===I?"height":"width",Fn=rt+D["x"===B?G:Z],Wn=rt-D["x"===B?ne:re],Di=-1!==[G,Z].indexOf(z),Rn=null!=(Bn=Q?.[I])?Bn:0,$n=Di?Fn:rt-H[ci]-F[ci]-Rn+K.altAxis,zn=Di?rt+H[ci]+F[ci]-Rn-K.altAxis:Wn,Vn=x&&Di?(qn=kt($n,rt,Pi=zn))>Pi?Pi:qn:kt(x?$n:Fn,rt,x?zn:Wn);j[I]=Vn,fe[I]=Vn-rt}e.modifiersData[r]=fe}},requiresIfExists:["offset"]};function Gn(i,e,t){void 0===t&&(t=!1);var r,a,b,M,x,k,l=q(e),f=q(e)&&(M=(b=e).getBoundingClientRect(),x=bt(M.width)/b.offsetWidth||1,k=bt(M.height)/b.offsetHeight||1,1!==x||1!==k),m=Ve(e),v=yt(i,f),y={scrollLeft:0,scrollTop:0},E={x:0,y:0};return(l||!l&&!t)&&(("body"!==T(e)||wi(m))&&(y=(r=e)!==C(r)&&q(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:bi(r)),q(e)?((E=yt(e,!0)).x+=e.clientLeft,E.y+=e.clientTop):m&&(E.x=yi(m))),{x:v.left+y.scrollLeft-E.x,y:v.top+y.scrollTop-E.y,width:v.width,height:v.height}}function Zn(i){var e=new Map,t=new Set,r=[];function a(l){t.add(l.name),[].concat(l.requires||[],l.requiresIfExists||[]).forEach(function(f){if(!t.has(f)){var m=e.get(f);m&&a(m)}}),r.push(l)}return i.forEach(function(l){e.set(l.name,l)}),i.forEach(function(l){t.has(l.name)||a(l)}),r}var Xi={placement:"bottom",modifiers:[],strategy:"absolute"};function Qi(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];return!e.some(function(r){return!(r&&"function"==typeof r.getBoundingClientRect)})}function Gt(i){void 0===i&&(i={});var t=i.defaultModifiers,r=void 0===t?[]:t,a=i.defaultOptions,l=void 0===a?Xi:a;return function(f,m,v){void 0===v&&(v=l);var y,E,b={placement:"bottom",orderedModifiers:[],options:Object.assign({},Xi,l),modifiersData:{},elements:{reference:f,popper:m},attributes:{},styles:{}},M=[],x=!1,k={state:b,setOptions:function(D){var z="function"==typeof D?D(b.options):D;L(),b.options=Object.assign({},l,b.options,z),b.scrollParents={reference:W(f)?St(f):f.contextElement?St(f.contextElement):[],popper:St(m)};var R,P,I,j,B=(R=[].concat(r,b.options.modifiers),P=R.reduce(function(I,j){var H=I[j.name];return I[j.name]=H?Object.assign({},H,j,{options:Object.assign({},H.options,j.options),data:Object.assign({},H.data,j.data)}):j,I},{}),I=Object.keys(P).map(function(I){return P[I]}),j=Zn(I),S.reduce(function(H,F){return H.concat(j.filter(function($){return $.phase===F}))},[]));return b.orderedModifiers=B.filter(function(I){return I.enabled}),b.orderedModifiers.forEach(function(I){var H=I.options,$=I.effect;if("function"==typeof $){var K=$({state:b,name:I.name,instance:k,options:void 0===H?{}:H});M.push(K||function(){})}}),k.update()},forceUpdate:function(){if(!x){var D=b.elements,z=D.reference,R=D.popper;if(Qi(z,R)){b.rects={reference:Gn(z,Lt(R),"fixed"===b.options.strategy),popper:mi(R)},b.reset=!1,b.placement=b.options.placement,b.orderedModifiers.forEach(function($){return b.modifiersData[$.name]=Object.assign({},$.data)});for(var P=0;P<b.orderedModifiers.length;P++)if(!0!==b.reset){var B=b.orderedModifiers[P],I=B.fn,j=B.options;"function"==typeof I&&(b=I({state:b,options:void 0===j?{}:j,name:B.name,instance:k})||b)}else b.reset=!1,P=-1}}},update:(y=function(){return new Promise(function(D){k.forceUpdate(),D(b)})},function(){return E||(E=new Promise(function(D){Promise.resolve().then(function(){E=void 0,D(y())})})),E}),destroy:function(){L(),x=!0}};if(!Qi(f,m))return k;function L(){M.forEach(function(D){return D()}),M=[]}return k.setOptions(v).then(function(D){!x&&v.onFirstUpdate&&v.onFirstUpdate(D)}),k}}var Jn=Gt(),er=Gt({defaultModifiers:[_i,Ai,vi,J]}),Oi=Gt({defaultModifiers:[_i,Ai,vi,J,Ui,zi,Ki,Hi,Yi]});const Gi=Object.freeze(Object.defineProperty({__proto__:null,popperGenerator:Gt,detectOverflow:Et,createPopperBase:Jn,createPopper:Oi,createPopperLite:er,top:G,bottom:ne,right:re,left:Z,auto:_t,basePlacements:$e,start:Se,end:ze,clippingParents:Ut,viewport:xt,popper:Ee,reference:n,variationPlacements:o,placements:s,beforeRead:c,read:h,afterRead:u,beforeMain:d,main:g,afterMain:_,beforeWrite:A,write:O,afterWrite:w,modifierPhases:S,applyStyles:J,arrow:Hi,computeStyles:vi,eventListeners:_i,flip:zi,hide:Yi,offset:Ui,popperOffsets:Ai,preventOverflow:Ki},Symbol.toStringTag,{value:"Module"})),Zi="dropdown",tr="ArrowUp",Ji="ArrowDown",en="click.bs.dropdown.data-api",tn="keydown.bs.dropdown.data-api",Dt="show",Zt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ir=`${Zt}.show`,nn=".dropdown-menu",nr=U()?"top-end":"top-start",rr=U()?"top-start":"top-end",or=U()?"bottom-end":"bottom-start",sr=U()?"bottom-start":"bottom-end",ar=U()?"left-start":"right-start",lr=U()?"right-start":"left-start",cr={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},fr={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ae extends ce{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=N.findOne(nn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return cr}static get DefaultType(){return fr}static get NAME(){return Zi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(me(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!p.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))p.on(t,"mouseover",Ye);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Dt),this._element.classList.add(Dt),p.trigger(this._element,"shown.bs.dropdown",e)}}hide(){!me(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!p.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))p.off(t,"mouseover",Ye);this._popper&&this._popper.destroy(),this._menu.classList.remove(Dt),this._element.classList.remove(Dt),this._element.setAttribute("aria-expanded","false"),ie.removeDataAttribute(this._menu,"popper"),p.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!_e(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Zi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===Gi)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:_e(this._config.reference)?e=be(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Oi(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Dt)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return ar;if(e.classList.contains("dropstart"))return lr;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?rr:nr:t?sr:or}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,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)&&(ie.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const r=N.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(a=>ae(a));r.length&&xe(r,t,e===Ji,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Ae.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=N.find(ir);for(const r of t){const a=Ae.getInstance(r);if(!a||!1===a._config.autoClose)continue;const l=e.composedPath(),f=l.includes(a._menu);if(l.includes(a._element)||"inside"===a._config.autoClose&&!f||"outside"===a._config.autoClose&&f||a._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const m={relatedTarget:a._element};"click"===e.type&&(m.clickEvent=e),a._completeHide(m)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r="Escape"===e.key,a=[tr,Ji].includes(e.key);if(!a&&!r||t&&!r)return;e.preventDefault();const l=N.findOne(Zt,e.delegateTarget.parentNode),f=Ae.getOrCreateInstance(l);if(a)return e.stopPropagation(),f.show(),void f._selectMenuItem(e);f._isShown()&&(e.stopPropagation(),f.hide(),l.focus())}}p.on(document,tn,Zt,Ae.dataApiKeydownHandler),p.on(document,tn,nn,Ae.dataApiKeydownHandler),p.on(document,en,Ae.clearMenus),p.on(document,"keyup.bs.dropdown.data-api",Ae.clearMenus),p.on(document,en,Zt,function(i){i.preventDefault(),Ae.getOrCreateInstance(this).toggle()}),le(Ae);const rn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",on=".sticky-top",Jt="padding-right",sn="margin-right";class Ti{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,Jt,t=>t+e),this._setElementAttributes(rn,Jt,t=>t+e),this._setElementAttributes(on,sn,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Jt),this._resetElementAttributes(rn,Jt),this._resetElementAttributes(on,sn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const a=this.getWidth();this._applyManipulationCallback(e,l=>{if(l!==this._element&&window.innerWidth>l.clientWidth+a)return;this._saveInitialAttribute(l,t);const f=window.getComputedStyle(l).getPropertyValue(t);l.style.setProperty(t,`${r(Number.parseFloat(f))}px`)})}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&ie.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,r=>{const a=ie.getDataAttribute(r,t);null!==a?(ie.removeDataAttribute(r,t),r.style.setProperty(t,a)):r.style.removeProperty(t)})}_applyManipulationCallback(e,t){if(_e(e))t(e);else for(const r of N.find(e,this._element))t(r)}}const ln="mousedown.bs.backdrop",ur={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},hr={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class cn extends Xe{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return ur}static get DefaultType(){return hr}static get NAME(){return"backdrop"}show(e){if(!this._config.isVisible)return void de(e);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{de(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),de(e)})):de(e)}dispose(){this._isAppended&&(p.off(this._element,ln),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=be(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),p.on(e,ln,()=>{de(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Ue(e,this._getElement(),this._config.isAnimated)}}const fn=".bs.focustrap",un="backward",dr={autofocus:!0,trapElement:null},pr={autofocus:"boolean",trapElement:"element"};class hn extends Xe{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return dr}static get DefaultType(){return pr}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),p.off(document,fn),p.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),p.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,p.off(document,fn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=N.focusableChildren(t);0===r.length?t.focus():this._lastTabNavDirection===un?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?un:"forward")}}const dn="hidden.bs.modal",pn="show.bs.modal",mn="modal-open",Ci="modal-static",mr={backdrop:!0,focus:!0,keyboard:!0},gr={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class tt extends ce{constructor(e,t){super(e,t),this._dialog=N.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ti,this._addEventListeners()}static get Default(){return mr}static get DefaultType(){return gr}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||p.trigger(this._element,pn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(mn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(p.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){for(const e of[window,this._dialog])p.off(e,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new cn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new hn({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=N.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,p.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){p.on(this._element,"keydown.dismiss.bs.modal",e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()}),p.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),p.on(this._element,"mousedown.dismiss.bs.modal",e=>{e.target===e.currentTarget&&("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(mn),this._resetAdjustments(),this._scrollBar.reset(),p.trigger(this._element,dn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(p.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Ci)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Ci),this._queueCallback(()=>{this._element.classList.remove(Ci),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(),r=t>0;if(r&&!e){const a=U()?"paddingLeft":"paddingRight";this._element.style[a]=`${t}px`}if(!r&&e){const a=U()?"paddingRight":"paddingLeft";this._element.style[a]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=tt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===r[e])throw new TypeError(`No method named "${e}"`);r[e](t)}})}}p.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(i){const e=ve(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),p.one(e,pn,r=>{r.defaultPrevented||p.one(e,dn,()=>{ae(this)&&this.focus()})});const t=N.findOne(".modal.show");t&&tt.getInstance(t).hide(),tt.getOrCreateInstance(e).toggle(this)}),dt(tt),le(tt);const _n="showing",yn=".offcanvas.show",wn="hidePrevented.bs.offcanvas",En="hidden.bs.offcanvas",vr={backdrop:!0,keyboard:!0,scroll:!1},_r={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ne extends ce{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return vr}static get DefaultType(){return _r}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||p.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Ti).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(_n),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(_n),p.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(p.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Ti).reset(),p.trigger(this._element,En)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new cn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():p.trigger(this._element,wn)}:null})}_initializeFocusTrap(){return new hn({trapElement:this._element})}_addEventListeners(){p.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():p.trigger(this._element,wn))})}static jQueryInterface(e){return this.each(function(){const t=Ne.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)}})}}p.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(i){const e=ve(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),me(this))return;p.one(e,En,()=>{ae(this)&&this.focus()});const t=N.findOne(yn);t&&t!==e&&Ne.getInstance(t).hide(),Ne.getOrCreateInstance(e).toggle(this)}),p.on(window,"load.bs.offcanvas.data-api",()=>{for(const i of N.find(yn))Ne.getOrCreateInstance(i).show()}),p.on(window,"resize.bs.offcanvas",()=>{for(const i of N.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(i).position&&Ne.getOrCreateInstance(i).hide()}),dt(Ne),le(Ne);const br=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),yr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,wr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Er=(i,e)=>{const t=i.nodeName.toLowerCase();return e.includes(t)?!br.has(t)||Boolean(yr.test(i.nodeValue)||wr.test(i.nodeValue)):e.filter(r=>r instanceof RegExp).some(r=>r.test(t))},An={"*":["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:[]},Ar={allowList:An,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Or={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Tr={entry:"(string|element|function|null)",selector:"(string|element)"};class Cr extends Xe{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ar}static get DefaultType(){return Or}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[a,l]of Object.entries(this._config.content))this._setContent(e,l,a);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},Tr)}_setContent(e,t,r){const a=N.findOne(r,e);a&&((t=this._resolvePossibleFunction(t))?_e(t)?this._putElementInTemplate(be(t),a):this._config.html?a.innerHTML=this._maybeSanitize(t):a.textContent=t:a.remove())}_maybeSanitize(e){return this._config.sanitize?function(t,r,a){if(!t.length)return t;if(a&&"function"==typeof a)return a(t);const l=(new window.DOMParser).parseFromString(t,"text/html"),f=[].concat(...l.body.querySelectorAll("*"));for(const m of f){const v=m.nodeName.toLowerCase();if(!Object.keys(r).includes(v)){m.remove();continue}const y=[].concat(...m.attributes),E=[].concat(r["*"]||[],r[v]||[]);for(const b of y)Er(b,E)||m.removeAttribute(b.nodeName)}return l.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"==typeof e?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const xr=new Set(["sanitize","allowList","sanitizeFn"]),xi="fade",ei="show",Tn="hide.bs.modal",ti="hover",Lr={AUTO:"auto",TOP:"top",RIGHT:U()?"left":"right",BOTTOM:"bottom",LEFT:U()?"right":"left"},kr={allowList:An,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],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"},Sr={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 it extends ce{constructor(e,t){if(void 0===Gi)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=!1,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners()}static get Default(){return kr}static get DefaultType(){return Sr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled){if(e){const t=this._initializeOnDelegatedTarget(e);return t._activeTrigger.click=!t._activeTrigger.click,void(t._isWithActiveTrigger()?t._enter():t._leave())}this._isShown()?this._leave():this._enter()}}dispose(){clearTimeout(this._timeout),p.off(this._element.closest(".modal"),Tn,this._hideModalHandler),this.tip&&this.tip.remove(),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=p.trigger(this._element,this.constructor.eventName("show")),t=(Me(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this.tip&&(this.tip.remove(),this.tip=null);const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(r),p.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(r),r.classList.add(ei),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))p.on(l,"mouseover",Ye);this._queueCallback(()=>{const l=this._isHovered;this._isHovered=!1,p.trigger(this._element,this.constructor.eventName("shown")),l&&this._leave()},this.tip,this._isAnimated())}hide(){if(!this._isShown()||p.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const e=this._getTipElement();if(e.classList.remove(ei),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))p.off(t,"mouseover",Ye);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=!1,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||e.remove(),this._element.removeAttribute("aria-describedby"),p.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())},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(xi,ei),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(a=>{do{a+=Math.floor(1e6*Math.random())}while(document.getElementById(a));return a})(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(xi),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Cr({...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._config.originalTitle}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(xi)}_isShown(){return this.tip&&this.tip.classList.contains(ei)}_createPopper(e){const t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,r=Lr[t.toUpperCase()];return Oi(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_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:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)p.on(this._element,this.constructor.eventName("click"),this._config.selector,r=>this.toggle(r));else if("manual"!==t){const r=this.constructor.eventName(t===ti?"mouseenter":"focusin"),a=this.constructor.eventName(t===ti?"mouseleave":"focusout");p.on(this._element,r,this._config.selector,l=>{const f=this._initializeOnDelegatedTarget(l);f._activeTrigger["focusin"===l.type?"focus":ti]=!0,f._enter()}),p.on(this._element,a,this._config.selector,l=>{const f=this._initializeOnDelegatedTarget(l);f._activeTrigger["focusout"===l.type?"focus":ti]=f._element.contains(l.relatedTarget),f._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},p.on(this._element.closest(".modal"),Tn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._config.originalTitle;e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",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=ie.getDataAttributes(this._element);for(const r of Object.keys(t))xr.has(r)&&delete t[r];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:be(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.originalTitle=this._element.getAttribute("title")||"","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 in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const t=it.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}le(it);const Dr={...it.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"},Pr={...it.DefaultType,content:"(null|string|element|function)"};class ii extends it{static get Default(){return Dr}static get DefaultType(){return Pr}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=ii.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}le(ii);const xn="click.bs.scrollspy",Pt="active",Nr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null},Ir={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element"};class Nt extends ce{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 Nr}static get DefaultType(){return Ir}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=be(e.target)||document.body,e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(p.off(this._config.target,xn),p.on(this._config.target,xn,"[href]",e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,a=t.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:a,behavior:"smooth"});r.scrollTop=a}}))}_getNewObserver(){const e={root:this._rootElement,threshold:[.1,.5,1],rootMargin:this._getRootMargin()};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=f=>this._targetLinks.get(`#${f.target.id}`),r=f=>{this._previousScrollData.visibleEntryTop=f.target.offsetTop,this._process(t(f))},a=(this._rootElement||document.documentElement).scrollTop,l=a>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=a;for(const f of e){if(!f.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(f));continue}const m=f.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(l&&m){if(r(f),!a)return}else l||m||r(f)}}_getRootMargin(){return this._config.offset?`${this._config.offset}px 0px -30%`:this._config.rootMargin}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=N.find("[href]",this._config.target);for(const t of e){if(!t.hash||me(t))continue;const r=N.findOne(t.hash,this._element);ae(r)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Pt),this._activateParents(e),p.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))N.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Pt);else for(const t of N.parents(e,".nav, .list-group"))for(const r of N.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))r.classList.add(Pt)}_clearActiveClass(e){e.classList.remove(Pt);const t=N.find("[href].active",e);for(const r of t)r.classList.remove(Pt)}static jQueryInterface(e){return this.each(function(){const t=Nt.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]()}})}}p.on(window,"load.bs.scrollspy.data-api",()=>{for(const i of N.find('[data-bs-spy="scroll"]'))Nt.getOrCreateInstance(i)}),le(Nt);const Mr="ArrowLeft",kn="ArrowRight",jr="ArrowUp",Sn="ArrowDown",It="active",Li="show",Pn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ki=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Pn}`;class nt extends ce{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),p.on(this._element,"keydown.bs.tab",t=>this._keydown(t)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?p.trigger(t,"hide.bs.tab",{relatedTarget:e}):null;p.trigger(e,"show.bs.tab",{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(It),this._activate(ve(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.focus(),e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),p.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(Li)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(It),e.blur(),this._deactivate(ve(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),p.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(Li)},e,e.classList.contains("fade")))}_keydown(e){if(![Mr,kn,jr,Sn].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[kn,Sn].includes(e.key),r=xe(this._getChildren().filter(a=>!me(a)),e.target,t,!0);r&&nt.getOrCreateInstance(r).show()}_getChildren(){return N.find(ki,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=ve(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains("dropdown"))return;const a=(l,f)=>{const m=N.findOne(l,r);m&&m.classList.toggle(f,t)};a(".dropdown-toggle",It),a(".dropdown-menu",Li),a(".dropdown-item",It),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(It)}_getInnerElement(e){return e.matches(ki)?e:N.findOne(ki,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=nt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}p.on(document,"click.bs.tab",Pn,function(i){["A","AREA"].includes(this.tagName)&&i.preventDefault(),me(this)||nt.getOrCreateInstance(this).show()}),p.on(window,"load.bs.tab",()=>{for(const i of N.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))nt.getOrCreateInstance(i)}),le(nt);const ni="show",ri="showing",Hr={animation:"boolean",autohide:"boolean",delay:"number"},Br={animation:!0,autohide:!0,delay:5e3};class Mt extends ce{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Br}static get DefaultType(){return Hr}static get NAME(){return"toast"}show(){p.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(ni,ri),this._queueCallback(()=>{this._element.classList.remove(ri),p.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(p.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(ri),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(ri,ni),p.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ni),super.dispose()}isShown(){return this._element.classList.contains(ni)}_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 r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){p.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),p.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),p.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),p.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Mt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return dt(Mt),le(Mt),{Alert:Be,Button:Qe,Carousel:ke,Collapse:Re,Dropdown:Ae,Modal:tt,Offcanvas:Ne,Popover:ii,ScrollSpy:Nt,Tab:nt,Toast:Mt,Tooltip:it}});
|