@openeuropa/bcl-theme-joinup 0.28.1 → 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.
Files changed (538) hide show
  1. package/css/oe-bcl-joinup.css +153 -149
  2. package/css/oe-bcl-joinup.css.map +1 -1
  3. package/css/oe-bcl-joinup.min.css +1 -1
  4. package/css/oe-bcl-joinup.min.css.map +1 -1
  5. package/icons/bcl-default-icons.svg +1 -1
  6. package/icons/bootstrap-icons.svg +1 -1
  7. package/icons/icons-flag.svg +1 -1
  8. package/js/oe-bcl-joinup.bundle.js +566 -1552
  9. package/js/oe-bcl-joinup.bundle.js.map +1 -1
  10. package/js/oe-bcl-joinup.bundle.min.js +1 -1
  11. package/js/oe-bcl-joinup.bundle.min.js.map +1 -1
  12. package/js/oe-bcl-joinup.esm.js +412 -1218
  13. package/js/oe-bcl-joinup.esm.js.map +1 -1
  14. package/js/oe-bcl-joinup.esm.min.js +1 -1
  15. package/js/oe-bcl-joinup.esm.min.js.map +1 -1
  16. package/js/oe-bcl-joinup.umd.js +570 -1583
  17. package/js/oe-bcl-joinup.umd.js.map +1 -1
  18. package/js/oe-bcl-joinup.umd.min.js +1 -1
  19. package/js/oe-bcl-joinup.umd.min.js.map +1 -1
  20. package/logos/ec/logo-ec--mute.svg +220 -45
  21. package/logos/ec/negative/logo-ec--ar.svg +388 -67
  22. package/logos/ec/negative/logo-ec--bg.svg +247 -58
  23. package/logos/ec/negative/logo-ec--ca.svg +403 -69
  24. package/logos/ec/negative/logo-ec--cs.svg +423 -67
  25. package/logos/ec/negative/logo-ec--da.svg +453 -72
  26. package/logos/ec/negative/logo-ec--de.svg +465 -74
  27. package/logos/ec/negative/logo-ec--el.svg +441 -70
  28. package/logos/ec/negative/logo-ec--en.svg +447 -71
  29. package/logos/ec/negative/logo-ec--es.svg +429 -68
  30. package/logos/ec/negative/logo-ec--et.svg +429 -68
  31. package/logos/ec/negative/logo-ec--fi.svg +435 -69
  32. package/logos/ec/negative/logo-ec--fr.svg +459 -73
  33. package/logos/ec/negative/logo-ec--ga.svg +447 -71
  34. package/logos/ec/negative/logo-ec--hr.svg +435 -69
  35. package/logos/ec/negative/logo-ec--hu.svg +245 -57
  36. package/logos/ec/negative/logo-ec--is.svg +475 -87
  37. package/logos/ec/negative/logo-ec--it.svg +462 -73
  38. package/logos/ec/negative/logo-ec--jp.svg +348 -57
  39. package/logos/ec/negative/logo-ec--lb.svg +427 -75
  40. package/logos/ec/negative/logo-ec--lt.svg +429 -68
  41. package/logos/ec/negative/logo-ec--lv.svg +429 -68
  42. package/logos/ec/negative/logo-ec--mt.svg +480 -76
  43. package/logos/ec/negative/logo-ec--nl.svg +441 -70
  44. package/logos/ec/negative/logo-ec--no.svg +411 -71
  45. package/logos/ec/negative/logo-ec--pl.svg +441 -70
  46. package/logos/ec/negative/logo-ec--pt.svg +245 -57
  47. package/logos/ec/negative/logo-ec--ro.svg +456 -72
  48. package/logos/ec/negative/logo-ec--ru.svg +419 -73
  49. package/logos/ec/negative/logo-ec--sk.svg +429 -68
  50. package/logos/ec/negative/logo-ec--sl.svg +435 -69
  51. package/logos/ec/negative/logo-ec--sv.svg +471 -75
  52. package/logos/ec/negative/logo-ec--sw.svg +521 -101
  53. package/logos/ec/negative/logo-ec--tr.svg +403 -69
  54. package/logos/ec/negative/logo-ec--uk.svg +415 -72
  55. package/logos/ec/negative/logo-ec--zh.svg +348 -57
  56. package/logos/ec/positive/logo-ec--ar.svg +382 -66
  57. package/logos/ec/positive/logo-ec--bg.svg +363 -122
  58. package/logos/ec/positive/logo-ec--ca.svg +397 -68
  59. package/logos/ec/positive/logo-ec--cs.svg +321 -109
  60. package/logos/ec/positive/logo-ec--da.svg +346 -119
  61. package/logos/ec/positive/logo-ec--de.svg +357 -119
  62. package/logos/ec/positive/logo-ec--el.svg +336 -115
  63. package/logos/ec/positive/logo-ec--en.svg +341 -117
  64. package/logos/ec/positive/logo-ec--es.svg +326 -111
  65. package/logos/ec/positive/logo-ec--et.svg +326 -111
  66. package/logos/ec/positive/logo-ec--fi.svg +331 -113
  67. package/logos/ec/positive/logo-ec--fr.svg +233 -1
  68. package/logos/ec/positive/logo-ec--ga.svg +341 -117
  69. package/logos/ec/positive/logo-ec--hr.svg +331 -113
  70. package/logos/ec/positive/logo-ec--hu.svg +330 -113
  71. package/logos/ec/positive/logo-ec--is.svg +469 -86
  72. package/logos/ec/positive/logo-ec--it.svg +341 -117
  73. package/logos/ec/positive/logo-ec--jp.svg +357 -58
  74. package/logos/ec/positive/logo-ec--lb.svg +421 -74
  75. package/logos/ec/positive/logo-ec--lt.svg +326 -111
  76. package/logos/ec/positive/logo-ec--lv.svg +326 -111
  77. package/logos/ec/positive/logo-ec--mt.svg +353 -122
  78. package/logos/ec/positive/logo-ec--nl.svg +336 -115
  79. package/logos/ec/positive/logo-ec--no.svg +405 -70
  80. package/logos/ec/positive/logo-ec--pl.svg +336 -115
  81. package/logos/ec/positive/logo-ec--pt.svg +331 -113
  82. package/logos/ec/positive/logo-ec--ro.svg +331 -113
  83. package/logos/ec/positive/logo-ec--ru.svg +413 -72
  84. package/logos/ec/positive/logo-ec--sk.svg +328 -113
  85. package/logos/ec/positive/logo-ec--sl.svg +331 -113
  86. package/logos/ec/positive/logo-ec--sv.svg +361 -125
  87. package/logos/ec/positive/logo-ec--sw.svg +366 -62
  88. package/logos/ec/positive/logo-ec--tr.svg +397 -68
  89. package/logos/ec/positive/logo-ec--uk.svg +409 -71
  90. package/logos/ec/positive/logo-ec--zh.svg +357 -58
  91. package/logos/eu/condensed-version/negative/logo-eu--ar.svg +72 -17
  92. package/logos/eu/condensed-version/negative/logo-eu--bg.svg +32 -6
  93. package/logos/eu/condensed-version/negative/logo-eu--ca.svg +28 -6
  94. package/logos/eu/condensed-version/negative/logo-eu--cs.svg +32 -6
  95. package/logos/eu/condensed-version/negative/logo-eu--da.svg +32 -6
  96. package/logos/eu/condensed-version/negative/logo-eu--de.svg +32 -6
  97. package/logos/eu/condensed-version/negative/logo-eu--el.svg +32 -6
  98. package/logos/eu/condensed-version/negative/logo-eu--en.svg +32 -6
  99. package/logos/eu/condensed-version/negative/logo-eu--es.svg +32 -6
  100. package/logos/eu/condensed-version/negative/logo-eu--et.svg +32 -6
  101. package/logos/eu/condensed-version/negative/logo-eu--fi.svg +32 -6
  102. package/logos/eu/condensed-version/negative/logo-eu--fr.svg +32 -6
  103. package/logos/eu/condensed-version/negative/logo-eu--ga.svg +32 -6
  104. package/logos/eu/condensed-version/negative/logo-eu--hr.svg +32 -6
  105. package/logos/eu/condensed-version/negative/logo-eu--hu.svg +32 -6
  106. package/logos/eu/condensed-version/negative/logo-eu--is.svg +32 -7
  107. package/logos/eu/condensed-version/negative/logo-eu--it.svg +32 -6
  108. package/logos/eu/condensed-version/negative/logo-eu--jp.svg +37 -6
  109. package/logos/eu/condensed-version/negative/logo-eu--lb.svg +37 -6
  110. package/logos/eu/condensed-version/negative/logo-eu--lt.svg +32 -6
  111. package/logos/eu/condensed-version/negative/logo-eu--lv.svg +32 -6
  112. package/logos/eu/condensed-version/negative/logo-eu--mt.svg +32 -6
  113. package/logos/eu/condensed-version/negative/logo-eu--nl.svg +32 -6
  114. package/logos/eu/condensed-version/negative/logo-eu--no.svg +28 -6
  115. package/logos/eu/condensed-version/negative/logo-eu--pl.svg +32 -6
  116. package/logos/eu/condensed-version/negative/logo-eu--pt.svg +32 -6
  117. package/logos/eu/condensed-version/negative/logo-eu--ro.svg +32 -6
  118. package/logos/eu/condensed-version/negative/logo-eu--ru.svg +37 -6
  119. package/logos/eu/condensed-version/negative/logo-eu--sk.svg +32 -6
  120. package/logos/eu/condensed-version/negative/logo-eu--sl.svg +32 -6
  121. package/logos/eu/condensed-version/negative/logo-eu--sv.svg +32 -6
  122. package/logos/eu/condensed-version/negative/logo-eu--sw.svg +32 -6
  123. package/logos/eu/condensed-version/negative/logo-eu--tr.svg +28 -6
  124. package/logos/eu/condensed-version/negative/logo-eu--uk.svg +37 -6
  125. package/logos/eu/condensed-version/negative/logo-eu--zh.svg +28 -6
  126. package/logos/eu/condensed-version/positive/logo-eu--ar.svg +79 -18
  127. package/logos/eu/condensed-version/positive/logo-eu--bg.svg +45 -9
  128. package/logos/eu/condensed-version/positive/logo-eu--ca.svg +28 -5
  129. package/logos/eu/condensed-version/positive/logo-eu--cs.svg +45 -9
  130. package/logos/eu/condensed-version/positive/logo-eu--da.svg +45 -9
  131. package/logos/eu/condensed-version/positive/logo-eu--de.svg +45 -9
  132. package/logos/eu/condensed-version/positive/logo-eu--el.svg +45 -9
  133. package/logos/eu/condensed-version/positive/logo-eu--en.svg +45 -9
  134. package/logos/eu/condensed-version/positive/logo-eu--es.svg +45 -9
  135. package/logos/eu/condensed-version/positive/logo-eu--et.svg +40 -8
  136. package/logos/eu/condensed-version/positive/logo-eu--fi.svg +45 -9
  137. package/logos/eu/condensed-version/positive/logo-eu--fr.svg +40 -8
  138. package/logos/eu/condensed-version/positive/logo-eu--ga.svg +40 -8
  139. package/logos/eu/condensed-version/positive/logo-eu--hr.svg +40 -8
  140. package/logos/eu/condensed-version/positive/logo-eu--hu.svg +40 -8
  141. package/logos/eu/condensed-version/positive/logo-eu--is.svg +32 -6
  142. package/logos/eu/condensed-version/positive/logo-eu--it.svg +40 -8
  143. package/logos/eu/condensed-version/positive/logo-eu--jp.svg +22 -5
  144. package/logos/eu/condensed-version/positive/logo-eu--lb.svg +22 -5
  145. package/logos/eu/condensed-version/positive/logo-eu--lt.svg +40 -8
  146. package/logos/eu/condensed-version/positive/logo-eu--lv.svg +40 -8
  147. package/logos/eu/condensed-version/positive/logo-eu--mt.svg +40 -8
  148. package/logos/eu/condensed-version/positive/logo-eu--nl.svg +40 -8
  149. package/logos/eu/condensed-version/positive/logo-eu--no.svg +28 -5
  150. package/logos/eu/condensed-version/positive/logo-eu--pl.svg +40 -8
  151. package/logos/eu/condensed-version/positive/logo-eu--pt.svg +40 -8
  152. package/logos/eu/condensed-version/positive/logo-eu--ro.svg +40 -8
  153. package/logos/eu/condensed-version/positive/logo-eu--ru.svg +22 -5
  154. package/logos/eu/condensed-version/positive/logo-eu--sk.svg +44 -9
  155. package/logos/eu/condensed-version/positive/logo-eu--sl.svg +40 -8
  156. package/logos/eu/condensed-version/positive/logo-eu--sv.svg +40 -8
  157. package/logos/eu/condensed-version/positive/logo-eu--sw.svg +26 -5
  158. package/logos/eu/condensed-version/positive/logo-eu--tr.svg +28 -5
  159. package/logos/eu/condensed-version/positive/logo-eu--uk.svg +22 -5
  160. package/logos/eu/condensed-version/positive/logo-eu--zh.svg +22 -5
  161. package/logos/eu/logo-eu--mute.svg +30 -6
  162. package/logos/eu/standard-version/negative/logo-eu--ar.svg +72 -17
  163. package/logos/eu/standard-version/negative/logo-eu--bg.svg +92 -16
  164. package/logos/eu/standard-version/negative/logo-eu--ca.svg +64 -15
  165. package/logos/eu/standard-version/negative/logo-eu--cs.svg +92 -16
  166. package/logos/eu/standard-version/negative/logo-eu--da.svg +128 -22
  167. package/logos/eu/standard-version/negative/logo-eu--de.svg +116 -20
  168. package/logos/eu/standard-version/negative/logo-eu--el.svg +104 -18
  169. package/logos/eu/standard-version/negative/logo-eu--en.svg +84 -17
  170. package/logos/eu/standard-version/negative/logo-eu--es.svg +92 -16
  171. package/logos/eu/standard-version/negative/logo-eu--et.svg +86 -15
  172. package/logos/eu/standard-version/negative/logo-eu--fi.svg +104 -18
  173. package/logos/eu/standard-version/negative/logo-eu--fr.svg +110 -19
  174. package/logos/eu/standard-version/negative/logo-eu--ga.svg +106 -20
  175. package/logos/eu/standard-version/negative/logo-eu--hr.svg +98 -17
  176. package/logos/eu/standard-version/negative/logo-eu--hu.svg +86 -15
  177. package/logos/eu/standard-version/negative/logo-eu--is.svg +80 -19
  178. package/logos/eu/standard-version/negative/logo-eu--it.svg +98 -17
  179. package/logos/eu/standard-version/negative/logo-eu--jp.svg +36 -8
  180. package/logos/eu/standard-version/negative/logo-eu--lb.svg +84 -20
  181. package/logos/eu/standard-version/negative/logo-eu--lt.svg +104 -18
  182. package/logos/eu/standard-version/negative/logo-eu--lv.svg +116 -20
  183. package/logos/eu/standard-version/negative/logo-eu--mt.svg +104 -18
  184. package/logos/eu/standard-version/negative/logo-eu--nl.svg +92 -16
  185. package/logos/eu/standard-version/negative/logo-eu--no.svg +80 -19
  186. package/logos/eu/standard-version/negative/logo-eu--pl.svg +104 -18
  187. package/logos/eu/standard-version/negative/logo-eu--pt.svg +98 -17
  188. package/logos/eu/standard-version/negative/logo-eu--ro.svg +116 -20
  189. package/logos/eu/standard-version/negative/logo-eu--ru.svg +80 -19
  190. package/logos/eu/standard-version/negative/logo-eu--sk.svg +92 -16
  191. package/logos/eu/standard-version/negative/logo-eu--sl.svg +98 -17
  192. package/logos/eu/standard-version/negative/logo-eu--sv.svg +122 -21
  193. package/logos/eu/standard-version/negative/logo-eu--sw.svg +65 -16
  194. package/logos/eu/standard-version/negative/logo-eu--tr.svg +69 -17
  195. package/logos/eu/standard-version/negative/logo-eu--uk.svg +84 -20
  196. package/logos/eu/standard-version/negative/logo-eu--zh.svg +36 -8
  197. package/logos/eu/standard-version/positive/logo-eu--ar.svg +76 -17
  198. package/logos/eu/standard-version/positive/logo-eu--bg.svg +98 -22
  199. package/logos/eu/standard-version/positive/logo-eu--ca.svg +64 -14
  200. package/logos/eu/standard-version/positive/logo-eu--cs.svg +90 -20
  201. package/logos/eu/standard-version/positive/logo-eu--da.svg +114 -26
  202. package/logos/eu/standard-version/positive/logo-eu--de.svg +106 -24
  203. package/logos/eu/standard-version/positive/logo-eu--el.svg +98 -22
  204. package/logos/eu/standard-version/positive/logo-eu--en.svg +96 -21
  205. package/logos/eu/standard-version/positive/logo-eu--es.svg +90 -20
  206. package/logos/eu/standard-version/positive/logo-eu--et.svg +86 -19
  207. package/logos/eu/standard-version/positive/logo-eu--fi.svg +98 -22
  208. package/logos/eu/standard-version/positive/logo-eu--fr.svg +102 -23
  209. package/logos/eu/standard-version/positive/logo-eu--ga.svg +108 -24
  210. package/logos/eu/standard-version/positive/logo-eu--hr.svg +94 -21
  211. package/logos/eu/standard-version/positive/logo-eu--hu.svg +86 -19
  212. package/logos/eu/standard-version/positive/logo-eu--is.svg +80 -18
  213. package/logos/eu/standard-version/positive/logo-eu--it.svg +94 -21
  214. package/logos/eu/standard-version/positive/logo-eu--jp.svg +30 -7
  215. package/logos/eu/standard-version/positive/logo-eu--lb.svg +78 -19
  216. package/logos/eu/standard-version/positive/logo-eu--lt.svg +98 -22
  217. package/logos/eu/standard-version/positive/logo-eu--lv.svg +106 -24
  218. package/logos/eu/standard-version/positive/logo-eu--mt.svg +99 -22
  219. package/logos/eu/standard-version/positive/logo-eu--nl.svg +90 -20
  220. package/logos/eu/standard-version/positive/logo-eu--no.svg +80 -18
  221. package/logos/eu/standard-version/positive/logo-eu--pl.svg +98 -22
  222. package/logos/eu/standard-version/positive/logo-eu--pt.svg +94 -21
  223. package/logos/eu/standard-version/positive/logo-eu--ro.svg +106 -24
  224. package/logos/eu/standard-version/positive/logo-eu--ru.svg +74 -18
  225. package/logos/eu/standard-version/positive/logo-eu--sk.svg +90 -20
  226. package/logos/eu/standard-version/positive/logo-eu--sl.svg +94 -21
  227. package/logos/eu/standard-version/positive/logo-eu--sv.svg +110 -25
  228. package/logos/eu/standard-version/positive/logo-eu--sw.svg +59 -15
  229. package/logos/eu/standard-version/positive/logo-eu--tr.svg +69 -16
  230. package/logos/eu/standard-version/positive/logo-eu--uk.svg +78 -19
  231. package/logos/eu/standard-version/positive/logo-eu--zh.svg +30 -7
  232. package/package.json +12 -12
  233. package/templates/bcl-accordion/accordion.html.twig +1 -1
  234. package/templates/bcl-badge/badge.html.twig +29 -28
  235. package/templates/bcl-banner/banner.html.twig +4 -4
  236. package/templates/bcl-base-templates/content-type.html.twig +5 -5
  237. package/templates/bcl-breadcrumb/breadcrumb.html.twig +1 -1
  238. package/templates/bcl-button/button.html.twig +6 -6
  239. package/templates/bcl-button-group/button-group.html.twig +3 -3
  240. package/templates/bcl-card/card.html.twig +3 -4
  241. package/templates/bcl-card-layout/card-layout.html.twig +2 -2
  242. package/templates/bcl-carousel/carousel.html.twig +7 -10
  243. package/templates/bcl-content-banner/content-banner.html.twig +23 -8
  244. package/templates/bcl-description-list/description-list.html.twig +4 -5
  245. package/templates/bcl-dropdown/dropdown.html.twig +7 -7
  246. package/templates/bcl-fact-figures/fact-figures.html.twig +3 -3
  247. package/templates/bcl-featured-media/featured-media.html.twig +16 -16
  248. package/templates/bcl-file/file-translations.html.twig +1 -1
  249. package/templates/bcl-file/file.html.twig +2 -2
  250. package/templates/bcl-footer/footer.html.twig +3 -2
  251. package/templates/bcl-form/form.html.twig +2 -2
  252. package/templates/bcl-form-input/form-input.html.twig +12 -12
  253. package/templates/bcl-gallery/gallery-item.html.twig +7 -6
  254. package/templates/bcl-gallery/gallery.html.twig +120 -79
  255. package/templates/bcl-header/header.html.twig +3 -2
  256. package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +3 -5
  257. package/templates/bcl-language-list/language-list.html.twig +2 -2
  258. package/templates/bcl-language-switcher/language-switcher.html.twig +3 -3
  259. package/templates/bcl-link/link.html.twig +3 -3
  260. package/templates/bcl-links-block/links-block.html.twig +1 -1
  261. package/templates/bcl-list-group/list-group.html.twig +3 -3
  262. package/templates/bcl-listing/listing.html.twig +1 -1
  263. package/templates/bcl-modal/modal.html.twig +4 -4
  264. package/templates/bcl-navbar/navbar.html.twig +1 -1
  265. package/templates/bcl-navigation/navigation.html.twig +10 -10
  266. package/templates/bcl-offcanvas/offcanvas.html.twig +2 -2
  267. package/templates/bcl-pagination/pagination-item.html.twig +73 -0
  268. package/templates/bcl-pagination/pagination.html.twig +103 -223
  269. package/templates/bcl-progress/progress.html.twig +3 -3
  270. package/templates/bcl-project/project.html.twig +14 -29
  271. package/templates/bcl-project-status/project-contributions.html.twig +2 -2
  272. package/templates/bcl-project-status/project-status.html.twig +3 -4
  273. package/templates/bcl-recent-activities/recent-activities.html.twig +1 -1
  274. package/templates/bcl-search-form/search-form.html.twig +1 -1
  275. package/templates/bcl-select/select.html.twig +22 -8
  276. package/templates/bcl-subscription/subscription-modal.html.twig +1 -1
  277. package/templates/bcl-table/table.html.twig +8 -8
  278. package/templates/bcl-textarea/textarea.html.twig +8 -8
  279. package/templates/bcl-timeline/timeline.html.twig +2 -2
  280. package/templates/bcl-toast/toasts.html.twig +4 -4
  281. package/templates/bcl-user/user-compact.html.twig +1 -1
  282. package/icons/world-flags/ad.svg +0 -154
  283. package/icons/world-flags/ae.svg +0 -6
  284. package/icons/world-flags/af.svg +0 -1
  285. package/icons/world-flags/ag.svg +0 -1
  286. package/icons/world-flags/ai.svg +0 -1
  287. package/icons/world-flags/al.svg +0 -1
  288. package/icons/world-flags/am.svg +0 -5
  289. package/icons/world-flags/an.svg +0 -24
  290. package/icons/world-flags/ao.svg +0 -1
  291. package/icons/world-flags/aq.svg +0 -1
  292. package/icons/world-flags/ar.svg +0 -33
  293. package/icons/world-flags/as.svg +0 -1
  294. package/icons/world-flags/at.svg +0 -4
  295. package/icons/world-flags/au.svg +0 -1
  296. package/icons/world-flags/aw.svg +0 -1
  297. package/icons/world-flags/ax.svg +0 -11
  298. package/icons/world-flags/az.svg +0 -8
  299. package/icons/world-flags/ba.svg +0 -11
  300. package/icons/world-flags/bb.svg +0 -7
  301. package/icons/world-flags/bd.svg +0 -4
  302. package/icons/world-flags/be.svg +0 -5
  303. package/icons/world-flags/bf.svg +0 -14
  304. package/icons/world-flags/bg.svg +0 -5
  305. package/icons/world-flags/bh.svg +0 -1
  306. package/icons/world-flags/bi.svg +0 -26
  307. package/icons/world-flags/bj.svg +0 -5
  308. package/icons/world-flags/bl.svg +0 -160
  309. package/icons/world-flags/bm.svg +0 -1
  310. package/icons/world-flags/bn.svg +0 -58
  311. package/icons/world-flags/bo.svg +0 -1
  312. package/icons/world-flags/bq.svg +0 -5
  313. package/icons/world-flags/br.svg +0 -89
  314. package/icons/world-flags/bs.svg +0 -5
  315. package/icons/world-flags/bt.svg +0 -466
  316. package/icons/world-flags/bv.svg +0 -7
  317. package/icons/world-flags/bw.svg +0 -5
  318. package/icons/world-flags/by.svg +0 -14
  319. package/icons/world-flags/bz.svg +0 -1
  320. package/icons/world-flags/ca.svg +0 -1
  321. package/icons/world-flags/cc.svg +0 -19
  322. package/icons/world-flags/cd.svg +0 -5
  323. package/icons/world-flags/cf.svg +0 -8
  324. package/icons/world-flags/cg.svg +0 -5
  325. package/icons/world-flags/ch.svg +0 -5
  326. package/icons/world-flags/ci.svg +0 -5
  327. package/icons/world-flags/ck.svg +0 -1
  328. package/icons/world-flags/cl.svg +0 -14
  329. package/icons/world-flags/cm.svg +0 -15
  330. package/icons/world-flags/cn.svg +0 -11
  331. package/icons/world-flags/co.svg +0 -5
  332. package/icons/world-flags/cr.svg +0 -1
  333. package/icons/world-flags/cu.svg +0 -6
  334. package/icons/world-flags/cv.svg +0 -24
  335. package/icons/world-flags/cw.svg +0 -16
  336. package/icons/world-flags/cx.svg +0 -15
  337. package/icons/world-flags/cy.svg +0 -1
  338. package/icons/world-flags/cz.svg +0 -5
  339. package/icons/world-flags/de.svg +0 -6
  340. package/icons/world-flags/dj.svg +0 -6
  341. package/icons/world-flags/dk.svg +0 -5
  342. package/icons/world-flags/dm.svg +0 -1
  343. package/icons/world-flags/do.svg +0 -1
  344. package/icons/world-flags/dz.svg +0 -5
  345. package/icons/world-flags/ec.svg +0 -519
  346. package/icons/world-flags/ee.svg +0 -5
  347. package/icons/world-flags/eg.svg +0 -78
  348. package/icons/world-flags/eh.svg +0 -9
  349. package/icons/world-flags/er.svg +0 -6
  350. package/icons/world-flags/es.svg +0 -1
  351. package/icons/world-flags/et.svg +0 -16
  352. package/icons/world-flags/eu.svg +0 -29
  353. package/icons/world-flags/fi.svg +0 -5
  354. package/icons/world-flags/fj.svg +0 -1
  355. package/icons/world-flags/fk.svg +0 -1
  356. package/icons/world-flags/fm.svg +0 -16
  357. package/icons/world-flags/fo.svg +0 -11
  358. package/icons/world-flags/fr.svg +0 -1
  359. package/icons/world-flags/ga.svg +0 -5
  360. package/icons/world-flags/gb-eng.svg +0 -7
  361. package/icons/world-flags/gb-nir.svg +0 -1
  362. package/icons/world-flags/gb-sct.svg +0 -1
  363. package/icons/world-flags/gb-wls.svg +0 -9
  364. package/icons/world-flags/gb.svg +0 -1
  365. package/icons/world-flags/gd.svg +0 -27
  366. package/icons/world-flags/ge.svg +0 -17
  367. package/icons/world-flags/gf.svg +0 -5
  368. package/icons/world-flags/gg.svg +0 -8
  369. package/icons/world-flags/gh.svg +0 -6
  370. package/icons/world-flags/gi.svg +0 -54
  371. package/icons/world-flags/gl.svg +0 -4
  372. package/icons/world-flags/gm.svg +0 -7
  373. package/icons/world-flags/gn.svg +0 -5
  374. package/icons/world-flags/gp.svg +0 -5
  375. package/icons/world-flags/gq.svg +0 -75
  376. package/icons/world-flags/gr.svg +0 -4
  377. package/icons/world-flags/gs.svg +0 -1
  378. package/icons/world-flags/gt.svg +0 -214
  379. package/icons/world-flags/gu.svg +0 -1
  380. package/icons/world-flags/gw.svg +0 -13
  381. package/icons/world-flags/gy.svg +0 -7
  382. package/icons/world-flags/hk.svg +0 -12
  383. package/icons/world-flags/hm.svg +0 -1
  384. package/icons/world-flags/hn.svg +0 -18
  385. package/icons/world-flags/hr.svg +0 -240
  386. package/icons/world-flags/ht.svg +0 -196
  387. package/icons/world-flags/hu.svg +0 -5
  388. package/icons/world-flags/id.svg +0 -4
  389. package/icons/world-flags/ie.svg +0 -9
  390. package/icons/world-flags/il.svg +0 -1
  391. package/icons/world-flags/im.svg +0 -59
  392. package/icons/world-flags/in.svg +0 -25
  393. package/icons/world-flags/io.svg +0 -178
  394. package/icons/world-flags/iq.svg +0 -1
  395. package/icons/world-flags/ir.svg +0 -31
  396. package/icons/world-flags/is.svg +0 -5
  397. package/icons/world-flags/it.svg +0 -5
  398. package/icons/world-flags/je.svg +0 -49
  399. package/icons/world-flags/jm.svg +0 -4
  400. package/icons/world-flags/jo.svg +0 -7
  401. package/icons/world-flags/jp.svg +0 -4
  402. package/icons/world-flags/ke.svg +0 -23
  403. package/icons/world-flags/kg.svg +0 -1
  404. package/icons/world-flags/kh.svg +0 -116
  405. package/icons/world-flags/ki.svg +0 -1
  406. package/icons/world-flags/km.svg +0 -13
  407. package/icons/world-flags/kn.svg +0 -1
  408. package/icons/world-flags/kp.svg +0 -16
  409. package/icons/world-flags/kr.svg +0 -1
  410. package/icons/world-flags/kw.svg +0 -6
  411. package/icons/world-flags/ky.svg +0 -1
  412. package/icons/world-flags/kz.svg +0 -37
  413. package/icons/world-flags/la.svg +0 -5
  414. package/icons/world-flags/lb.svg +0 -5
  415. package/icons/world-flags/lc.svg +0 -6
  416. package/icons/world-flags/li.svg +0 -56
  417. package/icons/world-flags/lk.svg +0 -31
  418. package/icons/world-flags/lr.svg +0 -15
  419. package/icons/world-flags/ls.svg +0 -23
  420. package/icons/world-flags/lt.svg +0 -5
  421. package/icons/world-flags/lu.svg +0 -5
  422. package/icons/world-flags/lv.svg +0 -4
  423. package/icons/world-flags/ly.svg +0 -8
  424. package/icons/world-flags/ma.svg +0 -6
  425. package/icons/world-flags/mc.svg +0 -4
  426. package/icons/world-flags/md.svg +0 -140
  427. package/icons/world-flags/me.svg +0 -93
  428. package/icons/world-flags/mf.svg +0 -5
  429. package/icons/world-flags/mg.svg +0 -5
  430. package/icons/world-flags/mh.svg +0 -19
  431. package/icons/world-flags/mk.svg +0 -7
  432. package/icons/world-flags/ml.svg +0 -5
  433. package/icons/world-flags/mm.svg +0 -12
  434. package/icons/world-flags/mn.svg +0 -21
  435. package/icons/world-flags/mo.svg +0 -10
  436. package/icons/world-flags/mp.svg +0 -240
  437. package/icons/world-flags/mq.svg +0 -1
  438. package/icons/world-flags/mr.svg +0 -6
  439. package/icons/world-flags/ms.svg +0 -1
  440. package/icons/world-flags/mt.svg +0 -49
  441. package/icons/world-flags/mu.svg +0 -6
  442. package/icons/world-flags/mv.svg +0 -8
  443. package/icons/world-flags/mw.svg +0 -24
  444. package/icons/world-flags/mx.svg +0 -1
  445. package/icons/world-flags/my.svg +0 -13
  446. package/icons/world-flags/mz.svg +0 -13
  447. package/icons/world-flags/na.svg +0 -1
  448. package/icons/world-flags/nc.svg +0 -18
  449. package/icons/world-flags/ne.svg +0 -6
  450. package/icons/world-flags/nf.svg +0 -5
  451. package/icons/world-flags/ng.svg +0 -4
  452. package/icons/world-flags/ni.svg +0 -161
  453. package/icons/world-flags/nl.svg +0 -5
  454. package/icons/world-flags/no.svg +0 -7
  455. package/icons/world-flags/np.svg +0 -33
  456. package/icons/world-flags/nr.svg +0 -5
  457. package/icons/world-flags/nu.svg +0 -1
  458. package/icons/world-flags/nz.svg +0 -1
  459. package/icons/world-flags/om.svg +0 -226
  460. package/icons/world-flags/pa.svg +0 -20
  461. package/icons/world-flags/pe.svg +0 -320
  462. package/icons/world-flags/pf.svg +0 -55
  463. package/icons/world-flags/pg.svg +0 -13
  464. package/icons/world-flags/ph.svg +0 -30
  465. package/icons/world-flags/pk.svg +0 -8
  466. package/icons/world-flags/pl.svg +0 -4
  467. package/icons/world-flags/pm.svg +0 -5
  468. package/icons/world-flags/pn.svg +0 -1
  469. package/icons/world-flags/pr.svg +0 -1
  470. package/icons/world-flags/ps.svg +0 -6
  471. package/icons/world-flags/pt.svg +0 -66
  472. package/icons/world-flags/pw.svg +0 -4
  473. package/icons/world-flags/py.svg +0 -193
  474. package/icons/world-flags/qa.svg +0 -1
  475. package/icons/world-flags/re.svg +0 -5
  476. package/icons/world-flags/ro.svg +0 -5
  477. package/icons/world-flags/rs.svg +0 -294
  478. package/icons/world-flags/ru.svg +0 -5
  479. package/icons/world-flags/rw.svg +0 -13
  480. package/icons/world-flags/sa.svg +0 -4
  481. package/icons/world-flags/sb.svg +0 -23
  482. package/icons/world-flags/sc.svg +0 -7
  483. package/icons/world-flags/sd.svg +0 -6
  484. package/icons/world-flags/se.svg +0 -5
  485. package/icons/world-flags/sg.svg +0 -11
  486. package/icons/world-flags/sh.svg +0 -1
  487. package/icons/world-flags/si.svg +0 -22
  488. package/icons/world-flags/sj.svg +0 -7
  489. package/icons/world-flags/sk.svg +0 -12
  490. package/icons/world-flags/sl.svg +0 -5
  491. package/icons/world-flags/sm.svg +0 -321
  492. package/icons/world-flags/sn.svg +0 -15
  493. package/icons/world-flags/so.svg +0 -13
  494. package/icons/world-flags/sr.svg +0 -6
  495. package/icons/world-flags/ss.svg +0 -8
  496. package/icons/world-flags/st.svg +0 -16
  497. package/icons/world-flags/sv.svg +0 -1
  498. package/icons/world-flags/sx.svg +0 -94
  499. package/icons/world-flags/sy.svg +0 -17
  500. package/icons/world-flags/sz.svg +0 -1
  501. package/icons/world-flags/tc.svg +0 -1
  502. package/icons/world-flags/td.svg +0 -5
  503. package/icons/world-flags/tf.svg +0 -15
  504. package/icons/world-flags/tg.svg +0 -16
  505. package/icons/world-flags/th.svg +0 -5
  506. package/icons/world-flags/tj.svg +0 -26
  507. package/icons/world-flags/tk.svg +0 -25
  508. package/icons/world-flags/tl.svg +0 -1
  509. package/icons/world-flags/tm.svg +0 -179
  510. package/icons/world-flags/tn.svg +0 -9
  511. package/icons/world-flags/to.svg +0 -8
  512. package/icons/world-flags/tr.svg +0 -6
  513. package/icons/world-flags/tt.svg +0 -5
  514. package/icons/world-flags/tv.svg +0 -1
  515. package/icons/world-flags/tw.svg +0 -9
  516. package/icons/world-flags/tz.svg +0 -6
  517. package/icons/world-flags/ua.svg +0 -4
  518. package/icons/world-flags/ug.svg +0 -24
  519. package/icons/world-flags/um.svg +0 -25
  520. package/icons/world-flags/us.svg +0 -25
  521. package/icons/world-flags/uy.svg +0 -36
  522. package/icons/world-flags/uz.svg +0 -30
  523. package/icons/world-flags/va.svg +0 -205
  524. package/icons/world-flags/vc.svg +0 -10
  525. package/icons/world-flags/ve.svg +0 -28
  526. package/icons/world-flags/vg.svg +0 -1
  527. package/icons/world-flags/vi.svg +0 -1
  528. package/icons/world-flags/vn.svg +0 -12
  529. package/icons/world-flags/vu.svg +0 -15
  530. package/icons/world-flags/wf.svg +0 -7
  531. package/icons/world-flags/ws.svg +0 -14
  532. package/icons/world-flags/xk.svg +0 -1
  533. package/icons/world-flags/ye.svg +0 -5
  534. package/icons/world-flags/yt.svg +0 -5
  535. package/icons/world-flags/za.svg +0 -1
  536. package/icons/world-flags/zm.svg +0 -23
  537. package/icons/world-flags/zw.svg +0 -28
  538. package/templates/bcl-gallery/gallery-modal.html.twig +0 -105
