@openeuropa/bcl-theme-joinup 1.1.1 → 1.2.1

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 (344) hide show
  1. package/css/oe-bcl-joinup.css +77 -82
  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-a8ea26d8.svg +1 -0
  6. package/icons/view/svg/sprite.view-a8ea26d8.svg +1 -0
  7. package/icons/world-flags/1x1/ad.svg +4 -4
  8. package/icons/world-flags/1x1/af.svg +2 -2
  9. package/icons/world-flags/1x1/ag.svg +6 -6
  10. package/icons/world-flags/1x1/al.svg +3 -3
  11. package/icons/world-flags/1x1/ar.svg +23 -23
  12. package/icons/world-flags/1x1/arab.svg +109 -0
  13. package/icons/world-flags/1x1/as.svg +5 -5
  14. package/icons/world-flags/1x1/aw.svg +2 -2
  15. package/icons/world-flags/1x1/ax.svg +2 -2
  16. package/icons/world-flags/1x1/ba.svg +2 -2
  17. package/icons/world-flags/1x1/bb.svg +2 -2
  18. package/icons/world-flags/1x1/bi.svg +2 -2
  19. package/icons/world-flags/1x1/bj.svg +2 -2
  20. package/icons/world-flags/1x1/bm.svg +2 -2
  21. package/icons/world-flags/1x1/bn.svg +2 -2
  22. package/icons/world-flags/1x1/bo.svg +1 -1
  23. package/icons/world-flags/1x1/bs.svg +2 -2
  24. package/icons/world-flags/1x1/bv.svg +2 -2
  25. package/icons/world-flags/1x1/by.svg +2 -2
  26. package/icons/world-flags/1x1/bz.svg +12 -12
  27. package/icons/world-flags/1x1/cc.svg +7 -7
  28. package/icons/world-flags/1x1/cd.svg +2 -2
  29. package/icons/world-flags/1x1/cefta.svg +2 -2
  30. package/icons/world-flags/1x1/cf.svg +2 -2
  31. package/icons/world-flags/1x1/cg.svg +2 -2
  32. package/icons/world-flags/1x1/cl.svg +2 -2
  33. package/icons/world-flags/1x1/cm.svg +7 -7
  34. package/icons/world-flags/1x1/cn.svg +6 -6
  35. package/icons/world-flags/1x1/cu.svg +4 -4
  36. package/icons/world-flags/1x1/cv.svg +2 -2
  37. package/icons/world-flags/1x1/cw.svg +5 -5
  38. package/icons/world-flags/1x1/cx.svg +4 -4
  39. package/icons/world-flags/1x1/cy.svg +2 -2
  40. package/icons/world-flags/1x1/dg.svg +1 -0
  41. package/icons/world-flags/1x1/dj.svg +2 -2
  42. package/icons/world-flags/1x1/dm.svg +2 -2
  43. package/icons/world-flags/1x1/do.svg +123 -6743
  44. package/icons/world-flags/1x1/eac.svg +50 -0
  45. package/icons/world-flags/1x1/eg.svg +4 -4
  46. package/icons/world-flags/1x1/er.svg +2 -2
  47. package/icons/world-flags/1x1/es-ga.svg +3 -3
  48. package/icons/world-flags/1x1/es-pv.svg +5 -0
  49. package/icons/world-flags/1x1/et.svg +2 -2
  50. package/icons/world-flags/1x1/eu.svg +17 -17
  51. package/icons/world-flags/1x1/fk.svg +28 -28
  52. package/icons/world-flags/1x1/fm.svg +2 -2
  53. package/icons/world-flags/1x1/fo.svg +2 -2
  54. package/icons/world-flags/1x1/fr.svg +3 -5
  55. package/icons/world-flags/1x1/gb-nir.svg +2 -2
  56. package/icons/world-flags/1x1/gd.svg +15 -15
  57. package/icons/world-flags/1x1/ge.svg +1 -1
  58. package/icons/world-flags/1x1/gf.svg +3 -5
  59. package/icons/world-flags/1x1/gg.svg +4 -4
  60. package/icons/world-flags/1x1/gi.svg +2 -2
  61. package/icons/world-flags/1x1/gp.svg +3 -5
  62. package/icons/world-flags/1x1/gs.svg +40 -40
  63. package/icons/world-flags/1x1/gt.svg +61 -77
  64. package/icons/world-flags/1x1/gw.svg +7 -7
  65. package/icons/world-flags/1x1/hk.svg +7 -29
  66. package/icons/world-flags/1x1/hn.svg +12 -12
  67. package/icons/world-flags/1x1/hr.svg +3 -3
  68. package/icons/world-flags/1x1/ht.svg +8 -8
  69. package/icons/world-flags/1x1/il.svg +2 -2
  70. package/icons/world-flags/1x1/im.svg +2 -2
  71. package/icons/world-flags/1x1/in.svg +9 -9
  72. package/icons/world-flags/1x1/io.svg +1 -0
  73. package/icons/world-flags/1x1/ir.svg +2 -2
  74. package/icons/world-flags/1x1/is.svg +2 -2
  75. package/icons/world-flags/1x1/je.svg +21 -21
  76. package/icons/world-flags/1x1/jo.svg +2 -2
  77. package/icons/world-flags/1x1/jp.svg +2 -2
  78. package/icons/world-flags/1x1/ke.svg +11 -11
  79. package/icons/world-flags/1x1/kg.svg +2 -2
  80. package/icons/world-flags/1x1/kh.svg +2 -2
  81. package/icons/world-flags/1x1/ki.svg +2 -2
  82. package/icons/world-flags/1x1/km.svg +2 -2
  83. package/icons/world-flags/1x1/kn.svg +2 -2
  84. package/icons/world-flags/1x1/kp.svg +2 -2
  85. package/icons/world-flags/1x1/kr.svg +4 -4
  86. package/icons/world-flags/1x1/kw.svg +2 -2
  87. package/icons/world-flags/1x1/ky.svg +44 -50
  88. package/icons/world-flags/1x1/kz.svg +31 -18
  89. package/icons/world-flags/1x1/la.svg +2 -2
  90. package/icons/world-flags/1x1/lb.svg +2 -2
  91. package/icons/world-flags/1x1/li.svg +2 -2
  92. package/icons/world-flags/1x1/lk.svg +6 -6
  93. package/icons/world-flags/1x1/lr.svg +2 -2
  94. package/icons/world-flags/1x1/ly.svg +2 -2
  95. package/icons/world-flags/1x1/mf.svg +3 -5
  96. package/icons/world-flags/1x1/mm.svg +5 -5
  97. package/icons/world-flags/1x1/mo.svg +2 -2
  98. package/icons/world-flags/1x1/mp.svg +2 -2
  99. package/icons/world-flags/1x1/mq.svg +3 -5
  100. package/icons/world-flags/1x1/mr.svg +1 -1
  101. package/icons/world-flags/1x1/ms.svg +9 -9
  102. package/icons/world-flags/1x1/mw.svg +2 -2
  103. package/icons/world-flags/1x1/mx.svg +7 -7
  104. package/icons/world-flags/1x1/my.svg +16 -5
  105. package/icons/world-flags/1x1/mz.svg +2 -2
  106. package/icons/world-flags/1x1/na.svg +2 -2
  107. package/icons/world-flags/1x1/ni.svg +59 -59
  108. package/icons/world-flags/1x1/np.svg +4 -5
  109. package/icons/world-flags/1x1/nr.svg +2 -2
  110. package/icons/world-flags/1x1/nz.svg +16 -16
  111. package/icons/world-flags/1x1/om.svg +2 -2
  112. package/icons/world-flags/1x1/pa.svg +2 -2
  113. package/icons/world-flags/1x1/pe.svg +23 -23
  114. package/icons/world-flags/1x1/pf.svg +2 -2
  115. package/icons/world-flags/1x1/pg.svg +2 -2
  116. package/icons/world-flags/1x1/ph.svg +1 -3
  117. package/icons/world-flags/1x1/pk.svg +2 -2
  118. package/icons/world-flags/1x1/pm.svg +3 -5
  119. package/icons/world-flags/1x1/pn.svg +15 -15
  120. package/icons/world-flags/1x1/pr.svg +2 -2
  121. package/icons/world-flags/1x1/ps.svg +2 -2
  122. package/icons/world-flags/1x1/pt.svg +17 -17
  123. package/icons/world-flags/1x1/pw.svg +2 -2
  124. package/icons/world-flags/1x1/rs.svg +14 -14
  125. package/icons/world-flags/1x1/rw.svg +4 -4
  126. package/icons/world-flags/1x1/sa.svg +6 -7
  127. package/icons/world-flags/1x1/sb.svg +2 -2
  128. package/icons/world-flags/1x1/sd.svg +2 -2
  129. package/icons/world-flags/1x1/sg.svg +2 -2
  130. package/icons/world-flags/1x1/si.svg +2 -2
  131. package/icons/world-flags/1x1/sl.svg +2 -2
  132. package/icons/world-flags/1x1/so.svg +2 -2
  133. package/icons/world-flags/1x1/st.svg +9 -9
  134. package/icons/world-flags/1x1/sv.svg +6 -6
  135. package/icons/world-flags/1x1/sx.svg +2 -2
  136. package/icons/world-flags/1x1/sz.svg +8 -8
  137. package/icons/world-flags/1x1/tc.svg +12 -12
  138. package/icons/world-flags/1x1/tf.svg +6 -6
  139. package/icons/world-flags/1x1/tg.svg +2 -2
  140. package/icons/world-flags/1x1/tj.svg +11 -11
  141. package/icons/world-flags/1x1/tl.svg +2 -2
  142. package/icons/world-flags/1x1/tm.svg +3 -3
  143. package/icons/world-flags/1x1/tn.svg +2 -11
  144. package/icons/world-flags/1x1/tw.svg +2 -2
  145. package/icons/world-flags/1x1/tz.svg +2 -2
  146. package/icons/world-flags/1x1/ug.svg +2 -2
  147. package/icons/world-flags/1x1/um.svg +2 -2
  148. package/icons/world-flags/1x1/un.svg +2 -2
  149. package/icons/world-flags/1x1/us.svg +7 -8
  150. package/icons/world-flags/1x1/uy.svg +10 -10
  151. package/icons/world-flags/1x1/uz.svg +16 -16
  152. package/icons/world-flags/1x1/va.svg +179 -468
  153. package/icons/world-flags/1x1/ve.svg +14 -14
  154. package/icons/world-flags/1x1/vg.svg +21 -25
  155. package/icons/world-flags/1x1/vi.svg +2 -2
  156. package/icons/world-flags/1x1/vn.svg +2 -2
  157. package/icons/world-flags/1x1/vu.svg +4 -4
  158. package/icons/world-flags/1x1/wf.svg +3 -5
  159. package/icons/world-flags/1x1/xk.svg +1 -4
  160. package/icons/world-flags/1x1/xx.svg +1 -1
  161. package/icons/world-flags/1x1/yt.svg +3 -5
  162. package/icons/world-flags/1x1/za.svg +2 -2
  163. package/icons/world-flags/1x1/zm.svg +2 -2
  164. package/icons/world-flags/1x1/zw.svg +4 -4
  165. package/icons/world-flags/4x3/ad.svg +4 -4
  166. package/icons/world-flags/4x3/af.svg +2 -2
  167. package/icons/world-flags/4x3/ag.svg +7 -7
  168. package/icons/world-flags/4x3/al.svg +3 -3
  169. package/icons/world-flags/4x3/ar.svg +23 -23
  170. package/icons/world-flags/4x3/arab.svg +109 -0
  171. package/icons/world-flags/4x3/as.svg +9 -9
  172. package/icons/world-flags/4x3/aw.svg +2 -2
  173. package/icons/world-flags/4x3/ax.svg +2 -2
  174. package/icons/world-flags/4x3/ba.svg +2 -2
  175. package/icons/world-flags/4x3/bb.svg +2 -2
  176. package/icons/world-flags/4x3/bi.svg +2 -2
  177. package/icons/world-flags/4x3/bj.svg +2 -2
  178. package/icons/world-flags/4x3/bl.svg +3 -5
  179. package/icons/world-flags/4x3/bm.svg +2 -2
  180. package/icons/world-flags/4x3/bn.svg +2 -2
  181. package/icons/world-flags/4x3/bo.svg +1 -1
  182. package/icons/world-flags/4x3/bs.svg +2 -2
  183. package/icons/world-flags/4x3/bv.svg +2 -2
  184. package/icons/world-flags/4x3/by.svg +2 -2
  185. package/icons/world-flags/4x3/bz.svg +12 -12
  186. package/icons/world-flags/4x3/cc.svg +7 -7
  187. package/icons/world-flags/4x3/cefta.svg +2 -2
  188. package/icons/world-flags/4x3/cf.svg +2 -2
  189. package/icons/world-flags/4x3/cg.svg +2 -2
  190. package/icons/world-flags/4x3/cl.svg +2 -2
  191. package/icons/world-flags/4x3/cm.svg +7 -7
  192. package/icons/world-flags/4x3/cn.svg +6 -6
  193. package/icons/world-flags/4x3/cu.svg +4 -4
  194. package/icons/world-flags/4x3/cv.svg +2 -2
  195. package/icons/world-flags/4x3/cw.svg +5 -5
  196. package/icons/world-flags/4x3/cx.svg +4 -4
  197. package/icons/world-flags/4x3/cy.svg +2 -2
  198. package/icons/world-flags/4x3/dg.svg +1 -0
  199. package/icons/world-flags/4x3/dj.svg +2 -2
  200. package/icons/world-flags/4x3/dm.svg +2 -2
  201. package/icons/world-flags/4x3/do.svg +121 -6743
  202. package/icons/world-flags/4x3/eac.svg +50 -0
  203. package/icons/world-flags/4x3/eg.svg +4 -4
  204. package/icons/world-flags/4x3/eh.svg +2 -2
  205. package/icons/world-flags/4x3/es-ga.svg +8 -8
  206. package/icons/world-flags/4x3/es-pv.svg +5 -0
  207. package/icons/world-flags/4x3/et.svg +2 -2
  208. package/icons/world-flags/4x3/eu.svg +17 -17
  209. package/icons/world-flags/4x3/fk.svg +28 -28
  210. package/icons/world-flags/4x3/fm.svg +2 -2
  211. package/icons/world-flags/4x3/fo.svg +2 -2
  212. package/icons/world-flags/4x3/fr.svg +3 -5
  213. package/icons/world-flags/4x3/gb-nir.svg +2 -2
  214. package/icons/world-flags/4x3/gd.svg +15 -15
  215. package/icons/world-flags/4x3/ge.svg +1 -1
  216. package/icons/world-flags/4x3/gf.svg +3 -5
  217. package/icons/world-flags/4x3/gg.svg +4 -4
  218. package/icons/world-flags/4x3/gi.svg +2 -2
  219. package/icons/world-flags/4x3/gm.svg +2 -2
  220. package/icons/world-flags/4x3/gp.svg +3 -5
  221. package/icons/world-flags/4x3/gs.svg +41 -41
  222. package/icons/world-flags/4x3/gt.svg +61 -77
  223. package/icons/world-flags/4x3/gw.svg +7 -7
  224. package/icons/world-flags/4x3/hk.svg +7 -29
  225. package/icons/world-flags/4x3/hn.svg +12 -12
  226. package/icons/world-flags/4x3/hr.svg +3 -3
  227. package/icons/world-flags/4x3/ht.svg +8 -8
  228. package/icons/world-flags/4x3/il.svg +2 -2
  229. package/icons/world-flags/4x3/im.svg +2 -2
  230. package/icons/world-flags/4x3/in.svg +9 -9
  231. package/icons/world-flags/4x3/io.svg +1 -0
  232. package/icons/world-flags/4x3/ir.svg +2 -2
  233. package/icons/world-flags/4x3/is.svg +2 -2
  234. package/icons/world-flags/4x3/je.svg +2 -2
  235. package/icons/world-flags/4x3/jo.svg +2 -2
  236. package/icons/world-flags/4x3/jp.svg +2 -2
  237. package/icons/world-flags/4x3/ke.svg +11 -11
  238. package/icons/world-flags/4x3/kg.svg +2 -2
  239. package/icons/world-flags/4x3/kh.svg +2 -2
  240. package/icons/world-flags/4x3/ki.svg +2 -2
  241. package/icons/world-flags/4x3/km.svg +2 -2
  242. package/icons/world-flags/4x3/kn.svg +2 -2
  243. package/icons/world-flags/4x3/kp.svg +2 -2
  244. package/icons/world-flags/4x3/kr.svg +6 -6
  245. package/icons/world-flags/4x3/kw.svg +2 -2
  246. package/icons/world-flags/4x3/ky.svg +44 -50
  247. package/icons/world-flags/4x3/kz.svg +31 -18
  248. package/icons/world-flags/4x3/la.svg +2 -2
  249. package/icons/world-flags/4x3/lb.svg +2 -2
  250. package/icons/world-flags/4x3/li.svg +2 -2
  251. package/icons/world-flags/4x3/lk.svg +6 -6
  252. package/icons/world-flags/4x3/lr.svg +2 -2
  253. package/icons/world-flags/4x3/ly.svg +2 -2
  254. package/icons/world-flags/4x3/mf.svg +3 -5
  255. package/icons/world-flags/4x3/mm.svg +5 -5
  256. package/icons/world-flags/4x3/mo.svg +2 -2
  257. package/icons/world-flags/4x3/mp.svg +2 -2
  258. package/icons/world-flags/4x3/mq.svg +3 -5
  259. package/icons/world-flags/4x3/mr.svg +1 -1
  260. package/icons/world-flags/4x3/ms.svg +10 -14
  261. package/icons/world-flags/4x3/mx.svg +7 -7
  262. package/icons/world-flags/4x3/my.svg +24 -5
  263. package/icons/world-flags/4x3/mz.svg +2 -2
  264. package/icons/world-flags/4x3/na.svg +2 -2
  265. package/icons/world-flags/4x3/ni.svg +59 -59
  266. package/icons/world-flags/4x3/np.svg +2 -3
  267. package/icons/world-flags/4x3/nr.svg +2 -2
  268. package/icons/world-flags/4x3/nz.svg +16 -16
  269. package/icons/world-flags/4x3/om.svg +2 -2
  270. package/icons/world-flags/4x3/pa.svg +2 -2
  271. package/icons/world-flags/4x3/pe.svg +23 -23
  272. package/icons/world-flags/4x3/pf.svg +2 -2
  273. package/icons/world-flags/4x3/pk.svg +2 -2
  274. package/icons/world-flags/4x3/pm.svg +3 -5
  275. package/icons/world-flags/4x3/pn.svg +15 -15
  276. package/icons/world-flags/4x3/pr.svg +2 -2
  277. package/icons/world-flags/4x3/ps.svg +2 -2
  278. package/icons/world-flags/4x3/pt.svg +17 -17
  279. package/icons/world-flags/4x3/pw.svg +2 -2
  280. package/icons/world-flags/4x3/re.svg +3 -5
  281. package/icons/world-flags/4x3/rs.svg +14 -14
  282. package/icons/world-flags/4x3/rw.svg +4 -4
  283. package/icons/world-flags/4x3/sa.svg +6 -7
  284. package/icons/world-flags/4x3/sb.svg +2 -2
  285. package/icons/world-flags/4x3/sd.svg +2 -2
  286. package/icons/world-flags/4x3/sg.svg +2 -2
  287. package/icons/world-flags/4x3/si.svg +2 -2
  288. package/icons/world-flags/4x3/so.svg +2 -2
  289. package/icons/world-flags/4x3/st.svg +9 -9
  290. package/icons/world-flags/4x3/sv.svg +6 -6
  291. package/icons/world-flags/4x3/sx.svg +2 -2
  292. package/icons/world-flags/4x3/sz.svg +8 -8
  293. package/icons/world-flags/4x3/tc.svg +12 -12
  294. package/icons/world-flags/4x3/tf.svg +6 -6
  295. package/icons/world-flags/4x3/tg.svg +2 -2
  296. package/icons/world-flags/4x3/tj.svg +11 -11
  297. package/icons/world-flags/4x3/tl.svg +2 -2
  298. package/icons/world-flags/4x3/tm.svg +3 -3
  299. package/icons/world-flags/4x3/tn.svg +2 -11
  300. package/icons/world-flags/4x3/tw.svg +2 -2
  301. package/icons/world-flags/4x3/tz.svg +2 -2
  302. package/icons/world-flags/4x3/ug.svg +2 -2
  303. package/icons/world-flags/4x3/um.svg +2 -2
  304. package/icons/world-flags/4x3/un.svg +2 -2
  305. package/icons/world-flags/4x3/us.svg +7 -8
  306. package/icons/world-flags/4x3/uy.svg +10 -10
  307. package/icons/world-flags/4x3/uz.svg +16 -16
  308. package/icons/world-flags/4x3/va.svg +179 -468
  309. package/icons/world-flags/4x3/ve.svg +14 -14
  310. package/icons/world-flags/4x3/vg.svg +21 -25
  311. package/icons/world-flags/4x3/vi.svg +2 -2
  312. package/icons/world-flags/4x3/vn.svg +2 -2
  313. package/icons/world-flags/4x3/vu.svg +4 -4
  314. package/icons/world-flags/4x3/wf.svg +3 -5
  315. package/icons/world-flags/4x3/xk.svg +1 -4
  316. package/icons/world-flags/4x3/xx.svg +1 -1
  317. package/icons/world-flags/4x3/yt.svg +3 -5
  318. package/icons/world-flags/4x3/za.svg +2 -2
  319. package/icons/world-flags/4x3/zm.svg +2 -2
  320. package/icons/world-flags/4x3/zw.svg +4 -4
  321. package/js/oe-bcl-joinup.bundle.js +31 -9
  322. package/js/oe-bcl-joinup.bundle.js.map +1 -1
  323. package/js/oe-bcl-joinup.bundle.min.js.map +1 -1
  324. package/js/oe-bcl-joinup.esm.js +24 -3
  325. package/js/oe-bcl-joinup.esm.js.map +1 -1
  326. package/js/oe-bcl-joinup.esm.min.js.map +1 -1
  327. package/js/oe-bcl-joinup.umd.js +31 -158
  328. package/js/oe-bcl-joinup.umd.js.map +1 -1
  329. package/js/oe-bcl-joinup.umd.min.js +1 -1
  330. package/js/oe-bcl-joinup.umd.min.js.map +1 -1
  331. package/package.json +12 -12
  332. package/templates/bcl-badge/badge.html.twig +1 -1
  333. package/templates/bcl-banner/banner.html.twig +23 -7
  334. package/templates/bcl-card/card.html.twig +1 -1
  335. package/templates/bcl-carousel/carousel.html.twig +1 -1
  336. package/templates/bcl-date-block/date-block.html.twig +5 -5
  337. package/templates/bcl-featured-media/featured-media.html.twig +20 -5
  338. package/templates/bcl-form/form.html.twig +1 -1
  339. package/templates/bcl-gallery/gallery-item.html.twig +1 -1
  340. package/templates/bcl-link/link.html.twig +2 -2
  341. package/templates/bcl-placeholder/placeholder.html.twig +1 -1
  342. package/templates/bcl-subscription-block/subscription-block.html.twig +1 -1
  343. package/icons/world-flags/1x1/ea.svg +0 -547
  344. package/icons/world-flags/4x3/ea.svg +0 -544
