jekyll-theme-chirpy 7.5.0 → 7.6.0
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.
- checksums.yaml +4 -4
- data/README.md +33 -40
- data/_data/locales/ar.yml +7 -1
- data/_data/locales/bg-BG.yml +7 -1
- data/_data/locales/ca-ES.yml +7 -1
- data/_data/locales/cs-CZ.yml +7 -1
- data/_data/locales/da-DK.yml +7 -1
- data/_data/locales/de-DE.yml +7 -1
- data/_data/locales/dv/342/200/221MV.yml +7 -1
- data/_data/locales/el-GR.yml +7 -1
- data/_data/locales/en.yml +7 -1
- data/_data/locales/es-ES.yml +7 -1
- data/_data/locales/fa-IR.yml +7 -1
- data/_data/locales/fi-FI.yml +7 -1
- data/_data/locales/fr-FR.yml +7 -1
- data/_data/locales/hu-HU.yml +7 -1
- data/_data/locales/id-ID.yml +7 -1
- data/_data/locales/it-IT.yml +7 -1
- data/_data/locales/ja-JP.yml +7 -1
- data/_data/locales/ko-KR.yml +7 -1
- data/_data/locales/ku-IQ.yml +7 -1
- data/_data/locales/my-MM.yml +7 -1
- data/_data/locales/nl-NL.yml +7 -1
- data/_data/locales/ps/342/200/221AF.yml +7 -1
- data/_data/locales/pt-BR.yml +7 -1
- data/_data/locales/ru-RU.yml +7 -1
- data/_data/locales/sl-SI.yml +7 -1
- data/_data/locales/sv-SE.yml +7 -1
- data/_data/locales/th.yml +7 -1
- data/_data/locales/tr-TR.yml +7 -1
- data/_data/locales/uk-UA.yml +7 -1
- data/_data/locales/ur-PK.yml +7 -1
- data/_data/locales/vi-VN.yml +7 -1
- data/_data/locales/zh-CN.yml +7 -1
- data/_data/locales/zh-TW.yml +7 -1
- data/_data/origin/cors.yml +18 -15
- data/_includes/comments/disqus.html +2 -2
- data/_includes/comments/giscus.html +17 -7
- data/_includes/comments/utterances.html +4 -4
- data/_includes/head.html +1 -3
- data/_includes/js-selector.html +0 -1
- data/_includes/notification.html +13 -9
- data/_includes/post-edit.html +23 -0
- data/_includes/sidebar.html +48 -6
- data/_layouts/default.html +6 -5
- data/_layouts/post.html +16 -13
- data/_sass/abstracts/_mixins.scss +6 -0
- data/_sass/abstracts/_variables.scss +6 -0
- data/_sass/base/_base.scss +28 -20
- data/_sass/base/_syntax.scss +4 -2
- data/_sass/components/_popups.scss +17 -28
- data/_sass/layout/_sidebar.scss +97 -9
- data/_sass/pages/_post.scss +10 -0
- data/_sass/themes/_dark.scss +7 -2
- data/_sass/themes/_light.scss +7 -2
- data/_sass/vendors/_bootstrap.scss +1 -1
- data/assets/css/jekyll-theme-chirpy.scss +4 -0
- data/assets/img/favicons/site.webmanifest +1 -1
- data/assets/js/dist/app.min.js +2 -2
- data/assets/js/dist/categories.min.js +2 -2
- data/assets/js/dist/commons.min.js +2 -2
- data/assets/js/dist/home.min.js +2 -2
- data/assets/js/dist/misc.min.js +2 -2
- data/assets/js/dist/page.min.js +2 -2
- data/assets/js/dist/post.min.js +2 -2
- data/assets/js/dist/sw.min.js +1 -1
- data/assets/js/dist/theme.min.js +2 -2
- metadata +2 -1
data/assets/js/dist/app.min.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
permalink: /:basename
|
|
3
3
|
---
|
|
4
4
|
/*!
|
|
5
|
-
* jekyll-theme-chirpy v7.
|
|
5
|
+
* jekyll-theme-chirpy v7.6.0 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
|
|
6
6
|
*/
|
|
7
|
-
!function(){"use strict";const e=new Map;var t={set(t,n,r){e.has(t)||e.set(t,new Map);const o=e.get(t);o.has(n)||0===o.size?o.set(n,r):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const r=e.get(t);r.delete(n),0===r.size&&e.delete(t)}};const n="transitionend",r=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),o=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),i=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),s=e=>i(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(r(e)):null,a=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),l=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,c=[],u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?e.call(...t):n},d=function(e,t){if(!(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]))return void u(e);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),o=Number.parseFloat(n);return r||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let o=!1;const i=r=>{let{target:s}=r;s===t&&(o=!0,t.removeEventListener(n,i),u(e))};t.addEventListener(n,i),setTimeout(()=>{o||t.dispatchEvent(new Event(n))},r)},f=/[^.]*(?=\..*)\.|.*/,h=/\..*/,g=/::\d+$/,m={};let p=1;const b={mouseenter:"mouseover",mouseleave:"mouseout"},v=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 _(e,t){return t&&`${t}::${p++}`||e.uidEvent||p++}function y(e){const t=_(e);return e.uidEvent=t,m[t]=m[t]||{},m[t]}function E(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function w(e,t,n){const r="string"==typeof t,o=r?n:t||n;let i=O(e);return v.has(i)||(i=e),[r,o,i]}function A(e,t,n,r,o){if("string"!=typeof t||!e)return;let[i,s,a]=w(t,n,r);if(t in b){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};s=e(s)}const l=y(e),c=l[a]||(l[a]={}),u=E(c,s,i?n:null);if(u)return void(u.oneOff=u.oneOff&&o);const d=_(s,t.replace(f,"")),h=i?function(e,t,n){return function r(o){const i=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of i)if(a===s)return $(o,{delegateTarget:s}),r.oneOff&&T.off(e,o.type,t,n),n.apply(s,[o])}}(e,n,s):function(e,t){return function n(r){return $(r,{delegateTarget:e}),n.oneOff&&T.off(e,r.type,t),t.apply(e,[r])}}(e,s);h.delegationSelector=i?n:null,h.callable=s,h.oneOff=o,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,i)}function S(e,t,n,r,o){const i=E(t[n],r,o);i&&(e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent])}function C(e,t,n,r){const o=t[n]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&S(e,t,n,s.callable,s.delegationSelector)}function O(e){return e=e.replace(h,""),b[e]||e}const T={on(e,t,n,r){A(e,t,n,r,!1)},one(e,t,n,r){A(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[o,i,s]=w(t,n,r),a=s!==t,l=y(e),c=l[s]||{},u=t.startsWith(".");if(void 0===i){if(u)for(const n of Object.keys(l))C(e,l,n,t.slice(1));for(const[n,r]of Object.entries(c)){const o=n.replace(g,"");a&&!t.includes(o)||S(e,l,s,r.callable,r.delegationSelector)}}else{if(!Object.keys(c).length)return;S(e,l,s,i,o?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const r=l();let o=null,i=!0,s=!0,a=!1;t!==O(t)&&r&&(o=r.Event(t,n),r(e).trigger(o),i=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());const c=$(new Event(t,{bubbles:i,cancelable:!0}),n);return a&&c.preventDefault(),s&&e.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function $(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get:()=>r})}return e}function N(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function j(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const L={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${j(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${j(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=N(e.dataset[r])}return t},getDataAttribute:(e,t)=>N(e.getAttribute(`data-bs-${j(t)}`))};class D{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=i(t)?L.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...i(t)?L.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType;for(const[n,r]of Object.entries(t)){const t=e[n],s=i(t)?"element":o(t);if(!new RegExp(r).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${r}".`)}}}class I extends D{constructor(e,n){super(),(e=s(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),T.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t){d(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(s(e),this.DATA_KEY)}static getOrCreateInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}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 k=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>r(e)).join(","):null},M={find(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!a(e)&&(e=>{if(!i(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t})(e))},getSelectorFromElement(e){const t=k(e);return t&&M.findOne(t)?t:null},getElementFromSelector(e){const t=k(e);return t?M.findOne(t):null},getMultipleElementsFromSelector(e){const t=k(e);return t?M.find(t):[]}},K=".bs.toast",P=`mouseover${K}`,q=`mouseout${K}`,x=`focusin${K}`,W=`focusout${K}`,Y=`hide${K}`,F=`hidden${K}`,R=`show${K}`,V=`shown${K}`,Q="hide",z="show",B="showing",H={animation:"boolean",autohide:"boolean",delay:"number"},U={animation:!0,autohide:!0,delay:5e3};class G extends I{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return U}static get DefaultType(){return H}static get NAME(){return"toast"}show(){if(T.trigger(this._element,R).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(Q),this._element.offsetHeight,this._element.classList.add(z,B),this._queueCallback(()=>{this._element.classList.remove(B),T.trigger(this._element,V),this._maybeScheduleHide()},this._element,this._config.animation)}hide(){if(!this.isShown())return;if(T.trigger(this._element,Y).defaultPrevented)return;this._element.classList.add(B),this._queueCallback(()=>{this._element.classList.add(Q),this._element.classList.remove(B,z),T.trigger(this._element,F)},this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(z),super.dispose()}isShown(){return this._element.classList.contains(z)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){T.on(this._element,P,e=>this._onInteraction(e,!0)),T.on(this._element,q,e=>this._onInteraction(e,!1)),T.on(this._element,x,e=>this._onInteraction(e,!0)),T.on(this._element,W,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=G.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}var J,Z;if(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hide";const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;T.on(document,n,`[data-bs-dismiss="${r}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),a(this))return;const o=M.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(o)[t]()})}(G),J=G,Z=()=>{const e=l();if(e){const t=J.NAME,n=e.fn[t];e.fn[t]=J.jQueryInterface,e.fn[t].Constructor=J,e.fn[t].noConflict=()=>(e.fn[t]=n,J.jQueryInterface)}},"loading"===document.readyState?(c.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of c)e()}),c.push(Z)):Z(),"serviceWorker"in navigator){const e=new URL(document.currentScript.src),t=e.searchParams.get("register"),n=e.searchParams.get("baseurl");if(t){const e=`${n}/sw.min.js`,t=document.getElementById("notification"),r=t.querySelector(".toast-body>button"),o=G.getOrCreateInstance(t);navigator.serviceWorker.register(e).then(e=>{e.waiting&&o.show(),e.addEventListener("updatefound",()=>{e.installing.addEventListener("statechange",()=>{e.waiting&&navigator.serviceWorker.controller&&o.show()})}),r.addEventListener("click",()=>{e.waiting&&e.waiting.postMessage("SKIP_WAITING"),o.hide()})});let i=!1;navigator.serviceWorker.addEventListener("controllerchange",()=>{i||(window.location.reload(),i=!0)})}else navigator.serviceWorker.getRegistrations().then(function(e){for(let t of e)t.unregister()})}}();
|
|
7
|
+
!function(){"use strict";const e=new Map;var t={set(t,n,r){e.has(t)||e.set(t,new Map);const o=e.get(t);o.has(n)||0===o.size?o.set(n,r):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(o.keys())[0],"."))},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const r=e.get(t);r.delete(n),0===r.size&&e.delete(t)}};function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function r(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,c=[],a=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{if(!a&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const c="transitionend",a=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>"#".concat(CSS.escape(t)))),e),l=e=>null==e?"".concat(e):Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),u=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),f=e=>u(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(a(e)):null,d=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),h=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,g=[],m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?e.call(...t):n},p=function(e,t){if(!(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]))return void m(e);const n=(e=>{if(!e)return 0;let t=window.getComputedStyle(e),n=t.transitionDuration,r=t.transitionDelay;const o=Number.parseFloat(n),i=Number.parseFloat(r);return o||i?(n=n.split(",")[0],r=r.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(r))):0})(t)+5;let r=!1;const o=n=>{n.target===t&&(r=!0,t.removeEventListener(c,o),m(e))};t.addEventListener(c,o),setTimeout(()=>{r||t.dispatchEvent(new Event(c))},n)},b=/[^.]*(?=\..*)\.|.*/,v=/\..*/,y=/::\d+$/,_={};let E=1;const w={mouseenter:"mouseover",mouseleave:"mouseout"},O=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 S(e,t){return t&&"".concat(t,"::").concat(E++)||e.uidEvent||E++}function A(e){const t=S(e);return e.uidEvent=t,_[t]=_[t]||{},_[t]}function j(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function C(e,t,n){const r="string"==typeof t,o=r?n:t||n;let i=I(e);return O.has(i)||(i=e),[r,o,i]}function T(e,t,n,r,o){if("string"!=typeof t||!e)return;let i=s(C(t,n,r),3),c=i[0],a=i[1],l=i[2];if(t in w){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};a=e(a)}const u=A(e),f=u[l]||(u[l]={}),d=j(f,a,c?n:null);if(d)return void(d.oneOff=d.oneOff&&o);const h=S(a,t.replace(b,"")),g=c?function(e,t,n){return function r(o){const i=e.querySelectorAll(t);for(let s=o.target;s&&s!==this;s=s.parentNode)for(const c of i)if(c===s)return k(o,{delegateTarget:s}),r.oneOff&&L.off(e,o.type,t,n),n.apply(s,[o])}}(e,n,a):function(e,t){return function n(r){return k(r,{delegateTarget:e}),n.oneOff&&L.off(e,r.type,t),t.apply(e,[r])}}(e,a);g.delegationSelector=c?n:null,g.callable=a,g.oneOff=o,g.uidEvent=h,f[h]=g,e.addEventListener(l,g,c)}function N(e,t,n,r,o){const i=j(t[n],r,o);i&&(e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent])}function D(e,t,n,r){const o=t[n]||{};for(const c of Object.entries(o)){var i=s(c,2);const o=i[0],a=i[1];o.includes(r)&&N(e,t,n,a.callable,a.delegationSelector)}}function I(e){return e=e.replace(v,""),w[e]||e}const L={on(e,t,n,r){T(e,t,n,r,!1)},one(e,t,n,r){T(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const o=s(C(t,n,r),3),i=o[0],c=o[1],a=o[2],l=a!==t,u=A(e),f=u[a]||{},d=t.startsWith(".");if(void 0===c){if(d)for(const n of Object.keys(u))D(e,u,n,t.slice(1));for(const n of Object.entries(f)){var h=s(n,2);const r=h[0],o=h[1],i=r.replace(y,"");l&&!t.includes(i)||N(e,u,a,o.callable,o.delegationSelector)}}else{if(!Object.keys(f).length)return;N(e,u,a,c,i?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const r=h();let o=null,i=!0,s=!0,c=!1;t!==I(t)&&r&&(o=r.Event(t,n),r(e).trigger(o),i=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());const a=k(new Event(t,{bubbles:i,cancelable:!0}),n);return c&&a.preventDefault(),s&&e.dispatchEvent(a),a.defaultPrevented&&o&&o.preventDefault(),a}};function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const r of Object.entries(t)){var n=s(r,2);const t=n[0],o=n[1];try{e[t]=o}catch(n){Object.defineProperty(e,t,{configurable:!0,get:()=>o})}}return e}function M(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function P(e){return e.replace(/[A-Z]/g,e=>"-".concat(e.toLowerCase()))}const K={setDataAttribute(e,t,n){e.setAttribute("data-bs-".concat(P(t)),n)},removeDataAttribute(e,t){e.removeAttribute("data-bs-".concat(P(t)))},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=M(e.dataset[r])}return t},getDataAttribute:(e,t)=>M(e.getAttribute("data-bs-".concat(P(t))))};class x{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=u(t)?K.getDataAttribute(t,"config"):{};return i(i(i(i({},this.constructor.Default),"object"==typeof n?n:{}),u(t)?K.getDataAttributes(t):{}),"object"==typeof e?e:{})}_typeCheckConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType;for(const r of Object.entries(t)){var n=s(r,2);const t=n[0],o=n[1],i=e[t],c=u(i)?"element":l(i);if(!new RegExp(o).test(c))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(t,'" provided type "').concat(c,'" but expected type "').concat(o,'".'))}}}class q extends x{constructor(e,n){super(),(e=f(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),L.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t){p(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(f(e),this.DATA_KEY)}static getOrCreateInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return"bs.".concat(this.NAME)}static get EVENT_KEY(){return".".concat(this.DATA_KEY)}static eventName(e){return"".concat(e).concat(this.EVENT_KEY)}}const W=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>a(e)).join(","):null},Y={find(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>"".concat(e,':not([tabindex^="-"])')).join(",");return this.find(t,e).filter(e=>!d(e)&&(e=>{if(!u(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t})(e))},getSelectorFromElement(e){const t=W(e);return t&&Y.findOne(t)?t:null},getElementFromSelector(e){const t=W(e);return t?Y.findOne(t):null},getMultipleElementsFromSelector(e){const t=W(e);return t?Y.find(t):[]}},F=".".concat("bs.toast"),R="mouseover".concat(F),V="mouseout".concat(F),Q="focusin".concat(F),U="focusout".concat(F),z="hide".concat(F),B="hidden".concat(F),H="show".concat(F),$="shown".concat(F),G="hide",J="show",Z="showing",X={animation:"boolean",autohide:"boolean",delay:"number"},ee={animation:!0,autohide:!0,delay:5e3};class te extends q{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ee}static get DefaultType(){return X}static get NAME(){return"toast"}show(){if(L.trigger(this._element,H).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(G),this._element.offsetHeight,this._element.classList.add(J,Z),this._queueCallback(()=>{this._element.classList.remove(Z),L.trigger(this._element,$),this._maybeScheduleHide()},this._element,this._config.animation)}hide(){if(!this.isShown())return;if(L.trigger(this._element,z).defaultPrevented)return;this._element.classList.add(Z),this._queueCallback(()=>{this._element.classList.add(G),this._element.classList.remove(Z,J),L.trigger(this._element,B)},this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(J),super.dispose()}isShown(){return this._element.classList.contains(J)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){L.on(this._element,R,e=>this._onInteraction(e,!0)),L.on(this._element,V,e=>this._onInteraction(e,!1)),L.on(this._element,Q,e=>this._onInteraction(e,!0)),L.on(this._element,U,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=te.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}})}}var ne,re;if(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hide";const n="click.dismiss".concat(e.EVENT_KEY),r=e.NAME;L.on(document,n,'[data-bs-dismiss="'.concat(r,'"]'),function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),d(this))return;const o=Y.getElementFromSelector(this)||this.closest(".".concat(r));e.getOrCreateInstance(o)[t]()})}(te),ne=te,re=()=>{const e=h();if(e){const t=ne.NAME,n=e.fn[t];e.fn[t]=ne.jQueryInterface,e.fn[t].Constructor=ne,e.fn[t].noConflict=()=>(e.fn[t]=n,ne.jQueryInterface)}},"loading"===document.readyState?(g.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of g)e()}),g.push(re)):re(),"serviceWorker"in navigator){const e=new URL(document.currentScript.src),t=e.searchParams.get("register"),n=e.searchParams.get("baseurl");if(t){const e="".concat(n,"/sw.min.js"),t=document.getElementById("notification"),r=t.querySelector('[aria-label="Update"]'),o=te.getOrCreateInstance(t);navigator.serviceWorker.register(e).then(e=>{e.waiting&&o.show(),e.addEventListener("updatefound",()=>{e.installing.addEventListener("statechange",()=>{e.waiting&&navigator.serviceWorker.controller&&o.show()})}),r.addEventListener("click",()=>{e.waiting&&e.waiting.postMessage("SKIP_WAITING"),o.hide()})});let i=!1;navigator.serviceWorker.addEventListener("controllerchange",()=>{i||(window.location.reload(),i=!0)})}else navigator.serviceWorker.getRegistrations().then(function(e){for(let t of e)t.unregister()})}}();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* jekyll-theme-chirpy v7.
|
|
2
|
+
* jekyll-theme-chirpy v7.6.0 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
|
|
3
3
|
*/
|
|
4
|
-
!function(){"use strict";const e=new Map;var t={set(t,n,i){e.has(t)||e.set(t,new Map);const o=e.get(t);o.has(n)||0===o.size?o.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}};const n="transitionend",i=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),o=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),r=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),s=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(i(e)):null,a=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?a(e.parentNode):null},l=()=>{},c=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,u=[],f=()=>"rtl"===document.documentElement.dir,d=e=>{var t;t=()=>{const t=c();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(u.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of u)e()}),u.push(t)):t()},p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?e.call(...t):n},h=function(e,t){if(!(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]))return void p(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),o=Number.parseFloat(n);return i||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let o=!1;const r=i=>{let{target:s}=i;s===t&&(o=!0,t.removeEventListener(n,r),p(e))};t.addEventListener(n,r),setTimeout(()=>{o||t.dispatchEvent(new Event(n))},i)},g=/[^.]*(?=\..*)\.|.*/,m=/\..*/,v=/::\d+$/,b={};let y=1;const _={mouseenter:"mouseover",mouseleave:"mouseout"},w=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 E(e,t){return t&&`${t}::${y++}`||e.uidEvent||y++}function O(e){const t=E(e);return e.uidEvent=t,b[t]=b[t]||{},b[t]}function x(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function A(e,t,n){const i="string"==typeof t,o=i?n:t||n;let r=S(e);return w.has(r)||(r=e),[i,o,r]}function C(e,t,n,i,o){if("string"!=typeof t||!e)return;let[r,s,a]=A(t,n,i);if(t in _){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};s=e(s)}const l=O(e),c=l[a]||(l[a]={}),u=x(c,s,r?n:null);if(u)return void(u.oneOff=u.oneOff&&o);const f=E(s,t.replace(g,"")),d=r?function(e,t,n){return function i(o){const r=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of r)if(a===s)return k(o,{delegateTarget:s}),i.oneOff&&j.off(e,o.type,t,n),n.apply(s,[o])}}(e,n,s):function(e,t){return function n(i){return k(i,{delegateTarget:e}),n.oneOff&&j.off(e,i.type,t),t.apply(e,[i])}}(e,s);d.delegationSelector=r?n:null,d.callable=s,d.oneOff=o,d.uidEvent=f,c[f]=d,e.addEventListener(a,d,r)}function L(e,t,n,i,o){const r=x(t[n],i,o);r&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}function T(e,t,n,i){const o=t[n]||{};for(const[r,s]of Object.entries(o))r.includes(i)&&L(e,t,n,s.callable,s.delegationSelector)}function S(e){return e=e.replace(m,""),_[e]||e}const j={on(e,t,n,i){C(e,t,n,i,!1)},one(e,t,n,i){C(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[o,r,s]=A(t,n,i),a=s!==t,l=O(e),c=l[s]||{},u=t.startsWith(".");if(void 0===r){if(u)for(const n of Object.keys(l))T(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const o=n.replace(v,"");a&&!t.includes(o)||L(e,l,s,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;L(e,l,s,r,o?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=c();let o=null,r=!0,s=!0,a=!1;t!==S(t)&&i&&(o=i.Event(t,n),i(e).trigger(o),r=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());const l=k(new Event(t,{bubbles:r,cancelable:!0}),n);return a&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&o&&o.preventDefault(),l}};function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const[n,i]of Object.entries(t))try{e[n]=i}catch{Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}function D(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function P(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const N={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${P(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${P(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=D(e.dataset[i])}return t},getDataAttribute:(e,t)=>D(e.getAttribute(`data-bs-${P(t)}`))};class M{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=r(t)?N.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...r(t)?N.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType;for(const[n,i]of Object.entries(t)){const t=e[n],s=r(t)?"element":o(t);if(!new RegExp(i).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${i}".`)}}}class B extends M{constructor(e,n){super(),(e=s(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),j.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t){h(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(s(e),this.DATA_KEY)}static getOrCreateInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}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 I=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>i(e)).join(","):null},F={find(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!(e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")))(e)&&(e=>{if(!r(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t})(e))},getSelectorFromElement(e){const t=I(e);return t&&F.findOne(t)?t:null},getElementFromSelector(e){const t=I(e);return t?F.findOne(t):null},getMultipleElementsFromSelector(e){const t=I(e);return t?F.find(t):[]}},H=".bs.collapse",$=`show${H}`,z=`shown${H}`,W=`hide${H}`,q=`hidden${H}`,R=`click${H}.data-api`,V="show",Y="collapse",U="collapsing",K=`:scope .${Y} .${Y}`,Q='[data-bs-toggle="collapse"]',X={parent:null,toggle:!0},G={parent:"(null|element)",toggle:"boolean"};class J extends B{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=F.find(Q);for(const e of n){const t=F.getSelectorFromElement(e),n=F.find(t).filter(e=>e===this._element);null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return X}static get DefaultType(){return G}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>J.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(j.trigger(this._element,$).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(Y),this._element.classList.add(U),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(U),this._element.classList.add(Y,V),this._element.style[t]="",j.trigger(this._element,z)},this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(j.trigger(this._element,W).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.offsetHeight,this._element.classList.add(U),this._element.classList.remove(Y,V);for(const e of this._triggerArray){const t=F.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(U),this._element.classList.add(Y),j.trigger(this._element,q)},this._element,!0)}_isShown(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(V)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=s(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Q);for(const t of e){const e=F.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=F.find(K,this._config.parent);return F.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=J.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}j.on(document,R,Q,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of F.getMultipleElementsFromSelector(this))J.getOrCreateInstance(e,{toggle:!1}).toggle()}),d(J);const Z=document.getElementsByClassName("collapse");var ee="top",te="bottom",ne="right",ie="left",oe="auto",re=[ee,te,ne,ie],se="start",ae="end",le="clippingParents",ce="viewport",ue="popper",fe="reference",de=re.reduce(function(e,t){return e.concat([t+"-"+se,t+"-"+ae])},[]),pe=[].concat(re,[oe]).reduce(function(e,t){return e.concat([t,t+"-"+se,t+"-"+ae])},[]),he="beforeRead",ge="read",me="afterRead",ve="beforeMain",be="main",ye="afterMain",_e="beforeWrite",we="write",Ee="afterWrite",Oe=[he,ge,me,ve,be,ye,_e,we,Ee];function xe(e){return e?(e.nodeName||"").toLowerCase():null}function Ae(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ce(e){return e instanceof Ae(e).Element||e instanceof Element}function Le(e){return e instanceof Ae(e).HTMLElement||e instanceof HTMLElement}function Te(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ae(e).ShadowRoot||e instanceof ShadowRoot)}var Se={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];Le(o)&&xe(o)&&(Object.assign(o.style,n),Object.keys(i).forEach(function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var i=t.elements[e],o=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Le(i)&&xe(i)&&(Object.assign(i.style,r),Object.keys(o).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};function je(e){return e.split("-")[0]}var ke=Math.max,De=Math.min,Pe=Math.round;function Ne(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Me(){return!/^((?!chrome|android).)*safari/i.test(Ne())}function Be(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&Le(e)&&(o=e.offsetWidth>0&&Pe(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Pe(i.height)/e.offsetHeight||1);var s=(Ce(e)?Ae(e):window).visualViewport,a=!Me()&&n,l=(i.left+(a&&s?s.offsetLeft:0))/o,c=(i.top+(a&&s?s.offsetTop:0))/r,u=i.width/o,f=i.height/r;return{width:u,height:f,top:c,right:l+u,bottom:c+f,left:l,x:l,y:c}}function Ie(e){var t=Be(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Fe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Te(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function He(e){return Ae(e).getComputedStyle(e)}function $e(e){return["table","td","th"].indexOf(xe(e))>=0}function ze(e){return((Ce(e)?e.ownerDocument:e.document)||window.document).documentElement}function We(e){return"html"===xe(e)?e:e.assignedSlot||e.parentNode||(Te(e)?e.host:null)||ze(e)}function qe(e){return Le(e)&&"fixed"!==He(e).position?e.offsetParent:null}function Re(e){for(var t=Ae(e),n=qe(e);n&&$e(n)&&"static"===He(n).position;)n=qe(n);return n&&("html"===xe(n)||"body"===xe(n)&&"static"===He(n).position)?t:n||function(e){var t=/firefox/i.test(Ne());if(/Trident/i.test(Ne())&&Le(e)&&"fixed"===He(e).position)return null;var n=We(e);for(Te(n)&&(n=n.host);Le(n)&&["html","body"].indexOf(xe(n))<0;){var i=He(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Ve(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ye(e,t,n){return ke(e,De(t,n))}function Ue(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ke(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Qe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=je(n.placement),l=Ve(a),c=[ie,ne].indexOf(a)>=0?"height":"width";if(r&&s){var u=function(e,t){return Ue("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ke(e,re))}(o.padding,n),f=Ie(r),d="y"===l?ee:ie,p="y"===l?te:ne,h=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],m=Re(r),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=h/2-g/2,y=u[d],_=v-f[c]-u[p],w=v/2-f[c]/2+b,E=Ye(y,w,_),O=l;n.modifiersData[i]=((t={})[O]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Fe(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xe(e){return e.split("-")[1]}var Ge={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Je(e){var t,n=e.popper,i=e.popperRect,o=e.placement,r=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=s.x,p=void 0===d?0:d,h=s.y,g=void 0===h?0:h,m="function"==typeof u?u({x:p,y:g}):{x:p,y:g};p=m.x,g=m.y;var v=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),y=ie,_=ee,w=window;if(c){var E=Re(n),O="clientHeight",x="clientWidth";if(E===Ae(n)&&"static"!==He(E=ze(n)).position&&"absolute"===a&&(O="scrollHeight",x="scrollWidth"),o===ee||(o===ie||o===ne)&&r===ae)_=te,g-=(f&&E===w&&w.visualViewport?w.visualViewport.height:E[O])-i.height,g*=l?1:-1;if(o===ie||(o===ee||o===te)&&r===ae)y=ne,p-=(f&&E===w&&w.visualViewport?w.visualViewport.width:E[x])-i.width,p*=l?1:-1}var A,C=Object.assign({position:a},c&&Ge),L=!0===u?function(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:Pe(n*o)/o||0,y:Pe(i*o)/o||0}}({x:p,y:g},Ae(n)):{x:p,y:g};return p=L.x,g=L.y,l?Object.assign({},C,((A={})[_]=b?"0":"",A[y]=v?"0":"",A.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",A)):Object.assign({},C,((t={})[_]=b?g+"px":"",t[y]=v?p+"px":"",t.transform="",t))}var Ze={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:je(t.placement),variation:Xe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Je(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Je(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},et={passive:!0};var tt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=Ae(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach(function(e){e.addEventListener("scroll",n.update,et)}),a&&l.addEventListener("resize",n.update,et),function(){r&&c.forEach(function(e){e.removeEventListener("scroll",n.update,et)}),a&&l.removeEventListener("resize",n.update,et)}},data:{}},nt={left:"right",right:"left",bottom:"top",top:"bottom"};function it(e){return e.replace(/left|right|bottom|top/g,function(e){return nt[e]})}var ot={start:"end",end:"start"};function rt(e){return e.replace(/start|end/g,function(e){return ot[e]})}function st(e){var t=Ae(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function at(e){return Be(ze(e)).left+st(e).scrollLeft}function lt(e){var t=He(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function ct(e){return["html","body","#document"].indexOf(xe(e))>=0?e.ownerDocument.body:Le(e)&<(e)?e:ct(We(e))}function ut(e,t){var n;void 0===t&&(t=[]);var i=ct(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),r=Ae(i),s=o?[r].concat(r.visualViewport||[],lt(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(ut(We(s)))}function ft(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function dt(e,t,n){return t===ce?ft(function(e,t){var n=Ae(e),i=ze(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=Me();(c||!c&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+at(e),y:l}}(e,n)):Ce(t)?function(e,t){var n=Be(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ft(function(e){var t,n=ze(e),i=st(e),o=null==(t=e.ownerDocument)?void 0:t.body,r=ke(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=ke(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+at(e),l=-i.scrollTop;return"rtl"===He(o||n).direction&&(a+=ke(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(ze(e)))}function pt(e,t,n,i){var o="clippingParents"===t?function(e){var t=ut(We(e)),n=["absolute","fixed"].indexOf(He(e).position)>=0&&Le(e)?Re(e):e;return Ce(n)?t.filter(function(e){return Ce(e)&&Fe(e,n)&&"body"!==xe(e)}):[]}(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce(function(t,n){var o=dt(e,n,i);return t.top=ke(o.top,t.top),t.right=De(o.right,t.right),t.bottom=De(o.bottom,t.bottom),t.left=ke(o.left,t.left),t},dt(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ht(e){var t,n=e.reference,i=e.element,o=e.placement,r=o?je(o):null,s=o?Xe(o):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case ee:t={x:a,y:n.y-i.height};break;case te:t={x:a,y:n.y+n.height};break;case ne:t={x:n.x+n.width,y:l};break;case ie:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?Ve(r):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case se:t[c]=t[c]-(n[u]/2-i[u]/2);break;case ae:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function gt(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=void 0===i?e.placement:i,r=n.strategy,s=void 0===r?e.strategy:r,a=n.boundary,l=void 0===a?le:a,c=n.rootBoundary,u=void 0===c?ce:c,f=n.elementContext,d=void 0===f?ue:f,p=n.altBoundary,h=void 0!==p&&p,g=n.padding,m=void 0===g?0:g,v=Ue("number"!=typeof m?m:Ke(m,re)),b=d===ue?fe:ue,y=e.rects.popper,_=e.elements[h?b:d],w=pt(Ce(_)?_:_.contextElement||ze(e.elements.popper),l,u,s),E=Be(e.elements.reference),O=ht({reference:E,element:y,placement:o}),x=ft(Object.assign({},y,O)),A=d===ue?x:E,C={top:w.top-A.top+v.top,bottom:A.bottom-w.bottom+v.bottom,left:w.left-A.left+v.left,right:A.right-w.right+v.right},L=e.modifiersData.offset;if(d===ue&&L){var T=L[o];Object.keys(C).forEach(function(e){var t=[ne,te].indexOf(e)>=0?1:-1,n=[ee,te].indexOf(e)>=0?"y":"x";C[e]+=T[n]*t})}return C}function mt(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?pe:l,u=Xe(i),f=u?a?de:de.filter(function(e){return Xe(e)===u}):re,d=f.filter(function(e){return c.indexOf(e)>=0});0===d.length&&(d=f);var p=d.reduce(function(t,n){return t[n]=gt(e,{placement:n,boundary:o,rootBoundary:r,padding:s})[je(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}var vt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,g=n.allowedAutoPlacements,m=t.options.placement,v=je(m),b=l||(v===m||!h?[it(m)]:function(e){if(je(e)===oe)return[];var t=it(e);return[rt(e),t,rt(t)]}(m)),y=[m].concat(b).reduce(function(e,n){return e.concat(je(n)===oe?mt(t,{placement:n,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:g}):n)},[]),_=t.rects.reference,w=t.rects.popper,E=new Map,O=!0,x=y[0],A=0;A<y.length;A++){var C=y[A],L=je(C),T=Xe(C)===se,S=[ee,te].indexOf(L)>=0,j=S?"width":"height",k=gt(t,{placement:C,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),D=S?T?ne:ie:T?te:ee;_[j]>w[j]&&(D=it(D));var P=it(D),N=[];if(r&&N.push(k[L]<=0),a&&N.push(k[D]<=0,k[P]<=0),N.every(function(e){return e})){x=C,O=!1;break}E.set(C,N)}if(O)for(var M=function(e){var t=y.find(function(t){var n=E.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return x=t,"break"},B=h?3:1;B>0;B--){if("break"===M(B))break}t.placement!==x&&(t.modifiersData[i]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function yt(e){return[ee,ne,te,ie].some(function(t){return e[t]>=0})}var _t={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=gt(t,{elementContext:"reference"}),a=gt(t,{altBoundary:!0}),l=bt(s,i),c=bt(a,o,r),u=yt(l),f=yt(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}};var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=void 0===o?[0,0]:o,s=pe.reduce(function(e,n){return e[n]=function(e,t,n){var i=je(e),o=[ie,ee].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[ie,ne].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,r),e},{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}};var Et={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ht({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}};var Ot={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,g=void 0===h?0:h,m=gt(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),v=je(t.placement),b=Xe(t.placement),y=!b,_=Ve(v),w="x"===_?"y":"x",E=t.modifiersData.popperOffsets,O=t.rects.reference,x=t.rects.popper,A="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,C="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(E){if(r){var S,j="y"===_?ee:ie,k="y"===_?te:ne,D="y"===_?"height":"width",P=E[_],N=P+m[j],M=P-m[k],B=p?-x[D]/2:0,I=b===se?O[D]:x[D],F=b===se?-x[D]:-O[D],H=t.elements.arrow,$=p&&H?Ie(H):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=z[j],q=z[k],R=Ye(0,O[D],$[D]),V=y?O[D]/2-B-R-W-C.mainAxis:I-R-W-C.mainAxis,Y=y?-O[D]/2+B+R+q+C.mainAxis:F+R+q+C.mainAxis,U=t.elements.arrow&&Re(t.elements.arrow),K=U?"y"===_?U.clientTop||0:U.clientLeft||0:0,Q=null!=(S=null==L?void 0:L[_])?S:0,X=P+Y-Q,G=Ye(p?De(N,P+V-Q-K):N,P,p?ke(M,X):M);E[_]=G,T[_]=G-P}if(a){var J,Z="x"===_?ee:ie,oe="x"===_?te:ne,re=E[w],ae="y"===w?"height":"width",le=re+m[Z],ce=re-m[oe],ue=-1!==[ee,ie].indexOf(v),fe=null!=(J=null==L?void 0:L[w])?J:0,de=ue?le:re-O[ae]-x[ae]-fe+C.altAxis,pe=ue?re+O[ae]+x[ae]-fe-C.altAxis:ce,he=p&&ue?function(e,t,n){var i=Ye(e,t,n);return i>n?n:i}(de,re,pe):Ye(p?de:le,re,p?pe:ce);E[w]=he,T[w]=he-re}t.modifiersData[i]=T}},requiresIfExists:["offset"]};function xt(e,t,n){void 0===n&&(n=!1);var i,o,r=Le(t),s=Le(t)&&function(e){var t=e.getBoundingClientRect(),n=Pe(t.width)/e.offsetWidth||1,i=Pe(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=ze(t),l=Be(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==xe(t)||lt(a))&&(c=(i=t)!==Ae(i)&&Le(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:st(i)),Le(t)?((u=Be(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=at(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function At(e){var t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&o(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),i}var Ct={placement:"bottom",modifiers:[],strategy:"absolute"};function Lt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Tt(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,r=void 0===o?Ct:o;return function(e,t,n){void 0===n&&(n=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ct,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;f(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:Ce(e)?ut(e):e.contextElement?ut(e.contextElement):[],popper:ut(t)};var s,c,d=function(e){var t=At(e);return Oe.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(i,a.options.modifiers),c=s.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return a.orderedModifiers=d.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var r=o({state:a,name:t,instance:u,options:i}),s=function(){};l.push(r||s)}}),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Lt(t,n)){a.rects={reference:xt(t,Re(n),"fixed"===a.options.strategy),popper:Ie(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var o=a.orderedModifiers[i],r=o.fn,s=o.options,l=void 0===s?{}:s,f=o.name;"function"==typeof r&&(a=r({state:a,options:l,name:f,instance:u})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(o())})})),s}),destroy:function(){f(),c=!0}};if(!Lt(e,t))return u;function f(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var St=Tt({defaultModifiers:[tt,Et,Ze,Se,wt,vt,Ot,Qe,_t]}),jt=Object.freeze({__proto__:null,afterMain:ye,afterRead:me,afterWrite:Ee,applyStyles:Se,arrow:Qe,auto:oe,basePlacements:re,beforeMain:ve,beforeRead:he,beforeWrite:_e,bottom:te,clippingParents:le,computeStyles:Ze,createPopper:St,detectOverflow:gt,end:ae,eventListeners:tt,flip:vt,hide:_t,left:ie,main:be,modifierPhases:Oe,offset:wt,placements:pe,popper:ue,popperGenerator:Tt,popperOffsets:Et,preventOverflow:Ot,read:ge,reference:fe,right:ne,start:se,top:ee,variationPlacements:de,viewport:ce,write:we});const kt={"*":["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:[]},Dt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Pt=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Nt=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Dt.has(n)||Boolean(Pt.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};const Mt={allowList:kt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Bt={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},It={entry:"(string|element|function|null)",selector:"(string|element)"};class Ft extends M{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Mt}static get DefaultType(){return Bt}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[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},It)}_setContent(e,t,n){const i=F.findOne(n,e);i&&((t=this._resolvePossibleFunction(t))?r(t)?this._putElementInTemplate(s(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const e of o){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const i=[].concat(...e.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const t of i)Nt(t,o)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return p(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Ht=new Set(["sanitize","allowList","sanitizeFn"]),$t="fade",zt="show",Wt=".tooltip-inner",qt=".modal",Rt="hide.bs.modal",Vt="hover",Yt="focus",Ut="click",Kt={AUTO:"auto",TOP:"top",RIGHT:f()?"left":"right",BOTTOM:"bottom",LEFT:f()?"right":"left"},Qt={allowList:kt,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Xt={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 Gt extends B{constructor(e,t){if(void 0===jt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Qt}static get DefaultType(){return Xt}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),j.off(this._element.closest(qt),Rt,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=j.trigger(this._element,this.constructor.eventName("show")),t=(a(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),j.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(zt),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))j.on(e,"mouseover",l);this._queueCallback(()=>{j.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(j.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(zt),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))j.off(e,"mouseover",l);this._activeTrigger[Ut]=!1,this._activeTrigger[Yt]=!1,this._activeTrigger[Vt]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),j.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove($t,zt),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add($t),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ft({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Wt]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains($t)}_isShown(){return this.tip&&this.tip.classList.contains(zt)}_createPopper(e){const t=p(this._config.placement,[this,e,this._element]),n=Kt[t.toUpperCase()];return St(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return p(e,[this._element,this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...p(this._config.popperConfig,[void 0,t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)j.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[Ut]=!(t._isShown()&&t._activeTrigger[Ut]),t.toggle()});else if("manual"!==t){const e=t===Vt?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===Vt?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");j.on(this._element,e,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?Yt:Vt]=!0,t._enter()}),j.on(this._element,n,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Yt:Vt]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},j.on(this._element.closest(qt),Rt,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=N.getDataAttributes(this._element);for(const e of Object.keys(t))Ht.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:s(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=Gt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}function Jt(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function Zt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var en;d(Gt);const tn=document.getElementById("toc-bar"),nn=document.getElementById("toc-solo-trigger"),on=document.getElementsByClassName("toc-trigger"),rn=document.getElementById("toc-popup"),sn=document.getElementById("toc-popup-close"),an="overflow-hidden",ln="closing";class cn{static initBar(){new IntersectionObserver(e=>{e.forEach(e=>{tn.classList.toggle("invisible",e.isIntersecting)})},{rootMargin:`-${Jt(cn,this,fn)._}px 0px 0px 0px`}).observe(nn),un._=Jt(cn,this,!1)}static listenAnchors(){[...document.getElementsByClassName("toc-link")].forEach(e=>{e.onclick=()=>this.hidePopup()})}static refresh(){Jt(cn,this,un)._&&this.initComponents(),tocbot.refresh(this.options),this.listenAnchors()}static get popupOpened(){return rn.open}static showPopup(){this.lockScroll(!0),rn.showModal();rn.querySelector("li.is-active-li").scrollIntoView({block:"center"})}static hidePopup(){rn.toggleAttribute(ln),rn.addEventListener("animationend",()=>{rn.toggleAttribute(ln),rn.close()},{once:!0}),this.lockScroll(!1)}static lockScroll(e){document.documentElement.classList.toggle(an,e),document.body.classList.toggle(an,e)}static clickBackdrop(e){if(rn.hasAttribute(ln))return;const t=e.target.getBoundingClientRect();(e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom)&&this.hidePopup()}static initComponents(){this.initBar(),[...on].forEach(e=>{e.onclick=()=>this.showPopup()}),rn.onclick=e=>this.clickBackdrop(e),sn.onclick=()=>this.hidePopup(),rn.oncancel=e=>{e.preventDefault(),this.hidePopup()}}static init(){tocbot.init(this.options),this.listenAnchors(),this.initComponents()}}var un={_:!0},fn={_:48};Zt(cn,"options",{tocSelector:"#toc-popup-content",contentSelector:".content",ignoreSelector:"[data-toc-skip]",headingSelector:"h2, h3, h4",orderedList:!1,scrollSmooth:!1,collapseDepth:4,headingsOffset:Jt(en=cn,en,fn)._});Zt(class{static refresh(){tocbot.refresh(this.options)}static init(){tocbot.init(this.options)}},"options",{tocSelector:"#toc",contentSelector:".content",ignoreSelector:"[data-toc-skip]",headingSelector:"h2, h3, h4",orderedList:!1,scrollSmooth:!1,headingsOffset:32}),matchMedia("(min-width: 1200px)"),Theme.getThemeMapper("default","dark");const dn=document.getElementById("mode-toggle");const pn=document.getElementById("sidebar"),hn=document.getElementById("sidebar-trigger"),gn=document.getElementById("mask");class mn{static toggle(){vn._=Jt(mn,this,!Jt(mn,this,vn)._),document.body.toggleAttribute("sidebar-display",Jt(mn,this,vn)._),pn.classList.toggle("z-2",Jt(mn,this,vn)._),gn.classList.toggle("d-none",!Jt(mn,this,vn)._)}}var vn={_:!1};const bn=document.getElementById("sidebar-trigger"),yn=document.getElementById("search-trigger"),_n=document.getElementById("search-cancel"),wn=document.querySelectorAll("#main-wrapper>.container>.row"),En=document.getElementById("topbar-title"),On=document.getElementById("search"),xn=document.getElementById("search-result-wrapper"),An=document.getElementById("search-results"),Cn=document.getElementById("search-input"),Ln=document.getElementById("search-hints"),Tn="d-block",Sn="d-none",jn="input-focus",kn="d-flex";class Dn{static on(){bn.classList.add(Sn),En.classList.add(Sn),yn.classList.add(Sn),On.classList.add(kn),_n.classList.add(Tn)}static off(){_n.classList.remove(Tn),On.classList.remove(kn),bn.classList.remove(Sn),En.classList.remove(Sn),yn.classList.remove(Sn)}}class Pn{static on(){this.resultVisible||(xn.classList.remove(Sn),wn.forEach(e=>{e.classList.add(Sn)}),this.resultVisible=!0)}static off(){this.resultVisible&&(An.innerHTML="",Ln.classList.contains(Sn)&&Ln.classList.remove(Sn),xn.classList.add(Sn),wn.forEach(e=>{e.classList.remove(Sn)}),Cn.textContent="",this.resultVisible=!1)}}function Nn(){return _n.classList.contains(Tn)}Zt(Pn,"resultVisible",!1),dn&&dn.addEventListener("click",()=>{Theme.flip()}),function(){const e=document.getElementById("back-to-top");window.addEventListener("scroll",()=>{window.scrollY>50?e.classList.add("show"):e.classList.remove("show")}),e.addEventListener("click",()=>{window.scrollTo({top:0})})}(),[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map(e=>new Gt(e)),hn.onclick=gn.onclick=()=>mn.toggle(),yn.addEventListener("click",()=>{Dn.on(),Pn.on(),Cn.focus()}),_n.addEventListener("click",()=>{Dn.off(),Pn.off()}),Cn.addEventListener("focus",()=>{On.classList.add(jn)}),Cn.addEventListener("focusout",()=>{On.classList.remove(jn)}),Cn.addEventListener("input",()=>{""===Cn.value?Nn()?Ln.classList.remove(Sn):Pn.off():(Pn.on(),Nn()&&Ln.classList.add(Sn))}),[...Z].forEach(e=>{const t="h_"+e.id.substring(2),n=document.getElementById(t);e.addEventListener("hide.bs.collapse",()=>{n&&(n.querySelector(".far.fa-folder-open").className="far fa-folder fa-fw",n.querySelector(".fas.fa-angle-down").classList.add("rotate"),n.classList.remove("hide-border-bottom"))}),e.addEventListener("show.bs.collapse",()=>{n&&(n.querySelector(".far.fa-folder").className="far fa-folder-open fa-fw",n.querySelector(".fas.fa-angle-down").classList.remove("rotate"),n.classList.add("hide-border-bottom"))})})}();
|
|
4
|
+
!function(){"use strict";const e=new Map;var t={set(t,n,o){e.has(t)||e.set(t,new Map);const i=e.get(t);i.has(n)||0===i.size?i.set(n,o):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(i.keys())[0],"."))},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const o=e.get(t);o.delete(n),0===o.size&&e.delete(t)}};function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function o(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,r,s,a=[],c=!0,l=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=r.call(n)).done)&&(a.push(o.value),a.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var o={}.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const c="transitionend",l=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>"#".concat(CSS.escape(t)))),e),u=e=>null==e?"".concat(e):Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),f=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),d=e=>f(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(l(e)):null,p=e=>{if(!f(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},h=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),m=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?m(e.parentNode):null},g=()=>{},v=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,b=[],_=()=>"rtl"===document.documentElement.dir,y=e=>{var t;t=()=>{const t=v();if(t){const n=e.NAME,o=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=o,e.jQueryInterface)}},"loading"===document.readyState?(b.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of b)e()}),b.push(t)):t()},w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?e.call(...t):n},E=function(e,t){if(!(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]))return void w(e);const n=(e=>{if(!e)return 0;let t=window.getComputedStyle(e),n=t.transitionDuration,o=t.transitionDelay;const i=Number.parseFloat(n),r=Number.parseFloat(o);return i||r?(n=n.split(",")[0],o=o.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(o))):0})(t)+5;let o=!1;const i=n=>{n.target===t&&(o=!0,t.removeEventListener(c,i),w(e))};t.addEventListener(c,i),setTimeout(()=>{o||t.dispatchEvent(new Event(c))},n)},O=/[^.]*(?=\..*)\.|.*/,x=/\..*/,C=/::\d+$/,A={};let T=1;const L={mouseenter:"mouseover",mouseleave:"mouseout"},S=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 j(e,t){return t&&"".concat(t,"::").concat(T++)||e.uidEvent||T++}function k(e){const t=j(e);return e.uidEvent=t,A[t]=A[t]||{},A[t]}function P(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function D(e,t,n){const o="string"==typeof t,i=o?n:t||n;let r=I(e);return S.has(r)||(r=e),[o,i,r]}function N(e,t,n,o,i){if("string"!=typeof t||!e)return;let r=a(D(t,n,o),3),s=r[0],c=r[1],l=r[2];if(t in L){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};c=e(c)}const u=k(e),f=u[l]||(u[l]={}),d=P(f,c,s?n:null);if(d)return void(d.oneOff=d.oneOff&&i);const p=j(c,t.replace(O,"")),h=s?function(e,t,n){return function o(i){const r=e.querySelectorAll(t);for(let s=i.target;s&&s!==this;s=s.parentNode)for(const a of r)if(a===s)return F(i,{delegateTarget:s}),o.oneOff&&H.off(e,i.type,t,n),n.apply(s,[i])}}(e,n,c):function(e,t){return function n(o){return F(o,{delegateTarget:e}),n.oneOff&&H.off(e,o.type,t),t.apply(e,[o])}}(e,c);h.delegationSelector=s?n:null,h.callable=c,h.oneOff=i,h.uidEvent=p,f[p]=h,e.addEventListener(l,h,s)}function M(e,t,n,o,i){const r=P(t[n],o,i);r&&(e.removeEventListener(n,r,Boolean(i)),delete t[n][r.uidEvent])}function B(e,t,n,o){const i=t[n]||{};for(const s of Object.entries(i)){var r=a(s,2);const i=r[0],c=r[1];i.includes(o)&&M(e,t,n,c.callable,c.delegationSelector)}}function I(e){return e=e.replace(x,""),L[e]||e}const H={on(e,t,n,o){N(e,t,n,o,!1)},one(e,t,n,o){N(e,t,n,o,!0)},off(e,t,n,o){if("string"!=typeof t||!e)return;const i=a(D(t,n,o),3),r=i[0],s=i[1],c=i[2],l=c!==t,u=k(e),f=u[c]||{},d=t.startsWith(".");if(void 0===s){if(d)for(const n of Object.keys(u))B(e,u,n,t.slice(1));for(const n of Object.entries(f)){var p=a(n,2);const o=p[0],i=p[1],r=o.replace(C,"");l&&!t.includes(r)||M(e,u,c,i.callable,i.delegationSelector)}}else{if(!Object.keys(f).length)return;M(e,u,c,s,r?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const o=v();let i=null,r=!0,s=!0,a=!1;t!==I(t)&&o&&(i=o.Event(t,n),o(e).trigger(i),r=!i.isPropagationStopped(),s=!i.isImmediatePropagationStopped(),a=i.isDefaultPrevented());const c=F(new Event(t,{bubbles:r,cancelable:!0}),n);return a&&c.preventDefault(),s&&e.dispatchEvent(c),c.defaultPrevented&&i&&i.preventDefault(),c}};function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const o of Object.entries(t)){var n=a(o,2);const t=n[0],i=n[1];try{e[t]=i}catch(n){Object.defineProperty(e,t,{configurable:!0,get:()=>i})}}return e}function q(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function z(e){return e.replace(/[A-Z]/g,e=>"-".concat(e.toLowerCase()))}const W={setDataAttribute(e,t,n){e.setAttribute("data-bs-".concat(z(t)),n)},removeDataAttribute(e,t){e.removeAttribute("data-bs-".concat(z(t)))},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const o of n){let n=o.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=q(e.dataset[o])}return t},getDataAttribute:(e,t)=>q(e.getAttribute("data-bs-".concat(z(t))))};class R{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=f(t)?W.getDataAttribute(t,"config"):{};return s(s(s(s({},this.constructor.Default),"object"==typeof n?n:{}),f(t)?W.getDataAttributes(t):{}),"object"==typeof e?e:{})}_typeCheckConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType;for(const o of Object.entries(t)){var n=a(o,2);const t=n[0],i=n[1],r=e[t],s=f(r)?"element":u(r);if(!new RegExp(i).test(s))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(t,'" provided type "').concat(s,'" but expected type "').concat(i,'".'))}}}class V extends R{constructor(e,n){super(),(e=d(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),H.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t){E(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(d(e),this.DATA_KEY)}static getOrCreateInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return"bs.".concat(this.NAME)}static get EVENT_KEY(){return".".concat(this.DATA_KEY)}static eventName(e){return"".concat(e).concat(this.EVENT_KEY)}}const Y=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>l(e)).join(","):null},U={find(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const n=[];let o=e.parentNode.closest(t);for(;o;)n.push(o),o=o.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>"".concat(e,':not([tabindex^="-"])')).join(",");return this.find(t,e).filter(e=>!h(e)&&p(e))},getSelectorFromElement(e){const t=Y(e);return t&&U.findOne(t)?t:null},getElementFromSelector(e){const t=Y(e);return t?U.findOne(t):null},getMultipleElementsFromSelector(e){const t=Y(e);return t?U.find(t):[]}},K=".".concat("bs.collapse"),Q="show".concat(K),X="shown".concat(K),$="hide".concat(K),G="hidden".concat(K),J="click".concat(K).concat(".data-api"),Z="show",ee="collapse",te="collapsing",ne=":scope .".concat(ee," .").concat(ee),oe='[data-bs-toggle="collapse"]',ie={parent:null,toggle:!0},re={parent:"(null|element)",toggle:"boolean"};class se extends V{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=U.find(oe);for(const e of n){const t=U.getSelectorFromElement(e),n=U.find(t).filter(e=>e===this._element);null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ie}static get DefaultType(){return re}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>se.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(H.trigger(this._element,Q).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(ee),this._element.classList.add(te),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=t[0].toUpperCase()+t.slice(1),o="scroll".concat(n);this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(te),this._element.classList.add(ee,Z),this._element.style[t]="",H.trigger(this._element,X)},this._element,!0),this._element.style[t]="".concat(this._element[o],"px")}hide(){if(this._isTransitioning||!this._isShown())return;if(H.trigger(this._element,$).defaultPrevented)return;const e=this._getDimension();this._element.style[e]="".concat(this._element.getBoundingClientRect()[e],"px"),this._element.offsetHeight,this._element.classList.add(te),this._element.classList.remove(ee,Z);for(const e of this._triggerArray){const t=U.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(te),this._element.classList.add(ee),H.trigger(this._element,G)},this._element,!0)}_isShown(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(Z)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=d(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(oe);for(const t of e){const e=U.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=U.find(ne,this._config.parent);return U.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=se.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e]()}})}}H.on(document,J,oe,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of U.getMultipleElementsFromSelector(this))se.getOrCreateInstance(e,{toggle:!1}).toggle()}),y(se);const ae=document.getElementsByClassName("collapse");var ce="top",le="bottom",ue="right",fe="left",de="auto",pe=[ce,le,ue,fe],he="start",me="end",ge="clippingParents",ve="viewport",be="popper",_e="reference",ye=pe.reduce(function(e,t){return e.concat([t+"-"+he,t+"-"+me])},[]),we=[].concat(pe,[de]).reduce(function(e,t){return e.concat([t,t+"-"+he,t+"-"+me])},[]),Ee="beforeRead",Oe="read",xe="afterRead",Ce="beforeMain",Ae="main",Te="afterMain",Le="beforeWrite",Se="write",je="afterWrite",ke=[Ee,Oe,xe,Ce,Ae,Te,Le,Se,je];function Pe(e){return e?(e.nodeName||"").toLowerCase():null}function De(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ne(e){return e instanceof De(e).Element||e instanceof Element}function Me(e){return e instanceof De(e).HTMLElement||e instanceof HTMLElement}function Be(e){return"undefined"!=typeof ShadowRoot&&(e instanceof De(e).ShadowRoot||e instanceof ShadowRoot)}var Ie={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];Me(i)&&Pe(i)&&(Object.assign(i.style,n),Object.keys(o).forEach(function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],i=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Me(o)&&Pe(o)&&(Object.assign(o.style,r),Object.keys(i).forEach(function(e){o.removeAttribute(e)}))})}},requires:["computeStyles"]};function He(e){return e.split("-")[0]}var Fe=Math.max,qe=Math.min,ze=Math.round;function We(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Re(){return!/^((?!chrome|android).)*safari/i.test(We())}function Ve(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),i=1,r=1;t&&Me(e)&&(i=e.offsetWidth>0&&ze(o.width)/e.offsetWidth||1,r=e.offsetHeight>0&&ze(o.height)/e.offsetHeight||1);var s=(Ne(e)?De(e):window).visualViewport,a=!Re()&&n,c=(o.left+(a&&s?s.offsetLeft:0))/i,l=(o.top+(a&&s?s.offsetTop:0))/r,u=o.width/i,f=o.height/r;return{width:u,height:f,top:l,right:c+u,bottom:l+f,left:c,x:c,y:l}}function Ye(e){var t=Ve(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Ue(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Be(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Ke(e){return De(e).getComputedStyle(e)}function Qe(e){return["table","td","th"].indexOf(Pe(e))>=0}function Xe(e){return((Ne(e)?e.ownerDocument:e.document)||window.document).documentElement}function $e(e){return"html"===Pe(e)?e:e.assignedSlot||e.parentNode||(Be(e)?e.host:null)||Xe(e)}function Ge(e){return Me(e)&&"fixed"!==Ke(e).position?e.offsetParent:null}function Je(e){for(var t=De(e),n=Ge(e);n&&Qe(n)&&"static"===Ke(n).position;)n=Ge(n);return n&&("html"===Pe(n)||"body"===Pe(n)&&"static"===Ke(n).position)?t:n||function(e){var t=/firefox/i.test(We());if(/Trident/i.test(We())&&Me(e)&&"fixed"===Ke(e).position)return null;var n=$e(e);for(Be(n)&&(n=n.host);Me(n)&&["html","body"].indexOf(Pe(n))<0;){var o=Ke(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function Ze(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function et(e,t,n){return Fe(e,qe(t,n))}function tt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function nt(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var ot={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,i=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=He(n.placement),c=Ze(a),l=[fe,ue].indexOf(a)>=0?"height":"width";if(r&&s){var u=function(e,t){return tt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:nt(e,pe))}(i.padding,n),f=Ye(r),d="y"===c?ce:fe,p="y"===c?le:ue,h=n.rects.reference[l]+n.rects.reference[c]-s[c]-n.rects.popper[l],m=s[c]-n.rects.reference[c],g=Je(r),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,_=u[d],y=v-f[l]-u[p],w=v/2-f[l]/2+b,E=et(_,w,y),O=c;n.modifiersData[o]=((t={})[O]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&Ue(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function it(e){return e.split("-")[1]}var rt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function st(e){var t,n=e.popper,o=e.popperRect,i=e.placement,r=e.variation,s=e.offsets,a=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=s.x,p=void 0===d?0:d,h=s.y,m=void 0===h?0:h,g="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var v=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),_=fe,y=ce,w=window;if(l){var E=Je(n),O="clientHeight",x="clientWidth";if(E===De(n)&&"static"!==Ke(E=Xe(n)).position&&"absolute"===a&&(O="scrollHeight",x="scrollWidth"),i===ce||(i===fe||i===ue)&&r===me)y=le,m-=(f&&E===w&&w.visualViewport?w.visualViewport.height:E[O])-o.height,m*=c?1:-1;if(i===fe||(i===ce||i===le)&&r===me)_=ue,p-=(f&&E===w&&w.visualViewport?w.visualViewport.width:E[x])-o.width,p*=c?1:-1}var C,A=Object.assign({position:a},l&&rt),T=!0===u?function(e,t){var n=e.x,o=e.y,i=t.devicePixelRatio||1;return{x:ze(n*i)/i||0,y:ze(o*i)/i||0}}({x:p,y:m},De(n)):{x:p,y:m};return p=T.x,m=T.y,c?Object.assign({},A,((C={})[y]=b?"0":"",C[_]=v?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",C)):Object.assign({},A,((t={})[y]=b?m+"px":"",t[_]=v?p+"px":"",t.transform="",t))}var at={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=void 0===o||o,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,c=void 0===a||a,l={placement:He(t.placement),variation:it(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,st(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,st(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ct={passive:!0};var lt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,r=void 0===i||i,s=o.resize,a=void 0===s||s,c=De(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&l.forEach(function(e){e.addEventListener("scroll",n.update,ct)}),a&&c.addEventListener("resize",n.update,ct),function(){r&&l.forEach(function(e){e.removeEventListener("scroll",n.update,ct)}),a&&c.removeEventListener("resize",n.update,ct)}},data:{}},ut={left:"right",right:"left",bottom:"top",top:"bottom"};function ft(e){return e.replace(/left|right|bottom|top/g,function(e){return ut[e]})}var dt={start:"end",end:"start"};function pt(e){return e.replace(/start|end/g,function(e){return dt[e]})}function ht(e){var t=De(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function mt(e){return Ve(Xe(e)).left+ht(e).scrollLeft}function gt(e){var t=Ke(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function vt(e){return["html","body","#document"].indexOf(Pe(e))>=0?e.ownerDocument.body:Me(e)&>(e)?e:vt($e(e))}function bt(e,t){var n;void 0===t&&(t=[]);var o=vt(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),r=De(o),s=i?[r].concat(r.visualViewport||[],gt(o)?o:[]):o,a=t.concat(s);return i?a:a.concat(bt($e(s)))}function _t(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function yt(e,t,n){return t===ve?_t(function(e,t){var n=De(e),o=Xe(e),i=n.visualViewport,r=o.clientWidth,s=o.clientHeight,a=0,c=0;if(i){r=i.width,s=i.height;var l=Re();(l||!l&&"fixed"===t)&&(a=i.offsetLeft,c=i.offsetTop)}return{width:r,height:s,x:a+mt(e),y:c}}(e,n)):Ne(t)?function(e,t){var n=Ve(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):_t(function(e){var t,n=Xe(e),o=ht(e),i=null==(t=e.ownerDocument)?void 0:t.body,r=Fe(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Fe(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-o.scrollLeft+mt(e),c=-o.scrollTop;return"rtl"===Ke(i||n).direction&&(a+=Fe(n.clientWidth,i?i.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(Xe(e)))}function wt(e,t,n,o){var i="clippingParents"===t?function(e){var t=bt($e(e)),n=["absolute","fixed"].indexOf(Ke(e).position)>=0&&Me(e)?Je(e):e;return Ne(n)?t.filter(function(e){return Ne(e)&&Ue(e,n)&&"body"!==Pe(e)}):[]}(e):[].concat(t),r=[].concat(i,[n]),s=r[0],a=r.reduce(function(t,n){var i=yt(e,n,o);return t.top=Fe(i.top,t.top),t.right=qe(i.right,t.right),t.bottom=qe(i.bottom,t.bottom),t.left=Fe(i.left,t.left),t},yt(e,s,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Et(e){var t,n=e.reference,o=e.element,i=e.placement,r=i?He(i):null,s=i?it(i):null,a=n.x+n.width/2-o.width/2,c=n.y+n.height/2-o.height/2;switch(r){case ce:t={x:a,y:n.y-o.height};break;case le:t={x:a,y:n.y+n.height};break;case ue:t={x:n.x+n.width,y:c};break;case fe:t={x:n.x-o.width,y:c};break;default:t={x:n.x,y:n.y}}var l=r?Ze(r):null;if(null!=l){var u="y"===l?"height":"width";switch(s){case he:t[l]=t[l]-(n[u]/2-o[u]/2);break;case me:t[l]=t[l]+(n[u]/2-o[u]/2)}}return t}function Ot(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,r=n.strategy,s=void 0===r?e.strategy:r,a=n.boundary,c=void 0===a?ge:a,l=n.rootBoundary,u=void 0===l?ve:l,f=n.elementContext,d=void 0===f?be:f,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,g=void 0===m?0:m,v=tt("number"!=typeof g?g:nt(g,pe)),b=d===be?_e:be,_=e.rects.popper,y=e.elements[h?b:d],w=wt(Ne(y)?y:y.contextElement||Xe(e.elements.popper),c,u,s),E=Ve(e.elements.reference),O=Et({reference:E,element:_,placement:i}),x=_t(Object.assign({},_,O)),C=d===be?x:E,A={top:w.top-C.top+v.top,bottom:C.bottom-w.bottom+v.bottom,left:w.left-C.left+v.left,right:C.right-w.right+v.right},T=e.modifiersData.offset;if(d===be&&T){var L=T[i];Object.keys(A).forEach(function(e){var t=[ue,le].indexOf(e)>=0?1:-1,n=[ce,le].indexOf(e)>=0?"y":"x";A[e]+=L[n]*t})}return A}function xt(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?we:c,u=it(o),f=u?a?ye:ye.filter(function(e){return it(e)===u}):pe,d=f.filter(function(e){return l.indexOf(e)>=0});0===d.length&&(d=f);var p=d.reduce(function(t,n){return t[n]=Ot(e,{placement:n,boundary:i,rootBoundary:r,padding:s})[He(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}var Ct={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,r=void 0===i||i,s=n.altAxis,a=void 0===s||s,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=He(g),b=c||(v===g||!h?[ft(g)]:function(e){if(He(e)===de)return[];var t=ft(e);return[pt(e),t,pt(t)]}(g)),_=[g].concat(b).reduce(function(e,n){return e.concat(He(n)===de?xt(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):n)},[]),y=t.rects.reference,w=t.rects.popper,E=new Map,O=!0,x=_[0],C=0;C<_.length;C++){var A=_[C],T=He(A),L=it(A)===he,S=[ce,le].indexOf(T)>=0,j=S?"width":"height",k=Ot(t,{placement:A,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),P=S?L?ue:fe:L?le:ce;y[j]>w[j]&&(P=ft(P));var D=ft(P),N=[];if(r&&N.push(k[T]<=0),a&&N.push(k[P]<=0,k[D]<=0),N.every(function(e){return e})){x=A,O=!1;break}E.set(A,N)}if(O)for(var M=function(e){var t=_.find(function(t){var n=E.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return x=t,"break"},B=h?3:1;B>0;B--){if("break"===M(B))break}t.placement!==x&&(t.modifiersData[o]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function At(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Tt(e){return[ce,ue,le,fe].some(function(t){return e[t]>=0})}var Lt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,s=Ot(t,{elementContext:"reference"}),a=Ot(t,{altBoundary:!0}),c=At(s,o),l=At(a,i,r),u=Tt(c),f=Tt(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}};var St={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.offset,r=void 0===i?[0,0]:i,s=we.reduce(function(e,n){return e[n]=function(e,t,n){var o=He(e),i=[fe,ce].indexOf(o)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*i,[fe,ue].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,r),e},{}),a=s[t.placement],c=a.x,l=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=s}};var jt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Et({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}};var kt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,r=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,g=Ot(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),v=He(t.placement),b=it(t.placement),_=!b,y=Ze(v),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,O=t.rects.reference,x=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,A="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(E){if(r){var S,j="y"===y?ce:fe,k="y"===y?le:ue,P="y"===y?"height":"width",D=E[y],N=D+g[j],M=D-g[k],B=p?-x[P]/2:0,I=b===he?O[P]:x[P],H=b===he?-x[P]:-O[P],F=t.elements.arrow,q=p&&F?Ye(F):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=z[j],R=z[k],V=et(0,O[P],q[P]),Y=_?O[P]/2-B-V-W-A.mainAxis:I-V-W-A.mainAxis,U=_?-O[P]/2+B+V+R+A.mainAxis:H+V+R+A.mainAxis,K=t.elements.arrow&&Je(t.elements.arrow),Q=K?"y"===y?K.clientTop||0:K.clientLeft||0:0,X=null!=(S=null==T?void 0:T[y])?S:0,$=D+U-X,G=et(p?qe(N,D+Y-X-Q):N,D,p?Fe(M,$):M);E[y]=G,L[y]=G-D}if(a){var J,Z="x"===y?ce:fe,ee="x"===y?le:ue,te=E[w],ne="y"===w?"height":"width",oe=te+g[Z],ie=te-g[ee],re=-1!==[ce,fe].indexOf(v),se=null!=(J=null==T?void 0:T[w])?J:0,ae=re?oe:te-O[ne]-x[ne]-se+A.altAxis,de=re?te+O[ne]+x[ne]-se-A.altAxis:ie,pe=p&&re?function(e,t,n){var o=et(e,t,n);return o>n?n:o}(ae,te,de):et(p?ae:oe,te,p?de:ie);E[w]=pe,L[w]=pe-te}t.modifiersData[o]=L}},requiresIfExists:["offset"]};function Pt(e,t,n){void 0===n&&(n=!1);var o,i,r=Me(t),s=Me(t)&&function(e){var t=e.getBoundingClientRect(),n=ze(t.width)/e.offsetWidth||1,o=ze(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=Xe(t),c=Ve(e,s,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==Pe(t)||gt(a))&&(l=(o=t)!==De(o)&&Me(o)?{scrollLeft:(i=o).scrollLeft,scrollTop:i.scrollTop}:ht(o)),Me(t)?((u=Ve(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=mt(a))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function Dt(e){var t=new Map,n=new Set,o=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var o=t.get(e);o&&i(o)}}),o.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),o}var Nt={placement:"bottom",modifiers:[],strategy:"absolute"};function Mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Bt(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,r=void 0===i?Nt:i;return function(e,t,n){void 0===n&&(n=r);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nt,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,u={state:a,setOptions:function(n){var i="function"==typeof n?n(a.options):n;f(),a.options=Object.assign({},r,a.options,i),a.scrollParents={reference:Ne(e)?bt(e):e.contextElement?bt(e.contextElement):[],popper:bt(t)};var s,l,d=function(e){var t=Dt(e);return ke.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(o,a.options.modifiers),l=s.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(l).map(function(e){return l[e]})));return a.orderedModifiers=d.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var r=i({state:a,name:t,instance:u,options:o}),s=function(){};c.push(r||s)}}),u.update()},forceUpdate:function(){if(!l){var e=a.elements,t=e.reference,n=e.popper;if(Mt(t,n)){a.rects={reference:Pt(t,Je(n),"fixed"===a.options.strategy),popper:Ye(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var i=a.orderedModifiers[o],r=i.fn,s=i.options,c=void 0===s?{}:s,f=i.name;"function"==typeof r&&(a=r({state:a,options:c,name:f,instance:u})||a)}else a.reset=!1,o=-1}}},update:(i=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(i())})})),s}),destroy:function(){f(),l=!0}};if(!Mt(e,t))return u;function f(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var It=Bt({defaultModifiers:[lt,jt,at,Ie,St,Ct,kt,ot,Lt]}),Ht=Object.freeze({__proto__:null,afterMain:Te,afterRead:xe,afterWrite:je,applyStyles:Ie,arrow:ot,auto:de,basePlacements:pe,beforeMain:Ce,beforeRead:Ee,beforeWrite:Le,bottom:le,clippingParents:ge,computeStyles:at,createPopper:It,detectOverflow:Ot,end:me,eventListeners:lt,flip:Ct,hide:Lt,left:fe,main:Ae,modifierPhases:ke,offset:St,placements:we,popper:be,popperGenerator:Bt,popperOffsets:jt,preventOverflow:kt,read:Oe,reference:_e,right:ue,start:he,top:ce,variationPlacements:ye,viewport:ve,write:Se});const Ft={"*":["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:[]},qt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),zt=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Wt=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!qt.has(n)||Boolean(zt.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};const Rt={allowList:Ft,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Vt={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Yt={entry:"(string|element|function|null)",selector:"(string|element)"};class Ut extends R{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Rt}static get DefaultType(){return Vt}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=s(s({},this._config.content),e),this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const n of Object.entries(this._config.content)){var t=a(n,2);const o=t[0],i=t[1];this._setContent(e,i,o)}const n=e.children[0],o=this._resolvePossibleFunction(this._config.extraClass);return o&&n.classList.add(...o.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const n of Object.entries(e)){var t=a(n,2);const e=t[0],o=t[1];super._typeCheckConfig({selector:e,entry:o},Yt)}}_setContent(e,t,n){const o=U.findOne(n,e);o&&((t=this._resolvePossibleFunction(t))?f(t)?this._putElementInTemplate(d(t),o):this._config.html?o.innerHTML=this._maybeSanitize(t):o.textContent=t:o.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const o=(new window.DOMParser).parseFromString(e,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const e of i){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const o=[].concat(...e.attributes),i=[].concat(t["*"]||[],t[n]||[]);for(const t of o)Wt(t,i)||e.removeAttribute(t.nodeName)}return o.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return w(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Kt=new Set(["sanitize","allowList","sanitizeFn"]),Qt="fade",Xt="show",$t=".tooltip-inner",Gt=".".concat("modal"),Jt="hide.bs.modal",Zt="hover",en="focus",tn="click",nn={AUTO:"auto",TOP:"top",RIGHT:_()?"left":"right",BOTTOM:"bottom",LEFT:_()?"right":"left"},on={allowList:Ft,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},rn={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 sn extends V{constructor(e,t){if(void 0===Ht)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return on}static get DefaultType(){return rn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),H.off(this._element.closest(Gt),Jt,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=H.trigger(this._element,this.constructor.eventName("show")),t=(m(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const o=this._config.container;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(n),H.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(Xt),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))H.on(e,"mouseover",g);this._queueCallback(()=>{H.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(H.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(Xt),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))H.off(e,"mouseover",g);this._activeTrigger[tn]=!1,this._activeTrigger[en]=!1,this._activeTrigger[Zt]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),H.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Qt,Xt),t.classList.add("bs-".concat(this.constructor.NAME,"-auto"));const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Qt),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ut(s(s({},this._config),{},{content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory}_getContentForTemplate(){return{[$t]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Qt)}_isShown(){return this.tip&&this.tip.classList.contains(Xt)}_createPopper(e){const t=w(this._config.placement,[this,e,this._element]),n=nn[t.toUpperCase()];return It(this._element,e,this._getPopperConfig(n))}_getOffset(){const e=this._config.offset;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return w(e,[this._element,this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return s(s({},t),w(this._config.popperConfig,[void 0,t]))}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)H.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[tn]=!(t._isShown()&&t._activeTrigger[tn]),t.toggle()});else if("manual"!==t){const e=t===Zt?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===Zt?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");H.on(this._element,e,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?en:Zt]=!0,t._enter()}),H.on(this._element,n,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?en:Zt]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},H.on(this._element.closest(Gt),Jt,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=W.getDataAttributes(this._element);for(const e of Object.keys(t))Kt.has(e)&&delete t[e];return e=s(s({},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:d(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const n of Object.entries(this._config)){var t=a(n,2);const o=t[0],i=t[1];this.constructor.Default[o]!==i&&(e[o]=i)}return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=sn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}var an;y(sn);const cn=document.getElementById("toc-bar"),ln=document.getElementById("toc-solo-trigger"),un=document.getElementsByClassName("toc-trigger"),fn=document.getElementById("toc-popup"),dn=document.getElementById("toc-popup-close"),pn="overflow-hidden",hn="closing";class mn{static initBar(){new IntersectionObserver(e=>{e.forEach(e=>{cn.classList.toggle("invisible",e.isIntersecting)})},{rootMargin:"-".concat(o(mn,this,vn)._,"px 0px 0px 0px")}).observe(ln),gn._=o(mn,this,!1)}static listenAnchors(){[...document.getElementsByClassName("toc-link")].forEach(e=>{e.onclick=()=>this.hidePopup()})}static refresh(){o(mn,this,gn)._&&this.initComponents(),tocbot.refresh(this.options),this.listenAnchors()}static get popupOpened(){return fn.open}static showPopup(){this.lockScroll(!0),fn.showModal(),dn.blur();fn.querySelector("li.is-active-li").scrollIntoView({block:"center"})}static hidePopup(){fn.toggleAttribute(hn),fn.addEventListener("animationend",()=>{fn.toggleAttribute(hn),fn.close()},{once:!0}),this.lockScroll(!1)}static lockScroll(e){document.documentElement.classList.toggle(pn,e),document.body.classList.toggle(pn,e)}static clickBackdrop(e){if(fn.hasAttribute(hn))return;const t=e.target.getBoundingClientRect();(e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom)&&this.hidePopup()}static initComponents(){this.initBar(),[...un].forEach(e=>{e.onclick=()=>this.showPopup()}),fn.onclick=e=>this.clickBackdrop(e),dn.onclick=()=>this.hidePopup(),fn.oncancel=e=>{e.preventDefault(),this.hidePopup()}}static init(){tocbot.init(this.options),this.listenAnchors(),this.initComponents()}}var gn={_:!0},vn={_:48};i(mn,"options",{tocSelector:"#toc-popup-content",contentSelector:".content",ignoreSelector:"[data-toc-skip]",headingSelector:"h2, h3, h4",orderedList:!1,scrollSmooth:!1,collapseDepth:4,headingsOffset:o(an=mn,an,vn)._});i(class{static refresh(){tocbot.refresh(this.options)}static init(){tocbot.init(this.options)}},"options",{tocSelector:"#toc",contentSelector:".content",ignoreSelector:"[data-toc-skip]",headingSelector:"h2, h3, h4",orderedList:!1,scrollSmooth:!1,headingsOffset:32}),matchMedia("(min-width: 1200px)"),Theme.newThemeMap("default","dark");const bn="dropdown",_n=".".concat("bs.dropdown"),yn=".data-api",wn="ArrowUp",En="ArrowDown",On="hide".concat(_n),xn="hidden".concat(_n),Cn="show".concat(_n),An="shown".concat(_n),Tn="click".concat(_n).concat(yn),Ln="keydown".concat(_n).concat(yn),Sn="keyup".concat(_n).concat(yn),jn="show",kn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Pn="".concat(kn,".").concat(jn),Dn=".dropdown-menu",Nn=_()?"top-end":"top-start",Mn=_()?"top-start":"top-end",Bn=_()?"bottom-end":"bottom-start",In=_()?"bottom-start":"bottom-end",Hn=_()?"left-start":"right-start",Fn=_()?"right-start":"left-start",qn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},zn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Wn extends V{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=U.next(this._element,Dn)[0]||U.prev(this._element,Dn)[0]||U.findOne(Dn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qn}static get DefaultType(){return zn}static get NAME(){return bn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(h(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!H.trigger(this._element,Cn,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))H.on(e,"mouseover",g);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(jn),this._element.classList.add(jn),H.trigger(this._element,An,e)}}hide(){if(h(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!H.trigger(this._element,On,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))H.off(e,"mouseover",g);this._popper&&this._popper.destroy(),this._menu.classList.remove(jn),this._element.classList.remove(jn),this._element.setAttribute("aria-expanded","false"),W.removeDataAttribute(this._menu,"popper"),H.trigger(this._element,xn,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!f(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError("".concat(bn.toUpperCase(),': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'));return e}_createPopper(){if(void 0===Ht)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;"parent"===this._config.reference?e=this._parent:f(this._config.reference)?e=d(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=It(e,this._menu,t)}_isShown(){return this._menu.classList.contains(jn)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return Hn;if(e.classList.contains("dropstart"))return Fn;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?Mn:Nn:t?In:Bn}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const e=this._config.offset;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(W.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),s(s({},e),w(this._config.popperConfig,[void 0,e]))}_selectMenuItem(e){let t=e.key,n=e.target;const o=U.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>p(e));o.length&&((e,t,n,o)=>{const i=e.length;let r=e.indexOf(t);return-1===r?!n&&o?e[i-1]:e[0]:(r+=n?1:-1,o&&(r=(r+i)%i),e[Math.max(0,Math.min(r,i-1))])})(o,n,t===En,!o.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const t=Wn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=U.find(Pn);for(const n of t){const t=Wn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const o=e.composedPath(),i=o.includes(t._menu);if(o.includes(t._element)||"inside"===t._config.autoClose&&!i||"outside"===t._config.autoClose&&i)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const r={relatedTarget:t._element};"click"===e.type&&(r.clickEvent=e),t._completeHide(r)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,o=[wn,En].includes(e.key);if(!o&&!n)return;if(t&&!n)return;e.preventDefault();const i=this.matches(kn)?this:U.prev(this,kn)[0]||U.next(this,kn)[0]||U.findOne(kn,e.delegateTarget.parentNode),r=Wn.getOrCreateInstance(i);if(o)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),i.focus())}}H.on(document,Ln,kn,Wn.dataApiKeydownHandler),H.on(document,Ln,Dn,Wn.dataApiKeydownHandler),H.on(document,Tn,Wn.clearMenus),H.on(document,Sn,Wn.clearMenus),H.on(document,Tn,kn,function(e){e.preventDefault(),Wn.getOrCreateInstance(this).toggle()}),y(Wn);const Rn="active",Vn=document.querySelector("#mode-toggle + .dropdown-menu"),Yn=Theme.isSystemTheme?Theme.Mode.SYSTEM:Theme.resolvedTheme;const Un=document.getElementById("sidebar"),Kn=document.getElementById("sidebar-trigger"),Qn=document.getElementById("mask");class Xn{static toggle(){$n._=o(Xn,this,!o(Xn,this,$n)._),document.body.toggleAttribute("sidebar-display",o(Xn,this,$n)._),Un.classList.toggle("z-2",o(Xn,this,$n)._),Qn.classList.toggle("d-none",!o(Xn,this,$n)._)}}var $n={_:!1};const Gn=document.getElementById("sidebar-trigger"),Jn=document.getElementById("search-trigger"),Zn=document.getElementById("search-cancel"),eo=document.querySelectorAll("#main-wrapper>.container>.row"),to=document.getElementById("topbar-title"),no=document.getElementById("search"),oo=document.getElementById("search-result-wrapper"),io=document.getElementById("search-results"),ro=document.getElementById("search-input"),so=document.getElementById("search-hints"),ao="d-block",co="d-none",lo="input-focus",uo="d-flex";class fo{static on(){Gn.classList.add(co),to.classList.add(co),Jn.classList.add(co),no.classList.add(uo),Zn.classList.add(ao)}static off(){Zn.classList.remove(ao),no.classList.remove(uo),Gn.classList.remove(co),to.classList.remove(co),Jn.classList.remove(co)}}class po{static on(){this.resultVisible||(oo.classList.remove(co),eo.forEach(e=>{e.classList.add(co)}),this.resultVisible=!0)}static off(){this.resultVisible&&(io.innerHTML="",so.classList.contains(co)&&so.classList.remove(co),oo.classList.add(co),eo.forEach(e=>{e.classList.remove(co)}),ro.textContent="",this.resultVisible=!1)}}function ho(){return Zn.classList.contains(ao)}i(po,"resultVisible",!1),Theme.isToggleable&&(Vn.querySelectorAll(".dropdown-item").forEach(e=>{e.dataset.themeMode!==Yn||e.classList.add(Rn)}),Vn.addEventListener("click",e=>{const t=e.target.closest(".dropdown-item");if(!t)return;const n=Vn.querySelector(".".concat(Rn));n!==t&&(n.classList.remove(Rn),t.classList.add(Rn),Theme.update(t.dataset.themeMode))})),function(){const e=document.getElementById("back-to-top");window.addEventListener("scroll",()=>{window.scrollY>50?e.classList.add("show"):e.classList.remove("show")}),e.addEventListener("click",()=>{window.scrollTo({top:0})})}(),[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map(e=>new sn(e)),Kn.onclick=Qn.onclick=()=>Xn.toggle(),Jn.addEventListener("click",()=>{fo.on(),po.on(),ro.focus()}),Zn.addEventListener("click",()=>{fo.off(),po.off()}),ro.addEventListener("focus",()=>{no.classList.add(lo)}),ro.addEventListener("focusout",()=>{no.classList.remove(lo)}),ro.addEventListener("input",()=>{""===ro.value?ho()?so.classList.remove(co):po.off():(po.on(),ho()&&so.classList.add(co))}),[...ae].forEach(e=>{const t="h_"+e.id.substring(2),n=document.getElementById(t);e.addEventListener("hide.bs.collapse",()=>{n&&(n.querySelector(".far.fa-folder-open").className="far fa-folder fa-fw",n.querySelector(".fas.fa-angle-down").classList.add("rotate"),n.classList.remove("hide-border-bottom"))}),e.addEventListener("show.bs.collapse",()=>{n&&(n.querySelector(".far.fa-folder").className="far fa-folder-open fa-fw",n.querySelector(".fas.fa-angle-down").classList.remove("rotate"),n.classList.add("hide-border-bottom"))})})}();
|