@@ -1,2 +1,2 @@
1
- import*as t from"@popperjs/core";const e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let s=t.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),e=s&&"#"!==s?s.trim():null}return e},s=t=>{const s=e(t);return s&&document.querySelector(s)?s:null},i=t=>{const s=e(t);return s?document.querySelector(s):null},n=t=>{t.dispatchEvent(new Event("transitionend"))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=t=>{if(!o(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),s=t.closest("details:not([open])");if(!s)return e;if(s!==t){const e=t.closest("summary");if(e&&e.parentNode!==s)return!1;if(null===e)return!1}return e},l=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),c=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c(t.parentNode):null},h=()=>{},d=t=>{t.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,g=[],_=()=>"rtl"===document.documentElement.dir,f=t=>{var e;e=()=>{const e=u();if(e){const s=t.NAME,i=e.fn[s];e.fn[s]=t.jQueryInterface,e.fn[s].Constructor=t,e.fn[s].noConflict=()=>(e.fn[s]=i,t.jQueryInterface)}},"loading"===document.readyState?(g.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of g)t()})),g.push(e)):e()},p=t=>{"function"==typeof t&&t()},m=(t,e,s=!0)=>{if(!s)return void p(t);const i=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:s}=window.getComputedStyle(t);const i=Number.parseFloat(e),n=Number.parseFloat(s);return i||n?(e=e.split(",")[0],s=s.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(s))):0})(e)+5;let o=!1;const r=({target:s})=>{s===e&&(o=!0,e.removeEventListener("transitionend",r),p(t))};e.addEventListener("transitionend",r),setTimeout((()=>{o||n(e)}),i)},b=(t,e,s,i)=>{const n=t.length;let o=t.indexOf(e);return-1===o?!s&&i?t[n-1]:t[0]:(o+=s?1:-1,i&&(o=(o+n)%n),t[Math.max(0,Math.min(o,n-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,A={};let E=1;const C={mouseenter:"mouseover",mouseleave:"mouseout"},T=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 k(t,e){return e&&`${e}::${E++}`||t.uidEvent||E++}function L(t){const e=k(t);return t.uidEvent=e,A[e]=A[e]||{},A[e]}function I(t,e,s=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===s))}function O(t,e,s){const i="string"==typeof e,n=i?s:e||s;let o=x(t);return T.has(o)||(o=t),[i,n,o]}function S(t,e,s,i,n){if("string"!=typeof e||!t)return;let[o,r,a]=O(e,s,i);if(e in C){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=L(t),c=l[a]||(l[a]={}),h=I(c,r,o?s:null);if(h)return void(h.oneOff=h.oneOff&&n);const d=k(r,e.replace(v,"")),u=o?function(t,e,s){return function i(n){const o=t.querySelectorAll(e);for(let{target:r}=n;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return M(n,{delegateTarget:r}),i.oneOff&&P.off(t,n.type,e,s),s.apply(r,[n])}}(t,s,r):function(t,e){return function s(i){return M(i,{delegateTarget:t}),s.oneOff&&P.off(t,i.type,e),e.apply(t,[i])}}(t,r);u.delegationSelector=o?s:null,u.callable=r,u.oneOff=n,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function N(t,e,s,i,n){const o=I(e[s],i,n);o&&(t.removeEventListener(s,o,Boolean(n)),delete e[s][o.uidEvent])}function D(t,e,s,i){const n=e[s]||{};for(const o of Object.keys(n))if(o.includes(i)){const i=n[o];N(t,e,s,i.callable,i.delegationSelector)}}function x(t){return t=t.replace(y,""),C[t]||t}const P={on(t,e,s,i){S(t,e,s,i,!1)},one(t,e,s,i){S(t,e,s,i,!0)},off(t,e,s,i){if("string"!=typeof e||!t)return;const[n,o,r]=O(e,s,i),a=r!==e,l=L(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const s of Object.keys(l))D(t,l,s,e.slice(1));for(const s of Object.keys(c)){const i=s.replace(w,"");if(!a||e.includes(i)){const e=c[s];N(t,l,r,e.callable,e.delegationSelector)}}}else{if(!Object.keys(c).length)return;N(t,l,r,o,n?s:null)}},trigger(t,e,s){if("string"!=typeof e||!t)return null;const i=u();let n=null,o=!0,r=!0,a=!1;e!==x(e)&&i&&(n=i.Event(e,s),i(t).trigger(n),o=!n.isPropagationStopped(),r=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());let l=new Event(e,{bubbles:o,cancelable:!0});return l=M(l,s),a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function M(t,e){for(const[s,i]of Object.entries(e||{}))try{t[s]=i}catch{Object.defineProperty(t,s,{configurable:!0,get:()=>i})}return t}const j=new Map;var $={set(t,e,s){j.has(t)||j.set(t,new Map);const i=j.get(t);i.has(e)||0===i.size?i.set(e,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,e)=>j.has(t)&&j.get(t).get(e)||null,remove(t,e){if(!j.has(t))return;const s=j.get(t);s.delete(e),0===s.size&&j.delete(t)}};function F(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function z(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const H={setDataAttribute(t,e,s){t.setAttribute(`data-bs-${z(e)}`,s)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${z(e)}`)},getDataAttributes(t){if(!t)return{};const e={},s=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const i of s){let s=i.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=F(t.dataset[i])}return e},getDataAttribute:(t,e)=>F(t.getAttribute(`data-bs-${z(e)}`))};class q{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const s=o(e)?H.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof s?s:{},...o(e)?H.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const i of Object.keys(e)){const n=e[i],r=t[i],a=o(r)?"element":null==(s=r)?`${s}`:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${a}" but expected type "${n}".`)}var s}}class B extends q{constructor(t,e){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(e),$.set(this._element,this.constructor.DATA_KEY,this))}dispose(){$.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,s=!0){m(t,e,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return $.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const W=(t,e="hide")=>{const s=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;P.on(document,s,`[data-bs-dismiss="${n}"]`,(function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),l(this))return;const o=i(this)||this.closest(`.${n}`);t.getOrCreateInstance(o)[e]()}))};class R extends B{static get NAME(){return"alert"}close(){if(P.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),P.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=R.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(R,"close"),f(R);class V extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=V.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}P.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',(t=>{t.preventDefault();const e=t.target.closest('[data-bs-toggle="button"]');V.getOrCreateInstance(e).toggle()})),f(V);const K={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const s=[];let i=t.parentNode.closest(e);for(;i;)s.push(i),i=i.parentNode.closest(e);return s},prev(t,e){let s=t.previousElementSibling;for(;s;){if(s.matches(e))return[s];s=s.previousElementSibling}return[]},next(t,e){let s=t.nextElementSibling;for(;s;){if(s.matches(e))return[s];s=s.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!l(t)&&a(t)))}},Q={endCallback:null,leftCallback:null,rightCallback:null},X={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Y extends q{constructor(t,e){super(),this._element=t,t&&Y.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Q}static get DefaultType(){return X}static get NAME(){return"swipe"}dispose(){P.off(this._element,".bs.swipe")}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),p(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&p(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(P.on(this._element,"pointerdown.bs.swipe",(t=>this._start(t))),P.on(this._element,"pointerup.bs.swipe",(t=>this._end(t))),this._element.classList.add("pointer-event")):(P.on(this._element,"touchstart.bs.swipe",(t=>this._start(t))),P.on(this._element,"touchmove.bs.swipe",(t=>this._move(t))),P.on(this._element,"touchend.bs.swipe",(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const U={ArrowLeft:"right",ArrowRight:"left"},G={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},J={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Z extends B{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=K.findOne(".carousel-indicators",this._element),this._addEventListeners(),"carousel"===this._config.ride&&this.cycle()}static get Default(){return G}static get DefaultType(){return J}static get NAME(){return"carousel"}next(){this._slide("next")}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide("prev")}pause(){this._isSliding&&n(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,"slid.bs.carousel",(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void P.one(this._element,"slid.bs.carousel",(()=>this.to(t)));const s=this._getItemIndex(this._getActive());if(s===t)return;const i=t>s?"next":"prev";this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&P.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"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&&Y.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of K.find(".carousel-item img",this._element))P.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder("left")),rightCallback:()=>this._slide(this._directionToOrder("right")),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Y(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=U[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=K.findOne(".active",this._indicatorsElement);e.classList.remove("active"),e.removeAttribute("aria-current");const s=K.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add("active"),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const s=this._getActive(),i="next"===t,n=e||b(this._getItems(),s,i,this._config.wrap);if(n===s)return;const o=this._getItemIndex(n),r=e=>P.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(r("slide.bs.carousel").defaultPrevented)return;if(!s||!n)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=n;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";n.classList.add(c),d(n),s.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add("active"),s.classList.remove("active",c,l),this._isSliding=!1,r("slid.bs.carousel")}),s,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return K.findOne(".active.carousel-item",this._element)}_getItems(){return K.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return _()?"left"===t?"prev":"next":"left"===t?"next":"prev"}_orderToDirection(t){return _()?"prev"===t?"left":"right":"prev"===t?"right":"left"}static jQueryInterface(t){return this.each((function(){const e=Z.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}P.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(t){const e=i(this);if(!e||!e.classList.contains("carousel"))return;t.preventDefault();const s=Z.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(s.to(n),void s._maybeEnableCycle()):"next"===H.getDataAttribute(this,"slide")?(s.next(),void s._maybeEnableCycle()):(s.prev(),void s._maybeEnableCycle())})),P.on(window,"load.bs.carousel.data-api",(()=>{const t=K.find('[data-bs-ride="carousel"]');for(const e of t)Z.getOrCreateInstance(e)})),f(Z);const tt={parent:null,toggle:!0},et={parent:"(null|element)",toggle:"boolean"};class st extends B{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=K.find('[data-bs-toggle="collapse"]');for(const t of i){const e=s(t),i=K.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return tt}static get DefaultType(){return et}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>st.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(P.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[e]="",P.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[e]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(P.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");for(const t of this._triggerArray){const e=i(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),P.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains("show")}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=r(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren('[data-bs-toggle="collapse"]');for(const e of t){const t=i(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=K.find(":scope .collapse .collapse",this._config.parent);return K.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const s of t)s.classList.toggle("collapsed",!e),s.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const s=st.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===s[t])throw new TypeError(`No method named "${t}"`);s[t]()}}))}}P.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=s(this),i=K.find(e);for(const t of i)st.getOrCreateInstance(t,{toggle:!1}).toggle()})),f(st);const it="ArrowUp",nt="ArrowDown",ot='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',rt=`${ot}.show`,at=_()?"top-end":"top-start",lt=_()?"top-start":"top-end",ct=_()?"bottom-end":"bottom-start",ht=_()?"bottom-start":"bottom-end",dt=_()?"left-start":"right-start",ut=_()?"right-start":"left-start",gt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},_t={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ft extends B{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=K.next(this._element,".dropdown-menu")[0]||K.prev(this._element,".dropdown-menu")[0],this._inNavbar=this._detectNavbar()}static get Default(){return gt}static get DefaultType(){return _t}static get NAME(){return"dropdown"}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!P.trigger(this._element,"show.bs.dropdown",t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))P.on(t,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add("show"),this._element.classList.add("show"),P.trigger(this._element,"shown.bs.dropdown",t)}}hide(){if(l(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!P.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),H.removeDataAttribute(this._menu,"popper"),P.trigger(this._element,"hidden.bs.dropdown",t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${"dropdown".toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const s=this._getPopperConfig();this._popper=t.createPopper(e,this._menu,s)}_isShown(){return this._menu.classList.contains("show")}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return dt;if(t.classList.contains("dropstart"))return ut;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?lt:at:e?ht:ct}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(H.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const s=K.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));s.length&&b(s,e,t===nt,!s.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ft.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=K.find(rt);for(const s of e){const e=ft.getInstance(s);if(!e||!1===e._config.autoClose)continue;const i=t.composedPath(),n=i.includes(e._menu);if(i.includes(e._element)||"inside"===e._config.autoClose&&!n||"outside"===e._config.autoClose&&n)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),s="Escape"===t.key,i=[it,nt].includes(t.key);if(!i&&!s)return;if(e&&!s)return;t.preventDefault();const n=this.matches(ot)?this:K.prev(this,ot)[0]||K.next(this,ot)[0],o=ft.getOrCreateInstance(n);if(i)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),n.focus())}}P.on(document,"keydown.bs.dropdown.data-api",ot,ft.dataApiKeydownHandler),P.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",ft.dataApiKeydownHandler),P.on(document,"click.bs.dropdown.data-api",ft.clearMenus),P.on(document,"keyup.bs.dropdown.data-api",ft.clearMenus),P.on(document,"click.bs.dropdown.data-api",ot,(function(t){t.preventDefault(),ft.getOrCreateInstance(this).toggle()})),f(ft);const pt={};class mt extends B{constructor(t,e){super(t,e),this.carousel=K.findOne(".carousel",this.element),this.carouselPager=K.findOne(".carousel-pager span",this.element),this.carouselStartIndex=t.getAttribute("data-gallery-start"),this.carouselActiveItem=K.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=K.findOne(".modal",this.element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(t){const e=K.findOne(".carousel-item.active",this.carousel),s=t.relatedTarget;this.carouselLazyLoad(s),this.carouselPager.textContent=t.to+1,this.stopVideo(e)}stopSlide(){const t=K.findOne(".carousel-item.active",this.carousel);this.stopVideo(t)}stopVideo(t){const e=K.findOne("iframe",t),s=K.findOne("video",t);e?e.src=e.dataset.src:s&&s.pause()}carouselLazyLoad(t){const e=K.findOne("[data-src]",t);e&&!e.src&&(e.src=e.dataset.src)}addEventListeners(){P.on(this.carousel,"slide.bs.carousel",(t=>this.setSlide(t))),P.on(this.modal,"hide.bs.modal",(t=>this.stopSlide(t)))}static get Default(){return pt}static jQueryInterface(t){return this.each((function(){const e=mt.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,"click.bs.gallery.data-api",".bcl-gallery__grid a, .bcl-gallery__mobile-view-more",(t=>{const e=t.target.closest("div.bcl-gallery"),s=t.target.parentNode.getAttribute("data-bs-slide-to");e.dataset.galleryStart=s,mt.getOrCreateInstance(e)})),f(mt);class bt{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"padding-right",(e=>e+t)),this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","padding-right",(e=>e+t)),this._setElementAttributes(".sticky-top","margin-right",(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"padding-right"),this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","padding-right"),this._resetElementAttributes(".sticky-top","margin-right")}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,s){const i=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+i)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${s(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(t,e){const s=t.style.getPropertyValue(e);s&&H.setDataAttribute(t,e,s)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const s=H.getDataAttribute(t,e);null!==s?(H.removeDataAttribute(t,e),t.style.setProperty(e,s)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(o(t))e(t);else for(const s of K.find(t,this._element))e(s)}}const vt={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},yt={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class wt extends q{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return vt}static get DefaultType(){return yt}static get NAME(){return"backdrop"}show(t){if(!this._config.isVisible)return void p(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add("show"),this._emulateAnimation((()=>{p(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation((()=>{this.dispose(),p(t)}))):p(t)}dispose(){this._isAppended&&(P.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=r(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),P.on(t,"mousedown.bs.backdrop",(()=>{p(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){m(t,this._getElement(),this._config.isAnimated)}}const At={autofocus:!0,trapElement:null},Et={autofocus:"boolean",trapElement:"element"};class Ct extends q{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return At}static get DefaultType(){return Et}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),P.off(document,".bs.focustrap"),P.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),P.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,P.off(document,".bs.focustrap"))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const s=K.focusableChildren(e);0===s.length?e.focus():"backward"===this._lastTabNavDirection?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?"backward":"forward")}}const Tt={backdrop:!0,focus:!0,keyboard:!0},kt={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Lt extends B{constructor(t,e){super(t,e),this._dialog=K.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new bt,this._addEventListeners()}static get Default(){return Tt}static get DefaultType(){return kt}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||P.trigger(this._element,"show.bs.modal",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}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("show"),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const t of[window,this._dialog])P.off(t,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ct({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=K.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add("show"),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,P.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.modal",(t=>{if("Escape"===t.key)return this._config.keyboard?(t.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",(t=>{P.one(this._element,"click.dismiss.bs.modal",(e=>{this._dialog.contains(t.target)||this._dialog.contains(e.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("modal-open"),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,"hidden.bs.modal")}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains("modal-static")||(t||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static"),this._queueCallback((()=>{this._element.classList.remove("modal-static"),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),s=e>0;if(s&&!t){const t=_()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!s&&t){const t=_()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const s=Lt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===s[t])throw new TypeError(`No method named "${t}"`);s[t](e)}}))}}P.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=i(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),P.one(e,"show.bs.modal",(t=>{t.defaultPrevented||P.one(e,"hidden.bs.modal",(()=>{a(this)&&this.focus()}))}));const s=K.findOne(".modal.show");s&&Lt.getInstance(s).hide(),Lt.getOrCreateInstance(e).toggle(this)})),W(Lt),f(Lt);const It={backdrop:!0,keyboard:!0,scroll:!1},Ot={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class St extends B{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return It}static get DefaultType(){return Ot}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||P.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new bt).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("showing"),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove("showing"),P.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),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("hiding"),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new bt).reset(),P.trigger(this._element,"hidden.bs.offcanvas")}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new wt({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():P.trigger(this._element,"hidePrevented.bs.offcanvas")}:null})}_initializeFocusTrap(){return new Ct({trapElement:this._element})}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():P.trigger(this._element,"hidePrevented.bs.offcanvas"))}))}static jQueryInterface(t){return this.each((function(){const e=St.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=i(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;P.one(e,"hidden.bs.offcanvas",(()=>{a(this)&&this.focus()}));const s=K.findOne(".offcanvas.show");s&&s!==e&&St.getInstance(s).hide(),St.getOrCreateInstance(e).toggle(this)})),P.on(window,"load.bs.offcanvas.data-api",(()=>{for(const t of K.find(".offcanvas.show"))St.getOrCreateInstance(t).show()})),P.on(window,"resize.bs.offcanvas",(()=>{for(const t of K.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&St.getOrCreateInstance(t).hide()})),W(St),f(St);const Nt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Dt=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,xt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Pt=(t,e)=>{const s=t.nodeName.toLowerCase();return e.includes(s)?!Nt.has(s)||Boolean(Dt.test(t.nodeValue)||xt.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(s)))},Mt={"*":["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:[]},jt={allowList:Mt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},$t={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ft={entry:"(string|element|function|null)",selector:"(string|element)"};class zt extends q{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return jt}static get DefaultType(){return $t}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,s]of Object.entries(this._config.content))this._setContent(t,s,e);const e=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&e.classList.add(...s.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,s]of Object.entries(t))super._typeCheckConfig({selector:e,entry:s},Ft)}_setContent(t,e,s){const i=K.findOne(s,t);i&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,s){if(!t.length)return t;if(s&&"function"==typeof s)return s(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...i.body.querySelectorAll("*"));for(const t of n){const s=t.nodeName.toLowerCase();if(!Object.keys(e).includes(s)){t.remove();continue}const i=[].concat(...t.attributes),n=[].concat(e["*"]||[],e[s]||[]);for(const e of i)Pt(e,n)||t.removeAttribute(e.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Ht=new Set(["sanitize","allowList","sanitizeFn"]),qt={AUTO:"auto",TOP:"top",RIGHT:_()?"left":"right",BOTTOM:"bottom",LEFT:_()?"right":"left"},Bt={allowList:Mt,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"},Wt={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 Rt extends B{constructor(e,s){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,s),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 Bt}static get DefaultType(){return Wt}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled){if(t){const e=this._initializeOnDelegatedTarget(t);return e._activeTrigger.click=!e._activeTrigger.click,void(e._isWithActiveTrigger()?e._enter():e._leave())}this._isShown()?this._leave():this._enter()}}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(".modal"),"hide.bs.modal",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 t=P.trigger(this._element,this.constructor.eventName("show")),e=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this.tip&&(this.tip.remove(),this.tip=null);const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),P.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(s),s.classList.add("show"),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.on(t,"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 t=this._getTipElement();if(t.classList.remove("show"),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||t.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(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove("fade","show"),e.classList.add(`bs-${this.constructor.NAME}-auto`);const s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",s),this._isAnimated()&&e.classList.add("fade"),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new zt({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._config.originalTitle}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains("fade")}_isShown(){return this.tip&&this.tip.classList.contains("show")}_createPopper(e){const s="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,i=qt[s.toUpperCase()];return t.createPopper(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)P.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>this.toggle(t)));else if("manual"!==e){const t="hover"===e?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),s="hover"===e?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");P.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0,e._enter()})),P.on(this._element,s,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?"focus":"hover"]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._config.originalTitle;t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=H.getDataAttributes(this._element);for(const t of Object.keys(e))Ht.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.originalTitle=this._element.getAttribute("title")||"","number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=Rt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}f(Rt);const Vt={...Rt.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"},Kt={...Rt.DefaultType,content:"(null|string|element|function)"};class Qt extends Rt{static get Default(){return Vt}static get DefaultType(){return Kt}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=Qt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}f(Qt);const Xt={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Yt={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ut extends B{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Xt}static get DefaultType(){return Yt}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=r(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(P.off(this._config.target,"click.bs.scrollspy"),P.on(this._config.target,"click.bs.scrollspy","[href]",(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const s=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(s.scrollTo)return void s.scrollTo({top:i,behavior:"smooth"});s.scrollTop=i}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),s=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},i=(this._rootElement||document.documentElement).scrollTop,n=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&t){if(s(o),!i)return}else n||t||s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=K.find("[href]",this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=K.findOne(e.hash,this._element);a(t)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add("active"),this._activateParents(t),P.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))K.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add("active");else for(const e of K.parents(t,".nav, .list-group"))for(const t of K.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))t.classList.add("active")}_clearActiveClass(t){t.classList.remove("active");const e=K.find("[href].active",t);for(const t of e)t.classList.remove("active")}static jQueryInterface(t){return this.each((function(){const e=Ut.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(window,"load.bs.scrollspy.data-api",(()=>{for(const t of K.find('[data-bs-spy="scroll"]'))Ut.getOrCreateInstance(t)})),f(Ut);const Gt="ArrowLeft",Jt="ArrowRight",Zt="ArrowUp",te="ArrowDown",ee='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',se=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${ee}`;class ie extends B{constructor(t){super(t),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",(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),s=e?P.trigger(e,"hide.bs.tab",{relatedTarget:t}):null;P.trigger(t,"show.bs.tab",{relatedTarget:e}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add("active"),this._activate(i(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.focus(),t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),P.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add("show")}),t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove("active"),t.blur(),this._deactivate(i(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),P.trigger(t,"hidden.bs.tab",{relatedTarget:e})):t.classList.remove("show")}),t,t.classList.contains("fade")))}_keydown(t){if(![Gt,Jt,Zt,te].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[Jt,te].includes(t.key),s=b(this._getChildren().filter((t=>!l(t))),t.target,e,!0);s&&ie.getOrCreateInstance(s).show()}_getChildren(){return K.find(se,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",e),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=i(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,e){const s=this._getOuterElement(t);if(!s.classList.contains("dropdown"))return;const i=(t,i)=>{const n=K.findOne(t,s);n&&n.classList.toggle(i,e)};i(".dropdown-toggle","active"),i(".dropdown-menu","show"),i(".dropdown-item","active"),s.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,s){t.hasAttribute(e)||t.setAttribute(e,s)}_elemIsActive(t){return t.classList.contains("active")}_getInnerElement(t){return t.matches(se)?t:K.findOne(se,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=ie.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(document,"click.bs.tab",ee,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||ie.getOrCreateInstance(this).show()})),P.on(window,"load.bs.tab",(()=>{for(const t of K.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))ie.getOrCreateInstance(t)})),f(ie);const ne={animation:"boolean",autohide:"boolean",delay:"number"},oe={animation:!0,autohide:!0,delay:5e3};class re extends B{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return oe}static get DefaultType(){return ne}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("hide"),d(this._element),this._element.classList.add("show","showing"),this._queueCallback((()=>{this._element.classList.remove("showing"),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("showing"),this._queueCallback((()=>{this._element.classList.add("hide"),this._element.classList.remove("showing","show"),P.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove("show"),super.dispose()}isShown(){return this._element.classList.contains("show")}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),P.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=re.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(re),f(re);export{R as Alert,V as Button,Z as Carousel,st as Collapse,ft as Dropdown,mt as Gallery,Lt as Modal,St as Offcanvas,Qt as Popover,Ut as ScrollSpy,ie as Tab,re as Toast,Rt as Tooltip};
1
+ import*as t from"@popperjs/core";const e="transitionend",i=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},s=t=>{const e=i(t);return e&&document.querySelector(e)?e:null},n=t=>{const e=i(t);return e?document.querySelector(e):null},o=t=>{t.dispatchEvent(new Event(e))},r=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),a=t=>r(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,l=t=>{if(!r(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},c=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h(t.parentNode):null},d=()=>{},u=t=>{t.offsetHeight},_=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,g=[],f=()=>"rtl"===document.documentElement.dir,m=t=>{var e;e=()=>{const e=_();if(e){const i=t.NAME,s=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=s,t.jQueryInterface)}},"loading"===document.readyState?(g.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of g)t()})),g.push(e)):e()},p=t=>{"function"==typeof t&&t()},b=(t,i,s=!0)=>{if(!s)return void p(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const s=Number.parseFloat(e),n=Number.parseFloat(i);return s||n?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:s})=>{s===i&&(r=!0,i.removeEventListener(e,a),p(t))};i.addEventListener(e,a),setTimeout((()=>{r||o(i)}),n)},v=(t,e,i,s)=>{const n=t.length;let o=t.indexOf(e);return-1===o?!i&&s?t[n-1]:t[0]:(o+=i?1:-1,s&&(o=(o+n)%n),t[Math.max(0,Math.min(o,n-1))])},y=/[^.]*(?=\..*)\.|.*/,w=/\..*/,A=/::\d+$/,E={};let C=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},k=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function L(t,e){return e&&`${e}::${C++}`||t.uidEvent||C++}function $(t){const e=L(t);return t.uidEvent=e,E[e]=E[e]||{},E[e]}function I(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function O(t,e,i){const s="string"==typeof e,n=s?i:e||i;let o=x(t);return k.has(o)||(o=t),[s,n,o]}function S(t,e,i,s,n){if("string"!=typeof e||!t)return;let[o,r,a]=O(e,i,s);if(e in T){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=$(t),c=l[a]||(l[a]={}),h=I(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&n);const d=L(r,e.replace(y,"")),u=o?function(t,e,i){return function s(n){const o=t.querySelectorAll(e);for(let{target:r}=n;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return M(n,{delegateTarget:r}),s.oneOff&&P.off(t,n.type,e,i),i.apply(r,[n])}}(t,i,r):function(t,e){return function i(s){return M(s,{delegateTarget:t}),i.oneOff&&P.off(t,s.type,e),e.apply(t,[s])}}(t,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=n,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function N(t,e,i,s,n){const o=I(e[i],s,n);o&&(t.removeEventListener(i,o,Boolean(n)),delete e[i][o.uidEvent])}function D(t,e,i,s){const n=e[i]||{};for(const o of Object.keys(n))if(o.includes(s)){const s=n[o];N(t,e,i,s.callable,s.delegationSelector)}}function x(t){return t=t.replace(w,""),T[t]||t}const P={on(t,e,i,s){S(t,e,i,s,!1)},one(t,e,i,s){S(t,e,i,s,!0)},off(t,e,i,s){if("string"!=typeof e||!t)return;const[n,o,r]=O(e,i,s),a=r!==e,l=$(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))D(t,l,i,e.slice(1));for(const i of Object.keys(c)){const s=i.replace(A,"");if(!a||e.includes(s)){const e=c[i];N(t,l,r,e.callable,e.delegationSelector)}}}else{if(!Object.keys(c).length)return;N(t,l,r,o,n?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const s=_();let n=null,o=!0,r=!0,a=!1;e!==x(e)&&s&&(n=s.Event(e,i),s(t).trigger(n),o=!n.isPropagationStopped(),r=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());let l=new Event(e,{bubbles:o,cancelable:!0});return l=M(l,i),a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function M(t,e){for(const[i,s]of Object.entries(e||{}))try{t[i]=s}catch{Object.defineProperty(t,i,{configurable:!0,get:()=>s})}return t}const j=new Map;var F={set(t,e,i){j.has(t)||j.set(t,new Map);const s=j.get(t);s.has(e)||0===s.size?s.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(t,e)=>j.has(t)&&j.get(t).get(e)||null,remove(t,e){if(!j.has(t))return;const i=j.get(t);i.delete(e),0===i.size&&j.delete(t)}};function z(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function H(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const q={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${H(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${H(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const s of i){let i=s.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=z(t.dataset[s])}return e},getDataAttribute:(t,e)=>z(t.getAttribute(`data-bs-${H(e)}`))};class B{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=r(e)?q.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...r(e)?q.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const s of Object.keys(e)){const n=e[s],o=t[s],a=r(o)?"element":null==(i=o)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${a}" but expected type "${n}".`)}var i}}class W extends B{constructor(t,e){super(),(t=a(t))&&(this._element=t,this._config=this._getConfig(e),F.set(this._element,this.constructor.DATA_KEY,this))}dispose(){F.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){b(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return F.get(a(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const R=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;P.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),c(this))return;const o=n(this)||this.closest(`.${s}`);t.getOrCreateInstance(o)[e]()}))},V=".bs.alert",K=`close${V}`,Q=`closed${V}`;class X extends W{static get NAME(){return"alert"}close(){if(P.trigger(this._element,K).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),P.trigger(this._element,Q),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=X.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}R(X,"close"),m(X);const Y='[data-bs-toggle="button"]';class U extends W{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=U.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}P.on(document,"click.bs.button.data-api",Y,(t=>{t.preventDefault();const e=t.target.closest(Y);U.getOrCreateInstance(e).toggle()})),m(U);const G={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let s=t.parentNode.closest(e);for(;s;)i.push(s),s=s.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!c(t)&&l(t)))}},J=".bs.swipe",Z=`touchstart${J}`,tt=`touchmove${J}`,et=`touchend${J}`,it=`pointerdown${J}`,st=`pointerup${J}`,nt={endCallback:null,leftCallback:null,rightCallback:null},ot={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class rt extends B{constructor(t,e){super(),this._element=t,t&&rt.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return nt}static get DefaultType(){return ot}static get NAME(){return"swipe"}dispose(){P.off(this._element,J)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),p(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&p(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(P.on(this._element,it,(t=>this._start(t))),P.on(this._element,st,(t=>this._end(t))),this._element.classList.add("pointer-event")):(P.on(this._element,Z,(t=>this._start(t))),P.on(this._element,tt,(t=>this._move(t))),P.on(this._element,et,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const at=".bs.carousel",lt=".data-api",ct="next",ht="prev",dt="left",ut="right",_t=`slide${at}`,gt=`slid${at}`,ft=`keydown${at}`,mt=`mouseenter${at}`,pt=`mouseleave${at}`,bt=`dragstart${at}`,vt=`load${at}${lt}`,yt=`click${at}${lt}`,wt="carousel",At="active",Et=".active",Ct=".carousel-item",Tt=Et+Ct,kt={ArrowLeft:ut,ArrowRight:dt},Lt={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},$t={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class It extends W{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=G.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===wt&&this.cycle()}static get Default(){return Lt}static get DefaultType(){return $t}static get NAME(){return"carousel"}next(){this._slide(ct)}nextWhenVisible(){!document.hidden&&l(this._element)&&this.next()}prev(){this._slide(ht)}pause(){this._isSliding&&o(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,gt,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void P.one(this._element,gt,(()=>this.to(t)));const i=this._getItemIndex(this._getActive());if(i===t)return;const s=t>i?ct:ht;this._slide(s,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&P.on(this._element,ft,(t=>this._keydown(t))),"hover"===this._config.pause&&(P.on(this._element,mt,(()=>this.pause())),P.on(this._element,pt,(()=>this._maybeEnableCycle()))),this._config.touch&&rt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of G.find(".carousel-item img",this._element))P.on(t,bt,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(dt)),rightCallback:()=>this._slide(this._directionToOrder(ut)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new rt(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=kt[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=G.findOne(Et,this._indicatorsElement);e.classList.remove(At),e.removeAttribute("aria-current");const i=G.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(At),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),s=t===ct,n=e||v(this._getItems(),i,s,this._config.wrap);if(n===i)return;const o=this._getItemIndex(n),r=e=>P.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(_t).defaultPrevented)return;if(!i||!n)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=n;const l=s?"carousel-item-start":"carousel-item-end",c=s?"carousel-item-next":"carousel-item-prev";n.classList.add(c),u(n),i.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add(At),i.classList.remove(At,c,l),this._isSliding=!1,r(gt)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return G.findOne(Tt,this._element)}_getItems(){return G.find(Ct,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return f()?t===dt?ht:ct:t===dt?ct:ht}_orderToDirection(t){return f()?t===ht?dt:ut:t===ht?ut:dt}static jQueryInterface(t){return this.each((function(){const e=It.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}P.on(document,yt,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=n(this);if(!e||!e.classList.contains(wt))return;t.preventDefault();const i=It.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");return s?(i.to(s),void i._maybeEnableCycle()):"next"===q.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),P.on(window,vt,(()=>{const t=G.find('[data-bs-ride="carousel"]');for(const e of t)It.getOrCreateInstance(e)})),m(It);const Ot=".bs.collapse",St=`show${Ot}`,Nt=`shown${Ot}`,Dt=`hide${Ot}`,xt=`hidden${Ot}`,Pt=`click${Ot}.data-api`,Mt="show",jt="collapse",Ft="collapsing",zt=`:scope .${jt} .${jt}`,Ht='[data-bs-toggle="collapse"]',qt={parent:null,toggle:!0},Bt={parent:"(null|element)",toggle:"boolean"};class Wt extends W{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=G.find(Ht);for(const t of i){const e=s(t),i=G.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return qt}static get DefaultType(){return Bt}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>Wt.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(P.trigger(this._element,St).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(jt),this._element.classList.add(Ft),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ft),this._element.classList.add(jt,Mt),this._element.style[e]="",P.trigger(this._element,Nt)}),this._element,!0),this._element.style[e]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(P.trigger(this._element,Dt).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,u(this._element),this._element.classList.add(Ft),this._element.classList.remove(jt,Mt);for(const t of this._triggerArray){const e=n(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ft),this._element.classList.add(jt),P.trigger(this._element,xt)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Mt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=a(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ht);for(const e of t){const t=n(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=G.find(zt,this._config.parent);return G.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const i=Wt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}P.on(document,Pt,Ht,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=s(this),i=G.find(e);for(const t of i)Wt.getOrCreateInstance(t,{toggle:!1}).toggle()})),m(Wt);const Rt="dropdown",Vt=".bs.dropdown",Kt=".data-api",Qt="ArrowUp",Xt="ArrowDown",Yt=`hide${Vt}`,Ut=`hidden${Vt}`,Gt=`show${Vt}`,Jt=`shown${Vt}`,Zt=`click${Vt}${Kt}`,te=`keydown${Vt}${Kt}`,ee=`keyup${Vt}${Kt}`,ie="show",se='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ne=`${se}.${ie}`,oe=".dropdown-menu",re=f()?"top-end":"top-start",ae=f()?"top-start":"top-end",le=f()?"bottom-end":"bottom-start",ce=f()?"bottom-start":"bottom-end",he=f()?"left-start":"right-start",de=f()?"right-start":"left-start",ue={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},_e={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ge extends W{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=G.next(this._element,oe)[0]||G.prev(this._element,oe)[0]||G.findOne(oe,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ue}static get DefaultType(){return _e}static get NAME(){return Rt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(c(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!P.trigger(this._element,Gt,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))P.on(t,"mouseover",d);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ie),this._element.classList.add(ie),P.trigger(this._element,Jt,t)}}hide(){if(c(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!P.trigger(this._element,Yt,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",d);this._popper&&this._popper.destroy(),this._menu.classList.remove(ie),this._element.classList.remove(ie),this._element.setAttribute("aria-expanded","false"),q.removeDataAttribute(this._menu,"popper"),P.trigger(this._element,Ut,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!r(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Rt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:r(this._config.reference)?e=a(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const i=this._getPopperConfig();this._popper=t.createPopper(e,this._menu,i)}_isShown(){return this._menu.classList.contains(ie)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return he;if(t.classList.contains("dropstart"))return de;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?ae:re:e?ce:le}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(q.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const i=G.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>l(t)));i.length&&v(i,e,t===Xt,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ge.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=G.find(ne);for(const i of e){const e=ge.getInstance(i);if(!e||!1===e._config.autoClose)continue;const s=t.composedPath(),n=s.includes(e._menu);if(s.includes(e._element)||"inside"===e._config.autoClose&&!n||"outside"===e._config.autoClose&&n)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,s=[Qt,Xt].includes(t.key);if(!s&&!i)return;if(e&&!i)return;t.preventDefault();const n=this.matches(se)?this:G.prev(this,se)[0]||G.next(this,se)[0]||G.findOne(se,t.delegateTarget.parentNode),o=ge.getOrCreateInstance(n);if(s)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),n.focus())}}P.on(document,te,se,ge.dataApiKeydownHandler),P.on(document,te,oe,ge.dataApiKeydownHandler),P.on(document,Zt,ge.clearMenus),P.on(document,ee,ge.clearMenus),P.on(document,Zt,se,(function(t){t.preventDefault(),ge.getOrCreateInstance(this).toggle()})),m(ge);const fe={},me=".carousel-item.active";class pe extends W{constructor(t,e){super(t,e),this.carousel=G.findOne(".carousel",this.element),this.carouselPager=G.findOne(".carousel-pager span",this.element),this.carouselStartIndex=t.getAttribute("data-gallery-start"),this.carouselActiveItem=G.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=G.findOne(".modal",this.element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(t){const e=G.findOne(me,this.carousel),i=t.relatedTarget;this.carouselLazyLoad(i),this.carouselPager.textContent=t.to+1,this.stopVideo(e)}stopSlide(){const t=G.findOne(me,this.carousel);this.stopVideo(t)}stopVideo(t){const e=G.findOne("iframe",t),i=G.findOne("video",t);e?e.src=e.dataset.src:i&&i.pause()}carouselLazyLoad(t){const e=G.findOne("[data-src]",t);e&&!e.src&&(e.src=e.dataset.src)}addEventListeners(){P.on(this.carousel,"slide.bs.carousel",(t=>this.setSlide(t))),P.on(this.modal,"hide.bs.modal",(t=>this.stopSlide(t)))}static get Default(){return fe}static jQueryInterface(t){return this.each((function(){const e=pe.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,"click.bs.gallery.data-api",".bcl-gallery__grid a, .bcl-gallery__mobile-view-more",(t=>{const e=t.target.closest("div.bcl-gallery"),i=t.target.parentNode.getAttribute("data-bs-slide-to");e.dataset.galleryStart=i,pe.getOrCreateInstance(e)})),m(pe);const be=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ve=".sticky-top",ye="padding-right",we="margin-right";class Ae{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ye,(e=>e+t)),this._setElementAttributes(be,ye,(e=>e+t)),this._setElementAttributes(ve,we,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ye),this._resetElementAttributes(be,ye),this._resetElementAttributes(ve,we)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const s=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+s)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&q.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=q.getDataAttribute(t,e);null!==i?(q.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(r(t))e(t);else for(const i of G.find(t,this._element))e(i)}}const Ee="backdrop",Ce="show",Te=`mousedown.bs.${Ee}`,ke={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Le={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class $e extends B{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ke}static get DefaultType(){return Le}static get NAME(){return Ee}show(t){if(!this._config.isVisible)return void p(t);this._append();const e=this._getElement();this._config.isAnimated&&u(e),e.classList.add(Ce),this._emulateAnimation((()=>{p(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Ce),this._emulateAnimation((()=>{this.dispose(),p(t)}))):p(t)}dispose(){this._isAppended&&(P.off(this._element,Te),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=a(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),P.on(t,Te,(()=>{p(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){b(t,this._getElement(),this._config.isAnimated)}}const Ie=".bs.focustrap",Oe=`focusin${Ie}`,Se=`keydown.tab${Ie}`,Ne="backward",De={autofocus:!0,trapElement:null},xe={autofocus:"boolean",trapElement:"element"};class Pe extends B{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return De}static get DefaultType(){return xe}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),P.off(document,Ie),P.on(document,Oe,(t=>this._handleFocusin(t))),P.on(document,Se,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,P.off(document,Ie))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=G.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===Ne?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Ne:"forward")}}const Me=".bs.modal",je=`hide${Me}`,Fe=`hidePrevented${Me}`,ze=`hidden${Me}`,He=`show${Me}`,qe=`shown${Me}`,Be=`resize${Me}`,We=`click.dismiss${Me}`,Re=`mousedown.dismiss${Me}`,Ve=`keydown.dismiss${Me}`,Ke=`click${Me}.data-api`,Qe="modal-open",Xe="show",Ye="modal-static",Ue={backdrop:!0,focus:!0,keyboard:!0},Ge={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Je extends W{constructor(t,e){super(t,e),this._dialog=G.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ae,this._addEventListeners()}static get Default(){return Ue}static get DefaultType(){return Ge}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||P.trigger(this._element,He,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Qe),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(P.trigger(this._element,je).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Xe),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const t of[window,this._dialog])P.off(t,Me);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new $e({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Pe({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=G.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),u(this._element),this._element.classList.add(Xe),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,P.trigger(this._element,qe,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){P.on(this._element,Ve,(t=>{if("Escape"===t.key)return this._config.keyboard?(t.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),P.on(window,Be,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),P.on(this._element,Re,(t=>{P.one(this._element,We,(e=>{this._element===t.target&&this._element===e.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(Qe),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,ze)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,Fe).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Ye)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ye),this._queueCallback((()=>{this._element.classList.remove(Ye),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=f()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=f()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=Je.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}P.on(document,Ke,'[data-bs-toggle="modal"]',(function(t){const e=n(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),P.one(e,He,(t=>{t.defaultPrevented||P.one(e,ze,(()=>{l(this)&&this.focus()}))}));const i=G.findOne(".modal.show");i&&Je.getInstance(i).hide(),Je.getOrCreateInstance(e).toggle(this)})),R(Je),m(Je);const Ze=".bs.offcanvas",ti=".data-api",ei=`load${Ze}${ti}`,ii="show",si="showing",ni="hiding",oi=".offcanvas.show",ri=`show${Ze}`,ai=`shown${Ze}`,li=`hide${Ze}`,ci=`hidePrevented${Ze}`,hi=`hidden${Ze}`,di=`resize${Ze}`,ui=`click${Ze}${ti}`,_i=`keydown.dismiss${Ze}`,gi={backdrop:!0,keyboard:!0,scroll:!1},fi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class mi extends W{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return gi}static get DefaultType(){return fi}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||P.trigger(this._element,ri,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Ae).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(si),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(ii),this._element.classList.remove(si),P.trigger(this._element,ai,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(P.trigger(this._element,li).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ni),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(ii,ni),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Ae).reset(),P.trigger(this._element,hi)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new $e({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():P.trigger(this._element,ci)}:null})}_initializeFocusTrap(){return new Pe({trapElement:this._element})}_addEventListeners(){P.on(this._element,_i,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():P.trigger(this._element,ci))}))}static jQueryInterface(t){return this.each((function(){const e=mi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,ui,'[data-bs-toggle="offcanvas"]',(function(t){const e=n(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),c(this))return;P.one(e,hi,(()=>{l(this)&&this.focus()}));const i=G.findOne(oi);i&&i!==e&&mi.getInstance(i).hide(),mi.getOrCreateInstance(e).toggle(this)})),P.on(window,ei,(()=>{for(const t of G.find(oi))mi.getOrCreateInstance(t).show()})),P.on(window,di,(()=>{for(const t of G.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&mi.getOrCreateInstance(t).hide()})),R(mi),m(mi);const pi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),bi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,vi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,yi=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!pi.has(i)||Boolean(bi.test(t.nodeValue)||vi.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))},wi={"*":["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:[]},Ai={allowList:wi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ei={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ci={entry:"(string|element|function|null)",selector:"(string|element)"};class Ti extends B{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ai}static get DefaultType(){return Ei}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},Ci)}_setContent(t,e,i){const s=G.findOne(i,t);s&&((e=this._resolvePossibleFunction(e))?r(e)?this._putElementInTemplate(a(e),s):this._config.html?s.innerHTML=this._maybeSanitize(e):s.textContent=e:s.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const s=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...s.body.querySelectorAll("*"));for(const t of n){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const s=[].concat(...t.attributes),n=[].concat(e["*"]||[],e[i]||[]);for(const e of s)yi(e,n)||t.removeAttribute(e.nodeName)}return s.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const ki=new Set(["sanitize","allowList","sanitizeFn"]),Li="fade",$i="show",Ii=".modal",Oi="hide.bs.modal",Si="hover",Ni="focus",Di={AUTO:"auto",TOP:"top",RIGHT:f()?"left":"right",BOTTOM:"bottom",LEFT:f()?"right":"left"},xi={allowList:wi,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"},Pi={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 Mi extends W{constructor(e,i){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,i),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 xi}static get DefaultType(){return Pi}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),P.off(this._element.closest(Ii),Oi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=P.trigger(this._element,this.constructor.eventName("show")),e=(h(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),P.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add($i),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.on(t,"mouseover",d);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()&&!P.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove($i),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",d);this._activeTrigger.click=!1,this._activeTrigger[Ni]=!1,this._activeTrigger[Si]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Li,$i),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(Li),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Ti({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Li)}_isShown(){return this.tip&&this.tip.classList.contains($i)}_createPopper(e){const i="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,s=Di[i.toUpperCase()];return t.createPopper(this._element,e,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)P.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===Si?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===Si?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");P.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Ni:Si]=!0,e._enter()})),P.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Ni:Si]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(Ii),Oi,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=q.getDataAttributes(this._element);for(const t of Object.keys(e))ki.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:a(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=Mi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m(Mi);const ji={...Mi.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"},Fi={...Mi.DefaultType,content:"(null|string|element|function)"};class zi extends Mi{static get Default(){return ji}static get DefaultType(){return Fi}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=zi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m(zi);const Hi=".bs.scrollspy",qi=`activate${Hi}`,Bi=`click${Hi}`,Wi=`load${Hi}.data-api`,Ri="active",Vi="[href]",Ki=".nav-link",Qi=`${Ki}, .nav-item > ${Ki}, .list-group-item`,Xi={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Yi={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ui extends W{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Xi}static get DefaultType(){return Yi}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=a(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(P.off(this._config.target,Bi),P.on(this._config.target,Bi,Vi,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,s=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:s,behavior:"smooth"});i.scrollTop=s}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},s=(this._rootElement||document.documentElement).scrollTop,n=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&t){if(i(o),!s)return}else n||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=G.find(Vi,this._config.target);for(const e of t){if(!e.hash||c(e))continue;const t=G.findOne(e.hash,this._element);l(t)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Ri),this._activateParents(t),P.trigger(this._element,qi,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))G.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Ri);else for(const e of G.parents(t,".nav, .list-group"))for(const t of G.prev(e,Qi))t.classList.add(Ri)}_clearActiveClass(t){t.classList.remove(Ri);const e=G.find(`${Vi}.${Ri}`,t);for(const t of e)t.classList.remove(Ri)}static jQueryInterface(t){return this.each((function(){const e=Ui.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(window,Wi,(()=>{for(const t of G.find('[data-bs-spy="scroll"]'))Ui.getOrCreateInstance(t)})),m(Ui);const Gi=".bs.tab",Ji=`hide${Gi}`,Zi=`hidden${Gi}`,ts=`show${Gi}`,es=`shown${Gi}`,is=`click${Gi}`,ss=`keydown${Gi}`,ns=`load${Gi}`,os="ArrowLeft",rs="ArrowRight",as="ArrowUp",ls="ArrowDown",cs="active",hs="fade",ds="show",us=":not(.dropdown-toggle)",_s='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',gs=`.nav-link${us}, .list-group-item${us}, [role="tab"]${us}, ${_s}`,fs=`.${cs}[data-bs-toggle="tab"], .${cs}[data-bs-toggle="pill"], .${cs}[data-bs-toggle="list"]`;class ms extends W{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),P.on(this._element,ss,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?P.trigger(e,Ji,{relatedTarget:t}):null;P.trigger(t,ts,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(cs),this._activate(n(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),P.trigger(t,es,{relatedTarget:e})):t.classList.add(ds)}),t,t.classList.contains(hs)))}_deactivate(t,e){t&&(t.classList.remove(cs),t.blur(),this._deactivate(n(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),P.trigger(t,Zi,{relatedTarget:e})):t.classList.remove(ds)}),t,t.classList.contains(hs)))}_keydown(t){if(![os,rs,as,ls].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[rs,ls].includes(t.key),i=v(this._getChildren().filter((t=>!c(t))),t.target,e,!0);i&&(i.focus({preventScroll:!0}),ms.getOrCreateInstance(i).show())}_getChildren(){return G.find(gs,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=n(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const s=(t,s)=>{const n=G.findOne(t,i);n&&n.classList.toggle(s,e)};s(".dropdown-toggle",cs),s(".dropdown-menu",ds),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(cs)}_getInnerElement(t){return t.matches(gs)?t:G.findOne(gs,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=ms.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(document,is,_s,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),c(this)||ms.getOrCreateInstance(this).show()})),P.on(window,ns,(()=>{for(const t of G.find(fs))ms.getOrCreateInstance(t)})),m(ms);const ps=".bs.toast",bs=`mouseover${ps}`,vs=`mouseout${ps}`,ys=`focusin${ps}`,ws=`focusout${ps}`,As=`hide${ps}`,Es=`hidden${ps}`,Cs=`show${ps}`,Ts=`shown${ps}`,ks="hide",Ls="show",$s="showing",Is={animation:"boolean",autohide:"boolean",delay:"number"},Os={animation:!0,autohide:!0,delay:5e3};class Ss extends W{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Os}static get DefaultType(){return Is}static get NAME(){return"toast"}show(){P.trigger(this._element,Cs).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(ks),u(this._element),this._element.classList.add(Ls,$s),this._queueCallback((()=>{this._element.classList.remove($s),P.trigger(this._element,Ts),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(P.trigger(this._element,As).defaultPrevented||(this._element.classList.add($s),this._queueCallback((()=>{this._element.classList.add(ks),this._element.classList.remove($s,Ls),P.trigger(this._element,Es)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ls),super.dispose()}isShown(){return this._element.classList.contains(Ls)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,bs,(t=>this._onInteraction(t,!0))),P.on(this._element,vs,(t=>this._onInteraction(t,!1))),P.on(this._element,ys,(t=>this._onInteraction(t,!0))),P.on(this._element,ws,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Ss.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}R(Ss),m(Ss);export{X as Alert,U as Button,It as Carousel,Wt as Collapse,ge as Dropdown,pe as Gallery,Je as Modal,mi as Offcanvas,zi as Popover,Ui as ScrollSpy,ms as Tab,Ss as Toast,Mi as Tooltip};
2
2
  //# sourceMappingURL=oe-bcl-joinup.esm.min.js.map