https://t.me/VPSTG(()=>{var Vc=Object.create;var On=Object.defineProperty,Wc=Object.defineProperties,Bc=Object.getOwnPropertyDescriptor,Kc=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertyNames,Mi=Object.getOwnPropertySymbols,Fc=Object.getPrototypeOf,ki=Object.prototype.hasOwnProperty,Yc=Object.prototype.propertyIsEnumerable;var Sn=(p,r,d)=>r in p?On(p,r,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[r]=d,P=(p,r)=>{for(var d in r||(r={}))ki.call(r,d)&&Sn(p,d,r[d]);if(Mi)for(var d of Mi(r))Yc.call(r,d)&&Sn(p,d,r[d]);return p},ke=(p,r)=>Wc(p,Kc(r));var zc=(p,r)=>()=>(r||p((r={exports:{}}).exports,r),r.exports);var qc=(p,r,d,E)=>{if(r&&typeof r=="object"||typeof r=="function")for(let M of jc(r))!ki.call(p,M)&&M!==d&&On(p,M,{get:()=>r[M],enumerable:!(E=Bc(r,M))||E.enumerable});return p};var Uc=(p,r,d)=>(d=p!=null?Vc(Fc(p)):{},qc(r||!p||!p.__esModule?On(d,"default",{value:p,enumerable:!0}):d,p));var T=(p,r,d)=>(Sn(p,typeof r!="symbol"?r+"":r,d),d);var Pi=zc((Nn,Ln)=>{(function(p,r){typeof Nn=="object"&&typeof Ln!="undefined"?Ln.exports=r():typeof define=="function"&&define.amd?define(r):(p=typeof globalThis!="undefined"?globalThis:p||self,p.bootstrap=r())})(Nn,function(){"use strict";let p=new Map,r={set(n,t,e){p.has(n)||p.set(n,new Map);let s=p.get(n);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,e)},get(n,t){return p.has(n)&&p.get(n).get(t)||null},remove(n,t){if(!p.has(n))return;let e=p.get(n);e.delete(t),e.size===0&&p.delete(n)}},d=1e6,E=1e3,M="transitionend",pt=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),n),J=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),$t=n=>{do n+=Math.floor(Math.random()*d);while(document.getElementById(n));return n},Qi=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(n),s=Number.parseFloat(t),i=Number.parseFloat(e);return!s&&!i?0:(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*E)},Fn=n=>{n.dispatchEvent(new Event(M))},st=n=>!n||typeof n!="object"?!1:(typeof n.jquery!="undefined"&&(n=n[0]),typeof n.nodeType!="undefined"),lt=n=>st(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(pt(n)):null,It=n=>{if(!st(n)||n.getClientRects().length===0)return!1;let t=getComputedStyle(n).getPropertyValue("visibility")==="visible",e=n.closest("details:not([open])");if(!e)return t;if(e!==n){let s=n.closest("summary");if(s&&s.parentNode!==e||s===null)return!1}return t},ct=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled!="undefined"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Yn=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){let t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?Yn(n.parentNode):null},de=()=>{},Gt=n=>{n.offsetHeight},zn=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Re=[],Zi=n=>{document.readyState==="loading"?(Re.length||document.addEventListener("DOMContentLoaded",()=>{for(let t of Re)t()}),Re.push(n)):n()},Y=()=>document.documentElement.dir==="rtl",z=n=>{Zi(()=>{let t=zn();if(t){let e=n.NAME,s=t.fn[e];t.fn[e]=n.jQueryInterface,t.fn[e].Constructor=n,t.fn[e].noConflict=()=>(t.fn[e]=s,n.jQueryInterface)}})},W=(n,t=[],e=n)=>typeof n=="function"?n.call(...t):e,qn=(n,t,e=!0)=>{if(!e){W(n);return}let s=5,i=Qi(t)+s,o=!1,a=({target:l})=>{l===t&&(o=!0,t.removeEventListener(M,a),W(n))};t.addEventListener(M,a),setTimeout(()=>{o||Fn(t)},i)},He=(n,t,e,s)=>{let i=n.length,o=n.indexOf(t);return o===-1?!e&&s?n[i-1]:n[0]:(o+=e?1:-1,s&&(o=(o+i)%i),n[Math.max(0,Math.min(o,i-1))])},Ji=/[^.]*(?=\..*)\.|.*/,tr=/\..*/,er=/::\d+$/,Ve={},Un=1,Gn={mouseenter:"mouseover",mouseleave:"mouseout"},nr=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 Xn(n,t){return t&&`${t}::${Un++}`||n.uidEvent||Un++}function Qn(n){let t=Xn(n);return n.uidEvent=t,Ve[t]=Ve[t]||{},Ve[t]}function sr(n,t){return function e(s){return Be(s,{delegateTarget:n}),e.oneOff&&c.off(n,s.type,t),t.apply(n,[s])}}function ir(n,t,e){return function s(i){let o=n.querySelectorAll(t);for(let{target:a}=i;a&&a!==this;a=a.parentNode)for(let l of o)if(l===a)return Be(i,{delegateTarget:a}),s.oneOff&&c.off(n,i.type,t,e),e.apply(a,[i])}}function Zn(n,t,e=null){return Object.values(n).find(s=>s.callable===t&&s.delegationSelector===e)}function Jn(n,t,e){let s=typeof t=="string",i=s?e:t||e,o=es(n);return nr.has(o)||(o=n),[s,i,o]}function ts(n,t,e,s,i){if(typeof t!="string"||!n)return;let[o,a,l]=Jn(t,e,s);t in Gn&&(a=(S=>function(b){if(!b.relatedTarget||b.relatedTarget!==b.delegateTarget&&!b.delegateTarget.contains(b.relatedTarget))return S.call(this,b)})(a));let u=Qn(n),f=u[l]||(u[l]={}),h=Zn(f,a,o?e:null);if(h){h.oneOff=h.oneOff&&i;return}let g=Xn(a,t.replace(Ji,"")),v=o?ir(n,e,a):sr(n,a);v.delegationSelector=o?e:null,v.callable=a,v.oneOff=i,v.uidEvent=g,f[g]=v,n.addEventListener(l,v,o)}function We(n,t,e,s,i){let o=Zn(t[e],s,i);o&&(n.removeEventListener(e,o,!!i),delete t[e][o.uidEvent])}function rr(n,t,e,s){let i=t[e]||{};for(let[o,a]of Object.entries(i))o.includes(s)&&We(n,t,e,a.callable,a.delegationSelector)}function es(n){return n=n.replace(tr,""),Gn[n]||n}let c={on(n,t,e,s){ts(n,t,e,s,!1)},one(n,t,e,s){ts(n,t,e,s,!0)},off(n,t,e,s){if(typeof t!="string"||!n)return;let[i,o,a]=Jn(t,e,s),l=a!==t,u=Qn(n),f=u[a]||{},h=t.startsWith(".");if(typeof o!="undefined"){if(!Object.keys(f).length)return;We(n,u,a,o,i?e:null);return}if(h)for(let g of Object.keys(u))rr(n,u,g,t.slice(1));for(let[g,v]of Object.entries(f)){let _=g.replace(er,"");(!l||t.includes(_))&&We(n,u,a,v.callable,v.delegationSelector)}},trigger(n,t,e){if(typeof t!="string"||!n)return null;let s=zn(),i=es(t),o=t!==i,a=null,l=!0,u=!0,f=!1;o&&s&&(a=s.Event(t,e),s(n).trigger(a),l=!a.isPropagationStopped(),u=!a.isImmediatePropagationStopped(),f=a.isDefaultPrevented());let h=Be(new Event(t,{bubbles:l,cancelable:!0}),e);return f&&h.preventDefault(),u&&n.dispatchEvent(h),h.defaultPrevented&&a&&a.preventDefault(),h}};function Be(n,t={}){for(let[e,s]of Object.entries(t))try{n[e]=s}catch(i){Object.defineProperty(n,e,{configurable:!0,get(){return s}})}return n}function ns(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch(t){return n}}function Ke(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}let it={setDataAttribute(n,t,e){n.setAttribute(`data-bs-${Ke(t)}`,e)},removeDataAttribute(n,t){n.removeAttribute(`data-bs-${Ke(t)}`)},getDataAttributes(n){if(!n)return{};let t={},e=Object.keys(n.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(let s of e){let i=s.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),t[i]=ns(n.dataset[s])}return t},getDataAttribute(n,t){return ns(n.getAttribute(`data-bs-${Ke(t)}`))}};class Xt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){let s=st(e)?it.getDataAttribute(e,"config"):{};return P(P(P(P({},this.constructor.Default),typeof s=="object"?s:{}),st(e)?it.getDataAttributes(e):{}),typeof t=="object"?t:{})}_typeCheckConfig(t,e=this.constructor.DefaultType){for(let[s,i]of Object.entries(e)){let o=t[s],a=st(o)?"element":J(o);if(!new RegExp(i).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${a}" but expected type "${i}".`)}}}let or="5.3.8";class G extends Xt{constructor(t,e){super(),t=lt(t),t&&(this._element=t,this._config=this._getConfig(e),r.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.remove(this._element,this.constructor.DATA_KEY),c.off(this._element,this.constructor.EVENT_KEY);for(let t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,s=!0){qn(t,e,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return r.get(lt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e=="object"?e:null)}static get VERSION(){return or}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}let je=n=>{let t=n.getAttribute("data-bs-target");if(!t||t==="#"){let e=n.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&e!=="#"?e.trim():null}return t?t.split(",").map(e=>pt(e)).join(","):null},m={find(n,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,n))},findOne(n,t=document.documentElement){return Element.prototype.querySelector.call(t,n)},children(n,t){return[].concat(...n.children).filter(e=>e.matches(t))},parents(n,t){let e=[],s=n.parentNode.closest(t);for(;s;)e.push(s),s=s.parentNode.closest(t);return e},prev(n,t){let e=n.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(n,t){let e=n.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(n){let t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,n).filter(e=>!ct(e)&&It(e))},getSelectorFromElement(n){let t=je(n);return t&&m.findOne(t)?t:null},getElementFromSelector(n){let t=je(n);return t?m.findOne(t):null},getMultipleElementsFromSelector(n){let t=je(n);return t?m.find(t):[]}},he=(n,t="hide")=>{let e=`click.dismiss${n.EVENT_KEY}`,s=n.NAME;c.on(document,e,`[data-bs-dismiss="${s}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),ct(this))return;let o=m.getElementFromSelector(this)||this.closest(`.${s}`);n.getOrCreateInstance(o)[t]()})},ar="alert",ss=".bs.alert",lr=`close${ss}`,cr=`closed${ss}`,ur="fade",dr="show";class Qt extends G{static get NAME(){return ar}close(){if(c.trigger(this._element,lr).defaultPrevented)return;this._element.classList.remove(dr);let e=this._element.classList.contains(ur);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),c.trigger(this._element,cr),this.dispose()}static jQueryInterface(t){return this.each(function(){let e=Qt.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}he(Qt,"close"),z(Qt);let hr="button",fr=".bs.button",pr=".data-api",mr="active",is='[data-bs-toggle="button"]',_r=`click${fr}${pr}`;class Zt extends G{static get NAME(){return hr}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(mr))}static jQueryInterface(t){return this.each(function(){let e=Zt.getOrCreateInstance(this);t==="toggle"&&e[t]()})}}c.on(document,_r,is,n=>{n.preventDefault();let t=n.target.closest(is);Zt.getOrCreateInstance(t).toggle()}),z(Zt);let gr="swipe",xt=".bs.swipe",Er=`touchstart${xt}`,vr=`touchmove${xt}`,br=`touchend${xt}`,Ar=`pointerdown${xt}`,Tr=`pointerup${xt}`,yr="touch",wr="pen",Cr="pointer-event",Sr=40,Or={endCallback:null,leftCallback:null,rightCallback:null},Nr={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class fe extends Xt{constructor(t,e){super(),this._element=t,!(!t||!fe.isSupported())&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Or}static get DefaultType(){return Nr}static get NAME(){return gr}dispose(){c.off(this._element,xt)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),W(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){let t=Math.abs(this._deltaX);if(t<=Sr)return;let e=t/this._deltaX;this._deltaX=0,e&&W(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(c.on(this._element,Ar,t=>this._start(t)),c.on(this._element,Tr,t=>this._end(t)),this._element.classList.add(Cr)):(c.on(this._element,Er,t=>this._start(t)),c.on(this._element,vr,t=>this._move(t)),c.on(this._element,br,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===wr||t.pointerType===yr)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}let Lr="carousel",ut=".bs.carousel",rs=".data-api",Dr="ArrowLeft",$r="ArrowRight",Ir=500,Jt="next",Mt="prev",kt="left",pe="right",xr=`slide${ut}`,Fe=`slid${ut}`,Mr=`keydown${ut}`,kr=`mouseenter${ut}`,Pr=`mouseleave${ut}`,Rr=`dragstart${ut}`,Hr=`load${ut}${rs}`,Vr=`click${ut}${rs}`,os="carousel",me="active",Wr="slide",Br="carousel-item-end",Kr="carousel-item-start",jr="carousel-item-next",Fr="carousel-item-prev",as=".active",ls=".carousel-item",Yr=as+ls,zr=".carousel-item img",qr=".carousel-indicators",Ur="[data-bs-slide], [data-bs-slide-to]",Gr='[data-bs-ride="carousel"]',Xr={[Dr]:pe,[$r]:kt},Qr={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Zr={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Pt extends G{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=m.findOne(qr,this._element),this._addEventListeners(),this._config.ride===os&&this.cycle()}static get Default(){return Qr}static get DefaultType(){return Zr}static get NAME(){return Lr}next(){this._slide(Jt)}nextWhenVisible(){!document.hidden&&It(this._element)&&this.next()}prev(){this._slide(Mt)}pause(){this._isSliding&&Fn(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){c.one(this._element,Fe,()=>this.cycle());return}this.cycle()}}to(t){let e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding){c.one(this._element,Fe,()=>this.to(t));return}let s=this._getItemIndex(this._getActive());if(s===t)return;let i=t>s?Jt:Mt;this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&c.on(this._element,Mr,t=>this._keydown(t)),this._config.pause==="hover"&&(c.on(this._element,kr,()=>this.pause()),c.on(this._element,Pr,()=>this._maybeEnableCycle())),this._config.touch&&fe.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let s of m.find(zr,this._element))c.on(s,Rr,i=>i.preventDefault());let e={leftCallback:()=>this._slide(this._directionToOrder(kt)),rightCallback:()=>this._slide(this._directionToOrder(pe)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Ir+this._config.interval))}};this._swipeHelper=new fe(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;let e=Xr[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;let e=m.findOne(as,this._indicatorsElement);e.classList.remove(me),e.removeAttribute("aria-current");let s=m.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(me),s.setAttribute("aria-current","true"))}_updateInterval(){let t=this._activeElement||this._getActive();if(!t)return;let e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;let s=this._getActive(),i=t===Jt,o=e||He(this._getItems(),s,i,this._config.wrap);if(o===s)return;let a=this._getItemIndex(o),l=_=>c.trigger(this._element,_,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:a});if(l(xr).defaultPrevented||!s||!o)return;let f=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=o;let h=i?Kr:Br,g=i?jr:Fr;o.classList.add(g),Gt(o),s.classList.add(h),o.classList.add(h);let v=()=>{o.classList.remove(h,g),o.classList.add(me),s.classList.remove(me,g,h),this._isSliding=!1,l(Fe)};this._queueCallback(v,s,this._isAnimated()),f&&this.cycle()}_isAnimated(){return this._element.classList.contains(Wr)}_getActive(){return m.findOne(Yr,this._element)}_getItems(){return m.find(ls,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Y()?t===kt?Mt:Jt:t===kt?Jt:Mt}_orderToDirection(t){return Y()?t===Mt?kt:pe:t===Mt?pe:kt}static jQueryInterface(t){return this.each(function(){let e=Pt.getOrCreateInstance(this,t);if(typeof t=="number"){e.to(t);return}if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(document,Vr,Ur,function(n){let t=m.getElementFromSelector(this);if(!t||!t.classList.contains(os))return;n.preventDefault();let e=Pt.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){e.to(s),e._maybeEnableCycle();return}if(it.getDataAttribute(this,"slide")==="next"){e.next(),e._maybeEnableCycle();return}e.prev(),e._maybeEnableCycle()}),c.on(window,Hr,()=>{let n=m.find(Gr);for(let t of n)Pt.getOrCreateInstance(t)}),z(Pt);let Jr="collapse",te=".bs.collapse",to=".data-api",eo=`show${te}`,no=`shown${te}`,so=`hide${te}`,io=`hidden${te}`,ro=`click${te}${to}`,Ye="show",Rt="collapse",_e="collapsing",oo="collapsed",ao=`:scope .${Rt} .${Rt}`,lo="collapse-horizontal",co="width",uo="height",ho=".collapse.show, .collapse.collapsing",ze='[data-bs-toggle="collapse"]',fo={parent:null,toggle:!0},po={parent:"(null|element)",toggle:"boolean"};class Ht extends G{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];let s=m.find(ze);for(let i of s){let o=m.getSelectorFromElement(i),a=m.find(o).filter(l=>l===this._element);o!==null&&a.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return fo}static get DefaultType(){return po}static get NAME(){return Jr}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(ho).filter(l=>l!==this._element).map(l=>Ht.getOrCreateInstance(l,{toggle:!1}))),t.length&&t[0]._isTransitioning||c.trigger(this._element,eo).defaultPrevented)return;for(let l of t)l.hide();let s=this._getDimension();this._element.classList.remove(Rt),this._element.classList.add(_e),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let i=()=>{this._isTransitioning=!1,this._element.classList.remove(_e),this._element.classList.add(Rt,Ye),this._element.style[s]="",c.trigger(this._element,no)},a=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[s]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown()||c.trigger(this._element,so).defaultPrevented)return;let e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Gt(this._element),this._element.classList.add(_e),this._element.classList.remove(Rt,Ye);for(let i of this._triggerArray){let o=m.getElementFromSelector(i);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;let s=()=>{this._isTransitioning=!1,this._element.classList.remove(_e),this._element.classList.add(Rt),c.trigger(this._element,io)};this._element.style[e]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ye)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=lt(t.parent),t}_getDimension(){return this._element.classList.contains(lo)?co:uo}_initializeChildren(){if(!this._config.parent)return;let t=this._getFirstLevelChildren(ze);for(let e of t){let s=m.getElementFromSelector(e);s&&this._addAriaAndCollapsedClass([e],this._isShown(s))}}_getFirstLevelChildren(t){let e=m.find(ao,this._config.parent);return m.find(t,this._config.parent).filter(s=>!e.includes(s))}_addAriaAndCollapsedClass(t,e){if(t.length)for(let s of t)s.classList.toggle(oo,!e),s.setAttribute("aria-expanded",e)}static jQueryInterface(t){let e={};return typeof t=="string"&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){let s=Ht.getOrCreateInstance(this,e);if(typeof t=="string"){if(typeof s[t]=="undefined")throw new TypeError(`No method named "${t}"`);s[t]()}})}}c.on(document,ro,ze,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(let t of m.getMultipleElementsFromSelector(this))Ht.getOrCreateInstance(t,{toggle:!1}).toggle()}),z(Ht);var R="top",B="bottom",K="right",H="left",ge="auto",Vt=[R,B,K,H],mt="start",Wt="end",cs="clippingParents",qe="viewport",Bt="popper",us="reference",Ue=Vt.reduce(function(n,t){return n.concat([t+"-"+mt,t+"-"+Wt])},[]),Ge=[].concat(Vt,[ge]).reduce(function(n,t){return n.concat([t,t+"-"+mt,t+"-"+Wt])},[]),ds="beforeRead",hs="read",fs="afterRead",ps="beforeMain",ms="main",_s="afterMain",gs="beforeWrite",Es="write",vs="afterWrite",bs=[ds,hs,fs,ps,ms,_s,gs,Es,vs];function tt(n){return n?(n.nodeName||"").toLowerCase():null}function j(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function _t(n){var t=j(n).Element;return n instanceof t||n instanceof Element}function q(n){var t=j(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function Xe(n){if(typeof ShadowRoot=="undefined")return!1;var t=j(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function mo(n){var t=n.state;Object.keys(t.elements).forEach(function(e){var s=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];!q(o)||!tt(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function _o(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(s){var i=t.elements[s],o=t.attributes[s]||{},a=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:e[s]),l=a.reduce(function(u,f){return u[f]="",u},{});!q(i)||!tt(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(u){i.removeAttribute(u)}))})}}let Qe={name:"applyStyles",enabled:!0,phase:"write",fn:mo,effect:_o,requires:["computeStyles"]};function et(n){return n.split("-")[0]}var gt=Math.max,Ee=Math.min,Kt=Math.round;function Ze(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function As(){return!/^((?!chrome|android).)*safari/i.test(Ze())}function jt(n,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var s=n.getBoundingClientRect(),i=1,o=1;t&&q(n)&&(i=n.offsetWidth>0&&Kt(s.width)/n.offsetWidth||1,o=n.offsetHeight>0&&Kt(s.height)/n.offsetHeight||1);var a=_t(n)?j(n):window,l=a.visualViewport,u=!As()&&e,f=(s.left+(u&&l?l.offsetLeft:0))/i,h=(s.top+(u&&l?l.offsetTop:0))/o,g=s.width/i,v=s.height/o;return{width:g,height:v,top:h,right:f+g,bottom:h+v,left:f,x:f,y:h}}function Je(n){var t=jt(n),e=n.offsetWidth,s=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:s}}function Ts(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&Xe(e)){var s=t;do{if(s&&n.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function rt(n){return j(n).getComputedStyle(n)}function go(n){return["table","td","th"].indexOf(tt(n))>=0}function dt(n){return((_t(n)?n.ownerDocument:n.document)||window.document).documentElement}function ve(n){return tt(n)==="html"?n:n.assignedSlot||n.parentNode||(Xe(n)?n.host:null)||dt(n)}function ys(n){return!q(n)||rt(n).position==="fixed"?null:n.offsetParent}function Eo(n){var t=/firefox/i.test(Ze()),e=/Trident/i.test(Ze());if(e&&q(n)){var s=rt(n);if(s.position==="fixed")return null}var i=ve(n);for(Xe(i)&&(i=i.host);q(i)&&["html","body"].indexOf(tt(i))<0;){var o=rt(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ee(n){for(var t=j(n),e=ys(n);e&&go(e)&&rt(e).position==="static";)e=ys(e);return e&&(tt(e)==="html"||tt(e)==="body"&&rt(e).position==="static")?t:e||Eo(n)||t}function tn(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function ne(n,t,e){return gt(n,Ee(t,e))}function vo(n,t,e){var s=ne(n,t,e);return s>e?e:s}function ws(){return{top:0,right:0,bottom:0,left:0}}function Cs(n){return Object.assign({},ws(),n)}function Ss(n,t){return t.reduce(function(e,s){return e[s]=n,e},{})}var bo=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,Cs(typeof t!="number"?t:Ss(t,Vt))};function Ao(n){var t,e=n.state,s=n.name,i=n.options,o=e.elements.arrow,a=e.modifiersData.popperOffsets,l=et(e.placement),u=tn(l),f=[H,K].indexOf(l)>=0,h=f?"height":"width";if(!(!o||!a)){var g=bo(i.padding,e),v=Je(o),_=u==="y"?R:H,S=u==="y"?B:K,b=e.rects.reference[h]+e.rects.reference[u]-a[u]-e.rects.popper[h],y=a[u]-e.rects.reference[u],O=ee(o),L=O?u==="y"?O.clientHeight||0:O.clientWidth||0:0,D=b/2-y/2,A=g[_],w=L-v[h]-g[S],C=L/2-v[h]/2+D,N=ne(A,C,w),x=u;e.modifiersData[s]=(t={},t[x]=N,t.centerOffset=N-C,t)}}function To(n){var t=n.state,e=n.options,s=e.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Ts(t.elements.popper,i)&&(t.elements.arrow=i))}let Os={name:"arrow",enabled:!0,phase:"main",fn:Ao,effect:To,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ft(n){return n.split("-")[1]}var yo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wo(n,t){var e=n.x,s=n.y,i=t.devicePixelRatio||1;return{x:Kt(e*i)/i||0,y:Kt(s*i)/i||0}}function Ns(n){var t,e=n.popper,s=n.popperRect,i=n.placement,o=n.variation,a=n.offsets,l=n.position,u=n.gpuAcceleration,f=n.adaptive,h=n.roundOffsets,g=n.isFixed,v=a.x,_=v===void 0?0:v,S=a.y,b=S===void 0?0:S,y=typeof h=="function"?h({x:_,y:b}):{x:_,y:b};_=y.x,b=y.y;var O=a.hasOwnProperty("x"),L=a.hasOwnProperty("y"),D=H,A=R,w=window;if(f){var C=ee(e),N="clientHeight",x="clientWidth";if(C===j(e)&&(C=dt(e),rt(C).position!=="static"&&l==="absolute"&&(N="scrollHeight",x="scrollWidth")),C=C,i===R||(i===H||i===K)&&o===Wt){A=B;var I=g&&C===w&&w.visualViewport?w.visualViewport.height:C[N];b-=I-s.height,b*=u?1:-1}if(i===H||(i===R||i===B)&&o===Wt){D=K;var $=g&&C===w&&w.visualViewport?w.visualViewport.width:C[x];_-=$-s.width,_*=u?1:-1}}var k=Object.assign({position:l},f&&yo),Q=h===!0?wo({x:_,y:b},j(e)):{x:_,y:b};if(_=Q.x,b=Q.y,u){var V;return Object.assign({},k,(V={},V[A]=L?"0":"",V[D]=O?"0":"",V.transform=(w.devicePixelRatio||1)<=1?"translate("+_+"px, "+b+"px)":"translate3d("+_+"px, "+b+"px, 0)",V))}return Object.assign({},k,(t={},t[A]=L?b+"px":"",t[D]=O?_+"px":"",t.transform="",t))}function Co(n){var t=n.state,e=n.options,s=e.gpuAcceleration,i=s===void 0?!0:s,o=e.adaptive,a=o===void 0?!0:o,l=e.roundOffsets,u=l===void 0?!0:l,f={placement:et(t.placement),variation:Ft(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ns(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ns(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}let en={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Co,data:{}};var be={passive:!0};function So(n){var t=n.state,e=n.instance,s=n.options,i=s.scroll,o=i===void 0?!0:i,a=s.resize,l=a===void 0?!0:a,u=j(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&f.forEach(function(h){h.addEventListener("scroll",e.update,be)}),l&&u.addEventListener("resize",e.update,be),function(){o&&f.forEach(function(h){h.removeEventListener("scroll",e.update,be)}),l&&u.removeEventListener("resize",e.update,be)}}let nn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:So,data:{}};var Oo={left:"right",right:"left",bottom:"top",top:"bottom"};function Ae(n){return n.replace(/left|right|bottom|top/g,function(t){return Oo[t]})}var No={start:"end",end:"start"};function Ls(n){return n.replace(/start|end/g,function(t){return No[t]})}function sn(n){var t=j(n),e=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:e,scrollTop:s}}function rn(n){return jt(dt(n)).left+sn(n).scrollLeft}function Lo(n,t){var e=j(n),s=dt(n),i=e.visualViewport,o=s.clientWidth,a=s.clientHeight,l=0,u=0;if(i){o=i.width,a=i.height;var f=As();(f||!f&&t==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:l+rn(n),y:u}}function Do(n){var t,e=dt(n),s=sn(n),i=(t=n.ownerDocument)==null?void 0:t.body,o=gt(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=gt(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-s.scrollLeft+rn(n),u=-s.scrollTop;return rt(i||e).direction==="rtl"&&(l+=gt(e.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:u}}function on(n){var t=rt(n),e=t.overflow,s=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+s)}function Ds(n){return["html","body","#document"].indexOf(tt(n))>=0?n.ownerDocument.body:q(n)&&on(n)?n:Ds(ve(n))}function se(n,t){var e;t===void 0&&(t=[]);var s=Ds(n),i=s===((e=n.ownerDocument)==null?void 0:e.body),o=j(s),a=i?[o].concat(o.visualViewport||[],on(s)?s:[]):s,l=t.concat(a);return i?l:l.concat(se(ve(a)))}function an(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function $o(n,t){var e=jt(n,!1,t==="fixed");return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}function $s(n,t,e){return t===qe?an(Lo(n,e)):_t(t)?$o(t,e):an(Do(dt(n)))}function Io(n){var t=se(ve(n)),e=["absolute","fixed"].indexOf(rt(n).position)>=0,s=e&&q(n)?ee(n):n;return _t(s)?t.filter(function(i){return _t(i)&&Ts(i,s)&&tt(i)!=="body"}):[]}function xo(n,t,e,s){var i=t==="clippingParents"?Io(n):[].concat(t),o=[].concat(i,[e]),a=o[0],l=o.reduce(function(u,f){var h=$s(n,f,s);return u.top=gt(h.top,u.top),u.right=Ee(h.right,u.right),u.bottom=Ee(h.bottom,u.bottom),u.left=gt(h.left,u.left),u},$s(n,a,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Is(n){var t=n.reference,e=n.element,s=n.placement,i=s?et(s):null,o=s?Ft(s):null,a=t.x+t.width/2-e.width/2,l=t.y+t.height/2-e.height/2,u;switch(i){case R:u={x:a,y:t.y-e.height};break;case B:u={x:a,y:t.y+t.height};break;case K:u={x:t.x+t.width,y:l};break;case H:u={x:t.x-e.width,y:l};break;default:u={x:t.x,y:t.y}}var f=i?tn(i):null;if(f!=null){var h=f==="y"?"height":"width";switch(o){case mt:u[f]=u[f]-(t[h]/2-e[h]/2);break;case Wt:u[f]=u[f]+(t[h]/2-e[h]/2);break}}return u}function Yt(n,t){t===void 0&&(t={});var e=t,s=e.placement,i=s===void 0?n.placement:s,o=e.strategy,a=o===void 0?n.strategy:o,l=e.boundary,u=l===void 0?cs:l,f=e.rootBoundary,h=f===void 0?qe:f,g=e.elementContext,v=g===void 0?Bt:g,_=e.altBoundary,S=_===void 0?!1:_,b=e.padding,y=b===void 0?0:b,O=Cs(typeof y!="number"?y:Ss(y,Vt)),L=v===Bt?us:Bt,D=n.rects.popper,A=n.elements[S?L:v],w=xo(_t(A)?A:A.contextElement||dt(n.elements.popper),u,h,a),C=jt(n.elements.reference),N=Is({reference:C,element:D,placement:i}),x=an(Object.assign({},D,N)),I=v===Bt?x:C,$={top:w.top-I.top+O.top,bottom:I.bottom-w.bottom+O.bottom,left:w.left-I.left+O.left,right:I.right-w.right+O.right},k=n.modifiersData.offset;if(v===Bt&&k){var Q=k[i];Object.keys($).forEach(function(V){var Ct=[K,B].indexOf(V)>=0?1:-1,St=[R,B].indexOf(V)>=0?"y":"x";$[V]+=Q[St]*Ct})}return $}function Mo(n,t){t===void 0&&(t={});var e=t,s=e.placement,i=e.boundary,o=e.rootBoundary,a=e.padding,l=e.flipVariations,u=e.allowedAutoPlacements,f=u===void 0?Ge:u,h=Ft(s),g=h?l?Ue:Ue.filter(function(S){return Ft(S)===h}):Vt,v=g.filter(function(S){return f.indexOf(S)>=0});v.length===0&&(v=g);var _=v.reduce(function(S,b){return S[b]=Yt(n,{placement:b,boundary:i,rootBoundary:o,padding:a})[et(b)],S},{});return Object.keys(_).sort(function(S,b){return _[S]-_[b]})}function ko(n){if(et(n)===ge)return[];var t=Ae(n);return[Ls(n),t,Ls(t)]}function Po(n){var t=n.state,e=n.options,s=n.name;if(!t.modifiersData[s]._skip){for(var i=e.mainAxis,o=i===void 0?!0:i,a=e.altAxis,l=a===void 0?!0:a,u=e.fallbackPlacements,f=e.padding,h=e.boundary,g=e.rootBoundary,v=e.altBoundary,_=e.flipVariations,S=_===void 0?!0:_,b=e.allowedAutoPlacements,y=t.options.placement,O=et(y),L=O===y,D=u||(L||!S?[Ae(y)]:ko(y)),A=[y].concat(D).reduce(function(Ut,ft){return Ut.concat(et(ft)===ge?Mo(t,{placement:ft,boundary:h,rootBoundary:g,padding:f,flipVariations:S,allowedAutoPlacements:b}):ft)},[]),w=t.rects.reference,C=t.rects.popper,N=new Map,x=!0,I=A[0],$=0;$=0,St=Ct?"width":"height",F=Yt(t,{placement:k,boundary:h,rootBoundary:g,altBoundary:v,padding:f}),Z=Ct?V?K:H:V?B:R;w[St]>C[St]&&(Z=Ae(Z));var De=Ae(Z),Ot=[];if(o&&Ot.push(F[Q]<=0),l&&Ot.push(F[Z]<=0,F[De]<=0),Ot.every(function(Ut){return Ut})){I=k,x=!1;break}N.set(k,Ot)}if(x)for(var $e=S?3:1,Tn=function(ft){var le=A.find(function(xe){var Nt=N.get(xe);if(Nt)return Nt.slice(0,ft).every(function(yn){return yn})});if(le)return I=le,"break"},ae=$e;ae>0;ae--){var Ie=Tn(ae);if(Ie==="break")break}t.placement!==I&&(t.modifiersData[s]._skip=!0,t.placement=I,t.reset=!0)}}let xs={name:"flip",enabled:!0,phase:"main",fn:Po,requiresIfExists:["offset"],data:{_skip:!1}};function Ms(n,t,e){return e===void 0&&(e={x:0,y:0}),{top:n.top-t.height-e.y,right:n.right-t.width+e.x,bottom:n.bottom-t.height+e.y,left:n.left-t.width-e.x}}function ks(n){return[R,K,B,H].some(function(t){return n[t]>=0})}function Ro(n){var t=n.state,e=n.name,s=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Yt(t,{elementContext:"reference"}),l=Yt(t,{altBoundary:!0}),u=Ms(a,s),f=Ms(l,i,o),h=ks(u),g=ks(f);t.modifiersData[e]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:h,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":g})}let Ps={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ro};function Ho(n,t,e){var s=et(n),i=[H,R].indexOf(s)>=0?-1:1,o=typeof e=="function"?e(Object.assign({},t,{placement:n})):e,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[H,K].indexOf(s)>=0?{x:l,y:a}:{x:a,y:l}}function Vo(n){var t=n.state,e=n.options,s=n.name,i=e.offset,o=i===void 0?[0,0]:i,a=Ge.reduce(function(h,g){return h[g]=Ho(g,t.rects,o),h},{}),l=a[t.placement],u=l.x,f=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=f),t.modifiersData[s]=a}let Rs={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Vo};function Wo(n){var t=n.state,e=n.name;t.modifiersData[e]=Is({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}let ln={name:"popperOffsets",enabled:!0,phase:"read",fn:Wo,data:{}};function Bo(n){return n==="x"?"y":"x"}function Ko(n){var t=n.state,e=n.options,s=n.name,i=e.mainAxis,o=i===void 0?!0:i,a=e.altAxis,l=a===void 0?!1:a,u=e.boundary,f=e.rootBoundary,h=e.altBoundary,g=e.padding,v=e.tether,_=v===void 0?!0:v,S=e.tetherOffset,b=S===void 0?0:S,y=Yt(t,{boundary:u,rootBoundary:f,padding:g,altBoundary:h}),O=et(t.placement),L=Ft(t.placement),D=!L,A=tn(O),w=Bo(A),C=t.modifiersData.popperOffsets,N=t.rects.reference,x=t.rects.popper,I=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,$=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Q={x:0,y:0};if(C){if(o){var V,Ct=A==="y"?R:H,St=A==="y"?B:K,F=A==="y"?"height":"width",Z=C[A],De=Z+y[Ct],Ot=Z-y[St],$e=_?-x[F]/2:0,Tn=L===mt?N[F]:x[F],ae=L===mt?-x[F]:-N[F],Ie=t.elements.arrow,Ut=_&&Ie?Je(Ie):{width:0,height:0},ft=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ws(),le=ft[Ct],xe=ft[St],Nt=ne(0,N[F],Ut[F]),yn=D?N[F]/2-$e-Nt-le-$.mainAxis:Tn-Nt-le-$.mainAxis,xc=D?-N[F]/2+$e+Nt+xe+$.mainAxis:ae+Nt+xe+$.mainAxis,wn=t.elements.arrow&&ee(t.elements.arrow),Mc=wn?A==="y"?wn.clientTop||0:wn.clientLeft||0:0,Ci=(V=k==null?void 0:k[A])!=null?V:0,kc=Z+yn-Ci-Mc,Pc=Z+xc-Ci,Si=ne(_?Ee(De,kc):De,Z,_?gt(Ot,Pc):Ot);C[A]=Si,Q[A]=Si-Z}if(l){var Oi,Rc=A==="x"?R:H,Hc=A==="x"?B:K,Lt=C[w],Me=w==="y"?"height":"width",Ni=Lt+y[Rc],Li=Lt-y[Hc],Cn=[R,H].indexOf(O)!==-1,Di=(Oi=k==null?void 0:k[w])!=null?Oi:0,$i=Cn?Ni:Lt-N[Me]-x[Me]-Di+$.altAxis,Ii=Cn?Lt+N[Me]+x[Me]-Di-$.altAxis:Li,xi=_&&Cn?vo($i,Lt,Ii):ne(_?$i:Ni,Lt,_?Ii:Li);C[w]=xi,Q[w]=xi-Lt}t.modifiersData[s]=Q}}let Hs={name:"preventOverflow",enabled:!0,phase:"main",fn:Ko,requiresIfExists:["offset"]};function jo(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Fo(n){return n===j(n)||!q(n)?sn(n):jo(n)}function Yo(n){var t=n.getBoundingClientRect(),e=Kt(t.width)/n.offsetWidth||1,s=Kt(t.height)/n.offsetHeight||1;return e!==1||s!==1}function zo(n,t,e){e===void 0&&(e=!1);var s=q(t),i=q(t)&&Yo(t),o=dt(t),a=jt(n,i,e),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(s||!s&&!e)&&((tt(t)!=="body"||on(o))&&(l=Fo(t)),q(t)?(u=jt(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=rn(o))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function qo(n){var t=new Map,e=new Set,s=[];n.forEach(function(o){t.set(o.name,o)});function i(o){e.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!e.has(l)){var u=t.get(l);u&&i(u)}}),s.push(o)}return n.forEach(function(o){e.has(o.name)||i(o)}),s}function Uo(n){var t=qo(n);return bs.reduce(function(e,s){return e.concat(t.filter(function(i){return i.phase===s}))},[])}function Go(n){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(n())})})),t}}function Xo(n){var t=n.reduce(function(e,s){var i=e[s.name];return e[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,e},{});return Object.keys(t).map(function(e){return t[e]})}var Vs={placement:"bottom",modifiers:[],strategy:"absolute"};function Ws(){for(var n=arguments.length,t=new Array(n),e=0;eNumber.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_getPopperConfig(){let t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(it.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),P(P({},t),W(this._config.popperConfig,[void 0,t]))}_selectMenuItem({key:t,target:e}){let s=m.find(ga,this._menu).filter(i=>It(i));s.length&&He(s,e,t===Fs,!s.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){let e=X.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(t.button===sa||t.type==="keyup"&&t.key!==js)return;let e=m.find(pa);for(let s of e){let i=X.getInstance(s);if(!i||i._config.autoClose===!1)continue;let o=t.composedPath(),a=o.includes(i._menu);if(o.includes(i._element)||i._config.autoClose==="inside"&&!a||i._config.autoClose==="outside"&&a||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===js||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let l={relatedTarget:i._element};t.type==="click"&&(l.clickEvent=t),i._completeHide(l)}}static dataApiKeydownHandler(t){let e=/input|textarea/i.test(t.target.tagName),s=t.key===ea,i=[na,Fs].includes(t.key);if(!i&&!s||e&&!s)return;t.preventDefault();let o=this.matches(vt)?this:m.prev(this,vt)[0]||m.next(this,vt)[0]||m.findOne(vt,t.delegateTarget.parentNode),a=X.getOrCreateInstance(o);if(i){t.stopPropagation(),a.show(),a._selectMenuItem(t);return}a._isShown()&&(t.stopPropagation(),a.hide(),o.focus())}}c.on(document,zs,vt,X.dataApiKeydownHandler),c.on(document,zs,ye,X.dataApiKeydownHandler),c.on(document,Ys,X.clearMenus),c.on(document,la,X.clearMenus),c.on(document,Ys,vt,function(n){n.preventDefault(),X.getOrCreateInstance(this).toggle()}),z(X);let qs="backdrop",Na="fade",Us="show",Gs=`mousedown.bs.${qs}`,La={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Da={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Xs extends Xt{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return La}static get DefaultType(){return Da}static get NAME(){return qs}show(t){if(!this._config.isVisible){W(t);return}this._append();let e=this._getElement();this._config.isAnimated&&Gt(e),e.classList.add(Us),this._emulateAnimation(()=>{W(t)})}hide(t){if(!this._config.isVisible){W(t);return}this._getElement().classList.remove(Us),this._emulateAnimation(()=>{this.dispose(),W(t)})}dispose(){this._isAppended&&(c.off(this._element,Gs),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){let t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Na),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=lt(t.rootElement),t}_append(){if(this._isAppended)return;let t=this._getElement();this._config.rootElement.append(t),c.on(t,Gs,()=>{W(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){qn(t,this._getElement(),this._config.isAnimated)}}let $a="focustrap",we=".bs.focustrap",Ia=`focusin${we}`,xa=`keydown.tab${we}`,Ma="Tab",ka="forward",Qs="backward",Pa={autofocus:!0,trapElement:null},Ra={autofocus:"boolean",trapElement:"element"};class Zs extends Xt{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Pa}static get DefaultType(){return Ra}static get NAME(){return $a}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),c.off(document,we),c.on(document,Ia,t=>this._handleFocusin(t)),c.on(document,xa,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,c.off(document,we))}_handleFocusin(t){let{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;let s=m.focusableChildren(e);s.length===0?e.focus():this._lastTabNavDirection===Qs?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===Ma&&(this._lastTabNavDirection=t.shiftKey?Qs:ka)}}let Js=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ti=".sticky-top",Ce="padding-right",ei="margin-right";class dn{constructor(){this._element=document.body}getWidth(){let t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){let t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ce,e=>e+t),this._setElementAttributes(Js,Ce,e=>e+t),this._setElementAttributes(ti,ei,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ce),this._resetElementAttributes(Js,Ce),this._resetElementAttributes(ti,ei)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,s){let i=this.getWidth(),o=a=>{if(a!==this._element&&window.innerWidth>a.clientWidth+i)return;this._saveInitialAttribute(a,e);let l=window.getComputedStyle(a).getPropertyValue(e);a.style.setProperty(e,`${s(Number.parseFloat(l))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,e){let s=t.style.getPropertyValue(e);s&&it.setDataAttribute(t,e,s)}_resetElementAttributes(t,e){let s=i=>{let o=it.getDataAttribute(i,e);if(o===null){i.style.removeProperty(e);return}it.removeDataAttribute(i,e),i.style.setProperty(e,o)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,e){if(st(t)){e(t);return}for(let s of m.find(t,this._element))e(s)}}let Ha="modal",U=".bs.modal",Va=".data-api",Wa="Escape",Ba=`hide${U}`,Ka=`hidePrevented${U}`,ni=`hidden${U}`,si=`show${U}`,ja=`shown${U}`,Fa=`resize${U}`,Ya=`click.dismiss${U}`,za=`mousedown.dismiss${U}`,qa=`keydown.dismiss${U}`,Ua=`click${U}${Va}`,ii="modal-open",Ga="fade",ri="show",hn="modal-static",Xa=".modal.show",Qa=".modal-dialog",Za=".modal-body",Ja='[data-bs-toggle="modal"]',tl={backdrop:!0,focus:!0,keyboard:!0},el={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class bt extends G{constructor(t,e){super(t,e),this._dialog=m.findOne(Qa,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new dn,this._addEventListeners()}static get Default(){return tl}static get DefaultType(){return el}static get NAME(){return Ha}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||c.trigger(this._element,si,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ii),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||c.trigger(this._element,Ba).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ri),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){c.off(window,U),c.off(this._dialog,U),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Xs({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Zs({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;let e=m.findOne(Za,this._dialog);e&&(e.scrollTop=0),Gt(this._element),this._element.classList.add(ri);let s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,c.trigger(this._element,ja,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){c.on(this._element,qa,t=>{if(t.key===Wa){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),c.on(window,Fa,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),c.on(this._element,za,t=>{c.one(this._element,Ya,e=>{if(!(this._element!==t.target||this._element!==e.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(ii),this._resetAdjustments(),this._scrollBar.reset(),c.trigger(this._element,ni)})}_isAnimated(){return this._element.classList.contains(Ga)}_triggerBackdropTransition(){if(c.trigger(this._element,Ka).defaultPrevented)return;let e=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(hn)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(hn),this._queueCallback(()=>{this._element.classList.remove(hn),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),s=e>0;if(s&&!t){let i=Y()?"paddingLeft":"paddingRight";this._element.style[i]=`${e}px`}if(!s&&t){let i=Y()?"paddingRight":"paddingLeft";this._element.style[i]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){let s=bt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]=="undefined")throw new TypeError(`No method named "${t}"`);s[t](e)}})}}c.on(document,Ua,Ja,function(n){let t=m.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),c.one(t,si,i=>{i.defaultPrevented||c.one(t,ni,()=>{It(this)&&this.focus()})});let e=m.findOne(Xa);e&&bt.getInstance(e).hide(),bt.getOrCreateInstance(t).toggle(this)}),he(bt),z(bt);let nl="offcanvas",ot=".bs.offcanvas",oi=".data-api",sl=`load${ot}${oi}`,il="Escape",ai="show",li="showing",ci="hiding",rl="offcanvas-backdrop",ui=".offcanvas.show",ol=`show${ot}`,al=`shown${ot}`,ll=`hide${ot}`,di=`hidePrevented${ot}`,hi=`hidden${ot}`,cl=`resize${ot}`,ul=`click${ot}${oi}`,dl=`keydown.dismiss${ot}`,hl='[data-bs-toggle="offcanvas"]',fl={backdrop:!0,keyboard:!0,scroll:!1},pl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class at extends G{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return fl}static get DefaultType(){return pl}static get NAME(){return nl}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||c.trigger(this._element,ol,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new dn().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(li);let s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(ai),this._element.classList.remove(li),c.trigger(this._element,al,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||c.trigger(this._element,ll).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ci),this._backdrop.hide();let e=()=>{this._element.classList.remove(ai,ci),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new dn().reset(),c.trigger(this._element,hi)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let t=()=>{if(this._config.backdrop==="static"){c.trigger(this._element,di);return}this.hide()},e=!!this._config.backdrop;return new Xs({className:rl,isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new Zs({trapElement:this._element})}_addEventListeners(){c.on(this._element,dl,t=>{if(t.key===il){if(this._config.keyboard){this.hide();return}c.trigger(this._element,di)}})}static jQueryInterface(t){return this.each(function(){let e=at.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}c.on(document,ul,hl,function(n){let t=m.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),ct(this))return;c.one(t,hi,()=>{It(this)&&this.focus()});let e=m.findOne(ui);e&&e!==t&&at.getInstance(e).hide(),at.getOrCreateInstance(t).toggle(this)}),c.on(window,sl,()=>{for(let n of m.find(ui))at.getOrCreateInstance(n).show()}),c.on(window,cl,()=>{for(let n of m.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&at.getOrCreateInstance(n).hide()}),he(at),z(at);let fi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ml=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),_l=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,gl=(n,t)=>{let e=n.nodeName.toLowerCase();return t.includes(e)?ml.has(e)?!!_l.test(n.nodeValue):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(e))};function El(n,t,e){if(!n.length)return n;if(e&&typeof e=="function")return e(n);let i=new window.DOMParser().parseFromString(n,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(let a of o){let l=a.nodeName.toLowerCase();if(!Object.keys(t).includes(l)){a.remove();continue}let u=[].concat(...a.attributes),f=[].concat(t["*"]||[],t[l]||[]);for(let h of u)gl(h,f)||a.removeAttribute(h.nodeName)}return i.body.innerHTML}let vl="TemplateFactory",bl={allowList:fi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Al={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Tl={entry:"(string|element|function|null)",selector:"(string|element)"};class yl extends Xt{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return bl}static get DefaultType(){return Al}static get NAME(){return vl}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content=P(P({},this._config.content),t),this}toHtml(){let t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(let[i,o]of Object.entries(this._config.content))this._setContent(t,o,i);let e=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&e.classList.add(...s.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(let[e,s]of Object.entries(t))super._typeCheckConfig({selector:e,entry:s},Tl)}_setContent(t,e,s){let i=m.findOne(s,t);if(i){if(e=this._resolvePossibleFunction(e),!e){i.remove();return}if(st(e)){this._putElementInTemplate(lt(e),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(e);return}i.textContent=e}}_maybeSanitize(t){return this._config.sanitize?El(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return W(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="",e.append(t);return}e.textContent=t.textContent}}let wl="tooltip",Cl=new Set(["sanitize","allowList","sanitizeFn"]),fn="fade",Sl="modal",Se="show",Ol=".tooltip-inner",pi=`.${Sl}`,mi="hide.bs.modal",ie="hover",pn="focus",mn="click",Nl="manual",Ll="hide",Dl="hidden",$l="show",Il="shown",xl="inserted",Ml="click",kl="focusin",Pl="focusout",Rl="mouseenter",Hl="mouseleave",Vl={AUTO:"auto",TOP:"top",RIGHT:Y()?"left":"right",BOTTOM:"bottom",LEFT:Y()?"right":"left"},Wl={allowList:fi,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Bl={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 At extends G{constructor(t,e){if(typeof Bs=="undefined")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Wl}static get DefaultType(){return Bl}static get NAME(){return wl}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),c.off(this._element.closest(pi),mi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;let t=c.trigger(this._element,this.constructor.eventName($l)),s=(Yn(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();let i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));let{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(i),c.trigger(this._element,this.constructor.eventName(xl))),this._popper=this._createPopper(i),i.classList.add(Se),"ontouchstart"in document.documentElement)for(let l of[].concat(...document.body.children))c.on(l,"mouseover",de);let a=()=>{c.trigger(this._element,this.constructor.eventName(Il)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown()||c.trigger(this._element,this.constructor.eventName(Ll)).defaultPrevented)return;if(this._getTipElement().classList.remove(Se),"ontouchstart"in document.documentElement)for(let i of[].concat(...document.body.children))c.off(i,"mouseover",de);this._activeTrigger[mn]=!1,this._activeTrigger[pn]=!1,this._activeTrigger[ie]=!1,this._isHovered=null;let s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),c.trigger(this._element,this.constructor.eventName(Dl)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){let e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(fn,Se),e.classList.add(`bs-${this.constructor.NAME}-auto`);let s=$t(this.constructor.NAME).toString();return e.setAttribute("id",s),this._isAnimated()&&e.classList.add(fn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new yl(ke(P({},this._config),{content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory}_getContentForTemplate(){return{[Ol]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(fn)}_isShown(){return this.tip&&this.tip.classList.contains(Se)}_createPopper(t){let e=W(this._config.placement,[this,t,this._element]),s=Vl[e.toUpperCase()];return cn(this._element,t,this._getPopperConfig(s))}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_resolvePossibleFunction(t){return W(t,[this._element,this._element])}_getPopperConfig(t){let e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return P(P({},e),W(this._config.popperConfig,[void 0,e]))}_setListeners(){let t=this._config.trigger.split(" ");for(let e of t)if(e==="click")c.on(this._element,this.constructor.eventName(Ml),this._config.selector,s=>{let i=this._initializeOnDelegatedTarget(s);i._activeTrigger[mn]=!(i._isShown()&&i._activeTrigger[mn]),i.toggle()});else if(e!==Nl){let s=e===ie?this.constructor.eventName(Rl):this.constructor.eventName(kl),i=e===ie?this.constructor.eventName(Hl):this.constructor.eventName(Pl);c.on(this._element,s,this._config.selector,o=>{let a=this._initializeOnDelegatedTarget(o);a._activeTrigger[o.type==="focusin"?pn:ie]=!0,a._enter()}),c.on(this._element,i,this._config.selector,o=>{let a=this._initializeOnDelegatedTarget(o);a._activeTrigger[o.type==="focusout"?pn:ie]=a._element.contains(o.relatedTarget),a._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},c.on(this._element.closest(pi),mi,this._hideModalHandler)}_fixTitle(){let t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){let e=it.getDataAttributes(this._element);for(let s of Object.keys(e))Cl.has(s)&&delete e[s];return t=P(P({},e),typeof t=="object"&&t?t:{}),t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:lt(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){let t={};for(let[e,s]of Object.entries(this._config))this.constructor.Default[e]!==s&&(t[e]=s);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){let e=At.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method named "${t}"`);e[t]()}})}}z(At);let Kl="popover",jl=".popover-header",Fl=".popover-body",Yl=ke(P({},At.Default),{content:"",offset:[0,8],placement:"right",template:'',trigger:"click"}),zl=ke(P({},At.DefaultType),{content:"(null|string|element|function)"});class Oe extends At{static get Default(){return Yl}static get DefaultType(){return zl}static get NAME(){return Kl}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[jl]:this._getTitle(),[Fl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let e=Oe.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method named "${t}"`);e[t]()}})}}z(Oe);let ql="scrollspy",_n=".bs.scrollspy",Ul=".data-api",Gl=`activate${_n}`,_i=`click${_n}`,Xl=`load${_n}${Ul}`,Ql="dropdown-item",qt="active",Zl='[data-bs-spy="scroll"]',gn="[href]",Jl=".nav, .list-group",gi=".nav-link",tc=`${gi}, .nav-item > ${gi}, .list-group-item`,ec=".dropdown",nc=".dropdown-toggle",sc={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ic={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class re extends G{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return sc}static get DefaultType(){return ic}static get NAME(){return ql}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=lt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(c.off(this._config.target,_i),c.on(this._config.target,_i,gn,t=>{let e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();let s=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:i,behavior:"smooth"});return}s.scrollTop=i}}))}_getNewObserver(){let t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),t)}_observerCallback(t){let e=a=>this._targetLinks.get(`#${a.target.id}`),s=a=>{this._previousScrollData.visibleEntryTop=a.target.offsetTop,this._process(e(a))},i=(this._rootElement||document.documentElement).scrollTop,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(let a of t){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(a));continue}let l=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&l){if(s(a),!i)return;continue}!o&&!l&&s(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let t=m.find(gn,this._config.target);for(let e of t){if(!e.hash||ct(e))continue;let s=m.findOne(decodeURI(e.hash),this._element);It(s)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(qt),this._activateParents(t),c.trigger(this._element,Gl,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Ql)){m.findOne(nc,t.closest(ec)).classList.add(qt);return}for(let e of m.parents(t,Jl))for(let s of m.prev(e,tc))s.classList.add(qt)}_clearActiveClass(t){t.classList.remove(qt);let e=m.find(`${gn}.${qt}`,t);for(let s of e)s.classList.remove(qt)}static jQueryInterface(t){return this.each(function(){let e=re.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(window,Xl,()=>{for(let n of m.find(Zl))re.getOrCreateInstance(n)}),z(re);let rc="tab",Tt=".bs.tab",oc=`hide${Tt}`,ac=`hidden${Tt}`,lc=`show${Tt}`,cc=`shown${Tt}`,uc=`click${Tt}`,dc=`keydown${Tt}`,hc=`load${Tt}`,fc="ArrowLeft",Ei="ArrowRight",pc="ArrowUp",vi="ArrowDown",En="Home",bi="End",yt="active",Ai="fade",vn="show",mc="dropdown",Ti=".dropdown-toggle",_c=".dropdown-menu",bn=`:not(${Ti})`,gc='.list-group, .nav, [role="tablist"]',Ec=".nav-item, .list-group-item",vc=`.nav-link${bn}, .list-group-item${bn}, [role="tab"]${bn}`,yi='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',An=`${vc}, ${yi}`,bc=`.${yt}[data-bs-toggle="tab"], .${yt}[data-bs-toggle="pill"], .${yt}[data-bs-toggle="list"]`;class wt extends G{constructor(t){super(t),this._parent=this._element.closest(gc),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),c.on(this._element,dc,e=>this._keydown(e)))}static get NAME(){return rc}show(){let t=this._element;if(this._elemIsActive(t))return;let e=this._getActiveElem(),s=e?c.trigger(e,oc,{relatedTarget:t}):null;c.trigger(t,lc,{relatedTarget:e}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(yt),this._activate(m.getElementFromSelector(t));let s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(vn);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),c.trigger(t,cc,{relatedTarget:e})};this._queueCallback(s,t,t.classList.contains(Ai))}_deactivate(t,e){if(!t)return;t.classList.remove(yt),t.blur(),this._deactivate(m.getElementFromSelector(t));let s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(vn);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),c.trigger(t,ac,{relatedTarget:e})};this._queueCallback(s,t,t.classList.contains(Ai))}_keydown(t){if(![fc,Ei,pc,vi,En,bi].includes(t.key))return;t.stopPropagation(),t.preventDefault();let e=this._getChildren().filter(i=>!ct(i)),s;if([En,bi].includes(t.key))s=e[t.key===En?0:e.length-1];else{let i=[Ei,vi].includes(t.key);s=He(e,t.target,i,!0)}s&&(s.focus({preventScroll:!0}),wt.getOrCreateInstance(s).show())}_getChildren(){return m.find(An,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(let s of e)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);let e=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",e),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){let e=m.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){let s=this._getOuterElement(t);if(!s.classList.contains(mc))return;let i=(o,a)=>{let l=m.findOne(o,s);l&&l.classList.toggle(a,e)};i(Ti,yt),i(_c,vn),s.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,s){t.hasAttribute(e)||t.setAttribute(e,s)}_elemIsActive(t){return t.classList.contains(yt)}_getInnerElement(t){return t.matches(An)?t:m.findOne(An,t)}_getOuterElement(t){return t.closest(Ec)||t}static jQueryInterface(t){return this.each(function(){let e=wt.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(document,uc,yi,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!ct(this)&&wt.getOrCreateInstance(this).show()}),c.on(window,hc,()=>{for(let n of m.find(bc))wt.getOrCreateInstance(n)}),z(wt);let Ac="toast",ht=".bs.toast",Tc=`mouseover${ht}`,yc=`mouseout${ht}`,wc=`focusin${ht}`,Cc=`focusout${ht}`,Sc=`hide${ht}`,Oc=`hidden${ht}`,Nc=`show${ht}`,Lc=`shown${ht}`,Dc="fade",wi="hide",Ne="show",Le="showing",$c={animation:"boolean",autohide:"boolean",delay:"number"},Ic={animation:!0,autohide:!0,delay:5e3};class oe extends G{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ic}static get DefaultType(){return $c}static get NAME(){return Ac}show(){if(c.trigger(this._element,Nc).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Dc);let e=()=>{this._element.classList.remove(Le),c.trigger(this._element,Lc),this._maybeScheduleHide()};this._element.classList.remove(wi),Gt(this._element),this._element.classList.add(Ne,Le),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()||c.trigger(this._element,Sc).defaultPrevented)return;let e=()=>{this._element.classList.add(wi),this._element.classList.remove(Le,Ne),c.trigger(this._element,Oc)};this._element.classList.add(Le),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ne),super.dispose()}isShown(){return this._element.classList.contains(Ne)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}let s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){c.on(this._element,Tc,t=>this._onInteraction(t,!0)),c.on(this._element,yc,t=>this._onInteraction(t,!1)),c.on(this._element,wc,t=>this._onInteraction(t,!0)),c.on(this._element,Cc,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let e=oe.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return he(oe),z(oe),{Alert:Qt,Button:Zt,Carousel:Pt,Collapse:Ht,Dropdown:X,Modal:bt,Offcanvas:at,Popover:Oe,ScrollSpy:re,Tab:wt,Toast:oe,Tooltip:At}})});var Zu=Uc(Pi());var Dn=class{constructor(){T(this,"container");let r=document.createElement("div");r.className="snackbar-container position-fixed d-flex justify-content-center align-items-center top-50 start-50 flex-column",document.body.appendChild(r),this.container=r}show(r,d=2e3){let E=document.createElement("div");E.className="snackbar text-bg-secondary rounded px-3 py-2 my-1",E.innerText=r,this.container.appendChild(E),setTimeout(()=>{E.remove()},d)}},Gc=new Dn,Pe=Gc;var $n=class{constructor(){T(this,"btn")}createButton(){let r=document.createElement("a");r.setAttribute("role","button"),r.setAttribute("aria-label","Actions panel toggle"),r.setAttribute("data-bs-toggle","offcanvas"),r.setAttribute("data-bs-target","#offcanvasActionsPanel"),r.className="btn btn-link btn-actions-panel position-fixed p-0",r.innerHTML='',window.document.body.append(r),this.btn=r}run(){document.querySelector("#offcanvasActionsPanel")&&(this.createButton(),document.querySelector(".action-reload-page").addEventListener("click",function(){window.location.reload()}),document.querySelector(".action-copy-url").addEventListener("click",function(){navigator.clipboard.writeText(window.location.href),Pe.show("Copied")}))}},Ri=$n;var In=class{constructor(){T(this,"components",[])}attach(...r){this.components.push(...r)}run(){this.components.forEach(function(r){try{r.run()}catch(d){console.error(typeof r,d)}})}},Hi=In;var nt={analytics:null,archive:{paginate:20},baseURL:"https://www.bestcheapvps.org",brand:"VPSMarket",breadcrumb:!0,codeblock:{linenos:!1},color:"light",contact:null,counttaxonomyposts:!0,creativecommons:null,customcss:null,customjs:null,dateformat:":date_long",description:"An extreme fast, responsive and feature-rich blog theme for Hugo",diagram:!1,featuredpostcount:5,fixedheader:!0,fontsize:null,fullwidth:!1,googleadsense:null,keywords:"Hugo, Bootstrap, Blog Theme",mainsections:["posts"],metarobots:"index, follow",palette:"blue",palettes:["blue","blue gray","brown","cyan","green","indigo","orange","pink","purple","red","teal","yellow"],pinnedpost:!0,pinnedpostcount:3,post:{featuredimage:!0,numberifyheadings:!0,numberifyheadingsseparator:"."},postdate:!0,poweredby:!0,pwa:{manifest:{short_name:"VSPMarket"}},readingtime:!0,recentpostcount:5,relatedpostcount:5,search:{fuse:{threshold:.1},paginate:5},searchbar:!0,sidebar:null,sidebartaxonomies:["series","categories","tags","authors"],siteverification:{baidu:null,baiduunion:null,bing:null,google:null,shenma:null,so:null,sogou:null},taxonomypaginate:10,taxonomypostcount:20,titlecase:!0,titleseparator:"-",tocwordcount:1,topappbar:null,viewer:!0};var xn=class{constructor(r){T(this,"wrapper");T(this,"element");T(this,"pre");T(this,"code");T(this,"panel");T(this,"maxHeight");T(this,"maxLines",7);T(this,"lineNos",!0);this.element=r,this.pre=r.querySelector("pre"),this.code=this.pre.querySelector("code"),nt.codeblock.maxlines&&(this.maxLines=nt.codeblock.maxlines),nt.codeblock.linenos!==void 0&&(this.lineNos=nt.codeblock.linenos)}run(){this.wrap()}wrap(){let r=this.element.parentNode;this.wrapper=document.createElement("div"),this.wrapper.className="highlight-wrapper position-relative",r.replaceChild(this.wrapper,this.element),this.wrapper.appendChild(this.element),this.appendLang(),this.appendTitle(),this.appendPanel()}appendLang(){let r=this.code.getAttribute("data-lang");if(r&&r!="fallback"){let d=document.createElement("div");d.className="lang position-absolute top-0 end-0 text-white fst-italic text-uppercase opacity-50 fs-xs pe-3 pt-1",d.innerHTML=r,this.wrapper.appendChild(d)}}appendTitle(){let r=this.element.getAttribute("title");if(r){let d=document.createElement("div");d.className="title position-absolute bottom-0 end-0 mb-1 text-white fst-italic opacity-50 pe-3 fs-xs user-select-all",d.innerHTML=r,this.wrapper.appendChild(d)}}appendPanel(){this.panel=document.createElement("div"),this.panel.className="chroma panel position-absolute mb-0 end-0 opacity-0 rounded-top",this.calculateMaxHeight(),this.appendCopyButton(),this.appendLineNumberButton(),this.appendLineWrapButton(),this.appendExpandButton(),this.wrapper.appendChild(this.panel)}calculateMaxHeight(){if(this.lineNumbers()>this.maxLines){let d=this.code.querySelectorAll(".ln")[this.maxLines];this.maxHeight=d.offsetTop}}appendCopyButton(){let r=document.createElement("a");r.setAttribute("role","button"),r.setAttribute("aria-label","Copy Code"),r.className="action",r.innerHTML='',r.addEventListener("click",()=>{let d=this.code.cloneNode(!0);d.querySelectorAll(".ln").forEach(E=>{E.remove()}),navigator.clipboard.writeText(d.innerText),Pe.show("Copied"),r.classList.add("active")}),this.panel.appendChild(r)}appendLineNumberButton(){if(this.hasLineNumbers()){let r=document.createElement("a");r.setAttribute("role","button"),r.setAttribute("aria-label","Line number toggler"),r.className="action active",r.innerHTML='',r.addEventListener("click",()=>{let{classList:d}=this.code,E="no-ln";d.contains(E)?(d.remove(E),r.classList.add("active")):(d.add(E),r.classList.remove("active"))}),this.lineNos===!1&&r.click(),this.panel.appendChild(r)}}hasLineNumbers(){return this.lineNumbers()>0}lineNumbers(){return this.code.querySelectorAll(".ln").length}appendLineWrapButton(){let r=document.createElement("a");r.setAttribute("role","button"),r.setAttribute("aria-label","Line wrap toggler"),r.className="action",r.innerHTML='',r.addEventListener("click",()=>{let{classList:d}=this.code,E="text-pre-wrap";d.contains(E)?(d.remove(E),r.classList.remove("active")):(d.add(E),r.classList.add("active"))}),this.panel.appendChild(r)}appendExpandButton(){if(this.maxHeight){this.pre.style.maxHeight=`${this.maxHeight}px`;let r=document.createElement("a");r.setAttribute("role","button"),r.setAttribute("aria-label","Code block expand toggler"),r.className="action",r.innerHTML='',r.addEventListener("click",()=>{let{style:d}=this.pre;d.maxHeight?(d.maxHeight=null,r.classList.add("active")):(d.maxHeight=`${this.maxHeight}px`,r.classList.remove("active"))}),this.panel.appendChild(r)}}},Vi=xn;var Mn=class{run(){document.querySelectorAll(".highlight").forEach(r=>{new Vi(r).run()})}},Wi=Mn;var kn=class{run(){let r=document.querySelector(".docs-catalog li.active");r&&r.focus()}},Bi=kn;var Pn=class{run(){new Bi().run()}},Ki=Pn;var Rn=class{constructor(r){this.baseURL=r;T(this,"prefix","hbs:");r.substring(0,2)==="//"&&(r="http:"+r);let d;try{d=new URL(r)}catch(M){d=new URL(r,location.protocol+"//"+location.host)}let E=d.pathname.replace(/^(\/+)/,"").replace(/(\/+)$/,"");E!==""&&(this.prefix+=E.replace("/","-")+":")}getItem(r){return localStorage.getItem(this.prefix+r)}setItem(r,d){localStorage.setItem(this.prefix+r,d)}removeItem(r){localStorage.removeItem(this.prefix+r)}},Dt=new Rn(nt.baseURL);var Hn=class{constructor(){T(this,"key","font-size");T(this,"items");this.items=document.querySelectorAll(".font-size-item")}run(){this.items&&(this.initSize(),this.initListeners())}initSize(){this.setSize(this.getSize())}initListeners(){this.items.forEach(r=>{r.addEventListener("click",()=>{let d=r.getAttribute("data-size");this.setSize(d)})})}getSize(){let r=Dt.getItem(this.key);return r||"md"}setSize(r){document.body.classList.remove("fs-"+this.getSize()),document.body.classList.add(`fs-${r}`),Dt.setItem(this.key,r),this.items.forEach(d=>{d.getAttribute("data-size")===r?d.classList.add("active"):d.classList.remove("active")})}},ji=Hn;var Vn=class{run(){let r=document.querySelectorAll(".needs-validation");Array.prototype.slice.call(r).forEach(function(d){d.addEventListener("submit",function(E){d.checkValidity()||(E.preventDefault(),E.stopPropagation()),d.classList.add("was-validated")},!1)})}},Fi=Vn;var ce=class{run(){this.load(),this.fullscreen()}load(){document.querySelectorAll(".iframe-load").forEach(r=>{r.addEventListener("click",()=>{let d=r.parentElement,E=d.nextElementSibling,M=d.querySelector(".iframe-fullscreen"),pt=d.querySelector(".iframe-load-info");E.setAttribute("src",E.getAttribute("data-src")),E.removeAttribute("data-src"),E.addEventListener("load",()=>{M&&M.classList.remove("d-none")}),r.classList.add("d-none"),pt.classList.add("d-none")})})}fullscreen(){document.querySelectorAll(".iframe-fullscreen").forEach(r=>{r.addEventListener("click",()=>{r.closest(".iframe-wrapper").querySelector("iframe").requestFullscreen()})})}};var Wn=class{constructor(){T(this,"bar")}run(){this.bar=document.createElement("div"),this.bar.className="loading-bar position-fixed top-0",this.bar.hidden=!0,document.body.appendChild(this.bar),window.addEventListener("beforeunload",()=>{this.bar.hidden=!1})}},Yi=Wn;var Bn=class{constructor(){T(this,"btn");T(this,"x",0);T(this,"y",0);let r=document.createElement("a");r.setAttribute("role","button"),r.setAttribute("aria-label","Scroll to top"),r.className="btn btn-link p-0 btn-scroll-to-top position-fixed opacity-0",r.innerHTML='',window.document.body.append(r),this.btn=r}show(){this.btn.classList.add("opacity-100")}hide(){this.btn.classList.remove("opacity-100")}run(){let r=0;window.addEventListener("scroll",()=>{let d=document.documentElement.scrollTop;document.body.scrollTop>20||d>20?this.show():this.hide(),d>r&&this.btn.classList.remove("scrolling"),r=d}),this.btn.addEventListener("click",()=>{this.scroll()})}scroll(){this.btn.classList.add("scrolling"),window.scrollTo({top:this.x,left:this.y,behavior:"smooth"})}},zi=Bn;var Kn=class{constructor(r){this.button=r;T(this,"main");T(this,"sidebar");T(this,"key","sidebar-toggle");T(this,"colClass","col-xxl-");T(this,"fullWidth");T(this,"mainWidth")}run(){if(!this.button)return;this.sidebar=document.querySelector(".content .sidebar"),this.main=this.sidebar.previousElementSibling,this.button.addEventListener("click",()=>{this.toggle()}),Dt.getItem(this.key)==="hide"&&this.isShown()&&this.hide()}toggle(){this.isShown()?this.hide():this.show()}isShown(){return!this.sidebar.classList.contains("d-none")}getWidth(r){let d=0;return r.classList.forEach(E=>{E.indexOf(this.colClass)===0&&(d=parseInt(E.replace(this.colClass,"")))}),d}getFullWidth(){return this.fullWidth||(this.fullWidth=this.getWidth(this.sidebar)+this.getMainWidth()),this.fullWidth}getMainWidth(){return this.mainWidth||(this.mainWidth=this.getWidth(this.main)),this.mainWidth}hide(){this.main.classList.replace(this.colClass+this.getMainWidth(),this.colClass+this.getFullWidth()),this.sidebar.classList.add("d-none"),this.button.classList.add("active"),Dt.setItem(this.key,"hide")}show(){this.main.classList.replace(this.colClass+this.getFullWidth(),this.colClass+this.getMainWidth()),this.sidebar.classList.remove("d-none"),this.button.classList.remove("active"),Dt.removeItem(this.key)}},qi=Kn;var jn=class{constructor(r){this.elements=r}run(){this.elements.length!==0&&this.elements.forEach(r=>{let d=document.createElement("div");d.className="table-responsive",d.appendChild(r.cloneNode(!0)),r.parentNode.replaceChild(d,r)})}},Ui=jn;var ue=class{constructor(r,d){T(this,"container");T(this,"target");this.container=document.querySelector(r),this.target=document.querySelector(d)}run(){if(!this.target||!this.container)return;let r=this.target.cloneNode(!0);r.removeAttribute("id"),this.container.appendChild(r)}};var Qc=[],Gi=Qc;(()=>{"use strict";let p=r=>{let d=r.parentElement.querySelector(".slide-inner"),E=d.offsetWidth;r.classList.contains("slide-control-left")?d.scrollLeft-=E:d.scrollLeft+=E};document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".slide-control-left").forEach(r=>{r.addEventListener("click",()=>{p(r)})}),document.querySelectorAll(".slide-control-right").forEach(r=>{r.addEventListener("click",()=>{p(r)})})})})();(()=>{"use strict";var M,pt;let p=((pt=(M=nt)==null?void 0:M.search)==null?void 0:pt.shortcut)===void 0?["/"]:nt.search.shortcut,r={},d=J=>{J.type==="keydown"?r[J.key]=1:delete r[J.key]},E=J=>{for(let $t of J)if(!($t in r))return!1;return!0};p.length>0&&(document.addEventListener("keydown",J=>{var $t;d(J),E(p)&&(($t=document.querySelector("input.search-input"))==null||$t.focus(),J.preventDefault())}),document.addEventListener("keyup",d))})();new Ri().run();new zi().run();new Yi().run();new qi(document.querySelector("#sidebarToggler")).run();new ji().run();new Wi().run();new Ui(document.querySelectorAll("table")).run();new Ki().run();new Fi().run();new ue("#post-toc-container",".sidebar #TableOfContents").run();new ce().run();var Xi=new Hi;Xi.attach(...Gi);Xi.run();})(); /*! Bundled license information: bootstrap/dist/js/bootstrap.bundle.js: (*! * Bootstrap v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) *) */