Spaces:
Running
Running
Delete _book
Browse filesFiles changed (23)
- _book/001-reducegrow.htmlDeleted-498
- _book/index.htmlDeleted-433
- _book/intro.htmlDeleted-484
- _book/new_starcore_logo.pngDeleted
- _book/references.htmlDeleted-428
- _book/search.jsonDeleted-65
- _book/site_libs/bootstrap/bootstrap-icons.cssDeleted-2018
- _book/site_libs/bootstrap/bootstrap-icons.woffDeleted
- _book/site_libs/bootstrap/bootstrap.min.cssDeleted
- _book/site_libs/bootstrap/bootstrap.min.jsDeleted-7
- _book/site_libs/clipboard/clipboard.min.jsDeleted-7
- _book/site_libs/quarto-html/anchor.min.jsDeleted-9
- _book/site_libs/quarto-html/popper.min.jsDeleted-6
- _book/site_libs/quarto-html/quarto-syntax-highlighting.cssDeleted-203
- _book/site_libs/quarto-html/quarto.jsDeleted-902
- _book/site_libs/quarto-html/tippy.cssDeleted-1
- _book/site_libs/quarto-html/tippy.umd.min.jsDeleted-2
- _book/site_libs/quarto-nav/headroom.min.jsDeleted-7
- _book/site_libs/quarto-nav/quarto-nav.jsDeleted-277
- _book/site_libs/quarto-search/autocomplete.umd.jsDeleted-3
- _book/site_libs/quarto-search/fuse.min.jsDeleted-9
- _book/site_libs/quarto-search/quarto-search.jsDeleted-1140
- _book/summary.htmlDeleted-448
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta charset="utf-8"><meta name="generator" content="quarto-1.3.433">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Codewars Challenge 2024 Using R and RStudio - 1 Beginner - Reduce but Grow</title><style>code{white-space: pre-wrap;}span.smallcaps{font-variant: small-caps;}div.columns{display: flex; gap: min(4vw, 1.5em);}div.column{flex: auto; overflow-x: auto;}div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}ul.task-list{list-style: none;}ul.task-list li input[type="checkbox"] { width: 0.8em; margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */ vertical-align: middle;}/* CSS for syntax highlighting */pre > code.sourceCode { white-space: pre; position: relative; }pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }pre > code.sourceCode > span:empty { height: 1.2em; }.sourceCode { overflow: visible; }code.sourceCode > span { color: inherit; text-decoration: inherit; }div.sourceCode { margin: 1em 0; }pre.sourceCode { margin: 0; }@media screen {div.sourceCode { overflow: auto; }}@media print {pre > code.sourceCode { white-space: pre-wrap; }pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }}pre.numberSource code { counter-reset: source-line 0; }pre.numberSource code > span { position: relative; left: -4em; counter-increment: source-line; }pre.numberSource code > span > a:first-child::before { content: counter(source-line); position: relative; left: -1em; text-align: right; vertical-align: baseline; border: none; display: inline-block; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding: 0 4px; width: 4em; }pre.numberSource { margin-left: 3em; padding-left: 4px; }div.sourceCode { }@media screen {pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }}</style>
<script src="site_libs/quarto-nav/quarto-nav.js"></script><script src="site_libs/quarto-nav/headroom.min.js"></script><script src="site_libs/clipboard/clipboard.min.js"></script><script src="site_libs/quarto-search/autocomplete.umd.js"></script><script src="site_libs/quarto-search/fuse.min.js"></script><script src="site_libs/quarto-search/quarto-search.js"></script><meta name="quarto:offset" content="./"><link href="./references.html" rel="next"><link href="./intro.html" rel="prev"><script src="site_libs/quarto-html/quarto.js"></script><script src="site_libs/quarto-html/popper.min.js"></script><script src="site_libs/quarto-html/tippy.umd.min.js"></script><script src="site_libs/quarto-html/anchor.min.js"></script><link href="site_libs/quarto-html/tippy.css" rel="stylesheet"><link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"><script src="site_libs/bootstrap/bootstrap.min.js"></script><link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"><link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"><script id="quarto-search-options" type="application/json">{ "location": "sidebar", "copy-button": false, "collapse-after": 3, "panel-placement": "start", "type": "textbox", "limit": 20, "language": { "search-no-results-text": "No results", "search-matching-documents-text": "matching documents", "search-copy-link-title": "Copy link to search", "search-hide-matches-text": "Hide additional matches", "search-more-match-text": "more match in this document", "search-more-matches-text": "more matches in this document", "search-clear-button-title": "Clear", "search-detached-cancel-button-title": "Cancel", "search-submit-button-title": "Submit", "search-label": "Search" }}</script>
</head>
<body class="nav-sidebar floating">
<div id="quarto-search-results"></div> <header id="quarto-header" class="headroom fixed-top"> <nav class="quarto-secondary-nav"> <div class="container-fluid d-flex"> <button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> <i class="bi bi-layout-text-sidebar-reverse"></i> </button> <nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./001-reducegrow.html"><span class="chapter-number">1</span> <span class="chapter-title">Beginner - Reduce but Grow</span></a></li></ol></nav> <a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> </a> <button type="button" class="btn quarto-search-button" aria-label="" onclick="window.quartoOpenSearch();"> <i class="bi bi-search"></i> </button> </div> </nav></header><!-- content --><div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article"><!-- sidebar --> <nav id="quarto-sidebar" class="sidebar collapse collapse-horizontal sidebar-navigation floating overflow-auto"> <div class="pt-lg-2 mt-2 text-left sidebar-header"> <div class="sidebar-title mb-0 py-0"> <a href="./">Codewars Challenge 2024 Using R and RStudio</a> </div> </div> <div class="mt-2 flex-shrink-0 align-items-center"> <div class="sidebar-search"> <div id="quarto-search" class="" title="Search"></div> </div> </div> <div class="sidebar-menu-container"> <ul class="list-unstyled mt-1"> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./index.html" class="sidebar-item-text sidebar-link"> <span class="menu-text">Preface</span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./intro.html" class="sidebar-item-text sidebar-link"> <span class="menu-text">Introduction</span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./001-reducegrow.html" class="sidebar-item-text sidebar-link active"> <span class="menu-text"><span class="chapter-number">1</span> <span class="chapter-title">Beginner - Reduce but Grow</span></span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./references.html" class="sidebar-item-text sidebar-link"> <span class="menu-text">References</span></a> </div></li> </ul> </div></nav><div id="quarto-sidebar-glass" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass"></div><!-- margin-sidebar --> <div id="quarto-margin-sidebar" class="sidebar margin-sidebar"> <nav id="TOC" role="doc-toc" class="toc-active"> <h2 id="toc-title">Table of contents</h2> <ul> <li><a href="#youtube-video" id="toc-youtube-video" class="nav-link active" data-scroll-target="#youtube-video"><span class="header-section-number">1.1</span> YouTube Video</a></li> <li><a href="#solution-code" id="toc-solution-code" class="nav-link" data-scroll-target="#solution-code"><span class="header-section-number">1.2</span> Solution Code</a></li> <li><a href="#test" id="toc-test" class="nav-link" data-scroll-target="#test"><span class="header-section-number">1.3</span> Test</a></li> <li><a href="#supported-by" id="toc-supported-by" class="nav-link" data-scroll-target="#supported-by"><span class="header-section-number">1.4</span> Supported by</a></li> </ul></nav> </div><!-- main --><main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"><div class="quarto-title"><h1 class="title"><span id="reducegrow" class="quarto-section-identifier"><span class="chapter-number">1</span> <span class="chapter-title">Beginner - Reduce but Grow</span></span></h1></div>
<div class="quarto-title-meta">
</div>
</header>
<p><a href="https://www.codewars.com/kata/57f780909f7e8e3183000078/train/r" class="uri">https://www.codewars.com/kata/57f780909f7e8e3183000078/train/r</a></p><p>Given a non-empty array of integers, return the result of multiplying the values together in order. Example:</p><pre><code>[1, 2, 3, 4] => 1 * 2 * 3 * 4 = 24</code></pre><section id="youtube-video" class="level2" data-number="1.1"><h2 data-number="1.1" class="anchored" data-anchor-id="youtube-video"><span class="header-section-number">1.1</span> YouTube Video</h2><div class="quarto-video ratio ratio-16x9"><iframe data-external="1" src="https://www.youtube.com/embed/xCvHwR52p4k?si=yoLfpHfcIBYk0j9c" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div></section><section id="solution-code" class="level2" data-number="1.2"><h2 data-number="1.2" class="anchored" data-anchor-id="solution-code"><span class="header-section-number">1.2</span> Solution Code</h2><p>Solusi bar-bar</p><div class="cell"><div class="sourceCode cell-code" id="cb2"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>grow <span class="ot"><-</span> <span class="cf">function</span>(arr) {</span><span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a> result <span class="ot"><-</span> <span class="dv">1</span></span><span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a> <span class="cf">for</span>(i <span class="cf">in</span> arr){</span><span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a> result <span class="ot"><-</span> result <span class="sc">*</span> i</span><span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a> }</span><span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a> <span class="fu">return</span>(result)</span><span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a>}</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div></div><p>Solusi simple</p><div class="cell"><div class="sourceCode cell-code" id="cb3"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="co"># grow <- function(arr) prod(arr)</span></span><span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a>grow <span class="ot"><-</span> prod</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div></div></section><section id="test" class="level2" data-number="1.3"><h2 data-number="1.3" class="anchored" data-anchor-id="test"><span class="header-section-number">1.3</span> Test</h2><div class="cell"><div class="sourceCode cell-code" id="cb4"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(testthat)</span><span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="fu">test_that</span>(<span class="st">"basic tests"</span>, {</span><span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a> <span class="fu">expect_equal</span>(<span class="fu">grow</span>(<span class="fu">c</span>(<span class="dv">1</span>, <span class="dv">2</span>, <span class="dv">3</span>)), <span class="dv">6</span>)</span><span id="cb4-4"><a href="#cb4-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">expect_equal</span>(<span class="fu">grow</span>(<span class="fu">c</span>(<span class="dv">4</span>, <span class="dv">1</span>, <span class="dv">1</span>, <span class="dv">1</span>, <span class="dv">4</span>)), <span class="dv">16</span>)</span><span id="cb4-5"><a href="#cb4-5" aria-hidden="true" tabindex="-1"></a> <span class="fu">expect_equal</span>(<span class="fu">grow</span>(<span class="fu">c</span>(<span class="dv">2</span>, <span class="dv">2</span>, <span class="dv">2</span>, <span class="dv">2</span>, <span class="dv">2</span>, <span class="dv">2</span>)), <span class="dv">64</span>)</span><span id="cb4-6"><a href="#cb4-6" aria-hidden="true" tabindex="-1"></a>})</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div><div class="cell-output cell-output-stdout"><pre><code>Test passed 😀</code></pre></div></div></section><section id="supported-by" class="level2" data-number="1.4"><h2 data-number="1.4" class="anchored" data-anchor-id="supported-by"><span class="header-section-number">1.4</span> Supported by</h2><div class="quarto-figure quarto-figure-center"><figure class="figure"><p><a href="https://www.starcore.co"><img src="new_starcore_logo.png" class="img-fluid figure-img"></a></p><figcaption class="figure-caption">StarCore Analytics</figcaption></figure></div>
</section>
</main> <!-- /main --><script id="quarto-html-after-body" type="application/javascript">window.document.addEventListener("DOMContentLoaded", function (event) { const toggleBodyColorMode = (bsSheetEl) => { const mode = bsSheetEl.getAttribute("data-mode"); const bodyEl = window.document.querySelector("body"); if (mode === "dark") { bodyEl.classList.add("quarto-dark"); bodyEl.classList.remove("quarto-light"); } else { bodyEl.classList.add("quarto-light"); bodyEl.classList.remove("quarto-dark"); } } const toggleBodyColorPrimary = () => { const bsSheetEl = window.document.querySelector("link#quarto-bootstrap"); if (bsSheetEl) { toggleBodyColorMode(bsSheetEl); } } toggleBodyColorPrimary(); const icon = ""; const anchorJS = new window.AnchorJS(); anchorJS.options = { placement: 'right', icon: icon }; anchorJS.add('.anchored'); const isCodeAnnotation = (el) => { for (const clz of el.classList) { if (clz.startsWith('code-annotation-')) { return true; } } return false; } const clipboard = new window.ClipboardJS('.code-copy-button', { text: function(trigger) { const codeEl = trigger.previousElementSibling.cloneNode(true); for (const childEl of codeEl.children) { if (isCodeAnnotation(childEl)) { childEl.remove(); } } return codeEl.innerText; } }); clipboard.on('success', function(e) { // button target const button = e.trigger; // don't keep focus button.blur(); // flash "checked" button.classList.add('code-copy-button-checked'); var currentTitle = button.getAttribute("title"); button.setAttribute("title", "Copied!"); let tooltip; if (window.bootstrap) { button.setAttribute("data-bs-toggle", "tooltip"); button.setAttribute("data-bs-placement", "left"); button.setAttribute("data-bs-title", "Copied!"); tooltip = new bootstrap.Tooltip(button, { trigger: "manual", customClass: "code-copy-button-tooltip", offset: [0, -8]}); tooltip.show(); } setTimeout(function() { if (tooltip) { tooltip.hide(); button.removeAttribute("data-bs-title"); button.removeAttribute("data-bs-toggle"); button.removeAttribute("data-bs-placement"); } button.setAttribute("title", currentTitle); button.classList.remove('code-copy-button-checked'); }, 1000); // clear code selection e.clearSelection(); }); function tippyHover(el, contentFn) { const config = { allowHTML: true, content: contentFn, maxWidth: 500, delay: 100, arrow: false, appendTo: function(el) { return el.parentElement; }, interactive: true, interactiveBorder: 10, theme: 'quarto', placement: 'bottom-start' }; window.tippy(el, config); } const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]'); for (var i=0; i<noterefs.length; i++) { const ref = noterefs[i]; tippyHover(ref, function() { // use id or data attribute instead here let href = ref.getAttribute('data-footnote-href') || ref.getAttribute('href'); try { href = new URL(href).hash; } catch {} const id = href.replace(/^#\/?/, ""); const note = window.document.getElementById(id); return note.innerHTML; }); } let selectedAnnoteEl; const selectorForAnnotation = ( cell, annotation) => { let cellAttr = 'data-code-cell="' + cell + '"'; let lineAttr = 'data-code-annotation="' + annotation + '"'; const selector = 'span[' + cellAttr + '][' + lineAttr + ']'; return selector; } const selectCodeLines = (annoteEl) => { const doc = window.document; const targetCell = annoteEl.getAttribute("data-target-cell"); const targetAnnotation = annoteEl.getAttribute("data-target-annotation"); const annoteSpan = window.document.querySelector(selectorForAnnotation(targetCell, targetAnnotation)); const lines = annoteSpan.getAttribute("data-code-lines").split(","); const lineIds = lines.map((line) => { return targetCell + "-" + line; }) let top = null; let height = null; let parent = null; if (lineIds.length > 0) { //compute the position of the single el (top and bottom and make a div) const el = window.document.getElementById(lineIds[0]); top = el.offsetTop; height = el.offsetHeight; parent = el.parentElement.parentElement; if (lineIds.length > 1) { const lastEl = window.document.getElementById(lineIds[lineIds.length - 1]); const bottom = lastEl.offsetTop + lastEl.offsetHeight; height = bottom - top; } if (top !== null && height !== null && parent !== null) { // cook up a div (if necessary) and position it let div = window.document.getElementById("code-annotation-line-highlight"); if (div === null) { div = window.document.createElement("div"); div.setAttribute("id", "code-annotation-line-highlight"); div.style.position = 'absolute'; parent.appendChild(div); } div.style.top = top - 2 + "px"; div.style.height = height + 4 + "px"; let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter"); if (gutterDiv === null) { gutterDiv = window.document.createElement("div"); gutterDiv.setAttribute("id", "code-annotation-line-highlight-gutter"); gutterDiv.style.position = 'absolute'; const codeCell = window.document.getElementById(targetCell); const gutter = codeCell.querySelector('.code-annotation-gutter'); gutter.appendChild(gutterDiv); } gutterDiv.style.top = top - 2 + "px"; gutterDiv.style.height = height + 4 + "px"; } selectedAnnoteEl = annoteEl; } }; const unselectCodeLines = () => { const elementsIds = ["code-annotation-line-highlight", "code-annotation-line-highlight-gutter"]; elementsIds.forEach((elId) => { const div = window.document.getElementById(elId); if (div) { div.remove(); } }); selectedAnnoteEl = undefined; }; // Attach click handler to the DT const annoteDls = window.document.querySelectorAll('dt[data-target-cell]'); for (const annoteDlNode of annoteDls) { annoteDlNode.addEventListener('click', (event) => { const clickedEl = event.target; if (clickedEl !== selectedAnnoteEl) { unselectCodeLines(); const activeEl = window.document.querySelector('dt[data-target-cell].code-annotation-active'); if (activeEl) { activeEl.classList.remove('code-annotation-active'); } selectCodeLines(clickedEl); clickedEl.classList.add('code-annotation-active'); } else { // Unselect the line unselectCodeLines(); clickedEl.classList.remove('code-annotation-active'); } }); } const findCites = (el) => { const parentEl = el.parentElement; if (parentEl) { const cites = parentEl.dataset.cites; if (cites) { return { el, cites: cites.split(' ') }; } else { return findCites(el.parentElement) } } else { return undefined; } }; var bibliorefs = window.document.querySelectorAll('a[role="doc-biblioref"]'); for (var i=0; i<bibliorefs.length; i++) { const ref = bibliorefs[i]; const citeInfo = findCites(ref); if (citeInfo) { tippyHover(citeInfo.el, function() { var popup = window.document.createElement('div'); citeInfo.cites.forEach(function(cite) { var citeDiv = window.document.createElement('div'); citeDiv.classList.add('hanging-indent'); citeDiv.classList.add('csl-entry'); var biblioDiv = window.document.getElementById('ref-' + cite); if (biblioDiv) { citeDiv.innerHTML = biblioDiv.innerHTML; } popup.appendChild(citeDiv); }); return popup.innerHTML; }); } }});</script><nav class="page-navigation"> <div class="nav-page nav-page-previous"> <a href="./intro.html" class="pagination-link"> <i class="bi bi-arrow-left-short"></i> <span class="nav-page-text">Introduction</span> </a> </div> <div class="nav-page nav-page-next"> <a href="./references.html" class="pagination-link"> <span class="nav-page-text">References</span> <i class="bi bi-arrow-right-short"></i> </a> </div></nav></div> <!-- /content -->
</body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta charset="utf-8"><meta name="generator" content="quarto-1.3.433">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<meta name="author" content="Aep Hidayatuloh">
<title>Codewars Challenge 2024 Menggunakan R dan RStudio</title><style>code{white-space: pre-wrap;}span.smallcaps{font-variant: small-caps;}div.columns{display: flex; gap: min(4vw, 1.5em);}div.column{flex: auto; overflow-x: auto;}div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}ul.task-list{list-style: none;}ul.task-list li input[type="checkbox"] { width: 0.8em; margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */ vertical-align: middle;}</style>
<script src="site_libs/quarto-nav/quarto-nav.js"></script><script src="site_libs/quarto-nav/headroom.min.js"></script><script src="site_libs/clipboard/clipboard.min.js"></script><script src="site_libs/quarto-search/autocomplete.umd.js"></script><script src="site_libs/quarto-search/fuse.min.js"></script><script src="site_libs/quarto-search/quarto-search.js"></script><meta name="quarto:offset" content="./"><link href="./001-reducegrow.html" rel="next"><script src="site_libs/quarto-html/quarto.js"></script><script src="site_libs/quarto-html/popper.min.js"></script><script src="site_libs/quarto-html/tippy.umd.min.js"></script><script src="site_libs/quarto-html/anchor.min.js"></script><link href="site_libs/quarto-html/tippy.css" rel="stylesheet"><link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"><script src="site_libs/bootstrap/bootstrap.min.js"></script><link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"><link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"><script id="quarto-search-options" type="application/json">{ "location": "sidebar", "copy-button": false, "collapse-after": 3, "panel-placement": "start", "type": "textbox", "limit": 20, "language": { "search-no-results-text": "No results", "search-matching-documents-text": "matching documents", "search-copy-link-title": "Copy link to search", "search-hide-matches-text": "Hide additional matches", "search-more-match-text": "more match in this document", "search-more-matches-text": "more matches in this document", "search-clear-button-title": "Clear", "search-detached-cancel-button-title": "Cancel", "search-submit-button-title": "Submit", "search-label": "Search" }}</script>
</head>
<body class="nav-sidebar floating">
<div id="quarto-search-results"></div> <header id="quarto-header" class="headroom fixed-top"> <nav class="quarto-secondary-nav"> <div class="container-fluid d-flex"> <button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> <i class="bi bi-layout-text-sidebar-reverse"></i> </button> <nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./index.html">Pengantar</a></li></ol></nav> <a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> </a> <button type="button" class="btn quarto-search-button" aria-label="" onclick="window.quartoOpenSearch();"> <i class="bi bi-search"></i> </button> </div> </nav></header><!-- content --><div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article"><!-- sidebar --> <nav id="quarto-sidebar" class="sidebar collapse collapse-horizontal sidebar-navigation floating overflow-auto"> <div class="pt-lg-2 mt-2 text-left sidebar-header"> <div class="sidebar-title mb-0 py-0"> <a href="./">Codewars Challenge 2024 Menggunakan R dan RStudio</a> </div> </div> <div class="mt-2 flex-shrink-0 align-items-center"> <div class="sidebar-search"> <div id="quarto-search" class="" title="Search"></div> </div> </div> <div class="sidebar-menu-container"> <ul class="list-unstyled mt-1"> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./index.html" class="sidebar-item-text sidebar-link active"> <span class="menu-text">Pengantar</span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./001-reducegrow.html" class="sidebar-item-text sidebar-link"> <span class="menu-text"><span class="chapter-number">1</span> <span class="chapter-title">Beginner - Reduce but Grow</span></span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./references.html" class="sidebar-item-text sidebar-link"> <span class="menu-text">References</span></a> </div></li> </ul> </div></nav><div id="quarto-sidebar-glass" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass"></div><!-- margin-sidebar --> <div id="quarto-margin-sidebar" class="sidebar margin-sidebar"> <nav id="TOC" role="doc-toc" class="toc-active"> <h2 id="toc-title">Table of contents</h2> <ul> <li><a href="#pengantar" id="toc-pengantar" class="nav-link active" data-scroll-target="#pengantar">Pengantar</a> <ul class="collapse"> <li><a href="#supported-by" id="toc-supported-by" class="nav-link" data-scroll-target="#supported-by">Supported by</a></li> </ul></li> </ul></nav> </div><!-- main --><main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"><div class="quarto-title"><h1 class="title">Codewars Challenge 2024 Menggunakan R dan RStudio</h1></div>
<div class="quarto-title-meta">
<div> <div class="quarto-title-meta-heading">Author</div> <div class="quarto-title-meta-contents"> <p>Aep Hidayatuloh </p> </div> </div> <div> <div class="quarto-title-meta-heading">Published</div> <div class="quarto-title-meta-contents"> <p class="date">Last Updated on 31 January, 2024</p> </div> </div> </div>
</header>
<section id="pengantar" class="level1 unnumbered"><h1 class="unnumbered">Pengantar</h1><p>Buku ini adalah catatan penyelesaian dalam mengerjakan tantangan-tantangan logika dan pemrograman Codewars menggunakan R dan RStudio selama tahun 2024.</p><p>Hal ini terisnpirasi dari kegiatan di YouTube nya Pak Sandhika Galih WPU.</p><section id="supported-by" class="level2"><h2 class="anchored" data-anchor-id="supported-by">Supported by</h2><div class="quarto-figure quarto-figure-center"><figure class="figure"><p><a href="https://www.starcore.co"><img src="new_starcore_logo.png" class="img-fluid figure-img"></a></p><figcaption class="figure-caption">StarCore Analytics</figcaption></figure></div>
</section></section>
</main> <!-- /main --><script id="quarto-html-after-body" type="application/javascript">window.document.addEventListener("DOMContentLoaded", function (event) { const toggleBodyColorMode = (bsSheetEl) => { const mode = bsSheetEl.getAttribute("data-mode"); const bodyEl = window.document.querySelector("body"); if (mode === "dark") { bodyEl.classList.add("quarto-dark"); bodyEl.classList.remove("quarto-light"); } else { bodyEl.classList.add("quarto-light"); bodyEl.classList.remove("quarto-dark"); } } const toggleBodyColorPrimary = () => { const bsSheetEl = window.document.querySelector("link#quarto-bootstrap"); if (bsSheetEl) { toggleBodyColorMode(bsSheetEl); } } toggleBodyColorPrimary(); const icon = ""; const anchorJS = new window.AnchorJS(); anchorJS.options = { placement: 'right', icon: icon }; anchorJS.add('.anchored'); const isCodeAnnotation = (el) => { for (const clz of el.classList) { if (clz.startsWith('code-annotation-')) { return true; } } return false; } const clipboard = new window.ClipboardJS('.code-copy-button', { text: function(trigger) { const codeEl = trigger.previousElementSibling.cloneNode(true); for (const childEl of codeEl.children) { if (isCodeAnnotation(childEl)) { childEl.remove(); } } return codeEl.innerText; } }); clipboard.on('success', function(e) { // button target const button = e.trigger; // don't keep focus button.blur(); // flash "checked" button.classList.add('code-copy-button-checked'); var currentTitle = button.getAttribute("title"); button.setAttribute("title", "Copied!"); let tooltip; if (window.bootstrap) { button.setAttribute("data-bs-toggle", "tooltip"); button.setAttribute("data-bs-placement", "left"); button.setAttribute("data-bs-title", "Copied!"); tooltip = new bootstrap.Tooltip(button, { trigger: "manual", customClass: "code-copy-button-tooltip", offset: [0, -8]}); tooltip.show(); } setTimeout(function() { if (tooltip) { tooltip.hide(); button.removeAttribute("data-bs-title"); button.removeAttribute("data-bs-toggle"); button.removeAttribute("data-bs-placement"); } button.setAttribute("title", currentTitle); button.classList.remove('code-copy-button-checked'); }, 1000); // clear code selection e.clearSelection(); }); function tippyHover(el, contentFn) { const config = { allowHTML: true, content: contentFn, maxWidth: 500, delay: 100, arrow: false, appendTo: function(el) { return el.parentElement; }, interactive: true, interactiveBorder: 10, theme: 'quarto', placement: 'bottom-start' }; window.tippy(el, config); } const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]'); for (var i=0; i<noterefs.length; i++) { const ref = noterefs[i]; tippyHover(ref, function() { // use id or data attribute instead here let href = ref.getAttribute('data-footnote-href') || ref.getAttribute('href'); try { href = new URL(href).hash; } catch {} const id = href.replace(/^#\/?/, ""); const note = window.document.getElementById(id); return note.innerHTML; }); } let selectedAnnoteEl; const selectorForAnnotation = ( cell, annotation) => { let cellAttr = 'data-code-cell="' + cell + '"'; let lineAttr = 'data-code-annotation="' + annotation + '"'; const selector = 'span[' + cellAttr + '][' + lineAttr + ']'; return selector; } const selectCodeLines = (annoteEl) => { const doc = window.document; const targetCell = annoteEl.getAttribute("data-target-cell"); const targetAnnotation = annoteEl.getAttribute("data-target-annotation"); const annoteSpan = window.document.querySelector(selectorForAnnotation(targetCell, targetAnnotation)); const lines = annoteSpan.getAttribute("data-code-lines").split(","); const lineIds = lines.map((line) => { return targetCell + "-" + line; }) let top = null; let height = null; let parent = null; if (lineIds.length > 0) { //compute the position of the single el (top and bottom and make a div) const el = window.document.getElementById(lineIds[0]); top = el.offsetTop; height = el.offsetHeight; parent = el.parentElement.parentElement; if (lineIds.length > 1) { const lastEl = window.document.getElementById(lineIds[lineIds.length - 1]); const bottom = lastEl.offsetTop + lastEl.offsetHeight; height = bottom - top; } if (top !== null && height !== null && parent !== null) { // cook up a div (if necessary) and position it let div = window.document.getElementById("code-annotation-line-highlight"); if (div === null) { div = window.document.createElement("div"); div.setAttribute("id", "code-annotation-line-highlight"); div.style.position = 'absolute'; parent.appendChild(div); } div.style.top = top - 2 + "px"; div.style.height = height + 4 + "px"; let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter"); if (gutterDiv === null) { gutterDiv = window.document.createElement("div"); gutterDiv.setAttribute("id", "code-annotation-line-highlight-gutter"); gutterDiv.style.position = 'absolute'; const codeCell = window.document.getElementById(targetCell); const gutter = codeCell.querySelector('.code-annotation-gutter'); gutter.appendChild(gutterDiv); } gutterDiv.style.top = top - 2 + "px"; gutterDiv.style.height = height + 4 + "px"; } selectedAnnoteEl = annoteEl; } }; const unselectCodeLines = () => { const elementsIds = ["code-annotation-line-highlight", "code-annotation-line-highlight-gutter"]; elementsIds.forEach((elId) => { const div = window.document.getElementById(elId); if (div) { div.remove(); } }); selectedAnnoteEl = undefined; }; // Attach click handler to the DT const annoteDls = window.document.querySelectorAll('dt[data-target-cell]'); for (const annoteDlNode of annoteDls) { annoteDlNode.addEventListener('click', (event) => { const clickedEl = event.target; if (clickedEl !== selectedAnnoteEl) { unselectCodeLines(); const activeEl = window.document.querySelector('dt[data-target-cell].code-annotation-active'); if (activeEl) { activeEl.classList.remove('code-annotation-active'); } selectCodeLines(clickedEl); clickedEl.classList.add('code-annotation-active'); } else { // Unselect the line unselectCodeLines(); clickedEl.classList.remove('code-annotation-active'); } }); } const findCites = (el) => { const parentEl = el.parentElement; if (parentEl) { const cites = parentEl.dataset.cites; if (cites) { return { el, cites: cites.split(' ') }; } else { return findCites(el.parentElement) } } else { return undefined; } }; var bibliorefs = window.document.querySelectorAll('a[role="doc-biblioref"]'); for (var i=0; i<bibliorefs.length; i++) { const ref = bibliorefs[i]; const citeInfo = findCites(ref); if (citeInfo) { tippyHover(citeInfo.el, function() { var popup = window.document.createElement('div'); citeInfo.cites.forEach(function(cite) { var citeDiv = window.document.createElement('div'); citeDiv.classList.add('hanging-indent'); citeDiv.classList.add('csl-entry'); var biblioDiv = window.document.getElementById('ref-' + cite); if (biblioDiv) { citeDiv.innerHTML = biblioDiv.innerHTML; } popup.appendChild(citeDiv); }); return popup.innerHTML; }); } }});</script><nav class="page-navigation"> <div class="nav-page nav-page-previous"> </div> <div class="nav-page nav-page-next"> <a href="./001-reducegrow.html" class="pagination-link"> <span class="nav-page-text"><span class="chapter-number">1</span> <span class="chapter-title">Beginner - Reduce but Grow</span></span> <i class="bi bi-arrow-right-short"></i> </a> </div></nav></div> <!-- /content -->
</body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta charset="utf-8"><meta name="generator" content="quarto-1.3.433">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Codewars Using R and RStudio - Introduction</title><style>code{white-space: pre-wrap;}span.smallcaps{font-variant: small-caps;}div.columns{display: flex; gap: min(4vw, 1.5em);}div.column{flex: auto; overflow-x: auto;}div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}ul.task-list{list-style: none;}ul.task-list li input[type="checkbox"] { width: 0.8em; margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */ vertical-align: middle;}/* CSS for syntax highlighting */pre > code.sourceCode { white-space: pre; position: relative; }pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }pre > code.sourceCode > span:empty { height: 1.2em; }.sourceCode { overflow: visible; }code.sourceCode > span { color: inherit; text-decoration: inherit; }div.sourceCode { margin: 1em 0; }pre.sourceCode { margin: 0; }@media screen {div.sourceCode { overflow: auto; }}@media print {pre > code.sourceCode { white-space: pre-wrap; }pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }}pre.numberSource code { counter-reset: source-line 0; }pre.numberSource code > span { position: relative; left: -4em; counter-increment: source-line; }pre.numberSource code > span > a:first-child::before { content: counter(source-line); position: relative; left: -1em; text-align: right; vertical-align: baseline; border: none; display: inline-block; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding: 0 4px; width: 4em; }pre.numberSource { margin-left: 3em; padding-left: 4px; }div.sourceCode { }@media screen {pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }}/* CSS for citations */div.csl-bib-body { }div.csl-entry { clear: both;}.hanging-indent div.csl-entry { margin-left:2em; text-indent:-2em;}div.csl-left-margin { min-width:2em; float:left;}div.csl-right-inline { margin-left:2em; padding-left:1em;}div.csl-indent { margin-left: 2em;}</style>
<script src="site_libs/quarto-nav/quarto-nav.js"></script><script src="site_libs/quarto-nav/headroom.min.js"></script><script src="site_libs/clipboard/clipboard.min.js"></script><script src="site_libs/quarto-search/autocomplete.umd.js"></script><script src="site_libs/quarto-search/fuse.min.js"></script><script src="site_libs/quarto-search/quarto-search.js"></script><meta name="quarto:offset" content="./"><link href="./001-reducegrow.html" rel="next"><link href="./index.html" rel="prev"><script src="site_libs/quarto-html/quarto.js"></script><script src="site_libs/quarto-html/popper.min.js"></script><script src="site_libs/quarto-html/tippy.umd.min.js"></script><script src="site_libs/quarto-html/anchor.min.js"></script><link href="site_libs/quarto-html/tippy.css" rel="stylesheet"><link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"><script src="site_libs/bootstrap/bootstrap.min.js"></script><link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"><link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"><script id="quarto-search-options" type="application/json">{ "location": "sidebar", "copy-button": false, "collapse-after": 3, "panel-placement": "start", "type": "textbox", "limit": 20, "language": { "search-no-results-text": "No results", "search-matching-documents-text": "matching documents", "search-copy-link-title": "Copy link to search", "search-hide-matches-text": "Hide additional matches", "search-more-match-text": "more match in this document", "search-more-matches-text": "more matches in this document", "search-clear-button-title": "Clear", "search-detached-cancel-button-title": "Cancel", "search-submit-button-title": "Submit", "search-label": "Search" }}</script>
</head>
<body class="nav-sidebar floating">
<div id="quarto-search-results"></div> <header id="quarto-header" class="headroom fixed-top"> <nav class="quarto-secondary-nav"> <div class="container-fluid d-flex"> <button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> <i class="bi bi-layout-text-sidebar-reverse"></i> </button> <nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./intro.html">Introduction</a></li></ol></nav> <a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> </a> <button type="button" class="btn quarto-search-button" aria-label="" onclick="window.quartoOpenSearch();"> <i class="bi bi-search"></i> </button> </div> </nav></header><!-- content --><div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article"><!-- sidebar --> <nav id="quarto-sidebar" class="sidebar collapse collapse-horizontal sidebar-navigation floating overflow-auto"> <div class="pt-lg-2 mt-2 text-left sidebar-header"> <div class="sidebar-title mb-0 py-0"> <a href="./">Codewars Using R and RStudio</a> </div> </div> <div class="mt-2 flex-shrink-0 align-items-center"> <div class="sidebar-search"> <div id="quarto-search" class="" title="Search"></div> </div> </div> <div class="sidebar-menu-container"> <ul class="list-unstyled mt-1"> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./index.html" class="sidebar-item-text sidebar-link"> <span class="menu-text">Preface</span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./intro.html" class="sidebar-item-text sidebar-link active"> <span class="menu-text">Introduction</span></a> </div></li> <li class="sidebar-item sidebar-item-section"> <div class="sidebar-item-container"> <a class="sidebar-item-text sidebar-link text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-1" aria-expanded="true"> <span class="menu-text">codewars2024.qmd</span></a> <a class="sidebar-item-toggle text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-1" aria-expanded="true" aria-label="Toggle section"> <i class="bi bi-chevron-right ms-2"></i> </a> </div> <ul id="quarto-sidebar-section-1" class="collapse list-unstyled sidebar-section depth1 show"> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./001-reducegrow.html" class="sidebar-item-text sidebar-link"> <span class="menu-text"><span class="chapter-number">1</span> <span class="chapter-title">Beginner - Reduce but Grow</span></span></a> </div></li> </ul> </li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./references.html" class="sidebar-item-text sidebar-link"> <span class="menu-text">References</span></a> </div></li> </ul> </div></nav><div id="quarto-sidebar-glass" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass"></div><!-- margin-sidebar --> <div id="quarto-margin-sidebar" class="sidebar margin-sidebar"> </div><!-- main --><main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"><div class="quarto-title"><h1 class="title">Introduction</h1></div>
<div class="quarto-title-meta">
</div>
</header>
<p>This is a book created from markdown and executable code.</p><p>See <span class="citation" data-cites="knuth84">Knuth (<a href="references.html#ref-knuth84" role="doc-biblioref">1984</a>)</span> for additional discussion of literate programming.</p><div class="cell"><div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="dv">1</span> <span class="sc">+</span> <span class="dv">1</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div><div class="cell-output cell-output-stdout"><pre><code>[1] 2</code></pre></div></div>
<div id="refs" class="references csl-bib-body hanging-indent" role="list" style="display: none"><div id="ref-knuth84" class="csl-entry" role="listitem">Knuth, Donald E. 1984. <span>“Literate Programming.”</span> <em>Comput. J.</em> 27 (2): 97–111. <a href="https://doi.org/10.1093/comjnl/27.2.97">https://doi.org/10.1093/comjnl/27.2.97</a>.</div></div>
</main> <!-- /main --><script id="quarto-html-after-body" type="application/javascript">window.document.addEventListener("DOMContentLoaded", function (event) { const toggleBodyColorMode = (bsSheetEl) => { const mode = bsSheetEl.getAttribute("data-mode"); const bodyEl = window.document.querySelector("body"); if (mode === "dark") { bodyEl.classList.add("quarto-dark"); bodyEl.classList.remove("quarto-light"); } else { bodyEl.classList.add("quarto-light"); bodyEl.classList.remove("quarto-dark"); } } const toggleBodyColorPrimary = () => { const bsSheetEl = window.document.querySelector("link#quarto-bootstrap"); if (bsSheetEl) { toggleBodyColorMode(bsSheetEl); } } toggleBodyColorPrimary(); const icon = ""; const anchorJS = new window.AnchorJS(); anchorJS.options = { placement: 'right', icon: icon }; anchorJS.add('.anchored'); const isCodeAnnotation = (el) => { for (const clz of el.classList) { if (clz.startsWith('code-annotation-')) { return true; } } return false; } const clipboard = new window.ClipboardJS('.code-copy-button', { text: function(trigger) { const codeEl = trigger.previousElementSibling.cloneNode(true); for (const childEl of codeEl.children) { if (isCodeAnnotation(childEl)) { childEl.remove(); } } return codeEl.innerText; } }); clipboard.on('success', function(e) { // button target const button = e.trigger; // don't keep focus button.blur(); // flash "checked" button.classList.add('code-copy-button-checked'); var currentTitle = button.getAttribute("title"); button.setAttribute("title", "Copied!"); let tooltip; if (window.bootstrap) { button.setAttribute("data-bs-toggle", "tooltip"); button.setAttribute("data-bs-placement", "left"); button.setAttribute("data-bs-title", "Copied!"); tooltip = new bootstrap.Tooltip(button, { trigger: "manual", customClass: "code-copy-button-tooltip", offset: [0, -8]}); tooltip.show(); } setTimeout(function() { if (tooltip) { tooltip.hide(); button.removeAttribute("data-bs-title"); button.removeAttribute("data-bs-toggle"); button.removeAttribute("data-bs-placement"); } button.setAttribute("title", currentTitle); button.classList.remove('code-copy-button-checked'); }, 1000); // clear code selection e.clearSelection(); }); function tippyHover(el, contentFn) { const config = { allowHTML: true, content: contentFn, maxWidth: 500, delay: 100, arrow: false, appendTo: function(el) { return el.parentElement; }, interactive: true, interactiveBorder: 10, theme: 'quarto', placement: 'bottom-start' }; window.tippy(el, config); } const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]'); for (var i=0; i<noterefs.length; i++) { const ref = noterefs[i]; tippyHover(ref, function() { // use id or data attribute instead here let href = ref.getAttribute('data-footnote-href') || ref.getAttribute('href'); try { href = new URL(href).hash; } catch {} const id = href.replace(/^#\/?/, ""); const note = window.document.getElementById(id); return note.innerHTML; }); } let selectedAnnoteEl; const selectorForAnnotation = ( cell, annotation) => { let cellAttr = 'data-code-cell="' + cell + '"'; let lineAttr = 'data-code-annotation="' + annotation + '"'; const selector = 'span[' + cellAttr + '][' + lineAttr + ']'; return selector; } const selectCodeLines = (annoteEl) => { const doc = window.document; const targetCell = annoteEl.getAttribute("data-target-cell"); const targetAnnotation = annoteEl.getAttribute("data-target-annotation"); const annoteSpan = window.document.querySelector(selectorForAnnotation(targetCell, targetAnnotation)); const lines = annoteSpan.getAttribute("data-code-lines").split(","); const lineIds = lines.map((line) => { return targetCell + "-" + line; }) let top = null; let height = null; let parent = null; if (lineIds.length > 0) { //compute the position of the single el (top and bottom and make a div) const el = window.document.getElementById(lineIds[0]); top = el.offsetTop; height = el.offsetHeight; parent = el.parentElement.parentElement; if (lineIds.length > 1) { const lastEl = window.document.getElementById(lineIds[lineIds.length - 1]); const bottom = lastEl.offsetTop + lastEl.offsetHeight; height = bottom - top; } if (top !== null && height !== null && parent !== null) { // cook up a div (if necessary) and position it let div = window.document.getElementById("code-annotation-line-highlight"); if (div === null) { div = window.document.createElement("div"); div.setAttribute("id", "code-annotation-line-highlight"); div.style.position = 'absolute'; parent.appendChild(div); } div.style.top = top - 2 + "px"; div.style.height = height + 4 + "px"; let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter"); if (gutterDiv === null) { gutterDiv = window.document.createElement("div"); gutterDiv.setAttribute("id", "code-annotation-line-highlight-gutter"); gutterDiv.style.position = 'absolute'; const codeCell = window.document.getElementById(targetCell); const gutter = codeCell.querySelector('.code-annotation-gutter'); gutter.appendChild(gutterDiv); } gutterDiv.style.top = top - 2 + "px"; gutterDiv.style.height = height + 4 + "px"; } selectedAnnoteEl = annoteEl; } }; const unselectCodeLines = () => { const elementsIds = ["code-annotation-line-highlight", "code-annotation-line-highlight-gutter"]; elementsIds.forEach((elId) => { const div = window.document.getElementById(elId); if (div) { div.remove(); } }); selectedAnnoteEl = undefined; }; // Attach click handler to the DT const annoteDls = window.document.querySelectorAll('dt[data-target-cell]'); for (const annoteDlNode of annoteDls) { annoteDlNode.addEventListener('click', (event) => { const clickedEl = event.target; if (clickedEl !== selectedAnnoteEl) { unselectCodeLines(); const activeEl = window.document.querySelector('dt[data-target-cell].code-annotation-active'); if (activeEl) { activeEl.classList.remove('code-annotation-active'); } selectCodeLines(clickedEl); clickedEl.classList.add('code-annotation-active'); } else { // Unselect the line unselectCodeLines(); clickedEl.classList.remove('code-annotation-active'); } }); } const findCites = (el) => { const parentEl = el.parentElement; if (parentEl) { const cites = parentEl.dataset.cites; if (cites) { return { el, cites: cites.split(' ') }; } else { return findCites(el.parentElement) } } else { return undefined; } }; var bibliorefs = window.document.querySelectorAll('a[role="doc-biblioref"]'); for (var i=0; i<bibliorefs.length; i++) { const ref = bibliorefs[i]; const citeInfo = findCites(ref); if (citeInfo) { tippyHover(citeInfo.el, function() { var popup = window.document.createElement('div'); citeInfo.cites.forEach(function(cite) { var citeDiv = window.document.createElement('div'); citeDiv.classList.add('hanging-indent'); citeDiv.classList.add('csl-entry'); var biblioDiv = window.document.getElementById('ref-' + cite); if (biblioDiv) { citeDiv.innerHTML = biblioDiv.innerHTML; } popup.appendChild(citeDiv); }); return popup.innerHTML; }); } }});</script><nav class="page-navigation"> <div class="nav-page nav-page-previous"> <a href="./index.html" class="pagination-link"> <i class="bi bi-arrow-left-short"></i> <span class="nav-page-text">Preface</span> </a> </div> <div class="nav-page nav-page-next"> <a href="./001-reducegrow.html" class="pagination-link"> <span class="nav-page-text"><span class="chapter-number">1</span> <span class="chapter-title">Beginner - Reduce but Grow</span></span> <i class="bi bi-arrow-right-short"></i> </a> </div></nav></div> <!-- /content -->
</body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta charset="utf-8"><meta name="generator" content="quarto-1.3.433">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Codewars Using R and RStudio - References</title><style>code{white-space: pre-wrap;}span.smallcaps{font-variant: small-caps;}div.columns{display: flex; gap: min(4vw, 1.5em);}div.column{flex: auto; overflow-x: auto;}div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}ul.task-list{list-style: none;}ul.task-list li input[type="checkbox"] { width: 0.8em; margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */ vertical-align: middle;}/* CSS for citations */div.csl-bib-body { }div.csl-entry { clear: both;}.hanging-indent div.csl-entry { margin-left:2em; text-indent:-2em;}div.csl-left-margin { min-width:2em; float:left;}div.csl-right-inline { margin-left:2em; padding-left:1em;}div.csl-indent { margin-left: 2em;}</style>
<script src="site_libs/quarto-nav/quarto-nav.js"></script><script src="site_libs/quarto-nav/headroom.min.js"></script><script src="site_libs/clipboard/clipboard.min.js"></script><script src="site_libs/quarto-search/autocomplete.umd.js"></script><script src="site_libs/quarto-search/fuse.min.js"></script><script src="site_libs/quarto-search/quarto-search.js"></script><meta name="quarto:offset" content="./"><link href="./summary.html" rel="prev"><script src="site_libs/quarto-html/quarto.js"></script><script src="site_libs/quarto-html/popper.min.js"></script><script src="site_libs/quarto-html/tippy.umd.min.js"></script><script src="site_libs/quarto-html/anchor.min.js"></script><link href="site_libs/quarto-html/tippy.css" rel="stylesheet"><link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"><script src="site_libs/bootstrap/bootstrap.min.js"></script><link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"><link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"><script id="quarto-search-options" type="application/json">{ "location": "sidebar", "copy-button": false, "collapse-after": 3, "panel-placement": "start", "type": "textbox", "limit": 20, "language": { "search-no-results-text": "No results", "search-matching-documents-text": "matching documents", "search-copy-link-title": "Copy link to search", "search-hide-matches-text": "Hide additional matches", "search-more-match-text": "more match in this document", "search-more-matches-text": "more matches in this document", "search-clear-button-title": "Clear", "search-detached-cancel-button-title": "Cancel", "search-submit-button-title": "Submit", "search-label": "Search" }}</script>
</head>
<body class="nav-sidebar floating">
<div id="quarto-search-results"></div> <header id="quarto-header" class="headroom fixed-top"> <nav class="quarto-secondary-nav"> <div class="container-fluid d-flex"> <button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> <i class="bi bi-layout-text-sidebar-reverse"></i> </button> <nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./references.html">References</a></li></ol></nav> <a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> </a> <button type="button" class="btn quarto-search-button" aria-label="" onclick="window.quartoOpenSearch();"> <i class="bi bi-search"></i> </button> </div> </nav></header><!-- content --><div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article"><!-- sidebar --> <nav id="quarto-sidebar" class="sidebar collapse collapse-horizontal sidebar-navigation floating overflow-auto"> <div class="pt-lg-2 mt-2 text-left sidebar-header"> <div class="sidebar-title mb-0 py-0"> <a href="./">Codewars Using R and RStudio</a> </div> </div> <div class="mt-2 flex-shrink-0 align-items-center"> <div class="sidebar-search"> <div id="quarto-search" class="" title="Search"></div> </div> </div> <div class="sidebar-menu-container"> <ul class="list-unstyled mt-1"> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./index.html" class="sidebar-item-text sidebar-link"> <span class="menu-text">Preface</span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./intro.html" class="sidebar-item-text sidebar-link"> <span class="menu-text"><span class="chapter-number">1</span> <span class="chapter-title">Introduction</span></span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./summary.html" class="sidebar-item-text sidebar-link"> <span class="menu-text"><span class="chapter-number">2</span> <span class="chapter-title">Summary</span></span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./references.html" class="sidebar-item-text sidebar-link active"> <span class="menu-text">References</span></a> </div></li> </ul> </div></nav><div id="quarto-sidebar-glass" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass"></div><!-- margin-sidebar --> <div id="quarto-margin-sidebar" class="sidebar margin-sidebar"> </div><!-- main --><main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"><div class="quarto-title"><h1 class="title">References</h1></div>
<div class="quarto-title-meta">
</div>
</header>
<div id="refs" class="references csl-bib-body hanging-indent" role="list"><div id="ref-knuth84" class="csl-entry" role="listitem">Knuth, Donald E. 1984. <span>“Literate Programming.”</span> <em>Comput.J.</em> 27 (2): 97–111. <a href="https://doi.org/10.1093/comjnl/27.2.97">https://doi.org/10.1093/comjnl/27.2.97</a>.</div></div>
</main> <!-- /main --><script id="quarto-html-after-body" type="application/javascript">window.document.addEventListener("DOMContentLoaded", function (event) { const toggleBodyColorMode = (bsSheetEl) => { const mode = bsSheetEl.getAttribute("data-mode"); const bodyEl = window.document.querySelector("body"); if (mode === "dark") { bodyEl.classList.add("quarto-dark"); bodyEl.classList.remove("quarto-light"); } else { bodyEl.classList.add("quarto-light"); bodyEl.classList.remove("quarto-dark"); } } const toggleBodyColorPrimary = () => { const bsSheetEl = window.document.querySelector("link#quarto-bootstrap"); if (bsSheetEl) { toggleBodyColorMode(bsSheetEl); } } toggleBodyColorPrimary(); const icon = ""; const anchorJS = new window.AnchorJS(); anchorJS.options = { placement: 'right', icon: icon }; anchorJS.add('.anchored'); const isCodeAnnotation = (el) => { for (const clz of el.classList) { if (clz.startsWith('code-annotation-')) { return true; } } return false; } const clipboard = new window.ClipboardJS('.code-copy-button', { text: function(trigger) { const codeEl = trigger.previousElementSibling.cloneNode(true); for (const childEl of codeEl.children) { if (isCodeAnnotation(childEl)) { childEl.remove(); } } return codeEl.innerText; } }); clipboard.on('success', function(e) { // button target const button = e.trigger; // don't keep focus button.blur(); // flash "checked" button.classList.add('code-copy-button-checked'); var currentTitle = button.getAttribute("title"); button.setAttribute("title", "Copied!"); let tooltip; if (window.bootstrap) { button.setAttribute("data-bs-toggle", "tooltip"); button.setAttribute("data-bs-placement", "left"); button.setAttribute("data-bs-title", "Copied!"); tooltip = new bootstrap.Tooltip(button, { trigger: "manual", customClass: "code-copy-button-tooltip", offset: [0, -8]}); tooltip.show(); } setTimeout(function() { if (tooltip) { tooltip.hide(); button.removeAttribute("data-bs-title"); button.removeAttribute("data-bs-toggle"); button.removeAttribute("data-bs-placement"); } button.setAttribute("title", currentTitle); button.classList.remove('code-copy-button-checked'); }, 1000); // clear code selection e.clearSelection(); }); function tippyHover(el, contentFn) { const config = { allowHTML: true, content: contentFn, maxWidth: 500, delay: 100, arrow: false, appendTo: function(el) { return el.parentElement; }, interactive: true, interactiveBorder: 10, theme: 'quarto', placement: 'bottom-start' }; window.tippy(el, config); } const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]'); for (var i=0; i<noterefs.length; i++) { const ref = noterefs[i]; tippyHover(ref, function() { // use id or data attribute instead here let href = ref.getAttribute('data-footnote-href') || ref.getAttribute('href'); try { href = new URL(href).hash; } catch {} const id = href.replace(/^#\/?/, ""); const note = window.document.getElementById(id); return note.innerHTML; }); } let selectedAnnoteEl; const selectorForAnnotation = ( cell, annotation) => { let cellAttr = 'data-code-cell="' + cell + '"'; let lineAttr = 'data-code-annotation="' + annotation + '"'; const selector = 'span[' + cellAttr + '][' + lineAttr + ']'; return selector; } const selectCodeLines = (annoteEl) => { const doc = window.document; const targetCell = annoteEl.getAttribute("data-target-cell"); const targetAnnotation = annoteEl.getAttribute("data-target-annotation"); const annoteSpan = window.document.querySelector(selectorForAnnotation(targetCell, targetAnnotation)); const lines = annoteSpan.getAttribute("data-code-lines").split(","); const lineIds = lines.map((line) => { return targetCell + "-" + line; }) let top = null; let height = null; let parent = null; if (lineIds.length > 0) { //compute the position of the single el (top and bottom and make a div) const el = window.document.getElementById(lineIds[0]); top = el.offsetTop; height = el.offsetHeight; parent = el.parentElement.parentElement; if (lineIds.length > 1) { const lastEl = window.document.getElementById(lineIds[lineIds.length - 1]); const bottom = lastEl.offsetTop + lastEl.offsetHeight; height = bottom - top; } if (top !== null && height !== null && parent !== null) { // cook up a div (if necessary) and position it let div = window.document.getElementById("code-annotation-line-highlight"); if (div === null) { div = window.document.createElement("div"); div.setAttribute("id", "code-annotation-line-highlight"); div.style.position = 'absolute'; parent.appendChild(div); } div.style.top = top - 2 + "px"; div.style.height = height + 4 + "px"; let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter"); if (gutterDiv === null) { gutterDiv = window.document.createElement("div"); gutterDiv.setAttribute("id", "code-annotation-line-highlight-gutter"); gutterDiv.style.position = 'absolute'; const codeCell = window.document.getElementById(targetCell); const gutter = codeCell.querySelector('.code-annotation-gutter'); gutter.appendChild(gutterDiv); } gutterDiv.style.top = top - 2 + "px"; gutterDiv.style.height = height + 4 + "px"; } selectedAnnoteEl = annoteEl; } }; const unselectCodeLines = () => { const elementsIds = ["code-annotation-line-highlight", "code-annotation-line-highlight-gutter"]; elementsIds.forEach((elId) => { const div = window.document.getElementById(elId); if (div) { div.remove(); } }); selectedAnnoteEl = undefined; }; // Attach click handler to the DT const annoteDls = window.document.querySelectorAll('dt[data-target-cell]'); for (const annoteDlNode of annoteDls) { annoteDlNode.addEventListener('click', (event) => { const clickedEl = event.target; if (clickedEl !== selectedAnnoteEl) { unselectCodeLines(); const activeEl = window.document.querySelector('dt[data-target-cell].code-annotation-active'); if (activeEl) { activeEl.classList.remove('code-annotation-active'); } selectCodeLines(clickedEl); clickedEl.classList.add('code-annotation-active'); } else { // Unselect the line unselectCodeLines(); clickedEl.classList.remove('code-annotation-active'); } }); } const findCites = (el) => { const parentEl = el.parentElement; if (parentEl) { const cites = parentEl.dataset.cites; if (cites) { return { el, cites: cites.split(' ') }; } else { return findCites(el.parentElement) } } else { return undefined; } }; var bibliorefs = window.document.querySelectorAll('a[role="doc-biblioref"]'); for (var i=0; i<bibliorefs.length; i++) { const ref = bibliorefs[i]; const citeInfo = findCites(ref); if (citeInfo) { tippyHover(citeInfo.el, function() { var popup = window.document.createElement('div'); citeInfo.cites.forEach(function(cite) { var citeDiv = window.document.createElement('div'); citeDiv.classList.add('hanging-indent'); citeDiv.classList.add('csl-entry'); var biblioDiv = window.document.getElementById('ref-' + cite); if (biblioDiv) { citeDiv.innerHTML = biblioDiv.innerHTML; } popup.appendChild(citeDiv); }); return popup.innerHTML; }); } }});</script><nav class="page-navigation"> <div class="nav-page nav-page-previous"> <a href="./summary.html" class="pagination-link"> <i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">2</span> <span class="chapter-title">Summary</span></span> </a> </div> <div class="nav-page nav-page-next"> </div></nav></div> <!-- /content -->
</body></html>1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465[ { "objectID": "index.html", "href": "index.html", "title": "Codewars Challenge 2024 Using R and RStudio", "section": "", "text": "Preface\nBuku ini adalah catatan penyelesaian dalam mengerjakan tantangan-tantangan logika dan pemrograman Codewars menggunakan R dan RStudio selama tahun 2024.\nHal ini terisnpirasi dari kegiatan di YouTube nya Pak Sandhika Galih WPU." }, { "objectID": "intro.html", "href": "intro.html", "title": "Introduction", "section": "", "text": "This is a book created from markdown and executable code.\nSee Knuth (1984) for additional discussion of literate programming.\n\n1 + 1\n\n[1] 2\n\n\n\n\n\n\nKnuth, Donald E. 1984. “Literate Programming.” Comput. J. 27 (2): 97–111. https://doi.org/10.1093/comjnl/27.2.97." }, { "objectID": "summary.html", "href": "summary.html", "title": "2 Summary", "section": "", "text": "In summary, this book has no content whatsoever.\n\n1 + 1\n\n[1] 2" }, { "objectID": "references.html", "href": "references.html", "title": "References", "section": "", "text": "Knuth, Donald E. 1984. “Literate Programming.” Comput.\nJ. 27 (2): 97–111. https://doi.org/10.1093/comjnl/27.2.97." }, { "objectID": "001-reducegrow.html#youtube-video", "href": "001-reducegrow.html#youtube-video", "title": "1 Beginner - Reduce but Grow", "section": "1.1 YouTube Video", "text": "1.1 YouTube Video" }, { "objectID": "001-reducegrow.html#solution-code", "href": "001-reducegrow.html#solution-code", "title": "1 Beginner - Reduce but Grow", "section": "1.2 Solution Code", "text": "1.2 Solution Code\nSolusi bar-bar\n\ngrow <- function(arr) {\n result <- 1\n for(i in arr){\n result <- result * i\n }\n return(result)\n}\n\nSolusi simple\n\n# grow <- function(arr) prod(arr)\ngrow <- prod" }, { "objectID": "001-reducegrow.html#test", "href": "001-reducegrow.html#test", "title": "1 Beginner - Reduce but Grow", "section": "1.3 Test", "text": "1.3 Test\n\nlibrary(testthat)\ntest_that(\"basic tests\", {\n expect_equal(grow(c(1, 2, 3)), 6)\n expect_equal(grow(c(4, 1, 1, 1, 4)), 16)\n expect_equal(grow(c(2, 2, 2, 2, 2, 2)), 64)\n})\n\nTest passed 😀" }, { "objectID": "001-reducegrow.html#supported-by", "href": "001-reducegrow.html#supported-by", "title": "1 Beginner - Reduce but Grow", "section": "1.4 Supported by", "text": "1.4 Supported by\n\n\n\nStarCore Analytics" }, { "objectID": "index.html#supported-by", "href": "index.html#supported-by", "title": "Codewars Challenge 2024 Using R and RStudio", "section": "Supported by", "text": "Supported by\n\n\n\nStarCore Analytics" }]12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018@font-face { font-display: block; font-family: "bootstrap-icons"; src: url("./bootstrap-icons.woff?2ab2cbbe07fcebb53bdaa7313bb290f2") format("woff");}
.bi::before,[class^="bi-"]::before,[class*=" bi-"]::before { display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-weight: normal !important; font-variant: normal; text-transform: none; line-height: 1; vertical-align: -.125em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
.bi-123::before { content: "\f67f"; }.bi-alarm-fill::before { content: "\f101"; }.bi-alarm::before { content: "\f102"; }.bi-align-bottom::before { content: "\f103"; }.bi-align-center::before { content: "\f104"; }.bi-align-end::before { content: "\f105"; }.bi-align-middle::before { content: "\f106"; }.bi-align-start::before { content: "\f107"; }.bi-align-top::before { content: "\f108"; }.bi-alt::before { content: "\f109"; }.bi-app-indicator::before { content: "\f10a"; }.bi-app::before { content: "\f10b"; }.bi-archive-fill::before { content: "\f10c"; }.bi-archive::before { content: "\f10d"; }.bi-arrow-90deg-down::before { content: "\f10e"; }.bi-arrow-90deg-left::before { content: "\f10f"; }.bi-arrow-90deg-right::before { content: "\f110"; }.bi-arrow-90deg-up::before { content: "\f111"; }.bi-arrow-bar-down::before { content: "\f112"; }.bi-arrow-bar-left::before { content: "\f113"; }.bi-arrow-bar-right::before { content: "\f114"; }.bi-arrow-bar-up::before { content: "\f115"; }.bi-arrow-clockwise::before { content: "\f116"; }.bi-arrow-counterclockwise::before { content: "\f117"; }.bi-arrow-down-circle-fill::before { content: "\f118"; }.bi-arrow-down-circle::before { content: "\f119"; }.bi-arrow-down-left-circle-fill::before { content: "\f11a"; }.bi-arrow-down-left-circle::before { content: "\f11b"; }.bi-arrow-down-left-square-fill::before { content: "\f11c"; }.bi-arrow-down-left-square::before { content: "\f11d"; }.bi-arrow-down-left::before { content: "\f11e"; }.bi-arrow-down-right-circle-fill::before { content: "\f11f"; }.bi-arrow-down-right-circle::before { content: "\f120"; }.bi-arrow-down-right-square-fill::before { content: "\f121"; }.bi-arrow-down-right-square::before { content: "\f122"; }.bi-arrow-down-right::before { content: "\f123"; }.bi-arrow-down-short::before { content: "\f124"; }.bi-arrow-down-square-fill::before { content: "\f125"; }.bi-arrow-down-square::before { content: "\f126"; }.bi-arrow-down-up::before { content: "\f127"; }.bi-arrow-down::before { content: "\f128"; }.bi-arrow-left-circle-fill::before { content: "\f129"; }.bi-arrow-left-circle::before { content: "\f12a"; }.bi-arrow-left-right::before { content: "\f12b"; }.bi-arrow-left-short::before { content: "\f12c"; }.bi-arrow-left-square-fill::before { content: "\f12d"; }.bi-arrow-left-square::before { content: "\f12e"; }.bi-arrow-left::before { content: "\f12f"; }.bi-arrow-repeat::before { content: "\f130"; }.bi-arrow-return-left::before { content: "\f131"; }.bi-arrow-return-right::before { content: "\f132"; }.bi-arrow-right-circle-fill::before { content: "\f133"; }.bi-arrow-right-circle::before { content: "\f134"; }.bi-arrow-right-short::before { content: "\f135"; }.bi-arrow-right-square-fill::before { content: "\f136"; }.bi-arrow-right-square::before { content: "\f137"; }.bi-arrow-right::before { content: "\f138"; }.bi-arrow-up-circle-fill::before { content: "\f139"; }.bi-arrow-up-circle::before { content: "\f13a"; }.bi-arrow-up-left-circle-fill::before { content: "\f13b"; }.bi-arrow-up-left-circle::before { content: "\f13c"; }.bi-arrow-up-left-square-fill::before { content: "\f13d"; }.bi-arrow-up-left-square::before { content: "\f13e"; }.bi-arrow-up-left::before { content: "\f13f"; }.bi-arrow-up-right-circle-fill::before { content: "\f140"; }.bi-arrow-up-right-circle::before { content: "\f141"; }.bi-arrow-up-right-square-fill::before { content: "\f142"; }.bi-arrow-up-right-square::before { content: "\f143"; }.bi-arrow-up-right::before { content: "\f144"; }.bi-arrow-up-short::before { content: "\f145"; }.bi-arrow-up-square-fill::before { content: "\f146"; }.bi-arrow-up-square::before { content: "\f147"; }.bi-arrow-up::before { content: "\f148"; }.bi-arrows-angle-contract::before { content: "\f149"; }.bi-arrows-angle-expand::before { content: "\f14a"; }.bi-arrows-collapse::before { content: "\f14b"; }.bi-arrows-expand::before { content: "\f14c"; }.bi-arrows-fullscreen::before { content: "\f14d"; }.bi-arrows-move::before { content: "\f14e"; }.bi-aspect-ratio-fill::before { content: "\f14f"; }.bi-aspect-ratio::before { content: "\f150"; }.bi-asterisk::before { content: "\f151"; }.bi-at::before { content: "\f152"; }.bi-award-fill::before { content: "\f153"; }.bi-award::before { content: "\f154"; }.bi-back::before { content: "\f155"; }.bi-backspace-fill::before { content: "\f156"; }.bi-backspace-reverse-fill::before { content: "\f157"; }.bi-backspace-reverse::before { content: "\f158"; }.bi-backspace::before { content: "\f159"; }.bi-badge-3d-fill::before { content: "\f15a"; }.bi-badge-3d::before { content: "\f15b"; }.bi-badge-4k-fill::before { content: "\f15c"; }.bi-badge-4k::before { content: "\f15d"; }.bi-badge-8k-fill::before { content: "\f15e"; }.bi-badge-8k::before { content: "\f15f"; }.bi-badge-ad-fill::before { content: "\f160"; }.bi-badge-ad::before { content: "\f161"; }.bi-badge-ar-fill::before { content: "\f162"; }.bi-badge-ar::before { content: "\f163"; }.bi-badge-cc-fill::before { content: "\f164"; }.bi-badge-cc::before { content: "\f165"; }.bi-badge-hd-fill::before { content: "\f166"; }.bi-badge-hd::before { content: "\f167"; }.bi-badge-tm-fill::before { content: "\f168"; }.bi-badge-tm::before { content: "\f169"; }.bi-badge-vo-fill::before { content: "\f16a"; }.bi-badge-vo::before { content: "\f16b"; }.bi-badge-vr-fill::before { content: "\f16c"; }.bi-badge-vr::before { content: "\f16d"; }.bi-badge-wc-fill::before { content: "\f16e"; }.bi-badge-wc::before { content: "\f16f"; }.bi-bag-check-fill::before { content: "\f170"; }.bi-bag-check::before { content: "\f171"; }.bi-bag-dash-fill::before { content: "\f172"; }.bi-bag-dash::before { content: "\f173"; }.bi-bag-fill::before { content: "\f174"; }.bi-bag-plus-fill::before { content: "\f175"; }.bi-bag-plus::before { content: "\f176"; }.bi-bag-x-fill::before { content: "\f177"; }.bi-bag-x::before { content: "\f178"; }.bi-bag::before { content: "\f179"; }.bi-bar-chart-fill::before { content: "\f17a"; }.bi-bar-chart-line-fill::before { content: "\f17b"; }.bi-bar-chart-line::before { content: "\f17c"; }.bi-bar-chart-steps::before { content: "\f17d"; }.bi-bar-chart::before { content: "\f17e"; }.bi-basket-fill::before { content: "\f17f"; }.bi-basket::before { content: "\f180"; }.bi-basket2-fill::before { content: "\f181"; }.bi-basket2::before { content: "\f182"; }.bi-basket3-fill::before { content: "\f183"; }.bi-basket3::before { content: "\f184"; }.bi-battery-charging::before { content: "\f185"; }.bi-battery-full::before { content: "\f186"; }.bi-battery-half::before { content: "\f187"; }.bi-battery::before { content: "\f188"; }.bi-bell-fill::before { content: "\f189"; }.bi-bell::before { content: "\f18a"; }.bi-bezier::before { content: "\f18b"; }.bi-bezier2::before { content: "\f18c"; }.bi-bicycle::before { content: "\f18d"; }.bi-binoculars-fill::before { content: "\f18e"; }.bi-binoculars::before { content: "\f18f"; }.bi-blockquote-left::before { content: "\f190"; }.bi-blockquote-right::before { content: "\f191"; }.bi-book-fill::before { content: "\f192"; }.bi-book-half::before { content: "\f193"; }.bi-book::before { content: "\f194"; }.bi-bookmark-check-fill::before { content: "\f195"; }.bi-bookmark-check::before { content: "\f196"; }.bi-bookmark-dash-fill::before { content: "\f197"; }.bi-bookmark-dash::before { content: "\f198"; }.bi-bookmark-fill::before { content: "\f199"; }.bi-bookmark-heart-fill::before { content: "\f19a"; }.bi-bookmark-heart::before { content: "\f19b"; }.bi-bookmark-plus-fill::before { content: "\f19c"; }.bi-bookmark-plus::before { content: "\f19d"; }.bi-bookmark-star-fill::before { content: "\f19e"; }.bi-bookmark-star::before { content: "\f19f"; }.bi-bookmark-x-fill::before { content: "\f1a0"; }.bi-bookmark-x::before { content: "\f1a1"; }.bi-bookmark::before { content: "\f1a2"; }.bi-bookmarks-fill::before { content: "\f1a3"; }.bi-bookmarks::before { content: "\f1a4"; }.bi-bookshelf::before { content: "\f1a5"; }.bi-bootstrap-fill::before { content: "\f1a6"; }.bi-bootstrap-reboot::before { content: "\f1a7"; }.bi-bootstrap::before { content: "\f1a8"; }.bi-border-all::before { content: "\f1a9"; }.bi-border-bottom::before { content: "\f1aa"; }.bi-border-center::before { content: "\f1ab"; }.bi-border-inner::before { content: "\f1ac"; }.bi-border-left::before { content: "\f1ad"; }.bi-border-middle::before { content: "\f1ae"; }.bi-border-outer::before { content: "\f1af"; }.bi-border-right::before { content: "\f1b0"; }.bi-border-style::before { content: "\f1b1"; }.bi-border-top::before { content: "\f1b2"; }.bi-border-width::before { content: "\f1b3"; }.bi-border::before { content: "\f1b4"; }.bi-bounding-box-circles::before { content: "\f1b5"; }.bi-bounding-box::before { content: "\f1b6"; }.bi-box-arrow-down-left::before { content: "\f1b7"; }.bi-box-arrow-down-right::before { content: "\f1b8"; }.bi-box-arrow-down::before { content: "\f1b9"; }.bi-box-arrow-in-down-left::before { content: "\f1ba"; }.bi-box-arrow-in-down-right::before { content: "\f1bb"; }.bi-box-arrow-in-down::before { content: "\f1bc"; }.bi-box-arrow-in-left::before { content: "\f1bd"; }.bi-box-arrow-in-right::before { content: "\f1be"; }.bi-box-arrow-in-up-left::before { content: "\f1bf"; }.bi-box-arrow-in-up-right::before { content: "\f1c0"; }.bi-box-arrow-in-up::before { content: "\f1c1"; }.bi-box-arrow-left::before { content: "\f1c2"; }.bi-box-arrow-right::before { content: "\f1c3"; }.bi-box-arrow-up-left::before { content: "\f1c4"; }.bi-box-arrow-up-right::before { content: "\f1c5"; }.bi-box-arrow-up::before { content: "\f1c6"; }.bi-box-seam::before { content: "\f1c7"; }.bi-box::before { content: "\f1c8"; }.bi-braces::before { content: "\f1c9"; }.bi-bricks::before { content: "\f1ca"; }.bi-briefcase-fill::before { content: "\f1cb"; }.bi-briefcase::before { content: "\f1cc"; }.bi-brightness-alt-high-fill::before { content: "\f1cd"; }.bi-brightness-alt-high::before { content: "\f1ce"; }.bi-brightness-alt-low-fill::before { content: "\f1cf"; }.bi-brightness-alt-low::before { content: "\f1d0"; }.bi-brightness-high-fill::before { content: "\f1d1"; }.bi-brightness-high::before { content: "\f1d2"; }.bi-brightness-low-fill::before { content: "\f1d3"; }.bi-brightness-low::before { content: "\f1d4"; }.bi-broadcast-pin::before { content: "\f1d5"; }.bi-broadcast::before { content: "\f1d6"; }.bi-brush-fill::before { content: "\f1d7"; }.bi-brush::before { content: "\f1d8"; }.bi-bucket-fill::before { content: "\f1d9"; }.bi-bucket::before { content: "\f1da"; }.bi-bug-fill::before { content: "\f1db"; }.bi-bug::before { content: "\f1dc"; }.bi-building::before { content: "\f1dd"; }.bi-bullseye::before { content: "\f1de"; }.bi-calculator-fill::before { content: "\f1df"; }.bi-calculator::before { content: "\f1e0"; }.bi-calendar-check-fill::before { content: "\f1e1"; }.bi-calendar-check::before { content: "\f1e2"; }.bi-calendar-date-fill::before { content: "\f1e3"; }.bi-calendar-date::before { content: "\f1e4"; }.bi-calendar-day-fill::before { content: "\f1e5"; }.bi-calendar-day::before { content: "\f1e6"; }.bi-calendar-event-fill::before { content: "\f1e7"; }.bi-calendar-event::before { content: "\f1e8"; }.bi-calendar-fill::before { content: "\f1e9"; }.bi-calendar-minus-fill::before { content: "\f1ea"; }.bi-calendar-minus::before { content: "\f1eb"; }.bi-calendar-month-fill::before { content: "\f1ec"; }.bi-calendar-month::before { content: "\f1ed"; }.bi-calendar-plus-fill::before { content: "\f1ee"; }.bi-calendar-plus::before { content: "\f1ef"; }.bi-calendar-range-fill::before { content: "\f1f0"; }.bi-calendar-range::before { content: "\f1f1"; }.bi-calendar-week-fill::before { content: "\f1f2"; }.bi-calendar-week::before { content: "\f1f3"; }.bi-calendar-x-fill::before { content: "\f1f4"; }.bi-calendar-x::before { content: "\f1f5"; }.bi-calendar::before { content: "\f1f6"; }.bi-calendar2-check-fill::before { content: "\f1f7"; }.bi-calendar2-check::before { content: "\f1f8"; }.bi-calendar2-date-fill::before { content: "\f1f9"; }.bi-calendar2-date::before { content: "\f1fa"; }.bi-calendar2-day-fill::before { content: "\f1fb"; }.bi-calendar2-day::before { content: "\f1fc"; }.bi-calendar2-event-fill::before { content: "\f1fd"; }.bi-calendar2-event::before { content: "\f1fe"; }.bi-calendar2-fill::before { content: "\f1ff"; }.bi-calendar2-minus-fill::before { content: "\f200"; }.bi-calendar2-minus::before { content: "\f201"; }.bi-calendar2-month-fill::before { content: "\f202"; }.bi-calendar2-month::before { content: "\f203"; }.bi-calendar2-plus-fill::before { content: "\f204"; }.bi-calendar2-plus::before { content: "\f205"; }.bi-calendar2-range-fill::before { content: "\f206"; }.bi-calendar2-range::before { content: "\f207"; }.bi-calendar2-week-fill::before { content: "\f208"; }.bi-calendar2-week::before { content: "\f209"; }.bi-calendar2-x-fill::before { content: "\f20a"; }.bi-calendar2-x::before { content: "\f20b"; }.bi-calendar2::before { content: "\f20c"; }.bi-calendar3-event-fill::before { content: "\f20d"; }.bi-calendar3-event::before { content: "\f20e"; }.bi-calendar3-fill::before { content: "\f20f"; }.bi-calendar3-range-fill::before { content: "\f210"; }.bi-calendar3-range::before { content: "\f211"; }.bi-calendar3-week-fill::before { content: "\f212"; }.bi-calendar3-week::before { content: "\f213"; }.bi-calendar3::before { content: "\f214"; }.bi-calendar4-event::before { content: "\f215"; }.bi-calendar4-range::before { content: "\f216"; }.bi-calendar4-week::before { content: "\f217"; }.bi-calendar4::before { content: "\f218"; }.bi-camera-fill::before { content: "\f219"; }.bi-camera-reels-fill::before { content: "\f21a"; }.bi-camera-reels::before { content: "\f21b"; }.bi-camera-video-fill::before { content: "\f21c"; }.bi-camera-video-off-fill::before { content: "\f21d"; }.bi-camera-video-off::before { content: "\f21e"; }.bi-camera-video::before { content: "\f21f"; }.bi-camera::before { content: "\f220"; }.bi-camera2::before { content: "\f221"; }.bi-capslock-fill::before { content: "\f222"; }.bi-capslock::before { content: "\f223"; }.bi-card-checklist::before { content: "\f224"; }.bi-card-heading::before { content: "\f225"; }.bi-card-image::before { content: "\f226"; }.bi-card-list::before { content: "\f227"; }.bi-card-text::before { content: "\f228"; }.bi-caret-down-fill::before { content: "\f229"; }.bi-caret-down-square-fill::before { content: "\f22a"; }.bi-caret-down-square::before { content: "\f22b"; }.bi-caret-down::before { content: "\f22c"; }.bi-caret-left-fill::before { content: "\f22d"; }.bi-caret-left-square-fill::before { content: "\f22e"; }.bi-caret-left-square::before { content: "\f22f"; }.bi-caret-left::before { content: "\f230"; }.bi-caret-right-fill::before { content: "\f231"; }.bi-caret-right-square-fill::before { content: "\f232"; }.bi-caret-right-square::before { content: "\f233"; }.bi-caret-right::before { content: "\f234"; }.bi-caret-up-fill::before { content: "\f235"; }.bi-caret-up-square-fill::before { content: "\f236"; }.bi-caret-up-square::before { content: "\f237"; }.bi-caret-up::before { content: "\f238"; }.bi-cart-check-fill::before { content: "\f239"; }.bi-cart-check::before { content: "\f23a"; }.bi-cart-dash-fill::before { content: "\f23b"; }.bi-cart-dash::before { content: "\f23c"; }.bi-cart-fill::before { content: "\f23d"; }.bi-cart-plus-fill::before { content: "\f23e"; }.bi-cart-plus::before { content: "\f23f"; }.bi-cart-x-fill::before { content: "\f240"; }.bi-cart-x::before { content: "\f241"; }.bi-cart::before { content: "\f242"; }.bi-cart2::before { content: "\f243"; }.bi-cart3::before { content: "\f244"; }.bi-cart4::before { content: "\f245"; }.bi-cash-stack::before { content: "\f246"; }.bi-cash::before { content: "\f247"; }.bi-cast::before { content: "\f248"; }.bi-chat-dots-fill::before { content: "\f249"; }.bi-chat-dots::before { content: "\f24a"; }.bi-chat-fill::before { content: "\f24b"; }.bi-chat-left-dots-fill::before { content: "\f24c"; }.bi-chat-left-dots::before { content: "\f24d"; }.bi-chat-left-fill::before { content: "\f24e"; }.bi-chat-left-quote-fill::before { content: "\f24f"; }.bi-chat-left-quote::before { content: "\f250"; }.bi-chat-left-text-fill::before { content: "\f251"; }.bi-chat-left-text::before { content: "\f252"; }.bi-chat-left::before { content: "\f253"; }.bi-chat-quote-fill::before { content: "\f254"; }.bi-chat-quote::before { content: "\f255"; }.bi-chat-right-dots-fill::before { content: "\f256"; }.bi-chat-right-dots::before { content: "\f257"; }.bi-chat-right-fill::before { content: "\f258"; }.bi-chat-right-quote-fill::before { content: "\f259"; }.bi-chat-right-quote::before { content: "\f25a"; }.bi-chat-right-text-fill::before { content: "\f25b"; }.bi-chat-right-text::before { content: "\f25c"; }.bi-chat-right::before { content: "\f25d"; }.bi-chat-square-dots-fill::before { content: "\f25e"; }.bi-chat-square-dots::before { content: "\f25f"; }.bi-chat-square-fill::before { content: "\f260"; }.bi-chat-square-quote-fill::before { content: "\f261"; }.bi-chat-square-quote::before { content: "\f262"; }.bi-chat-square-text-fill::before { content: "\f263"; }.bi-chat-square-text::before { content: "\f264"; }.bi-chat-square::before { content: "\f265"; }.bi-chat-text-fill::before { content: "\f266"; }.bi-chat-text::before { content: "\f267"; }.bi-chat::before { content: "\f268"; }.bi-check-all::before { content: "\f269"; }.bi-check-circle-fill::before { content: "\f26a"; }.bi-check-circle::before { content: "\f26b"; }.bi-check-square-fill::before { content: "\f26c"; }.bi-check-square::before { content: "\f26d"; }.bi-check::before { content: "\f26e"; }.bi-check2-all::before { content: "\f26f"; }.bi-check2-circle::before { content: "\f270"; }.bi-check2-square::before { content: "\f271"; }.bi-check2::before { content: "\f272"; }.bi-chevron-bar-contract::before { content: "\f273"; }.bi-chevron-bar-down::before { content: "\f274"; }.bi-chevron-bar-expand::before { content: "\f275"; }.bi-chevron-bar-left::before { content: "\f276"; }.bi-chevron-bar-right::before { content: "\f277"; }.bi-chevron-bar-up::before { content: "\f278"; }.bi-chevron-compact-down::before { content: "\f279"; }.bi-chevron-compact-left::before { content: "\f27a"; }.bi-chevron-compact-right::before { content: "\f27b"; }.bi-chevron-compact-up::before { content: "\f27c"; }.bi-chevron-contract::before { content: "\f27d"; }.bi-chevron-double-down::before { content: "\f27e"; }.bi-chevron-double-left::before { content: "\f27f"; }.bi-chevron-double-right::before { content: "\f280"; }.bi-chevron-double-up::before { content: "\f281"; }.bi-chevron-down::before { content: "\f282"; }.bi-chevron-expand::before { content: "\f283"; }.bi-chevron-left::before { content: "\f284"; }.bi-chevron-right::before { content: "\f285"; }.bi-chevron-up::before { content: "\f286"; }.bi-circle-fill::before { content: "\f287"; }.bi-circle-half::before { content: "\f288"; }.bi-circle-square::before { content: "\f289"; }.bi-circle::before { content: "\f28a"; }.bi-clipboard-check::before { content: "\f28b"; }.bi-clipboard-data::before { content: "\f28c"; }.bi-clipboard-minus::before { content: "\f28d"; }.bi-clipboard-plus::before { content: "\f28e"; }.bi-clipboard-x::before { content: "\f28f"; }.bi-clipboard::before { content: "\f290"; }.bi-clock-fill::before { content: "\f291"; }.bi-clock-history::before { content: "\f292"; }.bi-clock::before { content: "\f293"; }.bi-cloud-arrow-down-fill::before { content: "\f294"; }.bi-cloud-arrow-down::before { content: "\f295"; }.bi-cloud-arrow-up-fill::before { content: "\f296"; }.bi-cloud-arrow-up::before { content: "\f297"; }.bi-cloud-check-fill::before { content: "\f298"; }.bi-cloud-check::before { content: "\f299"; }.bi-cloud-download-fill::before { content: "\f29a"; }.bi-cloud-download::before { content: "\f29b"; }.bi-cloud-drizzle-fill::before { content: "\f29c"; }.bi-cloud-drizzle::before { content: "\f29d"; }.bi-cloud-fill::before { content: "\f29e"; }.bi-cloud-fog-fill::before { content: "\f29f"; }.bi-cloud-fog::before { content: "\f2a0"; }.bi-cloud-fog2-fill::before { content: "\f2a1"; }.bi-cloud-fog2::before { content: "\f2a2"; }.bi-cloud-hail-fill::before { content: "\f2a3"; }.bi-cloud-hail::before { content: "\f2a4"; }.bi-cloud-haze-1::before { content: "\f2a5"; }.bi-cloud-haze-fill::before { content: "\f2a6"; }.bi-cloud-haze::before { content: "\f2a7"; }.bi-cloud-haze2-fill::before { content: "\f2a8"; }.bi-cloud-lightning-fill::before { content: "\f2a9"; }.bi-cloud-lightning-rain-fill::before { content: "\f2aa"; }.bi-cloud-lightning-rain::before { content: "\f2ab"; }.bi-cloud-lightning::before { content: "\f2ac"; }.bi-cloud-minus-fill::before { content: "\f2ad"; }.bi-cloud-minus::before { content: "\f2ae"; }.bi-cloud-moon-fill::before { content: "\f2af"; }.bi-cloud-moon::before { content: "\f2b0"; }.bi-cloud-plus-fill::before { content: "\f2b1"; }.bi-cloud-plus::before { content: "\f2b2"; }.bi-cloud-rain-fill::before { content: "\f2b3"; }.bi-cloud-rain-heavy-fill::before { content: "\f2b4"; }.bi-cloud-rain-heavy::before { content: "\f2b5"; }.bi-cloud-rain::before { content: "\f2b6"; }.bi-cloud-slash-fill::before { content: "\f2b7"; }.bi-cloud-slash::before { content: "\f2b8"; }.bi-cloud-sleet-fill::before { content: "\f2b9"; }.bi-cloud-sleet::before { content: "\f2ba"; }.bi-cloud-snow-fill::before { content: "\f2bb"; }.bi-cloud-snow::before { content: "\f2bc"; }.bi-cloud-sun-fill::before { content: "\f2bd"; }.bi-cloud-sun::before { content: "\f2be"; }.bi-cloud-upload-fill::before { content: "\f2bf"; }.bi-cloud-upload::before { content: "\f2c0"; }.bi-cloud::before { content: "\f2c1"; }.bi-clouds-fill::before { content: "\f2c2"; }.bi-clouds::before { content: "\f2c3"; }.bi-cloudy-fill::before { content: "\f2c4"; }.bi-cloudy::before { content: "\f2c5"; }.bi-code-slash::before { content: "\f2c6"; }.bi-code-square::before { content: "\f2c7"; }.bi-code::before { content: "\f2c8"; }.bi-collection-fill::before { content: "\f2c9"; }.bi-collection-play-fill::before { content: "\f2ca"; }.bi-collection-play::before { content: "\f2cb"; }.bi-collection::before { content: "\f2cc"; }.bi-columns-gap::before { content: "\f2cd"; }.bi-columns::before { content: "\f2ce"; }.bi-command::before { content: "\f2cf"; }.bi-compass-fill::before { content: "\f2d0"; }.bi-compass::before { content: "\f2d1"; }.bi-cone-striped::before { content: "\f2d2"; }.bi-cone::before { content: "\f2d3"; }.bi-controller::before { content: "\f2d4"; }.bi-cpu-fill::before { content: "\f2d5"; }.bi-cpu::before { content: "\f2d6"; }.bi-credit-card-2-back-fill::before { content: "\f2d7"; }.bi-credit-card-2-back::before { content: "\f2d8"; }.bi-credit-card-2-front-fill::before { content: "\f2d9"; }.bi-credit-card-2-front::before { content: "\f2da"; }.bi-credit-card-fill::before { content: "\f2db"; }.bi-credit-card::before { content: "\f2dc"; }.bi-crop::before { content: "\f2dd"; }.bi-cup-fill::before { content: "\f2de"; }.bi-cup-straw::before { content: "\f2df"; }.bi-cup::before { content: "\f2e0"; }.bi-cursor-fill::before { content: "\f2e1"; }.bi-cursor-text::before { content: "\f2e2"; }.bi-cursor::before { content: "\f2e3"; }.bi-dash-circle-dotted::before { content: "\f2e4"; }.bi-dash-circle-fill::before { content: "\f2e5"; }.bi-dash-circle::before { content: "\f2e6"; }.bi-dash-square-dotted::before { content: "\f2e7"; }.bi-dash-square-fill::before { content: "\f2e8"; }.bi-dash-square::before { content: "\f2e9"; }.bi-dash::before { content: "\f2ea"; }.bi-diagram-2-fill::before { content: "\f2eb"; }.bi-diagram-2::before { content: "\f2ec"; }.bi-diagram-3-fill::before { content: "\f2ed"; }.bi-diagram-3::before { content: "\f2ee"; }.bi-diamond-fill::before { content: "\f2ef"; }.bi-diamond-half::before { content: "\f2f0"; }.bi-diamond::before { content: "\f2f1"; }.bi-dice-1-fill::before { content: "\f2f2"; }.bi-dice-1::before { content: "\f2f3"; }.bi-dice-2-fill::before { content: "\f2f4"; }.bi-dice-2::before { content: "\f2f5"; }.bi-dice-3-fill::before { content: "\f2f6"; }.bi-dice-3::before { content: "\f2f7"; }.bi-dice-4-fill::before { content: "\f2f8"; }.bi-dice-4::before { content: "\f2f9"; }.bi-dice-5-fill::before { content: "\f2fa"; }.bi-dice-5::before { content: "\f2fb"; }.bi-dice-6-fill::before { content: "\f2fc"; }.bi-dice-6::before { content: "\f2fd"; }.bi-disc-fill::before { content: "\f2fe"; }.bi-disc::before { content: "\f2ff"; }.bi-discord::before { content: "\f300"; }.bi-display-fill::before { content: "\f301"; }.bi-display::before { content: "\f302"; }.bi-distribute-horizontal::before { content: "\f303"; }.bi-distribute-vertical::before { content: "\f304"; }.bi-door-closed-fill::before { content: "\f305"; }.bi-door-closed::before { content: "\f306"; }.bi-door-open-fill::before { content: "\f307"; }.bi-door-open::before { content: "\f308"; }.bi-dot::before { content: "\f309"; }.bi-download::before { content: "\f30a"; }.bi-droplet-fill::before { content: "\f30b"; }.bi-droplet-half::before { content: "\f30c"; }.bi-droplet::before { content: "\f30d"; }.bi-earbuds::before { content: "\f30e"; }.bi-easel-fill::before { content: "\f30f"; }.bi-easel::before { content: "\f310"; }.bi-egg-fill::before { content: "\f311"; }.bi-egg-fried::before { content: "\f312"; }.bi-egg::before { content: "\f313"; }.bi-eject-fill::before { content: "\f314"; }.bi-eject::before { content: "\f315"; }.bi-emoji-angry-fill::before { content: "\f316"; }.bi-emoji-angry::before { content: "\f317"; }.bi-emoji-dizzy-fill::before { content: "\f318"; }.bi-emoji-dizzy::before { content: "\f319"; }.bi-emoji-expressionless-fill::before { content: "\f31a"; }.bi-emoji-expressionless::before { content: "\f31b"; }.bi-emoji-frown-fill::before { content: "\f31c"; }.bi-emoji-frown::before { content: "\f31d"; }.bi-emoji-heart-eyes-fill::before { content: "\f31e"; }.bi-emoji-heart-eyes::before { content: "\f31f"; }.bi-emoji-laughing-fill::before { content: "\f320"; }.bi-emoji-laughing::before { content: "\f321"; }.bi-emoji-neutral-fill::before { content: "\f322"; }.bi-emoji-neutral::before { content: "\f323"; }.bi-emoji-smile-fill::before { content: "\f324"; }.bi-emoji-smile-upside-down-fill::before { content: "\f325"; }.bi-emoji-smile-upside-down::before { content: "\f326"; }.bi-emoji-smile::before { content: "\f327"; }.bi-emoji-sunglasses-fill::before { content: "\f328"; }.bi-emoji-sunglasses::before { content: "\f329"; }.bi-emoji-wink-fill::before { content: "\f32a"; }.bi-emoji-wink::before { content: "\f32b"; }.bi-envelope-fill::before { content: "\f32c"; }.bi-envelope-open-fill::before { content: "\f32d"; }.bi-envelope-open::before { content: "\f32e"; }.bi-envelope::before { content: "\f32f"; }.bi-eraser-fill::before { content: "\f330"; }.bi-eraser::before { content: "\f331"; }.bi-exclamation-circle-fill::before { content: "\f332"; }.bi-exclamation-circle::before { content: "\f333"; }.bi-exclamation-diamond-fill::before { content: "\f334"; }.bi-exclamation-diamond::before { content: "\f335"; }.bi-exclamation-octagon-fill::before { content: "\f336"; }.bi-exclamation-octagon::before { content: "\f337"; }.bi-exclamation-square-fill::before { content: "\f338"; }.bi-exclamation-square::before { content: "\f339"; }.bi-exclamation-triangle-fill::before { content: "\f33a"; }.bi-exclamation-triangle::before { content: "\f33b"; }.bi-exclamation::before { content: "\f33c"; }.bi-exclude::before { content: "\f33d"; }.bi-eye-fill::before { content: "\f33e"; }.bi-eye-slash-fill::before { content: "\f33f"; }.bi-eye-slash::before { content: "\f340"; }.bi-eye::before { content: "\f341"; }.bi-eyedropper::before { content: "\f342"; }.bi-eyeglasses::before { content: "\f343"; }.bi-facebook::before { content: "\f344"; }.bi-file-arrow-down-fill::before { content: "\f345"; }.bi-file-arrow-down::before { content: "\f346"; }.bi-file-arrow-up-fill::before { content: "\f347"; }.bi-file-arrow-up::before { content: "\f348"; }.bi-file-bar-graph-fill::before { content: "\f349"; }.bi-file-bar-graph::before { content: "\f34a"; }.bi-file-binary-fill::before { content: "\f34b"; }.bi-file-binary::before { content: "\f34c"; }.bi-file-break-fill::before { content: "\f34d"; }.bi-file-break::before { content: "\f34e"; }.bi-file-check-fill::before { content: "\f34f"; }.bi-file-check::before { content: "\f350"; }.bi-file-code-fill::before { content: "\f351"; }.bi-file-code::before { content: "\f352"; }.bi-file-diff-fill::before { content: "\f353"; }.bi-file-diff::before { content: "\f354"; }.bi-file-earmark-arrow-down-fill::before { content: "\f355"; }.bi-file-earmark-arrow-down::before { content: "\f356"; }.bi-file-earmark-arrow-up-fill::before { content: "\f357"; }.bi-file-earmark-arrow-up::before { content: "\f358"; }.bi-file-earmark-bar-graph-fill::before { content: "\f359"; }.bi-file-earmark-bar-graph::before { content: "\f35a"; }.bi-file-earmark-binary-fill::before { content: "\f35b"; }.bi-file-earmark-binary::before { content: "\f35c"; }.bi-file-earmark-break-fill::before { content: "\f35d"; }.bi-file-earmark-break::before { content: "\f35e"; }.bi-file-earmark-check-fill::before { content: "\f35f"; }.bi-file-earmark-check::before { content: "\f360"; }.bi-file-earmark-code-fill::before { content: "\f361"; }.bi-file-earmark-code::before { content: "\f362"; }.bi-file-earmark-diff-fill::before { content: "\f363"; }.bi-file-earmark-diff::before { content: "\f364"; }.bi-file-earmark-easel-fill::before { content: "\f365"; }.bi-file-earmark-easel::before { content: "\f366"; }.bi-file-earmark-excel-fill::before { content: "\f367"; }.bi-file-earmark-excel::before { content: "\f368"; }.bi-file-earmark-fill::before { content: "\f369"; }.bi-file-earmark-font-fill::before { content: "\f36a"; }.bi-file-earmark-font::before { content: "\f36b"; }.bi-file-earmark-image-fill::before { content: "\f36c"; }.bi-file-earmark-image::before { content: "\f36d"; }.bi-file-earmark-lock-fill::before { content: "\f36e"; }.bi-file-earmark-lock::before { content: "\f36f"; }.bi-file-earmark-lock2-fill::before { content: "\f370"; }.bi-file-earmark-lock2::before { content: "\f371"; }.bi-file-earmark-medical-fill::before { content: "\f372"; }.bi-file-earmark-medical::before { content: "\f373"; }.bi-file-earmark-minus-fill::before { content: "\f374"; }.bi-file-earmark-minus::before { content: "\f375"; }.bi-file-earmark-music-fill::before { content: "\f376"; }.bi-file-earmark-music::before { content: "\f377"; }.bi-file-earmark-person-fill::before { content: "\f378"; }.bi-file-earmark-person::before { content: "\f379"; }.bi-file-earmark-play-fill::before { content: "\f37a"; }.bi-file-earmark-play::before { content: "\f37b"; }.bi-file-earmark-plus-fill::before { content: "\f37c"; }.bi-file-earmark-plus::before { content: "\f37d"; }.bi-file-earmark-post-fill::before { content: "\f37e"; }.bi-file-earmark-post::before { content: "\f37f"; }.bi-file-earmark-ppt-fill::before { content: "\f380"; }.bi-file-earmark-ppt::before { content: "\f381"; }.bi-file-earmark-richtext-fill::before { content: "\f382"; }.bi-file-earmark-richtext::before { content: "\f383"; }.bi-file-earmark-ruled-fill::before { content: "\f384"; }.bi-file-earmark-ruled::before { content: "\f385"; }.bi-file-earmark-slides-fill::before { content: "\f386"; }.bi-file-earmark-slides::before { content: "\f387"; }.bi-file-earmark-spreadsheet-fill::before { content: "\f388"; }.bi-file-earmark-spreadsheet::before { content: "\f389"; }.bi-file-earmark-text-fill::before { content: "\f38a"; }.bi-file-earmark-text::before { content: "\f38b"; }.bi-file-earmark-word-fill::before { content: "\f38c"; }.bi-file-earmark-word::before { content: "\f38d"; }.bi-file-earmark-x-fill::before { content: "\f38e"; }.bi-file-earmark-x::before { content: "\f38f"; }.bi-file-earmark-zip-fill::before { content: "\f390"; }.bi-file-earmark-zip::before { content: "\f391"; }.bi-file-earmark::before { content: "\f392"; }.bi-file-easel-fill::before { content: "\f393"; }.bi-file-easel::before { content: "\f394"; }.bi-file-excel-fill::before { content: "\f395"; }.bi-file-excel::before { content: "\f396"; }.bi-file-fill::before { content: "\f397"; }.bi-file-font-fill::before { content: "\f398"; }.bi-file-font::before { content: "\f399"; }.bi-file-image-fill::before { content: "\f39a"; }.bi-file-image::before { content: "\f39b"; }.bi-file-lock-fill::before { content: "\f39c"; }.bi-file-lock::before { content: "\f39d"; }.bi-file-lock2-fill::before { content: "\f39e"; }.bi-file-lock2::before { content: "\f39f"; }.bi-file-medical-fill::before { content: "\f3a0"; }.bi-file-medical::before { content: "\f3a1"; }.bi-file-minus-fill::before { content: "\f3a2"; }.bi-file-minus::before { content: "\f3a3"; }.bi-file-music-fill::before { content: "\f3a4"; }.bi-file-music::before { content: "\f3a5"; }.bi-file-person-fill::before { content: "\f3a6"; }.bi-file-person::before { content: "\f3a7"; }.bi-file-play-fill::before { content: "\f3a8"; }.bi-file-play::before { content: "\f3a9"; }.bi-file-plus-fill::before { content: "\f3aa"; }.bi-file-plus::before { content: "\f3ab"; }.bi-file-post-fill::before { content: "\f3ac"; }.bi-file-post::before { content: "\f3ad"; }.bi-file-ppt-fill::before { content: "\f3ae"; }.bi-file-ppt::before { content: "\f3af"; }.bi-file-richtext-fill::before { content: "\f3b0"; }.bi-file-richtext::before { content: "\f3b1"; }.bi-file-ruled-fill::before { content: "\f3b2"; }.bi-file-ruled::before { content: "\f3b3"; }.bi-file-slides-fill::before { content: "\f3b4"; }.bi-file-slides::before { content: "\f3b5"; }.bi-file-spreadsheet-fill::before { content: "\f3b6"; }.bi-file-spreadsheet::before { content: "\f3b7"; }.bi-file-text-fill::before { content: "\f3b8"; }.bi-file-text::before { content: "\f3b9"; }.bi-file-word-fill::before { content: "\f3ba"; }.bi-file-word::before { content: "\f3bb"; }.bi-file-x-fill::before { content: "\f3bc"; }.bi-file-x::before { content: "\f3bd"; }.bi-file-zip-fill::before { content: "\f3be"; }.bi-file-zip::before { content: "\f3bf"; }.bi-file::before { content: "\f3c0"; }.bi-files-alt::before { content: "\f3c1"; }.bi-files::before { content: "\f3c2"; }.bi-film::before { content: "\f3c3"; }.bi-filter-circle-fill::before { content: "\f3c4"; }.bi-filter-circle::before { content: "\f3c5"; }.bi-filter-left::before { content: "\f3c6"; }.bi-filter-right::before { content: "\f3c7"; }.bi-filter-square-fill::before { content: "\f3c8"; }.bi-filter-square::before { content: "\f3c9"; }.bi-filter::before { content: "\f3ca"; }.bi-flag-fill::before { content: "\f3cb"; }.bi-flag::before { content: "\f3cc"; }.bi-flower1::before { content: "\f3cd"; }.bi-flower2::before { content: "\f3ce"; }.bi-flower3::before { content: "\f3cf"; }.bi-folder-check::before { content: "\f3d0"; }.bi-folder-fill::before { content: "\f3d1"; }.bi-folder-minus::before { content: "\f3d2"; }.bi-folder-plus::before { content: "\f3d3"; }.bi-folder-symlink-fill::before { content: "\f3d4"; }.bi-folder-symlink::before { content: "\f3d5"; }.bi-folder-x::before { content: "\f3d6"; }.bi-folder::before { content: "\f3d7"; }.bi-folder2-open::before { content: "\f3d8"; }.bi-folder2::before { content: "\f3d9"; }.bi-fonts::before { content: "\f3da"; }.bi-forward-fill::before { content: "\f3db"; }.bi-forward::before { content: "\f3dc"; }.bi-front::before { content: "\f3dd"; }.bi-fullscreen-exit::before { content: "\f3de"; }.bi-fullscreen::before { content: "\f3df"; }.bi-funnel-fill::before { content: "\f3e0"; }.bi-funnel::before { content: "\f3e1"; }.bi-gear-fill::before { content: "\f3e2"; }.bi-gear-wide-connected::before { content: "\f3e3"; }.bi-gear-wide::before { content: "\f3e4"; }.bi-gear::before { content: "\f3e5"; }.bi-gem::before { content: "\f3e6"; }.bi-geo-alt-fill::before { content: "\f3e7"; }.bi-geo-alt::before { content: "\f3e8"; }.bi-geo-fill::before { content: "\f3e9"; }.bi-geo::before { content: "\f3ea"; }.bi-gift-fill::before { content: "\f3eb"; }.bi-gift::before { content: "\f3ec"; }.bi-github::before { content: "\f3ed"; }.bi-globe::before { content: "\f3ee"; }.bi-globe2::before { content: "\f3ef"; }.bi-google::before { content: "\f3f0"; }.bi-graph-down::before { content: "\f3f1"; }.bi-graph-up::before { content: "\f3f2"; }.bi-grid-1x2-fill::before { content: "\f3f3"; }.bi-grid-1x2::before { content: "\f3f4"; }.bi-grid-3x2-gap-fill::before { content: "\f3f5"; }.bi-grid-3x2-gap::before { content: "\f3f6"; }.bi-grid-3x2::before { content: "\f3f7"; }.bi-grid-3x3-gap-fill::before { content: "\f3f8"; }.bi-grid-3x3-gap::before { content: "\f3f9"; }.bi-grid-3x3::before { content: "\f3fa"; }.bi-grid-fill::before { content: "\f3fb"; }.bi-grid::before { content: "\f3fc"; }.bi-grip-horizontal::before { content: "\f3fd"; }.bi-grip-vertical::before { content: "\f3fe"; }.bi-hammer::before { content: "\f3ff"; }.bi-hand-index-fill::before { content: "\f400"; }.bi-hand-index-thumb-fill::before { content: "\f401"; }.bi-hand-index-thumb::before { content: "\f402"; }.bi-hand-index::before { content: "\f403"; }.bi-hand-thumbs-down-fill::before { content: "\f404"; }.bi-hand-thumbs-down::before { content: "\f405"; }.bi-hand-thumbs-up-fill::before { content: "\f406"; }.bi-hand-thumbs-up::before { content: "\f407"; }.bi-handbag-fill::before { content: "\f408"; }.bi-handbag::before { content: "\f409"; }.bi-hash::before { content: "\f40a"; }.bi-hdd-fill::before { content: "\f40b"; }.bi-hdd-network-fill::before { content: "\f40c"; }.bi-hdd-network::before { content: "\f40d"; }.bi-hdd-rack-fill::before { content: "\f40e"; }.bi-hdd-rack::before { content: "\f40f"; }.bi-hdd-stack-fill::before { content: "\f410"; }.bi-hdd-stack::before { content: "\f411"; }.bi-hdd::before { content: "\f412"; }.bi-headphones::before { content: "\f413"; }.bi-headset::before { content: "\f414"; }.bi-heart-fill::before { content: "\f415"; }.bi-heart-half::before { content: "\f416"; }.bi-heart::before { content: "\f417"; }.bi-heptagon-fill::before { content: "\f418"; }.bi-heptagon-half::before { content: "\f419"; }.bi-heptagon::before { content: "\f41a"; }.bi-hexagon-fill::before { content: "\f41b"; }.bi-hexagon-half::before { content: "\f41c"; }.bi-hexagon::before { content: "\f41d"; }.bi-hourglass-bottom::before { content: "\f41e"; }.bi-hourglass-split::before { content: "\f41f"; }.bi-hourglass-top::before { content: "\f420"; }.bi-hourglass::before { content: "\f421"; }.bi-house-door-fill::before { content: "\f422"; }.bi-house-door::before { content: "\f423"; }.bi-house-fill::before { content: "\f424"; }.bi-house::before { content: "\f425"; }.bi-hr::before { content: "\f426"; }.bi-hurricane::before { content: "\f427"; }.bi-image-alt::before { content: "\f428"; }.bi-image-fill::before { content: "\f429"; }.bi-image::before { content: "\f42a"; }.bi-images::before { content: "\f42b"; }.bi-inbox-fill::before { content: "\f42c"; }.bi-inbox::before { content: "\f42d"; }.bi-inboxes-fill::before { content: "\f42e"; }.bi-inboxes::before { content: "\f42f"; }.bi-info-circle-fill::before { content: "\f430"; }.bi-info-circle::before { content: "\f431"; }.bi-info-square-fill::before { content: "\f432"; }.bi-info-square::before { content: "\f433"; }.bi-info::before { content: "\f434"; }.bi-input-cursor-text::before { content: "\f435"; }.bi-input-cursor::before { content: "\f436"; }.bi-instagram::before { content: "\f437"; }.bi-intersect::before { content: "\f438"; }.bi-journal-album::before { content: "\f439"; }.bi-journal-arrow-down::before { content: "\f43a"; }.bi-journal-arrow-up::before { content: "\f43b"; }.bi-journal-bookmark-fill::before { content: "\f43c"; }.bi-journal-bookmark::before { content: "\f43d"; }.bi-journal-check::before { content: "\f43e"; }.bi-journal-code::before { content: "\f43f"; }.bi-journal-medical::before { content: "\f440"; }.bi-journal-minus::before { content: "\f441"; }.bi-journal-plus::before { content: "\f442"; }.bi-journal-richtext::before { content: "\f443"; }.bi-journal-text::before { content: "\f444"; }.bi-journal-x::before { content: "\f445"; }.bi-journal::before { content: "\f446"; }.bi-journals::before { content: "\f447"; }.bi-joystick::before { content: "\f448"; }.bi-justify-left::before { content: "\f449"; }.bi-justify-right::before { content: "\f44a"; }.bi-justify::before { content: "\f44b"; }.bi-kanban-fill::before { content: "\f44c"; }.bi-kanban::before { content: "\f44d"; }.bi-key-fill::before { content: "\f44e"; }.bi-key::before { content: "\f44f"; }.bi-keyboard-fill::before { content: "\f450"; }.bi-keyboard::before { content: "\f451"; }.bi-ladder::before { content: "\f452"; }.bi-lamp-fill::before { content: "\f453"; }.bi-lamp::before { content: "\f454"; }.bi-laptop-fill::before { content: "\f455"; }.bi-laptop::before { content: "\f456"; }.bi-layer-backward::before { content: "\f457"; }.bi-layer-forward::before { content: "\f458"; }.bi-layers-fill::before { content: "\f459"; }.bi-layers-half::before { content: "\f45a"; }.bi-layers::before { content: "\f45b"; }.bi-layout-sidebar-inset-reverse::before { content: "\f45c"; }.bi-layout-sidebar-inset::before { content: "\f45d"; }.bi-layout-sidebar-reverse::before { content: "\f45e"; }.bi-layout-sidebar::before { content: "\f45f"; }.bi-layout-split::before { content: "\f460"; }.bi-layout-text-sidebar-reverse::before { content: "\f461"; }.bi-layout-text-sidebar::before { content: "\f462"; }.bi-layout-text-window-reverse::before { content: "\f463"; }.bi-layout-text-window::before { content: "\f464"; }.bi-layout-three-columns::before { content: "\f465"; }.bi-layout-wtf::before { content: "\f466"; }.bi-life-preserver::before { content: "\f467"; }.bi-lightbulb-fill::before { content: "\f468"; }.bi-lightbulb-off-fill::before { content: "\f469"; }.bi-lightbulb-off::before { content: "\f46a"; }.bi-lightbulb::before { content: "\f46b"; }.bi-lightning-charge-fill::before { content: "\f46c"; }.bi-lightning-charge::before { content: "\f46d"; }.bi-lightning-fill::before { content: "\f46e"; }.bi-lightning::before { content: "\f46f"; }.bi-link-45deg::before { content: "\f470"; }.bi-link::before { content: "\f471"; }.bi-linkedin::before { content: "\f472"; }.bi-list-check::before { content: "\f473"; }.bi-list-nested::before { content: "\f474"; }.bi-list-ol::before { content: "\f475"; }.bi-list-stars::before { content: "\f476"; }.bi-list-task::before { content: "\f477"; }.bi-list-ul::before { content: "\f478"; }.bi-list::before { content: "\f479"; }.bi-lock-fill::before { content: "\f47a"; }.bi-lock::before { content: "\f47b"; }.bi-mailbox::before { content: "\f47c"; }.bi-mailbox2::before { content: "\f47d"; }.bi-map-fill::before { content: "\f47e"; }.bi-map::before { content: "\f47f"; }.bi-markdown-fill::before { content: "\f480"; }.bi-markdown::before { content: "\f481"; }.bi-mask::before { content: "\f482"; }.bi-megaphone-fill::before { content: "\f483"; }.bi-megaphone::before { content: "\f484"; }.bi-menu-app-fill::before { content: "\f485"; }.bi-menu-app::before { content: "\f486"; }.bi-menu-button-fill::before { content: "\f487"; }.bi-menu-button-wide-fill::before { content: "\f488"; }.bi-menu-button-wide::before { content: "\f489"; }.bi-menu-button::before { content: "\f48a"; }.bi-menu-down::before { content: "\f48b"; }.bi-menu-up::before { content: "\f48c"; }.bi-mic-fill::before { content: "\f48d"; }.bi-mic-mute-fill::before { content: "\f48e"; }.bi-mic-mute::before { content: "\f48f"; }.bi-mic::before { content: "\f490"; }.bi-minecart-loaded::before { content: "\f491"; }.bi-minecart::before { content: "\f492"; }.bi-moisture::before { content: "\f493"; }.bi-moon-fill::before { content: "\f494"; }.bi-moon-stars-fill::before { content: "\f495"; }.bi-moon-stars::before { content: "\f496"; }.bi-moon::before { content: "\f497"; }.bi-mouse-fill::before { content: "\f498"; }.bi-mouse::before { content: "\f499"; }.bi-mouse2-fill::before { content: "\f49a"; }.bi-mouse2::before { content: "\f49b"; }.bi-mouse3-fill::before { content: "\f49c"; }.bi-mouse3::before { content: "\f49d"; }.bi-music-note-beamed::before { content: "\f49e"; }.bi-music-note-list::before { content: "\f49f"; }.bi-music-note::before { content: "\f4a0"; }.bi-music-player-fill::before { content: "\f4a1"; }.bi-music-player::before { content: "\f4a2"; }.bi-newspaper::before { content: "\f4a3"; }.bi-node-minus-fill::before { content: "\f4a4"; }.bi-node-minus::before { content: "\f4a5"; }.bi-node-plus-fill::before { content: "\f4a6"; }.bi-node-plus::before { content: "\f4a7"; }.bi-nut-fill::before { content: "\f4a8"; }.bi-nut::before { content: "\f4a9"; }.bi-octagon-fill::before { content: "\f4aa"; }.bi-octagon-half::before { content: "\f4ab"; }.bi-octagon::before { content: "\f4ac"; }.bi-option::before { content: "\f4ad"; }.bi-outlet::before { content: "\f4ae"; }.bi-paint-bucket::before { content: "\f4af"; }.bi-palette-fill::before { content: "\f4b0"; }.bi-palette::before { content: "\f4b1"; }.bi-palette2::before { content: "\f4b2"; }.bi-paperclip::before { content: "\f4b3"; }.bi-paragraph::before { content: "\f4b4"; }.bi-patch-check-fill::before { content: "\f4b5"; }.bi-patch-check::before { content: "\f4b6"; }.bi-patch-exclamation-fill::before { content: "\f4b7"; }.bi-patch-exclamation::before { content: "\f4b8"; }.bi-patch-minus-fill::before { content: "\f4b9"; }.bi-patch-minus::before { content: "\f4ba"; }.bi-patch-plus-fill::before { content: "\f4bb"; }.bi-patch-plus::before { content: "\f4bc"; }.bi-patch-question-fill::before { content: "\f4bd"; }.bi-patch-question::before { content: "\f4be"; }.bi-pause-btn-fill::before { content: "\f4bf"; }.bi-pause-btn::before { content: "\f4c0"; }.bi-pause-circle-fill::before { content: "\f4c1"; }.bi-pause-circle::before { content: "\f4c2"; }.bi-pause-fill::before { content: "\f4c3"; }.bi-pause::before { content: "\f4c4"; }.bi-peace-fill::before { content: "\f4c5"; }.bi-peace::before { content: "\f4c6"; }.bi-pen-fill::before { content: "\f4c7"; }.bi-pen::before { content: "\f4c8"; }.bi-pencil-fill::before { content: "\f4c9"; }.bi-pencil-square::before { content: "\f4ca"; }.bi-pencil::before { content: "\f4cb"; }.bi-pentagon-fill::before { content: "\f4cc"; }.bi-pentagon-half::before { content: "\f4cd"; }.bi-pentagon::before { content: "\f4ce"; }.bi-people-fill::before { content: "\f4cf"; }.bi-people::before { content: "\f4d0"; }.bi-percent::before { content: "\f4d1"; }.bi-person-badge-fill::before { content: "\f4d2"; }.bi-person-badge::before { content: "\f4d3"; }.bi-person-bounding-box::before { content: "\f4d4"; }.bi-person-check-fill::before { content: "\f4d5"; }.bi-person-check::before { content: "\f4d6"; }.bi-person-circle::before { content: "\f4d7"; }.bi-person-dash-fill::before { content: "\f4d8"; }.bi-person-dash::before { content: "\f4d9"; }.bi-person-fill::before { content: "\f4da"; }.bi-person-lines-fill::before { content: "\f4db"; }.bi-person-plus-fill::before { content: "\f4dc"; }.bi-person-plus::before { content: "\f4dd"; }.bi-person-square::before { content: "\f4de"; }.bi-person-x-fill::before { content: "\f4df"; }.bi-person-x::before { content: "\f4e0"; }.bi-person::before { content: "\f4e1"; }.bi-phone-fill::before { content: "\f4e2"; }.bi-phone-landscape-fill::before { content: "\f4e3"; }.bi-phone-landscape::before { content: "\f4e4"; }.bi-phone-vibrate-fill::before { content: "\f4e5"; }.bi-phone-vibrate::before { content: "\f4e6"; }.bi-phone::before { content: "\f4e7"; }.bi-pie-chart-fill::before { content: "\f4e8"; }.bi-pie-chart::before { content: "\f4e9"; }.bi-pin-angle-fill::before { content: "\f4ea"; }.bi-pin-angle::before { content: "\f4eb"; }.bi-pin-fill::before { content: "\f4ec"; }.bi-pin::before { content: "\f4ed"; }.bi-pip-fill::before { content: "\f4ee"; }.bi-pip::before { content: "\f4ef"; }.bi-play-btn-fill::before { content: "\f4f0"; }.bi-play-btn::before { content: "\f4f1"; }.bi-play-circle-fill::before { content: "\f4f2"; }.bi-play-circle::before { content: "\f4f3"; }.bi-play-fill::before { content: "\f4f4"; }.bi-play::before { content: "\f4f5"; }.bi-plug-fill::before { content: "\f4f6"; }.bi-plug::before { content: "\f4f7"; }.bi-plus-circle-dotted::before { content: "\f4f8"; }.bi-plus-circle-fill::before { content: "\f4f9"; }.bi-plus-circle::before { content: "\f4fa"; }.bi-plus-square-dotted::before { content: "\f4fb"; }.bi-plus-square-fill::before { content: "\f4fc"; }.bi-plus-square::before { content: "\f4fd"; }.bi-plus::before { content: "\f4fe"; }.bi-power::before { content: "\f4ff"; }.bi-printer-fill::before { content: "\f500"; }.bi-printer::before { content: "\f501"; }.bi-puzzle-fill::before { content: "\f502"; }.bi-puzzle::before { content: "\f503"; }.bi-question-circle-fill::before { content: "\f504"; }.bi-question-circle::before { content: "\f505"; }.bi-question-diamond-fill::before { content: "\f506"; }.bi-question-diamond::before { content: "\f507"; }.bi-question-octagon-fill::before { content: "\f508"; }.bi-question-octagon::before { content: "\f509"; }.bi-question-square-fill::before { content: "\f50a"; }.bi-question-square::before { content: "\f50b"; }.bi-question::before { content: "\f50c"; }.bi-rainbow::before { content: "\f50d"; }.bi-receipt-cutoff::before { content: "\f50e"; }.bi-receipt::before { content: "\f50f"; }.bi-reception-0::before { content: "\f510"; }.bi-reception-1::before { content: "\f511"; }.bi-reception-2::before { content: "\f512"; }.bi-reception-3::before { content: "\f513"; }.bi-reception-4::before { content: "\f514"; }.bi-record-btn-fill::before { content: "\f515"; }.bi-record-btn::before { content: "\f516"; }.bi-record-circle-fill::before { content: "\f517"; }.bi-record-circle::before { content: "\f518"; }.bi-record-fill::before { content: "\f519"; }.bi-record::before { content: "\f51a"; }.bi-record2-fill::before { content: "\f51b"; }.bi-record2::before { content: "\f51c"; }.bi-reply-all-fill::before { content: "\f51d"; }.bi-reply-all::before { content: "\f51e"; }.bi-reply-fill::before { content: "\f51f"; }.bi-reply::before { content: "\f520"; }.bi-rss-fill::before { content: "\f521"; }.bi-rss::before { content: "\f522"; }.bi-rulers::before { content: "\f523"; }.bi-save-fill::before { content: "\f524"; }.bi-save::before { content: "\f525"; }.bi-save2-fill::before { content: "\f526"; }.bi-save2::before { content: "\f527"; }.bi-scissors::before { content: "\f528"; }.bi-screwdriver::before { content: "\f529"; }.bi-search::before { content: "\f52a"; }.bi-segmented-nav::before { content: "\f52b"; }.bi-server::before { content: "\f52c"; }.bi-share-fill::before { content: "\f52d"; }.bi-share::before { content: "\f52e"; }.bi-shield-check::before { content: "\f52f"; }.bi-shield-exclamation::before { content: "\f530"; }.bi-shield-fill-check::before { content: "\f531"; }.bi-shield-fill-exclamation::before { content: "\f532"; }.bi-shield-fill-minus::before { content: "\f533"; }.bi-shield-fill-plus::before { content: "\f534"; }.bi-shield-fill-x::before { content: "\f535"; }.bi-shield-fill::before { content: "\f536"; }.bi-shield-lock-fill::before { content: "\f537"; }.bi-shield-lock::before { content: "\f538"; }.bi-shield-minus::before { content: "\f539"; }.bi-shield-plus::before { content: "\f53a"; }.bi-shield-shaded::before { content: "\f53b"; }.bi-shield-slash-fill::before { content: "\f53c"; }.bi-shield-slash::before { content: "\f53d"; }.bi-shield-x::before { content: "\f53e"; }.bi-shield::before { content: "\f53f"; }.bi-shift-fill::before { content: "\f540"; }.bi-shift::before { content: "\f541"; }.bi-shop-window::before { content: "\f542"; }.bi-shop::before { content: "\f543"; }.bi-shuffle::before { content: "\f544"; }.bi-signpost-2-fill::before { content: "\f545"; }.bi-signpost-2::before { content: "\f546"; }.bi-signpost-fill::before { content: "\f547"; }.bi-signpost-split-fill::before { content: "\f548"; }.bi-signpost-split::before { content: "\f549"; }.bi-signpost::before { content: "\f54a"; }.bi-sim-fill::before { content: "\f54b"; }.bi-sim::before { content: "\f54c"; }.bi-skip-backward-btn-fill::before { content: "\f54d"; }.bi-skip-backward-btn::before { content: "\f54e"; }.bi-skip-backward-circle-fill::before { content: "\f54f"; }.bi-skip-backward-circle::before { content: "\f550"; }.bi-skip-backward-fill::before { content: "\f551"; }.bi-skip-backward::before { content: "\f552"; }.bi-skip-end-btn-fill::before { content: "\f553"; }.bi-skip-end-btn::before { content: "\f554"; }.bi-skip-end-circle-fill::before { content: "\f555"; }.bi-skip-end-circle::before { content: "\f556"; }.bi-skip-end-fill::before { content: "\f557"; }.bi-skip-end::before { content: "\f558"; }.bi-skip-forward-btn-fill::before { content: "\f559"; }.bi-skip-forward-btn::before { content: "\f55a"; }.bi-skip-forward-circle-fill::before { content: "\f55b"; }.bi-skip-forward-circle::before { content: "\f55c"; }.bi-skip-forward-fill::before { content: "\f55d"; }.bi-skip-forward::before { content: "\f55e"; }.bi-skip-start-btn-fill::before { content: "\f55f"; }.bi-skip-start-btn::before { content: "\f560"; }.bi-skip-start-circle-fill::before { content: "\f561"; }.bi-skip-start-circle::before { content: "\f562"; }.bi-skip-start-fill::before { content: "\f563"; }.bi-skip-start::before { content: "\f564"; }.bi-slack::before { content: "\f565"; }.bi-slash-circle-fill::before { content: "\f566"; }.bi-slash-circle::before { content: "\f567"; }.bi-slash-square-fill::before { content: "\f568"; }.bi-slash-square::before { content: "\f569"; }.bi-slash::before { content: "\f56a"; }.bi-sliders::before { content: "\f56b"; }.bi-smartwatch::before { content: "\f56c"; }.bi-snow::before { content: "\f56d"; }.bi-snow2::before { content: "\f56e"; }.bi-snow3::before { content: "\f56f"; }.bi-sort-alpha-down-alt::before { content: "\f570"; }.bi-sort-alpha-down::before { content: "\f571"; }.bi-sort-alpha-up-alt::before { content: "\f572"; }.bi-sort-alpha-up::before { content: "\f573"; }.bi-sort-down-alt::before { content: "\f574"; }.bi-sort-down::before { content: "\f575"; }.bi-sort-numeric-down-alt::before { content: "\f576"; }.bi-sort-numeric-down::before { content: "\f577"; }.bi-sort-numeric-up-alt::before { content: "\f578"; }.bi-sort-numeric-up::before { content: "\f579"; }.bi-sort-up-alt::before { content: "\f57a"; }.bi-sort-up::before { content: "\f57b"; }.bi-soundwave::before { content: "\f57c"; }.bi-speaker-fill::before { content: "\f57d"; }.bi-speaker::before { content: "\f57e"; }.bi-speedometer::before { content: "\f57f"; }.bi-speedometer2::before { content: "\f580"; }.bi-spellcheck::before { content: "\f581"; }.bi-square-fill::before { content: "\f582"; }.bi-square-half::before { content: "\f583"; }.bi-square::before { content: "\f584"; }.bi-stack::before { content: "\f585"; }.bi-star-fill::before { content: "\f586"; }.bi-star-half::before { content: "\f587"; }.bi-star::before { content: "\f588"; }.bi-stars::before { content: "\f589"; }.bi-stickies-fill::before { content: "\f58a"; }.bi-stickies::before { content: "\f58b"; }.bi-sticky-fill::before { content: "\f58c"; }.bi-sticky::before { content: "\f58d"; }.bi-stop-btn-fill::before { content: "\f58e"; }.bi-stop-btn::before { content: "\f58f"; }.bi-stop-circle-fill::before { content: "\f590"; }.bi-stop-circle::before { content: "\f591"; }.bi-stop-fill::before { content: "\f592"; }.bi-stop::before { content: "\f593"; }.bi-stoplights-fill::before { content: "\f594"; }.bi-stoplights::before { content: "\f595"; }.bi-stopwatch-fill::before { content: "\f596"; }.bi-stopwatch::before { content: "\f597"; }.bi-subtract::before { content: "\f598"; }.bi-suit-club-fill::before { content: "\f599"; }.bi-suit-club::before { content: "\f59a"; }.bi-suit-diamond-fill::before { content: "\f59b"; }.bi-suit-diamond::before { content: "\f59c"; }.bi-suit-heart-fill::before { content: "\f59d"; }.bi-suit-heart::before { content: "\f59e"; }.bi-suit-spade-fill::before { content: "\f59f"; }.bi-suit-spade::before { content: "\f5a0"; }.bi-sun-fill::before { content: "\f5a1"; }.bi-sun::before { content: "\f5a2"; }.bi-sunglasses::before { content: "\f5a3"; }.bi-sunrise-fill::before { content: "\f5a4"; }.bi-sunrise::before { content: "\f5a5"; }.bi-sunset-fill::before { content: "\f5a6"; }.bi-sunset::before { content: "\f5a7"; }.bi-symmetry-horizontal::before { content: "\f5a8"; }.bi-symmetry-vertical::before { content: "\f5a9"; }.bi-table::before { content: "\f5aa"; }.bi-tablet-fill::before { content: "\f5ab"; }.bi-tablet-landscape-fill::before { content: "\f5ac"; }.bi-tablet-landscape::before { content: "\f5ad"; }.bi-tablet::before { content: "\f5ae"; }.bi-tag-fill::before { content: "\f5af"; }.bi-tag::before { content: "\f5b0"; }.bi-tags-fill::before { content: "\f5b1"; }.bi-tags::before { content: "\f5b2"; }.bi-telegram::before { content: "\f5b3"; }.bi-telephone-fill::before { content: "\f5b4"; }.bi-telephone-forward-fill::before { content: "\f5b5"; }.bi-telephone-forward::before { content: "\f5b6"; }.bi-telephone-inbound-fill::before { content: "\f5b7"; }.bi-telephone-inbound::before { content: "\f5b8"; }.bi-telephone-minus-fill::before { content: "\f5b9"; }.bi-telephone-minus::before { content: "\f5ba"; }.bi-telephone-outbound-fill::before { content: "\f5bb"; }.bi-telephone-outbound::before { content: "\f5bc"; }.bi-telephone-plus-fill::before { content: "\f5bd"; }.bi-telephone-plus::before { content: "\f5be"; }.bi-telephone-x-fill::before { content: "\f5bf"; }.bi-telephone-x::before { content: "\f5c0"; }.bi-telephone::before { content: "\f5c1"; }.bi-terminal-fill::before { content: "\f5c2"; }.bi-terminal::before { content: "\f5c3"; }.bi-text-center::before { content: "\f5c4"; }.bi-text-indent-left::before { content: "\f5c5"; }.bi-text-indent-right::before { content: "\f5c6"; }.bi-text-left::before { content: "\f5c7"; }.bi-text-paragraph::before { content: "\f5c8"; }.bi-text-right::before { content: "\f5c9"; }.bi-textarea-resize::before { content: "\f5ca"; }.bi-textarea-t::before { content: "\f5cb"; }.bi-textarea::before { content: "\f5cc"; }.bi-thermometer-half::before { content: "\f5cd"; }.bi-thermometer-high::before { content: "\f5ce"; }.bi-thermometer-low::before { content: "\f5cf"; }.bi-thermometer-snow::before { content: "\f5d0"; }.bi-thermometer-sun::before { content: "\f5d1"; }.bi-thermometer::before { content: "\f5d2"; }.bi-three-dots-vertical::before { content: "\f5d3"; }.bi-three-dots::before { content: "\f5d4"; }.bi-toggle-off::before { content: "\f5d5"; }.bi-toggle-on::before { content: "\f5d6"; }.bi-toggle2-off::before { content: "\f5d7"; }.bi-toggle2-on::before { content: "\f5d8"; }.bi-toggles::before { content: "\f5d9"; }.bi-toggles2::before { content: "\f5da"; }.bi-tools::before { content: "\f5db"; }.bi-tornado::before { content: "\f5dc"; }.bi-trash-fill::before { content: "\f5dd"; }.bi-trash::before { content: "\f5de"; }.bi-trash2-fill::before { content: "\f5df"; }.bi-trash2::before { content: "\f5e0"; }.bi-tree-fill::before { content: "\f5e1"; }.bi-tree::before { content: "\f5e2"; }.bi-triangle-fill::before { content: "\f5e3"; }.bi-triangle-half::before { content: "\f5e4"; }.bi-triangle::before { content: "\f5e5"; }.bi-trophy-fill::before { content: "\f5e6"; }.bi-trophy::before { content: "\f5e7"; }.bi-tropical-storm::before { content: "\f5e8"; }.bi-truck-flatbed::before { content: "\f5e9"; }.bi-truck::before { content: "\f5ea"; }.bi-tsunami::before { content: "\f5eb"; }.bi-tv-fill::before { content: "\f5ec"; }.bi-tv::before { content: "\f5ed"; }.bi-twitch::before { content: "\f5ee"; }.bi-twitter::before { content: "\f5ef"; }.bi-type-bold::before { content: "\f5f0"; }.bi-type-h1::before { content: "\f5f1"; }.bi-type-h2::before { content: "\f5f2"; }.bi-type-h3::before { content: "\f5f3"; }.bi-type-italic::before { content: "\f5f4"; }.bi-type-strikethrough::before { content: "\f5f5"; }.bi-type-underline::before { content: "\f5f6"; }.bi-type::before { content: "\f5f7"; }.bi-ui-checks-grid::before { content: "\f5f8"; }.bi-ui-checks::before { content: "\f5f9"; }.bi-ui-radios-grid::before { content: "\f5fa"; }.bi-ui-radios::before { content: "\f5fb"; }.bi-umbrella-fill::before { content: "\f5fc"; }.bi-umbrella::before { content: "\f5fd"; }.bi-union::before { content: "\f5fe"; }.bi-unlock-fill::before { content: "\f5ff"; }.bi-unlock::before { content: "\f600"; }.bi-upc-scan::before { content: "\f601"; }.bi-upc::before { content: "\f602"; }.bi-upload::before { content: "\f603"; }.bi-vector-pen::before { content: "\f604"; }.bi-view-list::before { content: "\f605"; }.bi-view-stacked::before { content: "\f606"; }.bi-vinyl-fill::before { content: "\f607"; }.bi-vinyl::before { content: "\f608"; }.bi-voicemail::before { content: "\f609"; }.bi-volume-down-fill::before { content: "\f60a"; }.bi-volume-down::before { content: "\f60b"; }.bi-volume-mute-fill::before { content: "\f60c"; }.bi-volume-mute::before { content: "\f60d"; }.bi-volume-off-fill::before { content: "\f60e"; }.bi-volume-off::before { content: "\f60f"; }.bi-volume-up-fill::before { content: "\f610"; }.bi-volume-up::before { content: "\f611"; }.bi-vr::before { content: "\f612"; }.bi-wallet-fill::before { content: "\f613"; }.bi-wallet::before { content: "\f614"; }.bi-wallet2::before { content: "\f615"; }.bi-watch::before { content: "\f616"; }.bi-water::before { content: "\f617"; }.bi-whatsapp::before { content: "\f618"; }.bi-wifi-1::before { content: "\f619"; }.bi-wifi-2::before { content: "\f61a"; }.bi-wifi-off::before { content: "\f61b"; }.bi-wifi::before { content: "\f61c"; }.bi-wind::before { content: "\f61d"; }.bi-window-dock::before { content: "\f61e"; }.bi-window-sidebar::before { content: "\f61f"; }.bi-window::before { content: "\f620"; }.bi-wrench::before { content: "\f621"; }.bi-x-circle-fill::before { content: "\f622"; }.bi-x-circle::before { content: "\f623"; }.bi-x-diamond-fill::before { content: "\f624"; }.bi-x-diamond::before { content: "\f625"; }.bi-x-octagon-fill::before { content: "\f626"; }.bi-x-octagon::before { content: "\f627"; }.bi-x-square-fill::before { content: "\f628"; }.bi-x-square::before { content: "\f629"; }.bi-x::before { content: "\f62a"; }.bi-youtube::before { content: "\f62b"; }.bi-zoom-in::before { content: "\f62c"; }.bi-zoom-out::before { content: "\f62d"; }.bi-bank::before { content: "\f62e"; }.bi-bank2::before { content: "\f62f"; }.bi-bell-slash-fill::before { content: "\f630"; }.bi-bell-slash::before { content: "\f631"; }.bi-cash-coin::before { content: "\f632"; }.bi-check-lg::before { content: "\f633"; }.bi-coin::before { content: "\f634"; }.bi-currency-bitcoin::before { content: "\f635"; }.bi-currency-dollar::before { content: "\f636"; }.bi-currency-euro::before { content: "\f637"; }.bi-currency-exchange::before { content: "\f638"; }.bi-currency-pound::before { content: "\f639"; }.bi-currency-yen::before { content: "\f63a"; }.bi-dash-lg::before { content: "\f63b"; }.bi-exclamation-lg::before { content: "\f63c"; }.bi-file-earmark-pdf-fill::before { content: "\f63d"; }.bi-file-earmark-pdf::before { content: "\f63e"; }.bi-file-pdf-fill::before { content: "\f63f"; }.bi-file-pdf::before { content: "\f640"; }.bi-gender-ambiguous::before { content: "\f641"; }.bi-gender-female::before { content: "\f642"; }.bi-gender-male::before { content: "\f643"; }.bi-gender-trans::before { content: "\f644"; }.bi-headset-vr::before { content: "\f645"; }.bi-info-lg::before { content: "\f646"; }.bi-mastodon::before { content: "\f647"; }.bi-messenger::before { content: "\f648"; }.bi-piggy-bank-fill::before { content: "\f649"; }.bi-piggy-bank::before { content: "\f64a"; }.bi-pin-map-fill::before { content: "\f64b"; }.bi-pin-map::before { content: "\f64c"; }.bi-plus-lg::before { content: "\f64d"; }.bi-question-lg::before { content: "\f64e"; }.bi-recycle::before { content: "\f64f"; }.bi-reddit::before { content: "\f650"; }.bi-safe-fill::before { content: "\f651"; }.bi-safe2-fill::before { content: "\f652"; }.bi-safe2::before { content: "\f653"; }.bi-sd-card-fill::before { content: "\f654"; }.bi-sd-card::before { content: "\f655"; }.bi-skype::before { content: "\f656"; }.bi-slash-lg::before { content: "\f657"; }.bi-translate::before { content: "\f658"; }.bi-x-lg::before { content: "\f659"; }.bi-safe::before { content: "\f65a"; }.bi-apple::before { content: "\f65b"; }.bi-microsoft::before { content: "\f65d"; }.bi-windows::before { content: "\f65e"; }.bi-behance::before { content: "\f65c"; }.bi-dribbble::before { content: "\f65f"; }.bi-line::before { content: "\f660"; }.bi-medium::before { content: "\f661"; }.bi-paypal::before { content: "\f662"; }.bi-pinterest::before { content: "\f663"; }.bi-signal::before { content: "\f664"; }.bi-snapchat::before { content: "\f665"; }.bi-spotify::before { content: "\f666"; }.bi-stack-overflow::before { content: "\f667"; }.bi-strava::before { content: "\f668"; }.bi-wordpress::before { content: "\f669"; }.bi-vimeo::before { content: "\f66a"; }.bi-activity::before { content: "\f66b"; }.bi-easel2-fill::before { content: "\f66c"; }.bi-easel2::before { content: "\f66d"; }.bi-easel3-fill::before { content: "\f66e"; }.bi-easel3::before { content: "\f66f"; }.bi-fan::before { content: "\f670"; }.bi-fingerprint::before { content: "\f671"; }.bi-graph-down-arrow::before { content: "\f672"; }.bi-graph-up-arrow::before { content: "\f673"; }.bi-hypnotize::before { content: "\f674"; }.bi-magic::before { content: "\f675"; }.bi-person-rolodex::before { content: "\f676"; }.bi-person-video::before { content: "\f677"; }.bi-person-video2::before { content: "\f678"; }.bi-person-video3::before { content: "\f679"; }.bi-person-workspace::before { content: "\f67a"; }.bi-radioactive::before { content: "\f67b"; }.bi-webcam-fill::before { content: "\f67c"; }.bi-webcam::before { content: "\f67d"; }.bi-yin-yang::before { content: "\f67e"; }.bi-bandaid-fill::before { content: "\f680"; }.bi-bandaid::before { content: "\f681"; }.bi-bluetooth::before { content: "\f682"; }.bi-body-text::before { content: "\f683"; }.bi-boombox::before { content: "\f684"; }.bi-boxes::before { content: "\f685"; }.bi-dpad-fill::before { content: "\f686"; }.bi-dpad::before { content: "\f687"; }.bi-ear-fill::before { content: "\f688"; }.bi-ear::before { content: "\f689"; }.bi-envelope-check-1::before { content: "\f68a"; }.bi-envelope-check-fill::before { content: "\f68b"; }.bi-envelope-check::before { content: "\f68c"; }.bi-envelope-dash-1::before { content: "\f68d"; }.bi-envelope-dash-fill::before { content: "\f68e"; }.bi-envelope-dash::before { content: "\f68f"; }.bi-envelope-exclamation-1::before { content: "\f690"; }.bi-envelope-exclamation-fill::before { content: "\f691"; }.bi-envelope-exclamation::before { content: "\f692"; }.bi-envelope-plus-fill::before { content: "\f693"; }.bi-envelope-plus::before { content: "\f694"; }.bi-envelope-slash-1::before { content: "\f695"; }.bi-envelope-slash-fill::before { content: "\f696"; }.bi-envelope-slash::before { content: "\f697"; }.bi-envelope-x-1::before { content: "\f698"; }.bi-envelope-x-fill::before { content: "\f699"; }.bi-envelope-x::before { content: "\f69a"; }.bi-explicit-fill::before { content: "\f69b"; }.bi-explicit::before { content: "\f69c"; }.bi-git::before { content: "\f69d"; }.bi-infinity::before { content: "\f69e"; }.bi-list-columns-reverse::before { content: "\f69f"; }.bi-list-columns::before { content: "\f6a0"; }.bi-meta::before { content: "\f6a1"; }.bi-mortorboard-fill::before { content: "\f6a2"; }.bi-mortorboard::before { content: "\f6a3"; }.bi-nintendo-switch::before { content: "\f6a4"; }.bi-pc-display-horizontal::before { content: "\f6a5"; }.bi-pc-display::before { content: "\f6a6"; }.bi-pc-horizontal::before { content: "\f6a7"; }.bi-pc::before { content: "\f6a8"; }.bi-playstation::before { content: "\f6a9"; }.bi-plus-slash-minus::before { content: "\f6aa"; }.bi-projector-fill::before { content: "\f6ab"; }.bi-projector::before { content: "\f6ac"; }.bi-qr-code-scan::before { content: "\f6ad"; }.bi-qr-code::before { content: "\f6ae"; }.bi-quora::before { content: "\f6af"; }.bi-quote::before { content: "\f6b0"; }.bi-robot::before { content: "\f6b1"; }.bi-send-check-fill::before { content: "\f6b2"; }.bi-send-check::before { content: "\f6b3"; }.bi-send-dash-fill::before { content: "\f6b4"; }.bi-send-dash::before { content: "\f6b5"; }.bi-send-exclamation-1::before { content: "\f6b6"; }.bi-send-exclamation-fill::before { content: "\f6b7"; }.bi-send-exclamation::before { content: "\f6b8"; }.bi-send-fill::before { content: "\f6b9"; }.bi-send-plus-fill::before { content: "\f6ba"; }.bi-send-plus::before { content: "\f6bb"; }.bi-send-slash-fill::before { content: "\f6bc"; }.bi-send-slash::before { content: "\f6bd"; }.bi-send-x-fill::before { content: "\f6be"; }.bi-send-x::before { content: "\f6bf"; }.bi-send::before { content: "\f6c0"; }.bi-steam::before { content: "\f6c1"; }.bi-terminal-dash-1::before { content: "\f6c2"; }.bi-terminal-dash::before { content: "\f6c3"; }.bi-terminal-plus::before { content: "\f6c4"; }.bi-terminal-split::before { content: "\f6c5"; }.bi-ticket-detailed-fill::before { content: "\f6c6"; }.bi-ticket-detailed::before { content: "\f6c7"; }.bi-ticket-fill::before { content: "\f6c8"; }.bi-ticket-perforated-fill::before { content: "\f6c9"; }.bi-ticket-perforated::before { content: "\f6ca"; }.bi-ticket::before { content: "\f6cb"; }.bi-tiktok::before { content: "\f6cc"; }.bi-window-dash::before { content: "\f6cd"; }.bi-window-desktop::before { content: "\f6ce"; }.bi-window-fullscreen::before { content: "\f6cf"; }.bi-window-plus::before { content: "\f6d0"; }.bi-window-split::before { content: "\f6d1"; }.bi-window-stack::before { content: "\f6d2"; }.bi-window-x::before { content: "\f6d3"; }.bi-xbox::before { content: "\f6d4"; }.bi-ethernet::before { content: "\f6d5"; }.bi-hdmi-fill::before { content: "\f6d6"; }.bi-hdmi::before { content: "\f6d7"; }.bi-usb-c-fill::before { content: "\f6d8"; }.bi-usb-c::before { content: "\f6d9"; }.bi-usb-fill::before { content: "\f6da"; }.bi-usb-plug-fill::before { content: "\f6db"; }.bi-usb-plug::before { content: "\f6dc"; }.bi-usb-symbol::before { content: "\f6dd"; }.bi-usb::before { content: "\f6de"; }.bi-boombox-fill::before { content: "\f6df"; }.bi-displayport-1::before { content: "\f6e0"; }.bi-displayport::before { content: "\f6e1"; }.bi-gpu-card::before { content: "\f6e2"; }.bi-memory::before { content: "\f6e3"; }.bi-modem-fill::before { content: "\f6e4"; }.bi-modem::before { content: "\f6e5"; }.bi-motherboard-fill::before { content: "\f6e6"; }.bi-motherboard::before { content: "\f6e7"; }.bi-optical-audio-fill::before { content: "\f6e8"; }.bi-optical-audio::before { content: "\f6e9"; }.bi-pci-card::before { content: "\f6ea"; }.bi-router-fill::before { content: "\f6eb"; }.bi-router::before { content: "\f6ec"; }.bi-ssd-fill::before { content: "\f6ed"; }.bi-ssd::before { content: "\f6ee"; }.bi-thunderbolt-fill::before { content: "\f6ef"; }.bi-thunderbolt::before { content: "\f6f0"; }.bi-usb-drive-fill::before { content: "\f6f1"; }.bi-usb-drive::before { content: "\f6f2"; }.bi-usb-micro-fill::before { content: "\f6f3"; }.bi-usb-micro::before { content: "\f6f4"; }.bi-usb-mini-fill::before { content: "\f6f5"; }.bi-usb-mini::before { content: "\f6f6"; }.bi-cloud-haze2::before { content: "\f6f7"; }.bi-device-hdd-fill::before { content: "\f6f8"; }.bi-device-hdd::before { content: "\f6f9"; }.bi-device-ssd-fill::before { content: "\f6fa"; }.bi-device-ssd::before { content: "\f6fb"; }.bi-displayport-fill::before { content: "\f6fc"; }.bi-mortarboard-fill::before { content: "\f6fd"; }.bi-mortarboard::before { content: "\f6fe"; }.bi-terminal-x::before { content: "\f6ff"; }.bi-arrow-through-heart-fill::before { content: "\f700"; }.bi-arrow-through-heart::before { content: "\f701"; }.bi-badge-sd-fill::before { content: "\f702"; }.bi-badge-sd::before { content: "\f703"; }.bi-bag-heart-fill::before { content: "\f704"; }.bi-bag-heart::before { content: "\f705"; }.bi-balloon-fill::before { content: "\f706"; }.bi-balloon-heart-fill::before { content: "\f707"; }.bi-balloon-heart::before { content: "\f708"; }.bi-balloon::before { content: "\f709"; }.bi-box2-fill::before { content: "\f70a"; }.bi-box2-heart-fill::before { content: "\f70b"; }.bi-box2-heart::before { content: "\f70c"; }.bi-box2::before { content: "\f70d"; }.bi-braces-asterisk::before { content: "\f70e"; }.bi-calendar-heart-fill::before { content: "\f70f"; }.bi-calendar-heart::before { content: "\f710"; }.bi-calendar2-heart-fill::before { content: "\f711"; }.bi-calendar2-heart::before { content: "\f712"; }.bi-chat-heart-fill::before { content: "\f713"; }.bi-chat-heart::before { content: "\f714"; }.bi-chat-left-heart-fill::before { content: "\f715"; }.bi-chat-left-heart::before { content: "\f716"; }.bi-chat-right-heart-fill::before { content: "\f717"; }.bi-chat-right-heart::before { content: "\f718"; }.bi-chat-square-heart-fill::before { content: "\f719"; }.bi-chat-square-heart::before { content: "\f71a"; }.bi-clipboard-check-fill::before { content: "\f71b"; }.bi-clipboard-data-fill::before { content: "\f71c"; }.bi-clipboard-fill::before { content: "\f71d"; }.bi-clipboard-heart-fill::before { content: "\f71e"; }.bi-clipboard-heart::before { content: "\f71f"; }.bi-clipboard-minus-fill::before { content: "\f720"; }.bi-clipboard-plus-fill::before { content: "\f721"; }.bi-clipboard-pulse::before { content: "\f722"; }.bi-clipboard-x-fill::before { content: "\f723"; }.bi-clipboard2-check-fill::before { content: "\f724"; }.bi-clipboard2-check::before { content: "\f725"; }.bi-clipboard2-data-fill::before { content: "\f726"; }.bi-clipboard2-data::before { content: "\f727"; }.bi-clipboard2-fill::before { content: "\f728"; }.bi-clipboard2-heart-fill::before { content: "\f729"; }.bi-clipboard2-heart::before { content: "\f72a"; }.bi-clipboard2-minus-fill::before { content: "\f72b"; }.bi-clipboard2-minus::before { content: "\f72c"; }.bi-clipboard2-plus-fill::before { content: "\f72d"; }.bi-clipboard2-plus::before { content: "\f72e"; }.bi-clipboard2-pulse-fill::before { content: "\f72f"; }.bi-clipboard2-pulse::before { content: "\f730"; }.bi-clipboard2-x-fill::before { content: "\f731"; }.bi-clipboard2-x::before { content: "\f732"; }.bi-clipboard2::before { content: "\f733"; }.bi-emoji-kiss-fill::before { content: "\f734"; }.bi-emoji-kiss::before { content: "\f735"; }.bi-envelope-heart-fill::before { content: "\f736"; }.bi-envelope-heart::before { content: "\f737"; }.bi-envelope-open-heart-fill::before { content: "\f738"; }.bi-envelope-open-heart::before { content: "\f739"; }.bi-envelope-paper-fill::before { content: "\f73a"; }.bi-envelope-paper-heart-fill::before { content: "\f73b"; }.bi-envelope-paper-heart::before { content: "\f73c"; }.bi-envelope-paper::before { content: "\f73d"; }.bi-filetype-aac::before { content: "\f73e"; }.bi-filetype-ai::before { content: "\f73f"; }.bi-filetype-bmp::before { content: "\f740"; }.bi-filetype-cs::before { content: "\f741"; }.bi-filetype-css::before { content: "\f742"; }.bi-filetype-csv::before { content: "\f743"; }.bi-filetype-doc::before { content: "\f744"; }.bi-filetype-docx::before { content: "\f745"; }.bi-filetype-exe::before { content: "\f746"; }.bi-filetype-gif::before { content: "\f747"; }.bi-filetype-heic::before { content: "\f748"; }.bi-filetype-html::before { content: "\f749"; }.bi-filetype-java::before { content: "\f74a"; }.bi-filetype-jpg::before { content: "\f74b"; }.bi-filetype-js::before { content: "\f74c"; }.bi-filetype-jsx::before { content: "\f74d"; }.bi-filetype-key::before { content: "\f74e"; }.bi-filetype-m4p::before { content: "\f74f"; }.bi-filetype-md::before { content: "\f750"; }.bi-filetype-mdx::before { content: "\f751"; }.bi-filetype-mov::before { content: "\f752"; }.bi-filetype-mp3::before { content: "\f753"; }.bi-filetype-mp4::before { content: "\f754"; }.bi-filetype-otf::before { content: "\f755"; }.bi-filetype-pdf::before { content: "\f756"; }.bi-filetype-php::before { content: "\f757"; }.bi-filetype-png::before { content: "\f758"; }.bi-filetype-ppt-1::before { content: "\f759"; }.bi-filetype-ppt::before { content: "\f75a"; }.bi-filetype-psd::before { content: "\f75b"; }.bi-filetype-py::before { content: "\f75c"; }.bi-filetype-raw::before { content: "\f75d"; }.bi-filetype-rb::before { content: "\f75e"; }.bi-filetype-sass::before { content: "\f75f"; }.bi-filetype-scss::before { content: "\f760"; }.bi-filetype-sh::before { content: "\f761"; }.bi-filetype-svg::before { content: "\f762"; }.bi-filetype-tiff::before { content: "\f763"; }.bi-filetype-tsx::before { content: "\f764"; }.bi-filetype-ttf::before { content: "\f765"; }.bi-filetype-txt::before { content: "\f766"; }.bi-filetype-wav::before { content: "\f767"; }.bi-filetype-woff::before { content: "\f768"; }.bi-filetype-xls-1::before { content: "\f769"; }.bi-filetype-xls::before { content: "\f76a"; }.bi-filetype-xml::before { content: "\f76b"; }.bi-filetype-yml::before { content: "\f76c"; }.bi-heart-arrow::before { content: "\f76d"; }.bi-heart-pulse-fill::before { content: "\f76e"; }.bi-heart-pulse::before { content: "\f76f"; }.bi-heartbreak-fill::before { content: "\f770"; }.bi-heartbreak::before { content: "\f771"; }.bi-hearts::before { content: "\f772"; }.bi-hospital-fill::before { content: "\f773"; }.bi-hospital::before { content: "\f774"; }.bi-house-heart-fill::before { content: "\f775"; }.bi-house-heart::before { content: "\f776"; }.bi-incognito::before { content: "\f777"; }.bi-magnet-fill::before { content: "\f778"; }.bi-magnet::before { content: "\f779"; }.bi-person-heart::before { content: "\f77a"; }.bi-person-hearts::before { content: "\f77b"; }.bi-phone-flip::before { content: "\f77c"; }.bi-plugin::before { content: "\f77d"; }.bi-postage-fill::before { content: "\f77e"; }.bi-postage-heart-fill::before { content: "\f77f"; }.bi-postage-heart::before { content: "\f780"; }.bi-postage::before { content: "\f781"; }.bi-postcard-fill::before { content: "\f782"; }.bi-postcard-heart-fill::before { content: "\f783"; }.bi-postcard-heart::before { content: "\f784"; }.bi-postcard::before { content: "\f785"; }.bi-search-heart-fill::before { content: "\f786"; }.bi-search-heart::before { content: "\f787"; }.bi-sliders2-vertical::before { content: "\f788"; }.bi-sliders2::before { content: "\f789"; }.bi-trash3-fill::before { content: "\f78a"; }.bi-trash3::before { content: "\f78b"; }.bi-valentine::before { content: "\f78c"; }.bi-valentine2::before { content: "\f78d"; }.bi-wrench-adjustable-circle-fill::before { content: "\f78e"; }.bi-wrench-adjustable-circle::before { content: "\f78f"; }.bi-wrench-adjustable::before { content: "\f790"; }.bi-filetype-json::before { content: "\f791"; }.bi-filetype-pptx::before { content: "\f792"; }.bi-filetype-xlsx::before { content: "\f793"; }.bi-1-circle-1::before { content: "\f794"; }.bi-1-circle-fill-1::before { content: "\f795"; }.bi-1-circle-fill::before { content: "\f796"; }.bi-1-circle::before { content: "\f797"; }.bi-1-square-fill::before { content: "\f798"; }.bi-1-square::before { content: "\f799"; }.bi-2-circle-1::before { content: "\f79a"; }.bi-2-circle-fill-1::before { content: "\f79b"; }.bi-2-circle-fill::before { content: "\f79c"; }.bi-2-circle::before { content: "\f79d"; }.bi-2-square-fill::before { content: "\f79e"; }.bi-2-square::before { content: "\f79f"; }.bi-3-circle-1::before { content: "\f7a0"; }.bi-3-circle-fill-1::before { content: "\f7a1"; }.bi-3-circle-fill::before { content: "\f7a2"; }.bi-3-circle::before { content: "\f7a3"; }.bi-3-square-fill::before { content: "\f7a4"; }.bi-3-square::before { content: "\f7a5"; }.bi-4-circle-1::before { content: "\f7a6"; }.bi-4-circle-fill-1::before { content: "\f7a7"; }.bi-4-circle-fill::before { content: "\f7a8"; }.bi-4-circle::before { content: "\f7a9"; }.bi-4-square-fill::before { content: "\f7aa"; }.bi-4-square::before { content: "\f7ab"; }.bi-5-circle-1::before { content: "\f7ac"; }.bi-5-circle-fill-1::before { content: "\f7ad"; }.bi-5-circle-fill::before { content: "\f7ae"; }.bi-5-circle::before { content: "\f7af"; }.bi-5-square-fill::before { content: "\f7b0"; }.bi-5-square::before { content: "\f7b1"; }.bi-6-circle-1::before { content: "\f7b2"; }.bi-6-circle-fill-1::before { content: "\f7b3"; }.bi-6-circle-fill::before { content: "\f7b4"; }.bi-6-circle::before { content: "\f7b5"; }.bi-6-square-fill::before { content: "\f7b6"; }.bi-6-square::before { content: "\f7b7"; }.bi-7-circle-1::before { content: "\f7b8"; }.bi-7-circle-fill-1::before { content: "\f7b9"; }.bi-7-circle-fill::before { content: "\f7ba"; }.bi-7-circle::before { content: "\f7bb"; }.bi-7-square-fill::before { content: "\f7bc"; }.bi-7-square::before { content: "\f7bd"; }.bi-8-circle-1::before { content: "\f7be"; }.bi-8-circle-fill-1::before { content: "\f7bf"; }.bi-8-circle-fill::before { content: "\f7c0"; }.bi-8-circle::before { content: "\f7c1"; }.bi-8-square-fill::before { content: "\f7c2"; }.bi-8-square::before { content: "\f7c3"; }.bi-9-circle-1::before { content: "\f7c4"; }.bi-9-circle-fill-1::before { content: "\f7c5"; }.bi-9-circle-fill::before { content: "\f7c6"; }.bi-9-circle::before { content: "\f7c7"; }.bi-9-square-fill::before { content: "\f7c8"; }.bi-9-square::before { content: "\f7c9"; }.bi-airplane-engines-fill::before { content: "\f7ca"; }.bi-airplane-engines::before { content: "\f7cb"; }.bi-airplane-fill::before { content: "\f7cc"; }.bi-airplane::before { content: "\f7cd"; }.bi-alexa::before { content: "\f7ce"; }.bi-alipay::before { content: "\f7cf"; }.bi-android::before { content: "\f7d0"; }.bi-android2::before { content: "\f7d1"; }.bi-box-fill::before { content: "\f7d2"; }.bi-box-seam-fill::before { content: "\f7d3"; }.bi-browser-chrome::before { content: "\f7d4"; }.bi-browser-edge::before { content: "\f7d5"; }.bi-browser-firefox::before { content: "\f7d6"; }.bi-browser-safari::before { content: "\f7d7"; }.bi-c-circle-1::before { content: "\f7d8"; }.bi-c-circle-fill-1::before { content: "\f7d9"; }.bi-c-circle-fill::before { content: "\f7da"; }.bi-c-circle::before { content: "\f7db"; }.bi-c-square-fill::before { content: "\f7dc"; }.bi-c-square::before { content: "\f7dd"; }.bi-capsule-pill::before { content: "\f7de"; }.bi-capsule::before { content: "\f7df"; }.bi-car-front-fill::before { content: "\f7e0"; }.bi-car-front::before { content: "\f7e1"; }.bi-cassette-fill::before { content: "\f7e2"; }.bi-cassette::before { content: "\f7e3"; }.bi-cc-circle-1::before { content: "\f7e4"; }.bi-cc-circle-fill-1::before { content: "\f7e5"; }.bi-cc-circle-fill::before { content: "\f7e6"; }.bi-cc-circle::before { content: "\f7e7"; }.bi-cc-square-fill::before { content: "\f7e8"; }.bi-cc-square::before { content: "\f7e9"; }.bi-cup-hot-fill::before { content: "\f7ea"; }.bi-cup-hot::before { content: "\f7eb"; }.bi-currency-rupee::before { content: "\f7ec"; }.bi-dropbox::before { content: "\f7ed"; }.bi-escape::before { content: "\f7ee"; }.bi-fast-forward-btn-fill::before { content: "\f7ef"; }.bi-fast-forward-btn::before { content: "\f7f0"; }.bi-fast-forward-circle-fill::before { content: "\f7f1"; }.bi-fast-forward-circle::before { content: "\f7f2"; }.bi-fast-forward-fill::before { content: "\f7f3"; }.bi-fast-forward::before { content: "\f7f4"; }.bi-filetype-sql::before { content: "\f7f5"; }.bi-fire::before { content: "\f7f6"; }.bi-google-play::before { content: "\f7f7"; }.bi-h-circle-1::before { content: "\f7f8"; }.bi-h-circle-fill-1::before { content: "\f7f9"; }.bi-h-circle-fill::before { content: "\f7fa"; }.bi-h-circle::before { content: "\f7fb"; }.bi-h-square-fill::before { content: "\f7fc"; }.bi-h-square::before { content: "\f7fd"; }.bi-indent::before { content: "\f7fe"; }.bi-lungs-fill::before { content: "\f7ff"; }.bi-lungs::before { content: "\f800"; }.bi-microsoft-teams::before { content: "\f801"; }.bi-p-circle-1::before { content: "\f802"; }.bi-p-circle-fill-1::before { content: "\f803"; }.bi-p-circle-fill::before { content: "\f804"; }.bi-p-circle::before { content: "\f805"; }.bi-p-square-fill::before { content: "\f806"; }.bi-p-square::before { content: "\f807"; }.bi-pass-fill::before { content: "\f808"; }.bi-pass::before { content: "\f809"; }.bi-prescription::before { content: "\f80a"; }.bi-prescription2::before { content: "\f80b"; }.bi-r-circle-1::before { content: "\f80c"; }.bi-r-circle-fill-1::before { content: "\f80d"; }.bi-r-circle-fill::before { content: "\f80e"; }.bi-r-circle::before { content: "\f80f"; }.bi-r-square-fill::before { content: "\f810"; }.bi-r-square::before { content: "\f811"; }.bi-repeat-1::before { content: "\f812"; }.bi-repeat::before { content: "\f813"; }.bi-rewind-btn-fill::before { content: "\f814"; }.bi-rewind-btn::before { content: "\f815"; }.bi-rewind-circle-fill::before { content: "\f816"; }.bi-rewind-circle::before { content: "\f817"; }.bi-rewind-fill::before { content: "\f818"; }.bi-rewind::before { content: "\f819"; }.bi-train-freight-front-fill::before { content: "\f81a"; }.bi-train-freight-front::before { content: "\f81b"; }.bi-train-front-fill::before { content: "\f81c"; }.bi-train-front::before { content: "\f81d"; }.bi-train-lightrail-front-fill::before { content: "\f81e"; }.bi-train-lightrail-front::before { content: "\f81f"; }.bi-truck-front-fill::before { content: "\f820"; }.bi-truck-front::before { content: "\f821"; }.bi-ubuntu::before { content: "\f822"; }.bi-unindent::before { content: "\f823"; }.bi-unity::before { content: "\f824"; }.bi-universal-access-circle::before { content: "\f825"; }.bi-universal-access::before { content: "\f826"; }.bi-virus::before { content: "\f827"; }.bi-virus2::before { content: "\f828"; }.bi-wechat::before { content: "\f829"; }.bi-yelp::before { content: "\f82a"; }.bi-sign-stop-fill::before { content: "\f82b"; }.bi-sign-stop-lights-fill::before { content: "\f82c"; }.bi-sign-stop-lights::before { content: "\f82d"; }.bi-sign-stop::before { content: "\f82e"; }.bi-sign-turn-left-fill::before { content: "\f82f"; }.bi-sign-turn-left::before { content: "\f830"; }.bi-sign-turn-right-fill::before { content: "\f831"; }.bi-sign-turn-right::before { content: "\f832"; }.bi-sign-turn-slight-left-fill::before { content: "\f833"; }.bi-sign-turn-slight-left::before { content: "\f834"; }.bi-sign-turn-slight-right-fill::before { content: "\f835"; }.bi-sign-turn-slight-right::before { content: "\f836"; }.bi-sign-yield-fill::before { content: "\f837"; }.bi-sign-yield::before { content: "\f838"; }.bi-ev-station-fill::before { content: "\f839"; }.bi-ev-station::before { content: "\f83a"; }.bi-fuel-pump-diesel-fill::before { content: "\f83b"; }.bi-fuel-pump-diesel::before { content: "\f83c"; }.bi-fuel-pump-fill::before { content: "\f83d"; }.bi-fuel-pump::before { content: "\f83e"; }.bi-0-circle-fill::before { content: "\f83f"; }.bi-0-circle::before { content: "\f840"; }.bi-0-square-fill::before { content: "\f841"; }.bi-0-square::before { content: "\f842"; }.bi-rocket-fill::before { content: "\f843"; }.bi-rocket-takeoff-fill::before { content: "\f844"; }.bi-rocket-takeoff::before { content: "\f845"; }.bi-rocket::before { content: "\f846"; }.bi-stripe::before { content: "\f847"; }.bi-subscript::before { content: "\f848"; }.bi-superscript::before { content: "\f849"; }.bi-trello::before { content: "\f84a"; }.bi-envelope-at-fill::before { content: "\f84b"; }.bi-envelope-at::before { content: "\f84c"; }.bi-regex::before { content: "\f84d"; }.bi-text-wrap::before { content: "\f84e"; }.bi-sign-dead-end-fill::before { content: "\f84f"; }.bi-sign-dead-end::before { content: "\f850"; }.bi-sign-do-not-enter-fill::before { content: "\f851"; }.bi-sign-do-not-enter::before { content: "\f852"; }.bi-sign-intersection-fill::before { content: "\f853"; }.bi-sign-intersection-side-fill::before { content: "\f854"; }.bi-sign-intersection-side::before { content: "\f855"; }.bi-sign-intersection-t-fill::before { content: "\f856"; }.bi-sign-intersection-t::before { content: "\f857"; }.bi-sign-intersection-y-fill::before { content: "\f858"; }.bi-sign-intersection-y::before { content: "\f859"; }.bi-sign-intersection::before { content: "\f85a"; }.bi-sign-merge-left-fill::before { content: "\f85b"; }.bi-sign-merge-left::before { content: "\f85c"; }.bi-sign-merge-right-fill::before { content: "\f85d"; }.bi-sign-merge-right::before { content: "\f85e"; }.bi-sign-no-left-turn-fill::before { content: "\f85f"; }.bi-sign-no-left-turn::before { content: "\f860"; }.bi-sign-no-parking-fill::before { content: "\f861"; }.bi-sign-no-parking::before { content: "\f862"; }.bi-sign-no-right-turn-fill::before { content: "\f863"; }.bi-sign-no-right-turn::before { content: "\f864"; }.bi-sign-railroad-fill::before { content: "\f865"; }.bi-sign-railroad::before { content: "\f866"; }.bi-building-add::before { content: "\f867"; }.bi-building-check::before { content: "\f868"; }.bi-building-dash::before { content: "\f869"; }.bi-building-down::before { content: "\f86a"; }.bi-building-exclamation::before { content: "\f86b"; }.bi-building-fill-add::before { content: "\f86c"; }.bi-building-fill-check::before { content: "\f86d"; }.bi-building-fill-dash::before { content: "\f86e"; }.bi-building-fill-down::before { content: "\f86f"; }.bi-building-fill-exclamation::before { content: "\f870"; }.bi-building-fill-gear::before { content: "\f871"; }.bi-building-fill-lock::before { content: "\f872"; }.bi-building-fill-slash::before { content: "\f873"; }.bi-building-fill-up::before { content: "\f874"; }.bi-building-fill-x::before { content: "\f875"; }.bi-building-fill::before { content: "\f876"; }.bi-building-gear::before { content: "\f877"; }.bi-building-lock::before { content: "\f878"; }.bi-building-slash::before { content: "\f879"; }.bi-building-up::before { content: "\f87a"; }.bi-building-x::before { content: "\f87b"; }.bi-buildings-fill::before { content: "\f87c"; }.bi-buildings::before { content: "\f87d"; }.bi-bus-front-fill::before { content: "\f87e"; }.bi-bus-front::before { content: "\f87f"; }.bi-ev-front-fill::before { content: "\f880"; }.bi-ev-front::before { content: "\f881"; }.bi-globe-americas::before { content: "\f882"; }.bi-globe-asia-australia::before { content: "\f883"; }.bi-globe-central-south-asia::before { content: "\f884"; }.bi-globe-europe-africa::before { content: "\f885"; }.bi-house-add-fill::before { content: "\f886"; }.bi-house-add::before { content: "\f887"; }.bi-house-check-fill::before { content: "\f888"; }.bi-house-check::before { content: "\f889"; }.bi-house-dash-fill::before { content: "\f88a"; }.bi-house-dash::before { content: "\f88b"; }.bi-house-down-fill::before { content: "\f88c"; }.bi-house-down::before { content: "\f88d"; }.bi-house-exclamation-fill::before { content: "\f88e"; }.bi-house-exclamation::before { content: "\f88f"; }.bi-house-gear-fill::before { content: "\f890"; }.bi-house-gear::before { content: "\f891"; }.bi-house-lock-fill::before { content: "\f892"; }.bi-house-lock::before { content: "\f893"; }.bi-house-slash-fill::before { content: "\f894"; }.bi-house-slash::before { content: "\f895"; }.bi-house-up-fill::before { content: "\f896"; }.bi-house-up::before { content: "\f897"; }.bi-house-x-fill::before { content: "\f898"; }.bi-house-x::before { content: "\f899"; }.bi-person-add::before { content: "\f89a"; }.bi-person-down::before { content: "\f89b"; }.bi-person-exclamation::before { content: "\f89c"; }.bi-person-fill-add::before { content: "\f89d"; }.bi-person-fill-check::before { content: "\f89e"; }.bi-person-fill-dash::before { content: "\f89f"; }.bi-person-fill-down::before { content: "\f8a0"; }.bi-person-fill-exclamation::before { content: "\f8a1"; }.bi-person-fill-gear::before { content: "\f8a2"; }.bi-person-fill-lock::before { content: "\f8a3"; }.bi-person-fill-slash::before { content: "\f8a4"; }.bi-person-fill-up::before { content: "\f8a5"; }.bi-person-fill-x::before { content: "\f8a6"; }.bi-person-gear::before { content: "\f8a7"; }.bi-person-lock::before { content: "\f8a8"; }.bi-person-slash::before { content: "\f8a9"; }.bi-person-up::before { content: "\f8aa"; }.bi-scooter::before { content: "\f8ab"; }.bi-taxi-front-fill::before { content: "\f8ac"; }.bi-taxi-front::before { content: "\f8ad"; }.bi-amd::before { content: "\f8ae"; }.bi-database-add::before { content: "\f8af"; }.bi-database-check::before { content: "\f8b0"; }.bi-database-dash::before { content: "\f8b1"; }.bi-database-down::before { content: "\f8b2"; }.bi-database-exclamation::before { content: "\f8b3"; }.bi-database-fill-add::before { content: "\f8b4"; }.bi-database-fill-check::before { content: "\f8b5"; }.bi-database-fill-dash::before { content: "\f8b6"; }.bi-database-fill-down::before { content: "\f8b7"; }.bi-database-fill-exclamation::before { content: "\f8b8"; }.bi-database-fill-gear::before { content: "\f8b9"; }.bi-database-fill-lock::before { content: "\f8ba"; }.bi-database-fill-slash::before { content: "\f8bb"; }.bi-database-fill-up::before { content: "\f8bc"; }.bi-database-fill-x::before { content: "\f8bd"; }.bi-database-fill::before { content: "\f8be"; }.bi-database-gear::before { content: "\f8bf"; }.bi-database-lock::before { content: "\f8c0"; }.bi-database-slash::before { content: "\f8c1"; }.bi-database-up::before { content: "\f8c2"; }.bi-database-x::before { content: "\f8c3"; }.bi-database::before { content: "\f8c4"; }.bi-houses-fill::before { content: "\f8c5"; }.bi-houses::before { content: "\f8c6"; }.bi-nvidia::before { content: "\f8c7"; }.bi-person-vcard-fill::before { content: "\f8c8"; }.bi-person-vcard::before { content: "\f8c9"; }.bi-sina-weibo::before { content: "\f8ca"; }.bi-tencent-qq::before { content: "\f8cb"; }.bi-wikipedia::before { content: "\f8cc"; }1234567/*! * Bootstrap v5.1.3 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t="transitionend",e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},i=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},n=t=>{const i=e(t);return i?document.querySelector(i):null},s=e=>{e.dispatchEvent(new Event(t))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=(t,e,i)=>{Object.keys(i).forEach((n=>{const s=i[n],r=e[n],a=r&&o(r)?"element":null==(l=r)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(s).test(a))throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}))},l=t=>!(!o(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),c=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=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?h(t.parentNode):null},d=()=>{},u=t=>{t.offsetHeight},f=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},p=[],m=()=>"rtl"===document.documentElement.dir,g=t=>{var e;e=()=>{const e=f();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(p.length||document.addEventListener("DOMContentLoaded",(()=>{p.forEach((t=>t()))})),p.push(e)):e()},_=t=>{"function"==typeof t&&t()},b=(e,i,n=!0)=>{if(!n)return void _(e);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:n})=>{n===i&&(r=!0,i.removeEventListener(t,a),_(e))};i.addEventListener(t,a),setTimeout((()=>{r||s(i)}),o)},v=(t,e,i,n)=>{let s=t.indexOf(e);if(-1===s)return t[!i&&n?t.length-1:0];const o=t.length;return s+=i?1:-1,n&&(s=(s+o)%o),t[Math.max(0,Math.min(s,o-1))]},y=/[^.]*(?=\..*)\.|.*/,w=/\..*/,E=/::\d+$/,A={};let T=1;const O={mouseenter:"mouseover",mouseleave:"mouseout"},C=/^(mouseenter|mouseleave)/i,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 L(t,e){return e&&`${e}::${T++}`||t.uidEvent||T++}function x(t){const e=L(t);return t.uidEvent=e,A[e]=A[e]||{},A[e]}function D(t,e,i=null){const n=Object.keys(t);for(let s=0,o=n.length;s<o;s++){const o=t[n[s]];if(o.originalHandler===e&&o.delegationSelector===i)return o}return null}function S(t,e,i){const n="string"==typeof e,s=n?i:e;let o=P(t);return k.has(o)||(o=t),[n,s,o]}function N(t,e,i,n,s){if("string"!=typeof e||!t)return;if(i||(i=n,n=null),C.test(e)){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};n?n=t(n):i=t(i)}const[o,r,a]=S(e,i,n),l=x(t),c=l[a]||(l[a]={}),h=D(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=L(r,e.replace(y,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,n.oneOff&&j.off(t,s.type,e,i),i.apply(r,[s]);return null}}(t,i,n):function(t,e){return function i(n){return n.delegateTarget=t,i.oneOff&&j.off(t,n.type,e),e.apply(t,[n])}}(t,i);u.delegationSelector=o?i:null,u.originalHandler=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function I(t,e,i,n,s){const o=D(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function P(t){return t=t.replace(w,""),O[t]||t}const j={on(t,e,i,n){N(t,e,i,n,!1)},one(t,e,i,n){N(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=S(e,i,n),a=r!==e,l=x(t),c=e.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void I(t,l,r,o,s?i:null)}c&&Object.keys(l).forEach((i=>{!function(t,e,i,n){const s=e[i]||{};Object.keys(s).forEach((o=>{if(o.includes(n)){const n=s[o];I(t,e,i,n.originalHandler,n.delegationSelector)}}))}(t,l,i,e.slice(1))}));const h=l[r]||{};Object.keys(h).forEach((i=>{const n=i.replace(E,"");if(!a||e.includes(n)){const e=h[i];I(t,l,r,e.originalHandler,e.delegationSelector)}}))},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=f(),s=P(e),o=e!==s,r=k.has(s);let a,l=!0,c=!0,h=!1,d=null;return o&&n&&(a=n.Event(e,i),n(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents"),d.initEvent(s,l,!0)):d=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach((t=>{Object.defineProperty(d,t,{get:()=>i[t]})})),h&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},M=new Map,H={set(t,e,i){M.has(t)||M.set(t,new Map);const n=M.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>M.has(t)&&M.get(t).get(e)||null,remove(t,e){if(!M.has(t))return;const i=M.get(t);i.delete(e),0===i.size&&M.delete(t)}};class B{constructor(t){(t=r(t))&&(this._element=t,H.set(this._element,this.constructor.DATA_KEY,this))}dispose(){H.remove(this._element,this.constructor.DATA_KEY),j.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((t=>{this[t]=null}))}_queueCallback(t,e,i=!0){b(t,e,i)}static getInstance(t){return H.get(r(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.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const R=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;j.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),c(this))return;const o=n(this)||this.closest(`.${s}`);t.getOrCreateInstance(o)[e]()}))};class W extends B{static get NAME(){return"alert"}close(){if(j.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),j.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=W.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}R(W,"close"),g(W);const $='[data-bs-toggle="button"]';class z extends B{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=z.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}function q(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function F(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}j.on(document,"click.bs.button.data-api",$,(t=>{t.preventDefault();const e=t.target.closest($);z.getOrCreateInstance(e).toggle()})),g(z);const U={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${F(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${F(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=q(t.dataset[i])})),e},getDataAttribute:(t,e)=>q(t.getAttribute(`data-bs-${F(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},V={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 i=[];let n=t.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&i.push(n),n=n.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.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=>!c(t)&&l(t)))}},K="carousel",X={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Y={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Q="next",G="prev",Z="left",J="right",tt={ArrowLeft:J,ArrowRight:Z},et="slid.bs.carousel",it="active",nt=".active.carousel-item";class st extends B{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=V.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return X}static get NAME(){return K}next(){this._slide(Q)}nextWhenVisible(){!document.hidden&&l(this._element)&&this.next()}prev(){this._slide(G)}pause(t){t||(this._isPaused=!0),V.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(s(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=V.findOne(nt,this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void j.one(this._element,et,(()=>this.to(t)));if(e===t)return this.pause(),void this.cycle();const i=t>e?Q:G;this._slide(i,this._items[t])}_getConfig(t){return t={...X,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},a(K,t,Y),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?J:Z)}_addEventListeners(){this._config.keyboard&&j.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(j.on(this._element,"mouseenter.bs.carousel",(t=>this.pause(t))),j.on(this._element,"mouseleave.bs.carousel",(t=>this.cycle(t)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>this._pointerEvent&&("pen"===t.pointerType||"touch"===t.pointerType),e=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},i=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},n=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((t=>this.cycle(t)),500+this._config.interval))};V.find(".carousel-item img",this._element).forEach((t=>{j.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()))})),this._pointerEvent?(j.on(this._element,"pointerdown.bs.carousel",(t=>e(t))),j.on(this._element,"pointerup.bs.carousel",(t=>n(t))),this._element.classList.add("pointer-event")):(j.on(this._element,"touchstart.bs.carousel",(t=>e(t))),j.on(this._element,"touchmove.bs.carousel",(t=>i(t))),j.on(this._element,"touchend.bs.carousel",(t=>n(t))))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=tt[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._items=t&&t.parentNode?V.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const i=t===Q;return v(this._items,e,i,this._config.wrap)}_triggerSlideEvent(t,e){const i=this._getItemIndex(t),n=this._getItemIndex(V.findOne(nt,this._element));return j.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=V.findOne(".active",this._indicatorsElement);e.classList.remove(it),e.removeAttribute("aria-current");const i=V.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e<i.length;e++)if(Number.parseInt(i[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){i[e].classList.add(it),i[e].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||V.findOne(nt,this._element);if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,e){const i=this._directionToOrder(t),n=V.findOne(nt,this._element),s=this._getItemIndex(n),o=e||this._getItemByOrder(i,n),r=this._getItemIndex(o),a=Boolean(this._interval),l=i===Q,c=l?"carousel-item-start":"carousel-item-end",h=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(i);if(o&&o.classList.contains(it))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(o,d).defaultPrevented)return;if(!n||!o)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const f=()=>{j.trigger(this._element,et,{relatedTarget:o,direction:d,from:s,to:r})};if(this._element.classList.contains("slide")){o.classList.add(h),u(o),n.classList.add(c),o.classList.add(c);const t=()=>{o.classList.remove(c,h),o.classList.add(it),n.classList.remove(it,h,c),this._isSliding=!1,setTimeout(f,0)};this._queueCallback(t,n,!0)}else n.classList.remove(it),o.classList.add(it),this._isSliding=!1,f();a&&this.cycle()}_directionToOrder(t){return[J,Z].includes(t)?m()?t===Z?G:Q:t===Z?Q:G:t}_orderToDirection(t){return[Q,G].includes(t)?m()?t===G?Z:J:t===G?J:Z:t}static carouselInterface(t,e){const i=st.getOrCreateInstance(t,e);let{_config:n}=i;"object"==typeof e&&(n={...n,...e});const s="string"==typeof e?e:n.slide;if("number"==typeof e)i.to(e);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each((function(){st.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=n(this);if(!e||!e.classList.contains("carousel"))return;const i={...U.getDataAttributes(e),...U.getDataAttributes(this)},s=this.getAttribute("data-bs-slide-to");s&&(i.interval=!1),st.carouselInterface(e,i),s&&st.getInstance(e).to(s),t.preventDefault()}}j.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",st.dataApiClickHandler),j.on(window,"load.bs.carousel.data-api",(()=>{const t=V.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;e<i;e++)st.carouselInterface(t[e],st.getInstance(t[e]))})),g(st);const ot="collapse",rt={toggle:!0,parent:null},at={toggle:"boolean",parent:"(null|element)"},lt="show",ct="collapse",ht="collapsing",dt="collapsed",ut=":scope .collapse .collapse",ft='[data-bs-toggle="collapse"]';class pt extends B{constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=[];const n=V.find(ft);for(let t=0,e=n.length;t<e;t++){const e=n[t],s=i(e),o=V.find(s).filter((t=>t===this._element));null!==s&&o.length&&(this._selector=s,this._triggerArray.push(e))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return rt}static get NAME(){return ot}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t,e=[];if(this._config.parent){const t=V.find(ut,this._config.parent);e=V.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((e=>!t.includes(e)))}const i=V.findOne(this._selector);if(e.length){const n=e.find((t=>i!==t));if(t=n?pt.getInstance(n):null,t&&t._isTransitioning)return}if(j.trigger(this._element,"show.bs.collapse").defaultPrevented)return;e.forEach((e=>{i!==e&&pt.getOrCreateInstance(e,{toggle:!1}).hide(),t||H.set(e,"bs.collapse",null)}));const n=this._getDimension();this._element.classList.remove(ct),this._element.classList.add(ht),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(ct,lt),this._element.style[n]="",j.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(j.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,u(this._element),this._element.classList.add(ht),this._element.classList.remove(ct,lt);const e=this._triggerArray.length;for(let t=0;t<e;t++){const e=this._triggerArray[t],i=n(e);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(ct),j.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(lt)}_getConfig(t){return(t={...rt,...U.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=r(t.parent),a(ot,t,at),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=V.find(ut,this._config.parent);V.find(ft,this._config.parent).filter((e=>!t.includes(e))).forEach((t=>{const e=n(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}))}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach((t=>{e?t.classList.remove(dt):t.classList.add(dt),t.setAttribute("aria-expanded",e)}))}static jQueryInterface(t){return this.each((function(){const e={};"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const i=pt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}j.on(document,"click.bs.collapse.data-api",ft,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=i(this);V.find(e).forEach((t=>{pt.getOrCreateInstance(t,{toggle:!1}).toggle()}))})),g(pt);var mt="top",gt="bottom",_t="right",bt="left",vt="auto",yt=[mt,gt,_t,bt],wt="start",Et="end",At="clippingParents",Tt="viewport",Ot="popper",Ct="reference",kt=yt.reduce((function(t,e){return t.concat([e+"-"+wt,e+"-"+Et])}),[]),Lt=[].concat(yt,[vt]).reduce((function(t,e){return t.concat([e,e+"-"+wt,e+"-"+Et])}),[]),xt="beforeRead",Dt="read",St="afterRead",Nt="beforeMain",It="main",Pt="afterMain",jt="beforeWrite",Mt="write",Ht="afterWrite",Bt=[xt,Dt,St,Nt,It,Pt,jt,Mt,Ht];function Rt(t){return t?(t.nodeName||"").toLowerCase():null}function Wt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function $t(t){return t instanceof Wt(t).Element||t instanceof Element}function zt(t){return t instanceof Wt(t).HTMLElement||t instanceof HTMLElement}function qt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Wt(t).ShadowRoot||t instanceof ShadowRoot)}const Ft={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];zt(s)&&Rt(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});zt(n)&&Rt(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Ut(t){return t.split("-")[0]}function Vt(t,e){var i=t.getBoundingClientRect();return{width:i.width/1,height:i.height/1,top:i.top/1,right:i.right/1,bottom:i.bottom/1,left:i.left/1,x:i.left/1,y:i.top/1}}function Kt(t){var e=Vt(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function Xt(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&qt(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Yt(t){return Wt(t).getComputedStyle(t)}function Qt(t){return["table","td","th"].indexOf(Rt(t))>=0}function Gt(t){return(($t(t)?t.ownerDocument:t.document)||window.document).documentElement}function Zt(t){return"html"===Rt(t)?t:t.assignedSlot||t.parentNode||(qt(t)?t.host:null)||Gt(t)}function Jt(t){return zt(t)&&"fixed"!==Yt(t).position?t.offsetParent:null}function te(t){for(var e=Wt(t),i=Jt(t);i&&Qt(i)&&"static"===Yt(i).position;)i=Jt(i);return i&&("html"===Rt(i)||"body"===Rt(i)&&"static"===Yt(i).position)?e:i||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&zt(t)&&"fixed"===Yt(t).position)return null;for(var i=Zt(t);zt(i)&&["html","body"].indexOf(Rt(i))<0;){var n=Yt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function ee(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var ie=Math.max,ne=Math.min,se=Math.round;function oe(t,e,i){return ie(t,ne(e,i))}function re(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ae(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}const le={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=Ut(i.placement),l=ee(a),c=[bt,_t].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return re("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ae(t,yt))}(s.padding,i),d=Kt(o),u="y"===l?mt:bt,f="y"===l?gt:_t,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=te(o),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=p/2-m/2,v=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+b,E=oe(v,w,y),A=l;i.modifiersData[n]=((e={})[A]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&Xt(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ce(t){return t.split("-")[1]}var he={top:"auto",right:"auto",bottom:"auto",left:"auto"};function de(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=!0===h?function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:se(se(e*n)/n)||0,y:se(se(i*n)/n)||0}}(r):"function"==typeof h?h(r):r,u=d.x,f=void 0===u?0:u,p=d.y,m=void 0===p?0:p,g=r.hasOwnProperty("x"),_=r.hasOwnProperty("y"),b=bt,v=mt,y=window;if(c){var w=te(i),E="clientHeight",A="clientWidth";w===Wt(i)&&"static"!==Yt(w=Gt(i)).position&&"absolute"===a&&(E="scrollHeight",A="scrollWidth"),w=w,s!==mt&&(s!==bt&&s!==_t||o!==Et)||(v=gt,m-=w[E]-n.height,m*=l?1:-1),s!==bt&&(s!==mt&&s!==gt||o!==Et)||(b=_t,f-=w[A]-n.width,f*=l?1:-1)}var T,O=Object.assign({position:a},c&&he);return l?Object.assign({},O,((T={})[v]=_?"0":"",T[b]=g?"0":"",T.transform=(y.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",T)):Object.assign({},O,((e={})[v]=_?m+"px":"",e[b]=g?f+"px":"",e.transform="",e))}const ue={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:Ut(e.placement),variation:ce(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,de(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,de(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var fe={passive:!0};const pe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=Wt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,fe)})),a&&l.addEventListener("resize",i.update,fe),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,fe)})),a&&l.removeEventListener("resize",i.update,fe)}},data:{}};var me={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(t){return t.replace(/left|right|bottom|top/g,(function(t){return me[t]}))}var _e={start:"end",end:"start"};function be(t){return t.replace(/start|end/g,(function(t){return _e[t]}))}function ve(t){var e=Wt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ye(t){return Vt(Gt(t)).left+ve(t).scrollLeft}function we(t){var e=Yt(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Ee(t){return["html","body","#document"].indexOf(Rt(t))>=0?t.ownerDocument.body:zt(t)&&we(t)?t:Ee(Zt(t))}function Ae(t,e){var i;void 0===e&&(e=[]);var n=Ee(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=Wt(n),r=s?[o].concat(o.visualViewport||[],we(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(Ae(Zt(r)))}function Te(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Oe(t,e){return e===Tt?Te(function(t){var e=Wt(t),i=Gt(t),n=e.visualViewport,s=i.clientWidth,o=i.clientHeight,r=0,a=0;return n&&(s=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:s,height:o,x:r+ye(t),y:a}}(t)):zt(e)?function(t){var e=Vt(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):Te(function(t){var e,i=Gt(t),n=ve(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=ie(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ie(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+ye(t),l=-n.scrollTop;return"rtl"===Yt(s||i).direction&&(a+=ie(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Gt(t)))}function Ce(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?Ut(s):null,r=s?ce(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case mt:e={x:a,y:i.y-n.height};break;case gt:e={x:a,y:i.y+i.height};break;case _t:e={x:i.x+i.width,y:l};break;case bt:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?ee(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case wt:e[c]=e[c]-(i[h]/2-n[h]/2);break;case Et:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function ke(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.boundary,r=void 0===o?At:o,a=i.rootBoundary,l=void 0===a?Tt:a,c=i.elementContext,h=void 0===c?Ot:c,d=i.altBoundary,u=void 0!==d&&d,f=i.padding,p=void 0===f?0:f,m=re("number"!=typeof p?p:ae(p,yt)),g=h===Ot?Ct:Ot,_=t.rects.popper,b=t.elements[u?g:h],v=function(t,e,i){var n="clippingParents"===e?function(t){var e=Ae(Zt(t)),i=["absolute","fixed"].indexOf(Yt(t).position)>=0&&zt(t)?te(t):t;return $t(i)?e.filter((function(t){return $t(t)&&Xt(t,i)&&"body"!==Rt(t)})):[]}(t):[].concat(e),s=[].concat(n,[i]),o=s[0],r=s.reduce((function(e,i){var n=Oe(t,i);return e.top=ie(n.top,e.top),e.right=ne(n.right,e.right),e.bottom=ne(n.bottom,e.bottom),e.left=ie(n.left,e.left),e}),Oe(t,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}($t(b)?b:b.contextElement||Gt(t.elements.popper),r,l),y=Vt(t.elements.reference),w=Ce({reference:y,element:_,strategy:"absolute",placement:s}),E=Te(Object.assign({},_,w)),A=h===Ot?E:y,T={top:v.top-A.top+m.top,bottom:A.bottom-v.bottom+m.bottom,left:v.left-A.left+m.left,right:A.right-v.right+m.right},O=t.modifiersData.offset;if(h===Ot&&O){var C=O[s];Object.keys(T).forEach((function(t){var e=[_t,gt].indexOf(t)>=0?1:-1,i=[mt,gt].indexOf(t)>=0?"y":"x";T[t]+=C[i]*e}))}return T}function Le(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?Lt:l,h=ce(n),d=h?a?kt:kt.filter((function(t){return ce(t)===h})):yt,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d);var f=u.reduce((function(e,i){return e[i]=ke(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[Ut(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}const xe={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,g=e.options.placement,_=Ut(g),b=l||(_!==g&&p?function(t){if(Ut(t)===vt)return[];var e=ge(t);return[be(t),e,be(e)]}(g):[ge(g)]),v=[g].concat(b).reduce((function(t,i){return t.concat(Ut(i)===vt?Le(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,A=!0,T=v[0],O=0;O<v.length;O++){var C=v[O],k=Ut(C),L=ce(C)===wt,x=[mt,gt].indexOf(k)>=0,D=x?"width":"height",S=ke(e,{placement:C,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),N=x?L?_t:bt:L?gt:mt;y[D]>w[D]&&(N=ge(N));var I=ge(N),P=[];if(o&&P.push(S[k]<=0),a&&P.push(S[N]<=0,S[I]<=0),P.every((function(t){return t}))){T=C,A=!1;break}E.set(C,P)}if(A)for(var j=function(t){var e=v.find((function(e){var i=E.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},M=p?3:1;M>0&&"break"!==j(M);M--);e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function De(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Se(t){return[mt,_t,gt,bt].some((function(e){return t[e]>=0}))}const Ne={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=ke(e,{elementContext:"reference"}),a=ke(e,{altBoundary:!0}),l=De(r,n),c=De(a,s,o),h=Se(l),d=Se(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},Ie={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=Lt.reduce((function(t,i){return t[i]=function(t,e,i){var n=Ut(t),s=[bt,mt].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[bt,_t].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},Pe={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Ce({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},je={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,m=void 0===p?0:p,g=ke(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=Ut(e.placement),b=ce(e.placement),v=!b,y=ee(_),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,A=e.rects.reference,T=e.rects.popper,O="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,C={x:0,y:0};if(E){if(o||a){var k="y"===y?mt:bt,L="y"===y?gt:_t,x="y"===y?"height":"width",D=E[y],S=E[y]+g[k],N=E[y]-g[L],I=f?-T[x]/2:0,P=b===wt?A[x]:T[x],j=b===wt?-T[x]:-A[x],M=e.elements.arrow,H=f&&M?Kt(M):{width:0,height:0},B=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},R=B[k],W=B[L],$=oe(0,A[x],H[x]),z=v?A[x]/2-I-$-R-O:P-$-R-O,q=v?-A[x]/2+I+$+W+O:j+$+W+O,F=e.elements.arrow&&te(e.elements.arrow),U=F?"y"===y?F.clientTop||0:F.clientLeft||0:0,V=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,K=E[y]+z-V-U,X=E[y]+q-V;if(o){var Y=oe(f?ne(S,K):S,D,f?ie(N,X):N);E[y]=Y,C[y]=Y-D}if(a){var Q="x"===y?mt:bt,G="x"===y?gt:_t,Z=E[w],J=Z+g[Q],tt=Z-g[G],et=oe(f?ne(J,K):J,Z,f?ie(tt,X):tt);E[w]=et,C[w]=et-Z}}e.modifiersData[n]=C}},requiresIfExists:["offset"]};function Me(t,e,i){void 0===i&&(i=!1);var n=zt(e);zt(e)&&function(t){var e=t.getBoundingClientRect();e.width,t.offsetWidth,e.height,t.offsetHeight}(e);var s,o,r=Gt(e),a=Vt(t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!i)&&(("body"!==Rt(e)||we(r))&&(l=(s=e)!==Wt(s)&&zt(s)?{scrollLeft:(o=s).scrollLeft,scrollTop:o.scrollTop}:ve(s)),zt(e)?((c=Vt(e)).x+=e.clientLeft,c.y+=e.clientTop):r&&(c.x=ye(r))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function He(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var Be={placement:"bottom",modifiers:[],strategy:"absolute"};function Re(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function We(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?Be:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Be,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:$t(t)?Ae(t):t.contextElement?Ae(t.contextElement):[],popper:Ae(e)};var r,c,u=function(t){var e=He(t);return Bt.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((r=[].concat(n,a.options.modifiers),c=r.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=u.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(Re(e,i)){a.rects={reference:Me(e,te(i),"fixed"===a.options.strategy),popper:Kt(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var s=a.orderedModifiers[n],o=s.fn,r=s.options,l=void 0===r?{}:r,d=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:d,instance:h})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise((function(t){h.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!Re(t,e))return h;function d(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),h}}var $e=We(),ze=We({defaultModifiers:[pe,Pe,ue,Ft]}),qe=We({defaultModifiers:[pe,Pe,ue,Ft,Ie,xe,je,le,Ne]});const Fe=Object.freeze({__proto__:null,popperGenerator:We,detectOverflow:ke,createPopperBase:$e,createPopper:qe,createPopperLite:ze,top:mt,bottom:gt,right:_t,left:bt,auto:vt,basePlacements:yt,start:wt,end:Et,clippingParents:At,viewport:Tt,popper:Ot,reference:Ct,variationPlacements:kt,placements:Lt,beforeRead:xt,read:Dt,afterRead:St,beforeMain:Nt,main:It,afterMain:Pt,beforeWrite:jt,write:Mt,afterWrite:Ht,modifierPhases:Bt,applyStyles:Ft,arrow:le,computeStyles:ue,eventListeners:pe,flip:xe,hide:Ne,offset:Ie,popperOffsets:Pe,preventOverflow:je}),Ue="dropdown",Ve="Escape",Ke="Space",Xe="ArrowUp",Ye="ArrowDown",Qe=new RegExp("ArrowUp|ArrowDown|Escape"),Ge="click.bs.dropdown.data-api",Ze="keydown.bs.dropdown.data-api",Je="show",ti='[data-bs-toggle="dropdown"]',ei=".dropdown-menu",ii=m()?"top-end":"top-start",ni=m()?"top-start":"top-end",si=m()?"bottom-end":"bottom-start",oi=m()?"bottom-start":"bottom-end",ri=m()?"left-start":"right-start",ai=m()?"right-start":"left-start",li={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},ci={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class hi extends B{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return li}static get DefaultType(){return ci}static get NAME(){return Ue}toggle(){return this._isShown()?this.hide():this.show()}show(){if(c(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element};if(j.trigger(this._element,"show.bs.dropdown",t).defaultPrevented)return;const e=hi.getParentFromElement(this._element);this._inNavbar?U.setDataAttribute(this._menu,"popper","none"):this._createPopper(e),"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((t=>j.on(t,"mouseover",d))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Je),this._element.classList.add(Je),j.trigger(this._element,"shown.bs.dropdown",t)}hide(){if(c(this._element)||!this._isShown(this._menu))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){j.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>j.off(t,"mouseover",d))),this._popper&&this._popper.destroy(),this._menu.classList.remove(Je),this._element.classList.remove(Je),this._element.setAttribute("aria-expanded","false"),U.removeDataAttribute(this._menu,"popper"),j.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...U.getDataAttributes(this._element),...t},a(Ue,t,this.constructor.DefaultType),"object"==typeof t.reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ue.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(t){if(void 0===Fe)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:o(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const i=this._getPopperConfig(),n=i.modifiers.find((t=>"applyStyles"===t.name&&!1===t.enabled));this._popper=qe(e,this._menu,i),n&&U.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(Je)}_getMenuElement(){return V.next(this._element,ei)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return ri;if(t.classList.contains("dropstart"))return ai;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?ni:ii:e?oi:si}_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"static"===this._config.display&&(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 i=V.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(l);i.length&&v(i,e,t===Ye,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=hi.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(t&&(2===t.button||"keyup"===t.type&&"Tab"!==t.key))return;const e=V.find(ti);for(let i=0,n=e.length;i<n;i++){const n=hi.getInstance(e[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const s={relatedTarget:n._element};if(t){const e=t.composedPath(),i=e.includes(n._menu);if(e.includes(n._element)||"inside"===n._config.autoClose&&!i||"outside"===n._config.autoClose&&i)continue;if(n._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;"click"===t.type&&(s.clickEvent=t)}n._completeHide(s)}}static getParentFromElement(t){return n(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?t.key===Ke||t.key!==Ve&&(t.key!==Ye&&t.key!==Xe||t.target.closest(ei)):!Qe.test(t.key))return;const e=this.classList.contains(Je);if(!e&&t.key===Ve)return;if(t.preventDefault(),t.stopPropagation(),c(this))return;const i=this.matches(ti)?this:V.prev(this,ti)[0],n=hi.getOrCreateInstance(i);if(t.key!==Ve)return t.key===Xe||t.key===Ye?(e||n.show(),void n._selectMenuItem(t)):void(e&&t.key!==Ke||hi.clearMenus());n.hide()}}j.on(document,Ze,ti,hi.dataApiKeydownHandler),j.on(document,Ze,ei,hi.dataApiKeydownHandler),j.on(document,Ge,hi.clearMenus),j.on(document,"keyup.bs.dropdown.data-api",hi.clearMenus),j.on(document,Ge,ti,(function(t){t.preventDefault(),hi.getOrCreateInstance(this).toggle()})),g(hi);const di=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ui=".sticky-top";class fi{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,"paddingRight",(e=>e+t)),this._setElementAttributes(di,"paddingRight",(e=>e+t)),this._setElementAttributes(ui,"marginRight",(e=>e-t))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t)[e];t.style[e]=`${i(Number.parseFloat(s))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(di,"paddingRight"),this._resetElementAttributes(ui,"marginRight")}_saveInitialAttribute(t,e){const i=t.style[e];i&&U.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=U.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(U.removeDataAttribute(t,e),t.style[e]=i)}))}_applyManipulationCallback(t,e){o(t)?e(t):V.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const pi={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},mi={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},gi="show",_i="mousedown.bs.backdrop";class bi{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&u(this._getElement()),this._getElement().classList.add(gi),this._emulateAnimation((()=>{_(t)}))):_(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(gi),this._emulateAnimation((()=>{this.dispose(),_(t)}))):_(t)}_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}_getConfig(t){return(t={...pi,..."object"==typeof t?t:{}}).rootElement=r(t.rootElement),a("backdrop",t,mi),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),j.on(this._getElement(),_i,(()=>{_(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(j.off(this._element,_i),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){b(t,this._getElement(),this._config.isAnimated)}}const vi={trapElement:null,autofocus:!0},yi={trapElement:"element",autofocus:"boolean"},wi=".bs.focustrap",Ei="backward";class Ai{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),j.off(document,wi),j.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),j.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,j.off(document,wi))}_handleFocusin(t){const{target:e}=t,{trapElement:i}=this._config;if(e===document||e===i||i.contains(e))return;const n=V.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===Ei?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Ei:"forward")}_getConfig(t){return t={...vi,..."object"==typeof t?t:{}},a("focustrap",t,yi),t}}const Ti="modal",Oi="Escape",Ci={backdrop:!0,keyboard:!0,focus:!0},ki={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Li="hidden.bs.modal",xi="show.bs.modal",Di="resize.bs.modal",Si="click.dismiss.bs.modal",Ni="keydown.dismiss.bs.modal",Ii="mousedown.dismiss.bs.modal",Pi="modal-open",ji="show",Mi="modal-static";class Hi extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=V.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new fi}static get Default(){return Ci}static get NAME(){return Ti}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||j.trigger(this._element,xi,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Pi),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),j.on(this._dialog,Ii,(()=>{j.one(this._element,"mouseup.dismiss.bs.modal",(t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;if(j.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const t=this._isAnimated();t&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(ji),j.off(this._element,Si),j.off(this._dialog,Ii),this._queueCallback((()=>this._hideModal()),this._element,t)}dispose(){[window,this._dialog].forEach((t=>j.off(t,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new bi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ai({trapElement:this._element})}_getConfig(t){return t={...Ci,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},a(Ti,t,ki),t}_showElement(t){const e=this._isAnimated(),i=V.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),e&&u(this._element),this._element.classList.add(ji),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,j.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,e)}_setEscapeEvent(){this._isShown?j.on(this._element,Ni,(t=>{this._config.keyboard&&t.key===Oi?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==Oi||this._triggerBackdropTransition()})):j.off(this._element,Ni)}_setResizeEvent(){this._isShown?j.on(window,Di,(()=>this._adjustDialog())):j.off(window,Di)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Pi),this._resetAdjustments(),this._scrollBar.reset(),j.trigger(this._element,Li)}))}_showBackdrop(t){j.on(this._element,Si,(t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(j.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:t,scrollHeight:e,style:i}=this._element,n=e>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||t.contains(Mi)||(n||(i.overflowY="hidden"),t.add(Mi),this._queueCallback((()=>{t.remove(Mi),n||this._queueCallback((()=>{i.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;(!i&&t&&!m()||i&&!t&&m())&&(this._element.style.paddingLeft=`${e}px`),(i&&!t&&!m()||!i&&t&&m())&&(this._element.style.paddingRight=`${e}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=Hi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}j.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=n(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),j.one(e,xi,(t=>{t.defaultPrevented||j.one(e,Li,(()=>{l(this)&&this.focus()}))}));const i=V.findOne(".modal.show");i&&Hi.getInstance(i).hide(),Hi.getOrCreateInstance(e).toggle(this)})),R(Hi),g(Hi);const Bi="offcanvas",Ri={backdrop:!0,keyboard:!0,scroll:!1},Wi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},$i="show",zi=".offcanvas.show",qi="hidden.bs.offcanvas";class Fi extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Bi}static get Default(){return Ri}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||j.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new fi).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add($i),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),j.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(j.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove($i),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new fi).reset(),j.trigger(this._element,qi)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...Ri,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},a(Bi,t,Wi),t}_initializeBackDrop(){return new bi({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Ai({trapElement:this._element})}_addEventListeners(){j.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}))}static jQueryInterface(t){return this.each((function(){const e=Fi.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)}}))}}j.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=n(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),c(this))return;j.one(e,qi,(()=>{l(this)&&this.focus()}));const i=V.findOne(zi);i&&i!==e&&Fi.getInstance(i).hide(),Fi.getOrCreateInstance(e).toggle(this)})),j.on(window,"load.bs.offcanvas.data-api",(()=>V.find(zi).forEach((t=>Fi.getOrCreateInstance(t).show())))),R(Fi),g(Fi);const Ui=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Vi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ki=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Xi=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!Ui.has(i)||Boolean(Vi.test(t.nodeValue)||Ki.test(t.nodeValue));const n=e.filter((t=>t instanceof RegExp));for(let t=0,e=n.length;t<e;t++)if(n[t].test(i))return!0;return!1};function Yi(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(let t=0,i=s.length;t<i;t++){const i=s[t],n=i.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){i.remove();continue}const o=[].concat(...i.attributes),r=[].concat(e["*"]||[],e[n]||[]);o.forEach((t=>{Xi(t,r)||i.removeAttribute(t.nodeName)}))}return n.body.innerHTML}const Qi="tooltip",Gi=new Set(["sanitize","allowList","sanitizeFn"]),Zi={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Ji={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},tn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["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:[]},popperConfig:null},en={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},nn="fade",sn="show",on="show",rn="out",an=".tooltip-inner",ln=".modal",cn="hide.bs.modal",hn="hover",dn="focus";class un extends B{constructor(t,e){if(void 0===Fe)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return tn}static get NAME(){return Qi}static get Event(){return en}static get DefaultType(){return Zi}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(sn))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),j.off(this._element.closest(ln),cn,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=j.trigger(this._element,this.constructor.Event.SHOW),e=h(this._element),i=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!i)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(an).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME);n.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&n.classList.add(nn);const o="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,r=this._getAttachment(o);this._addAttachmentClass(r);const{container:a}=this._config;H.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(n),j.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=qe(this._element,n,this._getPopperConfig(r)),n.classList.add(sn);const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>{j.on(t,"mouseover",d)}));const c=this.tip.classList.contains(nn);this._queueCallback((()=>{const t=this._hoverState;this._hoverState=null,j.trigger(this._element,this.constructor.Event.SHOWN),t===rn&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const t=this.getTipElement();if(j.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(sn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>j.off(t,"mouseover",d))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const e=this.tip.classList.contains(nn);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==on&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),j.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(nn,sn),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),an)}_sanitizeAndSetContent(t,e,i){const n=V.findOne(i,t);e||!n?this.setElementContent(n,e):n.remove()}setElementContent(t,e){if(null!==t)return o(e)?(e=r(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=Yi(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){const t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_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:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return Ji[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((t=>{if("click"===t)j.on(this._element,this.constructor.Event.CLICK,this._config.selector,(t=>this.toggle(t)));else if("manual"!==t){const e=t===hn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=t===hn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;j.on(this._element,e,this._config.selector,(t=>this._enter(t))),j.on(this._element,i,this._config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},j.on(this._element.closest(ln),cn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?dn:hn]=!0),e.getTipElement().classList.contains(sn)||e._hoverState===on?e._hoverState=on:(clearTimeout(e._timeout),e._hoverState=on,e._config.delay&&e._config.delay.show?e._timeout=setTimeout((()=>{e._hoverState===on&&e.show()}),e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?dn:hn]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=rn,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout((()=>{e._hoverState===rn&&e.hide()}),e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=U.getDataAttributes(this._element);return Object.keys(e).forEach((t=>{Gi.has(t)&&delete e[t]})),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:r(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()),a(Qi,t,this.constructor.DefaultType),t.sanitize&&(t.template=Yi(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&i.length>0&&i.map((t=>t.trim())).forEach((e=>t.classList.remove(e)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=un.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(un);const fn={...un.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},pn={...un.DefaultType,content:"(string|element|function)"},mn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class gn extends un{static get Default(){return fn}static get NAME(){return"popover"}static get Event(){return mn}static get DefaultType(){return pn}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each((function(){const e=gn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(gn);const _n="scrollspy",bn={offset:10,method:"auto",target:""},vn={offset:"number",method:"string",target:"(string|element)"},yn="active",wn=".nav-link, .list-group-item, .dropdown-item",En="position";class An extends B{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,j.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return bn}static get NAME(){return _n}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":En,e="auto"===this._config.method?t:this._config.method,n=e===En?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),V.find(wn,this._config.target).map((t=>{const s=i(t),o=s?V.findOne(s):null;if(o){const t=o.getBoundingClientRect();if(t.width||t.height)return[U[e](o).top+n,s]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){j.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(t){return(t={...bn,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=r(t.target)||document.documentElement,a(_n,t,vn),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=wn.split(",").map((e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`)),i=V.findOne(e.join(","),this._config.target);i.classList.add(yn),i.classList.contains("dropdown-item")?V.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(yn):V.parents(i,".nav, .list-group").forEach((t=>{V.prev(t,".nav-link, .list-group-item").forEach((t=>t.classList.add(yn))),V.prev(t,".nav-item").forEach((t=>{V.children(t,".nav-link").forEach((t=>t.classList.add(yn)))}))})),j.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){V.find(wn,this._config.target).filter((t=>t.classList.contains(yn))).forEach((t=>t.classList.remove(yn)))}static jQueryInterface(t){return this.each((function(){const e=An.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}j.on(window,"load.bs.scrollspy.data-api",(()=>{V.find('[data-bs-spy="scroll"]').forEach((t=>new An(t)))})),g(An);const Tn="active",On="fade",Cn="show",kn=".active",Ln=":scope > li > .active";class xn extends B{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Tn))return;let t;const e=n(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?Ln:kn;t=V.find(e,i),t=t[t.length-1]}const s=t?j.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(j.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==s&&s.defaultPrevented)return;this._activate(this._element,i);const o=()=>{j.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),j.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,o):o()}_activate(t,e,i){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?V.children(e,kn):V.find(Ln,e))[0],s=i&&n&&n.classList.contains(On),o=()=>this._transitionComplete(t,n,i);n&&s?(n.classList.remove(Cn),this._queueCallback(o,t,!0)):o()}_transitionComplete(t,e,i){if(e){e.classList.remove(Tn);const t=V.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove(Tn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(Tn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),u(t),t.classList.contains(On)&&t.classList.add(Cn);let n=t.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const e=t.closest(".dropdown");e&&V.find(".dropdown-toggle",e).forEach((t=>t.classList.add(Tn))),t.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each((function(){const e=xn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}j.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),c(this)||xn.getOrCreateInstance(this).show()})),g(xn);const Dn="toast",Sn="hide",Nn="show",In="showing",Pn={animation:"boolean",autohide:"boolean",delay:"number"},jn={animation:!0,autohide:!0,delay:5e3};class Mn extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Pn}static get Default(){return jn}static get NAME(){return Dn}show(){j.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Sn),u(this._element),this._element.classList.add(Nn),this._element.classList.add(In),this._queueCallback((()=>{this._element.classList.remove(In),j.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(Nn)&&(j.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(In),this._queueCallback((()=>{this._element.classList.add(Sn),this._element.classList.remove(In),this._element.classList.remove(Nn),j.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Nn)&&this._element.classList.remove(Nn),super.dispose()}_getConfig(t){return t={...jn,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},a(Dn,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){j.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),j.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),j.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),j.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Mn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return R(Mn),g(Mn),{Alert:W,Button:z,Carousel:st,Collapse:pt,Dropdown:hi,Modal:Hi,Offcanvas:Fi,Popover:gn,ScrollSpy:An,Tab:xn,Toast:Mn,Tooltip:un}}));//# sourceMappingURL=bootstrap.bundle.min.js.map1234567/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return b}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),r=n.n(e);function c(t){try{return document.execCommand(t)}catch(t){return}}var a=function(t){t=r()(t);return c("cut"),t};function o(t,e){var n,o,t=(n=t,o="rtl"===document.documentElement.getAttribute("dir"),(t=document.createElement("textarea")).style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style[o?"right":"left"]="-9999px",o=window.pageYOffset||document.documentElement.scrollTop,t.style.top="".concat(o,"px"),t.setAttribute("readonly",""),t.value=n,t);return e.container.appendChild(t),e=r()(t),c("copy"),t.remove(),e}var f=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=o(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=o(t.value,e):(n=r()(t),c("copy")),n};function l(t){return(l="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})(t)}var s=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,o=t.container,e=t.target,t=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==e){if(!e||"object"!==l(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return t?f(t,{container:o}):e?"cut"===n?a(e):f(e,{container:o}):void 0};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})(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(n){var o=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}}();return function(){var t,e=v(n);return t=o?(t=v(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,!(t=t)||"object"!==p(t)&&"function"!=typeof t?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){t="data-clipboard-".concat(t);if(e.hasAttribute(t))return e.getAttribute(t)}var b=function(){!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&&y(t,e)}(r,i());var t,e,n,o=h(r);function r(t,e){var n;return function(t){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n}return t=r,n=[{key:"copy",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(t,e)}},{key:"cut",value:function(t){return a(t)}},{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof t?[t]:t,e=!!document.queryCommandSupported;return t.forEach(function(t){e=e&&!!document.queryCommandSupported(t)}),e}}],(e=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&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=u()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",t=s({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(t?"success":"error",{action:n,text:t,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return m("action",t)}},{key:"defaultTarget",value:function(t){t=m("target",t);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(t){return m("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&d(t.prototype,e),n&&d(t,n),r}()},828:function(t){var e;"undefined"==typeof Element||Element.prototype.matches||((e=Element.prototype).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 u=n(828);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=u(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,o,r)}))}},879:function(t,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var f=n(879),l=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!f.string(e))throw new TypeError("Second argument must be a String");if(!f.fn(n))throw new TypeError("Third argument must be a Function");if(f.node(t))return c=e,a=n,(u=t).addEventListener(c,a),{destroy:function(){u.removeEventListener(c,a)}};if(f.nodeList(t))return o=t,r=e,i=n,Array.prototype.forEach.call(o,function(t){t.addEventListener(r,i)}),{destroy:function(){Array.prototype.forEach.call(o,function(t){t.removeEventListener(r,i)})}};if(f.string(t))return t=t,e=e,n=n,l(document.body,t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,r,i,u,c,a}},817:function(t){t.exports=function(t){var e,n="SELECT"===t.nodeName?(t.focus(),t.value):"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?((e=t.hasAttribute("readonly"))||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),e||t.removeAttribute("readonly"),t.value):(t.hasAttribute("contenteditable")&&t.focus(),n=window.getSelection(),(e=document.createRange()).selectNodeContents(t),n.removeAllRanges(),n.addRange(e),n.toString());return n}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,u=o.length;i<u;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},r={},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o(686).default;function o(t){if(r[t])return r[t].exports;var e=r[t]={exports:{}};return n[t](e,e.exports,o),e.exports}var n,r});123456789// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat//// AnchorJS - v4.3.1 - 2021-04-17// https://www.bryanbraun.com/anchorjs/// Copyright (c) 2021 Bryan Braun; Licensed MIT//// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat!function(A,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():(A.AnchorJS=e(),A.anchors=new A.AnchorJS)}(this,function(){"use strict";return function(A){function d(A){A.icon=Object.prototype.hasOwnProperty.call(A,"icon")?A.icon:"",A.visible=Object.prototype.hasOwnProperty.call(A,"visible")?A.visible:"hover",A.placement=Object.prototype.hasOwnProperty.call(A,"placement")?A.placement:"right",A.ariaLabel=Object.prototype.hasOwnProperty.call(A,"ariaLabel")?A.ariaLabel:"Anchor",A.class=Object.prototype.hasOwnProperty.call(A,"class")?A.class:"",A.base=Object.prototype.hasOwnProperty.call(A,"base")?A.base:"",A.truncate=Object.prototype.hasOwnProperty.call(A,"truncate")?Math.floor(A.truncate):64,A.titleText=Object.prototype.hasOwnProperty.call(A,"titleText")?A.titleText:""}function w(A){var e;if("string"==typeof A||A instanceof String)e=[].slice.call(document.querySelectorAll(A));else{if(!(Array.isArray(A)||A instanceof NodeList))throw new TypeError("The selector provided to AnchorJS was invalid.");e=[].slice.call(A)}return e}this.options=A||{},this.elements=[],d(this.options),this.isTouchDevice=function(){return Boolean("ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch)},this.add=function(A){var e,t,o,i,n,s,a,c,r,l,h,u,p=[];if(d(this.options),"touch"===(l=this.options.visible)&&(l=this.isTouchDevice()?"always":"hover"),0===(e=w(A=A||"h2, h3, h4, h5, h6")).length)return this;for(null===document.head.querySelector("style.anchorjs")&&((u=document.createElement("style")).className="anchorjs",u.appendChild(document.createTextNode("")),void 0===(A=document.head.querySelector('[rel="stylesheet"],style'))?document.head.appendChild(u):document.head.insertBefore(u,A),u.sheet.insertRule(".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",u.sheet.cssRules.length),u.sheet.insertRule(":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",u.sheet.cssRules.length),u.sheet.insertRule("[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",u.sheet.cssRules.length),u.sheet.insertRule('@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',u.sheet.cssRules.length)),u=document.querySelectorAll("[id]"),t=[].map.call(u,function(A){return A.id}),i=0;i<e.length;i++)if(this.hasAnchorJSLink(e[i]))p.push(i);else{if(e[i].hasAttribute("id"))o=e[i].getAttribute("id");else if(e[i].hasAttribute("data-anchor-id"))o=e[i].getAttribute("data-anchor-id");else{for(c=a=this.urlify(e[i].textContent),s=0;n=t.indexOf(c=void 0!==n?a+"-"+s:c),s+=1,-1!==n;);n=void 0,t.push(c),e[i].setAttribute("id",c),o=c}(r=document.createElement("a")).className="anchorjs-link "+this.options.class,r.setAttribute("aria-label",this.options.ariaLabel),r.setAttribute("data-anchorjs-icon",this.options.icon),this.options.titleText&&(r.title=this.options.titleText),h=document.querySelector("base")?window.location.pathname+window.location.search:"",h=this.options.base||h,r.href=h+"#"+o,"always"===l&&(r.style.opacity="1"),""===this.options.icon&&(r.style.font="1em/1 anchorjs-icons","left"===this.options.placement&&(r.style.lineHeight="inherit")),"left"===this.options.placement?(r.style.position="absolute",r.style.marginLeft="-1em",r.style.paddingRight=".5em",e[i].insertBefore(r,e[i].firstChild)):(r.style.paddingLeft=".375em",e[i].appendChild(r))}for(i=0;i<p.length;i++)e.splice(p[i]-i,1);return this.elements=this.elements.concat(e),this},this.remove=function(A){for(var e,t,o=w(A),i=0;i<o.length;i++)(t=o[i].querySelector(".anchorjs-link"))&&(-1!==(e=this.elements.indexOf(o[i]))&&this.elements.splice(e,1),o[i].removeChild(t));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(A){var e=document.createElement("textarea");return e.innerHTML=A,A=e.value,this.options.truncate||d(this.options),A.trim().replace(/'/gi,"").replace(/[& +$,:;=?@"#{}|^~[`%!'<>\]./()*\\\n\t\b\v\u00A0]/g,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(A){var e=A.firstChild&&-1<(" "+A.firstChild.className+" ").indexOf(" anchorjs-link "),A=A.lastChild&&-1<(" "+A.lastChild.className+" ").indexOf(" anchorjs-link ");return e||A||!1}}});// @license-end123456/** * @popperjs/core v2.11.4 - MIT License */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function n(e){return e instanceof t(e).Element||e instanceof Element}function r(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var i=Math.max,a=Math.min,s=Math.round;function f(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if(r(e)&&t){var a=e.offsetHeight,f=e.offsetWidth;f>0&&(o=s(n.width)/f||1),a>0&&(i=s(n.height)/a||1)}return{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}function c(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function p(e){return e?(e.nodeName||"").toLowerCase():null}function u(e){return((n(e)?e.ownerDocument:e.document)||window.document).documentElement}function l(e){return f(u(e)).left+c(e).scrollLeft}function d(e){return t(e).getComputedStyle(e)}function h(e){var t=d(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function m(e,n,o){void 0===o&&(o=!1);var i,a,d=r(n),m=r(n)&&function(e){var t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||1,r=s(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(n),v=u(n),g=f(e,m),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(d||!d&&!o)&&(("body"!==p(n)||h(v))&&(y=(i=n)!==t(i)&&r(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:c(i)),r(n)?((b=f(n,!0)).x+=n.clientLeft,b.y+=n.clientTop):v&&(b.x=l(v))),{x:g.left+y.scrollLeft-b.x,y:g.top+y.scrollTop-b.y,width:g.width,height:g.height}}function v(e){var t=f(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function g(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||u(e)}function y(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:r(e)&&h(e)?e:y(g(e))}function b(e,n){var r;void 0===n&&(n=[]);var o=y(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=t(o),s=i?[a].concat(a.visualViewport||[],h(o)?o:[]):o,f=n.concat(s);return i?f:f.concat(b(g(s)))}function x(e){return["table","td","th"].indexOf(p(e))>=0}function w(e){return r(e)&&"fixed"!==d(e).position?e.offsetParent:null}function O(e){for(var n=t(e),i=w(e);i&&x(i)&&"static"===d(i).position;)i=w(i);return i&&("html"===p(i)||"body"===p(i)&&"static"===d(i).position)?n:i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&r(e)&&"fixed"===d(e).position)return null;var n=g(e);for(o(n)&&(n=n.host);r(n)&&["html","body"].indexOf(p(n))<0;){var i=d(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)||n}var j="top",E="bottom",D="right",A="left",L="auto",P=[j,E,D,A],M="start",k="end",W="viewport",B="popper",H=P.reduce((function(e,t){return e.concat([t+"-"+M,t+"-"+k])}),[]),T=[].concat(P,[L]).reduce((function(e,t){return e.concat([t,t+"-"+M,t+"-"+k])}),[]),R=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function S(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function C(e){return e.split("-")[0]}function q(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&o(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function V(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function N(e,r){return r===W?V(function(e){var n=t(e),r=u(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,f=0;return o&&(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,f=o.offsetTop)),{width:i,height:a,x:s+l(e),y:f}}(e)):n(r)?function(e){var t=f(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(r):V(function(e){var t,n=u(e),r=c(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=i(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=i(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-r.scrollLeft+l(e),p=-r.scrollTop;return"rtl"===d(o||n).direction&&(f+=i(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:f,y:p}}(u(e)))}function I(e,t,o){var s="clippingParents"===t?function(e){var t=b(g(e)),o=["absolute","fixed"].indexOf(d(e).position)>=0&&r(e)?O(e):e;return n(o)?t.filter((function(e){return n(e)&&q(e,o)&&"body"!==p(e)})):[]}(e):[].concat(t),f=[].concat(s,[o]),c=f[0],u=f.reduce((function(t,n){var r=N(e,n);return t.top=i(r.top,t.top),t.right=a(r.right,t.right),t.bottom=a(r.bottom,t.bottom),t.left=i(r.left,t.left),t}),N(e,c));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function _(e){return e.split("-")[1]}function F(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function U(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?C(o):null,a=o?_(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case j:t={x:s,y:n.y-r.height};break;case E:t={x:s,y:n.y+n.height};break;case D:t={x:n.x+n.width,y:f};break;case A:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?F(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case M:t[c]=t[c]-(n[p]/2-r[p]/2);break;case k:t[c]=t[c]+(n[p]/2-r[p]/2)}}return t}function z(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function X(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Y(e,t){void 0===t&&(t={});var r=t,o=r.placement,i=void 0===o?e.placement:o,a=r.boundary,s=void 0===a?"clippingParents":a,c=r.rootBoundary,p=void 0===c?W:c,l=r.elementContext,d=void 0===l?B:l,h=r.altBoundary,m=void 0!==h&&h,v=r.padding,g=void 0===v?0:v,y=z("number"!=typeof g?g:X(g,P)),b=d===B?"reference":B,x=e.rects.popper,w=e.elements[m?b:d],O=I(n(w)?w:w.contextElement||u(e.elements.popper),s,p),A=f(e.elements.reference),L=U({reference:A,element:x,strategy:"absolute",placement:i}),M=V(Object.assign({},x,L)),k=d===B?M:A,H={top:O.top-k.top+y.top,bottom:k.bottom-O.bottom+y.bottom,left:O.left-k.left+y.left,right:k.right-O.right+y.right},T=e.modifiersData.offset;if(d===B&&T){var R=T[i];Object.keys(H).forEach((function(e){var t=[D,E].indexOf(e)>=0?1:-1,n=[j,E].indexOf(e)>=0?"y":"x";H[e]+=R[n]*t}))}return H}var G={placement:"bottom",modifiers:[],strategy:"absolute"};function J(){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 K(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,o=void 0===r?[]:r,i=t.defaultOptions,a=void 0===i?G:i;return function(e,t,r){void 0===r&&(r=a);var i,s,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},G,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,u={state:f,setOptions:function(r){var i="function"==typeof r?r(f.options):r;l(),f.options=Object.assign({},a,f.options,i),f.scrollParents={reference:n(e)?b(e):e.contextElement?b(e.contextElement):[],popper:b(t)};var s,p,d=function(e){var t=S(e);return R.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(o,f.options.modifiers),p=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(p).map((function(e){return p[e]}))));return f.orderedModifiers=d.filter((function(e){return e.enabled})),f.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:f,name:t,instance:u,options:r}),a=function(){};c.push(i||a)}})),u.update()},forceUpdate:function(){if(!p){var e=f.elements,t=e.reference,n=e.popper;if(J(t,n)){f.rects={reference:m(t,O(n),"fixed"===f.options.strategy),popper:v(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach((function(e){return f.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<f.orderedModifiers.length;r++)if(!0!==f.reset){var o=f.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,c=o.name;"function"==typeof i&&(f=i({state:f,options:s,name:c,instance:u})||f)}else f.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){u.forceUpdate(),e(f)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){l(),p=!0}};if(!J(e,t))return u;function l(){c.forEach((function(e){return e()})),c=[]}return u.setOptions(r).then((function(e){!p&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var Q={passive:!0};var Z={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,r=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,f=void 0===s||s,c=t(n.elements.popper),p=[].concat(n.scrollParents.reference,n.scrollParents.popper);return a&&p.forEach((function(e){e.addEventListener("scroll",r.update,Q)})),f&&c.addEventListener("resize",r.update,Q),function(){a&&p.forEach((function(e){e.removeEventListener("scroll",r.update,Q)})),f&&c.removeEventListener("resize",r.update,Q)}},data:{}};var $={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=U({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var n,r=e.popper,o=e.popperRect,i=e.placement,a=e.variation,f=e.offsets,c=e.position,p=e.gpuAcceleration,l=e.adaptive,h=e.roundOffsets,m=e.isFixed,v=f.x,g=void 0===v?0:v,y=f.y,b=void 0===y?0:y,x="function"==typeof h?h({x:g,y:b}):{x:g,y:b};g=x.x,b=x.y;var w=f.hasOwnProperty("x"),L=f.hasOwnProperty("y"),P=A,M=j,W=window;if(l){var B=O(r),H="clientHeight",T="clientWidth";if(B===t(r)&&"static"!==d(B=u(r)).position&&"absolute"===c&&(H="scrollHeight",T="scrollWidth"),B=B,i===j||(i===A||i===D)&&a===k)M=E,b-=(m&&B===W&&W.visualViewport?W.visualViewport.height:B[H])-o.height,b*=p?1:-1;if(i===A||(i===j||i===E)&&a===k)P=D,g-=(m&&B===W&&W.visualViewport?W.visualViewport.width:B[T])-o.width,g*=p?1:-1}var R,S=Object.assign({position:c},l&&ee),C=!0===h?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:s(t*r)/r||0,y:s(n*r)/r||0}}({x:g,y:b}):{x:g,y:b};return g=C.x,b=C.y,p?Object.assign({},S,((R={})[M]=L?"0":"",R[P]=w?"0":"",R.transform=(W.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",R)):Object.assign({},S,((n={})[M]=L?b+"px":"",n[P]=w?g+"px":"",n.transform="",n))}var ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c={placement:C(t.placement),variation:_(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,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var re={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];r(i)&&p(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]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});r(o)&&p(o)&&(Object.assign(o.style,a),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};var oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=T.reduce((function(e,n){return e[n]=function(e,t,n){var r=C(e),o=[A,j].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[A,D].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},ie={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return ie[e]}))}var se={start:"end",end:"start"};function fe(e){return e.replace(/start|end/g,(function(e){return se[e]}))}function ce(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?T:f,p=_(r),u=p?s?H:H.filter((function(e){return _(e)===p})):P,l=u.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=u);var d=l.reduce((function(t,n){return t[n]=Y(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[C(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var pe={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,v=t.options.placement,g=C(v),y=f||(g===v||!h?[ae(v)]:function(e){if(C(e)===L)return[];var t=ae(e);return[fe(e),t,fe(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(C(n)===L?ce(t,{placement:n,boundary:p,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,O=new Map,P=!0,k=b[0],W=0;W<b.length;W++){var B=b[W],H=C(B),T=_(B)===M,R=[j,E].indexOf(H)>=0,S=R?"width":"height",q=Y(t,{placement:B,boundary:p,rootBoundary:u,altBoundary:l,padding:c}),V=R?T?D:A:T?E:j;x[S]>w[S]&&(V=ae(V));var N=ae(V),I=[];if(i&&I.push(q[H]<=0),s&&I.push(q[V]<=0,q[N]<=0),I.every((function(e){return e}))){k=B,P=!1;break}O.set(B,I)}if(P)for(var F=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},U=h?3:1;U>0;U--){if("break"===F(U))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ue(e,t,n){return i(e,a(t,n))}var le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=void 0===o||o,f=n.altAxis,c=void 0!==f&&f,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,y=void 0===g?0:g,b=Y(t,{boundary:p,rootBoundary:u,padding:d,altBoundary:l}),x=C(t.placement),w=_(t.placement),L=!w,P=F(x),k="x"===P?"y":"x",W=t.modifiersData.popperOffsets,B=t.rects.reference,H=t.rects.popper,T="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,R="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,q={x:0,y:0};if(W){if(s){var V,N="y"===P?j:A,I="y"===P?E:D,U="y"===P?"height":"width",z=W[P],X=z+b[N],G=z-b[I],J=m?-H[U]/2:0,K=w===M?B[U]:H[U],Q=w===M?-H[U]:-B[U],Z=t.elements.arrow,$=m&&Z?v(Z):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[N],ne=ee[I],re=ue(0,B[U],$[U]),oe=L?B[U]/2-J-re-te-R.mainAxis:K-re-te-R.mainAxis,ie=L?-B[U]/2+J+re+ne+R.mainAxis:Q+re+ne+R.mainAxis,ae=t.elements.arrow&&O(t.elements.arrow),se=ae?"y"===P?ae.clientTop||0:ae.clientLeft||0:0,fe=null!=(V=null==S?void 0:S[P])?V:0,ce=z+ie-fe,pe=ue(m?a(X,z+oe-fe-se):X,z,m?i(G,ce):G);W[P]=pe,q[P]=pe-z}if(c){var le,de="x"===P?j:A,he="x"===P?E:D,me=W[k],ve="y"===k?"height":"width",ge=me+b[de],ye=me-b[he],be=-1!==[j,A].indexOf(x),xe=null!=(le=null==S?void 0:S[k])?le:0,we=be?ge:me-B[ve]-H[ve]-xe+R.altAxis,Oe=be?me+B[ve]+H[ve]-xe-R.altAxis:ye,je=m&&be?function(e,t,n){var r=ue(e,t,n);return r>n?n:r}(we,me,Oe):ue(m?we:ge,me,m?Oe:ye);W[k]=je,q[k]=je-me}t.modifiersData[r]=q}},requiresIfExists:["offset"]};var de={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=C(n.placement),f=F(s),c=[A,D].indexOf(s)>=0?"height":"width";if(i&&a){var p=function(e,t){return z("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:X(e,P))}(o.padding,n),u=v(i),l="y"===f?j:A,d="y"===f?E:D,h=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],m=a[f]-n.rects.reference[f],g=O(i),y=g?"y"===f?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,x=p[l],w=y-u[c]-p[d],L=y/2-u[c]/2+b,M=ue(x,L,w),k=f;n.modifiersData[r]=((t={})[k]=M,t.centerOffset=M-L,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&q(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(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 me(e){return[j,D,E,A].some((function(t){return e[t]>=0}))}var ve={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Y(t,{elementContext:"reference"}),s=Y(t,{altBoundary:!0}),f=he(a,r),c=he(s,o,i),p=me(f),u=me(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}},ge=K({defaultModifiers:[Z,$,ne,re]}),ye=[Z,$,ne,re,oe,pe,le,de,ve],be=K({defaultModifiers:ye});e.applyStyles=re,e.arrow=de,e.computeStyles=ne,e.createPopper=be,e.createPopperLite=ge,e.defaultModifiers=ye,e.detectOverflow=Y,e.eventListeners=Z,e.flip=pe,e.hide=ve,e.offset=oe,e.popperGenerator=K,e.popperOffsets=$,e.preventOverflow=le,Object.defineProperty(e,"__esModule",{value:!0})}));
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203/* quarto syntax highlight colors */:root { --quarto-hl-ot-color: #003B4F; --quarto-hl-at-color: #657422; --quarto-hl-ss-color: #20794D; --quarto-hl-an-color: #5E5E5E; --quarto-hl-fu-color: #4758AB; --quarto-hl-st-color: #20794D; --quarto-hl-cf-color: #003B4F; --quarto-hl-op-color: #5E5E5E; --quarto-hl-er-color: #AD0000; --quarto-hl-bn-color: #AD0000; --quarto-hl-al-color: #AD0000; --quarto-hl-va-color: #111111; --quarto-hl-bu-color: inherit; --quarto-hl-ex-color: inherit; --quarto-hl-pp-color: #AD0000; --quarto-hl-in-color: #5E5E5E; --quarto-hl-vs-color: #20794D; --quarto-hl-wa-color: #5E5E5E; --quarto-hl-do-color: #5E5E5E; --quarto-hl-im-color: #00769E; --quarto-hl-ch-color: #20794D; --quarto-hl-dt-color: #AD0000; --quarto-hl-fl-color: #AD0000; --quarto-hl-co-color: #5E5E5E; --quarto-hl-cv-color: #5E5E5E; --quarto-hl-cn-color: #8f5902; --quarto-hl-sc-color: #5E5E5E; --quarto-hl-dv-color: #AD0000; --quarto-hl-kw-color: #003B4F;}
/* other quarto variables */:root { --quarto-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;}
pre > code.sourceCode > span { color: #003B4F;}
code span { color: #003B4F;}
code.sourceCode > span { color: #003B4F;}
div.sourceCode,div.sourceCode pre.sourceCode { color: #003B4F;}
code span.ot { color: #003B4F; font-style: inherit;}
code span.at { color: #657422; font-style: inherit;}
code span.ss { color: #20794D; font-style: inherit;}
code span.an { color: #5E5E5E; font-style: inherit;}
code span.fu { color: #4758AB; font-style: inherit;}
code span.st { color: #20794D; font-style: inherit;}
code span.cf { color: #003B4F; font-style: inherit;}
code span.op { color: #5E5E5E; font-style: inherit;}
code span.er { color: #AD0000; font-style: inherit;}
code span.bn { color: #AD0000; font-style: inherit;}
code span.al { color: #AD0000; font-style: inherit;}
code span.va { color: #111111; font-style: inherit;}
code span.bu { font-style: inherit;}
code span.ex { font-style: inherit;}
code span.pp { color: #AD0000; font-style: inherit;}
code span.in { color: #5E5E5E; font-style: inherit;}
code span.vs { color: #20794D; font-style: inherit;}
code span.wa { color: #5E5E5E; font-style: italic;}
code span.do { color: #5E5E5E; font-style: italic;}
code span.im { color: #00769E; font-style: inherit;}
code span.ch { color: #20794D; font-style: inherit;}
code span.dt { color: #AD0000; font-style: inherit;}
code span.fl { color: #AD0000; font-style: inherit;}
code span.co { color: #5E5E5E; font-style: inherit;}
code span.cv { color: #5E5E5E; font-style: italic;}
code span.cn { color: #8f5902; font-style: inherit;}
code span.sc { color: #5E5E5E; font-style: inherit;}
code span.dv { color: #AD0000; font-style: inherit;}
code span.kw { color: #003B4F; font-style: inherit;}
.prevent-inlining { content: "</";}
/*# sourceMappingURL=debc5d5d77c3f9108843748ff7464032.css.map */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902const sectionChanged = new CustomEvent("quarto-sectionChanged", { detail: {}, bubbles: true, cancelable: false, composed: false,});
const layoutMarginEls = () => { // Find any conflicting margin elements and add margins to the // top to prevent overlap const marginChildren = window.document.querySelectorAll( ".column-margin.column-container > * " );
let lastBottom = 0; for (const marginChild of marginChildren) { if (marginChild.offsetParent !== null) { // clear the top margin so we recompute it marginChild.style.marginTop = null; const top = marginChild.getBoundingClientRect().top + window.scrollY; console.log({ childtop: marginChild.getBoundingClientRect().top, scroll: window.scrollY, top, lastBottom, }); if (top < lastBottom) { const margin = lastBottom - top; marginChild.style.marginTop = `${margin}px`; } const styles = window.getComputedStyle(marginChild); const marginTop = parseFloat(styles["marginTop"]);
console.log({ top, height: marginChild.getBoundingClientRect().height, marginTop, total: top + marginChild.getBoundingClientRect().height + marginTop, }); lastBottom = top + marginChild.getBoundingClientRect().height + marginTop; } }};
window.document.addEventListener("DOMContentLoaded", function (_event) { // Recompute the position of margin elements anytime the body size changes if (window.ResizeObserver) { const resizeObserver = new window.ResizeObserver( throttle(layoutMarginEls, 50) ); resizeObserver.observe(window.document.body); }
const tocEl = window.document.querySelector('nav.toc-active[role="doc-toc"]'); const sidebarEl = window.document.getElementById("quarto-sidebar"); const leftTocEl = window.document.getElementById("quarto-sidebar-toc-left"); const marginSidebarEl = window.document.getElementById( "quarto-margin-sidebar" ); // function to determine whether the element has a previous sibling that is active const prevSiblingIsActiveLink = (el) => { const sibling = el.previousElementSibling; if (sibling && sibling.tagName === "A") { return sibling.classList.contains("active"); } else { return false; } };
// fire slideEnter for bootstrap tab activations (for htmlwidget resize behavior) function fireSlideEnter(e) { const event = window.document.createEvent("Event"); event.initEvent("slideenter", true, true); window.document.dispatchEvent(event); } const tabs = window.document.querySelectorAll('a[data-bs-toggle="tab"]'); tabs.forEach((tab) => { tab.addEventListener("shown.bs.tab", fireSlideEnter); });
// fire slideEnter for tabby tab activations (for htmlwidget resize behavior) document.addEventListener("tabby", fireSlideEnter, false);
// Track scrolling and mark TOC links as active // get table of contents and sidebar (bail if we don't have at least one) const tocLinks = tocEl ? [...tocEl.querySelectorAll("a[data-scroll-target]")] : []; const makeActive = (link) => tocLinks[link].classList.add("active"); const removeActive = (link) => tocLinks[link].classList.remove("active"); const removeAllActive = () => [...Array(tocLinks.length).keys()].forEach((link) => removeActive(link));
// activate the anchor for a section associated with this TOC entry tocLinks.forEach((link) => { link.addEventListener("click", () => { if (link.href.indexOf("#") !== -1) { const anchor = link.href.split("#")[1]; const heading = window.document.querySelector( `[data-anchor-id=${anchor}]` ); if (heading) { // Add the class heading.classList.add("reveal-anchorjs-link");
// function to show the anchor const handleMouseout = () => { heading.classList.remove("reveal-anchorjs-link"); heading.removeEventListener("mouseout", handleMouseout); };
// add a function to clear the anchor when the user mouses out of it heading.addEventListener("mouseout", handleMouseout); } } }); });
const sections = tocLinks.map((link) => { const target = link.getAttribute("data-scroll-target"); if (target.startsWith("#")) { return window.document.getElementById(decodeURI(`${target.slice(1)}`)); } else { return window.document.querySelector(decodeURI(`${target}`)); } });
const sectionMargin = 200; let currentActive = 0; // track whether we've initialized state the first time let init = false;
const updateActiveLink = () => { // The index from bottom to top (e.g. reversed list) let sectionIndex = -1; if ( window.innerHeight + window.pageYOffset >= window.document.body.offsetHeight ) { sectionIndex = 0; } else { sectionIndex = [...sections].reverse().findIndex((section) => { if (section) { return window.pageYOffset >= section.offsetTop - sectionMargin; } else { return false; } }); } if (sectionIndex > -1) { const current = sections.length - sectionIndex - 1; if (current !== currentActive) { removeAllActive(); currentActive = current; makeActive(current); if (init) { window.dispatchEvent(sectionChanged); } init = true; } } };
const inHiddenRegion = (top, bottom, hiddenRegions) => { for (const region of hiddenRegions) { if (top <= region.bottom && bottom >= region.top) { return true; } } return false; };
const categorySelector = "header.quarto-title-block .quarto-category"; const activateCategories = (href) => { // Find any categories // Surround them with a link pointing back to: // #category=Authoring try { const categoryEls = window.document.querySelectorAll(categorySelector); for (const categoryEl of categoryEls) { const categoryText = categoryEl.textContent; if (categoryText) { const link = `${href}#category=${encodeURIComponent(categoryText)}`; const linkEl = window.document.createElement("a"); linkEl.setAttribute("href", link); for (const child of categoryEl.childNodes) { linkEl.append(child); } categoryEl.appendChild(linkEl); } } } catch { // Ignore errors } }; function hasTitleCategories() { return window.document.querySelector(categorySelector) !== null; }
function offsetRelativeUrl(url) { const offset = getMeta("quarto:offset"); return offset ? offset + url : url; }
function offsetAbsoluteUrl(url) { const offset = getMeta("quarto:offset"); const baseUrl = new URL(offset, window.location);
const projRelativeUrl = url.replace(baseUrl, ""); if (projRelativeUrl.startsWith("/")) { return projRelativeUrl; } else { return "/" + projRelativeUrl; } }
// read a meta tag value function getMeta(metaName) { const metas = window.document.getElementsByTagName("meta"); for (let i = 0; i < metas.length; i++) { if (metas[i].getAttribute("name") === metaName) { return metas[i].getAttribute("content"); } } return ""; }
async function findAndActivateCategories() { const currentPagePath = offsetAbsoluteUrl(window.location.href); const response = await fetch(offsetRelativeUrl("listings.json")); if (response.status == 200) { return response.json().then(function (listingPaths) { const listingHrefs = []; for (const listingPath of listingPaths) { const pathWithoutLeadingSlash = listingPath.listing.substring(1); for (const item of listingPath.items) { if ( item === currentPagePath || item === currentPagePath + "index.html" ) { // Resolve this path against the offset to be sure // we already are using the correct path to the listing // (this adjusts the listing urls to be rooted against // whatever root the page is actually running against) const relative = offsetRelativeUrl(pathWithoutLeadingSlash); const baseUrl = window.location; const resolvedPath = new URL(relative, baseUrl); listingHrefs.push(resolvedPath.pathname); break; } } }
// Look up the tree for a nearby linting and use that if we find one const nearestListing = findNearestParentListing( offsetAbsoluteUrl(window.location.pathname), listingHrefs ); if (nearestListing) { activateCategories(nearestListing); } else { // See if the referrer is a listing page for this item const referredRelativePath = offsetAbsoluteUrl(document.referrer); const referrerListing = listingHrefs.find((listingHref) => { const isListingReferrer = listingHref === referredRelativePath || listingHref === referredRelativePath + "index.html"; return isListingReferrer; });
if (referrerListing) { // Try to use the referrer if possible activateCategories(referrerListing); } else if (listingHrefs.length > 0) { // Otherwise, just fall back to the first listing activateCategories(listingHrefs[0]); } } }); } } if (hasTitleCategories()) { findAndActivateCategories(); }
const findNearestParentListing = (href, listingHrefs) => { if (!href || !listingHrefs) { return undefined; } // Look up the tree for a nearby linting and use that if we find one const relativeParts = href.substring(1).split("/"); while (relativeParts.length > 0) { const path = relativeParts.join("/"); for (const listingHref of listingHrefs) { if (listingHref.startsWith(path)) { return listingHref; } } relativeParts.pop(); }
return undefined; };
const manageSidebarVisiblity = (el, placeholderDescriptor) => { let isVisible = true; let elRect;
return (hiddenRegions) => { if (el === null) { return; }
// Find the last element of the TOC const lastChildEl = el.lastElementChild;
if (lastChildEl) { // Converts the sidebar to a menu const convertToMenu = () => { for (const child of el.children) { child.style.opacity = 0; child.style.overflow = "hidden"; }
nexttick(() => { const toggleContainer = window.document.createElement("div"); toggleContainer.style.width = "100%"; toggleContainer.classList.add("zindex-over-content"); toggleContainer.classList.add("quarto-sidebar-toggle"); toggleContainer.classList.add("headroom-target"); // Marks this to be managed by headeroom toggleContainer.id = placeholderDescriptor.id; toggleContainer.style.position = "fixed";
const toggleIcon = window.document.createElement("i"); toggleIcon.classList.add("quarto-sidebar-toggle-icon"); toggleIcon.classList.add("bi"); toggleIcon.classList.add("bi-caret-down-fill");
const toggleTitle = window.document.createElement("div"); const titleEl = window.document.body.querySelector( placeholderDescriptor.titleSelector ); if (titleEl) { toggleTitle.append( titleEl.textContent || titleEl.innerText, toggleIcon ); } toggleTitle.classList.add("zindex-over-content"); toggleTitle.classList.add("quarto-sidebar-toggle-title"); toggleContainer.append(toggleTitle);
const toggleContents = window.document.createElement("div"); toggleContents.classList = el.classList; toggleContents.classList.add("zindex-over-content"); toggleContents.classList.add("quarto-sidebar-toggle-contents"); for (const child of el.children) { if (child.id === "toc-title") { continue; }
const clone = child.cloneNode(true); clone.style.opacity = 1; clone.style.display = null; toggleContents.append(clone); } toggleContents.style.height = "0px"; const positionToggle = () => { // position the element (top left of parent, same width as parent) if (!elRect) { elRect = el.getBoundingClientRect(); } toggleContainer.style.left = `${elRect.left}px`; toggleContainer.style.top = `${elRect.top}px`; toggleContainer.style.width = `${elRect.width}px`; }; positionToggle();
toggleContainer.append(toggleContents); el.parentElement.prepend(toggleContainer);
// Process clicks let tocShowing = false; // Allow the caller to control whether this is dismissed // when it is clicked (e.g. sidebar navigation supports // opening and closing the nav tree, so don't dismiss on click) const clickEl = placeholderDescriptor.dismissOnClick ? toggleContainer : toggleTitle;
const closeToggle = () => { if (tocShowing) { toggleContainer.classList.remove("expanded"); toggleContents.style.height = "0px"; tocShowing = false; } };
// Get rid of any expanded toggle if the user scrolls window.document.addEventListener( "scroll", throttle(() => { closeToggle(); }, 50) );
// Handle positioning of the toggle window.addEventListener( "resize", throttle(() => { elRect = undefined; positionToggle(); }, 50) );
window.addEventListener("quarto-hrChanged", () => { elRect = undefined; });
// Process the click clickEl.onclick = () => { if (!tocShowing) { toggleContainer.classList.add("expanded"); toggleContents.style.height = null; tocShowing = true; } else { closeToggle(); } }; }); };
// Converts a sidebar from a menu back to a sidebar const convertToSidebar = () => { for (const child of el.children) { child.style.opacity = 1; child.style.overflow = null; }
const placeholderEl = window.document.getElementById( placeholderDescriptor.id ); if (placeholderEl) { placeholderEl.remove(); }
el.classList.remove("rollup"); };
if (isReaderMode()) { convertToMenu(); isVisible = false; } else { // Find the top and bottom o the element that is being managed const elTop = el.offsetTop; const elBottom = elTop + lastChildEl.offsetTop + lastChildEl.offsetHeight;
if (!isVisible) { // If the element is current not visible reveal if there are // no conflicts with overlay regions if (!inHiddenRegion(elTop, elBottom, hiddenRegions)) { convertToSidebar(); isVisible = true; } } else { // If the element is visible, hide it if it conflicts with overlay regions // and insert a placeholder toggle (or if we're in reader mode) if (inHiddenRegion(elTop, elBottom, hiddenRegions)) { convertToMenu(); isVisible = false; } } } } }; };
const tabEls = document.querySelectorAll('a[data-bs-toggle="tab"]'); for (const tabEl of tabEls) { const id = tabEl.getAttribute("data-bs-target"); if (id) { const columnEl = document.querySelector( `${id} .column-margin, .tabset-margin-content` ); if (columnEl) tabEl.addEventListener("shown.bs.tab", function (event) { const el = event.srcElement; if (el) { const visibleCls = `${el.id}-margin-content`; // walk up until we find a parent tabset let panelTabsetEl = el.parentElement; while (panelTabsetEl) { if (panelTabsetEl.classList.contains("panel-tabset")) { break; } panelTabsetEl = panelTabsetEl.parentElement; }
if (panelTabsetEl) { const prevSib = panelTabsetEl.previousElementSibling; if ( prevSib && prevSib.classList.contains("tabset-margin-container") ) { const childNodes = prevSib.querySelectorAll( ".tabset-margin-content" ); for (const childEl of childNodes) { if (childEl.classList.contains(visibleCls)) { childEl.classList.remove("collapse"); } else { childEl.classList.add("collapse"); } } } } }
layoutMarginEls(); }); } }
// Manage the visibility of the toc and the sidebar const marginScrollVisibility = manageSidebarVisiblity(marginSidebarEl, { id: "quarto-toc-toggle", titleSelector: "#toc-title", dismissOnClick: true, }); const sidebarScrollVisiblity = manageSidebarVisiblity(sidebarEl, { id: "quarto-sidebarnav-toggle", titleSelector: ".title", dismissOnClick: false, }); let tocLeftScrollVisibility; if (leftTocEl) { tocLeftScrollVisibility = manageSidebarVisiblity(leftTocEl, { id: "quarto-lefttoc-toggle", titleSelector: "#toc-title", dismissOnClick: true, }); }
// Find the first element that uses formatting in special columns const conflictingEls = window.document.body.querySelectorAll( '[class^="column-"], [class*=" column-"], aside, [class*="margin-caption"], [class*=" margin-caption"], [class*="margin-ref"], [class*=" margin-ref"]' );
// Filter all the possibly conflicting elements into ones // the do conflict on the left or ride side const arrConflictingEls = Array.from(conflictingEls); const leftSideConflictEls = arrConflictingEls.filter((el) => { if (el.tagName === "ASIDE") { return false; } return Array.from(el.classList).find((className) => { return ( className !== "column-body" && className.startsWith("column-") && !className.endsWith("right") && !className.endsWith("container") && className !== "column-margin" ); }); }); const rightSideConflictEls = arrConflictingEls.filter((el) => { if (el.tagName === "ASIDE") { return true; }
const hasMarginCaption = Array.from(el.classList).find((className) => { return className == "margin-caption"; }); if (hasMarginCaption) { return true; }
return Array.from(el.classList).find((className) => { return ( className !== "column-body" && !className.endsWith("container") && className.startsWith("column-") && !className.endsWith("left") ); }); });
const kOverlapPaddingSize = 10; function toRegions(els) { return els.map((el) => { const boundRect = el.getBoundingClientRect(); const top = boundRect.top + document.documentElement.scrollTop - kOverlapPaddingSize; return { top, bottom: top + el.scrollHeight + 2 * kOverlapPaddingSize, }; }); }
let hasObserved = false; const visibleItemObserver = (els) => { let visibleElements = [...els]; const intersectionObserver = new IntersectionObserver( (entries, _observer) => { entries.forEach((entry) => { if (entry.isIntersecting) { if (visibleElements.indexOf(entry.target) === -1) { visibleElements.push(entry.target); } } else { visibleElements = visibleElements.filter((visibleEntry) => { return visibleEntry !== entry; }); } });
if (!hasObserved) { hideOverlappedSidebars(); } hasObserved = true; }, {} ); els.forEach((el) => { intersectionObserver.observe(el); });
return { getVisibleEntries: () => { return visibleElements; }, }; };
const rightElementObserver = visibleItemObserver(rightSideConflictEls); const leftElementObserver = visibleItemObserver(leftSideConflictEls);
const hideOverlappedSidebars = () => { marginScrollVisibility(toRegions(rightElementObserver.getVisibleEntries())); sidebarScrollVisiblity(toRegions(leftElementObserver.getVisibleEntries())); if (tocLeftScrollVisibility) { tocLeftScrollVisibility( toRegions(leftElementObserver.getVisibleEntries()) ); } };
window.quartoToggleReader = () => { // Applies a slow class (or removes it) // to update the transition speed const slowTransition = (slow) => { const manageTransition = (id, slow) => { const el = document.getElementById(id); if (el) { if (slow) { el.classList.add("slow"); } else { el.classList.remove("slow"); } } };
manageTransition("TOC", slow); manageTransition("quarto-sidebar", slow); }; const readerMode = !isReaderMode(); setReaderModeValue(readerMode);
// If we're entering reader mode, slow the transition if (readerMode) { slowTransition(readerMode); } highlightReaderToggle(readerMode); hideOverlappedSidebars();
// If we're exiting reader mode, restore the non-slow transition if (!readerMode) { slowTransition(!readerMode); } };
const highlightReaderToggle = (readerMode) => { const els = document.querySelectorAll(".quarto-reader-toggle"); if (els) { els.forEach((el) => { if (readerMode) { el.classList.add("reader"); } else { el.classList.remove("reader"); } }); } };
const setReaderModeValue = (val) => { if (window.location.protocol !== "file:") { window.localStorage.setItem("quarto-reader-mode", val); } else { localReaderMode = val; } };
const isReaderMode = () => { if (window.location.protocol !== "file:") { return window.localStorage.getItem("quarto-reader-mode") === "true"; } else { return localReaderMode; } }; let localReaderMode = null;
const tocOpenDepthStr = tocEl?.getAttribute("data-toc-expanded"); const tocOpenDepth = tocOpenDepthStr ? Number(tocOpenDepthStr) : 1;
// Walk the TOC and collapse/expand nodes // Nodes are expanded if: // - they are top level // - they have children that are 'active' links // - they are directly below an link that is 'active' const walk = (el, depth) => { // Tick depth when we enter a UL if (el.tagName === "UL") { depth = depth + 1; }
// It this is active link let isActiveNode = false; if (el.tagName === "A" && el.classList.contains("active")) { isActiveNode = true; }
// See if there is an active child to this element let hasActiveChild = false; for (child of el.children) { hasActiveChild = walk(child, depth) || hasActiveChild; }
// Process the collapse state if this is an UL if (el.tagName === "UL") { if (tocOpenDepth === -1 && depth > 1) { el.classList.add("collapse"); } else if ( depth <= tocOpenDepth || hasActiveChild || prevSiblingIsActiveLink(el) ) { el.classList.remove("collapse"); } else { el.classList.add("collapse"); }
// untick depth when we leave a UL depth = depth - 1; } return hasActiveChild || isActiveNode; };
// walk the TOC and expand / collapse any items that should be shown
if (tocEl) { walk(tocEl, 0); updateActiveLink(); }
// Throttle the scroll event and walk peridiocally window.document.addEventListener( "scroll", throttle(() => { if (tocEl) { updateActiveLink(); walk(tocEl, 0); } if (!isReaderMode()) { hideOverlappedSidebars(); } }, 5) ); window.addEventListener( "resize", throttle(() => { if (!isReaderMode()) { hideOverlappedSidebars(); } }, 10) ); hideOverlappedSidebars(); highlightReaderToggle(isReaderMode());});
// grouped tabsetswindow.addEventListener("pageshow", (_event) => { function getTabSettings() { const data = localStorage.getItem("quarto-persistent-tabsets-data"); if (!data) { localStorage.setItem("quarto-persistent-tabsets-data", "{}"); return {}; } if (data) { return JSON.parse(data); } }
function setTabSettings(data) { localStorage.setItem( "quarto-persistent-tabsets-data", JSON.stringify(data) ); }
function setTabState(groupName, groupValue) { const data = getTabSettings(); data[groupName] = groupValue; setTabSettings(data); }
function toggleTab(tab, active) { const tabPanelId = tab.getAttribute("aria-controls"); const tabPanel = document.getElementById(tabPanelId); if (active) { tab.classList.add("active"); tabPanel.classList.add("active"); } else { tab.classList.remove("active"); tabPanel.classList.remove("active"); } }
function toggleAll(selectedGroup, selectorsToSync) { for (const [thisGroup, tabs] of Object.entries(selectorsToSync)) { const active = selectedGroup === thisGroup; for (const tab of tabs) { toggleTab(tab, active); } } }
function findSelectorsToSyncByLanguage() { const result = {}; const tabs = Array.from( document.querySelectorAll(`div[data-group] a[id^='tabset-']`) ); for (const item of tabs) { const div = item.parentElement.parentElement.parentElement; const group = div.getAttribute("data-group"); if (!result[group]) { result[group] = {}; } const selectorsToSync = result[group]; const value = item.innerHTML; if (!selectorsToSync[value]) { selectorsToSync[value] = []; } selectorsToSync[value].push(item); } return result; }
function setupSelectorSync() { const selectorsToSync = findSelectorsToSyncByLanguage(); Object.entries(selectorsToSync).forEach(([group, tabSetsByValue]) => { Object.entries(tabSetsByValue).forEach(([value, items]) => { items.forEach((item) => { item.addEventListener("click", (_event) => { setTabState(group, value); toggleAll(value, selectorsToSync[group]); }); }); }); }); return selectorsToSync; }
const selectorsToSync = setupSelectorSync(); for (const [group, selectedName] of Object.entries(getTabSettings())) { const selectors = selectorsToSync[group]; // it's possible that stale state gives us empty selections, so we explicitly check here. if (selectors) { toggleAll(selectedName, selectors); } }});
function throttle(func, wait) { let waiting = false; return function () { if (!waiting) { func.apply(this, arguments); waiting = true; setTimeout(function () { waiting = false; }, wait); } };}
function nexttick(func) { return setTimeout(func, 0);}1.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}12!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e=e||self).tippy=t(e.Popper)}(this,(function(e){"use strict";var t={passive:!0,capture:!0},n=function(){return document.body};function r(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function o(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function i(e,t){return"function"==typeof e?e.apply(void 0,t):e}function a(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function s(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function u(e){return[].concat(e)}function c(e,t){-1===e.indexOf(t)&&e.push(t)}function p(e){return e.split("-")[0]}function f(e){return[].slice.call(e)}function l(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function d(){return document.createElement("div")}function v(e){return["Element","Fragment"].some((function(t){return o(e,t)}))}function m(e){return o(e,"MouseEvent")}function g(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function h(e){return v(e)?[e]:function(e){return o(e,"NodeList")}(e)?f(e):Array.isArray(e)?e:f(document.querySelectorAll(e))}function b(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function y(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function w(e){var t,n=u(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function E(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function O(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var x={isTouch:!1},C=0;function T(){x.isTouch||(x.isTouch=!0,window.performance&&document.addEventListener("mousemove",A))}function A(){var e=performance.now();e-C<20&&(x.isTouch=!1,document.removeEventListener("mousemove",A)),C=e}function L(){var e=document.activeElement;if(g(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var D=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,R=Object.assign({appendTo:n,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),k=Object.keys(R);function P(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=R[o])?r:i);return t}),{});return Object.assign({},e,t)}function j(e,t){var n=Object.assign({},t,{content:i(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(P(Object.assign({},R,{plugins:t}))):k).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},R.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function M(e,t){e.innerHTML=t}function V(e){var t=d();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",v(e)?t.appendChild(e):M(t,e)),t}function I(e,t){v(t.content)?(M(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?M(e,t.content):e.textContent=t.content)}function S(e){var t=e.firstElementChild,n=f(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function N(e){var t=d(),n=d();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=d();function o(n,r){var o=S(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||I(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(V(r.arrow))):i.appendChild(V(r.arrow)):s&&i.removeChild(s)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),I(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}N.$$tippy=!0;var B=1,H=[],U=[];function _(o,s){var v,g,h,C,T,A,L,k,M=j(o,Object.assign({},R,P(l(s)))),V=!1,I=!1,N=!1,_=!1,F=[],W=a(we,M.interactiveDebounce),X=B++,Y=(k=M.plugins).filter((function(e,t){return k.indexOf(e)===t})),$={id:X,reference:o,popper:d(),popperInstance:null,props:M,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:Y,clearDelayTimeouts:function(){clearTimeout(v),clearTimeout(g),cancelAnimationFrame(h)},setProps:function(e){if($.state.isDestroyed)return;ae("onBeforeUpdate",[$,e]),be();var t=$.props,n=j(o,Object.assign({},t,l(e),{ignoreAttributes:!0}));$.props=n,he(),t.interactiveDebounce!==n.interactiveDebounce&&(ce(),W=a(we,n.interactiveDebounce));t.triggerTarget&&!n.triggerTarget?u(t.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):n.triggerTarget&&o.removeAttribute("aria-expanded");ue(),ie(),J&&J(t,n);$.popperInstance&&(Ce(),Ae().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));ae("onAfterUpdate",[$,e])},setContent:function(e){$.setProps({content:e})},show:function(){var e=$.state.isVisible,t=$.state.isDestroyed,o=!$.state.isEnabled,a=x.isTouch&&!$.props.touch,s=r($.props.duration,0,R.duration);if(e||t||o||a)return;if(te().hasAttribute("disabled"))return;if(ae("onShow",[$],!1),!1===$.props.onShow($))return;$.state.isVisible=!0,ee()&&(z.style.visibility="visible");ie(),de(),$.state.isMounted||(z.style.transition="none");if(ee()){var u=re(),p=u.box,f=u.content;b([p,f],0)}A=function(){var e;if($.state.isVisible&&!_){if(_=!0,z.offsetHeight,z.style.transition=$.props.moveTransition,ee()&&$.props.animation){var t=re(),n=t.box,r=t.content;b([n,r],s),y([n,r],"visible")}se(),ue(),c(U,$),null==(e=$.popperInstance)||e.forceUpdate(),ae("onMount",[$]),$.props.animation&&ee()&&function(e,t){me(e,t)}(s,(function(){$.state.isShown=!0,ae("onShown",[$])}))}},function(){var e,t=$.props.appendTo,r=te();e=$.props.interactive&&t===n||"parent"===t?r.parentNode:i(t,[r]);e.contains(z)||e.appendChild(z);$.state.isMounted=!0,Ce()}()},hide:function(){var e=!$.state.isVisible,t=$.state.isDestroyed,n=!$.state.isEnabled,o=r($.props.duration,1,R.duration);if(e||t||n)return;if(ae("onHide",[$],!1),!1===$.props.onHide($))return;$.state.isVisible=!1,$.state.isShown=!1,_=!1,V=!1,ee()&&(z.style.visibility="hidden");if(ce(),ve(),ie(!0),ee()){var i=re(),a=i.box,s=i.content;$.props.animation&&(b([a,s],o),y([a,s],"hidden"))}se(),ue(),$.props.animation?ee()&&function(e,t){me(e,(function(){!$.state.isVisible&&z.parentNode&&z.parentNode.contains(z)&&t()}))}(o,$.unmount):$.unmount()},hideWithInteractivity:function(e){ne().addEventListener("mousemove",W),c(H,W),W(e)},enable:function(){$.state.isEnabled=!0},disable:function(){$.hide(),$.state.isEnabled=!1},unmount:function(){$.state.isVisible&&$.hide();if(!$.state.isMounted)return;Te(),Ae().forEach((function(e){e._tippy.unmount()})),z.parentNode&&z.parentNode.removeChild(z);U=U.filter((function(e){return e!==$})),$.state.isMounted=!1,ae("onHidden",[$])},destroy:function(){if($.state.isDestroyed)return;$.clearDelayTimeouts(),$.unmount(),be(),delete o._tippy,$.state.isDestroyed=!0,ae("onDestroy",[$])}};if(!M.render)return $;var q=M.render($),z=q.popper,J=q.onUpdate;z.setAttribute("data-tippy-root",""),z.id="tippy-"+$.id,$.popper=z,o._tippy=$,z._tippy=$;var G=Y.map((function(e){return e.fn($)})),K=o.hasAttribute("aria-expanded");return he(),ue(),ie(),ae("onCreate",[$]),M.showOnCreate&&Le(),z.addEventListener("mouseenter",(function(){$.props.interactive&&$.state.isVisible&&$.clearDelayTimeouts()})),z.addEventListener("mouseleave",(function(){$.props.interactive&&$.props.trigger.indexOf("mouseenter")>=0&&ne().addEventListener("mousemove",W)})),$;function Q(){var e=$.props.touch;return Array.isArray(e)?e:[e,0]}function Z(){return"hold"===Q()[0]}function ee(){var e;return!(null==(e=$.props.render)||!e.$$tippy)}function te(){return L||o}function ne(){var e=te().parentNode;return e?w(e):document}function re(){return S(z)}function oe(e){return $.state.isMounted&&!$.state.isVisible||x.isTouch||C&&"focus"===C.type?0:r($.props.delay,e?0:1,R.delay)}function ie(e){void 0===e&&(e=!1),z.style.pointerEvents=$.props.interactive&&!e?"":"none",z.style.zIndex=""+$.props.zIndex}function ae(e,t,n){var r;(void 0===n&&(n=!0),G.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=$.props)[e].apply(r,t)}function se(){var e=$.props.aria;if(e.content){var t="aria-"+e.content,n=z.id;u($.props.triggerTarget||o).forEach((function(e){var r=e.getAttribute(t);if($.state.isVisible)e.setAttribute(t,r?r+" "+n:n);else{var o=r&&r.replace(n,"").trim();o?e.setAttribute(t,o):e.removeAttribute(t)}}))}}function ue(){!K&&$.props.aria.expanded&&u($.props.triggerTarget||o).forEach((function(e){$.props.interactive?e.setAttribute("aria-expanded",$.state.isVisible&&e===te()?"true":"false"):e.removeAttribute("aria-expanded")}))}function ce(){ne().removeEventListener("mousemove",W),H=H.filter((function(e){return e!==W}))}function pe(e){if(!x.isTouch||!N&&"mousedown"!==e.type){var t=e.composedPath&&e.composedPath()[0]||e.target;if(!$.props.interactive||!O(z,t)){if(u($.props.triggerTarget||o).some((function(e){return O(e,t)}))){if(x.isTouch)return;if($.state.isVisible&&$.props.trigger.indexOf("click")>=0)return}else ae("onClickOutside",[$,e]);!0===$.props.hideOnClick&&($.clearDelayTimeouts(),$.hide(),I=!0,setTimeout((function(){I=!1})),$.state.isMounted||ve())}}}function fe(){N=!0}function le(){N=!1}function de(){var e=ne();e.addEventListener("mousedown",pe,!0),e.addEventListener("touchend",pe,t),e.addEventListener("touchstart",le,t),e.addEventListener("touchmove",fe,t)}function ve(){var e=ne();e.removeEventListener("mousedown",pe,!0),e.removeEventListener("touchend",pe,t),e.removeEventListener("touchstart",le,t),e.removeEventListener("touchmove",fe,t)}function me(e,t){var n=re().box;function r(e){e.target===n&&(E(n,"remove",r),t())}if(0===e)return t();E(n,"remove",T),E(n,"add",r),T=r}function ge(e,t,n){void 0===n&&(n=!1),u($.props.triggerTarget||o).forEach((function(r){r.addEventListener(e,t,n),F.push({node:r,eventType:e,handler:t,options:n})}))}function he(){var e;Z()&&(ge("touchstart",ye,{passive:!0}),ge("touchend",Ee,{passive:!0})),(e=$.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(ge(e,ye),e){case"mouseenter":ge("mouseleave",Ee);break;case"focus":ge(D?"focusout":"blur",Oe);break;case"focusin":ge("focusout",Oe)}}))}function be(){F.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),F=[]}function ye(e){var t,n=!1;if($.state.isEnabled&&!xe(e)&&!I){var r="focus"===(null==(t=C)?void 0:t.type);C=e,L=e.currentTarget,ue(),!$.state.isVisible&&m(e)&&H.forEach((function(t){return t(e)})),"click"===e.type&&($.props.trigger.indexOf("mouseenter")<0||V)&&!1!==$.props.hideOnClick&&$.state.isVisible?n=!0:Le(e),"click"===e.type&&(V=!n),n&&!r&&De(e)}}function we(e){var t=e.target,n=te().contains(t)||z.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=p(o.placement),s=o.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,f="right"===a?s.left.x:0,l="left"===a?s.right.x:0,d=t.top-r+u>i,v=r-t.bottom-c>i,m=t.left-n+f>i,g=n-t.right-l>i;return d||v||m||g}))}(Ae().concat(z).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:M}:null})).filter(Boolean),e)&&(ce(),De(e))}function Ee(e){xe(e)||$.props.trigger.indexOf("click")>=0&&V||($.props.interactive?$.hideWithInteractivity(e):De(e))}function Oe(e){$.props.trigger.indexOf("focusin")<0&&e.target!==te()||$.props.interactive&&e.relatedTarget&&z.contains(e.relatedTarget)||De(e)}function xe(e){return!!x.isTouch&&Z()!==e.type.indexOf("touch")>=0}function Ce(){Te();var t=$.props,n=t.popperOptions,r=t.placement,i=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,u=ee()?S(z).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||te()}:o,p=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(ee()){var n=re().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];ee()&&u&&p.push({name:"arrow",options:{element:u,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),$.popperInstance=e.createPopper(c,z,Object.assign({},n,{placement:r,onFirstUpdate:A,modifiers:p}))}function Te(){$.popperInstance&&($.popperInstance.destroy(),$.popperInstance=null)}function Ae(){return f(z.querySelectorAll("[data-tippy-root]"))}function Le(e){$.clearDelayTimeouts(),e&&ae("onTrigger",[$,e]),de();var t=oe(!0),n=Q(),r=n[0],o=n[1];x.isTouch&&"hold"===r&&o&&(t=o),t?v=setTimeout((function(){$.show()}),t):$.show()}function De(e){if($.clearDelayTimeouts(),ae("onUntrigger",[$,e]),$.state.isVisible){if(!($.props.trigger.indexOf("mouseenter")>=0&&$.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&V)){var t=oe(!1);t?g=setTimeout((function(){$.state.isVisible&&$.hide()}),t):h=requestAnimationFrame((function(){$.hide()}))}}else ve()}}function F(e,n){void 0===n&&(n={});var r=R.plugins.concat(n.plugins||[]);document.addEventListener("touchstart",T,t),window.addEventListener("blur",L);var o=Object.assign({},n,{plugins:r}),i=h(e).reduce((function(e,t){var n=t&&_(t,o);return n&&e.push(n),e}),[]);return v(e)?i[0]:i}F.defaultProps=R,F.setDefaultProps=function(e){Object.keys(e).forEach((function(t){R[t]=e[t]}))},F.currentInput=x;var W=Object.assign({},e.applyStyles,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),X={mouseover:"mouseenter",focusin:"focus",click:"click"};var Y={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var n=S(e.popper),r=n.box,o=n.content,i=e.props.animateFill?function(){var e=d();return e.className="tippy-backdrop",y([e],"hidden"),e}():null;return{onCreate:function(){i&&(r.insertBefore(i,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var e=r.style.transitionDuration,t=Number(e.replace("ms",""));o.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,y([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&y([i],"hidden")}}}};var $={clientX:0,clientY:0},q=[];function z(e){var t=e.clientX,n=e.clientY;$={clientX:t,clientY:n}}var J={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=w(e.props.triggerTarget||t),r=!1,o=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function p(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),o=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),u=i-s.left,c=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=e.left+u,r=e.top+c);var s="horizontal"===o?e.top:r,p="vertical"===o?e.right:n,f="horizontal"===o?e.bottom:r,l="vertical"===o?e.left:n;return{width:p-l,height:f-s,top:s,right:p,bottom:f,left:l}}})}function l(){e.props.followCursor&&(q.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",z)}(n))}function d(){0===(q=q.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",z)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!e.state.isMounted||o||s()||u()):(c(),p()))},onMount:function(){e.props.followCursor&&!o&&(i&&(f($),i=!1),s()||u())},onTrigger:function(e,t){m(t)&&($={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(p(),c(),i=!0)}}}};var G={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var r=-1,o=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(o){var a=o.state;e.props.inlinePositioning&&(-1!==i.indexOf(a.placement)&&(i=[]),t!==a.placement&&-1===i.indexOf(a.placement)&&(i.push(a.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,r){if(n.length<2||null===e)return t;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":var o=n[0],i=n[n.length-1],a="top"===e,s=o.top,u=i.bottom,c=a?o.left:i.left,p=a?o.right:i.right;return{top:s,bottom:u,left:c,right:p,width:p-c,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(e){return e.left}))),l=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===f:t.right===l})),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};default:return t}}(p(e),n.getBoundingClientRect(),f(n.getClientRects()),r)}(a.placement)}})),t=a.placement)}};function s(){var t;o||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,a),o=!0,e.setProps(t),o=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(t,n){if(m(n)){var o=f(e.reference.getClientRects()),i=o.find((function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY})),a=o.indexOf(i);r=a>-1?a:r}},onHidden:function(){r=-1}}}};var K={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var o=null,i=null;function a(){var s=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,u=r("popper")?n.getBoundingClientRect():null;(s&&Q(o,s)||u&&Q(i,u))&&e.popperInstance&&e.popperInstance.update(),o=s,i=u,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function Q(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}return F.setDefaultProps({plugins:[Y,J,G,K],render:N}),F.createSingleton=function(e,t){var n;void 0===t&&(t={});var r,o=e,i=[],a=[],c=t.overrides,p=[],f=!1;function l(){a=o.map((function(e){return u(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function v(){i=o.map((function(e){return e.reference}))}function m(e){o.forEach((function(t){e?t.enable():t.disable()}))}function g(e){return o.map((function(t){var n=t.setProps;return t.setProps=function(o){n(o),t.reference===r&&e.setProps(o)},function(){t.setProps=n}}))}function h(e,t){var n=a.indexOf(t);if(t!==r){r=t;var s=(c||[]).concat("content").reduce((function(e,t){return e[t]=o[n].props[t],e}),{});e.setProps(Object.assign({},s,{getReferenceClientRect:"function"==typeof s.getReferenceClientRect?s.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}m(!1),v(),l();var b={fn:function(){return{onDestroy:function(){m(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!f&&(f=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!f&&(f=!0,h(e,i[0]))},onTrigger:function(e,t){h(e,t.currentTarget)}}}},y=F(d(),Object.assign({},s(t,["overrides"]),{plugins:[b].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[W])})})),w=y.show;y.show=function(e){if(w(),!r&&null==e)return h(y,i[0]);if(!r||null!=e){if("number"==typeof e)return i[e]&&h(y,i[e]);if(o.indexOf(e)>=0){var t=e.reference;return h(y,t)}return i.indexOf(e)>=0?h(y,e):void 0}},y.showNext=function(){var e=i[0];if(!r)return y.show(0);var t=i.indexOf(r);y.show(i[t+1]||e)},y.showPrevious=function(){var e=i[i.length-1];if(!r)return y.show(e);var t=i.indexOf(r),n=i[t-1]||e;y.show(n)};var E=y.setProps;return y.setProps=function(e){c=e.overrides||c,E(e)},y.setInstances=function(e){m(!0),p.forEach((function(e){return e()})),o=e,m(!1),v(),l(),p=g(y),y.setProps({triggerTarget:a})},p=g(y),y},F.delegate=function(e,n){var r=[],o=[],i=!1,a=n.target,c=s(n,["target"]),p=Object.assign({},c,{trigger:"manual",touch:!1}),f=Object.assign({touch:R.touch},c,{showOnCreate:!0}),l=F(e,p);function d(e){if(e.target&&!i){var t=e.target.closest(a);if(t){var r=t.getAttribute("data-tippy-trigger")||n.trigger||R.trigger;if(!t._tippy&&!("touchstart"===e.type&&"boolean"==typeof f.touch||"touchstart"!==e.type&&r.indexOf(X[e.type])<0)){var s=F(t,f);s&&(o=o.concat(s))}}}}function v(e,t,n,o){void 0===o&&(o=!1),e.addEventListener(t,n,o),r.push({node:e,eventType:t,handler:n,options:o})}return u(l).forEach((function(e){var n=e.destroy,a=e.enable,s=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&o.forEach((function(e){e.destroy()})),o=[],r.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),r=[],n()},e.enable=function(){a(),o.forEach((function(e){return e.enable()})),i=!1},e.disable=function(){s(),o.forEach((function(e){return e.disable()})),i=!0},function(e){var n=e.reference;v(n,"touchstart",d,t),v(n,"mouseover",d),v(n,"focusin",d),v(n,"click",d)}(e)})),l},F.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;U.forEach((function(e){var t=!1;if(n&&(t=g(n)?e.reference===n:e.popper===n.popper),!t){var o=e.props.duration;e.setProps({duration:r}),e.hide(),e.state.isDestroyed||e.setProps({duration:o})}}))},F.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',F}));
1234567/*! * headroom.js v0.12.0 - Give your page some headroom. Hide your header until you need it * Copyright (c) 2020 Nick Williams - http://wicky.nillia.ms/headroom.js * License: MIT */
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(t=t||self).Headroom=n()}(this,function(){"use strict";function t(){return"undefined"!=typeof window}function d(t){return function(t){return t&&t.document&&function(t){return 9===t.nodeType}(t.document)}(t)?function(t){var n=t.document,o=n.body,s=n.documentElement;return{scrollHeight:function(){return Math.max(o.scrollHeight,s.scrollHeight,o.offsetHeight,s.offsetHeight,o.clientHeight,s.clientHeight)},height:function(){return t.innerHeight||s.clientHeight||o.clientHeight},scrollY:function(){return void 0!==t.pageYOffset?t.pageYOffset:(s||o.parentNode||o).scrollTop}}}(t):function(t){return{scrollHeight:function(){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight)},height:function(){return Math.max(t.offsetHeight,t.clientHeight)},scrollY:function(){return t.scrollTop}}}(t)}function n(t,s,e){var n,o=function(){var n=!1;try{var t={get passive(){n=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){n=!1}return n}(),i=!1,r=d(t),l=r.scrollY(),a={};function c(){var t=Math.round(r.scrollY()),n=r.height(),o=r.scrollHeight();a.scrollY=t,a.lastScrollY=l,a.direction=l<t?"down":"up",a.distance=Math.abs(t-l),a.isOutOfBounds=t<0||o<t+n,a.top=t<=s.offset[a.direction],a.bottom=o<=t+n,a.toleranceExceeded=a.distance>s.tolerance[a.direction],e(a),l=t,i=!1}function h(){i||(i=!0,n=requestAnimationFrame(c))}var u=!!o&&{passive:!0,capture:!1};return t.addEventListener("scroll",h,u),c(),{destroy:function(){cancelAnimationFrame(n),t.removeEventListener("scroll",h,u)}}}function o(t){return t===Object(t)?t:{down:t,up:t}}function s(t,n){n=n||{},Object.assign(this,s.options,n),this.classes=Object.assign({},s.options.classes,n.classes),this.elem=t,this.tolerance=o(this.tolerance),this.offset=o(this.offset),this.initialised=!1,this.frozen=!1}return s.prototype={constructor:s,init:function(){return s.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(t){t.scrollTracker=n(t.scroller,{offset:t.offset,tolerance:t.tolerance},t.update.bind(t))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(t){return"down"===t.direction&&!t.top&&t.toleranceExceeded},shouldPin:function(t){return"up"===t.direction&&t.toleranceExceeded||t.top},addClass:function(t){this.elem.classList.add.apply(this.elem.classList,this.classes[t].split(" "))},removeClass:function(t){this.elem.classList.remove.apply(this.elem.classList,this.classes[t].split(" "))},hasClass:function(t){return this.classes[t].split(" ").every(function(t){return this.classList.contains(t)},this.elem)},update:function(t){t.isOutOfBounds||!0!==this.frozen&&(t.top?this.top():this.notTop(),t.bottom?this.bottom():this.notBottom(),this.shouldUnpin(t)?this.unpin():this.shouldPin(t)&&this.pin())}},s.options={tolerance:{up:0,down:0},offset:0,scroller:t()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},s.cutsTheMustard=!!(t()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),s});123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277const headroomChanged = new CustomEvent("quarto-hrChanged", { detail: {}, bubbles: true, cancelable: false, composed: false,});
window.document.addEventListener("DOMContentLoaded", function () { let init = false;
// Manage the back to top button, if one is present. let lastScrollTop = window.pageYOffset || document.documentElement.scrollTop; const scrollDownBuffer = 5; const scrollUpBuffer = 35; const btn = document.getElementById("quarto-back-to-top"); const hideBackToTop = () => { btn.style.display = "none"; }; const showBackToTop = () => { btn.style.display = "inline-block"; }; if (btn) { window.document.addEventListener( "scroll", function () { const currentScrollTop = window.pageYOffset || document.documentElement.scrollTop;
// Shows and hides the button 'intelligently' as the user scrolls if (currentScrollTop - scrollDownBuffer > lastScrollTop) { hideBackToTop(); lastScrollTop = currentScrollTop <= 0 ? 0 : currentScrollTop; } else if (currentScrollTop < lastScrollTop - scrollUpBuffer) { showBackToTop(); lastScrollTop = currentScrollTop <= 0 ? 0 : currentScrollTop; }
// Show the button at the bottom, hides it at the top if (currentScrollTop <= 0) { hideBackToTop(); } else if ( window.innerHeight + currentScrollTop >= document.body.offsetHeight ) { showBackToTop(); } }, false ); }
function throttle(func, wait) { var timeout; return function () { const context = this; const args = arguments; const later = function () { clearTimeout(timeout); timeout = null; func.apply(context, args); };
if (!timeout) { timeout = setTimeout(later, wait); } }; }
function headerOffset() { // Set an offset if there is are fixed top navbar const headerEl = window.document.querySelector("header.fixed-top"); if (headerEl) { return headerEl.clientHeight; } else { return 0; } }
function footerOffset() { const footerEl = window.document.querySelector("footer.footer"); if (footerEl) { return footerEl.clientHeight; } else { return 0; } }
function updateDocumentOffsetWithoutAnimation() { updateDocumentOffset(false); }
function updateDocumentOffset(animated) { // set body offset const topOffset = headerOffset(); const bodyOffset = topOffset + footerOffset(); const bodyEl = window.document.body; bodyEl.setAttribute("data-bs-offset", topOffset); bodyEl.style.paddingTop = topOffset + "px";
// deal with sidebar offsets const sidebars = window.document.querySelectorAll( ".sidebar, .headroom-target" ); sidebars.forEach((sidebar) => { if (!animated) { sidebar.classList.add("notransition"); // Remove the no transition class after the animation has time to complete setTimeout(function () { sidebar.classList.remove("notransition"); }, 201); }
if (window.Headroom && sidebar.classList.contains("sidebar-unpinned")) { sidebar.style.top = "0"; sidebar.style.maxHeight = "100vh"; } else { sidebar.style.top = topOffset + "px"; sidebar.style.maxHeight = "calc(100vh - " + topOffset + "px)"; } });
// allow space for footer const mainContainer = window.document.querySelector(".quarto-container"); if (mainContainer) { mainContainer.style.minHeight = "calc(100vh - " + bodyOffset + "px)"; }
// link offset let linkStyle = window.document.querySelector("#quarto-target-style"); if (!linkStyle) { linkStyle = window.document.createElement("style"); linkStyle.setAttribute("id", "quarto-target-style"); window.document.head.appendChild(linkStyle); } while (linkStyle.firstChild) { linkStyle.removeChild(linkStyle.firstChild); } if (topOffset > 0) { linkStyle.appendChild( window.document.createTextNode(` section:target::before { content: ""; display: block; height: ${topOffset}px; margin: -${topOffset}px 0 0; }`) ); } if (init) { window.dispatchEvent(headroomChanged); } init = true; }
// initialize headroom var header = window.document.querySelector("#quarto-header"); if (header && window.Headroom) { const headroom = new window.Headroom(header, { tolerance: 5, onPin: function () { const sidebars = window.document.querySelectorAll( ".sidebar, .headroom-target" ); sidebars.forEach((sidebar) => { sidebar.classList.remove("sidebar-unpinned"); }); updateDocumentOffset(); }, onUnpin: function () { const sidebars = window.document.querySelectorAll( ".sidebar, .headroom-target" ); sidebars.forEach((sidebar) => { sidebar.classList.add("sidebar-unpinned"); }); updateDocumentOffset(); }, }); headroom.init();
let frozen = false; window.quartoToggleHeadroom = function () { if (frozen) { headroom.unfreeze(); frozen = false; } else { headroom.freeze(); frozen = true; } }; }
window.addEventListener( "hashchange", function (e) { if ( getComputedStyle(document.documentElement).scrollBehavior !== "smooth" ) { window.scrollTo(0, window.pageYOffset - headerOffset()); } }, false );
// Observe size changed for the header const headerEl = window.document.querySelector("header.fixed-top"); if (headerEl && window.ResizeObserver) { const observer = new window.ResizeObserver( updateDocumentOffsetWithoutAnimation ); observer.observe(headerEl, { attributes: true, childList: true, characterData: true, }); } else { window.addEventListener( "resize", throttle(updateDocumentOffsetWithoutAnimation, 50) ); } setTimeout(updateDocumentOffsetWithoutAnimation, 250);
// fixup index.html links if we aren't on the filesystem if (window.location.protocol !== "file:") { const links = window.document.querySelectorAll("a"); for (let i = 0; i < links.length; i++) { if (links[i].href) { links[i].href = links[i].href.replace(/\/index\.html/, "/"); } }
// Fixup any sharing links that require urls // Append url to any sharing urls const sharingLinks = window.document.querySelectorAll( "a.sidebar-tools-main-item" ); for (let i = 0; i < sharingLinks.length; i++) { const sharingLink = sharingLinks[i]; const href = sharingLink.getAttribute("href"); if (href) { sharingLink.setAttribute( "href", href.replace("|url|", window.location.href) ); } }
// Scroll the active navigation item into view, if necessary const navSidebar = window.document.querySelector("nav#quarto-sidebar"); if (navSidebar) { // Find the active item const activeItem = navSidebar.querySelector("li.sidebar-item a.active"); if (activeItem) { // Wait for the scroll height and height to resolve by observing size changes on the // nav element that is scrollable const resizeObserver = new ResizeObserver((_entries) => { // The bottom of the element const elBottom = activeItem.offsetTop; const viewBottom = navSidebar.scrollTop + navSidebar.clientHeight;
// The element height and scroll height are the same, then we are still loading if (viewBottom !== navSidebar.scrollHeight) { // Determine if the item isn't visible and scroll to it if (elBottom >= viewBottom) { navSidebar.scrollTop = elBottom; }
// stop observing now since we've completed the scroll resizeObserver.unobserve(navSidebar); } }); resizeObserver.observe(navSidebar); } } }});123/*! @algolia/autocomplete-js 1.7.3 | MIT License | © Algolia, Inc. and contributors | https://github.com/algolia/autocomplete */!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@algolia/autocomplete-js"]={})}(this,(function(e){"use strict";function t(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 n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}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)return;var r,o,i=[],u=!0,a=!1;try{for(n=n.call(e);!(u=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);u=!0);}catch(e){a=!0,o=e}finally{try{u||null==n.return||n.return()}finally{if(a)throw o}}return i}(e,t)||l(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.")}()}function c(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e){return{current:e}}function f(e,t){var n=void 0;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n&&clearTimeout(n),n=setTimeout((function(){return e.apply(void 0,o)}),t)}}function d(e){return e.reduce((function(e,t){return e.concat(t)}),[])}var m=0;function v(){return"autocomplete-".concat(m++)}function h(e,t){return t.reduce((function(e,t){return e&&e[t]}),e)}function g(e){return 0===e.collections.length?0:e.collections.reduce((function(e,t){return e+t.items.length}),0)}var y=function(){},b="1.7.3",O=[{segment:"autocomplete-core",version:b}];function _(e,t){var n=t;return{then:function(t,r){return _(e.then(j(t,n,e),j(r,n,e)),n)},catch:function(t){return _(e.catch(j(t,n,e)),n)},finally:function(t){return t&&n.onCancelList.push(t),_(e.finally(j(t&&function(){return n.onCancelList=[],t()},n,e)),n)},cancel:function(){n.isCanceled=!0;var e=n.onCancelList;n.onCancelList=[],e.forEach((function(e){e()}))},isCanceled:function(){return!0===n.isCanceled}}}function P(e){return _(e,{isCanceled:!1,onCancelList:[]})}function j(e,t,n){return e?function(n){return t.isCanceled?n:e(n)}:n}function w(e,t,n,r){if(!n)return null;if(e<0&&(null===t||null!==r&&0===t))return n+e;var o=(null===t?-1:t)+e;return o<=-1||o>=n?null===r?null:0:o}function S(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){var n=[];return Promise.resolve(e(t)).then((function(e){return Promise.all(e.filter((function(e){return Boolean(e)})).map((function(e){if(e.sourceId,n.includes(e.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(e.sourceId)," is not unique."));n.push(e.sourceId);var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:y},e);return Promise.resolve(t)})))}))}function A(e){var t=function(e){var t=e.collections.map((function(e){return e.items.length})).reduce((function(e,t,n){var r=(e[n-1]||0)+t;return e.push(r),e}),[]).reduce((function(t,n){return n<=e.activeItemId?t+1:t}),0);return e.collections[t]}(e);if(!t)return null;var n=t.items[function(e){for(var t=e.state,n=e.collection,r=!1,o=0,i=0;!1===r;){var u=t.collections[o];if(u===n){r=!0;break}i+=u.items.length,o++}return t.activeItemId-i}({state:e,collection:t})],r=t.source;return{item:n,itemInputValue:r.getItemInputValue({item:n,state:e}),itemUrl:r.getItemUrl({item:n,state:e}),source:r}}var C=/((gt|sm)-|galaxy nexus)|samsung[- ]/i;function D(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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(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 q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e,t,n){var r,o=t.initialState;return{getState:function(){return o},dispatch:function(r,i){var u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o);o=e(o,{type:r,props:t,payload:i}),n({state:o,prevState:u})},pendingRequests:(r=[],{add:function(e){return r.push(e),e.finally((function(){r=r.filter((function(t){return t!==e}))}))},cancelAll:function(){r.forEach((function(e){return e.cancel()}))},isEmpty:function(){return 0===r.length}})}}function T(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 L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U(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 H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(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 Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){$(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(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 J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){Y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e){return Boolean(e.execute)}function Z(e,t){return n=e,Boolean(null==n?void 0:n.execute)?J(J({},e),{},{requests:e.queries.map((function(n){return{query:n,sourceId:t,transformResponse:e.transformResponse}}))}):{items:e,sourceId:t};var n}function ee(e){var t=e.reduce((function(e,t){if(!X(t))return e.push(t),e;var n=t.searchClient,r=t.execute,o=t.requesterId,i=t.requests,u=e.find((function(e){return X(t)&&X(e)&&e.searchClient===n&&Boolean(o)&&e.requesterId===o}));if(u){var a;(a=u.items).push.apply(a,z(i))}else{var c={execute:r,requesterId:o,items:i,searchClient:n};e.push(c)}return e}),[]).map((function(e){if(!X(e))return Promise.resolve(e);var t=e,n=t.execute,r=t.items;return n({searchClient:t.searchClient,requests:r})}));return Promise.all(t).then((function(e){return d(e)}))}function te(e,t){return t.map((function(t){var n=e.filter((function(e){return e.sourceId===t.sourceId})),r=n.map((function(e){return e.items})),o=n[0].transformResponse,i=o?o(function(e){var t=e.map((function(e){var t;return k(k({},e),{},{hits:null===(t=e.hits)||void 0===t?void 0:t.map((function(t){return k(k({},t),{},{__autocomplete_indexName:e.index,__autocomplete_queryID:e.queryID})}))})}));return{results:t,hits:t.map((function(e){return e.hits})).filter(Boolean),facetHits:t.map((function(e){var t;return null===(t=e.facetHits)||void 0===t?void 0:t.map((function(e){return{label:e.value,count:e.count,_highlightResult:{label:{value:e.highlighted}}}}))})).filter(Boolean)}}(r)):r;return i.every(Boolean),'The `getItems` function from source "'.concat(t.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),".\n\nDid you forget to return items?\n\nSee: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems"),{source:t,items:i}}))}var ne=["event","nextState","props","query","refresh","store"];function re(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 oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ae,ce,le,se=null,pe=(ae=-1,ce=-1,le=void 0,function(e){var t=++ae;return Promise.resolve(e).then((function(e){return le&&t<ce?le:(ce=t,le=e,e)}))});function fe(e){var t=e.event,n=e.nextState,r=void 0===n?{}:n,o=e.props,i=e.query,u=e.refresh,a=e.store,c=ue(e,ne);se&&o.environment.clearTimeout(se);var l=c.setCollections,s=c.setIsOpen,p=c.setQuery,f=c.setActiveItemId,m=c.setStatus;if(p(i),f(o.defaultActiveItemId),!i&&!1===o.openOnFocus){var v,h=a.getState().collections.map((function(e){return oe(oe({},e),{},{items:[]})}));m("idle"),l(h),s(null!==(v=r.isOpen)&&void 0!==v?v:o.shouldPanelOpen({state:a.getState()}));var g=P(pe(h).then((function(){return Promise.resolve()})));return a.pendingRequests.add(g)}m("loading"),se=o.environment.setTimeout((function(){m("stalled")}),o.stallThreshold);var y=P(pe(o.getSources(oe({query:i,refresh:u,state:a.getState()},c)).then((function(e){return Promise.all(e.map((function(e){return Promise.resolve(e.getItems(oe({query:i,refresh:u,state:a.getState()},c))).then((function(t){return Z(t,e.sourceId)}))}))).then(ee).then((function(t){return te(t,e)})).then((function(e){return function(e){var t=e.collections,n=e.props,r=e.state,o=t.reduce((function(e,t){return Q(Q({},e),{},$({},t.source.sourceId,Q(Q({},t.source),{},{getItems:function(){return d(t.items)}})))}),{});return d(n.reshape({sources:Object.values(o),sourcesBySourceId:o,state:r})).filter(Boolean).map((function(e){return{source:e,items:e.getItems()}}))}({collections:e,props:o,state:a.getState()})}))})))).then((function(e){var n;m("idle"),l(e);var p=o.shouldPanelOpen({state:a.getState()});s(null!==(n=r.isOpen)&&void 0!==n?n:o.openOnFocus&&!i&&p||p);var f=A(a.getState());if(null!==a.getState().activeItemId&&f){var d=f.item,v=f.itemInputValue,h=f.itemUrl,g=f.source;g.onActive(oe({event:t,item:d,itemInputValue:v,itemUrl:h,refresh:u,source:g,state:a.getState()},c))}})).finally((function(){m("idle"),se&&o.environment.clearTimeout(se)}));return a.pendingRequests.add(y)}var de=["event","props","refresh","store"];function me(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 ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ye=["props","refresh","store"],be=["inputElement","formElement","panelElement"],Oe=["inputElement"],_e=["inputElement","maxLength"],Pe=["item","source"];function je(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 we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){Se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ie(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ee(e){var t=e.props,n=e.refresh,r=e.store,o=Ie(e,ye);return{getEnvironmentProps:function(e){var n=e.inputElement,o=e.formElement,i=e.panelElement;function u(e){!r.getState().isOpen&&r.pendingRequests.isEmpty()||e.target===n||!1===[o,i].some((function(t){return n=t,r=e.target,n===r||n.contains(r);var n,r}))&&(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())}return we({onTouchStart:u,onMouseDown:u,onTouchMove:function(e){!1!==r.getState().isOpen&&n===t.environment.document.activeElement&&e.target!==n&&n.blur()}},Ie(e,be))},getRootProps:function(e){return we({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},e)},getFormProps:function(e){return e.inputElement,we({action:"",noValidate:!0,role:"search",onSubmit:function(i){var u;i.preventDefault(),t.onSubmit(we({event:i,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),null===(u=e.inputElement)||void 0===u||u.blur()},onReset:function(i){var u;i.preventDefault(),t.onReset(we({event:i,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),null===(u=e.inputElement)||void 0===u||u.focus()}},Ie(e,Oe))},getLabelProps:function(e){return we({htmlFor:"".concat(t.id,"-input"),id:"".concat(t.id,"-label")},e)},getInputProps:function(e){var i;function u(e){(t.openOnFocus||Boolean(r.getState().query))&&fe(we({event:e,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var a=e||{};a.inputElement;var c=a.maxLength,l=void 0===c?512:c,s=Ie(a,_e),p=A(r.getState()),f=function(e){return Boolean(e&&e.match(C))}((null===(i=t.environment.navigator)||void 0===i?void 0:i.userAgent)||""),d=null!=p&&p.itemUrl&&!f?"go":"search";return we({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&null!==r.getState().activeItemId?"".concat(t.id,"-item-").concat(r.getState().activeItemId):void 0,"aria-controls":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:r.getState().completion||r.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:d,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:l,type:"search",onChange:function(e){fe(we({event:e,props:t,query:e.currentTarget.value.slice(0,l),refresh:n,store:r},o))},onKeyDown:function(e){!function(e){var t=e.event,n=e.props,r=e.refresh,o=e.store,i=ge(e,de);if("ArrowUp"===t.key||"ArrowDown"===t.key){var u=function(){var e=n.environment.document.getElementById("".concat(n.id,"-item-").concat(o.getState().activeItemId));e&&(e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!1):e.scrollIntoView(!1))},a=function(){var e=A(o.getState());if(null!==o.getState().activeItemId&&e){var n=e.item,u=e.itemInputValue,a=e.itemUrl,c=e.source;c.onActive(ve({event:t,item:n,itemInputValue:u,itemUrl:a,refresh:r,source:c,state:o.getState()},i))}};t.preventDefault(),!1===o.getState().isOpen&&(n.openOnFocus||Boolean(o.getState().query))?fe(ve({event:t,props:n,query:o.getState().query,refresh:r,store:o},i)).then((function(){o.dispatch(t.key,{nextActiveItemId:n.defaultActiveItemId}),a(),setTimeout(u,0)})):(o.dispatch(t.key,{}),a(),u())}else if("Escape"===t.key)t.preventDefault(),o.dispatch(t.key,null),o.pendingRequests.cancelAll();else if("Tab"===t.key)o.dispatch("blur",null),o.pendingRequests.cancelAll();else if("Enter"===t.key){if(null===o.getState().activeItemId||o.getState().collections.every((function(e){return 0===e.items.length})))return void(n.debug||o.pendingRequests.cancelAll());t.preventDefault();var c=A(o.getState()),l=c.item,s=c.itemInputValue,p=c.itemUrl,f=c.source;if(t.metaKey||t.ctrlKey)void 0!==p&&(f.onSelect(ve({event:t,item:l,itemInputValue:s,itemUrl:p,refresh:r,source:f,state:o.getState()},i)),n.navigator.navigateNewTab({itemUrl:p,item:l,state:o.getState()}));else if(t.shiftKey)void 0!==p&&(f.onSelect(ve({event:t,item:l,itemInputValue:s,itemUrl:p,refresh:r,source:f,state:o.getState()},i)),n.navigator.navigateNewWindow({itemUrl:p,item:l,state:o.getState()}));else if(t.altKey);else{if(void 0!==p)return f.onSelect(ve({event:t,item:l,itemInputValue:s,itemUrl:p,refresh:r,source:f,state:o.getState()},i)),void n.navigator.navigate({itemUrl:p,item:l,state:o.getState()});fe(ve({event:t,nextState:{isOpen:!1},props:n,query:s,refresh:r,store:o},i)).then((function(){f.onSelect(ve({event:t,item:l,itemInputValue:s,itemUrl:p,refresh:r,source:f,state:o.getState()},i))}))}}}(we({event:e,props:t,refresh:n,store:r},o))},onFocus:u,onBlur:y,onClick:function(n){e.inputElement!==t.environment.document.activeElement||r.getState().isOpen||u(n)}},s)},getPanelProps:function(e){return we({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},e)},getListProps:function(e){return we({role:"listbox","aria-labelledby":"".concat(t.id,"-label"),id:"".concat(t.id,"-list")},e)},getItemProps:function(e){var i=e.item,u=e.source,a=Ie(e,Pe);return we({id:"".concat(t.id,"-item-").concat(i.__autocomplete_id),role:"option","aria-selected":r.getState().activeItemId===i.__autocomplete_id,onMouseMove:function(e){if(i.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",i.__autocomplete_id);var t=A(r.getState());if(null!==r.getState().activeItemId&&t){var u=t.item,a=t.itemInputValue,c=t.itemUrl,l=t.source;l.onActive(we({event:e,item:u,itemInputValue:a,itemUrl:c,refresh:n,source:l,state:r.getState()},o))}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){var a=u.getItemInputValue({item:i,state:r.getState()}),c=u.getItemUrl({item:i,state:r.getState()});(c?Promise.resolve():fe(we({event:e,nextState:{isOpen:!1},props:t,query:a,refresh:n,store:r},o))).then((function(){u.onSelect(we({event:e,item:i,itemInputValue:a,itemUrl:c,refresh:n,source:u,state:r.getState()},o))}))}},a)}}}function Ae(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 Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e){var t,n,r,o,i=e.plugins,u=e.options,a=null===(t=((null===(n=u.__autocomplete_metadata)||void 0===n?void 0:n.userAgents)||[])[0])||void 0===t?void 0:t.segment,c=a?De({},a,Object.keys((null===(r=u.__autocomplete_metadata)||void 0===r?void 0:r.options)||{})):{};return{plugins:i.map((function(e){return{name:e.name,options:Object.keys(e.__autocomplete_pluginOptions||[])}})),options:Ce({"autocomplete-core":Object.keys(u)},c),ua:O.concat((null===(o=u.__autocomplete_metadata)||void 0===o?void 0:o.userAgents)||[])}}function xe(e){var t,n=e.state;return!1===n.isOpen||null===n.activeItemId?null:(null===(t=A(n))||void 0===t?void 0:t.itemInputValue)||null}function Ne(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 qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Te=function(e,t){switch(t.type){case"setActiveItemId":case"mousemove":return qe(qe({},e),{},{activeItemId:t.payload});case"setQuery":return qe(qe({},e),{},{query:t.payload,completion:null});case"setCollections":return qe(qe({},e),{},{collections:t.payload});case"setIsOpen":return qe(qe({},e),{},{isOpen:t.payload});case"setStatus":return qe(qe({},e),{},{status:t.payload});case"setContext":return qe(qe({},e),{},{context:qe(qe({},e.context),t.payload)});case"ArrowDown":var n=qe(qe({},e),{},{activeItemId:t.payload.hasOwnProperty("nextActiveItemId")?t.payload.nextActiveItemId:w(1,e.activeItemId,g(e),t.props.defaultActiveItemId)});return qe(qe({},n),{},{completion:xe({state:n})});case"ArrowUp":var r=qe(qe({},e),{},{activeItemId:w(-1,e.activeItemId,g(e),t.props.defaultActiveItemId)});return qe(qe({},r),{},{completion:xe({state:r})});case"Escape":return e.isOpen?qe(qe({},e),{},{activeItemId:null,isOpen:!1,completion:null}):qe(qe({},e),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return qe(qe({},e),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return qe(qe({},e),{},{activeItemId:!0===t.props.openOnFocus?t.props.defaultActiveItemId:null,status:"idle",query:""});case"focus":return qe(qe({},e),{},{activeItemId:t.props.defaultActiveItemId,isOpen:(t.props.openOnFocus||Boolean(e.query))&&t.props.shouldPanelOpen({state:e})});case"blur":return t.props.debug?e:qe(qe({},e),{},{isOpen:!1,activeItemId:null});case"mouseleave":return qe(qe({},e),{},{activeItemId:t.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(t.type)," is not supported."),e}};function Le(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 Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Me(e){var t=[],n=function(e,t){var n,r="undefined"!=typeof window?window:{},o=e.plugins||[];return H(H({debug:!1,openOnFocus:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,environment:r,shouldPanelOpen:function(e){return g(e.state)>0},reshape:function(e){return e.sources}},e),{},{id:null!==(n=e.id)&&void 0!==n?n:v(),plugins:o,initialState:H({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var n;null===(n=e.onStateChange)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onStateChange)||void 0===n?void 0:n.call(e,t)}))},onSubmit:function(t){var n;null===(n=e.onSubmit)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onSubmit)||void 0===n?void 0:n.call(e,t)}))},onReset:function(t){var n;null===(n=e.onReset)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onReset)||void 0===n?void 0:n.call(e,t)}))},getSources:function(n){return Promise.all([].concat(F(o.map((function(e){return e.getSources}))),[e.getSources]).filter(Boolean).map((function(e){return E(e,n)}))).then((function(e){return d(e)})).then((function(e){return e.map((function(e){return H(H({},e),{},{onSelect:function(n){e.onSelect(n),t.forEach((function(e){var t;return null===(t=e.onSelect)||void 0===t?void 0:t.call(e,n)}))},onActive:function(n){e.onActive(n),t.forEach((function(e){var t;return null===(t=e.onActive)||void 0===t?void 0:t.call(e,n)}))}})}))}))},navigator:H({navigate:function(e){var t=e.itemUrl;r.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,n=r.open(t,"_blank","noopener");null==n||n.focus()},navigateNewWindow:function(e){var t=e.itemUrl;r.open(t,"_blank","noopener")}},e.navigator)})}(e,t),r=R(Te,n,(function(e){var t=e.prevState,r=e.state;n.onStateChange(Be({prevState:t,state:r,refresh:u},o))})),o=function(e){var t=e.store;return{setActiveItemId:function(e){t.dispatch("setActiveItemId",e)},setQuery:function(e){t.dispatch("setQuery",e)},setCollections:function(e){var n=0,r=e.map((function(e){return L(L({},e),{},{items:d(e.items).map((function(e){return L(L({},e),{},{__autocomplete_id:n++})}))})}));t.dispatch("setCollections",r)},setIsOpen:function(e){t.dispatch("setIsOpen",e)},setStatus:function(e){t.dispatch("setStatus",e)},setContext:function(e){t.dispatch("setContext",e)}}}({store:r}),i=Ee(Be({props:n,refresh:u,store:r},o));function u(){return fe(Be({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,query:r.getState().query,refresh:u,store:r},o))}return n.plugins.forEach((function(e){var n;return null===(n=e.subscribe)||void 0===n?void 0:n.call(e,Be(Be({},o),{},{refresh:u,onSelect:function(e){t.push({onSelect:e})},onActive:function(e){t.push({onActive:e})}}))})),function(e){var t,n,r=e.metadata,o=e.environment;if(null===(t=o.navigator)||void 0===t||null===(n=t.userAgent)||void 0===n?void 0:n.includes("Algolia Crawler")){var i=o.document.createElement("meta"),u=o.document.querySelector("head");i.name="algolia:metadata",setTimeout((function(){i.content=JSON.stringify(r),u.appendChild(i)}),0)}}({metadata:ke({plugins:n.plugins,options:e}),environment:n.environment}),Be(Be({refresh:u},i),o)}var Ue=function(e,t,n,r){var o;t[0]=0;for(var i=1;i<t.length;i++){var u=t[i++],a=t[i]?(t[0]|=u?1:2,n[t[i++]]):t[++i];3===u?r[0]=a:4===u?r[1]=Object.assign(r[1]||{},a):5===u?(r[1]=r[1]||{})[t[++i]]=a:6===u?r[1][t[++i]]+=a+"":u?(o=e.apply(a,Ue(e,a,n,["",null])),r.push(o),a[0]?t[0]|=2:(t[i-2]=0,t[i]=o)):r.push(a)}return r},He=new Map;function Ve(e){var t=He.get(this);return t||(t=new Map,He.set(this,t)),(t=Ue(this,t.get(e)||(t.set(e,t=function(e){for(var t,n,r=1,o="",i="",u=[0],a=function(e){1===r&&(e||(o=o.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?u.push(0,e,o):3===r&&(e||o)?(u.push(3,e,o),r=2):2===r&&"..."===o&&e?u.push(4,e,0):2===r&&o&&!e?u.push(5,0,!0,o):r>=5&&((o||!e&&5===r)&&(u.push(r,0,o,n),r=6),e&&(u.push(r,e,0,n),r=6)),o=""},c=0;c<e.length;c++){c&&(1===r&&a(),a(c));for(var l=0;l<e[c].length;l++)t=e[c][l],1===r?"<"===t?(a(),u=[u],r=3):o+=t:4===r?"--"===o&&">"===t?(r=1,o=""):o=t+o[0]:i?t===i?i="":o+=t:'"'===t||"'"===t?i=t:">"===t?(a(),r=1):r&&("="===t?(r=5,n=o,o=""):"/"===t&&(r<5||">"===e[c][l+1])?(a(),3===r&&(u=u[0]),r=u,(u=u[0]).push(2,0,r),r=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(a(),r=2):o+=t),3===r&&"!--"===o&&(r=4,u=u[0])}return a(),u}(e)),t),arguments,[])).length>1?t:t[0]}var We=function(e){var t=e.environment,n=t.document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("class","aa-ClearIcon"),n.setAttribute("viewBox","0 0 24 24"),n.setAttribute("width","18"),n.setAttribute("height","18"),n.setAttribute("fill","currentColor");var r=t.document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d","M5.293 6.707l5.293 5.293-5.293 5.293c-0.391 0.391-0.391 1.024 0 1.414s1.024 0.391 1.414 0l5.293-5.293 5.293 5.293c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414l-5.293-5.293 5.293-5.293c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0l-5.293 5.293-5.293-5.293c-0.391-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414z"),n.appendChild(r),n};function Qe(e,t){if("string"==typeof t){var n=e.document.querySelector(t);return"The element ".concat(JSON.stringify(t)," is not in the document."),n}return t}function $e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return Object.keys(t).forEach((function(n){var r=e[n],o=t[n];r!==o&&(e[n]=[r,o].filter(Boolean).join(" "))})),e}),{})}var ze=function(e){return e&&"object"===r(e)&&"[object Object]"===Object.prototype.toString.call(e)};function Ge(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return Object.keys(t).forEach((function(n){var r=e[n],o=t[n];Array.isArray(r)&&Array.isArray(o)?e[n]=r.concat.apply(r,c(o)):ze(r)&&ze(o)?e[n]=Ge(r,o):e[n]=o})),e}),{})}function Ke(e,t){return Object.entries(e).reduce((function(e,r){var i=a(r,2),u=i[0],c=i[1];return t({key:u,value:c})?n(n({},e),{},o({},u,c)):e}),{})}var Je=["ontouchstart","ontouchend","ontouchmove","ontouchcancel"];function Ye(e,t,n){e[t]=null===n?"":"number"!=typeof n?n:n+"px"}function Xe(e){this._listeners[e.type](e)}function Ze(e,t,n){var r,o,i=e[t];if("style"===t)if("string"==typeof n)e.style=n;else if(null===n)e.style="";else for(t in n)i&&n[t]===i[t]||Ye(e.style,t,n[t]);else"o"===t[0]&&"n"===t[1]?(r=t!==(t=t.replace(/Capture$/,"")),((o=t.toLowerCase())in e||Je.includes(o))&&(t=o),t=t.slice(2),e._listeners||(e._listeners={}),e._listeners[t]=n,n?i||e.addEventListener(t,Xe,r):e.removeEventListener(t,Xe,r)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function et(e){return"onChange"===e?"onInput":e}function tt(e,t){for(var n in t)Ze(e,et(n),t[n])}function nt(e,t){for(var n in t)"o"===n[0]&&"n"===n[1]||Ze(e,et(n),t[n])}var rt=["children"];function ot(e){return function(t,n){var r=n.children,o=void 0===r?[]:r,i=u(n,rt),a=e.document.createElement(t);return tt(a,i),a.append.apply(a,c(o)),a}}var it=["autocompleteScopeApi","environment","classNames","getInputProps","getInputPropsCore","isDetached","state"],ut=function(e){var t=e.environment.document.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("class","aa-LoadingIcon"),t.setAttribute("viewBox","0 0 100 100"),t.setAttribute("width","20"),t.setAttribute("height","20"),t.innerHTML='<circle\n cx="50"\n cy="50"\n fill="none"\n r="35"\n stroke="currentColor"\n stroke-dasharray="164.93361431346415 56.97787143782138"\n stroke-width="6"\n>\n <animateTransform\n attributeName="transform"\n type="rotate"\n repeatCount="indefinite"\n dur="1s"\n values="0 50 50;90 50 50;180 50 50;360 50 50"\n keyTimes="0;0.40;0.65;1"\n />\n</circle>',t},at=function(e){var t=e.environment,n=t.document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("class","aa-SubmitIcon"),n.setAttribute("viewBox","0 0 24 24"),n.setAttribute("width","20"),n.setAttribute("height","20"),n.setAttribute("fill","currentColor");var r=t.document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d","M16.041 15.856c-0.034 0.026-0.067 0.055-0.099 0.087s-0.060 0.064-0.087 0.099c-1.258 1.213-2.969 1.958-4.855 1.958-1.933 0-3.682-0.782-4.95-2.050s-2.050-3.017-2.050-4.95 0.782-3.682 2.050-4.95 3.017-2.050 4.95-2.050 3.682 0.782 4.95 2.050 2.050 3.017 2.050 4.95c0 1.886-0.745 3.597-1.959 4.856zM21.707 20.293l-3.675-3.675c1.231-1.54 1.968-3.493 1.968-5.618 0-2.485-1.008-4.736-2.636-6.364s-3.879-2.636-6.364-2.636-4.736 1.008-6.364 2.636-2.636 3.879-2.636 6.364 1.008 4.736 2.636 6.364 3.879 2.636 6.364 2.636c2.125 0 4.078-0.737 5.618-1.968l3.675 3.675c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414z"),n.appendChild(r),n};function ct(e){var t=e.autocomplete,r=e.autocompleteScopeApi,o=e.classNames,i=e.environment,a=e.isDetached,c=e.placeholder,l=void 0===c?"Search":c,s=e.propGetters,p=e.setIsModalOpen,f=e.state,d=e.translations,m=ot(i),v=s.getRootProps(n({state:f,props:t.getRootProps({})},r)),h=m("div",n({class:o.root},v)),g=m("div",{class:o.detachedContainer,onMouseDown:function(e){e.stopPropagation()}}),y=m("div",{class:o.detachedOverlay,children:[g],onMouseDown:function(){p(!1),t.setIsOpen(!1)}}),b=s.getLabelProps(n({state:f,props:t.getLabelProps({})},r)),O=m("button",{class:o.submitButton,type:"submit",title:d.submitButtonTitle,children:[at({environment:i})]}),_=m("label",n({class:o.label,children:[O]},b)),P=m("button",{class:o.clearButton,type:"reset",title:d.clearButtonTitle,children:[We({environment:i})]}),j=m("div",{class:o.loadingIndicator,children:[ut({environment:i})]}),w=function(e){var t=e.autocompleteScopeApi,r=e.environment;e.classNames;var o=e.getInputProps,i=e.getInputPropsCore,a=e.isDetached,c=e.state,l=u(e,it),s=ot(r)("input",l),p=o(n({state:c,props:i({inputElement:s}),inputElement:s},t));return tt(s,n(n({},p),{},{onKeyDown:function(e){a&&"Tab"===e.key||p.onKeyDown(e)}})),s}({class:o.input,environment:i,state:f,getInputProps:s.getInputProps,getInputPropsCore:t.getInputProps,autocompleteScopeApi:r,isDetached:a}),S=m("div",{class:o.inputWrapperPrefix,children:[_,j]}),I=m("div",{class:o.inputWrapperSuffix,children:[P]}),E=m("div",{class:o.inputWrapper,children:[w]}),A=s.getFormProps(n({state:f,props:t.getFormProps({inputElement:w})},r)),C=m("form",n({class:o.form,children:[S,E,I]},A)),D=s.getPanelProps(n({state:f,props:t.getPanelProps({})},r)),k=m("div",n({class:o.panel},D));if(a){var x=m("div",{class:o.detachedSearchButtonIcon,children:[at({environment:i})]}),N=m("div",{class:o.detachedSearchButtonPlaceholder,textContent:l}),q=m("button",{type:"button",class:o.detachedSearchButton,onClick:function(){p(!0)},children:[x,N]}),R=m("button",{type:"button",class:o.detachedCancelButton,textContent:d.detachedCancelButtonText,onTouchStart:function(e){e.stopPropagation()},onClick:function(){t.setIsOpen(!1),p(!1)}}),T=m("div",{class:o.detachedFormContainer,children:[C,R]});g.appendChild(T),h.appendChild(q)}else h.appendChild(C);return{detachedContainer:g,detachedOverlay:y,inputWrapper:E,input:w,root:h,form:C,label:_,submitButton:O,clearButton:P,loadingIndicator:j,panel:k}}var lt,st,pt,ft,dt,mt,vt={},ht=[],gt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function yt(e,t){for(var n in t)e[n]=t[n];return e}function bt(e){var t=e.parentNode;t&&t.removeChild(e)}function Ot(e,t,n){var r,o,i,u={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:u[i]=t[i];if(arguments.length>2&&(u.children=arguments.length>3?lt.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===u[i]&&(u[i]=e.defaultProps[i]);return _t(e,u,r,o,null)}function _t(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++pt:o};return null==o&&null!=st.vnode&&st.vnode(i),i}function Pt(e){return e.children}function jt(e,t){this.props=e,this.context=t}function wt(e,t){if(null==t)return e.__?wt(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?wt(e):null}function St(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return St(e)}}function It(e){(!e.__d&&(e.__d=!0)&&ft.push(e)&&!Et.__r++||mt!==st.debounceRendering)&&((mt=st.debounceRendering)||dt)(Et)}function Et(){for(var e;Et.__r=ft.length;)e=ft.sort((function(e,t){return e.__v.__b-t.__v.__b})),ft=[],e.some((function(e){var t,n,r,o,i,u;e.__d&&(i=(o=(t=e).__v).__e,(u=t.__P)&&(n=[],(r=yt({},o)).__v=o.__v+1,Rt(u,o,r,t.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?wt(o):i,o.__h),Tt(n,o),o.__e!=i&&St(o)))}))}function At(e,t,n,r,o,i,u,a,c,l){var s,p,f,d,m,v,h,g=r&&r.__k||ht,y=g.length;for(n.__k=[],s=0;s<t.length;s++)if(null!=(d=n.__k[s]=null==(d=t[s])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?_t(null,d,null,null,d):Array.isArray(d)?_t(Pt,{children:d},null,null,null):d.__b>0?_t(d.type,d.props,d.key,null,d.__v):d)){if(d.__=n,d.__b=n.__b+1,null===(f=g[s])||f&&d.key==f.key&&d.type===f.type)g[s]=void 0;else for(p=0;p<y;p++){if((f=g[p])&&d.key==f.key&&d.type===f.type){g[p]=void 0;break}f=null}Rt(e,d,f=f||vt,o,i,u,a,c,l),m=d.__e,(p=d.ref)&&f.ref!=p&&(h||(h=[]),f.ref&&h.push(f.ref,null,d),h.push(p,d.__c||m,d)),null!=m?(null==v&&(v=m),"function"==typeof d.type&&d.__k===f.__k?d.__d=c=Ct(d,c,e):c=Dt(e,d,f,g,m,c),"function"==typeof n.type&&(n.__d=c)):c&&f.__e==c&&c.parentNode!=e&&(c=wt(f))}for(n.__e=v,s=y;s--;)null!=g[s]&&("function"==typeof n.type&&null!=g[s].__e&&g[s].__e==n.__d&&(n.__d=wt(r,s+1)),Ft(g[s],g[s]));if(h)for(s=0;s<h.length;s++)Bt(h[s],h[++s],h[++s])}function Ct(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?Ct(r,t,n):Dt(n,r,r,o,r.__e,t));return t}function Dt(e,t,n,r,o,i){var u,a,c;if(void 0!==t.__d)u=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),u=null;else{for(a=i,c=0;(a=a.nextSibling)&&c<r.length;c+=2)if(a==o)break e;e.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function kt(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||gt.test(t)?n:n+"px"}function xt(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||kt(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||kt(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?qt:Nt,i):e.removeEventListener(t,i?qt:Nt,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function Nt(e){this.l[e.type+!1](st.event?st.event(e):e)}function qt(e){this.l[e.type+!0](st.event?st.event(e):e)}function Rt(e,t,n,r,o,i,u,a,c){var l,s,p,f,d,m,v,h,g,y,b,O=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,a=t.__e=n.__e,t.__h=null,i=[a]),(l=st.__b)&&l(t);try{e:if("function"==typeof O){if(h=t.props,g=(l=O.contextType)&&r[l.__c],y=l?g?g.props.value:l.__:r,n.__c?v=(s=t.__c=n.__c).__=s.__E:("prototype"in O&&O.prototype.render?t.__c=s=new O(h,y):(t.__c=s=new jt(h,y),s.constructor=O,s.render=Mt),g&&g.sub(s),s.props=h,s.state||(s.state={}),s.context=y,s.__n=r,p=s.__d=!0,s.__h=[]),null==s.__s&&(s.__s=s.state),null!=O.getDerivedStateFromProps&&(s.__s==s.state&&(s.__s=yt({},s.__s)),yt(s.__s,O.getDerivedStateFromProps(h,s.__s))),f=s.props,d=s.state,p)null==O.getDerivedStateFromProps&&null!=s.componentWillMount&&s.componentWillMount(),null!=s.componentDidMount&&s.__h.push(s.componentDidMount);else{if(null==O.getDerivedStateFromProps&&h!==f&&null!=s.componentWillReceiveProps&&s.componentWillReceiveProps(h,y),!s.__e&&null!=s.shouldComponentUpdate&&!1===s.shouldComponentUpdate(h,s.__s,y)||t.__v===n.__v){s.props=h,s.state=s.__s,t.__v!==n.__v&&(s.__d=!1),s.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),s.__h.length&&u.push(s);break e}null!=s.componentWillUpdate&&s.componentWillUpdate(h,s.__s,y),null!=s.componentDidUpdate&&s.__h.push((function(){s.componentDidUpdate(f,d,m)}))}s.context=y,s.props=h,s.state=s.__s,(l=st.__r)&&l(t),s.__d=!1,s.__v=t,s.__P=e,l=s.render(s.props,s.state,s.context),s.state=s.__s,null!=s.getChildContext&&(r=yt(yt({},r),s.getChildContext())),p||null==s.getSnapshotBeforeUpdate||(m=s.getSnapshotBeforeUpdate(f,d)),b=null!=l&&l.type===Pt&&null==l.key?l.props.children:l,At(e,Array.isArray(b)?b:[b],t,n,r,o,i,u,a,c),s.base=t.__e,t.__h=null,s.__h.length&&u.push(s),v&&(s.__E=s.__=null),s.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Lt(n.__e,t,n,r,o,i,u,c);(l=st.diffed)&&l(t)}catch(e){t.__v=null,(c||null!=i)&&(t.__e=a,t.__h=!!c,i[i.indexOf(a)]=null),st.__e(e,t,n)}}function Tt(e,t){st.__c&&st.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){st.__e(e,t.__v)}}))}function Lt(e,t,n,r,o,i,u,a){var c,l,s,p=n.props,f=t.props,d=t.type,m=0;if("svg"===d&&(o=!0),null!=i)for(;m<i.length;m++)if((c=i[m])&&"setAttribute"in c==!!d&&(d?c.localName===d:3===c.nodeType)){e=c,i[m]=null;break}if(null==e){if(null===d)return document.createTextNode(f);e=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,f.is&&f),i=null,a=!1}if(null===d)p===f||a&&e.data===f||(e.data=f);else{if(i=i&<.call(e.childNodes),l=(p=n.props||vt).dangerouslySetInnerHTML,s=f.dangerouslySetInnerHTML,!a){if(null!=i)for(p={},m=0;m<e.attributes.length;m++)p[e.attributes[m].name]=e.attributes[m].value;(s||l)&&(s&&(l&&s.__html==l.__html||s.__html===e.innerHTML)||(e.innerHTML=s&&s.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||xt(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||xt(e,i,t[i],n[i],r)}(e,f,p,o,a),s)t.__k=[];else if(m=t.props.children,At(e,Array.isArray(m)?m:[m],t,n,r,o&&"foreignObject"!==d,i,u,i?i[0]:n.__k&&wt(n,0),a),null!=i)for(m=i.length;m--;)null!=i[m]&&bt(i[m]);a||("value"in f&&void 0!==(m=f.value)&&(m!==p.value||m!==e.value||"progress"===d&&!m)&&xt(e,"value",m,p.value,!1),"checked"in f&&void 0!==(m=f.checked)&&m!==e.checked&&xt(e,"checked",m,p.checked,!1))}return e}function Bt(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){st.__e(e,n)}}function Ft(e,t,n){var r,o;if(st.unmount&&st.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Bt(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){st.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Ft(r[o],t,"function"!=typeof e.type);n||null==e.__e||bt(e.__e),e.__e=e.__d=void 0}function Mt(e,t,n){return this.constructor(e,n)}lt=ht.slice,st={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},pt=0,jt.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=yt({},this.state),"function"==typeof e&&(e=e(yt({},n),this.props)),e&&yt(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),It(this))},jt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),It(this))},jt.prototype.render=Pt,ft=[],dt="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Et.__r=0;var Ut="__aa-highlight__",Ht="__/aa-highlight__";function Vt(e){var t=e.highlightedValue.split(Ut),n=t.shift(),r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{get:function(){return e},add:function(t){var n=e[e.length-1];(null==n?void 0:n.isHighlighted)===t.isHighlighted?e[e.length-1]={value:n.value+t.value,isHighlighted:n.isHighlighted}:e.push(t)}}}(n?[{value:n,isHighlighted:!1}]:[]);return t.forEach((function(e){var t=e.split(Ht);r.add({value:t[0],isHighlighted:!0}),""!==t[1]&&r.add({value:t[1],isHighlighted:!1})})),r.get()}function Wt(e){return function(e){if(Array.isArray(e))return Qt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $t(e){var t=e.hit,n=e.attribute,r=Array.isArray(n)?n:[n],o=h(t,["_highlightResult"].concat(Wt(r),["value"]));return"string"!=typeof o&&(o=h(t,r)||""),Vt({highlightedValue:o})}var zt={"&":"&","<":"<",">":">",""":'"',"'":"'"},Gt=new RegExp(/\w/i),Kt=/&(amp|quot|lt|gt|#39);/g,Jt=RegExp(Kt.source);function Yt(e,t){var n,r,o,i=e[t],u=(null===(n=e[t+1])||void 0===n?void 0:n.isHighlighted)||!0,a=(null===(r=e[t-1])||void 0===r?void 0:r.isHighlighted)||!0;return Gt.test((o=i.value)&&Jt.test(o)?o.replace(Kt,(function(e){return zt[e]})):o)||a!==u?i.isHighlighted:a}function Xt(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 Zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(n),!0).forEach((function(t){en(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tn(e){return e.some((function(e){return e.isHighlighted}))?e.map((function(t,n){return Zt(Zt({},t),{},{isHighlighted:!Yt(e,n)})})):e.map((function(e){return Zt(Zt({},e),{},{isHighlighted:!1})}))}function nn(e){return function(e){if(Array.isArray(e))return rn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return rn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function on(e){var t=e.hit,n=e.attribute,r=Array.isArray(n)?n:[n],o=h(t,["_snippetResult"].concat(nn(r),["value"]));return"string"!=typeof o&&(o=h(t,r)||""),Vt({highlightedValue:o})}function un(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 an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?un(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ln=["params"];function sn(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 pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sn(Object(n),!0).forEach((function(t){fn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function mn(e){return function(e){if(Array.isArray(e))return vn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hn(e){var t=e.createElement,n=e.Fragment;function r(e){var r=e.hit,o=e.attribute,i=e.tagName,u=void 0===i?"mark":i;return t(n,{},$t({hit:r,attribute:o}).map((function(e,n){return e.isHighlighted?t(u,{key:n},e.value):e.value})))}return r.__autocomplete_componentName="Highlight",r}function gn(e){var t=e.createElement,n=e.Fragment;function r(e){var r,o=e.hit,i=e.attribute,u=e.tagName,a=void 0===u?"mark":u;return t(n,{},(r={hit:o,attribute:i},tn($t(r))).map((function(e,n){return e.isHighlighted?t(a,{key:n},e.value):e.value})))}return r.__autocomplete_componentName="ReverseHighlight",r}function yn(e){var t=e.createElement,n=e.Fragment;function r(e){var r,o=e.hit,i=e.attribute,u=e.tagName,a=void 0===u?"mark":u;return t(n,{},(r={hit:o,attribute:i},tn(on(r))).map((function(e,n){return e.isHighlighted?t(a,{key:n},e.value):e.value})))}return r.__autocomplete_componentName="ReverseSnippet",r}function bn(e){var t=e.createElement,n=e.Fragment;function r(e){var r=e.hit,o=e.attribute,i=e.tagName,u=void 0===i?"mark":i;return t(n,{},on({hit:r,attribute:o}).map((function(e,n){return e.isHighlighted?t(u,{key:n},e.value):e.value})))}return r.__autocomplete_componentName="Snippet",r}var On=["classNames","container","getEnvironmentProps","getFormProps","getInputProps","getItemProps","getLabelProps","getListProps","getPanelProps","getRootProps","panelContainer","panelPlacement","render","renderNoResults","renderer","detachedMediaQuery","components","translations"],_n={clearButton:"aa-ClearButton",detachedCancelButton:"aa-DetachedCancelButton",detachedContainer:"aa-DetachedContainer",detachedFormContainer:"aa-DetachedFormContainer",detachedOverlay:"aa-DetachedOverlay",detachedSearchButton:"aa-DetachedSearchButton",detachedSearchButtonIcon:"aa-DetachedSearchButtonIcon",detachedSearchButtonPlaceholder:"aa-DetachedSearchButtonPlaceholder",form:"aa-Form",input:"aa-Input",inputWrapper:"aa-InputWrapper",inputWrapperPrefix:"aa-InputWrapperPrefix",inputWrapperSuffix:"aa-InputWrapperSuffix",item:"aa-Item",label:"aa-Label",list:"aa-List",loadingIndicator:"aa-LoadingIndicator",panel:"aa-Panel",panelLayout:"aa-PanelLayout aa-Panel--scrollable",root:"aa-Autocomplete",source:"aa-Source",sourceFooter:"aa-SourceFooter",sourceHeader:"aa-SourceHeader",sourceNoResults:"aa-SourceNoResults",submitButton:"aa-SubmitButton"},Pn=function(e,t){var n=e.children;(0,e.render)(n,t)},jn={createElement:Ot,Fragment:Pt,render:function(e,t,n){var r,o,i;st.__&&st.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],Rt(t,e=(!r&&n||t).__k=Ot(Pt,null,[e]),o||vt,vt,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?lt.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),Tt(i,e)}};function wn(e){var t=e.panelPlacement,n=e.container,r=e.form,o=e.environment,i=n.getBoundingClientRect(),u=(o.pageYOffset||o.document.documentElement.scrollTop||o.document.body.scrollTop||0)+i.top+i.height;switch(t){case"start":return{top:u,left:i.left};case"end":return{top:u,right:o.document.documentElement.clientWidth-(i.left+i.width)};case"full-width":return{top:u,left:0,right:0,width:"unset",maxWidth:"unset"};case"input-wrapper-width":var a=r.getBoundingClientRect();return{top:u,left:a.left,right:o.document.documentElement.clientWidth-(a.left+a.width),width:"unset",maxWidth:"unset"};default:throw new Error("[Autocomplete] The `panelPlacement` value ".concat(JSON.stringify(t)," is not valid."))}}var Sn=[{segment:"autocomplete-js",version:b}],In=["components"];var En=function(e,t){function n(t){return e({searchClient:t.searchClient,queries:t.requests.map((function(e){return e.query}))}).then((function(e){return e.map((function(e,n){var r=t.requests[n];return{items:e,sourceId:r.sourceId,transformResponse:r.transformResponse}}))}))}return function(e){return function(r){return an(an({requesterId:t,execute:n},e),r)}}}((function(e){return function(e){var t=e.searchClient,n=e.queries,r=e.userAgents,o=void 0===r?[]:r;return"function"==typeof t.addAlgoliaAgent&&[].concat(mn(O),mn(o)).forEach((function(e){var n=e.segment,r=e.version;t.addAlgoliaAgent(n,r)})),t.search(n.map((function(e){var t=e.params;return pn(pn({},dn(e,ln)),{},{params:pn({hitsPerPage:5,highlightPreTag:Ut,highlightPostTag:Ht},t)})}))).then((function(e){return e.results}))}(n(n({},e),{},{userAgents:Sn}))}),"algolia");var An=En({transformResponse:function(e){return e.hits}});e.autocomplete=function(e){var t,r=function(){var e=[],t=[];function n(n){e.push(n);var r=n();t.push(r)}return{runEffect:n,cleanupEffects:function(){var e=t;t=[],e.forEach((function(e){e()}))},runEffects:function(){var t=e;e=[],t.forEach((function(e){n(e)}))}}}(),a=r.runEffect,c=r.cleanupEffects,l=r.runEffects,s=(t=[],{reactive:function(e){var n=e(),r={_fn:e,_ref:{current:n},get value(){return this._ref.current},set value(e){this._ref.current=e}};return t.push(r),r},runReactives:function(){t.forEach((function(e){e._ref.current=e._fn()}))}}),d=s.reactive,m=s.runReactives,h=p(!1),y=p(e),b=p(void 0),O=d((function(){return function(e){var t,r=e.classNames,o=e.container,i=e.getEnvironmentProps,a=e.getFormProps,c=e.getInputProps,l=e.getItemProps,s=e.getLabelProps,p=e.getListProps,f=e.getPanelProps,d=e.getRootProps,m=e.panelContainer,h=e.panelPlacement,g=e.render,y=e.renderNoResults,b=e.renderer,O=e.detachedMediaQuery,_=e.components,P=e.translations,j=u(e,On),w="undefined"!=typeof window?window:{},S=Qe(w,o);S.tagName;var I=n(n({},jn),b),E={Highlight:hn(I),ReverseHighlight:gn(I),ReverseSnippet:yn(I),Snippet:bn(I)};return{renderer:{classNames:$e(_n,null!=r?r:{}),container:S,getEnvironmentProps:null!=i?i:function(e){return e.props},getFormProps:null!=a?a:function(e){return e.props},getInputProps:null!=c?c:function(e){return e.props},getItemProps:null!=l?l:function(e){return e.props},getLabelProps:null!=s?s:function(e){return e.props},getListProps:null!=p?p:function(e){return e.props},getPanelProps:null!=f?f:function(e){return e.props},getRootProps:null!=d?d:function(e){return e.props},panelContainer:m?Qe(w,m):w.document.body,panelPlacement:null!=h?h:"input-wrapper-width",render:null!=g?g:Pn,renderNoResults:y,renderer:I,detachedMediaQuery:null!=O?O:getComputedStyle(w.document.documentElement).getPropertyValue("--aa-detached-media-query"),components:n(n({},E),_),translations:n(n({},{clearButtonTitle:"Clear",detachedCancelButtonText:"Cancel",submitButtonTitle:"Submit"}),P)},core:n(n({},j),{},{id:null!==(t=j.id)&&void 0!==t?t:v(),environment:w})}}(y.current)})),_=d((function(){return O.value.core.environment.matchMedia(O.value.renderer.detachedMediaQuery).matches})),P=d((function(){return Me(n(n({},O.value.core),{},{onStateChange:function(e){var t,n,r;h.current=e.state.collections.some((function(e){return e.source.templates.noResults})),null===(t=b.current)||void 0===t||t.call(b,e),null===(n=(r=O.value.core).onStateChange)||void 0===n||n.call(r,e)},shouldPanelOpen:y.current.shouldPanelOpen||function(e){var t=e.state;if(_.value)return!0;var n=g(t)>0;if(!O.value.core.openOnFocus&&!t.query)return n;var r=Boolean(h.current||O.value.renderer.renderNoResults);return!n&&r||n},__autocomplete_metadata:{userAgents:Sn,options:e}}))})),j=p(n({collections:[],completion:null,context:{},isOpen:!1,query:"",activeItemId:null,status:"idle"},O.value.core.initialState)),w={getEnvironmentProps:O.value.renderer.getEnvironmentProps,getFormProps:O.value.renderer.getFormProps,getInputProps:O.value.renderer.getInputProps,getItemProps:O.value.renderer.getItemProps,getLabelProps:O.value.renderer.getLabelProps,getListProps:O.value.renderer.getListProps,getPanelProps:O.value.renderer.getPanelProps,getRootProps:O.value.renderer.getRootProps},S={setActiveItemId:P.value.setActiveItemId,setQuery:P.value.setQuery,setCollections:P.value.setCollections,setIsOpen:P.value.setIsOpen,setStatus:P.value.setStatus,setContext:P.value.setContext,refresh:P.value.refresh},I=d((function(){return Ve.bind(O.value.renderer.renderer.createElement)})),E=d((function(){return ct({autocomplete:P.value,autocompleteScopeApi:S,classNames:O.value.renderer.classNames,environment:O.value.core.environment,isDetached:_.value,placeholder:O.value.core.placeholder,propGetters:w,setIsModalOpen:k,state:j.current,translations:O.value.renderer.translations})}));function A(){tt(E.value.panel,{style:_.value?{}:wn({panelPlacement:O.value.renderer.panelPlacement,container:E.value.root,form:E.value.form,environment:O.value.core.environment})})}function C(e){j.current=e;var t={autocomplete:P.value,autocompleteScopeApi:S,classNames:O.value.renderer.classNames,components:O.value.renderer.components,container:O.value.renderer.container,html:I.value,dom:E.value,panelContainer:_.value?E.value.detachedContainer:O.value.renderer.panelContainer,propGetters:w,state:j.current,renderer:O.value.renderer.renderer},r=!g(e)&&!h.current&&O.value.renderer.renderNoResults||O.value.renderer.render;!function(e){var t=e.autocomplete,r=e.autocompleteScopeApi,o=e.dom,i=e.propGetters,u=e.state;nt(o.root,i.getRootProps(n({state:u,props:t.getRootProps({})},r))),nt(o.input,i.getInputProps(n({state:u,props:t.getInputProps({inputElement:o.input}),inputElement:o.input},r))),tt(o.label,{hidden:"stalled"===u.status}),tt(o.loadingIndicator,{hidden:"stalled"!==u.status}),tt(o.clearButton,{hidden:!u.query})}(t),function(e,t){var r=t.autocomplete,o=t.autocompleteScopeApi,u=t.classNames,a=t.html,c=t.dom,l=t.panelContainer,s=t.propGetters,p=t.state,f=t.components,d=t.renderer;if(p.isOpen){l.contains(c.panel)||"loading"===p.status||l.appendChild(c.panel),c.panel.classList.toggle("aa-Panel--stalled","stalled"===p.status);var m=p.collections.filter((function(e){var t=e.source,n=e.items;return t.templates.noResults||n.length>0})).map((function(e,t){var c=e.source,l=e.items;return d.createElement("section",{key:t,className:u.source,"data-autocomplete-source-id":c.sourceId},c.templates.header&&d.createElement("div",{className:u.sourceHeader},c.templates.header({components:f,createElement:d.createElement,Fragment:d.Fragment,items:l,source:c,state:p,html:a})),c.templates.noResults&&0===l.length?d.createElement("div",{className:u.sourceNoResults},c.templates.noResults({components:f,createElement:d.createElement,Fragment:d.Fragment,source:c,state:p,html:a})):d.createElement("ul",i({className:u.list},s.getListProps(n({state:p,props:r.getListProps({})},o))),l.map((function(e){var t=r.getItemProps({item:e,source:c});return d.createElement("li",i({key:t.id,className:u.item},s.getItemProps(n({state:p,props:t},o))),c.templates.item({components:f,createElement:d.createElement,Fragment:d.Fragment,item:e,state:p,html:a}))}))),c.templates.footer&&d.createElement("div",{className:u.sourceFooter},c.templates.footer({components:f,createElement:d.createElement,Fragment:d.Fragment,items:l,source:c,state:p,html:a})))})),v=d.createElement(d.Fragment,null,d.createElement("div",{className:u.panelLayout},m),d.createElement("div",{className:"aa-GradientBottom"})),h=m.reduce((function(e,t){return e[t.props["data-autocomplete-source-id"]]=t,e}),{});e(n(n({children:v,state:p,sections:m,elements:h},d),{},{components:f,html:a},o),c.panel)}else l.contains(c.panel)&&l.removeChild(c.panel)}(r,t)}function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c();var t=O.value.renderer,n=t.components,r=u(t,In);y.current=Ge(r,O.value.core,{components:Ke(n,(function(e){return!e.value.hasOwnProperty("__autocomplete_componentName")})),initialState:j.current},e),m(),l(),P.value.refresh().then((function(){C(j.current)}))}function k(e){requestAnimationFrame((function(){var t=O.value.core.environment.document.body.contains(E.value.detachedOverlay);e!==t&&(e?(O.value.core.environment.document.body.appendChild(E.value.detachedOverlay),O.value.core.environment.document.body.classList.add("aa-Detached"),E.value.input.focus()):(O.value.core.environment.document.body.removeChild(E.value.detachedOverlay),O.value.core.environment.document.body.classList.remove("aa-Detached"),P.value.setQuery(""),P.value.refresh()))}))}return a((function(){var e=P.value.getEnvironmentProps({formElement:E.value.form,panelElement:E.value.panel,inputElement:E.value.input});return tt(O.value.core.environment,e),function(){tt(O.value.core.environment,Object.keys(e).reduce((function(e,t){return n(n({},e),{},o({},t,void 0))}),{}))}})),a((function(){var e=_.value?O.value.core.environment.document.body:O.value.renderer.panelContainer,t=_.value?E.value.detachedOverlay:E.value.panel;return _.value&&j.current.isOpen&&k(!0),C(j.current),function(){e.contains(t)&&e.removeChild(t)}})),a((function(){var e=O.value.renderer.container;return e.appendChild(E.value.root),function(){e.removeChild(E.value.root)}})),a((function(){var e=f((function(e){C(e.state)}),0);return b.current=function(t){var n=t.state,r=t.prevState;(_.value&&r.isOpen!==n.isOpen&&k(n.isOpen),_.value||!n.isOpen||r.isOpen||A(),n.query!==r.query)&&O.value.core.environment.document.querySelectorAll(".aa-Panel--scrollable").forEach((function(e){0!==e.scrollTop&&(e.scrollTop=0)}));e({state:n})},function(){b.current=void 0}})),a((function(){var e=f((function(){var e=_.value;_.value=O.value.core.environment.matchMedia(O.value.renderer.detachedMediaQuery).matches,e!==_.value?D({}):requestAnimationFrame(A)}),20);return O.value.core.environment.addEventListener("resize",e),function(){O.value.core.environment.removeEventListener("resize",e)}})),a((function(){if(!_.value)return function(){};function e(e){E.value.detachedContainer.classList.toggle("aa-DetachedContainer--modal",e)}function t(t){e(t.matches)}var n=O.value.core.environment.matchMedia(getComputedStyle(O.value.core.environment.document.documentElement).getPropertyValue("--aa-detached-modal-media-query"));e(n.matches);var r=Boolean(n.addEventListener);return r?n.addEventListener("change",t):n.addListener(t),function(){r?n.removeEventListener("change",t):n.removeListener(t)}})),a((function(){return requestAnimationFrame(A),function(){}})),n(n({},S),{},{update:D,destroy:function(){c()}})},e.getAlgoliaFacets=function(e){var t=En({transformResponse:function(e){return e.facetHits}}),r=e.queries.map((function(e){return n(n({},e),{},{type:"facet"})}));return t(n(n({},e),{},{queries:r}))},e.getAlgoliaResults=An,Object.defineProperty(e,"__esModule",{value:!0})}));
123456789/** * Fuse.js v6.6.2 - Lightweight fuzzy-search (http://fusejs.io) * * Copyright (c) 2022 Kiro Risk (http://kiro.me) * All Rights Reserved. Apache Software License 2.0 * * http://www.apache.org/licenses/LICENSE-2.0 */var e,t;e=this,t=function(){"use strict";function e(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 t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&u(e,t)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function h(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function f(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e){return Array.isArray?Array.isArray(e):"[object Array]"===b(e)}function g(e){return"string"==typeof e}function y(e){return"number"==typeof e}function p(e){return!0===e||!1===e||function(e){return m(e)&&null!==e}(e)&&"[object Boolean]"==b(e)}function m(e){return"object"===n(e)}function k(e){return null!=e}function M(e){return!e.trim().length}function b(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var x=function(e){return"Invalid value for key ".concat(e)},w=function(e){return"Pattern length exceeds max of ".concat(e,".")},L=Object.prototype.hasOwnProperty,S=function(){function e(t){var n=this;r(this,e),this._keys=[],this._keyMap={};var i=0;t.forEach((function(e){var t=_(e);i+=t.weight,n._keys.push(t),n._keyMap[t.id]=t,i+=t.weight})),this._keys.forEach((function(e){e.weight/=i}))}return o(e,[{key:"get",value:function(e){return this._keyMap[e]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),e}();function _(e){var t=null,n=null,r=null,i=1,o=null;if(g(e)||v(e))r=e,t=O(e),n=j(e);else{if(!L.call(e,"name"))throw new Error(function(e){return"Missing ".concat(e," property in key")}("name"));var c=e.name;if(r=c,L.call(e,"weight")&&(i=e.weight)<=0)throw new Error(function(e){return"Property 'weight' in key '".concat(e,"' must be a positive integer")}(c));t=O(c),n=j(c),o=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:o}}function O(e){return v(e)?e:e.split(".")}function j(e){return v(e)?e.join("."):e}var A={useExtendedSearch:!1,getFn:function(e,t){var n=[],r=!1;return function e(t,i,o){if(k(t))if(i[o]){var c=t[i[o]];if(!k(c))return;if(o===i.length-1&&(g(c)||y(c)||p(c)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(c));else if(v(c)){r=!0;for(var a=0,s=c.length;a<s;a+=1)e(c[a],i,o+1)}else i.length&&e(c,i,o+1)}else n.push(t)}(e,g(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},I=t(t(t(t({},{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(e,t){return e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1}}),{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1}),{location:0,threshold:.6,distance:100}),A),C=/[^ ]+/g;function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=new Map,r=Math.pow(10,t);return{get:function(t){var i=t.match(C).length;if(n.has(i))return n.get(i);var o=1/Math.pow(i,.5*e),c=parseFloat(Math.round(o*r)/r);return n.set(i,c),c},clear:function(){n.clear()}}}var $=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,i=void 0===n?I.getFn:n,o=t.fieldNormWeight,c=void 0===o?I.fieldNormWeight:o;r(this,e),this.norm=E(c,3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}return o(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,g(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();g(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}},{key:"getValueForItemAtKeyId",value:function(e,t){return e[this._keysMap[t]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(e,t){if(k(e)&&!M(e)){var n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}}},{key:"_addObject",value:function(e,t){var n=this,r={i:t,$:{}};this.keys.forEach((function(t,i){var o=t.getFn?t.getFn(e):n.getFn(e,t.path);if(k(o))if(v(o))!function(){for(var e=[],t=[{nestedArrIndex:-1,value:o}];t.length;){var c=t.pop(),a=c.nestedArrIndex,s=c.value;if(k(s))if(g(s)&&!M(s)){var u={v:s,i:a,n:n.norm.get(s)};e.push(u)}else v(s)&&s.forEach((function(e,n){t.push({nestedArrIndex:n,value:e})}))}r.$[i]=e}();else if(g(o)&&!M(o)){var c={v:o,n:n.norm.get(o)};r.$[i]=c}})),this.records.push(r)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),e}();function F(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?I.getFn:r,o=n.fieldNormWeight,c=void 0===o?I.fieldNormWeight:o,a=new $({getFn:i,fieldNormWeight:c});return a.setKeys(e.map(_)),a.setSources(t),a.create(),a}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,c=t.expectedLocation,a=void 0===c?0:c,s=t.distance,u=void 0===s?I.distance:s,h=t.ignoreLocation,l=void 0===h?I.ignoreLocation:h,f=r/e.length;if(l)return f;var d=Math.abs(a-o);return u?f+d/u:d?1:f}function N(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.minMatchCharLength,n=[],r=-1,i=-1,o=0,c=e.length;o<c;o+=1){var a=e[o];a&&-1===r?r=o:a||-1===r||((i=o-1)-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}var P=32;function W(e){for(var t={},n=0,r=e.length;n<r;n+=1){var i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}var T=function(){function e(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,c=void 0===o?I.location:o,a=i.threshold,s=void 0===a?I.threshold:a,u=i.distance,h=void 0===u?I.distance:u,l=i.includeMatches,f=void 0===l?I.includeMatches:l,d=i.findAllMatches,v=void 0===d?I.findAllMatches:d,g=i.minMatchCharLength,y=void 0===g?I.minMatchCharLength:g,p=i.isCaseSensitive,m=void 0===p?I.isCaseSensitive:p,k=i.ignoreLocation,M=void 0===k?I.ignoreLocation:k;if(r(this,e),this.options={location:c,threshold:s,distance:h,includeMatches:f,findAllMatches:v,minMatchCharLength:y,isCaseSensitive:m,ignoreLocation:M},this.pattern=m?t:t.toLowerCase(),this.chunks=[],this.pattern.length){var b=function(e,t){n.chunks.push({pattern:e,alphabet:W(e),startIndex:t})},x=this.pattern.length;if(x>P){for(var w=0,L=x%P,S=x-L;w<S;)b(this.pattern.substr(w,P),w),w+=P;if(L){var _=x-P;b(this.pattern.substr(_),_)}}else b(this.pattern,0)}}return o(e,[{key:"searchIn",value:function(e){var t=this.options,n=t.isCaseSensitive,r=t.includeMatches;if(n||(e=e.toLowerCase()),this.pattern===e){var i={isMatch:!0,score:0};return r&&(i.indices=[[0,e.length-1]]),i}var o=this.options,c=o.location,a=o.distance,s=o.threshold,u=o.findAllMatches,h=o.minMatchCharLength,l=o.ignoreLocation,d=[],v=0,g=!1;this.chunks.forEach((function(t){var n=t.pattern,i=t.alphabet,o=t.startIndex,y=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?I.location:i,c=r.distance,a=void 0===c?I.distance:c,s=r.threshold,u=void 0===s?I.threshold:s,h=r.findAllMatches,l=void 0===h?I.findAllMatches:h,f=r.minMatchCharLength,d=void 0===f?I.minMatchCharLength:f,v=r.includeMatches,g=void 0===v?I.includeMatches:v,y=r.ignoreLocation,p=void 0===y?I.ignoreLocation:y;if(t.length>P)throw new Error(w(P));for(var m,k=t.length,M=e.length,b=Math.max(0,Math.min(o,M)),x=u,L=b,S=d>1||g,_=S?Array(M):[];(m=e.indexOf(t,L))>-1;){var O=R(t,{currentLocation:m,expectedLocation:b,distance:a,ignoreLocation:p});if(x=Math.min(O,x),L=m+k,S)for(var j=0;j<k;)_[m+j]=1,j+=1}L=-1;for(var A=[],C=1,E=k+M,$=1<<k-1,F=0;F<k;F+=1){for(var W=0,T=E;W<T;)R(t,{errors:F,currentLocation:b+T,expectedLocation:b,distance:a,ignoreLocation:p})<=x?W=T:E=T,T=Math.floor((E-W)/2+W);E=T;var z=Math.max(1,b-T+1),D=l?M:Math.min(b+T,M)+k,K=Array(D+2);K[D+1]=(1<<F)-1;for(var q=D;q>=z;q-=1){var B=q-1,J=n[e.charAt(B)];if(S&&(_[B]=+!!J),K[q]=(K[q+1]<<1|1)&J,F&&(K[q]|=(A[q+1]|A[q])<<1|1|A[q+1]),K[q]&$&&(C=R(t,{errors:F,currentLocation:B,expectedLocation:b,distance:a,ignoreLocation:p}))<=x){if(x=C,(L=B)<=b)break;z=Math.max(1,2*b-L)}}if(R(t,{errors:F+1,currentLocation:b,expectedLocation:b,distance:a,ignoreLocation:p})>x)break;A=K}var U={isMatch:L>=0,score:Math.max(.001,C)};if(S){var V=N(_,d);V.length?g&&(U.indices=V):U.isMatch=!1}return U}(e,n,i,{location:c+o,distance:a,threshold:s,findAllMatches:u,minMatchCharLength:h,includeMatches:r,ignoreLocation:l}),p=y.isMatch,m=y.score,k=y.indices;p&&(g=!0),v+=m,p&&k&&(d=[].concat(f(d),f(k)))}));var y={isMatch:g,score:g?v/this.chunks.length:1};return g&&r&&(y.indices=d),y}}]),e}(),z=function(){function e(t){r(this,e),this.pattern=t}return o(e,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return D(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return D(e,this.singleRegex)}}]),e}();function D(e,t){var n=e.match(t);return n?n[1]:null}var K=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),n}(z),q=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),n}(z),B=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),n}(z),J=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),n}(z),U=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),n}(z),V=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),n}(z),G=function(e){a(n,e);var t=l(n);function n(e){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=o.location,a=void 0===c?I.location:c,s=o.threshold,u=void 0===s?I.threshold:s,h=o.distance,l=void 0===h?I.distance:h,f=o.includeMatches,d=void 0===f?I.includeMatches:f,v=o.findAllMatches,g=void 0===v?I.findAllMatches:v,y=o.minMatchCharLength,p=void 0===y?I.minMatchCharLength:y,m=o.isCaseSensitive,k=void 0===m?I.isCaseSensitive:m,M=o.ignoreLocation,b=void 0===M?I.ignoreLocation:M;return r(this,n),(i=t.call(this,e))._bitapSearch=new T(e,{location:a,threshold:u,distance:l,includeMatches:d,findAllMatches:g,minMatchCharLength:p,isCaseSensitive:k,ignoreLocation:b}),i}return o(n,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n}(z),H=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){for(var t,n=0,r=[],i=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);var o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n}(z),Q=[K,H,B,J,V,U,q,G],X=Q.length,Y=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(Y).filter((function(e){return e&&!!e.trim()})),r=[],i=0,o=n.length;i<o;i+=1){for(var c=n[i],a=!1,s=-1;!a&&++s<X;){var u=Q[s],h=u.isMultiMatch(c);h&&(r.push(new u(h,t)),a=!0)}if(!a)for(s=-1;++s<X;){var l=Q[s],f=l.isSingleMatch(c);if(f){r.push(new l(f,t));break}}}return r}))}var ee=new Set([G.type,H.type]),te=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.isCaseSensitive,o=void 0===i?I.isCaseSensitive:i,c=n.includeMatches,a=void 0===c?I.includeMatches:c,s=n.minMatchCharLength,u=void 0===s?I.minMatchCharLength:s,h=n.ignoreLocation,l=void 0===h?I.ignoreLocation:h,f=n.findAllMatches,d=void 0===f?I.findAllMatches:f,v=n.location,g=void 0===v?I.location:v,y=n.threshold,p=void 0===y?I.threshold:y,m=n.distance,k=void 0===m?I.distance:m;r(this,e),this.query=null,this.options={isCaseSensitive:o,includeMatches:a,minMatchCharLength:u,findAllMatches:d,ignoreLocation:l,location:g,threshold:p,distance:k},this.pattern=o?t:t.toLowerCase(),this.query=Z(this.pattern,this.options)}return o(e,[{key:"searchIn",value:function(e){var t=this.query;if(!t)return{isMatch:!1,score:1};var n=this.options,r=n.includeMatches;e=n.isCaseSensitive?e:e.toLowerCase();for(var i=0,o=[],c=0,a=0,s=t.length;a<s;a+=1){var u=t[a];o.length=0,i=0;for(var h=0,l=u.length;h<l;h+=1){var d=u[h],v=d.search(e),g=v.isMatch,y=v.indices,p=v.score;if(!g){c=0,i=0,o.length=0;break}if(i+=1,c+=p,r){var m=d.constructor.type;ee.has(m)?o=[].concat(f(o),f(y)):o.push(y)}}if(i){var k={isMatch:!0,score:c/i};return r&&(k.indices=o),k}}return{isMatch:!1,score:1}}}],[{key:"condition",value:function(e,t){return t.useExtendedSearch}}]),e}(),ne=[];function re(e,t){for(var n=0,r=ne.length;n<r;n+=1){var i=ne[n];if(i.condition(e,t))return new i(e,t)}return new T(e,t)}var ie="$and",oe="$or",ce="$path",ae="$val",se=function(e){return!(!e[ie]&&!e[oe])},ue=function(e){return!!e[ce]},he=function(e){return!v(e)&&m(e)&&!se(e)},le=function(e){return c({},ie,Object.keys(e).map((function(t){return c({},t,e[t])})))};function fe(e,t){var n=t.ignoreFieldNorm,r=void 0===n?I.ignoreFieldNorm:n;e.forEach((function(e){var t=1;e.matches.forEach((function(e){var n=e.key,i=e.norm,o=e.score,c=n?n.weight:null;t*=Math.pow(0===o&&c?Number.EPSILON:o,(c||1)*(r?1:i))})),e.score=t}))}function de(e,t){var n=e.matches;t.matches=[],k(n)&&n.forEach((function(e){if(k(e.indices)&&e.indices.length){var n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function ve(e,t){t.score=e.score}function ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?I.includeMatches:r,o=n.includeScore,c=void 0===o?I.includeScore:o,a=[];return i&&a.push(de),c&&a.push(ve),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return a.length&&a.forEach((function(t){t(e,r)})),r}))}var ye=function(){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;r(this,e),this.options=t(t({},I),i),this.options.useExtendedSearch,this._keyStore=new S(this.options.keys),this.setCollection(n,o)}return o(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof $))throw new Error("Incorrect 'index' type");this._myIndex=t||F(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){k(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n<r;n+=1){var i=this._docs[n];e(i,n)&&(this.removeAt(n),n-=1,r-=1,t.push(i))}return t}},{key:"removeAt",value:function(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?-1:n,i=this.options,o=i.includeMatches,c=i.includeScore,a=i.shouldSort,s=i.sortFn,u=i.ignoreFieldNorm,h=g(e)?g(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return fe(h,{ignoreFieldNorm:u}),a&&h.sort(s),y(r)&&r>-1&&(h=h.slice(0,r)),ge(h,this._docs,{includeMatches:o,includeScore:c})}},{key:"_searchStringList",value:function(e){var t=re(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,i=e.i,o=e.n;if(k(n)){var c=t.searchIn(n),a=c.isMatch,s=c.score,u=c.indices;a&&r.push({item:n,idx:i,matches:[{score:s,value:n,norm:o,indices:u}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).auto,r=void 0===n||n,i=function e(n){var i=Object.keys(n),o=ue(n);if(!o&&i.length>1&&!se(n))return e(le(n));if(he(n)){var c=o?n[ce]:i[0],a=o?n[ae]:n[c];if(!g(a))throw new Error(x(c));var s={keyId:j(c),pattern:a};return r&&(s.searcher=re(a,t)),s}var u={children:[],operator:i[0]};return i.forEach((function(t){var r=n[t];v(r)&&r.forEach((function(t){u.children.push(e(t))}))})),u};return se(e)||(e=le(e)),i(e)}(e,this.options),r=function e(n,r,i){if(!n.children){var o=n.keyId,c=n.searcher,a=t._findMatches({key:t._keyStore.get(o),value:t._myIndex.getValueForItemAtKeyId(r,o),searcher:c});return a&&a.length?[{idx:i,item:r,matches:a}]:[]}for(var s=[],u=0,h=n.children.length;u<h;u+=1){var l=e(n.children[u],r,i);if(l.length)s.push.apply(s,f(l));else if(n.operator===ie)return[]}return s},i=this._myIndex.records,o={},c=[];return i.forEach((function(e){var t=e.$,i=e.i;if(k(t)){var a=r(n,t,i);a.length&&(o[i]||(o[i]={idx:i,item:t,matches:[]},c.push(o[i])),a.forEach((function(e){var t,n=e.matches;(t=o[i].matches).push.apply(t,f(n))})))}})),c}},{key:"_searchObjectList",value:function(e){var t=this,n=re(e,this.options),r=this._myIndex,i=r.keys,o=r.records,c=[];return o.forEach((function(e){var r=e.$,o=e.i;if(k(r)){var a=[];i.forEach((function(e,i){a.push.apply(a,f(t._findMatches({key:e,value:r[i],searcher:n})))})),a.length&&c.push({idx:o,item:r,matches:a})}})),c}},{key:"_findMatches",value:function(e){var t=e.key,n=e.value,r=e.searcher;if(!k(n))return[];var i=[];if(v(n))n.forEach((function(e){var n=e.v,o=e.i,c=e.n;if(k(n)){var a=r.searchIn(n),s=a.isMatch,u=a.score,h=a.indices;s&&i.push({score:u,key:t,value:n,idx:o,norm:c,indices:h})}}));else{var o=n.v,c=n.n,a=r.searchIn(o),s=a.isMatch,u=a.score,h=a.indices;s&&i.push({score:u,key:t,value:o,norm:c,indices:h})}return i}}]),e}();return ye.version="6.6.2",ye.createIndex=F,ye.parseIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?I.getFn:n,i=t.fieldNormWeight,o=void 0===i?I.fieldNormWeight:i,c=e.keys,a=e.records,s=new $({getFn:r,fieldNormWeight:o});return s.setKeys(c),s.setIndexRecords(a),s},ye.config=I,function(){ne.push.apply(ne,arguments)}(te),ye},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Fuse=t();123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140const kQueryArg = "q";const kResultsArg = "show-results";
// If items don't provide a URL, then both the navigator and the onSelect// function aren't called (and therefore, the default implementation is used)//// We're using this sentinel URL to signal to those handlers that this// item is a more item (along with the type) and can be handled appropriatelyconst kItemTypeMoreHref = "0767FDFD-0422-4E5A-BC8A-3BE11E5BBA05";
window.document.addEventListener("DOMContentLoaded", function (_event) { // Ensure that search is available on this page. If it isn't, // should return early and not do anything var searchEl = window.document.getElementById("quarto-search"); if (!searchEl) return;
const { autocomplete } = window["@algolia/autocomplete-js"];
let quartoSearchOptions = {}; let language = {}; const searchOptionEl = window.document.getElementById( "quarto-search-options" ); if (searchOptionEl) { const jsonStr = searchOptionEl.textContent; quartoSearchOptions = JSON.parse(jsonStr); language = quartoSearchOptions.language; }
// note the search mode if (quartoSearchOptions.type === "overlay") { searchEl.classList.add("type-overlay"); } else { searchEl.classList.add("type-textbox"); }
// Used to determine highlighting behavior for this page // A `q` query param is expected when the user follows a search // to this page const currentUrl = new URL(window.location); const query = currentUrl.searchParams.get(kQueryArg); const showSearchResults = currentUrl.searchParams.get(kResultsArg); const mainEl = window.document.querySelector("main");
// highlight matches on the page if (query !== null && mainEl) { // perform any highlighting highlight(escapeRegExp(query), mainEl);
// fix up the URL to remove the q query param const replacementUrl = new URL(window.location); replacementUrl.searchParams.delete(kQueryArg); window.history.replaceState({}, "", replacementUrl); }
// function to clear highlighting on the page when the search query changes // (e.g. if the user edits the query or clears it) let highlighting = true; const resetHighlighting = (searchTerm) => { if (mainEl && highlighting && query !== null && searchTerm !== query) { clearHighlight(query, mainEl); highlighting = false; } };
// Clear search highlighting when the user scrolls sufficiently const resetFn = () => { resetHighlighting(""); window.removeEventListener("quarto-hrChanged", resetFn); window.removeEventListener("quarto-sectionChanged", resetFn); };
// Register this event after the initial scrolling and settling of events // on the page window.addEventListener("quarto-hrChanged", resetFn); window.addEventListener("quarto-sectionChanged", resetFn);
// Responsively switch to overlay mode if the search is present on the navbar // Note that switching the sidebar to overlay mode requires more coordinate (not just // the media query since we generate different HTML for sidebar overlays than we do // for sidebar input UI) const detachedMediaQuery = quartoSearchOptions.type === "overlay" ? "all" : "(max-width: 991px)";
// If configured, include the analytics client to send insights const plugins = configurePlugins(quartoSearchOptions);
let lastState = null; const { setIsOpen, setQuery, setCollections } = autocomplete({ container: searchEl, detachedMediaQuery: detachedMediaQuery, defaultActiveItemId: 0, panelContainer: "#quarto-search-results", panelPlacement: quartoSearchOptions["panel-placement"], debug: false, openOnFocus: true, plugins, classNames: { form: "d-flex", }, translations: { clearButtonTitle: language["search-clear-button-title"], detachedCancelButtonText: language["search-detached-cancel-button-title"], submitButtonTitle: language["search-submit-button-title"], }, initialState: { query, }, getItemUrl({ item }) { return item.href; }, onStateChange({ state }) { // Perhaps reset highlighting resetHighlighting(state.query);
// If the panel just opened, ensure the panel is positioned properly if (state.isOpen) { if (lastState && !lastState.isOpen) { setTimeout(() => { positionPanel(quartoSearchOptions["panel-placement"]); }, 150); } }
// Perhaps show the copy link showCopyLink(state.query, quartoSearchOptions);
lastState = state; }, reshape({ sources, state }) { return sources.map((source) => { try { const items = source.getItems();
// Validate the items validateItems(items);
// group the items by document const groupedItems = new Map(); items.forEach((item) => { const hrefParts = item.href.split("#"); const baseHref = hrefParts[0]; const isDocumentItem = hrefParts.length === 1;
const items = groupedItems.get(baseHref); if (!items) { groupedItems.set(baseHref, [item]); } else { // If the href for this item matches the document // exactly, place this item first as it is the item that represents // the document itself if (isDocumentItem) { items.unshift(item); } else { items.push(item); } groupedItems.set(baseHref, items); } });
const reshapedItems = []; let count = 1; for (const [_key, value] of groupedItems) { const firstItem = value[0]; reshapedItems.push({ ...firstItem, type: kItemTypeDoc, });
const collapseMatches = quartoSearchOptions["collapse-after"]; const collapseCount = typeof collapseMatches === "number" ? collapseMatches : 1;
if (value.length > 1) { const target = `search-more-${count}`; const isExpanded = state.context.expanded && state.context.expanded.includes(target);
const remainingCount = value.length - collapseCount;
for (let i = 1; i < value.length; i++) { if (collapseMatches && i === collapseCount) { reshapedItems.push({ target, title: isExpanded ? language["search-hide-matches-text"] : remainingCount === 1 ? `${remainingCount} ${language["search-more-match-text"]}` : `${remainingCount} ${language["search-more-matches-text"]}`, type: kItemTypeMore, href: kItemTypeMoreHref, }); }
if (isExpanded || !collapseMatches || i < collapseCount) { reshapedItems.push({ ...value[i], type: kItemTypeItem, target, }); } } } count += 1; }
return { ...source, getItems() { return reshapedItems; }, }; } catch (error) { // Some form of error occurred return { ...source, getItems() { return [ { title: error.name || "An Error Occurred While Searching", text: error.message || "An unknown error occurred while attempting to perform the requested search.", type: kItemTypeError, }, ]; }, }; } }); }, navigator: { navigate({ itemUrl }) { if (itemUrl !== offsetURL(kItemTypeMoreHref)) { window.location.assign(itemUrl); } }, navigateNewTab({ itemUrl }) { if (itemUrl !== offsetURL(kItemTypeMoreHref)) { const windowReference = window.open(itemUrl, "_blank", "noopener"); if (windowReference) { windowReference.focus(); } } }, navigateNewWindow({ itemUrl }) { if (itemUrl !== offsetURL(kItemTypeMoreHref)) { window.open(itemUrl, "_blank", "noopener"); } }, }, getSources({ state, setContext, setActiveItemId, refresh }) { return [ { sourceId: "documents", getItemUrl({ item }) { if (item.href) { return offsetURL(item.href); } else { return undefined; } }, onSelect({ item, state, setContext, setIsOpen, setActiveItemId, refresh, }) { if (item.type === kItemTypeMore) { toggleExpanded(item, state, setContext, setActiveItemId, refresh);
// Toggle more setIsOpen(true); } }, getItems({ query }) { if (query === null || query === "") { return []; }
const limit = quartoSearchOptions.limit; if (quartoSearchOptions.algolia) { return algoliaSearch(query, limit, quartoSearchOptions.algolia); } else { // Fuse search options const fuseSearchOptions = { isCaseSensitive: false, shouldSort: true, minMatchCharLength: 2, limit: limit, };
return readSearchData().then(function (fuse) { return fuseSearch(query, fuse, fuseSearchOptions); }); } }, templates: { noResults({ createElement }) { const hasQuery = lastState.query;
return createElement( "div", { class: `quarto-search-no-results${ hasQuery ? "" : " no-query" }`, }, language["search-no-results-text"] ); }, header({ items, createElement }) { // count the documents const count = items.filter((item) => { return item.type === kItemTypeDoc; }).length;
if (count > 0) { return createElement( "div", { class: "search-result-header" }, `${count} ${language["search-matching-documents-text"]}` ); } else { return createElement( "div", { class: "search-result-header-no-results" }, `` ); } }, footer({ _items, createElement }) { if ( quartoSearchOptions.algolia && quartoSearchOptions.algolia["show-logo"] ) { const libDir = quartoSearchOptions.algolia["libDir"]; const logo = createElement("img", { src: offsetURL( `${libDir}/quarto-search/search-by-algolia.svg` ), class: "algolia-search-logo", }); return createElement( "a", { href: "http://www.algolia.com/" }, logo ); } },
item({ item, createElement }) { return renderItem( item, createElement, state, setActiveItemId, setContext, refresh ); }, }, }, ]; }, });
window.quartoOpenSearch = () => { setIsOpen(false); setIsOpen(true); focusSearchInput(); };
// Remove the labeleledby attribute since it is pointing // to a non-existent label if (quartoSearchOptions.type === "overlay") { const inputEl = window.document.querySelector( "#quarto-search .aa-Autocomplete" ); if (inputEl) { inputEl.removeAttribute("aria-labelledby"); } }
// If the main document scrolls dismiss the search results // (otherwise, since they're floating in the document they can scroll with the document) window.document.body.onscroll = () => { setIsOpen(false); };
if (showSearchResults) { setIsOpen(true); focusSearchInput(); }});
function configurePlugins(quartoSearchOptions) { const autocompletePlugins = []; const algoliaOptions = quartoSearchOptions.algolia; if ( algoliaOptions && algoliaOptions["analytics-events"] && algoliaOptions["search-only-api-key"] && algoliaOptions["application-id"] ) { const apiKey = algoliaOptions["search-only-api-key"]; const appId = algoliaOptions["application-id"];
// Aloglia insights may not be loaded because they require cookie consent // Use deferred loading so events will start being recorded when/if consent // is granted. const algoliaInsightsDeferredPlugin = deferredLoadPlugin(() => { if ( window.aa && window["@algolia/autocomplete-plugin-algolia-insights"] ) { window.aa("init", { appId, apiKey, useCookie: true, });
const { createAlgoliaInsightsPlugin } = window["@algolia/autocomplete-plugin-algolia-insights"]; // Register the insights client const algoliaInsightsPlugin = createAlgoliaInsightsPlugin({ insightsClient: window.aa, onItemsChange({ insights, insightsEvents }) { const events = insightsEvents.map((event) => { const maxEvents = event.objectIDs.slice(0, 20); return { ...event, objectIDs: maxEvents, }; });
insights.viewedObjectIDs(...events); }, }); return algoliaInsightsPlugin; } });
// Add the plugin autocompletePlugins.push(algoliaInsightsDeferredPlugin); return autocompletePlugins; }}
// For plugins that may not load immediately, create a wrapper// plugin and forward events and plugin data once the plugin// is initialized. This is useful for cases like cookie consent// which may prevent the analytics insights event plugin from initializing// immediately.function deferredLoadPlugin(createPlugin) { let plugin = undefined; let subscribeObj = undefined; const wrappedPlugin = () => { if (!plugin && subscribeObj) { plugin = createPlugin(); if (plugin && plugin.subscribe) { plugin.subscribe(subscribeObj); } } return plugin; };
return { subscribe: (obj) => { subscribeObj = obj; }, onStateChange: (obj) => { const plugin = wrappedPlugin(); if (plugin && plugin.onStateChange) { plugin.onStateChange(obj); } }, onSubmit: (obj) => { const plugin = wrappedPlugin(); if (plugin && plugin.onSubmit) { plugin.onSubmit(obj); } }, onReset: (obj) => { const plugin = wrappedPlugin(); if (plugin && plugin.onReset) { plugin.onReset(obj); } }, getSources: (obj) => { const plugin = wrappedPlugin(); if (plugin && plugin.getSources) { return plugin.getSources(obj); } else { return Promise.resolve([]); } }, data: (obj) => { const plugin = wrappedPlugin(); if (plugin && plugin.data) { plugin.data(obj); } }, };}
function validateItems(items) { // Validate the first item if (items.length > 0) { const item = items[0]; const missingFields = []; if (item.href == undefined) { missingFields.push("href"); } if (!item.title == undefined) { missingFields.push("title"); } if (!item.text == undefined) { missingFields.push("text"); }
if (missingFields.length === 1) { throw { name: `Error: Search index is missing the <code>${missingFields[0]}</code> field.`, message: `The items being returned for this search do not include all the required fields. Please ensure that your index items include the <code>${missingFields[0]}</code> field or use <code>index-fields</code> in your <code>_quarto.yml</code> file to specify the field names.`, }; } else if (missingFields.length > 1) { const missingFieldList = missingFields .map((field) => { return `<code>${field}</code>`; }) .join(", ");
throw { name: `Error: Search index is missing the following fields: ${missingFieldList}.`, message: `The items being returned for this search do not include all the required fields. Please ensure that your index items includes the following fields: ${missingFieldList}, or use <code>index-fields</code> in your <code>_quarto.yml</code> file to specify the field names.`, }; } }}
let lastQuery = null;function showCopyLink(query, options) { const language = options.language; lastQuery = query; // Insert share icon const inputSuffixEl = window.document.body.querySelector( ".aa-Form .aa-InputWrapperSuffix" );
if (inputSuffixEl) { let copyButtonEl = window.document.body.querySelector( ".aa-Form .aa-InputWrapperSuffix .aa-CopyButton" );
if (copyButtonEl === null) { copyButtonEl = window.document.createElement("button"); copyButtonEl.setAttribute("class", "aa-CopyButton"); copyButtonEl.setAttribute("type", "button"); copyButtonEl.setAttribute("title", language["search-copy-link-title"]); copyButtonEl.onmousedown = (e) => { e.preventDefault(); e.stopPropagation(); };
const linkIcon = "bi-clipboard"; const checkIcon = "bi-check2";
const shareIconEl = window.document.createElement("i"); shareIconEl.setAttribute("class", `bi ${linkIcon}`); copyButtonEl.appendChild(shareIconEl); inputSuffixEl.prepend(copyButtonEl);
const clipboard = new window.ClipboardJS(".aa-CopyButton", { text: function (_trigger) { const copyUrl = new URL(window.location); copyUrl.searchParams.set(kQueryArg, lastQuery); copyUrl.searchParams.set(kResultsArg, "1"); return copyUrl.toString(); }, }); clipboard.on("success", function (e) { // Focus the input
// button target const button = e.trigger; const icon = button.querySelector("i.bi");
// flash "checked" icon.classList.add(checkIcon); icon.classList.remove(linkIcon); setTimeout(function () { icon.classList.remove(checkIcon); icon.classList.add(linkIcon); }, 1000); }); }
// If there is a query, show the link icon if (copyButtonEl) { if (lastQuery && options["copy-button"]) { copyButtonEl.style.display = "flex"; } else { copyButtonEl.style.display = "none"; } } }}
/* Search Index Handling */// create the indexvar fuseIndex = undefined;async function readSearchData() { // Initialize the search index on demand if (fuseIndex === undefined) { // create fuse index const options = { keys: [ { name: "title", weight: 20 }, { name: "section", weight: 20 }, { name: "text", weight: 10 }, ], ignoreLocation: true, threshold: 0.1, }; const fuse = new window.Fuse([], options);
// fetch the main search.json const response = await fetch(offsetURL("search.json")); if (response.status == 200) { return response.json().then(function (searchDocs) { searchDocs.forEach(function (searchDoc) { fuse.add(searchDoc); }); fuseIndex = fuse; return fuseIndex; }); } else { return Promise.reject( new Error( "Unexpected status from search index request: " + response.status ) ); } } return fuseIndex;}
function inputElement() { return window.document.body.querySelector(".aa-Form .aa-Input");}
function focusSearchInput() { setTimeout(() => { const inputEl = inputElement(); if (inputEl) { inputEl.focus(); } }, 50);}
/* Panels */const kItemTypeDoc = "document";const kItemTypeMore = "document-more";const kItemTypeItem = "document-item";const kItemTypeError = "error";
function renderItem( item, createElement, state, setActiveItemId, setContext, refresh) { switch (item.type) { case kItemTypeDoc: return createDocumentCard( createElement, "file-richtext", item.title, item.section, item.text, item.href ); case kItemTypeMore: return createMoreCard( createElement, item, state, setActiveItemId, setContext, refresh ); case kItemTypeItem: return createSectionCard( createElement, item.section, item.text, item.href ); case kItemTypeError: return createErrorCard(createElement, item.title, item.text); default: return undefined; }}
function createDocumentCard(createElement, icon, title, section, text, href) { const iconEl = createElement("i", { class: `bi bi-${icon} search-result-icon`, }); const titleEl = createElement("p", { class: "search-result-title" }, title); const titleContainerEl = createElement( "div", { class: "search-result-title-container" }, [iconEl, titleEl] );
const textEls = []; if (section) { const sectionEl = createElement( "p", { class: "search-result-section" }, section ); textEls.push(sectionEl); } const descEl = createElement("p", { class: "search-result-text", dangerouslySetInnerHTML: { __html: text, }, }); textEls.push(descEl);
const textContainerEl = createElement( "div", { class: "search-result-text-container" }, textEls );
const containerEl = createElement( "div", { class: "search-result-container", }, [titleContainerEl, textContainerEl] );
const linkEl = createElement( "a", { href: offsetURL(href), class: "search-result-link", }, containerEl );
const classes = ["search-result-doc", "search-item"]; if (!section) { classes.push("document-selectable"); }
return createElement( "div", { class: classes.join(" "), }, linkEl );}
function createMoreCard( createElement, item, state, setActiveItemId, setContext, refresh) { const moreCardEl = createElement( "div", { class: "search-result-more search-item", onClick: (e) => { // Handle expanding the sections by adding the expanded // section to the list of expanded sections toggleExpanded(item, state, setContext, setActiveItemId, refresh); e.stopPropagation(); }, }, item.title );
return moreCardEl;}
function toggleExpanded(item, state, setContext, setActiveItemId, refresh) { const expanded = state.context.expanded || []; if (expanded.includes(item.target)) { setContext({ expanded: expanded.filter((target) => target !== item.target), }); } else { setContext({ expanded: [...expanded, item.target] }); }
refresh(); setActiveItemId(item.__autocomplete_id);}
function createSectionCard(createElement, section, text, href) { const sectionEl = createSection(createElement, section, text, href); return createElement( "div", { class: "search-result-doc-section search-item", }, sectionEl );}
function createSection(createElement, title, text, href) { const descEl = createElement("p", { class: "search-result-text", dangerouslySetInnerHTML: { __html: text, }, });
const titleEl = createElement("p", { class: "search-result-section" }, title); const linkEl = createElement( "a", { href: offsetURL(href), class: "search-result-link", }, [titleEl, descEl] ); return linkEl;}
function createErrorCard(createElement, title, text) { const descEl = createElement("p", { class: "search-error-text", dangerouslySetInnerHTML: { __html: text, }, });
const titleEl = createElement("p", { class: "search-error-title", dangerouslySetInnerHTML: { __html: `<i class="bi bi-exclamation-circle search-error-icon"></i> ${title}`, }, }); const errorEl = createElement("div", { class: "search-error" }, [ titleEl, descEl, ]); return errorEl;}
function positionPanel(pos) { const panelEl = window.document.querySelector( "#quarto-search-results .aa-Panel" ); const inputEl = window.document.querySelector( "#quarto-search .aa-Autocomplete" );
if (panelEl && inputEl) { panelEl.style.top = `${Math.round(panelEl.offsetTop)}px`; if (pos === "start") { panelEl.style.left = `${Math.round(inputEl.left)}px`; } else { panelEl.style.right = `${Math.round(inputEl.offsetRight)}px`; } }}
/* Highlighting */// highlighting functionsfunction highlightMatch(query, text) { if (text) { const start = text.toLowerCase().indexOf(query.toLowerCase()); if (start !== -1) { const startMark = "<mark class='search-match'>"; const endMark = "</mark>";
const end = start + query.length; text = text.slice(0, start) + startMark + text.slice(start, end) + endMark + text.slice(end); const startInfo = clipStart(text, start); const endInfo = clipEnd( text, startInfo.position + startMark.length + endMark.length ); text = startInfo.prefix + text.slice(startInfo.position, endInfo.position) + endInfo.suffix;
return text; } else { return text; } } else { return text; }}
function clipStart(text, pos) { const clipStart = pos - 50; if (clipStart < 0) { // This will just return the start of the string return { position: 0, prefix: "", }; } else { // We're clipping before the start of the string, walk backwards to the first space. const spacePos = findSpace(text, pos, -1); return { position: spacePos.position, prefix: "", }; }}
function clipEnd(text, pos) { const clipEnd = pos + 200; if (clipEnd > text.length) { return { position: text.length, suffix: "", }; } else { const spacePos = findSpace(text, clipEnd, 1); return { position: spacePos.position, suffix: spacePos.clipped ? "…" : "", }; }}
function findSpace(text, start, step) { let stepPos = start; while (stepPos > -1 && stepPos < text.length) { const char = text[stepPos]; if (char === " " || char === "," || char === ":") { return { position: step === 1 ? stepPos : stepPos - step, clipped: stepPos > 1 && stepPos < text.length, }; } stepPos = stepPos + step; }
return { position: stepPos - step, clipped: false, };}
// removes highlighting as implemented by the mark tagfunction clearHighlight(searchterm, el) { const childNodes = el.childNodes; for (let i = childNodes.length - 1; i >= 0; i--) { const node = childNodes[i]; if (node.nodeType === Node.ELEMENT_NODE) { if ( node.tagName === "MARK" && node.innerText.toLowerCase() === searchterm.toLowerCase() ) { el.replaceChild(document.createTextNode(node.innerText), node); } else { clearHighlight(searchterm, node); } } }}
function escapeRegExp(string) { return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string}
// highlight matchesfunction highlight(term, el) { const termRegex = new RegExp(term, "ig"); const childNodes = el.childNodes;
// walk back to front avoid mutating elements in front of us for (let i = childNodes.length - 1; i >= 0; i--) { const node = childNodes[i];
if (node.nodeType === Node.TEXT_NODE) { // Search text nodes for text to highlight const text = node.nodeValue;
let startIndex = 0; let matchIndex = text.search(termRegex); if (matchIndex > -1) { const markFragment = document.createDocumentFragment(); while (matchIndex > -1) { const prefix = text.slice(startIndex, matchIndex); markFragment.appendChild(document.createTextNode(prefix));
const mark = document.createElement("mark"); mark.appendChild( document.createTextNode( text.slice(matchIndex, matchIndex + term.length) ) ); markFragment.appendChild(mark);
startIndex = matchIndex + term.length; matchIndex = text.slice(startIndex).search(new RegExp(term, "ig")); if (matchIndex > -1) { matchIndex = startIndex + matchIndex; } } if (startIndex < text.length) { markFragment.appendChild( document.createTextNode(text.slice(startIndex, text.length)) ); }
el.replaceChild(markFragment, node); } } else if (node.nodeType === Node.ELEMENT_NODE) { // recurse through elements highlight(term, node); } }}
/* Link Handling */// get the offset from this page for a given site root relative urlfunction offsetURL(url) { var offset = getMeta("quarto:offset"); return offset ? offset + url : url;}
// read a meta tag valuefunction getMeta(metaName) { var metas = window.document.getElementsByTagName("meta"); for (let i = 0; i < metas.length; i++) { if (metas[i].getAttribute("name") === metaName) { return metas[i].getAttribute("content"); } } return "";}
function algoliaSearch(query, limit, algoliaOptions) { const { getAlgoliaResults } = window["@algolia/autocomplete-preset-algolia"];
const applicationId = algoliaOptions["application-id"]; const searchOnlyApiKey = algoliaOptions["search-only-api-key"]; const indexName = algoliaOptions["index-name"]; const indexFields = algoliaOptions["index-fields"]; const searchClient = window.algoliasearch(applicationId, searchOnlyApiKey); const searchParams = algoliaOptions["params"]; const searchAnalytics = !!algoliaOptions["analytics-events"];
return getAlgoliaResults({ searchClient, queries: [ { indexName: indexName, query, params: { hitsPerPage: limit, clickAnalytics: searchAnalytics, ...searchParams, }, }, ], transformResponse: (response) => { if (!indexFields) { return response.hits.map((hit) => { return hit.map((item) => { return { ...item, text: highlightMatch(query, item.text), }; }); }); } else { const remappedHits = response.hits.map((hit) => { return hit.map((item) => { const newItem = { ...item }; ["href", "section", "title", "text"].forEach((keyName) => { const mappedName = indexFields[keyName]; if ( mappedName && item[mappedName] !== undefined && mappedName !== keyName ) { newItem[keyName] = item[mappedName]; delete newItem[mappedName]; } }); newItem.text = highlightMatch(query, newItem.text); return newItem; }); }); return remappedHits; } }, });}
function fuseSearch(query, fuse, fuseOptions) { return fuse.search(query, fuseOptions).map((result) => { const addParam = (url, name, value) => { const anchorParts = url.split("#"); const baseUrl = anchorParts[0]; const sep = baseUrl.search("\\?") > 0 ? "&" : "?"; anchorParts[0] = baseUrl + sep + name + "=" + value; return anchorParts.join("#"); };
return { title: result.item.title, section: result.item.section, href: addParam(result.item.href, kQueryArg, query), text: highlightMatch(query, result.item.text), }; });}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta charset="utf-8"><meta name="generator" content="quarto-1.3.433">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Codewars Using R and RStudio - 2 Summary</title><style>code{white-space: pre-wrap;}span.smallcaps{font-variant: small-caps;}div.columns{display: flex; gap: min(4vw, 1.5em);}div.column{flex: auto; overflow-x: auto;}div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}ul.task-list{list-style: none;}ul.task-list li input[type="checkbox"] { width: 0.8em; margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */ vertical-align: middle;}/* CSS for syntax highlighting */pre > code.sourceCode { white-space: pre; position: relative; }pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }pre > code.sourceCode > span:empty { height: 1.2em; }.sourceCode { overflow: visible; }code.sourceCode > span { color: inherit; text-decoration: inherit; }div.sourceCode { margin: 1em 0; }pre.sourceCode { margin: 0; }@media screen {div.sourceCode { overflow: auto; }}@media print {pre > code.sourceCode { white-space: pre-wrap; }pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }}pre.numberSource code { counter-reset: source-line 0; }pre.numberSource code > span { position: relative; left: -4em; counter-increment: source-line; }pre.numberSource code > span > a:first-child::before { content: counter(source-line); position: relative; left: -1em; text-align: right; vertical-align: baseline; border: none; display: inline-block; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding: 0 4px; width: 4em; }pre.numberSource { margin-left: 3em; padding-left: 4px; }div.sourceCode { }@media screen {pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }}</style>
<script src="site_libs/quarto-nav/quarto-nav.js"></script><script src="site_libs/quarto-nav/headroom.min.js"></script><script src="site_libs/clipboard/clipboard.min.js"></script><script src="site_libs/quarto-search/autocomplete.umd.js"></script><script src="site_libs/quarto-search/fuse.min.js"></script><script src="site_libs/quarto-search/quarto-search.js"></script><meta name="quarto:offset" content="./"><link href="./references.html" rel="next"><link href="./intro.html" rel="prev"><script src="site_libs/quarto-html/quarto.js"></script><script src="site_libs/quarto-html/popper.min.js"></script><script src="site_libs/quarto-html/tippy.umd.min.js"></script><script src="site_libs/quarto-html/anchor.min.js"></script><link href="site_libs/quarto-html/tippy.css" rel="stylesheet"><link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"><script src="site_libs/bootstrap/bootstrap.min.js"></script><link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"><link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"><script id="quarto-search-options" type="application/json">{ "location": "sidebar", "copy-button": false, "collapse-after": 3, "panel-placement": "start", "type": "textbox", "limit": 20, "language": { "search-no-results-text": "No results", "search-matching-documents-text": "matching documents", "search-copy-link-title": "Copy link to search", "search-hide-matches-text": "Hide additional matches", "search-more-match-text": "more match in this document", "search-more-matches-text": "more matches in this document", "search-clear-button-title": "Clear", "search-detached-cancel-button-title": "Cancel", "search-submit-button-title": "Submit", "search-label": "Search" }}</script>
</head>
<body class="nav-sidebar floating">
<div id="quarto-search-results"></div> <header id="quarto-header" class="headroom fixed-top"> <nav class="quarto-secondary-nav"> <div class="container-fluid d-flex"> <button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> <i class="bi bi-layout-text-sidebar-reverse"></i> </button> <nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./summary.html"><span class="chapter-number">2</span> <span class="chapter-title">Summary</span></a></li></ol></nav> <a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> </a> <button type="button" class="btn quarto-search-button" aria-label="" onclick="window.quartoOpenSearch();"> <i class="bi bi-search"></i> </button> </div> </nav></header><!-- content --><div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article"><!-- sidebar --> <nav id="quarto-sidebar" class="sidebar collapse collapse-horizontal sidebar-navigation floating overflow-auto"> <div class="pt-lg-2 mt-2 text-left sidebar-header"> <div class="sidebar-title mb-0 py-0"> <a href="./">Codewars Using R and RStudio</a> </div> </div> <div class="mt-2 flex-shrink-0 align-items-center"> <div class="sidebar-search"> <div id="quarto-search" class="" title="Search"></div> </div> </div> <div class="sidebar-menu-container"> <ul class="list-unstyled mt-1"> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./index.html" class="sidebar-item-text sidebar-link"> <span class="menu-text">Preface</span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./intro.html" class="sidebar-item-text sidebar-link"> <span class="menu-text"><span class="chapter-number">1</span> <span class="chapter-title">Introduction</span></span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./summary.html" class="sidebar-item-text sidebar-link active"> <span class="menu-text"><span class="chapter-number">2</span> <span class="chapter-title">Summary</span></span></a> </div></li> <li class="sidebar-item"> <div class="sidebar-item-container"> <a href="./references.html" class="sidebar-item-text sidebar-link"> <span class="menu-text">References</span></a> </div></li> </ul> </div></nav><div id="quarto-sidebar-glass" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass"></div><!-- margin-sidebar --> <div id="quarto-margin-sidebar" class="sidebar margin-sidebar"> </div><!-- main --><main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"><div class="quarto-title"><h1 class="title"><span class="chapter-number">2</span> <span class="chapter-title">Summary</span></h1></div>
<div class="quarto-title-meta">
</div>
</header>
<p>In summary, this book has no content whatsoever.</p><div class="cell"><div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="dv">1</span> <span class="sc">+</span> <span class="dv">1</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div><div class="cell-output cell-output-stdout"><pre><code>[1] 2</code></pre></div></div>
</main> <!-- /main --><script id="quarto-html-after-body" type="application/javascript">window.document.addEventListener("DOMContentLoaded", function (event) { const toggleBodyColorMode = (bsSheetEl) => { const mode = bsSheetEl.getAttribute("data-mode"); const bodyEl = window.document.querySelector("body"); if (mode === "dark") { bodyEl.classList.add("quarto-dark"); bodyEl.classList.remove("quarto-light"); } else { bodyEl.classList.add("quarto-light"); bodyEl.classList.remove("quarto-dark"); } } const toggleBodyColorPrimary = () => { const bsSheetEl = window.document.querySelector("link#quarto-bootstrap"); if (bsSheetEl) { toggleBodyColorMode(bsSheetEl); } } toggleBodyColorPrimary(); const icon = ""; const anchorJS = new window.AnchorJS(); anchorJS.options = { placement: 'right', icon: icon }; anchorJS.add('.anchored'); const isCodeAnnotation = (el) => { for (const clz of el.classList) { if (clz.startsWith('code-annotation-')) { return true; } } return false; } const clipboard = new window.ClipboardJS('.code-copy-button', { text: function(trigger) { const codeEl = trigger.previousElementSibling.cloneNode(true); for (const childEl of codeEl.children) { if (isCodeAnnotation(childEl)) { childEl.remove(); } } return codeEl.innerText; } }); clipboard.on('success', function(e) { // button target const button = e.trigger; // don't keep focus button.blur(); // flash "checked" button.classList.add('code-copy-button-checked'); var currentTitle = button.getAttribute("title"); button.setAttribute("title", "Copied!"); let tooltip; if (window.bootstrap) { button.setAttribute("data-bs-toggle", "tooltip"); button.setAttribute("data-bs-placement", "left"); button.setAttribute("data-bs-title", "Copied!"); tooltip = new bootstrap.Tooltip(button, { trigger: "manual", customClass: "code-copy-button-tooltip", offset: [0, -8]}); tooltip.show(); } setTimeout(function() { if (tooltip) { tooltip.hide(); button.removeAttribute("data-bs-title"); button.removeAttribute("data-bs-toggle"); button.removeAttribute("data-bs-placement"); } button.setAttribute("title", currentTitle); button.classList.remove('code-copy-button-checked'); }, 1000); // clear code selection e.clearSelection(); }); function tippyHover(el, contentFn) { const config = { allowHTML: true, content: contentFn, maxWidth: 500, delay: 100, arrow: false, appendTo: function(el) { return el.parentElement; }, interactive: true, interactiveBorder: 10, theme: 'quarto', placement: 'bottom-start' }; window.tippy(el, config); } const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]'); for (var i=0; i<noterefs.length; i++) { const ref = noterefs[i]; tippyHover(ref, function() { // use id or data attribute instead here let href = ref.getAttribute('data-footnote-href') || ref.getAttribute('href'); try { href = new URL(href).hash; } catch {} const id = href.replace(/^#\/?/, ""); const note = window.document.getElementById(id); return note.innerHTML; }); } let selectedAnnoteEl; const selectorForAnnotation = ( cell, annotation) => { let cellAttr = 'data-code-cell="' + cell + '"'; let lineAttr = 'data-code-annotation="' + annotation + '"'; const selector = 'span[' + cellAttr + '][' + lineAttr + ']'; return selector; } const selectCodeLines = (annoteEl) => { const doc = window.document; const targetCell = annoteEl.getAttribute("data-target-cell"); const targetAnnotation = annoteEl.getAttribute("data-target-annotation"); const annoteSpan = window.document.querySelector(selectorForAnnotation(targetCell, targetAnnotation)); const lines = annoteSpan.getAttribute("data-code-lines").split(","); const lineIds = lines.map((line) => { return targetCell + "-" + line; }) let top = null; let height = null; let parent = null; if (lineIds.length > 0) { //compute the position of the single el (top and bottom and make a div) const el = window.document.getElementById(lineIds[0]); top = el.offsetTop; height = el.offsetHeight; parent = el.parentElement.parentElement; if (lineIds.length > 1) { const lastEl = window.document.getElementById(lineIds[lineIds.length - 1]); const bottom = lastEl.offsetTop + lastEl.offsetHeight; height = bottom - top; } if (top !== null && height !== null && parent !== null) { // cook up a div (if necessary) and position it let div = window.document.getElementById("code-annotation-line-highlight"); if (div === null) { div = window.document.createElement("div"); div.setAttribute("id", "code-annotation-line-highlight"); div.style.position = 'absolute'; parent.appendChild(div); } div.style.top = top - 2 + "px"; div.style.height = height + 4 + "px"; let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter"); if (gutterDiv === null) { gutterDiv = window.document.createElement("div"); gutterDiv.setAttribute("id", "code-annotation-line-highlight-gutter"); gutterDiv.style.position = 'absolute'; const codeCell = window.document.getElementById(targetCell); const gutter = codeCell.querySelector('.code-annotation-gutter'); gutter.appendChild(gutterDiv); } gutterDiv.style.top = top - 2 + "px"; gutterDiv.style.height = height + 4 + "px"; } selectedAnnoteEl = annoteEl; } }; const unselectCodeLines = () => { const elementsIds = ["code-annotation-line-highlight", "code-annotation-line-highlight-gutter"]; elementsIds.forEach((elId) => { const div = window.document.getElementById(elId); if (div) { div.remove(); } }); selectedAnnoteEl = undefined; }; // Attach click handler to the DT const annoteDls = window.document.querySelectorAll('dt[data-target-cell]'); for (const annoteDlNode of annoteDls) { annoteDlNode.addEventListener('click', (event) => { const clickedEl = event.target; if (clickedEl !== selectedAnnoteEl) { unselectCodeLines(); const activeEl = window.document.querySelector('dt[data-target-cell].code-annotation-active'); if (activeEl) { activeEl.classList.remove('code-annotation-active'); } selectCodeLines(clickedEl); clickedEl.classList.add('code-annotation-active'); } else { // Unselect the line unselectCodeLines(); clickedEl.classList.remove('code-annotation-active'); } }); } const findCites = (el) => { const parentEl = el.parentElement; if (parentEl) { const cites = parentEl.dataset.cites; if (cites) { return { el, cites: cites.split(' ') }; } else { return findCites(el.parentElement) } } else { return undefined; } }; var bibliorefs = window.document.querySelectorAll('a[role="doc-biblioref"]'); for (var i=0; i<bibliorefs.length; i++) { const ref = bibliorefs[i]; const citeInfo = findCites(ref); if (citeInfo) { tippyHover(citeInfo.el, function() { var popup = window.document.createElement('div'); citeInfo.cites.forEach(function(cite) { var citeDiv = window.document.createElement('div'); citeDiv.classList.add('hanging-indent'); citeDiv.classList.add('csl-entry'); var biblioDiv = window.document.getElementById('ref-' + cite); if (biblioDiv) { citeDiv.innerHTML = biblioDiv.innerHTML; } popup.appendChild(citeDiv); }); return popup.innerHTML; }); } }});</script><nav class="page-navigation"> <div class="nav-page nav-page-previous"> <a href="./intro.html" class="pagination-link"> <i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">1</span> <span class="chapter-title">Introduction</span></span> </a> </div> <div class="nav-page nav-page-next"> <a href="./references.html" class="pagination-link"> <span class="nav-page-text">References</span> <i class="bi bi-arrow-right-short"></i> </a> </div></nav></div> <!-- /content -->
</body></html>_book/001-reducegrow.htmlDeleted-498
_book/index.htmlDeleted-433
_book/intro.htmlDeleted-484
_book/new_starcore_logo.pngDeleted
_book/references.htmlDeleted-428
_book/search.jsonDeleted-65
_book/site_libs/bootstrap/bootstrap-icons.cssDeleted-2018
_book/site_libs/bootstrap/bootstrap-icons.woffDeleted
_book/site_libs/bootstrap/bootstrap.min.cssDeleted
_book/site_libs/bootstrap/bootstrap.min.jsDeleted-7
_book/site_libs/clipboard/clipboard.min.jsDeleted-7
_book/site_libs/quarto-html/anchor.min.jsDeleted-9
_book/site_libs/quarto-html/popper.min.jsDeleted-6
_book/site_libs/quarto-html/quarto-syntax-highlighting.cssDeleted-203
_book/site_libs/quarto-html/quarto.jsDeleted-902
_book/site_libs/quarto-html/tippy.cssDeleted-1
_book/site_libs/quarto-html/tippy.umd.min.jsDeleted-2
_book/site_libs/quarto-nav/headroom.min.jsDeleted-7
_book/site_libs/quarto-nav/quarto-nav.jsDeleted-277
_book/site_libs/quarto-search/autocomplete.umd.jsDeleted-3
_book/site_libs/quarto-search/fuse.min.jsDeleted-9
_book/site_libs/quarto-search/quarto-search.jsDeleted-1140
_book/summary.htmlDeleted-448