mirror of https://github.com/crossplane/docs.git
3 lines
81 KiB
JavaScript
3 lines
81 KiB
JavaScript
/*! For license information please see main-727bf178.bundle.min.js.LICENSE.txt */
|
|
(()=>{var t={152:function(t){var e;e=function(){return function(){var t={686:function(t,e,n){"use strict";n.d(e,{default:function(){return y}});var i=n(279),o=n.n(i),r=n(370),s=n.n(r),a=n(817),c=n.n(a);function l(t){try{return document.execCommand(t)}catch(t){return!1}}var u=function(t){var e=c()(t);return l("cut"),e},f=function(t,e){var n=function(t){var e="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[e?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(i,"px"),n.setAttribute("readonly",""),n.value=t,n}(t);e.container.appendChild(n);var i=c()(n);return l("copy"),n.remove(),i},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=f(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=f(t.value,e):(n=c()(t),l("copy")),n};function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function g(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function m(t,e){return m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},m(t,e)}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}function v(t,e){var n="data-clipboard-".concat(t);if(e.hasAttribute(n))return e.getAttribute(n)}var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(c,t);var e,n,i,o,r,a=(o=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e,n=b(o);if(r){var i=b(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return!(e=t)||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this):e});function c(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(n=a.call(this)).resolveOptions(e),n.listenClick(t),n}return e=c,n=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===p(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=s()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,i=t.container,o=t.target,r=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==h(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return r?d(r,{container:i}):o?"cut"===n?u(o):d(o,{container:i}):void 0}({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(i?"success":"error",{action:n,text:i,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return v("action",t)}},{key:"defaultTarget",value:function(t){var e=v("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return v("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}],i=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(t,e)}},{key:"cut",value:function(t){return u(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}],n&&g(e.prototype,n),i&&g(e,i),c}(o()),y=_},828:function(t){if("undefined"!=typeof Element&&!Element.prototype.matches){var e=Element.prototype;e.matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var i=n(828);function o(t,e,n,i,o){var s=r.apply(this,arguments);return t.addEventListener(n,s,o),{destroy:function(){t.removeEventListener(n,s,o)}}}function r(t,e,n,o){return function(n){n.delegateTarget=i(n.target,e),n.delegateTarget&&o.call(t,n)}}t.exports=function(t,e,n,i,r){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return o(t,e,n,i,r)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var i=n(879),o=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!i.string(e))throw new TypeError("Second argument must be a String");if(!i.fn(n))throw new TypeError("Third argument must be a Function");if(i.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(i.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}(t,e,n);if(i.string(t))return function(t,e,n){return o(document.body,t,e,n)}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),o=document.createRange();o.selectNodeContents(t),i.removeAllRanges(),i.addRange(o),e=i.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var i=this;function o(){i.off(t,o),e.apply(n,arguments)}return o._=e,this.on(t,o,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,o=n.length;i<o;i++)n[i].fn.apply(n[i].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),i=n[t],o=[];if(i&&e)for(var r=0,s=i.length;r<s;r++)i[r].fn!==e&&i[r].fn._!==e&&o.push(i[r]);return o.length?n[t]=o:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={exports:{}};return t[i](o,o.exports,n),o.exports}return n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n(686)}().default},t.exports=e()},737:()=>{let t,e,n,i,o,r=null,s=65,a=new Set;function c(t){i=performance.now();const e=t.target.closest("a");h(e)&&p(e.href,"high")}function l(t){if(performance.now()-i<1111)return;if(!("closest"in t.target))return;const e=t.target.closest("a");h(e)&&(e.addEventListener("mouseout",f,{passive:!0}),o=setTimeout((()=>{p(e.href,"high"),o=void 0}),s))}function u(t){const e=t.target.closest("a");h(e)&&p(e.href,"high")}function f(t){t.relatedTarget&&t.target.closest("a")==t.relatedTarget.closest("a")||o&&(clearTimeout(o),o=void 0)}function d(t){if(performance.now()-i<1111)return;const e=t.target.closest("a");if(t.which>1||t.metaKey||t.ctrlKey)return;if(!e)return;e.addEventListener("click",(function(t){1337!=t.detail&&t.preventDefault()}),{capture:!0,passive:!1,once:!0});const n=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1,detail:1337});e.dispatchEvent(n)}function h(i){if(i&&i.href&&(!n||"instant"in i.dataset)){if(i.origin!=location.origin&&(!e&&!("instant"in i.dataset)||!r))return;if(["http:","https:"].includes(i.protocol)&&("http:"!=i.protocol||"https:"!=location.protocol)&&(t||!i.search||"instant"in i.dataset)&&!(i.hash&&i.pathname+i.search==location.pathname+location.search||"noInstant"in i.dataset))return!0}}function p(t,e="auto"){if(a.has(t))return;const n=document.createElement("link");n.rel="prefetch",n.href=t,n.fetchPriority=e,n.as="document",document.head.appendChild(n),a.add(t)}!function(){if(!document.createElement("link").relList.supports("prefetch"))return;const i="instantVaryAccept"in document.body.dataset||"Shopify"in window,o=navigator.userAgent.indexOf("Chrome/");if(o>-1&&(r=parseInt(navigator.userAgent.substring(o+7))),i&&r&&r<110)return;const a="instantMousedownShortcut"in document.body.dataset;t="instantAllowQueryString"in document.body.dataset,e="instantAllowExternalLinks"in document.body.dataset,n="instantWhitelist"in document.body.dataset;const f={capture:!0,passive:!0};let g=!1,m=!1,b=!1;if("instantIntensity"in document.body.dataset){const t=document.body.dataset.instantIntensity;if(t.startsWith("mousedown"))g=!0,"mousedown-only"==t&&(m=!0);else if(t.startsWith("viewport")){const e=navigator.connection&&navigator.connection.saveData,n=navigator.connection&&navigator.connection.effectiveType&&navigator.connection.effectiveType.includes("2g");e||n||("viewport"==t?document.documentElement.clientWidth*document.documentElement.clientHeight<45e4&&(b=!0):"viewport-all"==t&&(b=!0))}else{const e=parseInt(t);isNaN(e)||(s=e)}}if(m||document.addEventListener("touchstart",c,f),g?a||document.addEventListener("mousedown",u,f):document.addEventListener("mouseover",l,f),a&&document.addEventListener("mousedown",d,f),b){let t=window.requestIdleCallback;t||(t=t=>{t()}),t((function(){const t=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const n=e.target;t.unobserve(n),p(n.href)}}))}));document.querySelectorAll("a").forEach((e=>{h(e)&&t.observe(e)}))}),{timeout:1500})}}()},83:()=>{var t;t=document.getElementById("darkSwitch"),window.addEventListener("load",(function(){t&&(function(){var t=window.matchMedia("(prefers-color-scheme: dark)").matches,e=document.getElementById("darkSwitch"),n=null!==localStorage.getItem("darkSwitch")&&"dark"===localStorage.getItem("darkSwitch");null!==localStorage.getItem("darkSwitch")&&"light"===localStorage.getItem("darkSwitch")&&(t=!1),n||t?(document.documentElement.setAttribute("color-theme","dark"),e.checked=!0):(document.documentElement.setAttribute("color-theme","light"),e.checked=!1)}(),t.addEventListener("change",(function(){document.getElementById("darkSwitch").checked?(document.documentElement.setAttribute("color-theme","dark"),localStorage.setItem("darkSwitch","dark")):(document.documentElement.setAttribute("color-theme","light"),localStorage.setItem("darkSwitch","light"))})))}))},21:()=>{function t(t,e){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1});for(var n=[];t&&t!==document;t=t.parentNode)e?t.matches(e)&&n.push(t):n.push(t);return n}function e(e){var n=document.getElementsByClassName(e);if(0!=n.length)for(let e=0;e<n.length;e++)anchor=n[e],parentTab=t(anchor,".tab-pane"),1==parentTab.length&&(tabID=parentTab[0].id.replace("-pane",""),link="?tab="+tabID+anchor.hash,anchor.setAttribute("href",link),anchor.setAttribute("id",tabID+anchor.hash))}var n;window.onload=e("anchor-link"),window.onload=e("lnlinks"),window.onload=void((n=new URLSearchParams(window.location.search)).get("tab")&&(tabID=n.get("tab"),document.getElementById(tabID).click(),document.getElementById(tabID+location.hash).scrollIntoView()))}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={exports:{}};return t[i].call(r.exports,r,r.exports,n),r.exports}n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";var t={};n.r(t),n.d(t,{afterMain:()=>Ot,afterRead:()=>Ct,afterWrite:()=>Lt,applyStyles:()=>$t,arrow:()=>ie,auto:()=>dt,basePlacements:()=>ht,beforeMain:()=>xt,beforeRead:()=>Et,beforeWrite:()=>kt,bottom:()=>lt,clippingParents:()=>mt,computeStyles:()=>ae,createPopper:()=>Pe,createPopperBase:()=>Me,createPopperLite:()=>$e,detectOverflow:()=>Ee,end:()=>gt,eventListeners:()=>le,flip:()=>Ae,hide:()=>Te,left:()=>ft,main:()=>Tt,modifierPhases:()=>Nt,offset:()=>Oe,placements:()=>wt,popper:()=>vt,popperGenerator:()=>Ie,popperOffsets:()=>ke,preventOverflow:()=>Se,read:()=>At,reference:()=>_t,right:()=>ut,start:()=>pt,top:()=>ct,variationPlacements:()=>yt,viewport:()=>bt,write:()=>St}),n(83),n(737);const e=new Map,i={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)}},o="transitionend",r=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e},s=t=>{const e=r(t);return e&&document.querySelector(e)?e:null},a=t=>{const e=r(t);return e?document.querySelector(e):null},c=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),l=t=>c(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,u=t=>{if(!c(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e},f=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),d=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?d(t.parentNode):null},h=()=>{},p=t=>{t.offsetHeight},g=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,m=[],b=()=>"rtl"===document.documentElement.dir,v=t=>{var e;e=()=>{const e=g();if(e){const n=t.NAME,i=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=i,t.jQueryInterface)}},"loading"===document.readyState?(m.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of m)t()})),m.push(e)):e()},_=t=>{"function"==typeof t&&t()},y=(t,e,n=!0)=>{if(!n)return void _(t);const i=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const i=Number.parseFloat(e),o=Number.parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(e)+5;let r=!1;const s=({target:n})=>{n===e&&(r=!0,e.removeEventListener(o,s),_(t))};e.addEventListener(o,s),setTimeout((()=>{r||e.dispatchEvent(new Event(o))}),i)},w=(t,e,n,i)=>{const o=t.length;let r=t.indexOf(e);return-1===r?!n&&i?t[o-1]:t[0]:(r+=n?1:-1,i&&(r=(r+o)%o),t[Math.max(0,Math.min(r,o-1))])},E=/[^.]*(?=\..*)\.|.*/,A=/\..*/,C=/::\d+$/,x={};let T=1;const O={mouseenter:"mouseover",mouseleave:"mouseout"},k=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(t,e){return e&&`${e}::${T++}`||t.uidEvent||T++}function L(t){const e=S(t);return t.uidEvent=e,x[e]=x[e]||{},x[e]}function N(t,e,n=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===n))}function D(t,e,n){const i="string"==typeof e,o=i?n:e||n;let r=P(t);return k.has(r)||(r=t),[i,o,r]}function j(t,e,n,i,o){if("string"!=typeof e||!t)return;let[r,s,a]=D(e,n,i);if(e in O){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};s=t(s)}const c=L(t),l=c[a]||(c[a]={}),u=N(l,s,r?n:null);if(u)return void(u.oneOff=u.oneOff&&o);const f=S(s,e.replace(E,"")),d=r?function(t,e,n){return function i(o){const r=t.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of r)if(a===s)return H(o,{delegateTarget:s}),i.oneOff&&$.off(t,o.type,e,n),n.apply(s,[o])}}(t,n,s):function(t,e){return function n(i){return H(i,{delegateTarget:t}),n.oneOff&&$.off(t,i.type,e),e.apply(t,[i])}}(t,s);d.delegationSelector=r?n:null,d.callable=s,d.oneOff=o,d.uidEvent=f,l[f]=d,t.addEventListener(a,d,r)}function I(t,e,n,i,o){const r=N(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}function M(t,e,n,i){const o=e[n]||{};for(const r of Object.keys(o))if(r.includes(i)){const i=o[r];I(t,e,n,i.callable,i.delegationSelector)}}function P(t){return t=t.replace(A,""),O[t]||t}const $={on(t,e,n,i){j(t,e,n,i,!1)},one(t,e,n,i){j(t,e,n,i,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[o,r,s]=D(e,n,i),a=s!==e,c=L(t),l=c[s]||{},u=e.startsWith(".");if(void 0===r){if(u)for(const n of Object.keys(c))M(t,c,n,e.slice(1));for(const n of Object.keys(l)){const i=n.replace(C,"");if(!a||e.includes(i)){const e=l[n];I(t,c,s,e.callable,e.delegationSelector)}}}else{if(!Object.keys(l).length)return;I(t,c,s,r,o?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;const i=g();let o=null,r=!0,s=!0,a=!1;e!==P(e)&&i&&(o=i.Event(e,n),i(t).trigger(o),r=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());let c=new Event(e,{bubbles:r,cancelable:!0});return c=H(c,n),a&&c.preventDefault(),s&&t.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function H(t,e){for(const[n,i]of Object.entries(e||{}))try{t[n]=i}catch{Object.defineProperty(t,n,{configurable:!0,get:()=>i})}return t}const F=$;function B(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function W(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const R={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${W(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${W(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=B(t.dataset[i])}return e},getDataAttribute:(t,e)=>B(t.getAttribute(`data-bs-${W(e)}`))},q=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=c(e)?R.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...c(e)?R.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const i of Object.keys(e)){const o=e[i],r=t[i],s=c(r)?"element":null==(n=r)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${o}".`)}var n}},z=class extends q{constructor(t,e){super(),(t=l(t))&&(this._element=t,this._config=this._getConfig(e),i.set(this._element,this.constructor.DATA_KEY,this))}dispose(){i.remove(this._element,this.constructor.DATA_KEY),F.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){y(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return i.get(l(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},V='[data-bs-toggle="button"]';class K extends z{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=K.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}F.on(document,"click.bs.button.data-api",V,(t=>{t.preventDefault();const e=t.target.closest(V);K.getOrCreateInstance(e).toggle()})),v(K);const Y={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let i=t.parentNode.closest(e);for(;i;)n.push(i),i=i.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!f(t)&&u(t)))}},U=".bs.collapse",Q=`show${U}`,X=`shown${U}`,G=`hide${U}`,J=`hidden${U}`,Z=`click${U}.data-api`,tt="show",et="collapse",nt="collapsing",it=`:scope .${et} .${et}`,ot='[data-bs-toggle="collapse"]',rt={parent:null,toggle:!0},st={parent:"(null|element)",toggle:"boolean"};class at extends z{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=Y.find(ot);for(const t of n){const e=s(t),n=Y.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return rt}static get DefaultType(){return st}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>at.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(F.trigger(this._element,Q).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(et),this._element.classList.add(nt),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(nt),this._element.classList.add(et,tt),this._element.style[e]="",F.trigger(this._element,X)}),this._element,!0),this._element.style[e]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(F.trigger(this._element,G).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,p(this._element),this._element.classList.add(nt),this._element.classList.remove(et,tt);for(const t of this._triggerArray){const e=a(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(nt),this._element.classList.add(et),F.trigger(this._element,J)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(tt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=l(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(ot);for(const e of t){const t=a(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=Y.find(it,this._config.parent);return Y.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const n=at.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}F.on(document,Z,ot,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=s(this),n=Y.find(e);for(const t of n)at.getOrCreateInstance(t,{toggle:!1}).toggle()})),v(at);var ct="top",lt="bottom",ut="right",ft="left",dt="auto",ht=[ct,lt,ut,ft],pt="start",gt="end",mt="clippingParents",bt="viewport",vt="popper",_t="reference",yt=ht.reduce((function(t,e){return t.concat([e+"-"+pt,e+"-"+gt])}),[]),wt=[].concat(ht,[dt]).reduce((function(t,e){return t.concat([e,e+"-"+pt,e+"-"+gt])}),[]),Et="beforeRead",At="read",Ct="afterRead",xt="beforeMain",Tt="main",Ot="afterMain",kt="beforeWrite",St="write",Lt="afterWrite",Nt=[Et,At,Ct,xt,Tt,Ot,kt,St,Lt];function Dt(t){return t?(t.nodeName||"").toLowerCase():null}function jt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function It(t){return t instanceof jt(t).Element||t instanceof Element}function Mt(t){return t instanceof jt(t).HTMLElement||t instanceof HTMLElement}function Pt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof jt(t).ShadowRoot||t instanceof ShadowRoot)}const $t={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];Mt(o)&&Dt(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});Mt(i)&&Dt(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Ht(t){return t.split("-")[0]}var Ft=Math.max,Bt=Math.min,Wt=Math.round;function Rt(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function qt(){return!/^((?!chrome|android).)*safari/i.test(Rt())}function zt(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),o=1,r=1;e&&Mt(t)&&(o=t.offsetWidth>0&&Wt(i.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Wt(i.height)/t.offsetHeight||1);var s=(It(t)?jt(t):window).visualViewport,a=!qt()&&n,c=(i.left+(a&&s?s.offsetLeft:0))/o,l=(i.top+(a&&s?s.offsetTop:0))/r,u=i.width/o,f=i.height/r;return{width:u,height:f,top:l,right:c+u,bottom:l+f,left:c,x:c,y:l}}function Vt(t){var e=zt(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Kt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Pt(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Yt(t){return jt(t).getComputedStyle(t)}function Ut(t){return["table","td","th"].indexOf(Dt(t))>=0}function Qt(t){return((It(t)?t.ownerDocument:t.document)||window.document).documentElement}function Xt(t){return"html"===Dt(t)?t:t.assignedSlot||t.parentNode||(Pt(t)?t.host:null)||Qt(t)}function Gt(t){return Mt(t)&&"fixed"!==Yt(t).position?t.offsetParent:null}function Jt(t){for(var e=jt(t),n=Gt(t);n&&Ut(n)&&"static"===Yt(n).position;)n=Gt(n);return n&&("html"===Dt(n)||"body"===Dt(n)&&"static"===Yt(n).position)?e:n||function(t){var e=/firefox/i.test(Rt());if(/Trident/i.test(Rt())&&Mt(t)&&"fixed"===Yt(t).position)return null;var n=Xt(t);for(Pt(n)&&(n=n.host);Mt(n)&&["html","body"].indexOf(Dt(n))<0;){var i=Yt(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function Zt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function te(t,e,n){return Ft(t,Bt(e,n))}function ee(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ne(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}const ie={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,o=t.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Ht(n.placement),c=Zt(a),l=[ft,ut].indexOf(a)>=0?"height":"width";if(r&&s){var u=function(t,e){return ee("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ne(t,ht))}(o.padding,n),f=Vt(r),d="y"===c?ct:ft,h="y"===c?lt:ut,p=n.rects.reference[l]+n.rects.reference[c]-s[c]-n.rects.popper[l],g=s[c]-n.rects.reference[c],m=Jt(r),b=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,v=p/2-g/2,_=u[d],y=b-f[l]-u[h],w=b/2-f[l]/2+v,E=te(_,w,y),A=c;n.modifiersData[i]=((e={})[A]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&Kt(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function oe(t){return t.split("-")[1]}var re={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(t){var e,n=t.popper,i=t.popperRect,o=t.placement,r=t.variation,s=t.offsets,a=t.position,c=t.gpuAcceleration,l=t.adaptive,u=t.roundOffsets,f=t.isFixed,d=s.x,h=void 0===d?0:d,p=s.y,g=void 0===p?0:p,m="function"==typeof u?u({x:h,y:g}):{x:h,y:g};h=m.x,g=m.y;var b=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),_=ft,y=ct,w=window;if(l){var E=Jt(n),A="clientHeight",C="clientWidth";E===jt(n)&&"static"!==Yt(E=Qt(n)).position&&"absolute"===a&&(A="scrollHeight",C="scrollWidth"),(o===ct||(o===ft||o===ut)&&r===gt)&&(y=lt,g-=(f&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-i.height,g*=c?1:-1),o!==ft&&(o!==ct&&o!==lt||r!==gt)||(_=ut,h-=(f&&E===w&&w.visualViewport?w.visualViewport.width:E[C])-i.width,h*=c?1:-1)}var x,T=Object.assign({position:a},l&&re),O=!0===u?function(t,e){var n=t.x,i=t.y,o=e.devicePixelRatio||1;return{x:Wt(n*o)/o||0,y:Wt(i*o)/o||0}}({x:h,y:g},jt(n)):{x:h,y:g};return h=O.x,g=O.y,c?Object.assign({},T,((x={})[y]=v?"0":"",x[_]=b?"0":"",x.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",x)):Object.assign({},T,((e={})[y]=v?g+"px":"",e[_]=b?h+"px":"",e.transform="",e))}const ae={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,c=void 0===a||a,l={placement:Ht(e.placement),variation:oe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,se(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,se(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var ce={passive:!0};const le={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,c=jt(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&l.forEach((function(t){t.addEventListener("scroll",n.update,ce)})),a&&c.addEventListener("resize",n.update,ce),function(){r&&l.forEach((function(t){t.removeEventListener("scroll",n.update,ce)})),a&&c.removeEventListener("resize",n.update,ce)}},data:{}};var ue={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(t){return t.replace(/left|right|bottom|top/g,(function(t){return ue[t]}))}var de={start:"end",end:"start"};function he(t){return t.replace(/start|end/g,(function(t){return de[t]}))}function pe(t){var e=jt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ge(t){return zt(Qt(t)).left+pe(t).scrollLeft}function me(t){var e=Yt(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function be(t){return["html","body","#document"].indexOf(Dt(t))>=0?t.ownerDocument.body:Mt(t)&&me(t)?t:be(Xt(t))}function ve(t,e){var n;void 0===e&&(e=[]);var i=be(t),o=i===(null==(n=t.ownerDocument)?void 0:n.body),r=jt(i),s=o?[r].concat(r.visualViewport||[],me(i)?i:[]):i,a=e.concat(s);return o?a:a.concat(ve(Xt(s)))}function _e(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ye(t,e,n){return e===bt?_e(function(t,e){var n=jt(t),i=Qt(t),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var l=qt();(l||!l&&"fixed"===e)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+ge(t),y:c}}(t,n)):It(e)?function(t,e){var n=zt(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):_e(function(t){var e,n=Qt(t),i=pe(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=Ft(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Ft(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+ge(t),c=-i.scrollTop;return"rtl"===Yt(o||n).direction&&(a+=Ft(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(Qt(t)))}function we(t){var e,n=t.reference,i=t.element,o=t.placement,r=o?Ht(o):null,s=o?oe(o):null,a=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2;switch(r){case ct:e={x:a,y:n.y-i.height};break;case lt:e={x:a,y:n.y+n.height};break;case ut:e={x:n.x+n.width,y:c};break;case ft:e={x:n.x-i.width,y:c};break;default:e={x:n.x,y:n.y}}var l=r?Zt(r):null;if(null!=l){var u="y"===l?"height":"width";switch(s){case pt:e[l]=e[l]-(n[u]/2-i[u]/2);break;case gt:e[l]=e[l]+(n[u]/2-i[u]/2)}}return e}function Ee(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=void 0===i?t.placement:i,r=n.strategy,s=void 0===r?t.strategy:r,a=n.boundary,c=void 0===a?mt:a,l=n.rootBoundary,u=void 0===l?bt:l,f=n.elementContext,d=void 0===f?vt:f,h=n.altBoundary,p=void 0!==h&&h,g=n.padding,m=void 0===g?0:g,b=ee("number"!=typeof m?m:ne(m,ht)),v=d===vt?_t:vt,_=t.rects.popper,y=t.elements[p?v:d],w=function(t,e,n,i){var o="clippingParents"===e?function(t){var e=ve(Xt(t)),n=["absolute","fixed"].indexOf(Yt(t).position)>=0&&Mt(t)?Jt(t):t;return It(n)?e.filter((function(t){return It(t)&&Kt(t,n)&&"body"!==Dt(t)})):[]}(t):[].concat(e),r=[].concat(o,[n]),s=r[0],a=r.reduce((function(e,n){var o=ye(t,n,i);return e.top=Ft(o.top,e.top),e.right=Bt(o.right,e.right),e.bottom=Bt(o.bottom,e.bottom),e.left=Ft(o.left,e.left),e}),ye(t,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(It(y)?y:y.contextElement||Qt(t.elements.popper),c,u,s),E=zt(t.elements.reference),A=we({reference:E,element:_,strategy:"absolute",placement:o}),C=_e(Object.assign({},_,A)),x=d===vt?C:E,T={top:w.top-x.top+b.top,bottom:x.bottom-w.bottom+b.bottom,left:w.left-x.left+b.left,right:x.right-w.right+b.right},O=t.modifiersData.offset;if(d===vt&&O){var k=O[o];Object.keys(T).forEach((function(t){var e=[ut,lt].indexOf(t)>=0?1:-1,n=[ct,lt].indexOf(t)>=0?"y":"x";T[t]+=k[n]*e}))}return T}const Ae={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0===s||s,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=void 0===h||h,g=n.allowedAutoPlacements,m=e.options.placement,b=Ht(m),v=c||(b!==m&&p?function(t){if(Ht(t)===dt)return[];var e=fe(t);return[he(t),e,he(e)]}(m):[fe(m)]),_=[m].concat(v).reduce((function(t,n){return t.concat(Ht(n)===dt?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?wt:c,u=oe(i),f=u?a?yt:yt.filter((function(t){return oe(t)===u})):ht,d=f.filter((function(t){return l.indexOf(t)>=0}));0===d.length&&(d=f);var h=d.reduce((function(e,n){return e[n]=Ee(t,{placement:n,boundary:o,rootBoundary:r,padding:s})[Ht(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,A=!0,C=_[0],x=0;x<_.length;x++){var T=_[x],O=Ht(T),k=oe(T)===pt,S=[ct,lt].indexOf(O)>=0,L=S?"width":"height",N=Ee(e,{placement:T,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),D=S?k?ut:ft:k?lt:ct;y[L]>w[L]&&(D=fe(D));var j=fe(D),I=[];if(r&&I.push(N[O]<=0),a&&I.push(N[D]<=0,N[j]<=0),I.every((function(t){return t}))){C=T,A=!1;break}E.set(T,I)}if(A)for(var M=function(t){var e=_.find((function(e){var n=E.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return C=e,"break"},P=p?3:1;P>0&&"break"!==M(P);P--);e.placement!==C&&(e.modifiersData[i]._skip=!0,e.placement=C,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ce(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function xe(t){return[ct,ut,lt,ft].some((function(e){return t[e]>=0}))}const Te={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=Ee(e,{elementContext:"reference"}),a=Ee(e,{altBoundary:!0}),c=Ce(s,i),l=Ce(a,o,r),u=xe(c),f=xe(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}},Oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.offset,r=void 0===o?[0,0]:o,s=wt.reduce((function(t,n){return t[n]=function(t,e,n){var i=Ht(t),o=[ft,ct].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[ft,ut].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,r),t}),{}),a=s[e.placement],c=a.x,l=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l),e.modifiersData[i]=s}},ke={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=we({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Se={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=void 0===d||d,p=n.tetherOffset,g=void 0===p?0:p,m=Ee(e,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),b=Ht(e.placement),v=oe(e.placement),_=!v,y=Zt(b),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,A=e.rects.reference,C=e.rects.popper,x="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,T="number"==typeof x?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),O=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(E){if(r){var S,L="y"===y?ct:ft,N="y"===y?lt:ut,D="y"===y?"height":"width",j=E[y],I=j+m[L],M=j-m[N],P=h?-C[D]/2:0,$=v===pt?A[D]:C[D],H=v===pt?-C[D]:-A[D],F=e.elements.arrow,B=h&&F?Vt(F):{width:0,height:0},W=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},R=W[L],q=W[N],z=te(0,A[D],B[D]),V=_?A[D]/2-P-z-R-T.mainAxis:$-z-R-T.mainAxis,K=_?-A[D]/2+P+z+q+T.mainAxis:H+z+q+T.mainAxis,Y=e.elements.arrow&&Jt(e.elements.arrow),U=Y?"y"===y?Y.clientTop||0:Y.clientLeft||0:0,Q=null!=(S=null==O?void 0:O[y])?S:0,X=j+K-Q,G=te(h?Bt(I,j+V-Q-U):I,j,h?Ft(M,X):M);E[y]=G,k[y]=G-j}if(a){var J,Z="x"===y?ct:ft,tt="x"===y?lt:ut,et=E[w],nt="y"===w?"height":"width",it=et+m[Z],ot=et-m[tt],rt=-1!==[ct,ft].indexOf(b),st=null!=(J=null==O?void 0:O[w])?J:0,at=rt?it:et-A[nt]-C[nt]-st+T.altAxis,dt=rt?et+A[nt]+C[nt]-st-T.altAxis:ot,ht=h&&rt?function(t,e,n){var i=te(t,e,n);return i>n?n:i}(at,et,dt):te(h?at:it,et,h?dt:ot);E[w]=ht,k[w]=ht-et}e.modifiersData[i]=k}},requiresIfExists:["offset"]};function Le(t,e,n){void 0===n&&(n=!1);var i,o,r=Mt(e),s=Mt(e)&&function(t){var e=t.getBoundingClientRect(),n=Wt(e.width)/t.offsetWidth||1,i=Wt(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=Qt(e),c=zt(t,s,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==Dt(e)||me(a))&&(l=(i=e)!==jt(i)&&Mt(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:pe(i)),Mt(e)?((u=zt(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=ge(a))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function Ne(t){var e=new Map,n=new Set,i=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&o(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),i}var De={placement:"bottom",modifiers:[],strategy:"absolute"};function je(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Ie(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,o=e.defaultOptions,r=void 0===o?De:o;return function(t,e,n){void 0===n&&(n=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},De,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],l=!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:It(t)?ve(t):t.contextElement?ve(t.contextElement):[],popper:ve(e)};var s,l,d=function(t){var e=Ne(t);return Nt.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(i,a.options.modifiers),l=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(l).map((function(t){return l[t]}))));return a.orderedModifiers=d.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var r=o({state:a,name:e,instance:u,options:i});c.push(r||function(){})}})),u.update()},forceUpdate:function(){if(!l){var t=a.elements,e=t.reference,n=t.popper;if(je(e,n)){a.rects={reference:Le(e,Jt(n),"fixed"===a.options.strategy),popper:Vt(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.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,c=void 0===s?{}:s,f=o.name;"function"==typeof r&&(a=r({state:a,options:c,name:f,instance:u})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(t){u.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){f(),l=!0}};if(!je(t,e))return u;function f(){c.forEach((function(t){return t()})),c=[]}return u.setOptions(n).then((function(t){!l&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}var Me=Ie(),Pe=Ie({defaultModifiers:[le,ke,ae,$t,Oe,Ae,Se,ie,Te]}),$e=Ie({defaultModifiers:[le,ke,ae,$t]});const He="dropdown",Fe=".bs.dropdown",Be=".data-api",We="ArrowUp",Re="ArrowDown",qe=`hide${Fe}`,ze=`hidden${Fe}`,Ve=`show${Fe}`,Ke=`shown${Fe}`,Ye=`click${Fe}${Be}`,Ue=`keydown${Fe}${Be}`,Qe=`keyup${Fe}${Be}`,Xe="show",Ge='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Je=`${Ge}.${Xe}`,Ze=".dropdown-menu",tn=b()?"top-end":"top-start",en=b()?"top-start":"top-end",nn=b()?"bottom-end":"bottom-start",on=b()?"bottom-start":"bottom-end",rn=b()?"left-start":"right-start",sn=b()?"right-start":"left-start",an={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},cn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ln extends z{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=Y.next(this._element,Ze)[0]||Y.prev(this._element,Ze)[0]||Y.findOne(Ze,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return an}static get DefaultType(){return cn}static get NAME(){return He}toggle(){return this._isShown()?this.hide():this.show()}show(){if(f(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!F.trigger(this._element,Ve,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))F.on(t,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Xe),this._element.classList.add(Xe),F.trigger(this._element,Ke,t)}}hide(){if(f(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!F.trigger(this._element,qe,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))F.off(t,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove(Xe),this._element.classList.remove(Xe),this._element.setAttribute("aria-expanded","false"),R.removeDataAttribute(this._menu,"popper"),F.trigger(this._element,ze,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!c(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${He.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:c(this._config.reference)?e=l(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=Pe(e,this._menu,n)}_isShown(){return this._menu.classList.contains(Xe)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return rn;if(t.classList.contains("dropstart"))return sn;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?en:tn:e?on:nn}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(R.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const n=Y.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>u(t)));n.length&&w(n,e,t===Re,!n.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ln.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=Y.find(Je);for(const n of e){const e=ln.getInstance(n);if(!e||!1===e._config.autoClose)continue;const i=t.composedPath(),o=i.includes(e._menu);if(i.includes(e._element)||"inside"===e._config.autoClose&&!o||"outside"===e._config.autoClose&&o)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const r={relatedTarget:e._element};"click"===t.type&&(r.clickEvent=t),e._completeHide(r)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=[We,Re].includes(t.key);if(!i&&!n)return;if(e&&!n)return;t.preventDefault();const o=this.matches(Ge)?this:Y.prev(this,Ge)[0]||Y.next(this,Ge)[0]||Y.findOne(Ge,t.delegateTarget.parentNode),r=ln.getOrCreateInstance(o);if(i)return t.stopPropagation(),r.show(),void r._selectMenuItem(t);r._isShown()&&(t.stopPropagation(),r.hide(),o.focus())}}F.on(document,Ue,Ge,ln.dataApiKeydownHandler),F.on(document,Ue,Ze,ln.dataApiKeydownHandler),F.on(document,Ye,ln.clearMenus),F.on(document,Qe,ln.clearMenus),F.on(document,Ye,Ge,(function(t){t.preventDefault(),ln.getOrCreateInstance(this).toggle()})),v(ln);const un=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),fn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,dn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,hn=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?!un.has(n)||Boolean(fn.test(t.nodeValue)||dn.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(n)))},pn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},gn={allowList:pn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},mn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},bn={entry:"(string|element|function|null)",selector:"(string|element)"},vn=class extends q{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return gn}static get DefaultType(){return mn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,n]of Object.entries(this._config.content))this._setContent(t,n,e);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},bn)}_setContent(t,e,n){const i=Y.findOne(n,t);i&&((e=this._resolvePossibleFunction(e))?c(e)?this._putElementInTemplate(l(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const t of o){const n=t.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){t.remove();continue}const i=[].concat(...t.attributes),o=[].concat(e["*"]||[],e[n]||[]);for(const e of i)hn(e,o)||t.removeAttribute(e.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}},_n=new Set(["sanitize","allowList","sanitizeFn"]),yn="fade",wn="show",En=".modal",An="hide.bs.modal",Cn="hover",xn="focus",Tn={AUTO:"auto",TOP:"top",RIGHT:b()?"left":"right",BOTTOM:"bottom",LEFT:b()?"right":"left"},On={allowList:pn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},kn={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 z{constructor(e,n){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),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 kn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),F.off(this._element.closest(En),An,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 t=F.trigger(this._element,this.constructor.eventName("show")),e=(d(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)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),F.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(wn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))F.on(t,"mouseover",h);this._queueCallback((()=>{F.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!F.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(wn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))F.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger[xn]=!1,this._activeTrigger[Cn]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),F.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(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(yn,wn),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(yn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new vn({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(yn)}_isShown(){return this.tip&&this.tip.classList.contains(wn)}_createPopper(t){const e="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,n=Tn[e.toUpperCase()];return Pe(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)F.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===Cn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===Cn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");F.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?xn:Cn]=!0,e._enter()})),F.on(this._element,n,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?xn:Cn]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},F.on(this._element.closest(En),An,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){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(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=R.getDataAttributes(this._element);for(const t of Object.keys(e))_n.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:l(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=Sn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}v(Sn);const Ln=Sn,Nn={...Ln.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Dn={...Ln.DefaultType,content:"(null|string|element|function)"};class jn extends Ln{static get Default(){return Nn}static get DefaultType(){return Dn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=jn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}v(jn);const In=".bs.scrollspy",Mn=`activate${In}`,Pn=`click${In}`,$n=`load${In}.data-api`,Hn="active",Fn="[href]",Bn=".nav-link",Wn=`${Bn}, .nav-item > ${Bn}, .list-group-item`,Rn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},qn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class zn extends z{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Rn}static get DefaultType(){return qn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=l(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(F.off(this._config.target,Pn),F.on(this._config.target,Pn,Fn,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),n=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},i=(this._rootElement||document.documentElement).scrollTop,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const r of t){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(r));continue}const t=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&t){if(n(r),!i)return}else o||t||n(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Y.find(Fn,this._config.target);for(const e of t){if(!e.hash||f(e))continue;const t=Y.findOne(e.hash,this._element);u(t)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Hn),this._activateParents(t),F.trigger(this._element,Mn,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))Y.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Hn);else for(const e of Y.parents(t,".nav, .list-group"))for(const t of Y.prev(e,Wn))t.classList.add(Hn)}_clearActiveClass(t){t.classList.remove(Hn);const e=Y.find(`${Fn}.${Hn}`,t);for(const t of e)t.classList.remove(Hn)}static jQueryInterface(t){return this.each((function(){const e=zn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}F.on(window,$n,(()=>{for(const t of Y.find('[data-bs-spy="scroll"]'))zn.getOrCreateInstance(t)})),v(zn);const Vn=".bs.tab",Kn=`hide${Vn}`,Yn=`hidden${Vn}`,Un=`show${Vn}`,Qn=`shown${Vn}`,Xn=`click${Vn}`,Gn=`keydown${Vn}`,Jn=`load${Vn}`,Zn="ArrowLeft",ti="ArrowRight",ei="ArrowUp",ni="ArrowDown",ii="active",oi="fade",ri="show",si=":not(.dropdown-toggle)",ai='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ci=`.nav-link${si}, .list-group-item${si}, [role="tab"]${si}, ${ai}`,li=`.${ii}[data-bs-toggle="tab"], .${ii}[data-bs-toggle="pill"], .${ii}[data-bs-toggle="list"]`;class ui extends z{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),F.on(this._element,Gn,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?F.trigger(e,Kn,{relatedTarget:t}):null;F.trigger(t,Un,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(ii),this._activate(a(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),F.trigger(t,Qn,{relatedTarget:e})):t.classList.add(ri)}),t,t.classList.contains(oi)))}_deactivate(t,e){t&&(t.classList.remove(ii),t.blur(),this._deactivate(a(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),F.trigger(t,Yn,{relatedTarget:e})):t.classList.remove(ri)}),t,t.classList.contains(oi)))}_keydown(t){if(![Zn,ti,ei,ni].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[ti,ni].includes(t.key),n=w(this._getChildren().filter((t=>!f(t))),t.target,e,!0);n&&(n.focus({preventScroll:!0}),ui.getOrCreateInstance(n).show())}_getChildren(){return Y.find(ci,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=a(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains("dropdown"))return;const i=(t,i)=>{const o=Y.findOne(t,n);o&&o.classList.toggle(i,e)};i(".dropdown-toggle",ii),i(".dropdown-menu",ri),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(ii)}_getInnerElement(t){return t.matches(ci)?t:Y.findOne(ci,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=ui.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}F.on(document,Xn,ai,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),f(this)||ui.getOrCreateInstance(this).show()})),F.on(window,Jn,(()=>{for(const t of Y.find(li))ui.getOrCreateInstance(t)})),v(ui);const fi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",di=".sticky-top",hi="padding-right",pi="margin-right",gi=class{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,hi,(e=>e+t)),this._setElementAttributes(fi,hi,(e=>e+t)),this._setElementAttributes(di,pi,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,hi),this._resetElementAttributes(fi,hi),this._resetElementAttributes(di,pi)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const i=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+i)return;this._saveInitialAttribute(t,e);const o=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${n(Number.parseFloat(o))}px`)}))}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&R.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const n=R.getDataAttribute(t,e);null!==n?(R.removeDataAttribute(t,e),t.style.setProperty(e,n)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(c(t))e(t);else for(const n of Y.find(t,this._element))e(n)}},mi="backdrop",bi="show",vi=`mousedown.bs.${mi}`,_i={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},yi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},wi=class extends q{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return _i}static get DefaultType(){return yi}static get NAME(){return mi}show(t){if(!this._config.isVisible)return void _(t);this._append();const e=this._getElement();this._config.isAnimated&&p(e),e.classList.add(bi),this._emulateAnimation((()=>{_(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(bi),this._emulateAnimation((()=>{this.dispose(),_(t)}))):_(t)}dispose(){this._isAppended&&(F.off(this._element,vi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=l(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),F.on(t,vi,(()=>{_(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){y(t,this._getElement(),this._config.isAnimated)}},Ei=".bs.focustrap",Ai=`focusin${Ei}`,Ci=`keydown.tab${Ei}`,xi="backward",Ti={autofocus:!0,trapElement:null},Oi={autofocus:"boolean",trapElement:"element"},ki=class extends q{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ti}static get DefaultType(){return Oi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),F.off(document,Ei),F.on(document,Ai,(t=>this._handleFocusin(t))),F.on(document,Ci,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,F.off(document,Ei))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=Y.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===xi?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?xi:"forward")}},Si=".bs.offcanvas",Li=".data-api",Ni=`load${Si}${Li}`,Di="show",ji="showing",Ii="hiding",Mi=".offcanvas.show",Pi=`show${Si}`,$i=`shown${Si}`,Hi=`hide${Si}`,Fi=`hidePrevented${Si}`,Bi=`hidden${Si}`,Wi=`resize${Si}`,Ri=`click${Si}${Li}`,qi=`keydown.dismiss${Si}`,zi={backdrop:!0,keyboard:!0,scroll:!1},Vi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ki extends z{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return zi}static get DefaultType(){return Vi}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||F.trigger(this._element,Pi,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new gi).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ji),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Di),this._element.classList.remove(ji),F.trigger(this._element,$i,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(F.trigger(this._element,Hi).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ii),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Di,Ii),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new gi).reset(),F.trigger(this._element,Bi)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new wi({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():F.trigger(this._element,Fi)}:null})}_initializeFocusTrap(){return new ki({trapElement:this._element})}_addEventListeners(){F.on(this._element,qi,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():F.trigger(this._element,Fi))}))}static jQueryInterface(t){return this.each((function(){const e=Ki.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}F.on(document,Ri,'[data-bs-toggle="offcanvas"]',(function(t){const e=a(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),f(this))return;F.one(e,Bi,(()=>{u(this)&&this.focus()}));const n=Y.findOne(Mi);n&&n!==e&&Ki.getInstance(n).hide(),Ki.getOrCreateInstance(e).toggle(this)})),F.on(window,Ni,(()=>{for(const t of Y.find(Mi))Ki.getOrCreateInstance(t).show()})),F.on(window,Wi,(()=>{for(const t of Y.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Ki.getOrCreateInstance(t).hide()})),((t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,i=t.NAME;F.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),f(this))return;const o=a(this)||this.closest(`.${i}`);t.getOrCreateInstance(o)[e]()}))})(Ki),v(Ki),n(21);var Yi=n(152);new Yi(".kind-link");const Ui=[' <div class="bd-clipboard">',' <button type="button" class="btn-clipboard" title="Copy">',' <svg class="bi" role="img" title="Copy" aria-label="Copy"><use xlink:href="#clipboard"/></svg>'," </button>"," </div>"].join("");for(var Qi=document.querySelectorAll(".highlight"),Xi=0;Xi<Qi.length;Xi++){var Gi=Zi(Qi[Xi]);0==Gi[0]&&0==Gi[1]||(to(Qi[Xi],Gi),Qi[Xi].insertAdjacentHTML("beforeend",Ui))}const Ji=new Yi(".btn-clipboard",{target:t=>t.parentNode.parentNode,text:t=>function(t){for(var e=t.getElementsByClassName("cl"),n=[],i=0;i<e.length;i++)n.push(e[i].innerText);var o=Zi(t);return n.slice(o[0]-1,o[1]).join("")}(t.parentNode.parentNode)});function Zi(t){var e=t.getElementsByClassName("cl").length,n=[1,e];if(!("copy-lines"in t.attributes))return n;var i=t.attributes["copy-lines"].value,o=1,r=e;if("none"===i)return[0,0];if(1===i.length)o=parseInt(i,10),r=parseInt(i,10);else{var s=i.split("-");o=parseInt(s[0],10),r=parseInt(s[1],10)}return(o<=0||isNaN(o))&&(o=1),(r<=0||r>e-1||isNaN(r))&&(r=e),[o,r]}function to(t,e){for(var n=t.querySelectorAll(".line"),i=e[0]-1,o=e[1]-1,r=i;r<=o;r++)n[r].classList.add("copyHighlight")}function eo(t){for(var e=t.parentNode.getElementsByClassName("copyHighlight"),n=0;n<e.length;n++)e[n].classList.toggle("copyHover")}function no(t,e,n){var i=document.getElementById(t),o=document.querySelector("div[label="+e+"]").getElementsByClassName("cl")[n-1];i.addEventListener("mouseover",(function(){o.classList.toggle("hl")})),i.addEventListener("mouseout",(function(){o.classList.toggle("hl")}))}Ji.on("success",(t=>{const e=t.trigger.querySelector(".bi").firstElementChild,n="http://www.w3.org/1999/xlink",i=e.getAttributeNS(n,"href"),o=t.trigger.title;t.clearSelection(),e.setAttributeNS(n,"href",i.replace("clipboard","check2")),setTimeout((()=>{e.setAttributeNS(n,"href",i),t.trigger.title=o}),2e3)})),Ji.on("error",(t=>{/mac/i.test(navigator.userAgent)})),window.onload=function(){for(var t=document.getElementsByClassName("bd-clipboard"),e=0;e<t.length;e++)t[e].addEventListener("mouseover",(function(){eo(this)}),!0),t[e].addEventListener("mouseout",(function(){eo(this)}),!0)}(),window.onload=function(){var t=document.getElementsByTagName("highlight-term");for(let e=0;e<t.length;e++)no(t[e].id,t[e].dataset.label,t[e].dataset.line)}();const io=document.querySelector("#slack"),oo=document.querySelector("#tooltip");Pe(io,oo,{modifiers:[{name:"offset",options:{offset:[0,12]}}]})})()})();
|
|
//# sourceMappingURL=main-727bf178.bundle.min.js.map
|