@openeuropa/bcl-theme-joinup 0.27.0 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bcl-builder.config.js +2 -2
- package/css/oe-bcl-joinup.css +85 -81
- package/css/oe-bcl-joinup.css.map +1 -1
- package/css/oe-bcl-joinup.min.css +1 -1
- package/css/oe-bcl-joinup.min.css.map +1 -1
- package/icons/world-flags/1x1/ac.svg +76 -0
- package/icons/world-flags/1x1/ad.svg +148 -0
- package/icons/world-flags/1x1/ae.svg +6 -0
- package/icons/world-flags/1x1/af.svg +81 -0
- package/icons/world-flags/1x1/ag.svg +14 -0
- package/icons/world-flags/1x1/ai.svg +758 -0
- package/icons/world-flags/1x1/al.svg +5 -0
- package/icons/world-flags/1x1/am.svg +5 -0
- package/icons/world-flags/1x1/ao.svg +13 -0
- package/icons/world-flags/1x1/aq.svg +5 -0
- package/icons/world-flags/1x1/ar.svg +32 -0
- package/icons/world-flags/1x1/as.svg +73 -0
- package/icons/world-flags/1x1/at.svg +6 -0
- package/icons/world-flags/1x1/au.svg +8 -0
- package/icons/world-flags/1x1/aw.svg +186 -0
- package/icons/world-flags/1x1/ax.svg +18 -0
- package/icons/world-flags/1x1/az.svg +8 -0
- package/icons/world-flags/1x1/ba.svg +12 -0
- package/icons/world-flags/1x1/bb.svg +6 -0
- package/icons/world-flags/1x1/bd.svg +4 -0
- package/icons/world-flags/1x1/be.svg +7 -0
- package/icons/world-flags/1x1/bf.svg +7 -0
- package/icons/world-flags/1x1/bg.svg +7 -0
- package/icons/world-flags/1x1/bh.svg +4 -0
- package/icons/world-flags/1x1/bi.svg +15 -0
- package/icons/world-flags/1x1/bj.svg +14 -0
- package/icons/world-flags/1x1/bl.svg +7 -0
- package/icons/world-flags/1x1/bm.svg +97 -0
- package/icons/world-flags/1x1/bn.svg +36 -0
- package/icons/world-flags/1x1/bo.svg +678 -0
- package/icons/world-flags/1x1/bq.svg +5 -0
- package/icons/world-flags/1x1/br.svg +45 -0
- package/icons/world-flags/1x1/bs.svg +13 -0
- package/icons/world-flags/1x1/bt.svg +89 -0
- package/icons/world-flags/1x1/bv.svg +13 -0
- package/icons/world-flags/1x1/bw.svg +7 -0
- package/icons/world-flags/1x1/by.svg +22 -0
- package/icons/world-flags/1x1/bz.svg +145 -0
- package/icons/world-flags/1x1/ca.svg +4 -0
- package/icons/world-flags/1x1/cc.svg +19 -0
- package/icons/world-flags/1x1/cd.svg +12 -0
- package/icons/world-flags/1x1/cefta.svg +13 -0
- package/icons/world-flags/1x1/cf.svg +15 -0
- package/icons/world-flags/1x1/cg.svg +12 -0
- package/icons/world-flags/1x1/ch.svg +9 -0
- package/icons/world-flags/1x1/ci.svg +7 -0
- package/icons/world-flags/1x1/ck.svg +9 -0
- package/icons/world-flags/1x1/cl.svg +13 -0
- package/icons/world-flags/1x1/cm.svg +15 -0
- package/icons/world-flags/1x1/cn.svg +11 -0
- package/icons/world-flags/1x1/co.svg +7 -0
- package/icons/world-flags/1x1/cp.svg +7 -0
- package/icons/world-flags/1x1/cr.svg +7 -0
- package/icons/world-flags/1x1/cu.svg +13 -0
- package/icons/world-flags/1x1/cv.svg +13 -0
- package/icons/world-flags/1x1/cw.svg +14 -0
- package/icons/world-flags/1x1/cx.svg +15 -0
- package/icons/world-flags/1x1/cy.svg +6 -0
- package/icons/world-flags/1x1/cz.svg +5 -0
- package/icons/world-flags/1x1/de.svg +5 -0
- package/icons/world-flags/1x1/dg.svg +129 -0
- package/icons/world-flags/1x1/dj.svg +13 -0
- package/icons/world-flags/1x1/dk.svg +5 -0
- package/icons/world-flags/1x1/dm.svg +152 -0
- package/icons/world-flags/1x1/do.svg +6745 -0
- package/icons/world-flags/1x1/dz.svg +5 -0
- package/icons/world-flags/1x1/ea.svg +547 -0
- package/icons/world-flags/1x1/ec.svg +138 -0
- package/icons/world-flags/1x1/ee.svg +7 -0
- package/icons/world-flags/1x1/eg.svg +38 -0
- package/icons/world-flags/1x1/eh.svg +11 -0
- package/icons/world-flags/1x1/er.svg +13 -0
- package/icons/world-flags/1x1/es-ct.svg +4 -0
- package/icons/world-flags/1x1/es-ga.svg +187 -0
- package/icons/world-flags/1x1/es.svg +547 -0
- package/icons/world-flags/1x1/et.svg +14 -0
- package/icons/world-flags/1x1/eu.svg +28 -0
- package/icons/world-flags/1x1/fi.svg +5 -0
- package/icons/world-flags/1x1/fj.svg +123 -0
- package/icons/world-flags/1x1/fk.svg +89 -0
- package/icons/world-flags/1x1/fm.svg +11 -0
- package/icons/world-flags/1x1/fo.svg +12 -0
- package/icons/world-flags/1x1/fr.svg +7 -0
- package/icons/world-flags/1x1/ga.svg +7 -0
- package/icons/world-flags/1x1/gb-eng.svg +5 -0
- package/icons/world-flags/1x1/gb-nir.svg +131 -0
- package/icons/world-flags/1x1/gb-sct.svg +4 -0
- package/icons/world-flags/1x1/gb-wls.svg +9 -0
- package/icons/world-flags/1x1/gb.svg +7 -0
- package/icons/world-flags/1x1/gd.svg +27 -0
- package/icons/world-flags/1x1/ge.svg +6 -0
- package/icons/world-flags/1x1/gf.svg +7 -0
- package/icons/world-flags/1x1/gg.svg +9 -0
- package/icons/world-flags/1x1/gh.svg +6 -0
- package/icons/world-flags/1x1/gi.svg +32 -0
- package/icons/world-flags/1x1/gl.svg +4 -0
- package/icons/world-flags/1x1/gm.svg +9 -0
- package/icons/world-flags/1x1/gn.svg +7 -0
- package/icons/world-flags/1x1/gp.svg +7 -0
- package/icons/world-flags/1x1/gq.svg +23 -0
- package/icons/world-flags/1x1/gr.svg +16 -0
- package/icons/world-flags/1x1/gs.svg +132 -0
- package/icons/world-flags/1x1/gt.svg +220 -0
- package/icons/world-flags/1x1/gu.svg +23 -0
- package/icons/world-flags/1x1/gw.svg +15 -0
- package/icons/world-flags/1x1/gy.svg +9 -0
- package/icons/world-flags/1x1/hk.svg +30 -0
- package/icons/world-flags/1x1/hm.svg +8 -0
- package/icons/world-flags/1x1/hn.svg +18 -0
- package/icons/world-flags/1x1/hr.svg +56 -0
- package/icons/world-flags/1x1/ht.svg +116 -0
- package/icons/world-flags/1x1/hu.svg +7 -0
- package/icons/world-flags/1x1/ic.svg +7 -0
- package/icons/world-flags/1x1/id.svg +4 -0
- package/icons/world-flags/1x1/ie.svg +7 -0
- package/icons/world-flags/1x1/il.svg +14 -0
- package/icons/world-flags/1x1/im.svg +36 -0
- package/icons/world-flags/1x1/in.svg +25 -0
- package/icons/world-flags/1x1/io.svg +129 -0
- package/icons/world-flags/1x1/iq.svg +10 -0
- package/icons/world-flags/1x1/ir.svg +219 -0
- package/icons/world-flags/1x1/is.svg +12 -0
- package/icons/world-flags/1x1/it.svg +7 -0
- package/icons/world-flags/1x1/je.svg +44 -0
- package/icons/world-flags/1x1/jm.svg +8 -0
- package/icons/world-flags/1x1/jo.svg +16 -0
- package/icons/world-flags/1x1/jp.svg +11 -0
- package/icons/world-flags/1x1/ke.svg +23 -0
- package/icons/world-flags/1x1/kg.svg +15 -0
- package/icons/world-flags/1x1/kh.svg +61 -0
- package/icons/world-flags/1x1/ki.svg +36 -0
- package/icons/world-flags/1x1/km.svg +16 -0
- package/icons/world-flags/1x1/kn.svg +14 -0
- package/icons/world-flags/1x1/kp.svg +15 -0
- package/icons/world-flags/1x1/kr.svg +17 -0
- package/icons/world-flags/1x1/kw.svg +13 -0
- package/icons/world-flags/1x1/ky.svg +109 -0
- package/icons/world-flags/1x1/kz.svg +23 -0
- package/icons/world-flags/1x1/la.svg +12 -0
- package/icons/world-flags/1x1/lb.svg +15 -0
- package/icons/world-flags/1x1/lc.svg +8 -0
- package/icons/world-flags/1x1/li.svg +43 -0
- package/icons/world-flags/1x1/lk.svg +22 -0
- package/icons/world-flags/1x1/lr.svg +14 -0
- package/icons/world-flags/1x1/ls.svg +8 -0
- package/icons/world-flags/1x1/lt.svg +7 -0
- package/icons/world-flags/1x1/lu.svg +5 -0
- package/icons/world-flags/1x1/lv.svg +6 -0
- package/icons/world-flags/1x1/ly.svg +13 -0
- package/icons/world-flags/1x1/ma.svg +4 -0
- package/icons/world-flags/1x1/mc.svg +6 -0
- package/icons/world-flags/1x1/md.svg +71 -0
- package/icons/world-flags/1x1/me.svg +118 -0
- package/icons/world-flags/1x1/mf.svg +7 -0
- package/icons/world-flags/1x1/mg.svg +7 -0
- package/icons/world-flags/1x1/mh.svg +8 -0
- package/icons/world-flags/1x1/mk.svg +5 -0
- package/icons/world-flags/1x1/ml.svg +7 -0
- package/icons/world-flags/1x1/mm.svg +10 -0
- package/icons/world-flags/1x1/mn.svg +14 -0
- package/icons/world-flags/1x1/mo.svg +9 -0
- package/icons/world-flags/1x1/mp.svg +86 -0
- package/icons/world-flags/1x1/mq.svg +7 -0
- package/icons/world-flags/1x1/mr.svg +6 -0
- package/icons/world-flags/1x1/ms.svg +25 -0
- package/icons/world-flags/1x1/mt.svg +50 -0
- package/icons/world-flags/1x1/mu.svg +8 -0
- package/icons/world-flags/1x1/mv.svg +6 -0
- package/icons/world-flags/1x1/mw.svg +15 -0
- package/icons/world-flags/1x1/mx.svg +378 -0
- package/icons/world-flags/1x1/my.svg +7 -0
- package/icons/world-flags/1x1/mz.svg +21 -0
- package/icons/world-flags/1x1/na.svg +16 -0
- package/icons/world-flags/1x1/nc.svg +12 -0
- package/icons/world-flags/1x1/ne.svg +6 -0
- package/icons/world-flags/1x1/nf.svg +11 -0
- package/icons/world-flags/1x1/ng.svg +6 -0
- package/icons/world-flags/1x1/ni.svg +129 -0
- package/icons/world-flags/1x1/nl.svg +5 -0
- package/icons/world-flags/1x1/no.svg +7 -0
- package/icons/world-flags/1x1/np.svg +19 -0
- package/icons/world-flags/1x1/nr.svg +12 -0
- package/icons/world-flags/1x1/nu.svg +10 -0
- package/icons/world-flags/1x1/nz.svg +36 -0
- package/icons/world-flags/1x1/om.svg +115 -0
- package/icons/world-flags/1x1/pa.svg +13 -0
- package/icons/world-flags/1x1/pe.svg +244 -0
- package/icons/world-flags/1x1/pf.svg +18 -0
- package/icons/world-flags/1x1/pg.svg +16 -0
- package/icons/world-flags/1x1/ph.svg +8 -0
- package/icons/world-flags/1x1/pk.svg +15 -0
- package/icons/world-flags/1x1/pl.svg +6 -0
- package/icons/world-flags/1x1/pm.svg +7 -0
- package/icons/world-flags/1x1/pn.svg +53 -0
- package/icons/world-flags/1x1/pr.svg +13 -0
- package/icons/world-flags/1x1/ps.svg +15 -0
- package/icons/world-flags/1x1/pt.svg +57 -0
- package/icons/world-flags/1x1/pw.svg +11 -0
- package/icons/world-flags/1x1/py.svg +156 -0
- package/icons/world-flags/1x1/qa.svg +4 -0
- package/icons/world-flags/1x1/re.svg +7 -0
- package/icons/world-flags/1x1/ro.svg +7 -0
- package/icons/world-flags/1x1/rs.svg +296 -0
- package/icons/world-flags/1x1/ru.svg +7 -0
- package/icons/world-flags/1x1/rw.svg +13 -0
- package/icons/world-flags/1x1/sa.svg +26 -0
- package/icons/world-flags/1x1/sb.svg +13 -0
- package/icons/world-flags/1x1/sc.svg +7 -0
- package/icons/world-flags/1x1/sd.svg +13 -0
- package/icons/world-flags/1x1/se.svg +4 -0
- package/icons/world-flags/1x1/sg.svg +13 -0
- package/icons/world-flags/1x1/sh.svg +76 -0
- package/icons/world-flags/1x1/si.svg +18 -0
- package/icons/world-flags/1x1/sj.svg +7 -0
- package/icons/world-flags/1x1/sk.svg +9 -0
- package/icons/world-flags/1x1/sl.svg +12 -0
- package/icons/world-flags/1x1/sm.svg +73 -0
- package/icons/world-flags/1x1/sn.svg +8 -0
- package/icons/world-flags/1x1/so.svg +11 -0
- package/icons/world-flags/1x1/sr.svg +6 -0
- package/icons/world-flags/1x1/ss.svg +8 -0
- package/icons/world-flags/1x1/st.svg +16 -0
- package/icons/world-flags/1x1/sv.svg +594 -0
- package/icons/world-flags/1x1/sx.svg +56 -0
- package/icons/world-flags/1x1/sy.svg +6 -0
- package/icons/world-flags/1x1/sz.svg +34 -0
- package/icons/world-flags/1x1/ta.svg +76 -0
- package/icons/world-flags/1x1/tc.svg +50 -0
- package/icons/world-flags/1x1/td.svg +7 -0
- package/icons/world-flags/1x1/tf.svg +15 -0
- package/icons/world-flags/1x1/tg.svg +14 -0
- package/icons/world-flags/1x1/th.svg +7 -0
- package/icons/world-flags/1x1/tj.svg +26 -0
- package/icons/world-flags/1x1/tk.svg +5 -0
- package/icons/world-flags/1x1/tl.svg +13 -0
- package/icons/world-flags/1x1/tm.svg +202 -0
- package/icons/world-flags/1x1/tn.svg +13 -0
- package/icons/world-flags/1x1/to.svg +10 -0
- package/icons/world-flags/1x1/tr.svg +8 -0
- package/icons/world-flags/1x1/tt.svg +7 -0
- package/icons/world-flags/1x1/tv.svg +9 -0
- package/icons/world-flags/1x1/tw.svg +32 -0
- package/icons/world-flags/1x1/tz.svg +15 -0
- package/icons/world-flags/1x1/ua.svg +6 -0
- package/icons/world-flags/1x1/ug.svg +30 -0
- package/icons/world-flags/1x1/um.svg +15 -0
- package/icons/world-flags/1x1/un.svg +16 -0
- package/icons/world-flags/1x1/us.svg +10 -0
- package/icons/world-flags/1x1/uy.svg +28 -0
- package/icons/world-flags/1x1/uz.svg +30 -0
- package/icons/world-flags/1x1/va.svg +479 -0
- package/icons/world-flags/1x1/vc.svg +8 -0
- package/icons/world-flags/1x1/ve.svg +26 -0
- package/icons/world-flags/1x1/vg.svg +63 -0
- package/icons/world-flags/1x1/vi.svg +28 -0
- package/icons/world-flags/1x1/vn.svg +11 -0
- package/icons/world-flags/1x1/vu.svg +21 -0
- package/icons/world-flags/1x1/wf.svg +7 -0
- package/icons/world-flags/1x1/ws.svg +7 -0
- package/icons/world-flags/1x1/xk.svg +8 -0
- package/icons/world-flags/1x1/xx.svg +4 -0
- package/icons/world-flags/1x1/ye.svg +7 -0
- package/icons/world-flags/1x1/yt.svg +7 -0
- package/icons/world-flags/1x1/za.svg +17 -0
- package/icons/world-flags/1x1/zm.svg +27 -0
- package/icons/world-flags/1x1/zw.svg +21 -0
- package/icons/world-flags/4x3/ac.svg +76 -0
- package/icons/world-flags/4x3/ad.svg +150 -0
- package/icons/world-flags/4x3/ae.svg +6 -0
- package/icons/world-flags/4x3/af.svg +81 -0
- package/icons/world-flags/4x3/ag.svg +14 -0
- package/icons/world-flags/4x3/ai.svg +758 -0
- package/icons/world-flags/4x3/al.svg +5 -0
- package/icons/world-flags/4x3/am.svg +5 -0
- package/icons/world-flags/4x3/ao.svg +13 -0
- package/icons/world-flags/4x3/aq.svg +5 -0
- package/icons/world-flags/4x3/ar.svg +32 -0
- package/icons/world-flags/4x3/as.svg +72 -0
- package/icons/world-flags/4x3/at.svg +6 -0
- package/icons/world-flags/4x3/au.svg +8 -0
- package/icons/world-flags/4x3/aw.svg +186 -0
- package/icons/world-flags/4x3/ax.svg +18 -0
- package/icons/world-flags/4x3/az.svg +8 -0
- package/icons/world-flags/4x3/ba.svg +12 -0
- package/icons/world-flags/4x3/bb.svg +6 -0
- package/icons/world-flags/4x3/bd.svg +4 -0
- package/icons/world-flags/4x3/be.svg +7 -0
- package/icons/world-flags/4x3/bf.svg +7 -0
- package/icons/world-flags/4x3/bg.svg +7 -0
- package/icons/world-flags/4x3/bh.svg +4 -0
- package/icons/world-flags/4x3/bi.svg +15 -0
- package/icons/world-flags/4x3/bj.svg +14 -0
- package/icons/world-flags/4x3/bl.svg +7 -0
- package/icons/world-flags/4x3/bm.svg +97 -0
- package/icons/world-flags/4x3/bn.svg +36 -0
- package/icons/world-flags/4x3/bo.svg +676 -0
- package/icons/world-flags/4x3/bq.svg +5 -0
- package/icons/world-flags/4x3/br.svg +45 -0
- package/icons/world-flags/4x3/bs.svg +13 -0
- package/icons/world-flags/4x3/bt.svg +89 -0
- package/icons/world-flags/4x3/bv.svg +13 -0
- package/icons/world-flags/4x3/bw.svg +7 -0
- package/icons/world-flags/4x3/by.svg +20 -0
- package/icons/world-flags/4x3/bz.svg +145 -0
- package/icons/world-flags/4x3/ca.svg +4 -0
- package/icons/world-flags/4x3/cc.svg +19 -0
- package/icons/world-flags/4x3/cd.svg +5 -0
- package/icons/world-flags/4x3/cefta.svg +13 -0
- package/icons/world-flags/4x3/cf.svg +15 -0
- package/icons/world-flags/4x3/cg.svg +12 -0
- package/icons/world-flags/4x3/ch.svg +9 -0
- package/icons/world-flags/4x3/ci.svg +7 -0
- package/icons/world-flags/4x3/ck.svg +9 -0
- package/icons/world-flags/4x3/cl.svg +13 -0
- package/icons/world-flags/4x3/cm.svg +15 -0
- package/icons/world-flags/4x3/cn.svg +11 -0
- package/icons/world-flags/4x3/co.svg +7 -0
- package/icons/world-flags/4x3/cp.svg +7 -0
- package/icons/world-flags/4x3/cr.svg +7 -0
- package/icons/world-flags/4x3/cu.svg +13 -0
- package/icons/world-flags/4x3/cv.svg +13 -0
- package/icons/world-flags/4x3/cw.svg +14 -0
- package/icons/world-flags/4x3/cx.svg +15 -0
- package/icons/world-flags/4x3/cy.svg +6 -0
- package/icons/world-flags/4x3/cz.svg +5 -0
- package/icons/world-flags/4x3/de.svg +5 -0
- package/icons/world-flags/4x3/dg.svg +129 -0
- package/icons/world-flags/4x3/dj.svg +13 -0
- package/icons/world-flags/4x3/dk.svg +5 -0
- package/icons/world-flags/4x3/dm.svg +152 -0
- package/icons/world-flags/4x3/do.svg +6745 -0
- package/icons/world-flags/4x3/dz.svg +5 -0
- package/icons/world-flags/4x3/ea.svg +544 -0
- package/icons/world-flags/4x3/ec.svg +138 -0
- package/icons/world-flags/4x3/ee.svg +7 -0
- package/icons/world-flags/4x3/eg.svg +38 -0
- package/icons/world-flags/4x3/eh.svg +16 -0
- package/icons/world-flags/4x3/er.svg +8 -0
- package/icons/world-flags/4x3/es-ct.svg +4 -0
- package/icons/world-flags/4x3/es-ga.svg +187 -0
- package/icons/world-flags/4x3/es.svg +544 -0
- package/icons/world-flags/4x3/et.svg +14 -0
- package/icons/world-flags/4x3/eu.svg +28 -0
- package/icons/world-flags/4x3/fi.svg +5 -0
- package/icons/world-flags/4x3/fj.svg +120 -0
- package/icons/world-flags/4x3/fk.svg +90 -0
- package/icons/world-flags/4x3/fm.svg +11 -0
- package/icons/world-flags/4x3/fo.svg +12 -0
- package/icons/world-flags/4x3/fr.svg +7 -0
- package/icons/world-flags/4x3/ga.svg +7 -0
- package/icons/world-flags/4x3/gb-eng.svg +5 -0
- package/icons/world-flags/4x3/gb-nir.svg +132 -0
- package/icons/world-flags/4x3/gb-sct.svg +4 -0
- package/icons/world-flags/4x3/gb-wls.svg +9 -0
- package/icons/world-flags/4x3/gb.svg +7 -0
- package/icons/world-flags/4x3/gd.svg +27 -0
- package/icons/world-flags/4x3/ge.svg +6 -0
- package/icons/world-flags/4x3/gf.svg +7 -0
- package/icons/world-flags/4x3/gg.svg +9 -0
- package/icons/world-flags/4x3/gh.svg +6 -0
- package/icons/world-flags/4x3/gi.svg +32 -0
- package/icons/world-flags/4x3/gl.svg +4 -0
- package/icons/world-flags/4x3/gm.svg +14 -0
- package/icons/world-flags/4x3/gn.svg +7 -0
- package/icons/world-flags/4x3/gp.svg +7 -0
- package/icons/world-flags/4x3/gq.svg +23 -0
- package/icons/world-flags/4x3/gr.svg +16 -0
- package/icons/world-flags/4x3/gs.svg +133 -0
- package/icons/world-flags/4x3/gt.svg +220 -0
- package/icons/world-flags/4x3/gu.svg +23 -0
- package/icons/world-flags/4x3/gw.svg +13 -0
- package/icons/world-flags/4x3/gy.svg +9 -0
- package/icons/world-flags/4x3/hk.svg +30 -0
- package/icons/world-flags/4x3/hm.svg +8 -0
- package/icons/world-flags/4x3/hn.svg +18 -0
- package/icons/world-flags/4x3/hr.svg +58 -0
- package/icons/world-flags/4x3/ht.svg +116 -0
- package/icons/world-flags/4x3/hu.svg +7 -0
- package/icons/world-flags/4x3/ic.svg +7 -0
- package/icons/world-flags/4x3/id.svg +4 -0
- package/icons/world-flags/4x3/ie.svg +7 -0
- package/icons/world-flags/4x3/il.svg +14 -0
- package/icons/world-flags/4x3/im.svg +36 -0
- package/icons/world-flags/4x3/in.svg +25 -0
- package/icons/world-flags/4x3/io.svg +129 -0
- package/icons/world-flags/4x3/iq.svg +10 -0
- package/icons/world-flags/4x3/ir.svg +219 -0
- package/icons/world-flags/4x3/is.svg +12 -0
- package/icons/world-flags/4x3/it.svg +7 -0
- package/icons/world-flags/4x3/je.svg +45 -0
- package/icons/world-flags/4x3/jm.svg +8 -0
- package/icons/world-flags/4x3/jo.svg +16 -0
- package/icons/world-flags/4x3/jp.svg +11 -0
- package/icons/world-flags/4x3/ke.svg +23 -0
- package/icons/world-flags/4x3/kg.svg +15 -0
- package/icons/world-flags/4x3/kh.svg +61 -0
- package/icons/world-flags/4x3/ki.svg +36 -0
- package/icons/world-flags/4x3/km.svg +16 -0
- package/icons/world-flags/4x3/kn.svg +14 -0
- package/icons/world-flags/4x3/kp.svg +15 -0
- package/icons/world-flags/4x3/kr.svg +24 -0
- package/icons/world-flags/4x3/kw.svg +13 -0
- package/icons/world-flags/4x3/ky.svg +109 -0
- package/icons/world-flags/4x3/kz.svg +23 -0
- package/icons/world-flags/4x3/la.svg +12 -0
- package/icons/world-flags/4x3/lb.svg +15 -0
- package/icons/world-flags/4x3/lc.svg +8 -0
- package/icons/world-flags/4x3/li.svg +43 -0
- package/icons/world-flags/4x3/lk.svg +22 -0
- package/icons/world-flags/4x3/lr.svg +14 -0
- package/icons/world-flags/4x3/ls.svg +8 -0
- package/icons/world-flags/4x3/lt.svg +7 -0
- package/icons/world-flags/4x3/lu.svg +5 -0
- package/icons/world-flags/4x3/lv.svg +6 -0
- package/icons/world-flags/4x3/ly.svg +13 -0
- package/icons/world-flags/4x3/ma.svg +4 -0
- package/icons/world-flags/4x3/mc.svg +6 -0
- package/icons/world-flags/4x3/md.svg +70 -0
- package/icons/world-flags/4x3/me.svg +116 -0
- package/icons/world-flags/4x3/mf.svg +7 -0
- package/icons/world-flags/4x3/mg.svg +7 -0
- package/icons/world-flags/4x3/mh.svg +7 -0
- package/icons/world-flags/4x3/mk.svg +5 -0
- package/icons/world-flags/4x3/ml.svg +7 -0
- package/icons/world-flags/4x3/mm.svg +12 -0
- package/icons/world-flags/4x3/mn.svg +14 -0
- package/icons/world-flags/4x3/mo.svg +9 -0
- package/icons/world-flags/4x3/mp.svg +86 -0
- package/icons/world-flags/4x3/mq.svg +7 -0
- package/icons/world-flags/4x3/mr.svg +6 -0
- package/icons/world-flags/4x3/ms.svg +33 -0
- package/icons/world-flags/4x3/mt.svg +49 -0
- package/icons/world-flags/4x3/mu.svg +8 -0
- package/icons/world-flags/4x3/mv.svg +6 -0
- package/icons/world-flags/4x3/mw.svg +10 -0
- package/icons/world-flags/4x3/mx.svg +382 -0
- package/icons/world-flags/4x3/my.svg +7 -0
- package/icons/world-flags/4x3/mz.svg +21 -0
- package/icons/world-flags/4x3/na.svg +16 -0
- package/icons/world-flags/4x3/nc.svg +13 -0
- package/icons/world-flags/4x3/ne.svg +6 -0
- package/icons/world-flags/4x3/nf.svg +9 -0
- package/icons/world-flags/4x3/ng.svg +6 -0
- package/icons/world-flags/4x3/ni.svg +129 -0
- package/icons/world-flags/4x3/nl.svg +5 -0
- package/icons/world-flags/4x3/no.svg +7 -0
- package/icons/world-flags/4x3/np.svg +14 -0
- package/icons/world-flags/4x3/nr.svg +12 -0
- package/icons/world-flags/4x3/nu.svg +10 -0
- package/icons/world-flags/4x3/nz.svg +36 -0
- package/icons/world-flags/4x3/om.svg +115 -0
- package/icons/world-flags/4x3/pa.svg +14 -0
- package/icons/world-flags/4x3/pe.svg +244 -0
- package/icons/world-flags/4x3/pf.svg +19 -0
- package/icons/world-flags/4x3/pg.svg +9 -0
- package/icons/world-flags/4x3/ph.svg +6 -0
- package/icons/world-flags/4x3/pk.svg +15 -0
- package/icons/world-flags/4x3/pl.svg +6 -0
- package/icons/world-flags/4x3/pm.svg +7 -0
- package/icons/world-flags/4x3/pn.svg +53 -0
- package/icons/world-flags/4x3/pr.svg +13 -0
- package/icons/world-flags/4x3/ps.svg +15 -0
- package/icons/world-flags/4x3/pt.svg +57 -0
- package/icons/world-flags/4x3/pw.svg +11 -0
- package/icons/world-flags/4x3/py.svg +157 -0
- package/icons/world-flags/4x3/qa.svg +4 -0
- package/icons/world-flags/4x3/re.svg +7 -0
- package/icons/world-flags/4x3/ro.svg +7 -0
- package/icons/world-flags/4x3/rs.svg +292 -0
- package/icons/world-flags/4x3/ru.svg +7 -0
- package/icons/world-flags/4x3/rw.svg +13 -0
- package/icons/world-flags/4x3/sa.svg +26 -0
- package/icons/world-flags/4x3/sb.svg +13 -0
- package/icons/world-flags/4x3/sc.svg +7 -0
- package/icons/world-flags/4x3/sd.svg +13 -0
- package/icons/world-flags/4x3/se.svg +4 -0
- package/icons/world-flags/4x3/sg.svg +13 -0
- package/icons/world-flags/4x3/sh.svg +76 -0
- package/icons/world-flags/4x3/si.svg +18 -0
- package/icons/world-flags/4x3/sj.svg +7 -0
- package/icons/world-flags/4x3/sk.svg +9 -0
- package/icons/world-flags/4x3/sl.svg +7 -0
- package/icons/world-flags/4x3/sm.svg +75 -0
- package/icons/world-flags/4x3/sn.svg +8 -0
- package/icons/world-flags/4x3/so.svg +11 -0
- package/icons/world-flags/4x3/sr.svg +6 -0
- package/icons/world-flags/4x3/ss.svg +8 -0
- package/icons/world-flags/4x3/st.svg +16 -0
- package/icons/world-flags/4x3/sv.svg +594 -0
- package/icons/world-flags/4x3/sx.svg +56 -0
- package/icons/world-flags/4x3/sy.svg +6 -0
- package/icons/world-flags/4x3/sz.svg +34 -0
- package/icons/world-flags/4x3/ta.svg +76 -0
- package/icons/world-flags/4x3/tc.svg +50 -0
- package/icons/world-flags/4x3/td.svg +7 -0
- package/icons/world-flags/4x3/tf.svg +15 -0
- package/icons/world-flags/4x3/tg.svg +14 -0
- package/icons/world-flags/4x3/th.svg +7 -0
- package/icons/world-flags/4x3/tj.svg +22 -0
- package/icons/world-flags/4x3/tk.svg +5 -0
- package/icons/world-flags/4x3/tl.svg +13 -0
- package/icons/world-flags/4x3/tm.svg +205 -0
- package/icons/world-flags/4x3/tn.svg +13 -0
- package/icons/world-flags/4x3/to.svg +10 -0
- package/icons/world-flags/4x3/tr.svg +8 -0
- package/icons/world-flags/4x3/tt.svg +5 -0
- package/icons/world-flags/4x3/tv.svg +9 -0
- package/icons/world-flags/4x3/tw.svg +34 -0
- package/icons/world-flags/4x3/tz.svg +13 -0
- package/icons/world-flags/4x3/ua.svg +6 -0
- package/icons/world-flags/4x3/ug.svg +30 -0
- package/icons/world-flags/4x3/um.svg +15 -0
- package/icons/world-flags/4x3/un.svg +16 -0
- package/icons/world-flags/4x3/us.svg +10 -0
- package/icons/world-flags/4x3/uy.svg +28 -0
- package/icons/world-flags/4x3/uz.svg +30 -0
- package/icons/world-flags/4x3/va.svg +479 -0
- package/icons/world-flags/4x3/vc.svg +8 -0
- package/icons/world-flags/4x3/ve.svg +26 -0
- package/icons/world-flags/4x3/vg.svg +63 -0
- package/icons/world-flags/4x3/vi.svg +28 -0
- package/icons/world-flags/4x3/vn.svg +11 -0
- package/icons/world-flags/4x3/vu.svg +21 -0
- package/icons/world-flags/4x3/wf.svg +7 -0
- package/icons/world-flags/4x3/ws.svg +7 -0
- package/icons/world-flags/4x3/xk.svg +8 -0
- package/icons/world-flags/4x3/xx.svg +4 -0
- package/icons/world-flags/4x3/ye.svg +7 -0
- package/icons/world-flags/4x3/yt.svg +7 -0
- package/icons/world-flags/4x3/za.svg +17 -0
- package/icons/world-flags/4x3/zm.svg +27 -0
- package/icons/world-flags/4x3/zw.svg +21 -0
- package/js/oe-bcl-joinup.bundle.js +69 -56
- package/js/oe-bcl-joinup.bundle.js.map +1 -1
- package/js/oe-bcl-joinup.bundle.min.js +1 -1
- package/js/oe-bcl-joinup.bundle.min.js.map +1 -1
- package/js/oe-bcl-joinup.esm.js +69 -56
- package/js/oe-bcl-joinup.esm.js.map +1 -1
- package/js/oe-bcl-joinup.esm.min.js +1 -1
- package/js/oe-bcl-joinup.esm.min.js.map +1 -1
- package/js/oe-bcl-joinup.umd.js +69 -56
- package/js/oe-bcl-joinup.umd.js.map +1 -1
- package/js/oe-bcl-joinup.umd.min.js +1 -1
- package/js/oe-bcl-joinup.umd.min.js.map +1 -1
- package/logos/ec/negative/logo-ec--is.svg +13 -12
- package/logos/ec/negative/logo-ec--jp.svg +19 -18
- package/logos/ec/negative/logo-ec--lb.svg +63 -62
- package/logos/ec/negative/logo-ec--ru.svg +43 -42
- package/logos/ec/negative/logo-ec--sw.svg +117 -0
- package/logos/ec/negative/logo-ec--tr.svg +68 -67
- package/logos/ec/negative/logo-ec--uk.svg +61 -60
- package/logos/ec/negative/logo-ec--zh.svg +16 -15
- package/logos/ec/positive/logo-ec--sw.svg +78 -0
- package/logos/eu/condensed-version/negative/logo-eu--sw.svg +7 -0
- package/logos/eu/condensed-version/positive/logo-eu--sw.svg +6 -0
- package/logos/eu/standard-version/negative/logo-eu--sw.svg +17 -0
- package/logos/eu/standard-version/positive/logo-eu--sw.svg +16 -0
- package/package.json +14 -14
- package/templates/bcl-base-templates/content-type.html.twig +1 -1
- package/templates/bcl-base-templates/listing-page.html.twig +0 -1
- package/templates/bcl-breadcrumb/breadcrumb.html.twig +2 -1
- package/templates/bcl-button/button.html.twig +1 -1
- package/templates/bcl-button-group/button-group.html.twig +3 -2
- package/templates/bcl-card/card.html.twig +1 -1
- package/templates/bcl-carousel/carousel.html.twig +5 -1
- package/templates/bcl-content-banner/content-banner.html.twig +17 -17
- package/templates/bcl-date-block/date-block.html.twig +12 -11
- package/templates/bcl-description-list/description-list-details.html.twig +44 -0
- package/templates/bcl-description-list/description-list-title.html.twig +33 -0
- package/templates/bcl-description-list/description-list.html.twig +61 -126
- package/templates/bcl-fact-figures/fact-figures.html.twig +5 -4
- package/templates/bcl-featured-media/featured-media.html.twig +20 -16
- package/templates/bcl-file/file-translations.html.twig +93 -0
- package/templates/bcl-file/file.html.twig +7 -67
- package/templates/bcl-form/form.html.twig +1 -1
- package/templates/bcl-gallery/gallery-item.html.twig +63 -0
- package/templates/bcl-gallery/gallery-modal.html.twig +105 -0
- package/templates/bcl-gallery/gallery.html.twig +96 -149
- package/templates/bcl-glossary/glossary-listing.html.twig +1 -4
- package/templates/bcl-header/header.html.twig +1 -1
- package/templates/bcl-icon/icon.html.twig +1 -0
- package/templates/bcl-language-switcher/language-switcher.html.twig +1 -1
- package/templates/bcl-listing/listing.html.twig +2 -2
- package/templates/bcl-modal/modal.html.twig +2 -1
- package/templates/bcl-pagination/pagination.html.twig +8 -4
- package/templates/bcl-placeholder/placeholder.html.twig +1 -0
- package/templates/bcl-project/project-lists.html.twig +4 -1
- package/templates/bcl-project-status/project-contributions.html.twig +2 -2
- package/templates/bcl-select/select.html.twig +9 -9
- package/templates/bcl-subscription/subscription-modal.html.twig +2 -2
- package/templates/bcl-subscription-block/subscription-block.html.twig +1 -1
- package/templates/bcl-textarea/textarea.html.twig +1 -1
- package/templates/bcl-timeline/timeline-item.html.twig +34 -0
- package/templates/bcl-timeline/timeline.html.twig +16 -21
- package/templates/bcl-toast/toasts.html.twig +2 -1
- package/templates/bcl-user/user-compact.html.twig +14 -11
- package/templates/bcl-section/section.html.twig +0 -41
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as t from"@popperjs/core";const e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let s=t.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),e=s&&"#"!==s?s.trim():null}return e},s=t=>{const s=e(t);return s&&document.querySelector(s)?s:null},i=t=>{const s=e(t);return s?document.querySelector(s):null},n=t=>{t.dispatchEvent(new Event("transitionend"))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=t=>{if(!o(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),s=t.closest("details:not([open])");if(!s)return e;if(s!==t){const e=t.closest("summary");if(e&&e.parentNode!==s)return!1;if(null===e)return!1}return e},l=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),c=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c(t.parentNode):null},h=()=>{},d=t=>{t.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,g=[],_=()=>"rtl"===document.documentElement.dir,f=t=>{var e;e=()=>{const e=u();if(e){const s=t.NAME,i=e.fn[s];e.fn[s]=t.jQueryInterface,e.fn[s].Constructor=t,e.fn[s].noConflict=()=>(e.fn[s]=i,t.jQueryInterface)}},"loading"===document.readyState?(g.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of g)t()})),g.push(e)):e()},p=t=>{"function"==typeof t&&t()},m=(t,e,s=!0)=>{if(!s)return void p(t);const i=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:s}=window.getComputedStyle(t);const i=Number.parseFloat(e),n=Number.parseFloat(s);return i||n?(e=e.split(",")[0],s=s.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(s))):0})(e)+5;let o=!1;const r=({target:s})=>{s===e&&(o=!0,e.removeEventListener("transitionend",r),p(t))};e.addEventListener("transitionend",r),setTimeout((()=>{o||n(e)}),i)},b=(t,e,s,i)=>{const n=t.length;let o=t.indexOf(e);return-1===o?!s&&i?t[n-1]:t[0]:(o+=s?1:-1,i&&(o=(o+n)%n),t[Math.max(0,Math.min(o,n-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,A={};let E=1;const C={mouseenter:"mouseover",mouseleave:"mouseout"},T=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function k(t,e){return e&&`${e}::${E++}`||t.uidEvent||E++}function L(t){const e=k(t);return t.uidEvent=e,A[e]=A[e]||{},A[e]}function I(t,e,s=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===s))}function O(t,e,s){const i="string"==typeof e,n=i?s:e||s;let o=x(t);return T.has(o)||(o=t),[i,n,o]}function S(t,e,s,i,n){if("string"!=typeof e||!t)return;let[o,r,a]=O(e,s,i);if(e in C){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=L(t),c=l[a]||(l[a]={}),h=I(c,r,o?s:null);if(h)return void(h.oneOff=h.oneOff&&n);const d=k(r,e.replace(v,"")),u=o?function(t,e,s){return function i(n){const o=t.querySelectorAll(e);for(let{target:r}=n;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return M(n,{delegateTarget:r}),i.oneOff&&P.off(t,n.type,e,s),s.apply(r,[n])}}(t,s,r):function(t,e){return function s(i){return M(i,{delegateTarget:t}),s.oneOff&&P.off(t,i.type,e),e.apply(t,[i])}}(t,r);u.delegationSelector=o?s:null,u.callable=r,u.oneOff=n,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function N(t,e,s,i,n){const o=I(e[s],i,n);o&&(t.removeEventListener(s,o,Boolean(n)),delete e[s][o.uidEvent])}function D(t,e,s,i){const n=e[s]||{};for(const o of Object.keys(n))if(o.includes(i)){const i=n[o];N(t,e,s,i.callable,i.delegationSelector)}}function x(t){return t=t.replace(y,""),C[t]||t}const P={on(t,e,s,i){S(t,e,s,i,!1)},one(t,e,s,i){S(t,e,s,i,!0)},off(t,e,s,i){if("string"!=typeof e||!t)return;const[n,o,r]=O(e,s,i),a=r!==e,l=L(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const s of Object.keys(l))D(t,l,s,e.slice(1));for(const s of Object.keys(c)){const i=s.replace(w,"");if(!a||e.includes(i)){const e=c[s];N(t,l,r,e.callable,e.delegationSelector)}}}else{if(!Object.keys(c).length)return;N(t,l,r,o,n?s:null)}},trigger(t,e,s){if("string"!=typeof e||!t)return null;const i=u();let n=null,o=!0,r=!0,a=!1;e!==x(e)&&i&&(n=i.Event(e,s),i(t).trigger(n),o=!n.isPropagationStopped(),r=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());let l=new Event(e,{bubbles:o,cancelable:!0});return l=M(l,s),a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function M(t,e){for(const[s,i]of Object.entries(e||{}))try{t[s]=i}catch{Object.defineProperty(t,s,{configurable:!0,get:()=>i})}return t}const j=new Map;var $={set(t,e,s){j.has(t)||j.set(t,new Map);const i=j.get(t);i.has(e)||0===i.size?i.set(e,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,e)=>j.has(t)&&j.get(t).get(e)||null,remove(t,e){if(!j.has(t))return;const s=j.get(t);s.delete(e),0===s.size&&j.delete(t)}};function F(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function z(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const H={setDataAttribute(t,e,s){t.setAttribute(`data-bs-${z(e)}`,s)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${z(e)}`)},getDataAttributes(t){if(!t)return{};const e={},s=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const i of s){let s=i.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=F(t.dataset[i])}return e},getDataAttribute:(t,e)=>F(t.getAttribute(`data-bs-${z(e)}`))};class q{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const s=o(e)?H.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof s?s:{},...o(e)?H.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const i of Object.keys(e)){const n=e[i],r=t[i],a=o(r)?"element":null==(s=r)?`${s}`:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${a}" but expected type "${n}".`)}var s}}class B extends q{constructor(t,e){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(e),$.set(this._element,this.constructor.DATA_KEY,this))}dispose(){$.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,s=!0){m(t,e,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return $.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.0"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const W=(t,e="hide")=>{const s=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;P.on(document,s,`[data-bs-dismiss="${n}"]`,(function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),l(this))return;const o=i(this)||this.closest(`.${n}`);t.getOrCreateInstance(o)[e]()}))};class R extends B{static get NAME(){return"alert"}close(){if(P.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),P.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=R.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(R,"close"),f(R);class V extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=V.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}P.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',(t=>{t.preventDefault();const e=t.target.closest('[data-bs-toggle="button"]');V.getOrCreateInstance(e).toggle()})),f(V);const K={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const s=[];let i=t.parentNode.closest(e);for(;i;)s.push(i),i=i.parentNode.closest(e);return s},prev(t,e){let s=t.previousElementSibling;for(;s;){if(s.matches(e))return[s];s=s.previousElementSibling}return[]},next(t,e){let s=t.nextElementSibling;for(;s;){if(s.matches(e))return[s];s=s.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!l(t)&&a(t)))}},Q={endCallback:null,leftCallback:null,rightCallback:null},X={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Y extends q{constructor(t,e){super(),this._element=t,t&&Y.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Q}static get DefaultType(){return X}static get NAME(){return"swipe"}dispose(){P.off(this._element,".bs.swipe")}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),p(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&p(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(P.on(this._element,"pointerdown.bs.swipe",(t=>this._start(t))),P.on(this._element,"pointerup.bs.swipe",(t=>this._end(t))),this._element.classList.add("pointer-event")):(P.on(this._element,"touchstart.bs.swipe",(t=>this._start(t))),P.on(this._element,"touchmove.bs.swipe",(t=>this._move(t))),P.on(this._element,"touchend.bs.swipe",(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const U={ArrowLeft:"right",ArrowRight:"left"},G={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},J={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Z extends B{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=K.findOne(".carousel-indicators",this._element),this._addEventListeners(),"carousel"===this._config.ride&&this.cycle()}static get Default(){return G}static get DefaultType(){return J}static get NAME(){return"carousel"}next(){this._slide("next")}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide("prev")}pause(){this._isSliding&&n(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?P.one(this._element,"slid.bs.carousel",(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void P.one(this._element,"slid.bs.carousel",(()=>this.to(t)));const s=this._getItemIndex(this._getActive());if(s===t)return;const i=t>s?"next":"prev";this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&P.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(P.on(this._element,"mouseenter.bs.carousel",(()=>this.pause())),P.on(this._element,"mouseleave.bs.carousel",(()=>this._maybeEnableCycle()))),this._config.touch&&Y.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of K.find(".carousel-item img",this._element))P.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder("left")),rightCallback:()=>this._slide(this._directionToOrder("right")),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Y(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=U[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=K.findOne(".active",this._indicatorsElement);e.classList.remove("active"),e.removeAttribute("aria-current");const s=K.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add("active"),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const s=this._getActive(),i="next"===t,n=e||b(this._getItems(),s,i,this._config.wrap);if(n===s)return;const o=this._getItemIndex(n),r=e=>P.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(r("slide.bs.carousel").defaultPrevented)return;if(!s||!n)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=n;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";n.classList.add(c),d(n),s.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add("active"),s.classList.remove("active",c,l),this._isSliding=!1,r("slid.bs.carousel")}),s,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return K.findOne(".active.carousel-item",this._element)}_getItems(){return K.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return _()?"left"===t?"prev":"next":"left"===t?"next":"prev"}_orderToDirection(t){return _()?"prev"===t?"left":"right":"prev"===t?"right":"left"}static jQueryInterface(t){return this.each((function(){const e=Z.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}P.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(t){const e=i(this);if(!e||!e.classList.contains("carousel"))return;t.preventDefault();const s=Z.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(s.to(n),void s._maybeEnableCycle()):"next"===H.getDataAttribute(this,"slide")?(s.next(),void s._maybeEnableCycle()):(s.prev(),void s._maybeEnableCycle())})),P.on(window,"load.bs.carousel.data-api",(()=>{const t=K.find('[data-bs-ride="carousel"]');for(const e of t)Z.getOrCreateInstance(e)})),f(Z);const tt={parent:null,toggle:!0},et={parent:"(null|element)",toggle:"boolean"};class st extends B{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=K.find('[data-bs-toggle="collapse"]');for(const t of i){const e=s(t),i=K.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return tt}static get DefaultType(){return et}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>st.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(P.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[e]="",P.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[e]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(P.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");for(const t of this._triggerArray){const e=i(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),P.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains("show")}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=r(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren('[data-bs-toggle="collapse"]');for(const e of t){const t=i(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=K.find(":scope .collapse .collapse",this._config.parent);return K.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const s of t)s.classList.toggle("collapsed",!e),s.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const s=st.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===s[t])throw new TypeError(`No method named "${t}"`);s[t]()}}))}}P.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=s(this),i=K.find(e);for(const t of i)st.getOrCreateInstance(t,{toggle:!1}).toggle()})),f(st);const it="ArrowUp",nt="ArrowDown",ot='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',rt=`${ot}.show`,at=_()?"top-end":"top-start",lt=_()?"top-start":"top-end",ct=_()?"bottom-end":"bottom-start",ht=_()?"bottom-start":"bottom-end",dt=_()?"left-start":"right-start",ut=_()?"right-start":"left-start",gt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},_t={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ft extends B{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=K.findOne(".dropdown-menu",this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return gt}static get DefaultType(){return _t}static get NAME(){return"dropdown"}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!P.trigger(this._element,"show.bs.dropdown",t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))P.on(t,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add("show"),this._element.classList.add("show"),P.trigger(this._element,"shown.bs.dropdown",t)}}hide(){if(l(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!P.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),H.removeDataAttribute(this._menu,"popper"),P.trigger(this._element,"hidden.bs.dropdown",t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${"dropdown".toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const s=this._getPopperConfig();this._popper=t.createPopper(e,this._menu,s)}_isShown(){return this._menu.classList.contains("show")}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return dt;if(t.classList.contains("dropstart"))return ut;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?lt:at:e?ht:ct}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(H.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const s=K.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));s.length&&b(s,e,t===nt,!s.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ft.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=K.find(rt);for(const s of e){const e=ft.getInstance(s);if(!e||!1===e._config.autoClose)continue;const i=t.composedPath(),n=i.includes(e._menu);if(i.includes(e._element)||"inside"===e._config.autoClose&&!n||"outside"===e._config.autoClose&&n)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),s="Escape"===t.key,i=[it,nt].includes(t.key);if(!i&&!s)return;if(e&&!s)return;t.preventDefault();const n=K.findOne(ot,t.delegateTarget.parentNode),o=ft.getOrCreateInstance(n);if(i)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),n.focus())}}P.on(document,"keydown.bs.dropdown.data-api",ot,ft.dataApiKeydownHandler),P.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",ft.dataApiKeydownHandler),P.on(document,"click.bs.dropdown.data-api",ft.clearMenus),P.on(document,"keyup.bs.dropdown.data-api",ft.clearMenus),P.on(document,"click.bs.dropdown.data-api",ot,(function(t){t.preventDefault(),ft.getOrCreateInstance(this).toggle()})),f(ft);const pt={};class mt extends B{constructor(t,e){super(t,e),this.carousel=K.findOne(".carousel",this.element),this.carouselPager=K.findOne(".carousel-pager span",this.element),this.carouselStartIndex=t.getAttribute("data-gallery-start"),this.carouselActiveItem=K.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=K.findOne(".modal",this.element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(t){const e=K.findOne(".carousel-item.active",this.carousel),s=t.relatedTarget;this.carouselLazyLoad(s),this.carouselPager.textContent=t.to+1,this.stopVideo(e)}stopSlide(){const t=K.findOne(".carousel-item.active",this.carousel);this.stopVideo(t)}stopVideo(t){const e=K.findOne("iframe",t),s=K.findOne("video",t);e?e.src=e.dataset.src:s&&s.pause()}carouselLazyLoad(t){const e=K.findOne("[data-src]",t);e&&!e.src&&(e.src=e.dataset.src)}addEventListeners(){P.on(this.carousel,"slide.bs.carousel",(t=>this.setSlide(t))),P.on(this.modal,"hide.bs.modal",(t=>this.stopSlide(t)))}static get Default(){return pt}static jQueryInterface(t){return this.each((function(){const e=mt.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,"click.bs.gallery.data-api",".bcl-gallery__grid a, .bcl-gallery__mobile-view-more",(t=>{const e=t.target.closest("div.bcl-gallery"),s=t.target.parentNode.getAttribute("data-bs-slide-to");e.dataset.galleryStart=s,mt.getOrCreateInstance(e)})),f(mt);class bt{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"padding-right",(e=>e+t)),this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","padding-right",(e=>e+t)),this._setElementAttributes(".sticky-top","margin-right",(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"padding-right"),this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","padding-right"),this._resetElementAttributes(".sticky-top","margin-right")}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,s){const i=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+i)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${s(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(t,e){const s=t.style.getPropertyValue(e);s&&H.setDataAttribute(t,e,s)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const s=H.getDataAttribute(t,e);null!==s?(H.removeDataAttribute(t,e),t.style.setProperty(e,s)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(o(t))e(t);else for(const s of K.find(t,this._element))e(s)}}const vt={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},yt={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class wt extends q{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return vt}static get DefaultType(){return yt}static get NAME(){return"backdrop"}show(t){if(!this._config.isVisible)return void p(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add("show"),this._emulateAnimation((()=>{p(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation((()=>{this.dispose(),p(t)}))):p(t)}dispose(){this._isAppended&&(P.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=r(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),P.on(t,"mousedown.bs.backdrop",(()=>{p(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){m(t,this._getElement(),this._config.isAnimated)}}const At={autofocus:!0,trapElement:null},Et={autofocus:"boolean",trapElement:"element"};class Ct extends q{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return At}static get DefaultType(){return Et}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),P.off(document,".bs.focustrap"),P.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),P.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,P.off(document,".bs.focustrap"))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const s=K.focusableChildren(e);0===s.length?e.focus():"backward"===this._lastTabNavDirection?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?"backward":"forward")}}const Tt={backdrop:!0,focus:!0,keyboard:!0},kt={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Lt extends B{constructor(t,e){super(t,e),this._dialog=K.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new bt,this._addEventListeners()}static get Default(){return Tt}static get DefaultType(){return kt}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||P.trigger(this._element,"show.bs.modal",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(P.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const t of[window,this._dialog])P.off(t,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ct({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=K.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add("show"),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,P.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.modal",(t=>{if("Escape"===t.key)return this._config.keyboard?(t.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),P.on(window,"resize.bs.modal",(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),P.on(this._element,"mousedown.dismiss.bs.modal",(t=>{t.target===t.currentTarget&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,"hidden.bs.modal")}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains("modal-static")||(t||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static"),this._queueCallback((()=>{this._element.classList.remove("modal-static"),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),s=e>0;if(s&&!t){const t=_()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!s&&t){const t=_()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const s=Lt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===s[t])throw new TypeError(`No method named "${t}"`);s[t](e)}}))}}P.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=i(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),P.one(e,"show.bs.modal",(t=>{t.defaultPrevented||P.one(e,"hidden.bs.modal",(()=>{a(this)&&this.focus()}))}));const s=K.findOne(".modal.show");s&&Lt.getInstance(s).hide(),Lt.getOrCreateInstance(e).toggle(this)})),W(Lt),f(Lt);const It={backdrop:!0,keyboard:!0,scroll:!1},Ot={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class St extends B{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return It}static get DefaultType(){return Ot}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||P.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new bt).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("showing"),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove("showing"),P.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(P.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new bt).reset(),P.trigger(this._element,"hidden.bs.offcanvas")}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new wt({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():P.trigger(this._element,"hidePrevented.bs.offcanvas")}:null})}_initializeFocusTrap(){return new Ct({trapElement:this._element})}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():P.trigger(this._element,"hidePrevented.bs.offcanvas"))}))}static jQueryInterface(t){return this.each((function(){const e=St.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=i(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;P.one(e,"hidden.bs.offcanvas",(()=>{a(this)&&this.focus()}));const s=K.findOne(".offcanvas.show");s&&s!==e&&St.getInstance(s).hide(),St.getOrCreateInstance(e).toggle(this)})),P.on(window,"load.bs.offcanvas.data-api",(()=>{for(const t of K.find(".offcanvas.show"))St.getOrCreateInstance(t).show()})),P.on(window,"resize.bs.offcanvas",(()=>{for(const t of K.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&St.getOrCreateInstance(t).hide()})),W(St),f(St);const Nt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Dt=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,xt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Pt=(t,e)=>{const s=t.nodeName.toLowerCase();return e.includes(s)?!Nt.has(s)||Boolean(Dt.test(t.nodeValue)||xt.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(s)))},Mt={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},jt={allowList:Mt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},$t={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ft={entry:"(string|element|function|null)",selector:"(string|element)"};class zt extends q{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return jt}static get DefaultType(){return $t}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,s]of Object.entries(this._config.content))this._setContent(t,s,e);const e=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&e.classList.add(...s.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,s]of Object.entries(t))super._typeCheckConfig({selector:e,entry:s},Ft)}_setContent(t,e,s){const i=K.findOne(s,t);i&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,s){if(!t.length)return t;if(s&&"function"==typeof s)return s(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...i.body.querySelectorAll("*"));for(const t of n){const s=t.nodeName.toLowerCase();if(!Object.keys(e).includes(s)){t.remove();continue}const i=[].concat(...t.attributes),n=[].concat(e["*"]||[],e[s]||[]);for(const e of i)Pt(e,n)||t.removeAttribute(e.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Ht=new Set(["sanitize","allowList","sanitizeFn"]),qt={AUTO:"auto",TOP:"top",RIGHT:_()?"left":"right",BOTTOM:"bottom",LEFT:_()?"right":"left"},Bt={allowList:Mt,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Wt={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Rt extends B{constructor(e,s){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,s),this._isEnabled=!0,this._timeout=0,this._isHovered=!1,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners()}static get Default(){return Bt}static get DefaultType(){return Wt}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled){if(t){const e=this._initializeOnDelegatedTarget(t);return e._activeTrigger.click=!e._activeTrigger.click,void(e._isWithActiveTrigger()?e._enter():e._leave())}this._isShown()?this._leave():this._enter()}}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=P.trigger(this._element,this.constructor.eventName("show")),e=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this.tip&&(this.tip.remove(),this.tip=null);const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),P.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(s),s.classList.add("show"),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.on(t,"mouseover",h);this._queueCallback((()=>{const t=this._isHovered;this._isHovered=!1,P.trigger(this._element,this.constructor.eventName("shown")),t&&this._leave()}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(P.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const t=this._getTipElement();if(t.classList.remove("show"),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=!1,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||t.remove(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove("fade","show"),e.classList.add(`bs-${this.constructor.NAME}-auto`);const s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",s),this._isAnimated()&&e.classList.add("fade"),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new zt({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._config.originalTitle}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains("fade")}_isShown(){return this.tip&&this.tip.classList.contains("show")}_createPopper(e){const s="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,i=qt[s.toUpperCase()];return t.createPopper(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)P.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>this.toggle(t)));else if("manual"!==e){const t="hover"===e?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),s="hover"===e?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");P.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0,e._enter()})),P.on(this._element,s,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?"focus":"hover"]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._config.originalTitle;t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=H.getDataAttributes(this._element);for(const t of Object.keys(e))Ht.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.originalTitle=this._element.getAttribute("title")||"","number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=Rt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}f(Rt);const Vt={...Rt.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Kt={...Rt.DefaultType,content:"(null|string|element|function)"};class Qt extends Rt{static get Default(){return Vt}static get DefaultType(){return Kt}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=Qt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}f(Qt);const Xt={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null},Yt={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element"};class Ut extends B{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Xt}static get DefaultType(){return Yt}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=r(t.target)||document.body,t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(P.off(this._config.target,"click.bs.scrollspy"),P.on(this._config.target,"click.bs.scrollspy","[href]",(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const s=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(s.scrollTo)return void s.scrollTo({top:i,behavior:"smooth"});s.scrollTop=i}})))}_getNewObserver(){const t={root:this._rootElement,threshold:[.1,.5,1],rootMargin:this._getRootMargin()};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),s=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},i=(this._rootElement||document.documentElement).scrollTop,n=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&t){if(s(o),!i)return}else n||t||s(o)}}_getRootMargin(){return this._config.offset?`${this._config.offset}px 0px -30%`:this._config.rootMargin}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=K.find("[href]",this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=K.findOne(e.hash,this._element);a(t)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add("active"),this._activateParents(t),P.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))K.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add("active");else for(const e of K.parents(t,".nav, .list-group"))for(const t of K.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))t.classList.add("active")}_clearActiveClass(t){t.classList.remove("active");const e=K.find("[href].active",t);for(const t of e)t.classList.remove("active")}static jQueryInterface(t){return this.each((function(){const e=Ut.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(window,"load.bs.scrollspy.data-api",(()=>{for(const t of K.find('[data-bs-spy="scroll"]'))Ut.getOrCreateInstance(t)})),f(Ut);const Gt="ArrowLeft",Jt="ArrowRight",Zt="ArrowUp",te="ArrowDown",ee='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',se=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${ee}`;class ie extends B{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),P.on(this._element,"keydown.bs.tab",(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),s=e?P.trigger(e,"hide.bs.tab",{relatedTarget:t}):null;P.trigger(t,"show.bs.tab",{relatedTarget:e}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add("active"),this._activate(i(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.focus(),t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),P.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add("show")}),t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove("active"),t.blur(),this._deactivate(i(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),P.trigger(t,"hidden.bs.tab",{relatedTarget:e})):t.classList.remove("show")}),t,t.classList.contains("fade")))}_keydown(t){if(![Gt,Jt,Zt,te].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[Jt,te].includes(t.key),s=b(this._getChildren().filter((t=>!l(t))),t.target,e,!0);s&&ie.getOrCreateInstance(s).show()}_getChildren(){return K.find(se,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",e),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=i(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,e){const s=this._getOuterElement(t);if(!s.classList.contains("dropdown"))return;const i=(t,i)=>{const n=K.findOne(t,s);n&&n.classList.toggle(i,e)};i(".dropdown-toggle","active"),i(".dropdown-menu","show"),i(".dropdown-item","active"),s.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,s){t.hasAttribute(e)||t.setAttribute(e,s)}_elemIsActive(t){return t.classList.contains("active")}_getInnerElement(t){return t.matches(se)?t:K.findOne(se,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=ie.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(document,"click.bs.tab",ee,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||ie.getOrCreateInstance(this).show()})),P.on(window,"load.bs.tab",(()=>{for(const t of K.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))ie.getOrCreateInstance(t)})),f(ie);const ne={animation:"boolean",autohide:"boolean",delay:"number"},oe={animation:!0,autohide:!0,delay:5e3};class re extends B{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return oe}static get DefaultType(){return ne}static get NAME(){return"toast"}show(){P.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),d(this._element),this._element.classList.add("show","showing"),this._queueCallback((()=>{this._element.classList.remove("showing"),P.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(P.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add("showing"),this._queueCallback((()=>{this._element.classList.add("hide"),this._element.classList.remove("showing","show"),P.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove("show"),super.dispose()}isShown(){return this._element.classList.contains("show")}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),P.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=re.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(re),f(re);export{R as Alert,V as Button,Z as Carousel,st as Collapse,ft as Dropdown,mt as Gallery,Lt as Modal,St as Offcanvas,Qt as Popover,Ut as ScrollSpy,ie as Tab,re as Toast,Rt as Tooltip};
|
|
1
|
+
import*as t from"@popperjs/core";const e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let s=t.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),e=s&&"#"!==s?s.trim():null}return e},s=t=>{const s=e(t);return s&&document.querySelector(s)?s:null},i=t=>{const s=e(t);return s?document.querySelector(s):null},n=t=>{t.dispatchEvent(new Event("transitionend"))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=t=>{if(!o(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),s=t.closest("details:not([open])");if(!s)return e;if(s!==t){const e=t.closest("summary");if(e&&e.parentNode!==s)return!1;if(null===e)return!1}return e},l=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),c=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c(t.parentNode):null},h=()=>{},d=t=>{t.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,g=[],_=()=>"rtl"===document.documentElement.dir,f=t=>{var e;e=()=>{const e=u();if(e){const s=t.NAME,i=e.fn[s];e.fn[s]=t.jQueryInterface,e.fn[s].Constructor=t,e.fn[s].noConflict=()=>(e.fn[s]=i,t.jQueryInterface)}},"loading"===document.readyState?(g.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of g)t()})),g.push(e)):e()},p=t=>{"function"==typeof t&&t()},m=(t,e,s=!0)=>{if(!s)return void p(t);const i=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:s}=window.getComputedStyle(t);const i=Number.parseFloat(e),n=Number.parseFloat(s);return i||n?(e=e.split(",")[0],s=s.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(s))):0})(e)+5;let o=!1;const r=({target:s})=>{s===e&&(o=!0,e.removeEventListener("transitionend",r),p(t))};e.addEventListener("transitionend",r),setTimeout((()=>{o||n(e)}),i)},b=(t,e,s,i)=>{const n=t.length;let o=t.indexOf(e);return-1===o?!s&&i?t[n-1]:t[0]:(o+=s?1:-1,i&&(o=(o+n)%n),t[Math.max(0,Math.min(o,n-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,A={};let E=1;const C={mouseenter:"mouseover",mouseleave:"mouseout"},T=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function k(t,e){return e&&`${e}::${E++}`||t.uidEvent||E++}function L(t){const e=k(t);return t.uidEvent=e,A[e]=A[e]||{},A[e]}function I(t,e,s=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===s))}function O(t,e,s){const i="string"==typeof e,n=i?s:e||s;let o=x(t);return T.has(o)||(o=t),[i,n,o]}function S(t,e,s,i,n){if("string"!=typeof e||!t)return;let[o,r,a]=O(e,s,i);if(e in C){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=L(t),c=l[a]||(l[a]={}),h=I(c,r,o?s:null);if(h)return void(h.oneOff=h.oneOff&&n);const d=k(r,e.replace(v,"")),u=o?function(t,e,s){return function i(n){const o=t.querySelectorAll(e);for(let{target:r}=n;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return M(n,{delegateTarget:r}),i.oneOff&&P.off(t,n.type,e,s),s.apply(r,[n])}}(t,s,r):function(t,e){return function s(i){return M(i,{delegateTarget:t}),s.oneOff&&P.off(t,i.type,e),e.apply(t,[i])}}(t,r);u.delegationSelector=o?s:null,u.callable=r,u.oneOff=n,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function N(t,e,s,i,n){const o=I(e[s],i,n);o&&(t.removeEventListener(s,o,Boolean(n)),delete e[s][o.uidEvent])}function D(t,e,s,i){const n=e[s]||{};for(const o of Object.keys(n))if(o.includes(i)){const i=n[o];N(t,e,s,i.callable,i.delegationSelector)}}function x(t){return t=t.replace(y,""),C[t]||t}const P={on(t,e,s,i){S(t,e,s,i,!1)},one(t,e,s,i){S(t,e,s,i,!0)},off(t,e,s,i){if("string"!=typeof e||!t)return;const[n,o,r]=O(e,s,i),a=r!==e,l=L(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const s of Object.keys(l))D(t,l,s,e.slice(1));for(const s of Object.keys(c)){const i=s.replace(w,"");if(!a||e.includes(i)){const e=c[s];N(t,l,r,e.callable,e.delegationSelector)}}}else{if(!Object.keys(c).length)return;N(t,l,r,o,n?s:null)}},trigger(t,e,s){if("string"!=typeof e||!t)return null;const i=u();let n=null,o=!0,r=!0,a=!1;e!==x(e)&&i&&(n=i.Event(e,s),i(t).trigger(n),o=!n.isPropagationStopped(),r=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());let l=new Event(e,{bubbles:o,cancelable:!0});return l=M(l,s),a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function M(t,e){for(const[s,i]of Object.entries(e||{}))try{t[s]=i}catch{Object.defineProperty(t,s,{configurable:!0,get:()=>i})}return t}const j=new Map;var $={set(t,e,s){j.has(t)||j.set(t,new Map);const i=j.get(t);i.has(e)||0===i.size?i.set(e,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,e)=>j.has(t)&&j.get(t).get(e)||null,remove(t,e){if(!j.has(t))return;const s=j.get(t);s.delete(e),0===s.size&&j.delete(t)}};function F(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function z(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const H={setDataAttribute(t,e,s){t.setAttribute(`data-bs-${z(e)}`,s)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${z(e)}`)},getDataAttributes(t){if(!t)return{};const e={},s=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const i of s){let s=i.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=F(t.dataset[i])}return e},getDataAttribute:(t,e)=>F(t.getAttribute(`data-bs-${z(e)}`))};class q{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const s=o(e)?H.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof s?s:{},...o(e)?H.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const i of Object.keys(e)){const n=e[i],r=t[i],a=o(r)?"element":null==(s=r)?`${s}`:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${a}" but expected type "${n}".`)}var s}}class B extends q{constructor(t,e){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(e),$.set(this._element,this.constructor.DATA_KEY,this))}dispose(){$.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,s=!0){m(t,e,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return $.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const W=(t,e="hide")=>{const s=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;P.on(document,s,`[data-bs-dismiss="${n}"]`,(function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),l(this))return;const o=i(this)||this.closest(`.${n}`);t.getOrCreateInstance(o)[e]()}))};class R extends B{static get NAME(){return"alert"}close(){if(P.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),P.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=R.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(R,"close"),f(R);class V extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=V.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}P.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',(t=>{t.preventDefault();const e=t.target.closest('[data-bs-toggle="button"]');V.getOrCreateInstance(e).toggle()})),f(V);const K={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const s=[];let i=t.parentNode.closest(e);for(;i;)s.push(i),i=i.parentNode.closest(e);return s},prev(t,e){let s=t.previousElementSibling;for(;s;){if(s.matches(e))return[s];s=s.previousElementSibling}return[]},next(t,e){let s=t.nextElementSibling;for(;s;){if(s.matches(e))return[s];s=s.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!l(t)&&a(t)))}},Q={endCallback:null,leftCallback:null,rightCallback:null},X={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Y extends q{constructor(t,e){super(),this._element=t,t&&Y.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Q}static get DefaultType(){return X}static get NAME(){return"swipe"}dispose(){P.off(this._element,".bs.swipe")}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),p(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&p(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(P.on(this._element,"pointerdown.bs.swipe",(t=>this._start(t))),P.on(this._element,"pointerup.bs.swipe",(t=>this._end(t))),this._element.classList.add("pointer-event")):(P.on(this._element,"touchstart.bs.swipe",(t=>this._start(t))),P.on(this._element,"touchmove.bs.swipe",(t=>this._move(t))),P.on(this._element,"touchend.bs.swipe",(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const U={ArrowLeft:"right",ArrowRight:"left"},G={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},J={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Z extends B{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=K.findOne(".carousel-indicators",this._element),this._addEventListeners(),"carousel"===this._config.ride&&this.cycle()}static get Default(){return G}static get DefaultType(){return J}static get NAME(){return"carousel"}next(){this._slide("next")}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide("prev")}pause(){this._isSliding&&n(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?P.one(this._element,"slid.bs.carousel",(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void P.one(this._element,"slid.bs.carousel",(()=>this.to(t)));const s=this._getItemIndex(this._getActive());if(s===t)return;const i=t>s?"next":"prev";this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&P.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(P.on(this._element,"mouseenter.bs.carousel",(()=>this.pause())),P.on(this._element,"mouseleave.bs.carousel",(()=>this._maybeEnableCycle()))),this._config.touch&&Y.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of K.find(".carousel-item img",this._element))P.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder("left")),rightCallback:()=>this._slide(this._directionToOrder("right")),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Y(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=U[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=K.findOne(".active",this._indicatorsElement);e.classList.remove("active"),e.removeAttribute("aria-current");const s=K.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add("active"),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const s=this._getActive(),i="next"===t,n=e||b(this._getItems(),s,i,this._config.wrap);if(n===s)return;const o=this._getItemIndex(n),r=e=>P.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(r("slide.bs.carousel").defaultPrevented)return;if(!s||!n)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=n;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";n.classList.add(c),d(n),s.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add("active"),s.classList.remove("active",c,l),this._isSliding=!1,r("slid.bs.carousel")}),s,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return K.findOne(".active.carousel-item",this._element)}_getItems(){return K.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return _()?"left"===t?"prev":"next":"left"===t?"next":"prev"}_orderToDirection(t){return _()?"prev"===t?"left":"right":"prev"===t?"right":"left"}static jQueryInterface(t){return this.each((function(){const e=Z.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}P.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(t){const e=i(this);if(!e||!e.classList.contains("carousel"))return;t.preventDefault();const s=Z.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(s.to(n),void s._maybeEnableCycle()):"next"===H.getDataAttribute(this,"slide")?(s.next(),void s._maybeEnableCycle()):(s.prev(),void s._maybeEnableCycle())})),P.on(window,"load.bs.carousel.data-api",(()=>{const t=K.find('[data-bs-ride="carousel"]');for(const e of t)Z.getOrCreateInstance(e)})),f(Z);const tt={parent:null,toggle:!0},et={parent:"(null|element)",toggle:"boolean"};class st extends B{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=K.find('[data-bs-toggle="collapse"]');for(const t of i){const e=s(t),i=K.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return tt}static get DefaultType(){return et}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>st.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(P.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[e]="",P.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[e]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(P.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");for(const t of this._triggerArray){const e=i(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),P.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains("show")}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=r(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren('[data-bs-toggle="collapse"]');for(const e of t){const t=i(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=K.find(":scope .collapse .collapse",this._config.parent);return K.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const s of t)s.classList.toggle("collapsed",!e),s.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const s=st.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===s[t])throw new TypeError(`No method named "${t}"`);s[t]()}}))}}P.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=s(this),i=K.find(e);for(const t of i)st.getOrCreateInstance(t,{toggle:!1}).toggle()})),f(st);const it="ArrowUp",nt="ArrowDown",ot='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',rt=`${ot}.show`,at=_()?"top-end":"top-start",lt=_()?"top-start":"top-end",ct=_()?"bottom-end":"bottom-start",ht=_()?"bottom-start":"bottom-end",dt=_()?"left-start":"right-start",ut=_()?"right-start":"left-start",gt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},_t={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ft extends B{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=K.next(this._element,".dropdown-menu")[0]||K.prev(this._element,".dropdown-menu")[0],this._inNavbar=this._detectNavbar()}static get Default(){return gt}static get DefaultType(){return _t}static get NAME(){return"dropdown"}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!P.trigger(this._element,"show.bs.dropdown",t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))P.on(t,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add("show"),this._element.classList.add("show"),P.trigger(this._element,"shown.bs.dropdown",t)}}hide(){if(l(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!P.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),H.removeDataAttribute(this._menu,"popper"),P.trigger(this._element,"hidden.bs.dropdown",t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${"dropdown".toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const s=this._getPopperConfig();this._popper=t.createPopper(e,this._menu,s)}_isShown(){return this._menu.classList.contains("show")}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return dt;if(t.classList.contains("dropstart"))return ut;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?lt:at:e?ht:ct}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(H.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const s=K.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));s.length&&b(s,e,t===nt,!s.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ft.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=K.find(rt);for(const s of e){const e=ft.getInstance(s);if(!e||!1===e._config.autoClose)continue;const i=t.composedPath(),n=i.includes(e._menu);if(i.includes(e._element)||"inside"===e._config.autoClose&&!n||"outside"===e._config.autoClose&&n)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),s="Escape"===t.key,i=[it,nt].includes(t.key);if(!i&&!s)return;if(e&&!s)return;t.preventDefault();const n=this.matches(ot)?this:K.prev(this,ot)[0]||K.next(this,ot)[0],o=ft.getOrCreateInstance(n);if(i)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),n.focus())}}P.on(document,"keydown.bs.dropdown.data-api",ot,ft.dataApiKeydownHandler),P.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",ft.dataApiKeydownHandler),P.on(document,"click.bs.dropdown.data-api",ft.clearMenus),P.on(document,"keyup.bs.dropdown.data-api",ft.clearMenus),P.on(document,"click.bs.dropdown.data-api",ot,(function(t){t.preventDefault(),ft.getOrCreateInstance(this).toggle()})),f(ft);const pt={};class mt extends B{constructor(t,e){super(t,e),this.carousel=K.findOne(".carousel",this.element),this.carouselPager=K.findOne(".carousel-pager span",this.element),this.carouselStartIndex=t.getAttribute("data-gallery-start"),this.carouselActiveItem=K.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=K.findOne(".modal",this.element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(t){const e=K.findOne(".carousel-item.active",this.carousel),s=t.relatedTarget;this.carouselLazyLoad(s),this.carouselPager.textContent=t.to+1,this.stopVideo(e)}stopSlide(){const t=K.findOne(".carousel-item.active",this.carousel);this.stopVideo(t)}stopVideo(t){const e=K.findOne("iframe",t),s=K.findOne("video",t);e?e.src=e.dataset.src:s&&s.pause()}carouselLazyLoad(t){const e=K.findOne("[data-src]",t);e&&!e.src&&(e.src=e.dataset.src)}addEventListeners(){P.on(this.carousel,"slide.bs.carousel",(t=>this.setSlide(t))),P.on(this.modal,"hide.bs.modal",(t=>this.stopSlide(t)))}static get Default(){return pt}static jQueryInterface(t){return this.each((function(){const e=mt.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,"click.bs.gallery.data-api",".bcl-gallery__grid a, .bcl-gallery__mobile-view-more",(t=>{const e=t.target.closest("div.bcl-gallery"),s=t.target.parentNode.getAttribute("data-bs-slide-to");e.dataset.galleryStart=s,mt.getOrCreateInstance(e)})),f(mt);class bt{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"padding-right",(e=>e+t)),this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","padding-right",(e=>e+t)),this._setElementAttributes(".sticky-top","margin-right",(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"padding-right"),this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","padding-right"),this._resetElementAttributes(".sticky-top","margin-right")}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,s){const i=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+i)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${s(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(t,e){const s=t.style.getPropertyValue(e);s&&H.setDataAttribute(t,e,s)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const s=H.getDataAttribute(t,e);null!==s?(H.removeDataAttribute(t,e),t.style.setProperty(e,s)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(o(t))e(t);else for(const s of K.find(t,this._element))e(s)}}const vt={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},yt={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class wt extends q{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return vt}static get DefaultType(){return yt}static get NAME(){return"backdrop"}show(t){if(!this._config.isVisible)return void p(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add("show"),this._emulateAnimation((()=>{p(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation((()=>{this.dispose(),p(t)}))):p(t)}dispose(){this._isAppended&&(P.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=r(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),P.on(t,"mousedown.bs.backdrop",(()=>{p(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){m(t,this._getElement(),this._config.isAnimated)}}const At={autofocus:!0,trapElement:null},Et={autofocus:"boolean",trapElement:"element"};class Ct extends q{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return At}static get DefaultType(){return Et}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),P.off(document,".bs.focustrap"),P.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),P.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,P.off(document,".bs.focustrap"))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const s=K.focusableChildren(e);0===s.length?e.focus():"backward"===this._lastTabNavDirection?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?"backward":"forward")}}const Tt={backdrop:!0,focus:!0,keyboard:!0},kt={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Lt extends B{constructor(t,e){super(t,e),this._dialog=K.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new bt,this._addEventListeners()}static get Default(){return Tt}static get DefaultType(){return kt}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||P.trigger(this._element,"show.bs.modal",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(P.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const t of[window,this._dialog])P.off(t,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ct({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=K.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add("show"),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,P.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.modal",(t=>{if("Escape"===t.key)return this._config.keyboard?(t.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),P.on(window,"resize.bs.modal",(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),P.on(this._element,"mousedown.dismiss.bs.modal",(t=>{P.one(this._element,"click.dismiss.bs.modal",(e=>{this._dialog.contains(t.target)||this._dialog.contains(e.target)||("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,"hidden.bs.modal")}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains("modal-static")||(t||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static"),this._queueCallback((()=>{this._element.classList.remove("modal-static"),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),s=e>0;if(s&&!t){const t=_()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!s&&t){const t=_()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const s=Lt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===s[t])throw new TypeError(`No method named "${t}"`);s[t](e)}}))}}P.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=i(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),P.one(e,"show.bs.modal",(t=>{t.defaultPrevented||P.one(e,"hidden.bs.modal",(()=>{a(this)&&this.focus()}))}));const s=K.findOne(".modal.show");s&&Lt.getInstance(s).hide(),Lt.getOrCreateInstance(e).toggle(this)})),W(Lt),f(Lt);const It={backdrop:!0,keyboard:!0,scroll:!1},Ot={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class St extends B{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return It}static get DefaultType(){return Ot}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||P.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new bt).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("showing"),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove("showing"),P.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(P.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new bt).reset(),P.trigger(this._element,"hidden.bs.offcanvas")}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new wt({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():P.trigger(this._element,"hidePrevented.bs.offcanvas")}:null})}_initializeFocusTrap(){return new Ct({trapElement:this._element})}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():P.trigger(this._element,"hidePrevented.bs.offcanvas"))}))}static jQueryInterface(t){return this.each((function(){const e=St.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=i(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;P.one(e,"hidden.bs.offcanvas",(()=>{a(this)&&this.focus()}));const s=K.findOne(".offcanvas.show");s&&s!==e&&St.getInstance(s).hide(),St.getOrCreateInstance(e).toggle(this)})),P.on(window,"load.bs.offcanvas.data-api",(()=>{for(const t of K.find(".offcanvas.show"))St.getOrCreateInstance(t).show()})),P.on(window,"resize.bs.offcanvas",(()=>{for(const t of K.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&St.getOrCreateInstance(t).hide()})),W(St),f(St);const Nt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Dt=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,xt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Pt=(t,e)=>{const s=t.nodeName.toLowerCase();return e.includes(s)?!Nt.has(s)||Boolean(Dt.test(t.nodeValue)||xt.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(s)))},Mt={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},jt={allowList:Mt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},$t={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ft={entry:"(string|element|function|null)",selector:"(string|element)"};class zt extends q{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return jt}static get DefaultType(){return $t}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,s]of Object.entries(this._config.content))this._setContent(t,s,e);const e=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&e.classList.add(...s.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,s]of Object.entries(t))super._typeCheckConfig({selector:e,entry:s},Ft)}_setContent(t,e,s){const i=K.findOne(s,t);i&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,s){if(!t.length)return t;if(s&&"function"==typeof s)return s(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...i.body.querySelectorAll("*"));for(const t of n){const s=t.nodeName.toLowerCase();if(!Object.keys(e).includes(s)){t.remove();continue}const i=[].concat(...t.attributes),n=[].concat(e["*"]||[],e[s]||[]);for(const e of i)Pt(e,n)||t.removeAttribute(e.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Ht=new Set(["sanitize","allowList","sanitizeFn"]),qt={AUTO:"auto",TOP:"top",RIGHT:_()?"left":"right",BOTTOM:"bottom",LEFT:_()?"right":"left"},Bt={allowList:Mt,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Wt={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Rt extends B{constructor(e,s){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,s),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners()}static get Default(){return Bt}static get DefaultType(){return Wt}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled){if(t){const e=this._initializeOnDelegatedTarget(t);return e._activeTrigger.click=!e._activeTrigger.click,void(e._isWithActiveTrigger()?e._enter():e._leave())}this._isShown()?this._leave():this._enter()}}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.remove(),this._config.originalTitle&&this._element.setAttribute("title",this._config.originalTitle),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=P.trigger(this._element,this.constructor.eventName("show")),e=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this.tip&&(this.tip.remove(),this.tip=null);const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),P.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(s),s.classList.add("show"),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.on(t,"mouseover",h);this._queueCallback((()=>{P.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(P.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const t=this._getTipElement();if(t.classList.remove("show"),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||t.remove(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove("fade","show"),e.classList.add(`bs-${this.constructor.NAME}-auto`);const s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",s),this._isAnimated()&&e.classList.add("fade"),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new zt({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._config.originalTitle}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains("fade")}_isShown(){return this.tip&&this.tip.classList.contains("show")}_createPopper(e){const s="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,i=qt[s.toUpperCase()];return t.createPopper(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)P.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>this.toggle(t)));else if("manual"!==e){const t="hover"===e?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),s="hover"===e?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");P.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0,e._enter()})),P.on(this._element,s,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?"focus":"hover"]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._config.originalTitle;t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=H.getDataAttributes(this._element);for(const t of Object.keys(e))Ht.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.originalTitle=this._element.getAttribute("title")||"","number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=Rt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}f(Rt);const Vt={...Rt.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Kt={...Rt.DefaultType,content:"(null|string|element|function)"};class Qt extends Rt{static get Default(){return Vt}static get DefaultType(){return Kt}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=Qt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}f(Qt);const Xt={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Yt={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ut extends B{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Xt}static get DefaultType(){return Yt}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=r(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(P.off(this._config.target,"click.bs.scrollspy"),P.on(this._config.target,"click.bs.scrollspy","[href]",(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const s=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(s.scrollTo)return void s.scrollTo({top:i,behavior:"smooth"});s.scrollTop=i}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),s=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},i=(this._rootElement||document.documentElement).scrollTop,n=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&t){if(s(o),!i)return}else n||t||s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=K.find("[href]",this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=K.findOne(e.hash,this._element);a(t)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add("active"),this._activateParents(t),P.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))K.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add("active");else for(const e of K.parents(t,".nav, .list-group"))for(const t of K.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))t.classList.add("active")}_clearActiveClass(t){t.classList.remove("active");const e=K.find("[href].active",t);for(const t of e)t.classList.remove("active")}static jQueryInterface(t){return this.each((function(){const e=Ut.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(window,"load.bs.scrollspy.data-api",(()=>{for(const t of K.find('[data-bs-spy="scroll"]'))Ut.getOrCreateInstance(t)})),f(Ut);const Gt="ArrowLeft",Jt="ArrowRight",Zt="ArrowUp",te="ArrowDown",ee='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',se=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${ee}`;class ie extends B{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),P.on(this._element,"keydown.bs.tab",(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),s=e?P.trigger(e,"hide.bs.tab",{relatedTarget:t}):null;P.trigger(t,"show.bs.tab",{relatedTarget:e}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add("active"),this._activate(i(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.focus(),t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),P.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add("show")}),t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove("active"),t.blur(),this._deactivate(i(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),P.trigger(t,"hidden.bs.tab",{relatedTarget:e})):t.classList.remove("show")}),t,t.classList.contains("fade")))}_keydown(t){if(![Gt,Jt,Zt,te].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[Jt,te].includes(t.key),s=b(this._getChildren().filter((t=>!l(t))),t.target,e,!0);s&&ie.getOrCreateInstance(s).show()}_getChildren(){return K.find(se,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",e),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=i(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,e){const s=this._getOuterElement(t);if(!s.classList.contains("dropdown"))return;const i=(t,i)=>{const n=K.findOne(t,s);n&&n.classList.toggle(i,e)};i(".dropdown-toggle","active"),i(".dropdown-menu","show"),i(".dropdown-item","active"),s.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,s){t.hasAttribute(e)||t.setAttribute(e,s)}_elemIsActive(t){return t.classList.contains("active")}_getInnerElement(t){return t.matches(se)?t:K.findOne(se,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=ie.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(document,"click.bs.tab",ee,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||ie.getOrCreateInstance(this).show()})),P.on(window,"load.bs.tab",(()=>{for(const t of K.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))ie.getOrCreateInstance(t)})),f(ie);const ne={animation:"boolean",autohide:"boolean",delay:"number"},oe={animation:!0,autohide:!0,delay:5e3};class re extends B{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return oe}static get DefaultType(){return ne}static get NAME(){return"toast"}show(){P.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),d(this._element),this._element.classList.add("show","showing"),this._queueCallback((()=>{this._element.classList.remove("showing"),P.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(P.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add("showing"),this._queueCallback((()=>{this._element.classList.add("hide"),this._element.classList.remove("showing","show"),P.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove("show"),super.dispose()}isShown(){return this._element.classList.contains("show")}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),P.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=re.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(re),f(re);export{R as Alert,V as Button,Z as Carousel,st as Collapse,ft as Dropdown,mt as Gallery,Lt as Modal,St as Offcanvas,Qt as Popover,Ut as ScrollSpy,ie as Tab,re as Toast,Rt as Tooltip};
|
|
2
2
|
//# sourceMappingURL=oe-bcl-joinup.esm.min.js.map
|