@@ -1,2 +1,2 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t="transitionend",e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},i=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},n=t=>{const i=e(t);return i?document.querySelector(i):null},s=e=>{e.dispatchEvent(new Event(t))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=t=>{if(!o(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},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,f=[],p=()=>"rtl"===document.documentElement.dir,g=t=>{var e;e=()=>{const e=u();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of f)t()})),f.push(e)):e()},m=t=>{"function"==typeof t&&t()},_=(e,i,n=!0)=>{if(!n)return void m(e);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:n})=>{n===i&&(r=!0,i.removeEventListener(t,a),m(e))};i.addEventListener(t,a),setTimeout((()=>{r||s(i)}),o)},b=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,E={};let A=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(t,e){return e&&`${e}::${A++}`||t.uidEvent||A++}function x(t){const e=O(t);return t.uidEvent=e,E[e]=E[e]||{},E[e]}function k(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function L(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=N(t);return C.has(o)||(o=t),[n,s,o]}function S(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=L(e,i,n);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=x(t),c=l[a]||(l[a]={}),h=k(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=O(r,e.replace(v,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return P(s,{delegateTarget:r}),n.oneOff&&I.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return P(n,{delegateTarget:t}),i.oneOff&&I.off(t,n.type,e),e.apply(t,[n])}}(t,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function D(t,e,i,n,s){const o=k(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function $(t,e,i,n){const s=e[i]||{};for(const o of Object.keys(s))if(o.includes(n)){const n=s[o];D(t,e,i,n.callable,n.delegationSelector)}}function N(t){return t=t.replace(y,""),T[t]||t}const I={on(t,e,i,n){S(t,e,i,n,!1)},one(t,e,i,n){S(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=L(e,i,n),a=r!==e,l=x(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))$(t,l,i,e.slice(1));for(const i of Object.keys(c)){const n=i.replace(w,"");if(!a||e.includes(n)){const e=c[i];D(t,l,r,e.callable,e.delegationSelector)}}}else{if(!Object.keys(c).length)return;D(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=u();let s=null,o=!0,r=!0,a=!1;e!==N(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());let l=new Event(e,{bubbles:o,cancelable:!0});return l=P(l,i),a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function P(t,e){for(const[i,n]of Object.entries(e||{}))try{t[i]=n}catch{Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}const j=new Map;var M={set(t,e,i){j.has(t)||j.set(t,new Map);const n=j.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>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 H(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 q(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const B={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${q(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${q(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=H(t.dataset[n])}return e},getDataAttribute:(t,e)=>H(t.getAttribute(`data-bs-${q(e)}`))};class W{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=o(e)?B.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(e)?B.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const n of Object.keys(e)){const s=e[n],r=t[n],a=o(r)?"element":null==(i=r)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}var i}}class F extends W{constructor(t,e){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(e),M.set(this._element,this.constructor.DATA_KEY,this))}dispose(){M.remove(this._element,this.constructor.DATA_KEY),I.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){_(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return M.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.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 z=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;I.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),l(this))return;const o=n(this)||this.closest(`.${s}`);t.getOrCreateInstance(o)[e]()}))},V=".bs.alert",R=`close${V}`,Y=`closed${V}`;class K extends F{static get NAME(){return"alert"}close(){if(I.trigger(this._element,R).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(),I.trigger(this._element,Y),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=K.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)}}))}}z(K,"close"),g(K);const Q='[data-bs-toggle="button"]';class X extends F{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=X.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}I.on(document,"click.bs.button.data-api",Q,(t=>{t.preventDefault();const e=t.target.closest(Q);X.getOrCreateInstance(e).toggle()})),g(X);const U={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.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=>!l(t)&&a(t)))}},G=".bs.swipe",J=`touchstart${G}`,Z=`touchmove${G}`,tt=`touchend${G}`,et=`pointerdown${G}`,it=`pointerup${G}`,nt={endCallback:null,leftCallback:null,rightCallback:null},st={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ot extends W{constructor(t,e){super(),this._element=t,t&&ot.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 st}static get NAME(){return"swipe"}dispose(){I.off(this._element,G)}_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(),m(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&&m(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(I.on(this._element,et,(t=>this._start(t))),I.on(this._element,it,(t=>this._end(t))),this._element.classList.add("pointer-event")):(I.on(this._element,J,(t=>this._start(t))),I.on(this._element,Z,(t=>this._move(t))),I.on(this._element,tt,(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 rt=".bs.carousel",at=".data-api",lt="next",ct="prev",ht="left",dt="right",ut=`slide${rt}`,ft=`slid${rt}`,pt=`keydown${rt}`,gt=`mouseenter${rt}`,mt=`mouseleave${rt}`,_t=`dragstart${rt}`,bt=`load${rt}${at}`,vt=`click${rt}${at}`,yt="carousel",wt="active",Et=".active",At=".carousel-item",Tt=Et+At,Ct={ArrowLeft:dt,ArrowRight:ht},Ot={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},xt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class kt extends F{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=U.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===yt&&this.cycle()}static get Default(){return Ot}static get DefaultType(){return xt}static get NAME(){return"carousel"}next(){this._slide(lt)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(ct)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?I.one(this._element,ft,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void I.one(this._element,ft,(()=>this.to(t)));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?lt:ct;this._slide(n,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&I.on(this._element,pt,(t=>this._keydown(t))),"hover"===this._config.pause&&(I.on(this._element,gt,(()=>this.pause())),I.on(this._element,mt,(()=>this._maybeEnableCycle()))),this._config.touch&&ot.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of U.find(".carousel-item img",this._element))I.on(t,_t,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(ht)),rightCallback:()=>this._slide(this._directionToOrder(dt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ot(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Ct[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=U.findOne(Et,this._indicatorsElement);e.classList.remove(wt),e.removeAttribute("aria-current");const i=U.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(wt),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(),n=t===lt,s=e||b(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>I.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(ut).defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),d(s),i.classList.add(l),s.classList.add(l),this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(wt),i.classList.remove(wt,c,l),this._isSliding=!1,r(ft)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return U.findOne(Tt,this._element)}_getItems(){return U.find(At,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return p()?t===ht?ct:lt:t===ht?lt:ct}_orderToDirection(t){return p()?t===ct?ht:dt:t===ct?dt:ht}static jQueryInterface(t){return this.each((function(){const e=kt.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)}))}}I.on(document,vt,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=n(this);if(!e||!e.classList.contains(yt))return;t.preventDefault();const i=kt.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");return s?(i.to(s),void i._maybeEnableCycle()):"next"===B.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),I.on(window,bt,(()=>{const t=U.find('[data-bs-ride="carousel"]');for(const e of t)kt.getOrCreateInstance(e)})),g(kt);const Lt=".bs.collapse",St=`show${Lt}`,Dt=`shown${Lt}`,$t=`hide${Lt}`,Nt=`hidden${Lt}`,It=`click${Lt}.data-api`,Pt="show",jt="collapse",Mt="collapsing",Ht=`:scope .${jt} .${jt}`,qt='[data-bs-toggle="collapse"]',Bt={parent:null,toggle:!0},Wt={parent:"(null|element)",toggle:"boolean"};class Ft extends F{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=U.find(qt);for(const t of n){const e=i(t),n=U.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Bt}static get DefaultType(){return Wt}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=>Ft.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(I.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(Mt),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(Mt),this._element.classList.add(jt,Pt),this._element.style[e]="",I.trigger(this._element,Dt)}),this._element,!0),this._element.style[e]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(I.trigger(this._element,$t).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add(Mt),this._element.classList.remove(jt,Pt);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(Mt),this._element.classList.add(jt),I.trigger(this._element,Nt)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Pt)}_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(qt);for(const e of t){const t=n(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=U.find(Ht,this._config.parent);return U.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=Ft.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}I.on(document,It,qt,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=i(this),n=U.find(e);for(const t of n)Ft.getOrCreateInstance(t,{toggle:!1}).toggle()})),g(Ft);var zt="top",Vt="bottom",Rt="right",Yt="left",Kt="auto",Qt=[zt,Vt,Rt,Yt],Xt="start",Ut="end",Gt="clippingParents",Jt="viewport",Zt="popper",te="reference",ee=Qt.reduce((function(t,e){return t.concat([e+"-"+Xt,e+"-"+Ut])}),[]),ie=[].concat(Qt,[Kt]).reduce((function(t,e){return t.concat([e,e+"-"+Xt,e+"-"+Ut])}),[]),ne="beforeRead",se="read",oe="afterRead",re="beforeMain",ae="main",le="afterMain",ce="beforeWrite",he="write",de="afterWrite",ue=[ne,se,oe,re,ae,le,ce,he,de];function fe(t){return t?(t.nodeName||"").toLowerCase():null}function pe(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ge(t){return t instanceof pe(t).Element||t instanceof Element}function me(t){return t instanceof pe(t).HTMLElement||t instanceof HTMLElement}function _e(t){return"undefined"!=typeof ShadowRoot&&(t instanceof pe(t).ShadowRoot||t instanceof ShadowRoot)}var be={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];me(s)&&fe(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});me(n)&&fe(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function ve(t){return t.split("-")[0]}var ye=Math.max,we=Math.min,Ee=Math.round;function Ae(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function Te(){return!/^((?!chrome|android).)*safari/i.test(Ae())}function Ce(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&me(t)&&(s=t.offsetWidth>0&&Ee(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Ee(n.height)/t.offsetHeight||1);var r=(ge(t)?pe(t):window).visualViewport,a=!Te()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,d=n.height/o;return{width:h,height:d,top:c,right:l+h,bottom:c+d,left:l,x:l,y:c}}function Oe(t){var e=Ce(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function xe(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&_e(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ke(t){return pe(t).getComputedStyle(t)}function Le(t){return["table","td","th"].indexOf(fe(t))>=0}function Se(t){return((ge(t)?t.ownerDocument:t.document)||window.document).documentElement}function De(t){return"html"===fe(t)?t:t.assignedSlot||t.parentNode||(_e(t)?t.host:null)||Se(t)}function $e(t){return me(t)&&"fixed"!==ke(t).position?t.offsetParent:null}function Ne(t){for(var e=pe(t),i=$e(t);i&&Le(i)&&"static"===ke(i).position;)i=$e(i);return i&&("html"===fe(i)||"body"===fe(i)&&"static"===ke(i).position)?e:i||function(t){var e=/firefox/i.test(Ae());if(/Trident/i.test(Ae())&&me(t)&&"fixed"===ke(t).position)return null;var i=De(t);for(_e(i)&&(i=i.host);me(i)&&["html","body"].indexOf(fe(i))<0;){var n=ke(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function Ie(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Pe(t,e,i){return ye(t,we(e,i))}function je(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Me(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var He={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=ve(i.placement),l=Ie(a),c=[Yt,Rt].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return je("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Me(t,Qt))}(s.padding,i),d=Oe(o),u="y"===l?zt:Yt,f="y"===l?Vt:Rt,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],g=r[l]-i.rects.reference[l],m=Ne(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=p/2-g/2,v=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+b,E=Pe(v,w,y),A=l;i.modifiersData[n]=((e={})[A]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&("production"!==process.env.NODE_ENV&&(me(n)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),xe(e.elements.popper,n)?e.elements.arrow=n:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qe(t){return t.split("-")[1]}var Be={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=t.isFixed,u=r.x,f=void 0===u?0:u,p=r.y,g=void 0===p?0:p,m="function"==typeof h?h({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=Yt,y=zt,w=window;if(c){var E=Ne(i),A="clientHeight",T="clientWidth";E===pe(i)&&"static"!==ke(E=Se(i)).position&&"absolute"===a&&(A="scrollHeight",T="scrollWidth"),(s===zt||(s===Yt||s===Rt)&&o===Ut)&&(y=Vt,g-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-n.height,g*=l?1:-1),s!==Yt&&(s!==zt&&s!==Vt||o!==Ut)||(v=Rt,f-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[T])-n.width,f*=l?1:-1)}var C,O=Object.assign({position:a},c&&Be),x=!0===h?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:Ee(i*s)/s||0,y:Ee(n*s)/s||0}}({x:f,y:g},pe(i)):{x:f,y:g};return f=x.x,g=x.y,l?Object.assign({},O,((C={})[y]=b?"0":"",C[v]=_?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",C)):Object.assign({},O,((e={})[y]=b?g+"px":"",e[v]=_?f+"px":"",e.transform="",e))}var Fe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a;if("production"!==process.env.NODE_ENV){var c=ke(e.elements.popper).transitionProperty||"";r&&["transform","top","right","bottom","left"].some((function(t){return c.indexOf(t)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var h={placement:ve(e.placement),variation:qe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,We(Object.assign({},h,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,We(Object.assign({},h,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},ze={passive:!0},Ve={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=pe(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,ze)})),a&&l.addEventListener("resize",i.update,ze),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,ze)})),a&&l.removeEventListener("resize",i.update,ze)}},data:{}},Re={left:"right",right:"left",bottom:"top",top:"bottom"};function Ye(t){return t.replace(/left|right|bottom|top/g,(function(t){return Re[t]}))}var Ke={start:"end",end:"start"};function Qe(t){return t.replace(/start|end/g,(function(t){return Ke[t]}))}function Xe(t){var e=pe(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ue(t){return Ce(Se(t)).left+Xe(t).scrollLeft}function Ge(t){var e=ke(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Je(t){return["html","body","#document"].indexOf(fe(t))>=0?t.ownerDocument.body:me(t)&&Ge(t)?t:Je(De(t))}function Ze(t,e){var i;void 0===e&&(e=[]);var n=Je(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=pe(n),r=s?[o].concat(o.visualViewport||[],Ge(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(Ze(De(r)))}function ti(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ei(t,e,i){return e===Jt?ti(function(t,e){var i=pe(t),n=Se(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Te();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Ue(t),y:l}}(t,i)):ge(e)?function(t,e){var i=Ce(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ti(function(t){var e,i=Se(t),n=Xe(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=ye(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ye(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Ue(t),l=-n.scrollTop;return"rtl"===ke(s||i).direction&&(a+=ye(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Se(t)))}function ii(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?ve(s):null,r=s?qe(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case zt:e={x:a,y:i.y-n.height};break;case Vt:e={x:a,y:i.y+i.height};break;case Rt:e={x:i.x+i.width,y:l};break;case Yt:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?Ie(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case Xt:e[c]=e[c]-(i[h]/2-n[h]/2);break;case Ut:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function ni(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.strategy,r=void 0===o?t.strategy:o,a=i.boundary,l=void 0===a?Gt:a,c=i.rootBoundary,h=void 0===c?Jt:c,d=i.elementContext,u=void 0===d?Zt:d,f=i.altBoundary,p=void 0!==f&&f,g=i.padding,m=void 0===g?0:g,_=je("number"!=typeof m?m:Me(m,Qt)),b=u===Zt?te:Zt,v=t.rects.popper,y=t.elements[p?b:u],w=function(t,e,i,n){var s="clippingParents"===e?function(t){var e=Ze(De(t)),i=["absolute","fixed"].indexOf(ke(t).position)>=0&&me(t)?Ne(t):t;return ge(i)?e.filter((function(t){return ge(t)&&xe(t,i)&&"body"!==fe(t)})):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(e,i){var s=ei(t,i,n);return e.top=ye(s.top,e.top),e.right=we(s.right,e.right),e.bottom=we(s.bottom,e.bottom),e.left=ye(s.left,e.left),e}),ei(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(ge(y)?y:y.contextElement||Se(t.elements.popper),l,h,r),E=Ce(t.elements.reference),A=ii({reference:E,element:v,strategy:"absolute",placement:s}),T=ti(Object.assign({},v,A)),C=u===Zt?T:E,O={top:w.top-C.top+_.top,bottom:C.bottom-w.bottom+_.bottom,left:w.left-C.left+_.left,right:C.right-w.right+_.right},x=t.modifiersData.offset;if(u===Zt&&x){var k=x[s];Object.keys(O).forEach((function(t){var e=[Rt,Vt].indexOf(t)>=0?1:-1,i=[zt,Vt].indexOf(t)>=0?"y":"x";O[t]+=k[i]*e}))}return O}function si(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?ie:l,h=qe(n),d=h?a?ee:ee.filter((function(t){return qe(t)===h})):Qt,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var f=u.reduce((function(e,i){return e[i]=ni(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[ve(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}var oi={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,g=i.allowedAutoPlacements,m=e.options.placement,_=ve(m),b=l||(_!==m&&p?function(t){if(ve(t)===Kt)return[];var e=Ye(t);return[Qe(t),e,Qe(e)]}(m):[Ye(m)]),v=[m].concat(b).reduce((function(t,i){return t.concat(ve(i)===Kt?si(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):i)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,A=!0,T=v[0],C=0;C<v.length;C++){var O=v[C],x=ve(O),k=qe(O)===Xt,L=[zt,Vt].indexOf(x)>=0,S=L?"width":"height",D=ni(e,{placement:O,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),$=L?k?Rt:Yt:k?Vt:zt;y[S]>w[S]&&($=Ye($));var N=Ye($),I=[];if(o&&I.push(D[x]<=0),a&&I.push(D[$]<=0,D[N]<=0),I.every((function(t){return t}))){T=O,A=!1;break}E.set(O,I)}if(A)for(var P=function(t){var e=v.find((function(e){var i=E.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},j=p?3:1;j>0&&"break"!==P(j);j--);e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ri(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function ai(t){return[zt,Rt,Vt,Yt].some((function(e){return t[e]>=0}))}var li={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=ni(e,{elementContext:"reference"}),a=ni(e,{altBoundary:!0}),l=ri(r,n),c=ri(a,s,o),h=ai(l),d=ai(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},ci={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=ie.reduce((function(t,i){return t[i]=function(t,e,i){var n=ve(t),s=[Yt,zt].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[Yt,Rt].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},hi={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=ii({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},di={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,g=void 0===p?0:p,m=ni(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=ve(e.placement),b=qe(e.placement),v=!b,y=Ie(_),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,A=e.rects.reference,T=e.rects.popper,C="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),x=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(E){if(o){var L,S="y"===y?zt:Yt,D="y"===y?Vt:Rt,$="y"===y?"height":"width",N=E[y],I=N+m[S],P=N-m[D],j=f?-T[$]/2:0,M=b===Xt?A[$]:T[$],H=b===Xt?-T[$]:-A[$],q=e.elements.arrow,B=f&&q?Oe(q):{width:0,height:0},W=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=W[S],z=W[D],V=Pe(0,A[$],B[$]),R=v?A[$]/2-j-V-F-O.mainAxis:M-V-F-O.mainAxis,Y=v?-A[$]/2+j+V+z+O.mainAxis:H+V+z+O.mainAxis,K=e.elements.arrow&&Ne(e.elements.arrow),Q=K?"y"===y?K.clientTop||0:K.clientLeft||0:0,X=null!=(L=null==x?void 0:x[y])?L:0,U=N+Y-X,G=Pe(f?we(I,N+R-X-Q):I,N,f?ye(P,U):P);E[y]=G,k[y]=G-N}if(a){var J,Z="x"===y?zt:Yt,tt="x"===y?Vt:Rt,et=E[w],it="y"===w?"height":"width",nt=et+m[Z],st=et-m[tt],ot=-1!==[zt,Yt].indexOf(_),rt=null!=(J=null==x?void 0:x[w])?J:0,at=ot?nt:et-A[it]-T[it]-rt+O.altAxis,lt=ot?et+A[it]+T[it]-rt-O.altAxis:st,ct=f&&ot?function(t,e,i){var n=Pe(t,e,i);return n>i?i:n}(at,et,lt):Pe(f?at:nt,et,f?lt:st);E[w]=ct,k[w]=ct-et}e.modifiersData[n]=k}},requiresIfExists:["offset"]};function ui(t,e,i){void 0===i&&(i=!1);var n,s,o=me(e),r=me(e)&&function(t){var e=t.getBoundingClientRect(),i=Ee(e.width)/t.offsetWidth||1,n=Ee(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=Se(e),l=Ce(t,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==fe(e)||Ge(a))&&(c=(n=e)!==pe(n)&&me(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Xe(n)),me(e)?((h=Ce(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=Ue(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function fi(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}function pi(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return[].concat(i).reduce((function(t,e){return t.replace(/%s/,e)}),t)}var gi='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',mi=["name","enabled","phase","fn","effect","requires","options"],_i="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",bi={placement:"bottom",modifiers:[],strategy:"absolute"};function vi(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function yi(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?bi:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},bi,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:ge(t)?Ze(t):t.contextElement?Ze(t.contextElement):[],popper:Ze(e)};var r,c,u,f,p,g=function(t){var e=fi(t);return ue.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((f=[].concat(n,a.options.modifiers),p=f.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(p).map((function(t){return p[t]}))));if(a.orderedModifiers=g.filter((function(t){return t.enabled})),"production"!==process.env.NODE_ENV){(function(t){t.forEach((function(e){[].concat(Object.keys(e),mi).filter((function(t,e,i){return i.indexOf(t)===e})).forEach((function(i){switch(i){case"name":"string"!=typeof e.name&&console.error(pi(gi,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":"boolean"!=typeof e.enabled&&console.error(pi(gi,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":ue.indexOf(e.phase)<0&&console.error(pi(gi,e.name,'"phase"',"either "+ue.join(", "),'"'+String(e.phase)+'"'));break;case"fn":"function"!=typeof e.fn&&console.error(pi(gi,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":null!=e.effect&&"function"!=typeof e.effect&&console.error(pi(gi,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":null==e.requires||Array.isArray(e.requires)||console.error(pi(gi,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(pi(gi,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+mi.map((function(t){return'"'+t+'"'})).join(", ")+'; but "'+i+'" was provided.')}e.requires&&e.requires.forEach((function(i){null==t.find((function(t){return t.name===i}))&&console.error(pi('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(e.name),i,i))}))}))}))})((r=[].concat(g,a.options.modifiers),c=function(t){return t.name},u=new Set,r.filter((function(t){var e=c(t);if(!u.has(e))return u.add(e),!0})))),ve(a.options.placement)===Kt&&(a.orderedModifiers.find((function(t){return"flip"===t.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var m=ke(e);[m.marginTop,m.marginRight,m.marginBottom,m.marginLeft].some((function(t){return parseFloat(t)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(vi(e,i)){a.rects={reference:ui(e,Ne(i),"fixed"===a.options.strategy),popper:Oe(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0,s=0;s<a.orderedModifiers.length;s++){if("production"!==process.env.NODE_ENV&&(n+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==a.reset){var o=a.orderedModifiers[s],r=o.fn,l=o.options,d=void 0===l?{}:l,u=o.name;"function"==typeof r&&(a=r({state:a,options:d,name:u,instance:h})||a)}else a.reset=!1,s=-1}}else"production"!==process.env.NODE_ENV&&console.error(_i)}},update:(s=function(){return new Promise((function(t){h.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!vi(t,e))return"production"!==process.env.NODE_ENV&&console.error(_i),h;function d(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),h}}var wi=yi(),Ei=yi({defaultModifiers:[Ve,hi,Fe,be]}),Ai=yi({defaultModifiers:[Ve,hi,Fe,be,ci,oi,di,He,li]}),Ti=Object.freeze({__proto__:null,afterMain:le,afterRead:oe,afterWrite:de,applyStyles:be,arrow:He,auto:Kt,basePlacements:Qt,beforeMain:re,beforeRead:ne,beforeWrite:ce,bottom:Vt,clippingParents:Gt,computeStyles:Fe,createPopper:Ai,createPopperBase:wi,createPopperLite:Ei,detectOverflow:ni,end:Ut,eventListeners:Ve,flip:oi,hide:li,left:Yt,main:ae,modifierPhases:ue,offset:ci,placements:ie,popper:Zt,popperGenerator:yi,popperOffsets:hi,preventOverflow:di,read:se,reference:te,right:Rt,start:Xt,top:zt,variationPlacements:ee,viewport:Jt,write:he});const Ci="dropdown",Oi=".bs.dropdown",xi=".data-api",ki="ArrowUp",Li="ArrowDown",Si=`hide${Oi}`,Di=`hidden${Oi}`,$i=`show${Oi}`,Ni=`shown${Oi}`,Ii=`click${Oi}${xi}`,Pi=`keydown${Oi}${xi}`,ji=`keyup${Oi}${xi}`,Mi="show",Hi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',qi=`${Hi}.${Mi}`,Bi=".dropdown-menu",Wi=p()?"top-end":"top-start",Fi=p()?"top-start":"top-end",zi=p()?"bottom-end":"bottom-start",Vi=p()?"bottom-start":"bottom-end",Ri=p()?"left-start":"right-start",Yi=p()?"right-start":"left-start",Ki={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Qi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Xi extends F{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=U.next(this._element,Bi)[0]||U.prev(this._element,Bi)[0]||U.findOne(Bi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ki}static get DefaultType(){return Qi}static get NAME(){return Ci}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!I.trigger(this._element,$i,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))I.on(t,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Mi),this._element.classList.add(Mi),I.trigger(this._element,Ni,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(!I.trigger(this._element,Si,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))I.off(t,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove(Mi),this._element.classList.remove(Mi),this._element.setAttribute("aria-expanded","false"),B.removeDataAttribute(this._menu,"popper"),I.trigger(this._element,Di,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ci.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===Ti)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:o(this._config.reference)?t=r(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=Ai(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Mi)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Ri;if(t.classList.contains("dropstart"))return Yi;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?Fi:Wi:e?Vi:zi}_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)&&(B.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=U.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));i.length&&b(i,e,t===Li,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Xi.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=U.find(qi);for(const i of e){const e=Xi.getInstance(i);if(!e||!1===e._config.autoClose)continue;const n=t.composedPath(),s=n.includes(e._menu);if(n.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s)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,n=[ki,Li].includes(t.key);if(!n&&!i)return;if(e&&!i)return;t.preventDefault();const s=this.matches(Hi)?this:U.prev(this,Hi)[0]||U.next(this,Hi)[0]||U.findOne(Hi,t.delegateTarget.parentNode),o=Xi.getOrCreateInstance(s);if(n)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}I.on(document,Pi,Hi,Xi.dataApiKeydownHandler),I.on(document,Pi,Bi,Xi.dataApiKeydownHandler),I.on(document,Ii,Xi.clearMenus),I.on(document,ji,Xi.clearMenus),I.on(document,Ii,Hi,(function(t){t.preventDefault(),Xi.getOrCreateInstance(this).toggle()})),g(Xi);const Ui={},Gi=".carousel-item.active";class Ji extends F{constructor(t,e){super(t,e),this.carousel=U.findOne(".carousel",this._element),this.carouselPager=U.findOne(".carousel-pager span",this._element),this.carouselStartIndex=t.getAttribute("data-gallery-start"),this.carouselActiveItem=U.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=U.findOne(".modal",this._element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(t){const e=U.findOne(Gi,this.carousel),i=t.relatedTarget;this.carouselLazyLoad(i),this.carouselPager.textContent=t.to+1,this.stopVideo(e)}stopSlide(){const t=U.findOne(Gi,this.carousel);this.stopVideo(t)}stopVideo(t){const e=U.findOne("iframe",t),i=U.findOne("video",t);e?e.src=e.dataset.src:i&&i.pause()}carouselLazyLoad(t){const e=U.findOne("[data-src]",t);e&&!e.src&&(e.src=e.dataset.src)}addEventListeners(){I.on(this.carousel,"slide.bs.carousel",(t=>this.setSlide(t))),I.on(this.modal,"hide.bs.modal",(t=>this.stopSlide(t)))}static get Default(){return Ui}static jQueryInterface(t){return this.each((function(){const e=Ji.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)}}))}}I.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,Ji.getOrCreateInstance(e)})),g(Ji);const Zi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",tn=".sticky-top",en="padding-right",nn="margin-right";class sn{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,en,(e=>e+t)),this._setElementAttributes(Zi,en,(e=>e+t)),this._setElementAttributes(tn,nn,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,en),this._resetElementAttributes(Zi,en),this._resetElementAttributes(tn,nn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&B.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=B.getDataAttribute(t,e);null!==i?(B.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(o(t))e(t);else for(const i of U.find(t,this._element))e(i)}}const on="backdrop",rn="show",an=`mousedown.bs.${on}`,ln={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},cn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class hn extends W{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ln}static get DefaultType(){return cn}static get NAME(){return on}show(t){if(!this._config.isVisible)return void m(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add(rn),this._emulateAnimation((()=>{m(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(rn),this._emulateAnimation((()=>{this.dispose(),m(t)}))):m(t)}dispose(){this._isAppended&&(I.off(this._element,an),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),I.on(t,an,(()=>{m(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){_(t,this._getElement(),this._config.isAnimated)}}const dn=".bs.focustrap",un=`focusin${dn}`,fn=`keydown.tab${dn}`,pn="backward",gn={autofocus:!0,trapElement:null},mn={autofocus:"boolean",trapElement:"element"};class _n extends W{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return gn}static get DefaultType(){return mn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),I.off(document,dn),I.on(document,un,(t=>this._handleFocusin(t))),I.on(document,fn,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,I.off(document,dn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=U.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===pn?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?pn:"forward")}}const bn=".bs.modal",vn=`hide${bn}`,yn=`hidePrevented${bn}`,wn=`hidden${bn}`,En=`show${bn}`,An=`shown${bn}`,Tn=`resize${bn}`,Cn=`click.dismiss${bn}`,On=`mousedown.dismiss${bn}`,xn=`keydown.dismiss${bn}`,kn=`click${bn}.data-api`,Ln="modal-open",Sn="show",Dn="modal-static",$n={backdrop:!0,focus:!0,keyboard:!0},Nn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class In extends F{constructor(t,e){super(t,e),this._dialog=U.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new sn,this._addEventListeners()}static get Default(){return $n}static get DefaultType(){return Nn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||I.trigger(this._element,En,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ln),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(I.trigger(this._element,vn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Sn),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const t of[window,this._dialog])I.off(t,bn);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new hn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new _n({trapElement:this._element})}_showElement(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=U.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add(Sn),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,I.trigger(this._element,An,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){I.on(this._element,xn,(t=>{if("Escape"===t.key)return this._config.keyboard?(t.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),I.on(window,Tn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),I.on(this._element,On,(t=>{I.one(this._element,Cn,(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(Ln),this._resetAdjustments(),this._scrollBar.reset(),I.trigger(this._element,wn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(I.trigger(this._element,yn).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Dn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Dn),this._queueCallback((()=>{this._element.classList.remove(Dn),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=p()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=p()?"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=In.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}I.on(document,kn,'[data-bs-toggle="modal"]',(function(t){const e=n(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),I.one(e,En,(t=>{t.defaultPrevented||I.one(e,wn,(()=>{a(this)&&this.focus()}))}));const i=U.findOne(".modal.show");i&&In.getInstance(i).hide(),In.getOrCreateInstance(e).toggle(this)})),z(In),g(In);const Pn=".bs.offcanvas",jn=".data-api",Mn=`load${Pn}${jn}`,Hn="show",qn="showing",Bn="hiding",Wn=".offcanvas.show",Fn=`show${Pn}`,zn=`shown${Pn}`,Vn=`hide${Pn}`,Rn=`hidePrevented${Pn}`,Yn=`hidden${Pn}`,Kn=`resize${Pn}`,Qn=`click${Pn}${jn}`,Xn=`keydown.dismiss${Pn}`,Un={backdrop:!0,keyboard:!0,scroll:!1},Gn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Jn extends F{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Un}static get DefaultType(){return Gn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||I.trigger(this._element,Fn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new sn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qn),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Hn),this._element.classList.remove(qn),I.trigger(this._element,zn,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(I.trigger(this._element,Vn).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Bn),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Hn,Bn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new sn).reset(),I.trigger(this._element,Yn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new hn({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():I.trigger(this._element,Rn)}:null})}_initializeFocusTrap(){return new _n({trapElement:this._element})}_addEventListeners(){I.on(this._element,Xn,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():I.trigger(this._element,Rn))}))}static jQueryInterface(t){return this.each((function(){const e=Jn.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)}}))}}I.on(document,Qn,'[data-bs-toggle="offcanvas"]',(function(t){const e=n(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;I.one(e,Yn,(()=>{a(this)&&this.focus()}));const i=U.findOne(Wn);i&&i!==e&&Jn.getInstance(i).hide(),Jn.getOrCreateInstance(e).toggle(this)})),I.on(window,Mn,(()=>{for(const t of U.find(Wn))Jn.getOrCreateInstance(t).show()})),I.on(window,Kn,(()=>{for(const t of U.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Jn.getOrCreateInstance(t).hide()})),z(Jn),g(Jn);const Zn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ts=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,es=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,is=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Zn.has(i)||Boolean(ts.test(t.nodeValue)||es.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))},ns={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ss={allowList:ns,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},os={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},rs={entry:"(string|element|function|null)",selector:"(string|element)"};class as extends W{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return ss}static get DefaultType(){return os}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},rs)}_setContent(t,e,i){const n=U.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.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 n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes),s=[].concat(e["*"]||[],e[i]||[]);for(const e of n)is(e,s)||t.removeAttribute(e.nodeName)}return n.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 ls=new Set(["sanitize","allowList","sanitizeFn"]),cs="fade",hs="show",ds=".modal",us="hide.bs.modal",fs="hover",ps="focus",gs={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},ms={allowList:ns,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},_s={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class bs extends F{constructor(t,e){if(void 0===Ti)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),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 ms}static get DefaultType(){return _s}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),I.off(this._element.closest(ds),us,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=I.trigger(this._element,this.constructor.eventName("show")),e=(c(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:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),I.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(hs),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))I.on(t,"mouseover",h);this._queueCallback((()=>{I.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!I.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(hs),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))I.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger[ps]=!1,this._activeTrigger[fs]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),I.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(cs,hs),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(cs),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new as({...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(cs)}_isShown(){return this.tip&&this.tip.classList.contains(hs)}_createPopper(t){const e="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,i=gs[e.toUpperCase()];return Ai(this._element,t,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)I.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===fs?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===fs?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");I.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?ps:fs]=!0,e._enter()})),I.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?ps:fs]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},I.on(this._element.closest(ds),us,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=B.getDataAttributes(this._element);for(const t of Object.keys(e))ls.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}),"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=bs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(bs);const vs={...bs.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ys={...bs.DefaultType,content:"(null|string|element|function)"};class ws extends bs{static get Default(){return vs}static get DefaultType(){return ys}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=ws.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(ws);const Es=".bs.scrollspy",As=`activate${Es}`,Ts=`click${Es}`,Cs=`load${Es}.data-api`,Os="active",xs="[href]",ks=".nav-link",Ls=`${ks}, .nav-item > ${ks}, .list-group-item`,Ss={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ds={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};let $s=class t extends F{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 Ss}static get DefaultType(){return Ds}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const 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&&(I.off(this._config.target,Ts),I.on(this._config.target,Ts,xs,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_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))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;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(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=U.find(xs,this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=U.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(Os),this._activateParents(t),I.trigger(this._element,As,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))U.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Os);else for(const e of U.parents(t,".nav, .list-group"))for(const t of U.prev(e,Ls))t.classList.add(Os)}_clearActiveClass(t){t.classList.remove(Os);const e=U.find(`${xs}.${Os}`,t);for(const t of e)t.classList.remove(Os)}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}}))}};function Ns(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function Is(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}I.on(window,Cs,(()=>{for(const t of U.find('[data-bs-spy="scroll"]'))$s.getOrCreateInstance(t)})),g($s);const Ps={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Is(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Is(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=Ns(t.dataset[i])})),e},getDataAttribute:(t,e)=>Ns(t.getAttribute(`data-bs-${Is(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},js=".bs.scrollspy",Ms={offset:10,method:"auto",target:""},Hs=`activate${js}`,qs=`scroll${js}`,Bs=`load${js}.data-api`,Ws="dropdown-item",Fs="active",zs=".nav-link",Vs=".list-group-item",Rs=`${zs}, ${Vs}, .${Ws}`,Ys="position";class Ks extends F{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,I.on(this._scrollElement,qs,(()=>this._process())),this.refresh(),this._process()}static get Default(){return Ms}static get NAME(){return"scrollspy"}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":Ys,e="auto"===this._config.method?t:this._config.method,n=e===Ys?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),U.find(Rs,this._config.target).map((t=>{const s=i(t),o=s?U.findOne(s):null;if(o){const t=o.getBoundingClientRect();if(t.width||t.height)return[Ps[e](o).top+n,s]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){I.off(this._scrollElement,js),super.dispose()}_getConfig(t){return(t={...Ms,...Ps.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=r(t.target)||document.documentElement,t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=Rs.split(",").map((e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`)),i=U.findOne(e.join(","),this._config.target);i.classList.add(Fs),i.classList.contains(Ws)?U.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(Fs):U.parents(i,".nav, .list-group").forEach((t=>{U.prev(t,`${zs}, ${Vs}`).forEach((t=>t.classList.add(Fs))),U.prev(t,".nav-item").forEach((t=>{U.children(t,zs).forEach((t=>t.classList.add(Fs)))}))})),I.trigger(this._scrollElement,Hs,{relatedTarget:t})}_clear(){U.find(Rs,this._config.target).filter((t=>t.classList.contains(Fs))).forEach((t=>t.classList.remove(Fs)))}static jQueryInterface(t){return this.each((function(){const e=Ks.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}I.on(window,Bs,(()=>{U.find('[data-bs-spy="scroll"]').forEach((t=>new Ks(t)))})),g(Ks);const Qs=".bs.tab",Xs=`hide${Qs}`,Us=`hidden${Qs}`,Gs=`show${Qs}`,Js=`shown${Qs}`,Zs=`click${Qs}`,to=`keydown${Qs}`,eo=`load${Qs}`,io="ArrowLeft",no="ArrowRight",so="ArrowUp",oo="ArrowDown",ro="active",ao="fade",lo="show",co=":not(.dropdown-toggle)",ho='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',uo=`.nav-link${co}, .list-group-item${co}, [role="tab"]${co}, ${ho}`,fo=`.${ro}[data-bs-toggle="tab"], .${ro}[data-bs-toggle="pill"], .${ro}[data-bs-toggle="list"]`;class po extends F{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),I.on(this._element,to,(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?I.trigger(e,Xs,{relatedTarget:t}):null;I.trigger(t,Gs,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(ro),this._activate(n(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),I.trigger(t,Js,{relatedTarget:e})):t.classList.add(lo)}),t,t.classList.contains(ao)))}_deactivate(t,e){t&&(t.classList.remove(ro),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),I.trigger(t,Us,{relatedTarget:e})):t.classList.remove(lo)}),t,t.classList.contains(ao)))}_keydown(t){if(![io,no,so,oo].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[no,oo].includes(t.key),i=b(this._getChildren().filter((t=>!l(t))),t.target,e,!0);i&&(i.focus({preventScroll:!0}),po.getOrCreateInstance(i).show())}_getChildren(){return U.find(uo,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 n=(t,n)=>{const s=U.findOne(t,i);s&&s.classList.toggle(n,e)};n(".dropdown-toggle",ro),n(".dropdown-menu",lo),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(ro)}_getInnerElement(t){return t.matches(uo)?t:U.findOne(uo,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=po.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}I.on(document,Zs,ho,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||po.getOrCreateInstance(this).show()})),I.on(window,eo,(()=>{for(const t of U.find(fo))po.getOrCreateInstance(t)})),g(po);const go=".bs.toast",mo=`mouseover${go}`,_o=`mouseout${go}`,bo=`focusin${go}`,vo=`focusout${go}`,yo=`hide${go}`,wo=`hidden${go}`,Eo=`show${go}`,Ao=`shown${go}`,To="hide",Co="show",Oo="showing",xo={animation:"boolean",autohide:"boolean",delay:"number"},ko={animation:!0,autohide:!0,delay:5e3};class Lo extends F{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ko}static get DefaultType(){return xo}static get NAME(){return"toast"}show(){I.trigger(this._element,Eo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(To),d(this._element),this._element.classList.add(Co,Oo),this._queueCallback((()=>{this._element.classList.remove(Oo),I.trigger(this._element,Ao),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(I.trigger(this._element,yo).defaultPrevented||(this._element.classList.add(Oo),this._queueCallback((()=>{this._element.classList.add(To),this._element.classList.remove(Oo,Co),I.trigger(this._element,wo)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Co),super.dispose()}isShown(){return this._element.classList.contains(Co)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(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(){I.on(this._element,mo,(t=>this._onInteraction(t,!0))),I.on(this._element,_o,(t=>this._onInteraction(t,!1))),I.on(this._element,bo,(t=>this._onInteraction(t,!0))),I.on(this._element,vo,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Lo.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return z(Lo),g(Lo),{Alert:K,Button:X,Carousel:kt,Collapse:Ft,Dropdown:Xi,Gallery:Ji,Modal:In,Offcanvas:Jn,Popover:ws,ScrollSpyV2:$s,ScrollSpy:Ks,Tab:po,Toast:Lo,Tooltip:bs}}));
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t="transitionend",e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},i=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},n=t=>{const i=e(t);return i?document.querySelector(i):null},s=e=>{e.dispatchEvent(new Event(t))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=t=>{if(!o(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},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,f=[],p=()=>"rtl"===document.documentElement.dir,g=t=>{var e;e=()=>{const e=u();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of f)t()})),f.push(e)):e()},m=t=>{"function"==typeof t&&t()},_=(e,i,n=!0)=>{if(!n)return void m(e);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:n})=>{n===i&&(r=!0,i.removeEventListener(t,a),m(e))};i.addEventListener(t,a),setTimeout((()=>{r||s(i)}),o)},b=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,A={};let E=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(t,e){return e&&`${e}::${E++}`||t.uidEvent||E++}function x(t){const e=O(t);return t.uidEvent=e,A[e]=A[e]||{},A[e]}function k(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function L(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=I(t);return C.has(o)||(o=t),[n,s,o]}function $(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=L(e,i,n);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=x(t),c=l[a]||(l[a]={}),h=k(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=O(r,e.replace(v,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return P(s,{delegateTarget:r}),n.oneOff&&N.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return P(n,{delegateTarget:t}),i.oneOff&&N.off(t,n.type,e),e.apply(t,[n])}}(t,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function D(t,e,i,n,s){const o=k(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function S(t,e,i,n){const s=e[i]||{};for(const o of Object.keys(s))if(o.includes(n)){const n=s[o];D(t,e,i,n.callable,n.delegationSelector)}}function I(t){return t=t.replace(y,""),T[t]||t}const N={on(t,e,i,n){$(t,e,i,n,!1)},one(t,e,i,n){$(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=L(e,i,n),a=r!==e,l=x(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))S(t,l,i,e.slice(1));for(const i of Object.keys(c)){const n=i.replace(w,"");if(!a||e.includes(n)){const e=c[i];D(t,l,r,e.callable,e.delegationSelector)}}}else{if(!Object.keys(c).length)return;D(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=u();let s=null,o=!0,r=!0,a=!1;e!==I(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());let l=new Event(e,{bubbles:o,cancelable:!0});return l=P(l,i),a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function P(t,e){for(const[i,n]of Object.entries(e||{}))try{t[i]=n}catch{Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}const j=new Map;var M={set(t,e,i){j.has(t)||j.set(t,new Map);const n=j.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>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 H(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 B(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const W={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${B(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${B(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=H(t.dataset[n])}return e},getDataAttribute:(t,e)=>H(t.getAttribute(`data-bs-${B(e)}`))};class F{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=o(e)?W.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(e)?W.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const n of Object.keys(e)){const s=e[n],r=t[n],a=o(r)?"element":null==(i=r)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}var i}}class z extends F{constructor(t,e){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(e),M.set(this._element,this.constructor.DATA_KEY,this))}dispose(){M.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){_(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return M.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.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;N.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),l(this))return;const o=n(this)||this.closest(`.${s}`);t.getOrCreateInstance(o)[e]()}))},q=".bs.alert",V=`close${q}`,Y=`closed${q}`;class K extends z{static get NAME(){return"alert"}close(){if(N.trigger(this._element,V).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(),N.trigger(this._element,Y),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=K.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(K,"close"),g(K);const Q='[data-bs-toggle="button"]';class X extends z{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=X.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}N.on(document,"click.bs.button.data-api",Q,(t=>{t.preventDefault();const e=t.target.closest(Q);X.getOrCreateInstance(e).toggle()})),g(X);const U={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.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=>!l(t)&&a(t)))}},G=".bs.swipe",Z=`touchstart${G}`,J=`touchmove${G}`,tt=`touchend${G}`,et=`pointerdown${G}`,it=`pointerup${G}`,nt={endCallback:null,leftCallback:null,rightCallback:null},st={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ot extends F{constructor(t,e){super(),this._element=t,t&&ot.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 st}static get NAME(){return"swipe"}dispose(){N.off(this._element,G)}_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(),m(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&&m(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(N.on(this._element,et,(t=>this._start(t))),N.on(this._element,it,(t=>this._end(t))),this._element.classList.add("pointer-event")):(N.on(this._element,Z,(t=>this._start(t))),N.on(this._element,J,(t=>this._move(t))),N.on(this._element,tt,(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 rt=".bs.carousel",at=".data-api",lt="next",ct="prev",ht="left",dt="right",ut=`slide${rt}`,ft=`slid${rt}`,pt=`keydown${rt}`,gt=`mouseenter${rt}`,mt=`mouseleave${rt}`,_t=`dragstart${rt}`,bt=`load${rt}${at}`,vt=`click${rt}${at}`,yt="carousel",wt="active",At=".active",Et=".carousel-item",Tt=At+Et,Ct={ArrowLeft:dt,ArrowRight:ht},Ot={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},xt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class kt extends z{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=U.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===yt&&this.cycle()}static get Default(){return Ot}static get DefaultType(){return xt}static get NAME(){return"carousel"}next(){this._slide(lt)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(ct)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?N.one(this._element,ft,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void N.one(this._element,ft,(()=>this.to(t)));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?lt:ct;this._slide(n,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&N.on(this._element,pt,(t=>this._keydown(t))),"hover"===this._config.pause&&(N.on(this._element,gt,(()=>this.pause())),N.on(this._element,mt,(()=>this._maybeEnableCycle()))),this._config.touch&&ot.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of U.find(".carousel-item img",this._element))N.on(t,_t,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(ht)),rightCallback:()=>this._slide(this._directionToOrder(dt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ot(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Ct[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=U.findOne(At,this._indicatorsElement);e.classList.remove(wt),e.removeAttribute("aria-current");const i=U.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(wt),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(),n=t===lt,s=e||b(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>N.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(ut).defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),d(s),i.classList.add(l),s.classList.add(l),this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(wt),i.classList.remove(wt,c,l),this._isSliding=!1,r(ft)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return U.findOne(Tt,this._element)}_getItems(){return U.find(Et,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return p()?t===ht?ct:lt:t===ht?lt:ct}_orderToDirection(t){return p()?t===ct?ht:dt:t===ct?dt:ht}static jQueryInterface(t){return this.each((function(){const e=kt.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)}))}}N.on(document,vt,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=n(this);if(!e||!e.classList.contains(yt))return;t.preventDefault();const i=kt.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");return s?(i.to(s),void i._maybeEnableCycle()):"next"===W.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),N.on(window,bt,(()=>{const t=U.find('[data-bs-ride="carousel"]');for(const e of t)kt.getOrCreateInstance(e)})),g(kt);const Lt=".bs.collapse",$t=`show${Lt}`,Dt=`shown${Lt}`,St=`hide${Lt}`,It=`hidden${Lt}`,Nt=`click${Lt}.data-api`,Pt="show",jt="collapse",Mt="collapsing",Ht=`:scope .${jt} .${jt}`,Bt='[data-bs-toggle="collapse"]',Wt={parent:null,toggle:!0},Ft={parent:"(null|element)",toggle:"boolean"};class zt extends z{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=U.find(Bt);for(const t of n){const e=i(t),n=U.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Wt}static get DefaultType(){return Ft}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=>zt.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(N.trigger(this._element,$t).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(jt),this._element.classList.add(Mt),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(Mt),this._element.classList.add(jt,Pt),this._element.style[e]="",N.trigger(this._element,Dt)}),this._element,!0),this._element.style[e]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(N.trigger(this._element,St).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add(Mt),this._element.classList.remove(jt,Pt);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(Mt),this._element.classList.add(jt),N.trigger(this._element,It)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Pt)}_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(Bt);for(const e of t){const t=n(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=U.find(Ht,this._config.parent);return U.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=zt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}N.on(document,Nt,Bt,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=i(this),n=U.find(e);for(const t of n)zt.getOrCreateInstance(t,{toggle:!1}).toggle()})),g(zt);var Rt="top",qt="bottom",Vt="right",Yt="left",Kt="auto",Qt=[Rt,qt,Vt,Yt],Xt="start",Ut="end",Gt="clippingParents",Zt="viewport",Jt="popper",te="reference",ee=Qt.reduce((function(t,e){return t.concat([e+"-"+Xt,e+"-"+Ut])}),[]),ie=[].concat(Qt,[Kt]).reduce((function(t,e){return t.concat([e,e+"-"+Xt,e+"-"+Ut])}),[]),ne="beforeRead",se="read",oe="afterRead",re="beforeMain",ae="main",le="afterMain",ce="beforeWrite",he="write",de="afterWrite",ue=[ne,se,oe,re,ae,le,ce,he,de];function fe(t){return t?(t.nodeName||"").toLowerCase():null}function pe(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ge(t){return t instanceof pe(t).Element||t instanceof Element}function me(t){return t instanceof pe(t).HTMLElement||t instanceof HTMLElement}function _e(t){return"undefined"!=typeof ShadowRoot&&(t instanceof pe(t).ShadowRoot||t instanceof ShadowRoot)}var be={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];me(s)&&fe(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});me(n)&&fe(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function ve(t){return t.split("-")[0]}var ye=Math.max,we=Math.min,Ae=Math.round;function Ee(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function Te(){return!/^((?!chrome|android).)*safari/i.test(Ee())}function Ce(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&me(t)&&(s=t.offsetWidth>0&&Ae(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Ae(n.height)/t.offsetHeight||1);var r=(ge(t)?pe(t):window).visualViewport,a=!Te()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,d=n.height/o;return{width:h,height:d,top:c,right:l+h,bottom:c+d,left:l,x:l,y:c}}function Oe(t){var e=Ce(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function xe(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&_e(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ke(t){return pe(t).getComputedStyle(t)}function Le(t){return["table","td","th"].indexOf(fe(t))>=0}function $e(t){return((ge(t)?t.ownerDocument:t.document)||window.document).documentElement}function De(t){return"html"===fe(t)?t:t.assignedSlot||t.parentNode||(_e(t)?t.host:null)||$e(t)}function Se(t){return me(t)&&"fixed"!==ke(t).position?t.offsetParent:null}function Ie(t){for(var e=pe(t),i=Se(t);i&&Le(i)&&"static"===ke(i).position;)i=Se(i);return i&&("html"===fe(i)||"body"===fe(i)&&"static"===ke(i).position)?e:i||function(t){var e=/firefox/i.test(Ee());if(/Trident/i.test(Ee())&&me(t)&&"fixed"===ke(t).position)return null;var i=De(t);for(_e(i)&&(i=i.host);me(i)&&["html","body"].indexOf(fe(i))<0;){var n=ke(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function Ne(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Pe(t,e,i){return ye(t,we(e,i))}function je(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Me(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var He={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=ve(i.placement),l=Ne(a),c=[Yt,Vt].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return je("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Me(t,Qt))}(s.padding,i),d=Oe(o),u="y"===l?Rt:Yt,f="y"===l?qt:Vt,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],g=r[l]-i.rects.reference[l],m=Ie(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=p/2-g/2,v=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+b,A=Pe(v,w,y),E=l;i.modifiersData[n]=((e={})[E]=A,e.centerOffset=A-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&xe(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Be(t){return t.split("-")[1]}var We={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Fe(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=t.isFixed,u=r.x,f=void 0===u?0:u,p=r.y,g=void 0===p?0:p,m="function"==typeof h?h({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=Yt,y=Rt,w=window;if(c){var A=Ie(i),E="clientHeight",T="clientWidth";A===pe(i)&&"static"!==ke(A=$e(i)).position&&"absolute"===a&&(E="scrollHeight",T="scrollWidth"),(s===Rt||(s===Yt||s===Vt)&&o===Ut)&&(y=qt,g-=(d&&A===w&&w.visualViewport?w.visualViewport.height:A[E])-n.height,g*=l?1:-1),s!==Yt&&(s!==Rt&&s!==qt||o!==Ut)||(v=Vt,f-=(d&&A===w&&w.visualViewport?w.visualViewport.width:A[T])-n.width,f*=l?1:-1)}var C,O=Object.assign({position:a},c&&We),x=!0===h?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:Ae(i*s)/s||0,y:Ae(n*s)/s||0}}({x:f,y:g},pe(i)):{x:f,y:g};return f=x.x,g=x.y,l?Object.assign({},O,((C={})[y]=b?"0":"",C[v]=_?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",C)):Object.assign({},O,((e={})[y]=b?g+"px":"",e[v]=_?f+"px":"",e.transform="",e))}var ze={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:ve(e.placement),variation:Be(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Fe(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Fe(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Re={passive:!0},qe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=pe(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,Re)})),a&&l.addEventListener("resize",i.update,Re),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,Re)})),a&&l.removeEventListener("resize",i.update,Re)}},data:{}},Ve={left:"right",right:"left",bottom:"top",top:"bottom"};function Ye(t){return t.replace(/left|right|bottom|top/g,(function(t){return Ve[t]}))}var Ke={start:"end",end:"start"};function Qe(t){return t.replace(/start|end/g,(function(t){return Ke[t]}))}function Xe(t){var e=pe(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ue(t){return Ce($e(t)).left+Xe(t).scrollLeft}function Ge(t){var e=ke(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Ze(t){return["html","body","#document"].indexOf(fe(t))>=0?t.ownerDocument.body:me(t)&&Ge(t)?t:Ze(De(t))}function Je(t,e){var i;void 0===e&&(e=[]);var n=Ze(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=pe(n),r=s?[o].concat(o.visualViewport||[],Ge(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(Je(De(r)))}function ti(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ei(t,e,i){return e===Zt?ti(function(t,e){var i=pe(t),n=$e(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Te();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Ue(t),y:l}}(t,i)):ge(e)?function(t,e){var i=Ce(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ti(function(t){var e,i=$e(t),n=Xe(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=ye(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ye(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Ue(t),l=-n.scrollTop;return"rtl"===ke(s||i).direction&&(a+=ye(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}($e(t)))}function ii(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?ve(s):null,r=s?Be(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case Rt:e={x:a,y:i.y-n.height};break;case qt:e={x:a,y:i.y+i.height};break;case Vt:e={x:i.x+i.width,y:l};break;case Yt:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?Ne(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case Xt:e[c]=e[c]-(i[h]/2-n[h]/2);break;case Ut:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function ni(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.strategy,r=void 0===o?t.strategy:o,a=i.boundary,l=void 0===a?Gt:a,c=i.rootBoundary,h=void 0===c?Zt:c,d=i.elementContext,u=void 0===d?Jt:d,f=i.altBoundary,p=void 0!==f&&f,g=i.padding,m=void 0===g?0:g,_=je("number"!=typeof m?m:Me(m,Qt)),b=u===Jt?te:Jt,v=t.rects.popper,y=t.elements[p?b:u],w=function(t,e,i,n){var s="clippingParents"===e?function(t){var e=Je(De(t)),i=["absolute","fixed"].indexOf(ke(t).position)>=0&&me(t)?Ie(t):t;return ge(i)?e.filter((function(t){return ge(t)&&xe(t,i)&&"body"!==fe(t)})):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(e,i){var s=ei(t,i,n);return e.top=ye(s.top,e.top),e.right=we(s.right,e.right),e.bottom=we(s.bottom,e.bottom),e.left=ye(s.left,e.left),e}),ei(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(ge(y)?y:y.contextElement||$e(t.elements.popper),l,h,r),A=Ce(t.elements.reference),E=ii({reference:A,element:v,strategy:"absolute",placement:s}),T=ti(Object.assign({},v,E)),C=u===Jt?T:A,O={top:w.top-C.top+_.top,bottom:C.bottom-w.bottom+_.bottom,left:w.left-C.left+_.left,right:C.right-w.right+_.right},x=t.modifiersData.offset;if(u===Jt&&x){var k=x[s];Object.keys(O).forEach((function(t){var e=[Vt,qt].indexOf(t)>=0?1:-1,i=[Rt,qt].indexOf(t)>=0?"y":"x";O[t]+=k[i]*e}))}return O}function si(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?ie:l,h=Be(n),d=h?a?ee:ee.filter((function(t){return Be(t)===h})):Qt,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d);var f=u.reduce((function(e,i){return e[i]=ni(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[ve(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}var oi={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,g=i.allowedAutoPlacements,m=e.options.placement,_=ve(m),b=l||(_!==m&&p?function(t){if(ve(t)===Kt)return[];var e=Ye(t);return[Qe(t),e,Qe(e)]}(m):[Ye(m)]),v=[m].concat(b).reduce((function(t,i){return t.concat(ve(i)===Kt?si(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):i)}),[]),y=e.rects.reference,w=e.rects.popper,A=new Map,E=!0,T=v[0],C=0;C<v.length;C++){var O=v[C],x=ve(O),k=Be(O)===Xt,L=[Rt,qt].indexOf(x)>=0,$=L?"width":"height",D=ni(e,{placement:O,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),S=L?k?Vt:Yt:k?qt:Rt;y[$]>w[$]&&(S=Ye(S));var I=Ye(S),N=[];if(o&&N.push(D[x]<=0),a&&N.push(D[S]<=0,D[I]<=0),N.every((function(t){return t}))){T=O,E=!1;break}A.set(O,N)}if(E)for(var P=function(t){var e=v.find((function(e){var i=A.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},j=p?3:1;j>0&&"break"!==P(j);j--);e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ri(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function ai(t){return[Rt,Vt,qt,Yt].some((function(e){return t[e]>=0}))}var li={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=ni(e,{elementContext:"reference"}),a=ni(e,{altBoundary:!0}),l=ri(r,n),c=ri(a,s,o),h=ai(l),d=ai(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},ci={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=ie.reduce((function(t,i){return t[i]=function(t,e,i){var n=ve(t),s=[Yt,Rt].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[Yt,Vt].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},hi={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=ii({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},di={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,g=void 0===p?0:p,m=ni(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=ve(e.placement),b=Be(e.placement),v=!b,y=Ne(_),w="x"===y?"y":"x",A=e.modifiersData.popperOffsets,E=e.rects.reference,T=e.rects.popper,C="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),x=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(A){if(o){var L,$="y"===y?Rt:Yt,D="y"===y?qt:Vt,S="y"===y?"height":"width",I=A[y],N=I+m[$],P=I-m[D],j=f?-T[S]/2:0,M=b===Xt?E[S]:T[S],H=b===Xt?-T[S]:-E[S],B=e.elements.arrow,W=f&&B?Oe(B):{width:0,height:0},F=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=F[$],R=F[D],q=Pe(0,E[S],W[S]),V=v?E[S]/2-j-q-z-O.mainAxis:M-q-z-O.mainAxis,Y=v?-E[S]/2+j+q+R+O.mainAxis:H+q+R+O.mainAxis,K=e.elements.arrow&&Ie(e.elements.arrow),Q=K?"y"===y?K.clientTop||0:K.clientLeft||0:0,X=null!=(L=null==x?void 0:x[y])?L:0,U=I+Y-X,G=Pe(f?we(N,I+V-X-Q):N,I,f?ye(P,U):P);A[y]=G,k[y]=G-I}if(a){var Z,J="x"===y?Rt:Yt,tt="x"===y?qt:Vt,et=A[w],it="y"===w?"height":"width",nt=et+m[J],st=et-m[tt],ot=-1!==[Rt,Yt].indexOf(_),rt=null!=(Z=null==x?void 0:x[w])?Z:0,at=ot?nt:et-E[it]-T[it]-rt+O.altAxis,lt=ot?et+E[it]+T[it]-rt-O.altAxis:st,ct=f&&ot?function(t,e,i){var n=Pe(t,e,i);return n>i?i:n}(at,et,lt):Pe(f?at:nt,et,f?lt:st);A[w]=ct,k[w]=ct-et}e.modifiersData[n]=k}},requiresIfExists:["offset"]};function ui(t,e,i){void 0===i&&(i=!1);var n,s,o=me(e),r=me(e)&&function(t){var e=t.getBoundingClientRect(),i=Ae(e.width)/t.offsetWidth||1,n=Ae(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=$e(e),l=Ce(t,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==fe(e)||Ge(a))&&(c=(n=e)!==pe(n)&&me(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Xe(n)),me(e)?((h=Ce(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=Ue(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function fi(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var pi={placement:"bottom",modifiers:[],strategy:"absolute"};function gi(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function mi(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?pi:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},pi,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:ge(t)?Je(t):t.contextElement?Je(t.contextElement):[],popper:Je(e)};var r,c,u=function(t){var e=fi(t);return ue.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((r=[].concat(n,a.options.modifiers),c=r.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=u.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(gi(e,i)){a.rects={reference:ui(e,Ie(i),"fixed"===a.options.strategy),popper:Oe(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var s=a.orderedModifiers[n],o=s.fn,r=s.options,l=void 0===r?{}:r,d=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:d,instance:h})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise((function(t){h.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!gi(t,e))return h;function d(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),h}}var _i=mi(),bi=mi({defaultModifiers:[qe,hi,ze,be]}),vi=mi({defaultModifiers:[qe,hi,ze,be,ci,oi,di,He,li]}),yi=Object.freeze({__proto__:null,afterMain:le,afterRead:oe,afterWrite:de,applyStyles:be,arrow:He,auto:Kt,basePlacements:Qt,beforeMain:re,beforeRead:ne,beforeWrite:ce,bottom:qt,clippingParents:Gt,computeStyles:ze,createPopper:vi,createPopperBase:_i,createPopperLite:bi,detectOverflow:ni,end:Ut,eventListeners:qe,flip:oi,hide:li,left:Yt,main:ae,modifierPhases:ue,offset:ci,placements:ie,popper:Jt,popperGenerator:mi,popperOffsets:hi,preventOverflow:di,read:se,reference:te,right:Vt,start:Xt,top:Rt,variationPlacements:ee,viewport:Zt,write:he});const wi="dropdown",Ai=".bs.dropdown",Ei=".data-api",Ti="ArrowUp",Ci="ArrowDown",Oi=`hide${Ai}`,xi=`hidden${Ai}`,ki=`show${Ai}`,Li=`shown${Ai}`,$i=`click${Ai}${Ei}`,Di=`keydown${Ai}${Ei}`,Si=`keyup${Ai}${Ei}`,Ii="show",Ni='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Pi=`${Ni}.${Ii}`,ji=".dropdown-menu",Mi=p()?"top-end":"top-start",Hi=p()?"top-start":"top-end",Bi=p()?"bottom-end":"bottom-start",Wi=p()?"bottom-start":"bottom-end",Fi=p()?"left-start":"right-start",zi=p()?"right-start":"left-start",Ri={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},qi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Vi extends z{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=U.next(this._element,ji)[0]||U.prev(this._element,ji)[0]||U.findOne(ji,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ri}static get DefaultType(){return qi}static get NAME(){return wi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!N.trigger(this._element,ki,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))N.on(t,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ii),this._element.classList.add(Ii),N.trigger(this._element,Li,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(!N.trigger(this._element,Oi,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.off(t,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ii),this._element.classList.remove(Ii),this._element.setAttribute("aria-expanded","false"),W.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,xi,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${wi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===yi)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:o(this._config.reference)?t=r(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=vi(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Ii)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Fi;if(t.classList.contains("dropstart"))return zi;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?Hi:Mi:e?Wi:Bi}_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)&&(W.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=U.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));i.length&&b(i,e,t===Ci,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Vi.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=U.find(Pi);for(const i of e){const e=Vi.getInstance(i);if(!e||!1===e._config.autoClose)continue;const n=t.composedPath(),s=n.includes(e._menu);if(n.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s)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,n=[Ti,Ci].includes(t.key);if(!n&&!i)return;if(e&&!i)return;t.preventDefault();const s=this.matches(Ni)?this:U.prev(this,Ni)[0]||U.next(this,Ni)[0]||U.findOne(Ni,t.delegateTarget.parentNode),o=Vi.getOrCreateInstance(s);if(n)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}N.on(document,Di,Ni,Vi.dataApiKeydownHandler),N.on(document,Di,ji,Vi.dataApiKeydownHandler),N.on(document,$i,Vi.clearMenus),N.on(document,Si,Vi.clearMenus),N.on(document,$i,Ni,(function(t){t.preventDefault(),Vi.getOrCreateInstance(this).toggle()})),g(Vi);const Yi={},Ki=".carousel-item.active";class Qi extends z{constructor(t,e){super(t,e),this.carousel=U.findOne(".carousel",this._element),this.carouselPager=U.findOne(".carousel-pager span",this._element),this.carouselStartIndex=t.getAttribute("data-gallery-start"),this.carouselActiveItem=U.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=U.findOne(".modal",this._element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(t){const e=U.findOne(Ki,this.carousel),i=t.relatedTarget;this.carouselLazyLoad(i),this.carouselPager.textContent=t.to+1,this.stopVideo(e)}stopSlide(){const t=U.findOne(Ki,this.carousel);this.stopVideo(t)}stopVideo(t){const e=U.findOne("iframe",t),i=U.findOne("video",t);e?e.src=e.dataset.src:i&&i.pause()}carouselLazyLoad(t){const e=U.findOne("[data-src]",t);e&&!e.src&&(e.src=e.dataset.src)}addEventListeners(){N.on(this.carousel,"slide.bs.carousel",(t=>this.setSlide(t))),N.on(this.modal,"hide.bs.modal",(t=>this.stopSlide(t)))}static get Default(){return Yi}static jQueryInterface(t){return this.each((function(){const e=Qi.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)}}))}}N.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,Qi.getOrCreateInstance(e)})),g(Qi);const Xi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ui=".sticky-top",Gi="padding-right",Zi="margin-right";class Ji{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,Gi,(e=>e+t)),this._setElementAttributes(Xi,Gi,(e=>e+t)),this._setElementAttributes(Ui,Zi,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Gi),this._resetElementAttributes(Xi,Gi),this._resetElementAttributes(Ui,Zi)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&W.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=W.getDataAttribute(t,e);null!==i?(W.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(o(t))e(t);else for(const i of U.find(t,this._element))e(i)}}const tn="backdrop",en="show",nn=`mousedown.bs.${tn}`,sn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},on={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class rn extends F{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return sn}static get DefaultType(){return on}static get NAME(){return tn}show(t){if(!this._config.isVisible)return void m(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add(en),this._emulateAnimation((()=>{m(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(en),this._emulateAnimation((()=>{this.dispose(),m(t)}))):m(t)}dispose(){this._isAppended&&(N.off(this._element,nn),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),N.on(t,nn,(()=>{m(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){_(t,this._getElement(),this._config.isAnimated)}}const an=".bs.focustrap",ln=`focusin${an}`,cn=`keydown.tab${an}`,hn="backward",dn={autofocus:!0,trapElement:null},un={autofocus:"boolean",trapElement:"element"};class fn extends F{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return dn}static get DefaultType(){return un}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,an),N.on(document,ln,(t=>this._handleFocusin(t))),N.on(document,cn,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,an))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=U.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===hn?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?hn:"forward")}}const pn=".bs.modal",gn=`hide${pn}`,mn=`hidePrevented${pn}`,_n=`hidden${pn}`,bn=`show${pn}`,vn=`shown${pn}`,yn=`resize${pn}`,wn=`click.dismiss${pn}`,An=`mousedown.dismiss${pn}`,En=`keydown.dismiss${pn}`,Tn=`click${pn}.data-api`,Cn="modal-open",On="show",xn="modal-static",kn={backdrop:!0,focus:!0,keyboard:!0},Ln={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class $n extends z{constructor(t,e){super(t,e),this._dialog=U.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ji,this._addEventListeners()}static get Default(){return kn}static get DefaultType(){return Ln}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||N.trigger(this._element,bn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Cn),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(N.trigger(this._element,gn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(On),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const t of[window,this._dialog])N.off(t,pn);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new rn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new fn({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=U.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add(On),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,vn,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,En,(t=>{if("Escape"===t.key)return this._config.keyboard?(t.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),N.on(window,yn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),N.on(this._element,An,(t=>{N.one(this._element,wn,(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(Cn),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,_n)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(N.trigger(this._element,mn).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(xn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(xn),this._queueCallback((()=>{this._element.classList.remove(xn),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=p()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=p()?"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=$n.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}N.on(document,Tn,'[data-bs-toggle="modal"]',(function(t){const e=n(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),N.one(e,bn,(t=>{t.defaultPrevented||N.one(e,_n,(()=>{a(this)&&this.focus()}))}));const i=U.findOne(".modal.show");i&&$n.getInstance(i).hide(),$n.getOrCreateInstance(e).toggle(this)})),R($n),g($n);const Dn=".bs.offcanvas",Sn=".data-api",In=`load${Dn}${Sn}`,Nn="show",Pn="showing",jn="hiding",Mn=".offcanvas.show",Hn=`show${Dn}`,Bn=`shown${Dn}`,Wn=`hide${Dn}`,Fn=`hidePrevented${Dn}`,zn=`hidden${Dn}`,Rn=`resize${Dn}`,qn=`click${Dn}${Sn}`,Vn=`keydown.dismiss${Dn}`,Yn={backdrop:!0,keyboard:!0,scroll:!1},Kn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Qn extends z{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Yn}static get DefaultType(){return Kn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||N.trigger(this._element,Hn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Ji).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Pn),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Nn),this._element.classList.remove(Pn),N.trigger(this._element,Bn,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(N.trigger(this._element,Wn).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(jn),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Nn,jn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Ji).reset(),N.trigger(this._element,zn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new rn({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():N.trigger(this._element,Fn)}:null})}_initializeFocusTrap(){return new fn({trapElement:this._element})}_addEventListeners(){N.on(this._element,Vn,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():N.trigger(this._element,Fn))}))}static jQueryInterface(t){return this.each((function(){const e=Qn.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)}}))}}N.on(document,qn,'[data-bs-toggle="offcanvas"]',(function(t){const e=n(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;N.one(e,zn,(()=>{a(this)&&this.focus()}));const i=U.findOne(Mn);i&&i!==e&&Qn.getInstance(i).hide(),Qn.getOrCreateInstance(e).toggle(this)})),N.on(window,In,(()=>{for(const t of U.find(Mn))Qn.getOrCreateInstance(t).show()})),N.on(window,Rn,(()=>{for(const t of U.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Qn.getOrCreateInstance(t).hide()})),R(Qn),g(Qn);const Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Un=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Gn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Zn=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Xn.has(i)||Boolean(Un.test(t.nodeValue)||Gn.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))},Jn={"*":["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:[]},ts={allowList:Jn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},es={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},is={entry:"(string|element|function|null)",selector:"(string|element)"};class ns extends F{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return ts}static get DefaultType(){return es}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},is)}_setContent(t,e,i){const n=U.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.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 n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes),s=[].concat(e["*"]||[],e[i]||[]);for(const e of n)Zn(e,s)||t.removeAttribute(e.nodeName)}return n.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 ss=new Set(["sanitize","allowList","sanitizeFn"]),os="fade",rs="show",as=".modal",ls="hide.bs.modal",cs="hover",hs="focus",ds={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},us={allowList:Jn,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"},fs={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 ps extends z{constructor(t,e){if(void 0===yi)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),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 us}static get DefaultType(){return fs}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),N.off(this._element.closest(as),ls,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=N.trigger(this._element,this.constructor.eventName("show")),e=(c(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:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),N.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(rs),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.on(t,"mouseover",h);this._queueCallback((()=>{N.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!N.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(rs),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger[hs]=!1,this._activeTrigger[cs]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),N.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(os,rs),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(os),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new ns({...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(os)}_isShown(){return this.tip&&this.tip.classList.contains(rs)}_createPopper(t){const e="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,i=ds[e.toUpperCase()];return vi(this._element,t,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)N.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===cs?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===cs?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");N.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?hs:cs]=!0,e._enter()})),N.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?hs:cs]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(as),ls,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=W.getDataAttributes(this._element);for(const t of Object.keys(e))ss.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}),"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=ps.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(ps);const gs={...ps.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"},ms={...ps.DefaultType,content:"(null|string|element|function)"};class _s extends ps{static get Default(){return gs}static get DefaultType(){return ms}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=_s.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(_s);const bs=".bs.scrollspy",vs=`activate${bs}`,ys=`click${bs}`,ws=`load${bs}.data-api`,As="active",Es="[href]",Ts=".nav-link",Cs=`${Ts}, .nav-item > ${Ts}, .list-group-item`,Os={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},xs={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};let ks=class t extends z{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Os}static get DefaultType(){return xs}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&&(N.off(this._config.target,ys),N.on(this._config.target,ys,Es,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_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))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;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(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=U.find(Es,this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=U.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(As),this._activateParents(t),N.trigger(this._element,vs,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))U.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(As);else for(const e of U.parents(t,".nav, .list-group"))for(const t of U.prev(e,Cs))t.classList.add(As)}_clearActiveClass(t){t.classList.remove(As);const e=U.find(`${Es}.${As}`,t);for(const t of e)t.classList.remove(As)}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}}))}};function Ls(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function $s(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}N.on(window,ws,(()=>{for(const t of U.find('[data-bs-spy="scroll"]'))ks.getOrCreateInstance(t)})),g(ks);const Ds={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${$s(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${$s(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=Ls(t.dataset[i])})),e},getDataAttribute:(t,e)=>Ls(t.getAttribute(`data-bs-${$s(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},Ss=".bs.scrollspy",Is={offset:10,method:"auto",target:""},Ns=`activate${Ss}`,Ps=`scroll${Ss}`,js=`load${Ss}.data-api`,Ms="dropdown-item",Hs="active",Bs=".nav-link",Ws=".list-group-item",Fs=`${Bs}, ${Ws}, .${Ms}`,zs="position";class Rs extends z{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,N.on(this._scrollElement,Ps,(()=>this._process())),this.refresh(),this._process()}static get Default(){return Is}static get NAME(){return"scrollspy"}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":zs,e="auto"===this._config.method?t:this._config.method,n=e===zs?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),U.find(Fs,this._config.target).map((t=>{const s=i(t),o=s?U.findOne(s):null;if(o){const t=o.getBoundingClientRect();if(t.width||t.height)return[Ds[e](o).top+n,s]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){N.off(this._scrollElement,Ss),super.dispose()}_getConfig(t){return(t={...Is,...Ds.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=r(t.target)||document.documentElement,t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=Fs.split(",").map((e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`)),i=U.findOne(e.join(","),this._config.target);i.classList.add(Hs),i.classList.contains(Ms)?U.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(Hs):U.parents(i,".nav, .list-group").forEach((t=>{U.prev(t,`${Bs}, ${Ws}`).forEach((t=>t.classList.add(Hs))),U.prev(t,".nav-item").forEach((t=>{U.children(t,Bs).forEach((t=>t.classList.add(Hs)))}))})),N.trigger(this._scrollElement,Ns,{relatedTarget:t})}_clear(){U.find(Fs,this._config.target).filter((t=>t.classList.contains(Hs))).forEach((t=>t.classList.remove(Hs)))}static jQueryInterface(t){return this.each((function(){const e=Rs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}N.on(window,js,(()=>{U.find('[data-bs-spy="scroll"]').forEach((t=>new Rs(t)))})),g(Rs);const qs=".bs.tab",Vs=`hide${qs}`,Ys=`hidden${qs}`,Ks=`show${qs}`,Qs=`shown${qs}`,Xs=`click${qs}`,Us=`keydown${qs}`,Gs=`load${qs}`,Zs="ArrowLeft",Js="ArrowRight",to="ArrowUp",eo="ArrowDown",io="active",no="fade",so="show",oo=":not(.dropdown-toggle)",ro='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ao=`.nav-link${oo}, .list-group-item${oo}, [role="tab"]${oo}, ${ro}`,lo=`.${io}[data-bs-toggle="tab"], .${io}[data-bs-toggle="pill"], .${io}[data-bs-toggle="list"]`;class co extends z{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,Us,(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?N.trigger(e,Vs,{relatedTarget:t}):null;N.trigger(t,Ks,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(io),this._activate(n(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),N.trigger(t,Qs,{relatedTarget:e})):t.classList.add(so)}),t,t.classList.contains(no)))}_deactivate(t,e){t&&(t.classList.remove(io),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),N.trigger(t,Ys,{relatedTarget:e})):t.classList.remove(so)}),t,t.classList.contains(no)))}_keydown(t){if(![Zs,Js,to,eo].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[Js,eo].includes(t.key),i=b(this._getChildren().filter((t=>!l(t))),t.target,e,!0);i&&(i.focus({preventScroll:!0}),co.getOrCreateInstance(i).show())}_getChildren(){return U.find(ao,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 n=(t,n)=>{const s=U.findOne(t,i);s&&s.classList.toggle(n,e)};n(".dropdown-toggle",io),n(".dropdown-menu",so),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(io)}_getInnerElement(t){return t.matches(ao)?t:U.findOne(ao,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=co.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}N.on(document,Xs,ro,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||co.getOrCreateInstance(this).show()})),N.on(window,Gs,(()=>{for(const t of U.find(lo))co.getOrCreateInstance(t)})),g(co);const ho=".bs.toast",uo=`mouseover${ho}`,fo=`mouseout${ho}`,po=`focusin${ho}`,go=`focusout${ho}`,mo=`hide${ho}`,_o=`hidden${ho}`,bo=`show${ho}`,vo=`shown${ho}`,yo="hide",wo="show",Ao="showing",Eo={animation:"boolean",autohide:"boolean",delay:"number"},To={animation:!0,autohide:!0,delay:5e3};class Co extends z{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return To}static get DefaultType(){return Eo}static get NAME(){return"toast"}show(){N.trigger(this._element,bo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(yo),d(this._element),this._element.classList.add(wo,Ao),this._queueCallback((()=>{this._element.classList.remove(Ao),N.trigger(this._element,vo),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(N.trigger(this._element,mo).defaultPrevented||(this._element.classList.add(Ao),this._queueCallback((()=>{this._element.classList.add(yo),this._element.classList.remove(Ao,wo),N.trigger(this._element,_o)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(wo),super.dispose()}isShown(){return this._element.classList.contains(wo)}_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(){N.on(this._element,uo,(t=>this._onInteraction(t,!0))),N.on(this._element,fo,(t=>this._onInteraction(t,!1))),N.on(this._element,po,(t=>this._onInteraction(t,!0))),N.on(this._element,go,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Co.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return R(Co),g(Co),{Alert:K,Button:X,Carousel:kt,Collapse:zt,Dropdown:Vi,Gallery:Qi,Modal:$n,Offcanvas:Qn,Popover:_s,ScrollSpyV2:ks,ScrollSpy:Rs,Tab:co,Toast:Co,Tooltip:ps}}));
2
2
  //# sourceMappingURL=oe-bcl-joinup.umd.min.js.map