@ebrains/vue 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/color-primary-palette_6.entry-CemzaBr-.js +1 -0
- package/{color-primary-palette_6.entry-DT6y6FEy.mjs → color-primary-palette_6.entry-DJbAbsZz.mjs} +17 -17
- package/{components-section.entry-DUk1tQHE.js → components-section.entry-BajIK00d.js} +3 -6
- package/{components-section.entry-yX3kMkgT.mjs → components-section.entry-S_7QkEcP.mjs} +5 -10
- package/{correct-use-of-colors.entry-B8pPJm38.js → correct-use-of-colors.entry-BN9cex32.js} +1 -1
- package/{correct-use-of-colors.entry-qD6fSpYF.mjs → correct-use-of-colors.entry-BvTTnnKN.mjs} +2 -2
- package/{docs-palettes.entry-BMNsh6gh.js → docs-palettes.entry-CITJl0U4.js} +1 -1
- package/{docs-palettes.entry-M87-ULxr.mjs → docs-palettes.entry-s3Fup9Z9.mjs} +2 -2
- package/{docs-tokens.entry-DTMTLW6z.mjs → docs-tokens.entry-B9XQjEYe.mjs} +2 -2
- package/{docs-tokens.entry-CjGpfZ1N.js → docs-tokens.entry-D_HVS-pS.js} +1 -1
- package/download-47746956-CSto0o7c.mjs +19 -0
- package/download-47746956-DbC-y8R6.js +16 -0
- package/{eds-accordion_33.entry-CH6A78x3.mjs → eds-accordion_34.entry-KgOmCv2f.mjs} +364 -323
- package/{eds-accordion_33.entry-_Zc7vKFf.js → eds-accordion_34.entry-RT_JckFi.js} +18 -14
- package/eds-app-root.entry-CrY-WJje.mjs +25 -0
- package/eds-app-root.entry-DVCAcXjR.js +1 -0
- package/{eds-card-desc_2.entry-YL4OVWD3.mjs → eds-card-desc_2.entry-CdMizUC4.mjs} +1 -1
- package/{eds-card-desc_2.entry-D5GUottX.js → eds-card-desc_2.entry-Cxtd5Tn6.js} +1 -1
- package/{eds-card-generic.entry-Chm2AUtp.mjs → eds-card-generic.entry-08ANuvX4.mjs} +1 -1
- package/{eds-card-generic.entry-Diq4dtrs.js → eds-card-generic.entry-DYbxznji.js} +1 -1
- package/{eds-card-project.entry-CPqHqPOm.mjs → eds-card-project.entry-BBTWsiFq.mjs} +1 -1
- package/{eds-card-project.entry-JFVjbS0l.js → eds-card-project.entry-Bol9vgX7.js} +1 -1
- package/{eds-card-section.entry-DpMTJ8Kn.mjs → eds-card-section.entry-Bah4uso0.mjs} +1 -1
- package/{eds-card-section.entry-JZFsrwn5.js → eds-card-section.entry-Bfvxz5QB.js} +1 -1
- package/{eds-card-tags.entry-DnNdxAaA.mjs → eds-card-tags.entry-BAtfhzFx.mjs} +1 -1
- package/{eds-card-tags.entry-DylnM44o.js → eds-card-tags.entry-CqExaEH9.js} +1 -1
- package/{eds-card-tool.entry-CdtWr6SE.js → eds-card-tool.entry-CXoJlXad.js} +1 -1
- package/{eds-card-tool.entry-DPWvJcI1.mjs → eds-card-tool.entry-DEcc9_Qu.mjs} +1 -1
- package/{eds-cookies-preference.entry-CGit10s-.mjs → eds-cookies-preference.entry-JSJVljlh.mjs} +5 -5
- package/{eds-cookies-preference.entry-RT9hWQNy.js → eds-cookies-preference.entry-_z1-vMDj.js} +1 -1
- package/{eds-feedback.entry-DVqpmSiS.mjs → eds-feedback.entry-DASoF2j4.mjs} +5 -5
- package/{eds-feedback.entry-B7PDcHGI.js → eds-feedback.entry-zxbWrt9t.js} +1 -1
- package/{eds-footer.entry-BzcdvTWO.js → eds-footer.entry-B-fSU8uH.js} +1 -1
- package/{eds-footer.entry-D-ITdNTf.mjs → eds-footer.entry-O4WhRYcJ.mjs} +3 -5
- package/{eds-frame.entry-tcZQdrbE.js → eds-frame.entry-CCDA7rKc.js} +1 -1
- package/{eds-frame.entry-C2Ldr3c9.mjs → eds-frame.entry-yy7X8E4S.mjs} +2 -2
- package/eds-fullscreen-menu.entry-CF6sYL-d.js +1 -0
- package/{eds-fullscreen-menu.entry-BGFJIgQP.mjs → eds-fullscreen-menu.entry-DtHZDyqq.mjs} +9 -4
- package/{eds-gauge.entry-pvfbXYgB.js → eds-gauge.entry-DgR6biCB.js} +1 -1
- package/{eds-gauge.entry-Lu0hJx9p.mjs → eds-gauge.entry-SqDl-Nwl.mjs} +1 -1
- package/{eds-icon-arrow-diagonal.entry-COlE8H7P.mjs → eds-icon-arrow-diagonal.entry-B85Lm6xR.mjs} +1 -1
- package/{eds-icon-arrow-diagonal.entry-B6IRXDMe.js → eds-icon-arrow-diagonal.entry-CRE9IEVe.js} +1 -1
- package/{eds-icon-arrow-right.entry-BDHsQpfx.js → eds-icon-arrow-right.entry-D_VYbRHi.js} +1 -1
- package/{eds-icon-arrow-right.entry-Diznub_E.mjs → eds-icon-arrow-right.entry-jo6pk2Mw.mjs} +1 -1
- package/{eds-icon-bin.entry-Bfl68q7b.mjs → eds-icon-bin.entry-ApnGHgNg.mjs} +1 -1
- package/{eds-icon-bin.entry-ultyoyMK.js → eds-icon-bin.entry-V9yPQvqx.js} +1 -1
- package/{eds-icon-bluesky.entry-QLpKGRxg.js → eds-icon-bluesky.entry-DYJLOxdI.js} +1 -1
- package/eds-icon-bluesky.entry-bb69dfjJ.mjs +13 -0
- package/{eds-icon-bookmark.entry-CqikyWZl.mjs → eds-icon-bookmark.entry-BDqFijZE.mjs} +1 -1
- package/{eds-icon-bookmark.entry-CaBpzM1Z.js → eds-icon-bookmark.entry-CdwVF1SC.js} +1 -1
- package/{eds-icon-chevron-down.entry-CzxQpRMw.js → eds-icon-chevron-down.entry-C2SxKpXf.js} +1 -1
- package/{eds-icon-chevron-down.entry-C-Z3ai4m.mjs → eds-icon-chevron-down.entry-C8unBsMz.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-BnE13pkI.mjs → eds-icon-chevron-left.entry-B0VTiW-i.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-DcS5XbLe.js → eds-icon-chevron-left.entry-C-qcjtUg.js} +1 -1
- package/{eds-icon-chevron-right.entry-nJd-cRnH.mjs → eds-icon-chevron-right.entry-Bjf1CBxA.mjs} +1 -1
- package/{eds-icon-chevron-right.entry-D4MlgSyJ.js → eds-icon-chevron-right.entry-CR-NcmsN.js} +1 -1
- package/{eds-icon-chevron-up.entry-wQck5opp.js → eds-icon-chevron-up.entry-CzG5C7Bc.js} +1 -1
- package/{eds-icon-chevron-up.entry-DRT2Ubhe.mjs → eds-icon-chevron-up.entry-DjYPrwgy.mjs} +1 -1
- package/{eds-icon-clone.entry-BXVQstwR.mjs → eds-icon-clone.entry-Da0USwOw.mjs} +1 -1
- package/{eds-icon-clone.entry-DT1LJrsq.js → eds-icon-clone.entry-f_7LDRLs.js} +1 -1
- package/{eds-icon-close.entry-D2oFO-Qa.mjs → eds-icon-close.entry-CJwrThK_.mjs} +1 -1
- package/{eds-icon-close.entry-BadFYgtq.js → eds-icon-close.entry-CrBjb8rR.js} +1 -1
- package/{eds-icon-copy.entry-FRGQGwF-.mjs → eds-icon-copy.entry-DhkJMXQn.mjs} +1 -1
- package/{eds-icon-copy.entry-lr2PVIPY.js → eds-icon-copy.entry-jQf4OtN_.js} +1 -1
- package/eds-icon-download.entry-BhNKX0UC.js +1 -0
- package/eds-icon-download.entry-DpaF0QTI.mjs +13 -0
- package/{eds-icon-draft.entry-BwIwH62i.mjs → eds-icon-draft.entry-6Tj-gveL.mjs} +2 -2
- package/{eds-icon-draft.entry-B9bUr2sw.js → eds-icon-draft.entry-DTwKZsPF.js} +1 -1
- package/eds-icon-edit.entry-B0YHmjwF.mjs +13 -0
- package/eds-icon-edit.entry-C5sh6g5Z.js +1 -0
- package/eds-icon-eu.entry-DyDVeH2d.mjs +13 -0
- package/eds-icon-eu.entry-pgzCdT5C.js +1 -0
- package/{eds-icon-external.entry-CcbC-mfi.mjs → eds-icon-external.entry-2P4eBckq.mjs} +2 -2
- package/eds-icon-external.entry-CZthijDc.js +1 -0
- package/{eds-icon-facebook.entry-j4DS-WX4.js → eds-icon-facebook.entry-4y4BctUa.js} +1 -1
- package/eds-icon-facebook.entry-DV6Fwx8p.mjs +13 -0
- package/{eds-icon-gitlab.entry-sQHBONNM.js → eds-icon-gitlab.entry-BkFVzAfz.js} +1 -1
- package/eds-icon-gitlab.entry-OhzOPbyK.mjs +13 -0
- package/{eds-icon-linkedin.entry-Bs23nlsd.js → eds-icon-linkedin.entry-Bx-A1duw.js} +1 -1
- package/eds-icon-linkedin.entry-X9QkofDx.mjs +13 -0
- package/eds-icon-loader.entry-C3Rayn-0.mjs +13 -0
- package/{eds-icon-loader.entry-CTnsFpV3.js → eds-icon-loader.entry-DnuBRqo5.js} +1 -1
- package/{eds-icon-mastodon.entry-B-ep-Tof.js → eds-icon-mastodon.entry-BCe9SCxw.js} +1 -1
- package/eds-icon-mastodon.entry-wjbJA4hE.mjs +13 -0
- package/{eds-icon-menu.entry-U1p7j7fy.js → eds-icon-menu.entry-BT4aDecT.js} +1 -1
- package/eds-icon-menu.entry-DAPAzjBz.mjs +13 -0
- package/eds-icon-minus.entry-CCqn-nAg.mjs +13 -0
- package/eds-icon-minus.entry-CIIi8Ss6.js +1 -0
- package/{eds-icon-more.entry-D9S9kaWH.js → eds-icon-more.entry-CYQPuQBf.js} +1 -1
- package/{eds-icon-more.entry-DIQAQUHB.mjs → eds-icon-more.entry-FIfzMSYr.mjs} +2 -2
- package/eds-icon-paper.entry-ByP2JwTC.js +1 -0
- package/eds-icon-paper.entry-C5_tx_LJ.mjs +13 -0
- package/eds-icon-plus.entry-CjOUxhhP.js +1 -0
- package/eds-icon-plus.entry-DRxN5pfr.mjs +13 -0
- package/eds-icon-portal.entry-BGL8Ll7D.mjs +13 -0
- package/eds-icon-portal.entry-D2jv2hrt.js +1 -0
- package/{eds-icon-private.entry-CaeaHY9B.js → eds-icon-private.entry-BwrO_ats.js} +1 -1
- package/eds-icon-private.entry-CDsrtoYz.mjs +13 -0
- package/{eds-icon-public.entry-B1nkVESn.js → eds-icon-public.entry-C7hBwcsg.js} +1 -1
- package/eds-icon-public.entry-DLbLVSU7.mjs +13 -0
- package/eds-icon-search.entry-BFjXBxOa.mjs +13 -0
- package/{eds-icon-search.entry-C8nsE_QJ.js → eds-icon-search.entry-btOzRpIs.js} +1 -1
- package/eds-icon-star.entry-BSsquaZI.mjs +13 -0
- package/eds-icon-star.entry-Cy9Xk77_.js +1 -0
- package/{eds-icon-start.entry-XPXm0_E-.js → eds-icon-start.entry-CPGXVOvj.js} +1 -1
- package/{eds-icon-start.entry-DDR6VjFj.mjs → eds-icon-start.entry-XN6qm84u.mjs} +2 -2
- package/eds-icon-success.entry-CPnIUgZZ.mjs +13 -0
- package/eds-icon-success.entry-D5IJTkOm.js +1 -0
- package/eds-icon-thumbs-down.entry-BlSAzpfJ.mjs +13 -0
- package/{eds-icon-thumbs-down.entry-CXPSaKje.js → eds-icon-thumbs-down.entry-ylrl8WSt.js} +1 -1
- package/eds-icon-thumbs-up.entry-BgXvsekI.mjs +13 -0
- package/{eds-icon-thumbs-up.entry-DKAME_Ra.js → eds-icon-thumbs-up.entry-nISBVRFR.js} +1 -1
- package/{eds-icon-tutorial.entry-CjbYvKJv.js → eds-icon-tutorial.entry-CqSMInIr.js} +1 -1
- package/{eds-icon-tutorial.entry-BJ2VttuA.mjs → eds-icon-tutorial.entry-Dqw0QYmo.mjs} +2 -2
- package/{eds-icon-twitter.entry-D_pH9RWV.js → eds-icon-twitter.entry-B3GfLRDy.js} +1 -1
- package/eds-icon-twitter.entry-CPgtDlbk.mjs +13 -0
- package/eds-icon-unknown.entry-CBRF3YxA.mjs +13 -0
- package/{eds-icon-unknown.entry-Bh31uRll.js → eds-icon-unknown.entry-DjHNZVUB.js} +1 -1
- package/eds-icon-updown.entry-C9uhFoly.mjs +13 -0
- package/eds-icon-updown.entry-qV4ZG5JV.js +1 -0
- package/{eds-icon-user.entry-C-Vuh8-f.js → eds-icon-user.entry-PoziW4x3.js} +1 -1
- package/eds-icon-user.entry-zjaW2Q3v.mjs +13 -0
- package/{eds-icon-view.entry-z8bJhMBL.js → eds-icon-view.entry-BFfkRuiG.js} +1 -1
- package/eds-icon-view.entry-DEYe7yd6.mjs +13 -0
- package/eds-icon-youtube.entry-BEPXgZdd.js +1 -0
- package/eds-icon-youtube.entry-JleTUS-Y.mjs +13 -0
- package/{eds-modal.entry-D_Lwb__Q.js → eds-modal.entry-CRN7MYt1.js} +1 -1
- package/{eds-modal.entry-B0n5tknG.mjs → eds-modal.entry-zPegafUx.mjs} +4 -4
- package/{eds-pie.entry-klP-etSw.js → eds-pie.entry-B0wT5LM4.js} +1 -1
- package/{eds-pie.entry-BuVtNs7I.mjs → eds-pie.entry-CATOWI0B.mjs} +1 -1
- package/{eds-progress-bar.entry-Ro89l7BR.js → eds-progress-bar.entry-CDjnEVBN.js} +1 -1
- package/{eds-progress-bar.entry-D2JI1D-e.mjs → eds-progress-bar.entry-y3FyT6TM.mjs} +2 -2
- package/{eds-section-core_2.entry-Bc9axwtz.js → eds-section-core_2.entry-BXish6d6.js} +1 -1
- package/{eds-section-core_2.entry-Cz99NRlc.mjs → eds-section-core_2.entry-DyAS0Naq.mjs} +7 -7
- package/eds-social-networks.entry-B3belpvZ.mjs +48 -0
- package/eds-social-networks.entry-C_kag4_n.js +1 -0
- package/{eds-spinner.entry-BB5fBr88.mjs → eds-spinner.entry-BVH3nJGV.mjs} +2 -2
- package/{eds-spinner.entry-zSti41IG.js → eds-spinner.entry-DOlNswYW.js} +1 -1
- package/{eds-splash-screen.entry-BUnIKxtD.mjs → eds-splash-screen.entry-CjBoVdrh.mjs} +1 -1
- package/{eds-splash-screen.entry-Dw0Ji6bZ.js → eds-splash-screen.entry-Db0zsF_d.js} +1 -1
- package/{eds-timeline.entry-BMaUPN_o.mjs → eds-timeline.entry-BGV1FUKt.mjs} +5 -5
- package/{eds-timeline.entry-DHGMZu2-.js → eds-timeline.entry-C1WErP58.js} +1 -1
- package/{eds-toast-manager.entry-XryfFnO2.mjs → eds-toast-manager.entry-9cy0H8uM.mjs} +2 -2
- package/{eds-toast-manager.entry-Bv30X8tV.js → eds-toast-manager.entry-CwzPpw0l.js} +1 -1
- package/{eds-trl.entry-NW2Zpg0k.mjs → eds-trl.entry-Bc4qa039.mjs} +8 -8
- package/eds-trl.entry-CVqrrjQt.js +1 -0
- package/incorrect-use-of-colors.entry-Dp2AzvlN.js +1 -0
- package/incorrect-use-of-colors.entry-DwsyOaOT.mjs +42 -0
- package/index-3WUP5575.js +21 -0
- package/{index-UwPjPR0d.mjs → index-zMBfbHLg.mjs} +260 -239
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{logo-space.entry-B1Swm7_s.js → logo-space.entry-B3Lwt36T.js} +2 -2
- package/{logo-space.entry-sagbhmap.mjs → logo-space.entry-BHFG582d.mjs} +8 -8
- package/{logo-variations-horizontal_2.entry-Bo9dz9bE.mjs → logo-variations-horizontal_2.entry-BgkvC6Q-.mjs} +10 -10
- package/{logo-variations-horizontal_2.entry-DEm05l2M.js → logo-variations-horizontal_2.entry-C7AnrYqe.js} +3 -3
- package/{logo-variations-tabs.entry-v9gzHb2S.mjs → logo-variations-tabs.entry-D0ufjbtA.mjs} +5 -5
- package/{logo-variations-tabs.entry-Dr6pNuIm.js → logo-variations-tabs.entry-DLkztWGS.js} +1 -1
- package/{logo-wrong-usage.entry-DiAAZlws.mjs → logo-wrong-usage.entry-CzqF7MpW.mjs} +8 -8
- package/{logo-wrong-usage.entry-Cb2OzANv.js → logo-wrong-usage.entry-Dw8WVNFn.js} +1 -1
- package/package.json +1 -1
- package/{svg-repository.entry-DENznUDI.mjs → svg-repository.entry-CitErce_.mjs} +91 -105
- package/{svg-repository.entry-Bl6IMNNr.js → svg-repository.entry-DI30qfdW.js} +9 -24
- package/{token-list_3.entry-BBS0BioQ.mjs → token-list_3.entry-BeAswWRv.mjs} +12 -12
- package/{token-list_3.entry-HXbPQp0w.js → token-list_3.entry-DfE5zqbR.js} +1 -1
- package/token-ratios.entry-CSajlciv.js +1 -0
- package/{token-ratios.entry-BomK7oM-.mjs → token-ratios.entry-Dep7U0gG.mjs} +2 -2
- package/token-spacing.entry-BAxEZAs8.mjs +12 -0
- package/token-spacing.entry-BeuEMK-8.js +1 -0
- package/{token-typography.entry-DTzyoov1.js → token-typography.entry-3pnmu6Th.js} +2 -2
- package/{token-typography.entry-DDfSupWC.mjs → token-typography.entry-hhzhalzj.mjs} +6 -6
- package/color-primary-palette_6.entry-BXemwFsT.js +0 -1
- package/eds-app-root.entry-COSmczak.mjs +0 -25
- package/eds-app-root.entry-DIHavIUM.js +0 -1
- package/eds-fullscreen-menu.entry-BPbeGaPc.js +0 -1
- package/eds-icon-bluesky.entry-Dzx9WU3j.mjs +0 -13
- package/eds-icon-edit.entry-CvVY2UCN.mjs +0 -13
- package/eds-icon-edit.entry-sr_B_lUk.js +0 -1
- package/eds-icon-eu.entry-CWqu1Rr1.mjs +0 -13
- package/eds-icon-eu.entry-DDO74t4u.js +0 -1
- package/eds-icon-external.entry-BqrklnFa.js +0 -1
- package/eds-icon-facebook.entry-BtsECcJC.mjs +0 -13
- package/eds-icon-gitlab.entry-BNblqbEX.mjs +0 -13
- package/eds-icon-linkedin.entry-CW-eurxB.mjs +0 -13
- package/eds-icon-loader.entry-J7Ane02R.mjs +0 -13
- package/eds-icon-mastodon.entry-BI2ATALp.mjs +0 -13
- package/eds-icon-menu.entry-CyhJAZL1.mjs +0 -13
- package/eds-icon-minus.entry-BdZZH0nX.js +0 -1
- package/eds-icon-minus.entry-CgX27qzW.mjs +0 -13
- package/eds-icon-paper.entry-5re06zkj.js +0 -1
- package/eds-icon-paper.entry-Bkx17qOK.mjs +0 -13
- package/eds-icon-plus.entry-BzkeCu8f.mjs +0 -13
- package/eds-icon-plus.entry-CCZPj6w9.js +0 -1
- package/eds-icon-portal.entry--FIUk_KW.js +0 -1
- package/eds-icon-portal.entry-B_e1recN.mjs +0 -13
- package/eds-icon-private.entry-BBt40biA.mjs +0 -13
- package/eds-icon-public.entry-C4XFHe13.mjs +0 -13
- package/eds-icon-search.entry-jhUWh3yI.mjs +0 -13
- package/eds-icon-star.entry-BZwxie0S.mjs +0 -13
- package/eds-icon-star.entry-i4E24D7i.js +0 -1
- package/eds-icon-success.entry-DDNbMpuL.js +0 -1
- package/eds-icon-success.entry-iYFlRYkD.mjs +0 -13
- package/eds-icon-thumbs-down.entry-B1pz46Mt.mjs +0 -13
- package/eds-icon-thumbs-up.entry-DiGUetz-.mjs +0 -13
- package/eds-icon-twitter.entry-CRXixMx5.mjs +0 -13
- package/eds-icon-unknown.entry-B3C3gOfb.mjs +0 -13
- package/eds-icon-updown.entry-B4iGaDou.js +0 -1
- package/eds-icon-updown.entry-DTJ9wPMo.mjs +0 -13
- package/eds-icon-user.entry-CGqSkZpC.mjs +0 -13
- package/eds-icon-view.entry-CjMq3fA0.mjs +0 -13
- package/eds-icon-youtube.entry-DSxMazqf.mjs +0 -13
- package/eds-icon-youtube.entry-DhBiT8kG.js +0 -1
- package/eds-social-networks.entry-CaNhyMcu.js +0 -1
- package/eds-social-networks.entry-DD-vQy71.mjs +0 -50
- package/eds-tooltip.entry-BFyPuNDr.js +0 -5
- package/eds-tooltip.entry-rMFVtJBN.mjs +0 -31
- package/eds-trl.entry-BKzMfF-8.js +0 -1
- package/incorrect-use-of-colors.entry-CCB_JH3R.mjs +0 -42
- package/incorrect-use-of-colors.entry-Dq7AmLvI.js +0 -1
- package/index-DM535IHr.js +0 -21
- package/token-ratios.entry-Cz3StGLv.js +0 -1
- package/token-spacing.entry-4mnRkK32.mjs +0 -12
- package/token-spacing.entry-BgDT6uk3.js +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as p, c as
|
|
2
|
-
import { s as
|
|
1
|
+
import { r as p, c as w, h as i, g as y, H as hn } from "./index-zMBfbHLg.mjs";
|
|
2
|
+
import { s as I, m as fn, a as en } from "./analytics-d99780e3-Bay18Oil.mjs";
|
|
3
3
|
import { c as N } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
4
4
|
import { p as R } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
5
5
|
import { h as tn } from "./logo-color-7f1fd803-CFgbXdt8.mjs";
|
|
6
|
-
import { h as bn, a as mn, b as un, c as
|
|
6
|
+
import { h as bn, a as mn, b as un, c as pn, v as xn, d as yn, e as vn, f as wn, g as kn } from "./logo-white-no-bg-f382f86f-YhfmNmGG.mjs";
|
|
7
7
|
const Sn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}", Cn = Sn, En = class {
|
|
8
8
|
constructor(n) {
|
|
9
|
-
p(this, n), this.accordion =
|
|
9
|
+
p(this, n), this.accordion = w(this, "accordion", 7), this.handleClick = () => {
|
|
10
10
|
var e;
|
|
11
|
-
this.isExpanded = !this.isExpanded, this.accordion.emit(this.isExpanded), this.setPanelHeight(),
|
|
11
|
+
this.isExpanded = !this.isExpanded, this.accordion.emit(this.isExpanded), this.setPanelHeight(), I({
|
|
12
12
|
category: "ui-component",
|
|
13
13
|
parentContext: null,
|
|
14
14
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -261,7 +261,7 @@ p {
|
|
|
261
261
|
}
|
|
262
262
|
}), In = class {
|
|
263
263
|
constructor(n) {
|
|
264
|
-
p(this, n), this.edsalert =
|
|
264
|
+
p(this, n), this.edsalert = w(this, "edsalert", 7), this.message = void 0, this.pressableLabel = void 0, this.pressableUrl = void 0, this.direction = "horizontal", this.intent = "default", this.brd = "rounded", this.withBtn = !1;
|
|
265
265
|
}
|
|
266
266
|
componentWillLoad() {
|
|
267
267
|
this.withBtn = !!this.pressableLabel;
|
|
@@ -557,7 +557,7 @@ const $n = ".border-softer{border-color:rgba(0, 0, 0, .1)}.border-default{border
|
|
|
557
557
|
}
|
|
558
558
|
};
|
|
559
559
|
Rn.style = On;
|
|
560
|
-
const
|
|
560
|
+
const Dn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}", Pn = Dn, Nn = class {
|
|
561
561
|
constructor(n) {
|
|
562
562
|
p(this, n), this.updateScreenSize = () => {
|
|
563
563
|
const e = window.innerWidth;
|
|
@@ -641,8 +641,8 @@ const Pn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
|
|
|
641
641
|
return i("nav", { key: "0625a234ec9f5095abbeaafa11e56bceb0432764", "aria-label": "Breadcrumb" }, i("ol", { key: "3898a4b048eca6c606a6948b26ec25a608cb908e", class: "flex items-center space-x-2" }, n.map((e, t) => {
|
|
642
642
|
const r = t === n.length - 1;
|
|
643
643
|
return i("li", { class: "flex items-center" }, e.isHidden ? i("eds-link", { label: "...", url: "#", intent: "strong", current: !1, "aria-label": "...", size: "small", "icon-small": "false", icon: "chevron-right" }) : (() => {
|
|
644
|
-
const { fullLabel: l } = this.getLabels(e, r),
|
|
645
|
-
return i("eds-link", Object.assign({ label: l, url: e.url, intent:
|
|
644
|
+
const { fullLabel: l } = this.getLabels(e, r), s = r ? this.intent === "strong" ? "weak" : this.intent === "weak" ? "strong" : this.intent : this.intent;
|
|
645
|
+
return i("eds-link", Object.assign({ label: l, url: e.url, intent: s, disabled: r, current: r, "aria-label": l, size: "small", "icon-small": "false" }, r ? { "aria-current": "page" } : {}));
|
|
646
646
|
})(), !r && !e.isHidden && i("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }));
|
|
647
647
|
})));
|
|
648
648
|
}
|
|
@@ -655,7 +655,7 @@ const Pn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
|
|
|
655
655
|
};
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
|
-
Nn.style =
|
|
658
|
+
Nn.style = Pn;
|
|
659
659
|
const Hn = `*,
|
|
660
660
|
::before,
|
|
661
661
|
::after {
|
|
@@ -1680,7 +1680,7 @@ button,
|
|
|
1680
1680
|
n.preventDefault();
|
|
1681
1681
|
return;
|
|
1682
1682
|
}
|
|
1683
|
-
|
|
1683
|
+
I({
|
|
1684
1684
|
category: "ui-component",
|
|
1685
1685
|
parentContext: this.parentContext,
|
|
1686
1686
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -1729,7 +1729,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1729
1729
|
* @public
|
|
1730
1730
|
*/
|
|
1731
1731
|
var t = function(r) {
|
|
1732
|
-
var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,
|
|
1732
|
+
var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, s = 0, c = {}, d = {
|
|
1733
1733
|
/**
|
|
1734
1734
|
* By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
|
|
1735
1735
|
* current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
|
|
@@ -1784,8 +1784,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1784
1784
|
* @memberof Prism
|
|
1785
1785
|
*/
|
|
1786
1786
|
util: {
|
|
1787
|
-
encode: function
|
|
1788
|
-
return o instanceof b ? new b(o.type,
|
|
1787
|
+
encode: function a(o) {
|
|
1788
|
+
return o instanceof b ? new b(o.type, a(o.content), o.alias) : Array.isArray(o) ? o.map(a) : o.replace(/&/g, "&").replace(/</g, "<").replace(/\u00a0/g, " ");
|
|
1789
1789
|
},
|
|
1790
1790
|
/**
|
|
1791
1791
|
* Returns the name of the type of the given value.
|
|
@@ -1803,8 +1803,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1803
1803
|
* type(String) === 'Function'
|
|
1804
1804
|
* type(/abc+/) === 'RegExp'
|
|
1805
1805
|
*/
|
|
1806
|
-
type: function(
|
|
1807
|
-
return Object.prototype.toString.call(
|
|
1806
|
+
type: function(a) {
|
|
1807
|
+
return Object.prototype.toString.call(a).slice(8, -1);
|
|
1808
1808
|
},
|
|
1809
1809
|
/**
|
|
1810
1810
|
* Returns a unique number for the given object. Later calls will still return the same number.
|
|
@@ -1812,8 +1812,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1812
1812
|
* @param {Object} obj
|
|
1813
1813
|
* @returns {number}
|
|
1814
1814
|
*/
|
|
1815
|
-
objId: function(
|
|
1816
|
-
return
|
|
1815
|
+
objId: function(a) {
|
|
1816
|
+
return a.__id || Object.defineProperty(a, "__id", { value: ++s }), a.__id;
|
|
1817
1817
|
},
|
|
1818
1818
|
/**
|
|
1819
1819
|
* Creates a deep clone of the given object.
|
|
@@ -1825,7 +1825,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1825
1825
|
* @returns {T}
|
|
1826
1826
|
* @template T
|
|
1827
1827
|
*/
|
|
1828
|
-
clone: function
|
|
1828
|
+
clone: function a(o, g) {
|
|
1829
1829
|
g = g || {};
|
|
1830
1830
|
var h, f;
|
|
1831
1831
|
switch (d.util.type(o)) {
|
|
@@ -1835,7 +1835,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1835
1835
|
h = /** @type {Record<string, any>} */
|
|
1836
1836
|
{}, g[f] = h;
|
|
1837
1837
|
for (var u in o)
|
|
1838
|
-
o.hasOwnProperty(u) && (h[u] =
|
|
1838
|
+
o.hasOwnProperty(u) && (h[u] = a(o[u], g));
|
|
1839
1839
|
return (
|
|
1840
1840
|
/** @type {any} */
|
|
1841
1841
|
h
|
|
@@ -1844,7 +1844,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1844
1844
|
return f = d.util.objId(o), g[f] ? g[f] : (h = [], g[f] = h, /** @type {Array} */
|
|
1845
1845
|
/** @type {any} */
|
|
1846
1846
|
o.forEach(function(x, m) {
|
|
1847
|
-
h[m] =
|
|
1847
|
+
h[m] = a(x, g);
|
|
1848
1848
|
}), /** @type {any} */
|
|
1849
1849
|
h);
|
|
1850
1850
|
default:
|
|
@@ -1859,12 +1859,12 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1859
1859
|
* @param {Element} element
|
|
1860
1860
|
* @returns {string}
|
|
1861
1861
|
*/
|
|
1862
|
-
getLanguage: function(
|
|
1863
|
-
for (;
|
|
1864
|
-
var o = l.exec(
|
|
1862
|
+
getLanguage: function(a) {
|
|
1863
|
+
for (; a; ) {
|
|
1864
|
+
var o = l.exec(a.className);
|
|
1865
1865
|
if (o)
|
|
1866
1866
|
return o[1].toLowerCase();
|
|
1867
|
-
|
|
1867
|
+
a = a.parentElement;
|
|
1868
1868
|
}
|
|
1869
1869
|
return "none";
|
|
1870
1870
|
},
|
|
@@ -1875,8 +1875,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1875
1875
|
* @param {string} language
|
|
1876
1876
|
* @returns {void}
|
|
1877
1877
|
*/
|
|
1878
|
-
setLanguage: function(
|
|
1879
|
-
|
|
1878
|
+
setLanguage: function(a, o) {
|
|
1879
|
+
a.className = a.className.replace(RegExp(l, "gi"), ""), a.classList.add("language-" + o);
|
|
1880
1880
|
},
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Returns the script element that is currently executing.
|
|
@@ -1896,11 +1896,11 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1896
1896
|
try {
|
|
1897
1897
|
throw new Error();
|
|
1898
1898
|
} catch (h) {
|
|
1899
|
-
var
|
|
1900
|
-
if (
|
|
1899
|
+
var a = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(h.stack) || [])[1];
|
|
1900
|
+
if (a) {
|
|
1901
1901
|
var o = document.getElementsByTagName("script");
|
|
1902
1902
|
for (var g in o)
|
|
1903
|
-
if (o[g].src ==
|
|
1903
|
+
if (o[g].src == a)
|
|
1904
1904
|
return o[g];
|
|
1905
1905
|
}
|
|
1906
1906
|
return null;
|
|
@@ -1925,14 +1925,14 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1925
1925
|
* @param {boolean} [defaultActivation=false]
|
|
1926
1926
|
* @returns {boolean}
|
|
1927
1927
|
*/
|
|
1928
|
-
isActive: function(
|
|
1929
|
-
for (var h = "no-" + o;
|
|
1930
|
-
var f =
|
|
1928
|
+
isActive: function(a, o, g) {
|
|
1929
|
+
for (var h = "no-" + o; a; ) {
|
|
1930
|
+
var f = a.classList;
|
|
1931
1931
|
if (f.contains(o))
|
|
1932
1932
|
return !0;
|
|
1933
1933
|
if (f.contains(h))
|
|
1934
1934
|
return !1;
|
|
1935
|
-
|
|
1935
|
+
a = a.parentElement;
|
|
1936
1936
|
}
|
|
1937
1937
|
return !!g;
|
|
1938
1938
|
}
|
|
@@ -1980,8 +1980,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1980
1980
|
* 'color': /\b(?:red|green|blue)\b/
|
|
1981
1981
|
* });
|
|
1982
1982
|
*/
|
|
1983
|
-
extend: function(
|
|
1984
|
-
var g = d.util.clone(d.languages[
|
|
1983
|
+
extend: function(a, o) {
|
|
1984
|
+
var g = d.util.clone(d.languages[a]);
|
|
1985
1985
|
for (var h in o)
|
|
1986
1986
|
g[h] = o[h];
|
|
1987
1987
|
return g;
|
|
@@ -2061,10 +2061,10 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2061
2061
|
* @returns {Grammar} The new grammar object.
|
|
2062
2062
|
* @public
|
|
2063
2063
|
*/
|
|
2064
|
-
insertBefore: function(
|
|
2064
|
+
insertBefore: function(a, o, g, h) {
|
|
2065
2065
|
h = h || /** @type {any} */
|
|
2066
2066
|
d.languages;
|
|
2067
|
-
var f = h[
|
|
2067
|
+
var f = h[a], u = {};
|
|
2068
2068
|
for (var x in f)
|
|
2069
2069
|
if (f.hasOwnProperty(x)) {
|
|
2070
2070
|
if (x == o)
|
|
@@ -2072,20 +2072,20 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2072
2072
|
g.hasOwnProperty(m) && (u[m] = g[m]);
|
|
2073
2073
|
g.hasOwnProperty(x) || (u[x] = f[x]);
|
|
2074
2074
|
}
|
|
2075
|
-
var
|
|
2076
|
-
return h[
|
|
2077
|
-
$ ===
|
|
2075
|
+
var k = h[a];
|
|
2076
|
+
return h[a] = u, d.languages.DFS(d.languages, function(z, $) {
|
|
2077
|
+
$ === k && z != a && (this[z] = u);
|
|
2078
2078
|
}), u;
|
|
2079
2079
|
},
|
|
2080
2080
|
// Traverse a language definition with Depth First Search
|
|
2081
|
-
DFS: function
|
|
2081
|
+
DFS: function a(o, g, h, f) {
|
|
2082
2082
|
f = f || {};
|
|
2083
2083
|
var u = d.util.objId;
|
|
2084
2084
|
for (var x in o)
|
|
2085
2085
|
if (o.hasOwnProperty(x)) {
|
|
2086
2086
|
g.call(o, x, o[x], h || x);
|
|
2087
|
-
var m = o[x],
|
|
2088
|
-
|
|
2087
|
+
var m = o[x], k = d.util.type(m);
|
|
2088
|
+
k === "Object" && !f[u(m)] ? (f[u(m)] = !0, a(m, g, null, f)) : k === "Array" && !f[u(m)] && (f[u(m)] = !0, a(m, g, x, f));
|
|
2089
2089
|
}
|
|
2090
2090
|
}
|
|
2091
2091
|
},
|
|
@@ -2102,8 +2102,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2102
2102
|
* @memberof Prism
|
|
2103
2103
|
* @public
|
|
2104
2104
|
*/
|
|
2105
|
-
highlightAll: function(
|
|
2106
|
-
d.highlightAllUnder(document,
|
|
2105
|
+
highlightAll: function(a, o) {
|
|
2106
|
+
d.highlightAllUnder(document, a, o);
|
|
2107
2107
|
},
|
|
2108
2108
|
/**
|
|
2109
2109
|
* Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
|
|
@@ -2120,10 +2120,10 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2120
2120
|
* @memberof Prism
|
|
2121
2121
|
* @public
|
|
2122
2122
|
*/
|
|
2123
|
-
highlightAllUnder: function(
|
|
2123
|
+
highlightAllUnder: function(a, o, g) {
|
|
2124
2124
|
var h = {
|
|
2125
2125
|
callback: g,
|
|
2126
|
-
container:
|
|
2126
|
+
container: a,
|
|
2127
2127
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
2128
2128
|
};
|
|
2129
2129
|
d.hooks.run("before-highlightall", h), h.elements = Array.prototype.slice.apply(h.container.querySelectorAll(h.selector)), d.hooks.run("before-all-elements-highlight", h);
|
|
@@ -2158,18 +2158,18 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2158
2158
|
* @memberof Prism
|
|
2159
2159
|
* @public
|
|
2160
2160
|
*/
|
|
2161
|
-
highlightElement: function(
|
|
2162
|
-
var h = d.util.getLanguage(
|
|
2163
|
-
d.util.setLanguage(
|
|
2164
|
-
var u =
|
|
2161
|
+
highlightElement: function(a, o, g) {
|
|
2162
|
+
var h = d.util.getLanguage(a), f = d.languages[h];
|
|
2163
|
+
d.util.setLanguage(a, h);
|
|
2164
|
+
var u = a.parentElement;
|
|
2165
2165
|
u && u.nodeName.toLowerCase() === "pre" && d.util.setLanguage(u, h);
|
|
2166
|
-
var x =
|
|
2167
|
-
element:
|
|
2166
|
+
var x = a.textContent, m = {
|
|
2167
|
+
element: a,
|
|
2168
2168
|
language: h,
|
|
2169
2169
|
grammar: f,
|
|
2170
2170
|
code: x
|
|
2171
2171
|
};
|
|
2172
|
-
function
|
|
2172
|
+
function k($) {
|
|
2173
2173
|
m.highlightedCode = $, d.hooks.run("before-insert", m), m.element.innerHTML = m.highlightedCode, d.hooks.run("after-highlight", m), d.hooks.run("complete", m), g && g.call(m.element);
|
|
2174
2174
|
}
|
|
2175
2175
|
if (d.hooks.run("before-sanity-check", m), u = m.element.parentElement, u && u.nodeName.toLowerCase() === "pre" && !u.hasAttribute("tabindex") && u.setAttribute("tabindex", "0"), !m.code) {
|
|
@@ -2177,20 +2177,20 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2177
2177
|
return;
|
|
2178
2178
|
}
|
|
2179
2179
|
if (d.hooks.run("before-highlight", m), !m.grammar) {
|
|
2180
|
-
|
|
2180
|
+
k(d.util.encode(m.code));
|
|
2181
2181
|
return;
|
|
2182
2182
|
}
|
|
2183
2183
|
if (o && r.Worker) {
|
|
2184
2184
|
var z = new Worker(d.filename);
|
|
2185
2185
|
z.onmessage = function($) {
|
|
2186
|
-
|
|
2186
|
+
k($.data);
|
|
2187
2187
|
}, z.postMessage(JSON.stringify({
|
|
2188
2188
|
language: m.language,
|
|
2189
2189
|
code: m.code,
|
|
2190
2190
|
immediateClose: !0
|
|
2191
2191
|
}));
|
|
2192
2192
|
} else
|
|
2193
|
-
|
|
2193
|
+
k(d.highlight(m.code, m.grammar, m.language));
|
|
2194
2194
|
},
|
|
2195
2195
|
/**
|
|
2196
2196
|
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
@@ -2212,9 +2212,9 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2212
2212
|
* @example
|
|
2213
2213
|
* Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
|
|
2214
2214
|
*/
|
|
2215
|
-
highlight: function(
|
|
2215
|
+
highlight: function(a, o, g) {
|
|
2216
2216
|
var h = {
|
|
2217
|
-
code:
|
|
2217
|
+
code: a,
|
|
2218
2218
|
grammar: o,
|
|
2219
2219
|
language: g
|
|
2220
2220
|
};
|
|
@@ -2246,15 +2246,15 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2246
2246
|
* }
|
|
2247
2247
|
* });
|
|
2248
2248
|
*/
|
|
2249
|
-
tokenize: function(
|
|
2249
|
+
tokenize: function(a, o) {
|
|
2250
2250
|
var g = o.rest;
|
|
2251
2251
|
if (g) {
|
|
2252
2252
|
for (var h in g)
|
|
2253
2253
|
o[h] = g[h];
|
|
2254
2254
|
delete o.rest;
|
|
2255
2255
|
}
|
|
2256
|
-
var f = new
|
|
2257
|
-
return
|
|
2256
|
+
var f = new _();
|
|
2257
|
+
return D(f, f.head, a), A(a, f, o, f.head, 0), j(f);
|
|
2258
2258
|
},
|
|
2259
2259
|
/**
|
|
2260
2260
|
* @namespace
|
|
@@ -2275,9 +2275,9 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2275
2275
|
* @param {HookCallback} callback The callback function which is given environment variables.
|
|
2276
2276
|
* @public
|
|
2277
2277
|
*/
|
|
2278
|
-
add: function(
|
|
2278
|
+
add: function(a, o) {
|
|
2279
2279
|
var g = d.hooks.all;
|
|
2280
|
-
g[
|
|
2280
|
+
g[a] = g[a] || [], g[a].push(o);
|
|
2281
2281
|
},
|
|
2282
2282
|
/**
|
|
2283
2283
|
* Runs a hook invoking all registered callbacks with the given environment variables.
|
|
@@ -2288,8 +2288,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2288
2288
|
* @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
|
|
2289
2289
|
* @public
|
|
2290
2290
|
*/
|
|
2291
|
-
run: function(
|
|
2292
|
-
var g = d.hooks.all[
|
|
2291
|
+
run: function(a, o) {
|
|
2292
|
+
var g = d.hooks.all[a];
|
|
2293
2293
|
if (!(!g || !g.length))
|
|
2294
2294
|
for (var h = 0, f; f = g[h++]; )
|
|
2295
2295
|
f(o);
|
|
@@ -2298,21 +2298,21 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2298
2298
|
Token: b
|
|
2299
2299
|
};
|
|
2300
2300
|
r.Prism = d;
|
|
2301
|
-
function b(
|
|
2302
|
-
this.type =
|
|
2301
|
+
function b(a, o, g, h) {
|
|
2302
|
+
this.type = a, this.content = o, this.alias = g, this.length = (h || "").length | 0;
|
|
2303
2303
|
}
|
|
2304
|
-
b.stringify = function
|
|
2304
|
+
b.stringify = function a(o, g) {
|
|
2305
2305
|
if (typeof o == "string")
|
|
2306
2306
|
return o;
|
|
2307
2307
|
if (Array.isArray(o)) {
|
|
2308
2308
|
var h = "";
|
|
2309
|
-
return o.forEach(function(
|
|
2310
|
-
h +=
|
|
2309
|
+
return o.forEach(function(k) {
|
|
2310
|
+
h += a(k, g);
|
|
2311
2311
|
}), h;
|
|
2312
2312
|
}
|
|
2313
2313
|
var f = {
|
|
2314
2314
|
type: o.type,
|
|
2315
|
-
content:
|
|
2315
|
+
content: a(o.content, g),
|
|
2316
2316
|
tag: "span",
|
|
2317
2317
|
classes: ["token", o.type],
|
|
2318
2318
|
attributes: {},
|
|
@@ -2324,85 +2324,85 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2324
2324
|
x += " " + m + '="' + (f.attributes[m] || "").replace(/"/g, """) + '"';
|
|
2325
2325
|
return "<" + f.tag + ' class="' + f.classes.join(" ") + '"' + x + ">" + f.content + "</" + f.tag + ">";
|
|
2326
2326
|
};
|
|
2327
|
-
function
|
|
2328
|
-
|
|
2329
|
-
var f =
|
|
2327
|
+
function S(a, o, g, h) {
|
|
2328
|
+
a.lastIndex = o;
|
|
2329
|
+
var f = a.exec(g);
|
|
2330
2330
|
if (f && h && f[1]) {
|
|
2331
2331
|
var u = f[1].length;
|
|
2332
2332
|
f.index += u, f[0] = f[0].slice(u);
|
|
2333
2333
|
}
|
|
2334
2334
|
return f;
|
|
2335
2335
|
}
|
|
2336
|
-
function
|
|
2336
|
+
function A(a, o, g, h, f, u) {
|
|
2337
2337
|
for (var x in g)
|
|
2338
2338
|
if (!(!g.hasOwnProperty(x) || !g[x])) {
|
|
2339
2339
|
var m = g[x];
|
|
2340
2340
|
m = Array.isArray(m) ? m : [m];
|
|
2341
|
-
for (var
|
|
2342
|
-
if (u && u.cause == x + "," +
|
|
2341
|
+
for (var k = 0; k < m.length; ++k) {
|
|
2342
|
+
if (u && u.cause == x + "," + k)
|
|
2343
2343
|
return;
|
|
2344
|
-
var z = m[
|
|
2344
|
+
var z = m[k], $ = z.inside, Z = !!z.lookbehind, J = !!z.greedy, sn = z.alias;
|
|
2345
2345
|
if (J && !z.pattern.global) {
|
|
2346
2346
|
var dn = z.pattern.toString().match(/[imsuy]*$/)[0];
|
|
2347
2347
|
z.pattern = RegExp(z.pattern.source, dn + "g");
|
|
2348
2348
|
}
|
|
2349
|
-
for (var Q = z.pattern || z, F = h.next,
|
|
2350
|
-
var
|
|
2351
|
-
if (o.length >
|
|
2349
|
+
for (var Q = z.pattern || z, F = h.next, T = f; F !== o.tail && !(u && T >= u.reach); T += F.value.length, F = F.next) {
|
|
2350
|
+
var P = F.value;
|
|
2351
|
+
if (o.length > a.length)
|
|
2352
2352
|
return;
|
|
2353
|
-
if (!(
|
|
2354
|
-
var W = 1,
|
|
2353
|
+
if (!(P instanceof b)) {
|
|
2354
|
+
var W = 1, L;
|
|
2355
2355
|
if (J) {
|
|
2356
|
-
if (
|
|
2356
|
+
if (L = S(Q, T, a, Z), !L || L.index >= a.length)
|
|
2357
2357
|
break;
|
|
2358
|
-
var B =
|
|
2358
|
+
var B = L.index, cn = L.index + L[0].length, O = T;
|
|
2359
2359
|
for (O += F.value.length; B >= O; )
|
|
2360
2360
|
F = F.next, O += F.value.length;
|
|
2361
|
-
if (O -= F.value.length,
|
|
2361
|
+
if (O -= F.value.length, T = O, F.value instanceof b)
|
|
2362
2362
|
continue;
|
|
2363
2363
|
for (var H = F; H !== o.tail && (O < cn || typeof H.value == "string"); H = H.next)
|
|
2364
2364
|
W++, O += H.value.length;
|
|
2365
|
-
W--,
|
|
2366
|
-
} else if (
|
|
2365
|
+
W--, P = a.slice(T, O), L.index -= T;
|
|
2366
|
+
} else if (L = S(Q, 0, P, Z), !L)
|
|
2367
2367
|
continue;
|
|
2368
|
-
var B =
|
|
2368
|
+
var B = L.index, q = L[0], V = P.slice(0, B), nn = P.slice(B + q.length), G = T + P.length;
|
|
2369
2369
|
u && G > u.reach && (u.reach = G);
|
|
2370
2370
|
var M = F.prev;
|
|
2371
|
-
V && (M =
|
|
2371
|
+
V && (M = D(o, M, V), T += V.length), U(o, M, W);
|
|
2372
2372
|
var gn = new b(x, $ ? d.tokenize(q, $) : q, sn, q);
|
|
2373
|
-
if (F =
|
|
2373
|
+
if (F = D(o, M, gn), nn && D(o, F, nn), W > 1) {
|
|
2374
2374
|
var Y = {
|
|
2375
|
-
cause: x + "," +
|
|
2375
|
+
cause: x + "," + k,
|
|
2376
2376
|
reach: G
|
|
2377
2377
|
};
|
|
2378
|
-
|
|
2378
|
+
A(a, o, g, F.prev, T, Y), u && Y.reach > u.reach && (u.reach = Y.reach);
|
|
2379
2379
|
}
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
2382
|
}
|
|
2383
2383
|
}
|
|
2384
2384
|
}
|
|
2385
|
-
function
|
|
2386
|
-
var
|
|
2387
|
-
|
|
2385
|
+
function _() {
|
|
2386
|
+
var a = { value: null, prev: null, next: null }, o = { value: null, prev: a, next: null };
|
|
2387
|
+
a.next = o, this.head = a, this.tail = o, this.length = 0;
|
|
2388
2388
|
}
|
|
2389
|
-
function
|
|
2389
|
+
function D(a, o, g) {
|
|
2390
2390
|
var h = o.next, f = { value: g, prev: o, next: h };
|
|
2391
|
-
return o.next = f, h.prev = f,
|
|
2391
|
+
return o.next = f, h.prev = f, a.length++, f;
|
|
2392
2392
|
}
|
|
2393
|
-
function U(
|
|
2394
|
-
for (var h = o.next, f = 0; f < g && h !==
|
|
2393
|
+
function U(a, o, g) {
|
|
2394
|
+
for (var h = o.next, f = 0; f < g && h !== a.tail; f++)
|
|
2395
2395
|
h = h.next;
|
|
2396
|
-
o.next = h, h.prev = o,
|
|
2396
|
+
o.next = h, h.prev = o, a.length -= f;
|
|
2397
2397
|
}
|
|
2398
|
-
function j(
|
|
2399
|
-
for (var o = [], g =
|
|
2398
|
+
function j(a) {
|
|
2399
|
+
for (var o = [], g = a.head.next; g !== a.tail; )
|
|
2400
2400
|
o.push(g.value), g = g.next;
|
|
2401
2401
|
return o;
|
|
2402
2402
|
}
|
|
2403
2403
|
if (!r.document)
|
|
2404
|
-
return r.addEventListener && (d.disableWorkerMessageHandler || r.addEventListener("message", function(
|
|
2405
|
-
var o = JSON.parse(
|
|
2404
|
+
return r.addEventListener && (d.disableWorkerMessageHandler || r.addEventListener("message", function(a) {
|
|
2405
|
+
var o = JSON.parse(a.data), g = o.language, h = o.code, f = o.immediateClose;
|
|
2406
2406
|
r.postMessage(d.highlight(h, d.languages[g], g)), f && r.close();
|
|
2407
2407
|
}, !1)), d;
|
|
2408
2408
|
var C = d.util.currentScript();
|
|
@@ -2507,12 +2507,12 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2507
2507
|
* @example
|
|
2508
2508
|
* addInlined('style', 'css');
|
|
2509
2509
|
*/
|
|
2510
|
-
value: function(l,
|
|
2510
|
+
value: function(l, s) {
|
|
2511
2511
|
var c = {};
|
|
2512
|
-
c["language-" +
|
|
2512
|
+
c["language-" + s] = {
|
|
2513
2513
|
pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
|
|
2514
2514
|
lookbehind: !0,
|
|
2515
|
-
inside: t.languages[
|
|
2515
|
+
inside: t.languages[s]
|
|
2516
2516
|
}, c.cdata = /^<!\[CDATA\[|\]\]>$/i;
|
|
2517
2517
|
var d = {
|
|
2518
2518
|
"included-cdata": {
|
|
@@ -2520,9 +2520,9 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2520
2520
|
inside: c
|
|
2521
2521
|
}
|
|
2522
2522
|
};
|
|
2523
|
-
d["language-" +
|
|
2523
|
+
d["language-" + s] = {
|
|
2524
2524
|
pattern: /[\s\S]+/,
|
|
2525
|
-
inside: t.languages[
|
|
2525
|
+
inside: t.languages[s]
|
|
2526
2526
|
};
|
|
2527
2527
|
var b = {};
|
|
2528
2528
|
b[l] = {
|
|
@@ -2628,8 +2628,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2628
2628
|
},
|
|
2629
2629
|
punctuation: /[(){};:,]/
|
|
2630
2630
|
}, r.languages.css.atrule.inside.rest = r.languages.css;
|
|
2631
|
-
var
|
|
2632
|
-
|
|
2631
|
+
var s = r.languages.markup;
|
|
2632
|
+
s && (s.tag.addInlined("style", "css"), s.tag.addAttribute("style", "css"));
|
|
2633
2633
|
}(t), t.languages.clike = {
|
|
2634
2634
|
comment: [
|
|
2635
2635
|
{
|
|
@@ -2796,7 +2796,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2796
2796
|
Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
|
|
2797
2797
|
var r = "Loading…", l = function(C, v) {
|
|
2798
2798
|
return "✖ Error " + C + " while fetching file: " + v;
|
|
2799
|
-
},
|
|
2799
|
+
}, s = "✖ Error: File does not exist or is empty", c = {
|
|
2800
2800
|
js: "javascript",
|
|
2801
2801
|
py: "python",
|
|
2802
2802
|
rb: "ruby",
|
|
@@ -2806,52 +2806,52 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2806
2806
|
bat: "batch",
|
|
2807
2807
|
h: "c",
|
|
2808
2808
|
tex: "latex"
|
|
2809
|
-
}, d = "data-src-status", b = "loading",
|
|
2810
|
-
function
|
|
2811
|
-
var
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
},
|
|
2809
|
+
}, d = "data-src-status", b = "loading", S = "loaded", A = "failed", _ = "pre[data-src]:not([" + d + '="' + S + '"]):not([' + d + '="' + b + '"])';
|
|
2810
|
+
function D(C, v, E) {
|
|
2811
|
+
var a = new XMLHttpRequest();
|
|
2812
|
+
a.open("GET", C, !0), a.onreadystatechange = function() {
|
|
2813
|
+
a.readyState == 4 && (a.status < 400 && a.responseText ? v(a.responseText) : a.status >= 400 ? E(l(a.status, a.statusText)) : E(s));
|
|
2814
|
+
}, a.send(null);
|
|
2815
2815
|
}
|
|
2816
2816
|
function U(C) {
|
|
2817
2817
|
var v = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(C || "");
|
|
2818
2818
|
if (v) {
|
|
2819
|
-
var E = Number(v[1]),
|
|
2820
|
-
return
|
|
2819
|
+
var E = Number(v[1]), a = v[2], o = v[3];
|
|
2820
|
+
return a ? o ? [E, Number(o)] : [E, void 0] : [E, E];
|
|
2821
2821
|
}
|
|
2822
2822
|
}
|
|
2823
2823
|
t.hooks.add("before-highlightall", function(C) {
|
|
2824
|
-
C.selector += ", " +
|
|
2824
|
+
C.selector += ", " + _;
|
|
2825
2825
|
}), t.hooks.add("before-sanity-check", function(C) {
|
|
2826
2826
|
var v = (
|
|
2827
2827
|
/** @type {HTMLPreElement} */
|
|
2828
2828
|
C.element
|
|
2829
2829
|
);
|
|
2830
|
-
if (v.matches(
|
|
2830
|
+
if (v.matches(_)) {
|
|
2831
2831
|
C.code = "", v.setAttribute(d, b);
|
|
2832
2832
|
var E = v.appendChild(document.createElement("CODE"));
|
|
2833
2833
|
E.textContent = r;
|
|
2834
|
-
var
|
|
2834
|
+
var a = v.getAttribute("data-src"), o = C.language;
|
|
2835
2835
|
if (o === "none") {
|
|
2836
|
-
var g = (/\.(\w+)$/.exec(
|
|
2836
|
+
var g = (/\.(\w+)$/.exec(a) || [, "none"])[1];
|
|
2837
2837
|
o = c[g] || g;
|
|
2838
2838
|
}
|
|
2839
2839
|
t.util.setLanguage(E, o), t.util.setLanguage(v, o);
|
|
2840
2840
|
var h = t.plugins.autoloader;
|
|
2841
|
-
h && h.loadLanguages(o),
|
|
2842
|
-
|
|
2841
|
+
h && h.loadLanguages(o), D(
|
|
2842
|
+
a,
|
|
2843
2843
|
function(f) {
|
|
2844
|
-
v.setAttribute(d,
|
|
2844
|
+
v.setAttribute(d, S);
|
|
2845
2845
|
var u = U(v.getAttribute("data-range"));
|
|
2846
2846
|
if (u) {
|
|
2847
|
-
var x = f.split(/\r\n?|\n/g), m = u[0],
|
|
2848
|
-
m < 0 && (m += x.length), m = Math.max(0, Math.min(m - 1, x.length)),
|
|
2847
|
+
var x = f.split(/\r\n?|\n/g), m = u[0], k = u[1] == null ? x.length : u[1];
|
|
2848
|
+
m < 0 && (m += x.length), m = Math.max(0, Math.min(m - 1, x.length)), k < 0 && (k += x.length), k = Math.max(0, Math.min(k, x.length)), f = x.slice(m, k).join(`
|
|
2849
2849
|
`), v.hasAttribute("data-start") || v.setAttribute("data-start", String(m + 1));
|
|
2850
2850
|
}
|
|
2851
2851
|
E.textContent = f, t.highlightElement(E);
|
|
2852
2852
|
},
|
|
2853
2853
|
function(f) {
|
|
2854
|
-
v.setAttribute(d,
|
|
2854
|
+
v.setAttribute(d, A), E.textContent = f;
|
|
2855
2855
|
}
|
|
2856
2856
|
);
|
|
2857
2857
|
}
|
|
@@ -2864,7 +2864,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2864
2864
|
* @param {ParentNode} [container=document]
|
|
2865
2865
|
*/
|
|
2866
2866
|
highlight: function(v) {
|
|
2867
|
-
for (var E = (v || document).querySelectorAll(
|
|
2867
|
+
for (var E = (v || document).querySelectorAll(_), a = 0, o; o = E[a++]; )
|
|
2868
2868
|
t.highlightElement(o);
|
|
2869
2869
|
}
|
|
2870
2870
|
};
|
|
@@ -3153,22 +3153,22 @@ Prism.languages.py = Prism.languages.python;
|
|
|
3153
3153
|
"operator",
|
|
3154
3154
|
"punctuation",
|
|
3155
3155
|
"number"
|
|
3156
|
-
],
|
|
3157
|
-
|
|
3156
|
+
], s = r.variable[1].inside, c = 0; c < l.length; c++)
|
|
3157
|
+
s[l[c]] = n.languages.bash[l[c]];
|
|
3158
3158
|
n.languages.sh = n.languages.bash, n.languages.shell = n.languages.bash;
|
|
3159
3159
|
})(Prism);
|
|
3160
3160
|
(function(n) {
|
|
3161
3161
|
var e = /[*&][^\s[\]{},]+/, t = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, r = "(?:" + t.source + "(?:[ ]+" + e.source + ")?|" + e.source + "(?:[ ]+" + t.source + ")?)", l = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
|
|
3162
3162
|
return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
|
|
3163
|
-
}),
|
|
3163
|
+
}), s = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
|
|
3164
3164
|
function c(d, b) {
|
|
3165
3165
|
b = (b || "").replace(/m/g, "") + "m";
|
|
3166
|
-
var
|
|
3166
|
+
var S = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
|
|
3167
3167
|
return r;
|
|
3168
3168
|
}).replace(/<<value>>/g, function() {
|
|
3169
3169
|
return d;
|
|
3170
3170
|
});
|
|
3171
|
-
return RegExp(
|
|
3171
|
+
return RegExp(S, b);
|
|
3172
3172
|
}
|
|
3173
3173
|
n.languages.yaml = {
|
|
3174
3174
|
scalar: {
|
|
@@ -3183,7 +3183,7 @@ Prism.languages.py = Prism.languages.python;
|
|
|
3183
3183
|
pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
|
|
3184
3184
|
return r;
|
|
3185
3185
|
}).replace(/<<key>>/g, function() {
|
|
3186
|
-
return "(?:" + l + "|" +
|
|
3186
|
+
return "(?:" + l + "|" + s + ")";
|
|
3187
3187
|
})),
|
|
3188
3188
|
lookbehind: !0,
|
|
3189
3189
|
greedy: !0,
|
|
@@ -3210,7 +3210,7 @@ Prism.languages.py = Prism.languages.python;
|
|
|
3210
3210
|
alias: "important"
|
|
3211
3211
|
},
|
|
3212
3212
|
string: {
|
|
3213
|
-
pattern: c(
|
|
3213
|
+
pattern: c(s),
|
|
3214
3214
|
lookbehind: !0,
|
|
3215
3215
|
greedy: !0
|
|
3216
3216
|
},
|
|
@@ -3338,9 +3338,9 @@ const Bn = `:host{display:block;font-family:var(--font-family, 'Courier New', mo
|
|
|
3338
3338
|
Mn.style = qn;
|
|
3339
3339
|
const Un = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}", Vn = Un, Gn = class {
|
|
3340
3340
|
constructor(n) {
|
|
3341
|
-
p(this, n), this.dropdown =
|
|
3341
|
+
p(this, n), this.dropdown = w(this, "dropdown", 7), this.focusableItems = [], this.handleClick = () => {
|
|
3342
3342
|
var e;
|
|
3343
|
-
this.isOpen = !this.isOpen, this.isOpen ? (this.focusIndex = 0, this.focusItem()) : this.closeDropdown(), this.dropdown.emit({ expanded: this.isOpen }),
|
|
3343
|
+
this.isOpen = !this.isOpen, this.isOpen ? (this.focusIndex = 0, this.focusItem()) : this.closeDropdown(), this.dropdown.emit({ expanded: this.isOpen }), I({
|
|
3344
3344
|
category: "ui-component",
|
|
3345
3345
|
parentContext: null,
|
|
3346
3346
|
tag: this.host.tagName.toLowerCase(),
|
|
@@ -3414,7 +3414,7 @@ const Un = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-s
|
|
|
3414
3414
|
}
|
|
3415
3415
|
};
|
|
3416
3416
|
Gn.style = Vn;
|
|
3417
|
-
function K(n, e, t, r, l,
|
|
3417
|
+
function K(n, e, t, r, l, s, c) {
|
|
3418
3418
|
const d = [];
|
|
3419
3419
|
if (r && !e) {
|
|
3420
3420
|
const b = n.length > 30 ? `${n.slice(0, 27)}…` : n;
|
|
@@ -3422,29 +3422,29 @@ function K(n, e, t, r, l, a, c) {
|
|
|
3422
3422
|
}
|
|
3423
3423
|
if (t === "number") {
|
|
3424
3424
|
const b = typeof e == "number" ? e : parseFloat(e);
|
|
3425
|
-
isNaN(b) ? d.push(`${n} must be a valid number.`) : (typeof
|
|
3425
|
+
isNaN(b) ? d.push(`${n} must be a valid number.`) : (typeof s == "number" && b < s && d.push(`${n} must be greater than or equal to ${s}.`), typeof c == "number" && b > c && d.push(`${n} must be less than or equal to ${c}.`));
|
|
3426
3426
|
}
|
|
3427
3427
|
return l && typeof e == "string" && e.length > l && d.push(`${n} must be at most ${l} characters.`), t === "email" && e && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.toString()) && d.push("Invalid email format."), d;
|
|
3428
3428
|
}
|
|
3429
3429
|
function on(n, e, t) {
|
|
3430
|
-
const
|
|
3431
|
-
var b,
|
|
3432
|
-
return ((
|
|
3430
|
+
const s = Array.from(t.querySelectorAll("eds-input-field")).filter((d) => {
|
|
3431
|
+
var b, S;
|
|
3432
|
+
return ((S = (b = d.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) === null || S === void 0 ? void 0 : S.length) > 0;
|
|
3433
3433
|
}).flatMap((d) => {
|
|
3434
3434
|
var b;
|
|
3435
3435
|
return Array.from(((b = d.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) || []);
|
|
3436
3436
|
}).some((d) => d.checked), c = [];
|
|
3437
|
-
return e && !
|
|
3437
|
+
return e && !s && c.push(`At least one option in ${n} is required.`), c;
|
|
3438
3438
|
}
|
|
3439
3439
|
function an(n, e, t) {
|
|
3440
3440
|
var r;
|
|
3441
|
-
const l = [],
|
|
3441
|
+
const l = [], s = Array.from(t.querySelectorAll("eds-input-field")).find((d) => {
|
|
3442
3442
|
var b;
|
|
3443
3443
|
return (b = d.shadowRoot) === null || b === void 0 ? void 0 : b.querySelector(`[name="${n}"]`);
|
|
3444
3444
|
});
|
|
3445
|
-
if (!
|
|
3445
|
+
if (!s)
|
|
3446
3446
|
return e && l.push(`${n} is required.`), l;
|
|
3447
|
-
const c = (r =
|
|
3447
|
+
const c = (r = s.shadowRoot) === null || r === void 0 ? void 0 : r.querySelector(`[name="${n}"]`);
|
|
3448
3448
|
return e && c && !c.checked && l.push(`${n} is required.`), l;
|
|
3449
3449
|
}
|
|
3450
3450
|
function Yn(n, e) {
|
|
@@ -3471,7 +3471,7 @@ function Kn(n) {
|
|
|
3471
3471
|
}
|
|
3472
3472
|
function Zn(n, e, t, r) {
|
|
3473
3473
|
const l = {};
|
|
3474
|
-
let
|
|
3474
|
+
let s = !1;
|
|
3475
3475
|
return n.forEach((c) => {
|
|
3476
3476
|
var d;
|
|
3477
3477
|
if (!r(c, t)) {
|
|
@@ -3481,31 +3481,31 @@ function Zn(n, e, t, r) {
|
|
|
3481
3481
|
if (c.type !== "hidden")
|
|
3482
3482
|
if ((c.type === "checkbox" || c.type === "radio") && !c.options) {
|
|
3483
3483
|
const b = an(c.name, c.required, e);
|
|
3484
|
-
b.length > 0 && (l[c.name] = b,
|
|
3484
|
+
b.length > 0 && (l[c.name] = b, s = !0);
|
|
3485
3485
|
} else if (c.options && (c.type === "checkbox" || c.type === "radio")) {
|
|
3486
3486
|
const b = on(c.name, c.required, e);
|
|
3487
|
-
b.length > 0 && (l[c.name] = b,
|
|
3487
|
+
b.length > 0 && (l[c.name] = b, s = !0);
|
|
3488
3488
|
} else if (c.type === "rating") {
|
|
3489
3489
|
const b = Xn(e);
|
|
3490
3490
|
if (b) {
|
|
3491
|
-
const
|
|
3492
|
-
|
|
3491
|
+
const S = b.getAttribute("selected-rating"), A = S !== null ? parseInt(S, 10) : 0, _ = K(c.name, A, c.type, c.required);
|
|
3492
|
+
_.length > 0 && (l[c.name] = _, s = !0);
|
|
3493
3493
|
}
|
|
3494
3494
|
} else if (c.type === "nps") {
|
|
3495
3495
|
const b = Kn(e);
|
|
3496
3496
|
if (b && b.shadowRoot) {
|
|
3497
|
-
const
|
|
3498
|
-
(
|
|
3499
|
-
} else c.required && (l[c.name] = ["This field is required."],
|
|
3497
|
+
const S = (d = b.shadowRoot.querySelector('eds-button[tabindex="0"]')) === null || d === void 0 ? void 0 : d.getAttribute("aria-label"), A = S !== null ? parseInt(S, 10) : NaN, _ = Number.isInteger(A) && A >= 0 && A <= 10 ? A : NaN;
|
|
3498
|
+
isNaN(_) && c.required && (l[c.name] = ["This field is required."], s = !0);
|
|
3499
|
+
} else c.required && (l[c.name] = ["This field is required."], s = !0);
|
|
3500
3500
|
return;
|
|
3501
3501
|
} else {
|
|
3502
3502
|
const b = Yn(e, c.name);
|
|
3503
3503
|
if (b) {
|
|
3504
|
-
const
|
|
3505
|
-
|
|
3504
|
+
const S = b.value, A = K(c.name, S, c.type, c.required, c.maxlength, c.min, c.max);
|
|
3505
|
+
A.length > 0 && (l[c.name] = A, s = !0);
|
|
3506
3506
|
}
|
|
3507
3507
|
}
|
|
3508
|
-
}), { errors: l, hasError:
|
|
3508
|
+
}), { errors: l, hasError: s };
|
|
3509
3509
|
}
|
|
3510
3510
|
function Jn(n, e, t) {
|
|
3511
3511
|
return n.type === "checkbox" || n.type === "radio" ? n.options ? on(n.name, n.required, t) : an(n.name, n.required, t) : K(n.name, e, n.type, n.required, n.maxlength, n.min, n.max);
|
|
@@ -3519,13 +3519,13 @@ function Qn({
|
|
|
3519
3519
|
}) {
|
|
3520
3520
|
const r = Object.assign({}, t);
|
|
3521
3521
|
return e.forEach((l) => {
|
|
3522
|
-
const
|
|
3523
|
-
|
|
3522
|
+
const s = n[l.name];
|
|
3523
|
+
s !== void 0 && (r[l.name] = s);
|
|
3524
3524
|
}), { updatedValues: r };
|
|
3525
3525
|
}
|
|
3526
|
-
const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}", ee = ne, te = class {
|
|
3526
|
+
const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.shadow-hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.rounded-lg{border-radius:16px}.px-16{padding-left:1rem;padding-right:1rem}.pb-16{padding-bottom:1rem}.p-32{padding:2rem}", ee = ne, te = class {
|
|
3527
3527
|
constructor(n) {
|
|
3528
|
-
p(this, n), this.form =
|
|
3528
|
+
p(this, n), this.form = w(this, "form", 7), this.name = "eds-form", this.title = void 0, this.description = void 0, this.setFormUrl = !0, this.formBtn = !0, this.formBtnLabel = "Submit", this.buttonIntent = "primary", this.errorMessage = "Some fields in your form are incorrect.", this.fields = [], this.groups = [], this.initData = {}, this.formStyle = "default", this.values = {}, this.isSubmitting = !1, this.hasError = !1, this.errors = {}, this.parsedFields = [], this.parsedGroups = [];
|
|
3529
3529
|
}
|
|
3530
3530
|
async setData(n) {
|
|
3531
3531
|
this.populateFormWithInitData(n);
|
|
@@ -3583,12 +3583,12 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3583
3583
|
const r = t.shadowRoot.querySelector("input, textarea, select");
|
|
3584
3584
|
if (r && r.name)
|
|
3585
3585
|
if (r.type === "checkbox" || r.type === "radio") {
|
|
3586
|
-
const
|
|
3587
|
-
n.append(r.name,
|
|
3586
|
+
const s = Array.from(t.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map((c) => c.value);
|
|
3587
|
+
n.append(r.name, s.join(","));
|
|
3588
3588
|
} else if (r.type === "file") {
|
|
3589
3589
|
const l = r;
|
|
3590
|
-
l.files && l.files.length > 0 && Array.from(l.files).forEach((
|
|
3591
|
-
n.append(l.name,
|
|
3590
|
+
l.files && l.files.length > 0 && Array.from(l.files).forEach((s) => {
|
|
3591
|
+
n.append(l.name, s);
|
|
3592
3592
|
});
|
|
3593
3593
|
} else
|
|
3594
3594
|
n.append(r.name, r.value);
|
|
@@ -3606,8 +3606,8 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3606
3606
|
let r = t.value;
|
|
3607
3607
|
if (t.type === "checkbox") {
|
|
3608
3608
|
const l = this.values[e.name] || "";
|
|
3609
|
-
let
|
|
3610
|
-
t.checked ?
|
|
3609
|
+
let s = l ? l.split(",") : [];
|
|
3610
|
+
t.checked ? s.includes(t.value) || s.push(t.value) : s = s.filter((c) => c !== t.value), r = s.join(",");
|
|
3611
3611
|
} else if (t.type === "radio") {
|
|
3612
3612
|
if (!t.checked)
|
|
3613
3613
|
return;
|
|
@@ -3625,8 +3625,8 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3625
3625
|
const t = n.target;
|
|
3626
3626
|
if (t.type === "radio" && !t.checked)
|
|
3627
3627
|
return;
|
|
3628
|
-
const r = t.value, l = Object.assign({}, this.errors),
|
|
3629
|
-
|
|
3628
|
+
const r = t.value, l = Object.assign({}, this.errors), s = Jn(e, t.value, this.formEl);
|
|
3629
|
+
s.length > 0 ? l[e.name] = s : delete l[e.name], this.errors = l, this.hasError = Object.keys(l).length > 0, this.form.emit({
|
|
3630
3630
|
event: "input",
|
|
3631
3631
|
field: e.name,
|
|
3632
3632
|
value: r,
|
|
@@ -3666,7 +3666,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3666
3666
|
success: !1,
|
|
3667
3667
|
message: this.errorMessage
|
|
3668
3668
|
//data: this.makeFormData()
|
|
3669
|
-
}),
|
|
3669
|
+
}), I({
|
|
3670
3670
|
category: "ui-component",
|
|
3671
3671
|
parentContext: null,
|
|
3672
3672
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -3681,7 +3681,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3681
3681
|
validated: !0,
|
|
3682
3682
|
message: "Form data validated successfully"
|
|
3683
3683
|
//data: this.getFormData()
|
|
3684
|
-
}),
|
|
3684
|
+
}), I({
|
|
3685
3685
|
category: "ui-component",
|
|
3686
3686
|
parentContext: null,
|
|
3687
3687
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -3693,6 +3693,8 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3693
3693
|
get groupedFields() {
|
|
3694
3694
|
const n = {};
|
|
3695
3695
|
return this.parsedGroups.forEach((e) => n[e.id] = []), n.__ungrouped = [], this.parsedFields.forEach((e) => {
|
|
3696
|
+
if (!this.isFieldVisible(e))
|
|
3697
|
+
return;
|
|
3696
3698
|
const t = e.groupId || "__ungrouped";
|
|
3697
3699
|
n[t] || (n[t] = []), n[t].push(e);
|
|
3698
3700
|
}), n;
|
|
@@ -3703,17 +3705,17 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3703
3705
|
return null;
|
|
3704
3706
|
if (n.type === "rating") {
|
|
3705
3707
|
const l = this.values[n.name] || 0;
|
|
3706
|
-
return i("div", { class: "form-group rating-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `rating-${n.name}`, label: n.label, disabled: n.disabled, required: n.required })), i("eds-rating", { id: `rating-${n.name}`, "rating-type": n.ratingType, "rating-count": n.ratingCount, "selected-rating": l, onRating: (
|
|
3708
|
+
return i("div", { class: "form-group rating-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `rating-${n.name}`, label: n.label, disabled: n.disabled, required: n.required })), i("eds-rating", { id: `rating-${n.name}`, "rating-type": n.ratingType, "rating-count": n.ratingCount, "selected-rating": l, onRating: (s) => this.handleRating(s, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, message: n.message, "error-message": (e = this.errors[n.name]) === null || e === void 0 ? void 0 : e.join("<br/>"), error: !!this.errors[n.name], link: n.link })));
|
|
3707
3709
|
} else if (n.type === "nps")
|
|
3708
|
-
return i("div", { class: "form-group nps-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `nps-${n.name}`, label: n.question, disabled: n.disabled, required: n.required })), i("eds-nps", { id: `nps-${n.name}`, "right-label": n.rightLabel, "left-label": n.leftLabel, onNps: (l) => this.handleNPS(l, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name,
|
|
3710
|
+
return i("div", { class: "form-group nps-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `nps-${n.name}`, label: n.question, disabled: n.disabled, required: n.required })), i("eds-nps", { id: `nps-${n.name}`, "right-label": n.rightLabel, "left-label": n.leftLabel, onNps: (l) => this.handleNPS(l, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, "error-message": (t = this.errors[n.name]) === null || t === void 0 ? void 0 : t.join("<br/>"), error: !!this.errors[n.name] })));
|
|
3709
3711
|
return i("eds-input-field", { key: n.name, name: n.name, label: n.label, placeholder: n.placeholder, type: n.type, value: this.values[n.name], required: n.required, hint: n.hint, message: n.message, error: !!this.errors[n.name], errorMessage: (r = this.errors[n.name]) === null || r === void 0 ? void 0 : r.join("<br/>"), options: n.options, onInput: (l) => this.handleInput(l, n), onChangeNative: (l) => this.handleChange(l, n) });
|
|
3710
3712
|
}
|
|
3711
3713
|
async getData() {
|
|
3712
3714
|
return this.makeFormData();
|
|
3713
3715
|
}
|
|
3714
3716
|
render() {
|
|
3715
|
-
const n = this.parsedFields.filter((
|
|
3716
|
-
return i("form", { key: "
|
|
3717
|
+
const n = this.parsedFields.filter((r) => r.type === "hidden"), e = this.groupedFields, t = this.formStyle === "shadow" ? "bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32" : "";
|
|
3718
|
+
return i("form", { key: "ecf49eb81f18b444d059d3bdea4600f4ae594ea9", class: t, ref: (r) => this.formEl = r, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "65137fb770f274431c7906326cdf49e0fee73b18", class: "flex flex-col gap-y-24" }, this.title && i("span", { key: "e4c5b4a7883c4569a657cc234f18f995480ec8df", role: "heading", class: "f-heading-04" }, this.title), this.description && i("span", { key: "65528e4600127f1cff4ce0e5be6f8a6bddc4c864", class: "f-body-02 text-light" }, this.description), i("slot", { key: "6230035a050386763723c2b60bd5e81b912762d7" })), n.map((r, l) => i("eds-input", { key: l, type: "hidden", name: r.name, value: r.value })), this.parsedGroups.filter((r) => Array.isArray(e[r.id]) && e[r.id].length > 0).map((r) => i("div", { class: "container mt-32", key: r.id }, i("span", { class: "f-body-02" }, i("b", null, r.title)), i("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, e[r.id].map((l) => this.renderField(l))))), i("div", { key: "8116d30248f8461a842365470da9915200531028", class: "flex flex-col mt-32 gap-y-24" }, e.__ungrouped.map((r) => this.renderField(r))), this.formBtn && i("div", { key: "e2f1d3ca6a9f6a3b44c45e576150505c49e41dd1", class: "mt-32" }, i("eds-button", { key: "e312bf08b5db526c00497fafaa9476a225919aaf", intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
|
|
3717
3719
|
}
|
|
3718
3720
|
get el() {
|
|
3719
3721
|
return y(this);
|
|
@@ -3728,7 +3730,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3728
3730
|
te.style = ee;
|
|
3729
3731
|
const ie = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}", re = ie, le = class {
|
|
3730
3732
|
constructor(n) {
|
|
3731
|
-
p(this, n), this.toggleheadermenu =
|
|
3733
|
+
p(this, n), this.toggleheadermenu = w(this, "toggleheadermenu", 7), this.homeUrl = "/", this.links = void 0, this.headerVariant = "default", this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1, this.isAuthenticated = !1;
|
|
3732
3734
|
}
|
|
3733
3735
|
onAuthStatusChanged(n) {
|
|
3734
3736
|
var e;
|
|
@@ -3758,14 +3760,14 @@ const ie = ".block{display:block}.inline-block{display:inline-block}.inline{disp
|
|
|
3758
3760
|
inverse: "text-default bg-inverse",
|
|
3759
3761
|
strong: "text-inverse bg-strongest"
|
|
3760
3762
|
}, e = n[this.headerVariant] || n.default, t = this.headerVariant === "strong" ? "color-white" : "color";
|
|
3761
|
-
return i("header", { key: "
|
|
3763
|
+
return i("header", { key: "a0f5bb7d9e850e9414db804019674d6bcbc8ea0b", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "678d5b1583e6fa47c0eac8ce734e8ec34cd76ad9", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "12ce9c42b266bbddfd75d2a8f0097708480a2490", type: t, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "eb388b679d4e268dc7fc011bc2a6406a619287c8", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, i("ul", { key: "c3f8689bb257166c50dd678287c8ad4f54eb315a", class: "flex gap-x-2" }, this.parsedLinks.map((r) => i("eds-link", { label: r.label, "aria-label": r.label, url: r.url, intent: "ghost", size: "large", icon: r.icon, external: r.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), i("slot", { key: "3f689a811a60052393a795937a908cf7d0604cc6" }), this.menuEnabled && i("div", { key: "506b953b455b72085d83bdaafc6855992075ddbe", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "5b526affd813549a6142efab255d6486a5e2dd66", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
|
|
3762
3764
|
}
|
|
3763
3765
|
get hostEl() {
|
|
3764
3766
|
return y(this);
|
|
3765
3767
|
}
|
|
3766
3768
|
};
|
|
3767
3769
|
le.style = re;
|
|
3768
|
-
const
|
|
3770
|
+
const xt = class {
|
|
3769
3771
|
constructor(n) {
|
|
3770
3772
|
p(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
|
|
3771
3773
|
}
|
|
@@ -3888,10 +3890,10 @@ video {
|
|
|
3888
3890
|
}
|
|
3889
3891
|
render() {
|
|
3890
3892
|
const n = {};
|
|
3891
|
-
return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "
|
|
3893
|
+
return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "fec0dcf2ec178a953f4ced8a71b037030983670d", class: {
|
|
3892
3894
|
"items-center justify-center": !0,
|
|
3893
3895
|
"effect-bg-pattern": this.lazyload && this.showBg
|
|
3894
|
-
} }, i("picture", { key: "
|
|
3896
|
+
} }, i("picture", { key: "0df010a6ed50519be0a2017bf12db7d1ab2fb208" }, this.formats.map((e) => i("source", { type: e.type, srcSet: e.srcset, media: e.media, sizes: this.sizes })), i("img", Object.assign({ key: "ea4275b2cc6be0cce5ab63f97d05454e3c4ee1dc", ref: (e) => this.img = e, class: {
|
|
3895
3897
|
"effect-opacity object-cover object-center": !0,
|
|
3896
3898
|
"opacity-100": this.loaded,
|
|
3897
3899
|
"opacity-0": !this.loaded
|
|
@@ -3902,7 +3904,7 @@ video {
|
|
|
3902
3904
|
}
|
|
3903
3905
|
};
|
|
3904
3906
|
se.style = ae;
|
|
3905
|
-
const
|
|
3907
|
+
const yt = class {
|
|
3906
3908
|
constructor(n) {
|
|
3907
3909
|
p(this, n), this.handleInput = (e) => {
|
|
3908
3910
|
const t = e.target;
|
|
@@ -3920,7 +3922,7 @@ const ut = class {
|
|
|
3920
3922
|
}
|
|
3921
3923
|
render() {
|
|
3922
3924
|
const n = !!this.icon, e = this.hasMessage || this.error ? `${this.name}-error` : "";
|
|
3923
|
-
return i("div", { key: "
|
|
3925
|
+
return i("div", { key: "0a6386205f78655569bf93960a4e2664563e4014", class: "relative flex items-center" }, this.type === "textarea" ? i("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${n ? "input-with-icon" : ""} ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }) : this.type === "select" ? i("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((t) => i("option", { value: t.value, selected: t.value === this.innerVal, key: t.value }, t.label))) : i("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ["radio", "checkbox"].includes(this.type) ? this.checked : void 0 }, this.type === "number" ? {
|
|
3924
3926
|
min: this.min,
|
|
3925
3927
|
max: this.max,
|
|
3926
3928
|
step: this.step
|
|
@@ -3929,7 +3931,7 @@ const ut = class {
|
|
|
3929
3931
|
input ${this.type === "radio" ? "input-radio" : this.type === "checkbox" ? "input-checkbox" : ""}
|
|
3930
3932
|
${n && this.type !== "radio" && this.type !== "checkbox" ? "input-icon pl-36" : ""}
|
|
3931
3933
|
${this.error ? "input-error" : ""}
|
|
3932
|
-
`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === "textarea" && i("span", { key: "
|
|
3934
|
+
`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === "textarea" && i("span", { key: "c78bf1501f682cde9a193ea6726baf2433566516", class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? "input-counter-error" : ""}` }, this.maxLength), this.icon && i("eds-icon-wrapper", { key: "c07e7d5d8394292cf365f32838dfd837ccf168d6", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
|
|
3933
3935
|
}
|
|
3934
3936
|
get el() {
|
|
3935
3937
|
return y(this);
|
|
@@ -11711,27 +11713,27 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11711
11713
|
|
|
11712
11714
|
`, ce = de, ge = class {
|
|
11713
11715
|
constructor(n) {
|
|
11714
|
-
p(this, n), this.edsinput =
|
|
11716
|
+
p(this, n), this.edsinput = w(this, "edsinput", 7), this.edschange = w(this, "edschange", 7), this.handleNativeInput = (e) => {
|
|
11715
11717
|
var t, r;
|
|
11716
11718
|
if ((t = this.onInput) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
|
|
11717
11719
|
const l = e.target;
|
|
11718
|
-
let
|
|
11720
|
+
let s = l.value;
|
|
11719
11721
|
if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
|
|
11720
11722
|
const c = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
|
|
11721
|
-
|
|
11722
|
-
} else this.type === "checkbox" ?
|
|
11723
|
-
this.edsinput.emit({ value:
|
|
11723
|
+
s = Array.from(c).filter((d) => d.checked).map((d) => d.value);
|
|
11724
|
+
} else this.type === "checkbox" ? s = l.checked : (this.type, s = l.value);
|
|
11725
|
+
this.edsinput.emit({ value: s });
|
|
11724
11726
|
}
|
|
11725
11727
|
}, this.handleNativeChange = (e) => {
|
|
11726
11728
|
var t, r;
|
|
11727
11729
|
if ((t = this.onChangeNative) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
|
|
11728
11730
|
const l = e.target;
|
|
11729
|
-
let
|
|
11731
|
+
let s = l.value;
|
|
11730
11732
|
if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
|
|
11731
11733
|
const c = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
|
|
11732
|
-
|
|
11733
|
-
} else this.type === "checkbox" ?
|
|
11734
|
-
this.edschange.emit({ value:
|
|
11734
|
+
s = Array.from(c).filter((d) => d.checked).map((d) => d.value);
|
|
11735
|
+
} else this.type === "checkbox" ? s = l.checked : (this.type, s = l.value);
|
|
11736
|
+
this.edschange.emit({ value: s });
|
|
11735
11737
|
}
|
|
11736
11738
|
}, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.required = !1, this.label = void 0, this.hint = void 0, this.icon = void 0, this.link = void 0, this.message = void 0, this.error = !1, this.checked = void 0, this.errorMessage = void 0, this.value = void 0, this.maxLength = void 0, this.min = void 0, this.max = void 0, this.step = void 0, this.options = void 0, this.type = "text", this.onChangeNative = void 0, this.onInput = void 0, this.exposeValueEvents = !0;
|
|
11737
11739
|
}
|
|
@@ -11751,7 +11753,7 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11751
11753
|
}
|
|
11752
11754
|
render() {
|
|
11753
11755
|
const n = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, this.type === "number" ? { min: this.min, max: this.max, step: this.step } : {});
|
|
11754
|
-
return i("div", { key: "
|
|
11756
|
+
return i("div", { key: "eaa1d9c1095204c82bd01eab0f19f80eeee64d05" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4 mt-8" }, i("div", { class: "flex justify-between mb-4" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.parsedOptions.map((e) => i("div", { class: "flex items-center gap-x-4 gap-y-4", key: e.value }, i("eds-input", Object.assign({}, n, { value: e.value, checked: typeof this.value == "string" && this.value.split(",").includes(String(e.value)) })), i("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? "text-lighter" : ""}` }, e.label)))) : i("div", { class: "flex items-center gap-x-8" }, i("eds-input", Object.assign({}, n, { value: this.value, checked: this.value === "on" || this.checked })), this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })) : i("div", null, i("div", { class: "flex justify-between mb-4" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.type === "select" ? i("eds-input-select", Object.assign({}, n, { options: this.parsedOptions })) : this.type === "file" ? i("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required }) : this.type === "search" ? i("eds-input-search", { name: "search-box" }) : this.type === "range" ? (() => {
|
|
11755
11757
|
var e, t, r;
|
|
11756
11758
|
const l = {
|
|
11757
11759
|
name: n.name,
|
|
@@ -11760,9 +11762,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11760
11762
|
required: n.required,
|
|
11761
11763
|
onInput: n.onInput,
|
|
11762
11764
|
onChange: n.onChange
|
|
11763
|
-
},
|
|
11764
|
-
return i("eds-input-range", Object.assign({}, l, { min: (e =
|
|
11765
|
-
})() : i("eds-input", Object.assign({}, n))), i("div", { key: "
|
|
11765
|
+
}, s = this.parsedOptions, c = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
|
|
11766
|
+
return i("eds-input-range", Object.assign({}, l, { min: (e = s[0]) === null || e === void 0 ? void 0 : e.value, max: (t = s[1]) === null || t === void 0 ? void 0 : t.value, step: (r = s[2]) === null || r === void 0 ? void 0 : r.value, value: c }));
|
|
11767
|
+
})() : i("eds-input", Object.assign({}, n))), i("div", { key: "60e6c848d41591b2e9ec8c5cf8dd656ec8562c38", class: "mt-6" }, i("eds-input-footer", { key: "e9298e01dbab9aa6a98a486286b32024766348d1", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
|
|
11766
11768
|
}
|
|
11767
11769
|
static get delegatesFocus() {
|
|
11768
11770
|
return !0;
|
|
@@ -11777,22 +11779,22 @@ const he = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.item
|
|
|
11777
11779
|
p(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
|
|
11778
11780
|
}
|
|
11779
11781
|
render() {
|
|
11780
|
-
return i("div", { key: "
|
|
11782
|
+
return i("div", { key: "54571d8f3c08a7a4f12e40728e02a7210ab0d345" }, this.error && this.errorMessage && i("div", { key: "db35f0c0dfa931d55d57a9c4ad3fffaeb4cea914", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "63e401d86876829d8d2bbab887a66ef0dbd1837f", icon: "warning" }), i("p", { key: "81f8b0819a7cb119353c8ac38ab1df0cafb9d36f", class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "e5018623e2d8578864dc1f0b06d54e4a60ff9020", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("a", { key: "e7b6bde26ae02cf07ac8b8e6461282a4ba1355ed", href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label));
|
|
11781
11783
|
}
|
|
11782
11784
|
};
|
|
11783
11785
|
be.style = fe;
|
|
11784
|
-
const me = ".input-label{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.input-label b,.input-label strong{font-weight:var(--f-ui-02---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}", ue = me,
|
|
11786
|
+
const me = ".input-label{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.input-label b,.input-label strong{font-weight:var(--f-ui-02---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}", ue = me, pe = class {
|
|
11785
11787
|
constructor(n) {
|
|
11786
11788
|
p(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
|
|
11787
11789
|
}
|
|
11788
11790
|
render() {
|
|
11789
|
-
return i("label", { key: "
|
|
11791
|
+
return i("label", { key: "90e0659383fd3be9a166457de5429385fe3bfe02", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "4d417c45dd636bfd5872d846e5eb89ff3694a4d4" }, i("span", { key: "3924011891ee03e530fe25b269bf4231f3acd9cb", "aria-hidden": "true" }, "*"), i("span", { key: "2f343b6b4ab4cbd538189cfa404210cf676eefe7", class: "sr-only" }, "required")));
|
|
11790
11792
|
}
|
|
11791
11793
|
};
|
|
11792
|
-
|
|
11793
|
-
const
|
|
11794
|
+
pe.style = ue;
|
|
11795
|
+
const vt = class {
|
|
11794
11796
|
constructor(n) {
|
|
11795
|
-
p(this, n), this.edsrange =
|
|
11797
|
+
p(this, n), this.edsrange = w(this, "edsrange", 7), this.onInput = (e) => {
|
|
11796
11798
|
const t = e.target;
|
|
11797
11799
|
this.sliderVal = parseInt(t.value, 10);
|
|
11798
11800
|
}, this.onChange = (e) => {
|
|
@@ -11814,7 +11816,7 @@ const xt = class {
|
|
|
11814
11816
|
return this.inputElement;
|
|
11815
11817
|
}
|
|
11816
11818
|
render() {
|
|
11817
|
-
return i("div", { key: "
|
|
11819
|
+
return i("div", { key: "3fa2ef579847e66bcacc35afe202192b78a06975", class: "relative flex flex-col items-start" }, i("input", { key: "669cc03e44dfa1ae8eae758f82f41939de1be625", id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), i("p", { key: "b3865e1bfacb423da277f4b76dfd0f3294f96cc6", id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal));
|
|
11818
11820
|
}
|
|
11819
11821
|
get el() {
|
|
11820
11822
|
return y(this);
|
|
@@ -11824,15 +11826,15 @@ const xt = class {
|
|
|
11824
11826
|
value: ["onValueChange"]
|
|
11825
11827
|
};
|
|
11826
11828
|
}
|
|
11827
|
-
},
|
|
11829
|
+
}, wt = class {
|
|
11828
11830
|
constructor(n) {
|
|
11829
|
-
p(this, n), this.search =
|
|
11831
|
+
p(this, n), this.search = w(this, "search", 7), this.keydownListener = (e) => {
|
|
11830
11832
|
(e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), this.inputElement && !this.disabled && this.inputElement.focus());
|
|
11831
11833
|
}, this.onChange = (e) => {
|
|
11832
11834
|
this.search.emit({
|
|
11833
11835
|
event: "change",
|
|
11834
11836
|
value: e.target.value
|
|
11835
|
-
}),
|
|
11837
|
+
}), I({
|
|
11836
11838
|
category: "ui-component",
|
|
11837
11839
|
parentContext: null,
|
|
11838
11840
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -11851,8 +11853,8 @@ const xt = class {
|
|
|
11851
11853
|
return this.inputElement;
|
|
11852
11854
|
}
|
|
11853
11855
|
render() {
|
|
11854
|
-
return i("div", { key: "
|
|
11855
|
-
key: "
|
|
11856
|
+
return i("div", { key: "ad7c42baf7c54ede5dca7dd2a6916557f46d33d6", class: "relative flex items-center" }, i("eds-icon-wrapper", { key: "6de80c397bae5e541de1ce3c2937bed860b58363", icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), i("input", {
|
|
11857
|
+
key: "9637c5569c97061fde3735ecb58b6a6f81a10e15",
|
|
11856
11858
|
id: this.inputId || this.name,
|
|
11857
11859
|
name: this.name,
|
|
11858
11860
|
placeholder: this.placeholder,
|
|
@@ -11869,23 +11871,23 @@ const xt = class {
|
|
|
11869
11871
|
get el() {
|
|
11870
11872
|
return y(this);
|
|
11871
11873
|
}
|
|
11872
|
-
},
|
|
11874
|
+
}, kt = class {
|
|
11873
11875
|
constructor(n) {
|
|
11874
|
-
p(this, n), this.edsselect =
|
|
11876
|
+
p(this, n), this.edsselect = w(this, "edsselect", 7), this.handleChange = (e) => {
|
|
11875
11877
|
const t = e.target;
|
|
11876
11878
|
this.edsselect.emit(t.value);
|
|
11877
11879
|
}, this.inputId = void 0, this.name = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.required = !1, this.options = [], this.value = void 0;
|
|
11878
11880
|
}
|
|
11879
11881
|
render() {
|
|
11880
11882
|
const n = this.inputId || this.name, e = this.placeholder || "Pick from the list", t = this.hasMessage || this.error ? `${this.name}-error` : void 0;
|
|
11881
|
-
return i("div", { key: "
|
|
11883
|
+
return i("div", { key: "06be08db809ec9970ca4d7bdbdcdf1c8f2bc8840", class: "relative" }, i("select", { key: "e4319592e6c2f0c71e0dc75ca2d854506bda70bc", id: n, name: this.name, class: {
|
|
11882
11884
|
input: !0,
|
|
11883
11885
|
"input-error": this.error,
|
|
11884
11886
|
"px-4": !0,
|
|
11885
11887
|
"py-2": !0
|
|
11886
|
-
}, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "
|
|
11888
|
+
}, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "a0ece38948f84a10ea8cd4c0a01b3f8b9730c7ef", value: "", disabled: !0, hidden: !0 }, e), this.options.map((r, l) => i("option", { key: l, value: r.value, selected: r.value === this.value }, r.label))), i("span", { key: "8ce085e43d0ba6340e52b0666dc0a31abbf1a2f9", class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, i("eds-icon-wrapper", { key: "8b91b3fa3a819d04ede5d7816fcb2f04e66fd03b", class: "w-20 h-20", icon: "chevron-right" })));
|
|
11887
11889
|
}
|
|
11888
|
-
},
|
|
11890
|
+
}, xe = `*,
|
|
11889
11891
|
::before,
|
|
11890
11892
|
::after {
|
|
11891
11893
|
box-sizing: border-box;
|
|
@@ -13122,7 +13124,7 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13122
13124
|
.lg\\:flex {
|
|
13123
13125
|
display: flex;
|
|
13124
13126
|
}
|
|
13125
|
-
}`, ye =
|
|
13127
|
+
}`, ye = xe, ve = N([
|
|
13126
13128
|
"relative inline-flex justify-center items-center py-8 rounded-sm",
|
|
13127
13129
|
"effect-color effect-focus aria-disabled:text-lightest",
|
|
13128
13130
|
"cursor-pointer",
|
|
@@ -13260,7 +13262,7 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13260
13262
|
n.preventDefault();
|
|
13261
13263
|
return;
|
|
13262
13264
|
}
|
|
13263
|
-
|
|
13265
|
+
I({
|
|
13264
13266
|
category: "ui-component",
|
|
13265
13267
|
parentContext: this.parentContext,
|
|
13266
13268
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -13294,7 +13296,7 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13294
13296
|
isActive: this.current,
|
|
13295
13297
|
hasIcon: !!this.icon
|
|
13296
13298
|
}), e = !this.disabled, t = !this.label || this.hideLabelOnSmallScreen && this.icon, r = this.hideLabelOnSmallScreen ? "hidden lg:flex" : "";
|
|
13297
|
-
return i("a", { key: "
|
|
13299
|
+
return i("a", { key: "bc82c9ea21f98ed71c812c8366ba8368c3ac5bf4", class: `${n || ""} ${this.extraClass || ""}`, href: e ? this.url : void 0, target: this.external && e ? "_blank" : void 0, rel: this.external && e ? "noopener noreferrer" : void 0, tabIndex: e ? 0 : -1, "aria-label": t ? this.ariaLabel || "Link" : void 0, "aria-disabled": this.disabled ? "true" : void 0, "aria-current": this.current ? "page" : void 0, role: this.disabled ? "link" : void 0, download: this.download ? "" : void 0, onClick: (l) => this.handleClick(l), onKeyDown: (l) => this.handleKeyDown(l) }, i("span", { key: "eed89377d27a476a7d7e70a8c40f3100b8089a0b", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && i("span", { key: "c6d09f0c54e092e53350014d6d89b67c35a8be71", class: r }, this.label), this.renderRightIcon()));
|
|
13298
13300
|
}
|
|
13299
13301
|
get el() {
|
|
13300
13302
|
return y(this);
|
|
@@ -13314,7 +13316,7 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13314
13316
|
* - `action`: The action, set as "click".
|
|
13315
13317
|
*/
|
|
13316
13318
|
handleClick() {
|
|
13317
|
-
|
|
13319
|
+
I({
|
|
13318
13320
|
category: "ui-component",
|
|
13319
13321
|
tag: this.el.tagName.toLowerCase(),
|
|
13320
13322
|
name: "logo",
|
|
@@ -13331,10 +13333,10 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13331
13333
|
black: bn,
|
|
13332
13334
|
"color-white": mn,
|
|
13333
13335
|
white: un,
|
|
13334
|
-
"no-bg":
|
|
13336
|
+
"no-bg": pn
|
|
13335
13337
|
},
|
|
13336
13338
|
vertical: {
|
|
13337
|
-
color:
|
|
13339
|
+
color: xn,
|
|
13338
13340
|
black: yn,
|
|
13339
13341
|
"color-white": vn,
|
|
13340
13342
|
white: wn,
|
|
@@ -13348,7 +13350,7 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13348
13350
|
}
|
|
13349
13351
|
render() {
|
|
13350
13352
|
const n = this.getLogo();
|
|
13351
|
-
return i("a", { key: "
|
|
13353
|
+
return i("a", { key: "e5c4e4701d698282dc85561c8c434f0790fb2401", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "32cc8649fe67b6c4a874b5c1aaa6d4d793b4c4c7", innerHTML: n }));
|
|
13352
13354
|
}
|
|
13353
13355
|
get el() {
|
|
13354
13356
|
return y(this);
|
|
@@ -13357,7 +13359,7 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13357
13359
|
Ce.style = Se;
|
|
13358
13360
|
const Ee = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.z-\\[999999\\]{z-index:999999}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}", ze = Ee, Fe = class {
|
|
13359
13361
|
constructor(n) {
|
|
13360
|
-
p(this, n), this.consent =
|
|
13362
|
+
p(this, n), this.consent = w(this, "consent", 7), this.heading = "Analytics Consent", this.description = "We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.", this.optOutMessage = "You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.", this.forceShow = !1, this.showNotice = !0;
|
|
13361
13363
|
}
|
|
13362
13364
|
/**
|
|
13363
13365
|
* Listens for global custom events to open the matomo-consent.
|
|
@@ -13444,7 +13446,7 @@ const Ee = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%
|
|
|
13444
13446
|
Fe.style = ze;
|
|
13445
13447
|
const Ae = '.flex{display:flex}.justify-between{justify-content:space-between}.mt-4{margin-top:0.25rem}.mt-8{margin-top:0.5rem}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.grid{display:grid}.grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.grid-cols-11{grid-template-columns:repeat(11, minmax(0, 1fr))}.grid-cols-11[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-11[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1)::before{inset-inline-start:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+11)::before{inset-inline-end:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)~*::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+11)::after{border-inline-end-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+11)::after{top:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)::after{bottom:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)~li::after{bottom:0}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}', Ie = Ae, Le = class {
|
|
13446
13448
|
constructor(n) {
|
|
13447
|
-
p(this, n), this.nps =
|
|
13449
|
+
p(this, n), this.nps = w(this, "nps", 7), this.min = 0, this.max = 10, this.question = void 0, this.leftLabel = void 0, this.rightLabel = void 0, this.selectedValue = null;
|
|
13448
13450
|
}
|
|
13449
13451
|
handleClick(n) {
|
|
13450
13452
|
this.selectedValue = n, this.nps.emit(n);
|
|
@@ -13485,18 +13487,18 @@ const Ae = '.flex{display:flex}.justify-between{justify-content:space-between}.m
|
|
|
13485
13487
|
this.handleClick(r), t.focus();
|
|
13486
13488
|
}
|
|
13487
13489
|
render() {
|
|
13488
|
-
const n = this.max - this.min + 1
|
|
13489
|
-
return i("div", { key: "
|
|
13490
|
-
const
|
|
13491
|
-
return i("div", { class: "grid-col-span-1", key:
|
|
13492
|
-
})), i("div", { key: "
|
|
13490
|
+
const n = this.max - this.min + 1;
|
|
13491
|
+
return i("div", { key: "3831baab086cbf44a3d1511885f15bbab23c9cd2", class: "eds-nps" }, i("eds-input-label", { key: "f9bd8a812d1b65a634dfaa7aae704218dc79468c", id: "nps-question", name: "nps-question", label: this.question }), i("div", { key: "398f5225c5b4071c2570a74a9e642f5059bb7813", role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: n }, (e, t) => {
|
|
13492
|
+
const r = this.min + t, l = r === this.selectedValue;
|
|
13493
|
+
return i("div", { class: "grid-col-span-1", key: r }, i("eds-button", { tabindex: l ? 0 : -1, label: `${r}`, "aria-label": `${r}`, intent: l ? "primary" : "ghost", "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(r) }));
|
|
13494
|
+
})), i("div", { key: "0acafaae3f2ce522ffbc245c5733ca509d4bf3c1", class: "flex justify-between mt-8" }, i("span", { key: "001e0be00b07ae2e831ea6af0c577a5eeecb9a56", class: "f-ui-04 text-light ml-4" }, this.leftLabel), i("span", { key: "99a12d89ea577fb2bb9c34241a2b9f0f254c284a", class: "f-ui-04 text-light mr-4" }, this.rightLabel)));
|
|
13493
13495
|
}
|
|
13494
13496
|
get el() {
|
|
13495
13497
|
return y(this);
|
|
13496
13498
|
}
|
|
13497
13499
|
};
|
|
13498
13500
|
Le.style = Ie;
|
|
13499
|
-
const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", Te = _e, $e = class {
|
|
13501
|
+
const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", Te = _e, $e = class {
|
|
13500
13502
|
constructor(n) {
|
|
13501
13503
|
p(this, n), this.handleKeyDown = (e) => {
|
|
13502
13504
|
if (this.mode !== "default" || !this.useButtons)
|
|
@@ -13510,8 +13512,8 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13510
13512
|
const c = t.findIndex((d) => d.type === "page" && d.page === this.currentPage);
|
|
13511
13513
|
l = c !== -1 ? c : 0;
|
|
13512
13514
|
}
|
|
13513
|
-
let
|
|
13514
|
-
|
|
13515
|
+
let s = l + r;
|
|
13516
|
+
s >= t.length ? s = 0 : s < 0 && (s = t.length - 1), this.focusedIndex = s, this.focusPaginationItem(s);
|
|
13515
13517
|
} else if (e.key === "Home")
|
|
13516
13518
|
e.preventDefault(), this.focusedIndex = 0, this.focusPaginationItem(0);
|
|
13517
13519
|
else if (e.key === "End") {
|
|
@@ -13639,7 +13641,7 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13639
13641
|
if (this.mode !== "navigator" && (this.useButtons && n.preventDefault(), e !== this.currentPage)) {
|
|
13640
13642
|
this.links = this.links.map((r) => typeof r == "object" ? Object.assign(Object.assign({}, r), { current: parseInt(r.label) === e }) : r);
|
|
13641
13643
|
const t = new CustomEvent("page", {
|
|
13642
|
-
detail: e,
|
|
13644
|
+
detail: { value: e },
|
|
13643
13645
|
bubbles: !0,
|
|
13644
13646
|
composed: !0
|
|
13645
13647
|
});
|
|
@@ -13647,7 +13649,7 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13647
13649
|
}
|
|
13648
13650
|
}
|
|
13649
13651
|
render() {
|
|
13650
|
-
return i("div", { key: "
|
|
13652
|
+
return i("div", { key: "9379c40daaca176e67fb59918f1ca387cb4759b9" }, this.total > 0 && this.mode === "default" && i("p", { key: "d09f7f6b7de136987d5b52564bc60afb3775299a", class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, i("span", { key: "4af8f097a79c8fb0495838f06424f43e5e5dcddc", class: "text-light sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? i("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === "default" ? "pagination-info" : void 0, onKeyDown: this.handleKeyDown }, i("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, i("li", { class: "mr-auto" }, this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: this.prevLabel, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (e) => {
|
|
13651
13653
|
this.mode === "default" && !this.isFirstPage() && this.handlePageClick(e, (this.currentPage || 1) - 1);
|
|
13652
13654
|
} })) : i("eds-link", { label: this.prevLabel, url: this.mode === "navigator" ? this.prevUrl || "#" : this.isFirstPage() ? "#" : this.generateLink(this.currentPage - 1).url, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pr-12" })), this.mode === "default" && this.links.map((e, t) => i("li", { key: t, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof e == "string" ? i("span", { class: "flex items-center justify-center", "aria-hidden": "true" }, e) : this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: e.label, "aria-label": e.current ? `Current page, page ${e.label}` : `Go to page ${e.label}`, "aria-current": e.current ? "page" : void 0, size: "small", "extra-class": "!p-8 pagination-button", intent: e.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(e.label)) })) : i("eds-link", { url: e.url, "aria-label": e.ariaLabel, label: e.label, current: e.current, "aria-current": e.current ? "page" : void 0, size: "small", class: "!p-8", intent: e.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(e.label)) }))), i("li", { class: "ml-auto" }, this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: this.nextLabel, disabled: this.mode === "navigator" ? !this.nextUrl : this.isLastPage(), "aria-label": "Go to next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "ghost", "extra-class": "!p-8 lg:!pl-12 pagination-button", onClick: (e) => {
|
|
13653
13655
|
this.mode === "default" && !this.isLastPage() && this.handlePageClick(e, (this.currentPage || 1) + 1);
|
|
@@ -13664,9 +13666,9 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13664
13666
|
}
|
|
13665
13667
|
};
|
|
13666
13668
|
$e.style = Te;
|
|
13667
|
-
const Oe = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}", Re = Oe,
|
|
13669
|
+
const Oe = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}", Re = Oe, De = class {
|
|
13668
13670
|
constructor(n) {
|
|
13669
|
-
p(this, n), this.rating =
|
|
13671
|
+
p(this, n), this.rating = w(this, "rating", 7), this.buttonRefs = [], this.ratingType = "star", this.ratingCount = 5, this.selectedRating = 0;
|
|
13670
13672
|
}
|
|
13671
13673
|
/**
|
|
13672
13674
|
* Lifecycle method that runs when the component has fully loaded.
|
|
@@ -13712,13 +13714,11 @@ const Oe = ":host{display:inline-block}.block{display:block}.stars{display:flex;
|
|
|
13712
13714
|
r > this.ratingCount && (r = 1), r < 1 && (r = this.ratingCount), this.onSelect(r);
|
|
13713
13715
|
}
|
|
13714
13716
|
render() {
|
|
13715
|
-
return i("div", { key: "
|
|
13717
|
+
return i("div", { key: "a7fc18897f2901f60432432899da18861e76edf6", id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (n) => this.handleKeyNav(n) }, Array.from({ length: this.ratingCount }, (n, e) => {
|
|
13716
13718
|
const t = e + 1, r = t <= this.selectedRating, l = this.selectedRating === t;
|
|
13717
13719
|
return i("eds-button", {
|
|
13718
|
-
ref: (
|
|
13720
|
+
ref: (s) => this.buttonRefs[e] = s,
|
|
13719
13721
|
icon: this.ratingType,
|
|
13720
|
-
role: "radio",
|
|
13721
|
-
"aria-checked": l,
|
|
13722
13722
|
"aria-label": `${t} ${this.ratingType}${t > 1 ? "s" : ""}`,
|
|
13723
13723
|
onClick: () => this.onSelect(t),
|
|
13724
13724
|
tabIndex: l || this.selectedRating === 0 && e === 0 ? 0 : -1,
|
|
@@ -13733,43 +13733,38 @@ const Oe = ":host{display:inline-block}.block{display:block}.stars{display:flex;
|
|
|
13733
13733
|
return y(this);
|
|
13734
13734
|
}
|
|
13735
13735
|
};
|
|
13736
|
-
|
|
13737
|
-
const
|
|
13736
|
+
De.style = Re;
|
|
13737
|
+
const Pe = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}", Ne = Pe, He = class {
|
|
13738
13738
|
constructor(n) {
|
|
13739
|
-
p(this, n), this.step =
|
|
13740
|
-
|
|
13739
|
+
p(this, n), this.step = w(this, "step", 7), this.finished = w(this, "finished", 7), this.next = w(this, "next", 7), this.back = w(this, "back", 7), this.handleNext = () => {
|
|
13740
|
+
const e = this.parsedSteps.length - 1;
|
|
13741
|
+
if (this.activeStep >= e) {
|
|
13742
|
+
this.finished.emit();
|
|
13743
|
+
return;
|
|
13744
|
+
}
|
|
13745
|
+
const t = this.activeStep + 1;
|
|
13746
|
+
this.next.emit(t), !this.isNextDisabledFor(this.activeStep) && (this.activeStep = t, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1));
|
|
13741
13747
|
}, this.handleBack = () => {
|
|
13742
|
-
this.activeStep > 0
|
|
13743
|
-
|
|
13748
|
+
if (this.activeStep > 0) {
|
|
13749
|
+
const e = this.activeStep - 1;
|
|
13750
|
+
this.back.emit(e), this.activeStep = e, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1);
|
|
13751
|
+
}
|
|
13752
|
+
}, this.steps = [], this.type = "static", this.nextLabel = "Next", this.backLabel = "Back", this.finishLabel = "Finish", this.disableNext = !1, this.headingLevel = "h4", this.activeStep = 0;
|
|
13744
13753
|
}
|
|
13745
|
-
/**
|
|
13746
|
-
* Lifecycle method that runs when the component has fully loaded.
|
|
13747
|
-
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
13748
|
-
*/
|
|
13749
13754
|
componentDidLoad() {
|
|
13750
13755
|
var n;
|
|
13751
13756
|
if (this.type === "linear") {
|
|
13752
13757
|
const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-button");
|
|
13753
|
-
e == null || e.forEach((t) =>
|
|
13754
|
-
this.emitContext(t);
|
|
13755
|
-
});
|
|
13758
|
+
e == null || e.forEach((t) => this.emitContext(t));
|
|
13756
13759
|
}
|
|
13757
13760
|
}
|
|
13758
13761
|
activeStepChanged(n) {
|
|
13759
13762
|
setTimeout(() => {
|
|
13760
13763
|
var e;
|
|
13761
13764
|
const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
|
|
13762
|
-
t && t.querySelectorAll("eds-button").forEach((
|
|
13763
|
-
this.emitContext(l);
|
|
13764
|
-
});
|
|
13765
|
+
t && t.querySelectorAll("eds-button").forEach((r) => this.emitContext(r));
|
|
13765
13766
|
}, 50);
|
|
13766
13767
|
}
|
|
13767
|
-
/**
|
|
13768
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
13769
|
-
* This event provides context information about the breadcrumb component.
|
|
13770
|
-
*
|
|
13771
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
13772
|
-
*/
|
|
13773
13768
|
emitContext(n) {
|
|
13774
13769
|
const e = new CustomEvent("parentContext", {
|
|
13775
13770
|
detail: {
|
|
@@ -13779,18 +13774,23 @@ const De = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
|
|
|
13779
13774
|
});
|
|
13780
13775
|
n.dispatchEvent(e);
|
|
13781
13776
|
}
|
|
13782
|
-
handleStepClick(n) {
|
|
13783
|
-
this.step.emit(n), this.type === "linear" && (this.activeStep = n);
|
|
13784
|
-
}
|
|
13785
|
-
/**
|
|
13786
|
-
* Parse the JSON string into an array of steps.
|
|
13787
|
-
*/
|
|
13788
13777
|
get parsedSteps() {
|
|
13789
13778
|
return R(this.steps);
|
|
13790
13779
|
}
|
|
13780
|
+
isNextDisabledFor(n) {
|
|
13781
|
+
return Array.isArray(this.disableNext) ? !!this.disableNext[n] : n === this.activeStep && !!this.disableNext;
|
|
13782
|
+
}
|
|
13783
|
+
/** Render the semantic heading element */
|
|
13784
|
+
renderHeading(n) {
|
|
13785
|
+
const e = this.headingLevel;
|
|
13786
|
+
return i(e, null, n);
|
|
13787
|
+
}
|
|
13791
13788
|
render() {
|
|
13792
13789
|
const n = this.parsedSteps;
|
|
13793
|
-
return this.type === "linear" ? i("div",
|
|
13790
|
+
return this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => {
|
|
13791
|
+
const r = t === n.length - 1;
|
|
13792
|
+
return i("div", { class: "step mb-28", key: t }, this.renderHeading(e.title), this.activeStep === t && i("div", { class: "content grid gap-y-16" }, i("slot", { name: `step-${t}` }, i("div", { class: "f-body-02 text-lighter", innerHTML: e.content })), i("div", { class: "flex items-center mt-16" }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: t === 0, class: t === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: r ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.isNextDisabledFor(t), size: "small", class: "ml-8" })), i("slot", { name: `actions-${t}` })));
|
|
13793
|
+
})) : i("div", { class: "steps" }, n.map((e, t) => i("div", { class: "step mb-28", key: t }, this.renderHeading(e.title), i("div", { class: "content" }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content }))))));
|
|
13794
13794
|
}
|
|
13795
13795
|
get el() {
|
|
13796
13796
|
return y(this);
|
|
@@ -13802,13 +13802,22 @@ const De = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
|
|
|
13802
13802
|
}
|
|
13803
13803
|
};
|
|
13804
13804
|
He.style = Ne;
|
|
13805
|
-
const je = "
|
|
13805
|
+
const je = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}", We = je, Be = class {
|
|
13806
13806
|
constructor(n) {
|
|
13807
|
-
p(this, n), this.step =
|
|
13808
|
-
|
|
13807
|
+
p(this, n), this.step = w(this, "step", 7), this.finished = w(this, "finished", 7), this.next = w(this, "next", 7), this.back = w(this, "back", 7), this.handleNext = () => {
|
|
13808
|
+
const e = this.parsedSteps.length - 1;
|
|
13809
|
+
if (this.activeStep >= e) {
|
|
13810
|
+
this.finished.emit();
|
|
13811
|
+
return;
|
|
13812
|
+
}
|
|
13813
|
+
const t = this.activeStep + 1;
|
|
13814
|
+
this.next.emit(t), this.disableNext || (this.activeStep = t, this.step.emit(this.activeStep));
|
|
13809
13815
|
}, this.handleBack = () => {
|
|
13810
|
-
this.activeStep > 0
|
|
13811
|
-
|
|
13816
|
+
if (this.activeStep > 0) {
|
|
13817
|
+
const e = this.activeStep - 1;
|
|
13818
|
+
this.back.emit(e), this.activeStep = e, this.step.emit(this.activeStep);
|
|
13819
|
+
}
|
|
13820
|
+
}, this.steps = [], this.type = "static", this.imageSrc = void 0, this.imageWidth = void 0, this.bg = !0, this.message = void 0, this.nextLabel = "Next", this.backLabel = "Back", this.finishLabel = "Finish", this.disableNext = !1, this.headingLevel = "h4", this.activeStep = 0;
|
|
13812
13821
|
}
|
|
13813
13822
|
componentDidLoad() {
|
|
13814
13823
|
var n;
|
|
@@ -13843,20 +13852,22 @@ const je = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
|
|
|
13843
13852
|
"border-softer effect-focus-within relative rounded-lg border-2"
|
|
13844
13853
|
].join(" ");
|
|
13845
13854
|
}
|
|
13846
|
-
handleStepClick(n) {
|
|
13847
|
-
this.step.emit(n), this.type === "linear" && (this.activeStep = n);
|
|
13848
|
-
}
|
|
13849
13855
|
/**
|
|
13850
13856
|
* Parses the steps property into an array of Step objects.
|
|
13851
13857
|
*/
|
|
13852
13858
|
get parsedSteps() {
|
|
13853
13859
|
return R(this.steps);
|
|
13854
13860
|
}
|
|
13861
|
+
/** Render the semantic heading element */
|
|
13862
|
+
renderHeading(n) {
|
|
13863
|
+
const e = this.headingLevel;
|
|
13864
|
+
return i(e, null, n);
|
|
13865
|
+
}
|
|
13855
13866
|
render() {
|
|
13856
13867
|
const n = this.parsedSteps;
|
|
13857
|
-
return i("div", { key: "
|
|
13868
|
+
return i("div", { key: "1ff00f17a85e9a3a9d7bef23694560acd77e7ee4", class: this.articleClasses() }, this.imageSrc ? i("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, i("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" })) : this.message && i("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, i("div", { class: "p-24" }, i("span", { class: "text-inverse f-heading-04 " }, this.message))), i("div", { key: "a0328e80df5d9447cfa5378eb9e45925f1f68c69", class: "pb-20 px-8" }, this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => i("div", { class: t === 0 ? "step" : "step space-y-16", key: t }, this.renderHeading(e.title), this.activeStep === t && i("div", { class: "content grid gap-y-16" }, i("slot", { name: `step-${t}` }, i("div", { class: (t === n.length - 1, "f-body-02 text-lighter"), innerHTML: e.content })), i("div", { class: "flex items-center" }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: t === 0, class: t === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: t === n.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" })))))) : (
|
|
13858
13869
|
// Static mode: show all steps with their content.
|
|
13859
|
-
i("div", { class: "steps space-y-8" }, n.map((e, t) => i("div", { class: "step", key: t },
|
|
13870
|
+
i("div", { class: "steps space-y-8" }, n.map((e, t) => i("div", { class: "step", key: t }, this.renderHeading(e.title), i("div", { class: "content" }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter", innerHTML: e.content }))))))
|
|
13860
13871
|
)));
|
|
13861
13872
|
}
|
|
13862
13873
|
get el() {
|
|
@@ -13871,8 +13882,8 @@ const je = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
|
|
|
13871
13882
|
Be.style = We;
|
|
13872
13883
|
const qe = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.switch:focus{outline:2px solid #005fcc;outline-offset:2px}.switch:focus:not(:focus-visible){outline:none}.switch:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}", Me = qe, Ue = class {
|
|
13873
13884
|
constructor(n) {
|
|
13874
|
-
p(this, n), this.uiswitch =
|
|
13875
|
-
this.disabled || (this.checked = !this.checked, this.uiswitch.emit({ value: this.checked }),
|
|
13885
|
+
p(this, n), this.uiswitch = w(this, "uiswitch", 7), this.toggleSwitch = () => {
|
|
13886
|
+
this.disabled || (this.checked = !this.checked, this.uiswitch.emit({ value: this.checked }), I({
|
|
13876
13887
|
category: "ui-component",
|
|
13877
13888
|
tag: this.el.tagName.toLowerCase(),
|
|
13878
13889
|
name: this.checked ? this.labelOn : this.labelOff || "",
|
|
@@ -13886,20 +13897,20 @@ const qe = ":host{display:inline-block}.switch-container{display:inline-flex;ali
|
|
|
13886
13897
|
const n = `switch-${Math.random().toString(36).substr(2, 9)}`, e = [];
|
|
13887
13898
|
this.labelOff && e.push(`${n}-off`), this.labelOn && e.push(`${n}-on`);
|
|
13888
13899
|
const t = e.length === 0 ? this.labelOn || this.labelOff ? this.checked ? this.labelOn : this.labelOff : "Toggle switch" : void 0;
|
|
13889
|
-
return i("div", { key: "
|
|
13900
|
+
return i("div", { key: "95a833cbe8e736d7e747f6fdd8504dd8c169ea60", class: "switch-container" }, this.labelOff && i("span", { key: "a88de63c35409ab244a6cba5bd70a10728a08b2a", id: `${n}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff), i("button", { key: "d6573f05164f2b57063e9a97c3b983f32700bd7a", id: n, tabindex: this.disabled ? "-1" : "0", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false", "aria-labelledby": e.length > 0 ? e.join(" ") : void 0, "aria-label": t, class: {
|
|
13890
13901
|
switch: !0,
|
|
13891
13902
|
"switch--checked": this.checked,
|
|
13892
13903
|
"switch--disabled": this.disabled
|
|
13893
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, i("span", { key: "
|
|
13904
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, i("span", { key: "35e6da3bb76779bfaad04d8990dec419524fb543", class: "switch-handle" })), this.labelOn && i("span", { key: "b14243d9d45dbdddb9473ad2c5696e07be9831d3", id: `${n}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn));
|
|
13894
13905
|
}
|
|
13895
13906
|
get el() {
|
|
13896
13907
|
return y(this);
|
|
13897
13908
|
}
|
|
13898
13909
|
};
|
|
13899
13910
|
Ue.style = Me;
|
|
13900
|
-
const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}", Ge = Ve, Ye = class {
|
|
13911
|
+
const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}", Ge = Ve, Ye = class {
|
|
13901
13912
|
constructor(n) {
|
|
13902
|
-
p(this, n), this.rowaction =
|
|
13913
|
+
p(this, n), this.rowaction = w(this, "rowaction", 7), this.handleResize = () => {
|
|
13903
13914
|
this.updateContainerWidth();
|
|
13904
13915
|
}, this.onActionKeyDown = (e) => {
|
|
13905
13916
|
var t;
|
|
@@ -13909,11 +13920,11 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13909
13920
|
const r = e.target, l = r.closest('[role="toolbar"]');
|
|
13910
13921
|
if (!l)
|
|
13911
13922
|
return;
|
|
13912
|
-
const
|
|
13923
|
+
const s = Array.from(l.querySelectorAll("eds-button")), c = s.indexOf(r);
|
|
13913
13924
|
if (c === -1)
|
|
13914
13925
|
return;
|
|
13915
13926
|
let d;
|
|
13916
|
-
e.key === "ArrowRight" ? d = (c + 1) %
|
|
13927
|
+
e.key === "ArrowRight" ? d = (c + 1) % s.length : d = (c - 1 + s.length) % s.length, (t = s[d]) === null || t === void 0 || t.focus();
|
|
13917
13928
|
}, this.data = null, this.config = {}, this.rowsPerPage = 10, this.paginationEnabled = !0, this.searchEnabled = !1, this.hostWidth = void 0, this.columnSize = "default", this.actions = [], this.actionTemplate = void 0, this.parsedActions = [], this.dataColumns = [], this.tbData = [], this.columns = [], this.currentPage = 1, this.parsedConfig = {}, this.totalRows = 0, this.searchQuery = "", this.containerWidth = 0;
|
|
13918
13929
|
}
|
|
13919
13930
|
handleDataChange() {
|
|
@@ -13962,7 +13973,7 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13962
13973
|
if (!this.shouldEnablePagination())
|
|
13963
13974
|
return;
|
|
13964
13975
|
const n = this.hostEl.shadowRoot.querySelector("eds-pagination");
|
|
13965
|
-
n && !n.hasAttribute("listener-attached") && (n.addEventListener("page", (e) => this.handlePageChange(e.detail)), n.setAttribute("listener-attached", "true"));
|
|
13976
|
+
n && !n.hasAttribute("listener-attached") && (n.addEventListener("page", (e) => this.handlePageChange(e.detail.value)), n.setAttribute("listener-attached", "true"));
|
|
13966
13977
|
}
|
|
13967
13978
|
getFilteredRows() {
|
|
13968
13979
|
return this.tbData.filter((n) => Object.values(n).some((e) => e.toString().toLowerCase().includes(this.searchQuery.toLowerCase())));
|
|
@@ -13974,7 +13985,7 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13974
13985
|
return n.slice(e, e + this.rowsPerPage);
|
|
13975
13986
|
}
|
|
13976
13987
|
handlePageChange(n) {
|
|
13977
|
-
this.currentPage = n,
|
|
13988
|
+
this.currentPage = n, I({
|
|
13978
13989
|
category: "ui-component",
|
|
13979
13990
|
parentContext: null,
|
|
13980
13991
|
tag: `${this.hostEl.tagName.toLowerCase()}/eds-pagination`,
|
|
@@ -13996,17 +14007,18 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13996
14007
|
*/
|
|
13997
14008
|
renderSingleActionCell(n, e) {
|
|
13998
14009
|
var t;
|
|
13999
|
-
const r = this.parsedActions.find((
|
|
14010
|
+
const r = this.parsedActions.find((d) => d.name === n);
|
|
14000
14011
|
if (this.actionTemplate)
|
|
14001
14012
|
return this.actionTemplate(e);
|
|
14002
14013
|
if ((r.type || "button") === "checkbox") {
|
|
14003
|
-
const
|
|
14004
|
-
return i("eds-input-field", { name: `chc-${n}`, label: r.label, type: "checkbox", checked:
|
|
14014
|
+
const d = (t = r.field) !== null && t !== void 0 ? t : r.name, b = !!e[d];
|
|
14015
|
+
return i("eds-input-field", { name: `chc-${n}`, label: r.label, type: "checkbox", checked: b, onChange: (S) => this.emitAction(r.name, e, S.target.checked) });
|
|
14005
14016
|
}
|
|
14006
|
-
|
|
14017
|
+
const s = r.showLabel === !0, c = i("eds-button", { icon: r.icon, label: s ? r.label : null, iconPos: "left", pill: !0, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(r.name, e) });
|
|
14018
|
+
return s ? c : i("eds-tooltip", { content: r.label }, c);
|
|
14007
14019
|
}
|
|
14008
14020
|
emitAction(n, e, t) {
|
|
14009
|
-
|
|
14021
|
+
I({
|
|
14010
14022
|
category: "ui-component",
|
|
14011
14023
|
parentContext: null,
|
|
14012
14024
|
tag: `${this.hostEl.tagName.toLowerCase()}/action`,
|
|
@@ -14036,18 +14048,18 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
14036
14048
|
}
|
|
14037
14049
|
render() {
|
|
14038
14050
|
const n = this.hostWidth && this.hostWidth.trim() !== "" ? Number(this.hostWidth) : this.containerWidth || 400, e = this.getVisibleColumnsCount(), t = e > 0 ? Math.floor(n / e * this.divisionFactor()) : 100, r = this.getPaginatedRows(), l = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
14039
|
-
return i("div", { key: "
|
|
14051
|
+
return i("div", { key: "67cfdabc741af13585699e43e67ba0d204a60706" }, this.searchEnabled && i("div", { key: "208240b9832f9b2e9645cc9d7315a43bd47b54b3" }, i("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (s) => this.handleSearch(s) })), i("div", { key: "893924497d1535b7d29bc0b64ba48f4a3e366c43", class: "mt-20" }, i("table", { key: "a019fa4f2886d4c2aa4bddc88dc7b6d7aa63fdcb", class: "block overflow-x-auto mt-6 p-0" }, i("thead", { key: "a6360fea59c605878e443a23cf45d0f8a9644140" }, i("tr", { key: "09702e8838f32c52bf6314b59ec598c6fa55d609", class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((s) => {
|
|
14040
14052
|
var c;
|
|
14041
|
-
return
|
|
14042
|
-
}))), i("tbody", { key: "
|
|
14053
|
+
return s === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }) : !((c = this.parsedConfig[s]) === null || c === void 0) && c.hidden ? null : i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }, this.capitalize(s));
|
|
14054
|
+
}))), i("tbody", { key: "5cdb3697e6c84921a823b40714a497f02c82e360" }, r.map((s) => i("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((c) => {
|
|
14043
14055
|
var d;
|
|
14044
14056
|
return c === "actions" ? i("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${t - 4}px` } }, i("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
14045
14057
|
display: "flex",
|
|
14046
14058
|
gap: "0.5rem",
|
|
14047
14059
|
justifyContent: "center",
|
|
14048
14060
|
flexWrap: "wrap"
|
|
14049
|
-
} }, this.parsedActions.map((b) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(b.name,
|
|
14050
|
-
})))))), this.shouldEnablePagination() && i("div", { key: "
|
|
14061
|
+
} }, this.parsedActions.map((b) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(b.name, s))))) : !((d = this.parsedConfig[c]) === null || d === void 0) && d.hidden ? null : i("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${t - 4}px` } }, this.renderCell(s[c], c));
|
|
14062
|
+
})))))), this.shouldEnablePagination() && i("div", { key: "f5af2cd6e65c3ed55ec2810ec4b1e3f891866271", class: "mt-20" }, i("eds-pagination", { key: "32965384707df502fb197712c73bb290e38ce040", currentPage: this.currentPage, lastPage: l, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })));
|
|
14051
14063
|
}
|
|
14052
14064
|
get hostEl() {
|
|
14053
14065
|
return y(this);
|
|
@@ -14063,7 +14075,7 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
14063
14075
|
Ye.style = Ge;
|
|
14064
14076
|
const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus:focus-visible{outline-style:solid}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:text-default:focus-visible{color:var(--black)}.hover\\:text-default:hover{color:var(--black)}.border-2{border-width:2px}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.after\\:bottom-0::after{bottom:0rem}.after\\:border-0::after{border-width:0px}.after\\:border-b-2::after{border-bottom-width:2px}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:rounded-lg::after{border-radius:16px}.after\\:border-solid::after{border-style:solid}.after\\:border-3::after{border-width:3px}.after\\:border-accent::after{border-color:var(--green-500)}.after\\:opacity-0::after{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:after\\:opacity-100:focus-visible::after{opacity:1}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-tl-lg{border-top-left-radius:16px}.rounded-tr-lg{border-top-right-radius:16px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-b-0{border-bottom-width:0px}.pr-28{padding-right:1.75rem}.pl-28{padding-left:1.75rem}.-mr-16{margin-right:-1rem}.-ml-16{margin-left:-1rem}.px-16{padding-left:1rem;padding-right:1rem}.py-12{padding-top:0.75rem;padding-bottom:0.75rem}.after\\:left-16::after{left:1rem}.after\\:right-16::after{right:1rem}.text-lighter{color:var(--grey-600)}.bg-dark{background-color:var(--grey-300)}.hover\\:bg-darker:hover{background-color:var(--grey-400)}.border-soft{border-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.bg-default{background-color:var(--grey-200)}.text-default{color:var(--black)}.z-99{z-index:99}.after\\:z-10::after{z-index:10}.before\\:bottom-0::before{bottom:0rem}.before\\:h-12::before{height:0.75rem}.before\\:opacity-5::before{opacity:0.05}.before\\:content-\\[\\'\\'\\]::before{--tw-content:'';content:var(--tw-content)}.before\\:absolute::before{position:absolute}.before\\:-bottom-2::before{bottom:-0.125rem}.after\\:inset-x-0::after{left:0rem;right:0rem}.before\\:inset-x-0::before{left:0rem;right:0rem}.before\\:h-3::before{height:0.1875rem}.before\\:bg-default::before{background-color:var(--grey-200)}.after\\:border-soft::after{border-color:rgba(0, 0, 0, .15 )}.after\\:border-softest::after{border-color:rgba(0, 0, 0, .05)}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.before\\:bg-gradient-y::before{background:linear-gradient(to bottom, transparent, ease-in-out, black)}.scroller-x{-ms-overflow-style:none;scrollbar-width:none}.overflow-x-auto{overflow-x:auto}.max-w-xxxl{max-width:2200px}.z-1{z-index:1}.mx-auto{margin-left:auto;margin-right:auto}.pt-8{padding-top:0.5rem}.pr-16{padding-right:1rem}.pl-16{padding-left:1rem}.inline-flex{display:inline-flex}@media (min-width: 900px){.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}}@media (min-width: 2200px){.xxxl\\:px-0{padding-left:0rem;padding-right:0rem}}", Ke = Xe, Ze = class {
|
|
14065
14077
|
constructor(n) {
|
|
14066
|
-
p(this, n), this.tab =
|
|
14078
|
+
p(this, n), this.tab = w(this, "tab", 7), this.tabRefs = [], this.setTabRef = (e, t) => {
|
|
14067
14079
|
e && (this.tabRefs[t] = e);
|
|
14068
14080
|
}, this.tabCva = N([
|
|
14069
14081
|
"relative py-12",
|
|
@@ -14133,7 +14145,7 @@ const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
14133
14145
|
} }, n ? { "data-tab-active": "true" } : {});
|
|
14134
14146
|
}
|
|
14135
14147
|
handleTabClick(n, e, t = !0) {
|
|
14136
|
-
n < 0 || n >= this.parsedTabs.length || (this.activeIndex = n, this.parsedTabs = this.parsedTabs.map((r, l) => Object.assign(Object.assign({}, r), { active: l === n })), this.tab.emit({ tabId: this.identifier, index: n, name: e }), t &&
|
|
14148
|
+
n < 0 || n >= this.parsedTabs.length || (this.activeIndex = n, this.parsedTabs = this.parsedTabs.map((r, l) => Object.assign(Object.assign({}, r), { active: l === n })), this.tab.emit({ tabId: this.identifier, index: n, name: e }), t && I({
|
|
14137
14149
|
category: "ui-component",
|
|
14138
14150
|
tag: this.el.tagName.toLowerCase(),
|
|
14139
14151
|
name: (e == null ? void 0 : e.toLowerCase()) || "",
|
|
@@ -14164,10 +14176,10 @@ const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
14164
14176
|
t !== e && this.handleTabClick(t, this.parsedTabs[t].label, !0);
|
|
14165
14177
|
}
|
|
14166
14178
|
render() {
|
|
14167
|
-
return i("div", { key: "
|
|
14179
|
+
return i("div", { key: "7cb51cf475d45ee3e43877ee4d42565f5930613a", id: `${this.identifier}` }, i("div", { key: "4f3c6d23f9084f07e5728b72310b96798d20b724", class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, i("nav", { key: "4d55e72e9f437cef8be06931445f619196a973a7", role: "tablist", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
|
|
14168
14180
|
const t = "button", r = this.getTabOptions(n.active, e), l = e === this.activeIndex;
|
|
14169
|
-
return i(t, Object.assign({}, r, { type: "button", role: "tab", "aria-selected": n.active ? "true" : "false", tabIndex: l ? 0 : -1, "aria-label": n.ariaLabel || n.label, "aria-controls": `panel-${e}`, id: `tab-${e}`, ref: (
|
|
14170
|
-
}))), i("div", { key: "
|
|
14181
|
+
return i(t, Object.assign({}, r, { type: "button", role: "tab", "aria-selected": n.active ? "true" : "false", tabIndex: l ? 0 : -1, "aria-label": n.ariaLabel || n.label, "aria-controls": `panel-${e}`, id: `tab-${e}`, ref: (s) => this.setTabRef(s, e), onClick: () => this.handleTabClick(e, n.label, !0), onKeyDown: (s) => this.onKeyDown(s, e) }), n.label || n.ariaLabel);
|
|
14182
|
+
}))), i("div", { key: "e75f877da39c25e912853fea5dc2438fc15c67b5", class: "tab-panels" }, this.parsedTabs.map((n, e) => i("div", { role: "tabpanel", id: `panel-${e}`, "aria-labelledby": `tab-${e}`, hidden: e !== this.activeIndex, tabIndex: e === this.activeIndex ? 0 : -1, class: "effect-focus" }, i("slot", { name: `panel-${e}` })))));
|
|
14171
14183
|
}
|
|
14172
14184
|
get el() {
|
|
14173
14185
|
return y(this);
|
|
@@ -14213,7 +14225,7 @@ const Je = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-u
|
|
|
14213
14225
|
}
|
|
14214
14226
|
render() {
|
|
14215
14227
|
const n = nt({ intent: this.intent, size: this.size });
|
|
14216
|
-
return i("span", { key: "
|
|
14228
|
+
return i("span", { key: "e3fe041e8783a7d1bb5a281eb154e3c07851da38", class: n }, this.label);
|
|
14217
14229
|
}
|
|
14218
14230
|
};
|
|
14219
14231
|
et.style = Qe;
|
|
@@ -14233,7 +14245,7 @@ const tt = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
|
|
|
14233
14245
|
}
|
|
14234
14246
|
}), lt = class {
|
|
14235
14247
|
constructor(n) {
|
|
14236
|
-
p(this, n), this.toast =
|
|
14248
|
+
p(this, n), this.toast = w(this, "toast", 7), this.dismissToast = () => {
|
|
14237
14249
|
this.toast.emit({ visible: !1, label: "dismissed" }), this.visible = !1;
|
|
14238
14250
|
}, this.message = void 0, this.intent = "default", this.duration = void 0, this.visible = !0;
|
|
14239
14251
|
}
|
|
@@ -14273,9 +14285,37 @@ const tt = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
|
|
|
14273
14285
|
}
|
|
14274
14286
|
};
|
|
14275
14287
|
lt.style = it;
|
|
14276
|
-
const ot = "
|
|
14288
|
+
const ot = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-xs{border-radius:4px}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.left-1\\/2{left:50%}.z-10{z-index:10}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.p-6{padding:0.375rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.top-full{top:100%}.bottom-full{bottom:100%}.right-full{right:100%}.left-full{left:100%}.mr-2{margin-right:0.125rem}.ml-2{margin-left:0.125rem}.mt-2{margin-top:0.125rem}.mb-2{margin-bottom:0.125rem}.opacity-0{opacity:0}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-150{transition-duration:150ms}.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.group:hover .group-hover\\:opacity-100{opacity:1}.max-w-\\[20rem\\]{max-width:20rem}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.w-full{width:100%}", at = ot, st = class {
|
|
14277
14289
|
constructor(n) {
|
|
14278
|
-
p(this, n), this.
|
|
14290
|
+
p(this, n), this.content = void 0, this.position = "top";
|
|
14291
|
+
}
|
|
14292
|
+
/** fire analytics on every hover */
|
|
14293
|
+
handleHover() {
|
|
14294
|
+
I({
|
|
14295
|
+
category: "ui-component",
|
|
14296
|
+
tag: this.el.tagName.toLowerCase(),
|
|
14297
|
+
name: this.content.toLowerCase(),
|
|
14298
|
+
action: "hover"
|
|
14299
|
+
});
|
|
14300
|
+
}
|
|
14301
|
+
render() {
|
|
14302
|
+
const n = this.position === "bottom" ? "top-full mt-2" : "bottom-full mb-2";
|
|
14303
|
+
return i("div", { key: "135df7d17db03fb3bb7bbcc50ad9ee5d84a2bca2", class: "relative w-full inline-block group" }, i("slot", { key: "4c12874eeb942e33f9c62ea6f1077fd051f683b6" }), i("div", { key: "8bb7173d16889b2ae550dc0269d9e47e1dae00ac", class: `absolute ${n}
|
|
14304
|
+
rounded-xs bg-strongest text-inverse
|
|
14305
|
+
f-ui-03-light pointer-events-none
|
|
14306
|
+
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
14307
|
+
group-hover:opacity-100 whitespace-normal break-words`, role: "tooltip" }, this.content));
|
|
14308
|
+
}
|
|
14309
|
+
get el() {
|
|
14310
|
+
return y(this);
|
|
14311
|
+
}
|
|
14312
|
+
};
|
|
14313
|
+
st.style = at;
|
|
14314
|
+
const dt = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.text-default{color:var(--black)}.min-w-\\[280px\\]{min-width:280px}.p-8{padding:0.5rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-y-8{row-gap:0.5rem}.pb-16{padding-bottom:1rem}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1 )}.max-w-full{max-width:100%}.w-full{width:100%}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mt-16{margin-top:1rem}", ct = dt, gt = class {
|
|
14315
|
+
constructor(n) {
|
|
14316
|
+
p(this, n), this.handleDropdown = (e) => {
|
|
14317
|
+
this.expanded = e.detail.expanded;
|
|
14318
|
+
}, this.user = void 0, this.intent = "tertiary", this.expanded = !1;
|
|
14279
14319
|
}
|
|
14280
14320
|
/**
|
|
14281
14321
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14297,14 +14337,14 @@ const ot = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex
|
|
|
14297
14337
|
return `${((n = l.given_name) === null || n === void 0 ? void 0 : n.charAt(0)) || ""}${((e = l.family_name) === null || e === void 0 ? void 0 : e.charAt(0)) || ""}`.toUpperCase() || ((r = (t = l.name) === null || t === void 0 ? void 0 : t.charAt(0)) === null || r === void 0 ? void 0 : r.toUpperCase()) || "";
|
|
14298
14338
|
}
|
|
14299
14339
|
render() {
|
|
14300
|
-
const n = this.parsedUser;
|
|
14301
|
-
return i("div", { key: "
|
|
14340
|
+
const n = this.parsedUser, e = this.expanded ? "chevron-down" : "chevron-right";
|
|
14341
|
+
return i("div", { key: "965387104c4bd6cd3223c08f16d90146c098594c", class: "block" }, i("div", { key: "37fe5539cb058112ebe0d910439acb55b5abccd8", class: "flex items-center" }, i("eds-dropdown", { key: "17afc8dbae191aec1202ba04d85c41ed656a8c5b", label: `Hi, ${n.preferred_username}`, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: e, class: "text-default", onDropdown: this.handleDropdown }, i("div", { key: "0228c1728b0b73e2504d2608339f9be408be09b8", class: "min-w-[280px] p-8" }, i("div", { key: "b83148ff8249bde91842b036da5506f9f5cbb145", class: "flex gap-x-16" }, i("eds-avatar", { key: "243a05bae2e4e592dc386b1897d824232d0bcfa6", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "black" }), i("div", { key: "6938f54621aa89e61aa6639e8c88af4e262e0fec", class: "max-w-full" }, n.name && i("p", { key: "224ce5cf6819a9dd0c3794410a94da30cc4213bf", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "096ac761149763ef4305ef5e9bf1f4b593a0fe4f", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "79f7da3c6c5efc1f521991c403184cf050b3d2e7", class: "f-ui-03-light text-light mt-4" }, n.email))), i("div", { key: "52ce98bcc290902605ebd427ee8ab72ac9af3d62", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "88d1b250c434830347e0eb813214382ce899c485" }))))));
|
|
14302
14342
|
}
|
|
14303
14343
|
get hostEl() {
|
|
14304
14344
|
return y(this);
|
|
14305
14345
|
}
|
|
14306
14346
|
};
|
|
14307
|
-
|
|
14347
|
+
gt.style = ct;
|
|
14308
14348
|
export {
|
|
14309
14349
|
En as eds_accordion,
|
|
14310
14350
|
In as eds_alert,
|
|
@@ -14316,21 +14356,21 @@ export {
|
|
|
14316
14356
|
Gn as eds_dropdown,
|
|
14317
14357
|
te as eds_form,
|
|
14318
14358
|
le as eds_header,
|
|
14319
|
-
|
|
14359
|
+
xt as eds_icon_wrapper,
|
|
14320
14360
|
se as eds_img,
|
|
14321
|
-
|
|
14361
|
+
yt as eds_input,
|
|
14322
14362
|
ge as eds_input_field,
|
|
14323
14363
|
be as eds_input_footer,
|
|
14324
|
-
|
|
14325
|
-
|
|
14326
|
-
|
|
14327
|
-
|
|
14364
|
+
pe as eds_input_label,
|
|
14365
|
+
vt as eds_input_range,
|
|
14366
|
+
wt as eds_input_search,
|
|
14367
|
+
kt as eds_input_select,
|
|
14328
14368
|
we as eds_link,
|
|
14329
14369
|
Ce as eds_logo,
|
|
14330
14370
|
Fe as eds_matomo_notice,
|
|
14331
14371
|
Le as eds_nps,
|
|
14332
14372
|
$e as eds_pagination,
|
|
14333
|
-
|
|
14373
|
+
De as eds_rating,
|
|
14334
14374
|
He as eds_steps,
|
|
14335
14375
|
Be as eds_steps_v2,
|
|
14336
14376
|
Ue as eds_switch,
|
|
@@ -14338,5 +14378,6 @@ export {
|
|
|
14338
14378
|
Ze as eds_tabs,
|
|
14339
14379
|
et as eds_tag,
|
|
14340
14380
|
lt as eds_toast,
|
|
14341
|
-
st as
|
|
14381
|
+
st as eds_tooltip,
|
|
14382
|
+
gt as eds_user
|
|
14342
14383
|
};
|