@tabler/core 1.5.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (961) hide show
  1. package/README.md +10 -1
  2. package/dist/css/tabler-flags.css +9 -1
  3. package/dist/css/tabler-flags.css.map +1 -1
  4. package/dist/css/tabler-flags.min.css +2 -2
  5. package/dist/css/tabler-flags.min.css.map +1 -1
  6. package/dist/css/tabler-flags.rtl.css +9 -1
  7. package/dist/css/tabler-flags.rtl.css.map +1 -1
  8. package/dist/css/tabler-flags.rtl.min.css +2 -2
  9. package/dist/css/tabler-flags.rtl.min.css.map +1 -1
  10. package/dist/css/tabler-marketing.css +78 -38
  11. package/dist/css/tabler-marketing.css.map +1 -1
  12. package/dist/css/tabler-marketing.min.css +2 -2
  13. package/dist/css/tabler-marketing.min.css.map +1 -1
  14. package/dist/css/tabler-marketing.rtl.css +78 -38
  15. package/dist/css/tabler-marketing.rtl.css.map +1 -1
  16. package/dist/css/tabler-marketing.rtl.min.css +2 -2
  17. package/dist/css/tabler-marketing.rtl.min.css.map +1 -1
  18. package/dist/css/tabler-payments.css +5 -1
  19. package/dist/css/tabler-payments.css.map +1 -1
  20. package/dist/css/tabler-payments.min.css +1 -1
  21. package/dist/css/tabler-payments.min.css.map +1 -1
  22. package/dist/css/tabler-payments.rtl.css +5 -1
  23. package/dist/css/tabler-payments.rtl.css.map +1 -1
  24. package/dist/css/tabler-payments.rtl.min.css +1 -1
  25. package/dist/css/tabler-payments.rtl.min.css.map +1 -1
  26. package/dist/css/tabler-props.css +207 -241
  27. package/dist/css/tabler-props.css.map +1 -1
  28. package/dist/css/tabler-props.min.css +2 -2
  29. package/dist/css/tabler-props.min.css.map +1 -1
  30. package/dist/css/tabler-props.rtl.css +207 -241
  31. package/dist/css/tabler-props.rtl.css.map +1 -1
  32. package/dist/css/tabler-props.rtl.min.css +2 -2
  33. package/dist/css/tabler-props.rtl.min.css.map +1 -1
  34. package/dist/css/tabler-socials.css +5 -1
  35. package/dist/css/tabler-socials.css.map +1 -1
  36. package/dist/css/tabler-socials.min.css +1 -1
  37. package/dist/css/tabler-socials.min.css.map +1 -1
  38. package/dist/css/tabler-socials.rtl.css +5 -1
  39. package/dist/css/tabler-socials.rtl.css.map +1 -1
  40. package/dist/css/tabler-socials.rtl.min.css +1 -1
  41. package/dist/css/tabler-socials.rtl.min.css.map +1 -1
  42. package/dist/css/tabler-themes.css +144 -94
  43. package/dist/css/tabler-themes.css.map +1 -1
  44. package/dist/css/tabler-themes.min.css +2 -2
  45. package/dist/css/tabler-themes.min.css.map +1 -1
  46. package/dist/css/tabler-themes.rtl.css +144 -94
  47. package/dist/css/tabler-themes.rtl.css.map +1 -1
  48. package/dist/css/tabler-themes.rtl.min.css +2 -2
  49. package/dist/css/tabler-themes.rtl.min.css.map +1 -1
  50. package/dist/css/tabler-vendors.css +203 -83
  51. package/dist/css/tabler-vendors.css.map +1 -1
  52. package/dist/css/tabler-vendors.min.css +2 -2
  53. package/dist/css/tabler-vendors.min.css.map +1 -1
  54. package/dist/css/tabler-vendors.rtl.css +203 -83
  55. package/dist/css/tabler-vendors.rtl.css.map +1 -1
  56. package/dist/css/tabler-vendors.rtl.min.css +2 -2
  57. package/dist/css/tabler-vendors.rtl.min.css.map +1 -1
  58. package/dist/css/tabler.css +4366 -5119
  59. package/dist/css/tabler.css.map +1 -1
  60. package/dist/css/tabler.min.css +2 -2
  61. package/dist/css/tabler.min.css.map +1 -1
  62. package/dist/css/tabler.rtl.css +4922 -5678
  63. package/dist/css/tabler.rtl.css.map +1 -1
  64. package/dist/css/tabler.rtl.min.css +2 -2
  65. package/dist/css/tabler.rtl.min.css.map +1 -1
  66. package/dist/img/flags/ad.svg +1 -1
  67. package/dist/img/flags/ae.svg +1 -1
  68. package/dist/img/flags/af.svg +1 -1
  69. package/dist/img/flags/afrun.svg +1 -1
  70. package/dist/img/flags/ag.svg +1 -1
  71. package/dist/img/flags/ai.svg +1 -1
  72. package/dist/img/flags/al.svg +1 -1
  73. package/dist/img/flags/am.svg +1 -1
  74. package/dist/img/flags/ao.svg +1 -1
  75. package/dist/img/flags/aq.svg +1 -1
  76. package/dist/img/flags/ar.svg +1 -1
  77. package/dist/img/flags/as.svg +1 -1
  78. package/dist/img/flags/at.svg +1 -1
  79. package/dist/img/flags/au.svg +1 -1
  80. package/dist/img/flags/aw.svg +1 -1
  81. package/dist/img/flags/ax.svg +1 -1
  82. package/dist/img/flags/az.svg +1 -1
  83. package/dist/img/flags/ba.svg +1 -1
  84. package/dist/img/flags/bb.svg +1 -1
  85. package/dist/img/flags/bd.svg +1 -1
  86. package/dist/img/flags/be.svg +1 -1
  87. package/dist/img/flags/bf.svg +1 -1
  88. package/dist/img/flags/bg.svg +1 -1
  89. package/dist/img/flags/bh.svg +1 -1
  90. package/dist/img/flags/bi.svg +1 -1
  91. package/dist/img/flags/bj.svg +1 -1
  92. package/dist/img/flags/bl.svg +1 -1
  93. package/dist/img/flags/bm.svg +1 -1
  94. package/dist/img/flags/bn.svg +1 -1
  95. package/dist/img/flags/bo.svg +1 -1
  96. package/dist/img/flags/bq-bo.svg +1 -1
  97. package/dist/img/flags/bq-sa.svg +1 -1
  98. package/dist/img/flags/bq-se.svg +1 -1
  99. package/dist/img/flags/br.svg +1 -1
  100. package/dist/img/flags/bs.svg +1 -1
  101. package/dist/img/flags/bt.svg +1 -1
  102. package/dist/img/flags/bv.svg +1 -1
  103. package/dist/img/flags/bw.svg +1 -1
  104. package/dist/img/flags/by.svg +1 -1
  105. package/dist/img/flags/bz.svg +1 -1
  106. package/dist/img/flags/ca.svg +1 -1
  107. package/dist/img/flags/cc.svg +1 -1
  108. package/dist/img/flags/cd.svg +1 -1
  109. package/dist/img/flags/cf.svg +1 -1
  110. package/dist/img/flags/cg.svg +1 -1
  111. package/dist/img/flags/ch.svg +1 -1
  112. package/dist/img/flags/ci.svg +1 -1
  113. package/dist/img/flags/ck.svg +1 -1
  114. package/dist/img/flags/cl.svg +1 -1
  115. package/dist/img/flags/cm.svg +1 -1
  116. package/dist/img/flags/cn.svg +1 -1
  117. package/dist/img/flags/co.svg +1 -1
  118. package/dist/img/flags/cr.svg +1 -1
  119. package/dist/img/flags/cu.svg +1 -1
  120. package/dist/img/flags/cv.svg +1 -1
  121. package/dist/img/flags/cw.svg +1 -1
  122. package/dist/img/flags/cx.svg +1 -1
  123. package/dist/img/flags/cy.svg +1 -1
  124. package/dist/img/flags/cz.svg +1 -1
  125. package/dist/img/flags/de.svg +1 -1
  126. package/dist/img/flags/dj.svg +1 -1
  127. package/dist/img/flags/dk.svg +1 -1
  128. package/dist/img/flags/dm.svg +1 -1
  129. package/dist/img/flags/do.svg +1 -1
  130. package/dist/img/flags/dz.svg +1 -1
  131. package/dist/img/flags/ec.svg +1 -1
  132. package/dist/img/flags/ee.svg +1 -1
  133. package/dist/img/flags/eg.svg +1 -1
  134. package/dist/img/flags/eh.svg +1 -1
  135. package/dist/img/flags/er.svg +1 -1
  136. package/dist/img/flags/es.svg +1 -1
  137. package/dist/img/flags/et.svg +1 -1
  138. package/dist/img/flags/eu.svg +1 -1
  139. package/dist/img/flags/fi.svg +1 -1
  140. package/dist/img/flags/fj.svg +1 -1
  141. package/dist/img/flags/fk.svg +1 -1
  142. package/dist/img/flags/fm.svg +1 -1
  143. package/dist/img/flags/fo.svg +1 -1
  144. package/dist/img/flags/fr.svg +1 -1
  145. package/dist/img/flags/ga.svg +1 -1
  146. package/dist/img/flags/gb-eng.svg +1 -1
  147. package/dist/img/flags/gb-nir.svg +1 -1
  148. package/dist/img/flags/gb-sct.svg +1 -1
  149. package/dist/img/flags/gb-wls.svg +1 -1
  150. package/dist/img/flags/gb.svg +1 -1
  151. package/dist/img/flags/gd.svg +1 -1
  152. package/dist/img/flags/ge.svg +1 -1
  153. package/dist/img/flags/gf.svg +1 -1
  154. package/dist/img/flags/gg.svg +1 -1
  155. package/dist/img/flags/gh.svg +1 -1
  156. package/dist/img/flags/gi.svg +1 -1
  157. package/dist/img/flags/gl.svg +1 -1
  158. package/dist/img/flags/gm.svg +1 -1
  159. package/dist/img/flags/gn.svg +1 -1
  160. package/dist/img/flags/gp.svg +1 -1
  161. package/dist/img/flags/gq.svg +1 -1
  162. package/dist/img/flags/gr.svg +1 -1
  163. package/dist/img/flags/gs.svg +1 -1
  164. package/dist/img/flags/gt.svg +1 -1
  165. package/dist/img/flags/gu.svg +1 -1
  166. package/dist/img/flags/gw.svg +1 -1
  167. package/dist/img/flags/gy.svg +1 -1
  168. package/dist/img/flags/hk.svg +1 -1
  169. package/dist/img/flags/hm.svg +1 -1
  170. package/dist/img/flags/hn.svg +1 -1
  171. package/dist/img/flags/hr.svg +1 -1
  172. package/dist/img/flags/ht.svg +1 -1
  173. package/dist/img/flags/hu.svg +1 -1
  174. package/dist/img/flags/id.svg +1 -1
  175. package/dist/img/flags/ie.svg +1 -1
  176. package/dist/img/flags/il.svg +1 -1
  177. package/dist/img/flags/im.svg +1 -1
  178. package/dist/img/flags/in.svg +1 -1
  179. package/dist/img/flags/io.svg +1 -1
  180. package/dist/img/flags/iq.svg +1 -1
  181. package/dist/img/flags/ir.svg +1 -1
  182. package/dist/img/flags/is.svg +1 -1
  183. package/dist/img/flags/it.svg +1 -1
  184. package/dist/img/flags/je.svg +1 -1
  185. package/dist/img/flags/jm.svg +1 -1
  186. package/dist/img/flags/jo.svg +1 -1
  187. package/dist/img/flags/jp.svg +1 -1
  188. package/dist/img/flags/ke.svg +1 -1
  189. package/dist/img/flags/kg.svg +1 -1
  190. package/dist/img/flags/kh.svg +1 -1
  191. package/dist/img/flags/ki.svg +1 -1
  192. package/dist/img/flags/km.svg +1 -1
  193. package/dist/img/flags/kn-sk.svg +1 -1
  194. package/dist/img/flags/kn.svg +1 -1
  195. package/dist/img/flags/kp.svg +1 -1
  196. package/dist/img/flags/kr.svg +1 -1
  197. package/dist/img/flags/kw.svg +1 -1
  198. package/dist/img/flags/ky.svg +1 -1
  199. package/dist/img/flags/kz.svg +1 -1
  200. package/dist/img/flags/la.svg +1 -1
  201. package/dist/img/flags/lb.svg +1 -1
  202. package/dist/img/flags/lc.svg +1 -1
  203. package/dist/img/flags/li.svg +1 -1
  204. package/dist/img/flags/lk.svg +1 -1
  205. package/dist/img/flags/lr.svg +1 -1
  206. package/dist/img/flags/ls.svg +1 -1
  207. package/dist/img/flags/lt.svg +1 -1
  208. package/dist/img/flags/lu.svg +1 -1
  209. package/dist/img/flags/lv.svg +1 -1
  210. package/dist/img/flags/ly.svg +1 -1
  211. package/dist/img/flags/ma.svg +1 -1
  212. package/dist/img/flags/mc.svg +1 -1
  213. package/dist/img/flags/md.svg +1 -1
  214. package/dist/img/flags/me.svg +1 -1
  215. package/dist/img/flags/mf.svg +1 -1
  216. package/dist/img/flags/mg.svg +1 -1
  217. package/dist/img/flags/mh.svg +1 -1
  218. package/dist/img/flags/mk.svg +1 -1
  219. package/dist/img/flags/ml.svg +1 -1
  220. package/dist/img/flags/mm.svg +1 -1
  221. package/dist/img/flags/mn.svg +1 -1
  222. package/dist/img/flags/mo.svg +1 -1
  223. package/dist/img/flags/mp.svg +1 -1
  224. package/dist/img/flags/mq.svg +1 -1
  225. package/dist/img/flags/mr.svg +1 -1
  226. package/dist/img/flags/ms.svg +1 -1
  227. package/dist/img/flags/mt.svg +1 -1
  228. package/dist/img/flags/mu.svg +1 -1
  229. package/dist/img/flags/mv.svg +1 -1
  230. package/dist/img/flags/mw.svg +1 -1
  231. package/dist/img/flags/mx.svg +1 -1
  232. package/dist/img/flags/my.svg +1 -1
  233. package/dist/img/flags/mz.svg +1 -1
  234. package/dist/img/flags/na.svg +1 -1
  235. package/dist/img/flags/nc.svg +1 -1
  236. package/dist/img/flags/ne.svg +1 -1
  237. package/dist/img/flags/nf.svg +1 -1
  238. package/dist/img/flags/ng.svg +1 -1
  239. package/dist/img/flags/ni.svg +1 -1
  240. package/dist/img/flags/nl.svg +1 -1
  241. package/dist/img/flags/no.svg +1 -1
  242. package/dist/img/flags/np.svg +1 -1
  243. package/dist/img/flags/nr.svg +1 -1
  244. package/dist/img/flags/nu.svg +1 -1
  245. package/dist/img/flags/nz.svg +1 -1
  246. package/dist/img/flags/om.svg +1 -1
  247. package/dist/img/flags/pa.svg +1 -1
  248. package/dist/img/flags/pe.svg +1 -1
  249. package/dist/img/flags/pf.svg +1 -1
  250. package/dist/img/flags/pg.svg +1 -1
  251. package/dist/img/flags/ph.svg +1 -1
  252. package/dist/img/flags/pk.svg +1 -1
  253. package/dist/img/flags/pl.svg +1 -1
  254. package/dist/img/flags/pm.svg +1 -1
  255. package/dist/img/flags/pn.svg +1 -1
  256. package/dist/img/flags/pr.svg +1 -1
  257. package/dist/img/flags/ps.svg +1 -1
  258. package/dist/img/flags/pt.svg +1 -1
  259. package/dist/img/flags/pw.svg +1 -1
  260. package/dist/img/flags/py.svg +1 -1
  261. package/dist/img/flags/qa.svg +1 -1
  262. package/dist/img/flags/rainbow.svg +1 -1
  263. package/dist/img/flags/re.svg +1 -1
  264. package/dist/img/flags/ro.svg +1 -1
  265. package/dist/img/flags/rs.svg +1 -1
  266. package/dist/img/flags/ru.svg +1 -1
  267. package/dist/img/flags/rw.svg +1 -1
  268. package/dist/img/flags/sa.svg +1 -1
  269. package/dist/img/flags/sb.svg +1 -1
  270. package/dist/img/flags/sc.svg +1 -1
  271. package/dist/img/flags/sd.svg +1 -1
  272. package/dist/img/flags/se.svg +1 -1
  273. package/dist/img/flags/sg.svg +1 -1
  274. package/dist/img/flags/sh.svg +1 -1
  275. package/dist/img/flags/si.svg +1 -1
  276. package/dist/img/flags/sj.svg +1 -1
  277. package/dist/img/flags/sk.svg +1 -1
  278. package/dist/img/flags/sl.svg +1 -1
  279. package/dist/img/flags/sm.svg +1 -1
  280. package/dist/img/flags/sn.svg +1 -1
  281. package/dist/img/flags/so.svg +1 -1
  282. package/dist/img/flags/sr.svg +1 -1
  283. package/dist/img/flags/ss.svg +1 -1
  284. package/dist/img/flags/st.svg +1 -1
  285. package/dist/img/flags/sv.svg +1 -1
  286. package/dist/img/flags/sx.svg +1 -1
  287. package/dist/img/flags/sy.svg +1 -1
  288. package/dist/img/flags/sz.svg +1 -1
  289. package/dist/img/flags/tc.svg +1 -1
  290. package/dist/img/flags/td.svg +1 -1
  291. package/dist/img/flags/tf.svg +1 -1
  292. package/dist/img/flags/tg.svg +1 -1
  293. package/dist/img/flags/th.svg +1 -1
  294. package/dist/img/flags/tj.svg +1 -1
  295. package/dist/img/flags/tk.svg +1 -1
  296. package/dist/img/flags/tl.svg +1 -1
  297. package/dist/img/flags/tm.svg +1 -1
  298. package/dist/img/flags/tn.svg +1 -1
  299. package/dist/img/flags/to.svg +1 -1
  300. package/dist/img/flags/tr.svg +1 -1
  301. package/dist/img/flags/tt.svg +1 -1
  302. package/dist/img/flags/tv.svg +1 -1
  303. package/dist/img/flags/tw.svg +1 -1
  304. package/dist/img/flags/tz.svg +1 -1
  305. package/dist/img/flags/ua.svg +1 -1
  306. package/dist/img/flags/ug.svg +1 -1
  307. package/dist/img/flags/um.svg +1 -1
  308. package/dist/img/flags/unasur.svg +1 -1
  309. package/dist/img/flags/us.svg +1 -1
  310. package/dist/img/flags/uy.svg +1 -1
  311. package/dist/img/flags/uz.svg +1 -1
  312. package/dist/img/flags/va.svg +1 -1
  313. package/dist/img/flags/vc.svg +1 -1
  314. package/dist/img/flags/ve.svg +1 -1
  315. package/dist/img/flags/vg.svg +1 -1
  316. package/dist/img/flags/vi.svg +1 -1
  317. package/dist/img/flags/vn.svg +1 -1
  318. package/dist/img/flags/vu.svg +1 -1
  319. package/dist/img/flags/wf.svg +1 -1
  320. package/dist/img/flags/ws.svg +1 -1
  321. package/dist/img/flags/ye.svg +1 -1
  322. package/dist/img/flags/yt.svg +1 -1
  323. package/dist/img/flags/za.svg +1 -1
  324. package/dist/img/flags/zm.svg +1 -1
  325. package/dist/img/flags/zw.svg +1 -1
  326. package/dist/img/payments/2c2p-dark.svg +1 -5
  327. package/dist/img/payments/2c2p.svg +1 -5
  328. package/dist/img/payments/2checkout-dark.svg +1 -4
  329. package/dist/img/payments/2checkout.svg +1 -4
  330. package/dist/img/payments/ach-transfer-dark.svg +1 -14
  331. package/dist/img/payments/ach-transfer.svg +1 -14
  332. package/dist/img/payments/adyen-dark.svg +1 -8
  333. package/dist/img/payments/adyen.svg +1 -8
  334. package/dist/img/payments/affirm-dark.svg +1 -9
  335. package/dist/img/payments/affirm.svg +1 -9
  336. package/dist/img/payments/afterpay-dark.svg +1 -13
  337. package/dist/img/payments/afterpay.svg +1 -13
  338. package/dist/img/payments/airtm-dark.svg +1 -4
  339. package/dist/img/payments/airtm.svg +1 -4
  340. package/dist/img/payments/airwallex-dark.svg +1 -11
  341. package/dist/img/payments/airwallex.svg +1 -11
  342. package/dist/img/payments/alipay-dark.svg +1 -12
  343. package/dist/img/payments/alipay-plus-dark.svg +1 -9
  344. package/dist/img/payments/alipay-plus.svg +1 -9
  345. package/dist/img/payments/alipay.svg +1 -12
  346. package/dist/img/payments/allegro-pay-dark.svg +1 -5
  347. package/dist/img/payments/allegro-pay.svg +1 -5
  348. package/dist/img/payments/amazon-dark.svg +1 -6
  349. package/dist/img/payments/amazon-pay-dark.svg +1 -7
  350. package/dist/img/payments/amazon-pay.svg +1 -7
  351. package/dist/img/payments/amazon.svg +1 -6
  352. package/dist/img/payments/americanexpress-dark.svg +1 -4
  353. package/dist/img/payments/americanexpress.svg +1 -4
  354. package/dist/img/payments/ant-group-dark.svg +1 -6
  355. package/dist/img/payments/ant-group.svg +1 -23
  356. package/dist/img/payments/applepay-dark.svg +1 -8
  357. package/dist/img/payments/applepay.svg +1 -8
  358. package/dist/img/payments/authorize-dark.svg +1 -17
  359. package/dist/img/payments/authorize.svg +1 -17
  360. package/dist/img/payments/autopay-dark.svg +1 -11
  361. package/dist/img/payments/autopay.svg +1 -11
  362. package/dist/img/payments/bancontact-dark.svg +1 -9
  363. package/dist/img/payments/bancontact.svg +1 -9
  364. package/dist/img/payments/bank-of-america-dark.svg +1 -10
  365. package/dist/img/payments/bank-of-america.svg +1 -10
  366. package/dist/img/payments/barclays-dark.svg +1 -11
  367. package/dist/img/payments/barclays.svg +1 -11
  368. package/dist/img/payments/bbva-dark.svg +1 -4
  369. package/dist/img/payments/bbva.svg +1 -4
  370. package/dist/img/payments/binance-dark.svg +1 -4
  371. package/dist/img/payments/binance-usd-dark.svg +1 -11
  372. package/dist/img/payments/binance-usd.svg +1 -11
  373. package/dist/img/payments/binance.svg +1 -4
  374. package/dist/img/payments/bitcoin-dark.svg +1 -13
  375. package/dist/img/payments/bitcoin.svg +1 -12
  376. package/dist/img/payments/bitpay-dark.svg +1 -4
  377. package/dist/img/payments/bitpay.svg +1 -4
  378. package/dist/img/payments/bkash-dark.svg +1 -16
  379. package/dist/img/payments/bkash.svg +1 -16
  380. package/dist/img/payments/blik-dark.svg +1 -5
  381. package/dist/img/payments/blik.svg +1 -12
  382. package/dist/img/payments/bnb-chain-dark.svg +1 -14
  383. package/dist/img/payments/bnb-chain.svg +1 -14
  384. package/dist/img/payments/bnp-paribas-dark.svg +1 -80
  385. package/dist/img/payments/bnp-paribas.svg +1 -80
  386. package/dist/img/payments/braintree-dark.svg +1 -6
  387. package/dist/img/payments/braintree.svg +1 -6
  388. package/dist/img/payments/brex-dark.svg +1 -4
  389. package/dist/img/payments/brex.svg +1 -4
  390. package/dist/img/payments/capital-one-dark.svg +1 -6
  391. package/dist/img/payments/capital-one.svg +1 -6
  392. package/dist/img/payments/cash-app-dark.svg +1 -8
  393. package/dist/img/payments/cash-app.svg +1 -8
  394. package/dist/img/payments/chase-dark.svg +1 -12
  395. package/dist/img/payments/chase.svg +1 -12
  396. package/dist/img/payments/checkout-com-dark.svg +1 -4
  397. package/dist/img/payments/checkout-com.svg +1 -4
  398. package/dist/img/payments/chime-dark.svg +1 -9
  399. package/dist/img/payments/chime.svg +1 -9
  400. package/dist/img/payments/china-construction-bank-dark.svg +1 -36
  401. package/dist/img/payments/china-construction-bank.svg +1 -36
  402. package/dist/img/payments/cirrus-dark.svg +1 -8
  403. package/dist/img/payments/cirrus.svg +1 -8
  404. package/dist/img/payments/citi-dark.svg +1 -8
  405. package/dist/img/payments/citi.svg +1 -8
  406. package/dist/img/payments/coinbase-dark.svg +1 -4
  407. package/dist/img/payments/coinbase.svg +1 -5
  408. package/dist/img/payments/coinkite-dark.svg +1 -6
  409. package/dist/img/payments/coinkite.svg +1 -6
  410. package/dist/img/payments/crypto-com-dark.svg +1 -8
  411. package/dist/img/payments/crypto-com.svg +1 -8
  412. package/dist/img/payments/deutsche-bank-dark.svg +1 -16
  413. package/dist/img/payments/deutsche-bank.svg +1 -16
  414. package/dist/img/payments/dinersclub-dark.svg +1 -7
  415. package/dist/img/payments/dinersclub.svg +1 -7
  416. package/dist/img/payments/directdebit-dark.svg +1 -4
  417. package/dist/img/payments/directdebit.svg +1 -4
  418. package/dist/img/payments/discover-dark.svg +1 -8
  419. package/dist/img/payments/discover.svg +1 -6
  420. package/dist/img/payments/dwolla-dark.svg +1 -5
  421. package/dist/img/payments/dwolla.svg +1 -5
  422. package/dist/img/payments/easypaisa-dark.svg +1 -14
  423. package/dist/img/payments/easypaisa.svg +1 -14
  424. package/dist/img/payments/ebay-dark.svg +1 -7
  425. package/dist/img/payments/ebay.svg +1 -7
  426. package/dist/img/payments/elo-dark.svg +1 -11
  427. package/dist/img/payments/elo.svg +1 -11
  428. package/dist/img/payments/epayco-dark.svg +1 -5
  429. package/dist/img/payments/epayco.svg +1 -5
  430. package/dist/img/payments/esewa-dark.svg +1 -11
  431. package/dist/img/payments/esewa.svg +1 -12
  432. package/dist/img/payments/ethereum-dark.svg +1 -13
  433. package/dist/img/payments/ethereum.svg +1 -18
  434. package/dist/img/payments/eway-dark.svg +1 -6
  435. package/dist/img/payments/eway.svg +1 -6
  436. package/dist/img/payments/fifth-third-bank-dark.svg +1 -7
  437. package/dist/img/payments/fifth-third-bank.svg +1 -7
  438. package/dist/img/payments/fiserv-dark.svg +1 -11
  439. package/dist/img/payments/fiserv.svg +1 -11
  440. package/dist/img/payments/flutterwave-dark.svg +1 -18
  441. package/dist/img/payments/flutterwave.svg +1 -18
  442. package/dist/img/payments/fonepay-dark.svg +1 -10
  443. package/dist/img/payments/fonepay.svg +1 -10
  444. package/dist/img/payments/gcash-dark.svg +1 -7
  445. package/dist/img/payments/gcash.svg +1 -7
  446. package/dist/img/payments/giropay-dark.svg +1 -13
  447. package/dist/img/payments/giropay.svg +1 -25
  448. package/dist/img/payments/goldman-sachs-dark.svg +1 -4
  449. package/dist/img/payments/goldman-sachs.svg +1 -4
  450. package/dist/img/payments/google-pay-dark.svg +1 -10
  451. package/dist/img/payments/google-pay.svg +1 -10
  452. package/dist/img/payments/googlewallet-dark.svg +1 -7
  453. package/dist/img/payments/googlewallet.svg +1 -7
  454. package/dist/img/payments/grabpay-dark.svg +1 -4
  455. package/dist/img/payments/grabpay.svg +1 -4
  456. package/dist/img/payments/hsbc-dark.svg +1 -12
  457. package/dist/img/payments/hsbc.svg +1 -12
  458. package/dist/img/payments/hubspot-dark.svg +1 -5
  459. package/dist/img/payments/hubspot.svg +1 -5
  460. package/dist/img/payments/huntington-bank-dark.svg +1 -5
  461. package/dist/img/payments/huntington-bank.svg +1 -5
  462. package/dist/img/payments/icbc-dark.svg +1 -8
  463. package/dist/img/payments/icbc.svg +1 -8
  464. package/dist/img/payments/ideal-dark.svg +1 -8
  465. package/dist/img/payments/ideal.svg +1 -7
  466. package/dist/img/payments/imepay-dark.svg +1 -11
  467. package/dist/img/payments/imepay.svg +1 -11
  468. package/dist/img/payments/imoje-dark.svg +1 -7
  469. package/dist/img/payments/imoje.svg +1 -8
  470. package/dist/img/payments/ing-dark.svg +1 -145
  471. package/dist/img/payments/ing.svg +1 -145
  472. package/dist/img/payments/ingenico-dark.svg +1 -4
  473. package/dist/img/payments/ingenico.svg +1 -4
  474. package/dist/img/payments/interac-dark.svg +1 -16
  475. package/dist/img/payments/interac.svg +1 -16
  476. package/dist/img/payments/jazzcash-dark.svg +1 -13
  477. package/dist/img/payments/jazzcash.svg +1 -13
  478. package/dist/img/payments/jcb-dark.svg +1 -8
  479. package/dist/img/payments/jcb.svg +1 -41
  480. package/dist/img/payments/khalti-dark.svg +1 -14
  481. package/dist/img/payments/khalti.svg +1 -14
  482. package/dist/img/payments/klarna-dark.svg +1 -11
  483. package/dist/img/payments/klarna.svg +1 -11
  484. package/dist/img/payments/kraken-dark.svg +1 -5
  485. package/dist/img/payments/kraken.svg +1 -5
  486. package/dist/img/payments/linepay-dark.svg +1 -10
  487. package/dist/img/payments/linepay.svg +1 -11
  488. package/dist/img/payments/litecoin-dark.svg +1 -14
  489. package/dist/img/payments/litecoin.svg +1 -14
  490. package/dist/img/payments/mada-dark.svg +1 -11
  491. package/dist/img/payments/mada.svg +1 -11
  492. package/dist/img/payments/maestro-dark.svg +1 -6
  493. package/dist/img/payments/maestro.svg +1 -6
  494. package/dist/img/payments/mastercard-dark.svg +1 -6
  495. package/dist/img/payments/mastercard.svg +1 -6
  496. package/dist/img/payments/mercado-pago-dark.svg +1 -9
  497. package/dist/img/payments/mercado-pago.svg +1 -9
  498. package/dist/img/payments/mercury-dark.svg +1 -4
  499. package/dist/img/payments/mercury.svg +1 -4
  500. package/dist/img/payments/meta-pay-dark.svg +1 -6
  501. package/dist/img/payments/meta-pay.svg +1 -16
  502. package/dist/img/payments/metamask-dark.svg +1 -40
  503. package/dist/img/payments/metamask.svg +1 -40
  504. package/dist/img/payments/mir-dark.svg +1 -4
  505. package/dist/img/payments/mir.svg +1 -11
  506. package/dist/img/payments/mitsubishi-ufj-dark.svg +1 -5
  507. package/dist/img/payments/mitsubishi-ufj.svg +1 -5
  508. package/dist/img/payments/mobilepay-dark.svg +1 -6
  509. package/dist/img/payments/mobilepay.svg +1 -6
  510. package/dist/img/payments/mollie-dark.svg +1 -4
  511. package/dist/img/payments/mollie.svg +1 -4
  512. package/dist/img/payments/monero-dark.svg +1 -5
  513. package/dist/img/payments/monero.svg +1 -5
  514. package/dist/img/payments/moneygram-dark.svg +1 -12
  515. package/dist/img/payments/moneygram.svg +1 -12
  516. package/dist/img/payments/mpesa-dark.svg +1 -5
  517. package/dist/img/payments/mpesa.svg +1 -5
  518. package/dist/img/payments/ncr-dark.svg +1 -9
  519. package/dist/img/payments/ncr.svg +1 -9
  520. package/dist/img/payments/neteller-dark.svg +1 -4
  521. package/dist/img/payments/neteller.svg +1 -4
  522. package/dist/img/payments/northone-dark.svg +1 -5
  523. package/dist/img/payments/northone.svg +1 -5
  524. package/dist/img/payments/nu-dark.svg +1 -5
  525. package/dist/img/payments/nu.svg +1 -5
  526. package/dist/img/payments/nuvei-dark.svg +1 -9
  527. package/dist/img/payments/nuvei.svg +1 -9
  528. package/dist/img/payments/opensea-dark.svg +1 -11
  529. package/dist/img/payments/opensea.svg +1 -11
  530. package/dist/img/payments/oxxo-dark.svg +1 -8
  531. package/dist/img/payments/oxxo.svg +1 -8
  532. package/dist/img/payments/paybox-dark.svg +1 -4
  533. package/dist/img/payments/paybox.svg +1 -4
  534. package/dist/img/payments/payconiq-dark.svg +1 -4
  535. package/dist/img/payments/payconiq.svg +1 -4
  536. package/dist/img/payments/payka-dark.svg +1 -18
  537. package/dist/img/payments/payka.svg +1 -12
  538. package/dist/img/payments/payline-dark.svg +1 -12
  539. package/dist/img/payments/payline.svg +1 -12
  540. package/dist/img/payments/paynow-dark.svg +1 -15
  541. package/dist/img/payments/paynow.svg +1 -15
  542. package/dist/img/payments/payone-dark.svg +1 -7
  543. package/dist/img/payments/payone.svg +1 -7
  544. package/dist/img/payments/payoneer-dark.svg +1 -4
  545. package/dist/img/payments/payoneer.svg +1 -4
  546. package/dist/img/payments/paypal-dark.svg +1 -8
  547. package/dist/img/payments/paypal.svg +1 -8
  548. package/dist/img/payments/paypay-dark.svg +1 -6
  549. package/dist/img/payments/paypay.svg +1 -6
  550. package/dist/img/payments/paypo-dark.svg +1 -11
  551. package/dist/img/payments/paypo.svg +1 -11
  552. package/dist/img/payments/paysafe-dark.svg +1 -6
  553. package/dist/img/payments/paysafe.svg +1 -6
  554. package/dist/img/payments/paysafecard-dark.svg +1 -4
  555. package/dist/img/payments/paysafecard.svg +1 -4
  556. package/dist/img/payments/paystack-dark.svg +1 -5
  557. package/dist/img/payments/paystack.svg +1 -5
  558. package/dist/img/payments/paytm-dark.svg +1 -8
  559. package/dist/img/payments/paytm.svg +1 -8
  560. package/dist/img/payments/payu-dark.svg +1 -4
  561. package/dist/img/payments/payu.svg +1 -4
  562. package/dist/img/payments/phonepe-dark.svg +1 -6
  563. package/dist/img/payments/phonepe.svg +1 -6
  564. package/dist/img/payments/pix-dark.svg +1 -6
  565. package/dist/img/payments/pix.svg +1 -6
  566. package/dist/img/payments/pnc-bank-dark.svg +1 -8
  567. package/dist/img/payments/pnc-bank.svg +1 -8
  568. package/dist/img/payments/poli-dark.svg +1 -8
  569. package/dist/img/payments/poli.svg +1 -8
  570. package/dist/img/payments/przelewy24-dark.svg +1 -18
  571. package/dist/img/payments/przelewy24.svg +1 -8
  572. package/dist/img/payments/rapyd-dark.svg +1 -8
  573. package/dist/img/payments/rapyd.svg +1 -8
  574. package/dist/img/payments/razorpay-dark.svg +1 -5
  575. package/dist/img/payments/razorpay.svg +1 -5
  576. package/dist/img/payments/revolut-pay-dark.svg +1 -8
  577. package/dist/img/payments/revolut-pay.svg +1 -8
  578. package/dist/img/payments/ripple-dark.svg +1 -5
  579. package/dist/img/payments/ripple.svg +1 -5
  580. package/dist/img/payments/rupay-dark.svg +1 -10
  581. package/dist/img/payments/rupay.svg +1 -10
  582. package/dist/img/payments/samsung-pay-dark.svg +1 -13
  583. package/dist/img/payments/samsung-pay.svg +1 -13
  584. package/dist/img/payments/santander-dark.svg +1 -4
  585. package/dist/img/payments/santander.svg +1 -4
  586. package/dist/img/payments/sepa-dark.svg +1 -5
  587. package/dist/img/payments/sepa.svg +1 -5
  588. package/dist/img/payments/shop-pay-dark.svg +1 -4
  589. package/dist/img/payments/shop-pay.svg +1 -4
  590. package/dist/img/payments/shopify-dark.svg +1 -6
  591. package/dist/img/payments/shopify.svg +1 -7
  592. package/dist/img/payments/skrill-dark.svg +1 -10
  593. package/dist/img/payments/skrill.svg +1 -10
  594. package/dist/img/payments/skycash-dark.svg +1 -10
  595. package/dist/img/payments/skycash.svg +1 -10
  596. package/dist/img/payments/sofort-dark.svg +1 -6
  597. package/dist/img/payments/sofort.svg +1 -6
  598. package/dist/img/payments/solana-dark.svg +1 -20
  599. package/dist/img/payments/solana.svg +1 -20
  600. package/dist/img/payments/spingo-dark.svg +1 -11
  601. package/dist/img/payments/spingo.svg +1 -11
  602. package/dist/img/payments/square-dark.svg +1 -4
  603. package/dist/img/payments/square.svg +1 -4
  604. package/dist/img/payments/stax-dark.svg +1 -5
  605. package/dist/img/payments/stax.svg +1 -5
  606. package/dist/img/payments/stcpay-dark.svg +1 -7
  607. package/dist/img/payments/stcpay.svg +1 -7
  608. package/dist/img/payments/stripe-dark.svg +1 -4
  609. package/dist/img/payments/stripe.svg +1 -4
  610. package/dist/img/payments/sumitomo-mitsui-dark.svg +1 -5
  611. package/dist/img/payments/sumitomo-mitsui.svg +1 -5
  612. package/dist/img/payments/swift-dark.svg +1 -4
  613. package/dist/img/payments/swift.svg +1 -4
  614. package/dist/img/payments/swish-dark.svg +1 -32
  615. package/dist/img/payments/swish.svg +1 -32
  616. package/dist/img/payments/synchrony-dark.svg +1 -5
  617. package/dist/img/payments/synchrony.svg +1 -5
  618. package/dist/img/payments/tether-dark.svg +1 -11
  619. package/dist/img/payments/tether.svg +1 -11
  620. package/dist/img/payments/tpay-dark.svg +1 -10
  621. package/dist/img/payments/tpay.svg +1 -4
  622. package/dist/img/payments/troy-dark.svg +1 -7
  623. package/dist/img/payments/troy.svg +1 -7
  624. package/dist/img/payments/true-usd-dark.svg +1 -5
  625. package/dist/img/payments/true-usd.svg +1 -7
  626. package/dist/img/payments/trustly-dark.svg +1 -11
  627. package/dist/img/payments/trustly.svg +1 -11
  628. package/dist/img/payments/twint-dark.svg +1 -29
  629. package/dist/img/payments/twint.svg +1 -29
  630. package/dist/img/payments/ubs-dark.svg +1 -5
  631. package/dist/img/payments/ubs.svg +1 -5
  632. package/dist/img/payments/unionpay-dark.svg +1 -6
  633. package/dist/img/payments/unionpay.svg +1 -7
  634. package/dist/img/payments/upi-dark.svg +1 -8
  635. package/dist/img/payments/upi.svg +1 -8
  636. package/dist/img/payments/us-bank-dark.svg +1 -13
  637. package/dist/img/payments/us-bank.svg +1 -13
  638. package/dist/img/payments/usdc-dark.svg +1 -4
  639. package/dist/img/payments/usdc.svg +1 -4
  640. package/dist/img/payments/venmo-dark.svg +1 -4
  641. package/dist/img/payments/venmo.svg +1 -4
  642. package/dist/img/payments/verifone-dark.svg +1 -5
  643. package/dist/img/payments/verifone.svg +1 -5
  644. package/dist/img/payments/vipps-dark.svg +1 -8
  645. package/dist/img/payments/vipps.svg +1 -8
  646. package/dist/img/payments/visa-dark.svg +1 -4
  647. package/dist/img/payments/visa.svg +1 -4
  648. package/dist/img/payments/we-chat-pay-dark.svg +1 -4
  649. package/dist/img/payments/we-chat-pay.svg +1 -4
  650. package/dist/img/payments/webmoney-dark.svg +1 -5
  651. package/dist/img/payments/webmoney.svg +1 -5
  652. package/dist/img/payments/wells-fargo-dark.svg +1 -4
  653. package/dist/img/payments/wells-fargo.svg +1 -4
  654. package/dist/img/payments/westernunion-dark.svg +1 -18
  655. package/dist/img/payments/westernunion.svg +1 -18
  656. package/dist/img/payments/wire-transfer-dark.svg +1 -32
  657. package/dist/img/payments/wire-transfer.svg +1 -32
  658. package/dist/img/payments/wise-dark.svg +1 -4
  659. package/dist/img/payments/wise.svg +1 -4
  660. package/dist/img/payments/worldpay-dark.svg +1 -4
  661. package/dist/img/payments/worldpay.svg +1 -5
  662. package/dist/img/payments/zelle-dark.svg +1 -9
  663. package/dist/img/payments/zelle.svg +1 -8
  664. package/dist/img/social/apple-gray.svg +1 -3
  665. package/dist/img/social/apple.svg +1 -3
  666. package/dist/img/social/discord-gray.svg +1 -3
  667. package/dist/img/social/discord.svg +1 -3
  668. package/dist/img/social/dribbble-gray.svg +1 -3
  669. package/dist/img/social/dribbble.svg +1 -4
  670. package/dist/img/social/facebook-gray.svg +1 -3
  671. package/dist/img/social/facebook.svg +1 -4
  672. package/dist/img/social/figma-gray.svg +1 -3
  673. package/dist/img/social/figma.svg +1 -7
  674. package/dist/img/social/github-gray.svg +1 -10
  675. package/dist/img/social/github.svg +1 -10
  676. package/dist/img/social/google-gray.svg +1 -3
  677. package/dist/img/social/google.svg +1 -6
  678. package/dist/img/social/instagram-gray.svg +1 -5
  679. package/dist/img/social/instagram.svg +1 -18
  680. package/dist/img/social/linkedin-gray.svg +1 -3
  681. package/dist/img/social/linkedin.svg +1 -3
  682. package/dist/img/social/medium-gray.svg +1 -5
  683. package/dist/img/social/medium.svg +1 -5
  684. package/dist/img/social/meta-gray.svg +1 -5
  685. package/dist/img/social/meta.svg +1 -17
  686. package/dist/img/social/metamask-gray.svg +1 -12
  687. package/dist/img/social/metamask.svg +1 -14
  688. package/dist/img/social/pinterest-gray.svg +1 -3
  689. package/dist/img/social/pinterest.svg +1 -4
  690. package/dist/img/social/reddit-gray.svg +1 -6
  691. package/dist/img/social/reddit.svg +1 -11
  692. package/dist/img/social/signal-gray.svg +1 -10
  693. package/dist/img/social/signal.svg +1 -10
  694. package/dist/img/social/skype-gray.svg +1 -3
  695. package/dist/img/social/skype.svg +1 -3
  696. package/dist/img/social/snapchat-gray.svg +1 -10
  697. package/dist/img/social/snapchat.svg +1 -11
  698. package/dist/img/social/spotify-gray.svg +1 -3
  699. package/dist/img/social/spotify.svg +1 -3
  700. package/dist/img/social/telegram-gray.svg +1 -3
  701. package/dist/img/social/telegram.svg +1 -10
  702. package/dist/img/social/tiktok-gray.svg +1 -3
  703. package/dist/img/social/tiktok.svg +1 -5
  704. package/dist/img/social/tumblr-gray.svg +1 -3
  705. package/dist/img/social/tumblr.svg +1 -3
  706. package/dist/img/social/twitch-gray.svg +1 -5
  707. package/dist/img/social/twitch.svg +1 -6
  708. package/dist/img/social/vk-gray.svg +1 -3
  709. package/dist/img/social/vk.svg +1 -4
  710. package/dist/img/social/x-gray.svg +1 -3
  711. package/dist/img/social/x.svg +1 -3
  712. package/dist/img/social/youtube-gray.svg +1 -3
  713. package/dist/img/social/youtube.svg +1 -11
  714. package/dist/js/tabler-theme.esm.js +6 -4
  715. package/dist/js/tabler-theme.esm.js.map +1 -1
  716. package/dist/js/tabler-theme.esm.min.js +2 -2
  717. package/dist/js/tabler-theme.esm.min.js.map +1 -1
  718. package/dist/js/tabler-theme.js +6 -4
  719. package/dist/js/tabler-theme.js.map +1 -1
  720. package/dist/js/tabler-theme.min.js +2 -2
  721. package/dist/js/tabler-theme.min.js.map +1 -1
  722. package/dist/js/tabler.esm.js +5999 -3586
  723. package/dist/js/tabler.esm.js.map +1 -1
  724. package/dist/js/tabler.esm.min.js +2 -2
  725. package/dist/js/tabler.esm.min.js.map +1 -1
  726. package/dist/js/tabler.js +6010 -3586
  727. package/dist/js/tabler.js.map +1 -1
  728. package/dist/js/tabler.min.js +2 -2
  729. package/dist/js/tabler.min.js.map +1 -1
  730. package/dist/libs/vanilla-calendar-pro/LICENSE +21 -0
  731. package/dist/libs/vanilla-calendar-pro/index.js +2 -0
  732. package/dist/types/src/autosize.d.ts +32 -1
  733. package/dist/types/src/bootstrap/alert.d.ts +2 -0
  734. package/dist/types/src/bootstrap/button.d.ts +3 -0
  735. package/dist/types/src/bootstrap/carousel.d.ts +16 -3
  736. package/dist/types/src/bootstrap/collapse.d.ts +13 -3
  737. package/dist/types/src/bootstrap/dom/event-handler.d.ts +7 -4
  738. package/dist/types/src/bootstrap/dropdown.d.ts +30 -7
  739. package/dist/types/src/bootstrap/modal.d.ts +12 -8
  740. package/dist/types/src/bootstrap/offcanvas.d.ts +12 -8
  741. package/dist/types/src/bootstrap/popover.d.ts +13 -9
  742. package/dist/types/src/bootstrap/scrollspy.d.ts +17 -3
  743. package/dist/types/src/bootstrap/tab.d.ts +2 -0
  744. package/dist/types/src/bootstrap/toast.d.ts +12 -3
  745. package/dist/types/src/bootstrap/tooltip.d.ts +57 -19
  746. package/dist/types/src/bootstrap/types.d.ts +25 -1
  747. package/dist/types/src/bootstrap/util/backdrop.d.ts +2 -2
  748. package/dist/types/src/bootstrap/util/component-functions.d.ts +22 -2
  749. package/dist/types/src/bootstrap/util/focustrap.d.ts +2 -2
  750. package/dist/types/src/bootstrap/util/index.d.ts +5 -1
  751. package/dist/types/src/bootstrap/util/swipe.d.ts +2 -2
  752. package/dist/types/src/bootstrap/util/template-factory.d.ts +2 -2
  753. package/dist/types/src/clipboard.d.ts +45 -0
  754. package/dist/types/src/confetti.d.ts +58 -0
  755. package/dist/types/src/countup.d.ts +64 -1
  756. package/dist/types/src/datepicker.d.ts +102 -0
  757. package/dist/types/src/deprecated.d.ts +11 -0
  758. package/dist/types/src/input-mask.d.ts +42 -1
  759. package/dist/types/src/otp-input.d.ts +71 -0
  760. package/dist/types/src/sortable.d.ts +41 -1
  761. package/dist/types/src/sparkline.d.ts +67 -0
  762. package/dist/types/src/strength.d.ts +52 -0
  763. package/dist/types/src/switch-icon.d.ts +31 -1
  764. package/dist/types/src/theme-config.d.ts +3 -1
  765. package/dist/types/tabler.d.ts +18 -1
  766. package/js/src/autosize.ts +136 -7
  767. package/js/src/bootstrap/alert.ts +20 -0
  768. package/js/src/bootstrap/base-component.ts +1 -1
  769. package/js/src/bootstrap/button.ts +16 -0
  770. package/js/src/bootstrap/carousel.ts +42 -7
  771. package/js/src/bootstrap/collapse.ts +38 -6
  772. package/js/src/bootstrap/dom/event-handler.ts +50 -16
  773. package/js/src/bootstrap/dropdown.ts +61 -22
  774. package/js/src/bootstrap/modal.ts +39 -14
  775. package/js/src/bootstrap/offcanvas.ts +36 -11
  776. package/js/src/bootstrap/popover.ts +35 -9
  777. package/js/src/bootstrap/scrollspy.ts +38 -7
  778. package/js/src/bootstrap/tab.ts +20 -1
  779. package/js/src/bootstrap/toast.ts +31 -5
  780. package/js/src/bootstrap/tooltip.ts +109 -53
  781. package/js/src/bootstrap/types.ts +30 -1
  782. package/js/src/bootstrap/util/backdrop.ts +1 -1
  783. package/js/src/bootstrap/util/component-functions.ts +74 -5
  784. package/js/src/bootstrap/util/focustrap.ts +2 -2
  785. package/js/src/bootstrap/util/index.ts +46 -2
  786. package/js/src/bootstrap/util/swipe.ts +3 -3
  787. package/js/src/bootstrap/util/template-factory.ts +2 -2
  788. package/js/src/clipboard.ts +197 -0
  789. package/js/src/confetti.ts +439 -0
  790. package/js/src/countup.ts +335 -29
  791. package/js/src/datepicker.ts +671 -0
  792. package/js/src/deprecated.ts +28 -0
  793. package/js/src/dropdown.ts +1 -1
  794. package/js/src/global.d.ts +12 -13
  795. package/js/src/input-mask.ts +128 -8
  796. package/js/src/otp-input.ts +432 -0
  797. package/js/src/sortable.ts +116 -15
  798. package/js/src/sparkline.ts +609 -0
  799. package/js/src/strength.ts +277 -0
  800. package/js/src/switch-icon.ts +165 -9
  801. package/js/src/theme-config.ts +3 -1
  802. package/js/tabler-theme.ts +2 -4
  803. package/js/tabler.ts +21 -2
  804. package/libs.json +45 -109
  805. package/package.json +40 -29
  806. package/scss/_config.scss +1 -0
  807. package/scss/_core.scss +6 -0
  808. package/scss/_deprecated-props.scss +40 -0
  809. package/scss/_deprecated.scss +153 -0
  810. package/scss/_extends.scss +6 -1
  811. package/scss/_maps.scss +10 -11
  812. package/scss/_mixins.scss +1 -0
  813. package/scss/_props.scss +40 -6
  814. package/scss/_settings.scss +3 -1
  815. package/scss/_utilities-marketing.scss +1 -2
  816. package/scss/_utilities.scss +62 -24
  817. package/scss/_variables-dark.scss +31 -42
  818. package/scss/_variables-deprecated.scss +60 -0
  819. package/scss/_variables.scss +252 -189
  820. package/scss/bootstrap/_buttons.scss +6 -33
  821. package/scss/bootstrap/_carousel.scss +6 -7
  822. package/scss/bootstrap/_list-group.scss +28 -14
  823. package/scss/bootstrap/_nav.scss +2 -2
  824. package/scss/bootstrap/_navbar.scss +6 -7
  825. package/scss/bootstrap/_offcanvas.scss +2 -0
  826. package/scss/bootstrap/_pagination.scss +7 -3
  827. package/scss/bootstrap/_reboot.scss +3 -3
  828. package/scss/bootstrap/_root.scss +10 -33
  829. package/scss/bootstrap/_tables.scss +7 -2
  830. package/scss/bootstrap/forms/_floating-labels.scss +1 -1
  831. package/scss/bootstrap/forms/_form-check.scss +54 -42
  832. package/scss/bootstrap/forms/_form-control.scss +4 -8
  833. package/scss/bootstrap/forms/_form-range.scss +4 -2
  834. package/scss/bootstrap/forms/_form-select.scss +4 -7
  835. package/scss/helpers/_index.scss +11 -4
  836. package/scss/layout/_accessibility.scss +2 -1
  837. package/scss/layout/_core.scss +0 -8
  838. package/scss/layout/_navbar.scss +129 -44
  839. package/scss/layout/_page.scss +15 -2
  840. package/scss/layout/_root.scss +4 -3
  841. package/scss/marketing/_hero.scss +0 -11
  842. package/scss/mixins/_deprecated.scss +110 -0
  843. package/scss/mixins/_functions.scss +67 -113
  844. package/scss/mixins/_mixins.scss +41 -8
  845. package/scss/mixins/bootstrap/_caret.scss +7 -6
  846. package/scss/mixins/bootstrap/_color-mode.scss +6 -0
  847. package/scss/mixins/bootstrap/_forms.scss +10 -11
  848. package/scss/mixins/bootstrap/_gradients.scss +1 -1
  849. package/scss/mixins/bootstrap/_table-variants.scss +4 -5
  850. package/scss/tabler-props.scss +5 -0
  851. package/scss/tabler-themes.scss +67 -66
  852. package/scss/tabler-vendors.scss +3 -1
  853. package/scss/tabler.scss +2 -0
  854. package/scss/ui/_accordion.scss +24 -31
  855. package/scss/ui/_alerts.scss +29 -8
  856. package/scss/ui/_avatars.scss +3 -1
  857. package/scss/ui/_badges.scss +2 -0
  858. package/scss/ui/_breadcrumbs.scss +2 -0
  859. package/scss/ui/_buttons.scss +83 -58
  860. package/scss/ui/_calendars.scss +4 -5
  861. package/scss/ui/_cards.scss +38 -33
  862. package/scss/ui/_carousel.scss +1 -1
  863. package/scss/ui/_chat.scss +2 -0
  864. package/scss/ui/_close.scss +5 -2
  865. package/scss/ui/_datagrid.scss +2 -0
  866. package/scss/ui/_datepicker.scss +425 -0
  867. package/scss/ui/_dropdowns.scss +5 -1
  868. package/scss/ui/_empty.scss +2 -0
  869. package/scss/ui/_forms.scss +33 -47
  870. package/scss/ui/_icons.scss +2 -0
  871. package/scss/ui/_legend.scss +145 -2
  872. package/scss/ui/_lists.scss +3 -3
  873. package/scss/ui/_markdown.scss +1 -0
  874. package/scss/ui/_modals.scss +20 -1
  875. package/scss/ui/_nav.scss +3 -3
  876. package/scss/ui/_offcanvas.scss +47 -0
  877. package/scss/ui/_patterns.scss +39 -18
  878. package/scss/ui/_progress.scss +5 -2
  879. package/scss/ui/_ribbons.scss +6 -2
  880. package/scss/ui/_segmented.scss +1 -1
  881. package/scss/ui/_signal.scss +57 -0
  882. package/scss/ui/_sortable.scss +73 -0
  883. package/scss/ui/_sparkline.scss +73 -0
  884. package/scss/ui/_stars.scss +2 -0
  885. package/scss/ui/_status.scss +2 -2
  886. package/scss/ui/_steps.scss +2 -0
  887. package/scss/ui/_switch-icon.scss +67 -11
  888. package/scss/ui/_tables.scss +3 -3
  889. package/scss/ui/_tags.scss +2 -0
  890. package/scss/ui/_timeline.scss +2 -0
  891. package/scss/ui/_tracking.scss +2 -0
  892. package/scss/ui/_type.scss +12 -4
  893. package/scss/ui/forms/_form-check.scss +10 -2
  894. package/scss/ui/forms/_form-colorinput.scss +4 -3
  895. package/scss/ui/forms/_form-custom.scss +0 -13
  896. package/scss/ui/forms/_form-imagecheck.scss +4 -3
  897. package/scss/ui/forms/_form-otp.scss +171 -0
  898. package/scss/ui/forms/_form-selectgroup.scss +7 -7
  899. package/scss/ui/forms/_strength.scss +63 -0
  900. package/scss/ui/forms/_validation.scss +5 -0
  901. package/scss/utils/_background.scss +2 -2
  902. package/scss/utils/_colors.scss +17 -14
  903. package/scss/vendor/_apexcharts.scss +10 -1
  904. package/scss/vendor/_coloris.scss +10 -3
  905. package/scss/vendor/_fslightbox.scss +2 -2
  906. package/scss/vendor/_jsvectormap.scss +1 -1
  907. package/scss/vendor/_nouislider.scss +2 -1
  908. package/scss/vendor/_tom-select.scss +84 -7
  909. package/dist/types/src/tabler.d.ts +0 -3
  910. package/js/src/tabler.ts +0 -17
  911. package/js/tests/helpers/fixture.ts +0 -33
  912. package/js/tests/unit/alert.spec.ts +0 -176
  913. package/js/tests/unit/base-component.spec.ts +0 -166
  914. package/js/tests/unit/button.spec.ts +0 -167
  915. package/js/tests/unit/carousel.spec.ts +0 -546
  916. package/js/tests/unit/collapse.spec.ts +0 -791
  917. package/js/tests/unit/dom/data.spec.ts +0 -180
  918. package/js/tests/unit/dom/event-handler.spec.ts +0 -460
  919. package/js/tests/unit/dom/manipulator.spec.ts +0 -201
  920. package/js/tests/unit/dom/selector-engine.spec.ts +0 -300
  921. package/js/tests/unit/dropdown.spec.ts +0 -1095
  922. package/js/tests/unit/modal.spec.ts +0 -629
  923. package/js/tests/unit/offcanvas.spec.ts +0 -434
  924. package/js/tests/unit/popover.spec.ts +0 -253
  925. package/js/tests/unit/scrollspy.spec.ts +0 -634
  926. package/js/tests/unit/sidebar.spec.ts +0 -118
  927. package/js/tests/unit/tab.spec.ts +0 -775
  928. package/js/tests/unit/tabler-theme.spec.ts +0 -100
  929. package/js/tests/unit/toast.spec.ts +0 -514
  930. package/js/tests/unit/tooltip.spec.ts +0 -679
  931. package/js/tests/unit/util/backdrop.spec.ts +0 -213
  932. package/js/tests/unit/util/component-functions.spec.ts +0 -88
  933. package/js/tests/unit/util/config.spec.ts +0 -150
  934. package/js/tests/unit/util/focustrap.spec.ts +0 -232
  935. package/js/tests/unit/util/index.spec.ts +0 -478
  936. package/js/tests/unit/util/sanitizer.spec.ts +0 -118
  937. package/js/tests/unit/util/scrollbar.spec.ts +0 -202
  938. package/js/tests/unit/util/swipe.spec.ts +0 -319
  939. package/js/tests/unit/util/template-factory.spec.ts +0 -233
  940. package/scss/tests/_add-subtract.test.scss +0 -48
  941. package/scss/tests/_border-radius.test.scss +0 -23
  942. package/scss/tests/_box-shadow.test.scss +0 -71
  943. package/scss/tests/_breakpoints.test.scss +0 -50
  944. package/scss/tests/_cards.test.scss +0 -31
  945. package/scss/tests/_caret.test.scss +0 -115
  946. package/scss/tests/_color-contrast.test.scss +0 -24
  947. package/scss/tests/_color-mode.test.scss +0 -28
  948. package/scss/tests/_color.test.scss +0 -44
  949. package/scss/tests/_colors-misc.test.scss +0 -80
  950. package/scss/tests/_css-var.test.scss +0 -37
  951. package/scss/tests/_divide.test.scss +0 -45
  952. package/scss/tests/_escape-svg.test.scss +0 -18
  953. package/scss/tests/_generate-utility.test.scss +0 -245
  954. package/scss/tests/_grid.test.scss +0 -153
  955. package/scss/tests/_maps.test.scss +0 -76
  956. package/scss/tests/_media-breakpoint.test.scss +0 -202
  957. package/scss/tests/_mixins-bootstrap.test.scss +0 -55
  958. package/scss/tests/_mixins.test.scss +0 -208
  959. package/scss/tests/_rfs.test.scss +0 -30
  960. package/scss/tests/_str-replace.test.scss +0 -34
  961. package/scss/tests/_transition.test.scss +0 -43
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Tabler v1.5.1 (https://tabler.io)
2
+ * Tabler v1.6.0 (https://tabler.io)
3
3
  * Copyright 2018-2026 The Tabler Authors
4
4
  * Copyright 2018-2026 codecalm.net Paweł Kuna
5
5
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
6
6
  */
7
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).tabler={})}(this,function(t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});var e=Object.defineProperty,i=(t,i)=>{let n={};for(var s in t)e(n,s,{get:t[s],enumerable:!0});return i||e(n,Symbol.toStringTag,{value:"Module"}),n},n=document.querySelectorAll('[data-bs-toggle="autosize"]');n.length&&n.forEach(function(t){window.autosize&&window.autosize(t)});var s=document.querySelectorAll("[data-countup]");s.length&&s.forEach(function(t){var e;let i={};try{const e=t.getAttribute("data-countup")?JSON.parse(t.getAttribute("data-countup")):{};i=Object.assign({enableScrollSpy:!0},e)}catch(t){}const n=parseFloat((null!==(e=t.textContent)&&void 0!==e?e:"").replace(/[^0-9.-]/g,""));if(!Number.isNaN(n)&&window.countUp&&window.countUp.CountUp){const e=new window.countUp.CountUp(t,n,i);e.error||i.enableScrollSpy||e.start()}}),[].slice.call(document.querySelectorAll("[data-mask]")).map(function(t){window.IMask&&new window.IMask(t,{mask:t.dataset.mask,lazy:"true"!==t.dataset.maskVisible})});var o="bottom",r="right",a="left",l="auto",c=["top",o,r,a],d="start",u="clippingParents",h="viewport",f="popper",p="reference",g=c.reduce(function(t,e){return t.concat([e+"-"+d,e+"-end"])},[]),m=[].concat(c,[l]).reduce(function(t,e){return t.concat([e,e+"-"+d,e+"-end"])},[]),_="beforeRead",b="read",v="afterRead",y="beforeMain",w="main",A="afterMain",E="beforeWrite",T="write",O="afterWrite",C=[_,b,v,y,w,A,E,T,O];function x(t){return t?(t.nodeName||"").toLowerCase():null}function S(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function k(t){return t instanceof S(t).Element||t instanceof Element}function L(t){return t instanceof S(t).HTMLElement||t instanceof HTMLElement}function $(t){return"undefined"!=typeof ShadowRoot&&(t instanceof S(t).ShadowRoot||t instanceof ShadowRoot)}var D={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];L(s)&&x(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},{});L(n)&&x(n)&&(Object.assign(n.style,o),Object.keys(s).forEach(function(t){n.removeAttribute(t)}))})}},requires:["computeStyles"]};function P(t){return t.split("-")[0]}var N=Math.max,M=Math.min,I=Math.round;function j(){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 F(){return!/^((?!chrome|android).)*safari/i.test(j())}function H(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&L(t)&&(s=t.offsetWidth>0&&I(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&I(n.height)/t.offsetHeight||1);var r=(k(t)?S(t):window).visualViewport,a=!F()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,d=n.width/s,u=n.height/o;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function B(t){var e=H(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 q(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&$(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function W(t){return S(t).getComputedStyle(t)}function z(t){return["table","td","th"].indexOf(x(t))>=0}function R(t){return((k(t)?t.ownerDocument:t.document)||window.document).documentElement}function V(t){return"html"===x(t)?t:t.assignedSlot||t.parentNode||($(t)?t.host:null)||R(t)}function U(t){return L(t)&&"fixed"!==W(t).position?t.offsetParent:null}function K(t){for(var e=S(t),i=U(t);i&&z(i)&&"static"===W(i).position;)i=U(i);return i&&("html"===x(i)||"body"===x(i)&&"static"===W(i).position)?e:i||function(t){var e=/firefox/i.test(j());if(/Trident/i.test(j())&&L(t)&&"fixed"===W(t).position)return null;var i=V(t);for($(i)&&(i=i.host);L(i)&&["html","body"].indexOf(x(i))<0;){var n=W(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 X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t,e,i){return N(t,M(e,i))}function J(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function G(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}var Z={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,l=i.elements.arrow,d=i.modifiersData.popperOffsets,u=P(i.placement),h=X(u),f=["left","right"].indexOf(u)>=0?"height":"width";if(l&&d){var p=function(t,e){return J("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:G(t,c))}(s.padding,i),g=B(l),m="y"===h?"top":a,_="y"===h?o:r,b=i.rects.reference[f]+i.rects.reference[h]-d[h]-i.rects.popper[f],v=d[h]-i.rects.reference[h],y=K(l),w=y?"y"===h?y.clientHeight||0:y.clientWidth||0:0,A=b/2-v/2,E=p[m],T=w-g[f]-p[_],O=w/2-g[f]/2+A,C=Y(E,O,T),x=h;i.modifiersData[n]=((e={})[x]=C,e.centerOffset=C-O,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)))&&q(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Q(t){return t.split("-")[1]}var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function et(t){var e,i=t.popper,n=t.popperRect,s=t.placement,l=t.variation,c=t.offsets,d=t.position,u=t.gpuAcceleration,h=t.adaptive,f=t.roundOffsets,p=t.isFixed,g=c.x,m=void 0===g?0:g,_=c.y,b=void 0===_?0:_,v="function"==typeof f?f({x:m,y:b}):{x:m,y:b};m=v.x,b=v.y;var y=c.hasOwnProperty("x"),w=c.hasOwnProperty("y"),A=a,E="top",T=window;if(h){var O=K(i),C="clientHeight",x="clientWidth";if(O===S(i)&&"static"!==W(O=R(i)).position&&"absolute"===d&&(C="scrollHeight",x="scrollWidth"),"top"===s||("left"===s||"right"===s)&&"end"===l)E=o,b-=(p&&O===T&&T.visualViewport?T.visualViewport.height:O[C])-n.height,b*=u?1:-1;if("left"===s||("top"===s||"bottom"===s)&&"end"===l)A=r,m-=(p&&O===T&&T.visualViewport?T.visualViewport.width:O[x])-n.width,m*=u?1:-1}var k,L=Object.assign({position:d},h&&tt),$=!0===f?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:I(i*s)/s||0,y:I(n*s)/s||0}}({x:m,y:b},S(i)):{x:m,y:b};return m=$.x,b=$.y,u?Object.assign({},L,((k={})[E]=w?"0":"",k[A]=y?"0":"",k.transform=(T.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",k)):Object.assign({},L,((e={})[E]=w?b+"px":"",e[A]=y?m+"px":"",e.transform="",e))}var it={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:P(e.placement),variation:Q(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,et(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,et(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:{}},nt={passive:!0};var st={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=S(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(t){t.addEventListener("scroll",i.update,nt)}),a&&l.addEventListener("resize",i.update,nt),function(){o&&c.forEach(function(t){t.removeEventListener("scroll",i.update,nt)}),a&&l.removeEventListener("resize",i.update,nt)}},data:{}},ot={left:"right",right:"left",bottom:"top",top:"bottom"};function rt(t){return t.replace(/left|right|bottom|top/g,function(t){return ot[t]})}var at={start:"end",end:"start"};function lt(t){return t.replace(/start|end/g,function(t){return at[t]})}function ct(t){var e=S(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function dt(t){return H(R(t)).left+ct(t).scrollLeft}function ut(t){var e=W(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function ht(t){return["html","body","#document"].indexOf(x(t))>=0?t.ownerDocument.body:L(t)&&ut(t)?t:ht(V(t))}function ft(t,e){var i;void 0===e&&(e=[]);var n=ht(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=S(n),r=s?[o].concat(o.visualViewport||[],ut(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(ft(V(r)))}function pt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function gt(t,e,i){return"viewport"===e?pt(function(t,e){var i=S(t),n=R(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=F();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+dt(t),y:l}}(t,i)):k(e)?function(t,e){var i=H(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):pt(function(t){var e,i=R(t),n=ct(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=N(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=N(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+dt(t),l=-n.scrollTop;return"rtl"===W(s||i).direction&&(a+=N(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(R(t)))}function mt(t,e,i,n){var s="clippingParents"===e?function(t){var e=ft(V(t)),i=["absolute","fixed"].indexOf(W(t).position)>=0&&L(t)?K(t):t;return k(i)?e.filter(function(t){return k(t)&&q(t,i)&&"body"!==x(t)}):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce(function(e,i){var s=gt(t,i,n);return e.top=N(s.top,e.top),e.right=M(s.right,e.right),e.bottom=M(s.bottom,e.bottom),e.left=N(s.left,e.left),e},gt(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}function _t(t){var e,i=t.reference,n=t.element,s=t.placement,l=s?P(s):null,c=s?Q(s):null,u=i.x+i.width/2-n.width/2,h=i.y+i.height/2-n.height/2;switch(l){case"top":e={x:u,y:i.y-n.height};break;case o:e={x:u,y:i.y+i.height};break;case r:e={x:i.x+i.width,y:h};break;case a:e={x:i.x-n.width,y:h};break;default:e={x:i.x,y:i.y}}var f=l?X(l):null;if(null!=f){var p="y"===f?"height":"width";switch(c){case d:e[f]=e[f]-(i[p]/2-n[p]/2);break;case"end":e[f]=e[f]+(i[p]/2-n[p]/2)}}return e}function bt(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?u:a,d=i.rootBoundary,g=void 0===d?h:d,m=i.elementContext,_=void 0===m?f:m,b=i.altBoundary,v=void 0!==b&&b,y=i.padding,w=void 0===y?0:y,A=J("number"!=typeof w?w:G(w,c)),E="popper"===_?p:f,T=t.rects.popper,O=t.elements[v?E:_],C=mt(k(O)?O:O.contextElement||R(t.elements.popper),l,g,r),x=H(t.elements.reference),S=_t({reference:x,element:T,strategy:"absolute",placement:s}),L=pt(Object.assign({},T,S)),$="popper"===_?L:x,D={top:C.top-$.top+A.top,bottom:$.bottom-C.bottom+A.bottom,left:C.left-$.left+A.left,right:$.right-C.right+A.right},P=t.modifiersData.offset;if("popper"===_&&P){var N=P[s];Object.keys(D).forEach(function(t){var e=["right","bottom"].indexOf(t)>=0?1:-1,i=["top","bottom"].indexOf(t)>=0?"y":"x";D[t]+=N[i]*e})}return D}function vt(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,d=void 0===l?m:l,u=Q(n),h=u?a?g:g.filter(function(t){return Q(t)===u}):c,f=h.filter(function(t){return d.indexOf(t)>=0});0===f.length&&(f=h);var p=f.reduce(function(e,i){return e[i]=bt(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[P(i)],e},{});return Object.keys(p).sort(function(t,e){return p[t]-p[e]})}var yt={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,l=void 0===s||s,c=i.altAxis,u=void 0===c||c,h=i.fallbackPlacements,f=i.padding,p=i.boundary,g=i.rootBoundary,m=i.altBoundary,_=i.flipVariations,b=void 0===_||_,v=i.allowedAutoPlacements,y=e.options.placement,w=P(y)===y,A=h||(w||!b?[rt(y)]:function(t){if("auto"===P(t))return[];var e=rt(t);return[lt(t),e,lt(e)]}(y)),E=[y].concat(A).reduce(function(t,i){return t.concat("auto"===P(i)?vt(e,{placement:i,boundary:p,rootBoundary:g,padding:f,flipVariations:b,allowedAutoPlacements:v}):i)},[]),T=e.rects.reference,O=e.rects.popper,C=new Map,x=!0,S=E[0],k=0;k<E.length;k++){var L=E[k],$=P(L),D=Q(L)===d,N=["top",o].indexOf($)>=0,M=N?"width":"height",I=bt(e,{placement:L,boundary:p,rootBoundary:g,altBoundary:m,padding:f}),j=N?D?r:a:D?o:"top";T[M]>O[M]&&(j=rt(j));var F=rt(j),H=[];if(l&&H.push(I[$]<=0),u&&H.push(I[j]<=0,I[F]<=0),H.every(function(t){return t})){S=L,x=!1;break}C.set(L,H)}if(x)for(var B=function(t){var e=E.find(function(e){var i=C.get(e);if(i)return i.slice(0,t).every(function(t){return t})});if(e)return S=e,"break"},q=b?3:1;q>0&&"break"!==B(q);q--);e.placement!==S&&(e.modifiersData[n]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function wt(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 At(t){return["top",r,o,a].some(function(e){return t[e]>=0})}var Et={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=bt(e,{elementContext:"reference"}),a=bt(e,{altBoundary:!0}),l=wt(r,n),c=wt(a,s,o),d=At(l),u=At(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}};var Tt={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=m.reduce(function(t,i){return t[i]=function(t,e,i){var n=P(t),s=["left","top"].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,["left","right"].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}};var Ot={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=_t({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Ct={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,l=void 0===s||s,c=i.altAxis,d=void 0!==c&&c,u=i.boundary,h=i.rootBoundary,f=i.altBoundary,p=i.padding,g=i.tether,m=void 0===g||g,_=i.tetherOffset,b=void 0===_?0:_,v=bt(e,{boundary:u,rootBoundary:h,padding:p,altBoundary:f}),y=P(e.placement),w=Q(e.placement),A=!w,E=X(y),T="x"===E?"y":"x",O=e.modifiersData.popperOffsets,C=e.rects.reference,x=e.rects.popper,S="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,k="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,$={x:0,y:0};if(O){if(l){var D,I="y"===E?"top":a,j="y"===E?o:r,F="y"===E?"height":"width",H=O[E],q=H+v[I],W=H-v[j],z=m?-x[F]/2:0,R="start"===w?C[F]:x[F],V="start"===w?-x[F]:-C[F],U=e.elements.arrow,J=m&&U?B(U):{width:0,height:0},G=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=G[I],tt=G[j],et=Y(0,C[F],J[F]),it=A?C[F]/2-z-et-Z-k.mainAxis:R-et-Z-k.mainAxis,nt=A?-C[F]/2+z+et+tt+k.mainAxis:V+et+tt+k.mainAxis,st=e.elements.arrow&&K(e.elements.arrow),ot=st?"y"===E?st.clientTop||0:st.clientLeft||0:0,rt=null!=(D=null==L?void 0:L[E])?D:0,at=H+nt-rt,lt=Y(m?M(q,H+it-rt-ot):q,H,m?N(W,at):W);O[E]=lt,$[E]=lt-H}if(d){var ct,dt="x"===E?"top":a,ut="x"===E?o:r,ht=O[T],ft="y"===T?"height":"width",pt=ht+v[dt],gt=ht-v[ut],mt=-1!==["top",a].indexOf(y),_t=null!=(ct=null==L?void 0:L[T])?ct:0,vt=mt?pt:ht-C[ft]-x[ft]-_t+k.altAxis,yt=mt?ht+C[ft]+x[ft]-_t-k.altAxis:gt,wt=m&&mt?function(t,e,i){var n=Y(t,e,i);return n>i?i:n}(vt,ht,yt):Y(m?vt:pt,ht,m?yt:gt);O[T]=wt,$[T]=wt-ht}e.modifiersData[n]=$}},requiresIfExists:["offset"]};function xt(t,e,i){void 0===i&&(i=!1);var n,s,o=L(e),r=L(e)&&function(t){var e=t.getBoundingClientRect(),i=I(e.width)/t.offsetWidth||1,n=I(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=R(e),l=H(t,r,i),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!i)&&(("body"!==x(e)||ut(a))&&(c=(n=e)!==S(n)&&L(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:ct(n)),L(e)?((d=H(e,!0)).x+=e.clientLeft,d.y+=e.clientTop):a&&(d.x=dt(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function St(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 kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Lt(){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 $t(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?kt:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},kt,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,d={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;u(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:k(t)?ft(t):t.contextElement?ft(t.contextElement):[],popper:ft(e)};var r,c,h=function(t){var e=St(t);return C.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=h.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:d,options:n});l.push(o||function(){})}}),d.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(Lt(e,i)){a.rects={reference:xt(e,K(i),"fixed"===a.options.strategy),popper:B(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,u=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:u,instance:d})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise(function(t){d.forceUpdate(),t(a)})},function(){return r||(r=new Promise(function(t){Promise.resolve().then(function(){r=void 0,t(s())})})),r}),destroy:function(){u(),c=!0}};if(!Lt(t,e))return d;function u(){l.forEach(function(t){return t()}),l=[]}return d.setOptions(i).then(function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)}),d}}var Dt=$t(),Pt=$t({defaultModifiers:[st,Ot,it,D]}),Nt=$t({defaultModifiers:[st,Ot,it,D,Tt,yt,Ct,Z,Et]}),Mt=i({afterMain:()=>A,afterRead:()=>v,afterWrite:()=>O,applyStyles:()=>D,arrow:()=>Z,auto:()=>l,basePlacements:()=>c,beforeMain:()=>y,beforeRead:()=>_,beforeWrite:()=>E,bottom:()=>o,clippingParents:()=>u,computeStyles:()=>it,createPopper:()=>Nt,createPopperBase:()=>Dt,createPopperLite:()=>Pt,detectOverflow:()=>bt,end:()=>"end",eventListeners:()=>st,flip:()=>yt,hide:()=>Et,left:()=>a,main:()=>w,modifierPhases:()=>C,offset:()=>Tt,placements:()=>m,popper:()=>f,popperGenerator:()=>$t,popperOffsets:()=>Ot,preventOverflow:()=>Ct,read:()=>b,reference:()=>p,right:()=>r,start:()=>d,top:()=>"top",variationPlacements:()=>g,viewport:()=>h,write:()=>T}),It=new Map,jt={set(t,e,i){It.has(t)||It.set(t,new Map);const n=It.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)=>It.has(t)&&It.get(t).get(e)||null,remove(t,e){if(!It.has(t))return;const i=It.get(t);i.delete(e),0===i.size&&It.delete(t)}},Ft=/[^.]*(?=\..*)\.|.*/,Ht=/\..*/,Bt=/::\d+$/,qt={},Wt=1,zt={mouseenter:"mouseover",mouseleave:"mouseout"},Rt=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 Vt(t,e){return e&&`${e}::${Wt++}`||t.uidEvent||Wt++}function Ut(t){const e=Vt(t);return t.uidEvent=e,qt[e]=qt[e]||{},qt[e]}function Kt(t,e,i=null){return Object.values(t).find(t=>t.callable===e&&t.delegationSelector===i)}function Xt(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=(r=(r=t).replace(Ht,""),zt[r]||r);var r;return Rt.has(o)||(o=t),[n,s,o]}function Yt(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=Xt(e,i,n);if(e in zt){const t=t=>function(e){const i=e;if(!i.relatedTarget||i.relatedTarget!==i.delegateTarget&&!i.delegateTarget.contains(i.relatedTarget))return t.call(this,e)};r=t(r)}const l=Ut(t),c=l[a]||(l[a]={}),d=Kt(c,r,o?i:null);if(d)return void(d.oneOff=d.oneOff&&s);const u=Vt(r,e.replace(Ft,"")),h=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 Qt(s,{delegateTarget:r}),n.oneOff&&Zt.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return Qt(n,{delegateTarget:t}),i.oneOff&&Zt.off(t,n.type,e),e.apply(t,[n])}}(t,r);h.delegationSelector=o?i:null,h.callable=r,h.oneOff=s,h.uidEvent=u,c[u]=h,t.addEventListener(a,h,o)}function Jt(t,e,i,n,s){const o=Kt(e[i],n,null!=s?s:null);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function Gt(t,e,i,n){const s=e[i]||{};for(const[o,r]of Object.entries(s))o.includes(n)&&Jt(t,e,i,r.callable,r.delegationSelector)}var Zt={on(t,e,i,n){Yt(t,e,i,n,!1)},one(t,e,i,n){Yt(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=Xt(e,i,n),a=r!==e,l=Ut(t),c=l[r]||{},d=e.startsWith(".");if(void 0===o){if(d)for(const i of Object.keys(l))Gt(t,l,i,e.slice(1));for(const[i,n]of Object.entries(c)){const s=i.replace(Bt,"");a&&!e.includes(s)||Jt(t,l,r,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;Jt(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=Qt(new Event(e,{bubbles:!0,cancelable:!0}),i);return t.dispatchEvent(n),n}};function Qt(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}function te(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(e){return t}}function ee(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var ie=["tblr","bs"],ne={setDataAttribute(t,e,i){t.setAttribute(`data-tblr-${ee(e)}`,i)},removeDataAttribute(t,e){for(const i of ie)t.removeAttribute(`data-${i}-${ee(e)}`)},getDataAttributes(t){if(!t)return{};const e={};for(const i of ie){const n=Object.keys(t.dataset).filter(t=>t.startsWith(i)&&!t.startsWith(`${i}Config`));for(const s of n){let n=s.replace(new RegExp(`^${i}`),"");n=n.charAt(0).toLowerCase()+n.slice(1),n in e||(e[n]=te(t.dataset[s]))}}return e},getDataAttribute(t,e){for(const i of ie){const n=t.getAttribute(`data-${i}-${ee(e)}`);if(null!==n)return te(n)}return null}},se="transitionend",oe=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),t),re=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),ae=t=>{t.dispatchEvent(new Event(se))},le=t=>!(!t||"object"!=typeof t)&&void 0!==t.nodeType,ce=t=>le(t)?t:"string"==typeof t&&t.length>0?document.querySelector(oe(t)):null,de=t=>{if(!le(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},ue=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||("disabled"in t&&void 0!==t.disabled?Boolean(t.disabled):t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),he=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?he(t.parentNode):null},fe=()=>{},pe=t=>{t.offsetHeight},ge=()=>"rtl"===document.documentElement.dir,me=(t,e=[],i=t)=>"function"==typeof t?t.call(e[0],...e.slice(1)):i,_e=(t,e,i=!0)=>{if(!i)return void me(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);return Number.parseFloat(e)||Number.parseFloat(i)?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const o=({target:i})=>{i===e&&(s=!0,e.removeEventListener(se,o),me(t))};e.addEventListener(se,o),setTimeout(()=>{s||ae(e)},n)},be=(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))])};function ve(t){return ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ve(t)}function ye(t){var e=function(t,e){if("object"!=ve(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=ve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ve(e)?e:e+""}function we(t,e,i){return(e=ye(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ae(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function Ee(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ae(Object(i),!0).forEach(function(e){we(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ae(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}var Te=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=le(e)?ne.getDataAttribute(e,"config"):{};return Ee(Ee(Ee(Ee({},this.constructor.Default),"object"==typeof i?i:{}),le(e)?ne.getDataAttributes(e):{}),"object"==typeof t?t:{})}_typeCheckConfig(t,e){const i=this.constructor,n=e||i.DefaultType;for(const[e,s]of Object.entries(n)){const n=t[e],o=le(n)?"element":re(n);if(!new RegExp(s).test(o))throw new TypeError(`${i.NAME.toUpperCase()}: Option "${e}" provided type "${o}" but expected type "${s}".`)}}},Oe=class extends Te{constructor(t,e){super();const i=ce(t);if(!i)return;this._element=i,this._config=this._getConfig(e);const n=this.constructor;jt.set(this._element,n.DATA_KEY,this)}dispose(){const t=this.constructor;jt.remove(this._element,t.DATA_KEY),Zt.off(this._element,t.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){_e(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return jt.get(ce(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.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},Ce=t=>{let e=t.getAttribute("data-tblr-target")||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?e.split(",").map(t=>oe(t)).join(","):null},xe={find:(t,e=document.documentElement)=>Array.from(e.querySelectorAll(t)),findOne:(t,e=document.documentElement)=>e.querySelector(t),children:(t,e)=>Array.from(t.children).filter(t=>t.matches(e)),parents(t,e){const i=[];let n=t.parentNode&&t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode&&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=>!ue(t)&&de(t))},getSelectorFromElement(t){const e=Ce(t);return e&&xe.findOne(e)?e:null},getElementFromSelector(t){const e=Ce(t);return e?xe.findOne(e):null},getMultipleElementsFromSelector(t){const e=Ce(t);return e?xe.find(e):[]}},Se=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;Zt.on(document,i,`[data-bs-dismiss="${n}"], [data-tblr-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),ue(this))return;const s=xe.getElementFromSelector(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()})},ke=".bs.alert",Le=`close${ke}`,$e=`closed${ke}`,De=class extends Oe{static get NAME(){return"alert"}close(){const t=Zt.trigger(this._element,Le);if(null==t?void 0:t.defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),Zt.trigger(this._element,$e),this.dispose()}};Se(De,"close");var Pe='[data-bs-toggle="button"], [data-tblr-toggle="button"]',Ne=class extends Oe{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",String(this._element.classList.toggle("active")))}};Zt.on(document,"click.bs.button.data-api",Pe,t=>{var e;t.preventDefault();const i=null===(e=t.target)||void 0===e?void 0:e.closest(Pe);i&&Ne.getOrCreateInstance(i).toggle()});var Me=".bs.swipe",Ie=`touchstart${Me}`,je=`touchmove${Me}`,Fe=`touchend${Me}`,He=`pointerdown${Me}`,Be=`pointerup${Me}`,qe={endCallback:null,leftCallback:null,rightCallback:null},We={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},ze=class t extends Te{constructor(e,i){super(),this._element=e,e&&t.isSupported()&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return qe}static get DefaultType(){return We}static get NAME(){return"swipe"}dispose(){Zt.off(this._element,Me)}_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(),me(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&&me(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Zt.on(this._element,He,t=>this._start(t)),Zt.on(this._element,Be,t=>this._end(t)),this._element.classList.add("pointer-event")):(Zt.on(this._element,Ie,t=>this._start(t)),Zt.on(this._element,je,t=>this._move(t)),Zt.on(this._element,Fe,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}},Re=".bs.carousel",Ve=".data-api",Ue="ArrowLeft",Ke="ArrowRight",Xe="next",Ye="prev",Je="left",Ge="right",Ze=`slide${Re}`,Qe=`slid${Re}`,ti=`keydown${Re}`,ei=`mouseenter${Re}`,ii=`mouseleave${Re}`,ni=`dragstart${Re}`,si=`load${Re}${Ve}`,oi=`click${Re}${Ve}`,ri="carousel",ai="active",li={[Ue]:Ge,[Ke]:Je},ci={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},di={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},ui=class extends Oe{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=xe.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ri&&this.cycle()}static get Default(){return ci}static get DefaultType(){return di}static get NAME(){return"carousel"}next(){this._slide(Xe)}nextWhenVisible(){!document.hidden&&de(this._element)&&this.next()}prev(){this._slide(Ye)}pause(){this._isSliding&&ae(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?Zt.one(this._element,Qe,()=>this.cycle()):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void Zt.one(this._element,Qe,()=>this.to(t));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?Xe:Ye;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&&Zt.on(this._element,ti,t=>this._keydown(t)),"hover"===this._config.pause&&(Zt.on(this._element,ei,()=>this.pause()),Zt.on(this._element,ii,()=>this._maybeEnableCycle())),this._config.touch&&ze.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of xe.find(".carousel-item img",this._element))Zt.on(t,ni,t=>t.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Je)),rightCallback:()=>this._slide(this._directionToOrder(Ge)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ze(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=li[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=xe.findOne(".active",this._indicatorsElement);e.classList.remove(ai),e.removeAttribute("aria-current");const i=xe.findOne(`[data-bs-slide-to="${t}"], [data-tblr-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(ai),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval")||t.getAttribute("data-tblr-interval")||"",10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),n=t===Xe,s=e||be(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>Zt.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(Ze).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),pe(s),i.classList.add(l),s.classList.add(l);this._queueCallback(()=>{s.classList.remove(l,c),s.classList.add(ai),i.classList.remove(ai,c,l),this._isSliding=!1,r(Qe)},i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return xe.findOne(".active.carousel-item",this._element)}_getItems(){return xe.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ge()?t===Je?Ye:Xe:t===Je?Xe:Ye}_orderToDirection(t){return ge()?t===Ye?Je:Ge:t===Ye?Ge:Je}};Zt.on(document,oi,"[data-bs-slide], [data-bs-slide-to], [data-tblr-slide], [data-tblr-slide-to]",function(t){const e=xe.getElementFromSelector(this);if(!e||!e.classList.contains(ri))return;t.preventDefault();const i=ui.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to")||this.getAttribute("data-tblr-slide-to");return n?(i.to(Number(n)),void i._maybeEnableCycle()):"next"===ne.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())}),Zt.on(window,si,()=>{const t=xe.find('[data-bs-ride="carousel"], [data-tblr-ride="carousel"]');for(const e of t)ui.getOrCreateInstance(e)});var hi=".bs.collapse",fi=`show${hi}`,pi=`shown${hi}`,gi=`hide${hi}`,mi=`hidden${hi}`,_i=`click${hi}.data-api`,bi="show",vi="collapse",yi="collapsing",wi=`:scope .${vi} .${vi}`,Ai='[data-bs-toggle="collapse"], [data-tblr-toggle="collapse"]',Ei={parent:null,toggle:!0},Ti={parent:"(null|element)",toggle:"boolean"},Oi=class t extends Oe{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=xe.find(Ai);for(const t of i){const e=xe.getSelectorFromElement(t),i=xe.find(e).filter(t=>t===this._element);null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ei}static get DefaultType(){return Ti}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(e=>t.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;const i=Zt.trigger(this._element,fi);if(null==i?void 0:i.defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(vi),this._element.classList.add(yi),this._element.style[n]="0",this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(yi),this._element.classList.add(vi,bi),this._element.style[n]="",Zt.trigger(this._element,pi)},this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;const t=Zt.trigger(this._element,gi);if(null==t?void 0:t.defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,pe(this._element),this._element.classList.add(yi),this._element.classList.remove(vi,bi);for(const t of this._triggerArray){const e=xe.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(yi),this._element.classList.add(vi),Zt.trigger(this._element,mi)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(bi)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=ce(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ai);for(const e of t){const t=xe.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=xe.find(wi,this._config.parent);return xe.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",String(e))}};Zt.on(document,_i,Ai,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of xe.getMultipleElementsFromSelector(this))Oi.getOrCreateInstance(t,{toggle:!1}).toggle()});var Ci="dropdown",xi=".bs.dropdown",Si=".data-api",ki="ArrowUp",Li="ArrowDown",$i=`hide${xi}`,Di=`hidden${xi}`,Pi=`show${xi}`,Ni=`shown${xi}`,Mi=`click${xi}${Si}`,Ii=`keydown${xi}${Si}`,ji=`keyup${xi}${Si}`,Fi="show",Hi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled), [data-tblr-toggle="dropdown"]:not(.disabled):not(:disabled)',Bi=`.${Fi}[data-bs-toggle="dropdown"], .${Fi}[data-tblr-toggle="dropdown"]`,qi=".dropdown-menu",Wi=ge()?"top-end":"top-start",zi=ge()?"top-start":"top-end",Ri=ge()?"bottom-end":"bottom-start",Vi=ge()?"bottom-start":"bottom-end",Ui=ge()?"left-start":"right-start",Ki=ge()?"right-start":"left-start",Xi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Yi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},Ji=class t extends Oe{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=xe.next(this._element,qi)[0]||xe.prev(this._element,qi)[0]||xe.findOne(qi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Xi}static get DefaultType(){return Yi}static get NAME(){return Ci}toggle(){this._isShown()?this.hide():this.show()}show(){if(ue(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Zt.trigger(this._element,Pi,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))Zt.on(t,"mouseover",fe);this._element.focus(),this._element.setAttribute("aria-expanded","true"),this._menu.classList.add(Fi),this._element.classList.add(Fi),Zt.trigger(this._element,Ni,t)}}hide(){if(ue(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(!Zt.trigger(this._element,$i,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Zt.off(t,"mouseover",fe);this._popper&&this._popper.destroy(),this._menu.classList.remove(Fi),this._element.classList.remove(Fi),this._element.setAttribute("aria-expanded","false"),ne.removeDataAttribute(this._menu,"popper"),Zt.trigger(this._element,Di,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!le(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===Mt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;"parent"===this._config.reference?t=this._parent:le(this._config.reference)?t=ce(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=Nt(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Fi)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Ui;if(t.classList.contains("dropstart"))return Ki;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?zi:Wi:e?Vi:Ri}_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()}}]};(this._inNavbar||"static"===this._config.display)&&(ne.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]);const e=me(this._config.popperConfig,[void 0,t]);return Ee(Ee({},t),"object"==typeof e&&null!==e?e:{})}_selectMenuItem({key:t,target:e}){const i=xe.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(t=>de(t));i.length&&be(i,e,t===Li,!i.includes(e)).focus()}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const i=xe.find(Bi);for(const n of i){const i=t.getInstance(n);if(!i||!1===i._config.autoClose)continue;const s=e.composedPath(),o=s.includes(i._menu);if(s.includes(i._element)||"inside"===i._config.autoClose&&!o||"outside"===i._config.autoClose&&o)continue;if(i._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const r={relatedTarget:i._element};"click"===e.type&&(r.clickEvent=e),i._completeHide(r)}}static dataApiKeydownHandler(e){const i=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,s=[ki,Li].includes(e.key);if(!s&&!n)return;if(i&&!n)return;e.preventDefault();const o=this.matches(Hi)?this:xe.prev(this,Hi)[0]||xe.next(this,Hi)[0]||xe.findOne(Hi,e.delegateTarget.parentNode),r=t.getOrCreateInstance(o);if(s)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),o.focus())}};Zt.on(document,Ii,Hi,Ji.dataApiKeydownHandler),Zt.on(document,Ii,qi,Ji.dataApiKeydownHandler),Zt.on(document,Mi,Ji.clearMenus),Zt.on(document,ji,Ji.clearMenus),Zt.on(document,Mi,Hi,function(t){t.preventDefault(),Ji.getOrCreateInstance(this).toggle()});var Gi="backdrop",Zi="show",Qi=`mousedown.bs.${Gi}`,tn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},en={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},nn=class extends Te{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return tn}static get DefaultType(){return en}static get NAME(){return Gi}show(t){if(!this._config.isVisible)return void me(t);this._append();const e=this._getElement();this._config.isAnimated&&pe(e),e.classList.add(Zi),this._emulateAnimation(()=>{me(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(Zi),this._emulateAnimation(()=>{this.dispose(),me(t)})):me(t)}dispose(){this._isAppended&&(Zt.off(this._element,Qi),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=ce(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Zt.on(t,Qi,()=>{me(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){_e(t,this._getElement(),this._config.isAnimated)}},sn=".bs.focustrap",on=`focusin${sn}`,rn=`keydown.tab${sn}`,an="backward",ln={autofocus:!0,trapElement:null},cn={autofocus:"boolean",trapElement:"element"},dn=class extends Te{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ln}static get DefaultType(){return cn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Zt.off(document,sn),Zt.on(document,on,t=>this._handleFocusin(t)),Zt.on(document,rn,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Zt.off(document,sn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=xe.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===an?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?an:"forward")}},un=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",hn=".sticky-top",fn="padding-right",pn="margin-right",gn=class{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,fn,e=>e+t),this._setElementAttributes(un,fn,e=>e+t),this._setElementAttributes(hn,pn,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,fn),this._resetElementAttributes(un,fn),this._resetElementAttributes(hn,pn)}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&&ne.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{const i=ne.getDataAttribute(t,e);null!==i?(ne.removeDataAttribute(t,e),t.style.setProperty(e,String(i))):t.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(le(t))e(t);else for(const i of xe.find(t,this._element))e(i)}},mn=".bs.modal",_n=`hide${mn}`,bn=`hidePrevented${mn}`,vn=`hidden${mn}`,yn=`show${mn}`,wn=`shown${mn}`,An=`resize${mn}`,En=`click.dismiss${mn}`,Tn=`mousedown.dismiss${mn}`,On=`keydown.dismiss${mn}`,Cn=`click${mn}.data-api`,xn="modal-open",Sn="show",kn="modal-static",Ln={backdrop:!0,focus:!0,keyboard:!0},$n={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},Dn=class extends Oe{constructor(t,e){super(t,e),this._dialog=xe.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new gn,this._addEventListeners()}static get Default(){return Ln}static get DefaultType(){return $n}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Zt.trigger(this._element,yn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(xn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(Zt.trigger(this._element,_n).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Sn),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){Zt.off(window,mn),Zt.off(this._dialog,mn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new nn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new dn({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","true"),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=xe.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),pe(this._element),this._element.classList.add(Sn);this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Zt.trigger(this._element,wn,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){Zt.on(this._element,On,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),Zt.on(window,An,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Zt.on(this._element,Tn,t=>{Zt.one(this._element,En,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","true"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(xn),this._resetAdjustments(),this._scrollBar.reset(),Zt.trigger(this._element,vn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(Zt.trigger(this._element,bn).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(kn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(kn),this._queueCallback(()=>{this._element.classList.remove(kn),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=ge()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=ge()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}};Zt.on(document,Cn,'[data-bs-toggle="modal"], [data-tblr-toggle="modal"]',function(t){const e=xe.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),Zt.one(e,yn,t=>{t.defaultPrevented||Zt.one(e,vn,()=>{de(this)&&this.focus()})});const i=xe.findOne(".modal.show");i&&Dn.getInstance(i).hide(),Dn.getOrCreateInstance(e).toggle(this)}),Se(Dn);var Pn=".bs.offcanvas",Nn=".data-api",Mn=`load${Pn}${Nn}`,In="show",jn="showing",Fn="hiding",Hn=".offcanvas.show",Bn=`show${Pn}`,qn=`shown${Pn}`,Wn=`hide${Pn}`,zn=`hidePrevented${Pn}`,Rn=`hidden${Pn}`,Vn=`resize${Pn}`,Un=`click${Pn}${Nn}`,Kn=`keydown.dismiss${Pn}`,Xn={backdrop:!0,keyboard:!0,scroll:!1},Yn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},Jn=class extends Oe{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Xn}static get DefaultType(){return Yn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(Zt.trigger(this._element,Bn,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new gn).hide(),this._element.setAttribute("aria-modal","true"),this._element.setAttribute("role","dialog"),this._element.classList.add(jn);this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(In),this._element.classList.remove(jn),Zt.trigger(this._element,qn,{relatedTarget:t})},this._element,!0)}hide(){if(!this._isShown)return;if(Zt.trigger(this._element,Wn).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Fn),this._backdrop.hide();this._queueCallback(()=>{this._element.classList.remove(In,Fn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new gn).reset(),Zt.trigger(this._element,Rn)},this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new nn({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():Zt.trigger(this._element,zn)}:null})}_initializeFocusTrap(){return new dn({trapElement:this._element})}_addEventListeners(){Zt.on(this._element,Kn,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():Zt.trigger(this._element,zn))})}};Zt.on(document,Un,'[data-bs-toggle="offcanvas"], [data-tblr-toggle="offcanvas"]',function(t){const e=xe.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),ue(this))return;Zt.one(e,Rn,()=>{de(this)&&this.focus()});const i=xe.findOne(Hn);i&&i!==e&&Jn.getInstance(i).hide(),Jn.getOrCreateInstance(e).toggle(this)}),Zt.on(window,Mn,()=>{for(const t of xe.find(Hn))Jn.getOrCreateInstance(t).show()}),Zt.on(window,Vn,()=>{for(const t of xe.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Jn.getOrCreateInstance(t).hide()}),Se(Jn);var Gn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},Zn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,ts=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Zn.has(i)||Boolean(Qn.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(i))};var es={allowList:Gn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},is={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ns={entry:"(string|element|function|null)",selector:"(string|element)"},ss=class extends Te{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return es}static get DefaultType(){return is}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=Ee(Ee({},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},ns)}_setContent(t,e,i){const n=xe.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?le(e)?this._putElementInTemplate(ce(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=Array.from(n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=Array.from(t.attributes),s=[...e["*"]||[],...e[i]||[]];for(const e of n)ts(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return me(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}},os=new Set(["sanitize","allowList","sanitizeFn"]),rs="fade",as="show",ls=".tooltip-inner",cs=".modal",ds="hide.bs.modal",us="hover",hs="focus",fs="click",ps={AUTO:"auto",TOP:"top",RIGHT:ge()?"left":"right",BOTTOM:"bottom",LEFT:ge()?"right":"left"},gs={allowList:Gn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],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"},ms={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"},_s=class extends Oe{constructor(t,e){if(void 0===Mt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");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._hideModalHandler=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return gs}static get DefaultType(){return ms}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),Zt.off(this._element.closest(cs),ds,this._hideModalHandler),(this._element.getAttribute("data-bs-original-title")||this._element.getAttribute("data-tblr-original-title"))&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")||this._element.getAttribute("data-tblr-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=Zt.trigger(this._element,this.constructor.eventName("show")),e=(he(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),Zt.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(as),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Zt.on(t,"mouseover",fe);this._queueCallback(()=>{Zt.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(Zt.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(as),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Zt.off(t,"mouseover",fe);this._activeTrigger[fs]=!1,this._activeTrigger[hs]=!1,this._activeTrigger[us]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Zt.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(rs,as),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(rs),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new ss(Ee(Ee({},this._config),{},{content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory}_getContentForTemplate(){return{[ls]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")||this._element.getAttribute("data-tblr-original-title")||""}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||null!==this.tip&&this.tip.classList.contains(rs)}_isShown(){return null!==this.tip&&this.tip.classList.contains(as)}_createPopper(t){const e=ps[me(this._config.placement,[this,t,this._element]).toUpperCase()];return Nt(this._element,t,this._getPopperConfig(e))}_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 me(t,[this._element,this._element])}_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)}}]},i=me(this._config.popperConfig,[void 0,e]);return Ee(Ee({},e),"object"==typeof i&&null!==i?i:{})}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)Zt.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[fs]=!(e._isShown()&&e._activeTrigger[fs]),e.toggle()});else if("manual"!==e){const t=e===us?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===us?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");Zt.on(this._element,t,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?hs:us]=!0,e._enter()}),Zt.on(this._element,i,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?hs:us]=e._element.contains(t.relatedTarget),e._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Zt.on(this._element.closest(cs),ds,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=ne.getDataAttributes(this._element);for(const t of Object.keys(e))os.has(t)&&delete e[t];return t=Ee(Ee({},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:ce(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,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);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)}},bs=".popover-header",vs=".popover-body",ys=Ee(Ee({},_s.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"}),ws=Ee(Ee({},_s.DefaultType),{},{content:"(null|string|element|function)"}),As=class extends _s{static get Default(){return ys}static get DefaultType(){return ws}static get NAME(){return"popover"}_isWithContent(){return Boolean(this._getTitle()||this._getContent())}_getContentForTemplate(){return{[bs]:this._getTitle(),[vs]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}},Es=".bs.scrollspy",Ts=`activate${Es}`,Os=`click${Es}`,Cs=`load${Es}.data-api`,xs="active",Ss="[href]",ks=".nav-link",Ls=`${ks}, .nav-item > ${ks}, .list-group-item`,$s={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"},Ps=class extends Oe{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 $s}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=ce(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&&(Zt.off(this._config.target,Os),Zt.on(this._config.target,Os,Ss,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("scrollTo"in i)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=xe.find(Ss,this._config.target);for(const e of t){if(!e.hash||ue(e))continue;const t=xe.findOne(oe(decodeURI(e.hash)),this._element);de(t)&&(this._targetLinks.set(decodeURI(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(xs),this._activateParents(t),Zt.trigger(this._element,Ts,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))xe.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(xs);else for(const e of xe.parents(t,".nav, .list-group"))for(const t of xe.prev(e,Ls))t.classList.add(xs)}_clearActiveClass(t){t.classList.remove(xs);const e=xe.find(`${Ss}.${xs}`,t);for(const t of e)t.classList.remove(xs)}};Zt.on(window,Cs,()=>{for(const t of xe.find('[data-bs-spy="scroll"], [data-tblr-spy="scroll"]'))Ps.getOrCreateInstance(t)});var Ns=".bs.tab",Ms=`hide${Ns}`,Is=`hidden${Ns}`,js=`show${Ns}`,Fs=`shown${Ns}`,Hs=`click${Ns}`,Bs=`keydown${Ns}`,qs=`load${Ns}`,Ws="ArrowLeft",zs="ArrowRight",Rs="ArrowUp",Vs="ArrowDown",Us="Home",Ks="End",Xs="active",Ys="fade",Js="show",Gs=".dropdown-toggle",Zs=`:not(${Gs})`,Qs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"], [data-tblr-toggle="tab"], [data-tblr-toggle="pill"], [data-tblr-toggle="list"]',to=`${`.nav-link${Zs}, .list-group-item${Zs}, [role="tab"]${Zs}`}, ${Qs}`,eo=`.${Xs}[data-bs-toggle="tab"], .${Xs}[data-bs-toggle="pill"], .${Xs}[data-bs-toggle="list"], .${Xs}[data-tblr-toggle="tab"], .${Xs}[data-tblr-toggle="pill"], .${Xs}[data-tblr-toggle="list"]`,io=class t extends Oe{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Zt.on(this._element,Bs,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?Zt.trigger(e,Ms,{relatedTarget:t}):null,n=Zt.trigger(t,js,{relatedTarget:e});(null==n?void 0:n.defaultPrevented)||(null==i?void 0:i.defaultPrevented)||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(Xs),this._activate(xe.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected","true"),this._toggleDropDown(t,!0),Zt.trigger(t,Fs,{relatedTarget:e})):t.classList.add(Js)},t,t.classList.contains(Ys))}_deactivate(t,e){if(!t)return;t.classList.remove(Xs),t.blur(),this._deactivate(xe.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Zt.trigger(t,Is,{relatedTarget:e})):t.classList.remove(Js)},t,t.classList.contains(Ys))}_keydown(e){if(![Ws,zs,Rs,Vs,Us,Ks].includes(e.key))return;e.stopPropagation(),e.preventDefault();const i=this._getChildren().filter(t=>!ue(t));let n;if([Us,Ks].includes(e.key))n=i[e.key===Us?0:i.length-1];else{const t=[zs,Vs].includes(e.key);n=be(i,e.target,t,!0)}n&&(n.focus({preventScroll:!0}),t.getOrCreateInstance(n).show())}_getChildren(){return xe.find(to,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",String(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=xe.getElementFromSelector(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=xe.findOne(t,i);s&&s.classList.toggle(n,e)};n(Gs,Xs),n(".dropdown-menu",Js),i.setAttribute("aria-expanded",String(e))}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(Xs)}_getInnerElement(t){return t.matches(to)?t:xe.findOne(to,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}};Zt.on(document,Hs,Qs,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),ue(this)||io.getOrCreateInstance(this).show()}),Zt.on(window,qs,()=>{for(const t of xe.find(eo))io.getOrCreateInstance(t)});var no=".bs.toast",so=`mouseover${no}`,oo=`mouseout${no}`,ro=`focusin${no}`,ao=`focusout${no}`,lo=`hide${no}`,co=`hidden${no}`,uo=`show${no}`,ho=`shown${no}`,fo="hide",po="show",go="showing",mo={animation:"boolean",autohide:"boolean",delay:"number"},_o={animation:!0,autohide:!0,delay:5e3},bo=class extends Oe{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return _o}static get DefaultType(){return mo}static get NAME(){return"toast"}show(){const t=Zt.trigger(this._element,uo);if(null==t?void 0:t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(fo),pe(this._element),this._element.classList.add(po,go),this._queueCallback(()=>{this._element.classList.remove(go),Zt.trigger(this._element,ho),this._maybeScheduleHide()},this._element,this._config.animation)}hide(){if(!this.isShown())return;const t=Zt.trigger(this._element,lo);if(null==t?void 0:t.defaultPrevented)return;this._element.classList.add(go),this._queueCallback(()=>{this._element.classList.add(fo),this._element.classList.remove(go,po),Zt.trigger(this._element,co)},this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(po),super.dispose()}isShown(){return this._element.classList.contains(po)}_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(){Zt.on(this._element,so,t=>this._onInteraction(t,!0)),Zt.on(this._element,oo,t=>this._onInteraction(t,!1)),Zt.on(this._element,ro,t=>this._onInteraction(t,!0)),Zt.on(this._element,ao,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}};Se(bo);var vo={Alert:De,Button:Ne,Carousel:ui,Collapse:Oi,Dropdown:Ji,Modal:Dn,Offcanvas:Jn,Popover:As,ScrollSpy:Ps,Tab:io,Toast:bo,Tooltip:_s};[].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]')).map(function(t){return new Ji(t,{boundary:"viewport"===t.getAttribute("data-bs-boundary")?document.documentElement:"clippingParents"})});var yo=t=>{for(const e of document.querySelectorAll('[data-bs-toggle="sidebar-folded"]'))e.setAttribute("aria-pressed",String(t))},wo=t=>{for(const i of document.querySelectorAll('.navbar-vertical [data-bs-toggle="dropdown"][aria-expanded="true"]'))if(i!==t){var e;null===(e=Ji.getInstance(i))||void 0===e||e.hide()}};document.addEventListener("click",t=>{if(!(null!==(e=document.documentElement.getAttribute("data-bs-sidebar"))&&void 0!==e?e:"").startsWith("folded")&&!document.querySelector(".navbar-vertical.navbar-folded, .navbar-vertical.navbar-folded-hover"))return;var e;const i=t.target;i.closest(".navbar-vertical .dropdown-menu")||wo(i.closest('.navbar-vertical [data-bs-toggle="dropdown"]'))}),document.addEventListener("mouseleave",t=>{const e=t.target;e instanceof Element&&e.matches(".navbar-vertical")&&("folded-hover"===document.documentElement.getAttribute("data-bs-sidebar")||e.classList.contains("navbar-folded-hover"))&&wo()},!0),document.addEventListener("DOMContentLoaded",()=>{var t;const e=(null!==(t=document.documentElement.getAttribute("data-bs-sidebar"))&&void 0!==t?t:"").startsWith("folded");if(yo(e),e)for(const t of document.querySelectorAll(".navbar-vertical .dropdown-menu.show")){var i;t.classList.remove("show"),null===(i=t.parentElement)||void 0===i||null===(i=i.querySelector('[data-bs-toggle="dropdown"]'))||void 0===i||i.setAttribute("aria-expanded","false")}}),document.addEventListener("click",t=>{var e;if(!t.target.closest('[data-bs-toggle="sidebar-folded"]'))return;const i=document.documentElement,n=!(null!==(e=i.getAttribute("data-bs-sidebar"))&&void 0!==e?e:"").startsWith("folded");n?i.setAttribute("data-bs-sidebar","folded-hover"):i.removeAttribute("data-bs-sidebar"),localStorage.setItem("tabler-sidebar",n?"folded-hover":"default"),yo(n),wo(),document.dispatchEvent(new CustomEvent("tabler:sidebar-folded",{detail:{folded:n}}))}),[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(t){var e;return new _s(t,{delay:{show:50,hide:50},html:"true"===t.getAttribute("data-bs-html"),placement:null!==(e=t.getAttribute("data-bs-placement"))&&void 0!==e?e:"auto"})}),[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function(t){var e;return new As(t,{delay:{show:50,hide:50},html:"true"===t.getAttribute("data-bs-html"),placement:null!==(e=t.getAttribute("data-bs-placement"))&&void 0!==e?e:"auto"})}),[].slice.call(document.querySelectorAll('[data-bs-toggle="switch-icon"]')).map(function(t){t.addEventListener("click",e=>{e.stopPropagation();const i=t.classList.toggle("active");t.setAttribute("aria-pressed",i?"true":"false")})});(()=>{const t=window.location.hash;t&&[].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]')).filter(e=>e.hash===t).map(t=>{new io(t).show()})})(),[].slice.call(document.querySelectorAll('[data-bs-toggle="toast"]')).map(function(t){const e=t.getAttribute("data-bs-target");if(null===e)return;const i=new bo(e);t.addEventListener("click",()=>{i.show()})});var Ao=document.querySelectorAll("[data-sortable]");Ao.length&&Ao.forEach(function(t){let e={};try{const i=t.getAttribute("data-sortable");e=i?JSON.parse(i):{}}catch(t){}window.Sortable&&new window.Sortable(t,e)});var Eo=i({getColor:()=>Co,hexToRgba:()=>Oo,prefix:()=>To}),To="tblr-",Oo=(t,e)=>{const i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?`rgba(${parseInt(i[1],16)}, ${parseInt(i[2],16)}, ${parseInt(i[3],16)}, ${e})`:null},Co=(t,e=1)=>{const i=getComputedStyle(document.body).getPropertyValue(`--${To}${t}`).trim();return 1!==e?Oo(i,e):i};t.Alert=De,t.Button=Ne,t.Carousel=ui,t.Collapse=Oi,t.Dropdown=Ji,t.Modal=Dn,t.Offcanvas=Jn,t.Popover=As,Object.defineProperty(t,"Popper",{enumerable:!0,get:function(){return Mt}}),t.ScrollSpy=Ps,t.Tab=io,t.Toast=bo,t.Tooltip=_s,t.bootstrap=vo,Object.defineProperty(t,"tabler",{enumerable:!0,get:function(){return Eo}})});
7
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).tabler={})}(this,function(t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});var e=Object.defineProperty,i=(t,i)=>{let n={};for(var s in t)e(n,s,{get:t[s],enumerable:!0});return i||e(n,Symbol.toStringTag,{value:"Module"}),n},n=new Map,s={set(t,e,i){n.has(t)||n.set(t,new Map);const s=n.get(t);s.has(e)||0===s.size?s.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(t,e)=>n.has(t)&&n.get(t).get(e)||null,remove(t,e){if(!n.has(t))return;const i=n.get(t);i.delete(e),0===i.size&&n.delete(t)}},r="transitionend",o=t=>(t&&"undefined"!=typeof CSS&&"function"==typeof CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),t),a=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),l=t=>{t.dispatchEvent(new Event(r))},c=t=>!(!t||"object"!=typeof t)&&void 0!==t.nodeType,h=t=>c(t)?t:"string"==typeof t&&t.length>0?document.querySelector(o(t)):null,u=t=>{if(!c(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},d=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||("disabled"in t&&void 0!==t.disabled?Boolean(t.disabled):t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),f=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?f(t.parentNode):null},p=()=>{},m=t=>{t.offsetHeight},g=()=>"rtl"===document.documentElement.dir,_=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,v=[],b=t=>{var e;e=()=>{const e=_();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?(v.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of v)t()}),v.push(e)):e()},y=(t,e=[],i=t)=>"function"==typeof t?t.call(e[0],...e.slice(1)):i,w=(t,e,i=!0)=>{if(!i)return void y(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);return Number.parseFloat(e)||Number.parseFloat(i)?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const o=({target:i})=>{i===e&&(s=!0,e.removeEventListener(r,o),y(t))};e.addEventListener(r,o),setTimeout(()=>{s||l(e)},n)},A=(t,e,i,n)=>{const s=t.length;let r=t.indexOf(e);return-1===r?!i&&n?t[s-1]:t[0]:(r+=i?1:-1,n&&(r=(r+s)%s),t[Math.max(0,Math.min(r,s-1))])},E=/[^.]*(?=\..*)\.|.*/,x=/\..*/,S=/::\d+$/,C={},T=1,k={mouseenter:"mouseover",mouseleave:"mouseout"},O=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 $(t,e){return e&&`${e}::${T++}`||t.uidEvent||T++}function D(t){const e=$(t);return t.uidEvent=e,C[e]=C[e]||{},C[e]}function I(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 r=j(t);return O.has(r)||(r=t),[n,s,r]}function M(t,e,i,n,s){if("string"!=typeof e||!t)return;let[r,o,a]=L(e,i,n);if(e in k){const t=t=>function(e){const i=e;if(!i.relatedTarget||i.relatedTarget!==i.delegateTarget&&!i.delegateTarget.contains(i.relatedTarget))return t.call(this,e)};o=t(o)}const l=D(t),c=l[a]||(l[a]={}),h=I(c,o,r?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const u=$(o,e.replace(E,"")),d=r?function(t,e,i){return function n(s){const r=t.querySelectorAll(e);for(let{target:o}=s;o&&o!==this;o=o.parentNode)for(const a of r)if(a===o)return z(s,{delegateTarget:o}),n.oneOff&&F.off(t,s.type,e,i),i.apply(o,[s])}}(t,i,o):function(t,e){return function i(n){return z(n,{delegateTarget:t}),i.oneOff&&F.off(t,n.type,e),e.apply(t,[n])}}(t,o);d.delegationSelector=r?i:null,d.callable=o,d.oneOff=s,d.uidEvent=u,c[u]=d,t.addEventListener(a,d,r)}function N(t,e,i,n,s){const r=I(e[i],n,null!=s?s:null);r&&(t.removeEventListener(i,r,Boolean(s)),delete e[i][r.uidEvent])}function P(t,e,i,n){const s=e[i]||{};for(const[r,o]of Object.entries(s))r.includes(n)&&N(t,e,i,o.callable,o.delegationSelector)}function j(t){return t=t.replace(x,""),k[t]||t}var F={on(t,e,i,n){M(t,e,i,n,!1)},one(t,e,i,n){M(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,r,o]=L(e,i,n),a=o!==e,l=D(t),c=l[o]||{},h=e.startsWith(".");if(void 0===r){if(h)for(const i of Object.keys(l))P(t,l,i,e.slice(1));for(const[i,n]of Object.entries(c)){const s=i.replace(S,"");a&&!e.includes(s)||N(t,l,o,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;N(t,l,o,r,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=_();let s=null,r=!0,o=!0,a=!1;e!==j(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),r=!s.isPropagationStopped(),o=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=z(new Event(e,{bubbles:r,cancelable:!0}),i);return a&&l.preventDefault(),o&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function z(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return 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(e){return t}}function B(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var W=["tblr","bs"],R={setDataAttribute(t,e,i){t.setAttribute(`data-tblr-${B(e)}`,i)},removeDataAttribute(t,e){for(const i of W)t.removeAttribute(`data-${i}-${B(e)}`)},getDataAttributes(t){if(!t)return{};const e={};for(const i of W){const n=Object.keys(t.dataset).filter(t=>t.startsWith(i)&&!t.startsWith(`${i}Config`));for(const s of n){let n=s.replace(new RegExp(`^${i}`),"");n=n.charAt(0).toLowerCase()+n.slice(1),n in e||(e[n]=H(t.dataset[s]))}}return e},getDataAttribute(t,e){for(const i of W){const n=t.getAttribute(`data-${i}-${B(e)}`);if(null!==n)return H(n)}return null}};function q(t){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q(t)}function V(t){var e=function(t,e){if("object"!=q(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=q(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==q(e)?e:e+""}function U(t,e,i){return(e=V(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Y(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function K(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(i),!0).forEach(function(e){U(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Y(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}var X=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=c(e)?R.getDataAttribute(e,"config"):{};return K(K(K(K({},this.constructor.Default),"object"==typeof i?i:{}),c(e)?R.getDataAttributes(e):{}),"object"==typeof t?t:{})}_typeCheckConfig(t,e){const i=this.constructor,n=e||i.DefaultType;for(const[e,s]of Object.entries(n)){const n=t[e],r=c(n)?"element":a(n);if(!new RegExp(s).test(r))throw new TypeError(`${i.NAME.toUpperCase()}: Option "${e}" provided type "${r}" but expected type "${s}".`)}}},Q=class extends X{constructor(t,e){super();const i=h(t);if(!i)return;this._element=i,this._config=this._getConfig(e);const n=this.constructor;s.set(this._element,n.DATA_KEY,this)}dispose(){const t=this.constructor;s.remove(this._element,t.DATA_KEY),F.off(this._element,t.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){w(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return s.get(h(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:void 0)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},G=t=>{let e=t.getAttribute("data-tblr-target")||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?e.split(",").map(t=>o(t)).join(","):null},Z={find:(t,e=document.documentElement)=>Array.from(e.querySelectorAll(t)),findOne:(t,e=document.documentElement)=>e.querySelector(t),children:(t,e)=>Array.from(t.children).filter(t=>t.matches(e)),parents(t,e){const i=[];let n=t.parentNode&&t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode&&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=>!d(t)&&u(t))},getSelectorFromElement(t){const e=G(t);return e&&Z.findOne(e)?e:null},getElementFromSelector(t){const e=G(t);return e?Z.findOne(e):null},getMultipleElementsFromSelector(t){const e=G(t);return e?Z.find(e):[]}},J=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;F.on(document,i,`[data-bs-dismiss="${n}"], [data-tblr-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),d(this))return;const s=Z.getElementFromSelector(this)||this.closest(`.${n}`);((t,e)=>{const i=t[e];"function"==typeof i&&i.call(t)})(t.getOrCreateInstance(s),e)})},tt=(t,e,i=null)=>{for(const n of Z.find(t))if(!i||i(n))try{e.getOrCreateInstance(n)}catch(t){console.error(t)}},et="autosize",it=`resized.bs.${et}`,nt=`[data-bs-toggle="${et}"], [data-tblr-toggle="${et}"]`,st={},rt={},ot=class extends Q{constructor(t,e){var i;super(t,e),this._observer=null,this._inlineStyle="",this._width=0,this._onInput=()=>this.update(),this._element&&(this._inlineStyle=null!==(i=this._element.getAttribute("style"))&&void 0!==i?i:"",this._element.style.resize="none",this._element.style.overflowY="hidden",this._element.addEventListener("input",this._onInput),"undefined"!=typeof ResizeObserver&&(this._observer=new ResizeObserver(()=>{this._element.offsetWidth!==this._width&&(this._width=this._element.offsetWidth,this.update())}),this._observer.observe(this._element)),this.update())}static get Default(){return st}static get DefaultType(){return rt}static get NAME(){return et}update(){const t=this._element;if(!t.isConnected||null===t.offsetParent)return;const{scrollTop:e}=document.documentElement,i=getComputedStyle(t),n="border-box"===i.boxSizing?Number.parseFloat(i.borderTopWidth)+Number.parseFloat(i.borderBottomWidth):0,s=t.style.height;t.style.height="auto";const r=`${t.scrollHeight+n}px`;t.style.height=r,t.style.overflowY=t.scrollHeight>t.clientHeight?"auto":"hidden",document.documentElement.scrollTop=e,r!==s&&F.trigger(t,it)}dispose(){var t;this._element.removeEventListener("input",this._onInput),null===(t=this._observer)||void 0===t||t.disconnect(),this._inlineStyle?this._element.setAttribute("style",this._inlineStyle):this._element.removeAttribute("style"),super.dispose()}};function at(t,e,i,n,s,r,o){try{var a=t[r](o),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(n,s)}function lt(t){return function(){var e=this,i=arguments;return new Promise(function(n,s){var r=t.apply(e,i);function o(t){at(r,n,s,o,a,"next",t)}function a(t){at(r,n,s,o,a,"throw",t)}o(void 0)})}}tt(nt,ot);var ct="clipboard",ht=`.bs.${ct}`,ut=`copied${ht}`,dt=`error${ht}`,ft=`[data-bs-toggle="${ct}"], [data-tblr-toggle="${ct}"]`,pt=`.${ct}-label`,mt=`.${ct}-feedback`,gt={target:null,text:null,delay:2e3},_t={target:"(string|null)",text:"(string|number|null)",delay:"number"},vt=(t,e)=>{e?t.setAttribute("hidden",""):t.removeAttribute("hidden")},bt=class extends Q{constructor(t,e){if(super(t,e),this._labels=[],this._feedbacks=[],this._timeout=0,this._element){this._labels=Z.find(pt,this._element),this._feedbacks=Z.find(mt,this._element);for(const t of this._feedbacks)vt(t,!0),t.hasAttribute("role")||t.setAttribute("role","status");F.on(this._element,`click${ht}`,t=>{t.preventDefault(),this.copy()})}}static get Default(){return gt}static get DefaultType(){return _t}static get NAME(){return ct}get text(){var t;const{text:e,target:i}=this._config;if(null!==e&&""!==e)return String(e);const n=i?Z.findOne(i):null;return n?n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement?n.value:(null!==(t=n.textContent)&&void 0!==t?t:"").trim():""}copy(){var t=this;return lt(function*(){const{text:e}=t;if(e&&navigator.clipboard){try{yield navigator.clipboard.writeText(e)}catch(e){return void F.trigger(t._element,dt)}t._showCopied(),F.trigger(t._element,ut)}else F.trigger(t._element,dt)})()}dispose(){window.clearTimeout(this._timeout),super.dispose()}_showCopied(){window.clearTimeout(this._timeout),this._toggleCopied(!0),this._config.delay>0&&(this._timeout=window.setTimeout(()=>this._toggleCopied(!1),this._config.delay))}_toggleCopied(t){this._element.classList.toggle("copied",t);for(const e of this._labels)vt(e,t);for(const e of this._feedbacks)vt(e,!t)}};tt(ft,bt);var yt="confetti",wt=`.bs.${yt}`,At=`start${wt}`,Et=`end${wt}`,xt=`click${wt}.data-api`,St=`${yt}-canvas`,Ct=`[data-bs-toggle="${yt}"], [data-tblr-toggle="${yt}"]`,Tt=[["blue","#066fd1"],["azure","#4299e1"],["indigo","#4263eb"],["purple","#ae3ec9"],["pink","#d6336c"],["red","#d63939"],["orange","#f76707"],["yellow","#f59f00"],["lime","#74b816"],["green","#2fb344"],["teal","#0ca678"],["cyan","#17a2b8"]],kt=1e3/60,Ot={count:220,duration:3500,decay:3.5,fade:.15,speed:1,colors:null},$t={count:"number",duration:"number",decay:"number",fade:"number",speed:"number",colors:"(array|string|null)"},Dt={canvas:null,context:null,particles:[],emitters:[],frame:0,lastTick:0,add(t){this.emitters.push(t),this._mount(),this.frame||(this.lastTick=performance.now(),this.frame=requestAnimationFrame(t=>this._tick(t)))},_mount(){if(this.canvas)return;const t=document.createElement("canvas");t.className=St,t.setAttribute("aria-hidden","true"),Object.assign(t.style,{position:"fixed",inset:"0",width:"100%",height:"100%",zIndex:"9999",pointerEvents:"none",display:"block"}),document.body.append(t),this.canvas=t,this.context=t.getContext("2d"),this._resize(),window.addEventListener("resize",this._onResize)},_unmount(){var t;cancelAnimationFrame(this.frame),this.frame=0,window.removeEventListener("resize",this._onResize),null===(t=this.canvas)||void 0===t||t.remove(),this.canvas=null,this.context=null,this.particles=[],this.emitters=[]},_onResize:()=>{Dt._resize()},_resize(){if(!this.canvas||!this.context)return;const t=Math.min(window.devicePixelRatio||1,2);this.canvas.width=window.innerWidth*t,this.canvas.height=window.innerHeight*t,this.context.setTransform(t,0,0,t,0,0)},_spawn(t){var e;const{colors:i,config:n}=t,s=window.innerHeight/800*n.speed;return{emitter:t,x:Math.random()*window.innerWidth,y:-20-30*Math.random(),w:6+3.6*Math.random(),h:10+4.4*Math.random(),color:null!==(e=i[Math.floor(Math.random()*i.length)])&&void 0!==e?e:"#000",vx:1.2*(Math.random()-.5),vy:(1.5+2.1*Math.random())*s,speed:s,angle:Math.random()*Math.PI*2,spin:.25*(Math.random()-.5),flip:Math.random()*Math.PI*2,flipSpeed:.12+.15*Math.random(),sway:Math.random()*Math.PI*2,alpha:1}},_pour(t,e){const{count:i,duration:n,decay:s}=t.config,r=e-t.startedAt;if(t.stopped||r>=n)return;const o=r/n,a=Math.round(i*(1-Math.exp(-s*o))/(1-Math.exp(-s)));for(;t.emitted<a;)this.particles.push(this._spawn(t)),t.emitted++},_tick(t){const e=this.context;if(!e)return;const i=Math.min((t-this.lastTick)/kt,3);this.lastTick=t;const n=window.innerWidth,s=window.innerHeight;e.clearRect(0,0,n,s);for(const e of this.emitters)this._pour(e,t);for(let t=this.particles.length-1;t>=0;t--){const n=this.particles[t],r=s*(1-n.emitter.config.fade);n.sway+=.05*i,n.vy=Math.min(n.vy+.025*n.speed*i,4.2*n.speed),n.x+=(n.vx+.7*Math.sin(n.sway))*i,n.y+=n.vy*i,n.angle+=n.spin*i,n.flip+=n.flipSpeed*i,n.y>r&&(n.alpha=Math.max(0,1-(n.y-r)/(s-r))),0!==n.alpha?(e.save(),e.globalAlpha=n.alpha,e.translate(n.x,n.y),e.rotate(n.angle),e.scale(1,Math.cos(n.flip)),e.fillStyle=n.color,e.fillRect(-n.w/2,-n.h/2,n.w,n.h),e.restore()):this.particles.splice(t,1)}this._settle(t),0!==this.emitters.length?this.frame=requestAnimationFrame(t=>this._tick(t)):this._unmount()},_settle(t){for(let e=this.emitters.length-1;e>=0;e--){const i=this.emitters[e],n=!i.stopped&&t-i.startedAt<i.config.duration,s=this.particles.some(t=>t.emitter===i);n||s||(this.emitters.splice(e,1),i.done=!0,F.trigger(i.element,Et))}}},It=class extends Q{constructor(t,e){super(t,e),this._emitter=null}static get Default(){return Ot}static get DefaultType(){return $t}static get NAME(){return yt}burst(){const t=F.trigger(this._element,At);(null==t?void 0:t.defaultPrevented)||(this.stop(),window.matchMedia("(prefers-reduced-motion: reduce)").matches?F.trigger(this._element,Et):(this._emitter={element:this._element,config:this._config,colors:this._colors(),startedAt:performance.now(),emitted:0,stopped:!1,done:!1},Dt.add(this._emitter)))}stop(){this._emitter&&!this._emitter.done&&(this._emitter.stopped=!0),this._emitter=null}dispose(){this.stop(),super.dispose()}_configAfterMerge(t){return"string"==typeof t.colors&&(t.colors=t.colors.split(",").map(t=>t.trim()).filter(Boolean)),t}_colors(){const{colors:t}=this._config;if(t&&t.length>0)return t;const e=getComputedStyle(document.documentElement);return Tt.map(([t,i])=>e.getPropertyValue(`--tblr-${t}`).trim()||i)}};F.on(document,xt,Ct,function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),d(this))return;const e=Z.getElementFromSelector(this)||this;It.getOrCreateInstance(e).burst()});var Lt="countup",Mt=`.bs.${Lt}`,Nt=`data-${Lt}`,Pt=`start${Mt}`,jt=`complete${Mt}`,Ft=`data-tblr-${Lt}`,zt=`[${Nt}], [${Ft}]`,Ht={autoAnimate:!0,startVal:0,duration:2,decimalPlaces:0,useEasing:!0,useGrouping:!0,separator:",",decimal:".",prefix:"",suffix:"",format:"number",formatter:null},Bt={autoAnimate:"boolean",startVal:"number",duration:"number",decimalPlaces:"number",useEasing:"boolean",useGrouping:"boolean",separator:"string",decimal:"string",prefix:"string",suffix:"string",format:"string",formatter:"(function|null)"},Wt=(t,e)=>{if("number"==typeof t)return t;if("time"===e){const e=/^\D{0,32}(\d{1,4}):(\d{1,2})/.exec(t);return e?60*Number(e[1])+Number(e[2]):NaN}return Number.parseFloat(t.replace(/[^0-9.-]/g,""))},Rt=class extends Q{constructor(t,e){var i;if(super(t,e),this._endVal=0,this._value=0,this._frame=0,this._observer=null,this._from=0,this._elapsed=0,this._running=!1,this._paused=!1,!this._element)return;const n=Wt(null!==(i=this._element.textContent)&&void 0!==i?i:"",this._config.format);Number.isNaN(n)||(this._endVal=n,this._value=this._config.startVal,this._print(this._value),this._config.autoAnimate&&"undefined"!=typeof IntersectionObserver?(this._observer=new IntersectionObserver(t=>{var e;t.some(t=>t.isIntersecting)&&(null===(e=this._observer)||void 0===e||e.disconnect(),this._observer=null,this.start())}),this._observer.observe(this._element)):this.start())}static get Default(){return Ht}static get DefaultType(){return Bt}static get NAME(){return Lt}start(){this._animate(this._value,this._endVal)}reset(){this._stop(),this._value=this._config.startVal,this._print(this._value)}update(t){const e=Wt(t,this._config.format);Number.isNaN(e)||(this._endVal=e,this._animate(this._value,this._endVal))}pauseResume(){this._paused?(this._paused=!1,this._run()):this._running&&(this._paused=!0,cancelAnimationFrame(this._frame))}dispose(){var t;this._stop(),null===(t=this._observer)||void 0===t||t.disconnect(),super.dispose()}_mergeConfigObj(t,e){var i;let n={};const s=null!==(i=null==e?void 0:e.getAttribute(Nt))&&void 0!==i?i:null==e?void 0:e.getAttribute(Ft);if(s)try{n=JSON.parse(s)}catch(t){}return super._mergeConfigObj(K(K({},(t=>{const e=K({},t);for(const[i,n]of Object.entries(t)){const t=Bt[i];"string"!=typeof n||"number"!==t||""===n.trim()||Number.isNaN(Number(n))?"string"!=typeof n||"boolean"!==t||"true"!==n&&"false"!==n?"number"==typeof n&&"string"===t&&(e[i]=String(n)):e[i]="true"===n:e[i]=Number(n)}return e})(n)),t),e)}_animate(t,e){this._stop(),t===e||this._config.duration<=0||window.matchMedia("(prefers-reduced-motion: reduce)").matches?this._finish(e):(this._from=t,this._elapsed=0,this._running=!0,F.trigger(this._element,Pt),this._run())}_run(){const t=1e3*this._config.duration;let e=performance.now();const i=n=>{this._elapsed+=n-e,e=n;const s=Math.min(1,this._elapsed/t),r=this._config.useEasing?(t=>t>=1?1:1024*(1-Math.pow(2,-10*t))/1023)(s):s;this._value=this._from+(this._endVal-this._from)*r,this._print(this._value),s<1?this._frame=requestAnimationFrame(i):this._finish(this._endVal)};this._frame=requestAnimationFrame(i)}_finish(t){this._running=!1,this._paused=!1,this._value=t,this._print(t),F.trigger(this._element,jt)}_stop(){cancelAnimationFrame(this._frame),this._running=!1,this._paused=!1}_print(t){this._element.textContent=this._format(t)}_format(t){const{decimalPlaces:e,useGrouping:i,separator:n,decimal:s,prefix:r,suffix:o,format:a,formatter:l}=this._config;if(l)return l(t);if("time"===a){const e=Math.round(Math.abs(t));return`${t<0?"-":""}${r}${Math.floor(e/60)}:${String(e%60).padStart(2,"0")}${o}`}const[c,h]=Math.abs(t).toFixed(e).split(".");return`${t<0?"-":""}${r}${i?c.replace(/\B(?=(\d{3})+(?!\d))/g,n):c}${h?s+h:""}${o}`}};tt(zt,Rt);var qt="datepicker",Vt=`.bs.${qt}`,Ut=".data-api",Yt=`change${Vt}`,Kt=`show${Vt}`,Xt=`shown${Vt}`,Qt=`hide${Vt}`,Gt=`hidden${Vt}`,Zt=`focusin${Vt}`,Jt=`click${Vt}${Ut}`,te=`focusin${Vt}${Ut}`,ee='[data-bs-toggle="datepicker"], [data-tblr-toggle="datepicker"]',ie=/^(\d{4})-(\d{2})-(\d{2})$/,ne={datepickerTheme:null,dateMin:null,dateMax:null,dateFormat:null,displayElement:null,displayMonthsCount:1,firstWeekday:1,inline:!1,locale:"default",positionElement:null,selectedDates:[],selectionMode:"single",placement:"left",vcpOptions:{}},se={datepickerTheme:"(null|string)",dateMin:"(null|string|number|object)",dateMax:"(null|string|number|object)",dateFormat:"(null|object|function)",displayElement:"(null|string|element|boolean)",displayMonthsCount:"number",firstWeekday:"number",inline:"boolean",locale:"string",positionElement:"(null|string|element)",selectedDates:"array",selectionMode:"string",placement:"string",vcpOptions:"object"},re=t=>{setTimeout(()=>setTimeout(t))},oe=class extends Q{constructor(t,e){super(t,e),this._calendar=null,this._isShown=!1,this._isShowing=!1,this._isHiding=!1,this._isSilent=!1,this._skipPluginShow=!1,this._resolveShown=null,this._isInput=!1,this._isInline=!1,this._boundInput=null,this._positionElement=null,this._displayElement=null,this._themeObserver=null,this._onFocusIn=null,this._selectedDates=[],this._element&&window.VanillaCalendarPro&&this._initCalendar()}static get Default(){return ne}static get DefaultType(){return se}static get NAME(){return qt}get calendar(){return this._calendar}toggle(){return this._config.inline?Promise.resolve():this._isShown?this.hide():this.show()}show(){var t=this;return lt(function*(){if(t._config.inline)return;if(!t._calendar||d(t._element)||t._isShown||t._isShowing)return;const e=F.trigger(t._element,Kt);(null==e?void 0:e.defaultPrevented)||(t._isShowing=!0,t._skipPluginShow=!1,t._calendar.show(),t._isShown||(yield new Promise(e=>{t._resolveShown=e,re(e)})),t._resolveShown=null,t._isShowing=!1)})()}hide(){var t=this;return lt(function*(){if(t._config.inline)return;if(!t._calendar||!t._isShown)return;const e=F.trigger(t._element,Qt);(null==e?void 0:e.defaultPrevented)||(t._skipPluginShow=!0,re(()=>{t._skipPluginShow=!1}),t._isHiding=!0,t._calendar.hide(),t._isHiding=!1)})()}dispose(){var t,e;null===(t=this._themeObserver)||void 0===t||t.disconnect(),this._onFocusIn&&F.off(document,Zt,this._onFocusIn),null===(e=this._calendar)||void 0===e||e.destroy(),super.dispose()}getSelectedDates(){var t;const e=null===(t=this._calendar)||void 0===t||null===(t=t.context)||void 0===t?void 0:t.selectedDates;return e&&e.length>0?[...e]:[...this._selectedDates]}setSelectedDates(t){var e;this._selectedDates=t.map(String),null===(e=this._calendar)||void 0===e||e.set({selectedDates:t})}_initCalendar(){this._isInput="INPUT"===this._element.tagName,this._isInline=this._config.inline,this._isInline&&!this._isInput&&(this._boundInput=Z.findOne('input[type="hidden"], input[name]',this._element)),this._positionElement=this._resolvePositionElement(),this._displayElement=this._resolveDisplayElement(),this._selectedDates=[...this._config.selectedDates],this._calendar=new window.VanillaCalendarPro.Calendar(this._element,this._buildCalendarOptions()),this._calendar.init(),this._boundInput&&!this._boundInput.isConnected&&this._element.after(this._boundInput),this._setupThemeObserver(),this._setupDismissOnFocus(),this._isInput&&this._element.value&&this._parseInputValue(),this._updateDisplayWithSelectedDates()}_updateDisplayWithSelectedDates(){const{selectedDates:t}=this._config;t&&0!==t.length&&this._writeSelection(t)}_writeSelection(t){const e=this._formatDateForInput(t);this._isInput&&(this._element.value=e),this._boundInput&&(this._boundInput.value=t.join(",")),this._displayElement&&(this._displayElement.textContent=e)}_resolvePositionElement(){let{positionElement:t}=this._config;return"string"==typeof t&&(t=Z.findOne(t)),t||!this._isInput||this._isInline||(t=this._element.closest(".input-icon, .input-group")),t||this._element}_resolveDisplayElement(){const{displayElement:t}=this._config;return"string"==typeof t?Z.findOne(t):!0===t||null===t&&!this._isInput&&!this._isInline?Z.findOne("[data-bs-datepicker-display], [data-tblr-datepicker-display]",this._element)||this._element:t}_alignToPositionElement(){var t;const e=null===(t=this._calendar)||void 0===t||null===(t=t.context)||void 0===t?void 0:t.mainElement;if(!e||this._isInline||!this._positionElement||this._positionElement===this._element)return;const i=this._positionElement.getBoundingClientRect(),n=e.getBoundingClientRect();let{placement:s}=this._config;"auto"===s&&(s=i.left+n.width>document.documentElement.clientWidth?"right":"left");const r="right"===s?i.right-n.width:"center"===s?i.left+(i.width-n.width)/2:i.left;e.style.left=`${r+window.scrollX}px`}_getThemeAncestor(){return this._element.closest("[data-bs-theme]")}_getEffectiveTheme(){var t;const{datepickerTheme:e}=this._config;return e||((null===(t=this._getThemeAncestor())||void 0===t?void 0:t.getAttribute("data-bs-theme"))||null)}_syncThemeAttribute(t){if(!t)return;const e=this._getEffectiveTheme();e?t.setAttribute("data-bs-theme",e):t.removeAttribute("data-bs-theme")}_setupThemeObserver(){const t=this._getThemeAncestor();t&&!this._config.datepickerTheme&&(this._themeObserver=new MutationObserver(()=>{var t;this._syncThemeAttribute(null===(t=this._calendar)||void 0===t||null===(t=t.context)||void 0===t?void 0:t.mainElement)}),this._themeObserver.observe(t,{attributes:!0,attributeFilter:["data-bs-theme"]}))}_setupDismissOnFocus(){this._isInline||(this._onFocusIn=t=>{var e;if(!this._isShown)return;const{target:i}=t,n=null===(e=this._calendar)||void 0===e||null===(e=e.context)||void 0===e?void 0:e.mainElement;i instanceof Node&&(this._element.contains(i)||(null==n?void 0:n.contains(i)))||this.hide()},F.on(document,Zt,this._onFocusIn))}_silently(t){this._isSilent=!0,t(),this._isSilent=!1}_handlePluginShow(){var t;const e=this._calendar;if(!e)return;var i;if(!this._isSilent&&!this._isShown&&(this._skipPluginShow||!this._isShowing&&(null===(i=F.trigger(this._element,Kt))||void 0===i?void 0:i.defaultPrevented)))return void this._silently(()=>e.hide());const n=this._isShown;this._isShown=!0,this._syncThemeAttribute(e.context.mainElement),this._alignToPositionElement(),n||F.trigger(this._element,Xt),null===(t=this._resolveShown)||void 0===t||t.call(this)}_handlePluginHide(){var t;const e=this._calendar;e&&!this._isSilent&&this._isShown&&(this._isHiding||!(null===(t=F.trigger(this._element,Qt))||void 0===t?void 0:t.defaultPrevented)?(this._isShown=!1,F.trigger(this._element,Gt)):this._silently(()=>e.show()))}_buildCalendarOptions(){const t=this._getEffectiveTheme(),e=t&&"auto"!==t?t:"system",i=K(K({},this._config.vcpOptions),{},{inputMode:!this._isInline,positionToInput:this._config.placement,firstWeekday:this._config.firstWeekday,locale:this._config.locale,selectionDatesMode:this._config.selectionMode,selectedDates:this._config.selectedDates,displayMonthsCount:this._config.displayMonthsCount,type:this._config.displayMonthsCount>1?"multiple":"default",selectedTheme:e,themeAttrDetect:"[data-bs-theme]",onClickDate:(t,e)=>this._handleDateClick(t,e),onInit:t=>{this._syncThemeAttribute(t.context.mainElement)},onShow:()=>this._handlePluginShow(),onHide:()=>this._handlePluginHide()}),[n]=this._config.selectedDates;if(n){const t=this._parseDate(n);i.selectedMonth=t.getMonth(),i.selectedYear=t.getFullYear()}return this._config.dateMin&&(i.dateMin=this._config.dateMin),this._config.dateMax&&(i.dateMax=this._config.dateMax),i}_handleDateClick(t,e){const i=[...t.context.selectedDates];this._selectedDates=i,i.length>0&&this._writeSelection(i);const n={dates:i,event:e};F.trigger(this._element,Yt,n),this._maybeHideAfterSelection(i)}_maybeHideAfterSelection(t){this._isInline||("single"===this._config.selectionMode&&t.length>0||"multiple-ranged"===this._config.selectionMode&&t.length>=2)&&setTimeout(()=>this.hide(),100)}_parseDate(t){const[e=0,i=1,n=1]=t.split("-").map(Number);return new Date(e,i-1,n)}_formatDate(t){const e=this._parseDate(t),i="default"===this._config.locale?void 0:this._config.locale,{dateFormat:n}=this._config;return"function"==typeof n?n(e,i):n&&"object"==typeof n?new Intl.DateTimeFormat(i,n).format(e):e.toLocaleDateString(i)}_formatDateForInput(t){if(0===t.length)return"";if(1===t.length)return this._formatDate(t[0]);const e="multiple-ranged"===this._config.selectionMode?" – ":", ";return t.map(t=>this._formatDate(t)).join(e)}_parseInputValue(){var t;const e=this._element.value.trim();if(!e)return;const i=ie.test(e)?this._parseDate(e):new Date(e);if(Number.isNaN(i.getTime()))return;const n=i.getFullYear(),s=String(i.getMonth()+1).padStart(2,"0"),r=String(i.getDate()).padStart(2,"0");this._selectedDates=[`${n}-${s}-${r}`],null===(t=this._calendar)||void 0===t||t.set({selectedDates:this._selectedDates})}};F.on(document,Jt,ee,function(t){"INPUT"!==this.tagName&&"true"!==this.dataset.bsInline&&"true"!==this.dataset.tblrInline&&(t.preventDefault(),oe.getOrCreateInstance(this).toggle())}),F.on(document,te,ee,function(){"INPUT"===this.tagName&&oe.getOrCreateInstance(this).show()}),tt(ee,oe,t=>{const{dataset:e}=t;return"true"===e.bsInline||"true"===e.tblrInline||"bsSelectedDates"in e||"tblrSelectedDates"in e||Boolean(t.value)});var ae="data-mask",le="data-mask-visible",ce=`[${ae}]`,he={mask:"",lazy:!0},ue={mask:"string",lazy:"boolean"},de=class extends Q{constructor(t,e){super(t,e),this._mask=null,this._element&&this._config.mask&&window.IMask&&(this._mask=new window.IMask(this._element,{mask:this._config.mask,lazy:this._config.lazy}))}static get Default(){return he}static get DefaultType(){return ue}static get NAME(){return"input-mask"}get mask(){return this._mask}update(){var t;null===(t=this._mask)||void 0===t||t.updateValue()}dispose(){var t;null===(t=this._mask)||void 0===t||t.destroy(),super.dispose()}_mergeConfigObj(t,e){const i={},n=null==e?void 0:e.getAttribute(ae);return n&&(i.mask=n),(null==e?void 0:e.hasAttribute(le))&&(i.lazy="true"!==e.getAttribute(le)),super._mergeConfigObj(K(K({},i),t),e)}};tt(ce,de);var fe="bottom",pe="right",me="left",ge="auto",_e=["top",fe,pe,me],ve="start",be="clippingParents",ye="viewport",we="popper",Ae="reference",Ee=_e.reduce(function(t,e){return t.concat([e+"-"+ve,e+"-end"])},[]),xe=[].concat(_e,[ge]).reduce(function(t,e){return t.concat([e,e+"-"+ve,e+"-end"])},[]),Se="beforeRead",Ce="read",Te="afterRead",ke="beforeMain",Oe="main",$e="afterMain",De="beforeWrite",Ie="write",Le="afterWrite",Me=[Se,Ce,Te,ke,Oe,$e,De,Ie,Le];function Ne(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 je(t){return t instanceof Pe(t).Element||t instanceof Element}function Fe(t){return t instanceof Pe(t).HTMLElement||t instanceof HTMLElement}function ze(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Pe(t).ShadowRoot||t instanceof ShadowRoot)}var He={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];Fe(s)&&Ne(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]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce(function(t,e){return t[e]="",t},{});Fe(n)&&Ne(n)&&(Object.assign(n.style,r),Object.keys(s).forEach(function(t){n.removeAttribute(t)}))})}},requires:["computeStyles"]};function Be(t){return t.split("-")[0]}var We=Math.max,Re=Math.min,qe=Math.round;function Ve(){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 Ue(){return!/^((?!chrome|android).)*safari/i.test(Ve())}function Ye(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,r=1;e&&Fe(t)&&(s=t.offsetWidth>0&&qe(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&qe(n.height)/t.offsetHeight||1);var o=(je(t)?Pe(t):window).visualViewport,a=!Ue()&&i,l=(n.left+(a&&o?o.offsetLeft:0))/s,c=(n.top+(a&&o?o.offsetTop:0))/r,h=n.width/s,u=n.height/r;return{width:h,height:u,top:c,right:l+h,bottom:c+u,left:l,x:l,y:c}}function Ke(t){var e=Ye(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&&ze(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Qe(t){return Pe(t).getComputedStyle(t)}function Ge(t){return["table","td","th"].indexOf(Ne(t))>=0}function Ze(t){return((je(t)?t.ownerDocument:t.document)||window.document).documentElement}function Je(t){return"html"===Ne(t)?t:t.assignedSlot||t.parentNode||(ze(t)?t.host:null)||Ze(t)}function ti(t){return Fe(t)&&"fixed"!==Qe(t).position?t.offsetParent:null}function ei(t){for(var e=Pe(t),i=ti(t);i&&Ge(i)&&"static"===Qe(i).position;)i=ti(i);return i&&("html"===Ne(i)||"body"===Ne(i)&&"static"===Qe(i).position)?e:i||function(t){var e=/firefox/i.test(Ve());if(/Trident/i.test(Ve())&&Fe(t)&&"fixed"===Qe(t).position)return null;var i=Je(t);for(ze(i)&&(i=i.host);Fe(i)&&["html","body"].indexOf(Ne(i))<0;){var n=Qe(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 ii(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ni(t,e,i){return We(t,Re(e,i))}function si(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ri(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}var oi={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,r=i.elements.arrow,o=i.modifiersData.popperOffsets,a=Be(i.placement),l=ii(a),c=["left","right"].indexOf(a)>=0?"height":"width";if(r&&o){var h=function(t,e){return si("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ri(t,_e))}(s.padding,i),u=Ke(r),d="y"===l?"top":me,f="y"===l?fe:pe,p=i.rects.reference[c]+i.rects.reference[l]-o[l]-i.rects.popper[c],m=o[l]-i.rects.reference[l],g=ei(r),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=p/2-m/2,b=h[d],y=_-u[c]-h[f],w=_/2-u[c]/2+v,A=ni(b,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 ai(t){return t.split("-")[1]}var li={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ci(t){var e,i=t.popper,n=t.popperRect,s=t.placement,r=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,u=t.isFixed,d=o.x,f=void 0===d?0:d,p=o.y,m=void 0===p?0:p,g="function"==typeof h?h({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var _=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),b=me,y="top",w=window;if(c){var A=ei(i),E="clientHeight",x="clientWidth";if(A===Pe(i)&&"static"!==Qe(A=Ze(i)).position&&"absolute"===a&&(E="scrollHeight",x="scrollWidth"),"top"===s||("left"===s||"right"===s)&&"end"===r)y=fe,m-=(u&&A===w&&w.visualViewport?w.visualViewport.height:A[E])-n.height,m*=l?1:-1;if("left"===s||("top"===s||"bottom"===s)&&"end"===r)b=pe,f-=(u&&A===w&&w.visualViewport?w.visualViewport.width:A[x])-n.width,f*=l?1:-1}var S,C=Object.assign({position:a},c&&li),T=!0===h?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:qe(i*s)/s||0,y:qe(n*s)/s||0}}({x:f,y:m},Pe(i)):{x:f,y:m};return f=T.x,m=T.y,l?Object.assign({},C,((S={})[y]=v?"0":"",S[b]=_?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",S)):Object.assign({},C,((e={})[y]=v?m+"px":"",e[b]=_?f+"px":"",e.transform="",e))}var hi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,r=i.adaptive,o=void 0===r||r,a=i.roundOffsets,l=void 0===a||a,c={placement:Be(e.placement),variation:ai(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,ci(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ci(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:{}},ui={passive:!0};var di={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,r=void 0===s||s,o=n.resize,a=void 0===o||o,l=Pe(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(t){t.addEventListener("scroll",i.update,ui)}),a&&l.addEventListener("resize",i.update,ui),function(){r&&c.forEach(function(t){t.removeEventListener("scroll",i.update,ui)}),a&&l.removeEventListener("resize",i.update,ui)}},data:{}},fi={left:"right",right:"left",bottom:"top",top:"bottom"};function pi(t){return t.replace(/left|right|bottom|top/g,function(t){return fi[t]})}var mi={start:"end",end:"start"};function gi(t){return t.replace(/start|end/g,function(t){return mi[t]})}function _i(t){var e=Pe(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function vi(t){return Ye(Ze(t)).left+_i(t).scrollLeft}function bi(t){var e=Qe(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function yi(t){return["html","body","#document"].indexOf(Ne(t))>=0?t.ownerDocument.body:Fe(t)&&bi(t)?t:yi(Je(t))}function wi(t,e){var i;void 0===e&&(e=[]);var n=yi(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),r=Pe(n),o=s?[r].concat(r.visualViewport||[],bi(n)?n:[]):n,a=e.concat(o);return s?a:a.concat(wi(Je(o)))}function Ai(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"viewport"===e?Ai(function(t,e){var i=Pe(t),n=Ze(t),s=i.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,l=0;if(s){r=s.width,o=s.height;var c=Ue();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:r,height:o,x:a+vi(t),y:l}}(t,i)):je(e)?function(t,e){var i=Ye(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):Ai(function(t){var e,i=Ze(t),n=_i(t),s=null==(e=t.ownerDocument)?void 0:e.body,r=We(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=We(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+vi(t),l=-n.scrollTop;return"rtl"===Qe(s||i).direction&&(a+=We(i.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}(Ze(t)))}function xi(t,e,i,n){var s="clippingParents"===e?function(t){var e=wi(Je(t)),i=["absolute","fixed"].indexOf(Qe(t).position)>=0&&Fe(t)?ei(t):t;return je(i)?e.filter(function(t){return je(t)&&Xe(t,i)&&"body"!==Ne(t)}):[]}(t):[].concat(e),r=[].concat(s,[i]),o=r[0],a=r.reduce(function(e,i){var s=Ei(t,i,n);return e.top=We(s.top,e.top),e.right=Re(s.right,e.right),e.bottom=Re(s.bottom,e.bottom),e.left=We(s.left,e.left),e},Ei(t,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Si(t){var e,i=t.reference,n=t.element,s=t.placement,r=s?Be(s):null,o=s?ai(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(r){case"top":e={x:a,y:i.y-n.height};break;case fe:e={x:a,y:i.y+i.height};break;case pe:e={x:i.x+i.width,y:l};break;case me:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=r?ii(r):null;if(null!=c){var h="y"===c?"height":"width";switch(o){case ve:e[c]=e[c]-(i[h]/2-n[h]/2);break;case"end":e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function Ci(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,r=i.strategy,o=void 0===r?t.strategy:r,a=i.boundary,l=void 0===a?be:a,c=i.rootBoundary,h=void 0===c?ye:c,u=i.elementContext,d=void 0===u?we:u,f=i.altBoundary,p=void 0!==f&&f,m=i.padding,g=void 0===m?0:m,_=si("number"!=typeof g?g:ri(g,_e)),v="popper"===d?Ae:we,b=t.rects.popper,y=t.elements[p?v:d],w=xi(je(y)?y:y.contextElement||Ze(t.elements.popper),l,h,o),A=Ye(t.elements.reference),E=Si({reference:A,element:b,strategy:"absolute",placement:s}),x=Ai(Object.assign({},b,E)),S="popper"===d?x:A,C={top:w.top-S.top+_.top,bottom:S.bottom-w.bottom+_.bottom,left:w.left-S.left+_.left,right:S.right-w.right+_.right},T=t.modifiersData.offset;if("popper"===d&&T){var k=T[s];Object.keys(C).forEach(function(t){var e=["right","bottom"].indexOf(t)>=0?1:-1,i=["top","bottom"].indexOf(t)>=0?"y":"x";C[t]+=k[i]*e})}return C}function Ti(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,r=i.rootBoundary,o=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?xe:l,h=ai(n),u=h?a?Ee:Ee.filter(function(t){return ai(t)===h}):_e,d=u.filter(function(t){return c.indexOf(t)>=0});0===d.length&&(d=u);var f=d.reduce(function(e,i){return e[i]=Ci(t,{placement:i,boundary:s,rootBoundary:r,padding:o})[Be(i)],e},{});return Object.keys(f).sort(function(t,e){return f[t]-f[e]})}var ki={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,r=void 0===s||s,o=i.altAxis,a=void 0===o||o,l=i.fallbackPlacements,c=i.padding,h=i.boundary,u=i.rootBoundary,d=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,g=e.options.placement,_=Be(g)===g,v=l||(_||!p?[pi(g)]:function(t){if("auto"===Be(t))return[];var e=pi(t);return[gi(t),e,gi(e)]}(g)),b=[g].concat(v).reduce(function(t,i){return t.concat("auto"===Be(i)?Ti(e,{placement:i,boundary:h,rootBoundary:u,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)},[]),y=e.rects.reference,w=e.rects.popper,A=new Map,E=!0,x=b[0],S=0;S<b.length;S++){var C=b[S],T=Be(C),k=ai(C)===ve,O=["top",fe].indexOf(T)>=0,$=O?"width":"height",D=Ci(e,{placement:C,boundary:h,rootBoundary:u,altBoundary:d,padding:c}),I=O?k?pe:me:k?fe:"top";y[$]>w[$]&&(I=pi(I));var L=pi(I),M=[];if(r&&M.push(D[T]<=0),a&&M.push(D[I]<=0,D[L]<=0),M.every(function(t){return t})){x=C,E=!1;break}A.set(C,M)}if(E)for(var N=function(t){var e=b.find(function(e){var i=A.get(e);if(i)return i.slice(0,t).every(function(t){return t})});if(e)return x=e,"break"},P=p?3:1;P>0&&"break"!==N(P);P--);e.placement!==x&&(e.modifiersData[n]._skip=!0,e.placement=x,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Oi(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 $i(t){return["top",pe,fe,me].some(function(e){return t[e]>=0})}var Di={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,r=e.modifiersData.preventOverflow,o=Ci(e,{elementContext:"reference"}),a=Ci(e,{altBoundary:!0}),l=Oi(o,n),c=Oi(a,s,r),h=$i(l),u=$i(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":u})}};var Ii={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,r=void 0===s?[0,0]:s,o=xe.reduce(function(t,i){return t[i]=function(t,e,i){var n=Be(t),s=["left","top"].indexOf(n)>=0?-1:1,r="function"==typeof i?i(Object.assign({},e,{placement:t})):i,o=r[0],a=r[1];return o=o||0,a=(a||0)*s,["left","right"].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}(i,e.rects,r),t},{}),a=o[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]=o}};var Li={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Si({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Mi={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,r=void 0===s||s,o=i.altAxis,a=void 0!==o&&o,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,u=i.padding,d=i.tether,f=void 0===d||d,p=i.tetherOffset,m=void 0===p?0:p,g=Ci(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:h}),_=Be(e.placement),v=ai(e.placement),b=!v,y=ii(_),w="x"===y?"y":"x",A=e.modifiersData.popperOffsets,E=e.rects.reference,x=e.rects.popper,S="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,C="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(A){if(r){var O,$="y"===y?"top":me,D="y"===y?fe:pe,I="y"===y?"height":"width",L=A[y],M=L+g[$],N=L-g[D],P=f?-x[I]/2:0,j="start"===v?E[I]:x[I],F="start"===v?-x[I]:-E[I],z=e.elements.arrow,H=f&&z?Ke(z):{width:0,height:0},B=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=B[$],R=B[D],q=ni(0,E[I],H[I]),V=b?E[I]/2-P-q-W-C.mainAxis:j-q-W-C.mainAxis,U=b?-E[I]/2+P+q+R+C.mainAxis:F+q+R+C.mainAxis,Y=e.elements.arrow&&ei(e.elements.arrow),K=Y?"y"===y?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(O=null==T?void 0:T[y])?O:0,Q=L+U-X,G=ni(f?Re(M,L+V-X-K):M,L,f?We(N,Q):N);A[y]=G,k[y]=G-L}if(a){var Z,J="x"===y?"top":me,tt="x"===y?fe:pe,et=A[w],it="y"===w?"height":"width",nt=et+g[J],st=et-g[tt],rt=-1!==["top",me].indexOf(_),ot=null!=(Z=null==T?void 0:T[w])?Z:0,at=rt?nt:et-E[it]-x[it]-ot+C.altAxis,lt=rt?et+E[it]+x[it]-ot-C.altAxis:st,ct=f&&rt?function(t,e,i){var n=ni(t,e,i);return n>i?i:n}(at,et,lt):ni(f?at:nt,et,f?lt:st);A[w]=ct,k[w]=ct-et}e.modifiersData[n]=k}},requiresIfExists:["offset"]};function Ni(t,e,i){void 0===i&&(i=!1);var n,s,r=Fe(e),o=Fe(e)&&function(t){var e=t.getBoundingClientRect(),i=qe(e.width)/t.offsetWidth||1,n=qe(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=Ze(e),l=Ye(t,o,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(r||!r&&!i)&&(("body"!==Ne(e)||bi(a))&&(c=(n=e)!==Pe(n)&&Fe(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:_i(n)),Fe(e)?((h=Ye(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=vi(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Pi(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 ji={placement:"bottom",modifiers:[],strategy:"absolute"};function Fi(){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 zi(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,r=void 0===s?ji:s;return function(t,e,i){void 0===i&&(i=r);var s,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ji,r),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;u(),a.options=Object.assign({},r,a.options,s),a.scrollParents={reference:je(t)?wi(t):t.contextElement?wi(t.contextElement):[],popper:wi(e)};var o,c,d=function(t){var e=Pi(t);return Me.reduce(function(t,i){return t.concat(e.filter(function(t){return t.phase===i}))},[])}((o=[].concat(n,a.options.modifiers),c=o.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=d.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 r=s({state:a,name:e,instance:h,options:n});l.push(r||function(){})}}),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(Fi(e,i)){a.rects={reference:Ni(e,ei(i),"fixed"===a.options.strategy),popper:Ke(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],r=s.fn,o=s.options,l=void 0===o?{}:o,u=s.name;"function"==typeof r&&(a=r({state:a,options:l,name:u,instance:h})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise(function(t){h.forceUpdate(),t(a)})},function(){return o||(o=new Promise(function(t){Promise.resolve().then(function(){o=void 0,t(s())})})),o}),destroy:function(){u(),c=!0}};if(!Fi(t,e))return h;function u(){l.forEach(function(t){return t()}),l=[]}return h.setOptions(i).then(function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)}),h}}var Hi=zi(),Bi=zi({defaultModifiers:[di,Li,hi,He]}),Wi=zi({defaultModifiers:[di,Li,hi,He,Ii,ki,Mi,oi,Di]}),Ri=i({afterMain:()=>$e,afterRead:()=>Te,afterWrite:()=>Le,applyStyles:()=>He,arrow:()=>oi,auto:()=>ge,basePlacements:()=>_e,beforeMain:()=>ke,beforeRead:()=>Se,beforeWrite:()=>De,bottom:()=>fe,clippingParents:()=>be,computeStyles:()=>hi,createPopper:()=>Wi,createPopperBase:()=>Hi,createPopperLite:()=>Bi,detectOverflow:()=>Ci,end:()=>"end",eventListeners:()=>di,flip:()=>ki,hide:()=>Di,left:()=>me,main:()=>Oe,modifierPhases:()=>Me,offset:()=>Ii,placements:()=>xe,popper:()=>we,popperGenerator:()=>zi,popperOffsets:()=>Li,preventOverflow:()=>Mi,read:()=>Ce,reference:()=>Ae,right:()=>pe,start:()=>ve,top:()=>"top",variationPlacements:()=>Ee,viewport:()=>ye,write:()=>Ie}),qi=".bs.alert",Vi=`close${qi}`,Ui=`closed${qi}`,Yi=class t extends Q{static get NAME(){return"alert"}close(){const t=F.trigger(this._element,Vi);if(null==t?void 0:t.defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),F.trigger(this._element,Ui),this.dispose()}static jQueryInterface(e){return this.each(function(){const i=t.getOrCreateInstance(this);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e](this)}})}};J(Yi,"close"),b(Yi);var Ki='[data-bs-toggle="button"], [data-tblr-toggle="button"]',Xi=class t extends Q{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",String(this._element.classList.toggle("active")))}static jQueryInterface(e){return this.each(function(){const i=t.getOrCreateInstance(this);"toggle"===e&&i.toggle()})}};F.on(document,"click.bs.button.data-api",Ki,t=>{var e;t.preventDefault();const i=null===(e=t.target)||void 0===e?void 0:e.closest(Ki);i&&Xi.getOrCreateInstance(i).toggle()}),b(Xi);var Qi=".bs.swipe",Gi=`touchstart${Qi}`,Zi=`touchmove${Qi}`,Ji=`touchend${Qi}`,tn=`pointerdown${Qi}`,en=`pointerup${Qi}`,nn={endCallback:null,leftCallback:null,rightCallback:null},sn={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},rn=class t extends X{constructor(e,i){super(),this._element=e,e&&t.isSupported()&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return nn}static get DefaultType(){return sn}static get NAME(){return"swipe"}dispose(){F.off(this._element,Qi)}_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(),y(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&&y(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(F.on(this._element,tn,t=>this._start(t)),F.on(this._element,en,t=>this._end(t)),this._element.classList.add("pointer-event")):(F.on(this._element,Gi,t=>this._start(t)),F.on(this._element,Zi,t=>this._move(t)),F.on(this._element,Ji,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}},on=".bs.carousel",an=".data-api",ln="ArrowLeft",cn="ArrowRight",hn="next",un="prev",dn="left",fn="right",pn=`slide${on}`,mn=`slid${on}`,gn=`keydown${on}`,_n=`mouseenter${on}`,vn=`mouseleave${on}`,bn=`dragstart${on}`,yn=`load${on}${an}`,wn=`click${on}${an}`,An="carousel",En="active",xn={[ln]:fn,[cn]:dn},Sn={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Cn={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},Tn=class t extends Q{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Z.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===An&&this.cycle()}static get Default(){return Sn}static get DefaultType(){return Cn}static get NAME(){return"carousel"}next(){this._slide(hn)}nextWhenVisible(){!document.hidden&&u(this._element)&&this.next()}prev(){this._slide(un)}pause(){this._isSliding&&l(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?F.one(this._element,mn,()=>this.cycle()):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void F.one(this._element,mn,()=>this.to(t));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?hn:un;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&&F.on(this._element,gn,t=>this._keydown(t)),"hover"===this._config.pause&&(F.on(this._element,_n,()=>this.pause()),F.on(this._element,vn,()=>this._maybeEnableCycle())),this._config.touch&&rn.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of Z.find(".carousel-item img",this._element))F.on(t,bn,t=>t.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(dn)),rightCallback:()=>this._slide(this._directionToOrder(fn)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new rn(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=xn[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=Z.findOne(".active",this._indicatorsElement);e.classList.remove(En),e.removeAttribute("aria-current");const i=Z.findOne(`[data-bs-slide-to="${t}"], [data-tblr-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(En),i.setAttribute("aria-current","true"))}_updateInterval(){var t;const e=this._activeElement||this._getActive();if(!e)return;const i=Number.parseInt(e.getAttribute("data-bs-interval")||e.getAttribute("data-tblr-interval")||"",10);this._config.interval=i||(null!==(t=this._config.defaultInterval)&&void 0!==t?t:this._config.interval)}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),n=t===hn,s=e||A(this._getItems(),i,n,this._config.wrap);if(s===i)return;const r=this._getItemIndex(s),o=e=>F.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:r}),a=o(pn);if(null==a?void 0:a.defaultPrevented)return;if(!i||!s)return;const l=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=s;const c=n?"carousel-item-start":"carousel-item-end",h=n?"carousel-item-next":"carousel-item-prev";s.classList.add(h),m(s),i.classList.add(c),s.classList.add(c);this._queueCallback(()=>{s.classList.remove(c,h),s.classList.add(En),i.classList.remove(En,h,c),this._isSliding=!1,o(mn)},i,this._isAnimated()),l&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Z.findOne(".active.carousel-item",this._element)}_getItems(){return Z.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return g()?t===dn?un:hn:t===dn?hn:un}_orderToDirection(t){return g()?t===un?dn:fn:t===un?fn:dn}static jQueryInterface(e){return this.each(function(){const i=t.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}}else i.to(e)})}};F.on(document,wn,"[data-bs-slide], [data-bs-slide-to], [data-tblr-slide], [data-tblr-slide-to]",function(t){const e=Z.getElementFromSelector(this);if(!e||!e.classList.contains(An))return;t.preventDefault();const i=Tn.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to")||this.getAttribute("data-tblr-slide-to");return n?(i.to(Number(n)),void i._maybeEnableCycle()):"next"===R.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())}),F.on(window,yn,()=>{const t=Z.find('[data-bs-ride="carousel"], [data-tblr-ride="carousel"]');for(const e of t)Tn.getOrCreateInstance(e)}),b(Tn);var kn=".bs.collapse",On=`show${kn}`,$n=`shown${kn}`,Dn=`hide${kn}`,In=`hidden${kn}`,Ln=`click${kn}.data-api`,Mn="show",Nn="collapse",Pn="collapsing",jn=`:scope .${Nn} .${Nn}`,Fn='[data-bs-toggle="collapse"], [data-tblr-toggle="collapse"]',zn={parent:null,toggle:!0},Hn={parent:"(null|element)",toggle:"boolean"},Bn=class t extends Q{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=Z.find(Fn);for(const t of i){const e=Z.getSelectorFromElement(t),i=Z.find(e).filter(t=>t===this._element);null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return zn}static get DefaultType(){return Hn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(e=>t.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;const i=F.trigger(this._element,On);if(null==i?void 0:i.defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(Nn),this._element.classList.add(Pn),this._element.style[n]="0",this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Pn),this._element.classList.add(Nn,Mn),this._element.style[n]="",F.trigger(this._element,$n)},this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;const t=F.trigger(this._element,Dn);if(null==t?void 0:t.defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,m(this._element),this._element.classList.add(Pn),this._element.classList.remove(Nn,Mn);for(const t of this._triggerArray){const e=Z.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Pn),this._element.classList.add(Nn),F.trigger(this._element,In)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(Mn)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=h(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Fn);for(const e of t){const t=Z.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=Z.find(jn,this._config.parent);return Z.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",String(e))}static jQueryInterface(e){const i={};return"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),this.each(function(){const n=t.getOrCreateInstance(this,i);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}};F.on(document,Ln,Fn,function(t){const{delegateTarget:e}=t;("A"===t.target.tagName||e&&"A"===e.tagName)&&t.preventDefault();for(const t of Z.getMultipleElementsFromSelector(this))Bn.getOrCreateInstance(t,{toggle:!1}).toggle()}),b(Bn);var Wn="dropdown",Rn=".bs.dropdown",qn=".data-api",Vn="ArrowUp",Un="ArrowDown",Yn=`hide${Rn}`,Kn=`hidden${Rn}`,Xn=`show${Rn}`,Qn=`shown${Rn}`,Gn=`click${Rn}${qn}`,Zn=`keydown${Rn}${qn}`,Jn=`keyup${Rn}${qn}`,ts="show",es='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled), [data-tblr-toggle="dropdown"]:not(.disabled):not(:disabled)',is=`.${ts}[data-bs-toggle="dropdown"], .${ts}[data-tblr-toggle="dropdown"]`,ns=".dropdown-menu",ss=g()?"top-end":"top-start",rs=g()?"top-start":"top-end",os=g()?"bottom-end":"bottom-start",as=g()?"bottom-start":"bottom-end",ls=g()?"left-start":"right-start",cs=g()?"right-start":"left-start",hs={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},us={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},ds=class t extends Q{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=Z.next(this._element,ns)[0]||Z.prev(this._element,ns)[0]||Z.findOne(ns,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return hs}static get DefaultType(){return us}static get NAME(){return Wn}toggle(){this._isShown()?this.hide():this.show()}show(){if(d(this._element)||this._isShown())return;const t={relatedTarget:this._element},e=F.trigger(this._element,Xn,t);if(!(null==e?void 0:e.defaultPrevented)){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of Array.from(document.body.children))F.on(t,"mouseover",p);this._element.focus(),this._element.setAttribute("aria-expanded","true"),this._menu.classList.add(ts),this._element.classList.add(ts),F.trigger(this._element,Qn,t)}}hide(){if(d(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){const e=F.trigger(this._element,Yn,t);if(!(null==e?void 0:e.defaultPrevented)){if("ontouchstart"in document.documentElement)for(const t of Array.from(document.body.children))F.off(t,"mouseover",p);this._popper&&this._popper.destroy(),this._menu.classList.remove(ts),this._element.classList.remove(ts),this._element.setAttribute("aria-expanded","false"),R.removeDataAttribute(this._menu,"popper"),F.trigger(this._element,Kn,t)}}_getConfig(t){const e=super._getConfig(t);if("object"==typeof e.reference&&!c(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Wn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===Ri)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;"parent"===this._config.reference?t=this._parent:c(this._config.reference)?t=h(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=Wi(t,this._menu,e)}_isShown(){return this._menu.classList.contains(ts)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return ls;if(t.classList.contains("dropstart"))return cs;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?rs:ss:e?as:os}_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()}}]};(this._inNavbar||"static"===this._config.display)&&(R.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]);const e=y(this._config.popperConfig,[void 0,t]);return K(K({},t),"object"==typeof e&&null!==e?e:{})}_selectMenuItem({key:t,target:e}){const i=Z.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(t=>u(t));if(!i.length)return;const n=e;A(i,n,t===Un,!i.includes(n)).focus()}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const i=Z.find(is);for(const n of i){const i=t.getInstance(n);if(!i||!1===i._config.autoClose)continue;const s=e.composedPath(),r=s.includes(i._menu);if(s.includes(i._element)||"inside"===i._config.autoClose&&!r||"outside"===i._config.autoClose&&r)continue;if(i._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const o={relatedTarget:i._element};"click"===e.type&&(o.clickEvent=e),i._completeHide(o)}}static dataApiKeydownHandler(e){const i=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,s=[Vn,Un].includes(e.key);if(!s&&!n)return;if(i&&!n)return;e.preventDefault();const r=this.matches(es)?this:Z.prev(this,es)[0]||Z.next(this,es)[0]||Z.findOne(es,e.delegateTarget.parentNode),o=t.getOrCreateInstance(r);if(s)return e.stopPropagation(),o.show(),void o._selectMenuItem(e);o._isShown()&&(e.stopPropagation(),o.hide(),r.focus())}static jQueryInterface(e){return this.each(function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}};F.on(document,Zn,es,ds.dataApiKeydownHandler),F.on(document,Zn,ns,ds.dataApiKeydownHandler),F.on(document,Gn,ds.clearMenus),F.on(document,Jn,ds.clearMenus),F.on(document,Gn,es,function(t){t.preventDefault(),ds.getOrCreateInstance(this).toggle()}),b(ds);var fs="backdrop",ps="show",ms=`mousedown.bs.${fs}`,gs={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},_s={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},vs=class extends X{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return gs}static get DefaultType(){return _s}static get NAME(){return fs}show(t){if(!this._config.isVisible)return void y(t);this._append();const e=this._getElement();this._config.isAnimated&&m(e),e.classList.add(ps),this._emulateAnimation(()=>{y(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(ps),this._emulateAnimation(()=>{this.dispose(),y(t)})):y(t)}dispose(){this._isAppended&&(F.off(this._element,ms),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=h(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),F.on(t,ms,()=>{y(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){w(t,this._getElement(),this._config.isAnimated)}},bs=".bs.focustrap",ys=`focusin${bs}`,ws=`keydown.tab${bs}`,As="backward",Es={autofocus:!0,trapElement:null},xs={autofocus:"boolean",trapElement:"element"},Ss=class extends X{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Es}static get DefaultType(){return xs}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),F.off(document,bs),F.on(document,ys,t=>this._handleFocusin(t)),F.on(document,ws,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,F.off(document,bs))}_handleFocusin(t){const{trapElement:e}=this._config;if(!e||t.target===document||t.target===e||e.contains(t.target))return;const i=Z.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===As?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?As:"forward")}},Cs=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ts=".sticky-top",ks="padding-right",Os="margin-right",$s=class{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ks,e=>e+t),this._setElementAttributes(Cs,ks,e=>e+t),this._setElementAttributes(Ts,Os,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ks),this._resetElementAttributes(Cs,ks),this._resetElementAttributes(Ts,Os)}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&&R.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{const i=R.getDataAttribute(t,e);null!==i?(R.removeDataAttribute(t,e),t.style.setProperty(e,String(i))):t.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(c(t))e(t);else for(const i of Z.find(t,this._element))e(i)}},Ds=".bs.modal",Is=`hide${Ds}`,Ls=`hidePrevented${Ds}`,Ms=`hidden${Ds}`,Ns=`show${Ds}`,Ps=`shown${Ds}`,js=`resize${Ds}`,Fs=`click.dismiss${Ds}`,zs=`mousedown.dismiss${Ds}`,Hs=`keydown.dismiss${Ds}`,Bs=`click${Ds}.data-api`,Ws="modal-open",Rs="show",qs="modal-static",Vs={backdrop:!0,focus:!0,keyboard:!0},Us={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},Ys=class t extends Q{constructor(t,e){super(t,e),this._dialog=Z.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new $s,this._addEventListeners()}static get Default(){return Vs}static get DefaultType(){return Us}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;const e=F.trigger(this._element,Ns,{relatedTarget:t});(null==e?void 0:e.defaultPrevented)||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ws),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning)return;const t=F.trigger(this._element,Is);(null==t?void 0:t.defaultPrevented)||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Rs),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){F.off(window,Ds),F.off(this._dialog,Ds),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new vs({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ss({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","true"),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=this._dialog?Z.findOne(".modal-body",this._dialog):null;e&&(e.scrollTop=0),m(this._element),this._element.classList.add(Rs);this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,F.trigger(this._element,Ps,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){F.on(this._element,Hs,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),F.on(window,js,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),F.on(this._element,zs,t=>{F.one(this._element,Fs,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","true"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ws),this._resetAdjustments(),this._scrollBar.reset(),F.trigger(this._element,Ms)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){const t=F.trigger(this._element,Ls);if(null==t?void 0:t.defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;"hidden"===i||this._element.classList.contains(qs)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(qs),this._queueCallback(()=>{this._element.classList.remove(qs),this._queueCallback(()=>{this._element.style.overflowY=i},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=g()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=g()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,i){return this.each(function(){const n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](i)}})}};F.on(document,Bs,'[data-bs-toggle="modal"], [data-tblr-toggle="modal"]',function(t){const e=Z.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),!e)return;F.one(e,Ns,t=>{(null==t?void 0:t.defaultPrevented)||F.one(e,Ms,()=>{u(this)&&this.focus()})});const i=Z.findOne(".modal.show");i&&Ys.getInstance(i).hide(),Ys.getOrCreateInstance(e).toggle(this)}),J(Ys),b(Ys);var Ks=".bs.offcanvas",Xs=".data-api",Qs=`load${Ks}${Xs}`,Gs="show",Zs="showing",Js="hiding",tr=".offcanvas.show",er=`show${Ks}`,ir=`shown${Ks}`,nr=`hide${Ks}`,sr=`hidePrevented${Ks}`,rr=`hidden${Ks}`,or=`resize${Ks}`,ar=`click${Ks}${Xs}`,lr=`keydown.dismiss${Ks}`,cr={backdrop:!0,keyboard:!0,scroll:!1},hr={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},ur=class t extends Q{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return cr}static get DefaultType(){return hr}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;const e=F.trigger(this._element,er,{relatedTarget:t});if(null==e?void 0:e.defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new $s).hide(),this._element.setAttribute("aria-modal","true"),this._element.setAttribute("role","dialog"),this._element.classList.add(Zs);this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Gs),this._element.classList.remove(Zs),F.trigger(this._element,ir,{relatedTarget:t})},this._element,!0)}hide(){if(!this._isShown)return;const t=F.trigger(this._element,nr);if(null==t?void 0:t.defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Js),this._backdrop.hide();this._queueCallback(()=>{this._element.classList.remove(Gs,Js),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new $s).reset(),F.trigger(this._element,rr)},this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new vs({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():F.trigger(this._element,sr)}:null})}_initializeFocusTrap(){return new Ss({trapElement:this._element})}_addEventListeners(){F.on(this._element,lr,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():F.trigger(this._element,sr))})}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](this)}})}};F.on(document,ar,'[data-bs-toggle="offcanvas"], [data-tblr-toggle="offcanvas"]',function(t){const e=Z.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),!e)return;if(d(this))return;F.one(e,rr,()=>{u(this)&&this.focus()});const i=Z.findOne(tr);i&&i!==e&&ur.getInstance(i).hide(),ur.getOrCreateInstance(e).toggle(this)}),F.on(window,Qs,()=>{for(const t of Z.find(tr))ur.getOrCreateInstance(t).show()}),F.on(window,or,()=>{for(const t of Z.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&ur.getOrCreateInstance(t).hide()}),J(ur),b(ur);var dr={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},fr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),pr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,mr=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!fr.has(i)||Boolean(pr.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(i))};var gr={allowList:dr,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},_r={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},vr={entry:"(string|element|function|null)",selector:"(string|element)"},br=class extends X{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return gr}static get DefaultType(){return _r}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=K(K({},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},vr)}_setContent(t,e,i){const n=Z.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?c(e)?this._putElementInTemplate(h(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=Array.from(n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=Array.from(t.attributes),s=[...e["*"]||[],...e[i]||[]];for(const e of n)mr(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return y(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}},yr=new Set(["sanitize","allowList","sanitizeFn"]),wr="fade",Ar="show",Er=".tooltip-inner",xr=".modal",Sr="hide.bs.modal",Cr="hover",Tr="focus",kr="click",Or={AUTO:"auto",TOP:"top",RIGHT:g()?"left":"right",BOTTOM:"bottom",LEFT:g()?"right":"left"},$r={allowList:dr,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],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"},Dr={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"},Ir=class t extends Q{constructor(t,e){if(void 0===Ri)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");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._hideModalHandler=()=>{this._element&&this.hide()},this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return $r}static get DefaultType(){return Dr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),F.off(this._element.closest(xr),Sr,this._hideModalHandler),(this._element.getAttribute("data-bs-original-title")||this._element.getAttribute("data-tblr-original-title"))&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")||this._element.getAttribute("data-tblr-original-title")||""),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=F.trigger(this._element,this.constructor.eventName("show")),e=(f(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if((null==t?void 0: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),F.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(Ar),"ontouchstart"in document.documentElement)for(const t of Array.from(document.body.children))F.on(t,"mouseover",p);this._queueCallback(()=>{F.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!this._isShown())return;const t=F.trigger(this._element,this.constructor.eventName("hide"));if(null==t?void 0:t.defaultPrevented)return;if(this._getTipElement().classList.remove(Ar),"ontouchstart"in document.documentElement)for(const t of Array.from(document.body.children))F.off(t,"mouseover",p);this._activeTrigger[kr]=!1,this._activeTrigger[Tr]=!1,this._activeTrigger[Cr]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),F.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(wr,Ar),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(wr),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new br(K(K({},this._config),{},{content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory}_getContentForTemplate(){return{[Er]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")||this._element.getAttribute("data-tblr-original-title")||""}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||null!==this.tip&&this.tip.classList.contains(wr)}_isShown(){return null!==this.tip&&this.tip.classList.contains(Ar)}_createPopper(t){const e=Or[y(this._config.placement,[this,t,this._element]).toUpperCase()];return Wi(this._element,t,this._getPopperConfig(e))}_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 y(t,[this._element,this._element])}_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)}}]},i=y(this._config.popperConfig,[void 0,e]);return K(K({},e),"object"==typeof i&&null!==i?i:{})}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)F.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[kr]=!(e._isShown()&&e._activeTrigger[kr]),e.toggle()});else if("manual"!==e){const t=e===Cr?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===Cr?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");F.on(this._element,t,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Tr:Cr]=!0,e._enter()}),F.on(this._element,i,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Tr:Cr]=e._element.contains(t.relatedTarget),e._leave()})}F.on(this._element.closest(xr),Sr,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._getDelay().show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._getDelay().hide))}_getDelay(){const{delay:t}=this._config;return"number"==typeof t?{show:t,hide:t}:t}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=R.getDataAttributes(this._element);for(const t of Object.keys(e))yr.has(t)&&delete e[t];let i=K(K({},e),"object"==typeof t&&t?t:{});return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(t){t.container=!1===t.container?document.body:h(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay});const e=t;return"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),t}_getDelegateConfig(){const t={},e=this.constructor.Default;for(const[i,n]of Object.entries(this._config))e[i]!==n&&(t[i]=n);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(e){return this.each(function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}};b(Ir);var Lr=".popover-header",Mr=".popover-body",Nr=K(K({},Ir.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"}),Pr=K(K({},Ir.DefaultType),{},{content:"(null|string|element|function)"}),jr=class t extends Ir{constructor(t,e){super(t,e)}static get Default(){return Nr}static get DefaultType(){return Pr}static get NAME(){return"popover"}_isWithContent(){return Boolean(this._getTitle()||this._getContent())}_getContentForTemplate(){return{[Lr]:this._getTitle(),[Mr]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}};b(jr);var Fr=".bs.scrollspy",zr=`activate${Fr}`,Hr=`click${Fr}`,Br=`load${Fr}.data-api`,Wr="active",Rr="[href]",qr=".nav-link",Vr=`${qr}, .nav-item > ${qr}, .list-group-item`,Ur={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Yr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},Kr=class t extends Q{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 Ur}static get DefaultType(){return Yr}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){t.target=h(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin;const e=t.threshold;return"string"==typeof e&&(t.threshold=e.split(",").map(t=>Number.parseFloat(t))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(F.off(this._config.target,Hr),F.on(this._config.target,Hr,Rr,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("scrollTo"in i)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 r of t){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(r));continue}const t=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(r),!n)return}else s||t||i(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Z.find(Rr,this._config.target);for(const e of t){if(!e.hash||d(e))continue;const t=Z.findOne(o(decodeURI(e.hash)),this._element);u(t)&&(this._targetLinks.set(decodeURI(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(Wr),this._activateParents(t),F.trigger(this._element,zr,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))Z.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Wr);else for(const e of Z.parents(t,".nav, .list-group"))for(const t of Z.prev(e,Vr))t.classList.add(Wr)}_clearActiveClass(t){t.classList.remove(Wr);const e=Z.find(`${Rr}.${Wr}`,t);for(const t of e)t.classList.remove(Wr)}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]()}})}};F.on(window,Br,()=>{for(const t of Z.find('[data-bs-spy="scroll"], [data-tblr-spy="scroll"]'))Kr.getOrCreateInstance(t)}),b(Kr);var Xr=".bs.tab",Qr=`hide${Xr}`,Gr=`hidden${Xr}`,Zr=`show${Xr}`,Jr=`shown${Xr}`,to=`click${Xr}`,eo=`keydown${Xr}`,io=`load${Xr}`,no="ArrowLeft",so="ArrowRight",ro="ArrowUp",oo="ArrowDown",ao="Home",lo="End",co="active",ho="fade",uo="show",fo=".dropdown-toggle",po=`:not(${fo})`,mo='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"], [data-tblr-toggle="tab"], [data-tblr-toggle="pill"], [data-tblr-toggle="list"]',go=`${`.nav-link${po}, .list-group-item${po}, [role="tab"]${po}`}, ${mo}`,_o=`.${co}[data-bs-toggle="tab"], .${co}[data-bs-toggle="pill"], .${co}[data-bs-toggle="list"], .${co}[data-tblr-toggle="tab"], .${co}[data-tblr-toggle="pill"], .${co}[data-tblr-toggle="list"]`,vo=class t extends Q{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),F.on(this._element,eo,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?F.trigger(e,Qr,{relatedTarget:t}):null,n=F.trigger(t,Zr,{relatedTarget:e});(null==n?void 0:n.defaultPrevented)||(null==i?void 0:i.defaultPrevented)||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(co),this._activate(Z.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected","true"),this._toggleDropDown(t,!0),F.trigger(t,Jr,{relatedTarget:e})):t.classList.add(uo)},t,t.classList.contains(ho))}_deactivate(t,e){if(!t)return;t.classList.remove(co),t.blur(),this._deactivate(Z.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),F.trigger(t,Gr,{relatedTarget:e})):t.classList.remove(uo)},t,t.classList.contains(ho))}_keydown(e){if(![no,so,ro,oo,ao,lo].includes(e.key))return;e.stopPropagation(),e.preventDefault();const i=this._getChildren().filter(t=>!d(t));let n;if([ao,lo].includes(e.key))n=i[e.key===ao?0:i.length-1];else{const t=[so,oo].includes(e.key);n=A(i,e.target,t,!0)}n&&(n.focus({preventScroll:!0}),t.getOrCreateInstance(n).show())}_getChildren(){return Z.find(go,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",String(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=Z.getElementFromSelector(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=Z.findOne(t,i);s&&s.classList.toggle(n,e)};n(fo,co),n(".dropdown-menu",uo),i.setAttribute("aria-expanded",String(e))}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(co)}_getInnerElement(t){return t.matches(go)?t:Z.findOne(go,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(e){return this.each(function(){const i=t.getOrCreateInstance(this);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}})}};F.on(document,to,mo,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),d(this)||vo.getOrCreateInstance(this).show()}),F.on(window,io,()=>{for(const t of Z.find(_o))vo.getOrCreateInstance(t)}),b(vo);var bo=".bs.toast",yo=`mouseover${bo}`,wo=`mouseout${bo}`,Ao=`focusin${bo}`,Eo=`focusout${bo}`,xo=`hide${bo}`,So=`hidden${bo}`,Co=`show${bo}`,To=`shown${bo}`,ko="hide",Oo="show",$o="showing",Do={animation:"boolean",autohide:"boolean",delay:"number"},Io={animation:!0,autohide:!0,delay:5e3},Lo=class t extends Q{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Io}static get DefaultType(){return Do}static get NAME(){return"toast"}show(){const t=F.trigger(this._element,Co);if(null==t?void 0:t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(ko),m(this._element),this._element.classList.add(Oo,$o),this._queueCallback(()=>{this._element.classList.remove($o),F.trigger(this._element,To),this._maybeScheduleHide()},this._element,this._config.animation)}hide(){if(!this.isShown())return;const t=F.trigger(this._element,xo);if(null==t?void 0:t.defaultPrevented)return;this._element.classList.add($o),this._queueCallback(()=>{this._element.classList.add(ko),this._element.classList.remove($o,Oo),F.trigger(this._element,So)},this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Oo),super.dispose()}isShown(){return this._element.classList.contains(Oo)}_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(){F.on(this._element,yo,t=>this._onInteraction(t,!0)),F.on(this._element,wo,t=>this._onInteraction(t,!1)),F.on(this._element,Ao,t=>this._onInteraction(t,!0)),F.on(this._element,Eo,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](this)}})}};J(Lo),b(Lo);var Mo={Alert:Yi,Button:Xi,Carousel:Tn,Collapse:Bn,Dropdown:ds,Modal:Ys,Offcanvas:ur,Popover:jr,ScrollSpy:Kr,Tab:vo,Toast:Lo,Tooltip:Ir};[].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]')).map(function(t){return new ds(t,{boundary:"viewport"===t.getAttribute("data-bs-boundary")?document.documentElement:"clippingParents"})});var No=t=>{for(const e of document.querySelectorAll('[data-bs-toggle="sidebar-folded"]'))e.setAttribute("aria-pressed",String(t))},Po=t=>{for(const i of document.querySelectorAll('.navbar-vertical [data-bs-toggle="dropdown"][aria-expanded="true"]'))if(i!==t){var e;null===(e=ds.getInstance(i))||void 0===e||e.hide()}};function jo(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Fo(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}function zo(t,e){return t.get(Fo(t,e))}document.addEventListener("click",t=>{if(!(null!==(e=document.documentElement.getAttribute("data-bs-sidebar"))&&void 0!==e?e:"").startsWith("folded")&&!document.querySelector(".navbar-vertical.navbar-folded, .navbar-vertical.navbar-folded-hover"))return;var e;const i=t.target;i.closest(".navbar-vertical .dropdown-menu")||Po(i.closest('.navbar-vertical [data-bs-toggle="dropdown"]'))}),document.addEventListener("mouseleave",t=>{const e=t.target;e instanceof Element&&e.matches(".navbar-vertical")&&("folded-hover"===document.documentElement.getAttribute("data-bs-sidebar")||e.classList.contains("navbar-folded-hover"))&&Po()},!0),document.addEventListener("DOMContentLoaded",()=>{var t;const e=(null!==(t=document.documentElement.getAttribute("data-bs-sidebar"))&&void 0!==t?t:"").startsWith("folded");if(No(e),e)for(const t of document.querySelectorAll(".navbar-vertical .dropdown-menu.show")){var i;t.classList.remove("show"),null===(i=t.parentElement)||void 0===i||null===(i=i.querySelector('[data-bs-toggle="dropdown"]'))||void 0===i||i.setAttribute("aria-expanded","false")}}),document.addEventListener("click",t=>{var e;if(!t.target.closest('[data-bs-toggle="sidebar-folded"]'))return;const i=document.documentElement,n=!(null!==(e=i.getAttribute("data-bs-sidebar"))&&void 0!==e?e:"").startsWith("folded");n?i.setAttribute("data-bs-sidebar","folded-hover"):i.removeAttribute("data-bs-sidebar"),localStorage.setItem("tabler-sidebar",n?"folded-hover":"default"),No(n),Po(),document.dispatchEvent(new CustomEvent("tabler:sidebar-folded",{detail:{folded:n}}))}),[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(t){var e;return new Ir(t,{delay:{show:50,hide:50},html:"true"===t.getAttribute("data-bs-html"),placement:null!==(e=t.getAttribute("data-bs-placement"))&&void 0!==e?e:"auto"})}),[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function(t){var e;return new jr(t,{delay:{show:50,hide:50},html:"true"===t.getAttribute("data-bs-html"),placement:null!==(e=t.getAttribute("data-bs-placement"))&&void 0!==e?e:"auto"})});var Ho="switch-icon",Bo=`.bs.${Ho}`,Wo=`click${Bo}`,Ro=`toggle${Bo}`,qo=`change${Bo}`,Vo="active",Uo="switch-icon-loading",Yo=".switch-icon",Ko=`[data-bs-toggle="${Ho}"], [data-tblr-toggle="${Ho}"]`,Xo={},Qo={},Go=new WeakMap,Zo=new WeakSet,Jo=class extends Q{constructor(t,e){var i,n,s;super(t,e),jo(n=this,s=Zo),s.add(n),function(t,e,i){jo(t,e),e.set(t,i)}(this,Go,void 0),this._element&&(!function(t,e,i){t.set(Fo(t,e),i)}(Go,this,this._element.matches(Yo)?this._element:null!==(i=Z.findOne(Yo,this._element))&&void 0!==i?i:this._element),this._element.hasAttribute("aria-pressed")||this._element.setAttribute("aria-pressed",String(this.isActive)),F.on(this._element,Wo,t=>{t.stopPropagation(),this._element.classList.contains("disabled")||"true"===this._element.getAttribute("aria-disabled")||this.toggle()}))}static get Default(){return Xo}static get DefaultType(){return Qo}static get NAME(){return Ho}get isActive(){return zo(Go,this).classList.contains(Vo)}get isLoading(){return zo(Go,this).classList.contains(Uo)}toggle(t){if(this.isLoading)return;const e=null!=t?t:!this.isActive;let i;const n=F.trigger(this._element,Ro,{active:e,wait:t=>{i=t}});(null==n?void 0:n.defaultPrevented)||(i?(Fo(Zo,this,ea).call(this,!0),i.then(()=>Fo(Zo,this,ta).call(this,e),()=>{}).finally(()=>Fo(Zo,this,ea).call(this,!1))):Fo(Zo,this,ta).call(this,e))}};function ta(t){zo(Go,this).classList.toggle(Vo,t),this._element.setAttribute("aria-pressed",String(t)),F.trigger(this._element,qo,{active:t})}function ea(t){zo(Go,this).classList.toggle(Uo,t),t?this._element.setAttribute("aria-busy","true"):this._element.removeAttribute("aria-busy")}tt(Ko,Jo);(()=>{const t=window.location.hash;t&&[].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]')).filter(e=>e.hash===t).map(t=>{new vo(t).show()})})(),[].slice.call(document.querySelectorAll('[data-bs-toggle="toast"]')).map(function(t){const e=t.getAttribute("data-bs-target");if(null===e)return;const i=new Lo(e);t.addEventListener("click",()=>{i.show()})});var ia="sortable",na=`data-${ia}`,sa=`[${na}]`,ra={},oa={},aa=class extends Q{constructor(t,e){super(t,e),this._sortable=null,this._element&&window.Sortable&&(this._sortable=new window.Sortable(this._element,this._config))}static get Default(){return ra}static get DefaultType(){return oa}static get NAME(){return ia}get sortable(){return this._sortable}toArray(){var t,e;return null!==(t=null===(e=this._sortable)||void 0===e?void 0:e.toArray())&&void 0!==t?t:[]}sort(t,e){var i;null===(i=this._sortable)||void 0===i||i.sort(t,e)}dispose(){var t;null===(t=this._sortable)||void 0===t||t.destroy(),super.dispose()}_mergeConfigObj(t,e){let i={};const n=null==e?void 0:e.getAttribute(na);if(n)try{i=JSON.parse(n)}catch(t){}return super._mergeConfigObj(K(K({},i),t),e)}};tt(sa,aa);var la="otpInput",ca=`.bs.${la}`,ha=`input${ca}`,ua=`complete${ca}`,da="otp-rendered",fa=["blur","keyup","select"],pa={numeric:{inputmode:"numeric",pattern:"[0-9]*",filter:/[^0-9]/g},alphanumeric:{inputmode:"text",pattern:"[A-Za-z0-9]*",filter:/[^A-Za-z0-9]/g},alpha:{inputmode:"text",pattern:"[A-Za-z]*",filter:/[^A-Za-z]/g}},ma={groups:null,length:null,mask:!1,separator:"·",type:"numeric"},ga={groups:"(array|null)",length:"(number|null)",mask:"boolean",separator:"string",type:"string"},_a=class extends Q{constructor(t,e){var i;if(super(t,e),this._length=0,this._slots=[],this._slotsContainer=null,this._pointerActive=!1,this._pointerIndex=0,this._onInput=()=>this._handleInput(),this._onBeforeInput=t=>this._handleBeforeInput(t),this._onFocus=()=>this._handleFocus(),this._onPointerDown=t=>this._handlePointerDown(t),this._onSync=()=>this._render(),this._onSelectionChange=()=>{document.activeElement===this._input&&this._render()},!this._element)return;const n=Z.findOne("input",this._element);n&&(this._input=n,this._type=null!==(i=pa[this._config.type])&&void 0!==i?i:pa.numeric,this._length=this._resolveLength(),this._setupInput(),this._renderSlots(),this._addEventListeners(),this._render())}static get Default(){return ma}static get DefaultType(){return ga}static get NAME(){return la}getValue(){return this._input.value}setValue(t){this._input.value=this._sanitize(String(t)),this._render(),this._checkComplete()}clear(){this._input.value="",this._render(),this._input.focus()}focus(){this._input.focus(),this._selectSlot(this._firstEmptyIndex()),this._render()}dispose(){var t;if(this._input){this._input.removeEventListener("input",this._onInput),this._input.removeEventListener("beforeinput",this._onBeforeInput),this._input.removeEventListener("focus",this._onFocus),this._input.removeEventListener("pointerdown",this._onPointerDown);for(const t of fa)this._input.removeEventListener(t,this._onSync);document.removeEventListener("selectionchange",this._onSelectionChange),null===(t=this._slotsContainer)||void 0===t||t.remove(),this._element.classList.remove(da),super.dispose()}else super.dispose()}_resolveLength(){var t;if(this._config.length)return this._config.length;const e=Number.parseInt(null!==(t=this._input.getAttribute("maxlength"))&&void 0!==t?t:"",10);return Number.isNaN(e)||e<1?6:e}_setupInput(){const t=this._input;"number"!==t.type&&"password"!==t.type||(t.type="text"),t.classList.add("otp-input"),t.setAttribute("maxlength",String(this._length)),t.setAttribute("inputmode",this._type.inputmode),t.setAttribute("pattern",this._type.pattern),t.getAttribute("autocomplete")||t.setAttribute("autocomplete","one-time-code"),t.value&&(t.value=this._sanitize(t.value))}_renderSlots(){const t=document.createElement("div");t.className="otp-slots",t.setAttribute("aria-hidden","true");const{groups:e,separator:i}=this._config;let n=0,s=0;for(let r=0;r<this._length;r++){const o=document.createElement("div");if(o.className="otp-slot",t.append(o),this._slots.push(o),e&&e.length>0&&(s++,s===e[n]&&r<this._length-1)){const r=document.createElement("div");r.className="otp-separator",r.textContent=i,t.append(r),n=Math.min(n+1,e.length-1),s=0}}this._slotsContainer=t,this._element.append(t),this._element.classList.add(da)}_addEventListeners(){this._input.addEventListener("input",this._onInput),this._input.addEventListener("beforeinput",this._onBeforeInput),this._input.addEventListener("focus",this._onFocus),this._input.addEventListener("pointerdown",this._onPointerDown),document.addEventListener("selectionchange",this._onSelectionChange);for(const t of fa)this._input.addEventListener(t,this._onSync)}_handleFocus(){if(this._pointerActive)return this._pointerActive=!1,this._selectSlot(this._pointerIndex),void this._render();this._selectSlot(this._firstEmptyIndex()),this._render()}_handleInput(){const t=this._sanitize(this._input.value);t!==this._input.value&&(this._input.value=t),document.activeElement===this._input&&this._selectSlot(this._firstEmptyIndex()),this._afterValueChange()}_handleBeforeInput(t){const{inputType:e,data:i}=t;if("insertText"===e&&i&&1===i.length){var n;t.preventDefault();const e=this._sanitize(i);if(!e)return;const s=Math.min(null!==(n=this._input.selectionStart)&&void 0!==n?n:0,this._length-1),r=[...this._input.value];return r[s]=e,this._input.value=r.join("").slice(0,this._length),this._selectSlot(s+1),void this._afterValueChange()}if("deleteContentBackward"===e){var s,r;t.preventDefault();const e=null!==(s=this._input.selectionStart)&&void 0!==s?s:0,i=null!==(r=this._input.selectionEnd)&&void 0!==r?r:e,n=[...this._input.value];i>e?(n.splice(e,i-e),this._input.value=n.join(""),this._selectSlot(e)):e>0&&(n.splice(e-1,1),this._input.value=n.join(""),this._selectSlot(e-1)),this._afterValueChange()}}_handlePointerDown(t){const e=this._slotIndexFromPoint(t.clientX);if(null===e)return;const i=Math.min(e,this._firstEmptyIndex());if(document.activeElement===this._input)return t.preventDefault(),this._selectSlot(i),void this._render();this._pointerActive=!0,this._pointerIndex=i}_slotIndexFromPoint(t){const e="rtl"===getComputedStyle(this._element).direction;for(const[i,n]of this._slots.entries()){const s=n.getBoundingClientRect();if((e?t>=s.left:t<=s.right)||i===this._slots.length-1)return i}return null}_afterValueChange(){this._render(),F.trigger(this._element,ha,{value:this._input.value}),this._checkComplete()}_firstEmptyIndex(){return Math.min(this._input.value.length,this._length-1)}_selectSlot(t){const e=Math.max(0,Math.min(t,this._length-1)),i=e<this._input.value.length?e+1:e;this._input.setSelectionRange(e,i)}_sanitize(t){return t.replace(this._type.filter,"").slice(0,this._length)}_render(){var t;const{value:e}=this._input,i=document.activeElement===this._input,n=Math.min(null!==(t=this._input.selectionStart)&&void 0!==t?t:e.length,this._length-1);for(const[t,r]of this._slots.entries()){var s;const o=null!==(s=e[t])&&void 0!==s?s:"";r.textContent=o&&this._config.mask?"•":o,r.classList.toggle("otp-slot-filled",Boolean(o)),r.classList.toggle("otp-slot-active",i&&t===n)}}_checkComplete(){const{value:t}=this._input;t.length===this._length&&F.trigger(this._element,ua,{value:t})}};tt('[data-bs-toggle="otp"], [data-tblr-toggle="otp"]',_a);var va="sparkline",ba=`.bs.${va}`,ya=`rendered${ba}`,wa=`updated${ba}`,Aa="sparkline-label",Ea=`[data-bs-toggle="${va}"], [data-tblr-toggle="${va}"]`,xa="--tblr-sparkline",Sa={type:"line",values:[],width:80,height:24,min:null,max:null,fill:"none",spot:"none",pad:2,barGap:2,barRadius:2,label:null,threshold:null,animation:300},Ca={type:"string",values:"array",width:"number",height:"number",min:"(number|null)",max:"(number|null)",fill:"string",spot:"string",pad:"number",barGap:"number",barRadius:"number",label:"(string|number|boolean|null)",threshold:"(number|null)",animation:"number"},Ta=t=>document.createElementNS("http://www.w3.org/2000/svg",t),ka=(t,e)=>{for(const[i,n]of Object.entries(e))null!=n&&t.setAttribute(i,String(n))},Oa=t=>`var(${xa}-${t})`,$a=(t,e)=>{const i=e-t;return 0===i?1:i},Da=t=>Array.isArray(t)?t.map(Number).filter(Number.isFinite):"number"==typeof t?Number.isFinite(t)?[t]:[]:(t=>{const e=String(null!=t?t:"").trim();if(!e)return[];if(e.startsWith("["))try{const t=JSON.parse(e);return Array.isArray(t)?t.map(Number).filter(Number.isFinite):[]}catch(t){return[]}return e.split(",").map(t=>Number(t.trim())).filter(Number.isFinite)})(t),Ia=(t,e,i,...n)=>{const s=null!=e?e:Math.min(...t,...n),r=null!=i?i:Math.max(...t,...n);return{min:s,max:r,span:$a(s,r)}},La=/-?\d*\.?\d+(?:e[-+]?\d+)?/g,Ma=(t,e,i)=>{const n=t.match(La),s=e.match(La);if(!n||!s||n.length!==s.length||t.replace(La,"#")!==e.replace(La,"#"))return e;let r=0;return e.replace(La,()=>{const t=Number(n[r])+(Number(s[r])-Number(n[r]))*i;return r++,String(Math.round(1e3*t)/1e3)})},Na=(t,e,i)=>{const n=getComputedStyle(t).getPropertyValue(`${xa}-${e}`).trim(),s=Number.parseFloat(n);return Number.isFinite(s)?s:i},Pa=class extends Q{constructor(t,e){super(t,e),this._userConfig={},this._frame=0,this._element&&(this._userConfig=K({},e),this.render())}static get Default(){return Sa}static get DefaultType(){return Ca}static get NAME(){return va}update(t){const e=Array.isArray(t)?t.join(","):String(t),i=this._element.hasAttribute("data-tblr-values")?"data-tblr-values":"data-bs-values";this._element.setAttribute(i,e),delete this._userConfig.values,this.render(),F.trigger(this._element,wa)}render(){var t;this._config=this._getConfig(this._userConfig);const e=this._element.querySelector("svg");if(null===(t=this._element.querySelector(`.${Aa}`))||void 0===t||t.remove(),0===this._config.values.length)return void(this._element.innerHTML="");let i;switch(this._config.type){case"bar":i=this._renderBars();break;case"tristate":i=this._renderTristate();break;case"circle":i=this._renderCircle();break;default:i=this._renderLine()}e&&this._canAnimate(e,i)?this._animate(e,i):(cancelAnimationFrame(this._frame),null==e||e.remove(),this._element.append(i));const n=this._labelText();if(""!==n){const t=document.createElement("span");t.className=Aa,t.textContent=n,this._element.append(t)}F.trigger(this._element,ya)}dispose(){cancelAnimationFrame(this._frame),this._element.innerHTML="",super.dispose()}_configAfterMerge(t){return t.values=Da(t.values),t}_labelText(){const{label:t,values:e,type:i}=this._config;return null===t||!1===t||""===t?"":"auto"!==t&&!0!==t?String(t):"circle"===i?`${Math.round(100*this._circleRatio())}%`:String(e[e.length-1])}_circleRatio(){var t,e,i;const n=this._config,s=null!==(t=n.values[0])&&void 0!==t?t:0,r=null!==(e=n.max)&&void 0!==e?e:n.values.length>1?n.values[1]:100,o=null!==(i=n.min)&&void 0!==i?i:0;return Math.max(0,Math.min(1,(s-o)/$a(o,r)))}_canAnimate(t,e){return!(this._config.animation<=0||window.matchMedia("(prefers-reduced-motion: reduce)").matches)&&(t.getAttribute("viewBox")===e.getAttribute("viewBox")&&t.children.length===e.children.length&&Array.from(t.children).every((t,i)=>t.tagName===e.children[i].tagName))}_animate(t,e){cancelAnimationFrame(this._frame);const i=Array.from(e.children).map((e,i)=>{const n=t.children[i],s=[];for(const{name:t,value:i}of Array.from(e.attributes)){const e=n.getAttribute(t);null===e||e===i?n.setAttribute(t,i):s.push([t,e,i])}return{source:n,tweens:s}}),n=this._config.animation,s=performance.now(),r=t=>{const e=(t=>1-Math.pow(1-t,3))(Math.min(1,(t-s)/n));for(const{source:t,tweens:n}of i)for(const[i,s,r]of n)t.setAttribute(i,e>=1?r:Ma(s,r,e));e<1&&(this._frame=requestAnimationFrame(r))};this._frame=requestAnimationFrame(r)}_hairline(t,e,i,n=!1){const s=Ta("line");ka(s,{x1:0,x2:this._config.width,y1:e,y2:e,stroke:Oa(i),"stroke-width":1,"stroke-dasharray":n?"3 2":null,"vector-effect":"non-scaling-stroke"}),t.append(s)}_createSvg(){const{width:t,height:e}=this._config,i=Ta("svg");return ka(i,{viewBox:`0 0 ${t} ${e}`,preserveAspectRatio:"none",width:t,height:e,class:"sparkline-svg","aria-hidden":"true"}),i}_renderLine(){const t=this._config,e=this._createSvg(),{min:i,span:n}=Ia(t.values,t.min,t.max,...null===t.threshold?[]:[t.threshold]),s=e=>t.pad+(1-(e-i)/n)*(t.height-2*t.pad),r=t.values.map(s),o=r.length>1?t.width/(r.length-1):t.width;if(null!==t.threshold&&this._hairline(e,s(t.threshold),"threshold",!0),"auto"===t.fill){const i=Ta("path");ka(i,{d:this._areaPath(r,o,t.height),fill:Oa("fill"),stroke:"none"}),e.append(i)}const a=Ta("polyline");ka(a,{points:r.map((t,e)=>`${e*o},${t}`).join(" "),fill:"none",stroke:Oa("stroke"),"stroke-width":Oa("stroke-width"),"stroke-linecap":"round","stroke-linejoin":"round"}),e.append(a);const l=((t,e)=>{if(0===t.length||"none"===e)return-1;if("last"===e)return t.length-1;let i=0;for(let n=1;n<t.length;n++)("min"===e?t[n]<t[i]:t[n]>t[i])&&(i=n);return i})(t.values,t.spot);if(l>=0){const t=Ta("circle");ka(t,{cx:l*o,cy:r[l],r:Na(this._element,"spot-size",2),fill:Oa("spot")}),e.append(t)}return e}_areaPath(t,e,i){return`${t.map((t,i)=>`${0===i?"M":"L"} ${i*e} ${t}`).join(" ")} L ${(t.length-1)*e} ${i} L 0 ${i} Z`}_renderBars(){const t=this._config,e=this._createSvg(),{min:i,span:n}=Ia(t.values,t.min,t.max,0,...null===t.threshold?[]:[t.threshold]),s=e=>t.height-(e-i)/n*t.height,r=t.values.length,o=(t.width-t.barGap*(r-1))/r,a=s(0);i<0&&this._hairline(e,a,"zero"),null!==t.threshold&&this._hairline(e,s(t.threshold),"threshold",!0);const l=e=>Math.max(0,Math.min(t.height,e));return t.values.forEach((i,n)=>{const r=l(s(Math.max(i,0))),a=l(s(Math.min(i,0))),c=null===t.threshold?i<0:i<t.threshold,h=Ta("rect");ka(h,{x:n*(o+t.barGap),y:r,width:o,height:a-r,rx:t.barRadius,fill:Oa(c?"negative":"stroke")}),e.append(h)}),e}_renderTristate(){const t=this._config,e=this._createSvg(),i=t.values.length,n=(t.width-t.barGap*(i-1))/i,s=t.height/2,r=Math.min(2,s);return this._hairline(e,s,"zero"),t.values.forEach((i,o)=>{const a=Ta("rect"),l=i>0?{y:0,height:s,fill:"stroke"}:i<0?{y:s,height:s,fill:"negative"}:{y:s-r/2,height:r,fill:"track"};ka(a,{x:o*(n+t.barGap),y:l.y,width:n,height:l.height,rx:t.barRadius,fill:Oa(l.fill)}),e.append(a)}),e}_renderCircle(){const t=this._config,e=this._createSvg(),i=Na(this._element,"stroke-width",3),n=Math.max(0,Math.min(t.width,t.height)/2-i/2),s=t.width/2,r=t.height/2,o=this._circleRatio(),a=2*Math.PI*n,l=Ta("circle");ka(l,{cx:s,cy:r,r:n,fill:"none",stroke:Oa("track"),"stroke-width":i}),e.append(l);const c=Ta("circle");return ka(c,{cx:s,cy:r,r:n,fill:"none",stroke:Oa("stroke"),"stroke-width":i,"stroke-linecap":"round","stroke-dasharray":a,"stroke-dashoffset":a*(1-o),transform:`rotate(-90 ${s} ${r})`}),e.append(c),e}};tt(Ea,Pa);var ja="strength",Fa=`change.bs.${ja}`,za=`[data-bs-${ja}], [data-tblr-${ja}]`,Ha=`.${ja}-segment`,Ba=`.${ja}-text`,Wa=["weak","fair","good","strong"],Ra={input:null,minLength:8,messages:{weak:"Weak",fair:"Fair",good:"Good",strong:"Strong"},weights:{minLength:1,extraLength:1,longPassword:1,lowercase:1,uppercase:1,numbers:1,special:1,multipleSpecial:1},thresholds:[2,4,6],scorer:null},qa={input:"(string|null)",minLength:"number",messages:"object",weights:"object",thresholds:"array",scorer:"(function|null)"},Va=class extends Q{constructor(t,e){var i,n;super(t,e),this._input=null,this._segments=[],this._text=null,this._emptyText="",this._level=null,this._onInput=()=>this.evaluate(),this._element&&(this._input=this._getInput(),this._segments=Z.find(Ha,this._element),this._text=this._getText(),this._emptyText=null!==(i=null===(n=this._text)||void 0===n||null===(n=n.textContent)||void 0===n?void 0:n.trim())&&void 0!==i?i:"",this._setUpAria(),this._input&&(this._input.addEventListener("input",this._onInput),this.evaluate()))}static get Default(){return Ra}static get DefaultType(){return qa}static get NAME(){return ja}get level(){return this._level}evaluate(){if(!this._input)return;const t=this._input.value,e=this._score(t),i=this._level_(e);i!==this._level&&(this._level=i,this._render(i),F.trigger(this._element,Fa,{strength:i,score:e}))}dispose(){var t;null===(t=this._input)||void 0===t||t.removeEventListener("input",this._onInput),super.dispose()}_getInput(){var t;const{input:e}=this._config;if(e)return Z.findOne(e);const i=this._element.parentElement,n=i?Z.find('input[type="password"]',i):[];return null!==(t=n[n.length-1])&&void 0!==t?t:null}_getText(){const t=this._element.parentElement;return t?Z.findOne(Ba,t):null}_setUpAria(){var t;const e=this._element;e.setAttribute("role","progressbar"),e.setAttribute("aria-valuemin","0"),e.setAttribute("aria-valuemax",String(Wa.length)),e.setAttribute("aria-valuenow","0"),e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby")||e.setAttribute("aria-label","Password strength");for(const t of this._segments)t.setAttribute("aria-hidden","true");null===(t=this._text)||void 0===t||t.setAttribute("aria-live","polite")}_score(t){var e;if(!t)return 0;const{scorer:i,weights:n,minLength:s}=this._config;return"function"==typeof i?i(t):[[t.length>=s,n.minLength],[t.length>=s+4,n.extraLength],[t.length>=16,n.longPassword],[/[a-z]/.test(t),n.lowercase],[/[A-Z]/.test(t),n.uppercase],[/\d/.test(t),n.numbers],[/[^\dA-Za-z]/.test(t),n.special],[(null!==(e=t.match(/[^\dA-Za-z]/g))&&void 0!==e?e:[]).length>1,n.multipleSpecial]].reduce((t,[e,i])=>t+(e&&null!=i?i:0),0)}_level_(t){var e;if(t<=0)return null;const i=this._config.thresholds.findIndex(e=>t<=e);return null!==(e=Wa[-1===i?Wa.length-1:i])&&void 0!==e?e:null}_render(t){const e=this._element,i=t?Wa.indexOf(t):-1;var n;(e.dataset.bsStrength=null!=t?t:"",e.setAttribute("aria-valuenow",String(i+1)),t)?e.setAttribute("aria-valuetext",null!==(n=this._config.messages[t])&&void 0!==n?n:t):e.removeAttribute("aria-valuetext");const s=t?Math.ceil((i+1)/Wa.length*this._segments.length):0;for(const[t,e]of this._segments.entries())e.classList.toggle("active",t<s);var r;this._text&&(this._text.textContent=t?null!==(r=this._config.messages[t])&&void 0!==r?r:"":this._emptyText,this._text.dataset.bsStrength=null!=t?t:"")}};tt(za,Va);var Ua=i({getColor:()=>Xa,hexToRgba:()=>Ka,prefix:()=>Ya}),Ya="tblr-",Ka=(t,e)=>{const i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?`rgba(${parseInt(i[1],16)}, ${parseInt(i[2],16)}, ${parseInt(i[3],16)}, ${e})`:null},Xa=(t,e=1)=>{var i;const n=getComputedStyle(document.body).getPropertyValue(`--${Ya}${t}`).trim();return 1===e?n:null!==(i=Ka(n,e))&&void 0!==i?i:n?`color-mix(in srgb, ${n} ${100*e}%, transparent)`:null};t.Alert=Yi,t.Autosize=ot,t.Button=Xi,t.Carousel=Tn,t.Clipboard=bt,t.Collapse=Bn,t.Confetti=It,t.CountUp=Rt,t.Datepicker=oe,t.Dropdown=ds,t.InputMask=de,t.Modal=Ys,t.Offcanvas=ur,t.OtpInput=_a,t.Popover=jr,Object.defineProperty(t,"Popper",{enumerable:!0,get:function(){return Ri}}),t.ScrollSpy=Kr,t.Sortable=aa,t.Sparkline=Pa,t.Strength=Va,t.SwitchIcon=Jo,t.Tab=vo,t.Toast=Lo,t.Tooltip=Ir,t.bootstrap=Mo,Object.defineProperty(t,"tabler",{enumerable:!0,get:function(){return Ua}})});
8
8
  //# sourceMappingURL=tabler.min.js.map