@openeuropa/bcl-theme-joinup 0.28.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/oe-bcl-joinup.css +153 -149
- package/css/oe-bcl-joinup.css.map +1 -1
- package/css/oe-bcl-joinup.min.css +1 -1
- package/css/oe-bcl-joinup.min.css.map +1 -1
- package/icons/bcl-default-icons.svg +1 -1
- package/icons/bootstrap-icons.svg +1 -1
- package/icons/icons-flag.svg +1 -1
- package/js/oe-bcl-joinup.bundle.js +566 -1552
- package/js/oe-bcl-joinup.bundle.js.map +1 -1
- package/js/oe-bcl-joinup.bundle.min.js +1 -1
- package/js/oe-bcl-joinup.bundle.min.js.map +1 -1
- package/js/oe-bcl-joinup.esm.js +412 -1218
- package/js/oe-bcl-joinup.esm.js.map +1 -1
- package/js/oe-bcl-joinup.esm.min.js +1 -1
- package/js/oe-bcl-joinup.esm.min.js.map +1 -1
- package/js/oe-bcl-joinup.umd.js +570 -1583
- package/js/oe-bcl-joinup.umd.js.map +1 -1
- package/js/oe-bcl-joinup.umd.min.js +1 -1
- package/js/oe-bcl-joinup.umd.min.js.map +1 -1
- package/logos/ec/logo-ec--mute.svg +220 -45
- package/logos/ec/negative/logo-ec--ar.svg +388 -67
- package/logos/ec/negative/logo-ec--bg.svg +247 -58
- package/logos/ec/negative/logo-ec--ca.svg +403 -69
- package/logos/ec/negative/logo-ec--cs.svg +423 -67
- package/logos/ec/negative/logo-ec--da.svg +453 -72
- package/logos/ec/negative/logo-ec--de.svg +465 -74
- package/logos/ec/negative/logo-ec--el.svg +441 -70
- package/logos/ec/negative/logo-ec--en.svg +447 -71
- package/logos/ec/negative/logo-ec--es.svg +429 -68
- package/logos/ec/negative/logo-ec--et.svg +429 -68
- package/logos/ec/negative/logo-ec--fi.svg +435 -69
- package/logos/ec/negative/logo-ec--fr.svg +459 -73
- package/logos/ec/negative/logo-ec--ga.svg +447 -71
- package/logos/ec/negative/logo-ec--hr.svg +435 -69
- package/logos/ec/negative/logo-ec--hu.svg +245 -57
- package/logos/ec/negative/logo-ec--is.svg +475 -87
- package/logos/ec/negative/logo-ec--it.svg +462 -73
- package/logos/ec/negative/logo-ec--jp.svg +348 -57
- package/logos/ec/negative/logo-ec--lb.svg +427 -75
- package/logos/ec/negative/logo-ec--lt.svg +429 -68
- package/logos/ec/negative/logo-ec--lv.svg +429 -68
- package/logos/ec/negative/logo-ec--mt.svg +480 -76
- package/logos/ec/negative/logo-ec--nl.svg +441 -70
- package/logos/ec/negative/logo-ec--no.svg +411 -71
- package/logos/ec/negative/logo-ec--pl.svg +441 -70
- package/logos/ec/negative/logo-ec--pt.svg +245 -57
- package/logos/ec/negative/logo-ec--ro.svg +456 -72
- package/logos/ec/negative/logo-ec--ru.svg +419 -73
- package/logos/ec/negative/logo-ec--sk.svg +429 -68
- package/logos/ec/negative/logo-ec--sl.svg +435 -69
- package/logos/ec/negative/logo-ec--sv.svg +471 -75
- package/logos/ec/negative/logo-ec--sw.svg +521 -101
- package/logos/ec/negative/logo-ec--tr.svg +403 -69
- package/logos/ec/negative/logo-ec--uk.svg +415 -72
- package/logos/ec/negative/logo-ec--zh.svg +348 -57
- package/logos/ec/positive/logo-ec--ar.svg +382 -66
- package/logos/ec/positive/logo-ec--bg.svg +363 -122
- package/logos/ec/positive/logo-ec--ca.svg +397 -68
- package/logos/ec/positive/logo-ec--cs.svg +321 -109
- package/logos/ec/positive/logo-ec--da.svg +346 -119
- package/logos/ec/positive/logo-ec--de.svg +357 -119
- package/logos/ec/positive/logo-ec--el.svg +336 -115
- package/logos/ec/positive/logo-ec--en.svg +341 -117
- package/logos/ec/positive/logo-ec--es.svg +326 -111
- package/logos/ec/positive/logo-ec--et.svg +326 -111
- package/logos/ec/positive/logo-ec--fi.svg +331 -113
- package/logos/ec/positive/logo-ec--fr.svg +233 -1
- package/logos/ec/positive/logo-ec--ga.svg +341 -117
- package/logos/ec/positive/logo-ec--hr.svg +331 -113
- package/logos/ec/positive/logo-ec--hu.svg +330 -113
- package/logos/ec/positive/logo-ec--is.svg +469 -86
- package/logos/ec/positive/logo-ec--it.svg +341 -117
- package/logos/ec/positive/logo-ec--jp.svg +357 -58
- package/logos/ec/positive/logo-ec--lb.svg +421 -74
- package/logos/ec/positive/logo-ec--lt.svg +326 -111
- package/logos/ec/positive/logo-ec--lv.svg +326 -111
- package/logos/ec/positive/logo-ec--mt.svg +353 -122
- package/logos/ec/positive/logo-ec--nl.svg +336 -115
- package/logos/ec/positive/logo-ec--no.svg +405 -70
- package/logos/ec/positive/logo-ec--pl.svg +336 -115
- package/logos/ec/positive/logo-ec--pt.svg +331 -113
- package/logos/ec/positive/logo-ec--ro.svg +331 -113
- package/logos/ec/positive/logo-ec--ru.svg +413 -72
- package/logos/ec/positive/logo-ec--sk.svg +328 -113
- package/logos/ec/positive/logo-ec--sl.svg +331 -113
- package/logos/ec/positive/logo-ec--sv.svg +361 -125
- package/logos/ec/positive/logo-ec--sw.svg +366 -62
- package/logos/ec/positive/logo-ec--tr.svg +397 -68
- package/logos/ec/positive/logo-ec--uk.svg +409 -71
- package/logos/ec/positive/logo-ec--zh.svg +357 -58
- package/logos/eu/condensed-version/negative/logo-eu--ar.svg +72 -17
- package/logos/eu/condensed-version/negative/logo-eu--bg.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--ca.svg +28 -6
- package/logos/eu/condensed-version/negative/logo-eu--cs.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--da.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--de.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--el.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--en.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--es.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--et.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--fi.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--fr.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--ga.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--hr.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--hu.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--is.svg +32 -7
- package/logos/eu/condensed-version/negative/logo-eu--it.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--jp.svg +37 -6
- package/logos/eu/condensed-version/negative/logo-eu--lb.svg +37 -6
- package/logos/eu/condensed-version/negative/logo-eu--lt.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--lv.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--mt.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--nl.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--no.svg +28 -6
- package/logos/eu/condensed-version/negative/logo-eu--pl.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--pt.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--ro.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--ru.svg +37 -6
- package/logos/eu/condensed-version/negative/logo-eu--sk.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--sl.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--sv.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--sw.svg +32 -6
- package/logos/eu/condensed-version/negative/logo-eu--tr.svg +28 -6
- package/logos/eu/condensed-version/negative/logo-eu--uk.svg +37 -6
- package/logos/eu/condensed-version/negative/logo-eu--zh.svg +28 -6
- package/logos/eu/condensed-version/positive/logo-eu--ar.svg +79 -18
- package/logos/eu/condensed-version/positive/logo-eu--bg.svg +45 -9
- package/logos/eu/condensed-version/positive/logo-eu--ca.svg +28 -5
- package/logos/eu/condensed-version/positive/logo-eu--cs.svg +45 -9
- package/logos/eu/condensed-version/positive/logo-eu--da.svg +45 -9
- package/logos/eu/condensed-version/positive/logo-eu--de.svg +45 -9
- package/logos/eu/condensed-version/positive/logo-eu--el.svg +45 -9
- package/logos/eu/condensed-version/positive/logo-eu--en.svg +45 -9
- package/logos/eu/condensed-version/positive/logo-eu--es.svg +45 -9
- package/logos/eu/condensed-version/positive/logo-eu--et.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--fi.svg +45 -9
- package/logos/eu/condensed-version/positive/logo-eu--fr.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--ga.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--hr.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--hu.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--is.svg +32 -6
- package/logos/eu/condensed-version/positive/logo-eu--it.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--jp.svg +22 -5
- package/logos/eu/condensed-version/positive/logo-eu--lb.svg +22 -5
- package/logos/eu/condensed-version/positive/logo-eu--lt.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--lv.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--mt.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--nl.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--no.svg +28 -5
- package/logos/eu/condensed-version/positive/logo-eu--pl.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--pt.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--ro.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--ru.svg +22 -5
- package/logos/eu/condensed-version/positive/logo-eu--sk.svg +44 -9
- package/logos/eu/condensed-version/positive/logo-eu--sl.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--sv.svg +40 -8
- package/logos/eu/condensed-version/positive/logo-eu--sw.svg +26 -5
- package/logos/eu/condensed-version/positive/logo-eu--tr.svg +28 -5
- package/logos/eu/condensed-version/positive/logo-eu--uk.svg +22 -5
- package/logos/eu/condensed-version/positive/logo-eu--zh.svg +22 -5
- package/logos/eu/logo-eu--mute.svg +30 -6
- package/logos/eu/standard-version/negative/logo-eu--ar.svg +72 -17
- package/logos/eu/standard-version/negative/logo-eu--bg.svg +92 -16
- package/logos/eu/standard-version/negative/logo-eu--ca.svg +64 -15
- package/logos/eu/standard-version/negative/logo-eu--cs.svg +92 -16
- package/logos/eu/standard-version/negative/logo-eu--da.svg +128 -22
- package/logos/eu/standard-version/negative/logo-eu--de.svg +116 -20
- package/logos/eu/standard-version/negative/logo-eu--el.svg +104 -18
- package/logos/eu/standard-version/negative/logo-eu--en.svg +84 -17
- package/logos/eu/standard-version/negative/logo-eu--es.svg +92 -16
- package/logos/eu/standard-version/negative/logo-eu--et.svg +86 -15
- package/logos/eu/standard-version/negative/logo-eu--fi.svg +104 -18
- package/logos/eu/standard-version/negative/logo-eu--fr.svg +110 -19
- package/logos/eu/standard-version/negative/logo-eu--ga.svg +106 -20
- package/logos/eu/standard-version/negative/logo-eu--hr.svg +98 -17
- package/logos/eu/standard-version/negative/logo-eu--hu.svg +86 -15
- package/logos/eu/standard-version/negative/logo-eu--is.svg +80 -19
- package/logos/eu/standard-version/negative/logo-eu--it.svg +98 -17
- package/logos/eu/standard-version/negative/logo-eu--jp.svg +36 -8
- package/logos/eu/standard-version/negative/logo-eu--lb.svg +84 -20
- package/logos/eu/standard-version/negative/logo-eu--lt.svg +104 -18
- package/logos/eu/standard-version/negative/logo-eu--lv.svg +116 -20
- package/logos/eu/standard-version/negative/logo-eu--mt.svg +104 -18
- package/logos/eu/standard-version/negative/logo-eu--nl.svg +92 -16
- package/logos/eu/standard-version/negative/logo-eu--no.svg +80 -19
- package/logos/eu/standard-version/negative/logo-eu--pl.svg +104 -18
- package/logos/eu/standard-version/negative/logo-eu--pt.svg +98 -17
- package/logos/eu/standard-version/negative/logo-eu--ro.svg +116 -20
- package/logos/eu/standard-version/negative/logo-eu--ru.svg +80 -19
- package/logos/eu/standard-version/negative/logo-eu--sk.svg +92 -16
- package/logos/eu/standard-version/negative/logo-eu--sl.svg +98 -17
- package/logos/eu/standard-version/negative/logo-eu--sv.svg +122 -21
- package/logos/eu/standard-version/negative/logo-eu--sw.svg +65 -16
- package/logos/eu/standard-version/negative/logo-eu--tr.svg +69 -17
- package/logos/eu/standard-version/negative/logo-eu--uk.svg +84 -20
- package/logos/eu/standard-version/negative/logo-eu--zh.svg +36 -8
- package/logos/eu/standard-version/positive/logo-eu--ar.svg +76 -17
- package/logos/eu/standard-version/positive/logo-eu--bg.svg +98 -22
- package/logos/eu/standard-version/positive/logo-eu--ca.svg +64 -14
- package/logos/eu/standard-version/positive/logo-eu--cs.svg +90 -20
- package/logos/eu/standard-version/positive/logo-eu--da.svg +114 -26
- package/logos/eu/standard-version/positive/logo-eu--de.svg +106 -24
- package/logos/eu/standard-version/positive/logo-eu--el.svg +98 -22
- package/logos/eu/standard-version/positive/logo-eu--en.svg +96 -21
- package/logos/eu/standard-version/positive/logo-eu--es.svg +90 -20
- package/logos/eu/standard-version/positive/logo-eu--et.svg +86 -19
- package/logos/eu/standard-version/positive/logo-eu--fi.svg +98 -22
- package/logos/eu/standard-version/positive/logo-eu--fr.svg +102 -23
- package/logos/eu/standard-version/positive/logo-eu--ga.svg +108 -24
- package/logos/eu/standard-version/positive/logo-eu--hr.svg +94 -21
- package/logos/eu/standard-version/positive/logo-eu--hu.svg +86 -19
- package/logos/eu/standard-version/positive/logo-eu--is.svg +80 -18
- package/logos/eu/standard-version/positive/logo-eu--it.svg +94 -21
- package/logos/eu/standard-version/positive/logo-eu--jp.svg +30 -7
- package/logos/eu/standard-version/positive/logo-eu--lb.svg +78 -19
- package/logos/eu/standard-version/positive/logo-eu--lt.svg +98 -22
- package/logos/eu/standard-version/positive/logo-eu--lv.svg +106 -24
- package/logos/eu/standard-version/positive/logo-eu--mt.svg +99 -22
- package/logos/eu/standard-version/positive/logo-eu--nl.svg +90 -20
- package/logos/eu/standard-version/positive/logo-eu--no.svg +80 -18
- package/logos/eu/standard-version/positive/logo-eu--pl.svg +98 -22
- package/logos/eu/standard-version/positive/logo-eu--pt.svg +94 -21
- package/logos/eu/standard-version/positive/logo-eu--ro.svg +106 -24
- package/logos/eu/standard-version/positive/logo-eu--ru.svg +74 -18
- package/logos/eu/standard-version/positive/logo-eu--sk.svg +90 -20
- package/logos/eu/standard-version/positive/logo-eu--sl.svg +94 -21
- package/logos/eu/standard-version/positive/logo-eu--sv.svg +110 -25
- package/logos/eu/standard-version/positive/logo-eu--sw.svg +59 -15
- package/logos/eu/standard-version/positive/logo-eu--tr.svg +69 -16
- package/logos/eu/standard-version/positive/logo-eu--uk.svg +78 -19
- package/logos/eu/standard-version/positive/logo-eu--zh.svg +30 -7
- package/package.json +12 -12
- package/templates/bcl-accordion/accordion.html.twig +1 -1
- package/templates/bcl-badge/badge.html.twig +29 -28
- package/templates/bcl-banner/banner.html.twig +4 -4
- package/templates/bcl-base-templates/content-type.html.twig +5 -5
- package/templates/bcl-breadcrumb/breadcrumb.html.twig +1 -1
- package/templates/bcl-button/button.html.twig +6 -6
- package/templates/bcl-button-group/button-group.html.twig +3 -3
- package/templates/bcl-card/card.html.twig +3 -4
- package/templates/bcl-card-layout/card-layout.html.twig +2 -2
- package/templates/bcl-carousel/carousel.html.twig +7 -10
- package/templates/bcl-content-banner/content-banner.html.twig +23 -8
- package/templates/bcl-description-list/description-list.html.twig +4 -5
- package/templates/bcl-dropdown/dropdown.html.twig +7 -7
- package/templates/bcl-fact-figures/fact-figures.html.twig +3 -3
- package/templates/bcl-featured-media/featured-media.html.twig +16 -16
- package/templates/bcl-file/file-translations.html.twig +1 -1
- package/templates/bcl-file/file.html.twig +2 -2
- package/templates/bcl-footer/footer.html.twig +3 -2
- package/templates/bcl-form/form.html.twig +2 -2
- package/templates/bcl-form-input/form-input.html.twig +12 -12
- package/templates/bcl-gallery/gallery-item.html.twig +7 -6
- package/templates/bcl-gallery/gallery.html.twig +120 -79
- package/templates/bcl-header/header.html.twig +3 -2
- package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +3 -5
- package/templates/bcl-language-list/language-list.html.twig +2 -2
- package/templates/bcl-language-switcher/language-switcher.html.twig +3 -3
- package/templates/bcl-link/link.html.twig +3 -3
- package/templates/bcl-links-block/links-block.html.twig +1 -1
- package/templates/bcl-list-group/list-group.html.twig +3 -3
- package/templates/bcl-listing/listing.html.twig +1 -1
- package/templates/bcl-modal/modal.html.twig +4 -4
- package/templates/bcl-navbar/navbar.html.twig +1 -1
- package/templates/bcl-navigation/navigation.html.twig +10 -10
- package/templates/bcl-offcanvas/offcanvas.html.twig +2 -2
- package/templates/bcl-pagination/pagination-item.html.twig +73 -0
- package/templates/bcl-pagination/pagination.html.twig +104 -224
- package/templates/bcl-progress/progress.html.twig +3 -3
- package/templates/bcl-project/project.html.twig +14 -29
- package/templates/bcl-project-status/project-contributions.html.twig +2 -2
- package/templates/bcl-project-status/project-status.html.twig +3 -4
- package/templates/bcl-recent-activities/recent-activities.html.twig +1 -1
- package/templates/bcl-search-form/search-form.html.twig +1 -1
- package/templates/bcl-select/select.html.twig +22 -8
- package/templates/bcl-subscription/subscription-modal.html.twig +1 -1
- package/templates/bcl-table/table.html.twig +8 -8
- package/templates/bcl-textarea/textarea.html.twig +8 -8
- package/templates/bcl-timeline/timeline.html.twig +2 -2
- package/templates/bcl-toast/toasts.html.twig +4 -4
- package/templates/bcl-user/user-compact.html.twig +1 -1
- package/icons/world-flags/ad.svg +0 -154
- package/icons/world-flags/ae.svg +0 -6
- package/icons/world-flags/af.svg +0 -1
- package/icons/world-flags/ag.svg +0 -1
- package/icons/world-flags/ai.svg +0 -1
- package/icons/world-flags/al.svg +0 -1
- package/icons/world-flags/am.svg +0 -5
- package/icons/world-flags/an.svg +0 -24
- package/icons/world-flags/ao.svg +0 -1
- package/icons/world-flags/aq.svg +0 -1
- package/icons/world-flags/ar.svg +0 -33
- package/icons/world-flags/as.svg +0 -1
- package/icons/world-flags/at.svg +0 -4
- package/icons/world-flags/au.svg +0 -1
- package/icons/world-flags/aw.svg +0 -1
- package/icons/world-flags/ax.svg +0 -11
- package/icons/world-flags/az.svg +0 -8
- package/icons/world-flags/ba.svg +0 -11
- package/icons/world-flags/bb.svg +0 -7
- package/icons/world-flags/bd.svg +0 -4
- package/icons/world-flags/be.svg +0 -5
- package/icons/world-flags/bf.svg +0 -14
- package/icons/world-flags/bg.svg +0 -5
- package/icons/world-flags/bh.svg +0 -1
- package/icons/world-flags/bi.svg +0 -26
- package/icons/world-flags/bj.svg +0 -5
- package/icons/world-flags/bl.svg +0 -160
- package/icons/world-flags/bm.svg +0 -1
- package/icons/world-flags/bn.svg +0 -58
- package/icons/world-flags/bo.svg +0 -1
- package/icons/world-flags/bq.svg +0 -5
- package/icons/world-flags/br.svg +0 -89
- package/icons/world-flags/bs.svg +0 -5
- package/icons/world-flags/bt.svg +0 -466
- package/icons/world-flags/bv.svg +0 -7
- package/icons/world-flags/bw.svg +0 -5
- package/icons/world-flags/by.svg +0 -14
- package/icons/world-flags/bz.svg +0 -1
- package/icons/world-flags/ca.svg +0 -1
- package/icons/world-flags/cc.svg +0 -19
- package/icons/world-flags/cd.svg +0 -5
- package/icons/world-flags/cf.svg +0 -8
- package/icons/world-flags/cg.svg +0 -5
- package/icons/world-flags/ch.svg +0 -5
- package/icons/world-flags/ci.svg +0 -5
- package/icons/world-flags/ck.svg +0 -1
- package/icons/world-flags/cl.svg +0 -14
- package/icons/world-flags/cm.svg +0 -15
- package/icons/world-flags/cn.svg +0 -11
- package/icons/world-flags/co.svg +0 -5
- package/icons/world-flags/cr.svg +0 -1
- package/icons/world-flags/cu.svg +0 -6
- package/icons/world-flags/cv.svg +0 -24
- package/icons/world-flags/cw.svg +0 -16
- package/icons/world-flags/cx.svg +0 -15
- package/icons/world-flags/cy.svg +0 -1
- package/icons/world-flags/cz.svg +0 -5
- package/icons/world-flags/de.svg +0 -6
- package/icons/world-flags/dj.svg +0 -6
- package/icons/world-flags/dk.svg +0 -5
- package/icons/world-flags/dm.svg +0 -1
- package/icons/world-flags/do.svg +0 -1
- package/icons/world-flags/dz.svg +0 -5
- package/icons/world-flags/ec.svg +0 -519
- package/icons/world-flags/ee.svg +0 -5
- package/icons/world-flags/eg.svg +0 -78
- package/icons/world-flags/eh.svg +0 -9
- package/icons/world-flags/er.svg +0 -6
- package/icons/world-flags/es.svg +0 -1
- package/icons/world-flags/et.svg +0 -16
- package/icons/world-flags/eu.svg +0 -29
- package/icons/world-flags/fi.svg +0 -5
- package/icons/world-flags/fj.svg +0 -1
- package/icons/world-flags/fk.svg +0 -1
- package/icons/world-flags/fm.svg +0 -16
- package/icons/world-flags/fo.svg +0 -11
- package/icons/world-flags/fr.svg +0 -1
- package/icons/world-flags/ga.svg +0 -5
- package/icons/world-flags/gb-eng.svg +0 -7
- package/icons/world-flags/gb-nir.svg +0 -1
- package/icons/world-flags/gb-sct.svg +0 -1
- package/icons/world-flags/gb-wls.svg +0 -9
- package/icons/world-flags/gb.svg +0 -1
- package/icons/world-flags/gd.svg +0 -27
- package/icons/world-flags/ge.svg +0 -17
- package/icons/world-flags/gf.svg +0 -5
- package/icons/world-flags/gg.svg +0 -8
- package/icons/world-flags/gh.svg +0 -6
- package/icons/world-flags/gi.svg +0 -54
- package/icons/world-flags/gl.svg +0 -4
- package/icons/world-flags/gm.svg +0 -7
- package/icons/world-flags/gn.svg +0 -5
- package/icons/world-flags/gp.svg +0 -5
- package/icons/world-flags/gq.svg +0 -75
- package/icons/world-flags/gr.svg +0 -4
- package/icons/world-flags/gs.svg +0 -1
- package/icons/world-flags/gt.svg +0 -214
- package/icons/world-flags/gu.svg +0 -1
- package/icons/world-flags/gw.svg +0 -13
- package/icons/world-flags/gy.svg +0 -7
- package/icons/world-flags/hk.svg +0 -12
- package/icons/world-flags/hm.svg +0 -1
- package/icons/world-flags/hn.svg +0 -18
- package/icons/world-flags/hr.svg +0 -240
- package/icons/world-flags/ht.svg +0 -196
- package/icons/world-flags/hu.svg +0 -5
- package/icons/world-flags/id.svg +0 -4
- package/icons/world-flags/ie.svg +0 -9
- package/icons/world-flags/il.svg +0 -1
- package/icons/world-flags/im.svg +0 -59
- package/icons/world-flags/in.svg +0 -25
- package/icons/world-flags/io.svg +0 -178
- package/icons/world-flags/iq.svg +0 -1
- package/icons/world-flags/ir.svg +0 -31
- package/icons/world-flags/is.svg +0 -5
- package/icons/world-flags/it.svg +0 -5
- package/icons/world-flags/je.svg +0 -49
- package/icons/world-flags/jm.svg +0 -4
- package/icons/world-flags/jo.svg +0 -7
- package/icons/world-flags/jp.svg +0 -4
- package/icons/world-flags/ke.svg +0 -23
- package/icons/world-flags/kg.svg +0 -1
- package/icons/world-flags/kh.svg +0 -116
- package/icons/world-flags/ki.svg +0 -1
- package/icons/world-flags/km.svg +0 -13
- package/icons/world-flags/kn.svg +0 -1
- package/icons/world-flags/kp.svg +0 -16
- package/icons/world-flags/kr.svg +0 -1
- package/icons/world-flags/kw.svg +0 -6
- package/icons/world-flags/ky.svg +0 -1
- package/icons/world-flags/kz.svg +0 -37
- package/icons/world-flags/la.svg +0 -5
- package/icons/world-flags/lb.svg +0 -5
- package/icons/world-flags/lc.svg +0 -6
- package/icons/world-flags/li.svg +0 -56
- package/icons/world-flags/lk.svg +0 -31
- package/icons/world-flags/lr.svg +0 -15
- package/icons/world-flags/ls.svg +0 -23
- package/icons/world-flags/lt.svg +0 -5
- package/icons/world-flags/lu.svg +0 -5
- package/icons/world-flags/lv.svg +0 -4
- package/icons/world-flags/ly.svg +0 -8
- package/icons/world-flags/ma.svg +0 -6
- package/icons/world-flags/mc.svg +0 -4
- package/icons/world-flags/md.svg +0 -140
- package/icons/world-flags/me.svg +0 -93
- package/icons/world-flags/mf.svg +0 -5
- package/icons/world-flags/mg.svg +0 -5
- package/icons/world-flags/mh.svg +0 -19
- package/icons/world-flags/mk.svg +0 -7
- package/icons/world-flags/ml.svg +0 -5
- package/icons/world-flags/mm.svg +0 -12
- package/icons/world-flags/mn.svg +0 -21
- package/icons/world-flags/mo.svg +0 -10
- package/icons/world-flags/mp.svg +0 -240
- package/icons/world-flags/mq.svg +0 -1
- package/icons/world-flags/mr.svg +0 -6
- package/icons/world-flags/ms.svg +0 -1
- package/icons/world-flags/mt.svg +0 -49
- package/icons/world-flags/mu.svg +0 -6
- package/icons/world-flags/mv.svg +0 -8
- package/icons/world-flags/mw.svg +0 -24
- package/icons/world-flags/mx.svg +0 -1
- package/icons/world-flags/my.svg +0 -13
- package/icons/world-flags/mz.svg +0 -13
- package/icons/world-flags/na.svg +0 -1
- package/icons/world-flags/nc.svg +0 -18
- package/icons/world-flags/ne.svg +0 -6
- package/icons/world-flags/nf.svg +0 -5
- package/icons/world-flags/ng.svg +0 -4
- package/icons/world-flags/ni.svg +0 -161
- package/icons/world-flags/nl.svg +0 -5
- package/icons/world-flags/no.svg +0 -7
- package/icons/world-flags/np.svg +0 -33
- package/icons/world-flags/nr.svg +0 -5
- package/icons/world-flags/nu.svg +0 -1
- package/icons/world-flags/nz.svg +0 -1
- package/icons/world-flags/om.svg +0 -226
- package/icons/world-flags/pa.svg +0 -20
- package/icons/world-flags/pe.svg +0 -320
- package/icons/world-flags/pf.svg +0 -55
- package/icons/world-flags/pg.svg +0 -13
- package/icons/world-flags/ph.svg +0 -30
- package/icons/world-flags/pk.svg +0 -8
- package/icons/world-flags/pl.svg +0 -4
- package/icons/world-flags/pm.svg +0 -5
- package/icons/world-flags/pn.svg +0 -1
- package/icons/world-flags/pr.svg +0 -1
- package/icons/world-flags/ps.svg +0 -6
- package/icons/world-flags/pt.svg +0 -66
- package/icons/world-flags/pw.svg +0 -4
- package/icons/world-flags/py.svg +0 -193
- package/icons/world-flags/qa.svg +0 -1
- package/icons/world-flags/re.svg +0 -5
- package/icons/world-flags/ro.svg +0 -5
- package/icons/world-flags/rs.svg +0 -294
- package/icons/world-flags/ru.svg +0 -5
- package/icons/world-flags/rw.svg +0 -13
- package/icons/world-flags/sa.svg +0 -4
- package/icons/world-flags/sb.svg +0 -23
- package/icons/world-flags/sc.svg +0 -7
- package/icons/world-flags/sd.svg +0 -6
- package/icons/world-flags/se.svg +0 -5
- package/icons/world-flags/sg.svg +0 -11
- package/icons/world-flags/sh.svg +0 -1
- package/icons/world-flags/si.svg +0 -22
- package/icons/world-flags/sj.svg +0 -7
- package/icons/world-flags/sk.svg +0 -12
- package/icons/world-flags/sl.svg +0 -5
- package/icons/world-flags/sm.svg +0 -321
- package/icons/world-flags/sn.svg +0 -15
- package/icons/world-flags/so.svg +0 -13
- package/icons/world-flags/sr.svg +0 -6
- package/icons/world-flags/ss.svg +0 -8
- package/icons/world-flags/st.svg +0 -16
- package/icons/world-flags/sv.svg +0 -1
- package/icons/world-flags/sx.svg +0 -94
- package/icons/world-flags/sy.svg +0 -17
- package/icons/world-flags/sz.svg +0 -1
- package/icons/world-flags/tc.svg +0 -1
- package/icons/world-flags/td.svg +0 -5
- package/icons/world-flags/tf.svg +0 -15
- package/icons/world-flags/tg.svg +0 -16
- package/icons/world-flags/th.svg +0 -5
- package/icons/world-flags/tj.svg +0 -26
- package/icons/world-flags/tk.svg +0 -25
- package/icons/world-flags/tl.svg +0 -1
- package/icons/world-flags/tm.svg +0 -179
- package/icons/world-flags/tn.svg +0 -9
- package/icons/world-flags/to.svg +0 -8
- package/icons/world-flags/tr.svg +0 -6
- package/icons/world-flags/tt.svg +0 -5
- package/icons/world-flags/tv.svg +0 -1
- package/icons/world-flags/tw.svg +0 -9
- package/icons/world-flags/tz.svg +0 -6
- package/icons/world-flags/ua.svg +0 -4
- package/icons/world-flags/ug.svg +0 -24
- package/icons/world-flags/um.svg +0 -25
- package/icons/world-flags/us.svg +0 -25
- package/icons/world-flags/uy.svg +0 -36
- package/icons/world-flags/uz.svg +0 -30
- package/icons/world-flags/va.svg +0 -205
- package/icons/world-flags/vc.svg +0 -10
- package/icons/world-flags/ve.svg +0 -28
- package/icons/world-flags/vg.svg +0 -1
- package/icons/world-flags/vi.svg +0 -1
- package/icons/world-flags/vn.svg +0 -12
- package/icons/world-flags/vu.svg +0 -15
- package/icons/world-flags/wf.svg +0 -7
- package/icons/world-flags/ws.svg +0 -14
- package/icons/world-flags/xk.svg +0 -1
- package/icons/world-flags/ye.svg +0 -5
- package/icons/world-flags/yt.svg +0 -5
- package/icons/world-flags/za.svg +0 -1
- package/icons/world-flags/zm.svg +0 -23
- package/icons/world-flags/zw.svg +0 -28
- package/templates/bcl-gallery/gallery-modal.html.twig +0 -105
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e="transitionend",t=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t},i=e=>{const i=t(e);return i&&document.querySelector(i)?i:null},n=e=>{const i=t(e);return i?document.querySelector(i):null},s=t=>{t.dispatchEvent(new Event(e))},o=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),r=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,a=e=>{if(!o(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(!i)return t;if(i!==e){const t=e.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return t},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),c=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c(e.parentNode):null},h=()=>{},d=e=>{e.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=()=>{const t=u();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=()=>(t.fn[i]=n,e.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of f)e()})),f.push(t)):t()},g=e=>{"function"==typeof e&&e()},_=(t,i,n=!0)=>{if(!n)return void g(t);const o=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),s=Number.parseFloat(i);return n||s?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:n})=>{n===i&&(r=!0,i.removeEventListener(e,a),g(t))};i.addEventListener(e,a),setTimeout((()=>{r||s(i)}),o)},b=(e,t,i,n)=>{const s=e.length;let o=e.indexOf(t);return-1===o?!i&&n?e[s-1]:e[0]:(o+=i?1:-1,n&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,E={};let A=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},C=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 O(e,t){return t&&`${t}::${A++}`||e.uidEvent||A++}function x(e){const t=O(e);return e.uidEvent=t,E[t]=E[t]||{},E[t]}function k(e,t,i=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===i))}function L(e,t,i){const n="string"==typeof t,s=n?i:t||i;let o=N(e);return C.has(o)||(o=e),[n,s,o]}function S(e,t,i,n,s){if("string"!=typeof t||!e)return;let[o,r,a]=L(t,i,n);if(t in T){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r=e(r)}const l=x(e),c=l[a]||(l[a]={}),h=k(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=O(r,t.replace(v,"")),u=o?function(e,t,i){return function n(s){const o=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return j(s,{delegateTarget:r}),n.oneOff&&P.off(e,s.type,t,i),i.apply(r,[s])}}(e,i,r):function(e,t){return function i(n){return j(n,{delegateTarget:e}),i.oneOff&&P.off(e,n.type,t),t.apply(e,[n])}}(e,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=s,u.uidEvent=d,c[d]=u,e.addEventListener(a,u,o)}function D(e,t,i,n,s){const o=k(t[i],n,s);o&&(e.removeEventListener(i,o,Boolean(s)),delete t[i][o.uidEvent])}function I(e,t,i,n){const s=t[i]||{};for(const o of Object.keys(s))if(o.includes(n)){const n=s[o];D(e,t,i,n.callable,n.delegationSelector)}}function N(e){return e=e.replace(y,""),T[e]||e}const P={on(e,t,i,n){S(e,t,i,n,!1)},one(e,t,i,n){S(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[s,o,r]=L(t,i,n),a=r!==t,l=x(e),c=l[r]||{},h=t.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))I(e,l,i,t.slice(1));for(const i of Object.keys(c)){const n=i.replace(w,"");if(!a||t.includes(n)){const t=c[i];D(e,l,r,t.callable,t.delegationSelector)}}}else{if(!Object.keys(c).length)return;D(e,l,r,o,s?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=u();let s=null,o=!0,r=!0,a=!1;t!==N(t)&&n&&(s=n.Event(t,i),n(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());let l=new Event(t,{bubbles:o,cancelable:!0});return l=j(l,i),a&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function j(e,t){for(const[i,n]of Object.entries(t||{}))try{e[i]=n}catch{Object.defineProperty(e,i,{configurable:!0,get:()=>n})}return e}const M=new Map;var H={set(e,t,i){M.has(e)||M.set(e,new Map);const n=M.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>M.has(e)&&M.get(e).get(t)||null,remove(e,t){if(!M.has(e))return;const i=M.get(e);i.delete(t),0===i.size&&M.delete(e)}};function q(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function W(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const $={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${W(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${W(t)}`)},getDataAttributes(e){if(!e)return{};const t={},i=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=q(e.dataset[n])}return t},getDataAttribute:(e,t)=>q(e.getAttribute(`data-bs-${W(t)}`))};class F{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const i=o(t)?$.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(t)?$.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const n of Object.keys(t)){const s=t[n],r=e[n],a=o(r)?"element":null==(i=r)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}var i}}class B extends F{constructor(e,t){super(),(e=r(e))&&(this._element=e,this._config=this._getConfig(t),H.set(this._element,this.constructor.DATA_KEY,this))}dispose(){H.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){_(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return H.get(r(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.2.1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const z=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;P.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),l(this))return;const o=n(this)||this.closest(`.${s}`);e.getOrCreateInstance(o)[t]()}))};class V extends B{static get NAME(){return"alert"}close(){if(P.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),P.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=V.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}z(V,"close"),m(V);const R='[data-bs-toggle="button"]';class K extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=K.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}P.on(document,"click.bs.button.data-api",R,(e=>{e.preventDefault();const t=e.target.closest(R);K.getOrCreateInstance(t).toggle()})),m(K);const Q={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!l(e)&&a(e)))}},X={endCallback:null,leftCallback:null,rightCallback:null},Y={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class U extends F{constructor(e,t){super(),this._element=e,e&&U.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return X}static get DefaultType(){return Y}static get NAME(){return"swipe"}dispose(){P.off(this._element,".bs.swipe")}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&g(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(P.on(this._element,"pointerdown.bs.swipe",(e=>this._start(e))),P.on(this._element,"pointerup.bs.swipe",(e=>this._end(e))),this._element.classList.add("pointer-event")):(P.on(this._element,"touchstart.bs.swipe",(e=>this._start(e))),P.on(this._element,"touchmove.bs.swipe",(e=>this._move(e))),P.on(this._element,"touchend.bs.swipe",(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const G="next",J="prev",Z="left",ee="right",te="slid.bs.carousel",ie="carousel",ne="active",se={ArrowLeft:ee,ArrowRight:Z},oe={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},re={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ae extends B{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Q.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ie&&this.cycle()}static get Default(){return oe}static get DefaultType(){return re}static get NAME(){return"carousel"}next(){this._slide(G)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(J)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?P.one(this._element,te,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void P.one(this._element,te,(()=>this.to(e)));const i=this._getItemIndex(this._getActive());if(i===e)return;const n=e>i?G:J;this._slide(n,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&P.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(P.on(this._element,"mouseenter.bs.carousel",(()=>this.pause())),P.on(this._element,"mouseleave.bs.carousel",(()=>this._maybeEnableCycle()))),this._config.touch&&U.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of Q.find(".carousel-item img",this._element))P.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(Z)),rightCallback:()=>this._slide(this._directionToOrder(ee)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new U(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=se[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=Q.findOne(".active",this._indicatorsElement);t.classList.remove(ne),t.removeAttribute("aria-current");const i=Q.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(ne),i.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const i=this._getActive(),n=e===G,s=t||b(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=t=>P.trigger(this._element,t,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:o});if(r("slide.bs.carousel").defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),d(s),i.classList.add(l),s.classList.add(l),this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(ne),i.classList.remove(ne,c,l),this._isSliding=!1,r(te)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Q.findOne(".active.carousel-item",this._element)}_getItems(){return Q.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return p()?e===Z?J:G:e===Z?G:J}_orderToDirection(e){return p()?e===J?Z:ee:e===J?ee:Z}static jQueryInterface(e){return this.each((function(){const t=ae.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}P.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(e){const t=n(this);if(!t||!t.classList.contains(ie))return;e.preventDefault();const i=ae.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");return s?(i.to(s),void i._maybeEnableCycle()):"next"===$.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),P.on(window,"load.bs.carousel.data-api",(()=>{const e=Q.find('[data-bs-ride="carousel"]');for(const t of e)ae.getOrCreateInstance(t)})),m(ae);const le="show",ce="collapse",he="collapsing",de='[data-bs-toggle="collapse"]',ue={parent:null,toggle:!0},fe={parent:"(null|element)",toggle:"boolean"};class pe extends B{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=Q.find(de);for(const e of n){const t=i(e),n=Q.find(t).filter((e=>e===this._element));null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ue}static get DefaultType(){return fe}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>pe.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(P.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(ce),this._element.classList.add(he),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(ce,le),this._element.style[t]="",P.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[t]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(P.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,d(this._element),this._element.classList.add(he),this._element.classList.remove(ce,le);for(const e of this._triggerArray){const t=n(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(ce),P.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(le)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=r(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(de);for(const t of e){const e=n(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=Q.find(":scope .collapse .collapse",this._config.parent);return Q.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const i=pe.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}}P.on(document,"click.bs.collapse.data-api",de,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=i(this),n=Q.find(t);for(const e of n)pe.getOrCreateInstance(e,{toggle:!1}).toggle()})),m(pe);var me="top",ge="bottom",_e="right",be="left",ve="auto",ye=[me,ge,_e,be],we="start",Ee="end",Ae="clippingParents",Te="viewport",Ce="popper",Oe="reference",xe=ye.reduce((function(e,t){return e.concat([t+"-"+we,t+"-"+Ee])}),[]),ke=[].concat(ye,[ve]).reduce((function(e,t){return e.concat([t,t+"-"+we,t+"-"+Ee])}),[]),Le="beforeRead",Se="read",De="afterRead",Ie="beforeMain",Ne="main",Pe="afterMain",je="beforeWrite",Me="write",He="afterWrite",qe=[Le,Se,De,Ie,Ne,Pe,je,Me,He];function We(e){return e?(e.nodeName||"").toLowerCase():null}function $e(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Fe(e){return e instanceof $e(e).Element||e instanceof Element}function Be(e){return e instanceof $e(e).HTMLElement||e instanceof HTMLElement}function ze(e){return"undefined"!=typeof ShadowRoot&&(e instanceof $e(e).ShadowRoot||e instanceof ShadowRoot)}var Ve={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},s=t.elements[e];Be(s)&&We(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],s=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce((function(e,t){return e[t]="",e}),{});Be(n)&&We(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Re(e){return e.split("-")[0]}var Ke=Math.max,Qe=Math.min,Xe=Math.round;function Ye(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ue(){return!/^((?!chrome|android).)*safari/i.test(Ye())}function Ge(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,o=1;t&&Be(e)&&(s=e.offsetWidth>0&&Xe(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Xe(n.height)/e.offsetHeight||1);var r=(Fe(e)?$e(e):window).visualViewport,a=!Ue()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,d=n.height/o;return{width:h,height:d,top:c,right:l+h,bottom:c+d,left:l,x:l,y:c}}function Je(e){var t=Ge(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function Ze(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&ze(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function et(e){return $e(e).getComputedStyle(e)}function tt(e){return["table","td","th"].indexOf(We(e))>=0}function it(e){return((Fe(e)?e.ownerDocument:e.document)||window.document).documentElement}function nt(e){return"html"===We(e)?e:e.assignedSlot||e.parentNode||(ze(e)?e.host:null)||it(e)}function st(e){return Be(e)&&"fixed"!==et(e).position?e.offsetParent:null}function ot(e){for(var t=$e(e),i=st(e);i&&tt(i)&&"static"===et(i).position;)i=st(i);return i&&("html"===We(i)||"body"===We(i)&&"static"===et(i).position)?t:i||function(e){var t=/firefox/i.test(Ye());if(/Trident/i.test(Ye())&&Be(e)&&"fixed"===et(e).position)return null;var i=nt(e);for(ze(i)&&(i=i.host);Be(i)&&["html","body"].indexOf(We(i))<0;){var n=et(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function rt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function at(e,t,i){return Ke(e,Qe(t,i))}function lt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ct(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}var ht={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,s=e.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=Re(i.placement),l=rt(a),c=[be,_e].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(e,t){return lt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ct(e,ye))}(s.padding,i),d=Je(o),u="y"===l?me:be,f="y"===l?ge:_e,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=ot(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=at(v,w,y),A=l;i.modifiersData[n]=((t={})[A]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&("production"!==process.env.NODE_ENV&&(Be(n)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),Ze(t.elements.popper,n)?t.elements.arrow=n:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function dt(e){return e.split("-")[1]}var ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ft(e){var t,i=e.popper,n=e.popperRect,s=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,h=e.roundOffsets,d=e.isFixed,u=r.x,f=void 0===u?0:u,p=r.y,m=void 0===p?0:p,g="function"==typeof h?h({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=be,y=me,w=window;if(c){var E=ot(i),A="clientHeight",T="clientWidth";E===$e(i)&&"static"!==et(E=it(i)).position&&"absolute"===a&&(A="scrollHeight",T="scrollWidth"),(s===me||(s===be||s===_e)&&o===Ee)&&(y=ge,m-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-n.height,m*=l?1:-1),s!==be&&(s!==me&&s!==ge||o!==Ee)||(v=_e,f-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[T])-n.width,f*=l?1:-1)}var C,O=Object.assign({position:a},c&&ut),x=!0===h?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:Xe(t*n)/n||0,y:Xe(i*n)/n||0}}({x:f,y:m}):{x:f,y:m};return f=x.x,m=x.y,l?Object.assign({},O,((C={})[y]=b?"0":"",C[v]=_?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((t={})[y]=b?m+"px":"",t[v]=_?f+"px":"",t.transform="",t))}var pt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.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;if("production"!==process.env.NODE_ENV){var c=et(t.elements.popper).transitionProperty||"";r&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var h={placement:Re(t.placement),variation:dt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ft(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ft(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},mt={passive:!0},gt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=$e(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",i.update,mt)})),a&&l.addEventListener("resize",i.update,mt),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",i.update,mt)})),a&&l.removeEventListener("resize",i.update,mt)}},data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function bt(e){return e.replace(/left|right|bottom|top/g,(function(e){return _t[e]}))}var vt={start:"end",end:"start"};function yt(e){return e.replace(/start|end/g,(function(e){return vt[e]}))}function wt(e){var t=$e(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Et(e){return Ge(it(e)).left+wt(e).scrollLeft}function At(e){var t=et(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Tt(e){return["html","body","#document"].indexOf(We(e))>=0?e.ownerDocument.body:Be(e)&&At(e)?e:Tt(nt(e))}function Ct(e,t){var i;void 0===t&&(t=[]);var n=Tt(e),s=n===(null==(i=e.ownerDocument)?void 0:i.body),o=$e(n),r=s?[o].concat(o.visualViewport||[],At(n)?n:[]):n,a=t.concat(r);return s?a:a.concat(Ct(nt(r)))}function Ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xt(e,t,i){return t===Te?Ot(function(e,t){var i=$e(e),n=it(e),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Ue();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Et(e),y:l}}(e,i)):Fe(t)?function(e,t){var i=Ge(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):Ot(function(e){var t,i=it(e),n=wt(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=Ke(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Ke(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Et(e),l=-n.scrollTop;return"rtl"===et(s||i).direction&&(a+=Ke(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(it(e)))}function kt(e){var t,i=e.reference,n=e.element,s=e.placement,o=s?Re(s):null,r=s?dt(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case me:t={x:a,y:i.y-n.height};break;case ge:t={x:a,y:i.y+i.height};break;case _e:t={x:i.x+i.width,y:l};break;case be:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=o?rt(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case we:t[c]=t[c]-(i[h]/2-n[h]/2);break;case Ee:t[c]=t[c]+(i[h]/2-n[h]/2)}}return t}function Lt(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,o=i.strategy,r=void 0===o?e.strategy:o,a=i.boundary,l=void 0===a?Ae:a,c=i.rootBoundary,h=void 0===c?Te:c,d=i.elementContext,u=void 0===d?Ce:d,f=i.altBoundary,p=void 0!==f&&f,m=i.padding,g=void 0===m?0:m,_=lt("number"!=typeof g?g:ct(g,ye)),b=u===Ce?Oe:Ce,v=e.rects.popper,y=e.elements[p?b:u],w=function(e,t,i,n){var s="clippingParents"===t?function(e){var t=Ct(nt(e)),i=["absolute","fixed"].indexOf(et(e).position)>=0&&Be(e)?ot(e):e;return Fe(i)?t.filter((function(e){return Fe(e)&&Ze(e,i)&&"body"!==We(e)})):[]}(e):[].concat(t),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(t,i){var s=xt(e,i,n);return t.top=Ke(s.top,t.top),t.right=Qe(s.right,t.right),t.bottom=Qe(s.bottom,t.bottom),t.left=Ke(s.left,t.left),t}),xt(e,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Fe(y)?y:y.contextElement||it(e.elements.popper),l,h,r),E=Ge(e.elements.reference),A=kt({reference:E,element:v,strategy:"absolute",placement:s}),T=Ot(Object.assign({},v,A)),C=u===Ce?T:E,O={top:w.top-C.top+_.top,bottom:C.bottom-w.bottom+_.bottom,left:w.left-C.left+_.left,right:C.right-w.right+_.right},x=e.modifiersData.offset;if(u===Ce&&x){var k=x[s];Object.keys(O).forEach((function(e){var t=[_e,ge].indexOf(e)>=0?1:-1,i=[me,ge].indexOf(e)>=0?"y":"x";O[e]+=k[i]*t}))}return O}function St(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?ke:l,h=dt(n),d=h?a?xe:xe.filter((function(e){return dt(e)===h})):ye,u=d.filter((function(e){return c.indexOf(e)>=0}));0===u.length&&(u=d,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var f=u.reduce((function(t,i){return t[i]=Lt(e,{placement:i,boundary:s,rootBoundary:o,padding:r})[Re(i)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var Dt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.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=t.options.placement,_=Re(g),b=l||(_!==g&&p?function(e){if(Re(e)===ve)return[];var t=bt(e);return[yt(e),t,yt(t)]}(g):[bt(g)]),v=[g].concat(b).reduce((function(e,i){return e.concat(Re(i)===ve?St(t,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),y=t.rects.reference,w=t.rects.popper,E=new Map,A=!0,T=v[0],C=0;C<v.length;C++){var O=v[C],x=Re(O),k=dt(O)===we,L=[me,ge].indexOf(x)>=0,S=L?"width":"height",D=Lt(t,{placement:O,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),I=L?k?_e:be:k?ge:me;y[S]>w[S]&&(I=bt(I));var N=bt(I),P=[];if(o&&P.push(D[x]<=0),a&&P.push(D[I]<=0,D[N]<=0),P.every((function(e){return e}))){T=O,A=!1;break}E.set(O,P)}if(A)for(var j=function(e){var t=v.find((function(t){var i=E.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return T=t,"break"},M=p?3:1;M>0&&"break"!==j(M);M--);t.placement!==T&&(t.modifiersData[n]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function It(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Nt(e){return[me,_e,ge,be].some((function(t){return e[t]>=0}))}var Pt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=Lt(t,{elementContext:"reference"}),a=Lt(t,{altBoundary:!0}),l=It(r,n),c=It(a,s,o),h=Nt(l),d=Nt(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},jt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.offset,o=void 0===s?[0,0]:s,r=ke.reduce((function(e,i){return e[i]=function(e,t,i){var n=Re(e),s=[be,me].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},t,{placement:e})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[be,_e].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,t.rects,o),e}),{}),a=r[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=r}},Mt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=kt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ht={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.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=Lt(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=Re(t.placement),b=dt(t.placement),v=!b,y=rt(_),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,A=t.rects.reference,T=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(E){if(o){var L,S="y"===y?me:be,D="y"===y?ge:_e,I="y"===y?"height":"width",N=E[y],P=N+g[S],j=N-g[D],M=f?-T[I]/2:0,H=b===we?A[I]:T[I],q=b===we?-T[I]:-A[I],W=t.elements.arrow,$=f&&W?Je(W):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[S],z=F[D],V=at(0,A[I],$[I]),R=v?A[I]/2-M-V-B-O.mainAxis:H-V-B-O.mainAxis,K=v?-A[I]/2+M+V+z+O.mainAxis:q+V+z+O.mainAxis,Q=t.elements.arrow&&ot(t.elements.arrow),X=Q?"y"===y?Q.clientTop||0:Q.clientLeft||0:0,Y=null!=(L=null==x?void 0:x[y])?L:0,U=N+K-Y,G=at(f?Qe(P,N+R-Y-X):P,N,f?Ke(j,U):j);E[y]=G,k[y]=G-N}if(a){var J,Z="x"===y?me:be,ee="x"===y?ge:_e,te=E[w],ie="y"===w?"height":"width",ne=te+g[Z],se=te-g[ee],oe=-1!==[me,be].indexOf(_),re=null!=(J=null==x?void 0:x[w])?J:0,ae=oe?ne:te-A[ie]-T[ie]-re+O.altAxis,le=oe?te+A[ie]+T[ie]-re-O.altAxis:se,ce=f&&oe?function(e,t,i){var n=at(e,t,i);return n>i?i:n}(ae,te,le):at(f?ae:ne,te,f?le:se);E[w]=ce,k[w]=ce-te}t.modifiersData[n]=k}},requiresIfExists:["offset"]};function qt(e,t,i){void 0===i&&(i=!1);var n,s,o=Be(t),r=Be(t)&&function(e){var t=e.getBoundingClientRect(),i=Xe(t.width)/e.offsetWidth||1,n=Xe(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),a=it(t),l=Ge(e,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==We(t)||At(a))&&(c=(n=t)!==$e(n)&&Be(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:wt(n)),Be(t)?((h=Ge(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):a&&(h.x=Et(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Wt(e){var t=new Map,i=new Set,n=[];function s(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var n=t.get(e);n&&s(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||s(e)})),n}function $t(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return[].concat(i).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Ft='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Bt=["name","enabled","phase","fn","effect","requires","options"],zt="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Vt={placement:"bottom",modifiers:[],strategy:"absolute"};function Rt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Kt(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,s=t.defaultOptions,o=void 0===s?Vt:s;return function(e,t,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Vt,o),modifiersData:{},elements:{reference:e,popper:t},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:Fe(e)?Ct(e):e.contextElement?Ct(e.contextElement):[],popper:Ct(t)};var r,c,u,f,p,m=function(e){var t=Wt(e);return qe.reduce((function(e,i){return e.concat(t.filter((function(e){return e.phase===i})))}),[])}((f=[].concat(n,a.options.modifiers),p=f.reduce((function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e}),{}),Object.keys(p).map((function(e){return p[e]}))));if(a.orderedModifiers=m.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){(function(e){e.forEach((function(t){[].concat(Object.keys(t),Bt).filter((function(e,t,i){return i.indexOf(e)===t})).forEach((function(i){switch(i){case"name":"string"!=typeof t.name&&console.error($t(Ft,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error($t(Ft,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":qe.indexOf(t.phase)<0&&console.error($t(Ft,t.name,'"phase"',"either "+qe.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error($t(Ft,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error($t(Ft,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error($t(Ft,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error($t(Ft,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Bt.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+i+'" was provided.')}t.requires&&t.requires.forEach((function(i){null==e.find((function(e){return e.name===i}))&&console.error($t('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),i,i))}))}))}))})((r=[].concat(m,a.options.modifiers),c=function(e){return e.name},u=new Set,r.filter((function(e){var t=c(e);if(!u.has(t))return u.add(t),!0})))),Re(a.options.placement)===ve&&(a.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var g=et(t);[g.marginTop,g.marginRight,g.marginBottom,g.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return a.orderedModifiers.forEach((function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,s=e.effect;if("function"==typeof s){var o=s({state:a,name:t,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,i=e.popper;if(Rt(t,i)){a.rects={reference:qt(t,ot(i),"fixed"===a.options.strategy),popper:Je(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0,s=0;s<a.orderedModifiers.length;s++){if("production"!==process.env.NODE_ENV&&(n+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==a.reset){var o=a.orderedModifiers[s],r=o.fn,l=o.options,d=void 0===l?{}:l,u=o.name;"function"==typeof r&&(a=r({state:a,options:d,name:u,instance:h})||a)}else a.reset=!1,s=-1}}else"production"!==process.env.NODE_ENV&&console.error(zt)}},update:(s=function(){return new Promise((function(e){h.forceUpdate(),e(a)}))},function(){return r||(r=new Promise((function(e){Promise.resolve().then((function(){r=void 0,e(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!Rt(e,t))return"production"!==process.env.NODE_ENV&&console.error(zt),h;function d(){l.forEach((function(e){return e()})),l=[]}return h.setOptions(i).then((function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)})),h}}var Qt=Kt(),Xt=Kt({defaultModifiers:[gt,Mt,pt,Ve]}),Yt=Kt({defaultModifiers:[gt,Mt,pt,Ve,jt,Dt,Ht,ht,Pt]}),Ut=Object.freeze({__proto__:null,popperGenerator:Kt,detectOverflow:Lt,createPopperBase:Qt,createPopper:Yt,createPopperLite:Xt,top:me,bottom:ge,right:_e,left:be,auto:ve,basePlacements:ye,start:we,end:Ee,clippingParents:Ae,viewport:Te,popper:Ce,reference:Oe,variationPlacements:xe,placements:ke,beforeRead:Le,read:Se,afterRead:De,beforeMain:Ie,main:Ne,afterMain:Pe,beforeWrite:je,write:Me,afterWrite:He,modifierPhases:qe,applyStyles:Ve,arrow:ht,computeStyles:pt,eventListeners:gt,flip:Dt,hide:Pt,offset:jt,popperOffsets:Mt,preventOverflow:Ht});const Gt="dropdown",Jt="ArrowUp",Zt="ArrowDown",ei="click.bs.dropdown.data-api",ti="keydown.bs.dropdown.data-api",ii="show",ni='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',si=`${ni}.show`,oi=".dropdown-menu",ri=p()?"top-end":"top-start",ai=p()?"top-start":"top-end",li=p()?"bottom-end":"bottom-start",ci=p()?"bottom-start":"bottom-end",hi=p()?"left-start":"right-start",di=p()?"right-start":"left-start",ui={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},fi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class pi extends B{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Q.next(this._element,oi)[0]||Q.prev(this._element,oi)[0],this._inNavbar=this._detectNavbar()}static get Default(){return ui}static get DefaultType(){return fi}static get NAME(){return Gt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!P.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))P.on(e,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ii),this._element.classList.add(ii),P.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(l(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!P.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))P.off(e,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove(ii),this._element.classList.remove(ii),this._element.setAttribute("aria-expanded","false"),$.removeDataAttribute(this._menu,"popper"),P.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!o(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Gt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===Ut)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Yt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(ii)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return hi;if(e.classList.contains("dropstart"))return di;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?ai:ri:t?ci:li}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&($.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const i=Q.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>a(e)));i.length&&b(i,t,e===Zt,!i.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=pi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=Q.find(si);for(const i of t){const t=pi.getInstance(i);if(!t||!1===t._config.autoClose)continue;const n=e.composedPath(),s=n.includes(t._menu);if(n.includes(t._element)||"inside"===t._config.autoClose&&!s||"outside"===t._config.autoClose&&s)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const o={relatedTarget:t._element};"click"===e.type&&(o.clickEvent=e),t._completeHide(o)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=[Jt,Zt].includes(e.key);if(!n&&!i)return;if(t&&!i)return;e.preventDefault();const s=this.matches(ni)?this:Q.prev(this,ni)[0]||Q.next(this,ni)[0],o=pi.getOrCreateInstance(s);if(n)return e.stopPropagation(),o.show(),void o._selectMenuItem(e);o._isShown()&&(e.stopPropagation(),o.hide(),s.focus())}}P.on(document,ti,ni,pi.dataApiKeydownHandler),P.on(document,ti,oi,pi.dataApiKeydownHandler),P.on(document,ei,pi.clearMenus),P.on(document,"keyup.bs.dropdown.data-api",pi.clearMenus),P.on(document,ei,ni,(function(e){e.preventDefault(),pi.getOrCreateInstance(this).toggle()})),m(pi);const mi={},gi=".carousel-item.active";class _i extends B{constructor(e,t){super(e,t),this.carousel=Q.findOne(".carousel",this.element),this.carouselPager=Q.findOne(".carousel-pager span",this.element),this.carouselStartIndex=e.getAttribute("data-gallery-start"),this.carouselActiveItem=Q.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=Q.findOne(".modal",this.element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(e){const t=Q.findOne(gi,this.carousel),i=e.relatedTarget;this.carouselLazyLoad(i),this.carouselPager.textContent=e.to+1,this.stopVideo(t)}stopSlide(){const e=Q.findOne(gi,this.carousel);this.stopVideo(e)}stopVideo(e){const t=Q.findOne("iframe",e),i=Q.findOne("video",e);t?t.src=t.dataset.src:i&&i.pause()}carouselLazyLoad(e){const t=Q.findOne("[data-src]",e);t&&!t.src&&(t.src=t.dataset.src)}addEventListeners(){P.on(this.carousel,"slide.bs.carousel",(e=>this.setSlide(e))),P.on(this.modal,"hide.bs.modal",(e=>this.stopSlide(e)))}static get Default(){return mi}static jQueryInterface(e){return this.each((function(){const t=_i.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}P.on(document,"click.bs.gallery.data-api",".bcl-gallery__grid a, .bcl-gallery__mobile-view-more",(e=>{const t=e.target.closest("div.bcl-gallery"),i=e.target.parentNode.getAttribute("data-bs-slide-to");t.dataset.galleryStart=i,_i.getOrCreateInstance(t)})),m(_i);const bi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vi=".sticky-top",yi="padding-right",wi="margin-right";class Ei{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,yi,(t=>t+e)),this._setElementAttributes(bi,yi,(t=>t+e)),this._setElementAttributes(vi,wi,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,yi),this._resetElementAttributes(bi,yi),this._resetElementAttributes(vi,wi)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const s=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(e,t){const i=e.style.getPropertyValue(t);i&&$.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const i=$.getDataAttribute(e,t);null!==i?($.removeDataAttribute(e,t),e.style.setProperty(t,i)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(o(e))t(e);else for(const i of Q.find(e,this._element))t(i)}}const Ai="show",Ti="mousedown.bs.backdrop",Ci={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Oi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class xi extends F{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Ci}static get DefaultType(){return Oi}static get NAME(){return"backdrop"}show(e){if(!this._config.isVisible)return void g(e);this._append();const t=this._getElement();this._config.isAnimated&&d(t),t.classList.add(Ai),this._emulateAnimation((()=>{g(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Ai),this._emulateAnimation((()=>{this.dispose(),g(e)}))):g(e)}dispose(){this._isAppended&&(P.off(this._element,Ti),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=r(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),P.on(e,Ti,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){_(e,this._getElement(),this._config.isAnimated)}}const ki=".bs.focustrap",Li="backward",Si={autofocus:!0,trapElement:null},Di={autofocus:"boolean",trapElement:"element"};class Ii extends F{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Si}static get DefaultType(){return Di}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),P.off(document,ki),P.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),P.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,P.off(document,ki))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const i=Q.focusableChildren(t);0===i.length?t.focus():this._lastTabNavDirection===Li?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Li:"forward")}}const Ni="hidden.bs.modal",Pi="show.bs.modal",ji="modal-open",Mi="show",Hi="modal-static",qi={backdrop:!0,focus:!0,keyboard:!0},Wi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class $i extends B{constructor(e,t){super(e,t),this._dialog=Q.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ei,this._addEventListeners()}static get Default(){return qi}static get DefaultType(){return Wi}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||P.trigger(this._element,Pi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ji),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(P.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Mi),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const e of[window,this._dialog])P.off(e,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new xi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ii({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=Q.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),d(this._element),this._element.classList.add(Mi),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,P.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.modal",(e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),P.on(window,"resize.bs.modal",(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),P.on(this._element,"mousedown.dismiss.bs.modal",(e=>{P.one(this._element,"click.dismiss.bs.modal",(t=>{this._dialog.contains(e.target)||this._dialog.contains(t.target)||("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(ji),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,Ni)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Hi)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Hi),this._queueCallback((()=>{this._element.classList.remove(Hi),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;if(i&&!e){const e=p()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!i&&e){const e=p()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const i=$i.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}}))}}P.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=n(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),P.one(t,Pi,(e=>{e.defaultPrevented||P.one(t,Ni,(()=>{a(this)&&this.focus()}))}));const i=Q.findOne(".modal.show");i&&$i.getInstance(i).hide(),$i.getOrCreateInstance(t).toggle(this)})),z($i),m($i);const Fi="show",Bi="showing",zi="hiding",Vi=".offcanvas.show",Ri="hidePrevented.bs.offcanvas",Ki="hidden.bs.offcanvas",Qi={backdrop:!0,keyboard:!0,scroll:!1},Xi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Yi extends B{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Qi}static get DefaultType(){return Xi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||P.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Ei).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Bi),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Fi),this._element.classList.remove(Bi),P.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(P.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(zi),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Fi,zi),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Ei).reset(),P.trigger(this._element,Ki)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new xi({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():P.trigger(this._element,Ri)}:null})}_initializeFocusTrap(){return new Ii({trapElement:this._element})}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():P.trigger(this._element,Ri))}))}static jQueryInterface(e){return this.each((function(){const t=Yi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}P.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=n(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;P.one(t,Ki,(()=>{a(this)&&this.focus()}));const i=Q.findOne(Vi);i&&i!==t&&Yi.getInstance(i).hide(),Yi.getOrCreateInstance(t).toggle(this)})),P.on(window,"load.bs.offcanvas.data-api",(()=>{for(const e of Q.find(Vi))Yi.getOrCreateInstance(e).show()})),P.on(window,"resize.bs.offcanvas",(()=>{for(const e of Q.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Yi.getOrCreateInstance(e).hide()})),z(Yi),m(Yi);const Ui=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Gi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ji=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Zi=(e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!Ui.has(i)||Boolean(Gi.test(e.nodeValue)||Ji.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(i)))},en={"*":["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:[]},tn={allowList:en,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},nn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},sn={entry:"(string|element|function|null)",selector:"(string|element)"};class on extends F{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return tn}static get DefaultType(){return nn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,i]of Object.entries(this._config.content))this._setContent(e,i,t);const t=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&t.classList.add(...i.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},sn)}_setContent(e,t,i){const n=Q.findOne(i,e);n&&((t=this._resolvePossibleFunction(t))?o(t)?this._putElementInTemplate(r(t),n):this._config.html?n.innerHTML=this._maybeSanitize(t):n.textContent=t:n.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const e of s){const i=e.nodeName.toLowerCase();if(!Object.keys(t).includes(i)){e.remove();continue}const n=[].concat(...e.attributes),s=[].concat(t["*"]||[],t[i]||[]);for(const t of n)Zi(t,s)||e.removeAttribute(t.nodeName)}return n.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"==typeof e?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const rn=new Set(["sanitize","allowList","sanitizeFn"]),an="fade",ln="show",cn=".modal",hn="hide.bs.modal",dn="hover",un="focus",fn={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},pn={allowList:en,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},mn={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class gn extends B{constructor(e,t){if(void 0===Ut)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners()}static get Default(){return pn}static get DefaultType(){return mn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled){if(e){const t=this._initializeOnDelegatedTarget(e);return t._activeTrigger.click=!t._activeTrigger.click,void(t._isWithActiveTrigger()?t._enter():t._leave())}this._isShown()?this._leave():this._enter()}}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(cn),hn,this._hideModalHandler),this.tip&&this.tip.remove(),this._config.originalTitle&&this._element.setAttribute("title",this._config.originalTitle),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=P.trigger(this._element,this.constructor.eventName("show")),t=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this.tip&&(this.tip.remove(),this.tip=null);const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),P.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(i),i.classList.add(ln),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))P.on(e,"mouseover",h);this._queueCallback((()=>{P.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(P.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const e=this._getTipElement();if(e.classList.remove(ln),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))P.off(e,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||e.remove(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(an,ln),t.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",i),this._isAnimated()&&t.classList.add(an),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new on({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._config.originalTitle}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(an)}_isShown(){return this.tip&&this.tip.classList.contains(ln)}_createPopper(e){const t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,i=fn[t.toUpperCase()];return Yt(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)P.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>this.toggle(e)));else if("manual"!==t){const e=t===dn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===dn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");P.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?un:dn]=!0,t._enter()})),P.on(this._element,i,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?un:dn]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(cn),hn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._config.originalTitle;e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=$.getDataAttributes(this._element);for(const e of Object.keys(t))rn.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:r(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.originalTitle=this._element.getAttribute("title")||"","number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=gn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(gn);const _n={...gn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},bn={...gn.DefaultType,content:"(null|string|element|function)"};class vn extends gn{static get Default(){return _n}static get DefaultType(){return bn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=vn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(vn);const yn="click.bs.scrollspy",wn="active",En="[href]",An={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Tn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Cn extends B{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return An}static get DefaultType(){return Tn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=r(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(P.off(this._config.target,yn),P.on(this._config.target,yn,En,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const i=this._rootElement||window,n=t.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(o));continue}const e=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&e){if(i(o),!n)return}else s||e||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Q.find(En,this._config.target);for(const t of e){if(!t.hash||l(t))continue;const e=Q.findOne(t.hash,this._element);a(e)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(wn),this._activateParents(e),P.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))Q.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(wn);else for(const t of Q.parents(e,".nav, .list-group"))for(const e of Q.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(wn)}_clearActiveClass(e){e.classList.remove(wn);const t=Q.find("[href].active",e);for(const e of t)e.classList.remove(wn)}static jQueryInterface(e){return this.each((function(){const t=Cn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}P.on(window,"load.bs.scrollspy.data-api",(()=>{for(const e of Q.find('[data-bs-spy="scroll"]'))Cn.getOrCreateInstance(e)})),m(Cn);const On="ArrowLeft",xn="ArrowRight",kn="ArrowUp",Ln="ArrowDown",Sn="active",Dn="fade",In="show",Nn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Pn=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Nn}`;class jn extends B{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),P.on(this._element,"keydown.bs.tab",(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),i=t?P.trigger(t,"hide.bs.tab",{relatedTarget:e}):null;P.trigger(e,"show.bs.tab",{relatedTarget:t}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Sn),this._activate(n(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.focus(),e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),P.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(In)}),e,e.classList.contains(Dn)))}_deactivate(e,t){e&&(e.classList.remove(Sn),e.blur(),this._deactivate(n(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),P.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(In)}),e,e.classList.contains(Dn)))}_keydown(e){if(![On,xn,kn,Ln].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[xn,Ln].includes(e.key),i=b(this._getChildren().filter((e=>!l(e))),e.target,t,!0);i&&jn.getOrCreateInstance(i).show()}_getChildren(){return Q.find(Pn,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=n(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains("dropdown"))return;const n=(e,n)=>{const s=Q.findOne(e,i);s&&s.classList.toggle(n,t)};n(".dropdown-toggle",Sn),n(".dropdown-menu",In),n(".dropdown-item",Sn),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(Sn)}_getInnerElement(e){return e.matches(Pn)?e:Q.findOne(Pn,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=jn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}P.on(document,"click.bs.tab",Nn,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||jn.getOrCreateInstance(this).show()})),P.on(window,"load.bs.tab",(()=>{for(const e of Q.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))jn.getOrCreateInstance(e)})),m(jn);const Mn="hide",Hn="show",qn="showing",Wn={animation:"boolean",autohide:"boolean",delay:"number"},$n={animation:!0,autohide:!0,delay:5e3};class Fn extends B{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return $n}static get DefaultType(){return Wn}static get NAME(){return"toast"}show(){P.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Mn),d(this._element),this._element.classList.add(Hn,qn),this._queueCallback((()=>{this._element.classList.remove(qn),P.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(P.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(qn),this._queueCallback((()=>{this._element.classList.add(Mn),this._element.classList.remove(qn,Hn),P.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Hn),super.dispose()}isShown(){return this._element.classList.contains(Hn)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),P.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),P.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),P.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Fn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return z(Fn),m(Fn),{Alert:V,Button:K,Carousel:ae,Collapse:pe,Dropdown:pi,Gallery:_i,Modal:$i,Offcanvas:Yi,Popover:vn,ScrollSpy:Cn,Tab:jn,Toast:Fn,Tooltip:gn}}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e="transitionend",t=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t},i=e=>{const i=t(e);return i&&document.querySelector(i)?i:null},n=e=>{const i=t(e);return i?document.querySelector(i):null},s=t=>{t.dispatchEvent(new Event(e))},o=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),r=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,a=e=>{if(!o(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(!i)return t;if(i!==e){const t=e.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return t},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),c=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c(e.parentNode):null},h=()=>{},d=e=>{e.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=()=>{const t=u();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=()=>(t.fn[i]=n,e.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of f)e()})),f.push(t)):t()},g=e=>{"function"==typeof e&&e()},_=(t,i,n=!0)=>{if(!n)return void g(t);const o=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),s=Number.parseFloat(i);return n||s?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:n})=>{n===i&&(r=!0,i.removeEventListener(e,a),g(t))};i.addEventListener(e,a),setTimeout((()=>{r||s(i)}),o)},b=(e,t,i,n)=>{const s=e.length;let o=e.indexOf(t);return-1===o?!i&&n?e[s-1]:e[0]:(o+=i?1:-1,n&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,E={};let A=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},C=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 O(e,t){return t&&`${t}::${A++}`||e.uidEvent||A++}function x(e){const t=O(e);return e.uidEvent=t,E[t]=E[t]||{},E[t]}function k(e,t,i=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===i))}function L(e,t,i){const n="string"==typeof t,s=n?i:t||i;let o=I(e);return C.has(o)||(o=e),[n,s,o]}function S(e,t,i,n,s){if("string"!=typeof t||!e)return;let[o,r,a]=L(t,i,n);if(t in T){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r=e(r)}const l=x(e),c=l[a]||(l[a]={}),h=k(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=O(r,t.replace(v,"")),u=o?function(e,t,i){return function n(s){const o=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return P(s,{delegateTarget:r}),n.oneOff&&$.off(e,s.type,t,i),i.apply(r,[s])}}(e,i,r):function(e,t){return function i(n){return P(n,{delegateTarget:e}),i.oneOff&&$.off(e,n.type,t),t.apply(e,[n])}}(e,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=s,u.uidEvent=d,c[d]=u,e.addEventListener(a,u,o)}function D(e,t,i,n,s){const o=k(t[i],n,s);o&&(e.removeEventListener(i,o,Boolean(s)),delete t[i][o.uidEvent])}function N(e,t,i,n){const s=t[i]||{};for(const o of Object.keys(s))if(o.includes(n)){const n=s[o];D(e,t,i,n.callable,n.delegationSelector)}}function I(e){return e=e.replace(y,""),T[e]||e}const $={on(e,t,i,n){S(e,t,i,n,!1)},one(e,t,i,n){S(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[s,o,r]=L(t,i,n),a=r!==t,l=x(e),c=l[r]||{},h=t.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))N(e,l,i,t.slice(1));for(const i of Object.keys(c)){const n=i.replace(w,"");if(!a||t.includes(n)){const t=c[i];D(e,l,r,t.callable,t.delegationSelector)}}}else{if(!Object.keys(c).length)return;D(e,l,r,o,s?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=u();let s=null,o=!0,r=!0,a=!1;t!==I(t)&&n&&(s=n.Event(t,i),n(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());let l=new Event(t,{bubbles:o,cancelable:!0});return l=P(l,i),a&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function P(e,t){for(const[i,n]of Object.entries(t||{}))try{e[i]=n}catch{Object.defineProperty(e,i,{configurable:!0,get:()=>n})}return e}const j=new Map;var M={set(e,t,i){j.has(e)||j.set(e,new Map);const n=j.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>j.has(e)&&j.get(e).get(t)||null,remove(e,t){if(!j.has(e))return;const i=j.get(e);i.delete(t),0===i.size&&j.delete(e)}};function H(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function q(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const W={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${q(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${q(t)}`)},getDataAttributes(e){if(!e)return{};const t={},i=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=H(e.dataset[n])}return t},getDataAttribute:(e,t)=>H(e.getAttribute(`data-bs-${q(t)}`))};class F{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const i=o(t)?W.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(t)?W.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const n of Object.keys(t)){const s=t[n],r=e[n],a=o(r)?"element":null==(i=r)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}var i}}class B extends F{constructor(e,t){super(),(e=r(e))&&(this._element=e,this._config=this._getConfig(t),M.set(this._element,this.constructor.DATA_KEY,this))}dispose(){M.remove(this._element,this.constructor.DATA_KEY),$.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){_(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return M.get(r(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const z=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;$.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),l(this))return;const o=n(this)||this.closest(`.${s}`);e.getOrCreateInstance(o)[t]()}))},V=".bs.alert",R=`close${V}`,K=`closed${V}`;class Q extends B{static get NAME(){return"alert"}close(){if($.trigger(this._element,R).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),$.trigger(this._element,K),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Q.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}z(Q,"close"),m(Q);const X='[data-bs-toggle="button"]';class Y extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=Y.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}$.on(document,"click.bs.button.data-api",X,(e=>{e.preventDefault();const t=e.target.closest(X);Y.getOrCreateInstance(t).toggle()})),m(Y);const U={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!l(e)&&a(e)))}},G=".bs.swipe",J=`touchstart${G}`,Z=`touchmove${G}`,ee=`touchend${G}`,te=`pointerdown${G}`,ie=`pointerup${G}`,ne={endCallback:null,leftCallback:null,rightCallback:null},se={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class oe extends F{constructor(e,t){super(),this._element=e,e&&oe.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ne}static get DefaultType(){return se}static get NAME(){return"swipe"}dispose(){$.off(this._element,G)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&g(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?($.on(this._element,te,(e=>this._start(e))),$.on(this._element,ie,(e=>this._end(e))),this._element.classList.add("pointer-event")):($.on(this._element,J,(e=>this._start(e))),$.on(this._element,Z,(e=>this._move(e))),$.on(this._element,ee,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const re=".bs.carousel",ae=".data-api",le="next",ce="prev",he="left",de="right",ue=`slide${re}`,fe=`slid${re}`,pe=`keydown${re}`,me=`mouseenter${re}`,ge=`mouseleave${re}`,_e=`dragstart${re}`,be=`load${re}${ae}`,ve=`click${re}${ae}`,ye="carousel",we="active",Ee=".active",Ae=".carousel-item",Te=Ee+Ae,Ce={ArrowLeft:de,ArrowRight:he},Oe={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},xe={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ke extends B{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=U.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ye&&this.cycle()}static get Default(){return Oe}static get DefaultType(){return xe}static get NAME(){return"carousel"}next(){this._slide(le)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(ce)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?$.one(this._element,fe,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void $.one(this._element,fe,(()=>this.to(e)));const i=this._getItemIndex(this._getActive());if(i===e)return;const n=e>i?le:ce;this._slide(n,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&$.on(this._element,pe,(e=>this._keydown(e))),"hover"===this._config.pause&&($.on(this._element,me,(()=>this.pause())),$.on(this._element,ge,(()=>this._maybeEnableCycle()))),this._config.touch&&oe.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of U.find(".carousel-item img",this._element))$.on(e,_e,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(he)),rightCallback:()=>this._slide(this._directionToOrder(de)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new oe(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Ce[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=U.findOne(Ee,this._indicatorsElement);t.classList.remove(we),t.removeAttribute("aria-current");const i=U.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(we),i.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const i=this._getActive(),n=e===le,s=t||b(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=t=>$.trigger(this._element,t,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:o});if(r(ue).defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),d(s),i.classList.add(l),s.classList.add(l),this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(we),i.classList.remove(we,c,l),this._isSliding=!1,r(fe)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return U.findOne(Te,this._element)}_getItems(){return U.find(Ae,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return p()?e===he?ce:le:e===he?le:ce}_orderToDirection(e){return p()?e===ce?he:de:e===ce?de:he}static jQueryInterface(e){return this.each((function(){const t=ke.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}$.on(document,ve,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=n(this);if(!t||!t.classList.contains(ye))return;e.preventDefault();const i=ke.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");return s?(i.to(s),void i._maybeEnableCycle()):"next"===W.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),$.on(window,be,(()=>{const e=U.find('[data-bs-ride="carousel"]');for(const t of e)ke.getOrCreateInstance(t)})),m(ke);const Le=".bs.collapse",Se=`show${Le}`,De=`shown${Le}`,Ne=`hide${Le}`,Ie=`hidden${Le}`,$e=`click${Le}.data-api`,Pe="show",je="collapse",Me="collapsing",He=`:scope .${je} .${je}`,qe='[data-bs-toggle="collapse"]',We={parent:null,toggle:!0},Fe={parent:"(null|element)",toggle:"boolean"};class Be extends B{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=U.find(qe);for(const e of n){const t=i(e),n=U.find(t).filter((e=>e===this._element));null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return We}static get DefaultType(){return Fe}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>Be.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if($.trigger(this._element,Se).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(je),this._element.classList.add(Me),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Me),this._element.classList.add(je,Pe),this._element.style[t]="",$.trigger(this._element,De)}),this._element,!0),this._element.style[t]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if($.trigger(this._element,Ne).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,d(this._element),this._element.classList.add(Me),this._element.classList.remove(je,Pe);for(const e of this._triggerArray){const t=n(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Me),this._element.classList.add(je),$.trigger(this._element,Ie)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(Pe)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=r(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(qe);for(const t of e){const e=n(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=U.find(He,this._config.parent);return U.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const i=Be.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}}$.on(document,$e,qe,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=i(this),n=U.find(t);for(const e of n)Be.getOrCreateInstance(e,{toggle:!1}).toggle()})),m(Be);var ze="top",Ve="bottom",Re="right",Ke="left",Qe="auto",Xe=[ze,Ve,Re,Ke],Ye="start",Ue="end",Ge="clippingParents",Je="viewport",Ze="popper",et="reference",tt=Xe.reduce((function(e,t){return e.concat([t+"-"+Ye,t+"-"+Ue])}),[]),it=[].concat(Xe,[Qe]).reduce((function(e,t){return e.concat([t,t+"-"+Ye,t+"-"+Ue])}),[]),nt="beforeRead",st="read",ot="afterRead",rt="beforeMain",at="main",lt="afterMain",ct="beforeWrite",ht="write",dt="afterWrite",ut=[nt,st,ot,rt,at,lt,ct,ht,dt];function ft(e){return e?(e.nodeName||"").toLowerCase():null}function pt(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function mt(e){return e instanceof pt(e).Element||e instanceof Element}function gt(e){return e instanceof pt(e).HTMLElement||e instanceof HTMLElement}function _t(e){return"undefined"!=typeof ShadowRoot&&(e instanceof pt(e).ShadowRoot||e instanceof ShadowRoot)}var bt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},s=t.elements[e];gt(s)&&ft(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],s=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce((function(e,t){return e[t]="",e}),{});gt(n)&&ft(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function vt(e){return e.split("-")[0]}var yt=Math.max,wt=Math.min,Et=Math.round;function At(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Tt(){return!/^((?!chrome|android).)*safari/i.test(At())}function Ct(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,o=1;t&>(e)&&(s=e.offsetWidth>0&&Et(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Et(n.height)/e.offsetHeight||1);var r=(mt(e)?pt(e):window).visualViewport,a=!Tt()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,d=n.height/o;return{width:h,height:d,top:c,right:l+h,bottom:c+d,left:l,x:l,y:c}}function Ot(e){var t=Ct(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function xt(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&_t(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function kt(e){return pt(e).getComputedStyle(e)}function Lt(e){return["table","td","th"].indexOf(ft(e))>=0}function St(e){return((mt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Dt(e){return"html"===ft(e)?e:e.assignedSlot||e.parentNode||(_t(e)?e.host:null)||St(e)}function Nt(e){return gt(e)&&"fixed"!==kt(e).position?e.offsetParent:null}function It(e){for(var t=pt(e),i=Nt(e);i&&Lt(i)&&"static"===kt(i).position;)i=Nt(i);return i&&("html"===ft(i)||"body"===ft(i)&&"static"===kt(i).position)?t:i||function(e){var t=/firefox/i.test(At());if(/Trident/i.test(At())&>(e)&&"fixed"===kt(e).position)return null;var i=Dt(e);for(_t(i)&&(i=i.host);gt(i)&&["html","body"].indexOf(ft(i))<0;){var n=kt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function $t(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Pt(e,t,i){return yt(e,wt(t,i))}function jt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Mt(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}var Ht={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,s=e.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=vt(i.placement),l=$t(a),c=[Ke,Re].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(e,t){return jt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Mt(e,Xe))}(s.padding,i),d=Ot(o),u="y"===l?ze:Ke,f="y"===l?Ve:Re,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=It(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=Pt(v,w,y),A=l;i.modifiersData[n]=((t={})[A]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&("production"!==process.env.NODE_ENV&&(gt(n)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),xt(t.elements.popper,n)?t.elements.arrow=n:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qt(e){return e.split("-")[1]}var Wt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ft(e){var t,i=e.popper,n=e.popperRect,s=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,h=e.roundOffsets,d=e.isFixed,u=r.x,f=void 0===u?0:u,p=r.y,m=void 0===p?0:p,g="function"==typeof h?h({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=Ke,y=ze,w=window;if(c){var E=It(i),A="clientHeight",T="clientWidth";E===pt(i)&&"static"!==kt(E=St(i)).position&&"absolute"===a&&(A="scrollHeight",T="scrollWidth"),(s===ze||(s===Ke||s===Re)&&o===Ue)&&(y=Ve,m-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-n.height,m*=l?1:-1),s!==Ke&&(s!==ze&&s!==Ve||o!==Ue)||(v=Re,f-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[T])-n.width,f*=l?1:-1)}var C,O=Object.assign({position:a},c&&Wt),x=!0===h?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:Et(t*n)/n||0,y:Et(i*n)/n||0}}({x:f,y:m}):{x:f,y:m};return f=x.x,m=x.y,l?Object.assign({},O,((C={})[y]=b?"0":"",C[v]=_?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((t={})[y]=b?m+"px":"",t[v]=_?f+"px":"",t.transform="",t))}var Bt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.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;if("production"!==process.env.NODE_ENV){var c=kt(t.elements.popper).transitionProperty||"";r&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var h={placement:vt(t.placement),variation:qt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ft(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ft(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},zt={passive:!0},Vt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=pt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",i.update,zt)})),a&&l.addEventListener("resize",i.update,zt),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",i.update,zt)})),a&&l.removeEventListener("resize",i.update,zt)}},data:{}},Rt={left:"right",right:"left",bottom:"top",top:"bottom"};function Kt(e){return e.replace(/left|right|bottom|top/g,(function(e){return Rt[e]}))}var Qt={start:"end",end:"start"};function Xt(e){return e.replace(/start|end/g,(function(e){return Qt[e]}))}function Yt(e){var t=pt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ut(e){return Ct(St(e)).left+Yt(e).scrollLeft}function Gt(e){var t=kt(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Jt(e){return["html","body","#document"].indexOf(ft(e))>=0?e.ownerDocument.body:gt(e)&&Gt(e)?e:Jt(Dt(e))}function Zt(e,t){var i;void 0===t&&(t=[]);var n=Jt(e),s=n===(null==(i=e.ownerDocument)?void 0:i.body),o=pt(n),r=s?[o].concat(o.visualViewport||[],Gt(n)?n:[]):n,a=t.concat(r);return s?a:a.concat(Zt(Dt(r)))}function ei(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ti(e,t,i){return t===Je?ei(function(e,t){var i=pt(e),n=St(e),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Tt();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Ut(e),y:l}}(e,i)):mt(t)?function(e,t){var i=Ct(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):ei(function(e){var t,i=St(e),n=Yt(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=yt(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=yt(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Ut(e),l=-n.scrollTop;return"rtl"===kt(s||i).direction&&(a+=yt(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(St(e)))}function ii(e){var t,i=e.reference,n=e.element,s=e.placement,o=s?vt(s):null,r=s?qt(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case ze:t={x:a,y:i.y-n.height};break;case Ve:t={x:a,y:i.y+i.height};break;case Re:t={x:i.x+i.width,y:l};break;case Ke:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=o?$t(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case Ye:t[c]=t[c]-(i[h]/2-n[h]/2);break;case Ue:t[c]=t[c]+(i[h]/2-n[h]/2)}}return t}function ni(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,o=i.strategy,r=void 0===o?e.strategy:o,a=i.boundary,l=void 0===a?Ge:a,c=i.rootBoundary,h=void 0===c?Je:c,d=i.elementContext,u=void 0===d?Ze:d,f=i.altBoundary,p=void 0!==f&&f,m=i.padding,g=void 0===m?0:m,_=jt("number"!=typeof g?g:Mt(g,Xe)),b=u===Ze?et:Ze,v=e.rects.popper,y=e.elements[p?b:u],w=function(e,t,i,n){var s="clippingParents"===t?function(e){var t=Zt(Dt(e)),i=["absolute","fixed"].indexOf(kt(e).position)>=0&>(e)?It(e):e;return mt(i)?t.filter((function(e){return mt(e)&&xt(e,i)&&"body"!==ft(e)})):[]}(e):[].concat(t),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(t,i){var s=ti(e,i,n);return t.top=yt(s.top,t.top),t.right=wt(s.right,t.right),t.bottom=wt(s.bottom,t.bottom),t.left=yt(s.left,t.left),t}),ti(e,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(mt(y)?y:y.contextElement||St(e.elements.popper),l,h,r),E=Ct(e.elements.reference),A=ii({reference:E,element:v,strategy:"absolute",placement:s}),T=ei(Object.assign({},v,A)),C=u===Ze?T:E,O={top:w.top-C.top+_.top,bottom:C.bottom-w.bottom+_.bottom,left:w.left-C.left+_.left,right:C.right-w.right+_.right},x=e.modifiersData.offset;if(u===Ze&&x){var k=x[s];Object.keys(O).forEach((function(e){var t=[Re,Ve].indexOf(e)>=0?1:-1,i=[ze,Ve].indexOf(e)>=0?"y":"x";O[e]+=k[i]*t}))}return O}function si(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?it:l,h=qt(n),d=h?a?tt:tt.filter((function(e){return qt(e)===h})):Xe,u=d.filter((function(e){return c.indexOf(e)>=0}));0===u.length&&(u=d,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var f=u.reduce((function(t,i){return t[i]=ni(e,{placement:i,boundary:s,rootBoundary:o,padding:r})[vt(i)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var oi={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.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=t.options.placement,_=vt(g),b=l||(_!==g&&p?function(e){if(vt(e)===Qe)return[];var t=Kt(e);return[Xt(e),t,Xt(t)]}(g):[Kt(g)]),v=[g].concat(b).reduce((function(e,i){return e.concat(vt(i)===Qe?si(t,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),y=t.rects.reference,w=t.rects.popper,E=new Map,A=!0,T=v[0],C=0;C<v.length;C++){var O=v[C],x=vt(O),k=qt(O)===Ye,L=[ze,Ve].indexOf(x)>=0,S=L?"width":"height",D=ni(t,{placement:O,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),N=L?k?Re:Ke:k?Ve:ze;y[S]>w[S]&&(N=Kt(N));var I=Kt(N),$=[];if(o&&$.push(D[x]<=0),a&&$.push(D[N]<=0,D[I]<=0),$.every((function(e){return e}))){T=O,A=!1;break}E.set(O,$)}if(A)for(var P=function(e){var t=v.find((function(t){var i=E.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return T=t,"break"},j=p?3:1;j>0&&"break"!==P(j);j--);t.placement!==T&&(t.modifiersData[n]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ri(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function ai(e){return[ze,Re,Ve,Ke].some((function(t){return e[t]>=0}))}var li={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=ni(t,{elementContext:"reference"}),a=ni(t,{altBoundary:!0}),l=ri(r,n),c=ri(a,s,o),h=ai(l),d=ai(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},ci={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.offset,o=void 0===s?[0,0]:s,r=it.reduce((function(e,i){return e[i]=function(e,t,i){var n=vt(e),s=[Ke,ze].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},t,{placement:e})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[Ke,Re].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,t.rects,o),e}),{}),a=r[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=r}},hi={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=ii({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},di={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.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=ni(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=vt(t.placement),b=qt(t.placement),v=!b,y=$t(_),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,A=t.rects.reference,T=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(E){if(o){var L,S="y"===y?ze:Ke,D="y"===y?Ve:Re,N="y"===y?"height":"width",I=E[y],$=I+g[S],P=I-g[D],j=f?-T[N]/2:0,M=b===Ye?A[N]:T[N],H=b===Ye?-T[N]:-A[N],q=t.elements.arrow,W=f&&q?Ot(q):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[S],z=F[D],V=Pt(0,A[N],W[N]),R=v?A[N]/2-j-V-B-O.mainAxis:M-V-B-O.mainAxis,K=v?-A[N]/2+j+V+z+O.mainAxis:H+V+z+O.mainAxis,Q=t.elements.arrow&&It(t.elements.arrow),X=Q?"y"===y?Q.clientTop||0:Q.clientLeft||0:0,Y=null!=(L=null==x?void 0:x[y])?L:0,U=I+K-Y,G=Pt(f?wt($,I+R-Y-X):$,I,f?yt(P,U):P);E[y]=G,k[y]=G-I}if(a){var J,Z="x"===y?ze:Ke,ee="x"===y?Ve:Re,te=E[w],ie="y"===w?"height":"width",ne=te+g[Z],se=te-g[ee],oe=-1!==[ze,Ke].indexOf(_),re=null!=(J=null==x?void 0:x[w])?J:0,ae=oe?ne:te-A[ie]-T[ie]-re+O.altAxis,le=oe?te+A[ie]+T[ie]-re-O.altAxis:se,ce=f&&oe?function(e,t,i){var n=Pt(e,t,i);return n>i?i:n}(ae,te,le):Pt(f?ae:ne,te,f?le:se);E[w]=ce,k[w]=ce-te}t.modifiersData[n]=k}},requiresIfExists:["offset"]};function ui(e,t,i){void 0===i&&(i=!1);var n,s,o=gt(t),r=gt(t)&&function(e){var t=e.getBoundingClientRect(),i=Et(t.width)/e.offsetWidth||1,n=Et(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),a=St(t),l=Ct(e,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==ft(t)||Gt(a))&&(c=(n=t)!==pt(n)&>(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Yt(n)),gt(t)?((h=Ct(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):a&&(h.x=Ut(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function fi(e){var t=new Map,i=new Set,n=[];function s(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var n=t.get(e);n&&s(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||s(e)})),n}function pi(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return[].concat(i).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var mi='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',gi=["name","enabled","phase","fn","effect","requires","options"],_i="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",bi={placement:"bottom",modifiers:[],strategy:"absolute"};function vi(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function yi(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,s=t.defaultOptions,o=void 0===s?bi:s;return function(e,t,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},bi,o),modifiersData:{},elements:{reference:e,popper:t},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:mt(e)?Zt(e):e.contextElement?Zt(e.contextElement):[],popper:Zt(t)};var r,c,u,f,p,m=function(e){var t=fi(e);return ut.reduce((function(e,i){return e.concat(t.filter((function(e){return e.phase===i})))}),[])}((f=[].concat(n,a.options.modifiers),p=f.reduce((function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e}),{}),Object.keys(p).map((function(e){return p[e]}))));if(a.orderedModifiers=m.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){(function(e){e.forEach((function(t){[].concat(Object.keys(t),gi).filter((function(e,t,i){return i.indexOf(e)===t})).forEach((function(i){switch(i){case"name":"string"!=typeof t.name&&console.error(pi(mi,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(pi(mi,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":ut.indexOf(t.phase)<0&&console.error(pi(mi,t.name,'"phase"',"either "+ut.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(pi(mi,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(pi(mi,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(pi(mi,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(pi(mi,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+gi.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+i+'" was provided.')}t.requires&&t.requires.forEach((function(i){null==e.find((function(e){return e.name===i}))&&console.error(pi('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),i,i))}))}))}))})((r=[].concat(m,a.options.modifiers),c=function(e){return e.name},u=new Set,r.filter((function(e){var t=c(e);if(!u.has(t))return u.add(t),!0})))),vt(a.options.placement)===Qe&&(a.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var g=kt(t);[g.marginTop,g.marginRight,g.marginBottom,g.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return a.orderedModifiers.forEach((function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,s=e.effect;if("function"==typeof s){var o=s({state:a,name:t,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,i=e.popper;if(vi(t,i)){a.rects={reference:ui(t,It(i),"fixed"===a.options.strategy),popper:Ot(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0,s=0;s<a.orderedModifiers.length;s++){if("production"!==process.env.NODE_ENV&&(n+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==a.reset){var o=a.orderedModifiers[s],r=o.fn,l=o.options,d=void 0===l?{}:l,u=o.name;"function"==typeof r&&(a=r({state:a,options:d,name:u,instance:h})||a)}else a.reset=!1,s=-1}}else"production"!==process.env.NODE_ENV&&console.error(_i)}},update:(s=function(){return new Promise((function(e){h.forceUpdate(),e(a)}))},function(){return r||(r=new Promise((function(e){Promise.resolve().then((function(){r=void 0,e(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!vi(e,t))return"production"!==process.env.NODE_ENV&&console.error(_i),h;function d(){l.forEach((function(e){return e()})),l=[]}return h.setOptions(i).then((function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)})),h}}var wi=yi(),Ei=yi({defaultModifiers:[Vt,hi,Bt,bt]}),Ai=yi({defaultModifiers:[Vt,hi,Bt,bt,ci,oi,di,Ht,li]}),Ti=Object.freeze({__proto__:null,afterMain:lt,afterRead:ot,afterWrite:dt,applyStyles:bt,arrow:Ht,auto:Qe,basePlacements:Xe,beforeMain:rt,beforeRead:nt,beforeWrite:ct,bottom:Ve,clippingParents:Ge,computeStyles:Bt,createPopper:Ai,createPopperBase:wi,createPopperLite:Ei,detectOverflow:ni,end:Ue,eventListeners:Vt,flip:oi,hide:li,left:Ke,main:at,modifierPhases:ut,offset:ci,placements:it,popper:Ze,popperGenerator:yi,popperOffsets:hi,preventOverflow:di,read:st,reference:et,right:Re,start:Ye,top:ze,variationPlacements:tt,viewport:Je,write:ht});const Ci="dropdown",Oi=".bs.dropdown",xi=".data-api",ki="ArrowUp",Li="ArrowDown",Si=`hide${Oi}`,Di=`hidden${Oi}`,Ni=`show${Oi}`,Ii=`shown${Oi}`,$i=`click${Oi}${xi}`,Pi=`keydown${Oi}${xi}`,ji=`keyup${Oi}${xi}`,Mi="show",Hi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',qi=`${Hi}.${Mi}`,Wi=".dropdown-menu",Fi=p()?"top-end":"top-start",Bi=p()?"top-start":"top-end",zi=p()?"bottom-end":"bottom-start",Vi=p()?"bottom-start":"bottom-end",Ri=p()?"left-start":"right-start",Ki=p()?"right-start":"left-start",Qi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Xi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Yi extends B{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=U.next(this._element,Wi)[0]||U.prev(this._element,Wi)[0]||U.findOne(Wi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Qi}static get DefaultType(){return Xi}static get NAME(){return Ci}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!$.trigger(this._element,Ni,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))$.on(e,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Mi),this._element.classList.add(Mi),$.trigger(this._element,Ii,e)}}hide(){if(l(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!$.trigger(this._element,Si,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))$.off(e,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove(Mi),this._element.classList.remove(Mi),this._element.setAttribute("aria-expanded","false"),W.removeDataAttribute(this._menu,"popper"),$.trigger(this._element,Di,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!o(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Ci.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===Ti)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Ai(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Mi)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return Ri;if(e.classList.contains("dropstart"))return Ki;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Bi:Fi:t?Vi:zi}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(W.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const i=U.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>a(e)));i.length&&b(i,t,e===Li,!i.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Yi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=U.find(qi);for(const i of t){const t=Yi.getInstance(i);if(!t||!1===t._config.autoClose)continue;const n=e.composedPath(),s=n.includes(t._menu);if(n.includes(t._element)||"inside"===t._config.autoClose&&!s||"outside"===t._config.autoClose&&s)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const o={relatedTarget:t._element};"click"===e.type&&(o.clickEvent=e),t._completeHide(o)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=[ki,Li].includes(e.key);if(!n&&!i)return;if(t&&!i)return;e.preventDefault();const s=this.matches(Hi)?this:U.prev(this,Hi)[0]||U.next(this,Hi)[0]||U.findOne(Hi,e.delegateTarget.parentNode),o=Yi.getOrCreateInstance(s);if(n)return e.stopPropagation(),o.show(),void o._selectMenuItem(e);o._isShown()&&(e.stopPropagation(),o.hide(),s.focus())}}$.on(document,Pi,Hi,Yi.dataApiKeydownHandler),$.on(document,Pi,Wi,Yi.dataApiKeydownHandler),$.on(document,$i,Yi.clearMenus),$.on(document,ji,Yi.clearMenus),$.on(document,$i,Hi,(function(e){e.preventDefault(),Yi.getOrCreateInstance(this).toggle()})),m(Yi);const Ui={},Gi=".carousel-item.active";class Ji extends B{constructor(e,t){super(e,t),this.carousel=U.findOne(".carousel",this.element),this.carouselPager=U.findOne(".carousel-pager span",this.element),this.carouselStartIndex=e.getAttribute("data-gallery-start"),this.carouselActiveItem=U.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=U.findOne(".modal",this.element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(e){const t=U.findOne(Gi,this.carousel),i=e.relatedTarget;this.carouselLazyLoad(i),this.carouselPager.textContent=e.to+1,this.stopVideo(t)}stopSlide(){const e=U.findOne(Gi,this.carousel);this.stopVideo(e)}stopVideo(e){const t=U.findOne("iframe",e),i=U.findOne("video",e);t?t.src=t.dataset.src:i&&i.pause()}carouselLazyLoad(e){const t=U.findOne("[data-src]",e);t&&!t.src&&(t.src=t.dataset.src)}addEventListeners(){$.on(this.carousel,"slide.bs.carousel",(e=>this.setSlide(e))),$.on(this.modal,"hide.bs.modal",(e=>this.stopSlide(e)))}static get Default(){return Ui}static jQueryInterface(e){return this.each((function(){const t=Ji.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}$.on(document,"click.bs.gallery.data-api",".bcl-gallery__grid a, .bcl-gallery__mobile-view-more",(e=>{const t=e.target.closest("div.bcl-gallery"),i=e.target.parentNode.getAttribute("data-bs-slide-to");t.dataset.galleryStart=i,Ji.getOrCreateInstance(t)})),m(Ji);const Zi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",en=".sticky-top",tn="padding-right",nn="margin-right";class sn{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,tn,(t=>t+e)),this._setElementAttributes(Zi,tn,(t=>t+e)),this._setElementAttributes(en,nn,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,tn),this._resetElementAttributes(Zi,tn),this._resetElementAttributes(en,nn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const s=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(e,t){const i=e.style.getPropertyValue(t);i&&W.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const i=W.getDataAttribute(e,t);null!==i?(W.removeDataAttribute(e,t),e.style.setProperty(t,i)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(o(e))t(e);else for(const i of U.find(e,this._element))t(i)}}const on="backdrop",rn="show",an=`mousedown.bs.${on}`,ln={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},cn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class hn extends F{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return ln}static get DefaultType(){return cn}static get NAME(){return on}show(e){if(!this._config.isVisible)return void g(e);this._append();const t=this._getElement();this._config.isAnimated&&d(t),t.classList.add(rn),this._emulateAnimation((()=>{g(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(rn),this._emulateAnimation((()=>{this.dispose(),g(e)}))):g(e)}dispose(){this._isAppended&&($.off(this._element,an),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=r(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),$.on(e,an,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){_(e,this._getElement(),this._config.isAnimated)}}const dn=".bs.focustrap",un=`focusin${dn}`,fn=`keydown.tab${dn}`,pn="backward",mn={autofocus:!0,trapElement:null},gn={autofocus:"boolean",trapElement:"element"};class _n extends F{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return mn}static get DefaultType(){return gn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),$.off(document,dn),$.on(document,un,(e=>this._handleFocusin(e))),$.on(document,fn,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,$.off(document,dn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const i=U.focusableChildren(t);0===i.length?t.focus():this._lastTabNavDirection===pn?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?pn:"forward")}}const bn=".bs.modal",vn=`hide${bn}`,yn=`hidePrevented${bn}`,wn=`hidden${bn}`,En=`show${bn}`,An=`shown${bn}`,Tn=`resize${bn}`,Cn=`click.dismiss${bn}`,On=`mousedown.dismiss${bn}`,xn=`keydown.dismiss${bn}`,kn=`click${bn}.data-api`,Ln="modal-open",Sn="show",Dn="modal-static",Nn={backdrop:!0,focus:!0,keyboard:!0},In={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class $n extends B{constructor(e,t){super(e,t),this._dialog=U.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new sn,this._addEventListeners()}static get Default(){return Nn}static get DefaultType(){return In}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||$.trigger(this._element,En,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ln),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&($.trigger(this._element,vn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Sn),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const e of[window,this._dialog])$.off(e,bn);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new hn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new _n({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=U.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),d(this._element),this._element.classList.add(Sn),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,$.trigger(this._element,An,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){$.on(this._element,xn,(e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),$.on(window,Tn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),$.on(this._element,On,(e=>{$.one(this._element,Cn,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Ln),this._resetAdjustments(),this._scrollBar.reset(),$.trigger(this._element,wn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if($.trigger(this._element,yn).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Dn)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Dn),this._queueCallback((()=>{this._element.classList.remove(Dn),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;if(i&&!e){const e=p()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!i&&e){const e=p()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const i=$n.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}}))}}$.on(document,kn,'[data-bs-toggle="modal"]',(function(e){const t=n(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),$.one(t,En,(e=>{e.defaultPrevented||$.one(t,wn,(()=>{a(this)&&this.focus()}))}));const i=U.findOne(".modal.show");i&&$n.getInstance(i).hide(),$n.getOrCreateInstance(t).toggle(this)})),z($n),m($n);const Pn=".bs.offcanvas",jn=".data-api",Mn=`load${Pn}${jn}`,Hn="show",qn="showing",Wn="hiding",Fn=".offcanvas.show",Bn=`show${Pn}`,zn=`shown${Pn}`,Vn=`hide${Pn}`,Rn=`hidePrevented${Pn}`,Kn=`hidden${Pn}`,Qn=`resize${Pn}`,Xn=`click${Pn}${jn}`,Yn=`keydown.dismiss${Pn}`,Un={backdrop:!0,keyboard:!0,scroll:!1},Gn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Jn extends B{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Un}static get DefaultType(){return Gn}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||$.trigger(this._element,Bn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new sn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qn),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Hn),this._element.classList.remove(qn),$.trigger(this._element,zn,{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&($.trigger(this._element,Vn).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Wn),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Hn,Wn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new sn).reset(),$.trigger(this._element,Kn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new hn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():$.trigger(this._element,Rn)}:null})}_initializeFocusTrap(){return new _n({trapElement:this._element})}_addEventListeners(){$.on(this._element,Yn,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():$.trigger(this._element,Rn))}))}static jQueryInterface(e){return this.each((function(){const t=Jn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}$.on(document,Xn,'[data-bs-toggle="offcanvas"]',(function(e){const t=n(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;$.one(t,Kn,(()=>{a(this)&&this.focus()}));const i=U.findOne(Fn);i&&i!==t&&Jn.getInstance(i).hide(),Jn.getOrCreateInstance(t).toggle(this)})),$.on(window,Mn,(()=>{for(const e of U.find(Fn))Jn.getOrCreateInstance(e).show()})),$.on(window,Qn,(()=>{for(const e of U.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Jn.getOrCreateInstance(e).hide()})),z(Jn),m(Jn);const Zn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),es=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,ts=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,is=(e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!Zn.has(i)||Boolean(es.test(e.nodeValue)||ts.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(i)))},ns={"*":["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:[]},ss={allowList:ns,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},os={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},rs={entry:"(string|element|function|null)",selector:"(string|element)"};class as extends F{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ss}static get DefaultType(){return os}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,i]of Object.entries(this._config.content))this._setContent(e,i,t);const t=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&t.classList.add(...i.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},rs)}_setContent(e,t,i){const n=U.findOne(i,e);n&&((t=this._resolvePossibleFunction(t))?o(t)?this._putElementInTemplate(r(t),n):this._config.html?n.innerHTML=this._maybeSanitize(t):n.textContent=t:n.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const e of s){const i=e.nodeName.toLowerCase();if(!Object.keys(t).includes(i)){e.remove();continue}const n=[].concat(...e.attributes),s=[].concat(t["*"]||[],t[i]||[]);for(const t of n)is(t,s)||e.removeAttribute(t.nodeName)}return n.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"==typeof e?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const ls=new Set(["sanitize","allowList","sanitizeFn"]),cs="fade",hs="show",ds=".modal",us="hide.bs.modal",fs="hover",ps="focus",ms={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},gs={allowList:ns,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},_s={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class bs extends B{constructor(e,t){if(void 0===Ti)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return gs}static get DefaultType(){return _s}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),$.off(this._element.closest(ds),us,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=$.trigger(this._element,this.constructor.eventName("show")),t=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),$.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(hs),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))$.on(e,"mouseover",h);this._queueCallback((()=>{$.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!$.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(hs),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))$.off(e,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger[ps]=!1,this._activeTrigger[fs]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),$.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(cs,hs),t.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",i),this._isAnimated()&&t.classList.add(cs),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new as({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(cs)}_isShown(){return this.tip&&this.tip.classList.contains(hs)}_createPopper(e){const t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,i=ms[t.toUpperCase()];return Ai(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)$.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===fs?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===fs?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");$.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?ps:fs]=!0,t._enter()})),$.on(this._element,i,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?ps:fs]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},$.on(this._element.closest(ds),us,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=W.getDataAttributes(this._element);for(const e of Object.keys(t))ls.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:r(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=bs.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(bs);const vs={...bs.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ys={...bs.DefaultType,content:"(null|string|element|function)"};class ws extends bs{static get Default(){return vs}static get DefaultType(){return ys}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=ws.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(ws);const Es=".bs.scrollspy",As=`activate${Es}`,Ts=`click${Es}`,Cs=`load${Es}.data-api`,Os="active",xs="[href]",ks=".nav-link",Ls=`${ks}, .nav-item > ${ks}, .list-group-item`,Ss={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ds={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ns extends B{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ss}static get DefaultType(){return Ds}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=r(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&($.off(this._config.target,Ts),$.on(this._config.target,Ts,xs,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const i=this._rootElement||window,n=t.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(o));continue}const e=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&e){if(i(o),!n)return}else s||e||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=U.find(xs,this._config.target);for(const t of e){if(!t.hash||l(t))continue;const e=U.findOne(t.hash,this._element);a(e)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Os),this._activateParents(e),$.trigger(this._element,As,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))U.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Os);else for(const t of U.parents(e,".nav, .list-group"))for(const e of U.prev(t,Ls))e.classList.add(Os)}_clearActiveClass(e){e.classList.remove(Os);const t=U.find(`${xs}.${Os}`,e);for(const e of t)e.classList.remove(Os)}static jQueryInterface(e){return this.each((function(){const t=Ns.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}$.on(window,Cs,(()=>{for(const e of U.find('[data-bs-spy="scroll"]'))Ns.getOrCreateInstance(e)})),m(Ns);const Is=".bs.tab",$s=`hide${Is}`,Ps=`hidden${Is}`,js=`show${Is}`,Ms=`shown${Is}`,Hs=`click${Is}`,qs=`keydown${Is}`,Ws=`load${Is}`,Fs="ArrowLeft",Bs="ArrowRight",zs="ArrowUp",Vs="ArrowDown",Rs="active",Ks="fade",Qs="show",Xs=":not(.dropdown-toggle)",Ys='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Us=`.nav-link${Xs}, .list-group-item${Xs}, [role="tab"]${Xs}, ${Ys}`,Gs=`.${Rs}[data-bs-toggle="tab"], .${Rs}[data-bs-toggle="pill"], .${Rs}[data-bs-toggle="list"]`;class Js extends B{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),$.on(this._element,qs,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),i=t?$.trigger(t,$s,{relatedTarget:e}):null;$.trigger(e,js,{relatedTarget:t}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Rs),this._activate(n(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),$.trigger(e,Ms,{relatedTarget:t})):e.classList.add(Qs)}),e,e.classList.contains(Ks)))}_deactivate(e,t){e&&(e.classList.remove(Rs),e.blur(),this._deactivate(n(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),$.trigger(e,Ps,{relatedTarget:t})):e.classList.remove(Qs)}),e,e.classList.contains(Ks)))}_keydown(e){if(![Fs,Bs,zs,Vs].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Bs,Vs].includes(e.key),i=b(this._getChildren().filter((e=>!l(e))),e.target,t,!0);i&&(i.focus({preventScroll:!0}),Js.getOrCreateInstance(i).show())}_getChildren(){return U.find(Us,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=n(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains("dropdown"))return;const n=(e,n)=>{const s=U.findOne(e,i);s&&s.classList.toggle(n,t)};n(".dropdown-toggle",Rs),n(".dropdown-menu",Qs),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(Rs)}_getInnerElement(e){return e.matches(Us)?e:U.findOne(Us,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Js.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}$.on(document,Hs,Ys,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||Js.getOrCreateInstance(this).show()})),$.on(window,Ws,(()=>{for(const e of U.find(Gs))Js.getOrCreateInstance(e)})),m(Js);const Zs=".bs.toast",eo=`mouseover${Zs}`,to=`mouseout${Zs}`,io=`focusin${Zs}`,no=`focusout${Zs}`,so=`hide${Zs}`,oo=`hidden${Zs}`,ro=`show${Zs}`,ao=`shown${Zs}`,lo="hide",co="show",ho="showing",uo={animation:"boolean",autohide:"boolean",delay:"number"},fo={animation:!0,autohide:!0,delay:5e3};class po extends B{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return fo}static get DefaultType(){return uo}static get NAME(){return"toast"}show(){$.trigger(this._element,ro).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(lo),d(this._element),this._element.classList.add(co,ho),this._queueCallback((()=>{this._element.classList.remove(ho),$.trigger(this._element,ao),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&($.trigger(this._element,so).defaultPrevented||(this._element.classList.add(ho),this._queueCallback((()=>{this._element.classList.add(lo),this._element.classList.remove(ho,co),$.trigger(this._element,oo)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(co),super.dispose()}isShown(){return this._element.classList.contains(co)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){$.on(this._element,eo,(e=>this._onInteraction(e,!0))),$.on(this._element,to,(e=>this._onInteraction(e,!1))),$.on(this._element,io,(e=>this._onInteraction(e,!0))),$.on(this._element,no,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=po.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return z(po),m(po),{Alert:Q,Button:Y,Carousel:ke,Collapse:Be,Dropdown:Yi,Gallery:Ji,Modal:$n,Offcanvas:Jn,Popover:ws,ScrollSpy:Ns,Tab:Js,Toast:po,Tooltip:bs}}));
|
|
2
2
|
//# sourceMappingURL=oe-bcl-joinup.umd.min.js.map
|