@solid-design-system/components 7.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.KSZUHYF7.js → chunk.2C3UQTSS.js} +1 -1
- package/cdn/chunks/{chunk.O7SKSXCU.js → chunk.2O3FM7UB.js} +1 -1
- package/cdn/chunks/{chunk.MU62OKKN.js → chunk.35XPUMS2.js} +1 -1
- package/cdn/chunks/{chunk.GMK4GUJU.js → chunk.3IZUMERL.js} +1 -1
- package/cdn/chunks/{chunk.O2KXD6V3.js → chunk.3RIAU3TH.js} +1 -1
- package/cdn/chunks/{chunk.MGUGARHV.js → chunk.4GA43M6X.js} +1 -1
- package/cdn/chunks/{chunk.3ZO6YY7I.js → chunk.4QTJXGRR.js} +1 -1
- package/cdn/chunks/{chunk.2ITHO4DN.js → chunk.5SQTIWWY.js} +1 -1
- package/cdn/chunks/{chunk.I6YCX5RP.js → chunk.ADVB3FPU.js} +1 -1
- package/cdn/chunks/{chunk.Z6PXRBBW.js → chunk.AJGTKHU5.js} +1 -1
- package/cdn/chunks/{chunk.GIARN4UP.js → chunk.C37LGAL3.js} +1 -1
- package/cdn/chunks/{chunk.FFI6YSXU.js → chunk.CGMKBGJU.js} +1 -1
- package/cdn/chunks/{chunk.AZUI44B5.js → chunk.CQNFI34K.js} +1 -1
- package/cdn/chunks/{chunk.ZNLOJFYY.js → chunk.DCAJAXUP.js} +1 -1
- package/cdn/chunks/{chunk.NWNTRKHL.js → chunk.DS2MKMMN.js} +1 -1
- package/cdn/chunks/{chunk.6O5DTJMU.js → chunk.GA3PWYR4.js} +1 -1
- package/cdn/chunks/{chunk.7RGHHNKJ.js → chunk.HNBY226D.js} +1 -1
- package/cdn/chunks/chunk.HWX5X5EX.js +2 -0
- package/cdn/chunks/{chunk.Q64TZBRZ.js → chunk.HY624TPC.js} +1 -1
- package/cdn/chunks/{chunk.GG7UP3MH.js → chunk.I7OVY27Y.js} +1 -1
- package/cdn/chunks/{chunk.2LXNC6H3.js → chunk.IFLRUJCI.js} +1 -1
- package/cdn/chunks/{chunk.OL5UARRQ.js → chunk.IQBZ7GRB.js} +1 -1
- package/cdn/chunks/chunk.J45556RK.js +26 -0
- package/cdn/chunks/{chunk.AI7EFEUE.js → chunk.JMX6KLDZ.js} +1 -1
- package/cdn/chunks/{chunk.F4VKYXZU.js → chunk.KE2YEQDL.js} +1 -1
- package/cdn/chunks/{chunk.3W72NBFO.js → chunk.MYPRMCUO.js} +1 -1
- package/cdn/chunks/{chunk.MDIQLQU6.js → chunk.N4L76IWF.js} +1 -1
- package/cdn/chunks/{chunk.3AGXZWRW.js → chunk.NGU7NO3O.js} +1 -1
- package/cdn/chunks/{chunk.2AR7OD3J.js → chunk.NJKSWXOS.js} +1 -1
- package/cdn/chunks/{chunk.YOEY6E2E.js → chunk.NOP4DTP2.js} +1 -1
- package/cdn/chunks/{chunk.ZDXDR6L6.js → chunk.OOIX4OAP.js} +1 -1
- package/cdn/chunks/{chunk.3ESWKAZS.js → chunk.P7GMFHO5.js} +1 -1
- package/cdn/chunks/{chunk.WZLYCJJA.js → chunk.PCXVXYU2.js} +1 -1
- package/cdn/chunks/{chunk.FAGCRWAX.js → chunk.PFPUD5HR.js} +1 -1
- package/cdn/chunks/{chunk.B4R4H2RH.js → chunk.PKCNX4R2.js} +1 -1
- package/cdn/chunks/{chunk.QFWT54X4.js → chunk.PQW77KHE.js} +1 -1
- package/cdn/chunks/{chunk.REMEEDIQ.js → chunk.PURR56D5.js} +1 -1
- package/cdn/chunks/{chunk.VWI56VMW.js → chunk.Q3DFVGEW.js} +1 -1
- package/cdn/chunks/{chunk.T35R3Z5M.js → chunk.Q63S2Z2M.js} +1 -1
- package/cdn/chunks/{chunk.RWLAIGRI.js → chunk.QK3WCIP5.js} +1 -1
- package/cdn/chunks/{chunk.QDREJDJ2.js → chunk.RHC6WZ6V.js} +1 -1
- package/cdn/chunks/{chunk.GH4YN7AR.js → chunk.RRJCCIDH.js} +1 -1
- package/cdn/chunks/{chunk.LQ2TVIG5.js → chunk.SPL6VR5S.js} +1 -1
- package/cdn/chunks/{chunk.GUY5KRI5.js → chunk.SSE7T5OF.js} +1 -1
- package/cdn/chunks/{chunk.VWYQ4GYH.js → chunk.SZNU4NHI.js} +1 -1
- package/cdn/chunks/{chunk.MADHUCSI.js → chunk.T7I5MFNS.js} +1 -1
- package/cdn/chunks/{chunk.UTB3OKJT.js → chunk.TIMZJKMF.js} +1 -1
- package/cdn/chunks/{chunk.ADMPVU62.js → chunk.TX5WPWH2.js} +1 -1
- package/cdn/chunks/{chunk.GA5I2MP7.js → chunk.UI3ZVKSU.js} +1 -1
- package/cdn/chunks/{chunk.5KXVHZV5.js → chunk.V6IM4GAA.js} +1 -1
- package/cdn/chunks/{chunk.RLALDY5L.js → chunk.VPBXFCBA.js} +1 -1
- package/cdn/chunks/{chunk.AOGCHS73.js → chunk.VSX5LY2D.js} +1 -1
- package/cdn/chunks/{chunk.F5IUPQVT.js → chunk.WL6NNNG5.js} +1 -1
- package/cdn/chunks/{chunk.CPQBVK5K.js → chunk.WQZWYMH3.js} +1 -1
- package/cdn/chunks/{chunk.I7JUSAUC.js → chunk.WUXX2P2S.js} +1 -1
- package/cdn/chunks/{chunk.ZHVSNIJ2.js → chunk.XGVG7F7T.js} +1 -1
- package/cdn/chunks/{chunk.RFPANR7F.js → chunk.XHYIXZF4.js} +1 -1
- package/cdn/chunks/{chunk.PN4FJAN5.js → chunk.XZ5JTM6K.js} +1 -1
- package/cdn/chunks/{chunk.A2EU2YJG.js → chunk.Y4ZS3BWH.js} +1 -1
- package/cdn/chunks/{chunk.B3PR5MVH.js → chunk.YUDSN6HJ.js} +1 -1
- package/cdn/chunks/{chunk.GBGRCCRP.js → chunk.Z2M7BQV5.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/datepicker/datepicker.d.ts +1 -0
- package/cdn/components/datepicker/datepicker.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/file-selector/file-selector.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/loader/loader.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/menu/menu.js +1 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/progress-bar/progress-bar.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/range/range.js +1 -1
- package/cdn/components/range-tick/range-tick.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/skeleton/skeleton.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/theme-listener/theme-listener.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +461 -461
- package/cdn/solid-components.bundle.js +78 -78
- package/cdn/solid-components.iife.js +76 -76
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/vscode.html-custom-data.json +52 -52
- package/cdn/web-types.json +109 -109
- package/cdn-versioned/chunks/{chunk.KSZUHYF7.js → chunk.2C3UQTSS.js} +2 -2
- package/cdn-versioned/chunks/{chunk.O7SKSXCU.js → chunk.2O3FM7UB.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MU62OKKN.js → chunk.35XPUMS2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GMK4GUJU.js → chunk.3IZUMERL.js} +2 -2
- package/cdn-versioned/chunks/{chunk.O2KXD6V3.js → chunk.3RIAU3TH.js} +3 -3
- package/cdn-versioned/chunks/{chunk.MGUGARHV.js → chunk.4GA43M6X.js} +2 -2
- package/cdn-versioned/chunks/{chunk.3ZO6YY7I.js → chunk.4QTJXGRR.js} +2 -2
- package/cdn-versioned/chunks/{chunk.2ITHO4DN.js → chunk.5SQTIWWY.js} +2 -2
- package/cdn-versioned/chunks/{chunk.I6YCX5RP.js → chunk.ADVB3FPU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.Z6PXRBBW.js → chunk.AJGTKHU5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GIARN4UP.js → chunk.C37LGAL3.js} +2 -2
- package/cdn-versioned/chunks/{chunk.FFI6YSXU.js → chunk.CGMKBGJU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.AZUI44B5.js → chunk.CQNFI34K.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZNLOJFYY.js → chunk.DCAJAXUP.js} +2 -2
- package/cdn-versioned/chunks/{chunk.NWNTRKHL.js → chunk.DS2MKMMN.js} +3 -3
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/{chunk.6O5DTJMU.js → chunk.GA3PWYR4.js} +2 -2
- package/cdn-versioned/chunks/{chunk.7RGHHNKJ.js → chunk.HNBY226D.js} +2 -2
- package/cdn-versioned/chunks/chunk.HWX5X5EX.js +2 -0
- package/cdn-versioned/chunks/{chunk.Q64TZBRZ.js → chunk.HY624TPC.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GG7UP3MH.js → chunk.I7OVY27Y.js} +10 -10
- package/cdn-versioned/chunks/{chunk.2LXNC6H3.js → chunk.IFLRUJCI.js} +2 -2
- package/cdn-versioned/chunks/{chunk.OL5UARRQ.js → chunk.IQBZ7GRB.js} +2 -2
- package/cdn-versioned/chunks/chunk.J45556RK.js +26 -0
- package/cdn-versioned/chunks/{chunk.AI7EFEUE.js → chunk.JMX6KLDZ.js} +2 -2
- package/cdn-versioned/chunks/{chunk.F4VKYXZU.js → chunk.KE2YEQDL.js} +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.MR54F6CV.js +2 -2
- package/cdn-versioned/chunks/{chunk.3W72NBFO.js → chunk.MYPRMCUO.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MDIQLQU6.js → chunk.N4L76IWF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.3AGXZWRW.js → chunk.NGU7NO3O.js} +5 -5
- package/cdn-versioned/chunks/{chunk.2AR7OD3J.js → chunk.NJKSWXOS.js} +2 -2
- package/cdn-versioned/chunks/{chunk.YOEY6E2E.js → chunk.NOP4DTP2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZDXDR6L6.js → chunk.OOIX4OAP.js} +2 -2
- package/cdn-versioned/chunks/{chunk.3ESWKAZS.js → chunk.P7GMFHO5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.WZLYCJJA.js → chunk.PCXVXYU2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.FAGCRWAX.js → chunk.PFPUD5HR.js} +2 -2
- package/cdn-versioned/chunks/{chunk.B4R4H2RH.js → chunk.PKCNX4R2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.QFWT54X4.js → chunk.PQW77KHE.js} +2 -2
- package/cdn-versioned/chunks/{chunk.REMEEDIQ.js → chunk.PURR56D5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.VWI56VMW.js → chunk.Q3DFVGEW.js} +5 -5
- package/cdn-versioned/chunks/{chunk.T35R3Z5M.js → chunk.Q63S2Z2M.js} +2 -2
- package/cdn-versioned/chunks/{chunk.RWLAIGRI.js → chunk.QK3WCIP5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.QDREJDJ2.js → chunk.RHC6WZ6V.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GH4YN7AR.js → chunk.RRJCCIDH.js} +2 -2
- package/cdn-versioned/chunks/{chunk.LQ2TVIG5.js → chunk.SPL6VR5S.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GUY5KRI5.js → chunk.SSE7T5OF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.VWYQ4GYH.js → chunk.SZNU4NHI.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MADHUCSI.js → chunk.T7I5MFNS.js} +3 -3
- package/cdn-versioned/chunks/{chunk.UTB3OKJT.js → chunk.TIMZJKMF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ADMPVU62.js → chunk.TX5WPWH2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GA5I2MP7.js → chunk.UI3ZVKSU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.5KXVHZV5.js → chunk.V6IM4GAA.js} +2 -2
- package/cdn-versioned/chunks/{chunk.RLALDY5L.js → chunk.VPBXFCBA.js} +2 -2
- package/cdn-versioned/chunks/{chunk.AOGCHS73.js → chunk.VSX5LY2D.js} +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.F5IUPQVT.js → chunk.WL6NNNG5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.CPQBVK5K.js → chunk.WQZWYMH3.js} +2 -2
- package/cdn-versioned/chunks/{chunk.I7JUSAUC.js → chunk.WUXX2P2S.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZHVSNIJ2.js → chunk.XGVG7F7T.js} +2 -2
- package/cdn-versioned/chunks/{chunk.RFPANR7F.js → chunk.XHYIXZF4.js} +2 -2
- package/cdn-versioned/chunks/{chunk.PN4FJAN5.js → chunk.XZ5JTM6K.js} +2 -2
- package/cdn-versioned/chunks/{chunk.A2EU2YJG.js → chunk.Y4ZS3BWH.js} +2 -2
- package/cdn-versioned/chunks/{chunk.B3PR5MVH.js → chunk.YUDSN6HJ.js} +3 -3
- package/cdn-versioned/chunks/{chunk.GBGRCCRP.js → chunk.Z2M7BQV5.js} +2 -2
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +2 -1
- package/cdn-versioned/components/datepicker/datepicker.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.js +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/file-selector/file-selector.d.ts +1 -1
- package/cdn-versioned/components/file-selector/file-selector.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.js +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.js +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +1 -1
- package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
- package/cdn-versioned/components/progress-bar/progress-bar.js +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range/range.js +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.js +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/cdn-versioned/components/skeleton/skeleton.js +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +721 -721
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +87 -87
- package/cdn-versioned/solid-components.css +3 -3
- package/cdn-versioned/solid-components.iife.js +86 -86
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +166 -166
- package/cdn-versioned/web-types.json +280 -280
- package/dist/chunks/{chunk.IJ7UIFUE.js → chunk.2EXNVXP2.js} +1 -1
- package/dist/chunks/{chunk.6VFD5NZR.js → chunk.2M6Y3YHU.js} +1 -1
- package/dist/chunks/{chunk.4PVMCUXL.js → chunk.2NXJZVSN.js} +1 -1
- package/dist/chunks/{chunk.SHN2I24K.js → chunk.2OT7JZJP.js} +1 -1
- package/dist/chunks/{chunk.3X6YKZV2.js → chunk.2Y2MTVGF.js} +1 -1
- package/dist/chunks/{chunk.TAXXEJSP.js → chunk.3PHACHZ2.js} +1 -1
- package/dist/chunks/{chunk.YLTS3DRQ.js → chunk.42XKKRQ2.js} +1 -1
- package/dist/chunks/{chunk.5M5REO5V.js → chunk.4FXMBMSY.js} +1 -1
- package/dist/chunks/{chunk.X43JSG7P.js → chunk.4JC6XNQW.js} +1 -1
- package/dist/chunks/{chunk.TDFNLRUN.js → chunk.5JPFIM5W.js} +1 -1
- package/dist/chunks/{chunk.N7R2AS4G.js → chunk.5TU4CAN7.js} +1 -1
- package/dist/chunks/{chunk.4Q7OBQ4W.js → chunk.65FELEDA.js} +1 -1
- package/dist/chunks/{chunk.7C3QYV5V.js → chunk.67LY7Y75.js} +1 -1
- package/dist/chunks/{chunk.53ALFWOE.js → chunk.6F52A4JB.js} +1 -1
- package/dist/chunks/{chunk.DXBLDNFC.js → chunk.72LCNWVE.js} +1 -1
- package/dist/chunks/{chunk.GWALMBNP.js → chunk.7DQB3MN6.js} +1 -1
- package/dist/chunks/{chunk.X76XYLWV.js → chunk.7EXDALNL.js} +1 -1
- package/dist/chunks/{chunk.DNE5ASH4.js → chunk.AHIYNPL4.js} +1 -1
- package/dist/chunks/{chunk.WJDMGITX.js → chunk.ALJ34SPY.js} +1 -1
- package/dist/chunks/{chunk.EVCPPJPM.js → chunk.B5BWUIZC.js} +1 -1
- package/dist/chunks/{chunk.QN22ZMGT.js → chunk.BW5BXFWA.js} +1 -1
- package/dist/chunks/chunk.C3L34J75.js +93 -0
- package/dist/chunks/{chunk.Z46FZJNF.js → chunk.C4HDZU75.js} +1 -1
- package/dist/chunks/{chunk.L4XU56GO.js → chunk.CB7PF3MZ.js} +1 -1
- package/dist/chunks/{chunk.VAEJX7NE.js → chunk.CXFXIMXV.js} +1 -1
- package/dist/chunks/{chunk.IBO3DT5Q.js → chunk.DF2LZ65H.js} +1 -1
- package/dist/chunks/{chunk.AOCDBQ25.js → chunk.DGLSKBZE.js} +2 -2
- package/dist/chunks/{chunk.O3M4QLOJ.js → chunk.DZED227Y.js} +1 -1
- package/dist/chunks/{chunk.D5AXUWNZ.js → chunk.EQIZ7J5Z.js} +1 -1
- package/dist/chunks/{chunk.DZ4M5DL7.js → chunk.ES5DW7MC.js} +1 -1
- package/dist/chunks/{chunk.N2GBPM7O.js → chunk.HCADZIES.js} +1 -1
- package/dist/chunks/{chunk.FX6SKOH4.js → chunk.HFRDUE6W.js} +1 -1
- package/dist/chunks/{chunk.PZ6BUUCP.js → chunk.I3DVEGNB.js} +1 -1
- package/dist/chunks/{chunk.HM34VU45.js → chunk.I46TZJHO.js} +2 -2
- package/dist/chunks/{chunk.BNZVXMHF.js → chunk.JKJXDDJU.js} +1 -1
- package/dist/chunks/{chunk.4HAEWSYV.js → chunk.JPGYEMXS.js} +1 -1
- package/dist/chunks/{chunk.OO2LH4SE.js → chunk.JXDY64LH.js} +1 -1
- package/dist/chunks/{chunk.AQILCWGG.js → chunk.KSU44YSO.js} +1 -1
- package/dist/chunks/{chunk.WW2GYTA2.js → chunk.KXUT6UJL.js} +1 -1
- package/dist/chunks/{chunk.KRKT2A2K.js → chunk.LCQBGEHF.js} +72 -22
- package/dist/chunks/{chunk.N7K5KXEP.js → chunk.MPHRXV2B.js} +1 -1
- package/dist/chunks/{chunk.G2QMQ3TC.js → chunk.N5RQE7OC.js} +1 -1
- package/dist/chunks/{chunk.4XVYXK3Y.js → chunk.PAXRRXRW.js} +1 -1
- package/dist/chunks/{chunk.JQ3EFQAS.js → chunk.PGECK7YI.js} +1 -1
- package/dist/chunks/{chunk.ZSRPJGFN.js → chunk.QGCJ4WUV.js} +1 -1
- package/dist/chunks/{chunk.V52RU2QQ.js → chunk.QIYLIH7P.js} +1 -1
- package/dist/chunks/{chunk.Z6VBJGLD.js → chunk.QNHUD2SQ.js} +1 -1
- package/dist/chunks/{chunk.XFFYITQX.js → chunk.S2ZVBJYN.js} +1 -1
- package/dist/chunks/{chunk.QPJTXP3H.js → chunk.SEWHXNAY.js} +1 -1
- package/dist/chunks/{chunk.7XGGN33M.js → chunk.SG7H3CVK.js} +2 -2
- package/dist/chunks/{chunk.WCQW4CQT.js → chunk.SMRP2JEM.js} +1 -1
- package/dist/chunks/{chunk.UP7LZTGK.js → chunk.TFAIMBF7.js} +1 -1
- package/dist/chunks/{chunk.3J7VZBTS.js → chunk.TLAI6IVF.js} +1 -1
- package/dist/chunks/{chunk.JPKYXMRK.js → chunk.UORTR6WB.js} +1 -1
- package/dist/chunks/{chunk.QAKJW5ON.js → chunk.VX7JXCCH.js} +1 -1
- package/dist/chunks/{chunk.AEUPKYPF.js → chunk.XAU2YS2A.js} +1 -1
- package/dist/chunks/{chunk.YUF5NVHJ.js → chunk.XQMBT64Z.js} +1 -1
- package/dist/chunks/{chunk.PPCXX2VU.js → chunk.YJ46MX3X.js} +1 -1
- package/dist/chunks/{chunk.BEIIUIHO.js → chunk.YRKHHYV5.js} +1 -1
- package/dist/chunks/{chunk.WEFWQVW5.js → chunk.ZLPWCNY6.js} +1 -1
- package/dist/chunks/{chunk.WR3OMWJ5.js → chunk.ZQ6CXL6H.js} +1 -1
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion-group/accordion-group.js +4 -4
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +7 -7
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.js +5 -5
- package/dist/components/datepicker/datepicker.d.ts +1 -0
- package/dist/components/datepicker/datepicker.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +6 -6
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +3 -3
- package/dist/components/file-selector/file-selector.js +6 -6
- package/dist/components/flipcard/flipcard.js +6 -6
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +3 -3
- package/dist/components/link/link.js +2 -2
- package/dist/components/loader/loader.js +2 -2
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/menu-item/menu-item.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +4 -4
- package/dist/components/notification/notification.js +6 -6
- package/dist/components/optgroup/optgroup.js +3 -3
- package/dist/components/option/option.js +3 -3
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quickfact/quickfact.js +4 -4
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/range-tick/range-tick.js +2 -2
- package/dist/components/scrollable/scrollable.js +3 -3
- package/dist/components/select/select.js +5 -5
- package/dist/components/skeleton/skeleton.js +2 -2
- package/dist/components/step/step.js +3 -3
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +3 -3
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/theme-listener/theme-listener.js +2 -2
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/video/video.js +3 -3
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +61 -61
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/{chunk.IJ7UIFUE.js → chunk.2EXNVXP2.js} +3 -3
- package/dist-versioned/chunks/{chunk.6VFD5NZR.js → chunk.2M6Y3YHU.js} +5 -5
- package/dist-versioned/chunks/{chunk.4PVMCUXL.js → chunk.2NXJZVSN.js} +12 -12
- package/dist-versioned/chunks/{chunk.SHN2I24K.js → chunk.2OT7JZJP.js} +11 -11
- package/dist-versioned/chunks/{chunk.3X6YKZV2.js → chunk.2Y2MTVGF.js} +4 -4
- package/dist-versioned/chunks/{chunk.TAXXEJSP.js → chunk.3PHACHZ2.js} +8 -8
- package/dist-versioned/chunks/{chunk.YLTS3DRQ.js → chunk.42XKKRQ2.js} +7 -7
- package/dist-versioned/chunks/{chunk.5M5REO5V.js → chunk.4FXMBMSY.js} +4 -4
- package/dist-versioned/chunks/{chunk.X43JSG7P.js → chunk.4JC6XNQW.js} +5 -5
- package/dist-versioned/chunks/chunk.4VWOZ477.js +4 -4
- package/dist-versioned/chunks/{chunk.TDFNLRUN.js → chunk.5JPFIM5W.js} +4 -4
- package/dist-versioned/chunks/{chunk.N7R2AS4G.js → chunk.5TU4CAN7.js} +7 -7
- package/dist-versioned/chunks/{chunk.4Q7OBQ4W.js → chunk.65FELEDA.js} +4 -4
- package/dist-versioned/chunks/{chunk.7C3QYV5V.js → chunk.67LY7Y75.js} +5 -5
- package/dist-versioned/chunks/{chunk.53ALFWOE.js → chunk.6F52A4JB.js} +4 -4
- package/dist-versioned/chunks/{chunk.DXBLDNFC.js → chunk.72LCNWVE.js} +4 -4
- package/dist-versioned/chunks/{chunk.GWALMBNP.js → chunk.7DQB3MN6.js} +8 -8
- package/dist-versioned/chunks/{chunk.X76XYLWV.js → chunk.7EXDALNL.js} +6 -6
- package/dist-versioned/chunks/{chunk.DNE5ASH4.js → chunk.AHIYNPL4.js} +2 -2
- package/dist-versioned/chunks/{chunk.WJDMGITX.js → chunk.ALJ34SPY.js} +5 -5
- package/dist-versioned/chunks/{chunk.EVCPPJPM.js → chunk.B5BWUIZC.js} +3 -3
- package/dist-versioned/chunks/{chunk.QN22ZMGT.js → chunk.BW5BXFWA.js} +6 -6
- package/dist-versioned/chunks/chunk.C3L34J75.js +93 -0
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/{chunk.Z46FZJNF.js → chunk.C4HDZU75.js} +3 -3
- package/dist-versioned/chunks/{chunk.L4XU56GO.js → chunk.CB7PF3MZ.js} +7 -7
- package/dist-versioned/chunks/{chunk.VAEJX7NE.js → chunk.CXFXIMXV.js} +14 -14
- package/dist-versioned/chunks/{chunk.IBO3DT5Q.js → chunk.DF2LZ65H.js} +3 -3
- package/dist-versioned/chunks/{chunk.AOCDBQ25.js → chunk.DGLSKBZE.js} +5 -5
- package/dist-versioned/chunks/{chunk.O3M4QLOJ.js → chunk.DZED227Y.js} +2 -2
- package/dist-versioned/chunks/{chunk.D5AXUWNZ.js → chunk.EQIZ7J5Z.js} +26 -26
- package/dist-versioned/chunks/{chunk.DZ4M5DL7.js → chunk.ES5DW7MC.js} +3 -3
- package/dist-versioned/chunks/{chunk.N2GBPM7O.js → chunk.HCADZIES.js} +24 -24
- package/dist-versioned/chunks/{chunk.FX6SKOH4.js → chunk.HFRDUE6W.js} +12 -12
- package/dist-versioned/chunks/{chunk.PZ6BUUCP.js → chunk.I3DVEGNB.js} +12 -12
- package/dist-versioned/chunks/{chunk.HM34VU45.js → chunk.I46TZJHO.js} +12 -12
- package/dist-versioned/chunks/{chunk.BNZVXMHF.js → chunk.JKJXDDJU.js} +4 -4
- package/dist-versioned/chunks/{chunk.4HAEWSYV.js → chunk.JPGYEMXS.js} +3 -3
- package/dist-versioned/chunks/{chunk.OO2LH4SE.js → chunk.JXDY64LH.js} +11 -11
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/{chunk.AQILCWGG.js → chunk.KSU44YSO.js} +8 -8
- package/dist-versioned/chunks/{chunk.WW2GYTA2.js → chunk.KXUT6UJL.js} +3 -3
- package/dist-versioned/chunks/{chunk.KRKT2A2K.js → chunk.LCQBGEHF.js} +77 -27
- package/dist-versioned/chunks/{chunk.N7K5KXEP.js → chunk.MPHRXV2B.js} +2 -2
- package/dist-versioned/chunks/{chunk.G2QMQ3TC.js → chunk.N5RQE7OC.js} +2 -2
- package/dist-versioned/chunks/{chunk.4XVYXK3Y.js → chunk.PAXRRXRW.js} +5 -5
- package/dist-versioned/chunks/{chunk.JQ3EFQAS.js → chunk.PGECK7YI.js} +2 -2
- package/dist-versioned/chunks/{chunk.ZSRPJGFN.js → chunk.QGCJ4WUV.js} +6 -6
- package/dist-versioned/chunks/{chunk.V52RU2QQ.js → chunk.QIYLIH7P.js} +6 -6
- package/dist-versioned/chunks/{chunk.Z6VBJGLD.js → chunk.QNHUD2SQ.js} +43 -43
- package/dist-versioned/chunks/{chunk.XFFYITQX.js → chunk.S2ZVBJYN.js} +6 -6
- package/dist-versioned/chunks/{chunk.QPJTXP3H.js → chunk.SEWHXNAY.js} +6 -6
- package/dist-versioned/chunks/{chunk.7XGGN33M.js → chunk.SG7H3CVK.js} +14 -14
- package/dist-versioned/chunks/{chunk.WCQW4CQT.js → chunk.SMRP2JEM.js} +2 -2
- package/dist-versioned/chunks/{chunk.UP7LZTGK.js → chunk.TFAIMBF7.js} +12 -12
- package/dist-versioned/chunks/{chunk.3J7VZBTS.js → chunk.TLAI6IVF.js} +3 -3
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.JPKYXMRK.js → chunk.UORTR6WB.js} +6 -6
- package/dist-versioned/chunks/{chunk.QAKJW5ON.js → chunk.VX7JXCCH.js} +3 -3
- package/dist-versioned/chunks/{chunk.AEUPKYPF.js → chunk.XAU2YS2A.js} +6 -6
- package/dist-versioned/chunks/{chunk.YUF5NVHJ.js → chunk.XQMBT64Z.js} +9 -9
- package/dist-versioned/chunks/{chunk.PPCXX2VU.js → chunk.YJ46MX3X.js} +7 -7
- package/dist-versioned/chunks/{chunk.BEIIUIHO.js → chunk.YRKHHYV5.js} +3 -3
- package/dist-versioned/chunks/{chunk.WEFWQVW5.js → chunk.ZLPWCNY6.js} +15 -15
- package/dist-versioned/chunks/{chunk.WR3OMWJ5.js → chunk.ZQ6CXL6H.js} +6 -6
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +3 -3
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +7 -7
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/badge/badge.js +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +2 -2
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +4 -4
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +4 -4
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +3 -3
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +5 -5
- package/dist-versioned/components/datepicker/datepicker.d.ts +2 -1
- package/dist-versioned/components/datepicker/datepicker.js +5 -5
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +6 -6
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +6 -6
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +3 -3
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +3 -3
- package/dist-versioned/components/file-selector/file-selector.d.ts +1 -1
- package/dist-versioned/components/file-selector/file-selector.js +6 -6
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +6 -6
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/header/header.js +2 -2
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +2 -2
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +3 -3
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +2 -2
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/loader/loader.js +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu/menu.js +2 -2
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.js +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +6 -6
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +3 -3
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +3 -3
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
- package/dist-versioned/components/progress-bar/progress-bar.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +4 -4
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +2 -2
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.js +4 -4
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range/range.js +5 -5
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.js +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +3 -3
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +5 -5
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +3 -3
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +2 -2
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +3 -3
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +3 -3
- package/dist-versioned/components/teaser/teaser.js +2 -2
- package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +3 -3
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +4 -4
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +3 -3
- package/dist-versioned/custom-elements.json +721 -721
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +3 -3
- package/dist-versioned/solid-components.js +61 -61
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +166 -166
- package/dist-versioned/web-types.json +280 -280
- package/package.json +2 -2
- package/cdn/chunks/chunk.H3V3YZCR.js +0 -2
- package/cdn/chunks/chunk.Z44RDBCE.js +0 -26
- package/cdn-versioned/chunks/chunk.H3V3YZCR.js +0 -2
- package/cdn-versioned/chunks/chunk.Z44RDBCE.js +0 -26
- package/dist/chunks/chunk.PVSLBUSF.js +0 -93
- package/dist-versioned/chunks/chunk.PVSLBUSF.js +0 -93
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var Bi=Object.defineProperty,Sa=Object.defineProperties,Da=Object.getOwnPropertyDescriptor,_a=Object.getOwnPropertyDescriptors;var ti=Object.getOwnPropertySymbols;var zs=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable;var Ss=s=>{throw TypeError(s)};var Ri=(s,r,t)=>r in s?Bi(s,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[r]=t,K=(s,r)=>{for(var t in r||(r={}))zs.call(r,t)&&Ri(s,t,r[t]);if(ti)for(var t of ti(r))Ms.call(r,t)&&Ri(s,t,r[t]);return s},xt=(s,r)=>Sa(s,_a(r));var ei=(s,r)=>{var t={};for(var e in s)zs.call(s,e)&&r.indexOf(e)<0&&(t[e]=s[e]);if(s!=null&&ti)for(var e of ti(s))r.indexOf(e)<0&&Ms.call(s,e)&&(t[e]=s[e]);return t};var Aa=(s,r)=>{for(var t in r)Bi(s,t,{get:r[t],enumerable:!0})};var o=(s,r,t,e)=>{for(var i=e>1?void 0:e?Da(r,t):r,a=s.length-1,n;a>=0;a--)(n=s[a])&&(i=(e?n(r,t,i):n(i))||i);return e&&i&&Bi(r,t,i),i};var Kt=(s,r,t)=>Ri(s,typeof r!="symbol"?r+"":r,t),Ni=(s,r,t)=>r.has(s)||Ss("Cannot "+t);var pt=(s,r,t)=>(Ni(s,r,"read from private field"),t?t.call(s):r.get(s)),de=(s,r,t)=>r.has(s)?Ss("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(s):r.set(s,t),We=(s,r,t,e)=>(Ni(s,r,"write to private field"),e?e.call(s,t):r.set(s,t),t),Ds=(s,r,t)=>(Ni(s,r,"access private method"),t);var ri=globalThis,ii=ri.ShadowRoot&&(ri.ShadyCSS===void 0||ri.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ui=Symbol(),_s=new WeakMap,zr=class{constructor(r,t,e){if(this._$cssResult$=!0,e!==Ui)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=r,this.t=t}get styleSheet(){let r=this.o,t=this.t;if(ii&&r===void 0){let e=t!==void 0&&t.length===1;e&&(r=_s.get(t)),r===void 0&&((this.o=r=new CSSStyleSheet).replaceSync(this.cssText),e&&_s.set(t,r))}return r}toString(){return this.cssText}},si=s=>new zr(typeof s=="string"?s:s+"",void 0,Ui),
|
|
1
|
+
var Bi=Object.defineProperty,Sa=Object.defineProperties,Da=Object.getOwnPropertyDescriptor,_a=Object.getOwnPropertyDescriptors;var ti=Object.getOwnPropertySymbols;var zs=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable;var Ss=s=>{throw TypeError(s)};var Ri=(s,r,t)=>r in s?Bi(s,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[r]=t,K=(s,r)=>{for(var t in r||(r={}))zs.call(r,t)&&Ri(s,t,r[t]);if(ti)for(var t of ti(r))Ms.call(r,t)&&Ri(s,t,r[t]);return s},xt=(s,r)=>Sa(s,_a(r));var ei=(s,r)=>{var t={};for(var e in s)zs.call(s,e)&&r.indexOf(e)<0&&(t[e]=s[e]);if(s!=null&&ti)for(var e of ti(s))r.indexOf(e)<0&&Ms.call(s,e)&&(t[e]=s[e]);return t};var Aa=(s,r)=>{for(var t in r)Bi(s,t,{get:r[t],enumerable:!0})};var o=(s,r,t,e)=>{for(var i=e>1?void 0:e?Da(r,t):r,a=s.length-1,n;a>=0;a--)(n=s[a])&&(i=(e?n(r,t,i):n(i))||i);return e&&i&&Bi(r,t,i),i};var Kt=(s,r,t)=>Ri(s,typeof r!="symbol"?r+"":r,t),Ni=(s,r,t)=>r.has(s)||Ss("Cannot "+t);var pt=(s,r,t)=>(Ni(s,r,"read from private field"),t?t.call(s):r.get(s)),de=(s,r,t)=>r.has(s)?Ss("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(s):r.set(s,t),We=(s,r,t,e)=>(Ni(s,r,"write to private field"),e?e.call(s,t):r.set(s,t),t),Ds=(s,r,t)=>(Ni(s,r,"access private method"),t);var ri=globalThis,ii=ri.ShadowRoot&&(ri.ShadyCSS===void 0||ri.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ui=Symbol(),_s=new WeakMap,zr=class{constructor(r,t,e){if(this._$cssResult$=!0,e!==Ui)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=r,this.t=t}get styleSheet(){let r=this.o,t=this.t;if(ii&&r===void 0){let e=t!==void 0&&t.length===1;e&&(r=_s.get(t)),r===void 0&&((this.o=r=new CSSStyleSheet).replaceSync(this.cssText),e&&_s.set(t,r))}return r}toString(){return this.cssText}},si=s=>new zr(typeof s=="string"?s:s+"",void 0,Ui),k=(s,...r)=>{let t=s.length===1?s[0]:r.reduce((e,i,a)=>e+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+s[a+1],s[0]);return new zr(t,s,Ui)},As=(s,r)=>{if(ii)s.adoptedStyleSheets=r.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of r){let e=document.createElement("style"),i=ri.litNonce;i!==void 0&&e.setAttribute("nonce",i),e.textContent=t.cssText,s.appendChild(e)}},qi=ii?s=>s:s=>s instanceof CSSStyleSheet?(r=>{let t="";for(let e of r.cssRules)t+=e.cssText;return si(t)})(s):s;var{is:Oa,defineProperty:Ia,getOwnPropertyDescriptor:Pa,getOwnPropertyNames:Va,getOwnPropertySymbols:Ha,getPrototypeOf:Fa}=Object,_e=globalThis,Os=_e.trustedTypes,Ra=Os?Os.emptyScript:"",Ki=_e.reactiveElementPolyfillSupport,Mr=(s,r)=>s,Ae={toAttribute(s,r){switch(r){case Boolean:s=s?Ra:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,r){let t=s;switch(r){case Boolean:t=s!==null;break;case Number:t=s===null?null:Number(s);break;case Object:case Array:try{t=JSON.parse(s)}catch(e){t=null}}return t}},oi=(s,r)=>!Oa(s,r),Is={attribute:!0,type:String,converter:Ae,reflect:!1,useDefault:!1,hasChanged:oi},Ps,Vs;(Ps=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Vs=_e.litPropertyMetadata)!=null||(_e.litPropertyMetadata=new WeakMap);var we=class extends HTMLElement{static addInitializer(r){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(r)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(r,t=Is){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(r)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(r,t),!t.noAccessor){let e=Symbol(),i=this.getPropertyDescriptor(r,e,t);i!==void 0&&Ia(this.prototype,r,i)}}static getPropertyDescriptor(r,t,e){var n;let{get:i,set:a}=(n=Pa(this.prototype,r))!=null?n:{get(){return this[t]},set(l){this[t]=l}};return{get:i,set(l){let h=i==null?void 0:i.call(this);a==null||a.call(this,l),this.requestUpdate(r,h,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(r){var t;return(t=this.elementProperties.get(r))!=null?t:Is}static _$Ei(){if(this.hasOwnProperty(Mr("elementProperties")))return;let r=Fa(this);r.finalize(),r.l!==void 0&&(this.l=[...r.l]),this.elementProperties=new Map(r.elementProperties)}static finalize(){if(this.hasOwnProperty(Mr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Mr("properties"))){let t=this.properties,e=[...Va(t),...Ha(t)];for(let i of e)this.createProperty(i,t[i])}let r=this[Symbol.metadata];if(r!==null){let t=litPropertyMetadata.get(r);if(t!==void 0)for(let[e,i]of t)this.elementProperties.set(e,i)}this._$Eh=new Map;for(let[t,e]of this.elementProperties){let i=this._$Eu(t,e);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(r){let t=[];if(Array.isArray(r)){let e=new Set(r.flat(1/0).reverse());for(let i of e)t.unshift(qi(i))}else r!==void 0&&t.push(qi(r));return t}static _$Eu(r,t){let e=t.attribute;return e===!1?void 0:typeof e=="string"?e:typeof r=="string"?r.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var r;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(r=this.constructor.l)==null||r.forEach(t=>t(this))}addController(r){var t,e;((t=this._$EO)!=null?t:this._$EO=new Set).add(r),this.renderRoot!==void 0&&this.isConnected&&((e=r.hostConnected)==null||e.call(r))}removeController(r){var t;(t=this._$EO)==null||t.delete(r)}_$E_(){let r=new Map,t=this.constructor.elementProperties;for(let e of t.keys())this.hasOwnProperty(e)&&(r.set(e,this[e]),delete this[e]);r.size>0&&(this._$Ep=r)}createRenderRoot(){var t;let r=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return As(r,this.constructor.elementStyles),r}connectedCallback(){var r,t;(r=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostConnected)==null?void 0:i.call(e)})}enableUpdating(r){}disconnectedCallback(){var r;(r=this._$EO)==null||r.forEach(t=>{var e;return(e=t.hostDisconnected)==null?void 0:e.call(t)})}attributeChangedCallback(r,t,e){this._$AK(r,e)}_$ET(r,t){var a;let e=this.constructor.elementProperties.get(r),i=this.constructor._$Eu(r,e);if(i!==void 0&&e.reflect===!0){let n=(((a=e.converter)==null?void 0:a.toAttribute)!==void 0?e.converter:Ae).toAttribute(t,e.type);this._$Em=r,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(r,t){var a,n,l;let e=this.constructor,i=e._$Eh.get(r);if(i!==void 0&&this._$Em!==i){let h=e.getPropertyOptions(i),u=typeof h.converter=="function"?{fromAttribute:h.converter}:((a=h.converter)==null?void 0:a.fromAttribute)!==void 0?h.converter:Ae;this._$Em=i;let m=u.fromAttribute(t,h.type);this[i]=(l=m!=null?m:(n=this._$Ej)==null?void 0:n.get(i))!=null?l:m,this._$Em=null}}requestUpdate(r,t,e,i=!1,a){var n,l;if(r!==void 0){let h=this.constructor;if(i===!1&&(a=this[r]),e!=null||(e=h.getPropertyOptions(r)),!(((n=e.hasChanged)!=null?n:oi)(a,t)||e.useDefault&&e.reflect&&a===((l=this._$Ej)==null?void 0:l.get(r))&&!this.hasAttribute(h._$Eu(r,e))))return;this.C(r,t,e)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(r,t,{useDefault:e,reflect:i,wrapped:a},n){var l,h,u;e&&!((l=this._$Ej)!=null?l:this._$Ej=new Map).has(r)&&(this._$Ej.set(r,(h=n!=null?n:t)!=null?h:this[r]),a!==!0||n!==void 0)||(this._$AL.has(r)||(this.hasUpdated||e||(t=void 0),this._$AL.set(r,t)),i===!0&&this._$Em!==r&&((u=this._$Eq)!=null?u:this._$Eq=new Set).add(r))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let r=this.scheduleUpdate();return r!=null&&await r,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e,i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((e=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[n,l]of this._$Ep)this[n]=l;this._$Ep=void 0}let a=this.constructor.elementProperties;if(a.size>0)for(let[n,l]of a){let{wrapped:h}=l,u=this[n];h!==!0||this._$AL.has(n)||u===void 0||this.C(n,void 0,l,u)}}let r=!1,t=this._$AL;try{r=this.shouldUpdate(t),r?(this.willUpdate(t),(i=this._$EO)==null||i.forEach(a=>{var n;return(n=a.hostUpdate)==null?void 0:n.call(a)}),this.update(t)):this._$EM()}catch(a){throw r=!1,this._$EM(),a}r&&this._$AE(t)}willUpdate(r){}_$AE(r){var t;(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostUpdated)==null?void 0:i.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(r)),this.updated(r)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(r){return!0}update(r){this._$Eq&&(this._$Eq=this._$Eq.forEach(t=>this._$ET(t,this[t]))),this._$EM()}updated(r){}firstUpdated(r){}},Hs;we.elementStyles=[],we.shadowRootOptions={mode:"open"},we[Mr("elementProperties")]=new Map,we[Mr("finalized")]=new Map,Ki==null||Ki({ReactiveElement:we}),((Hs=_e.reactiveElementVersions)!=null?Hs:_e.reactiveElementVersions=[]).push("2.1.2");var Dr=globalThis,Fs=s=>s,ai=Dr.trustedTypes,Rs=ai?ai.createPolicy("lit-html",{createHTML:s=>s}):void 0,Yi="$lit$",xe=`lit$${Math.random().toFixed(9).slice(2)}$`,Xi="?"+xe,Ba=`<${Xi}>`,Ze=document,_r=()=>Ze.createComment(""),Ar=s=>s===null||typeof s!="object"&&typeof s!="function",Zi=Array.isArray,Ws=s=>Zi(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",ji=`[
|
|
2
2
|
\f\r]`,Sr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bs=/-->/g,Ns=/>/g,Ye=RegExp(`>|${ji}(?:([^\\s"'>=/]+)(${ji}*=${ji}*(?:[^
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Us=/'/g,qs=/"/g,Ys=/^(?:script|style|textarea|title)$/i,Gi=s=>(r,...t)=>({_$litType$:s,strings:r,values:t}),p=Gi(1),Xs=Gi(2),Zs=Gi(3),Mt=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),Ks=new WeakMap,Xe=Ze.createTreeWalker(Ze,129);function Gs(s,r){if(!Zi(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rs!==void 0?Rs.createHTML(r):r}var Qs=(s,r)=>{let t=s.length-1,e=[],i,a=r===2?"<svg>":r===3?"<math>":"",n=Sr;for(let l=0;l<t;l++){let h=s[l],u,m,b=-1,y=0;for(;y<h.length&&(n.lastIndex=y,m=n.exec(h),m!==null);)y=n.lastIndex,n===Sr?m[1]==="!--"?n=Bs:m[1]!==void 0?n=Ns:m[2]!==void 0?(Ys.test(m[2])&&(i=RegExp("</"+m[2],"g")),n=Ye):m[3]!==void 0&&(n=Ye):n===Ye?m[0]===">"?(n=i!=null?i:Sr,b=-1):m[1]===void 0?b=-2:(b=n.lastIndex-m[2].length,u=m[1],n=m[3]===void 0?Ye:m[3]==='"'?qs:Us):n===qs||n===Us?n=Ye:n===Bs||n===Ns?n=Sr:(n=Ye,i=void 0);let
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Us=/'/g,qs=/"/g,Ys=/^(?:script|style|textarea|title)$/i,Gi=s=>(r,...t)=>({_$litType$:s,strings:r,values:t}),p=Gi(1),Xs=Gi(2),Zs=Gi(3),Mt=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),Ks=new WeakMap,Xe=Ze.createTreeWalker(Ze,129);function Gs(s,r){if(!Zi(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rs!==void 0?Rs.createHTML(r):r}var Qs=(s,r)=>{let t=s.length-1,e=[],i,a=r===2?"<svg>":r===3?"<math>":"",n=Sr;for(let l=0;l<t;l++){let h=s[l],u,m,b=-1,y=0;for(;y<h.length&&(n.lastIndex=y,m=n.exec(h),m!==null);)y=n.lastIndex,n===Sr?m[1]==="!--"?n=Bs:m[1]!==void 0?n=Ns:m[2]!==void 0?(Ys.test(m[2])&&(i=RegExp("</"+m[2],"g")),n=Ye):m[3]!==void 0&&(n=Ye):n===Ye?m[0]===">"?(n=i!=null?i:Sr,b=-1):m[1]===void 0?b=-2:(b=n.lastIndex-m[2].length,u=m[1],n=m[3]===void 0?Ye:m[3]==='"'?qs:Us):n===qs||n===Us?n=Ye:n===Bs||n===Ns?n=Sr:(n=Ye,i=void 0);let v=n===Ye&&s[l+1].startsWith("/>")?" ":"";a+=n===Sr?h+Ba:b>=0?(e.push(u),h.slice(0,b)+Yi+h.slice(b)+xe+v):h+xe+(b===-2?l:v)}return[Gs(s,a+(s[t]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),e]},Or=class s{constructor({strings:r,_$litType$:t},e){let i;this.parts=[];let a=0,n=0,l=r.length-1,h=this.parts,[u,m]=Qs(r,t);if(this.el=s.createElement(u,e),Xe.currentNode=this.el.content,t===2||t===3){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(i=Xe.nextNode())!==null&&h.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let b of i.getAttributeNames())if(b.endsWith(Yi)){let y=m[n++],v=i.getAttribute(b).split(xe),w=/([.?@])?(.*)/.exec(y);h.push({type:1,index:a,name:w[2],strings:v,ctor:w[1]==="."?li:w[1]==="?"?di:w[1]==="@"?ci:Qe}),i.removeAttribute(b)}else b.startsWith(xe)&&(h.push({type:6,index:a}),i.removeAttribute(b));if(Ys.test(i.tagName)){let b=i.textContent.split(xe),y=b.length-1;if(y>0){i.textContent=ai?ai.emptyScript:"";for(let v=0;v<y;v++)i.append(b[v],_r()),Xe.nextNode(),h.push({type:2,index:++a});i.append(b[y],_r())}}}else if(i.nodeType===8)if(i.data===Xi)h.push({type:2,index:a});else{let b=-1;for(;(b=i.data.indexOf(xe,b+1))!==-1;)h.push({type:7,index:a}),b+=xe.length-1}a++}}static createElement(r,t){let e=Ze.createElement("template");return e.innerHTML=r,e}};function Ge(s,r,t=s,e){var n,l,h;if(r===Mt)return r;let i=e!==void 0?(n=t._$Co)==null?void 0:n[e]:t._$Cl,a=Ar(r)?void 0:r._$litDirective$;return(i==null?void 0:i.constructor)!==a&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),a===void 0?i=void 0:(i=new a(s),i._$AT(s,t,e)),e!==void 0?((h=t._$Co)!=null?h:t._$Co=[])[e]=i:t._$Cl=i),i!==void 0&&(r=Ge(s,i._$AS(s,r.values),i,e)),r}var ni=class{constructor(r,t){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){var u;let{el:{content:t},parts:e}=this._$AD,i=((u=r==null?void 0:r.creationScope)!=null?u:Ze).importNode(t,!0);Xe.currentNode=i;let a=Xe.nextNode(),n=0,l=0,h=e[0];for(;h!==void 0;){if(n===h.index){let m;h.type===2?m=new hr(a,a.nextSibling,this,r):h.type===1?m=new h.ctor(a,h.name,h.strings,this,r):h.type===6&&(m=new hi(a,this,r)),this._$AV.push(m),h=e[++l]}n!==(h==null?void 0:h.index)&&(a=Xe.nextNode(),n++)}return Xe.currentNode=Ze,i}p(r){let t=0;for(let e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(r,e,t),t+=e.strings.length-2):e._$AI(r[t])),t++}},hr=class s{get _$AU(){var r,t;return(t=(r=this._$AM)==null?void 0:r._$AU)!=null?t:this._$Cv}constructor(r,t,e,i){var a;this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=r,this._$AB=t,this._$AM=e,this.options=i,this._$Cv=(a=i==null?void 0:i.isConnected)!=null?a:!0}get parentNode(){let r=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(r==null?void 0:r.nodeType)===11&&(r=t.parentNode),r}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(r,t=this){r=Ge(this,r,t),Ar(r)?r===N||r==null||r===""?(this._$AH!==N&&this._$AR(),this._$AH=N):r!==this._$AH&&r!==Mt&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):Ws(r)?this.k(r):this._(r)}O(r){return this._$AA.parentNode.insertBefore(r,this._$AB)}T(r){this._$AH!==r&&(this._$AR(),this._$AH=this.O(r))}_(r){this._$AH!==N&&Ar(this._$AH)?this._$AA.nextSibling.data=r:this.T(Ze.createTextNode(r)),this._$AH=r}$(r){var a;let{values:t,_$litType$:e}=r,i=typeof e=="number"?this._$AC(r):(e.el===void 0&&(e.el=Or.createElement(Gs(e.h,e.h[0]),this.options)),e);if(((a=this._$AH)==null?void 0:a._$AD)===i)this._$AH.p(t);else{let n=new ni(i,this),l=n.u(this.options);n.p(t),this.T(l),this._$AH=n}}_$AC(r){let t=Ks.get(r.strings);return t===void 0&&Ks.set(r.strings,t=new Or(r)),t}k(r){Zi(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,e,i=0;for(let a of r)i===t.length?t.push(e=new s(this.O(_r()),this.O(_r()),this,this.options)):e=t[i],e._$AI(a),i++;i<t.length&&(this._$AR(e&&e._$AB.nextSibling,i),t.length=i)}_$AR(r=this._$AA.nextSibling,t){var e;for((e=this._$AP)==null?void 0:e.call(this,!1,!0,t);r!==this._$AB;){let i=Fs(r).nextSibling;Fs(r).remove(),r=i}}setConnected(r){var t;this._$AM===void 0&&(this._$Cv=r,(t=this._$AP)==null||t.call(this,r))}},Qe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,t,e,i,a){this.type=1,this._$AH=N,this._$AN=void 0,this.element=r,this.name=t,this._$AM=i,this.options=a,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=N}_$AI(r,t=this,e,i){let a=this.strings,n=!1;if(a===void 0)r=Ge(this,r,t,0),n=!Ar(r)||r!==this._$AH&&r!==Mt,n&&(this._$AH=r);else{let l=r,h,u;for(r=a[0],h=0;h<a.length-1;h++)u=Ge(this,l[e+h],t,h),u===Mt&&(u=this._$AH[h]),n||(n=!Ar(u)||u!==this._$AH[h]),u===N?r=N:r!==N&&(r+=(u!=null?u:"")+a[h+1]),this._$AH[h]=u}n&&!i&&this.j(r)}j(r){r===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r!=null?r:"")}},li=class extends Qe{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===N?void 0:r}},di=class extends Qe{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==N)}},ci=class extends Qe{constructor(r,t,e,i,a){super(r,t,e,i,a),this.type=5}_$AI(r,t=this){var n;if((r=(n=Ge(this,r,t,0))!=null?n:N)===Mt)return;let e=this._$AH,i=r===N&&e!==N||r.capture!==e.capture||r.once!==e.once||r.passive!==e.passive,a=r!==N&&(e===N||i);i&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){var t,e;typeof this._$AH=="function"?this._$AH.call((e=(t=this.options)==null?void 0:t.host)!=null?e:this.element,r):this._$AH.handleEvent(r)}},hi=class{constructor(r,t,e){this.element=r,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(r){Ge(this,r)}},Js={M:Yi,P:xe,A:Xi,C:1,L:Qs,R:ni,D:Ws,V:Ge,I:hr,H:Qe,N:di,U:ci,B:li,F:hi},Wi=Dr.litHtmlPolyfillSupport,js;Wi==null||Wi(Or,hr),((js=Dr.litHtmlVersions)!=null?js:Dr.litHtmlVersions=[]).push("3.3.3");var to=(s,r,t)=>{var a,n;let e=(a=t==null?void 0:t.renderBefore)!=null?a:r,i=e._$litPart$;if(i===void 0){let l=(n=t==null?void 0:t.renderBefore)!=null?n:null;e._$litPart$=i=new hr(r.insertBefore(_r(),l),l,void 0,t!=null?t:{})}return i._$AI(s),i};var Je=globalThis,Oe=class extends we{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;let r=super.createRenderRoot();return(e=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=r.firstChild),r}update(r){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(r),this._$Do=to(t,this.renderRoot,this.renderOptions)}connectedCallback(){var r;super.connectedCallback(),(r=this._$Do)==null||r.setConnected(!0)}disconnectedCallback(){var r;super.disconnectedCallback(),(r=this._$Do)==null||r.setConnected(!1)}render(){return Mt}},eo;Oe._$litElement$=!0,Oe.finalized=!0,(eo=Je.litElementHydrateSupport)==null||eo.call(Je,{LitElement:Oe});var Qi=Je.litElementPolyfillSupport;Qi==null||Qi({LitElement:Oe});var ro;((ro=Je.litElementVersions)!=null?ro:Je.litElementVersions=[]).push("4.2.2");var Na=(s,r)=>window.customElements.get(s)?(console.warn(`Custom element ${s} already defined. Registration skipped.`),r):(window.customElements.define(s,r),r),Ua=(s,r)=>{let{kind:t,elements:e}=r;return{kind:t,elements:e,finisher(i){if(window.customElements.get(s)){console.warn(`Custom element ${s} already defined. Registration skipped.`);return}window.customElements.define(s,i)}}},E=s=>r=>typeof r=="function"?Na(s,r):Ua(s,r);var qa={name:"default",resolver:s=>{let r=s.split("/");return(r[0]==="content"||r[0]==="system")&&(s="union-investment/"+s),`https://celum-icons.fe.union-investment.de/${s}.svg`},mutator:s=>{let r={currentColorFills:[],currentColorStrokes:[],greenFills:[],greenStrokes:[]};return r.currentColorFills=s.querySelectorAll('[fill="#00358e" i]'),r.currentColorStrokes=s.querySelectorAll('[stroke="#00358e" i]'),r.greenFills=s.querySelectorAll('[fill="#2d9d00" i]'),r.greenStrokes=s.querySelectorAll('[stroke="#2d9d00" i]'),r.currentColorFills.forEach(t=>{t.setAttribute("fill","currentColor")}),r.currentColorStrokes.forEach(t=>{t.setAttribute("stroke","currentColor")}),r.greenFills.forEach(t=>{t.setAttribute("fill","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),r.greenStrokes.forEach(t=>{t.setAttribute("stroke","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),s}},io=qa;var Ka={vb:"vb",bb:"bbbank",sp:"sparda",kid:"kidstarter"};function ja(s){if(s){let r=getComputedStyle(s).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");return Ka[r]}return null}var so=s=>`data:image/svg+xml,${encodeURIComponent(s.replaceAll("\\","").replaceAll('"',"'"))}`,Wa={calendar:`
|
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
5
5
|
<path d="M21 2H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1M6 4v1.7a1 1 0 0 0 2 0V4h8v1.7a1 1 0 0 0 2 0V4h2v4H4V4zM4 20V10h16v10z"/>
|
|
6
6
|
<path d="m7.6 13.3.6.8.3-.3.7-.6V18h1.3v-6H9.4zm7-1.4q-2.2 0-2.2 3.1 0 3 2.2 3c2.2 0 2.2-1 2.2-3q0-3.1-2.1-3.1m0 5.3q-1 0-1-2.3t1-2.2c1 0 1 .8 1 2.3q0 2.2-1 2.2"/>
|
|
@@ -149,84 +149,84 @@ var Bi=Object.defineProperty,Sa=Object.defineProperties,Da=Object.getOwnProperty
|
|
|
149
149
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12">
|
|
150
150
|
<path d="M6.843 10.167a.834.834 0 1 1-1.667 0 .834.834 0 0 1 1.667 0ZM6.01 1a2.777 2.777 0 0 0-2.778 2.777.834.834 0 0 0 1.667 0 1.111 1.111 0 0 1 2.222 0c0 .24-.517.792-.834 1.111-.555.586-1.11 1.192-1.11 1.944v.015a.834.834 0 0 0 1.666.014c.196-.316.416-.59.666-.833.6-.64 1.278-1.362 1.278-2.262A2.777 2.777 0 0 0 6.01 1Z"/>
|
|
151
151
|
</svg>
|
|
152
|
-
`},no=Object.fromEntries(Object.entries(Xa).sort(([s],[r])=>s.localeCompare(r))),Za={name:"sd-status-assets",resolver:s=>s in no?`data:image/svg+xml,${encodeURIComponent(no[s])}`:"",mutator:s=>s.setAttribute("fill","currentColor")},lo=Za;var Ga={bb:"bbbank",kid:"kidstarter",sp:"sparda","ui-dark":"union-investment","ui-light":"union-investment",vb:"vb"};function Qa(s){if(s){let r=getComputedStyle(s).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");return Ga[r]}return null}var Ja={name:"sd-multi-theming",resolver:(s,r)=>{let t=Qa(r);if(!t)return"";let e=s.split("/"),i=`${t}/${s}`;return(e[0]==="content"||e[0]==="system")&&(s=i),`https://celum-icons.fe.union-investment.de/${s}.svg`},mutator:s=>{let r={currentColorFills:[],currentColorStrokes:[],greenFills:[],greenStrokes:[]},t=["#00358e","#002d67","#005ca9","#005AAA","#051530"],e=["#2d9d00","#f35e01"];return r.currentColorFills=s.querySelectorAll(t.map(i=>`[fill="${i}" i]`).join(", ")),r.currentColorStrokes=s.querySelectorAll(t.map(i=>`[stroke="${i}" i]`).join(", ")),r.greenFills=s.querySelectorAll(e.map(i=>`[fill="${i}" i]`).join(", ")),r.greenStrokes=s.querySelectorAll(e.map(i=>`[stroke="${i}" i]`).join(", ")),r.currentColorFills.forEach(i=>{i.setAttribute("fill","currentColor")}),r.currentColorStrokes.forEach(i=>{i.setAttribute("stroke","currentColor")}),r.greenFills.forEach(i=>{i.setAttribute("fill","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),r.greenStrokes.forEach(i=>{i.setAttribute("stroke","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),s}},co=Ja;var ui=[ao,io,lo,co],pi=[];function ho(s){pi.push(s)}function uo(s){pi=pi.filter(r=>r!==s)}function Ji(s){return ui.find(r=>r.name===s)}function tn(s,r){po(s),ui.push({name:s,resolver:r.resolver,mutator:r.mutator}),pi.forEach(t=>{t.library===s&&t.setIcon()})}function po(s){ui=ui.filter(r=>r.name!==s)}var en={attribute:!0,type:String,converter:Ae,reflect:!1,hasChanged:oi},rn=(s=en,r,t)=>{let{kind:e,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),e==="setter"&&((s=Object.create(s)).wrapped=!0),a.set(t.name,s),e==="accessor"){let{name:n}=t;return{set(l){let h=r.get.call(this);r.set.call(this,l),this.requestUpdate(n,h,s,!0,l)},init(l){return l!==void 0&&this.C(n,void 0,s,l),l}}}if(e==="setter"){let{name:n}=t;return function(l){let h=this[n];r.call(this,l),this.requestUpdate(n,h,s,!0,l)}}throw Error("Unsupported decorator location: "+e)};function d(s){return(r,t)=>typeof t=="object"?rn(s,r,t):((e,i,a)=>{let n=i.hasOwnProperty(a);return i.constructor.createProperty(a,e),n?Object.getOwnPropertyDescriptor(i,a):void 0})(s,r,t)}function L(s){return d(xt(K({},s),{state:!0,attribute:!1}))}var ce=(s,r,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof r!="object"&&Object.defineProperty(s,r,t),t);function
|
|
153
|
-
:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;--color-neutral-700:oklch(37.1% 0 0);--color-black:#000;--text-xs--line-height:calc(1 / 0.75);--text-sm--line-height:calc(1.25 / 0.875);--text-base--line-height:calc(1.5 / 1);--text-lg--line-height:calc(1.75 / 1.125);--text-xl--line-height:calc(1.75 / 1.25);--text-2xl--line-height:calc(2 / 1.5);--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl--line-height:calc(2.5 / 2.25);--font-weight-semibold:600;--leading-tight:1.25;--leading-normal:1.5;--ease-out:cubic-bezier(0, 0, 0.2, 1);--ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);--animate-pulse:pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;--default-transition-duration:150ms;--default-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);--default-mono-font-family:var(--font-mono);--outline-color-primary:rgba(var(--sd-color-border-primary, var(--sd-color-primary, 0 53 142)));--outline-color-white:rgba(var(--sd-color-border-white, var(--sd-color-white, 255 255 255)))}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}.\\!absolute{position:absolute!important}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-2{inset-block:calc(var(--sd-spacing-2,.5rem) * -1)}.start-0{inset-inline-start:calc(var(--sd-spacing-1,.25rem) * 0)}.start-auto{inset-inline-start:auto}.end-0{inset-inline-end:calc(var(--sd-spacing-1,.25rem) * 0)}.end-2{inset-inline-end:var(--sd-spacing-2,.5rem)}.end-auto{inset-inline-end:auto}.-top-0\\.25{top:calc(var(--sd-spacing-0\\.25,.0625rem) * -1)}.-top-4{top:calc(var(--sd-spacing-4,1rem) * -1)}.top-0{top:0}.top-1{top:var(--sd-spacing-1,.25rem)}.top-1\\/2{top:calc(1 / 2 * 100%)}.top-2{top:var(--sd-spacing-2,.5rem)}.top-2\\.5{top:var(--sd-spacing-2\\.5,.625rem)}.top-full{top:100%}.\\!right-0{right:0!important}.right-0{right:0}.right-2{right:var(--sd-spacing-2,.5rem)}.right-4{right:var(--sd-spacing-4,1rem)}.right-auto{right:auto}.\\!bottom-0{bottom:0!important}.bottom-0{bottom:0}.bottom-auto{bottom:auto}.left-0{left:0}.left-1\\/2{left:calc(1 / 2 * 100%)}.left-2{left:var(--sd-spacing-2,.5rem)}.left-4{left:var(--sd-spacing-4,1rem)}.left-12{left:var(--sd-spacing-12,3rem)}.left-\\[36px\\]{left:36px}.left-\\[44px\\]{left:44px}.left-auto{left:auto}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.-z-20{z-index:calc(20 * -1)}.z-0{z-index:0}.z-10{z-index:10}.z-10{z-index:10}.z-20{z-index:20}.z-20{z-index:20}.z-30{z-index:30}.z-30{z-index:30}.z-50{z-index:50}.z-50{z-index:50}.z-\\[0\\]{z-index:0}.z-\\[1\\]{z-index:1}.z-\\[calc\\(var\\(z-dropdown\\)-1\\)\\]{z-index:calc(var(z-dropdown) - 1)}.z-auto{z-index:auto}.z-auto{z-index:auto}.z-dropdown{z-index:var(--sd-z-index-dropdown,900)}.order-1{order:1}.order-2{order:2}.container{width:100%}@media (width >= 40rem){.container{max-width:40rem}}@media (width >= 48rem){.container{max-width:48rem}}@media (width >= 64rem){.container{max-width:64rem}}@media (width >= 80rem){.container{max-width:80rem}}@media (width >= 96rem){.container{max-width:96rem}}.m-0{margin:0}.m-4{margin:var(--sd-spacing-4,1rem)}.m-auto{margin:auto}.-mx-2{margin-inline:calc(var(--sd-spacing-2,.5rem) * -1)}.mx-2{margin-inline:var(--sd-spacing-2,.5rem)}.mx-\\[-1px\\]{margin-inline:-1px}.mx-auto{margin-inline:auto}.my-0{margin-block:0}.my-\\[6px\\]{margin-block:6px}.my-auto{margin-block:auto}.ms-4{margin-inline-start:var(--sd-spacing-4,1rem)}.me-1{margin-inline-end:var(--sd-spacing-1,.25rem)}.-mt-1{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}.-mt-\\[10px\\]{margin-top:calc(10px * -1)}.mt-0\\.5{margin-top:var(--sd-spacing-0\\.5,.125rem)}.mt-0\\.25{margin-top:var(--sd-spacing-0\\.25,.0625rem)}.mt-1{margin-top:var(--sd-spacing-1,.25rem)}.mt-2{margin-top:var(--sd-spacing-2,.5rem)}.mt-3{margin-top:var(--sd-spacing-3,.75rem)}.mt-4{margin-top:var(--sd-spacing-4,1rem)}.mt-\\[-1px\\]{margin-top:-1px}.mt-\\[2px\\]{margin-top:2px}.mt-\\[3px\\]{margin-top:3px}.mt-\\[11\\%\\]{margin-top:11%}.mt-\\[22\\%\\]{margin-top:22%}.mt-\\[var\\(--spacing-xxl\\)\\]{margin-top:var(--spacing-xxl)}.mt-auto{margin-top:auto}.\\!mr-6{margin-right:var(--sd-spacing-6,1.5rem)!important}.mr-0{margin-right:0}.mr-1{margin-right:var(--sd-spacing-1,.25rem)}.mr-2{margin-right:var(--sd-spacing-2,.5rem)}.mr-4{margin-right:var(--sd-spacing-4,1rem)}.mr-\\[0\\.5em\\]{margin-right:.5em}.mr-\\[0\\.25em\\]{margin-right:.25em}.\\!mb-4{margin-bottom:var(--sd-spacing-4,1rem)!important}.-mb-2{margin-bottom:calc(var(--sd-spacing-2,.5rem) * -1)}.mb-0\\.5{margin-bottom:var(--sd-spacing-0\\.5,.125rem)}.mb-2{margin-bottom:var(--sd-spacing-2,.5rem)}.mb-3{margin-bottom:var(--sd-spacing-3,.75rem)}.mb-4{margin-bottom:var(--sd-spacing-4,1rem)}.mb-6{margin-bottom:var(--sd-spacing-6,1.5rem)}.mb-\\[10px\\]{margin-bottom:10px}.mb-auto{margin-bottom:auto}.\\!ml-6{margin-left:var(--sd-spacing-6,1.5rem)!important}.ml-0{margin-left:0}.ml-1{margin-left:var(--sd-spacing-1,.25rem)}.ml-2{margin-left:var(--sd-spacing-2,.5rem)}.ml-3{margin-left:var(--sd-spacing-3,.75rem)}.ml-6{margin-left:var(--sd-spacing-6,1.5rem)}.ml-\\[0\\.5em\\]{margin-left:.5em}.ml-\\[0\\.25em\\]{margin-left:.25em}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.\\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.aspect-square{aspect-ratio:var(--sd-aspect-square,1 / 1)}.size-4{width:var(--sd-spacing-4,1rem);height:var(--sd-spacing-4,1rem)}.h-0{height:0}.h-0\\.25{height:var(--sd-spacing-0\\.25,.0625rem)}.h-1{height:var(--sd-spacing-1,.25rem)}.h-2{height:var(--sd-spacing-2,.5rem)}.h-2\\.5{height:var(--sd-spacing-2\\.5,.625rem)}.h-3{height:var(--sd-spacing-3,.75rem)}.h-4{height:var(--sd-spacing-4,1rem)}.h-5{height:calc(var(--sd-spacing-1,.25rem) * 5)}.h-6{height:var(--sd-spacing-6,1.5rem)}.h-8{height:var(--sd-spacing-8,2rem)}.h-10{height:var(--sd-spacing-10,2.5rem)}.h-12{height:var(--sd-spacing-12,3rem)}.h-16{height:var(--sd-spacing-16,4rem)}.h-18{height:calc(var(--sd-spacing-1,.25rem) * 18)}.h-\\[1px\\]{height:1px}.h-\\[2px\\]{height:2px}.h-\\[6px\\]{height:6px}.h-\\[10px\\]{height:10px}.h-\\[30px\\]{height:30px}.h-\\[38px\\]{height:38px}.h-\\[46px\\]{height:46px}.h-\\[48px\\]{height:48px}.h-\\[96px\\]{height:96px}.h-\\[calc\\(100\\%-8px\\)\\]{height:calc(100% - 8px)}.h-\\[calc\\(100\\%-16px\\)\\]{height:calc(100% - 16px)}.h-\\[var\\(--height\\,0\\.125rem\\)\\]{height:var(--height,.125rem)}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.navigable__current-indicator-height{height:var(--sd-navigable__current-indicator-height,.25rem)}.sd-7-0-0-header__shadow-height{height:var(--sd-header__shadow-height,.25rem)}.sd-7-0-0-radio__checked-height{height:var(--sd-radio__checked-height,.625rem)}.max-h-full{max-height:100%}.max-h-none{max-height:none}.min-h-8{min-height:var(--sd-spacing-8,2rem)}.min-h-\\[32px\\]{min-height:32px}.min-h-\\[40px\\]{min-height:40px}.min-h-\\[48px\\]{min-height:48px}.min-h-full{min-height:100%}.navigable__current-indicator-width{width:var(--sd-navigable__current-indicator-width,.25rem)}.sd-7-0-0-radio__checked-width{width:var(--sd-radio__checked-width,.625rem)}.w-0{width:0}.w-0\\.5{width:var(--sd-spacing-0\\.5,.125rem)}.w-0\\.25{width:var(--sd-spacing-0\\.25,.0625rem)}.w-1{width:var(--sd-spacing-1,.25rem)}.w-2{width:var(--sd-spacing-2,.5rem)}.w-2\\.5{width:var(--sd-spacing-2\\.5,.625rem)}.w-3{width:var(--sd-spacing-3,.75rem)}.w-3\\/4{width:calc(3 / 4 * 100%)}.w-4{width:var(--sd-spacing-4,1rem)}.w-5{width:calc(var(--sd-spacing-1,.25rem) * 5)}.w-6{width:var(--sd-spacing-6,1.5rem)}.w-8{width:var(--sd-spacing-8,2rem)}.w-12{width:var(--sd-spacing-12,3rem)}.w-40{width:var(--sd-spacing-40,10rem)}.w-\\[1px\\]{width:1px}.w-\\[6px\\]{width:6px}.w-\\[36px\\]{width:36px}.w-\\[48px\\]{width:48px}.w-\\[96px\\]{width:96px}.w-\\[284px\\]{width:284px}.w-\\[calc\\(100\\%-16px\\)\\]{width:calc(100% - 16px)}.w-\\[var\\(--percentage\\)\\]{width:var(--percentage)}.w-\\[var\\(--width\\)\\]{width:var(--width)}.w-auto{width:auto}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-full{max-width:100%}.max-w-none{max-width:none}.min-w-0{min-width:0}.min-w-40{min-width:var(--sd-spacing-40,10rem)}.min-w-\\[284px\\]{min-width:284px}.min-w-full{min-width:100%}.min-w-max{min-width:-moz-max-content;min-width:max-content}.min-w-min{min-width:-moz-min-content;min-width:min-content}.flex-1{flex:1}.flex-\\[0_0_auto\\]{flex:0 0 auto}.flex-auto{flex:auto}.flex-initial{flex:0 auto}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-auto{flex-basis:auto}.origin-bottom{transform-origin:bottom}.origin-top{transform-origin:top}.\\!-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}.\\!translate-x-1\\/2{--tw-translate-x:calc(1 / 2 * 100%)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-2{--tw-translate-x:calc(var(--sd-spacing-2, 0.5rem) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-2{--tw-translate-x:var(--sd-spacing-2, 0.5rem);translate:var(--tw-translate-x) var(--tw-translate-y)}.\\!-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}.\\!translate-y-0{--tw-translate-y:0!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-y-\\[1\\.5\\]{--tw-scale-y:1.5;scale:var(--tw-scale-x) var(--tw-scale-y)}.rotate-0{rotate:0deg}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.rotate-\\[-90deg\\]{rotate:-90deg}.rotate-\\[270deg\\]{rotate:270deg}.skew-y-\\[-11deg\\]{--tw-skew-y:skewY(-11deg);transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transform-none{transform:none}.animate-bounce-once{animation:bounce-once var(--sd-duration-medium,300ms) ease-in-out}.animate-grow{animation:grow linear}.animate-loader-current{animation:wave 1.3s infinite,loader-color-current 2.6s infinite}.animate-loader-primary{animation:wave 1.3s infinite,loader-color-primary 2.6s infinite}.animate-loader-white{animation:wave 1.3s infinite,loader-color-white 2.6s infinite}.animate-pulse{animation:var(--animate-pulse)}.\\!cursor-not-allowed{cursor:not-allowed!important}.cursor-\\[inherit\\]{cursor:inherit}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.cursor-wait{cursor:wait}.resize{resize:both}.resize-none{resize:none}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-flow-col{grid-auto-flow:column}.auto-rows-\\[100\\%\\]{grid-auto-rows:100%}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.justify-stretch{justify-content:stretch}.justify-items-center{justify-items:center}.gap-0\\.5{gap:var(--sd-spacing-0\\.5,.125rem)}.gap-1{gap:var(--sd-spacing-1,.25rem)}.gap-2{gap:var(--sd-spacing-2,.5rem)}.gap-3{gap:var(--sd-spacing-3,.75rem)}.gap-4{gap:var(--sd-spacing-4,1rem)}.gap-6{gap:var(--sd-spacing-6,1.5rem)}.gap-8{gap:var(--sd-spacing-8,2rem)}.gap-x-\\[1px\\]{-moz-column-gap:1px;column-gap:1px}.gap-y-\\[1px\\]{row-gap:1px}.self-center{align-self:center}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.justify-self-start{justify-self:flex-start}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-x-scroll{overflow-x:scroll}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.overscroll-x-contain{overscroll-behavior-x:contain}.scroll-auto{scroll-behavior:auto}.\\!navigable-border-radius{border-radius:var(--sd-navigable-border-radius,0)!important}.\\!rounded-sm{border-radius:var(--sd-radius-sm,.125rem)!important}.form-control-border-radius{border-radius:var(--sd-form-control-border-radius,.25rem)}.navigable-border-radius{border-radius:var(--sd-navigable-border-radius,0)}.navigable__current-indicator-border-radius{border-radius:var(--sd-navigable__current-indicator-border-radius,0)}.rounded{border-radius:.25rem}.rounded-\\[4px_4px_0_0\\]{border-radius:4px 4px 0 0}.rounded-default{border-radius:var(--sd-radius,.25rem)}.rounded-full{border-radius:var(--sd-radius-full,624.9375rem)}.rounded-md{border-radius:var(--sd-radius-md,.375rem)}.rounded-none{border-radius:var(--sd-radius-none,0)}.rounded-sm{border-radius:var(--sd-radius-sm,.125rem)}.sd-7-0-0-button-border-radius{border-radius:var(--sd-button-border-radius,.25rem)}.sd-7-0-0-radio-button-border-radius{border-radius:var(--sd-radio-button-border-radius,624.9375rem)}.sd-7-0-0-radio-button-group-border-radius{border-radius:var(--sd-radio-button-group-border-radius,624.9375rem)}.sd-7-0-0-tag-border-radius{border-radius:var(--sd-tag-border-radius,624.9375rem)}.sd-7-0-0-teaser-border-radius{border-radius:var(--sd-teaser-border-radius,0)}.rounded-l-md{border-top-left-radius:var(--sd-radius-md,.375rem);border-bottom-left-radius:var(--sd-radius-md,.375rem)}.rounded-l-none{border-top-left-radius:var(--sd-radius-none,0);border-bottom-left-radius:var(--sd-radius-none,0)}.form-control__listbox-border-top-left-radius{border-top-left-radius:var(--sd-form-control__listbox-border-top-left-radius,.25rem)}.rounded-tl-none{border-top-left-radius:var(--sd-radius-none,0)}.rounded-r-md{border-top-right-radius:var(--sd-radius-md,.375rem);border-bottom-right-radius:var(--sd-radius-md,.375rem)}.rounded-r-none{border-top-right-radius:var(--sd-radius-none,0);border-bottom-right-radius:var(--sd-radius-none,0)}.form-control__listbox-border-top-right-radius{border-top-right-radius:var(--sd-form-control__listbox-border-top-right-radius,.25rem)}.rounded-tr-none{border-top-right-radius:var(--sd-radius-none,0)}.rounded-b-default{border-bottom-right-radius:var(--sd-radius,.25rem);border-bottom-left-radius:var(--sd-radius,.25rem)}.rounded-b-none{border-bottom-right-radius:var(--sd-radius-none,0);border-bottom-left-radius:var(--sd-radius-none,0)}.form-control__listbox-border-bottom-right-radius{border-bottom-right-radius:var(--sd-form-control__listbox-border-bottom-right-radius,.25rem)}.rounded-br-none{border-bottom-right-radius:var(--sd-radius-none,0)}.form-control__listbox-border-bottom-left-radius{border-bottom-left-radius:var(--sd-form-control__listbox-border-bottom-left-radius,.25rem)}.rounded-bl-none{border-bottom-left-radius:var(--sd-radius-none,0)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:var(--sd-border-width-2,.125rem)}.border-\\[1px\\]{border-style:var(--tw-border-style);border-width:1px}.sd-7-0-0-button-border-width{border-width:var(--sd-button-border-width,.0625rem)}.sd-7-0-0-carousel__pager-dot-border-width{border-width:var(--sd-carousel__pager-dot-border-width,.0625rem)}.sd-7-0-0-checkbox-border-width{border-width:var(--sd-checkbox-border-width,.0625rem)}.sd-7-0-0-radio-border-width{border-width:var(--sd-radio-border-width,.0625rem)}.sd-7-0-0-radio-button-group-border-width{border-width:var(--sd-radio-button-group-border-width,.0625rem)}.sd-7-0-0-step__circle-border-width{border-width:var(--sd-step__circle-border-width,.0625rem)}.sd-7-0-0-switch-border-width{border-width:var(--sd-switch-border-width,.0625rem)}.sd-7-0-0-tag--selected-border-width{border-width:var(--sd-tag--selected-border-width,0)}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:var(--sd-border-width-2,.125rem)}.border-r-2{border-right-style:var(--tw-border-style);border-right-width:var(--sd-border-width-2,.125rem)}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:var(--sd-border-width-2,.125rem)}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:var(--sd-border-width-2,.125rem)}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:var(--sd-border-width-4,.25rem)}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-accent{border-color:rgba(var(--sd-color-border-accent,45 157 0))}.border-error{border-color:rgba(var(--sd-color-border-error,204 25 55))}.border-neutral-400{border-color:rgba(var(--sd-color-border-neutral-400,195 195 195))}.border-neutral-500{border-color:rgba(var(--sd-color-border-neutral-500,174 174 174))}.border-neutral-600{border-color:rgba(var(--sd-color-border-neutral-600,136 136 136))}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:rgba(var(--sd-color-border-neutral-800,81 81 81))}.border-primary{border-color:rgba(var(--sd-color-border-primary,0 53 142))}.border-success{border-color:rgba(var(--sd-color-border-success,54 123 40))}.border-transparent{border-color:transparent}.border-white{border-color:rgba(var(--sd-color-border-white,255 255 255))}.form-control-color-border{border-color:rgba(var(--sd-form-control-color-border,81 81 81))}.panel-color-border{border-color:rgba(var(--sd-panel-color-border,255 255 255 / 0))}.sd-7-0-0-badge--inverted-color-border{border-color:rgba(var(--sd-badge--inverted-color-border,0 53 142))}.sd-7-0-0-button--secondary--default-color-border{border-color:rgba(var(--sd-button--secondary--default-color-border,0 53 142))}.sd-7-0-0-button--secondary--disabled-color-border{border-color:rgba(var(--sd-button--secondary--disabled-color-border,174 174 174))}.sd-7-0-0-button--secondary--inverted-color-border{border-color:rgba(var(--sd-button--secondary--inverted-color-border,255 255 255))}.sd-7-0-0-carousel--active--inverted-color-border{border-color:rgba(var(--sd-carousel--active--inverted-color-border,45 157 0))}.sd-7-0-0-carousel--active-color-border{border-color:rgba(var(--sd-carousel--active-color-border,45 157 0))}.sd-7-0-0-carousel__pager-dot--inverted-border{border-color:rgba(var(--sd-carousel__pager-dot--inverted-border,255 255 255))}.sd-7-0-0-divider--inverted-color-border{border-color:rgba(var(--sd-divider--inverted-color-border,153 171 208))}.sd-7-0-0-notification-color-border{border-color:rgba(var(--sd-notification-color-border,195 195 195))}.sd-7-0-0-switch--unchecked-color-border{border-color:rgba(var(--sd-switch--unchecked-color-border,81 81 81))}.sd-7-0-0-tab-color-border{border-color:rgba(var(--sd-tab-color-border,195 195 195))}.sd-7-0-0-tag--default-color-border{border-color:rgba(var(--sd-tag--default-color-border,0 53 142))}.sd-7-0-0-tag--selected--default-color-border{border-color:rgba(var(--sd-tag--selected--default-color-border,255 255 255 / 0))}.sd-7-0-0-teaser--neutral-400-color-border{border-color:rgba(var(--sd-teaser--neutral-400-color-border,195 195 195))}.bg-accent{background-color:rgba(var(--sd-color-background-accent,45 157 0))}.bg-accent-500{background-color:rgba(var(--sd-color-background-accent-500,37 136 14))}.bg-accent-550{background-color:rgba(var(--sd-color-background-accent-550,54 123 40))}.bg-accent-700{background-color:rgba(var(--sd-color-background-accent-700,33 87 37))}.bg-error{background-color:rgba(var(--sd-color-background-error,204 25 55))}.bg-info{background-color:rgba(var(--sd-color-background-info,21 130 213))}.bg-neutral-100{background-color:rgba(var(--sd-color-background-neutral-100,246 246 246))}.bg-neutral-200{background-color:rgba(var(--sd-color-background-neutral-200,233 233 233))}.bg-neutral-400{background-color:rgba(var(--sd-color-background-neutral-400,195 195 195))}.bg-neutral-500{background-color:rgba(var(--sd-color-background-neutral-500,174 174 174))}.bg-neutral-800{background-color:rgba(var(--sd-color-background-neutral-800,81 81 81))}.bg-primary{background-color:rgba(var(--sd-color-background-primary,0 53 142))}.bg-primary-100{background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}.bg-primary\\/80{background-color:rgba(var(--sd-color-background-primary,0 53 142))}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/80{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary,0 53 142)) var(--sd-opacity-80,80%),transparent)}}.bg-success{background-color:rgba(var(--sd-color-background-success,54 123 40))}.bg-transparent{background-color:transparent}.bg-warning{background-color:rgba(var(--sd-color-background-warning,187 141 32))}.bg-white{background-color:rgba(var(--sd-color-background-white,255 255 255))}.bg-white\\/75{background-color:rgba(var(--sd-color-background-white,255 255 255))}@supports (color:color-mix(in lab,red,red)){.bg-white\\/75{background-color:color-mix(in oklab,rgba(var(--sd-color-background-white,255 255 255)) var(--sd-opacity-75,75%),transparent)}}.form-control--invalid-color-background{background-color:rgba(var(--sd-form-control--invalid-color-background,255 255 255))}.form-control--read-only-color-background{background-color:rgba(var(--sd-form-control--read-only-color-background,233 233 233))}.sd-7-0-0-accordion__indicator-color{background-color:rgba(var(--sd-accordion__indicator-color,45 157 0))}.sd-7-0-0-badge--blue--inverted-color-background{background-color:rgba(var(--sd-badge--blue--inverted-color-background,236 240 249))}.sd-7-0-0-badge--blue-color-background{background-color:rgba(var(--sd-badge--blue-color-background,70 109 175))}.sd-7-0-0-badge--green-color--inverted-background{background-color:rgba(var(--sd-badge--green-color--inverted-background,54 123 40))}.sd-7-0-0-badge--green-color-background{background-color:rgba(var(--sd-badge--green-color-background,54 123 40))}.sd-7-0-0-badge--red--inverted-background{background-color:rgba(var(--sd-badge--red--inverted-background,204 25 55))}.sd-7-0-0-badge--red-color-background{background-color:rgba(var(--sd-badge--red-color-background,204 25 55))}.sd-7-0-0-brandshape--neutral-100-color-background{background-color:rgba(var(--sd-brandshape--neutral-100-color-background,246 246 246))}.sd-7-0-0-brandshape--primary-80-color-background{background-color:rgba(var(--sd-brandshape--primary-80-color-background,0 53 142 / .8))}.sd-7-0-0-brandshape--primary-color-background{background-color:rgba(var(--sd-brandshape--primary-color-background,0 53 142))}.sd-7-0-0-brandshape--white-80-color-background{background-color:rgba(var(--sd-brandshape--white-80-color-background,255 255 255 / .8))}.sd-7-0-0-brandshape--white-color-background{background-color:rgba(var(--sd-brandshape--white-color-background,255 255 255))}.sd-7-0-0-button--cta--inverted--default-color-background{background-color:rgba(var(--sd-button--cta--inverted--default-color-background,45 157 0))}.sd-7-0-0-button--cta--inverted--hover-color-background{background-color:rgba(var(--sd-button--cta--inverted--hover-color-background,37 136 14))}.sd-7-0-0-button--inverted--disabled-color-background{background-color:rgba(var(--sd-button--inverted--disabled-color-background,136 136 136))}.sd-7-0-0-button--primary--default-color-background{background-color:rgba(var(--sd-button--primary--default-color-background,0 53 142))}.sd-7-0-0-button--primary--disabled-color-background{background-color:rgba(var(--sd-button--primary--disabled-color-background,174 174 174))}.sd-7-0-0-button--primary--hover-color-background{background-color:rgba(var(--sd-button--primary--hover-color-background,70 109 175))}.sd-7-0-0-button--primary--inverted--default-color-background{background-color:rgba(var(--sd-button--primary--inverted--default-color-background,255 255 255))}.sd-7-0-0-button--primary--inverted--hover-color-background{background-color:rgba(var(--sd-button--primary--inverted--hover-color-background,236 240 249))}.sd-7-0-0-button--secondary--hover-color-background{background-color:rgba(var(--sd-button--secondary--hover-color-background,236 240 249))}.sd-7-0-0-button--secondary--inverted--hover-color-background{background-color:rgba(var(--sd-button--secondary--inverted--hover-color-background,70 109 175))}.sd-7-0-0-button--tertiary--hover-color-background{background-color:rgba(var(--sd-button--tertiary--hover-color-background,236 240 249))}.sd-7-0-0-button--tertiary--inverted--hover-color-background{background-color:rgba(var(--sd-button--tertiary--inverted--hover-color-background,70 109 175))}.sd-7-0-0-carousel__pager-dot--inverted-background{background-color:rgba(var(--sd-carousel__pager-dot--inverted-background,45 157 0))}.sd-7-0-0-carousel__pager-dot-background{background-color:rgba(var(--sd-carousel__pager-dot-background,45 157 0))}.sd-7-0-0-checkbox--invalid-color-background{background-color:rgba(var(--sd-checkbox--invalid-color-background,255 255 255))}.sd-7-0-0-datepicker__date-item--range-color-background{background-color:rgba(var(--sd-datepicker__date-item--range-color-background,236 240 249))}.sd-7-0-0-datepicker__date-item--selected--hover-color-background{background-color:rgba(var(--sd-datepicker__date-item--selected--hover-color-background,70 109 175))}.sd-7-0-0-datepicker__date-item--selected-color-background{background-color:rgba(var(--sd-datepicker__date-item--selected-color-background,0 53 142))}.sd-7-0-0-dropdown-color-background{background-color:rgba(var(--sd-dropdown-color-background,255 255 255))}.sd-7-0-0-header-color-background{background-color:rgba(var(--sd-header-color-background,255 255 255))}.sd-7-0-0-map-marker--cluster--default-color-background{background-color:rgba(var(--sd-map-marker--cluster--default-color-background,0 53 142))}.sd-7-0-0-map-marker--cluster--hover-color-background{background-color:rgba(var(--sd-map-marker--cluster--hover-color-background,70 109 175))}.sd-7-0-0-map-marker--main-color-background{background-color:rgba(var(--sd-map-marker--main-color-background,37 136 14))}.sd-7-0-0-map-marker--pin--default-color-background{background-color:rgba(var(--sd-map-marker--pin--default-color-background,255 255 255))}.sd-7-0-0-map-marker--pin--hover-color-background{background-color:rgba(var(--sd-map-marker--pin--hover-color-background,236 240 249))}.sd-7-0-0-notification--error-color-background{background-color:rgba(var(--sd-notification--error-color-background,255 255 255))}.sd-7-0-0-notification--info-color-background{background-color:rgba(var(--sd-notification--info-color-background,255 255 255))}.sd-7-0-0-notification--success-color-background{background-color:rgba(var(--sd-notification--success-color-background,255 255 255))}.sd-7-0-0-notification--warning-color-background{background-color:rgba(var(--sd-notification--warning-color-background,255 255 255))}.sd-7-0-0-notification__duration-indicator-color-background{background-color:rgba(var(--sd-notification__duration-indicator-color-background,0 53 142))}.sd-7-0-0-progress-bar--active--inverted-color-background{background-color:rgba(var(--sd-progress-bar--active--inverted-color-background,45 157 0))}.sd-7-0-0-progress-bar__slide-bar--inverted-color-background{background-color:rgba(var(--sd-progress-bar__slide-bar--inverted-color-background,153 171 208))}.sd-7-0-0-progress-bar__slide-bar-color-background{background-color:rgba(var(--sd-progress-bar__slide-bar-color-background,195 195 195))}.sd-7-0-0-radio--checked--default-color-background{background-color:rgba(var(--sd-radio--checked--default-color-background,255 255 255))}.sd-7-0-0-radio--checked--default__icon-color-background{background-color:rgba(var(--sd-radio--checked--default__icon-color-background,45 157 0))}.sd-7-0-0-radio--checked--disabled__icon-color-background{background-color:rgba(var(--sd-radio--checked--disabled__icon-color-background,174 174 174))}.sd-7-0-0-radio--checked--invalid--default-color-background{background-color:rgba(var(--sd-radio--checked--invalid--default-color-background,255 255 255))}.sd-7-0-0-radio--checked--invalid--default__icon-color-background{background-color:rgba(var(--sd-radio--checked--invalid--default__icon-color-background,204 25 55))}.sd-7-0-0-radio--default--invalid-color-background{background-color:rgba(var(--sd-radio--default--invalid-color-background,255 255 255))}.sd-7-0-0-skeleton-color{background-color:rgba(var(--sd-skeleton-color,233 233 233))}.sd-7-0-0-switch--unchecked__icon-color-background{background-color:rgba(var(--sd-switch--unchecked__icon-color-background,81 81 81))}.sd-7-0-0-tag--default-color-background{background-color:rgba(var(--sd-tag--default-color-background,255 255 255 / 0))}.sd-7-0-0-tag--selected--default-color-background{background-color:rgba(var(--sd-tag--selected--default-color-background,0 53 142))}.sd-7-0-0-teaser--neutral-100-color-background{background-color:rgba(var(--sd-teaser--neutral-100-color-background,246 246 246))}.sd-7-0-0-teaser--primary-100-color-background{background-color:rgba(var(--sd-teaser--primary-100-color-background,236 240 249))}.sd-7-0-0-teaser-media--neutral-100-color-background{background-color:rgba(var(--sd-teaser-media--neutral-100-color-background,246 246 246 / .8))}.sd-7-0-0-teaser-media--primary-100-color-background{background-color:rgba(var(--sd-teaser-media--primary-100-color-background,236 240 249 / .8))}.sd-7-0-0-teaser-media--white-color-background{background-color:rgba(var(--sd-teaser-media--white-color-background,255 255 255 / .8))}.sd-7-0-0-tooltip-color-background{background-color:rgba(var(--sd-tooltip-color-background,0 53 142))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-none{background-image:none}.from-black\\/40{--tw-gradient-from:color-mix(in srgb, #000 40%, transparent)}@supports (color:color-mix(in lab,red,red)){.from-black\\/40{--tw-gradient-from:color-mix(in oklab, var(--color-black) 40%, transparent)}}.from-black\\/40{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-primary-800\\/60{--tw-gradient-from:rgba(var(--sd-color-background-primary-800, 5 21 48))}@supports (color:color-mix(in lab,red,red)){.from-primary-800\\/60{--tw-gradient-from:color-mix(in oklab, rgba(var(--sd-color-background-primary-800, 5 21 48)) var(--sd-opacity-60, 60%), transparent)}}.from-primary-800\\/60{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-primary-800\\/75{--tw-gradient-from:rgba(var(--sd-color-background-primary-800, 5 21 48))}@supports (color:color-mix(in lab,red,red)){.from-primary-800\\/75{--tw-gradient-from:color-mix(in oklab, rgba(var(--sd-color-background-primary-800, 5 21 48)) var(--sd-opacity-75, 75%), transparent)}}.from-primary-800\\/75{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-white\\/60{--tw-gradient-from:rgba(var(--sd-color-background-white, 255 255 255))}@supports (color:color-mix(in lab,red,red)){.from-white\\/60{--tw-gradient-from:color-mix(in oklab, rgba(var(--sd-color-background-white, 255 255 255)) var(--sd-opacity-60, 60%), transparent)}}.from-white\\/60{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-white\\/75{--tw-gradient-from:rgba(var(--sd-color-background-white, 255 255 255))}@supports (color:color-mix(in lab,red,red)){.from-white\\/75{--tw-gradient-from:color-mix(in oklab, rgba(var(--sd-color-background-white, 255 255 255)) var(--sd-opacity-75, 75%), transparent)}}.from-white\\/75{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-primary-800\\/0{--tw-gradient-to:rgba(var(--sd-color-background-primary-800, 5 21 48))}@supports (color:color-mix(in lab,red,red)){.to-primary-800\\/0{--tw-gradient-to:color-mix(in oklab, rgba(var(--sd-color-background-primary-800, 5 21 48)) var(--sd-opacity-0, 0%), transparent)}}.to-primary-800\\/0{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-primary-800\\/60{--tw-gradient-to:rgba(var(--sd-color-background-primary-800, 5 21 48))}@supports (color:color-mix(in lab,red,red)){.to-primary-800\\/60{--tw-gradient-to:color-mix(in oklab, rgba(var(--sd-color-background-primary-800, 5 21 48)) var(--sd-opacity-60, 60%), transparent)}}.to-primary-800\\/60{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-white\\/0{--tw-gradient-to:rgba(var(--sd-color-background-white, 255 255 255))}@supports (color:color-mix(in lab,red,red)){.to-white\\/0{--tw-gradient-to:color-mix(in oklab, rgba(var(--sd-color-background-white, 255 255 255)) var(--sd-opacity-0, 0%), transparent)}}.to-white\\/0{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-white\\/60{--tw-gradient-to:rgba(var(--sd-color-background-white, 255 255 255))}@supports (color:color-mix(in lab,red,red)){.to-white\\/60{--tw-gradient-to:color-mix(in oklab, rgba(var(--sd-color-background-white, 255 255 255)) var(--sd-opacity-60, 60%), transparent)}}.to-white\\/60{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-transparent{fill:transparent}.form-control-color-icon-fill{fill:rgba(var(--sd-form-control-color-icon-fill,0 53 142))}.sd-7-0-0-teaser-media-color-icon-fill{fill:rgba(var(--sd-teaser-media-color-icon-fill,0 53 142))}.p-0{padding:0}.p-1{padding:var(--sd-spacing-1,.25rem)}.p-2{padding:var(--sd-spacing-2,.5rem)}.p-3{padding:var(--sd-spacing-3,.75rem)}.p-4{padding:var(--sd-spacing-4,1rem)}.p-6{padding:var(--sd-spacing-6,1.5rem)}.sd-7-0-0-radio-button-group-padding{padding:var(--sd-radio-button-group-padding,0)}.px-0{padding-inline:0}.px-1{padding-inline:var(--sd-spacing-1,.25rem)}.px-2{padding-inline:var(--sd-spacing-2,.5rem)}.px-3{padding-inline:var(--sd-spacing-3,.75rem)}.px-4{padding-inline:var(--sd-spacing-4,1rem)}.px-5{padding-inline:calc(var(--sd-spacing-1,.25rem) * 5)}.px-6{padding-inline:var(--sd-spacing-6,1.5rem)}.px-8{padding-inline:var(--sd-spacing-8,2rem)}.px-10{padding-inline:var(--sd-spacing-10,2.5rem)}.px-12{padding-inline:var(--sd-spacing-12,3rem)}.px-\\[12px\\]{padding-inline:12px}.sd-7-0-0-button--secondary-padding-inline{padding-inline:var(--sd-button--secondary-padding-inline,.9375rem)}.sd-7-0-0-button--size-md--icon-only-padding-inline{padding-inline:var(--sd-button--size-md--icon-only-padding-inline,.625rem)}.sd-7-0-0-button-padding-inline{padding-inline:var(--sd-button-padding-inline,1rem)}.sd-7-0-0-tag--size-lg-padding-inline{padding-inline:var(--sd-tag--size-lg-padding-inline,.75rem)}.sd-7-0-0-tag--size-sm-padding-inline{padding-inline:var(--sd-tag--size-sm-padding-inline,.75rem)}.py-0{padding-block:0}.py-1{padding-block:var(--sd-spacing-1,.25rem)}.py-2{padding-block:var(--sd-spacing-2,.5rem)}.py-3{padding-block:var(--sd-spacing-3,.75rem)}.py-4{padding-block:var(--sd-spacing-4,1rem)}.py-6{padding-block:var(--sd-spacing-6,1.5rem)}.py-8{padding-block:var(--sd-spacing-8,2rem)}.sd-7-0-0-accordion-padding-block{padding-block:var(--sd-accordion-padding-block,.75rem)}.sd-7-0-0-button--secondary--size-lg-padding-block{padding-block:var(--sd-button--secondary--size-lg-padding-block,.6875rem)}.sd-7-0-0-button--secondary--size-md-padding-block{padding-block:var(--sd-button--secondary--size-md-padding-block,.4375rem)}.sd-7-0-0-button--secondary--size-sm-padding-block{padding-block:var(--sd-button--secondary--size-sm-padding-block,.28125rem)}.sd-7-0-0-button--size-lg-padding-block{padding-block:var(--sd-button--size-lg-padding-block,.75rem)}.sd-7-0-0-button--size-md-padding-block{padding-block:var(--sd-button--size-md-padding-block,.5rem)}.sd-7-0-0-button--size-sm-padding-block{padding-block:var(--sd-button--size-sm-padding-block,.34375rem)}.ps-4{padding-inline-start:var(--sd-spacing-4,1rem)}.pt-0{padding-top:0}.pt-1{padding-top:var(--sd-spacing-1,.25rem)}.pt-2{padding-top:var(--sd-spacing-2,.5rem)}.pt-3{padding-top:var(--sd-spacing-3,.75rem)}.pt-4{padding-top:var(--sd-spacing-4,1rem)}.pt-6{padding-top:var(--sd-spacing-6,1.5rem)}.pr-2{padding-right:var(--sd-spacing-2,.5rem)}.pr-4{padding-right:var(--sd-spacing-4,1rem)}.sd-7-0-0-tag--removable--size-lg-padding-right{padding-right:var(--sd-tag--removable--size-lg-padding-right,.75rem)}.sd-7-0-0-tag--removable--size-sm-padding-right{padding-right:var(--sd-tag--removable--size-sm-padding-right,.5rem)}.pb-0{padding-bottom:0}.pb-1{padding-bottom:var(--sd-spacing-1,.25rem)}.pb-2{padding-bottom:var(--sd-spacing-2,.5rem)}.pb-3{padding-bottom:var(--sd-spacing-3,.75rem)}.pb-4{padding-bottom:var(--sd-spacing-4,1rem)}.sd-7-0-0-header-padding-bottom{padding-bottom:var(--sd-header-padding-bottom,0)}.pl-3{padding-left:var(--sd-spacing-3,.75rem)}.pl-4{padding-left:var(--sd-spacing-4,1rem)}.pl-8{padding-left:var(--sd-spacing-8,2rem)}.sd-7-0-0-tag--removable--size-lg-padding-left{padding-left:var(--sd-tag--removable--size-lg-padding-left,1rem)}.sd-7-0-0-tag--removable--size-sm-padding-left{padding-left:var(--sd-tag--removable--size-sm-padding-left,.75rem)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.text-base{font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--sd-text-lg,1.25rem);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--sd-text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--sd-text-xl,1.5rem);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--sd-text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height))}.navigable-font-size{font-size:var(--sd-navigable-font-size,1rem)}.sd-7-0-0-button--size-lg-font-size{font-size:var(--sd-button--size-lg-font-size,1rem)}.sd-7-0-0-button--size-md-font-size{font-size:var(--sd-button--size-md-font-size,1rem)}.sd-7-0-0-button--size-sm-font-size{font-size:var(--sd-button--size-sm-font-size,.875rem)}.sd-7-0-0-tag--size-lg-font-size{font-size:var(--sd-tag--size-lg-font-size,1rem)}.sd-7-0-0-tag--size-sm-font-size{font-size:var(--sd-tag--size-sm-font-size,.875rem)}.text-\\[0\\.75rem\\]{font-size:.75rem}.text-\\[2rem\\]{font-size:2rem}.text-\\[4rem\\]{font-size:4rem}.text-\\[14px\\]{font-size:14px}.leading-4\\.5{--tw-leading:calc(var(--sd-spacing-1, 0.25rem) * 4.5);line-height:calc(var(--sd-spacing-1,.25rem) * 4.5)}.leading-5{--tw-leading:calc(var(--sd-spacing-1, 0.25rem) * 5);line-height:calc(var(--sd-spacing-1,.25rem) * 5)}.leading-6{--tw-leading:var(--sd-spacing-6, 1.5rem);line-height:var(--sd-spacing-6,1.5rem)}.leading-\\[0\\]{--tw-leading:0;line-height:0}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--sd-font-weight-bold, 600);font-weight:var(--sd-font-weight-bold,600)}.font-normal{--tw-font-weight:var(--sd-font-weight-normal, 400);font-weight:var(--sd-font-weight-normal,400)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.choice-control-font-weight{font-weight:var(--sd-choice-control-font-weight,400)}.sd-7-0-0-button-font-weight{font-weight:var(--sd-button-font-weight,400)}.sd-7-0-0-datepicker__date-item--current-font-weight{font-weight:var(--sd-datepicker__date-item--current-font-weight,600)}.text-nowrap{text-wrap:nowrap}.wrap-break-word{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.tab-0{-moz-tab-size:0;-o-tab-size:0;tab-size:0}.\\!text-neutral-700{color:rgba(var(--sd-color-text-neutral-700,104 104 104))!important}.form-control--filled__floating-label-color-text{color:rgba(var(--sd-form-control--filled__floating-label-color-text,104 104 104))}.form-control-color-text{color:rgba(var(--sd-form-control-color-text,24 24 24))}.interactive--default-color-text{color:rgba(var(--sd-interactive--default-color-text,0 53 142))}.sd-7-0-0-accordion--open-color-text{color:rgba(var(--sd-accordion--open-color-text,0 53 142))}.sd-7-0-0-accordion-color-text{color:rgba(var(--sd-accordion-color-text,0 53 142))}.sd-7-0-0-badge--blue--inverted-color-text{color:rgba(var(--sd-badge--blue--inverted-color-text,0 53 142))}.sd-7-0-0-badge--green-color--inverted-text{color:rgba(var(--sd-badge--green-color--inverted-text,255 255 255))}.sd-7-0-0-badge--red--inverted-text{color:rgba(var(--sd-badge--red--inverted-text,255 255 255))}.sd-7-0-0-button--cta--inverted--default-color-text{color:rgba(var(--sd-button--cta--inverted--default-color-text,255 255 255))}.sd-7-0-0-button--primary--default-color-text{color:rgba(var(--sd-button--primary--default-color-text,255 255 255))}.sd-7-0-0-button--primary--inverted--default-color-text{color:rgba(var(--sd-button--primary--inverted--default-color-text,0 53 142))}.sd-7-0-0-button--secondary--default-color-text{color:rgba(var(--sd-button--secondary--default-color-text,0 53 142))}.sd-7-0-0-button--secondary--disabled-color-text{color:rgba(var(--sd-button--secondary--disabled-color-text,174 174 174))}.sd-7-0-0-button--secondary--inverted-color-text{color:rgba(var(--sd-button--secondary--inverted-color-text,255 255 255))}.sd-7-0-0-button--tertiary--default-color-text{color:rgba(var(--sd-button--tertiary--default-color-text,0 53 142))}.sd-7-0-0-button--tertiary--disabled-color-text{color:rgba(var(--sd-button--tertiary--disabled-color-text,174 174 174))}.sd-7-0-0-button--tertiary--inverted-color-text{color:rgba(var(--sd-button--tertiary--inverted-color-text,255 255 255))}.sd-7-0-0-datepicker__date-item--default-color-text{color:rgba(var(--sd-datepicker__date-item--default-color-text,0 53 142))}.sd-7-0-0-datepicker__date-item--selected--hover-color-text{color:rgba(var(--sd-datepicker__date-item--selected--hover-color-text,255 255 255))}.sd-7-0-0-datepicker__date-item--selected-color-text{color:rgba(var(--sd-datepicker__date-item--selected-color-text,255 255 255))}.sd-7-0-0-map-marker--cluster-color-text{color:rgba(var(--sd-map-marker--cluster-color-text,255 255 255))}.sd-7-0-0-map-marker--pin-color-text{color:rgba(var(--sd-map-marker--pin-color-text,0 53 142))}.sd-7-0-0-menu-item--disabled-color-text{color:rgba(var(--sd-menu-item--disabled-color-text,174 174 174))}.sd-7-0-0-menu-item-color-text{color:rgba(var(--sd-menu-item-color-text,0 53 142))}.sd-7-0-0-navigation-item--default-color-text{color:rgba(var(--sd-navigation-item--default-color-text,0 53 142))}.sd-7-0-0-navigation-item-color-text{color:rgba(var(--sd-navigation-item-color-text,0 53 142))}.sd-7-0-0-quickfact--expandable-color-text{color:rgba(var(--sd-quickfact--expandable-color-text,0 53 142))}.sd-7-0-0-radio-button-color-text{color:rgba(var(--sd-radio-button-color-text,0 53 142))}.sd-7-0-0-range-scale-ticks-color-text{color:rgba(var(--sd-range-scale-ticks-color-text,24 24 24))}.sd-7-0-0-step-color-text{color:rgba(var(--sd-step-color-text,0 53 142))}.sd-7-0-0-switch-color-text{color:rgba(var(--sd-switch-color-text,24 24 24))}.sd-7-0-0-tab--active-color-text{color:rgba(var(--sd-tab--active-color-text,0 53 142))}.sd-7-0-0-tab--disabled-color-text{color:rgba(var(--sd-tab--disabled-color-text,174 174 174))}.sd-7-0-0-tab-color-text{color:rgba(var(--sd-tab-color-text,0 53 142))}.sd-7-0-0-tag--default-color-text{color:rgba(var(--sd-tag--default-color-text,0 53 142))}.sd-7-0-0-tag--disabled-color-text{color:rgba(var(--sd-tag--disabled-color-text,174 174 174))}.sd-7-0-0-tag--selected--default-color-text{color:rgba(var(--sd-tag--selected--default-color-text,255 255 255))}.sd-7-0-0-tooltip-color-text{color:rgba(var(--sd-tooltip-color-text,255 255 255))}.text-black{color:rgba(var(--sd-color-text-black,24 24 24))}.text-error{color:rgba(var(--sd-color-text-error,204 25 55))}.text-inherit{color:inherit}.text-neutral-500{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}.text-neutral-600{color:rgba(var(--sd-color-text-neutral-600,136 136 136))}.text-neutral-700{color:rgba(var(--sd-color-text-neutral-700,104 104 104))}.text-primary{color:rgba(var(--sd-color-text-primary,0 53 142))}.text-primary-400{color:rgba(var(--sd-color-text-primary-400,153 171 208))}.text-primary-500{color:rgba(var(--sd-color-text-primary-500,70 109 175))}.text-success{color:rgba(var(--sd-color-text-success,54 123 40))}.text-white{color:rgba(var(--sd-color-text-white,255 255 255))}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:var(--sd-opacity-0,0)}.opacity-1{opacity:1%}.opacity-30{opacity:var(--sd-opacity-30,30%)}.opacity-100{opacity:var(--sd-opacity-100,100%)}.\\!shadow{--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75))!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)),0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-listbox{--tw-shadow:var(--sd-shadow-listbox, 0px 1px 3px 0px rgba(81, 81, 81, 0.75));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)),0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline:2px solid transparent;outline-offset:2px}}.focus-outline{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.outline-2{outline-style:var(--tw-outline-style);outline-width:2px}.\\!-outline-offset-2{outline-offset:calc(2px * -1)!important}.\\!outline-offset-0{outline-offset:0!important}.-outline-offset-2{outline-offset:calc(2px * -1)}.outline-error{outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error,204 25 55)))}.outline-primary{outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary,0 53 142)))}.outline-transparent{outline-color:transparent}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[border\\]{transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[height\\,top\\]{transition-property:height,top;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,scale\\]{transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[transform\\,width\\]{transition-property:transform,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:100ms;transition-duration:.1s}.duration-200{--tw-duration:200ms;transition-duration:.2s}.duration-300{--tw-duration:300ms;transition-duration:.3s}.duration-1000{--tw-duration:1000ms;transition-duration:1s}.duration-fast{--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms)}.duration-medium{--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms)}.duration-slow{--tw-duration:var(--sd-duration-slow, 500ms);transition-duration:var(--sd-duration-slow,500ms)}.duration-x-slow{--tw-duration:var(--sd-duration-x-slow, 750ms);transition-duration:var(--sd-duration-x-slow,750ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.content-\\[\\'\\'\\]{--tw-content:'';content:var(--tw-content)}.outline-dotted{--tw-outline-style:dotted;outline-style:dotted}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.varspacing-8{--tw-varspacing:var(--sd-spacing-8, 2rem)}.varspacing-10{--tw-varspacing:var(--sd-spacing-10, 2.5rem)}.varspacing-12{--tw-varspacing:var(--sd-spacing-12, 3rem)}.group-hover\\:top-0:is(:where(.group):hover:not([disabled]) *){top:0}.group-hover\\:left-0:is(:where(.group):hover:not([disabled]) *){left:0}.group-hover\\:mt-\\[-22\\%\\]:is(:where(.group):hover:not([disabled]) *){margin-top:-22%}.group-hover\\:h-full:is(:where(.group):hover:not([disabled]) *){height:100%}.group-hover\\:w-\\[calc\\(100\\%-2px\\)\\]:is(:where(.group):hover:not([disabled]) *){width:calc(100% - 2px)}.group-hover\\:w-full:is(:where(.group):hover:not([disabled]) *){width:100%}.group-hover\\:translate-y-0:is(:where(.group):hover:not([disabled]) *){--tw-translate-y:0;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-hover\\:border-accent-550:is(:where(.group):hover:not([disabled]) *){border-color:rgba(var(--sd-color-border-accent-550,54 123 40))}.group-hover\\:border-error-400:is(:where(.group):hover:not([disabled]) *){border-color:rgba(var(--sd-color-border-error-400,172 25 56))}.group-hover\\:border-primary-500:is(:where(.group):hover:not([disabled]) *){border-color:rgba(var(--sd-color-border-primary-500,70 109 175))}.group-hover\\:bg-accent-550:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-accent-550,54 123 40))}.group-hover\\:bg-error-400:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-error-400,172 25 56))}.group-hover\\:bg-neutral-200:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-neutral-200,233 233 233))}.group-hover\\:bg-primary\\/90:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-primary,0 53 142))}@supports (color:color-mix(in lab,red,red)){.group-hover\\:bg-primary\\/90:is(:where(.group):hover:not([disabled]) *){background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary,0 53 142)) var(--sd-opacity-90,90%),transparent)}}.group-hover\\:bg-transparent:is(:where(.group):hover:not([disabled]) *){background-color:transparent}.group-hover\\:bg-white:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-white,255 255 255))}.group-hover\\:sd-7-0-0-map-marker--cluster--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-map-marker--cluster--hover-color-background,70 109 175))}.group-hover\\:sd-7-0-0-radio--checked--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-radio--checked--hover-color-background,255 255 255))}.group-hover\\:sd-7-0-0-radio--checked--hover__icon-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-radio--checked--hover__icon-color-background,54 123 40))}.group-hover\\:sd-7-0-0-radio--checked--invalid--hover__icon-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-radio--checked--invalid--hover__icon-color-background,172 25 56))}.group-hover\\:sd-7-0-0-switch--checked--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-switch--checked--hover-color-background,54 123 40))}.group-hover\\:sd-7-0-0-switch--unchecked--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-switch--unchecked--hover-color-background,233 233 233))}.group-hover\\:sd-7-0-0-teaser-media--neutral-100--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-teaser-media--neutral-100--hover-color-background,246 246 246 / .9))}.group-hover\\:sd-7-0-0-teaser-media--primary-100--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-teaser-media--primary-100--hover-color-background,236 240 249 / .9))}.group-hover\\:sd-7-0-0-teaser-media--white--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-teaser-media--white--hover-color-background,255 255 255 / .9))}.group-hover\\:text-primary-500:is(:where(.group):hover:not([disabled]) *){color:rgba(var(--sd-color-text-primary-500,70 109 175))}.group-hover\\:duration-fast:is(:where(.group):hover:not([disabled]) *){--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms)}.group-focus-visible\\:outline-2:is(:where(.group):focus-visible *){outline-style:var(--tw-outline-style);outline-width:2px}.group-focus-visible\\:outline-offset-2:is(:where(.group):focus-visible *){outline-offset:2px}.group-active\\:translate-y-0:is(:where(.group):active:not([disabled]) *){--tw-translate-y:0;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-active\\:sd-7-0-0-button--secondary--active-color-border:is(:where(.group):active:not([disabled]) *){border-color:rgba(var(--sd-button--secondary--active-color-border,5 21 48))}.group-active\\:bg-accent-700:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-color-background-accent-700,33 87 37))}.group-active\\:bg-primary-200:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-color-background-primary-200,224 233 243))}.group-active\\:sd-7-0-0-button--cta--inverted--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--cta--inverted--active-color-background,33 87 37))}.group-active\\:sd-7-0-0-button--primary--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--primary--active-color-background,5 21 48))}.group-active\\:sd-7-0-0-button--primary--inverted--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--primary--inverted--active-color-background,224 233 243))}.group-active\\:sd-7-0-0-button--secondary--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--secondary--active-color-background,224 233 243))}.group-active\\:sd-7-0-0-button--secondary--inverted--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--secondary--inverted--active-color-background,5 21 48))}.group-active\\:sd-7-0-0-button--tertiary--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--tertiary--active-color-background,224 233 243))}.group-active\\:sd-7-0-0-button--tertiary--inverted--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--tertiary--inverted--active-color-background,5 21 48))}.group-active\\:sd-7-0-0-button--secondary--inverted--active-color-text:is(:where(.group):active:not([disabled]) *){color:rgba(var(--sd-button--secondary--inverted--active-color-text,255 255 255))}.group-active\\:sd-7-0-0-button--tertiary--inverted--active-color-text:is(:where(.group):active:not([disabled]) *){color:rgba(var(--sd-button--tertiary--inverted--active-color-text,224 233 243))}.group-has-\\[sd-7-0-0-icon\\]\\:pe-8:is(:where(.group):has(:is(sd-7-0-0-icon))*){padding-inline-end:var(--sd-spacing-8,2rem)}.peer-focus-visible\\:outline:is(:where(.peer):focus-visible ~ *){outline-style:var(--tw-outline-style);outline-width:1px}.peer-focus-visible\\:outline-2:is(:where(.peer):focus-visible ~ *){outline-style:var(--tw-outline-style);outline-width:2px}.peer-focus-visible\\:outline-offset-2:is(:where(.peer):focus-visible ~ *){outline-offset:2px}.peer-focus-visible\\:outline-primary:is(:where(.peer):focus-visible ~ *){outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary,0 53 142)))}.placeholder\\:text-black::-moz-placeholder{color:rgba(var(--sd-color-text-black,24 24 24))}.placeholder\\:text-black::placeholder{color:rgba(var(--sd-color-text-black,24 24 24))}.placeholder\\:text-neutral-500::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}.placeholder\\:text-neutral-500::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}.placeholder\\:text-neutral-700::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-700,104 104 104))}.placeholder\\:text-neutral-700::placeholder{color:rgba(var(--sd-color-text-neutral-700,104 104 104))}.after\\:-inset-2::after{content:var(--tw-content);inset:calc(var(--sd-spacing-2,.5rem) * -1)}.focus-within\\:focus-outline:focus-within{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.focus-within\\:focus-outline-inverted:focus-within{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-white)}.hover\\:scale-110:hover:not([disabled]){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:cursor-grab:hover:not([disabled]){cursor:grab}.hover\\:cursor-not-allowed:hover:not([disabled]){cursor:not-allowed}.hover\\:cursor-pointer:hover:not([disabled]){cursor:pointer}.hover\\:border-accent-550:hover:not([disabled]){border-color:rgba(var(--sd-color-border-accent-550,54 123 40))}.hover\\:border-error-400:hover:not([disabled]){border-color:rgba(var(--sd-color-border-error-400,172 25 56))}.hover\\:border-primary-200:hover:not([disabled]){border-color:rgba(var(--sd-color-border-primary-200,224 233 243))}.hover\\:border-primary-500:hover:not([disabled]){border-color:rgba(var(--sd-color-border-primary-500,70 109 175))}.hover\\:sd-7-0-0-button--secondary--hover-color-border:hover:not([disabled]){border-color:rgba(var(--sd-button--secondary--hover-color-border,70 109 175))}.hover\\:sd-7-0-0-button--secondary--inverted-color-border:hover:not([disabled]){border-color:rgba(var(--sd-button--secondary--inverted-color-border,255 255 255))}.hover\\:sd-7-0-0-tag--selected--hover-color-border:hover:not([disabled]){border-color:rgba(var(--sd-tag--selected--hover-color-border,255 255 255 / 0))}.hover\\:bg-accent-500:hover:not([disabled]){background-color:rgba(var(--sd-color-background-accent-500,37 136 14))}.hover\\:bg-accent-550:hover:not([disabled]){background-color:rgba(var(--sd-color-background-accent-550,54 123 40))}.hover\\:bg-error-400:hover:not([disabled]){background-color:rgba(var(--sd-color-background-error-400,172 25 56))}.hover\\:bg-neutral-100:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100,246 246 246))}.hover\\:bg-neutral-200:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-200,233 233 233))}.hover\\:bg-primary-100:hover:not([disabled]){background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}.hover\\:bg-transparent:hover:not([disabled]){background-color:transparent}.hover\\:bg-white:hover:not([disabled]){background-color:rgba(var(--sd-color-background-white,255 255 255))}.hover\\:sd-7-0-0-accordion--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-accordion--hover-color-background,233 233 233))}.hover\\:sd-7-0-0-button--cta--inverted--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--cta--inverted--hover-color-background,37 136 14))}.hover\\:sd-7-0-0-button--primary--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--primary--hover-color-background,70 109 175))}.hover\\:sd-7-0-0-button--primary--inverted--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--primary--inverted--hover-color-background,236 240 249))}.hover\\:sd-7-0-0-button--secondary--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--secondary--hover-color-background,236 240 249))}.hover\\:sd-7-0-0-button--secondary--inverted--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--secondary--inverted--hover-color-background,70 109 175))}.hover\\:sd-7-0-0-button--tertiary--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--tertiary--hover-color-background,236 240 249))}.hover\\:sd-7-0-0-button--tertiary--inverted--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--tertiary--inverted--hover-color-background,70 109 175))}.hover\\:sd-7-0-0-carousel__pager-dot--inverted--hovered-background:hover:not([disabled]){background-color:rgba(var(--sd-carousel__pager-dot--inverted--hovered-background,45 157 0))}.hover\\:sd-7-0-0-datepicker__date-item--hover--default-color-background:hover:not([disabled]){background-color:rgba(var(--sd-datepicker__date-item--hover--default-color-background,236 240 249))}.hover\\:sd-7-0-0-datepicker__date-item--hover--prev-next-color-background:hover:not([disabled]){background-color:rgba(var(--sd-datepicker__date-item--hover--prev-next-color-background,236 240 249))}.hover\\:sd-7-0-0-datepicker__date-item--selected--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-datepicker__date-item--selected--hover-color-background,70 109 175))}.hover\\:sd-7-0-0-map-marker--cluster--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-map-marker--cluster--hover-color-background,70 109 175))}.hover\\:sd-7-0-0-radio--checked--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-radio--checked--hover-color-background,255 255 255))}.hover\\:sd-7-0-0-radio--checked--hover__icon-color-background:hover:not([disabled]){background-color:rgba(var(--sd-radio--checked--hover__icon-color-background,54 123 40))}.hover\\:sd-7-0-0-radio--checked--invalid--hover__icon-color-background:hover:not([disabled]){background-color:rgba(var(--sd-radio--checked--invalid--hover__icon-color-background,172 25 56))}.hover\\:sd-7-0-0-radio-button--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-radio-button--hover-color-background,255 255 255 / 0))}.hover\\:sd-7-0-0-switch--checked--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-switch--checked--hover-color-background,54 123 40))}.hover\\:sd-7-0-0-switch--unchecked--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-switch--unchecked--hover-color-background,233 233 233))}.hover\\:sd-7-0-0-tab--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-tab--hover-color-background,233 233 233))}.hover\\:sd-7-0-0-tag--default--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-tag--default--hover-color-background,255 255 255 / 0))}.hover\\:sd-7-0-0-tag--selected--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-tag--selected--hover-color-background,70 109 175))}.hover\\:fill-primary-500:hover:not([disabled]){fill:rgba(var(--sd-color-icon-fill-primary-500,70 109 175))}.hover\\:sd-7-0-0-button--cta--inverted--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--cta--inverted--hover-color-text,255 255 255))}.hover\\:sd-7-0-0-button--primary--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--primary--hover-color-text,236 240 249))}.hover\\:sd-7-0-0-button--primary--inverted--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--primary--inverted--hover-color-text,70 109 175))}.hover\\:sd-7-0-0-button--secondary--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--secondary--hover-color-text,0 53 142))}.hover\\:sd-7-0-0-button--secondary--inverted--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--secondary--inverted--hover-color-text,255 255 255))}.hover\\:sd-7-0-0-button--tertiary--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--tertiary--hover-color-text,70 109 175))}.hover\\:sd-7-0-0-button--tertiary--inverted--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--tertiary--inverted--hover-color-text,236 240 249))}.hover\\:sd-7-0-0-datepicker__date-item--hover--default-color-text:hover:not([disabled]){color:rgba(var(--sd-datepicker__date-item--hover--default-color-text,70 109 175))}.hover\\:sd-7-0-0-datepicker__date-item--hover--prev-next-color-text:hover:not([disabled]){color:rgba(var(--sd-datepicker__date-item--hover--prev-next-color-text,104 104 104))}.hover\\:sd-7-0-0-datepicker__date-item--selected--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-datepicker__date-item--selected--hover-color-text,255 255 255))}.hover\\:sd-7-0-0-radio-button--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-radio-button--hover-color-text,70 109 175))}.hover\\:sd-7-0-0-tag--selected--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-tag--selected--hover-color-text,255 255 255))}.hover\\:text-primary-100:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-100,236 240 249))}.hover\\:text-primary-200:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-200,224 233 243))}.hover\\:text-primary-500:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-500,70 109 175))}.hover\\:duration-fast:hover:not([disabled]){--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms)}.focus\\:outline-2:focus:not([disabled]){outline-style:var(--tw-outline-style);outline-width:2px}.focus\\:outline-primary:focus:not([disabled]){outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary,0 53 142)))}.focus\\:outline-none:focus:not([disabled]){--tw-outline-style:none;outline-style:none}.focus-visible\\:z-10:focus-visible{z-index:10}.focus-visible\\:z-10:focus-visible{z-index:10}.focus-visible\\:focus-outline:focus-visible{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.focus-visible\\:focus-outline-inverted:focus-visible{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-white)}.focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:border-primary-200:active:not([disabled]){border-color:rgba(var(--sd-color-border-primary-200,224 233 243))}.active\\:sd-7-0-0-button--secondary--active-color-border:active:not([disabled]){border-color:rgba(var(--sd-button--secondary--active-color-border,5 21 48))}.active\\:bg-accent-700:active:not([disabled]){background-color:rgba(var(--sd-color-background-accent-700,33 87 37))}.active\\:sd-7-0-0-button--cta--inverted--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--cta--inverted--active-color-background,33 87 37))}.active\\:sd-7-0-0-button--primary--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--primary--active-color-background,5 21 48))}.active\\:sd-7-0-0-button--primary--inverted--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--primary--inverted--active-color-background,224 233 243))}.active\\:sd-7-0-0-button--secondary--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--secondary--active-color-background,224 233 243))}.active\\:sd-7-0-0-button--secondary--inverted--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--secondary--inverted--active-color-background,5 21 48))}.active\\:sd-7-0-0-button--tertiary--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--tertiary--active-color-background,224 233 243))}.active\\:sd-7-0-0-button--tertiary--inverted--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--tertiary--inverted--active-color-background,5 21 48))}.active\\:interactive--active-color-text:active:not([disabled]){color:rgba(var(--sd-interactive--active-color-text,5 21 48))}.active\\:sd-7-0-0-button--cta--inverted--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--cta--inverted--active-color-text,255 255 255))}.active\\:sd-7-0-0-button--primary--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--primary--active-color-text,224 233 243))}.active\\:sd-7-0-0-button--primary--inverted--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--primary--inverted--active-color-text,5 21 48))}.active\\:sd-7-0-0-button--secondary--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--secondary--active-color-text,5 21 48))}.active\\:sd-7-0-0-button--secondary--inverted--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--secondary--inverted--active-color-text,255 255 255))}.active\\:sd-7-0-0-button--tertiary--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--tertiary--active-color-text,5 21 48))}.active\\:sd-7-0-0-button--tertiary--inverted--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--tertiary--inverted--active-color-text,224 233 243))}.active\\:text-primary-400:active:not([disabled]){color:rgba(var(--sd-color-text-primary-400,153 171 208))}.disabled\\:border-neutral-500:disabled{border-color:rgba(var(--sd-color-border-neutral-500,174 174 174))}.disabled\\:sd-7-0-0-button--inverted--disabled-color-border:disabled{border-color:rgba(var(--sd-button--inverted--disabled-color-border,136 136 136))}.disabled\\:sd-7-0-0-button--secondary--disabled-color-border:disabled{border-color:rgba(var(--sd-button--secondary--disabled-color-border,174 174 174))}.disabled\\:sd-7-0-0-button--inverted--disabled-color-background:disabled{background-color:rgba(var(--sd-button--inverted--disabled-color-background,136 136 136))}.disabled\\:sd-7-0-0-button--primary--disabled-color-background:disabled{background-color:rgba(var(--sd-button--primary--disabled-color-background,174 174 174))}.disabled\\:sd-7-0-0-button--inverted--disabled-color-text:disabled{color:rgba(var(--sd-button--inverted--disabled-color-text,136 136 136))}.disabled\\:sd-7-0-0-button--secondary--disabled-color-text:disabled{color:rgba(var(--sd-button--secondary--disabled-color-text,174 174 174))}.disabled\\:sd-7-0-0-button--tertiary--disabled-color-text:disabled{color:rgba(var(--sd-button--tertiary--disabled-color-text,174 174 174))}.disabled\\:text-white:disabled{color:rgba(var(--sd-color-text-white,255 255 255))}.has-\\[button\\:hover\\]\\:border-primary-500:has(:is(button:hover)){border-color:rgba(var(--sd-color-border-primary-500,70 109 175))}.has-\\[button\\:hover\\]\\:text-primary-500:has(:is(button:hover)){color:rgba(var(--sd-color-text-primary-500,70 109 175))}@media (width >= 40rem){.sm\\:mt-2{margin-top:var(--sd-spacing-2,.5rem)}}@media (width >= 40rem){.sm\\:flex-col{flex-direction:column}}@media (width >= 40rem){.sm\\:gap-4{gap:var(--sd-spacing-4,1rem)}}@media (width >= 40rem){.sm\\:self-center{align-self:center}}@media (width >= 40rem){.sm\\:p-6{padding:var(--sd-spacing-6,1.5rem)}}@media (width >= 40rem){.sm\\:px-10{padding-inline:var(--sd-spacing-10,2.5rem)}}@media (width >= 40rem){.sm\\:py-8{padding-block:var(--sd-spacing-8,2rem)}}@media (width >= 40rem){.sm\\:pb-8{padding-bottom:var(--sd-spacing-8,2rem)}}@media (width >= 40rem){.sm\\:text-center{text-align:center}}@media (width >= 40rem){.sm\\:text-3xl{font-size:var(--sd-text-3xl,2rem);line-height:var(--tw-leading,var(--text-3xl--line-height))}}@media (width >= 40rem){.sm\\:leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}}@media (width >= 64rem){.lg\\:flex{display:flex}}@media (width >= 64rem){.lg\\:hidden{display:none}}@media (width >= 64rem){.lg\\:inline-block{display:inline-block}}@media (hover:hover){.hover\\:\\[\\@media\\(hover\\:hover\\)\\]\\:form-control--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-form-control--hover-color-background,233 233 233))}}*,::after,::backdrop,::before,::file-selector-button{box-sizing:border-box;border:0 solid}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none;margin:0;padding:0}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}::file-selector-button,button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1;margin:0;padding:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentcolor}::placeholder{color:currentcolor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.sd-interactive--reset,.sd-prose a--reset{all:unset;outline:revert}.sd-interactive,.sd-prose a{cursor:pointer;color:rgba(var(--sd-interactive--default-color-text,0 53 142));text-decoration-line:underline;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.sd-interactive:hover:not([disabled]),.sd-prose a:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-500,70 109 175))}.sd-interactive:focus-visible,.sd-prose a:focus-visible{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.sd-interactive:active:not([disabled]),.sd-prose a:active:not([disabled]){color:rgba(var(--sd-interactive--active-color-text,5 21 48))}.sd-interactive:is(.sd-interactive),.sd-prose a:is(.sd-interactive){text-decoration-line:none}.sd-interactive--disabled,.sd-interactive[disabled],.sd-interactive[href=''],.sd-prose a--disabled,.sd-prose a[disabled],.sd-prose a[href='']{cursor:not-allowed;color:rgba(var(--sd-form-control--disabled-color-text,174 174 174))}.sd-interactive--disabled:hover:not([disabled]),.sd-interactive[disabled]:hover:not([disabled]),.sd-interactive[href='']:hover:not([disabled]),.sd-prose a--disabled:hover:not([disabled]),.sd-prose a[disabled]:hover:not([disabled]),.sd-prose a[href='']:hover:not([disabled]){color:rgba(var(--sd-form-control--disabled-color-text,174 174 174))}.sd-interactive--disabled:active:not([disabled]),.sd-interactive[disabled]:active:not([disabled]),.sd-interactive[href='']:active:not([disabled]),.sd-prose a--disabled:active:not([disabled]),.sd-prose a[disabled]:active:not([disabled]),.sd-prose a[href='']:active:not([disabled]){color:rgba(var(--sd-form-control--disabled-color-text,174 174 174))}.sd-interactive--disabled.sd-interactive--inverted,.sd-interactive[disabled].sd-interactive--inverted,.sd-interactive[href=''].sd-interactive--inverted,.sd-prose a--disabled.sd-interactive--inverted,.sd-prose a[disabled].sd-interactive--inverted,.sd-prose a[href=''].sd-interactive--inverted{color:rgba(var(--sd-color-text-neutral-600,136 136 136))}.sd-interactive--disabled.sd-interactive--inverted:hover:not([disabled]),.sd-interactive[disabled].sd-interactive--inverted:hover:not([disabled]),.sd-interactive[href=''].sd-interactive--inverted:hover:not([disabled]),.sd-prose a--disabled.sd-interactive--inverted:hover:not([disabled]),.sd-prose a[disabled].sd-interactive--inverted:hover:not([disabled]),.sd-prose a[href=''].sd-interactive--inverted:hover:not([disabled]){color:rgba(var(--sd-color-text-neutral-600,136 136 136))}.sd-interactive--disabled.sd-interactive--inverted:active:not([disabled]),.sd-interactive[disabled].sd-interactive--inverted:active:not([disabled]),.sd-interactive[href=''].sd-interactive--inverted:active:not([disabled]),.sd-prose a--disabled.sd-interactive--inverted:active:not([disabled]),.sd-prose a[disabled].sd-interactive--inverted:active:not([disabled]),.sd-prose a[href=''].sd-interactive--inverted:active:not([disabled]){color:rgba(var(--sd-color-text-neutral-600,136 136 136))}.sd-interactive--inverted,.sd-prose--inverted a{color:rgba(var(--sd-color-text-white,255 255 255))}.sd-interactive--inverted:hover:not([disabled]),.sd-prose--inverted a:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-200,224 233 243))}.sd-interactive--inverted:focus-visible,.sd-prose--inverted a:focus-visible{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.sd-interactive--inverted:active:not([disabled]),.sd-prose--inverted a:active:not([disabled]){color:rgba(var(--sd-color-text-primary-400,153 171 208))}.sd-paragraph,.sd-prose p{font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height));--tw-leading:var(--leading-normal);line-height:var(--leading-normal);--tw-font-weight:var(--sd-font-weight-normal, 400);font-weight:var(--sd-font-weight-normal,400);color:rgba(var(--sd-color-text-black,24 24 24))}.sd-paragraph--size-sm,.sd-prose p--size-sm{font-size:var(--sd-text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-leading:var(--leading-normal);line-height:var(--leading-normal);--tw-font-weight:var(--sd-font-weight-normal, 400);font-weight:var(--sd-font-weight-normal,400);color:rgba(var(--sd-color-text-black,24 24 24))}.sd-paragraph--inverted,.sd-prose--inverted p{color:rgba(var(--sd-color-text-white,255 255 255))}.sd-headline,.sd-prose :is(h1, h2, h3, h4, h5){display:flex;--tw-font-weight:var(--sd-font-weight-bold, 600);font-weight:var(--sd-font-weight-bold,600);color:rgba(var(--sd-color-text-primary,0 53 142))}.sd-headline sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-7-0-0-icon{flex-shrink:0;font-size:3rem;color:rgba(var(--sd-color-text-primary,0 53 142))}@media (width >= 40rem){.sd-headline sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-7-0-0-icon{margin-top:var(--sd-spacing-2,.5rem)}}.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){gap:var(--sd-spacing-4,1rem);font-size:var(--sd-text-3xl,2rem);line-height:var(--tw-leading,var(--text-3xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);color:rgba(var(--sd-headline--3xl-onwards-color-text,0 53 142))}@media (width >= 40rem){.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){font-size:var(--sd-text-4xl,2.5rem);line-height:var(--tw-leading,var(--text-4xl--line-height))}}.sd-headline.sd-headline sd-7-0-0-icon,.sd-headline:is(h1):not(.sd-headline) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}@media (width >= 40rem){.sd-headline.sd-headline sd-7-0-0-icon,.sd-headline:is(h1):not(.sd-headline) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-7-0-0-icon{margin-top:0}}.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){gap:var(--sd-spacing-4,1rem);font-size:var(--sd-text-2xl,1.75rem);line-height:var(--tw-leading,var(--text-2xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);color:rgba(var(--sd-headline--3xl-onwards-color-text,0 53 142))}@media (width >= 40rem){.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){font-size:var(--sd-text-3xl,2rem);line-height:var(--tw-leading,var(--text-3xl--line-height))}}.sd-headline.sd-headline--size-3xl sd-7-0-0-icon,.sd-headline:is(h2):not(.sd-headline) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}@media (width >= 40rem){.sd-headline.sd-headline--size-3xl sd-7-0-0-icon,.sd-headline:is(h2):not(.sd-headline) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline.sd-headline--size-xl,.sd-headline:is(h3,h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline){gap:var(--sd-spacing-2,.5rem);color:rgba(var(--sd-color-text-black,24 24 24))}.sd-headline.sd-headline--size-base sd-7-0-0-icon,.sd-headline.sd-headline--size-lg sd-7-0-0-icon,.sd-headline.sd-headline--size-xl sd-7-0-0-icon,.sd-headline:is(h3,h4,h5):not(.sd-headline) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline) sd-7-0-0-icon{font-size:2rem}.sd-headline.sd-headline--size-xl,.sd-headline:is(h3):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline){font-size:var(--sd-text-xl,1.5rem);line-height:var(--tw-leading,var(--text-xl--line-height))}.sd-headline.sd-headline--size-xl sd-7-0-0-icon,.sd-headline:is(h3):not(.sd-headline) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-0\\.5,.125rem) * -1)}@media (width >= 40rem){.sd-headline.sd-headline--size-xl sd-7-0-0-icon,.sd-headline:is(h3):not(.sd-headline) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-0\\.5,.125rem) * -1)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline:is(h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4,h5):not(.sd-headline){--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.sd-headline.sd-headline--size-lg,.sd-headline:is(h4),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4){font-size:var(--sd-text-lg,1.25rem);line-height:var(--tw-leading,var(--text-lg--line-height))}.sd-headline.sd-headline--size-lg sd-7-0-0-icon,.sd-headline:is(h4) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-0\\.5,.125rem) * -1)}@media (width >= 40rem){.sd-headline.sd-headline--size-lg sd-7-0-0-icon,.sd-headline:is(h4) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-0\\.5,.125rem) * -1)}}.sd-headline.sd-headline--size-base,.sd-headline:is(h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline){font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height))}.sd-headline.sd-headline--size-base sd-7-0-0-icon,.sd-headline:is(h5):not(.sd-headline) sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-7-0-0-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}.sd-headline.sd-headline--size-base mark,.sd-headline:is(h5):not(.sd-headline) mark,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base mark,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) mark{color:inherit}.sd-headline--inline{display:inline-block}.sd-headline--inline.sd-headline sd-7-0-0-icon,.sd-headline--inline:is(h1):not(.sd-headline) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-2,.5rem) * -1);margin-right:var(--sd-spacing-2,.5rem);vertical-align:middle}.sd-headline--inline:is(.sd-headline--size-xl,.sd-headline--size-lg,.sd-headline--size-base) sd-7-0-0-icon{margin-right:var(--sd-spacing-0\\.5,.125rem)}.sd-headline--inline:is(.sd-headline--size-3xl,.sd-headline--size-xl) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-2,.5rem) * -1)}.sd-headline--inline:is(.sd-headline--size-lg) sd-7-0-0-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}.sd-headline--inverted:not(#_),.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#_){color:rgba(var(--sd-color-text-white,255 255 255))}.sd-headline--inverted:not(#_) sd-7-0-0-icon,.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#_) sd-7-0-0-icon{color:rgba(var(--sd-color-text-white,255 255 255))}:host{--tw-blur:initial;--tw-border-style:solid;--tw-brightness:initial;--tw-contrast:initial;--tw-divide-y-reverse:0;--tw-drop-shadow:initial;--tw-duration:initial;--tw-ease:initial;--tw-font-weight:initial;--tw-gradient-from-position:0%;--tw-gradient-from:#0000;--tw-gradient-position:initial;--tw-gradient-stops:initial;--tw-gradient-to-position:100%;--tw-gradient-to:#0000;--tw-gradient-via-position:50%;--tw-gradient-via-stops:initial;--tw-gradient-via:#0000;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow:0 0 #0000;--tw-invert:initial;--tw-opacity:initial;--tw-ring-color:initial;--tw-ring-inset:initial;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-offset-width:0px;--tw-ring-shadow:0 0 #0000;--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-saturate:initial;--tw-sepia:initial;--tw-shadow-color:initial;--tw-shadow:0 0 #0000;--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--tw-space-x-reverse:0;--tw-tracking:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;box-sizing:border-box}:host *,:host ::after,:host ::before{box-sizing:inherit}[hidden]{display:none!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-scroll-snap-strictness{syntax:"*";inherits:false;initial-value:proximity}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}}@keyframes bounce-once{0%{transform:translateY(0)}50%{transform:translateY(-18px)}100%{transform:translateY(0)}}@keyframes grow{0%{width:0%}100%{width:100%}}@keyframes loader-color-current{0%,100%{color:currentColor}50%{color:currentColor;opacity:20%}}@keyframes loader-color-primary{0%,100%{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary,0 53 142))))}50%{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary,0 53 142))));opacity:20%}}@keyframes loader-color-white{0%,100%{color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white,255 255 255))))}50%{color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white,255 255 255))));opacity:20%}}@keyframes wave{0%,100%,40%{transform:initial}20%{transform:translateY(-4px)}}`],o([d()],f.prototype,"dir",2),o([d()],f.prototype,"lang",2);var ss,It=class extends f{constructor(){super(...arguments);this.svg="";this.label="";this.library="default";this.color="currentColor"}connectedCallback(){super.connectedCallback(),ho(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),uo(this)}onThemeChange(){this.setIcon()}getUrl(){let t=Ji(this.library);return this.name&&t?t.name==="_internal"||t.name==="sd-multi-theming"?t.resolver(this.name,this):t.resolver(this.name):this.src}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var i;let t=Ji(this.library),e=this.getUrl();if(ss||(ss=new DOMParser),e)try{let a=await fo(e);if(e===this.getUrl())if(a.ok){let l=ss.parseFromString(a.svg,"text/html").body.querySelector("svg");l!==null?((i=t==null?void 0:t.mutator)==null||i.call(t,l),this.svg=l.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch(a){this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return p`<sd-7-0-0-theme-listener></sd-7-0-0-theme-listener>${bi(this.svg)}`}};It.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
154
|
-
:host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:rgba(var(--sd-color-icon-fill-primary,var(--sd-color-primary)))}:host([name^='content/'][color=primary]) svg{color:rgba(var(--sd-color-icon-fill-content-icons-primary,var(--sd-color-primary)))}:host([color=white]) svg{color:rgba(var(--sd-color-text-white,255 255 255))}`],o([L()],It.prototype,"svg",2),o([d({reflect:!0})],It.prototype,"name",2),o([d()],It.prototype,"src",2),o([d()],It.prototype,"label",2),o([d({reflect:!0})],It.prototype,"library",2),o([d({reflect:!0})],It.prototype,"color",2),o([
|
|
155
|
-
take care to ensure page security.`)})(e)+s[i+1],s[0]),r:yo}),vo=new Map,os=s=>(r,...t)=>{let e=t.length,i,a,n=[],l=[],h,u=0,m=!1;for(;u<e;){for(h=r[u];u<e&&(a=t[u],(i=nn(a))!==void 0);)h+=i+r[++u],m=!0;u!==e&&l.push(a),n.push(h),u++}if(u===e&&n.push(r[e]),m){let b=n.join("$$lit$$");(r=vo.get(b))===void 0&&(n.raw=n,vo.set(b,r=n)),t=l}return s(r,...t)},q=os(p),Eh=os(Xs),Th=os(Zs);var as=new Set,mr=new Map,er,ns="ltr",ls="en",wo=typeof MutationObserver!="undefined"&&typeof document!="undefined"&&typeof document.documentElement!="undefined";if(wo){let s=new MutationObserver(xo);ns=document.documentElement.dir||"ltr",ls=document.documentElement.lang||navigator.language,s.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}function yi(...s){s.map(r=>{let t=r.$code.toLowerCase();mr.has(t)?mr.set(t,Object.assign(Object.assign({},mr.get(t)),r)):mr.set(t,r),er||(er=r)}),xo()}function xo(){wo&&(ns=document.documentElement.dir||"ltr",ls=document.documentElement.lang||navigator.language),[...as.keys()].map(s=>{typeof s.requestUpdate=="function"&&s.requestUpdate()})}var vi=class{constructor(r){this.host=r,this.host.addController(this)}hostConnected(){as.add(this.host)}hostDisconnected(){as.delete(this.host)}dir(){return`${this.host.dir||ns}`.toLowerCase()}lang(){return`${this.host.lang||ls}`.toLowerCase()}getTranslationData(r){var t,e;let i;try{i=new Intl.Locale(r.replace(/_/g,"-"))}catch(u){return{locale:void 0,language:"",region:"",primary:void 0,secondary:void 0}}let a=i.language.toLowerCase(),n=(e=(t=i.region)===null||t===void 0?void 0:t.toLowerCase())!==null&&e!==void 0?e:"",l=mr.get(`${a}-${n}`),h=mr.get(a);return{locale:i,language:a,region:n,primary:l,secondary:h}}exists(r,t){var e;let{primary:i,secondary:a}=this.getTranslationData((e=t.lang)!==null&&e!==void 0?e:this.lang());return t=Object.assign({includeFallback:!1},t),!!(i&&i[r]||a&&a[r]||t.includeFallback&&er&&er[r])}term(r,...t){let{primary:e,secondary:i}=this.getTranslationData(this.lang()),a;if(e&&e[r])a=e[r];else if(i&&i[r])a=i[r];else if(er&&er[r])a=er[r];else return console.error(`No translation found for: ${String(r)}`),String(r);return typeof a=="function"?a(...t):a}date(r,t){return r=new Date(r),new Intl.DateTimeFormat(this.lang(),t).format(r)}number(r,t){return r=Number(r),isNaN(r)?"":new Intl.NumberFormat(this.lang(),t).format(r)}relativeTime(r,t,e){return new Intl.RelativeTimeFormat(this.lang(),e).format(r,t)}};var ln={$code:"de",$name:"Deutsch",$dir:"ltr",audioPlayer:"Audio-Player",autoplay:"Autoplay",carousel:"Karussell",carouselContainer:s=>`Karussell hat ${s} folien`,clearEntry:"Eingabe l\xF6schen",close:"Schlie\xDFen",collapseNavigationItem:"Navigationspunkt reduzieren",comboboxDefaultPlaceholder:"Bitte suchen und ausw\xE4hlen",copy:"Kopieren",currentValue:"Aktueller Wert",datePicker:"Datumsauswahl",datePickerInfo:"Pfeiltasten zum Navigieren verwenden, Enter zum Ausw\xE4hlen. Bild-auf/Bild-ab \xE4ndert den Monat. Shift+Bild-auf/Bild-ab \xE4ndert das Jahr",datePickerRange:"Datumsbereichsauswahl",datePlaceholder:"Datum ausw\xE4hlen",dateRangePlaceholder:"Datumsbereich ausw\xE4hlen",endDateSelected:"Enddatum ausgew\xE4hlt",expandNavigationItem:"Navigationspunkt erweitern",fileButtonText:"Datei ausw\xE4hlen",fileButtonTextMultiple:"Dateien ausw\xE4hlen",fileDragDrop:"Datei ablegen oder ausw\xE4hlen",fileDragDropMultiple:"Dateien ablegen oder ausw\xE4hlen",folderButtonText:"Ordner ausw\xE4hlen",folderDragDrop:"Ordner hierher ziehen oder klicken, um zu suchen",goToSlide:(s,r)=>`Zu Folie ${s} von ${r} gehen`,hidePassword:"Passwort verbergen",invalidDate:"Ung\xFCltiges Datum",loading:"Wird geladen",maximum:"H\xF6chstwert",minimum:"Minimum",mute:"Stummschalten",nextMonth:"N\xE4chster Monat",nextSlide:"N\xE4chste Folie",nextYear:"N\xE4chstes Jahr",noResults:"Keine Ergebnisse gefunden",notifications:"Benachrichtigungen",numFilesSelected:(s,r,t)=>s===0?r?t?"Keine Ordner ausgew\xE4hlt":"Kein Ordner ausgew\xE4hlt":t?"Keine Dateien ausgew\xE4hlt":"Keine Datei ausgew\xE4hlt":r?`${s} Ordner ausgew\xE4hlt`:`${s} Datei${s===1?"":"en"} ausgew\xE4hlt`,numOptionsSelected:s=>s===0?"":`Optionen ausgew\xE4hlt (${s})`,open:"\xD6ffnen",openTranscript:"Transkript \xF6ffnen",optionGroup:"Optionsgruppe",pauseAudio:"Audio pausieren",playAudio:"Audio abspielen",playbackSpeed:"Wiedergabe Geschwindigkeit",playVideo:"Video abspielen",previousMonth:"Vorheriger Monat",previousSlide:"Vorherige Folie",previousYear:"Vorheriges Jahr",progress:"Fortschritt",remove:"Entfernen",removed:s=>`${s} entfernt`,resize:"Gr\xF6\xDFe \xE4ndern",scrolled:"Gescrollt",scrollToEnd:"Zum Ende scrollen",scrollToStart:"Zum Anfang scrollen",search:"Suchen",seconds:s=>`${s} Sekunden`,seekBar:"Schieberegler f\xFCr Suche",selectAColorFromTheScreen:"Farbe vom Bildschirm ausw\xE4hlen",selectDefaultPlaceholder:"Bitte ausw\xE4hlen",selected:"Ausgew\xE4hlt",selectionCleared:"Auswahl gel\xF6scht",showLess:"Weniger anzeigen",showMore:"Mehr anzeigen",showPassword:"Passwort anzeigen",slideNum:(s,r)=>`Folie ${s} von ${r}`,startAutoplay:"Automatische Wiedergabe starten",startDateSelected:"Startdatum ausgew\xE4hlt",stopAutoplay:"Automatische Wiedergabe stoppen",tagsSelected:"Optionen ausgew\xE4hlt",toggleColorFormat:"Farbformat umschalten",transcriptIsOpen:"Transkript ist offen",truncatedBreadcrumbs:"Verk\xFCrzter Navigationspfad",unmute:"Unmute"};yi(ln);var dn={$code:"en",$name:"English",$dir:"ltr",audioPlayer:"Audio Player",autoplay:"Autoplay",carousel:"Carousel",carouselContainer:s=>`Carousel has ${s} slides`,clearEntry:"Clear entry",close:"Close",collapseNavigationItem:"Collapse navigation item",comboboxDefaultPlaceholder:"Please search and select",copy:"Copy",currentValue:"Current value",datePicker:"Date picker",datePickerInfo:"Use arrow keys to navigate, Enter to select. Page Up/Down changes month. Shift+Page Up/Down changes year",datePickerRange:"Date range picker",datePlaceholder:"Select date",dateRangePlaceholder:"Select date range",endDateSelected:"End date selected",expandNavigationItem:"Expand navigation item",fileButtonText:"Select file",fileButtonTextMultiple:"Select files",fileDragDrop:"Drop or select file",fileDragDropMultiple:"Drop or select files",folderButtonText:"Select folder",folderDragDrop:"Drop or select folder",goToSlide:(s,r)=>`Go to slide ${s} of ${r}`,hidePassword:"Hide password",invalidDate:"Invalid date",loading:"Loading",maximum:"Maximum",minimum:"Minimum",mute:"Mute",nextMonth:"Next month",nextSlide:"Next slide",nextYear:"Next year",noResults:"No results found",notifications:"Notifications",numFilesSelected:(s,r,t)=>s===0?r?t?"No folders selected":"No folder selected":t?"No files selected":"No file selected":r?`${s} folder${s===1?"":"s"} selected`:`${s} files selected`,numOptionsSelected:s=>s===0?"":`Options selected (${s})`,open:"Open",openTranscript:"Open transcript",optionGroup:"Option Group",pauseAudio:"Pause Audio",playAudio:"Play Audio",playbackSpeed:"Playback Speed",playVideo:"Play Video",previousMonth:"Previous month",previousSlide:"Previous slide",previousYear:"Previous year",progress:"Progress",remove:"Remove",removed:s=>`${s} removed`,resize:"Resize",scrolled:"Scrolled",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",search:"Search",seconds:s=>`${s} seconds`,seekBar:"Seek bar",selectAColorFromTheScreen:"Select a color from the screen",selectDefaultPlaceholder:"Please select",selected:"Selected",selectionCleared:"Selection cleared",showLess:"Show less",showMore:"Show more",showPassword:"Show password",slideNum:(s,r)=>`Slide ${s} of ${r}`,startAutoplay:"Start Automatic Playback",startDateSelected:"Start date selected",stopAutoplay:"Stop Automatic Playback",tagsSelected:"Options selected",toggleColorFormat:"Toggle color format",transcriptIsOpen:"Transcript is open",truncatedBreadcrumbs:"Truncated breadcrumbs",unmute:"Unmute"};yi(dn);var D=class extends vi{constructor(t){super(t);this._instanceTranslations=null}get instanceTranslations(){return this._instanceTranslations}set instanceTranslations(t){this._instanceTranslations=t,this.host.requestUpdate()}hostConnected(){super.hostConnected(),this.setCustomLocalizationFromData(),new MutationObserver(()=>this.setCustomLocalizationFromData()).observe(this.host,{attributes:!0,attributeFilter:["data-custom-localization"]})}hostDisconnected(){super.hostDisconnected()}setCustomLocalizationFromData(){let t=this.host.dataset.customLocalization;if(t)try{this.setCustomLocalization(JSON.parse(t))}catch(e){console.error("Error parsing custom-localization attribute:",e)}}term(t,...e){var a;let i=(a=this.instanceTranslations)==null?void 0:a[t];return i?typeof i=="function"?i(...e):i:super.term(t,...e)}setCustomLocalization(t){this.instanceTranslations=K(K({},this.instanceTranslations),t)}};function Q(s,r){return new Promise(t=>{function e(i){i.target===s&&(s.removeEventListener(r,e),t())}s.addEventListener(r,e)})}function c(){let s,r="",t=0;for(;t<arguments.length;)(s=arguments[t++])&&typeof s=="string"&&(r&&(r+=" "),r+=s);return r}var Pt=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(t=>{for(let e of t)e.type==="attributes"&&e.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.accordionObserver)==null||t.disconnect()}handleSummaryClick(t){t.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.open?this.hide():this.show()),(t.key==="ArrowUp"||t.key==="ArrowLeft")&&(t.preventDefault(),this.hide()),(t.key==="ArrowDown"||t.key==="ArrowRight")&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await et(this.body),this.body.hidden=!1;let{keyframes:e,options:i}=j(this,"accordion.show",{dir:this.localize.dir()});await W(this.body,ke(e,this.body.scrollHeight),i),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await et(this.body);let{keyframes:e,options:i}=j(this,"accordion.hide",{dir:this.localize.dir()});await W(this.body,ke(e,this.body.scrollHeight),i),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,Q(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Q(this,"sd-after-hide")}render(){return q`<details part="base"><summary part="header" id="header" class="${c("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-7-0-0-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 relative group transition-colors ease-in-out duration-fast hover:sd-7-0-0-accordion--hover-color-background")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${c(!this.open&&"opacity-0","w-1 sd-7-0-0-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="${c(this.open?"sd-7-0-0-accordion--open-color-text":"sd-7-0-0-accordion-color-text","flex flex-auto items-center text-left")}">${this.summary}</slot><span part="summary-icon" class="${c("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${c(this.open&&"hidden")}"><sd-7-0-0-icon library="_internal" name="chevron-bottom"></sd-7-0-0-icon></slot><slot name="collapse-icon" class="${c(!this.open&&"hidden")}"><sd-7-0-0-icon library="_internal" name="chevron-bottom"></sd-7-0-0-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};Pt.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
156
|
-
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-color:rgba(var(--sd-accordion-color-border,var(--sd-accordion-color-text)));border-block-width:var(--sd-accordion-border-width)}[part=summary-icon] sd-7-0-
|
|
157
|
-
:host{display:block}::slotted(sd-7-0-0-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],o([ur({selector:"sd-7-0-0-accordion"})],Ce.prototype,"_accordionsInDefaultSlot",2),o([d({attribute:"close-others",type:Boolean,reflect:!0})],Ce.prototype,"closeOthers",2),Ce=o([C("sd-7-0-0-accordion-group")],Ce);var Hr={};Aa(Hr,{backInDown:()=>Cn,backInLeft:()=>$n,backInRight:()=>En,backInUp:()=>Tn,backOutDown:()=>Ln,backOutLeft:()=>zn,backOutRight:()=>Mn,backOutUp:()=>Sn,bounce:()=>cn,bounceIn:()=>Dn,bounceInDown:()=>_n,bounceInLeft:()=>An,bounceInRight:()=>On,bounceInUp:()=>In,bounceOut:()=>Pn,bounceOutDown:()=>Vn,bounceOutLeft:()=>Hn,bounceOutRight:()=>Fn,bounceOutUp:()=>Rn,easings:()=>ds,fadeIn:()=>Bn,fadeInBottomLeft:()=>Nn,fadeInBottomRight:()=>Un,fadeInDown:()=>qn,fadeInDownBig:()=>Kn,fadeInLeft:()=>jn,fadeInLeftBig:()=>Wn,fadeInRight:()=>Yn,fadeInRightBig:()=>Xn,fadeInTopLeft:()=>Zn,fadeInTopRight:()=>Gn,fadeInUp:()=>Qn,fadeInUpBig:()=>Jn,fadeOut:()=>tl,fadeOutBottomLeft:()=>el,fadeOutBottomRight:()=>rl,fadeOutDown:()=>il,fadeOutDownBig:()=>sl,fadeOutLeft:()=>ol,fadeOutLeftBig:()=>al,fadeOutRight:()=>nl,fadeOutRightBig:()=>ll,fadeOutTopLeft:()=>dl,fadeOutTopRight:()=>cl,fadeOutUp:()=>hl,fadeOutUpBig:()=>ul,flash:()=>hn,flip:()=>pl,flipInX:()=>ml,flipInY:()=>fl,flipOutX:()=>bl,flipOutY:()=>gl,headShake:()=>un,heartBeat:()=>pn,hinge:()=>Rl,jackInTheBox:()=>Bl,jello:()=>mn,lightSpeedInLeft:()=>vl,lightSpeedInRight:()=>yl,lightSpeedOutLeft:()=>wl,lightSpeedOutRight:()=>xl,pulse:()=>fn,rollIn:()=>Nl,rollOut:()=>Ul,rotateIn:()=>kl,rotateInDownLeft:()=>Cl,rotateInDownRight:()=>$l,rotateInUpLeft:()=>El,rotateInUpRight:()=>Tl,rotateOut:()=>Ll,rotateOutDownLeft:()=>zl,rotateOutDownRight:()=>Ml,rotateOutUpLeft:()=>Sl,rotateOutUpRight:()=>Dl,rubberBand:()=>bn,shake:()=>gn,shakeX:()=>vn,shakeY:()=>yn,slideInDown:()=>_l,slideInLeft:()=>Al,slideInRight:()=>Ol,slideInUp:()=>Il,slideOutDown:()=>Pl,slideOutLeft:()=>Vl,slideOutRight:()=>Hl,slideOutUp:()=>Fl,swing:()=>wn,tada:()=>xn,wobble:()=>kn,zoomIn:()=>ql,zoomInDown:()=>Kl,zoomInLeft:()=>jl,zoomInRight:()=>Wl,zoomInUp:()=>Yl,zoomOut:()=>Xl,zoomOutDown:()=>Zl,zoomOutLeft:()=>Gl,zoomOutRight:()=>Ql,zoomOutUp:()=>Jl});var cn=[{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0)"},{offset:.2,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0)"},{offset:.4,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",transform:"translate3d(0, -30px, 0) scaleY(1.1)"},{offset:.43,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",transform:"translate3d(0, -30px, 0) scaleY(1.1)"},{offset:.53,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0)"},{offset:.7,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",transform:"translate3d(0, -15px, 0) scaleY(1.05)"},{offset:.8,"transition-timing-function":"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0) scaleY(0.95)"},{offset:.9,transform:"translate3d(0, -4px, 0) scaleY(1.02)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0)"}];var hn=[{offset:0,opacity:"1"},{offset:.25,opacity:"0"},{offset:.5,opacity:"1"},{offset:.75,opacity:"0"},{offset:1,opacity:"1"}];var un=[{offset:0,transform:"translateX(0)"},{offset:.065,transform:"translateX(-6px) rotateY(-9deg)"},{offset:.185,transform:"translateX(5px) rotateY(7deg)"},{offset:.315,transform:"translateX(-3px) rotateY(-5deg)"},{offset:.435,transform:"translateX(2px) rotateY(3deg)"},{offset:.5,transform:"translateX(0)"}];var pn=[{offset:0,transform:"scale(1)"},{offset:.14,transform:"scale(1.3)"},{offset:.28,transform:"scale(1)"},{offset:.42,transform:"scale(1.3)"},{offset:.7,transform:"scale(1)"}];var mn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.111,transform:"translate3d(0, 0, 0)"},{offset:.222,transform:"skewX(-12.5deg) skewY(-12.5deg)"},{offset:.33299999999999996,transform:"skewX(6.25deg) skewY(6.25deg)"},{offset:.444,transform:"skewX(-3.125deg) skewY(-3.125deg)"},{offset:.555,transform:"skewX(1.5625deg) skewY(1.5625deg)"},{offset:.6659999999999999,transform:"skewX(-0.78125deg) skewY(-0.78125deg)"},{offset:.777,transform:"skewX(0.390625deg) skewY(0.390625deg)"},{offset:.888,transform:"skewX(-0.1953125deg) skewY(-0.1953125deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var fn=[{offset:0,transform:"scale3d(1, 1, 1)"},{offset:.5,transform:"scale3d(1.05, 1.05, 1.05)"},{offset:1,transform:"scale3d(1, 1, 1)"}];var bn=[{offset:0,transform:"scale3d(1, 1, 1)"},{offset:.3,transform:"scale3d(1.25, 0.75, 1)"},{offset:.4,transform:"scale3d(0.75, 1.25, 1)"},{offset:.5,transform:"scale3d(1.15, 0.85, 1)"},{offset:.65,transform:"scale3d(0.95, 1.05, 1)"},{offset:.75,transform:"scale3d(1.05, 0.95, 1)"},{offset:1,transform:"scale3d(1, 1, 1)"}];var gn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.1,transform:"translate3d(-10px, 0, 0)"},{offset:.2,transform:"translate3d(10px, 0, 0)"},{offset:.3,transform:"translate3d(-10px, 0, 0)"},{offset:.4,transform:"translate3d(10px, 0, 0)"},{offset:.5,transform:"translate3d(-10px, 0, 0)"},{offset:.6,transform:"translate3d(10px, 0, 0)"},{offset:.7,transform:"translate3d(-10px, 0, 0)"},{offset:.8,transform:"translate3d(10px, 0, 0)"},{offset:.9,transform:"translate3d(-10px, 0, 0)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var vn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.1,transform:"translate3d(-10px, 0, 0)"},{offset:.2,transform:"translate3d(10px, 0, 0)"},{offset:.3,transform:"translate3d(-10px, 0, 0)"},{offset:.4,transform:"translate3d(10px, 0, 0)"},{offset:.5,transform:"translate3d(-10px, 0, 0)"},{offset:.6,transform:"translate3d(10px, 0, 0)"},{offset:.7,transform:"translate3d(-10px, 0, 0)"},{offset:.8,transform:"translate3d(10px, 0, 0)"},{offset:.9,transform:"translate3d(-10px, 0, 0)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var yn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.1,transform:"translate3d(0, -10px, 0)"},{offset:.2,transform:"translate3d(0, 10px, 0)"},{offset:.3,transform:"translate3d(0, -10px, 0)"},{offset:.4,transform:"translate3d(0, 10px, 0)"},{offset:.5,transform:"translate3d(0, -10px, 0)"},{offset:.6,transform:"translate3d(0, 10px, 0)"},{offset:.7,transform:"translate3d(0, -10px, 0)"},{offset:.8,transform:"translate3d(0, 10px, 0)"},{offset:.9,transform:"translate3d(0, -10px, 0)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var wn=[{offset:.2,transform:"rotate3d(0, 0, 1, 15deg)"},{offset:.4,transform:"rotate3d(0, 0, 1, -10deg)"},{offset:.6,transform:"rotate3d(0, 0, 1, 5deg)"},{offset:.8,transform:"rotate3d(0, 0, 1, -5deg)"},{offset:1,transform:"rotate3d(0, 0, 1, 0deg)"}];var xn=[{offset:0,transform:"scale3d(1, 1, 1)"},{offset:.1,transform:"scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)"},{offset:.2,transform:"scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)"},{offset:.3,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:.4,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)"},{offset:.5,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:.6,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)"},{offset:.7,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:.8,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)"},{offset:.9,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:1,transform:"scale3d(1, 1, 1)"}];var kn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.15,transform:"translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg)"},{offset:.3,transform:"translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg)"},{offset:.45,transform:"translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg)"},{offset:.6,transform:"translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg)"},{offset:.75,transform:"translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Cn=[{offset:0,transform:"translateY(-1200px) scale(0.7)",opacity:"0.7"},{offset:.8,transform:"translateY(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"scale(1)",opacity:"1"}];var $n=[{offset:0,transform:"translateX(-2000px) scale(0.7)",opacity:"0.7"},{offset:.8,transform:"translateX(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"scale(1)",opacity:"1"}];var En=[{offset:0,transform:"translateX(2000px) scale(0.7)",opacity:"0.7"},{offset:.8,transform:"translateX(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"scale(1)",opacity:"1"}];var Tn=[{offset:0,transform:"translateY(1200px) scale(0.7)",opacity:"0.7"},{offset:.8,transform:"translateY(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"scale(1)",opacity:"1"}];var Ln=[{offset:0,transform:"scale(1)",opacity:"1"},{offset:.2,transform:"translateY(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"translateY(700px) scale(0.7)",opacity:"0.7"}];var zn=[{offset:0,transform:"scale(1)",opacity:"1"},{offset:.2,transform:"translateX(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"translateX(-2000px) scale(0.7)",opacity:"0.7"}];var Mn=[{offset:0,transform:"scale(1)",opacity:"1"},{offset:.2,transform:"translateX(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"translateX(2000px) scale(0.7)",opacity:"0.7"}];var Sn=[{offset:0,transform:"scale(1)",opacity:"1"},{offset:.2,transform:"translateY(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"translateY(-700px) scale(0.7)",opacity:"0.7"}];var Dn=[{offset:0,opacity:"0",transform:"scale3d(0.3, 0.3, 0.3)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.2,transform:"scale3d(1.1, 1.1, 1.1)"},{offset:.2,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.4,transform:"scale3d(0.9, 0.9, 0.9)"},{offset:.4,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"scale3d(1.03, 1.03, 1.03)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.8,transform:"scale3d(0.97, 0.97, 0.97)"},{offset:.8,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,opacity:"1",transform:"scale3d(1, 1, 1)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var _n=[{offset:0,opacity:"0",transform:"translate3d(0, -3000px, 0) scaleY(3)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"translate3d(0, 25px, 0) scaleY(0.9)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.75,transform:"translate3d(0, -10px, 0) scaleY(0.95)"},{offset:.75,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.9,transform:"translate3d(0, 5px, 0) scaleY(0.985)"},{offset:.9,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,transform:"translate3d(0, 0, 0)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var An=[{offset:0,opacity:"0",transform:"translate3d(-3000px, 0, 0) scaleX(3)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"translate3d(25px, 0, 0) scaleX(1)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.75,transform:"translate3d(-10px, 0, 0) scaleX(0.98)"},{offset:.75,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.9,transform:"translate3d(5px, 0, 0) scaleX(0.995)"},{offset:.9,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,transform:"translate3d(0, 0, 0)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var On=[{offset:0,opacity:"0",transform:"translate3d(3000px, 0, 0) scaleX(3)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"translate3d(-25px, 0, 0) scaleX(1)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.75,transform:"translate3d(10px, 0, 0) scaleX(0.98)"},{offset:.75,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.9,transform:"translate3d(-5px, 0, 0) scaleX(0.995)"},{offset:.9,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,transform:"translate3d(0, 0, 0)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var In=[{offset:0,opacity:"0",transform:"translate3d(0, 3000px, 0) scaleY(5)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"translate3d(0, -20px, 0) scaleY(0.9)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.75,transform:"translate3d(0, 10px, 0) scaleY(0.95)"},{offset:.75,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.9,transform:"translate3d(0, -5px, 0) scaleY(0.985)"},{offset:.9,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,transform:"translate3d(0, 0, 0)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var Pn=[{offset:.2,transform:"scale3d(0.9, 0.9, 0.9)"},{offset:.5,opacity:"1",transform:"scale3d(1.1, 1.1, 1.1)"},{offset:.55,opacity:"1",transform:"scale3d(1.1, 1.1, 1.1)"},{offset:1,opacity:"0",transform:"scale3d(0.3, 0.3, 0.3)"}];var Vn=[{offset:.2,transform:"translate3d(0, 10px, 0) scaleY(0.985)"},{offset:.4,opacity:"1",transform:"translate3d(0, -20px, 0) scaleY(0.9)"},{offset:.45,opacity:"1",transform:"translate3d(0, -20px, 0) scaleY(0.9)"},{offset:1,opacity:"0",transform:"translate3d(0, 2000px, 0) scaleY(3)"}];var Hn=[{offset:.2,opacity:"1",transform:"translate3d(20px, 0, 0) scaleX(0.9)"},{offset:1,opacity:"0",transform:"translate3d(-2000px, 0, 0) scaleX(2)"}];var Fn=[{offset:.2,opacity:"1",transform:"translate3d(-20px, 0, 0) scaleX(0.9)"},{offset:1,opacity:"0",transform:"translate3d(2000px, 0, 0) scaleX(2)"}];var Rn=[{offset:.2,transform:"translate3d(0, -10px, 0) scaleY(0.985)"},{offset:.4,opacity:"1",transform:"translate3d(0, 20px, 0) scaleY(0.9)"},{offset:.45,opacity:"1",transform:"translate3d(0, 20px, 0) scaleY(0.9)"},{offset:1,opacity:"0",transform:"translate3d(0, -2000px, 0) scaleY(3)"}];var Bn=[{offset:0,opacity:"0"},{offset:1,opacity:"1"}];var Nn=[{offset:0,opacity:"0",transform:"translate3d(-100%, 100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Un=[{offset:0,opacity:"0",transform:"translate3d(100%, 100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var qn=[{offset:0,opacity:"0",transform:"translate3d(0, -100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Kn=[{offset:0,opacity:"0",transform:"translate3d(0, -2000px, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var jn=[{offset:0,opacity:"0",transform:"translate3d(-100%, 0, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Wn=[{offset:0,opacity:"0",transform:"translate3d(-2000px, 0, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Yn=[{offset:0,opacity:"0",transform:"translate3d(100%, 0, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Xn=[{offset:0,opacity:"0",transform:"translate3d(2000px, 0, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Zn=[{offset:0,opacity:"0",transform:"translate3d(-100%, -100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Gn=[{offset:0,opacity:"0",transform:"translate3d(100%, -100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Qn=[{offset:0,opacity:"0",transform:"translate3d(0, 100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Jn=[{offset:0,opacity:"0",transform:"translate3d(0, 2000px, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var tl=[{offset:0,opacity:"1"},{offset:1,opacity:"0"}];var el=[{offset:0,opacity:"1",transform:"translate3d(0, 0, 0)"},{offset:1,opacity:"0",transform:"translate3d(-100%, 100%, 0)"}];var rl=[{offset:0,opacity:"1",transform:"translate3d(0, 0, 0)"},{offset:1,opacity:"0",transform:"translate3d(100%, 100%, 0)"}];var il=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(0, 100%, 0)"}];var sl=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(0, 2000px, 0)"}];var ol=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(-100%, 0, 0)"}];var al=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(-2000px, 0, 0)"}];var nl=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(100%, 0, 0)"}];var ll=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(2000px, 0, 0)"}];var dl=[{offset:0,opacity:"1",transform:"translate3d(0, 0, 0)"},{offset:1,opacity:"0",transform:"translate3d(-100%, -100%, 0)"}];var cl=[{offset:0,opacity:"1",transform:"translate3d(0, 0, 0)"},{offset:1,opacity:"0",transform:"translate3d(100%, -100%, 0)"}];var hl=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(0, -100%, 0)"}];var ul=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(0, -2000px, 0)"}];var pl=[{offset:0,transform:"perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg)",easing:"ease-out"},{offset:.4,transform:`perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
|
|
152
|
+
`},no=Object.fromEntries(Object.entries(Xa).sort(([s],[r])=>s.localeCompare(r))),Za={name:"sd-status-assets",resolver:s=>s in no?`data:image/svg+xml,${encodeURIComponent(no[s])}`:"",mutator:s=>s.setAttribute("fill","currentColor")},lo=Za;var Ga={bb:"bbbank",kid:"kidstarter",sp:"sparda","ui-dark":"union-investment","ui-light":"union-investment",vb:"vb"};function Qa(s){if(s){let r=getComputedStyle(s).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");return Ga[r]}return null}var Ja={name:"sd-multi-theming",resolver:(s,r)=>{let t=Qa(r);if(!t)return"";let e=s.split("/"),i=`${t}/${s}`;return(e[0]==="content"||e[0]==="system")&&(s=i),`https://celum-icons.fe.union-investment.de/${s}.svg`},mutator:s=>{let r={currentColorFills:[],currentColorStrokes:[],greenFills:[],greenStrokes:[]},t=["#00358e","#002d67","#005ca9","#005AAA","#051530"],e=["#2d9d00","#f35e01"];return r.currentColorFills=s.querySelectorAll(t.map(i=>`[fill="${i}" i]`).join(", ")),r.currentColorStrokes=s.querySelectorAll(t.map(i=>`[stroke="${i}" i]`).join(", ")),r.greenFills=s.querySelectorAll(e.map(i=>`[fill="${i}" i]`).join(", ")),r.greenStrokes=s.querySelectorAll(e.map(i=>`[stroke="${i}" i]`).join(", ")),r.currentColorFills.forEach(i=>{i.setAttribute("fill","currentColor")}),r.currentColorStrokes.forEach(i=>{i.setAttribute("stroke","currentColor")}),r.greenFills.forEach(i=>{i.setAttribute("fill","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),r.greenStrokes.forEach(i=>{i.setAttribute("stroke","rgb(var(--sd-color-icon-fill-accent, 45 157 0))")}),s}},co=Ja;var ui=[ao,io,lo,co],pi=[];function ho(s){pi.push(s)}function uo(s){pi=pi.filter(r=>r!==s)}function Ji(s){return ui.find(r=>r.name===s)}function tn(s,r){po(s),ui.push({name:s,resolver:r.resolver,mutator:r.mutator}),pi.forEach(t=>{t.library===s&&t.setIcon()})}function po(s){ui=ui.filter(r=>r.name!==s)}var en={attribute:!0,type:String,converter:Ae,reflect:!1,hasChanged:oi},rn=(s=en,r,t)=>{let{kind:e,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),e==="setter"&&((s=Object.create(s)).wrapped=!0),a.set(t.name,s),e==="accessor"){let{name:n}=t;return{set(l){let h=r.get.call(this);r.set.call(this,l),this.requestUpdate(n,h,s,!0,l)},init(l){return l!==void 0&&this.C(n,void 0,s,l),l}}}if(e==="setter"){let{name:n}=t;return function(l){let h=this[n];r.call(this,l),this.requestUpdate(n,h,s,!0,l)}}throw Error("Unsupported decorator location: "+e)};function d(s){return(r,t)=>typeof t=="object"?rn(s,r,t):((e,i,a)=>{let n=i.hasOwnProperty(a);return i.constructor.createProperty(a,e),n?Object.getOwnPropertyDescriptor(i,a):void 0})(s,r,t)}function L(s){return d(xt(K({},s),{state:!0,attribute:!1}))}var ce=(s,r,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof r!="object"&&Object.defineProperty(s,r,t),t);function g(s,r){return(t,e,i)=>{let a=n=>{var l,h;return(h=(l=n.renderRoot)==null?void 0:l.querySelector(s))!=null?h:null};if(r){let{get:n,set:l}=typeof e=="object"?t:i!=null?i:(()=>{let h=Symbol();return{get(){return this[h]},set(u){this[h]=u}}})();return ce(t,e,{get(){let h=n.call(this);return h===void 0&&(h=a(this),(h!==null||this.hasUpdated)&&l.call(this,h)),h}})}return ce(t,e,{get(){return a(this)}})}}var ts;function mi(s){return(r,t)=>ce(r,t,{get(){var e;return((e=this.renderRoot)!=null?e:ts!=null?ts:ts=document.createDocumentFragment()).querySelectorAll(s)}})}function mo(s){return(r,t)=>ce(r,t,{async get(){var e,i;return await this.updateComplete,(i=(e=this.renderRoot)==null?void 0:e.querySelector(s))!=null?i:null}})}function ur(s){return(r,t)=>{let{slot:e,selector:i}=s!=null?s:{},a="slot"+(e?`[name=${e}]`:":not([name])");return ce(r,t,{get(){var h,u;let n=(h=this.renderRoot)==null?void 0:h.querySelector(a),l=(u=n==null?void 0:n.assignedElements(s))!=null?u:[];return i===void 0?l:l.filter(m=>m.matches(i))}})}}var es=new Map;function fi(s,r="cors"){if(es.has(s))return es.get(s);let t=fetch(s,{mode:r}).then(async e=>({ok:e.ok,status:e.status,html:await e.text()}));return es.set(s,t),t}var rs=new Map;async function fo(s){if(rs.has(s))return rs.get(s);let r=await fi(s),t={ok:r.ok,status:r.status,svg:null};if(r.ok){let e=document.createElement("div");e.innerHTML=r.html;let i=e.firstElementChild;t.svg=(i==null?void 0:i.tagName.toLowerCase())==="svg"?i.outerHTML:""}return rs.set(s,t),t}var jt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},te=s=>(...r)=>({_$litDirective$:s,values:r}),Ie=class{constructor(r){}get _$AU(){return this._$AM._$AU}_$AT(r,t,e){this._$Ct=r,this._$AM=t,this._$Ci=e}_$AS(r,t){return this.update(r,t)}update(r,t){return this.render(...t)}};var tr=class extends Ie{constructor(r){if(super(r),this.it=N,r.type!==jt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===N||r==null)return this._t=void 0,this.it=r;if(r===Mt)return r;if(typeof r!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;let t=[r];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};tr.directiveName="unsafeHTML",tr.resultType=1;var Ir=te(tr);var Pr=class extends tr{};Pr.directiveName="unsafeSVG",Pr.resultType=2;var bi=te(Pr);function C(s,r){let t=K({waitUntilFirstUpdate:!1},r);return(e,i)=>{let{update:a}=e,n=Array.isArray(s)?s:[s];e.update=function(l){n.forEach(h=>{let u=h;if(l.has(u)){let m=l.get(u),b=this[u];m!==b&&(!t.waitUntilFirstUpdate||this.hasUpdated)&&this[i](m,b)}}),a.call(this,l)}}}function is(s,r){let t=/var\((--[\w-]+)(?:,\s*([^)]+))?\)/.exec(s);if(!t)return s;let[,e,i]=t;return getComputedStyle(r).getPropertyValue(e).trim()||i||null}function W(s,r,t){return new Promise(e=>{var l;if((t==null?void 0:t.duration)===1/0)throw new Error("Promise-based animations must be finite.");let i=Vr(),a=typeof t.duration=="string"?pr((l=is(t.duration,s))!=null?l:""):t.duration,n=s.animate(r,xt(K({},t),{duration:i&&(t==null?void 0:t.reducedMotion)!=="allow"?0:a}));n.addEventListener("cancel",e,{once:!0}),n.addEventListener("finish",e,{once:!0})})}function pr(s){return s=s.toString().toLowerCase(),s.indexOf("ms")>-1?parseFloat(s):s.indexOf("s")>-1?parseFloat(s)*1e3:parseFloat(s)}function Vr(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function rt(s){return Promise.all(s.getAnimations().map(r=>new Promise(t=>{let e=requestAnimationFrame(t);r.addEventListener("cancel",()=>e,{once:!0}),r.addEventListener("finish",()=>e,{once:!0}),r.cancel()})))}function ke(s,r){return s.map(t=>xt(K({},t),{height:t.height==="auto"?`${r}px`:t.height}))}var sn=si,gi={"sd-duration":s=>pr(s)},f=class extends Oe{connectedCallback(){super.connectedCallback(),this.onThemeChange&&this.renderRoot.addEventListener("sd-theme-change",this.onThemeChange.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.onThemeChange&&this.renderRoot.removeEventListener("sd-theme-change",this.onThemeChange.bind(this))}emit(r,t){let e=new CustomEvent(r,K({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(e),e}token(r,t){var a,n,l;let e=is(`var(${r})`,this);if(e===null)return t;let i=Object.keys(gi).find(h=>r.startsWith(h));return(l=(n=(a=gi[i!=null?i:r])==null?void 0:a.call(gi,e))!=null?n:e)!=null?l:t}};f.styles=[sn`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
153
|
+
:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;--color-neutral-700:oklch(37.1% 0 0);--color-black:#000;--text-xs--line-height:calc(1 / 0.75);--text-sm--line-height:calc(1.25 / 0.875);--text-base--line-height:calc(1.5 / 1);--text-lg--line-height:calc(1.75 / 1.125);--text-xl--line-height:calc(1.75 / 1.25);--text-2xl--line-height:calc(2 / 1.5);--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl--line-height:calc(2.5 / 2.25);--font-weight-semibold:600;--leading-tight:1.25;--leading-normal:1.5;--ease-out:cubic-bezier(0, 0, 0.2, 1);--ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);--animate-pulse:pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;--default-transition-duration:150ms;--default-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);--default-mono-font-family:var(--font-mono);--outline-color-primary:rgba(var(--sd-color-border-primary, var(--sd-color-primary, 0 53 142)));--outline-color-white:rgba(var(--sd-color-border-white, var(--sd-color-white, 255 255 255)))}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}.\\!absolute{position:absolute!important}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-2{inset-block:calc(var(--sd-spacing-2,.5rem) * -1)}.start-0{inset-inline-start:calc(var(--sd-spacing-1,.25rem) * 0)}.start-auto{inset-inline-start:auto}.end-0{inset-inline-end:calc(var(--sd-spacing-1,.25rem) * 0)}.end-2{inset-inline-end:var(--sd-spacing-2,.5rem)}.end-auto{inset-inline-end:auto}.-top-0\\.25{top:calc(var(--sd-spacing-0\\.25,.0625rem) * -1)}.-top-4{top:calc(var(--sd-spacing-4,1rem) * -1)}.top-0{top:0}.top-1{top:var(--sd-spacing-1,.25rem)}.top-1\\/2{top:calc(1 / 2 * 100%)}.top-2{top:var(--sd-spacing-2,.5rem)}.top-2\\.5{top:var(--sd-spacing-2\\.5,.625rem)}.top-full{top:100%}.\\!right-0{right:0!important}.right-0{right:0}.right-2{right:var(--sd-spacing-2,.5rem)}.right-4{right:var(--sd-spacing-4,1rem)}.right-auto{right:auto}.\\!bottom-0{bottom:0!important}.bottom-0{bottom:0}.bottom-auto{bottom:auto}.left-0{left:0}.left-1\\/2{left:calc(1 / 2 * 100%)}.left-2{left:var(--sd-spacing-2,.5rem)}.left-4{left:var(--sd-spacing-4,1rem)}.left-12{left:var(--sd-spacing-12,3rem)}.left-\\[36px\\]{left:36px}.left-\\[44px\\]{left:44px}.left-auto{left:auto}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.-z-20{z-index:calc(20 * -1)}.z-0{z-index:0}.z-10{z-index:10}.z-10{z-index:10}.z-20{z-index:20}.z-20{z-index:20}.z-30{z-index:30}.z-30{z-index:30}.z-50{z-index:50}.z-50{z-index:50}.z-\\[0\\]{z-index:0}.z-\\[1\\]{z-index:1}.z-\\[calc\\(var\\(z-dropdown\\)-1\\)\\]{z-index:calc(var(z-dropdown) - 1)}.z-auto{z-index:auto}.z-auto{z-index:auto}.z-dropdown{z-index:var(--sd-z-index-dropdown,900)}.order-1{order:1}.order-2{order:2}.container{width:100%}@media (width >= 40rem){.container{max-width:40rem}}@media (width >= 48rem){.container{max-width:48rem}}@media (width >= 64rem){.container{max-width:64rem}}@media (width >= 80rem){.container{max-width:80rem}}@media (width >= 96rem){.container{max-width:96rem}}.m-0{margin:0}.m-4{margin:var(--sd-spacing-4,1rem)}.m-auto{margin:auto}.-mx-2{margin-inline:calc(var(--sd-spacing-2,.5rem) * -1)}.mx-2{margin-inline:var(--sd-spacing-2,.5rem)}.mx-\\[-1px\\]{margin-inline:-1px}.mx-auto{margin-inline:auto}.my-0{margin-block:0}.my-\\[6px\\]{margin-block:6px}.my-auto{margin-block:auto}.ms-4{margin-inline-start:var(--sd-spacing-4,1rem)}.me-1{margin-inline-end:var(--sd-spacing-1,.25rem)}.-mt-1{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}.-mt-\\[10px\\]{margin-top:calc(10px * -1)}.mt-0\\.5{margin-top:var(--sd-spacing-0\\.5,.125rem)}.mt-0\\.25{margin-top:var(--sd-spacing-0\\.25,.0625rem)}.mt-1{margin-top:var(--sd-spacing-1,.25rem)}.mt-2{margin-top:var(--sd-spacing-2,.5rem)}.mt-3{margin-top:var(--sd-spacing-3,.75rem)}.mt-4{margin-top:var(--sd-spacing-4,1rem)}.mt-\\[-1px\\]{margin-top:-1px}.mt-\\[2px\\]{margin-top:2px}.mt-\\[3px\\]{margin-top:3px}.mt-\\[11\\%\\]{margin-top:11%}.mt-\\[22\\%\\]{margin-top:22%}.mt-\\[var\\(--spacing-xxl\\)\\]{margin-top:var(--spacing-xxl)}.mt-auto{margin-top:auto}.\\!mr-6{margin-right:var(--sd-spacing-6,1.5rem)!important}.mr-0{margin-right:0}.mr-1{margin-right:var(--sd-spacing-1,.25rem)}.mr-2{margin-right:var(--sd-spacing-2,.5rem)}.mr-4{margin-right:var(--sd-spacing-4,1rem)}.mr-\\[0\\.5em\\]{margin-right:.5em}.mr-\\[0\\.25em\\]{margin-right:.25em}.\\!mb-4{margin-bottom:var(--sd-spacing-4,1rem)!important}.-mb-2{margin-bottom:calc(var(--sd-spacing-2,.5rem) * -1)}.mb-0\\.5{margin-bottom:var(--sd-spacing-0\\.5,.125rem)}.mb-2{margin-bottom:var(--sd-spacing-2,.5rem)}.mb-3{margin-bottom:var(--sd-spacing-3,.75rem)}.mb-4{margin-bottom:var(--sd-spacing-4,1rem)}.mb-6{margin-bottom:var(--sd-spacing-6,1.5rem)}.mb-\\[10px\\]{margin-bottom:10px}.mb-auto{margin-bottom:auto}.\\!ml-6{margin-left:var(--sd-spacing-6,1.5rem)!important}.ml-0{margin-left:0}.ml-1{margin-left:var(--sd-spacing-1,.25rem)}.ml-2{margin-left:var(--sd-spacing-2,.5rem)}.ml-3{margin-left:var(--sd-spacing-3,.75rem)}.ml-6{margin-left:var(--sd-spacing-6,1.5rem)}.ml-\\[0\\.5em\\]{margin-left:.5em}.ml-\\[0\\.25em\\]{margin-left:.25em}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.\\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.aspect-square{aspect-ratio:var(--sd-aspect-square,1 / 1)}.size-4{width:var(--sd-spacing-4,1rem);height:var(--sd-spacing-4,1rem)}.h-0{height:0}.h-0\\.25{height:var(--sd-spacing-0\\.25,.0625rem)}.h-1{height:var(--sd-spacing-1,.25rem)}.h-2{height:var(--sd-spacing-2,.5rem)}.h-2\\.5{height:var(--sd-spacing-2\\.5,.625rem)}.h-3{height:var(--sd-spacing-3,.75rem)}.h-4{height:var(--sd-spacing-4,1rem)}.h-5{height:calc(var(--sd-spacing-1,.25rem) * 5)}.h-6{height:var(--sd-spacing-6,1.5rem)}.h-8{height:var(--sd-spacing-8,2rem)}.h-10{height:var(--sd-spacing-10,2.5rem)}.h-12{height:var(--sd-spacing-12,3rem)}.h-16{height:var(--sd-spacing-16,4rem)}.h-18{height:calc(var(--sd-spacing-1,.25rem) * 18)}.h-\\[1px\\]{height:1px}.h-\\[2px\\]{height:2px}.h-\\[6px\\]{height:6px}.h-\\[10px\\]{height:10px}.h-\\[30px\\]{height:30px}.h-\\[38px\\]{height:38px}.h-\\[46px\\]{height:46px}.h-\\[48px\\]{height:48px}.h-\\[96px\\]{height:96px}.h-\\[calc\\(100\\%-8px\\)\\]{height:calc(100% - 8px)}.h-\\[calc\\(100\\%-16px\\)\\]{height:calc(100% - 16px)}.h-\\[var\\(--height\\,0\\.125rem\\)\\]{height:var(--height,.125rem)}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.navigable__current-indicator-height{height:var(--sd-navigable__current-indicator-height,.25rem)}.sd-7-0-1-header__shadow-height{height:var(--sd-header__shadow-height,.25rem)}.sd-7-0-1-radio__checked-height{height:var(--sd-radio__checked-height,.625rem)}.max-h-full{max-height:100%}.max-h-none{max-height:none}.min-h-8{min-height:var(--sd-spacing-8,2rem)}.min-h-\\[32px\\]{min-height:32px}.min-h-\\[40px\\]{min-height:40px}.min-h-\\[48px\\]{min-height:48px}.min-h-full{min-height:100%}.navigable__current-indicator-width{width:var(--sd-navigable__current-indicator-width,.25rem)}.sd-7-0-1-radio__checked-width{width:var(--sd-radio__checked-width,.625rem)}.w-0{width:0}.w-0\\.5{width:var(--sd-spacing-0\\.5,.125rem)}.w-0\\.25{width:var(--sd-spacing-0\\.25,.0625rem)}.w-1{width:var(--sd-spacing-1,.25rem)}.w-2{width:var(--sd-spacing-2,.5rem)}.w-2\\.5{width:var(--sd-spacing-2\\.5,.625rem)}.w-3{width:var(--sd-spacing-3,.75rem)}.w-3\\/4{width:calc(3 / 4 * 100%)}.w-4{width:var(--sd-spacing-4,1rem)}.w-5{width:calc(var(--sd-spacing-1,.25rem) * 5)}.w-6{width:var(--sd-spacing-6,1.5rem)}.w-8{width:var(--sd-spacing-8,2rem)}.w-12{width:var(--sd-spacing-12,3rem)}.w-40{width:var(--sd-spacing-40,10rem)}.w-\\[1px\\]{width:1px}.w-\\[6px\\]{width:6px}.w-\\[36px\\]{width:36px}.w-\\[48px\\]{width:48px}.w-\\[96px\\]{width:96px}.w-\\[284px\\]{width:284px}.w-\\[calc\\(100\\%-16px\\)\\]{width:calc(100% - 16px)}.w-\\[var\\(--percentage\\)\\]{width:var(--percentage)}.w-\\[var\\(--width\\)\\]{width:var(--width)}.w-auto{width:auto}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-full{max-width:100%}.max-w-none{max-width:none}.min-w-0{min-width:0}.min-w-40{min-width:var(--sd-spacing-40,10rem)}.min-w-\\[284px\\]{min-width:284px}.min-w-full{min-width:100%}.min-w-max{min-width:-moz-max-content;min-width:max-content}.min-w-min{min-width:-moz-min-content;min-width:min-content}.flex-1{flex:1}.flex-\\[0_0_auto\\]{flex:0 0 auto}.flex-auto{flex:auto}.flex-initial{flex:0 auto}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-auto{flex-basis:auto}.origin-bottom{transform-origin:bottom}.origin-top{transform-origin:top}.\\!-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}.\\!translate-x-1\\/2{--tw-translate-x:calc(1 / 2 * 100%)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-2{--tw-translate-x:calc(var(--sd-spacing-2, 0.5rem) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-2{--tw-translate-x:var(--sd-spacing-2, 0.5rem);translate:var(--tw-translate-x) var(--tw-translate-y)}.\\!-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}.\\!translate-y-0{--tw-translate-y:0!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-y-\\[1\\.5\\]{--tw-scale-y:1.5;scale:var(--tw-scale-x) var(--tw-scale-y)}.rotate-0{rotate:0deg}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.rotate-\\[-90deg\\]{rotate:-90deg}.rotate-\\[270deg\\]{rotate:270deg}.skew-y-\\[-11deg\\]{--tw-skew-y:skewY(-11deg);transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transform-none{transform:none}.animate-bounce-once{animation:bounce-once var(--sd-duration-medium,300ms) ease-in-out}.animate-grow{animation:grow linear}.animate-loader-current{animation:wave 1.3s infinite,loader-color-current 2.6s infinite}.animate-loader-primary{animation:wave 1.3s infinite,loader-color-primary 2.6s infinite}.animate-loader-white{animation:wave 1.3s infinite,loader-color-white 2.6s infinite}.animate-pulse{animation:var(--animate-pulse)}.\\!cursor-not-allowed{cursor:not-allowed!important}.cursor-\\[inherit\\]{cursor:inherit}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.cursor-wait{cursor:wait}.resize{resize:both}.resize-none{resize:none}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-flow-col{grid-auto-flow:column}.auto-rows-\\[100\\%\\]{grid-auto-rows:100%}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.justify-stretch{justify-content:stretch}.justify-items-center{justify-items:center}.gap-0\\.5{gap:var(--sd-spacing-0\\.5,.125rem)}.gap-1{gap:var(--sd-spacing-1,.25rem)}.gap-2{gap:var(--sd-spacing-2,.5rem)}.gap-3{gap:var(--sd-spacing-3,.75rem)}.gap-4{gap:var(--sd-spacing-4,1rem)}.gap-6{gap:var(--sd-spacing-6,1.5rem)}.gap-8{gap:var(--sd-spacing-8,2rem)}.gap-x-\\[1px\\]{-moz-column-gap:1px;column-gap:1px}.gap-y-\\[1px\\]{row-gap:1px}.self-center{align-self:center}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.justify-self-start{justify-self:flex-start}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-x-scroll{overflow-x:scroll}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.overscroll-x-contain{overscroll-behavior-x:contain}.scroll-auto{scroll-behavior:auto}.\\!navigable-border-radius{border-radius:var(--sd-navigable-border-radius,0)!important}.\\!rounded-sm{border-radius:var(--sd-radius-sm,.125rem)!important}.form-control-border-radius{border-radius:var(--sd-form-control-border-radius,.25rem)}.navigable-border-radius{border-radius:var(--sd-navigable-border-radius,0)}.navigable__current-indicator-border-radius{border-radius:var(--sd-navigable__current-indicator-border-radius,0)}.rounded{border-radius:.25rem}.rounded-\\[4px_4px_0_0\\]{border-radius:4px 4px 0 0}.rounded-default{border-radius:var(--sd-radius,.25rem)}.rounded-full{border-radius:var(--sd-radius-full,624.9375rem)}.rounded-md{border-radius:var(--sd-radius-md,.375rem)}.rounded-none{border-radius:var(--sd-radius-none,0)}.rounded-sm{border-radius:var(--sd-radius-sm,.125rem)}.sd-7-0-1-button-border-radius{border-radius:var(--sd-button-border-radius,.25rem)}.sd-7-0-1-radio-button-border-radius{border-radius:var(--sd-radio-button-border-radius,624.9375rem)}.sd-7-0-1-radio-button-group-border-radius{border-radius:var(--sd-radio-button-group-border-radius,624.9375rem)}.sd-7-0-1-tag-border-radius{border-radius:var(--sd-tag-border-radius,624.9375rem)}.sd-7-0-1-teaser-border-radius{border-radius:var(--sd-teaser-border-radius,0)}.rounded-l-md{border-top-left-radius:var(--sd-radius-md,.375rem);border-bottom-left-radius:var(--sd-radius-md,.375rem)}.rounded-l-none{border-top-left-radius:var(--sd-radius-none,0);border-bottom-left-radius:var(--sd-radius-none,0)}.form-control__listbox-border-top-left-radius{border-top-left-radius:var(--sd-form-control__listbox-border-top-left-radius,.25rem)}.rounded-tl-none{border-top-left-radius:var(--sd-radius-none,0)}.rounded-r-md{border-top-right-radius:var(--sd-radius-md,.375rem);border-bottom-right-radius:var(--sd-radius-md,.375rem)}.rounded-r-none{border-top-right-radius:var(--sd-radius-none,0);border-bottom-right-radius:var(--sd-radius-none,0)}.form-control__listbox-border-top-right-radius{border-top-right-radius:var(--sd-form-control__listbox-border-top-right-radius,.25rem)}.rounded-tr-none{border-top-right-radius:var(--sd-radius-none,0)}.rounded-b-default{border-bottom-right-radius:var(--sd-radius,.25rem);border-bottom-left-radius:var(--sd-radius,.25rem)}.rounded-b-none{border-bottom-right-radius:var(--sd-radius-none,0);border-bottom-left-radius:var(--sd-radius-none,0)}.form-control__listbox-border-bottom-right-radius{border-bottom-right-radius:var(--sd-form-control__listbox-border-bottom-right-radius,.25rem)}.rounded-br-none{border-bottom-right-radius:var(--sd-radius-none,0)}.form-control__listbox-border-bottom-left-radius{border-bottom-left-radius:var(--sd-form-control__listbox-border-bottom-left-radius,.25rem)}.rounded-bl-none{border-bottom-left-radius:var(--sd-radius-none,0)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:var(--sd-border-width-2,.125rem)}.border-\\[1px\\]{border-style:var(--tw-border-style);border-width:1px}.sd-7-0-1-button-border-width{border-width:var(--sd-button-border-width,.0625rem)}.sd-7-0-1-carousel__pager-dot-border-width{border-width:var(--sd-carousel__pager-dot-border-width,.0625rem)}.sd-7-0-1-checkbox-border-width{border-width:var(--sd-checkbox-border-width,.0625rem)}.sd-7-0-1-radio-border-width{border-width:var(--sd-radio-border-width,.0625rem)}.sd-7-0-1-radio-button-group-border-width{border-width:var(--sd-radio-button-group-border-width,.0625rem)}.sd-7-0-1-step__circle-border-width{border-width:var(--sd-step__circle-border-width,.0625rem)}.sd-7-0-1-switch-border-width{border-width:var(--sd-switch-border-width,.0625rem)}.sd-7-0-1-tag--selected-border-width{border-width:var(--sd-tag--selected-border-width,0)}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:var(--sd-border-width-2,.125rem)}.border-r-2{border-right-style:var(--tw-border-style);border-right-width:var(--sd-border-width-2,.125rem)}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:var(--sd-border-width-2,.125rem)}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:var(--sd-border-width-2,.125rem)}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:var(--sd-border-width-4,.25rem)}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-accent{border-color:rgba(var(--sd-color-border-accent,45 157 0))}.border-error{border-color:rgba(var(--sd-color-border-error,204 25 55))}.border-neutral-400{border-color:rgba(var(--sd-color-border-neutral-400,195 195 195))}.border-neutral-500{border-color:rgba(var(--sd-color-border-neutral-500,174 174 174))}.border-neutral-600{border-color:rgba(var(--sd-color-border-neutral-600,136 136 136))}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:rgba(var(--sd-color-border-neutral-800,81 81 81))}.border-primary{border-color:rgba(var(--sd-color-border-primary,0 53 142))}.border-success{border-color:rgba(var(--sd-color-border-success,54 123 40))}.border-transparent{border-color:transparent}.border-white{border-color:rgba(var(--sd-color-border-white,255 255 255))}.form-control-color-border{border-color:rgba(var(--sd-form-control-color-border,81 81 81))}.panel-color-border{border-color:rgba(var(--sd-panel-color-border,255 255 255 / 0))}.sd-7-0-1-badge--inverted-color-border{border-color:rgba(var(--sd-badge--inverted-color-border,0 53 142))}.sd-7-0-1-button--secondary--default-color-border{border-color:rgba(var(--sd-button--secondary--default-color-border,0 53 142))}.sd-7-0-1-button--secondary--disabled-color-border{border-color:rgba(var(--sd-button--secondary--disabled-color-border,174 174 174))}.sd-7-0-1-button--secondary--inverted-color-border{border-color:rgba(var(--sd-button--secondary--inverted-color-border,255 255 255))}.sd-7-0-1-carousel--active--inverted-color-border{border-color:rgba(var(--sd-carousel--active--inverted-color-border,45 157 0))}.sd-7-0-1-carousel--active-color-border{border-color:rgba(var(--sd-carousel--active-color-border,45 157 0))}.sd-7-0-1-carousel__pager-dot--inverted-border{border-color:rgba(var(--sd-carousel__pager-dot--inverted-border,255 255 255))}.sd-7-0-1-divider--inverted-color-border{border-color:rgba(var(--sd-divider--inverted-color-border,153 171 208))}.sd-7-0-1-notification-color-border{border-color:rgba(var(--sd-notification-color-border,195 195 195))}.sd-7-0-1-switch--unchecked-color-border{border-color:rgba(var(--sd-switch--unchecked-color-border,81 81 81))}.sd-7-0-1-tab-color-border{border-color:rgba(var(--sd-tab-color-border,195 195 195))}.sd-7-0-1-tag--default-color-border{border-color:rgba(var(--sd-tag--default-color-border,0 53 142))}.sd-7-0-1-tag--selected--default-color-border{border-color:rgba(var(--sd-tag--selected--default-color-border,255 255 255 / 0))}.sd-7-0-1-teaser--neutral-400-color-border{border-color:rgba(var(--sd-teaser--neutral-400-color-border,195 195 195))}.bg-accent{background-color:rgba(var(--sd-color-background-accent,45 157 0))}.bg-accent-500{background-color:rgba(var(--sd-color-background-accent-500,37 136 14))}.bg-accent-550{background-color:rgba(var(--sd-color-background-accent-550,54 123 40))}.bg-accent-700{background-color:rgba(var(--sd-color-background-accent-700,33 87 37))}.bg-error{background-color:rgba(var(--sd-color-background-error,204 25 55))}.bg-info{background-color:rgba(var(--sd-color-background-info,21 130 213))}.bg-neutral-100{background-color:rgba(var(--sd-color-background-neutral-100,246 246 246))}.bg-neutral-200{background-color:rgba(var(--sd-color-background-neutral-200,233 233 233))}.bg-neutral-400{background-color:rgba(var(--sd-color-background-neutral-400,195 195 195))}.bg-neutral-500{background-color:rgba(var(--sd-color-background-neutral-500,174 174 174))}.bg-neutral-800{background-color:rgba(var(--sd-color-background-neutral-800,81 81 81))}.bg-primary{background-color:rgba(var(--sd-color-background-primary,0 53 142))}.bg-primary-100{background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}.bg-primary\\/80{background-color:rgba(var(--sd-color-background-primary,0 53 142))}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/80{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary,0 53 142)) var(--sd-opacity-80,80%),transparent)}}.bg-success{background-color:rgba(var(--sd-color-background-success,54 123 40))}.bg-transparent{background-color:transparent}.bg-warning{background-color:rgba(var(--sd-color-background-warning,187 141 32))}.bg-white{background-color:rgba(var(--sd-color-background-white,255 255 255))}.bg-white\\/75{background-color:rgba(var(--sd-color-background-white,255 255 255))}@supports (color:color-mix(in lab,red,red)){.bg-white\\/75{background-color:color-mix(in oklab,rgba(var(--sd-color-background-white,255 255 255)) var(--sd-opacity-75,75%),transparent)}}.form-control--invalid-color-background{background-color:rgba(var(--sd-form-control--invalid-color-background,255 255 255))}.form-control--read-only-color-background{background-color:rgba(var(--sd-form-control--read-only-color-background,233 233 233))}.sd-7-0-1-accordion__indicator-color{background-color:rgba(var(--sd-accordion__indicator-color,45 157 0))}.sd-7-0-1-badge--blue--inverted-color-background{background-color:rgba(var(--sd-badge--blue--inverted-color-background,236 240 249))}.sd-7-0-1-badge--blue-color-background{background-color:rgba(var(--sd-badge--blue-color-background,70 109 175))}.sd-7-0-1-badge--green-color--inverted-background{background-color:rgba(var(--sd-badge--green-color--inverted-background,54 123 40))}.sd-7-0-1-badge--green-color-background{background-color:rgba(var(--sd-badge--green-color-background,54 123 40))}.sd-7-0-1-badge--red--inverted-background{background-color:rgba(var(--sd-badge--red--inverted-background,204 25 55))}.sd-7-0-1-badge--red-color-background{background-color:rgba(var(--sd-badge--red-color-background,204 25 55))}.sd-7-0-1-brandshape--neutral-100-color-background{background-color:rgba(var(--sd-brandshape--neutral-100-color-background,246 246 246))}.sd-7-0-1-brandshape--primary-80-color-background{background-color:rgba(var(--sd-brandshape--primary-80-color-background,0 53 142 / .8))}.sd-7-0-1-brandshape--primary-color-background{background-color:rgba(var(--sd-brandshape--primary-color-background,0 53 142))}.sd-7-0-1-brandshape--white-80-color-background{background-color:rgba(var(--sd-brandshape--white-80-color-background,255 255 255 / .8))}.sd-7-0-1-brandshape--white-color-background{background-color:rgba(var(--sd-brandshape--white-color-background,255 255 255))}.sd-7-0-1-button--cta--inverted--default-color-background{background-color:rgba(var(--sd-button--cta--inverted--default-color-background,45 157 0))}.sd-7-0-1-button--cta--inverted--hover-color-background{background-color:rgba(var(--sd-button--cta--inverted--hover-color-background,37 136 14))}.sd-7-0-1-button--inverted--disabled-color-background{background-color:rgba(var(--sd-button--inverted--disabled-color-background,136 136 136))}.sd-7-0-1-button--primary--default-color-background{background-color:rgba(var(--sd-button--primary--default-color-background,0 53 142))}.sd-7-0-1-button--primary--disabled-color-background{background-color:rgba(var(--sd-button--primary--disabled-color-background,174 174 174))}.sd-7-0-1-button--primary--hover-color-background{background-color:rgba(var(--sd-button--primary--hover-color-background,70 109 175))}.sd-7-0-1-button--primary--inverted--default-color-background{background-color:rgba(var(--sd-button--primary--inverted--default-color-background,255 255 255))}.sd-7-0-1-button--primary--inverted--hover-color-background{background-color:rgba(var(--sd-button--primary--inverted--hover-color-background,236 240 249))}.sd-7-0-1-button--secondary--hover-color-background{background-color:rgba(var(--sd-button--secondary--hover-color-background,236 240 249))}.sd-7-0-1-button--secondary--inverted--hover-color-background{background-color:rgba(var(--sd-button--secondary--inverted--hover-color-background,70 109 175))}.sd-7-0-1-button--tertiary--hover-color-background{background-color:rgba(var(--sd-button--tertiary--hover-color-background,236 240 249))}.sd-7-0-1-button--tertiary--inverted--hover-color-background{background-color:rgba(var(--sd-button--tertiary--inverted--hover-color-background,70 109 175))}.sd-7-0-1-carousel__pager-dot--inverted-background{background-color:rgba(var(--sd-carousel__pager-dot--inverted-background,45 157 0))}.sd-7-0-1-carousel__pager-dot-background{background-color:rgba(var(--sd-carousel__pager-dot-background,45 157 0))}.sd-7-0-1-checkbox--invalid-color-background{background-color:rgba(var(--sd-checkbox--invalid-color-background,255 255 255))}.sd-7-0-1-datepicker__date-item--range-color-background{background-color:rgba(var(--sd-datepicker__date-item--range-color-background,236 240 249))}.sd-7-0-1-datepicker__date-item--selected-color-background{background-color:rgba(var(--sd-datepicker__date-item--selected-color-background,0 53 142))}.sd-7-0-1-dropdown-color-background{background-color:rgba(var(--sd-dropdown-color-background,255 255 255))}.sd-7-0-1-header-color-background{background-color:rgba(var(--sd-header-color-background,255 255 255))}.sd-7-0-1-map-marker--cluster--default-color-background{background-color:rgba(var(--sd-map-marker--cluster--default-color-background,0 53 142))}.sd-7-0-1-map-marker--cluster--hover-color-background{background-color:rgba(var(--sd-map-marker--cluster--hover-color-background,70 109 175))}.sd-7-0-1-map-marker--main-color-background{background-color:rgba(var(--sd-map-marker--main-color-background,37 136 14))}.sd-7-0-1-map-marker--pin--default-color-background{background-color:rgba(var(--sd-map-marker--pin--default-color-background,255 255 255))}.sd-7-0-1-map-marker--pin--hover-color-background{background-color:rgba(var(--sd-map-marker--pin--hover-color-background,236 240 249))}.sd-7-0-1-notification--error-color-background{background-color:rgba(var(--sd-notification--error-color-background,255 255 255))}.sd-7-0-1-notification--info-color-background{background-color:rgba(var(--sd-notification--info-color-background,255 255 255))}.sd-7-0-1-notification--success-color-background{background-color:rgba(var(--sd-notification--success-color-background,255 255 255))}.sd-7-0-1-notification--warning-color-background{background-color:rgba(var(--sd-notification--warning-color-background,255 255 255))}.sd-7-0-1-notification__duration-indicator-color-background{background-color:rgba(var(--sd-notification__duration-indicator-color-background,0 53 142))}.sd-7-0-1-progress-bar--active--inverted-color-background{background-color:rgba(var(--sd-progress-bar--active--inverted-color-background,45 157 0))}.sd-7-0-1-progress-bar__slide-bar--inverted-color-background{background-color:rgba(var(--sd-progress-bar__slide-bar--inverted-color-background,153 171 208))}.sd-7-0-1-progress-bar__slide-bar-color-background{background-color:rgba(var(--sd-progress-bar__slide-bar-color-background,195 195 195))}.sd-7-0-1-radio--checked--default-color-background{background-color:rgba(var(--sd-radio--checked--default-color-background,255 255 255))}.sd-7-0-1-radio--checked--default__icon-color-background{background-color:rgba(var(--sd-radio--checked--default__icon-color-background,45 157 0))}.sd-7-0-1-radio--checked--disabled__icon-color-background{background-color:rgba(var(--sd-radio--checked--disabled__icon-color-background,174 174 174))}.sd-7-0-1-radio--checked--invalid--default-color-background{background-color:rgba(var(--sd-radio--checked--invalid--default-color-background,255 255 255))}.sd-7-0-1-radio--checked--invalid--default__icon-color-background{background-color:rgba(var(--sd-radio--checked--invalid--default__icon-color-background,204 25 55))}.sd-7-0-1-radio--default--invalid-color-background{background-color:rgba(var(--sd-radio--default--invalid-color-background,255 255 255))}.sd-7-0-1-skeleton-color{background-color:rgba(var(--sd-skeleton-color,233 233 233))}.sd-7-0-1-switch--unchecked__icon-color-background{background-color:rgba(var(--sd-switch--unchecked__icon-color-background,81 81 81))}.sd-7-0-1-tag--default-color-background{background-color:rgba(var(--sd-tag--default-color-background,255 255 255 / 0))}.sd-7-0-1-tag--selected--default-color-background{background-color:rgba(var(--sd-tag--selected--default-color-background,0 53 142))}.sd-7-0-1-teaser--neutral-100-color-background{background-color:rgba(var(--sd-teaser--neutral-100-color-background,246 246 246))}.sd-7-0-1-teaser--primary-100-color-background{background-color:rgba(var(--sd-teaser--primary-100-color-background,236 240 249))}.sd-7-0-1-teaser-media--neutral-100-color-background{background-color:rgba(var(--sd-teaser-media--neutral-100-color-background,246 246 246 / .8))}.sd-7-0-1-teaser-media--primary-100-color-background{background-color:rgba(var(--sd-teaser-media--primary-100-color-background,236 240 249 / .8))}.sd-7-0-1-teaser-media--white-color-background{background-color:rgba(var(--sd-teaser-media--white-color-background,255 255 255 / .8))}.sd-7-0-1-tooltip-color-background{background-color:rgba(var(--sd-tooltip-color-background,0 53 142))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-none{background-image:none}.from-black\\/40{--tw-gradient-from:color-mix(in srgb, #000 40%, transparent)}@supports (color:color-mix(in lab,red,red)){.from-black\\/40{--tw-gradient-from:color-mix(in oklab, var(--color-black) 40%, transparent)}}.from-black\\/40{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-primary-800\\/60{--tw-gradient-from:rgba(var(--sd-color-background-primary-800, 5 21 48))}@supports (color:color-mix(in lab,red,red)){.from-primary-800\\/60{--tw-gradient-from:color-mix(in oklab, rgba(var(--sd-color-background-primary-800, 5 21 48)) var(--sd-opacity-60, 60%), transparent)}}.from-primary-800\\/60{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-primary-800\\/75{--tw-gradient-from:rgba(var(--sd-color-background-primary-800, 5 21 48))}@supports (color:color-mix(in lab,red,red)){.from-primary-800\\/75{--tw-gradient-from:color-mix(in oklab, rgba(var(--sd-color-background-primary-800, 5 21 48)) var(--sd-opacity-75, 75%), transparent)}}.from-primary-800\\/75{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-white\\/60{--tw-gradient-from:rgba(var(--sd-color-background-white, 255 255 255))}@supports (color:color-mix(in lab,red,red)){.from-white\\/60{--tw-gradient-from:color-mix(in oklab, rgba(var(--sd-color-background-white, 255 255 255)) var(--sd-opacity-60, 60%), transparent)}}.from-white\\/60{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-white\\/75{--tw-gradient-from:rgba(var(--sd-color-background-white, 255 255 255))}@supports (color:color-mix(in lab,red,red)){.from-white\\/75{--tw-gradient-from:color-mix(in oklab, rgba(var(--sd-color-background-white, 255 255 255)) var(--sd-opacity-75, 75%), transparent)}}.from-white\\/75{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-primary-800\\/0{--tw-gradient-to:rgba(var(--sd-color-background-primary-800, 5 21 48))}@supports (color:color-mix(in lab,red,red)){.to-primary-800\\/0{--tw-gradient-to:color-mix(in oklab, rgba(var(--sd-color-background-primary-800, 5 21 48)) var(--sd-opacity-0, 0%), transparent)}}.to-primary-800\\/0{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-primary-800\\/60{--tw-gradient-to:rgba(var(--sd-color-background-primary-800, 5 21 48))}@supports (color:color-mix(in lab,red,red)){.to-primary-800\\/60{--tw-gradient-to:color-mix(in oklab, rgba(var(--sd-color-background-primary-800, 5 21 48)) var(--sd-opacity-60, 60%), transparent)}}.to-primary-800\\/60{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-white\\/0{--tw-gradient-to:rgba(var(--sd-color-background-white, 255 255 255))}@supports (color:color-mix(in lab,red,red)){.to-white\\/0{--tw-gradient-to:color-mix(in oklab, rgba(var(--sd-color-background-white, 255 255 255)) var(--sd-opacity-0, 0%), transparent)}}.to-white\\/0{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-white\\/60{--tw-gradient-to:rgba(var(--sd-color-background-white, 255 255 255))}@supports (color:color-mix(in lab,red,red)){.to-white\\/60{--tw-gradient-to:color-mix(in oklab, rgba(var(--sd-color-background-white, 255 255 255)) var(--sd-opacity-60, 60%), transparent)}}.to-white\\/60{--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-transparent{fill:transparent}.form-control-color-icon-fill{fill:rgba(var(--sd-form-control-color-icon-fill,0 53 142))}.sd-7-0-1-teaser-media-color-icon-fill{fill:rgba(var(--sd-teaser-media-color-icon-fill,0 53 142))}.p-0{padding:0}.p-1{padding:var(--sd-spacing-1,.25rem)}.p-2{padding:var(--sd-spacing-2,.5rem)}.p-3{padding:var(--sd-spacing-3,.75rem)}.p-4{padding:var(--sd-spacing-4,1rem)}.p-6{padding:var(--sd-spacing-6,1.5rem)}.sd-7-0-1-radio-button-group-padding{padding:var(--sd-radio-button-group-padding,0)}.px-0{padding-inline:0}.px-1{padding-inline:var(--sd-spacing-1,.25rem)}.px-2{padding-inline:var(--sd-spacing-2,.5rem)}.px-3{padding-inline:var(--sd-spacing-3,.75rem)}.px-4{padding-inline:var(--sd-spacing-4,1rem)}.px-5{padding-inline:calc(var(--sd-spacing-1,.25rem) * 5)}.px-6{padding-inline:var(--sd-spacing-6,1.5rem)}.px-8{padding-inline:var(--sd-spacing-8,2rem)}.px-10{padding-inline:var(--sd-spacing-10,2.5rem)}.px-12{padding-inline:var(--sd-spacing-12,3rem)}.px-\\[12px\\]{padding-inline:12px}.sd-7-0-1-button--secondary-padding-inline{padding-inline:var(--sd-button--secondary-padding-inline,.9375rem)}.sd-7-0-1-button--size-md--icon-only-padding-inline{padding-inline:var(--sd-button--size-md--icon-only-padding-inline,.625rem)}.sd-7-0-1-button-padding-inline{padding-inline:var(--sd-button-padding-inline,1rem)}.sd-7-0-1-tag--size-lg-padding-inline{padding-inline:var(--sd-tag--size-lg-padding-inline,.75rem)}.sd-7-0-1-tag--size-sm-padding-inline{padding-inline:var(--sd-tag--size-sm-padding-inline,.75rem)}.py-0{padding-block:0}.py-1{padding-block:var(--sd-spacing-1,.25rem)}.py-2{padding-block:var(--sd-spacing-2,.5rem)}.py-3{padding-block:var(--sd-spacing-3,.75rem)}.py-4{padding-block:var(--sd-spacing-4,1rem)}.py-6{padding-block:var(--sd-spacing-6,1.5rem)}.py-8{padding-block:var(--sd-spacing-8,2rem)}.sd-7-0-1-accordion-padding-block{padding-block:var(--sd-accordion-padding-block,.75rem)}.sd-7-0-1-button--secondary--size-lg-padding-block{padding-block:var(--sd-button--secondary--size-lg-padding-block,.6875rem)}.sd-7-0-1-button--secondary--size-md-padding-block{padding-block:var(--sd-button--secondary--size-md-padding-block,.4375rem)}.sd-7-0-1-button--secondary--size-sm-padding-block{padding-block:var(--sd-button--secondary--size-sm-padding-block,.28125rem)}.sd-7-0-1-button--size-lg-padding-block{padding-block:var(--sd-button--size-lg-padding-block,.75rem)}.sd-7-0-1-button--size-md-padding-block{padding-block:var(--sd-button--size-md-padding-block,.5rem)}.sd-7-0-1-button--size-sm-padding-block{padding-block:var(--sd-button--size-sm-padding-block,.34375rem)}.ps-4{padding-inline-start:var(--sd-spacing-4,1rem)}.pt-0{padding-top:0}.pt-1{padding-top:var(--sd-spacing-1,.25rem)}.pt-2{padding-top:var(--sd-spacing-2,.5rem)}.pt-3{padding-top:var(--sd-spacing-3,.75rem)}.pt-4{padding-top:var(--sd-spacing-4,1rem)}.pt-6{padding-top:var(--sd-spacing-6,1.5rem)}.pr-2{padding-right:var(--sd-spacing-2,.5rem)}.pr-4{padding-right:var(--sd-spacing-4,1rem)}.sd-7-0-1-tag--removable--size-lg-padding-right{padding-right:var(--sd-tag--removable--size-lg-padding-right,.75rem)}.sd-7-0-1-tag--removable--size-sm-padding-right{padding-right:var(--sd-tag--removable--size-sm-padding-right,.5rem)}.pb-0{padding-bottom:0}.pb-1{padding-bottom:var(--sd-spacing-1,.25rem)}.pb-2{padding-bottom:var(--sd-spacing-2,.5rem)}.pb-3{padding-bottom:var(--sd-spacing-3,.75rem)}.pb-4{padding-bottom:var(--sd-spacing-4,1rem)}.sd-7-0-1-header-padding-bottom{padding-bottom:var(--sd-header-padding-bottom,0)}.pl-3{padding-left:var(--sd-spacing-3,.75rem)}.pl-4{padding-left:var(--sd-spacing-4,1rem)}.pl-8{padding-left:var(--sd-spacing-8,2rem)}.sd-7-0-1-tag--removable--size-lg-padding-left{padding-left:var(--sd-tag--removable--size-lg-padding-left,1rem)}.sd-7-0-1-tag--removable--size-sm-padding-left{padding-left:var(--sd-tag--removable--size-sm-padding-left,.75rem)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.text-base{font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--sd-text-lg,1.25rem);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--sd-text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--sd-text-xl,1.5rem);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--sd-text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height))}.navigable-font-size{font-size:var(--sd-navigable-font-size,1rem)}.sd-7-0-1-button--size-lg-font-size{font-size:var(--sd-button--size-lg-font-size,1rem)}.sd-7-0-1-button--size-md-font-size{font-size:var(--sd-button--size-md-font-size,1rem)}.sd-7-0-1-button--size-sm-font-size{font-size:var(--sd-button--size-sm-font-size,.875rem)}.sd-7-0-1-tag--size-lg-font-size{font-size:var(--sd-tag--size-lg-font-size,1rem)}.sd-7-0-1-tag--size-sm-font-size{font-size:var(--sd-tag--size-sm-font-size,.875rem)}.text-\\[0\\.75rem\\]{font-size:.75rem}.text-\\[2rem\\]{font-size:2rem}.text-\\[4rem\\]{font-size:4rem}.text-\\[14px\\]{font-size:14px}.leading-4\\.5{--tw-leading:calc(var(--sd-spacing-1, 0.25rem) * 4.5);line-height:calc(var(--sd-spacing-1,.25rem) * 4.5)}.leading-5{--tw-leading:calc(var(--sd-spacing-1, 0.25rem) * 5);line-height:calc(var(--sd-spacing-1,.25rem) * 5)}.leading-6{--tw-leading:var(--sd-spacing-6, 1.5rem);line-height:var(--sd-spacing-6,1.5rem)}.leading-\\[0\\]{--tw-leading:0;line-height:0}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--sd-font-weight-bold, 600);font-weight:var(--sd-font-weight-bold,600)}.font-normal{--tw-font-weight:var(--sd-font-weight-normal, 400);font-weight:var(--sd-font-weight-normal,400)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.choice-control-font-weight{font-weight:var(--sd-choice-control-font-weight,400)}.sd-7-0-1-button-font-weight{font-weight:var(--sd-button-font-weight,400)}.sd-7-0-1-datepicker__date-item--current-font-weight{font-weight:var(--sd-datepicker__date-item--current-font-weight,600)}.text-nowrap{text-wrap:nowrap}.wrap-break-word{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.tab-0{-moz-tab-size:0;-o-tab-size:0;tab-size:0}.\\!text-neutral-700{color:rgba(var(--sd-color-text-neutral-700,104 104 104))!important}.form-control--filled__floating-label-color-text{color:rgba(var(--sd-form-control--filled__floating-label-color-text,104 104 104))}.form-control-color-text{color:rgba(var(--sd-form-control-color-text,24 24 24))}.interactive--default-color-text{color:rgba(var(--sd-interactive--default-color-text,0 53 142))}.sd-7-0-1-accordion--open-color-text{color:rgba(var(--sd-accordion--open-color-text,0 53 142))}.sd-7-0-1-accordion-color-text{color:rgba(var(--sd-accordion-color-text,0 53 142))}.sd-7-0-1-badge--blue--inverted-color-text{color:rgba(var(--sd-badge--blue--inverted-color-text,0 53 142))}.sd-7-0-1-badge--green-color--inverted-text{color:rgba(var(--sd-badge--green-color--inverted-text,255 255 255))}.sd-7-0-1-badge--red--inverted-text{color:rgba(var(--sd-badge--red--inverted-text,255 255 255))}.sd-7-0-1-button--cta--inverted--default-color-text{color:rgba(var(--sd-button--cta--inverted--default-color-text,255 255 255))}.sd-7-0-1-button--primary--default-color-text{color:rgba(var(--sd-button--primary--default-color-text,255 255 255))}.sd-7-0-1-button--primary--inverted--default-color-text{color:rgba(var(--sd-button--primary--inverted--default-color-text,0 53 142))}.sd-7-0-1-button--secondary--default-color-text{color:rgba(var(--sd-button--secondary--default-color-text,0 53 142))}.sd-7-0-1-button--secondary--disabled-color-text{color:rgba(var(--sd-button--secondary--disabled-color-text,174 174 174))}.sd-7-0-1-button--secondary--inverted-color-text{color:rgba(var(--sd-button--secondary--inverted-color-text,255 255 255))}.sd-7-0-1-button--tertiary--default-color-text{color:rgba(var(--sd-button--tertiary--default-color-text,0 53 142))}.sd-7-0-1-button--tertiary--disabled-color-text{color:rgba(var(--sd-button--tertiary--disabled-color-text,174 174 174))}.sd-7-0-1-button--tertiary--inverted-color-text{color:rgba(var(--sd-button--tertiary--inverted-color-text,255 255 255))}.sd-7-0-1-datepicker__date-item--default-color-text{color:rgba(var(--sd-datepicker__date-item--default-color-text,0 53 142))}.sd-7-0-1-datepicker__date-item--selected--hover-color-text{color:rgba(var(--sd-datepicker__date-item--selected--hover-color-text,255 255 255))}.sd-7-0-1-datepicker__date-item--selected-color-text{color:rgba(var(--sd-datepicker__date-item--selected-color-text,255 255 255))}.sd-7-0-1-map-marker--cluster-color-text{color:rgba(var(--sd-map-marker--cluster-color-text,255 255 255))}.sd-7-0-1-map-marker--pin-color-text{color:rgba(var(--sd-map-marker--pin-color-text,0 53 142))}.sd-7-0-1-menu-item--disabled-color-text{color:rgba(var(--sd-menu-item--disabled-color-text,174 174 174))}.sd-7-0-1-menu-item-color-text{color:rgba(var(--sd-menu-item-color-text,0 53 142))}.sd-7-0-1-navigation-item--default-color-text{color:rgba(var(--sd-navigation-item--default-color-text,0 53 142))}.sd-7-0-1-navigation-item-color-text{color:rgba(var(--sd-navigation-item-color-text,0 53 142))}.sd-7-0-1-quickfact--expandable-color-text{color:rgba(var(--sd-quickfact--expandable-color-text,0 53 142))}.sd-7-0-1-radio-button-color-text{color:rgba(var(--sd-radio-button-color-text,0 53 142))}.sd-7-0-1-range-scale-ticks-color-text{color:rgba(var(--sd-range-scale-ticks-color-text,24 24 24))}.sd-7-0-1-step-color-text{color:rgba(var(--sd-step-color-text,0 53 142))}.sd-7-0-1-switch-color-text{color:rgba(var(--sd-switch-color-text,24 24 24))}.sd-7-0-1-tab--active-color-text{color:rgba(var(--sd-tab--active-color-text,0 53 142))}.sd-7-0-1-tab--disabled-color-text{color:rgba(var(--sd-tab--disabled-color-text,174 174 174))}.sd-7-0-1-tab-color-text{color:rgba(var(--sd-tab-color-text,0 53 142))}.sd-7-0-1-tag--default-color-text{color:rgba(var(--sd-tag--default-color-text,0 53 142))}.sd-7-0-1-tag--disabled-color-text{color:rgba(var(--sd-tag--disabled-color-text,174 174 174))}.sd-7-0-1-tag--selected--default-color-text{color:rgba(var(--sd-tag--selected--default-color-text,255 255 255))}.sd-7-0-1-tooltip-color-text{color:rgba(var(--sd-tooltip-color-text,255 255 255))}.text-black{color:rgba(var(--sd-color-text-black,24 24 24))}.text-error{color:rgba(var(--sd-color-text-error,204 25 55))}.text-inherit{color:inherit}.text-neutral-500{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}.text-neutral-600{color:rgba(var(--sd-color-text-neutral-600,136 136 136))}.text-neutral-700{color:rgba(var(--sd-color-text-neutral-700,104 104 104))}.text-primary{color:rgba(var(--sd-color-text-primary,0 53 142))}.text-primary-400{color:rgba(var(--sd-color-text-primary-400,153 171 208))}.text-primary-500{color:rgba(var(--sd-color-text-primary-500,70 109 175))}.text-success{color:rgba(var(--sd-color-text-success,54 123 40))}.text-white{color:rgba(var(--sd-color-text-white,255 255 255))}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:var(--sd-opacity-0,0)}.opacity-1{opacity:1%}.opacity-30{opacity:var(--sd-opacity-30,30%)}.opacity-100{opacity:var(--sd-opacity-100,100%)}.\\!shadow{--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75))!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)),0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-listbox{--tw-shadow:var(--sd-shadow-listbox, 0px 1px 3px 0px rgba(81, 81, 81, 0.75));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)),0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline:2px solid transparent;outline-offset:2px}}.focus-outline{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.outline-2{outline-style:var(--tw-outline-style);outline-width:2px}.\\!-outline-offset-2{outline-offset:calc(2px * -1)!important}.\\!outline-offset-0{outline-offset:0!important}.outline-error{outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error,204 25 55)))}.outline-primary{outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary,0 53 142)))}.outline-transparent{outline-color:transparent}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[border\\]{transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[height\\,top\\]{transition-property:height,top;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,scale\\]{transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[transform\\,width\\]{transition-property:transform,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:100ms;transition-duration:.1s}.duration-200{--tw-duration:200ms;transition-duration:.2s}.duration-300{--tw-duration:300ms;transition-duration:.3s}.duration-1000{--tw-duration:1000ms;transition-duration:1s}.duration-fast{--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms)}.duration-medium{--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms)}.duration-slow{--tw-duration:var(--sd-duration-slow, 500ms);transition-duration:var(--sd-duration-slow,500ms)}.duration-x-slow{--tw-duration:var(--sd-duration-x-slow, 750ms);transition-duration:var(--sd-duration-x-slow,750ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.content-\\[\\'\\'\\]{--tw-content:'';content:var(--tw-content)}.outline-dotted{--tw-outline-style:dotted;outline-style:dotted}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.varspacing-8{--tw-varspacing:var(--sd-spacing-8, 2rem)}.varspacing-10{--tw-varspacing:var(--sd-spacing-10, 2.5rem)}.varspacing-12{--tw-varspacing:var(--sd-spacing-12, 3rem)}.group-hover\\:top-0:is(:where(.group):hover:not([disabled]) *){top:0}.group-hover\\:left-0:is(:where(.group):hover:not([disabled]) *){left:0}.group-hover\\:mt-\\[-22\\%\\]:is(:where(.group):hover:not([disabled]) *){margin-top:-22%}.group-hover\\:h-full:is(:where(.group):hover:not([disabled]) *){height:100%}.group-hover\\:w-\\[calc\\(100\\%-2px\\)\\]:is(:where(.group):hover:not([disabled]) *){width:calc(100% - 2px)}.group-hover\\:w-full:is(:where(.group):hover:not([disabled]) *){width:100%}.group-hover\\:translate-y-0:is(:where(.group):hover:not([disabled]) *){--tw-translate-y:0;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-hover\\:border-accent-550:is(:where(.group):hover:not([disabled]) *){border-color:rgba(var(--sd-color-border-accent-550,54 123 40))}.group-hover\\:border-error-400:is(:where(.group):hover:not([disabled]) *){border-color:rgba(var(--sd-color-border-error-400,172 25 56))}.group-hover\\:border-primary-500:is(:where(.group):hover:not([disabled]) *){border-color:rgba(var(--sd-color-border-primary-500,70 109 175))}.group-hover\\:bg-accent-550:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-accent-550,54 123 40))}.group-hover\\:bg-error-400:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-error-400,172 25 56))}.group-hover\\:bg-neutral-200:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-neutral-200,233 233 233))}.group-hover\\:bg-primary\\/90:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-primary,0 53 142))}@supports (color:color-mix(in lab,red,red)){.group-hover\\:bg-primary\\/90:is(:where(.group):hover:not([disabled]) *){background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary,0 53 142)) var(--sd-opacity-90,90%),transparent)}}.group-hover\\:bg-transparent:is(:where(.group):hover:not([disabled]) *){background-color:transparent}.group-hover\\:bg-white:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-color-background-white,255 255 255))}.group-hover\\:sd-7-0-1-map-marker--cluster--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-map-marker--cluster--hover-color-background,70 109 175))}.group-hover\\:sd-7-0-1-radio--checked--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-radio--checked--hover-color-background,255 255 255))}.group-hover\\:sd-7-0-1-radio--checked--hover__icon-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-radio--checked--hover__icon-color-background,54 123 40))}.group-hover\\:sd-7-0-1-radio--checked--invalid--hover__icon-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-radio--checked--invalid--hover__icon-color-background,172 25 56))}.group-hover\\:sd-7-0-1-switch--checked--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-switch--checked--hover-color-background,54 123 40))}.group-hover\\:sd-7-0-1-switch--unchecked--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-switch--unchecked--hover-color-background,233 233 233))}.group-hover\\:sd-7-0-1-teaser-media--neutral-100--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-teaser-media--neutral-100--hover-color-background,246 246 246 / .9))}.group-hover\\:sd-7-0-1-teaser-media--primary-100--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-teaser-media--primary-100--hover-color-background,236 240 249 / .9))}.group-hover\\:sd-7-0-1-teaser-media--white--hover-color-background:is(:where(.group):hover:not([disabled]) *){background-color:rgba(var(--sd-teaser-media--white--hover-color-background,255 255 255 / .9))}.group-hover\\:text-primary-500:is(:where(.group):hover:not([disabled]) *){color:rgba(var(--sd-color-text-primary-500,70 109 175))}.group-hover\\:duration-fast:is(:where(.group):hover:not([disabled]) *){--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms)}.group-focus-visible\\:outline-2:is(:where(.group):focus-visible *){outline-style:var(--tw-outline-style);outline-width:2px}.group-focus-visible\\:outline-offset-2:is(:where(.group):focus-visible *){outline-offset:2px}.group-active\\:translate-y-0:is(:where(.group):active:not([disabled]) *){--tw-translate-y:0;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-active\\:sd-7-0-1-button--secondary--active-color-border:is(:where(.group):active:not([disabled]) *){border-color:rgba(var(--sd-button--secondary--active-color-border,5 21 48))}.group-active\\:bg-accent-700:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-color-background-accent-700,33 87 37))}.group-active\\:bg-primary-200:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-color-background-primary-200,224 233 243))}.group-active\\:sd-7-0-1-button--cta--inverted--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--cta--inverted--active-color-background,33 87 37))}.group-active\\:sd-7-0-1-button--primary--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--primary--active-color-background,5 21 48))}.group-active\\:sd-7-0-1-button--primary--inverted--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--primary--inverted--active-color-background,224 233 243))}.group-active\\:sd-7-0-1-button--secondary--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--secondary--active-color-background,224 233 243))}.group-active\\:sd-7-0-1-button--secondary--inverted--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--secondary--inverted--active-color-background,5 21 48))}.group-active\\:sd-7-0-1-button--tertiary--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--tertiary--active-color-background,224 233 243))}.group-active\\:sd-7-0-1-button--tertiary--inverted--active-color-background:is(:where(.group):active:not([disabled]) *){background-color:rgba(var(--sd-button--tertiary--inverted--active-color-background,5 21 48))}.group-active\\:sd-7-0-1-button--secondary--inverted--active-color-text:is(:where(.group):active:not([disabled]) *){color:rgba(var(--sd-button--secondary--inverted--active-color-text,255 255 255))}.group-active\\:sd-7-0-1-button--tertiary--inverted--active-color-text:is(:where(.group):active:not([disabled]) *){color:rgba(var(--sd-button--tertiary--inverted--active-color-text,224 233 243))}.group-has-\\[sd-7-0-1-icon\\]\\:pe-8:is(:where(.group):has(:is(sd-7-0-1-icon))*){padding-inline-end:var(--sd-spacing-8,2rem)}.peer-focus-visible\\:outline:is(:where(.peer):focus-visible ~ *){outline-style:var(--tw-outline-style);outline-width:1px}.peer-focus-visible\\:outline-2:is(:where(.peer):focus-visible ~ *){outline-style:var(--tw-outline-style);outline-width:2px}.peer-focus-visible\\:outline-offset-2:is(:where(.peer):focus-visible ~ *){outline-offset:2px}.peer-focus-visible\\:outline-primary:is(:where(.peer):focus-visible ~ *){outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary,0 53 142)))}.placeholder\\:text-black::-moz-placeholder{color:rgba(var(--sd-color-text-black,24 24 24))}.placeholder\\:text-black::placeholder{color:rgba(var(--sd-color-text-black,24 24 24))}.placeholder\\:text-neutral-500::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}.placeholder\\:text-neutral-500::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}.placeholder\\:text-neutral-700::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-700,104 104 104))}.placeholder\\:text-neutral-700::placeholder{color:rgba(var(--sd-color-text-neutral-700,104 104 104))}.after\\:-inset-2::after{content:var(--tw-content);inset:calc(var(--sd-spacing-2,.5rem) * -1)}.focus-within\\:focus-outline:focus-within{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.focus-within\\:focus-outline-inverted:focus-within{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-white)}.hover\\:scale-110:hover:not([disabled]){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:cursor-grab:hover:not([disabled]){cursor:grab}.hover\\:cursor-not-allowed:hover:not([disabled]){cursor:not-allowed}.hover\\:cursor-pointer:hover:not([disabled]){cursor:pointer}.hover\\:border-accent-550:hover:not([disabled]){border-color:rgba(var(--sd-color-border-accent-550,54 123 40))}.hover\\:border-error-400:hover:not([disabled]){border-color:rgba(var(--sd-color-border-error-400,172 25 56))}.hover\\:border-primary-200:hover:not([disabled]){border-color:rgba(var(--sd-color-border-primary-200,224 233 243))}.hover\\:border-primary-500:hover:not([disabled]){border-color:rgba(var(--sd-color-border-primary-500,70 109 175))}.hover\\:sd-7-0-1-button--secondary--hover-color-border:hover:not([disabled]){border-color:rgba(var(--sd-button--secondary--hover-color-border,70 109 175))}.hover\\:sd-7-0-1-button--secondary--inverted-color-border:hover:not([disabled]){border-color:rgba(var(--sd-button--secondary--inverted-color-border,255 255 255))}.hover\\:sd-7-0-1-tag--selected--hover-color-border:hover:not([disabled]){border-color:rgba(var(--sd-tag--selected--hover-color-border,255 255 255 / 0))}.hover\\:bg-accent-500:hover:not([disabled]){background-color:rgba(var(--sd-color-background-accent-500,37 136 14))}.hover\\:bg-accent-550:hover:not([disabled]){background-color:rgba(var(--sd-color-background-accent-550,54 123 40))}.hover\\:bg-error-400:hover:not([disabled]){background-color:rgba(var(--sd-color-background-error-400,172 25 56))}.hover\\:bg-neutral-100:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100,246 246 246))}.hover\\:bg-neutral-200:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-200,233 233 233))}.hover\\:bg-primary-100:hover:not([disabled]){background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}.hover\\:bg-transparent:hover:not([disabled]){background-color:transparent}.hover\\:bg-white:hover:not([disabled]){background-color:rgba(var(--sd-color-background-white,255 255 255))}.hover\\:sd-7-0-1-accordion--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-accordion--hover-color-background,233 233 233))}.hover\\:sd-7-0-1-button--cta--inverted--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--cta--inverted--hover-color-background,37 136 14))}.hover\\:sd-7-0-1-button--primary--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--primary--hover-color-background,70 109 175))}.hover\\:sd-7-0-1-button--primary--inverted--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--primary--inverted--hover-color-background,236 240 249))}.hover\\:sd-7-0-1-button--secondary--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--secondary--hover-color-background,236 240 249))}.hover\\:sd-7-0-1-button--secondary--inverted--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--secondary--inverted--hover-color-background,70 109 175))}.hover\\:sd-7-0-1-button--tertiary--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--tertiary--hover-color-background,236 240 249))}.hover\\:sd-7-0-1-button--tertiary--inverted--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-button--tertiary--inverted--hover-color-background,70 109 175))}.hover\\:sd-7-0-1-carousel__pager-dot--inverted--hovered-background:hover:not([disabled]){background-color:rgba(var(--sd-carousel__pager-dot--inverted--hovered-background,45 157 0))}.hover\\:sd-7-0-1-datepicker__date-item--hover--default-color-background:hover:not([disabled]){background-color:rgba(var(--sd-datepicker__date-item--hover--default-color-background,236 240 249))}.hover\\:sd-7-0-1-datepicker__date-item--hover--prev-next-color-background:hover:not([disabled]){background-color:rgba(var(--sd-datepicker__date-item--hover--prev-next-color-background,236 240 249))}.hover\\:sd-7-0-1-datepicker__date-item--selected--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-datepicker__date-item--selected--hover-color-background,70 109 175))}.hover\\:sd-7-0-1-map-marker--cluster--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-map-marker--cluster--hover-color-background,70 109 175))}.hover\\:sd-7-0-1-radio--checked--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-radio--checked--hover-color-background,255 255 255))}.hover\\:sd-7-0-1-radio--checked--hover__icon-color-background:hover:not([disabled]){background-color:rgba(var(--sd-radio--checked--hover__icon-color-background,54 123 40))}.hover\\:sd-7-0-1-radio--checked--invalid--hover__icon-color-background:hover:not([disabled]){background-color:rgba(var(--sd-radio--checked--invalid--hover__icon-color-background,172 25 56))}.hover\\:sd-7-0-1-radio-button--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-radio-button--hover-color-background,255 255 255 / 0))}.hover\\:sd-7-0-1-switch--checked--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-switch--checked--hover-color-background,54 123 40))}.hover\\:sd-7-0-1-switch--unchecked--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-switch--unchecked--hover-color-background,233 233 233))}.hover\\:sd-7-0-1-tab--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-tab--hover-color-background,233 233 233))}.hover\\:sd-7-0-1-tag--default--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-tag--default--hover-color-background,255 255 255 / 0))}.hover\\:sd-7-0-1-tag--selected--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-tag--selected--hover-color-background,70 109 175))}.hover\\:fill-primary-500:hover:not([disabled]){fill:rgba(var(--sd-color-icon-fill-primary-500,70 109 175))}.hover\\:sd-7-0-1-button--cta--inverted--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--cta--inverted--hover-color-text,255 255 255))}.hover\\:sd-7-0-1-button--primary--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--primary--hover-color-text,236 240 249))}.hover\\:sd-7-0-1-button--primary--inverted--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--primary--inverted--hover-color-text,70 109 175))}.hover\\:sd-7-0-1-button--secondary--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--secondary--hover-color-text,0 53 142))}.hover\\:sd-7-0-1-button--secondary--inverted--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--secondary--inverted--hover-color-text,255 255 255))}.hover\\:sd-7-0-1-button--tertiary--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--tertiary--hover-color-text,70 109 175))}.hover\\:sd-7-0-1-button--tertiary--inverted--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-button--tertiary--inverted--hover-color-text,236 240 249))}.hover\\:sd-7-0-1-datepicker__date-item--hover--default-color-text:hover:not([disabled]){color:rgba(var(--sd-datepicker__date-item--hover--default-color-text,70 109 175))}.hover\\:sd-7-0-1-datepicker__date-item--hover--prev-next-color-text:hover:not([disabled]){color:rgba(var(--sd-datepicker__date-item--hover--prev-next-color-text,104 104 104))}.hover\\:sd-7-0-1-datepicker__date-item--selected--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-datepicker__date-item--selected--hover-color-text,255 255 255))}.hover\\:sd-7-0-1-radio-button--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-radio-button--hover-color-text,70 109 175))}.hover\\:sd-7-0-1-tag--selected--hover-color-text:hover:not([disabled]){color:rgba(var(--sd-tag--selected--hover-color-text,255 255 255))}.hover\\:text-primary-100:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-100,236 240 249))}.hover\\:text-primary-200:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-200,224 233 243))}.hover\\:text-primary-500:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-500,70 109 175))}.hover\\:duration-fast:hover:not([disabled]){--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms)}.focus\\:outline-none:focus:not([disabled]){--tw-outline-style:none;outline-style:none}.focus-visible\\:z-10:focus-visible{z-index:10}.focus-visible\\:z-10:focus-visible{z-index:10}.focus-visible\\:border-transparent:focus-visible{border-color:transparent}.focus-visible\\:focus-outline:focus-visible{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.focus-visible\\:focus-outline-inverted:focus-visible{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-white)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:border-primary-200:active:not([disabled]){border-color:rgba(var(--sd-color-border-primary-200,224 233 243))}.active\\:sd-7-0-1-button--secondary--active-color-border:active:not([disabled]){border-color:rgba(var(--sd-button--secondary--active-color-border,5 21 48))}.active\\:bg-accent-700:active:not([disabled]){background-color:rgba(var(--sd-color-background-accent-700,33 87 37))}.active\\:sd-7-0-1-button--cta--inverted--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--cta--inverted--active-color-background,33 87 37))}.active\\:sd-7-0-1-button--primary--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--primary--active-color-background,5 21 48))}.active\\:sd-7-0-1-button--primary--inverted--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--primary--inverted--active-color-background,224 233 243))}.active\\:sd-7-0-1-button--secondary--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--secondary--active-color-background,224 233 243))}.active\\:sd-7-0-1-button--secondary--inverted--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--secondary--inverted--active-color-background,5 21 48))}.active\\:sd-7-0-1-button--tertiary--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--tertiary--active-color-background,224 233 243))}.active\\:sd-7-0-1-button--tertiary--inverted--active-color-background:active:not([disabled]){background-color:rgba(var(--sd-button--tertiary--inverted--active-color-background,5 21 48))}.active\\:interactive--active-color-text:active:not([disabled]){color:rgba(var(--sd-interactive--active-color-text,5 21 48))}.active\\:sd-7-0-1-button--cta--inverted--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--cta--inverted--active-color-text,255 255 255))}.active\\:sd-7-0-1-button--primary--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--primary--active-color-text,224 233 243))}.active\\:sd-7-0-1-button--primary--inverted--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--primary--inverted--active-color-text,5 21 48))}.active\\:sd-7-0-1-button--secondary--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--secondary--active-color-text,5 21 48))}.active\\:sd-7-0-1-button--secondary--inverted--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--secondary--inverted--active-color-text,255 255 255))}.active\\:sd-7-0-1-button--tertiary--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--tertiary--active-color-text,5 21 48))}.active\\:sd-7-0-1-button--tertiary--inverted--active-color-text:active:not([disabled]){color:rgba(var(--sd-button--tertiary--inverted--active-color-text,224 233 243))}.active\\:text-primary-400:active:not([disabled]){color:rgba(var(--sd-color-text-primary-400,153 171 208))}.disabled\\:border-neutral-500:disabled{border-color:rgba(var(--sd-color-border-neutral-500,174 174 174))}.disabled\\:sd-7-0-1-button--inverted--disabled-color-border:disabled{border-color:rgba(var(--sd-button--inverted--disabled-color-border,136 136 136))}.disabled\\:sd-7-0-1-button--secondary--disabled-color-border:disabled{border-color:rgba(var(--sd-button--secondary--disabled-color-border,174 174 174))}.disabled\\:sd-7-0-1-button--inverted--disabled-color-background:disabled{background-color:rgba(var(--sd-button--inverted--disabled-color-background,136 136 136))}.disabled\\:sd-7-0-1-button--primary--disabled-color-background:disabled{background-color:rgba(var(--sd-button--primary--disabled-color-background,174 174 174))}.disabled\\:sd-7-0-1-button--inverted--disabled-color-text:disabled{color:rgba(var(--sd-button--inverted--disabled-color-text,136 136 136))}.disabled\\:sd-7-0-1-button--secondary--disabled-color-text:disabled{color:rgba(var(--sd-button--secondary--disabled-color-text,174 174 174))}.disabled\\:sd-7-0-1-button--tertiary--disabled-color-text:disabled{color:rgba(var(--sd-button--tertiary--disabled-color-text,174 174 174))}.disabled\\:text-white:disabled{color:rgba(var(--sd-color-text-white,255 255 255))}.has-\\[button\\:hover\\]\\:border-primary-500:has(:is(button:hover)){border-color:rgba(var(--sd-color-border-primary-500,70 109 175))}.has-\\[button\\:hover\\]\\:text-primary-500:has(:is(button:hover)){color:rgba(var(--sd-color-text-primary-500,70 109 175))}@media (width >= 40rem){.sm\\:mt-2{margin-top:var(--sd-spacing-2,.5rem)}}@media (width >= 40rem){.sm\\:flex-col{flex-direction:column}}@media (width >= 40rem){.sm\\:gap-4{gap:var(--sd-spacing-4,1rem)}}@media (width >= 40rem){.sm\\:self-center{align-self:center}}@media (width >= 40rem){.sm\\:p-6{padding:var(--sd-spacing-6,1.5rem)}}@media (width >= 40rem){.sm\\:px-10{padding-inline:var(--sd-spacing-10,2.5rem)}}@media (width >= 40rem){.sm\\:py-8{padding-block:var(--sd-spacing-8,2rem)}}@media (width >= 40rem){.sm\\:pb-8{padding-bottom:var(--sd-spacing-8,2rem)}}@media (width >= 40rem){.sm\\:text-center{text-align:center}}@media (width >= 40rem){.sm\\:text-3xl{font-size:var(--sd-text-3xl,2rem);line-height:var(--tw-leading,var(--text-3xl--line-height))}}@media (width >= 40rem){.sm\\:leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}}@media (width >= 64rem){.lg\\:flex{display:flex}}@media (width >= 64rem){.lg\\:hidden{display:none}}@media (width >= 64rem){.lg\\:inline-block{display:inline-block}}@media (hover:hover){.hover\\:\\[\\@media\\(hover\\:hover\\)\\]\\:form-control--hover-color-background:hover:not([disabled]){background-color:rgba(var(--sd-form-control--hover-color-background,233 233 233))}}*,::after,::backdrop,::before,::file-selector-button{box-sizing:border-box;border:0 solid}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none;margin:0;padding:0}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}::file-selector-button,button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1;margin:0;padding:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentcolor}::placeholder{color:currentcolor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.sd-interactive--reset,.sd-prose a--reset{all:unset;outline:revert}.sd-interactive,.sd-prose a{cursor:pointer;color:rgba(var(--sd-interactive--default-color-text,0 53 142));text-decoration-line:underline;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.sd-interactive:hover:not([disabled]),.sd-prose a:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-500,70 109 175))}.sd-interactive:focus-visible,.sd-prose a:focus-visible{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.sd-interactive:active:not([disabled]),.sd-prose a:active:not([disabled]){color:rgba(var(--sd-interactive--active-color-text,5 21 48))}.sd-interactive:is(.sd-interactive),.sd-prose a:is(.sd-interactive){text-decoration-line:none}.sd-interactive--disabled,.sd-interactive[disabled],.sd-interactive[href=''],.sd-prose a--disabled,.sd-prose a[disabled],.sd-prose a[href='']{cursor:not-allowed;color:rgba(var(--sd-form-control--disabled-color-text,174 174 174))}.sd-interactive--disabled:hover:not([disabled]),.sd-interactive[disabled]:hover:not([disabled]),.sd-interactive[href='']:hover:not([disabled]),.sd-prose a--disabled:hover:not([disabled]),.sd-prose a[disabled]:hover:not([disabled]),.sd-prose a[href='']:hover:not([disabled]){color:rgba(var(--sd-form-control--disabled-color-text,174 174 174))}.sd-interactive--disabled:active:not([disabled]),.sd-interactive[disabled]:active:not([disabled]),.sd-interactive[href='']:active:not([disabled]),.sd-prose a--disabled:active:not([disabled]),.sd-prose a[disabled]:active:not([disabled]),.sd-prose a[href='']:active:not([disabled]){color:rgba(var(--sd-form-control--disabled-color-text,174 174 174))}.sd-interactive--disabled.sd-interactive--inverted,.sd-interactive[disabled].sd-interactive--inverted,.sd-interactive[href=''].sd-interactive--inverted,.sd-prose a--disabled.sd-interactive--inverted,.sd-prose a[disabled].sd-interactive--inverted,.sd-prose a[href=''].sd-interactive--inverted{color:rgba(var(--sd-color-text-neutral-600,136 136 136))}.sd-interactive--disabled.sd-interactive--inverted:hover:not([disabled]),.sd-interactive[disabled].sd-interactive--inverted:hover:not([disabled]),.sd-interactive[href=''].sd-interactive--inverted:hover:not([disabled]),.sd-prose a--disabled.sd-interactive--inverted:hover:not([disabled]),.sd-prose a[disabled].sd-interactive--inverted:hover:not([disabled]),.sd-prose a[href=''].sd-interactive--inverted:hover:not([disabled]){color:rgba(var(--sd-color-text-neutral-600,136 136 136))}.sd-interactive--disabled.sd-interactive--inverted:active:not([disabled]),.sd-interactive[disabled].sd-interactive--inverted:active:not([disabled]),.sd-interactive[href=''].sd-interactive--inverted:active:not([disabled]),.sd-prose a--disabled.sd-interactive--inverted:active:not([disabled]),.sd-prose a[disabled].sd-interactive--inverted:active:not([disabled]),.sd-prose a[href=''].sd-interactive--inverted:active:not([disabled]){color:rgba(var(--sd-color-text-neutral-600,136 136 136))}.sd-interactive--inverted,.sd-prose--inverted a{color:rgba(var(--sd-color-text-white,255 255 255))}.sd-interactive--inverted:hover:not([disabled]),.sd-prose--inverted a:hover:not([disabled]){color:rgba(var(--sd-color-text-primary-200,224 233 243))}.sd-interactive--inverted:focus-visible,.sd-prose--inverted a:focus-visible{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}.sd-interactive--inverted:active:not([disabled]),.sd-prose--inverted a:active:not([disabled]){color:rgba(var(--sd-color-text-primary-400,153 171 208))}.sd-paragraph,.sd-prose p{font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height));--tw-leading:var(--leading-normal);line-height:var(--leading-normal);--tw-font-weight:var(--sd-font-weight-normal, 400);font-weight:var(--sd-font-weight-normal,400);color:rgba(var(--sd-color-text-black,24 24 24))}.sd-paragraph--size-sm,.sd-prose p--size-sm{font-size:var(--sd-text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-leading:var(--leading-normal);line-height:var(--leading-normal);--tw-font-weight:var(--sd-font-weight-normal, 400);font-weight:var(--sd-font-weight-normal,400);color:rgba(var(--sd-color-text-black,24 24 24))}.sd-paragraph--inverted,.sd-prose--inverted p{color:rgba(var(--sd-color-text-white,255 255 255))}.sd-headline,.sd-prose :is(h1, h2, h3, h4, h5){display:flex;--tw-font-weight:var(--sd-font-weight-bold, 600);font-weight:var(--sd-font-weight-bold,600);color:rgba(var(--sd-color-text-primary,0 53 142))}.sd-headline sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-7-0-1-icon{flex-shrink:0;font-size:3rem;color:rgba(var(--sd-color-text-primary,0 53 142))}@media (width >= 40rem){.sd-headline sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-7-0-1-icon{margin-top:var(--sd-spacing-2,.5rem)}}.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){gap:var(--sd-spacing-4,1rem);font-size:var(--sd-text-3xl,2rem);line-height:var(--tw-leading,var(--text-3xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);color:rgba(var(--sd-headline--3xl-onwards-color-text,0 53 142))}@media (width >= 40rem){.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){font-size:var(--sd-text-4xl,2.5rem);line-height:var(--tw-leading,var(--text-4xl--line-height))}}.sd-headline.sd-headline sd-7-0-1-icon,.sd-headline:is(h1):not(.sd-headline) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}@media (width >= 40rem){.sd-headline.sd-headline sd-7-0-1-icon,.sd-headline:is(h1):not(.sd-headline) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-7-0-1-icon{margin-top:0}}.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){gap:var(--sd-spacing-4,1rem);font-size:var(--sd-text-2xl,1.75rem);line-height:var(--tw-leading,var(--text-2xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);color:rgba(var(--sd-headline--3xl-onwards-color-text,0 53 142))}@media (width >= 40rem){.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){font-size:var(--sd-text-3xl,2rem);line-height:var(--tw-leading,var(--text-3xl--line-height))}}.sd-headline.sd-headline--size-3xl sd-7-0-1-icon,.sd-headline:is(h2):not(.sd-headline) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}@media (width >= 40rem){.sd-headline.sd-headline--size-3xl sd-7-0-1-icon,.sd-headline:is(h2):not(.sd-headline) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline.sd-headline--size-xl,.sd-headline:is(h3,h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline){gap:var(--sd-spacing-2,.5rem);color:rgba(var(--sd-color-text-black,24 24 24))}.sd-headline.sd-headline--size-base sd-7-0-1-icon,.sd-headline.sd-headline--size-lg sd-7-0-1-icon,.sd-headline.sd-headline--size-xl sd-7-0-1-icon,.sd-headline:is(h3,h4,h5):not(.sd-headline) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline) sd-7-0-1-icon{font-size:2rem}.sd-headline.sd-headline--size-xl,.sd-headline:is(h3):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline){font-size:var(--sd-text-xl,1.5rem);line-height:var(--tw-leading,var(--text-xl--line-height))}.sd-headline.sd-headline--size-xl sd-7-0-1-icon,.sd-headline:is(h3):not(.sd-headline) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-0\\.5,.125rem) * -1)}@media (width >= 40rem){.sd-headline.sd-headline--size-xl sd-7-0-1-icon,.sd-headline:is(h3):not(.sd-headline) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-0\\.5,.125rem) * -1)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline:is(h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4,h5):not(.sd-headline){--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.sd-headline.sd-headline--size-lg,.sd-headline:is(h4),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4){font-size:var(--sd-text-lg,1.25rem);line-height:var(--tw-leading,var(--text-lg--line-height))}.sd-headline.sd-headline--size-lg sd-7-0-1-icon,.sd-headline:is(h4) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-0\\.5,.125rem) * -1)}@media (width >= 40rem){.sd-headline.sd-headline--size-lg sd-7-0-1-icon,.sd-headline:is(h4) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-0\\.5,.125rem) * -1)}}.sd-headline.sd-headline--size-base,.sd-headline:is(h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline){font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height))}.sd-headline.sd-headline--size-base sd-7-0-1-icon,.sd-headline:is(h5):not(.sd-headline) sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-7-0-1-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}.sd-headline.sd-headline--size-base mark,.sd-headline:is(h5):not(.sd-headline) mark,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base mark,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) mark{color:inherit}.sd-headline--inline{display:inline-block}.sd-headline--inline.sd-headline sd-7-0-1-icon,.sd-headline--inline:is(h1):not(.sd-headline) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-2,.5rem) * -1);margin-right:var(--sd-spacing-2,.5rem);vertical-align:middle}.sd-headline--inline:is(.sd-headline--size-xl,.sd-headline--size-lg,.sd-headline--size-base) sd-7-0-1-icon{margin-right:var(--sd-spacing-0\\.5,.125rem)}.sd-headline--inline:is(.sd-headline--size-3xl,.sd-headline--size-xl) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-2,.5rem) * -1)}.sd-headline--inline:is(.sd-headline--size-lg) sd-7-0-1-icon{margin-top:calc(var(--sd-spacing-1,.25rem) * -1)}.sd-headline--inverted:not(#_),.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#_){color:rgba(var(--sd-color-text-white,255 255 255))}.sd-headline--inverted:not(#_) sd-7-0-1-icon,.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#_) sd-7-0-1-icon{color:rgba(var(--sd-color-text-white,255 255 255))}:host{--tw-blur:initial;--tw-border-style:solid;--tw-brightness:initial;--tw-contrast:initial;--tw-divide-y-reverse:0;--tw-drop-shadow:initial;--tw-duration:initial;--tw-ease:initial;--tw-font-weight:initial;--tw-gradient-from-position:0%;--tw-gradient-from:#0000;--tw-gradient-position:initial;--tw-gradient-stops:initial;--tw-gradient-to-position:100%;--tw-gradient-to:#0000;--tw-gradient-via-position:50%;--tw-gradient-via-stops:initial;--tw-gradient-via:#0000;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow:0 0 #0000;--tw-invert:initial;--tw-opacity:initial;--tw-ring-color:initial;--tw-ring-inset:initial;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-offset-width:0px;--tw-ring-shadow:0 0 #0000;--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-saturate:initial;--tw-sepia:initial;--tw-shadow-color:initial;--tw-shadow:0 0 #0000;--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--tw-space-x-reverse:0;--tw-tracking:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;box-sizing:border-box}:host *,:host ::after,:host ::before{box-sizing:inherit}[hidden]{display:none!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-scroll-snap-strictness{syntax:"*";inherits:false;initial-value:proximity}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}}@keyframes bounce-once{0%{transform:translateY(0)}50%{transform:translateY(-18px)}100%{transform:translateY(0)}}@keyframes grow{0%{width:0%}100%{width:100%}}@keyframes loader-color-current{0%,100%{color:currentColor}50%{color:currentColor;opacity:20%}}@keyframes loader-color-primary{0%,100%{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary,0 53 142))))}50%{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary,0 53 142))));opacity:20%}}@keyframes loader-color-white{0%,100%{color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white,255 255 255))))}50%{color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white,255 255 255))));opacity:20%}}@keyframes wave{0%,100%,40%{transform:initial}20%{transform:translateY(-4px)}}`],o([d()],f.prototype,"dir",2),o([d()],f.prototype,"lang",2);var ss,It=class extends f{constructor(){super(...arguments);this.svg="";this.label="";this.library="default";this.color="currentColor"}connectedCallback(){super.connectedCallback(),ho(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),uo(this)}onThemeChange(){this.setIcon()}getUrl(){let t=Ji(this.library);return this.name&&t?t.name==="_internal"||t.name==="sd-multi-theming"?t.resolver(this.name,this):t.resolver(this.name):this.src}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var i;let t=Ji(this.library),e=this.getUrl();if(ss||(ss=new DOMParser),e)try{let a=await fo(e);if(e===this.getUrl())if(a.ok){let l=ss.parseFromString(a.svg,"text/html").body.querySelector("svg");l!==null?((i=t==null?void 0:t.mutator)==null||i.call(t,l),this.svg=l.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch(a){this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return p`<sd-7-0-1-theme-listener></sd-7-0-1-theme-listener>${bi(this.svg)}`}};It.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
154
|
+
:host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:rgba(var(--sd-color-icon-fill-primary,var(--sd-color-primary)))}:host([name^='content/'][color=primary]) svg{color:rgba(var(--sd-color-icon-fill-content-icons-primary,var(--sd-color-primary)))}:host([color=white]) svg{color:rgba(var(--sd-color-text-white,255 255 255))}`],o([L()],It.prototype,"svg",2),o([d({reflect:!0})],It.prototype,"name",2),o([d()],It.prototype,"src",2),o([d()],It.prototype,"label",2),o([d({reflect:!0})],It.prototype,"library",2),o([d({reflect:!0})],It.prototype,"color",2),o([C("label")],It.prototype,"handleLabelChange",1),o([C(["name","src","library"])],It.prototype,"setIcon",1),It=o([E("sd-7-0-1-icon")],It);var go=new Map,on=new WeakMap;function an(s){return s!=null?s:{keyframes:[],options:{duration:0}}}function bo(s,r){return r.toLowerCase()==="rtl"?{keyframes:s.rtlKeyframes||s.keyframes,options:s.options}:s}function F(s,r){go.set(s,an(r))}function j(s,r,t){let e=on.get(s);if(e!=null&&e[r])return bo(e[r],t.dir);let i=go.get(r);return i?bo(i,t.dir):{keyframes:[],options:{duration:0}}}var yo=Symbol.for(""),nn=s=>{if((s==null?void 0:s.r)===yo)return s==null?void 0:s._$litStatic$};var st=(s,...r)=>({_$litStatic$:r.reduce((t,e,i)=>t+(a=>{if(a._$litStatic$!==void 0)return a._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${a}. Use 'unsafeStatic' to pass non-literal values, but
|
|
155
|
+
take care to ensure page security.`)})(e)+s[i+1],s[0]),r:yo}),vo=new Map,os=s=>(r,...t)=>{let e=t.length,i,a,n=[],l=[],h,u=0,m=!1;for(;u<e;){for(h=r[u];u<e&&(a=t[u],(i=nn(a))!==void 0);)h+=i+r[++u],m=!0;u!==e&&l.push(a),n.push(h),u++}if(u===e&&n.push(r[e]),m){let b=n.join("$$lit$$");(r=vo.get(b))===void 0&&(n.raw=n,vo.set(b,r=n)),t=l}return s(r,...t)},q=os(p),$h=os(Xs),Th=os(Zs);var as=new Set,mr=new Map,er,ns="ltr",ls="en",wo=typeof MutationObserver!="undefined"&&typeof document!="undefined"&&typeof document.documentElement!="undefined";if(wo){let s=new MutationObserver(xo);ns=document.documentElement.dir||"ltr",ls=document.documentElement.lang||navigator.language,s.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}function yi(...s){s.map(r=>{let t=r.$code.toLowerCase();mr.has(t)?mr.set(t,Object.assign(Object.assign({},mr.get(t)),r)):mr.set(t,r),er||(er=r)}),xo()}function xo(){wo&&(ns=document.documentElement.dir||"ltr",ls=document.documentElement.lang||navigator.language),[...as.keys()].map(s=>{typeof s.requestUpdate=="function"&&s.requestUpdate()})}var vi=class{constructor(r){this.host=r,this.host.addController(this)}hostConnected(){as.add(this.host)}hostDisconnected(){as.delete(this.host)}dir(){return`${this.host.dir||ns}`.toLowerCase()}lang(){return`${this.host.lang||ls}`.toLowerCase()}getTranslationData(r){var t,e;let i;try{i=new Intl.Locale(r.replace(/_/g,"-"))}catch(u){return{locale:void 0,language:"",region:"",primary:void 0,secondary:void 0}}let a=i.language.toLowerCase(),n=(e=(t=i.region)===null||t===void 0?void 0:t.toLowerCase())!==null&&e!==void 0?e:"",l=mr.get(`${a}-${n}`),h=mr.get(a);return{locale:i,language:a,region:n,primary:l,secondary:h}}exists(r,t){var e;let{primary:i,secondary:a}=this.getTranslationData((e=t.lang)!==null&&e!==void 0?e:this.lang());return t=Object.assign({includeFallback:!1},t),!!(i&&i[r]||a&&a[r]||t.includeFallback&&er&&er[r])}term(r,...t){let{primary:e,secondary:i}=this.getTranslationData(this.lang()),a;if(e&&e[r])a=e[r];else if(i&&i[r])a=i[r];else if(er&&er[r])a=er[r];else return console.error(`No translation found for: ${String(r)}`),String(r);return typeof a=="function"?a(...t):a}date(r,t){return r=new Date(r),new Intl.DateTimeFormat(this.lang(),t).format(r)}number(r,t){return r=Number(r),isNaN(r)?"":new Intl.NumberFormat(this.lang(),t).format(r)}relativeTime(r,t,e){return new Intl.RelativeTimeFormat(this.lang(),e).format(r,t)}};var ln={$code:"de",$name:"Deutsch",$dir:"ltr",audioPlayer:"Audio-Player",autoplay:"Autoplay",carousel:"Karussell",carouselContainer:s=>`Karussell hat ${s} folien`,clearEntry:"Eingabe l\xF6schen",close:"Schlie\xDFen",collapseNavigationItem:"Navigationspunkt reduzieren",comboboxDefaultPlaceholder:"Bitte suchen und ausw\xE4hlen",copy:"Kopieren",currentValue:"Aktueller Wert",datePicker:"Datumsauswahl",datePickerInfo:"Pfeiltasten zum Navigieren verwenden, Enter zum Ausw\xE4hlen. Bild-auf/Bild-ab \xE4ndert den Monat. Shift+Bild-auf/Bild-ab \xE4ndert das Jahr",datePickerRange:"Datumsbereichsauswahl",datePlaceholder:"Datum ausw\xE4hlen",dateRangePlaceholder:"Datumsbereich ausw\xE4hlen",endDateSelected:"Enddatum ausgew\xE4hlt",expandNavigationItem:"Navigationspunkt erweitern",fileButtonText:"Datei ausw\xE4hlen",fileButtonTextMultiple:"Dateien ausw\xE4hlen",fileDragDrop:"Datei ablegen oder ausw\xE4hlen",fileDragDropMultiple:"Dateien ablegen oder ausw\xE4hlen",folderButtonText:"Ordner ausw\xE4hlen",folderDragDrop:"Ordner hierher ziehen oder klicken, um zu suchen",goToSlide:(s,r)=>`Zu Folie ${s} von ${r} gehen`,hidePassword:"Passwort verbergen",invalidDate:"Ung\xFCltiges Datum",loading:"Wird geladen",maximum:"H\xF6chstwert",minimum:"Minimum",mute:"Stummschalten",nextMonth:"N\xE4chster Monat",nextSlide:"N\xE4chste Folie",nextYear:"N\xE4chstes Jahr",noResults:"Keine Ergebnisse gefunden",notifications:"Benachrichtigungen",numFilesSelected:(s,r,t)=>s===0?r?t?"Keine Ordner ausgew\xE4hlt":"Kein Ordner ausgew\xE4hlt":t?"Keine Dateien ausgew\xE4hlt":"Keine Datei ausgew\xE4hlt":r?`${s} Ordner ausgew\xE4hlt`:`${s} Datei${s===1?"":"en"} ausgew\xE4hlt`,numOptionsSelected:s=>s===0?"":`Optionen ausgew\xE4hlt (${s})`,open:"\xD6ffnen",openTranscript:"Transkript \xF6ffnen",optionGroup:"Optionsgruppe",pauseAudio:"Audio pausieren",playAudio:"Audio abspielen",playbackSpeed:"Wiedergabe Geschwindigkeit",playVideo:"Video abspielen",previousMonth:"Vorheriger Monat",previousSlide:"Vorherige Folie",previousYear:"Vorheriges Jahr",progress:"Fortschritt",remove:"Entfernen",removed:s=>`${s} entfernt`,resize:"Gr\xF6\xDFe \xE4ndern",scrolled:"Gescrollt",scrollToEnd:"Zum Ende scrollen",scrollToStart:"Zum Anfang scrollen",search:"Suchen",seconds:s=>`${s} Sekunden`,seekBar:"Schieberegler f\xFCr Suche",selectAColorFromTheScreen:"Farbe vom Bildschirm ausw\xE4hlen",selectDefaultPlaceholder:"Bitte ausw\xE4hlen",selected:"Ausgew\xE4hlt",selectionCleared:"Auswahl gel\xF6scht",showLess:"Weniger anzeigen",showMore:"Mehr anzeigen",showPassword:"Passwort anzeigen",slideNum:(s,r)=>`Folie ${s} von ${r}`,startAutoplay:"Automatische Wiedergabe starten",startDateSelected:"Startdatum ausgew\xE4hlt",stopAutoplay:"Automatische Wiedergabe stoppen",tagsSelected:"Optionen ausgew\xE4hlt",toggleColorFormat:"Farbformat umschalten",transcriptIsOpen:"Transkript ist offen",truncatedBreadcrumbs:"Verk\xFCrzter Navigationspfad",unmute:"Unmute"};yi(ln);var dn={$code:"en",$name:"English",$dir:"ltr",audioPlayer:"Audio Player",autoplay:"Autoplay",carousel:"Carousel",carouselContainer:s=>`Carousel has ${s} slides`,clearEntry:"Clear entry",close:"Close",collapseNavigationItem:"Collapse navigation item",comboboxDefaultPlaceholder:"Please search and select",copy:"Copy",currentValue:"Current value",datePicker:"Date picker",datePickerInfo:"Use arrow keys to navigate, Enter to select. Page Up/Down changes month. Shift+Page Up/Down changes year",datePickerRange:"Date range picker",datePlaceholder:"Select date",dateRangePlaceholder:"Select date range",endDateSelected:"End date selected",expandNavigationItem:"Expand navigation item",fileButtonText:"Select file",fileButtonTextMultiple:"Select files",fileDragDrop:"Drop or select file",fileDragDropMultiple:"Drop or select files",folderButtonText:"Select folder",folderDragDrop:"Drop or select folder",goToSlide:(s,r)=>`Go to slide ${s} of ${r}`,hidePassword:"Hide password",invalidDate:"Invalid date",loading:"Loading",maximum:"Maximum",minimum:"Minimum",mute:"Mute",nextMonth:"Next month",nextSlide:"Next slide",nextYear:"Next year",noResults:"No results found",notifications:"Notifications",numFilesSelected:(s,r,t)=>s===0?r?t?"No folders selected":"No folder selected":t?"No files selected":"No file selected":r?`${s} folder${s===1?"":"s"} selected`:`${s} files selected`,numOptionsSelected:s=>s===0?"":`Options selected (${s})`,open:"Open",openTranscript:"Open transcript",optionGroup:"Option Group",pauseAudio:"Pause Audio",playAudio:"Play Audio",playbackSpeed:"Playback Speed",playVideo:"Play Video",previousMonth:"Previous month",previousSlide:"Previous slide",previousYear:"Previous year",progress:"Progress",remove:"Remove",removed:s=>`${s} removed`,resize:"Resize",scrolled:"Scrolled",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",search:"Search",seconds:s=>`${s} seconds`,seekBar:"Seek bar",selectAColorFromTheScreen:"Select a color from the screen",selectDefaultPlaceholder:"Please select",selected:"Selected",selectionCleared:"Selection cleared",showLess:"Show less",showMore:"Show more",showPassword:"Show password",slideNum:(s,r)=>`Slide ${s} of ${r}`,startAutoplay:"Start Automatic Playback",startDateSelected:"Start date selected",stopAutoplay:"Stop Automatic Playback",tagsSelected:"Options selected",toggleColorFormat:"Toggle color format",transcriptIsOpen:"Transcript is open",truncatedBreadcrumbs:"Truncated breadcrumbs",unmute:"Unmute"};yi(dn);var D=class extends vi{constructor(t){super(t);this._instanceTranslations=null}get instanceTranslations(){return this._instanceTranslations}set instanceTranslations(t){this._instanceTranslations=t,this.host.requestUpdate()}hostConnected(){super.hostConnected(),this.setCustomLocalizationFromData(),new MutationObserver(()=>this.setCustomLocalizationFromData()).observe(this.host,{attributes:!0,attributeFilter:["data-custom-localization"]})}hostDisconnected(){super.hostDisconnected()}setCustomLocalizationFromData(){let t=this.host.dataset.customLocalization;if(t)try{this.setCustomLocalization(JSON.parse(t))}catch(e){console.error("Error parsing custom-localization attribute:",e)}}term(t,...e){var a;let i=(a=this.instanceTranslations)==null?void 0:a[t];return i?typeof i=="function"?i(...e):i:super.term(t,...e)}setCustomLocalization(t){this.instanceTranslations=K(K({},this.instanceTranslations),t)}};function Q(s,r){return new Promise(t=>{function e(i){i.target===s&&(s.removeEventListener(r,e),t())}s.addEventListener(r,e)})}function c(){let s,r="",t=0;for(;t<arguments.length;)(s=arguments[t++])&&typeof s=="string"&&(r&&(r+=" "),r+=s);return r}var Pt=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(t=>{for(let e of t)e.type==="attributes"&&e.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.accordionObserver)==null||t.disconnect()}handleSummaryClick(t){t.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.open?this.hide():this.show()),(t.key==="ArrowUp"||t.key==="ArrowLeft")&&(t.preventDefault(),this.hide()),(t.key==="ArrowDown"||t.key==="ArrowRight")&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await rt(this.body),this.body.hidden=!1;let{keyframes:e,options:i}=j(this,"accordion.show",{dir:this.localize.dir()});await W(this.body,ke(e,this.body.scrollHeight),i),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await rt(this.body);let{keyframes:e,options:i}=j(this,"accordion.hide",{dir:this.localize.dir()});await W(this.body,ke(e,this.body.scrollHeight),i),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,Q(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Q(this,"sd-after-hide")}render(){return q`<details part="base"><summary part="header" id="header" class="${c("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-7-0-1-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 relative group transition-colors ease-in-out duration-fast hover:sd-7-0-1-accordion--hover-color-background")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${c(!this.open&&"opacity-0","w-1 sd-7-0-1-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="${c(this.open?"sd-7-0-1-accordion--open-color-text":"sd-7-0-1-accordion-color-text","flex flex-auto items-center text-left")}">${this.summary}</slot><span part="summary-icon" class="${c("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${c(this.open&&"hidden")}"><sd-7-0-1-icon library="_internal" name="chevron-bottom"></sd-7-0-1-icon></slot><slot name="collapse-icon" class="${c(!this.open&&"hidden")}"><sd-7-0-1-icon library="_internal" name="chevron-bottom"></sd-7-0-1-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};Pt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
156
|
+
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-color:rgba(var(--sd-accordion-color-border,var(--sd-accordion-color-text)));border-block-width:var(--sd-accordion-border-width)}[part=summary-icon] sd-7-0-1-icon{color:rgb(var(--sd-accordion-color-icon-fill))}`],o([g('[part="base"]')],Pt.prototype,"accordion",2),o([g('[part="header"]')],Pt.prototype,"header",2),o([g('[part="content"]')],Pt.prototype,"body",2),o([d({type:Boolean,reflect:!0})],Pt.prototype,"open",2),o([d({reflect:!0})],Pt.prototype,"summary",2),o([C("open",{waitUntilFirstUpdate:!0})],Pt.prototype,"handleOpenChange",1),Pt=o([E("sd-7-0-1-accordion")],Pt);F("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});var Ce=class extends f{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=t=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(e=>{e!==t.target&&e.parentNode===t.target.parentNode&&e.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return p`<div part="base"><slot></slot></div>`}};Ce.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
157
|
+
:host{display:block}::slotted(sd-7-0-1-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],o([ur({selector:"sd-7-0-1-accordion"})],Ce.prototype,"_accordionsInDefaultSlot",2),o([d({attribute:"close-others",type:Boolean,reflect:!0})],Ce.prototype,"closeOthers",2),Ce=o([E("sd-7-0-1-accordion-group")],Ce);var Hr={};Aa(Hr,{backInDown:()=>Cn,backInLeft:()=>En,backInRight:()=>$n,backInUp:()=>Tn,backOutDown:()=>Ln,backOutLeft:()=>zn,backOutRight:()=>Mn,backOutUp:()=>Sn,bounce:()=>cn,bounceIn:()=>Dn,bounceInDown:()=>_n,bounceInLeft:()=>An,bounceInRight:()=>On,bounceInUp:()=>In,bounceOut:()=>Pn,bounceOutDown:()=>Vn,bounceOutLeft:()=>Hn,bounceOutRight:()=>Fn,bounceOutUp:()=>Rn,easings:()=>ds,fadeIn:()=>Bn,fadeInBottomLeft:()=>Nn,fadeInBottomRight:()=>Un,fadeInDown:()=>qn,fadeInDownBig:()=>Kn,fadeInLeft:()=>jn,fadeInLeftBig:()=>Wn,fadeInRight:()=>Yn,fadeInRightBig:()=>Xn,fadeInTopLeft:()=>Zn,fadeInTopRight:()=>Gn,fadeInUp:()=>Qn,fadeInUpBig:()=>Jn,fadeOut:()=>tl,fadeOutBottomLeft:()=>el,fadeOutBottomRight:()=>rl,fadeOutDown:()=>il,fadeOutDownBig:()=>sl,fadeOutLeft:()=>ol,fadeOutLeftBig:()=>al,fadeOutRight:()=>nl,fadeOutRightBig:()=>ll,fadeOutTopLeft:()=>dl,fadeOutTopRight:()=>cl,fadeOutUp:()=>hl,fadeOutUpBig:()=>ul,flash:()=>hn,flip:()=>pl,flipInX:()=>ml,flipInY:()=>fl,flipOutX:()=>bl,flipOutY:()=>gl,headShake:()=>un,heartBeat:()=>pn,hinge:()=>Rl,jackInTheBox:()=>Bl,jello:()=>mn,lightSpeedInLeft:()=>vl,lightSpeedInRight:()=>yl,lightSpeedOutLeft:()=>wl,lightSpeedOutRight:()=>xl,pulse:()=>fn,rollIn:()=>Nl,rollOut:()=>Ul,rotateIn:()=>kl,rotateInDownLeft:()=>Cl,rotateInDownRight:()=>El,rotateInUpLeft:()=>$l,rotateInUpRight:()=>Tl,rotateOut:()=>Ll,rotateOutDownLeft:()=>zl,rotateOutDownRight:()=>Ml,rotateOutUpLeft:()=>Sl,rotateOutUpRight:()=>Dl,rubberBand:()=>bn,shake:()=>gn,shakeX:()=>vn,shakeY:()=>yn,slideInDown:()=>_l,slideInLeft:()=>Al,slideInRight:()=>Ol,slideInUp:()=>Il,slideOutDown:()=>Pl,slideOutLeft:()=>Vl,slideOutRight:()=>Hl,slideOutUp:()=>Fl,swing:()=>wn,tada:()=>xn,wobble:()=>kn,zoomIn:()=>ql,zoomInDown:()=>Kl,zoomInLeft:()=>jl,zoomInRight:()=>Wl,zoomInUp:()=>Yl,zoomOut:()=>Xl,zoomOutDown:()=>Zl,zoomOutLeft:()=>Gl,zoomOutRight:()=>Ql,zoomOutUp:()=>Jl});var cn=[{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0)"},{offset:.2,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0)"},{offset:.4,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",transform:"translate3d(0, -30px, 0) scaleY(1.1)"},{offset:.43,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",transform:"translate3d(0, -30px, 0) scaleY(1.1)"},{offset:.53,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0)"},{offset:.7,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",transform:"translate3d(0, -15px, 0) scaleY(1.05)"},{offset:.8,"transition-timing-function":"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0) scaleY(0.95)"},{offset:.9,transform:"translate3d(0, -4px, 0) scaleY(1.02)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",transform:"translate3d(0, 0, 0)"}];var hn=[{offset:0,opacity:"1"},{offset:.25,opacity:"0"},{offset:.5,opacity:"1"},{offset:.75,opacity:"0"},{offset:1,opacity:"1"}];var un=[{offset:0,transform:"translateX(0)"},{offset:.065,transform:"translateX(-6px) rotateY(-9deg)"},{offset:.185,transform:"translateX(5px) rotateY(7deg)"},{offset:.315,transform:"translateX(-3px) rotateY(-5deg)"},{offset:.435,transform:"translateX(2px) rotateY(3deg)"},{offset:.5,transform:"translateX(0)"}];var pn=[{offset:0,transform:"scale(1)"},{offset:.14,transform:"scale(1.3)"},{offset:.28,transform:"scale(1)"},{offset:.42,transform:"scale(1.3)"},{offset:.7,transform:"scale(1)"}];var mn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.111,transform:"translate3d(0, 0, 0)"},{offset:.222,transform:"skewX(-12.5deg) skewY(-12.5deg)"},{offset:.33299999999999996,transform:"skewX(6.25deg) skewY(6.25deg)"},{offset:.444,transform:"skewX(-3.125deg) skewY(-3.125deg)"},{offset:.555,transform:"skewX(1.5625deg) skewY(1.5625deg)"},{offset:.6659999999999999,transform:"skewX(-0.78125deg) skewY(-0.78125deg)"},{offset:.777,transform:"skewX(0.390625deg) skewY(0.390625deg)"},{offset:.888,transform:"skewX(-0.1953125deg) skewY(-0.1953125deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var fn=[{offset:0,transform:"scale3d(1, 1, 1)"},{offset:.5,transform:"scale3d(1.05, 1.05, 1.05)"},{offset:1,transform:"scale3d(1, 1, 1)"}];var bn=[{offset:0,transform:"scale3d(1, 1, 1)"},{offset:.3,transform:"scale3d(1.25, 0.75, 1)"},{offset:.4,transform:"scale3d(0.75, 1.25, 1)"},{offset:.5,transform:"scale3d(1.15, 0.85, 1)"},{offset:.65,transform:"scale3d(0.95, 1.05, 1)"},{offset:.75,transform:"scale3d(1.05, 0.95, 1)"},{offset:1,transform:"scale3d(1, 1, 1)"}];var gn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.1,transform:"translate3d(-10px, 0, 0)"},{offset:.2,transform:"translate3d(10px, 0, 0)"},{offset:.3,transform:"translate3d(-10px, 0, 0)"},{offset:.4,transform:"translate3d(10px, 0, 0)"},{offset:.5,transform:"translate3d(-10px, 0, 0)"},{offset:.6,transform:"translate3d(10px, 0, 0)"},{offset:.7,transform:"translate3d(-10px, 0, 0)"},{offset:.8,transform:"translate3d(10px, 0, 0)"},{offset:.9,transform:"translate3d(-10px, 0, 0)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var vn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.1,transform:"translate3d(-10px, 0, 0)"},{offset:.2,transform:"translate3d(10px, 0, 0)"},{offset:.3,transform:"translate3d(-10px, 0, 0)"},{offset:.4,transform:"translate3d(10px, 0, 0)"},{offset:.5,transform:"translate3d(-10px, 0, 0)"},{offset:.6,transform:"translate3d(10px, 0, 0)"},{offset:.7,transform:"translate3d(-10px, 0, 0)"},{offset:.8,transform:"translate3d(10px, 0, 0)"},{offset:.9,transform:"translate3d(-10px, 0, 0)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var yn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.1,transform:"translate3d(0, -10px, 0)"},{offset:.2,transform:"translate3d(0, 10px, 0)"},{offset:.3,transform:"translate3d(0, -10px, 0)"},{offset:.4,transform:"translate3d(0, 10px, 0)"},{offset:.5,transform:"translate3d(0, -10px, 0)"},{offset:.6,transform:"translate3d(0, 10px, 0)"},{offset:.7,transform:"translate3d(0, -10px, 0)"},{offset:.8,transform:"translate3d(0, 10px, 0)"},{offset:.9,transform:"translate3d(0, -10px, 0)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var wn=[{offset:.2,transform:"rotate3d(0, 0, 1, 15deg)"},{offset:.4,transform:"rotate3d(0, 0, 1, -10deg)"},{offset:.6,transform:"rotate3d(0, 0, 1, 5deg)"},{offset:.8,transform:"rotate3d(0, 0, 1, -5deg)"},{offset:1,transform:"rotate3d(0, 0, 1, 0deg)"}];var xn=[{offset:0,transform:"scale3d(1, 1, 1)"},{offset:.1,transform:"scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)"},{offset:.2,transform:"scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)"},{offset:.3,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:.4,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)"},{offset:.5,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:.6,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)"},{offset:.7,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:.8,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)"},{offset:.9,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:1,transform:"scale3d(1, 1, 1)"}];var kn=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.15,transform:"translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg)"},{offset:.3,transform:"translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg)"},{offset:.45,transform:"translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg)"},{offset:.6,transform:"translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg)"},{offset:.75,transform:"translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Cn=[{offset:0,transform:"translateY(-1200px) scale(0.7)",opacity:"0.7"},{offset:.8,transform:"translateY(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"scale(1)",opacity:"1"}];var En=[{offset:0,transform:"translateX(-2000px) scale(0.7)",opacity:"0.7"},{offset:.8,transform:"translateX(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"scale(1)",opacity:"1"}];var $n=[{offset:0,transform:"translateX(2000px) scale(0.7)",opacity:"0.7"},{offset:.8,transform:"translateX(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"scale(1)",opacity:"1"}];var Tn=[{offset:0,transform:"translateY(1200px) scale(0.7)",opacity:"0.7"},{offset:.8,transform:"translateY(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"scale(1)",opacity:"1"}];var Ln=[{offset:0,transform:"scale(1)",opacity:"1"},{offset:.2,transform:"translateY(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"translateY(700px) scale(0.7)",opacity:"0.7"}];var zn=[{offset:0,transform:"scale(1)",opacity:"1"},{offset:.2,transform:"translateX(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"translateX(-2000px) scale(0.7)",opacity:"0.7"}];var Mn=[{offset:0,transform:"scale(1)",opacity:"1"},{offset:.2,transform:"translateX(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"translateX(2000px) scale(0.7)",opacity:"0.7"}];var Sn=[{offset:0,transform:"scale(1)",opacity:"1"},{offset:.2,transform:"translateY(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"translateY(-700px) scale(0.7)",opacity:"0.7"}];var Dn=[{offset:0,opacity:"0",transform:"scale3d(0.3, 0.3, 0.3)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.2,transform:"scale3d(1.1, 1.1, 1.1)"},{offset:.2,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.4,transform:"scale3d(0.9, 0.9, 0.9)"},{offset:.4,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"scale3d(1.03, 1.03, 1.03)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.8,transform:"scale3d(0.97, 0.97, 0.97)"},{offset:.8,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,opacity:"1",transform:"scale3d(1, 1, 1)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var _n=[{offset:0,opacity:"0",transform:"translate3d(0, -3000px, 0) scaleY(3)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"translate3d(0, 25px, 0) scaleY(0.9)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.75,transform:"translate3d(0, -10px, 0) scaleY(0.95)"},{offset:.75,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.9,transform:"translate3d(0, 5px, 0) scaleY(0.985)"},{offset:.9,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,transform:"translate3d(0, 0, 0)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var An=[{offset:0,opacity:"0",transform:"translate3d(-3000px, 0, 0) scaleX(3)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"translate3d(25px, 0, 0) scaleX(1)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.75,transform:"translate3d(-10px, 0, 0) scaleX(0.98)"},{offset:.75,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.9,transform:"translate3d(5px, 0, 0) scaleX(0.995)"},{offset:.9,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,transform:"translate3d(0, 0, 0)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var On=[{offset:0,opacity:"0",transform:"translate3d(3000px, 0, 0) scaleX(3)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"translate3d(-25px, 0, 0) scaleX(1)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.75,transform:"translate3d(10px, 0, 0) scaleX(0.98)"},{offset:.75,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.9,transform:"translate3d(-5px, 0, 0) scaleX(0.995)"},{offset:.9,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,transform:"translate3d(0, 0, 0)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var In=[{offset:0,opacity:"0",transform:"translate3d(0, 3000px, 0) scaleY(5)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"translate3d(0, -20px, 0) scaleY(0.9)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.75,transform:"translate3d(0, 10px, 0) scaleY(0.95)"},{offset:.75,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.9,transform:"translate3d(0, -5px, 0) scaleY(0.985)"},{offset:.9,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,transform:"translate3d(0, 0, 0)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];var Pn=[{offset:.2,transform:"scale3d(0.9, 0.9, 0.9)"},{offset:.5,opacity:"1",transform:"scale3d(1.1, 1.1, 1.1)"},{offset:.55,opacity:"1",transform:"scale3d(1.1, 1.1, 1.1)"},{offset:1,opacity:"0",transform:"scale3d(0.3, 0.3, 0.3)"}];var Vn=[{offset:.2,transform:"translate3d(0, 10px, 0) scaleY(0.985)"},{offset:.4,opacity:"1",transform:"translate3d(0, -20px, 0) scaleY(0.9)"},{offset:.45,opacity:"1",transform:"translate3d(0, -20px, 0) scaleY(0.9)"},{offset:1,opacity:"0",transform:"translate3d(0, 2000px, 0) scaleY(3)"}];var Hn=[{offset:.2,opacity:"1",transform:"translate3d(20px, 0, 0) scaleX(0.9)"},{offset:1,opacity:"0",transform:"translate3d(-2000px, 0, 0) scaleX(2)"}];var Fn=[{offset:.2,opacity:"1",transform:"translate3d(-20px, 0, 0) scaleX(0.9)"},{offset:1,opacity:"0",transform:"translate3d(2000px, 0, 0) scaleX(2)"}];var Rn=[{offset:.2,transform:"translate3d(0, -10px, 0) scaleY(0.985)"},{offset:.4,opacity:"1",transform:"translate3d(0, 20px, 0) scaleY(0.9)"},{offset:.45,opacity:"1",transform:"translate3d(0, 20px, 0) scaleY(0.9)"},{offset:1,opacity:"0",transform:"translate3d(0, -2000px, 0) scaleY(3)"}];var Bn=[{offset:0,opacity:"0"},{offset:1,opacity:"1"}];var Nn=[{offset:0,opacity:"0",transform:"translate3d(-100%, 100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Un=[{offset:0,opacity:"0",transform:"translate3d(100%, 100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var qn=[{offset:0,opacity:"0",transform:"translate3d(0, -100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Kn=[{offset:0,opacity:"0",transform:"translate3d(0, -2000px, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var jn=[{offset:0,opacity:"0",transform:"translate3d(-100%, 0, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Wn=[{offset:0,opacity:"0",transform:"translate3d(-2000px, 0, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Yn=[{offset:0,opacity:"0",transform:"translate3d(100%, 0, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Xn=[{offset:0,opacity:"0",transform:"translate3d(2000px, 0, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Zn=[{offset:0,opacity:"0",transform:"translate3d(-100%, -100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Gn=[{offset:0,opacity:"0",transform:"translate3d(100%, -100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Qn=[{offset:0,opacity:"0",transform:"translate3d(0, 100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Jn=[{offset:0,opacity:"0",transform:"translate3d(0, 2000px, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var tl=[{offset:0,opacity:"1"},{offset:1,opacity:"0"}];var el=[{offset:0,opacity:"1",transform:"translate3d(0, 0, 0)"},{offset:1,opacity:"0",transform:"translate3d(-100%, 100%, 0)"}];var rl=[{offset:0,opacity:"1",transform:"translate3d(0, 0, 0)"},{offset:1,opacity:"0",transform:"translate3d(100%, 100%, 0)"}];var il=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(0, 100%, 0)"}];var sl=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(0, 2000px, 0)"}];var ol=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(-100%, 0, 0)"}];var al=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(-2000px, 0, 0)"}];var nl=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(100%, 0, 0)"}];var ll=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(2000px, 0, 0)"}];var dl=[{offset:0,opacity:"1",transform:"translate3d(0, 0, 0)"},{offset:1,opacity:"0",transform:"translate3d(-100%, -100%, 0)"}];var cl=[{offset:0,opacity:"1",transform:"translate3d(0, 0, 0)"},{offset:1,opacity:"0",transform:"translate3d(100%, -100%, 0)"}];var hl=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(0, -100%, 0)"}];var ul=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(0, -2000px, 0)"}];var pl=[{offset:0,transform:"perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg)",easing:"ease-out"},{offset:.4,transform:`perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
|
|
158
158
|
rotate3d(0, 1, 0, -190deg)`,easing:"ease-out"},{offset:.5,transform:`perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
|
|
159
159
|
rotate3d(0, 1, 0, -170deg)`,easing:"ease-in"},{offset:.8,transform:`perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)
|
|
160
|
-
rotate3d(0, 1, 0, 0deg)`,easing:"ease-in"},{offset:1,transform:"perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg)",easing:"ease-in"}];var ml=[{offset:0,transform:"perspective(400px) rotate3d(1, 0, 0, 90deg)",easing:"ease-in",opacity:"0"},{offset:.4,transform:"perspective(400px) rotate3d(1, 0, 0, -20deg)",easing:"ease-in"},{offset:.6,transform:"perspective(400px) rotate3d(1, 0, 0, 10deg)",opacity:"1"},{offset:.8,transform:"perspective(400px) rotate3d(1, 0, 0, -5deg)"},{offset:1,transform:"perspective(400px)"}];var fl=[{offset:0,transform:"perspective(400px) rotate3d(0, 1, 0, 90deg)",easing:"ease-in",opacity:"0"},{offset:.4,transform:"perspective(400px) rotate3d(0, 1, 0, -20deg)",easing:"ease-in"},{offset:.6,transform:"perspective(400px) rotate3d(0, 1, 0, 10deg)",opacity:"1"},{offset:.8,transform:"perspective(400px) rotate3d(0, 1, 0, -5deg)"},{offset:1,transform:"perspective(400px)"}];var bl=[{offset:0,transform:"perspective(400px)"},{offset:.3,transform:"perspective(400px) rotate3d(1, 0, 0, -20deg)",opacity:"1"},{offset:1,transform:"perspective(400px) rotate3d(1, 0, 0, 90deg)",opacity:"0"}];var gl=[{offset:0,transform:"perspective(400px)"},{offset:.3,transform:"perspective(400px) rotate3d(0, 1, 0, -15deg)",opacity:"1"},{offset:1,transform:"perspective(400px) rotate3d(0, 1, 0, 90deg)",opacity:"0"}];var vl=[{offset:0,transform:"translate3d(-100%, 0, 0) skewX(30deg)",opacity:"0"},{offset:.6,transform:"skewX(-20deg)",opacity:"1"},{offset:.8,transform:"skewX(5deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var yl=[{offset:0,transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:"0"},{offset:.6,transform:"skewX(20deg)",opacity:"1"},{offset:.8,transform:"skewX(-5deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var wl=[{offset:0,opacity:"1"},{offset:1,transform:"translate3d(-100%, 0, 0) skewX(-30deg)",opacity:"0"}];var xl=[{offset:0,opacity:"1"},{offset:1,transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:"0"}];var kl=[{offset:0,transform:"rotate3d(0, 0, 1, -200deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var Cl=[{offset:0,transform:"rotate3d(0, 0, 1, -45deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var $l=[{offset:0,transform:"rotate3d(0, 0, 1, 45deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var El=[{offset:0,transform:"rotate3d(0, 0, 1, 45deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var Tl=[{offset:0,transform:"rotate3d(0, 0, 1, -90deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var Ll=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, 200deg)",opacity:"0"}];var zl=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, 45deg)",opacity:"0"}];var Ml=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, -45deg)",opacity:"0"}];var Sl=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, -45deg)",opacity:"0"}];var Dl=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, 90deg)",opacity:"0"}];var _l=[{offset:0,transform:"translate3d(0, -100%, 0)",visibility:"visible"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Al=[{offset:0,transform:"translate3d(-100%, 0, 0)",visibility:"visible"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Ol=[{offset:0,transform:"translate3d(100%, 0, 0)",visibility:"visible"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Il=[{offset:0,transform:"translate3d(0, 100%, 0)",visibility:"visible"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Pl=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:1,visibility:"hidden",transform:"translate3d(0, 100%, 0)"}];var Vl=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:1,visibility:"hidden",transform:"translate3d(-100%, 0, 0)"}];var Hl=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:1,visibility:"hidden",transform:"translate3d(100%, 0, 0)"}];var Fl=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:1,visibility:"hidden",transform:"translate3d(0, -100%, 0)"}];var Rl=[{offset:0,easing:"ease-in-out"},{offset:.2,transform:"rotate3d(0, 0, 1, 80deg)",easing:"ease-in-out"},{offset:.4,transform:"rotate3d(0, 0, 1, 60deg)",easing:"ease-in-out",opacity:"1"},{offset:.6,transform:"rotate3d(0, 0, 1, 80deg)",easing:"ease-in-out"},{offset:.8,transform:"rotate3d(0, 0, 1, 60deg)",easing:"ease-in-out",opacity:"1"},{offset:1,transform:"translate3d(0, 700px, 0)",opacity:"0"}];var Bl=[{offset:0,opacity:"0",transform:"scale(0.1) rotate(30deg)","transform-origin":"center bottom"},{offset:.5,transform:"rotate(-10deg)"},{offset:.7,transform:"rotate(3deg)"},{offset:1,opacity:"1",transform:"scale(1)"}];var Nl=[{offset:0,opacity:"0",transform:"translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Ul=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"}];var ql=[{offset:0,opacity:"0",transform:"scale3d(0.3, 0.3, 0.3)"},{offset:.5,opacity:"1"}];var Kl=[{offset:0,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:.6,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var jl=[{offset:0,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:.6,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var Wl=[{offset:0,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:.6,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var Yl=[{offset:0,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:.6,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var Xl=[{offset:0,opacity:"1"},{offset:.5,opacity:"0",transform:"scale3d(0.3, 0.3, 0.3)"},{offset:1,opacity:"0"}];var Zl=[{offset:.4,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:1,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var Gl=[{offset:.4,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"},{offset:1,opacity:"0",transform:"scale(0.1) translate3d(-2000px, 0, 0)"}];var Ql=[{offset:.4,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"},{offset:1,opacity:"0",transform:"scale(0.1) translate3d(2000px, 0, 0)"}];var Jl=[{offset:.4,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:1,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var ds={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",easeInSine:"cubic-bezier(0.47, 0, 0.745, 0.715)",easeOutSine:"cubic-bezier(0.39, 0.575, 0.565, 1)",easeInOutSine:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeInQuad:"cubic-bezier(0.55, 0.085, 0.68, 0.53)",easeOutQuad:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",easeInOutQuad:"cubic-bezier(0.455, 0.03, 0.515, 0.955)",easeInCubic:"cubic-bezier(0.55, 0.055, 0.675, 0.19)",easeOutCubic:"cubic-bezier(0.215, 0.61, 0.355, 1)",easeInOutCubic:"cubic-bezier(0.645, 0.045, 0.355, 1)",easeInQuart:"cubic-bezier(0.895, 0.03, 0.685, 0.22)",easeOutQuart:"cubic-bezier(0.165, 0.84, 0.44, 1)",easeInOutQuart:"cubic-bezier(0.77, 0, 0.175, 1)",easeInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",easeOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutQuint:"cubic-bezier(0.86, 0, 0.07, 1)",easeInExpo:"cubic-bezier(0.95, 0.05, 0.795, 0.035)",easeOutExpo:"cubic-bezier(0.19, 1, 0.22, 1)",easeInOutExpo:"cubic-bezier(1, 0, 0, 1)",easeInCirc:"cubic-bezier(0.6, 0.04, 0.98, 0.335)",easeOutCirc:"cubic-bezier(0.075, 0.82, 0.165, 1)",easeInOutCirc:"cubic-bezier(0.785, 0.135, 0.15, 0.86)",easeInBack:"cubic-bezier(0.6, -0.28, 0.735, 0.045)",easeOutBack:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",easeInOutBack:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"};var dt=class extends f{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var t,e;return(e=(t=this.animation)==null?void 0:t.currentTime)!=null?e:0}set currentTime(t){this.animation&&(this.animation.currentTime=t)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var n,l;let t=(n=Hr.easings[this.easing])!=null?n:this.easing,e=(l=this.keyframes)!=null?l:Hr[this.name],a=(await this.defaultSlot).assignedElements()[0];return!a||!e?!1:(this.destroyAnimation(),this.animation=a.animate(e,{delay:this.delay,direction:this.direction,duration:this.duration,easing:t,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var t;(t=this.animation)==null||t.cancel()}finish(){var t;(t=this.animation)==null||t.finish()}render(){return p`<slot @slotchange="${this.handleSlotChange}"></slot>`}};dt.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
161
|
-
:host{display:contents}`],o([mo("slot")],dt.prototype,"defaultSlot",2),o([d()],dt.prototype,"name",2),o([d({type:Boolean,reflect:!0})],dt.prototype,"play",2),o([d({type:Number})],dt.prototype,"delay",2),o([d()],dt.prototype,"direction",2),o([d({type:Number})],dt.prototype,"duration",2),o([d()],dt.prototype,"easing",2),o([d({attribute:"end-delay",type:Number})],dt.prototype,"endDelay",2),o([d()],dt.prototype,"fill",2),o([d({type:Number})],dt.prototype,"iterations",2),o([d({attribute:"iteration-start",type:Number})],dt.prototype,"iterationStart",2),o([d({attribute:!1})],dt.prototype,"keyframes",2),o([d({attribute:"playback-rate",type:Number})],dt.prototype,"playbackRate",2),o([
|
|
162
|
-
:host{display:inline-block;width:1em;height:1em}.dot:nth-child(2){animation-delay:.1s}.dot:nth-child(1){animation-delay:.2s}`],o([d({type:String,reflect:!0})],Pe.prototype,"color",2),Pe=o([
|
|
160
|
+
rotate3d(0, 1, 0, 0deg)`,easing:"ease-in"},{offset:1,transform:"perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg)",easing:"ease-in"}];var ml=[{offset:0,transform:"perspective(400px) rotate3d(1, 0, 0, 90deg)",easing:"ease-in",opacity:"0"},{offset:.4,transform:"perspective(400px) rotate3d(1, 0, 0, -20deg)",easing:"ease-in"},{offset:.6,transform:"perspective(400px) rotate3d(1, 0, 0, 10deg)",opacity:"1"},{offset:.8,transform:"perspective(400px) rotate3d(1, 0, 0, -5deg)"},{offset:1,transform:"perspective(400px)"}];var fl=[{offset:0,transform:"perspective(400px) rotate3d(0, 1, 0, 90deg)",easing:"ease-in",opacity:"0"},{offset:.4,transform:"perspective(400px) rotate3d(0, 1, 0, -20deg)",easing:"ease-in"},{offset:.6,transform:"perspective(400px) rotate3d(0, 1, 0, 10deg)",opacity:"1"},{offset:.8,transform:"perspective(400px) rotate3d(0, 1, 0, -5deg)"},{offset:1,transform:"perspective(400px)"}];var bl=[{offset:0,transform:"perspective(400px)"},{offset:.3,transform:"perspective(400px) rotate3d(1, 0, 0, -20deg)",opacity:"1"},{offset:1,transform:"perspective(400px) rotate3d(1, 0, 0, 90deg)",opacity:"0"}];var gl=[{offset:0,transform:"perspective(400px)"},{offset:.3,transform:"perspective(400px) rotate3d(0, 1, 0, -15deg)",opacity:"1"},{offset:1,transform:"perspective(400px) rotate3d(0, 1, 0, 90deg)",opacity:"0"}];var vl=[{offset:0,transform:"translate3d(-100%, 0, 0) skewX(30deg)",opacity:"0"},{offset:.6,transform:"skewX(-20deg)",opacity:"1"},{offset:.8,transform:"skewX(5deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var yl=[{offset:0,transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:"0"},{offset:.6,transform:"skewX(20deg)",opacity:"1"},{offset:.8,transform:"skewX(-5deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];var wl=[{offset:0,opacity:"1"},{offset:1,transform:"translate3d(-100%, 0, 0) skewX(-30deg)",opacity:"0"}];var xl=[{offset:0,opacity:"1"},{offset:1,transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:"0"}];var kl=[{offset:0,transform:"rotate3d(0, 0, 1, -200deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var Cl=[{offset:0,transform:"rotate3d(0, 0, 1, -45deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var El=[{offset:0,transform:"rotate3d(0, 0, 1, 45deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var $l=[{offset:0,transform:"rotate3d(0, 0, 1, 45deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var Tl=[{offset:0,transform:"rotate3d(0, 0, 1, -90deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];var Ll=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, 200deg)",opacity:"0"}];var zl=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, 45deg)",opacity:"0"}];var Ml=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, -45deg)",opacity:"0"}];var Sl=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, -45deg)",opacity:"0"}];var Dl=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, 90deg)",opacity:"0"}];var _l=[{offset:0,transform:"translate3d(0, -100%, 0)",visibility:"visible"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Al=[{offset:0,transform:"translate3d(-100%, 0, 0)",visibility:"visible"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Ol=[{offset:0,transform:"translate3d(100%, 0, 0)",visibility:"visible"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Il=[{offset:0,transform:"translate3d(0, 100%, 0)",visibility:"visible"},{offset:1,transform:"translate3d(0, 0, 0)"}];var Pl=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:1,visibility:"hidden",transform:"translate3d(0, 100%, 0)"}];var Vl=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:1,visibility:"hidden",transform:"translate3d(-100%, 0, 0)"}];var Hl=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:1,visibility:"hidden",transform:"translate3d(100%, 0, 0)"}];var Fl=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:1,visibility:"hidden",transform:"translate3d(0, -100%, 0)"}];var Rl=[{offset:0,easing:"ease-in-out"},{offset:.2,transform:"rotate3d(0, 0, 1, 80deg)",easing:"ease-in-out"},{offset:.4,transform:"rotate3d(0, 0, 1, 60deg)",easing:"ease-in-out",opacity:"1"},{offset:.6,transform:"rotate3d(0, 0, 1, 80deg)",easing:"ease-in-out"},{offset:.8,transform:"rotate3d(0, 0, 1, 60deg)",easing:"ease-in-out",opacity:"1"},{offset:1,transform:"translate3d(0, 700px, 0)",opacity:"0"}];var Bl=[{offset:0,opacity:"0",transform:"scale(0.1) rotate(30deg)","transform-origin":"center bottom"},{offset:.5,transform:"rotate(-10deg)"},{offset:.7,transform:"rotate(3deg)"},{offset:1,opacity:"1",transform:"scale(1)"}];var Nl=[{offset:0,opacity:"0",transform:"translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];var Ul=[{offset:0,opacity:"1"},{offset:1,opacity:"0",transform:"translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"}];var ql=[{offset:0,opacity:"0",transform:"scale3d(0.3, 0.3, 0.3)"},{offset:.5,opacity:"1"}];var Kl=[{offset:0,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:.6,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var jl=[{offset:0,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:.6,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var Wl=[{offset:0,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:.6,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var Yl=[{offset:0,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:.6,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var Xl=[{offset:0,opacity:"1"},{offset:.5,opacity:"0",transform:"scale3d(0.3, 0.3, 0.3)"},{offset:1,opacity:"0"}];var Zl=[{offset:.4,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:1,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var Gl=[{offset:.4,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"},{offset:1,opacity:"0",transform:"scale(0.1) translate3d(-2000px, 0, 0)"}];var Ql=[{offset:.4,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"},{offset:1,opacity:"0",transform:"scale(0.1) translate3d(2000px, 0, 0)"}];var Jl=[{offset:.4,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:1,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];var ds={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",easeInSine:"cubic-bezier(0.47, 0, 0.745, 0.715)",easeOutSine:"cubic-bezier(0.39, 0.575, 0.565, 1)",easeInOutSine:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeInQuad:"cubic-bezier(0.55, 0.085, 0.68, 0.53)",easeOutQuad:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",easeInOutQuad:"cubic-bezier(0.455, 0.03, 0.515, 0.955)",easeInCubic:"cubic-bezier(0.55, 0.055, 0.675, 0.19)",easeOutCubic:"cubic-bezier(0.215, 0.61, 0.355, 1)",easeInOutCubic:"cubic-bezier(0.645, 0.045, 0.355, 1)",easeInQuart:"cubic-bezier(0.895, 0.03, 0.685, 0.22)",easeOutQuart:"cubic-bezier(0.165, 0.84, 0.44, 1)",easeInOutQuart:"cubic-bezier(0.77, 0, 0.175, 1)",easeInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",easeOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutQuint:"cubic-bezier(0.86, 0, 0.07, 1)",easeInExpo:"cubic-bezier(0.95, 0.05, 0.795, 0.035)",easeOutExpo:"cubic-bezier(0.19, 1, 0.22, 1)",easeInOutExpo:"cubic-bezier(1, 0, 0, 1)",easeInCirc:"cubic-bezier(0.6, 0.04, 0.98, 0.335)",easeOutCirc:"cubic-bezier(0.075, 0.82, 0.165, 1)",easeInOutCirc:"cubic-bezier(0.785, 0.135, 0.15, 0.86)",easeInBack:"cubic-bezier(0.6, -0.28, 0.735, 0.045)",easeOutBack:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",easeInOutBack:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"};var dt=class extends f{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var t,e;return(e=(t=this.animation)==null?void 0:t.currentTime)!=null?e:0}set currentTime(t){this.animation&&(this.animation.currentTime=t)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var n,l;let t=(n=Hr.easings[this.easing])!=null?n:this.easing,e=(l=this.keyframes)!=null?l:Hr[this.name],a=(await this.defaultSlot).assignedElements()[0];return!a||!e?!1:(this.destroyAnimation(),this.animation=a.animate(e,{delay:this.delay,direction:this.direction,duration:this.duration,easing:t,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var t;(t=this.animation)==null||t.cancel()}finish(){var t;(t=this.animation)==null||t.finish()}render(){return p`<slot @slotchange="${this.handleSlotChange}"></slot>`}};dt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
161
|
+
:host{display:contents}`],o([mo("slot")],dt.prototype,"defaultSlot",2),o([d()],dt.prototype,"name",2),o([d({type:Boolean,reflect:!0})],dt.prototype,"play",2),o([d({type:Number})],dt.prototype,"delay",2),o([d()],dt.prototype,"direction",2),o([d({type:Number})],dt.prototype,"duration",2),o([d()],dt.prototype,"easing",2),o([d({attribute:"end-delay",type:Number})],dt.prototype,"endDelay",2),o([d()],dt.prototype,"fill",2),o([d({type:Number})],dt.prototype,"iterations",2),o([d({attribute:"iteration-start",type:Number})],dt.prototype,"iterationStart",2),o([d({attribute:!1})],dt.prototype,"keyframes",2),o([d({attribute:"playback-rate",type:Number})],dt.prototype,"playbackRate",2),o([C(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],dt.prototype,"handleAnimationChange",1),o([C("play")],dt.prototype,"handlePlayChange",1),o([C("playbackRate")],dt.prototype,"handlePlaybackRateChange",1),dt=o([E("sd-7-0-1-animation")],dt);var Pe=class extends f{constructor(){super(...arguments);this.color="currentColor";this.localize=new D(this)}render(){return p`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" role="progressbar" aria-label="${this.localize.term("loading")}"><circle class="${c("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="20" cy="12" r="2" fill="currentColor"/><circle class="${c("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="12" cy="12" r="2" fill="currentColor"/><circle class="${c("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="4" cy="12" r="2" fill="currentColor"/></svg>`}};Pe.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
162
|
+
:host{display:inline-block;width:1em;height:1em}.dot:nth-child(2){animation-delay:.1s}.dot:nth-child(1){animation-delay:.2s}`],o([d({type:String,reflect:!0})],Pe.prototype,"color",2),Pe=o([E("sd-7-0-1-loader")],Pe);var Ee,he,fr=class fr{constructor({name:r,initialValue:t,detect:e}){de(this,Ee);de(this,he);this.name=r,this.initialValue=t!=null?t:!0,this.detect=e,fr.all[r]=this,Object.defineProperty(fr,r,{get(){return this.all[r].value},configurable:!0,enumerable:!0})}get valuePending(){return pt(this,Ee)!==void 0?pt(this,Ee):pt(this,he)!==void 0?pt(this,he):(We(this,he,this.detect()),pt(this,he)instanceof Promise?pt(this,he).then(r=>We(this,Ee,r)):We(this,Ee,pt(this,he)),pt(this,he))}get value(){if(pt(this,Ee)!==void 0)return pt(this,Ee);let r=this.valuePending;return r instanceof Promise?this.initialValue:r}static detectAll(){return Promise.all(Object.values(fr.all).map(r=>r.valuePending))}};Ee=new WeakMap,he=new WeakMap,Kt(fr,"all",{});var yt=fr;var td=new yt({name:"TRANSITIONRUN_EVENT_LOOP",detect(){let s=document.createElement("div");document.body.appendChild(s);let r="--bar-"+Date.now();return s.style.cssText=`${r}: 1; transition: ${r} 1ms step-start allow-discrete`,new Promise(t=>{let e=0;requestAnimationFrame(()=>{setTimeout(i=>t(e>1),50),s.addEventListener("transitionrun",i=>e++),s.style.setProperty(r,"2")})}).finally(()=>s.remove())}});var ed=new yt({name:"UNREGISTERED_TRANSITION",detect(){let s=document.createElement("div");document.body.appendChild(s);let r="--foo-"+Date.now();return s.style.cssText=`${r}: 1; transition: ${r} 1ms step-start allow-discrete`,new Promise(t=>{requestAnimationFrame(()=>{setTimeout(e=>t(!0),30),s.addEventListener("transitionstart",e=>t(!1)),s.style.setProperty(r,"2")})}).finally(()=>s.remove())}});var ko=new WeakMap;function cs(s,r=globalThis.document){var e;r=(e=r.ownerDocument)!=null?e:r;let t=r.defaultView;if(r.adoptedStyleSheets){let i=new t.CSSStyleSheet;return i.replaceSync(s),Object.isFrozen(r.adoptedStyleSheets)?r.adoptedStyleSheets=[...r.adoptedStyleSheets,i]:r.adoptedStyleSheets.push(i),i}else{let i=ko.get(r);return i||(i=r.head.appendChild(r.createElement("style")),ko.set(r,i)),i.insertAdjacentText("beforeend",s),i.sheet}}function hs(s,r=globalThis.document){let t=r.createElement("div");r.body.append(t);let e="foo(bar)";t.style.setProperty(s,e);let i=getComputedStyle(t).getPropertyValue(s),a=!0;if(i===e){let n=t.appendChild(r.createElement("div"));a=getComputedStyle(n).getPropertyValue(s)!==e}return t.remove(),a}var Co={"<angle>":"0deg","<color>":"transparent","<custom-ident>":"none","<image>":"linear-gradient(transparent 0% 100%)","<integer>":"0","<length>":"0px","<length-percentage>":"0px","<number>":"0","<percentage>":"0%","<resolution>":"1dppx","<string>":"''","<time>":"0s","<transform-function>":"scale(1)","<transform-list>":"scale(1)","<url>":"url('')"},Eo=new Map;function br(s,r={},t=globalThis.document){var n;let e=Eo.get(t);if(!s.startsWith("--")||e&&s in e||hs(s,t))return;let i={syntax:r.syntax||"*",inherits:(n=r.inherits)!=null?n:!0};r.initialValue!==void 0?i.initialValue=r.initialValue:i.syntax!=="*"&&i.syntax in Co&&(i.initialValue=Co[i.syntax]);let a=cs(`@layer style-observer-registered-properties {
|
|
163
163
|
@property ${s} {
|
|
164
164
|
syntax: "${i.syntax}";
|
|
165
165
|
inherits: ${i.inherits};
|
|
166
166
|
${i.initialValue!==void 0?`initial-value: ${i.initialValue};`:""}
|
|
167
167
|
}
|
|
168
|
-
}`,t);e||(e={}
|
|
168
|
+
}`,t);e||(e={},Eo.set(t,e)),e[s]=a}var rd=new yt({name:"ADOPTED_STYLE_SHEET",detect(){let s=document.createElement("div");if(document.body.append(s),s.attachShadow({mode:"open"}),Object.isFrozen(s.shadowRoot.adoptedStyleSheets))return s.remove(),!1;br("--style-observer-adopted-style-sheet-bug",{syntax:"<number>",inherits:!0,initialValue:0});let r=new CSSStyleSheet;r.insertRule(`
|
|
169
169
|
:host {
|
|
170
170
|
/* This declaration shouldn't be empty for the bug to trigger */
|
|
171
171
|
color: transparent;
|
|
172
172
|
}
|
|
173
|
-
`),s.shadowRoot.adoptedStyleSheets.push(r);let t=r.cssRules[0].style;t.setProperty("--style-observer-adopted-style-sheet-bug","1");let e=getComputedStyle(s),i=e.getPropertyValue("--style-observer-adopted-style-sheet-bug");t.removeProperty("--style-observer-adopted-style-sheet-bug"),e=getComputedStyle(s);let a=e.getPropertyValue("--style-observer-adopted-style-sheet-bug");return s.remove(),i===a}});var Fr=class extends WeakMap{has(r,t){if(arguments.length===1)return super.has(r);let e=super.get(r);return(e==null?void 0:e.has(t))||!1}add(r,t){var i;let e=(i=super.get(r))!=null?i:new Set;e.add(t),super.set(r,e)}delete(r,...t){let e=super.get(r);if(e){for(let i of t)e.delete(i);e.size===0&&super.delete(r)}}};function
|
|
174
|
-
:host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}`],sr=o([C("sd-7-0-0-theme-listener")],sr);var Ur=new WeakMap,qr=new WeakMap,So=new WeakMap,$i=new WeakMap,at=class{constructor(r,t){this.handleFormData=r=>{let t=this.options.disabled(this.host),e=this.options.name(this.host),i=this.options.value(this.host),a=this.host.tagName.toLowerCase()==="sd-7-0-0-button";!t&&!a&&typeof e=="string"&&e.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(n=>{r.formData.append(e,n.toString())}):r.formData.append(e,i.toString()))};this.handleFormSubmit=r=>{var i,a;let t=this.options.disabled(this.host),e=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=Ur.get(this.form))==null||i.forEach(n=>{this.setUserInteracted(n,!0)})),this.form&&!this.form.noValidate&&!t&&!e(this.host)){r.preventDefault(),r.stopImmediatePropagation();let n=(a=this.form)==null?void 0:a.querySelectorAll("[data-invalid]");Array.from(n).filter(h=>h.tagName.toLowerCase()==="sd-7-0-0-radio-group").forEach(h=>{var u,m;(m=(u=h.shadowRoot)==null?void 0:u.querySelector("input"))==null||m.dispatchEvent(new Event("invalid"))}),n!=null&&n.length&&n[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),$i.set(this.host,[])};this.handleInteraction=r=>{let t=$i.get(this.host);t.includes(r.type)||t.push(r.type),t.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=r).addController(this),this.options=K({form:e=>{if(e.hasAttribute("form")&&e.getAttribute("form")!==""){let i=e.getRootNode(),a=e.getAttribute("form");if(a)return i.getElementById(a)}return e.closest("form")},name:e=>e.name,value:e=>e.value,defaultValue:e=>e.defaultValue,disabled:e=>{var i;return(i=e.disabled)!=null?i:!1},reportValidity:e=>typeof e.reportValidity=="function"?e.reportValidity():!0,setValue:(e,i)=>e.value=i,assumeInteractionOn:["sd-input"]},t)}hostConnected(){let r=this.options.form(this.host);r&&this.attachForm(r),$i.set(this.host,[]),this.options.assumeInteractionOn.forEach(t=>{this.host.addEventListener(t,this.handleInteraction)})}hostDisconnected(){this.detachForm(),$i.delete(this.host),this.options.assumeInteractionOn.forEach(r=>{this.host.removeEventListener(r,this.handleInteraction)})}hostUpdated(){var t;let r=this.options.form(this.host);r||this.detachForm(),r&&this.form!==r&&(this.detachForm(),this.attachForm(r)),this.host.hasUpdated&&(this.setValidity((t=this.host)==null?void 0:t.validity.valid),this.updateValidityStyle())}attachForm(r){r?(this.form=r,Ur.has(this.form)?Ur.get(this.form).add(this.host):Ur.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),qr.has(this.form)||(qr.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var r;this.form&&((r=Ur.get(this.form))==null||r.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),qr.has(this.form)&&(this.form.reportValidity=qr.get(this.form),qr.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let r=this.form.querySelectorAll("*");for(let t of r)if(typeof t.reportValidity=="function"&&!t.reportValidity())return!1}return!0}setUserInteracted(r,t){So.set(r,t),r.requestUpdate()}doAction(r,t){if(this.form){let e=document.createElement("button");e.type=r,e.style.position="absolute",e.style.width="0",e.style.height="0",e.style.clipPath="inset(50%)",e.style.overflow="hidden",e.style.whiteSpace="nowrap",t&&(e.name=t.name,e.value=t.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{t.hasAttribute(i)&&e.setAttribute(i,t.getAttribute(i))})),this.form.append(e),e.click(),e.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var r;return(r=this.form)!=null?r:null}renderInvalidMessage(r){let t={sm:"text-sm",md:"text-base",lg:"text-base"}[r];return p`<div id="invalid-message" class="text-error text-left ${t}" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(r){this.doAction("reset",r)}submit(r){this.doAction("submit",r)}setValidity(r){var a;let t=this.host,e=!!So.get(t),i=!!t.required;(a=this.form)!=null&&a.noValidate?(t.removeAttribute("data-required"),t.removeAttribute("data-optional"),t.removeAttribute("data-invalid"),t.removeAttribute("data-valid"),t.removeAttribute("data-user-invalid"),t.removeAttribute("data-user-valid"),t.removeAttribute("aria-invalid")):(t.toggleAttribute("data-required",i),t.toggleAttribute("data-optional",!i),t.toggleAttribute("data-invalid",!r),t.toggleAttribute("data-valid",r),t.toggleAttribute("data-user-invalid",!r&&e),t.toggleAttribute("data-user-valid",r&&e),t.setAttribute("aria-invalid",(!r).toString()))}updateValidity(){let r=this.host;this.setValidity(r==null?void 0:r.validity.valid)}emitInvalidEvent(r){r==null||r.preventDefault();let t=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});r||t.preventDefault()}},vr=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),Do=Object.freeze(xt(K({},vr),{valid:!1,valueMissing:!0})),_o=Object.freeze(xt(K({},vr),{valid:!1,customError:!0}));var A=class{constructor(r,...t){this.slotNames=[];(this.host=r).addController(this),this.slotNames=t,this.handleSlotChange=this.handleSlotChange.bind(this)}hasDefaultSlot(){return[...this.host.childNodes].some(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent.trim()!=="")return!0;if(r.nodeType===r.ELEMENT_NODE){let t=r;if(t.tagName.toLowerCase()==="sd-visually-hidden")return!1;if(!t.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(r){return this.host.querySelector(`:scope > [slot="${r}"]`)!==null}test(r){return r==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(r)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange(r){let t=r.target;(this.slotNames.includes("[default]")&&!t.name||t.name&&this.slotNames.includes(t.name))&&this.host.requestUpdate()}};function Ao(s){if(!s)return"";let r=s.assignedNodes({flatten:!0}),t="";return[...r].forEach(e=>{e.nodeType===Node.TEXT_NODE&&(t+=e.textContent)}),t}var $=s=>s!=null?s:N;var G=class extends f{constructor(){super(...arguments);this.formControlController=new at(this,{form:t=>{if(t.hasAttribute("form")){let e=t.getRootNode(),i=t.getAttribute("form");return e.getElementById(i)}return t.closest("form")}});this.hasSlotController=new A(this,"[default]","icon-left","icon-right");this.invalid=!1;this.hasUiMotion=!1;this.title="";this.variant="primary";this.inverted=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.loading=!1;this.type="button";this.name="";this.value="";this.href=""}get validity(){return this.isButton()?this.button.validity:vr}get validationMessage(){return this.isButton()?this.button.validationMessage:""}connectedCallback(){super.connectedCallback(),this.updateMotionTheme()}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}onThemeChange(){this.updateMotionTheme()}updateMotionTheme(){let t=getComputedStyle(this).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");this.hasUiMotion=t===""||t==="ui-light"||t==="ui-dark"}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(t){if(this.disabled||this.loading||this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){let t=this.isLink(),e=t?it`a`:it`button`,i={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0},a=this.variant==="secondary",n={primary:this.inverted?{motionBackground:"sd-7-0-0-button--primary--inverted--hover-color-background group-active:sd-7-0-0-button--primary--inverted--active-color-background",baseBackground:"hover:sd-7-0-0-button--primary--inverted--hover-color-background active:sd-7-0-0-button--primary--inverted--active-color-background"}:{motionBackground:"sd-7-0-0-button--primary--hover-color-background group-active:sd-7-0-0-button--primary--active-color-background",baseBackground:"hover:sd-7-0-0-button--primary--hover-color-background active:sd-7-0-0-button--primary--active-color-background"},secondary:this.inverted?{motionBackground:"sd-7-0-0-button--secondary--inverted--hover-color-background group-active:sd-7-0-0-button--secondary--inverted--active-color-background group-active:sd-7-0-0-button--secondary--inverted--active-color-text",baseBackground:"hover:sd-7-0-0-button--secondary--inverted--hover-color-background active:sd-7-0-0-button--secondary--inverted--active-color-background"}:{motionBackground:"sd-7-0-0-button--secondary--hover-color-background group-active:sd-7-0-0-button--secondary--active-color-background",baseBackground:"hover:sd-7-0-0-button--secondary--hover-color-background active:sd-7-0-0-button--secondary--active-color-background"},tertiary:this.inverted?{motionBackground:"sd-7-0-0-button--tertiary--inverted--hover-color-background group-active:sd-7-0-0-button--tertiary--inverted--active-color-background group-active:sd-7-0-0-button--tertiary--inverted--active-color-text",baseBackground:"hover:sd-7-0-0-button--tertiary--inverted--hover-color-background active:sd-7-0-0-button--tertiary--inverted--active-color-background"}:{motionBackground:"sd-7-0-0-button--tertiary--hover-color-background group-active:sd-7-0-0-button--tertiary--active-color-background",baseBackground:"hover:sd-7-0-0-button--tertiary--hover-color-background active:sd-7-0-0-button--tertiary--active-color-background"},cta:this.inverted?{motionBackground:"sd-7-0-0-button--cta--inverted--hover-color-background group-active:sd-7-0-0-button--cta--inverted--active-color-background",baseBackground:"hover:sd-7-0-0-button--cta--inverted--hover-color-background active:sd-7-0-0-button--cta--inverted--active-color-background"}:{motionBackground:"bg-accent-500 group-active:bg-accent-700",baseBackground:"hover:bg-accent-500 active:bg-accent-700"}}[this.variant];return q`<sd-7-0-0-theme-listener></sd-7-0-0-theme-listener><${e} part="base" class="${c(`group relative z-10 font-md no-underline
|
|
173
|
+
`),s.shadowRoot.adoptedStyleSheets.push(r);let t=r.cssRules[0].style;t.setProperty("--style-observer-adopted-style-sheet-bug","1");let e=getComputedStyle(s),i=e.getPropertyValue("--style-observer-adopted-style-sheet-bug");t.removeProperty("--style-observer-adopted-style-sheet-bug"),e=getComputedStyle(s);let a=e.getPropertyValue("--style-observer-adopted-style-sheet-bug");return s.remove(),i===a}});var Fr=class extends WeakMap{has(r,t){if(arguments.length===1)return super.has(r);let e=super.get(r);return(e==null?void 0:e.has(t))||!1}add(r,t){var i;let e=(i=super.get(r))!=null?i:new Set;e.add(t),super.set(r,e)}delete(r,...t){let e=super.get(r);if(e){for(let i of t)e.delete(i);e.size===0&&super.delete(r)}}};function $e(s){return s==null?[]:Array.isArray(s)?s:typeof s!="string"&&typeof s[Symbol.iterator]=="function"?Array.from(s):[s]}function $o(s){return s?new Promise(r=>setTimeout(r,s)):new Promise(r=>requestAnimationFrame(r))}var wi;function id(s){wi!=null||(wi=document.createElement("div"));let r=wi.style;r[s]="inherit";let t=[...r];return t.length===0&&(t=[s]),r.cssText="",t}function sd(s){let r=s.matchAll(/(?:^|\s)([+-]?(?:\d+|\d*\.\d+))\s*(ms|s)?(?=\s|$)/g),t=[];for(let e of r){let[,i,a]=e;i=parseFloat(i),a==="s"&&(i*=1e3),t.push(i)}return t}function To(s,r){r=od(r);let t;if(s==="all")t=/\b\w+\b/g;else{let l=[...new Set([...id(s),s,"all"])];t=RegExp(`(?:^|\\s)(${l.join("|")})\\b`)}let e=r.findLast(l=>t.test(l)),i=e?sd(e):[0,0];i.length===0?i=[0,0]:i.length===1&&i.push(0);let[a,n]=i;return{duration:a,delay:n}}function od(s){let r=[],t=0,e=[];for(let i of s.matchAll(/[,()]/g)){let a=i[0];if(a===","){if(e.length===0){let n=s.slice(t,i.index);r.push(n.trim()),t=i.index+1}}else a==="("?e.push("("):a===")"&&e.pop()}if(t<s.length){let i=s.slice(t);r.push(i.trim())}return r}var rr,gr,Rr=class{constructor(r){de(this,rr,new Set);de(this,gr,new WeakMap);this.callback=r}observe(r){if(pt(this,rr).has(r))return;let t=r.ownerDocument,e=pt(this,gr).get(t);e||(e=new IntersectionObserver(i=>{this.callback(i.map(({target:a})=>({target:a})))},{root:t.documentElement}),pt(this,gr).set(t,e)),pt(this,rr).add(r),e.observe(r)}unobserve(r){if(!r){for(let i of pt(this,rr))this.unobserve(i);return}let t=r.ownerDocument,e=pt(this,gr).get(t);e==null||e.unobserve(r),pt(this,rr).delete(r)}};rr=new WeakMap,gr=new WeakMap;var xi,Lo,ad=(Lo=(xi=globalThis.CSS)==null?void 0:xi.supports)!=null&&Lo.call(xi,"transition-behavior","allow-discrete")?" allow-discrete":"";globalThis.document&&(br("--style-observer-transition",{inherits:!1}),yt.detectAll());var Br,ki,zo,Nr,Ve=class{constructor(r,t,e={}){de(this,ki);Kt(this,"properties");Kt(this,"target");Kt(this,"callback");Kt(this,"options");de(this,Br,!1);de(this,Nr);Kt(this,"_shadowSheet");Kt(this,"_styles",{});this.constructor.all.add(r,this),this.properties=new Map,this.target=r,this.callback=t,this.options=K({properties:[]},e);let i=$e(e.properties);this.renderedObserver=new Rr(a=>{this.propertyNames.length>0&&this.handleEvent()}),i.length>0&&this.observe(i)}get propertyNames(){return[...this.properties.keys()]}resolveOptions(r){return Object.assign(us(r),this.options)}async handleEvent(r){if(r&&!this.properties.has(r.propertyName))return;if(yt.TRANSITIONRUN_EVENT_LOOP&&(r==null?void 0:r.type)==="transitionrun"||this.options.throttle>0){let i=yt.TRANSITIONRUN_EVENT_LOOP?"transitionrun":"transitionstart",a=Math.max(this.options.throttle,50);if(yt.TRANSITIONRUN_EVENT_LOOP){let n=To(r.propertyName,getComputedStyle(this.target).transition);a=Math.max(a,n.duration+n.delay+16)}this.target.removeEventListener(i,this),await $o(a),this.target.addEventListener(i,this)}let t=getComputedStyle(this.target),e=[];for(let i of this.propertyNames){let a=t.getPropertyValue(i),n=this.properties.get(i);a!==n&&(e.push({target:this.target,property:i,value:a,oldValue:n}),this.properties.set(i,a))}e.length>0&&this.callback(e)}observe(r){var e;if(r=$e(r),r=r.filter(i=>!this.properties.has(i)),r.length===0)return;Ds(this,ki,zo).call(this);let t=getComputedStyle(this.target);for(let i of r){yt.UNREGISTERED_TRANSITION&&!this.constructor.properties.has(i)&&(br(i,void 0,this.target.ownerDocument),this.constructor.properties.add(i));let a=t.getPropertyValue(i);this.properties.set(i,a)}yt.TRANSITIONRUN_EVENT_LOOP&&(this.target.addEventListener("transitionrun",this),(e=yt.all.TRANSITIONRUN_EVENT_LOOP.valuePending)==null||e.then(i=>{i||this.target.removeEventListener("transitionrun",this)})),this.target.addEventListener("transitionstart",this),this.target.addEventListener("transitionend",this),this.updateTransitionProperties(),this.renderedObserver.observe(this.target)}updateTransitionProperties(){this.setProperty("--style-observer-transition","");let r=new Set(getComputedStyle(this.target).transitionProperty.split(", ")),t=[];for(let i of this.constructor.all.get(this.target))t.push(...i.propertyNames);t=[...new Set(t)];let e=t.filter(i=>!r.has(i)).map(i=>`${i} 1ms step-start${ad}`).join(", ");this.setProperty("--style-observer-transition",e)}updateTransition({firstTime:r}={}){let t="var(--style-observer-transition, --style-observer-noop)",e=this.getProperty("transition"),i;(r?e:!e.includes(t))&&(i=We(this,Nr,e)),i===void 0&&(r||!pt(this,Nr))&&(e.includes(t)&&this.setProperty("transition",""),i=getComputedStyle(this.target).transition),i==="all"?i="":i=i.replace(/^none\b/,"");let a=i?i+", ":"";this.setProperty("transition",a+t),this.updateTransitionProperties()}get _isHost(){return this.target.shadowRoot&&!yt.ADOPTED_STYLE_SHEET&&!Object.isFrozen(this.target.shadowRoot.adoptedStyleSheets)}setProperty(r,t,e){let i=this.target.style,a=i;if(this._isHost){if(!this._shadowSheet&&(this._shadowSheet=new CSSStyleSheet,this._shadowSheet.insertRule(":host { }"),this.target.shadowRoot.adoptedStyleSheets.push(this._shadowSheet),Object.keys(this._styles).length>0))for(let n in this._styles){let l=this._styles[n];this.setProperty(n,l),i.getPropertyValue(n)===l&&i.removeProperty(n)}a=this._shadowSheet.cssRules[0].style}a.setProperty(r,t,e),this._styles[r]=this.getProperty(r)}getProperty(r){var e,i,a;return((a=(i=(e=this._shadowSheet)==null?void 0:e.cssRules[0])==null?void 0:i.style)!=null?a:this.target.style).getPropertyValue(r)}unobserve(r){r=$e(r),r=r.filter(t=>this.properties.has(t));for(let t of r)this.properties.delete(t);this.properties.size===0&&(this.target.removeEventListener("transitionrun",this),this.target.removeEventListener("transitionstart",this),this.target.removeEventListener("transitionend",this),this.renderedObserver.unobserve(this.target)),this.updateTransitionProperties()}};Br=new WeakMap,ki=new WeakSet,zo=function(){if(pt(this,Br))return;let r=this.constructor.all.get(this.target).size===1;this.updateTransition({firstTime:r}),We(this,Br,!0)},Nr=new WeakMap,Kt(Ve,"properties",new Set),Kt(Ve,"all",new Fr);function us(s){return s?(typeof s=="string"||Array.isArray(s)?s={properties:$e(s)}:typeof s=="object"&&(s=K({properties:[]},s)),s):{}}var ir=class{constructor(r,t){Kt(this,"elementObservers",new WeakMap);var e;this.callback=r,t=us(t),(e=t.targets)!=null||(t.targets=[]),t.target&&t.targets.push(t.target),this.options=t,this.options.targets.length>0&&this.options.properties.length>0&&this.observe(this.options.targets,this.options.properties)}changed(r){this.callback(r)}observe(...r){let{targets:t,properties:e}=Mo(...r);if(t.length===0&&(t=this.options.targets),t.length!==0)for(let i of t){let a=this.elementObservers.get(i);a||(a=new Ve(i,n=>this.changed(n),this.options),this.elementObservers.set(i,a)),a.observe(e)}}unobserve(...r){let{targets:t,properties:e}=Mo(...r);if(t.length===0&&(t=this.options.targets),t.length!==0){e.length===0&&(e=this.options.properties);for(let i of t){let a=this.elementObservers.get(i);a&&a.unobserve(e)}}}updateTransition(r){for(let t of $e(r)){let e=this.elementObservers.get(t);e&&e.updateTransition()}}};function Mo(s,r){let t=[...$e(s),...$e(r)];s=[],r=[];for(let e of t)(typeof e=="string"||e instanceof String?r:s).push(e);return{targets:s,properties:r}}var Ci=class{constructor(r,t){this.host=r,this.callback=t}connect(){this.observer=new ir(r=>{var e,i;let t=(i=(e=r==null?void 0:r[0])==null?void 0:e.value)==null?void 0:i.replaceAll("'","");t&&this.callback(t)}),this.observer.observe(this.host,"--sd-theme")}disconnect(){var r;(r=this.observer)==null||r.unobserve(this.host)}};var sr=class extends f{handleThemeChange(r){this.emit("sd-theme-change",{detail:{theme:r},bubbles:!0})}connectedCallback(){super.connectedCallback(),this.themeObserver=new Ci(this,this.handleThemeChange.bind(this)),this.themeObserver.connect()}disconnectedCallback(){var r;super.disconnectedCallback(),(r=this.themeObserver)==null||r.disconnect()}};sr.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
174
|
+
:host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}`],sr=o([E("sd-7-0-1-theme-listener")],sr);var Ur=new WeakMap,qr=new WeakMap,So=new WeakMap,Ei=new WeakMap,at=class{constructor(r,t){this.handleFormData=r=>{let t=this.options.disabled(this.host),e=this.options.name(this.host),i=this.options.value(this.host),a=this.host.tagName.toLowerCase()==="sd-7-0-1-button";!t&&!a&&typeof e=="string"&&e.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(n=>{r.formData.append(e,n.toString())}):r.formData.append(e,i.toString()))};this.handleFormSubmit=r=>{var i,a;let t=this.options.disabled(this.host),e=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=Ur.get(this.form))==null||i.forEach(n=>{this.setUserInteracted(n,!0)})),this.form&&!this.form.noValidate&&!t&&!e(this.host)){r.preventDefault(),r.stopImmediatePropagation();let n=(a=this.form)==null?void 0:a.querySelectorAll("[data-invalid]");Array.from(n).filter(h=>h.tagName.toLowerCase()==="sd-7-0-1-radio-group").forEach(h=>{var u,m;(m=(u=h.shadowRoot)==null?void 0:u.querySelector("input"))==null||m.dispatchEvent(new Event("invalid"))}),n!=null&&n.length&&n[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),Ei.set(this.host,[])};this.handleInteraction=r=>{let t=Ei.get(this.host);t.includes(r.type)||t.push(r.type),t.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=r).addController(this),this.options=K({form:e=>{if(e.hasAttribute("form")&&e.getAttribute("form")!==""){let i=e.getRootNode(),a=e.getAttribute("form");if(a)return i.getElementById(a)}return e.closest("form")},name:e=>e.name,value:e=>e.value,defaultValue:e=>e.defaultValue,disabled:e=>{var i;return(i=e.disabled)!=null?i:!1},reportValidity:e=>typeof e.reportValidity=="function"?e.reportValidity():!0,setValue:(e,i)=>e.value=i,assumeInteractionOn:["sd-input"]},t)}hostConnected(){let r=this.options.form(this.host);r&&this.attachForm(r),Ei.set(this.host,[]),this.options.assumeInteractionOn.forEach(t=>{this.host.addEventListener(t,this.handleInteraction)})}hostDisconnected(){this.detachForm(),Ei.delete(this.host),this.options.assumeInteractionOn.forEach(r=>{this.host.removeEventListener(r,this.handleInteraction)})}hostUpdated(){var t;let r=this.options.form(this.host);r||this.detachForm(),r&&this.form!==r&&(this.detachForm(),this.attachForm(r)),this.host.hasUpdated&&(this.setValidity((t=this.host)==null?void 0:t.validity.valid),this.updateValidityStyle())}attachForm(r){r?(this.form=r,Ur.has(this.form)?Ur.get(this.form).add(this.host):Ur.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),qr.has(this.form)||(qr.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var r;this.form&&((r=Ur.get(this.form))==null||r.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),qr.has(this.form)&&(this.form.reportValidity=qr.get(this.form),qr.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let r=this.form.querySelectorAll("*");for(let t of r)if(typeof t.reportValidity=="function"&&!t.reportValidity())return!1}return!0}setUserInteracted(r,t){So.set(r,t),r.requestUpdate()}doAction(r,t){if(this.form){let e=document.createElement("button");e.type=r,e.style.position="absolute",e.style.width="0",e.style.height="0",e.style.clipPath="inset(50%)",e.style.overflow="hidden",e.style.whiteSpace="nowrap",t&&(e.name=t.name,e.value=t.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{t.hasAttribute(i)&&e.setAttribute(i,t.getAttribute(i))})),this.form.append(e),e.click(),e.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var r;return(r=this.form)!=null?r:null}renderInvalidMessage(r){let t={sm:"text-sm",md:"text-base",lg:"text-base"}[r];return p`<div id="invalid-message" class="text-error text-left ${t}" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(r){this.doAction("reset",r)}submit(r){this.doAction("submit",r)}setValidity(r){var a;let t=this.host,e=!!So.get(t),i=!!t.required;(a=this.form)!=null&&a.noValidate?(t.removeAttribute("data-required"),t.removeAttribute("data-optional"),t.removeAttribute("data-invalid"),t.removeAttribute("data-valid"),t.removeAttribute("data-user-invalid"),t.removeAttribute("data-user-valid"),t.removeAttribute("aria-invalid")):(t.toggleAttribute("data-required",i),t.toggleAttribute("data-optional",!i),t.toggleAttribute("data-invalid",!r),t.toggleAttribute("data-valid",r),t.toggleAttribute("data-user-invalid",!r&&e),t.toggleAttribute("data-user-valid",r&&e),t.setAttribute("aria-invalid",(!r).toString()))}updateValidity(){let r=this.host;this.setValidity(r==null?void 0:r.validity.valid)}emitInvalidEvent(r){r==null||r.preventDefault();let t=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});r||t.preventDefault()}},vr=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),Do=Object.freeze(xt(K({},vr),{valid:!1,valueMissing:!0})),_o=Object.freeze(xt(K({},vr),{valid:!1,customError:!0}));var A=class{constructor(r,...t){this.slotNames=[];(this.host=r).addController(this),this.slotNames=t,this.handleSlotChange=this.handleSlotChange.bind(this)}hasDefaultSlot(){return[...this.host.childNodes].some(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent.trim()!=="")return!0;if(r.nodeType===r.ELEMENT_NODE){let t=r;if(t.tagName.toLowerCase()==="sd-visually-hidden")return!1;if(!t.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(r){return this.host.querySelector(`:scope > [slot="${r}"]`)!==null}test(r){return r==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(r)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange(r){let t=r.target;(this.slotNames.includes("[default]")&&!t.name||t.name&&this.slotNames.includes(t.name))&&this.host.requestUpdate()}};function Ao(s){if(!s)return"";let r=s.assignedNodes({flatten:!0}),t="";return[...r].forEach(e=>{e.nodeType===Node.TEXT_NODE&&(t+=e.textContent)}),t}var $=s=>s!=null?s:N;var G=class extends f{constructor(){super(...arguments);this.formControlController=new at(this,{form:t=>{if(t.hasAttribute("form")){let e=t.getRootNode(),i=t.getAttribute("form");return e.getElementById(i)}return t.closest("form")}});this.hasSlotController=new A(this,"[default]","icon-left","icon-right");this.invalid=!1;this.hasUiMotion=!1;this.title="";this.variant="primary";this.inverted=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.loading=!1;this.type="button";this.name="";this.value="";this.href=""}get validity(){return this.isButton()?this.button.validity:vr}get validationMessage(){return this.isButton()?this.button.validationMessage:""}connectedCallback(){super.connectedCallback(),this.updateMotionTheme()}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}onThemeChange(){this.updateMotionTheme()}updateMotionTheme(){let t=getComputedStyle(this).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");this.hasUiMotion=t===""||t==="ui-light"||t==="ui-dark"}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(t){if(this.disabled||this.loading||this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){let t=this.isLink(),e=t?st`a`:st`button`,i={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0},a=this.variant==="secondary",n={primary:this.inverted?{motionBackground:"sd-7-0-1-button--primary--inverted--hover-color-background group-active:sd-7-0-1-button--primary--inverted--active-color-background",baseBackground:"hover:sd-7-0-1-button--primary--inverted--hover-color-background active:sd-7-0-1-button--primary--inverted--active-color-background"}:{motionBackground:"sd-7-0-1-button--primary--hover-color-background group-active:sd-7-0-1-button--primary--active-color-background",baseBackground:"hover:sd-7-0-1-button--primary--hover-color-background active:sd-7-0-1-button--primary--active-color-background"},secondary:this.inverted?{motionBackground:"sd-7-0-1-button--secondary--inverted--hover-color-background group-active:sd-7-0-1-button--secondary--inverted--active-color-background group-active:sd-7-0-1-button--secondary--inverted--active-color-text",baseBackground:"hover:sd-7-0-1-button--secondary--inverted--hover-color-background active:sd-7-0-1-button--secondary--inverted--active-color-background"}:{motionBackground:"sd-7-0-1-button--secondary--hover-color-background group-active:sd-7-0-1-button--secondary--active-color-background",baseBackground:"hover:sd-7-0-1-button--secondary--hover-color-background active:sd-7-0-1-button--secondary--active-color-background"},tertiary:this.inverted?{motionBackground:"sd-7-0-1-button--tertiary--inverted--hover-color-background group-active:sd-7-0-1-button--tertiary--inverted--active-color-background group-active:sd-7-0-1-button--tertiary--inverted--active-color-text",baseBackground:"hover:sd-7-0-1-button--tertiary--inverted--hover-color-background active:sd-7-0-1-button--tertiary--inverted--active-color-background"}:{motionBackground:"sd-7-0-1-button--tertiary--hover-color-background group-active:sd-7-0-1-button--tertiary--active-color-background",baseBackground:"hover:sd-7-0-1-button--tertiary--hover-color-background active:sd-7-0-1-button--tertiary--active-color-background"},cta:this.inverted?{motionBackground:"sd-7-0-1-button--cta--inverted--hover-color-background group-active:sd-7-0-1-button--cta--inverted--active-color-background",baseBackground:"hover:sd-7-0-1-button--cta--inverted--hover-color-background active:sd-7-0-1-button--cta--inverted--active-color-background"}:{motionBackground:"bg-accent-500 group-active:bg-accent-700",baseBackground:"hover:bg-accent-500 active:bg-accent-700"}}[this.variant];return q`<sd-7-0-1-theme-listener></sd-7-0-1-theme-listener><${e} part="base" class="${c(`group relative z-10 font-md no-underline
|
|
175
175
|
w-full align-middle inline-flex items-stretch justify-center
|
|
176
176
|
transition-colors duration-fast ease-in-out
|
|
177
|
-
select-none cursor-[inherit]`,!this.hasUiMotion&&"sd-7-0-
|
|
178
|
-
disabled:sd-7-0-
|
|
179
|
-
disabled:sd-7-0-
|
|
180
|
-
disabled:sd-7-0-
|
|
181
|
-
disabled:sd-7-0-
|
|
182
|
-
disabled:sd-7-0-
|
|
183
|
-
disabled:sd-7-0-
|
|
184
|
-
${this.inverted?"sd-7-0-
|
|
185
|
-
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}.sd-7-0-
|
|
186
|
-
:host{--width:25rem;display:contents}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:0;width:0}:host [part=panel]{outline:1px solid rgb(var(--sd-panel-color-border,transparent))}::backdrop{display:none}[part=overlay]{background-color:rgb(var(--sd-overlay-color-background,5 21 48 / .9))}`],o([v("[part=base]")],St.prototype,"drawer",2),o([v("[part=overlay]")],St.prototype,"overlay",2),o([v("[part=panel]")],St.prototype,"panel",2),o([v("[part=close-button]")],St.prototype,"closeButton",2),o([d({type:Boolean,reflect:!0})],St.prototype,"open",2),o([d({type:String,attribute:"label",reflect:!0})],St.prototype,"label",2),o([d({type:String,reflect:!0})],St.prototype,"placement",2),o([d({attribute:"no-header",type:Boolean,reflect:!0})],St.prototype,"noHeader",2),o([k("open",{waitUntilFirstUpdate:!0})],St.prototype,"handleOpenChange",1),St=o([C("sd-7-0-0-drawer")],St);F("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});F("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});F("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"linear"}});F("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"linear"}});var He=class{constructor(r){this.fixedEnd=!0;this.fixedStart=!0;this.gradient=!1;this.outline=!1;this.map=(r,t,e,i,a)=>(r-t)*(a-i)/(e-t)+i;this.damp=(r,t,e)=>2*(1-t/r)*(t/r)*e;this.canvas=r.canvas,this.frequency=r.frequency,this.phase=r.phase,this.amplitude=r.amplitude,this.color=r.color,this.shift=r.shift,this.lineWidth=2,this.damping=r.damping,this.context=this.canvas.getContext("2d"),this.paused=!0,this.playbackSpeed=1,this.origin={x:0,y:this.canvas.height}}drawPoint(r,t,e){if(!this.context)return;let i=this.lineWidth/2;if(this.context.beginPath(),this.outline&&(this.context.fillStyle=e,this.context.lineWidth=2,this.context.arc(r,t,i,0,2*Math.PI),this.context.fill()),this.gradient){let a=this.context.createLinearGradient(0,0,0,this.canvas.height);a.addColorStop(.1,e),a.addColorStop(1,"transparent"),this.context.fillStyle=a}else this.context.fillStyle=e;this.context.fillRect(r-i,t-i,i,this.canvas.height-t+i)}buildSine(r,t,e,i,a){for(let n=this.origin.x,l=this.origin.x+r;n<l;n+=1){let h=i*Math.sin(a*(n+t));this.fixedStart&&this.fixedEnd?this.drawPoint(n,this.origin.y+this.damp(l,n,this.damping)*h,e):this.fixedStart?this.drawPoint(n,this.origin.y+this.map(n,this.origin.x,l,0,this.damping)*h,e):this.fixedEnd?this.drawPoint(n,this.origin.y+(this.damping-this.map(n,this.origin.x,l,0,this.damping))*h,e):this.drawPoint(n,this.origin.y+h,e)}}redraw(){this.phase+=this.shift*(this.paused?1:2*this.playbackSpeed),this.buildSine(this.canvas.width,this.phase,this.color,this.amplitude,this.frequency)}setPlay(){this.paused=!1}setPause(){this.paused=!0}setPlaybackSpeed(r){this.playbackSpeed=r}};var mt=class extends f{constructor(){super();this.localize=new D(this);this.hasSlotController=new A(this,"transcript");this.reversedLayout=!1;this.hideTimestamps=!1;this.animated=!1;this.inverted=!1;this.speed=1;this.currentTime=this.formatTime(0);this.duration="";this.isPlaying=!1;this.isMuted=!1;this.isTranscriptOpen=!1;this.progress=0;this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this),this.handleTranscriptDrawerToggle=this.handleTranscriptDrawerToggle.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),document.addEventListener("sd-after-hide",this.handleTranscriptDrawerToggle),this.audioElement.playbackRate=this.speed,this.progressSlider.tooltipFormatter=t=>this.localize.term("seconds",Number(t).toFixed(0)),this.animated&&this.initAnimation())}updated(t){if(t.has("animated")){let e=t.get("animated");!e&&this.animated?this.initAnimation():e&&!this.animated&&this.clear()}}get audioElement(){let t=this.shadowRoot.querySelector("slot");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let t=this.audioElement.currentTime;this.currentTime=this.formatTime(t),this.progress=t,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.togglePlaybackSpeed())}formatTime(t){let e=Math.floor(t/60).toString().padStart(2,"0"),i=Math.floor(t%60).toString().padStart(2,"0");return`${e}:${i}`}handleAudioProgress(){if(!this.audioElement)return;let t=Number(this.progressSlider.value);this.audioElement.currentTime=t,this.progress=t,this.currentTime=this.formatTime(t)}handleAudioProgressKeydown(t){t.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),t.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}handleThumbGrab(){var t;(t=this.audioElement)==null||t.pause()}handleThumbRelease(){var t;this.isPlaying&&((t=this.audioElement)==null||t.play())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(t){(t.key==="Enter"||t.key===" ")&&this.showTranscript()}rgbToHex(t){let e=t.match(/\d+/g);if((e==null?void 0:e.length)===3){let i=parseInt(e[0]),a=parseInt(e[1]),n=parseInt(e[2]),l=u=>u.toString(16).padStart(2,"0");return`#${l(i)}${l(a)}${l(n)}`.toUpperCase()}return null}onThemeChange(){this.clear(),setTimeout(this.initAnimation.bind(this),this.token("--sd-duration-fast",150))}initAnimation(){var l;let t=(l=this.canvas)==null?void 0:l.getContext("2d");if(!t)return;this.context=t;let e=this.audioPlayerContainer.querySelector(".playback-speed"),a=window.getComputedStyle(e).color,n=this.inverted?"#FFFFFF33":this.rgbToHex(a)+"33";this.waveList=[new He({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new He({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new He({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new He({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new He({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(t=>{t.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(t=>{t.redraw()}),await new Promise(t=>{setTimeout(t,1e3/30)}),await this.draw())}render(){let t=p`<div class="${c("controls grid grid-cols-3 justify-items-center items-center",this.reversedLayout?"mt-2":"mb-2",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full")}" part="audio-controls"><button class="${c("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-7-0-0-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="mb-4">${this.isPlaying?p`<slot name="pause-icon"><sd-7-0-0-icon class="text-xl" name="pause" library="_internal"></sd-7-0-0-icon></slot>`:p`<slot name="play-icon"><sd-7-0-0-icon class="text-xl" name="play" library="_internal"></sd-7-0-0-icon></slot>`}</sd-7-0-0-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript")?p`<button class="${c("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-7-0-0-icon class="w-6 h-6" name="transcript" library="_internal"></sd-7-0-0-icon></button>`:null} <button class="${c("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-7-0-0-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-7-0-0-icon></button></div></div>`,e=p`<div class="${c("w-full flex justify-between",this.reversedLayout?"mb-0.5":"mt-0.5",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 !mb-4")}" part="timestamps"><div class="${c("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.currentTime}</div><div class="${c("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.duration}</div></div>`;return p`<div class="${c("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?t:null}<div class="relative">${this.animated&&!this.reversedLayout?p`${t}`:null} ${this.animated?p`<canvas class="w-full h-16 -mb-2"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?e:null}<sd-7-0-0-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-7-0-0-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-7-0-0-range></div>${this.hasSlotController.test("transcript")?p`<sd-7-0-0-drawer><slot name="transcript"></slot></sd-7-0-0-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?e:null}</div><sd-7-0-0-theme-listener></sd-7-0-0-theme-listener>`}};mt.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
187
|
-
sd-7-0-
|
|
188
|
-
:host{display:inline-flex;align-items:center;justify-content:center}:host([size=md]){height:var(--sd-spacing-4,1rem);min-width:var(--sd-spacing-4,1rem);font-size:.625rem}:host([size=lg]){height:calc(var(--sd-spacing-1,.25rem) * 5);min-width:calc(var(--sd-spacing-1,.25rem) * 5);font-size:.75rem}:host([size=sm])::part(base){height:var(--sd-spacing-2,.5rem);min-width:var(--sd-spacing-2,.5rem)}:host([size=md])::part(base){padding-inline:var(--sd-spacing-1,.25rem)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],o([d({type:String,reflect:!0})],ue.prototype,"size",2),o([d({type:String,reflect:!0})],ue.prototype,"variant",2),o([d({type:Boolean,reflect:!0})],ue.prototype,"inverted",2),ue=o([
|
|
177
|
+
select-none cursor-[inherit]`,!this.hasUiMotion&&"sd-7-0-1-button--simple-motion",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed",{sm:"varspacing-8 min-h-8 sd-7-0-1-button--size-sm-font-size sd-7-0-1-button-font-weight sd-7-0-1-button--secondary--size-sm-padding-block sd-7-0-1-button-border-radius",md:"varspacing-10 sd-7-0-1-button--size-md-height sd-7-0-1-button--size-md-font-size sd-7-0-1-button--secondary--size-md-padding-block sd-7-0-1-button-font-weight sd-7-0-1-button-border-radius",lg:"varspacing-12 sd-7-0-1-button--size-lg-height sd-7-0-1-button--size-lg-font-size sd-7-0-1-button--secondary--size-lg-padding-block sd-7-0-1-button-font-weight sd-7-0-1-button-border-radius"}[this.size],!i["icon-only"]&&{sm:`${a?"sd-7-0-1-button--secondary-padding-inline":"sd-7-0-1-button--size-sm-padding-block sd-7-0-1-button-padding-inline"}`,md:`${a?"sd-7-0-1-button--secondary-padding-inline":"sd-7-0-1-button--size-md-padding-block sd-7-0-1-button-padding-inline"}`,lg:`${a?"sd-7-0-1-button--secondary-padding-inline":"sd-7-0-1-button--size-lg-padding-block sd-7-0-1-button-padding-inline"}`}[this.size],i["icon-only"]&&{sm:"px-1 aspect-square",md:"sd-7-0-1-button--size-md--icon-only-padding-inline aspect-square",lg:"px-[12px] aspect-square"}[this.size],{primary:this.inverted?`${this.visuallyDisabled?"sd-7-0-1-button--inverted--disabled-color-background text-white border-neutral-500":"sd-7-0-1-button--primary--inverted--default-color-text sd-7-0-1-button--primary--inverted--default-color-background border-white hover:sd-7-0-1-button--primary--inverted--hover-color-text active:sd-7-0-1-button--primary--inverted--active-color-text"}
|
|
178
|
+
disabled:sd-7-0-1-button--inverted--disabled-color-background disabled:text-white`:`${this.visuallyDisabled?"sd-7-0-1-button--primary--disabled-color-background border-neutral-500 text-white":"sd-7-0-1-button--primary--default-color-background border-transparent sd-7-0-1-button--primary--default-color-text hover:sd-7-0-1-button--primary--hover-color-text active:sd-7-0-1-button--primary--active-color-text"}
|
|
179
|
+
disabled:sd-7-0-1-button--primary--disabled-color-background disabled:text-white`,secondary:this.inverted?`border sd-7-0-1-button-border-width ${this.visuallyDisabled?"text-neutral-600 border-neutral-600":"sd-7-0-1-button--secondary--inverted-color-text sd-7-0-1-button--secondary--inverted-color-border hover:sd-7-0-1-button--secondary--inverted-color-border hover:sd-7-0-1-button--secondary--inverted--hover-color-text active:sd-7-0-1-button--secondary--inverted--active-color-text active:border-primary-200"}
|
|
180
|
+
disabled:sd-7-0-1-button--inverted--disabled-color-border disabled:sd-7-0-1-button--inverted--disabled-color-text`:`border sd-7-0-1-button-border-width ${this.visuallyDisabled?"sd-7-0-1-button--secondary--disabled-color-text sd-7-0-1-button--secondary--disabled-color-border":"sd-7-0-1-button--secondary--default-color-text sd-7-0-1-button--secondary--default-color-border hover:sd-7-0-1-button--secondary--hover-color-text hover:sd-7-0-1-button--secondary--hover-color-border active:sd-7-0-1-button--secondary--active-color-text active:sd-7-0-1-button--secondary--active-color-border"}
|
|
181
|
+
disabled:sd-7-0-1-button--secondary--disabled-color-text disabled:sd-7-0-1-button--secondary--disabled-color-border`,tertiary:this.inverted?`border-transparent ${this.visuallyDisabled?"text-neutral-600":"sd-7-0-1-button--tertiary--inverted-color-text hover:sd-7-0-1-button--tertiary--inverted--hover-color-text active:sd-7-0-1-button--tertiary--inverted--active-color-text"}
|
|
182
|
+
disabled:sd-7-0-1-button--inverted--disabled-color-text`:`border-transparent ${this.visuallyDisabled?"sd-7-0-1-button--tertiary--disabled-color-text":"sd-7-0-1-button--tertiary--default-color-text hover:sd-7-0-1-button--tertiary--hover-color-text active:sd-7-0-1-button--tertiary--active-color-text"}
|
|
183
|
+
disabled:sd-7-0-1-button--tertiary--disabled-color-text`,cta:`${this.visuallyDisabled?"sd-7-0-1-button--primary--disabled-color-background border-neutral-500":"border-transparent"}
|
|
184
|
+
${this.inverted?"sd-7-0-1-button--cta--inverted--default-color-background sd-7-0-1-button--cta--inverted--default-color-text hover:sd-7-0-1-button--cta--inverted--hover-color-text active:sd-7-0-1-button--cta--inverted--active-color-text disabled:sd-7-0-1-button--inverted--disabled-color-background disabled:text-white":"text-white bg-accent disabled:sd-7-0-1-button--primary--disabled-color-background disabled:border-neutral-500 disabled:text-white"}`}[this.variant],!this.hasUiMotion&&!this.disabled&&!this.visuallyDisabled&&n.baseBackground)}" ?disabled="${$(t?void 0:this.disabled)}" type="${$(t?void 0:this.type)}" title="${this.title}" name="${$(t?void 0:this.name)}" value="${$(t?void 0:this.value)}" href="${$(t?this.href:void 0)}" target="${$(t?this.target:void 0)}" download="${$(t?this.download:void 0)}" rel="${$(t&&this.target?"noreferrer noopener":void 0)}" role="${$(t?void 0:"button")}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-labelledby="content" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${c("absolute inset-0 -z-10 overflow-hidden pointer-events-none ",(!this.hasUiMotion||this.disabled||this.visuallyDisabled)&&"hidden",{sm:"sd-7-0-1-button-border-radius",md:"sd-7-0-1-button-border-radius",lg:"sd-7-0-1-button-border-radius"}[this.size])}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${c("absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",n.motionBackground)}"></div><div class="${c("absolute w-full h-full mt-[22%]",n.motionBackground,this.variant==="secondary"&&this.inverted&&"group-active:sd-7-0-1-button--secondary--active-color-border")}"></div></div></div><slot name="icon-left" part="icon-left" class="${c("flex flex-auto items-center justify-end pointer-events-none",i["icon-only"]&&"hidden",this.loading&&"invisible",i["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" id="content" class="${c("inline-flex items-center justify-center",{sm:"leading-5",md:"leading-6",lg:"leading-6"}[this.size],i["icon-only"]&&"pointer-events-none",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${c("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",i["icon-only"]&&"hidden",i["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?q`<sd-7-0-1-loader class="${c("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-7-0-1-loader>`:""}</${e}>`}};G.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
185
|
+
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}.sd-7-0-1-button--simple-motion{transition:background-color 150ms ease,color 150ms ease,border-color 150ms ease,box-shadow 150ms ease}::slotted(sd-7-0-1-badge){pointer-events:none;position:absolute;top:0;right:0;--tw-translate-x:calc(1 / 2 * 100%)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-7-0-1-icon),sd-7-0-1-loader{font-size:calc(var(--tw-varspacing)/ 2)}:host([size=lg]) ::slotted(sd-7-0-1-icon){font-size:var(--sd-button--size-lg-icon-height,var(--sd-spacing-6))}.sd-7-0-1-button-border-radius{border-radius:var(--sd-button-border-radius)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`],o([g("a, button")],G.prototype,"button",2),o([ur({selector:"sd-7-0-1-icon"})],G.prototype,"_iconsInDefaultSlot",2),o([L()],G.prototype,"invalid",2),o([L()],G.prototype,"hasUiMotion",2),o([d({type:String,reflect:!0})],G.prototype,"title",2),o([d({type:String,reflect:!0})],G.prototype,"variant",2),o([d({type:Boolean,reflect:!0})],G.prototype,"inverted",2),o([d({type:String,reflect:!0})],G.prototype,"size",2),o([d({type:Boolean,reflect:!0})],G.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],G.prototype,"visuallyDisabled",2),o([d({type:Boolean,reflect:!0})],G.prototype,"loading",2),o([d({type:String,reflect:!0})],G.prototype,"type",2),o([d({type:String,reflect:!0})],G.prototype,"name",2),o([d()],G.prototype,"value",2),o([d({type:String,reflect:!0})],G.prototype,"href",2),o([d({type:String,reflect:!0})],G.prototype,"target",2),o([d({reflect:!0})],G.prototype,"download",2),o([d({reflect:!0})],G.prototype,"form",2),o([d({attribute:"formaction"})],G.prototype,"formAction",2),o([d({attribute:"formenctype"})],G.prototype,"formEnctype",2),o([d({attribute:"formmethod"})],G.prototype,"formMethod",2),o([d({attribute:"formnovalidate",type:Boolean})],G.prototype,"formNoValidate",2),o([d({attribute:"formtarget"})],G.prototype,"formTarget",2),o([C("disabled",{waitUntilFirstUpdate:!0})],G.prototype,"handleDisabledChange",1),G=o([E("sd-7-0-1-button")],G);function yr(s){return s.charAt(0).toUpperCase()+s.slice(1)}function ps(s){return s.replace(/-./g,r=>r[1].toUpperCase())}var St=class extends f{constructor(){super(...arguments);this.hasSlotController=new A(this,"footer");this.localize=new D(this);this.open=!1;this.label="";this.placement="end";this.noHeader=!1}firstUpdated(){this.drawer.addEventListener("cancel",t=>{t.preventDefault(),this.requestClose("keyboard")}),this.open&&this.drawer.showModal()}requestClose(t){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){let i=j(this,"drawer.denyClose",{dir:this.localize.dir()});W(this.panel,i.keyframes,i.options);return}this.hide()}async handleOpenChange(){var e;let t=(e=this.closeButton.shadowRoot)==null?void 0:e.querySelector('[part="base"]');if(this.open){this.emit("sd-show");let i=this.querySelector("[autofocus]");i&&i.removeAttribute("autofocus"),await rt(this.drawer),this.drawer.showModal(),this.drawer.removeAttribute("inert");let a=j(this,"drawer.overlay.show",{dir:this.localize.dir()});W(this.overlay,a.keyframes,a.options);let n=j(this,`drawer.show${yr(this.placement)}`,{dir:this.localize.dir()});await W(this.panel,n.keyframes,n.options),t==null||t.setAttribute("aria-controls","drawer"),t==null||t.setAttribute("aria-expanded","true"),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(i?i.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),i?i.setAttribute("autofocus",""):this.closeButton.focus()}),this.emit("sd-after-show")}else{this.emit("sd-hide"),await rt(this.drawer);let i=j(this,"drawer.overlay.hide",{dir:this.localize.dir()});W(this.overlay,i.keyframes,i.options);let a=j(this,`drawer.hide${yr(this.placement)}`,{dir:this.localize.dir()});await W(this.panel,a.keyframes,a.options),this.drawer.close(),this.drawer.setAttribute("inert",""),t==null||t.setAttribute("aria-expanded","false"),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,Q(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Q(this,"sd-after-hide")}render(){return p`<dialog id="drawer" part="base" class="top-0 start-0 w-full h-full p-0 bg-transparent border-none max-w-none max-h-none" aria-label="${this.label}"><div part="overlay" class="fixed inset-0" @click="${()=>this.requestClose("overlay")}"></div><div part="panel" class="${c("absolute flex flex-col gap-4 z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[var(--width)] h-full",start:"top-0 end-auto bottom-auto start-0 w-[var(--width)] h-full"}[this.placement])}" aria-label="${this.label}" tabindex="0">${this.noHeader?p`<sd-7-0-1-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 end-2 z-10"><sd-7-0-1-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-7-0-1-icon></sd-7-0-1-button>`:p`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:64px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ms-4 absolute top-2 end-2"><sd-7-0-1-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-7-0-1-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-7-0-1-icon></sd-7-0-1-button></div></header>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" tabindex="0"><slot></slot></div><footer part="footer" class="${c(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></dialog>`}};St.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
186
|
+
:host{--width:25rem;display:contents}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:0;width:0}:host [part=panel]{outline:1px solid rgb(var(--sd-panel-color-border,transparent))}::backdrop{display:none}[part=overlay]{background-color:rgb(var(--sd-overlay-color-background,5 21 48 / .9))}`],o([g("[part=base]")],St.prototype,"drawer",2),o([g("[part=overlay]")],St.prototype,"overlay",2),o([g("[part=panel]")],St.prototype,"panel",2),o([g("[part=close-button]")],St.prototype,"closeButton",2),o([d({type:Boolean,reflect:!0})],St.prototype,"open",2),o([d({type:String,attribute:"label",reflect:!0})],St.prototype,"label",2),o([d({type:String,reflect:!0})],St.prototype,"placement",2),o([d({attribute:"no-header",type:Boolean,reflect:!0})],St.prototype,"noHeader",2),o([C("open",{waitUntilFirstUpdate:!0})],St.prototype,"handleOpenChange",1),St=o([E("sd-7-0-1-drawer")],St);F("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});F("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});F("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"linear"}});F("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"linear"}});var He=class{constructor(r){this.fixedEnd=!0;this.fixedStart=!0;this.gradient=!1;this.outline=!1;this.map=(r,t,e,i,a)=>(r-t)*(a-i)/(e-t)+i;this.damp=(r,t,e)=>2*(1-t/r)*(t/r)*e;this.canvas=r.canvas,this.frequency=r.frequency,this.phase=r.phase,this.amplitude=r.amplitude,this.color=r.color,this.shift=r.shift,this.lineWidth=2,this.damping=r.damping,this.context=this.canvas.getContext("2d"),this.paused=!0,this.playbackSpeed=1,this.origin={x:0,y:this.canvas.height}}drawPoint(r,t,e){if(!this.context)return;let i=this.lineWidth/2;if(this.context.beginPath(),this.outline&&(this.context.fillStyle=e,this.context.lineWidth=2,this.context.arc(r,t,i,0,2*Math.PI),this.context.fill()),this.gradient){let a=this.context.createLinearGradient(0,0,0,this.canvas.height);a.addColorStop(.1,e),a.addColorStop(1,"transparent"),this.context.fillStyle=a}else this.context.fillStyle=e;this.context.fillRect(r-i,t-i,i,this.canvas.height-t+i)}buildSine(r,t,e,i,a){for(let n=this.origin.x,l=this.origin.x+r;n<l;n+=1){let h=i*Math.sin(a*(n+t));this.fixedStart&&this.fixedEnd?this.drawPoint(n,this.origin.y+this.damp(l,n,this.damping)*h,e):this.fixedStart?this.drawPoint(n,this.origin.y+this.map(n,this.origin.x,l,0,this.damping)*h,e):this.fixedEnd?this.drawPoint(n,this.origin.y+(this.damping-this.map(n,this.origin.x,l,0,this.damping))*h,e):this.drawPoint(n,this.origin.y+h,e)}}redraw(){this.phase+=this.shift*(this.paused?1:2*this.playbackSpeed),this.buildSine(this.canvas.width,this.phase,this.color,this.amplitude,this.frequency)}setPlay(){this.paused=!1}setPause(){this.paused=!0}setPlaybackSpeed(r){this.playbackSpeed=r}};var mt=class extends f{constructor(){super();this.localize=new D(this);this.hasSlotController=new A(this,"transcript");this.reversedLayout=!1;this.hideTimestamps=!1;this.animated=!1;this.inverted=!1;this.speed=1;this.currentTime=this.formatTime(0);this.duration="";this.isPlaying=!1;this.isMuted=!1;this.isTranscriptOpen=!1;this.progress=0;this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this),this.handleTranscriptDrawerToggle=this.handleTranscriptDrawerToggle.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),document.addEventListener("sd-after-hide",this.handleTranscriptDrawerToggle),this.audioElement.playbackRate=this.speed,this.progressSlider.tooltipFormatter=t=>this.localize.term("seconds",Number(t).toFixed(0)),this.animated&&this.initAnimation())}updated(t){if(t.has("animated")){let e=t.get("animated");!e&&this.animated?this.initAnimation():e&&!this.animated&&this.clear()}}get audioElement(){let t=this.shadowRoot.querySelector("slot");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let t=this.audioElement.currentTime;this.currentTime=this.formatTime(t),this.progress=t,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(t){t.key==="Enter"&&(t.preventDefault(),this.togglePlaybackSpeed())}formatTime(t){let e=Math.floor(t/60).toString().padStart(2,"0"),i=Math.floor(t%60).toString().padStart(2,"0");return`${e}:${i}`}handleAudioProgress(){if(!this.audioElement)return;let t=Number(this.progressSlider.value);this.audioElement.currentTime=t,this.progress=t,this.currentTime=this.formatTime(t)}handleAudioProgressKeydown(t){t.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),t.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}handleThumbGrab(){var t;(t=this.audioElement)==null||t.pause()}handleThumbRelease(){var t;this.isPlaying&&((t=this.audioElement)==null||t.play())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(t){(t.key==="Enter"||t.key===" ")&&this.showTranscript()}rgbToHex(t){let e=t.match(/\d+/g);if((e==null?void 0:e.length)===3){let i=parseInt(e[0]),a=parseInt(e[1]),n=parseInt(e[2]),l=u=>u.toString(16).padStart(2,"0");return`#${l(i)}${l(a)}${l(n)}`.toUpperCase()}return null}onThemeChange(){this.clear(),setTimeout(this.initAnimation.bind(this),this.token("--sd-duration-fast",150))}initAnimation(){var l;let t=(l=this.canvas)==null?void 0:l.getContext("2d");if(!t)return;this.context=t;let e=this.audioPlayerContainer.querySelector(".playback-speed"),a=window.getComputedStyle(e).color,n=this.inverted?"#FFFFFF33":this.rgbToHex(a)+"33";this.waveList=[new He({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new He({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new He({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new He({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new He({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(t=>{t.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(t=>{t.redraw()}),await new Promise(t=>{setTimeout(t,1e3/30)}),await this.draw())}render(){let t=p`<div class="${c("controls grid grid-cols-3 justify-items-center items-center",this.reversedLayout?"mt-2":"mb-2",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full")}" part="audio-controls"><button class="${c("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-7-0-1-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="mb-4">${this.isPlaying?p`<slot name="pause-icon"><sd-7-0-1-icon class="text-xl" name="pause" library="_internal"></sd-7-0-1-icon></slot>`:p`<slot name="play-icon"><sd-7-0-1-icon class="text-xl" name="play" library="_internal"></sd-7-0-1-icon></slot>`}</sd-7-0-1-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript")?p`<button class="${c("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-7-0-1-icon class="w-6 h-6" name="transcript" library="_internal"></sd-7-0-1-icon></button>`:null} <button class="${c("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-7-0-1-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-7-0-1-icon></button></div></div>`,e=p`<div class="${c("w-full flex justify-between",this.reversedLayout?"mb-0.5":"mt-0.5",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 !mb-4")}" part="timestamps"><div class="${c("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.currentTime}</div><div class="${c("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.duration}</div></div>`;return p`<div class="${c("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?t:null}<div class="relative">${this.animated&&!this.reversedLayout?p`${t}`:null} ${this.animated?p`<canvas class="w-full h-16 -mb-2"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?e:null}<sd-7-0-1-range part="progress-slider" tooltip="hidden" min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-7-0-1-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-7-0-1-range></div>${this.hasSlotController.test("transcript")?p`<sd-7-0-1-drawer><slot name="transcript"></slot></sd-7-0-1-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?e:null}</div><sd-7-0-1-theme-listener></sd-7-0-1-theme-listener>`}};mt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
187
|
+
sd-7-0-1-button::part(base){display:flex;height:var(--sd-spacing-12,3rem);width:var(--sd-spacing-12,3rem);align-items:center;justify-content:center;border-radius:var(--sd-radius-full,624.9375rem)}sd-7-0-1-button::part(motion-wrapper){border-radius:var(--sd-radius-full,624.9375rem)}sd-7-0-1-button::part(label){display:flex;flex-grow:0;align-items:center}sd-7-0-1-range::part(form-control-label){display:none}:host([inverted]) sd-7-0-1-range::part(thumb){outline-color:rgba(var(--sd-color-border-white,var(--sd-color-white,255 255 255)));background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([animated]) sd-7-0-1-range::part(track){background-color:transparent}:host([inverted]:not([animated])) sd-7-0-1-range::part(track){background-color:rgba(var(--sd-audio__slide-bar--inverted-color-background,rgba(var(--sd-color-primary-400))))}:host([inverted]:not([animated])) sd-7-0-1-range::part(active-track){background-color:rgba(var(--sd-audio__track-bar--inverted-color-background,rgba(var(--sd-color-white))))}`],o([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],mt.prototype,"reversedLayout",2),o([d({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],mt.prototype,"hideTimestamps",2),o([d({type:Boolean,reflect:!0})],mt.prototype,"animated",2),o([d({type:Boolean,reflect:!0})],mt.prototype,"inverted",2),o([d({type:Number,reflect:!0})],mt.prototype,"speed",2),o([L()],mt.prototype,"currentTime",2),o([L()],mt.prototype,"duration",2),o([L()],mt.prototype,"isPlaying",2),o([L()],mt.prototype,"isMuted",2),o([L()],mt.prototype,"isTranscriptOpen",2),o([L()],mt.prototype,"progress",2),o([g('[part="progress-slider"]')],mt.prototype,"progressSlider",2),o([g('[part="audio-player"]')],mt.prototype,"audioPlayerContainer",2),o([g("sd-7-0-1-drawer")],mt.prototype,"drawer",2),o([g("canvas")],mt.prototype,"canvas",2),mt=o([E("sd-7-0-1-audio")],mt);var ue=class extends f{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return p`<span part="base" aria-labelledby="content" class="${c("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"sd-7-0-1-badge--blue--inverted-color-text sd-7-0-1-badge--blue--inverted-color-background sd-7-0-1-badge--inverted-color-border":"text-white sd-7-0-1-badge--blue-color-background border-white",green:this.inverted?"sd-7-0-1-badge--green-color--inverted-text sd-7-0-1-badge--green-color--inverted-background sd-7-0-1-badge--inverted-color-border":"text-white sd-7-0-1-badge--green-color-background border-white",red:this.inverted?"sd-7-0-1-badge--red--inverted-text sd-7-0-1-badge--red--inverted-background sd-7-0-1-badge--inverted-color-border":"text-white sd-7-0-1-badge--red-color-background border-white"}[this.variant])}"><span id="content" part="content" class="${c(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};ue.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
188
|
+
:host{display:inline-flex;align-items:center;justify-content:center}:host([size=md]){height:var(--sd-spacing-4,1rem);min-width:var(--sd-spacing-4,1rem);font-size:.625rem}:host([size=lg]){height:calc(var(--sd-spacing-1,.25rem) * 5);min-width:calc(var(--sd-spacing-1,.25rem) * 5);font-size:.75rem}:host([size=sm])::part(base){height:var(--sd-spacing-2,.5rem);min-width:var(--sd-spacing-2,.5rem)}:host([size=md])::part(base){padding-inline:var(--sd-spacing-1,.25rem)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],o([d({type:String,reflect:!0})],ue.prototype,"size",2),o([d({type:String,reflect:!0})],ue.prototype,"variant",2),o([d({type:Boolean,reflect:!0})],ue.prototype,"inverted",2),ue=o([E("sd-7-0-1-badge")],ue);var ee=class extends f{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(t,e){return{0:this.smallSvg(e),414:this.mediumSvg(e),640:this.largeSvg(e)}[t]}largeSvg(t){return t==="top"?p`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:p`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return t==="top"?p`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:p`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return t==="top"?p`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:p`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return p`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return p`<div class="${c({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${c({"neutral-100":"sd-7-0-1-brandshape--neutral-100-color-background",primary:"sd-7-0-1-brandshape--primary-color-background",white:"sd-7-0-1-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-7-0-1-brandshape--primary-80-color-background","white|80":"sd-7-0-1-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${c("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":p`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return p`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return p`<div class="${c({"neutral-100":"sd-7-0-1-brandshape--neutral-100-color-background",primary:"sd-7-0-1-brandshape--primary-color-background",white:"sd-7-0-1-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-7-0-1-brandshape--primary-80-color-background","white|80":"sd-7-0-1-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full",this.variant!=="primary|80"&&this.variant!=="white|80"?"h-[1px]":"")}"></div>`}renderStylizedVariant(){return p`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${c(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return p`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let t=this.variant.startsWith("border-")||this.variant==="image";return p`<div class="${c(t&&"fill-transparent","relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};ee.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
189
189
|
:host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
|
|
190
190
|
(var(--opposite) - (var(--radius) / 3)) * 0.5
|
|
191
|
-
)}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:0;left:0;transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-brandshape--primary-color-border, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-brandshape-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:0;border-style:var(--tw-border-style);border-width:var(--sd-border-width-2,.125rem);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-brandshape--white-color-background,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-brandshape--primary-color-background,rgba(var(--sd-color-primary))))}:host([variant='primary|80']) [part=base]{fill:rgba(var(--sd-brandshape--primary-80-color-background,rgba(var(--sd-color-primary))))}:host([variant='white|80']) [part=base]{fill:rgba(var(--sd-brandshape--white-80-color-background,rgba(var(--sd-color-white))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],o([v("[part=base]")],ee.prototype,"containerElem",2),o([d({type:String,reflect:!0})],ee.prototype,"variant",2),o([d({type:Array})],ee.prototype,"shapes",2),o([L()],ee.prototype,"componentBreakpoint",2),ee=o([C("sd-7-0-0-brandshape")],ee);var pe=Math.min,re=Math.max,jr=Math.round,Wr=Math.floor,me=s=>({x:s,y:s}),nd={left:"right",right:"left",bottom:"top",top:"bottom"};function ms(s,r,t){return re(s,pe(r,t))}function or(s,r){return typeof s=="function"?s(r):s}function Fe(s){return s.split("-")[0]}function ar(s){return s.split("-")[1]}function fs(s){return s==="x"?"y":"x"}function Ti(s){return s==="y"?"height":"width"}function fe(s){let r=s[0];return r==="t"||r==="b"?"y":"x"}function Li(s){return fs(fe(s))}function Po(s,r,t){t===void 0&&(t=!1);let e=ar(s),i=Li(s),a=Ti(i),n=i==="x"?e===(t?"end":"start")?"right":"left":e==="start"?"bottom":"top";return r.reference[a]>r.floating[a]&&(n=Kr(n)),[n,Kr(n)]}function Vo(s){let r=Kr(s);return[Ei(s),r,Ei(r)]}function Ei(s){return s.includes("start")?s.replace("start","end"):s.replace("end","start")}var Oo=["left","right"],Io=["right","left"],ld=["top","bottom"],dd=["bottom","top"];function cd(s,r,t){switch(s){case"top":case"bottom":return t?r?Io:Oo:r?Oo:Io;case"left":case"right":return r?ld:dd;default:return[]}}function Ho(s,r,t,e){let i=ar(s),a=cd(Fe(s),t==="start",e);return i&&(a=a.map(n=>n+"-"+i),r&&(a=a.concat(a.map(Ei)))),a}function Kr(s){let r=Fe(s);return nd[r]+s.slice(r.length)}function hd(s){var r,t,e,i;return{top:(r=s.top)!=null?r:0,right:(t=s.right)!=null?t:0,bottom:(e=s.bottom)!=null?e:0,left:(i=s.left)!=null?i:0}}function bs(s){return typeof s!="number"?hd(s):{top:s,right:s,bottom:s,left:s}}function nr(s){let{x:r,y:t,width:e,height:i}=s;return{width:e,height:i,top:t,left:r,right:r+e,bottom:t+i,x:r,y:t}}function Fo(s,r,t){let{reference:e,floating:i}=s,a=fe(r),n=Li(r),l=Ti(n),h=Fe(r),u=a==="y",m=e.x+e.width/2-i.width/2,b=e.y+e.height/2-i.height/2,y=e[l]/2-i[l]/2,g;switch(h){case"top":g={x:m,y:e.y-i.height};break;case"bottom":g={x:m,y:e.y+e.height};break;case"right":g={x:e.x+e.width,y:b};break;case"left":g={x:e.x-i.width,y:b};break;default:g={x:e.x,y:e.y}}let w=ar(r);return w&&(g[n]+=y*(w==="end"?1:-1)*(t&&u?-1:1)),g}async function Ro(s,r){var t;r===void 0&&(r={});let{x:e,y:i,platform:a,rects:n,elements:l,strategy:h}=s,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:b="floating",altBoundary:y=!1,padding:g=0}=or(r,s),w=bs(g),M=l[y?b==="floating"?"reference":"floating":b],z=nr(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(M)))==null||t?M:M.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:h})),I=b==="floating"?{x:e,y:i,width:n.floating.width,height:n.floating.height}:n.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),R=await(a.isElement==null?void 0:a.isElement(O))&&await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1},V=nr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:I,offsetParent:O,strategy:h}):I);return{top:(z.top-V.top+w.top)/R.y,bottom:(V.bottom-z.bottom+w.bottom)/R.y,left:(z.left-V.left+w.left)/R.x,right:(V.right-z.right+w.right)/R.x}}var ud=50,Bo=async(s,r,t)=>{let{placement:e="bottom",strategy:i="absolute",middleware:a=[],platform:n}=t,l=n.detectOverflow?n:xt(K({},n),{detectOverflow:Ro}),h=await(n.isRTL==null?void 0:n.isRTL(r)),u=await n.getElementRects({reference:s,floating:r,strategy:i}),{x:m,y:b}=Fo(u,e,h),y=e,g=0,w={};for(let E=0;E<a.length;E++){let M=a[E];if(!M)continue;let{name:z,fn:I}=M,{x:O,y:R,data:V,reset:B}=await I({x:m,y:b,initialPlacement:e,placement:y,strategy:i,middlewareData:w,rects:u,platform:l,elements:{reference:s,floating:r}});m=O!=null?O:m,b=R!=null?R:b,w[z]=K(K({},w[z]),V),B&&g<ud&&(g++,typeof B=="object"&&(B.placement&&(y=B.placement),B.rects&&(u=B.rects===!0?await n.getElementRects({reference:s,floating:r,strategy:i}):B.rects),{x:m,y:b}=Fo(u,y,h)),E=-1)}return{x:m,y:b,placement:y,strategy:i,middlewareData:w}},No=s=>({name:"arrow",options:s,async fn(r){let{x:t,y:e,placement:i,rects:a,platform:n,elements:l,middlewareData:h}=r,{element:u,padding:m=0}=or(s,r)||{};if(u==null)return{};let b=bs(m),y={x:t,y:e},g=Li(i),w=Ti(g),E=await n.getDimensions(u),M=g==="y",z=M?"top":"left",I=M?"bottom":"right",O=M?"clientHeight":"clientWidth",R=a.reference[w]+a.reference[g]-y[g]-a.floating[w],V=y[g]-a.reference[g],B=await(n.getOffsetParent==null?void 0:n.getOffsetParent(u)),Z=B?B[O]:0;(!Z||!await(n.isElement==null?void 0:n.isElement(B)))&&(Z=l.floating[O]||a.floating[w]);let st=R/2-V/2,rt=Z/2-E[w]/2-1,tt=pe(b[z],rt),Zt=pe(b[I],rt),ot=Z-E[w]-Zt,gt=Z/2-E[w]/2+st,Ct=ms(tt,gt,ot),qt=!h.arrow&&ar(i)!=null&>!==Ct&&a.reference[w]/2-(gt<tt?tt:Zt)-E[w]/2<0,Qt=qt?gt<tt?gt-tt:gt-ot:0;return{[g]:y[g]+Qt,data:K({[g]:Ct,centerOffset:gt-Ct-Qt},qt&&{alignmentOffset:Qt}),reset:qt}}});var Uo=function(s){return s===void 0&&(s={}),{name:"flip",options:s,async fn(r){var t,e;let{placement:i,middlewareData:a,rects:n,initialPlacement:l,platform:h,elements:u}=r,Ct=or(s,r),{mainAxis:m=!0,crossAxis:b=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:E=!0}=Ct,M=ei(Ct,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((t=a.arrow)!=null&&t.alignmentOffset)return{};let z=Fe(i),I=fe(l),O=Fe(l)===l,R=await(h.isRTL==null?void 0:h.isRTL(u.floating)),V=y||(O||!E?[Kr(l)]:Vo(l)),B=w!=="none";!y&&B&&V.push(...Ho(l,E,w,R));let Z=[l,...V],st=await h.detectOverflow(r,M),rt=[],tt=((e=a.flip)==null?void 0:e.overflows)||[];if(m&&rt.push(st[z]),b){let qt=Po(i,n,R);rt.push(st[qt[0]],st[qt[1]])}if(tt=[...tt,{placement:i,overflows:rt}],!rt.every(qt=>qt<=0)){var Zt,ot;let qt=(((Zt=a.flip)==null?void 0:Zt.index)||0)+1,Qt=Z[qt];if(Qt&&(!(b==="alignment"?I!==fe(Qt):!1)||tt.every(Jt=>fe(Jt.placement)===I?Jt.overflows[0]>0:!0)))return{data:{index:qt,overflows:tt},reset:{placement:Qt}};let Lr=(ot=tt.filter(je=>je.overflows[0]<=0).sort((je,Jt)=>je.overflows[1]-Jt.overflows[1])[0])==null?void 0:ot.placement;if(!Lr)switch(g){case"bestFit":{var gt;let je=(gt=tt.filter(Jt=>{if(B){let De=fe(Jt.placement);return De===I||De==="y"}return!0}).map(Jt=>[Jt.placement,Jt.overflows.filter(De=>De>0).reduce((De,Ma)=>De+Ma,0)]).sort((Jt,De)=>Jt[1]-De[1])[0])==null?void 0:gt[0];je&&(Lr=je);break}case"initialPlacement":Lr=l;break}if(i!==Lr)return{reset:{placement:Lr}}}return{}}}};var pd=new Set(["left","top"]);async function md(s,r){let{placement:t,platform:e,elements:i}=s,a=await(e.isRTL==null?void 0:e.isRTL(i.floating)),n=Fe(t),l=ar(t),h=fe(t)==="y",u=pd.has(n)?-1:1,m=a&&h?-1:1,b=or(r,s),{mainAxis:y,crossAxis:g,alignmentAxis:w}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return l&&typeof w=="number"&&(g=l==="end"?w*-1:w),h?{x:g*m,y:y*u}:{x:y*u,y:g*m}}var qo=function(s){return s===void 0&&(s=0),{name:"offset",options:s,async fn(r){var t,e;let{x:i,y:a,placement:n,middlewareData:l}=r,h=await md(r,s);return n===((t=l.offset)==null?void 0:t.placement)&&(e=l.arrow)!=null&&e.alignmentOffset?{}:{x:i+h.x,y:a+h.y,data:xt(K({},h),{placement:n})}}}},Ko=function(s){return s===void 0&&(s={}),{name:"shift",options:s,async fn(r){let{x:t,y:e,placement:i,platform:a}=r,I=or(s,r),{mainAxis:n=!0,crossAxis:l=!1,limiter:h={fn:O=>{let{x:R,y:V}=O;return{x:R,y:V}}}}=I,u=ei(I,["mainAxis","crossAxis","limiter"]),m={x:t,y:e},b=await a.detectOverflow(r,u),y=fe(i),g=fs(y),w=m[g],E=m[y],M=(O,R)=>ms(R+b[O==="y"?"top":"left"],R,R-b[O==="y"?"bottom":"right"]);n&&(w=M(g,w)),l&&(E=M(y,E));let z=h.fn(xt(K({},r),{[g]:w,[y]:E}));return xt(K({},z),{data:{x:z.x-t,y:z.y-e,enabled:{[g]:n,[y]:l}}})}}};var jo=function(s){return s===void 0&&(s={}),{name:"size",options:s,async fn(r){let{placement:t,rects:e,platform:i,elements:a}=r,rt=or(s,r),{apply:n=()=>{}}=rt,l=ei(rt,["apply"]),h=await i.detectOverflow(r,l),u=Fe(t),m=ar(t),b=fe(t)==="y",{width:y,height:g}=e.floating,w,E;u==="top"||u==="bottom"?(w=u,E=m===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(E=u,w=m==="end"?"top":"bottom");let M=g-h.top-h.bottom,z=y-h.left-h.right,I=pe(g-h[w],M),O=pe(y-h[E],z),R=r.middlewareData.shift,V=!R,B=I,Z=O;R!=null&&R.enabled.x&&(Z=z),R!=null&&R.enabled.y&&(B=M),V&&!m&&(b?Z=y-2*re(h.left,h.right):B=g-2*re(h.top,h.bottom)),await n(xt(K({},r),{availableWidth:Z,availableHeight:B}));let st=await i.getDimensions(a.floating);return y!==st.width||g!==st.height?{reset:{rects:!0}}:{}}}};function zi(){return typeof window!="undefined"}function dr(s){return Yo(s)?(s.nodeName||"").toLowerCase():"#document"}function Vt(s){var r;return(s==null||(r=s.ownerDocument)==null?void 0:r.defaultView)||window}function be(s){var r;return(r=(Yo(s)?s.ownerDocument:s.document)||window.document)==null?void 0:r.documentElement}function Yo(s){return zi()?s instanceof Node||s instanceof Vt(s).Node:!1}function ie(s){return zi()?s instanceof Element||s instanceof Vt(s).Element:!1}function Te(s){return zi()?s instanceof HTMLElement||s instanceof Vt(s).HTMLElement:!1}function Wo(s){return!zi()||typeof ShadowRoot=="undefined"?!1:s instanceof ShadowRoot||s instanceof Vt(s).ShadowRoot}function Yr(s){let{overflow:r,overflowX:t,overflowY:e,display:i}=se(s);return/auto|scroll|overlay|hidden|clip/.test(r+e+t)&&i!=="inline"&&i!=="contents"}function Xo(s){return/^(table|td|th)$/.test(dr(s))}function Xr(s){try{if(s.matches(":popover-open"))return!0}catch(r){}try{return s.matches(":modal")}catch(r){return!1}}var fd=/transform|translate|scale|rotate|perspective|filter/,bd=/paint|layout|strict|content/,lr=s=>!!s&&s!=="none",gs;function Mi(s){let r=ie(s)?se(s):s;return lr(r.transform)||lr(r.translate)||lr(r.scale)||lr(r.rotate)||lr(r.perspective)||!Si()&&(lr(r.backdropFilter)||lr(r.filter))||fd.test(r.willChange||"")||bd.test(r.contain||"")}function Zo(s){let r=Re(s);for(;Te(r)&&!xr(r);){if(Mi(r))return r;if(Xr(r))return null;r=Re(r)}return null}function Si(){return gs==null&&(gs=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),gs}function xr(s){return/^(html|body|#document)$/.test(dr(s))}function se(s){return Vt(s).getComputedStyle(s)}function Zr(s){return ie(s)?{scrollLeft:s.scrollLeft,scrollTop:s.scrollTop}:{scrollLeft:s.scrollX,scrollTop:s.scrollY}}function Re(s){if(dr(s)==="html")return s;let r=s.assignedSlot||s.parentNode||Wo(s)&&s.host||be(s);return Wo(r)?r.host:r}function Go(s){let r=Re(s);return xr(r)?(s.ownerDocument||s).body:Te(r)&&Yr(r)?r:Go(r)}function wr(s,r,t){var e;r===void 0&&(r=[]),t===void 0&&(t=!0);let i=Go(s),a=i===((e=s.ownerDocument)==null?void 0:e.body),n=Vt(i);if(a){let l=Di(n);return r.concat(n,n.visualViewport||[],Yr(i)?i:[],l&&t?wr(l):[])}else return r.concat(i,wr(i,[],t))}function Di(s){return s.parent&&Object.getPrototypeOf(s.parent)?s.frameElement:null}function ta(s){let r=se(s),t=parseFloat(r.width)||0,e=parseFloat(r.height)||0,i=Te(s),a=i?s.offsetWidth:t,n=i?s.offsetHeight:e,l=jr(t)!==a||jr(e)!==n;return l&&(t=a,e=n),{width:t,height:e,$:l}}function ys(s){return ie(s)?s:s.contextElement}function kr(s){let r=ys(s);if(!Te(r))return me(1);let t=r.getBoundingClientRect(),{width:e,height:i,$:a}=ta(r),n=(a?jr(t.width):t.width)/e,l=(a?jr(t.height):t.height)/i;return(!n||!Number.isFinite(n))&&(n=1),(!l||!Number.isFinite(l))&&(l=1),{x:n,y:l}}var gd=me(0);function ea(s){let r=Vt(s);return!Si()||!r.visualViewport?gd:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function vd(s,r,t){return r===void 0&&(r=!1),!!t&&r&&t===Vt(s)}function cr(s,r,t,e){r===void 0&&(r=!1),t===void 0&&(t=!1);let i=s.getBoundingClientRect(),a=ys(s),n=me(1);r&&(e?ie(e)&&(n=kr(e)):n=kr(s));let l=vd(a,t,e)?ea(a):me(0),h=(i.left+l.x)/n.x,u=(i.top+l.y)/n.y,m=i.width/n.x,b=i.height/n.y;if(a&&e){let y=Vt(a),g=ie(e)?Vt(e):e,w=y,E=Di(w);for(;E&&g!==w;){let M=kr(E),z=E.getBoundingClientRect(),I=se(E),O=z.left+(E.clientLeft+parseFloat(I.paddingLeft))*M.x,R=z.top+(E.clientTop+parseFloat(I.paddingTop))*M.y;h*=M.x,u*=M.y,m*=M.x,b*=M.y,h+=O,u+=R,w=Vt(E),E=Di(w)}}return nr({width:m,height:b,x:h,y:u})}function _i(s,r){let t=Zr(s).scrollLeft;return r?r.left+t:cr(be(s)).left+t}function ra(s,r){let t=s.getBoundingClientRect(),e=t.left+r.scrollLeft-_i(s,t),i=t.top+r.scrollTop;return{x:e,y:i}}function yd(s){let{elements:r,rect:t,offsetParent:e,strategy:i}=s,a=i==="fixed",n=be(e),l=r?Xr(r.floating):!1;if(e===n||l&&a)return t;let h={scrollLeft:0,scrollTop:0},u=me(1),m=me(0),b=Te(e);if((b||!a)&&((dr(e)!=="body"||Yr(n))&&(h=Zr(e)),b)){let g=cr(e);u=kr(e),m.x=g.x+e.clientLeft,m.y=g.y+e.clientTop}let y=n&&!b&&!a?ra(n,h):me(0);return{width:t.width*u.x,height:t.height*u.y,x:t.x*u.x-h.scrollLeft*u.x+m.x+y.x,y:t.y*u.y-h.scrollTop*u.y+m.y+y.y}}function wd(s){return s.getClientRects?Array.from(s.getClientRects()):[]}function xd(s){let r=Zr(s),t=s.ownerDocument.body,e=re(s.scrollWidth,s.clientWidth,t.scrollWidth,t.clientWidth),i=re(s.scrollHeight,s.clientHeight,t.scrollHeight,t.clientHeight),a=-r.scrollLeft+_i(s),n=-r.scrollTop;return se(t).direction==="rtl"&&(a+=re(s.clientWidth,t.clientWidth)-e),{width:e,height:i,x:a,y:n}}var kd=25;function Cd(s,r,t){t===void 0&&(t="viewport");let e=t==="layoutViewport",i=Vt(s),a=be(s),n=i.visualViewport,l=a.clientWidth,h=a.clientHeight,u=0,m=0;if(n){let y=!Si()||r==="fixed";e?y||(u=-n.offsetLeft,m=-n.offsetTop):(l=n.width,h=n.height,y&&(u=n.offsetLeft,m=n.offsetTop))}if(_i(a)<=0){let y=a.ownerDocument,g=y.body,w=getComputedStyle(g),E=y.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,M=Math.abs(a.clientWidth-g.clientWidth-E),z=getComputedStyle(a).scrollbarGutter==="stable both-edges"?M/2:M;z<=kd&&(l-=z)}return{width:l,height:h,x:u,y:m}}function $d(s,r){let t=cr(s,!0,r==="fixed"),e=t.top+s.clientTop,i=t.left+s.clientLeft,a=kr(s),n=s.clientWidth*a.x,l=s.clientHeight*a.y,h=i*a.x,u=e*a.y;return{width:n,height:l,x:h,y:u}}function Qo(s,r,t){let e;if(r==="viewport"||r==="layoutViewport")e=Cd(s,t,r);else if(r==="document")e=xd(be(s));else if(ie(r))e=$d(r,t);else{let i=ea(s);e={x:r.x-i.x,y:r.y-i.y,width:r.width,height:r.height}}return nr(e)}function Ed(s,r){let t=r.get(s);if(t)return t;let e=wr(s,[],!1).filter(l=>ie(l)&&dr(l)!=="body"),i=null,a=se(s).position==="fixed",n=a?Re(s):s;for(;ie(n)&&!xr(n);){let l=se(n),h=Mi(n),u=i?i.position:a?"fixed":"";!h&&(u==="fixed"||u==="absolute"&&l.position==="static")?e=e.filter(b=>b!==n):i=l,n=Re(n)}return r.set(s,e),e}function Td(s){let{element:r,boundary:t,rootBoundary:e,strategy:i}=s,n=[...t==="clippingAncestors"?Xr(r)?[]:Ed(r,this._c):[].concat(t),e],l=Qo(r,n[0],i),h=l.top,u=l.right,m=l.bottom,b=l.left;for(let y=1;y<n.length;y++){let g=Qo(r,n[y],i);h=re(g.top,h),u=pe(g.right,u),m=pe(g.bottom,m),b=re(g.left,b)}return{width:u-b,height:m-h,x:b,y:h}}function Ld(s){let{width:r,height:t}=ta(s);return{width:r,height:t}}function zd(s,r,t){let e=Te(r),i=be(r),a=t==="fixed",n=cr(s,!0,a,r),l={scrollLeft:0,scrollTop:0},h=me(0);if((e||!a)&&((dr(r)!=="body"||Yr(i))&&(l=Zr(r)),e)){let y=cr(r,!0,a,r);h.x=y.x+r.clientLeft,h.y=y.y+r.clientTop}!e&&i&&(h.x=_i(i));let u=i&&!e&&!a?ra(i,l):me(0),m=n.left+l.scrollLeft-h.x-u.x,b=n.top+l.scrollTop-h.y-u.y;return{x:m,y:b,width:n.width,height:n.height}}function vs(s){return se(s).position==="static"}function Jo(s,r){if(!Te(s)||se(s).position==="fixed")return null;if(r)return r(s);let t=s.offsetParent;return be(s)===t&&(t=t.ownerDocument.body),t}function ia(s,r){let t=Vt(s);if(Xr(s))return t;if(!Te(s)){let i=Re(s);for(;i&&!xr(i);){if(ie(i)&&!vs(i))return i;i=Re(i)}return t}let e=Jo(s,r);for(;e&&Xo(e)&&vs(e);)e=Jo(e,r);return e&&xr(e)&&vs(e)&&!Mi(e)?t:e||Zo(s)||t}var Md=async function(s){let r=this.getOffsetParent||ia,t=this.getDimensions,e=await t(s.floating);return{reference:zd(s.reference,await r(s.floating),s.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function Sd(s){return se(s).direction==="rtl"}var Dd={convertOffsetParentRelativeRectToViewportRelativeRect:yd,getDocumentElement:be,getClippingRect:Td,getOffsetParent:ia,getElementRects:Md,getClientRects:wd,getDimensions:Ld,getScale:kr,isElement:ie,isRTL:Sd};function sa(s,r){return s.x===r.x&&s.y===r.y&&s.width===r.width&&s.height===r.height}function _d(s,r,t){let e=null,i,a=be(s);function n(){var m;clearTimeout(i),(m=e)==null||m.disconnect(),e=null}function l(m,b){m===void 0&&(m=!1),b===void 0&&(b=1),n();let y=s.getBoundingClientRect(),{left:g,top:w,width:E,height:M}=y;if(m||r(),!E||!M)return;let z=Wr(w),I=Wr(a.clientWidth-(g+E)),O=Wr(a.clientHeight-(w+M)),R=Wr(g),B={rootMargin:-z+"px "+-I+"px "+-O+"px "+-R+"px",threshold:re(0,pe(1,b))||1},Z=!0;function st(rt){let tt=rt[0].intersectionRatio;if(!sa(y,s.getBoundingClientRect()))return l();if(tt!==b){if(!Z)return l();tt?l(!1,tt):i=setTimeout(()=>{l(!1,1e-7)},1e3)}Z=!1}try{e=new IntersectionObserver(st,xt(K({},B),{root:a.ownerDocument}))}catch(rt){e=new IntersectionObserver(st,B)}e.observe(s)}let h=Vt(s),u=()=>l(t);return h.addEventListener("resize",u),l(!0),()=>{h.removeEventListener("resize",u),n()}}function oa(s,r,t,e){e===void 0&&(e={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:n=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:h=!1}=e,u=ys(s),m=i||a?[...u?wr(u):[],...r?wr(r):[]]:[];m.forEach(z=>{i&&z.addEventListener("scroll",t),a&&z.addEventListener("resize",t)});let b=u&&l?_d(u,t,a):null,y=-1,g=null;n&&(g=new ResizeObserver(z=>{let[I]=z;I&&I.target===u&&g&&r&&(g.unobserve(r),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var O;(O=g)==null||O.observe(r)})),t()}),u&&!h&&g.observe(u),r&&g.observe(r));let w,E=h?cr(s):null;h&&M();function M(){let z=cr(s);E&&!sa(E,z)&&t(),E=z,w=requestAnimationFrame(M)}return t(),()=>{var z;m.forEach(I=>{i&&I.removeEventListener("scroll",t),a&&I.removeEventListener("resize",t)}),b==null||b(),(z=g)==null||z.disconnect(),g=null,h&&cancelAnimationFrame(w)}}var aa=qo;var na=Ko,la=Uo,ws=jo;var da=No;var ca=(s,r,t)=>{let e=new Map,i=t!=null?t:{},a=xt(K(K({},Dd),i.platform),{_c:e});return Bo(s,r,xt(K({},i),{platform:a}))};var J=class extends f{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(e=>this.handleCurrentPlacementChange(e));let t={attributes:!0};this.mutationObserver.observe(this,t)}handleCurrentPlacementChange(t){return t.forEach(e=>{if(e.attributeName==="data-current-placement"){let i=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:i})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=oa(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>t())):t()})}reposition(){if(!this.active||!this.anchorEl)return;let t=[aa({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(ws({apply:({rects:e})=>{let i=this.sync==="width"||this.sync==="both",a=this.sync==="height"||this.sync==="both";this.popup.style.width=i?`${e.reference.width}px`:"",this.popup.style.height=a?`${e.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(la({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(na({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(ws({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:e,availableHeight:i})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${i}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${e}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push(da({element:this.arrowEl,padding:this.arrowPadding})),ca(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy}).then(({x:e,y:i,middlewareData:a,placement:n})=>{let l=getComputedStyle(this).direction==="rtl",h={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(this.setAttribute("data-current-placement",n),Object.assign(this.popup.style,{left:`${e}px`,top:`${i}px`}),this.arrow){let u=a.arrow.x,m=a.arrow.y,b="",y="",g="",w="";if(this.arrowPlacement==="start"){let E=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";b=typeof m=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",y=l?E:"",w=l?"":E}else if(this.arrowPlacement==="end"){let E=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";y=l?"":E,w=l?E:"",g=typeof m=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(w=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":"",b=typeof m=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(w=typeof u=="number"?`${u}px`:"",b=typeof m=="number"?`${m}px`:"");Object.assign(this.arrowEl.style,{top:b,right:y,bottom:g,left:w,[h]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return p`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${c("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?p`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};J.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
192
|
-
:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],o([
|
|
191
|
+
)}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:0;left:0;transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-brandshape--primary-color-border, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-brandshape-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:0;border-style:var(--tw-border-style);border-width:var(--sd-border-width-2,.125rem);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-brandshape--white-color-background,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-brandshape--primary-color-background,rgba(var(--sd-color-primary))))}:host([variant='primary|80']) [part=base]{fill:rgba(var(--sd-brandshape--primary-80-color-background,rgba(var(--sd-color-primary))))}:host([variant='white|80']) [part=base]{fill:rgba(var(--sd-brandshape--white-80-color-background,rgba(var(--sd-color-white))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],o([g("[part=base]")],ee.prototype,"containerElem",2),o([d({type:String,reflect:!0})],ee.prototype,"variant",2),o([d({type:Array})],ee.prototype,"shapes",2),o([L()],ee.prototype,"componentBreakpoint",2),ee=o([E("sd-7-0-1-brandshape")],ee);var pe=Math.min,re=Math.max,jr=Math.round,Wr=Math.floor,me=s=>({x:s,y:s}),nd={left:"right",right:"left",bottom:"top",top:"bottom"};function ms(s,r,t){return re(s,pe(r,t))}function or(s,r){return typeof s=="function"?s(r):s}function Fe(s){return s.split("-")[0]}function ar(s){return s.split("-")[1]}function fs(s){return s==="x"?"y":"x"}function Ti(s){return s==="y"?"height":"width"}function fe(s){let r=s[0];return r==="t"||r==="b"?"y":"x"}function Li(s){return fs(fe(s))}function Po(s,r,t){t===void 0&&(t=!1);let e=ar(s),i=Li(s),a=Ti(i),n=i==="x"?e===(t?"end":"start")?"right":"left":e==="start"?"bottom":"top";return r.reference[a]>r.floating[a]&&(n=Kr(n)),[n,Kr(n)]}function Vo(s){let r=Kr(s);return[$i(s),r,$i(r)]}function $i(s){return s.includes("start")?s.replace("start","end"):s.replace("end","start")}var Oo=["left","right"],Io=["right","left"],ld=["top","bottom"],dd=["bottom","top"];function cd(s,r,t){switch(s){case"top":case"bottom":return t?r?Io:Oo:r?Oo:Io;case"left":case"right":return r?ld:dd;default:return[]}}function Ho(s,r,t,e){let i=ar(s),a=cd(Fe(s),t==="start",e);return i&&(a=a.map(n=>n+"-"+i),r&&(a=a.concat(a.map($i)))),a}function Kr(s){let r=Fe(s);return nd[r]+s.slice(r.length)}function hd(s){var r,t,e,i;return{top:(r=s.top)!=null?r:0,right:(t=s.right)!=null?t:0,bottom:(e=s.bottom)!=null?e:0,left:(i=s.left)!=null?i:0}}function bs(s){return typeof s!="number"?hd(s):{top:s,right:s,bottom:s,left:s}}function nr(s){let{x:r,y:t,width:e,height:i}=s;return{width:e,height:i,top:t,left:r,right:r+e,bottom:t+i,x:r,y:t}}function Fo(s,r,t){let{reference:e,floating:i}=s,a=fe(r),n=Li(r),l=Ti(n),h=Fe(r),u=a==="y",m=e.x+e.width/2-i.width/2,b=e.y+e.height/2-i.height/2,y=e[l]/2-i[l]/2,v;switch(h){case"top":v={x:m,y:e.y-i.height};break;case"bottom":v={x:m,y:e.y+e.height};break;case"right":v={x:e.x+e.width,y:b};break;case"left":v={x:e.x-i.width,y:b};break;default:v={x:e.x,y:e.y}}let w=ar(r);return w&&(v[n]+=y*(w==="end"?1:-1)*(t&&u?-1:1)),v}async function Ro(s,r){var t;r===void 0&&(r={});let{x:e,y:i,platform:a,rects:n,elements:l,strategy:h}=s,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:b="floating",altBoundary:y=!1,padding:v=0}=or(r,s),w=bs(v),M=l[y?b==="floating"?"reference":"floating":b],z=nr(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(M)))==null||t?M:M.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:h})),I=b==="floating"?{x:e,y:i,width:n.floating.width,height:n.floating.height}:n.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),R=await(a.isElement==null?void 0:a.isElement(O))&&await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1},H=nr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:I,offsetParent:O,strategy:h}):I);return{top:(z.top-H.top+w.top)/R.y,bottom:(H.bottom-z.bottom+w.bottom)/R.y,left:(z.left-H.left+w.left)/R.x,right:(H.right-z.right+w.right)/R.x}}var ud=50,Bo=async(s,r,t)=>{let{placement:e="bottom",strategy:i="absolute",middleware:a=[],platform:n}=t,l=n.detectOverflow?n:xt(K({},n),{detectOverflow:Ro}),h=await(n.isRTL==null?void 0:n.isRTL(r)),u=await n.getElementRects({reference:s,floating:r,strategy:i}),{x:m,y:b}=Fo(u,e,h),y=e,v=0,w={};for(let x=0;x<a.length;x++){let M=a[x];if(!M)continue;let{name:z,fn:I}=M,{x:O,y:R,data:H,reset:B}=await I({x:m,y:b,initialPlacement:e,placement:y,strategy:i,middlewareData:w,rects:u,platform:l,elements:{reference:s,floating:r}});m=O!=null?O:m,b=R!=null?R:b,w[z]=K(K({},w[z]),H),B&&v<ud&&(v++,typeof B=="object"&&(B.placement&&(y=B.placement),B.rects&&(u=B.rects===!0?await n.getElementRects({reference:s,floating:r,strategy:i}):B.rects),{x:m,y:b}=Fo(u,y,h)),x=-1)}return{x:m,y:b,placement:y,strategy:i,middlewareData:w}},No=s=>({name:"arrow",options:s,async fn(r){let{x:t,y:e,placement:i,rects:a,platform:n,elements:l,middlewareData:h}=r,{element:u,padding:m=0}=or(s,r)||{};if(u==null)return{};let b=bs(m),y={x:t,y:e},v=Li(i),w=Ti(v),x=await n.getDimensions(u),M=v==="y",z=M?"top":"left",I=M?"bottom":"right",O=M?"clientHeight":"clientWidth",R=a.reference[w]+a.reference[v]-y[v]-a.floating[w],H=y[v]-a.reference[v],B=await(n.getOffsetParent==null?void 0:n.getOffsetParent(u)),Z=B?B[O]:0;(!Z||!await(n.isElement==null?void 0:n.isElement(B)))&&(Z=l.floating[O]||a.floating[w]);let it=R/2-H/2,tt=Z/2-x[w]/2-1,et=pe(b[z],tt),Zt=pe(b[I],tt),ot=Z-x[w]-Zt,gt=Z/2-x[w]/2+it,Ct=ms(et,gt,ot),qt=!h.arrow&&ar(i)!=null&>!==Ct&&a.reference[w]/2-(gt<et?et:Zt)-x[w]/2<0,Qt=qt?gt<et?gt-et:gt-ot:0;return{[v]:y[v]+Qt,data:K({[v]:Ct,centerOffset:gt-Ct-Qt},qt&&{alignmentOffset:Qt}),reset:qt}}});var Uo=function(s){return s===void 0&&(s={}),{name:"flip",options:s,async fn(r){var t,e;let{placement:i,middlewareData:a,rects:n,initialPlacement:l,platform:h,elements:u}=r,Ct=or(s,r),{mainAxis:m=!0,crossAxis:b=!0,fallbackPlacements:y,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:x=!0}=Ct,M=ei(Ct,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((t=a.arrow)!=null&&t.alignmentOffset)return{};let z=Fe(i),I=fe(l),O=Fe(l)===l,R=await(h.isRTL==null?void 0:h.isRTL(u.floating)),H=y||(O||!x?[Kr(l)]:Vo(l)),B=w!=="none";!y&&B&&H.push(...Ho(l,x,w,R));let Z=[l,...H],it=await h.detectOverflow(r,M),tt=[],et=((e=a.flip)==null?void 0:e.overflows)||[];if(m&&tt.push(it[z]),b){let qt=Po(i,n,R);tt.push(it[qt[0]],it[qt[1]])}if(et=[...et,{placement:i,overflows:tt}],!tt.every(qt=>qt<=0)){var Zt,ot;let qt=(((Zt=a.flip)==null?void 0:Zt.index)||0)+1,Qt=Z[qt];if(Qt&&(!(b==="alignment"?I!==fe(Qt):!1)||et.every(Jt=>fe(Jt.placement)===I?Jt.overflows[0]>0:!0)))return{data:{index:qt,overflows:et},reset:{placement:Qt}};let Lr=(ot=et.filter(je=>je.overflows[0]<=0).sort((je,Jt)=>je.overflows[1]-Jt.overflows[1])[0])==null?void 0:ot.placement;if(!Lr)switch(v){case"bestFit":{var gt;let je=(gt=et.filter(Jt=>{if(B){let De=fe(Jt.placement);return De===I||De==="y"}return!0}).map(Jt=>[Jt.placement,Jt.overflows.filter(De=>De>0).reduce((De,Ma)=>De+Ma,0)]).sort((Jt,De)=>Jt[1]-De[1])[0])==null?void 0:gt[0];je&&(Lr=je);break}case"initialPlacement":Lr=l;break}if(i!==Lr)return{reset:{placement:Lr}}}return{}}}};var pd=new Set(["left","top"]);async function md(s,r){let{placement:t,platform:e,elements:i}=s,a=await(e.isRTL==null?void 0:e.isRTL(i.floating)),n=Fe(t),l=ar(t),h=fe(t)==="y",u=pd.has(n)?-1:1,m=a&&h?-1:1,b=or(r,s),{mainAxis:y,crossAxis:v,alignmentAxis:w}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return l&&typeof w=="number"&&(v=l==="end"?w*-1:w),h?{x:v*m,y:y*u}:{x:y*u,y:v*m}}var qo=function(s){return s===void 0&&(s=0),{name:"offset",options:s,async fn(r){var t,e;let{x:i,y:a,placement:n,middlewareData:l}=r,h=await md(r,s);return n===((t=l.offset)==null?void 0:t.placement)&&(e=l.arrow)!=null&&e.alignmentOffset?{}:{x:i+h.x,y:a+h.y,data:xt(K({},h),{placement:n})}}}},Ko=function(s){return s===void 0&&(s={}),{name:"shift",options:s,async fn(r){let{x:t,y:e,placement:i,platform:a}=r,I=or(s,r),{mainAxis:n=!0,crossAxis:l=!1,limiter:h={fn:O=>{let{x:R,y:H}=O;return{x:R,y:H}}}}=I,u=ei(I,["mainAxis","crossAxis","limiter"]),m={x:t,y:e},b=await a.detectOverflow(r,u),y=fe(i),v=fs(y),w=m[v],x=m[y],M=(O,R)=>ms(R+b[O==="y"?"top":"left"],R,R-b[O==="y"?"bottom":"right"]);n&&(w=M(v,w)),l&&(x=M(y,x));let z=h.fn(xt(K({},r),{[v]:w,[y]:x}));return xt(K({},z),{data:{x:z.x-t,y:z.y-e,enabled:{[v]:n,[y]:l}}})}}};var jo=function(s){return s===void 0&&(s={}),{name:"size",options:s,async fn(r){let{placement:t,rects:e,platform:i,elements:a}=r,tt=or(s,r),{apply:n=()=>{}}=tt,l=ei(tt,["apply"]),h=await i.detectOverflow(r,l),u=Fe(t),m=ar(t),b=fe(t)==="y",{width:y,height:v}=e.floating,w,x;u==="top"||u==="bottom"?(w=u,x=m===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(x=u,w=m==="end"?"top":"bottom");let M=v-h.top-h.bottom,z=y-h.left-h.right,I=pe(v-h[w],M),O=pe(y-h[x],z),R=r.middlewareData.shift,H=!R,B=I,Z=O;R!=null&&R.enabled.x&&(Z=z),R!=null&&R.enabled.y&&(B=M),H&&!m&&(b?Z=y-2*re(h.left,h.right):B=v-2*re(h.top,h.bottom)),await n(xt(K({},r),{availableWidth:Z,availableHeight:B}));let it=await i.getDimensions(a.floating);return y!==it.width||v!==it.height?{reset:{rects:!0}}:{}}}};function zi(){return typeof window!="undefined"}function dr(s){return Yo(s)?(s.nodeName||"").toLowerCase():"#document"}function Vt(s){var r;return(s==null||(r=s.ownerDocument)==null?void 0:r.defaultView)||window}function be(s){var r;return(r=(Yo(s)?s.ownerDocument:s.document)||window.document)==null?void 0:r.documentElement}function Yo(s){return zi()?s instanceof Node||s instanceof Vt(s).Node:!1}function ie(s){return zi()?s instanceof Element||s instanceof Vt(s).Element:!1}function Te(s){return zi()?s instanceof HTMLElement||s instanceof Vt(s).HTMLElement:!1}function Wo(s){return!zi()||typeof ShadowRoot=="undefined"?!1:s instanceof ShadowRoot||s instanceof Vt(s).ShadowRoot}function Yr(s){let{overflow:r,overflowX:t,overflowY:e,display:i}=se(s);return/auto|scroll|overlay|hidden|clip/.test(r+e+t)&&i!=="inline"&&i!=="contents"}function Xo(s){return/^(table|td|th)$/.test(dr(s))}function Xr(s){try{if(s.matches(":popover-open"))return!0}catch(r){}try{return s.matches(":modal")}catch(r){return!1}}var fd=/transform|translate|scale|rotate|perspective|filter/,bd=/paint|layout|strict|content/,lr=s=>!!s&&s!=="none",gs;function Mi(s){let r=ie(s)?se(s):s;return lr(r.transform)||lr(r.translate)||lr(r.scale)||lr(r.rotate)||lr(r.perspective)||!Si()&&(lr(r.backdropFilter)||lr(r.filter))||fd.test(r.willChange||"")||bd.test(r.contain||"")}function Zo(s){let r=Re(s);for(;Te(r)&&!xr(r);){if(Mi(r))return r;if(Xr(r))return null;r=Re(r)}return null}function Si(){return gs==null&&(gs=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),gs}function xr(s){return/^(html|body|#document)$/.test(dr(s))}function se(s){return Vt(s).getComputedStyle(s)}function Zr(s){return ie(s)?{scrollLeft:s.scrollLeft,scrollTop:s.scrollTop}:{scrollLeft:s.scrollX,scrollTop:s.scrollY}}function Re(s){if(dr(s)==="html")return s;let r=s.assignedSlot||s.parentNode||Wo(s)&&s.host||be(s);return Wo(r)?r.host:r}function Go(s){let r=Re(s);return xr(r)?(s.ownerDocument||s).body:Te(r)&&Yr(r)?r:Go(r)}function wr(s,r,t){var e;r===void 0&&(r=[]),t===void 0&&(t=!0);let i=Go(s),a=i===((e=s.ownerDocument)==null?void 0:e.body),n=Vt(i);if(a){let l=Di(n);return r.concat(n,n.visualViewport||[],Yr(i)?i:[],l&&t?wr(l):[])}else return r.concat(i,wr(i,[],t))}function Di(s){return s.parent&&Object.getPrototypeOf(s.parent)?s.frameElement:null}function ta(s){let r=se(s),t=parseFloat(r.width)||0,e=parseFloat(r.height)||0,i=Te(s),a=i?s.offsetWidth:t,n=i?s.offsetHeight:e,l=jr(t)!==a||jr(e)!==n;return l&&(t=a,e=n),{width:t,height:e,$:l}}function ys(s){return ie(s)?s:s.contextElement}function kr(s){let r=ys(s);if(!Te(r))return me(1);let t=r.getBoundingClientRect(),{width:e,height:i,$:a}=ta(r),n=(a?jr(t.width):t.width)/e,l=(a?jr(t.height):t.height)/i;return(!n||!Number.isFinite(n))&&(n=1),(!l||!Number.isFinite(l))&&(l=1),{x:n,y:l}}var gd=me(0);function ea(s){let r=Vt(s);return!Si()||!r.visualViewport?gd:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function vd(s,r,t){return r===void 0&&(r=!1),!!t&&r&&t===Vt(s)}function cr(s,r,t,e){r===void 0&&(r=!1),t===void 0&&(t=!1);let i=s.getBoundingClientRect(),a=ys(s),n=me(1);r&&(e?ie(e)&&(n=kr(e)):n=kr(s));let l=vd(a,t,e)?ea(a):me(0),h=(i.left+l.x)/n.x,u=(i.top+l.y)/n.y,m=i.width/n.x,b=i.height/n.y;if(a&&e){let y=Vt(a),v=ie(e)?Vt(e):e,w=y,x=Di(w);for(;x&&v!==w;){let M=kr(x),z=x.getBoundingClientRect(),I=se(x),O=z.left+(x.clientLeft+parseFloat(I.paddingLeft))*M.x,R=z.top+(x.clientTop+parseFloat(I.paddingTop))*M.y;h*=M.x,u*=M.y,m*=M.x,b*=M.y,h+=O,u+=R,w=Vt(x),x=Di(w)}}return nr({width:m,height:b,x:h,y:u})}function _i(s,r){let t=Zr(s).scrollLeft;return r?r.left+t:cr(be(s)).left+t}function ra(s,r){let t=s.getBoundingClientRect(),e=t.left+r.scrollLeft-_i(s,t),i=t.top+r.scrollTop;return{x:e,y:i}}function yd(s){let{elements:r,rect:t,offsetParent:e,strategy:i}=s,a=i==="fixed",n=be(e),l=r?Xr(r.floating):!1;if(e===n||l&&a)return t;let h={scrollLeft:0,scrollTop:0},u=me(1),m=me(0),b=Te(e);if((b||!a)&&((dr(e)!=="body"||Yr(n))&&(h=Zr(e)),b)){let v=cr(e);u=kr(e),m.x=v.x+e.clientLeft,m.y=v.y+e.clientTop}let y=n&&!b&&!a?ra(n,h):me(0);return{width:t.width*u.x,height:t.height*u.y,x:t.x*u.x-h.scrollLeft*u.x+m.x+y.x,y:t.y*u.y-h.scrollTop*u.y+m.y+y.y}}function wd(s){return s.getClientRects?Array.from(s.getClientRects()):[]}function xd(s){let r=Zr(s),t=s.ownerDocument.body,e=re(s.scrollWidth,s.clientWidth,t.scrollWidth,t.clientWidth),i=re(s.scrollHeight,s.clientHeight,t.scrollHeight,t.clientHeight),a=-r.scrollLeft+_i(s),n=-r.scrollTop;return se(t).direction==="rtl"&&(a+=re(s.clientWidth,t.clientWidth)-e),{width:e,height:i,x:a,y:n}}var kd=25;function Cd(s,r,t){t===void 0&&(t="viewport");let e=t==="layoutViewport",i=Vt(s),a=be(s),n=i.visualViewport,l=a.clientWidth,h=a.clientHeight,u=0,m=0;if(n){let y=!Si()||r==="fixed";e?y||(u=-n.offsetLeft,m=-n.offsetTop):(l=n.width,h=n.height,y&&(u=n.offsetLeft,m=n.offsetTop))}if(_i(a)<=0){let y=a.ownerDocument,v=y.body,w=getComputedStyle(v),x=y.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,M=Math.abs(a.clientWidth-v.clientWidth-x),z=getComputedStyle(a).scrollbarGutter==="stable both-edges"?M/2:M;z<=kd&&(l-=z)}return{width:l,height:h,x:u,y:m}}function Ed(s,r){let t=cr(s,!0,r==="fixed"),e=t.top+s.clientTop,i=t.left+s.clientLeft,a=kr(s),n=s.clientWidth*a.x,l=s.clientHeight*a.y,h=i*a.x,u=e*a.y;return{width:n,height:l,x:h,y:u}}function Qo(s,r,t){let e;if(r==="viewport"||r==="layoutViewport")e=Cd(s,t,r);else if(r==="document")e=xd(be(s));else if(ie(r))e=Ed(r,t);else{let i=ea(s);e={x:r.x-i.x,y:r.y-i.y,width:r.width,height:r.height}}return nr(e)}function $d(s,r){let t=r.get(s);if(t)return t;let e=wr(s,[],!1).filter(l=>ie(l)&&dr(l)!=="body"),i=null,a=se(s).position==="fixed",n=a?Re(s):s;for(;ie(n)&&!xr(n);){let l=se(n),h=Mi(n),u=i?i.position:a?"fixed":"";!h&&(u==="fixed"||u==="absolute"&&l.position==="static")?e=e.filter(b=>b!==n):i=l,n=Re(n)}return r.set(s,e),e}function Td(s){let{element:r,boundary:t,rootBoundary:e,strategy:i}=s,n=[...t==="clippingAncestors"?Xr(r)?[]:$d(r,this._c):[].concat(t),e],l=Qo(r,n[0],i),h=l.top,u=l.right,m=l.bottom,b=l.left;for(let y=1;y<n.length;y++){let v=Qo(r,n[y],i);h=re(v.top,h),u=pe(v.right,u),m=pe(v.bottom,m),b=re(v.left,b)}return{width:u-b,height:m-h,x:b,y:h}}function Ld(s){let{width:r,height:t}=ta(s);return{width:r,height:t}}function zd(s,r,t){let e=Te(r),i=be(r),a=t==="fixed",n=cr(s,!0,a,r),l={scrollLeft:0,scrollTop:0},h=me(0);if((e||!a)&&((dr(r)!=="body"||Yr(i))&&(l=Zr(r)),e)){let y=cr(r,!0,a,r);h.x=y.x+r.clientLeft,h.y=y.y+r.clientTop}!e&&i&&(h.x=_i(i));let u=i&&!e&&!a?ra(i,l):me(0),m=n.left+l.scrollLeft-h.x-u.x,b=n.top+l.scrollTop-h.y-u.y;return{x:m,y:b,width:n.width,height:n.height}}function vs(s){return se(s).position==="static"}function Jo(s,r){if(!Te(s)||se(s).position==="fixed")return null;if(r)return r(s);let t=s.offsetParent;return be(s)===t&&(t=t.ownerDocument.body),t}function ia(s,r){let t=Vt(s);if(Xr(s))return t;if(!Te(s)){let i=Re(s);for(;i&&!xr(i);){if(ie(i)&&!vs(i))return i;i=Re(i)}return t}let e=Jo(s,r);for(;e&&Xo(e)&&vs(e);)e=Jo(e,r);return e&&xr(e)&&vs(e)&&!Mi(e)?t:e||Zo(s)||t}var Md=async function(s){let r=this.getOffsetParent||ia,t=this.getDimensions,e=await t(s.floating);return{reference:zd(s.reference,await r(s.floating),s.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function Sd(s){return se(s).direction==="rtl"}var Dd={convertOffsetParentRelativeRectToViewportRelativeRect:yd,getDocumentElement:be,getClippingRect:Td,getOffsetParent:ia,getElementRects:Md,getClientRects:wd,getDimensions:Ld,getScale:kr,isElement:ie,isRTL:Sd};function sa(s,r){return s.x===r.x&&s.y===r.y&&s.width===r.width&&s.height===r.height}function _d(s,r,t){let e=null,i,a=be(s);function n(){var m;clearTimeout(i),(m=e)==null||m.disconnect(),e=null}function l(m,b){m===void 0&&(m=!1),b===void 0&&(b=1),n();let y=s.getBoundingClientRect(),{left:v,top:w,width:x,height:M}=y;if(m||r(),!x||!M)return;let z=Wr(w),I=Wr(a.clientWidth-(v+x)),O=Wr(a.clientHeight-(w+M)),R=Wr(v),B={rootMargin:-z+"px "+-I+"px "+-O+"px "+-R+"px",threshold:re(0,pe(1,b))||1},Z=!0;function it(tt){let et=tt[0].intersectionRatio;if(!sa(y,s.getBoundingClientRect()))return l();if(et!==b){if(!Z)return l();et?l(!1,et):i=setTimeout(()=>{l(!1,1e-7)},1e3)}Z=!1}try{e=new IntersectionObserver(it,xt(K({},B),{root:a.ownerDocument}))}catch(tt){e=new IntersectionObserver(it,B)}e.observe(s)}let h=Vt(s),u=()=>l(t);return h.addEventListener("resize",u),l(!0),()=>{h.removeEventListener("resize",u),n()}}function oa(s,r,t,e){e===void 0&&(e={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:n=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:h=!1}=e,u=ys(s),m=i||a?[...u?wr(u):[],...r?wr(r):[]]:[];m.forEach(z=>{i&&z.addEventListener("scroll",t),a&&z.addEventListener("resize",t)});let b=u&&l?_d(u,t,a):null,y=-1,v=null;n&&(v=new ResizeObserver(z=>{let[I]=z;I&&I.target===u&&v&&r&&(v.unobserve(r),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var O;(O=v)==null||O.observe(r)})),t()}),u&&!h&&v.observe(u),r&&v.observe(r));let w,x=h?cr(s):null;h&&M();function M(){let z=cr(s);x&&!sa(x,z)&&t(),x=z,w=requestAnimationFrame(M)}return t(),()=>{var z;m.forEach(I=>{i&&I.removeEventListener("scroll",t),a&&I.removeEventListener("resize",t)}),b==null||b(),(z=v)==null||z.disconnect(),v=null,h&&cancelAnimationFrame(w)}}var aa=qo;var na=Ko,la=Uo,ws=jo;var da=No;var ca=(s,r,t)=>{let e=new Map,i=t!=null?t:{},a=xt(K(K({},Dd),i.platform),{_c:e});return Bo(s,r,xt(K({},i),{platform:a}))};var J=class extends f{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(e=>this.handleCurrentPlacementChange(e));let t={attributes:!0};this.mutationObserver.observe(this,t)}handleCurrentPlacementChange(t){return t.forEach(e=>{if(e.attributeName==="data-current-placement"){let i=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:i})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=oa(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>t())):t()})}reposition(){if(!this.active||!this.anchorEl)return;let t=[aa({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(ws({apply:({rects:e})=>{let i=this.sync==="width"||this.sync==="both",a=this.sync==="height"||this.sync==="both";this.popup.style.width=i?`${e.reference.width}px`:"",this.popup.style.height=a?`${e.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(la({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(na({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(ws({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:e,availableHeight:i})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${i}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${e}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push(da({element:this.arrowEl,padding:this.arrowPadding})),ca(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy}).then(({x:e,y:i,middlewareData:a,placement:n})=>{let l=getComputedStyle(this).direction==="rtl",h={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(this.setAttribute("data-current-placement",n),Object.assign(this.popup.style,{left:`${e}px`,top:`${i}px`}),this.arrow){let u=a.arrow.x,m=a.arrow.y,b="",y="",v="",w="";if(this.arrowPlacement==="start"){let x=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";b=typeof m=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",y=l?x:"",w=l?"":x}else if(this.arrowPlacement==="end"){let x=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";y=l?"":x,w=l?x:"",v=typeof m=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(w=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":"",b=typeof m=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(w=typeof u=="number"?`${u}px`:"",b=typeof m=="number"?`${m}px`:"");Object.assign(this.arrowEl.style,{top:b,right:y,bottom:v,left:w,[h]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return p`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${c("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?p`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};J.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
192
|
+
:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],o([g('[part="popup"]')],J.prototype,"popup",2),o([g('[part="arrow"]')],J.prototype,"arrowEl",2),o([d({reflect:!0})],J.prototype,"anchor",2),o([d({type:Boolean,reflect:!0})],J.prototype,"active",2),o([d({type:String,reflect:!0})],J.prototype,"placement",2),o([d({type:String,reflect:!0})],J.prototype,"strategy",2),o([d({type:Number,reflect:!0})],J.prototype,"distance",2),o([d({type:Number,reflect:!0})],J.prototype,"skidding",2),o([d({type:Boolean,reflect:!0})],J.prototype,"arrow",2),o([d({type:String,attribute:"arrow-placement",reflect:!0})],J.prototype,"arrowPlacement",2),o([d({attribute:"arrow-padding",type:Number,reflect:!0})],J.prototype,"arrowPadding",2),o([d({type:Boolean,reflect:!0})],J.prototype,"flip",2),o([d({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map(e=>e.trim()).filter(e=>e!==""),toAttribute:t=>t.join(" ")}})],J.prototype,"flipFallbackPlacements",2),o([d({type:String,attribute:"flip-fallback-strategy"})],J.prototype,"flipFallbackStrategy",2),o([d({type:Object})],J.prototype,"flipBoundary",2),o([d({attribute:"flip-padding",type:Number})],J.prototype,"flipPadding",2),o([d({type:Boolean})],J.prototype,"shift",2),o([d({type:Object})],J.prototype,"shiftBoundary",2),o([d({attribute:"shift-padding",type:Number})],J.prototype,"shiftPadding",2),o([d({type:String,attribute:"auto-size"})],J.prototype,"autoSize",2),o([d()],J.prototype,"sync",2),o([d({type:Object})],J.prototype,"autoSizeBoundary",2),o([d({attribute:"auto-size-padding",type:Number})],J.prototype,"autoSizePadding",2),J=o([E("sd-7-0-1-popup")],J);function ha(s,r){let t=s;for(;t;){if(t.matches(r))return t;if(t.parentElement)t=t.parentElement;else if(t.parentNode instanceof ShadowRoot)t=t.parentNode.host;else break}return null}function xs(s=document.activeElement){if(s!=null&&s.shadowRoot){let r=s.shadowRoot.activeElement;if(r)return xs(r)}return s}function ua(s){let r=s.tagName.toLowerCase();return s.getAttribute("tabindex")==="-1"||s.hasAttribute("disabled")||s.hasAttribute("aria-disabled")&&s.getAttribute("aria-disabled")!=="false"||r==="input"&&s.getAttribute("type")==="radio"&&!s.hasAttribute("checked")||s.offsetParent===null&&!(s.getRootNode()instanceof ShadowRoot)||window.getComputedStyle(s).visibility==="hidden"?!1:(r==="audio"||r==="video")&&s.hasAttribute("controls")||s.hasAttribute("tabindex")||s.hasAttribute("contenteditable")&&s.getAttribute("contenteditable")!=="false"?!0:["button","input","select","textarea","a","audio","video","summary"].includes(r)}function pa(s){var a,n;let r=[];function t(l){l instanceof HTMLElement&&(r.push(l),l.shadowRoot!==null&&l.shadowRoot.mode==="open"&&t(l.shadowRoot)),[...l.children].forEach(h=>t(h))}t(s);let e=(a=r.find(l=>ua(l)))!=null?a:null,i=(n=r.reverse().find(l=>ua(l)))!=null?n:null;return{start:e,end:i}}function ma(s,r){return{top:Math.round(s.getBoundingClientRect().top-r.getBoundingClientRect().top),left:Math.round(s.getBoundingClientRect().left-r.getBoundingClientRect().left)}}function oe(s,r,t="vertical",e="smooth"){let i=ma(s,r),a=i.top+r.scrollTop,n=i.left+r.scrollLeft,l=r.scrollLeft,h=r.scrollLeft+r.offsetWidth,u=r.scrollTop,m=r.scrollTop+r.offsetHeight;(t==="horizontal"||t==="both")&&(n<l?r.scrollTo({left:n,behavior:e}):n+s.clientWidth>h&&r.scrollTo({left:n-r.offsetWidth+s.clientWidth,behavior:e})),(t==="vertical"||t==="both")&&(a<u?r.scrollTo({top:a,behavior:e}):a+s.clientHeight>m&&r.scrollTo({top:a-r.offsetHeight+s.clientHeight,behavior:e}))}var ft=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let e=this.trigger.assignedElements({flatten:!0}).find(a=>pa(a).start),i=null;if(e)switch(e.tagName.toLowerCase()){case"sd-7-0-1-button":case"sd-7-0-1-icon-button":i=e.button;break;case"sd-7-0-1-navigation-item":i=e.button;break;default:i=e}return i}updateAccessibleTrigger(){let t=this.getAccessibleTrigger();t&&(t.setAttribute("aria-haspopup","true"),t.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let t=this.getAccessibleTrigger();typeof(t==null?void 0:t.focus)=="function"&&t.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(t=>t.tagName.toLowerCase()==="sd-7-0-1-menu")}handleKeyDown(t){this.open&&t.key==="Escape"&&(t.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(t){var e;if(t.key==="Tab"){if(this.open&&((e=document.activeElement)==null?void 0:e.tagName.toLowerCase())==="sd-7-0-1-menu-item"){t.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let i=xs();(!i||!this.containingElement||ha(i,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(t){let e=t.composedPath();this.containingElement&&!e.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(t){let e=t.target;oe(e,this.panel)}handlePanelSelect(t){let e=t.target;!this.stayOpenOnSelect&&e.tagName.toLowerCase()==="sd-7-0-1-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){if(this.open){let t=this.getMenu();if(t){let e=t.getCurrentItem();e==null||e.classList.remove("menu-item-focus")}this.hide()}else this.show()}handleTriggerKeyDown(t){if(t.key==="Escape"&&this.open){t.stopPropagation(),this.focusOnTrigger(),this.handleTriggerClick();return}if([" ","Enter"].includes(t.key)){t.preventDefault(),this.handleTriggerClick();return}let e=this.getMenu();if(e){let i=e.defaultSlot.assignedElements({flatten:!0}),a=i.find(l=>!l.disabled)||i[0],n=i[i.length-1];["ArrowDown","ArrowUp","Home","End"].includes(t.key)&&(t.preventDefault(),this.open||this.show(),i.length>0&&requestAnimationFrame(()=>{(t.key==="ArrowDown"||t.key==="Home")&&(e.setCurrentItem(a),a.focus(),a.classList.add("menu-item-focus")),(t.key==="ArrowUp"||t.key==="End")&&(e.setCurrentItem(n),n.focus(),n.classList.add("menu-item-focus"))}))}}handleTriggerKeyUp(t){t.key===" "&&t.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,Q(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Q(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-7-0-1-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-7-0-1-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await rt(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:t,options:e}=j(this,"dropdown.show",{dir:this.localize.dir()});await W(this.popup.popup,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await rt(this);let{keyframes:t,options:e}=j(this,"dropdown.hide",{dir:this.localize.dir()});await W(this.popup.popup,t,e),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return p`<sd-7-0-1-popup part="base" id="dropdown" exportparts="
|
|
193
193
|
popup:base__popup,
|
|
194
|
-
" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${c("panel-color-border border shadow sd-7-0-
|
|
195
|
-
:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:100%}#dropdown[data-current-placement^=right]::part(popup){transform-origin:0}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],o([
|
|
196
|
-
:host{position:relative;display:block}::slotted(sd-7-0-
|
|
197
|
-
::slotted(sd-7-0-
|
|
198
|
-
:host{display:inline-flex;align-items:center}sd-7-0-
|
|
199
|
-
:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],Le=o([C("sd-7-0-0-carousel-item")],Le);var X=class extends f{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.autoplayInterval=5;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.isFocused=!1;this.autoplayController=new Ai(this,()=>{this.isFocused||this.next()});this.scrollController=new Gr(this);this.slides=this.getElementsByTagName("sd-7-0-0-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new D(this);this.userInteracted=!1;this.fadeController=new Oi(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=t=>{t.some(i=>[...i.addedNodes,...i.removedNodes].some(a=>Le.isCarouselItem(a)&&!a.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(t,e)=>{t.detail&&e.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(e=>this.addEventListener(e,this.handleUserInteraction)),this.addEventListener("focusin",this.handleFocus),this.addEventListener("focusout",this.handleBlur),this.addEventListener("keydown",this.handleKeyDown);let t=new IntersectionObserver(e=>{e.forEach(i=>{this.intersectionObserverEntries.set(i.target,i);let a=i.target;a.toggleAttribute("inert",!i.isIntersecting),a.classList.toggle("--in-view",i.isIntersecting),a.setAttribute("aria-hidden",i.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=t,t.takeRecords().forEach(e=>{this.intersectionObserverEntries.set(e.target,e)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(t=>this.removeEventListener(t,this.handleUserInteraction)),this.removeEventListener("focusin",this.handleFocus),this.removeEventListener("focusout",this.handleBlur),this.removeEventListener("keydown",this.handleKeyDown),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let e=this.getSlides({excludeClones:!1});return e.length>0&&e[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let e=new IntersectionObserver(i=>{i.forEach(a=>{a.isIntersecting&&a.target.getBoundingClientRect().width>0&&(this.initializeSlides(),e.disconnect())})});e.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(t,e,i){return Math.ceil((t-e)/i)+1>0?Math.ceil((t-e)/i)+1:1}getCurrentPage(t,e,i,a){return Math.ceil((t-i)/a)-Math.ceil((t-i-e)/a)+1}getSlides({excludeClones:t=!0}={}){return[...this.slides].filter(e=>!t||!e.hasAttribute("data-clone"))}handleKeyDown(t){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let e=t.target,i=this.localize.dir()==="rtl",a=e.closest('[part~="pagination-item"]')!==null,n=t.key==="ArrowDown"||!i&&t.key==="ArrowRight"||i&&t.key==="ArrowLeft",l=t.key==="ArrowUp"||!i&&t.key==="ArrowLeft"||i&&t.key==="ArrowRight";t.preventDefault(),l&&this.previous(),n&&this.next(),t.key==="Home"&&this.goToSlide(0),t.key==="End"&&this.goToSlide(this.getSlides().length-1),a&&this.updateComplete.then(()=>{var u;let h=(u=this.shadowRoot)==null?void 0:u.querySelector('[part~="pagination-item--active"]');h&&h.focus()})}}handleScrollEnd(){if(this.fade)return;let t=this.getSlides(),i=[...this.intersectionObserverEntries.values()].find(a=>a.isIntersecting);if(this.loop&&(i!=null&&i.target.hasAttribute("data-clone"))){let a=Number(i.target.getAttribute("data-clone"));this.goToSlide(a,"auto");return}i&&(this.activeSlide=t.indexOf(i.target))}handleFocus(){this.isFocused=!0}handleBlur(){this.isFocused=!1}getSlideText(t){var n;let e=[],i=document.createTreeWalker(t,NodeFilter.SHOW_ALL),a=i.nextNode();for(;a;){if(a.nodeType===Node.TEXT_NODE){let l=(n=a.textContent)==null?void 0:n.trim();l&&e.push(l)}else a instanceof HTMLImageElement&&a.alt&&e.push(a.alt);a=i.nextNode()}return e.join(" ")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let t=this.getSlides(),e=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((i,a)=>{e.unobserve(i),i.classList.remove("--in-view"),i.classList.remove("--is-active"),i.setAttribute("aria-label",this.localize.term("slideNum",a+1,t.length)),i.hasAttribute("data-clone")&&i.remove()}),this.loop&&!this.fade){let i=this.slidesPerPage,a=t.slice(-i),n=t.slice(0,i);a.reverse().forEach((l,h)=>{let u=l.cloneNode(!0);u.setAttribute("data-clone",String(t.length-h-1)),this.prepend(u)}),n.forEach((l,h)=>{let u=l.cloneNode(!0);u.setAttribute("data-clone",String(h)),this.append(u)})}this.getSlides({excludeClones:!1}).forEach(i=>{e.observe(i)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let t=this.getSlides();t.forEach((a,n)=>{a.classList.toggle("--is-active",n===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let e=this.getCurrentPage(t.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);if(this.currentPage!==e&&(this.currentPage=e),this.hasUpdated&&(this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:t[this.activeSlide]}}),this.announcementRegion)){let a=this.getSlideText(t[this.activeSlide]),n=this.localize.term("slideNum",this.activeSlide+1,t.length);requestAnimationFrame(()=>{this.announcementRegion.textContent=a?`${a} ${n}`:n})}let i=this.getPageCount(t.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>i&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let t=this.getSlides({excludeClones:!1}),e=this.slidesPerMove;t.forEach((i,a)=>{Math.abs(a-e)%e===0?i.style.removeProperty("scroll-snap-align"):i.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleautoplayIntervalChange(){!this.autoplay||this.pausedAutoplay||(this.autoplayController.stop(),this.autoplayController.start(this.autoplayInterval*1e3))}previous(t="smooth"){if(this.fade){let a=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(a);return}let e=this.activeSlide||this.activeSlide-this.slidesPerMove,i=!1;for(;!i&&e>0;)e-=1,i=Math.abs(e-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,t):this.goToSlide(e,t)}next(t="smooth"){if(this.fade){let e=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(e);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,t):this.loop&&this.nextTillFirst(t)}nextTillFirst(t="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,t);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(t,e="smooth"){let{slidesPerPage:i,loop:a,scrollContainer:n,fade:l}=this,h=this.getSlides(),u=this.getSlides({excludeClones:!1}),m=(t+h.length)%h.length;if(this.activeSlide=m,l)return;let b=fa(t+(a?i:0),0,u.length+1),y=u[b],g=n.getBoundingClientRect(),w=y.getBoundingClientRect();if(n.scrollTo({left:w.left-g.left+n.scrollLeft,top:w.top-g.top+n.scrollTop,behavior:Vr()?"auto":e}),this.userInteracted&&!this.loop){let E=this.activeSlide===h.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,M=this.activeSlide===0;E?this.previousButton.focus({preventScroll:!0}):M&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:t,slidesPerMove:e}=this,i=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),a=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),n=this.loop||a>1,l=this.loop||a<i,h=this.localize.dir()==="ltr";return p`<div part="base" class="${c("carousel h-full w-full relative")}"><button class="${c("ml-6 !rounded-sm","!absolute !bottom-0 !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.pausedAutoplay?this.localize.term("startAutoplay"):this.localize.term("stopAutoplay")}" aria-pressed="true" @click="${u=>{this.pausedAutoplay=!this.pausedAutoplay,u.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${c(this.pausedAutoplay?"":"hidden")}"><sd-7-0-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="play"></sd-7-0-0-icon></slot><slot name="autoplay-pause" class="${c(this.pausedAutoplay?"hidden":"")}"><sd-7-0-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-7-0-0-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay||this.pausedAutoplay||this.isFocused?"polite":"off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${c("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${t.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(u=>!u.hasAttribute("data-clone")).length)}" tabindex="0" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${c("w-full flex items-center justify-center relative")}"><div part="navigation" class="${c("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!n}" class="${c("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!n&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${n?"false":"true"}" @click="${n?u=>{this.previous(),this.unblockAutoplay(u,this.previousButton)}:null}"><slot name="previous-icon"><sd-7-0-0-icon class="${c("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${h?"chevron-bottom":"chevron-top"}"></sd-7-0-0-icon></slot></button> ${this.variant==="dot"?p`<div part="pagination-dot" role="tablist" class="${c("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${ba(ga(i),u=>{let m=u+1===a;return p`<button part="pagination-item ${m?"pagination-item--active":""}" class="${c("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",m?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${m?"true":"false"}" aria-label="${this.localize.term("goToSlide",u+1,i)}" @click="${b=>{this.goToSlide(u*e),this.unblockAutoplay(b,this.paginationItems[u])}}"><span class="${c("h-4 w-4 block border sd-7-0-0-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-7-0-0-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",m&&"border-none",m?this.inverted?"sd-7-0-0-carousel__pager-dot--inverted-background hover:sd-7-0-0-carousel__pager-dot--inverted--hovered-background":"sd-7-0-0-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:p`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${c("w-5 text-center border-b-2",this.inverted?"text-white sd-7-0-0-carousel--active--inverted-color-border":"text-black sd-7-0-0-carousel--active-color-border")}">${a}</span> <span part="pagination-divider" class="${c("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${c("w-5 text-center",this.inverted?"text-white":"text-black")}">${i}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!l}" class="${c("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!l&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${l?"false":"true"}" @click="${l?u=>{this.next(),this.unblockAutoplay(u,this.nextButton)}:null}"><slot name="next-icon"><sd-7-0-0-icon class="${c("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${h?"chevron-top":"chevron-bottom"}"></sd-7-0-0-icon></slot></button></div></div></div>`}};X.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
200
|
-
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-7-0-
|
|
201
|
-
:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-style:var(--tw-outline-style);outline-width:0}:host([required]) #label::after{content:' *'}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error))}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],o([
|
|
202
|
-
:host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-
|
|
203
|
-
:host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],o([
|
|
194
|
+
" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${c("panel-color-border border shadow sd-7-0-1-dropdown-color-background block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-7-0-1-popup>`}};ft.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
195
|
+
:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:100%}#dropdown[data-current-placement^=right]::part(popup){transform-origin:0}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],o([g("#dropdown")],ft.prototype,"popup",2),o([g("[part=trigger]")],ft.prototype,"trigger",2),o([g("[part=panel]")],ft.prototype,"panel",2),o([d({type:Boolean,reflect:!0})],ft.prototype,"open",2),o([d({type:Boolean,reflect:!0})],ft.prototype,"rounded",2),o([d({type:String,reflect:!0})],ft.prototype,"placement",2),o([d({type:Boolean,reflect:!0})],ft.prototype,"disabled",2),o([d({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],ft.prototype,"stayOpenOnSelect",2),o([d({type:Object})],ft.prototype,"containingElement",2),o([d({type:Number,reflect:!0})],ft.prototype,"distance",2),o([d({type:Number,reflect:!0})],ft.prototype,"skidding",2),o([d({type:Boolean,reflect:!0,attribute:"no-auto-size"})],ft.prototype,"noAutoSize",2),o([d({type:Boolean,reflect:!0,attribute:"no-flip"})],ft.prototype,"noFlip",2),o([d({type:Boolean,reflect:!0})],ft.prototype,"hoist",2),o([C("open",{waitUntilFirstUpdate:!0})],ft.prototype,"handleOpenChange",1),ft=o([E("sd-7-0-1-dropdown")],ft);F("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});var Ft=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.label="";this.itemPositionsCached=!1;this.isTruncated=!1}get items(){return this.querySelectorAll("sd-7-0-1-breadcrumb-item")}cacheItemPositions(){this.items.forEach(t=>{let{width:e}=t.getBoundingClientRect();t.dataset.size=`${e}`}),this.itemPositionsCached=!0}handleTruncation(){var a;if(document.documentElement.clientWidth<=1024)return;let{width:t}=this.base.getBoundingClientRect(),{width:e}=this.truncated.getBoundingClientRect();this.itemPositionsCached||this.cacheItemPositions(),this.dropdown.innerHTML="",this.isTruncated=!1;let i=0;for(let[n,l]of Array.from(this.items).reverse().entries()){let h=parseFloat(`${(a=l.dataset.size)!=null?a:l.getBoundingClientRect().width}`);if(l.hidden=!1,this.isTruncated){let u=l.cloneNode(!0);this.dropdown.prepend(u),l.hidden=!0;continue}if(n===0||n===1){i+=h;continue}if(this.isTruncated=i+h+e>t,this.isTruncated){let u=l.cloneNode(!0);this.dropdown.prepend(u),l.hidden=!0}else i+=h}}handleMobileChevron(){var e,i,a;let t=document.createElement("sd-7-0-1-icon");t.setAttribute("slot","icon-left"),t.setAttribute("library","_internal"),t.setAttribute("name","chevron-left"),t.setAttribute("class","text-base me-1 lg:hidden"),(a=(i=(e=Array.from(this.items).at(-2))==null?void 0:e.shadowRoot)==null?void 0:i.querySelector("sd-7-0-1-link"))==null||a.appendChild(t)}handleSlotChange(){this.handleMobileChevron()}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.handleTruncation()),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this)}render(){return p`<nav part="base" class="flex items-center pb-1" aria-label="${this.label}"><sd-7-0-1-dropdown part="truncated" class="${c(!this.isTruncated&&"absolute opacity-0 pointer-events-none")}"><button slot="trigger" tabindex="${this.isTruncated?"0":"-1"}" aria-label="${this.localize.term("truncatedBreadcrumbs")}" aria-expanded="false" aria-haspopup="true" class="flex sd-interactive">[...]</button><ol part="truncated-dropdown" class="flex flex-col gap-4 px-2 py-3 min-w-40"></ol></sd-7-0-1-dropdown><ol part="list" class="flex items-center"><slot @slotchange="${this.handleSlotChange}"></slot></ol></nav>`}};Ft.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
196
|
+
:host{position:relative;display:block}::slotted(sd-7-0-1-breadcrumb-item:not(:last-of-type))::after,sd-7-0-1-dropdown::after{margin-inline:var(--sd-spacing-2,.5rem);display:none;height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem);border-radius:var(--sd-radius-full,624.9375rem);background-color:rgba(var(--sd-breadcrumb__separator-color,195 195 195));--tw-content:'';content:var(--tw-content)}@media (width >= 64rem){::slotted(sd-7-0-1-breadcrumb-item:not(:last-of-type))::after,sd-7-0-1-dropdown::after{display:inline-block}}::slotted(sd-7-0-1-breadcrumb-item:nth-last-child(2)){display:flex}@media (width >= 64rem){::slotted(sd-7-0-1-breadcrumb-item:nth-last-child(2))::after{background-color:rgba(var(--sd-breadcrumb__separator--current-color,45 157 0))}}::slotted(sd-7-0-1-breadcrumb-item),sd-7-0-1-dropdown{display:none;align-items:center;font-size:var(--sd-text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}@media (width >= 64rem){::slotted(sd-7-0-1-breadcrumb-item),sd-7-0-1-dropdown{display:flex}}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],o([g('[part="base"]')],Ft.prototype,"base",2),o([g('[part="truncated"]')],Ft.prototype,"truncated",2),o([g('[part="truncated-dropdown"]')],Ft.prototype,"dropdown",2),o([g("slot")],Ft.prototype,"defaultSlot",2),o([d({type:String,reflect:!0})],Ft.prototype,"label",2),o([L()],Ft.prototype,"itemPositionsCached",2),o([L()],Ft.prototype,"isTruncated",2),Ft=o([E("sd-7-0-1-breadcrumb")],Ft);var Ht=class extends f{constructor(){super(...arguments);this.hasSlotController=new A(this,"[default]","icon-left","icon-right");this.standalone=!1;this.size="inherit";this.inverted=!1;this.href="";this.visuallyDisabled=!1}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(t){this.visuallyDisabled&&(t.preventDefault(),t.stopPropagation())}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){let t={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return p`<a part="base" class="${c(this.standalone?"flex items-start":"inline",this.href&&!this.visuallyDisabled?"cursor-pointer":"",this.visuallyDisabled?"cursor-not-allowed focus-visible:focus-outline":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":"interactive--default-color-text hover:text-primary-500 active:interactive--active-color-text focus-visible:focus-outline",visuallyDisabled:this.inverted?"text-neutral-600":"text-neutral-500"}[this.href&&!this.visuallyDisabled?"enabled":this.visuallyDisabled?"visuallyDisabled":"disabled"])}" href="${$(this.href||void 0)}" target="${$(this.target||void 0)}" download="${$(this.download)}" rel="${$(this.target?"noreferrer noopener":void 0)}" aria-disabled="${!this.href||this.visuallyDisabled?"true":"false"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${c("inline",t["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${c("inline",t["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};Ht.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
197
|
+
::slotted(sd-7-0-1-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-7-0-1-icon){font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-7-0-1-icon){font-size:var(--sd-text-xl,1.5rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`],o([g("a")],Ht.prototype,"button",2),o([d({type:Boolean,reflect:!0})],Ht.prototype,"standalone",2),o([d({type:String,reflect:!0})],Ht.prototype,"size",2),o([d({type:Boolean,reflect:!0})],Ht.prototype,"inverted",2),o([d({type:String,reflect:!0})],Ht.prototype,"href",2),o([d({type:Boolean,attribute:"visually-disabled",reflect:!0})],Ht.prototype,"visuallyDisabled",2),o([d({type:String,reflect:!0})],Ht.prototype,"target",2),o([d({reflect:!0})],Ht.prototype,"download",2),Ht=o([E("sd-7-0-1-link")],Ht);var Gt=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.href="";this.current=!1}handleCurrentChange(){var t,e;!this.base||!this.current||(e=(t=this.base.shadowRoot)==null?void 0:t.querySelector("a"))==null||e.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return p`<sd-7-0-1-link part="base" href="${$(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-7-0-1-link>`}};Gt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
198
|
+
:host{display:inline-flex;align-items:center}sd-7-0-1-link::part(base){align-items:center}sd-7-0-1-link::part(icon-left){margin-right:0;display:inline-flex}:host([current]) sd-7-0-1-link::part(base){color:rgba(var(--sd-breadcrumb--current-color-text,104 104 104))}:host([current]) sd-7-0-1-link::part(label){text-decoration-line:none}`],o([g('[part="base"]')],Gt.prototype,"base",2),o([d({type:String,reflect:!0})],Gt.prototype,"href",2),o([d({type:String,reflect:!0})],Gt.prototype,"target",2),o([d({type:Boolean,reflect:!0})],Gt.prototype,"current",2),o([C("current")],Gt.prototype,"handleCurrentChange",1),Gt=o([E("sd-7-0-1-breadcrumb-item")],Gt);var Ai=class{constructor(r,t){this.timerId=0;this.activeInteractions=0;this.paused=!1;this.stopped=!0;this.pause=()=>{this.activeInteractions++||(this.paused=!0,this.host.requestUpdate())};this.resume=()=>{--this.activeInteractions||(this.paused=!1,this.host.requestUpdate())};r.addController(this),this.host=r,this.tickCallback=t}hostConnected(){this.host.addEventListener("mouseenter",this.pause),this.host.addEventListener("mouseleave",this.resume),this.host.addEventListener("focusin",this.pause),this.host.addEventListener("focusout",this.resume),this.host.addEventListener("touchstart",this.pause,{passive:!0}),this.host.addEventListener("touchend",this.resume)}hostDisconnected(){this.stop(),this.host.removeEventListener("mouseenter",this.pause),this.host.removeEventListener("mouseleave",this.resume),this.host.removeEventListener("focusin",this.pause),this.host.removeEventListener("focusout",this.resume),this.host.removeEventListener("touchstart",this.pause),this.host.removeEventListener("touchend",this.resume)}start(r){this.stop(),this.stopped=!1,this.timerId=window.setInterval(()=>{this.paused||this.tickCallback()},r)}stop(){clearInterval(this.timerId),this.stopped=!0,this.host.requestUpdate()}};function fa(s,r,t){let e=i=>Object.is(i,-0)?0:i;return s<r?e(r):s>t?e(t):e(s)}var Oi=class{constructor(r){this.heightCalculated=!1;this.isEnabled=!1;this.isCalculating=!1;this.fadeClasses={base:["absolute","top-0","left-0","w-full","h-full","visible","transition-opacity","duration-x-slow","ease-in-out"],active:["opacity-100","z-[1]"],inactive:["opacity-0","z-0"]};this.handleResize=()=>{this.isEnabled&&(this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.isEnabled&&(this.heightCalculated=!1,this.calculateHeight())},250))};this.carousel=r}enable(){this.isEnabled||(this.isEnabled=!0,this.calculateHeight(),window.addEventListener("resize",this.handleResize))}disable(){this.isEnabled&&(this.isEnabled=!1,this.removeFadeStyles(),this.carousel.style.removeProperty("--carousel-height"),this.carousel.scrollContainer&&this.carousel.scrollContainer.style.removeProperty("height"),this.heightCalculated=!1,this.isCalculating=!1,window.removeEventListener("resize",this.handleResize),this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0))}updateActiveSlide(r){if(!this.isEnabled)return;this.carousel.getSlides().forEach((e,i)=>{i===r?this.show(e):this.hide(e)})}show(r){if(!this.isEnabled)return;let t=r.classList;t.remove(...this.getAllFadeClasses()),t.add(...this.fadeClasses.base,...this.fadeClasses.active),r.removeAttribute("inert"),r.setAttribute("aria-hidden","false")}hide(r){if(!this.isEnabled)return;let t=r.classList;t.remove(...this.getAllFadeClasses()),t.add(...this.fadeClasses.base,...this.fadeClasses.inactive),r.toggleAttribute("inert",!0),r.setAttribute("aria-hidden","true")}removeFadeStyles(){this.carousel.getSlides().forEach(t=>{t.classList.remove(...this.getAllFadeClasses()),t.removeAttribute("inert"),t.removeAttribute("aria-hidden")})}getAllFadeClasses(){return[...this.fadeClasses.base,...this.fadeClasses.active,...this.fadeClasses.inactive]}calculateHeight(){if(this.heightCalculated||!this.isEnabled||this.isCalculating)return;let r=this.carousel.getSlides(),t=this.carousel.scrollContainer;if(r.length===0||!t)return;this.isCalculating=!0,t.style.removeProperty("height"),this.carousel.style.removeProperty("--carousel-height");let e=r.map(i=>{let a=i,n={position:a.style.position,opacity:a.style.opacity,zIndex:a.style.zIndex,transform:a.style.transform,classes:a.className};return a.classList.remove(...this.getAllFadeClasses()),a.classList.add("relative","opacity-1","z-auto","transform-none"),n});requestAnimationFrame(()=>{if(!this.isEnabled){this.isCalculating=!1;return}let i=r.map(n=>n.getBoundingClientRect().height),a=Math.max(...i);r.forEach((n,l)=>{let h=n,u=e[l];h.className=u.classes,["position","opacity","zIndex","transform"].forEach(m=>{let b=u[m];b?h.style.setProperty(m,b):h.style.removeProperty(m)})}),a>0&&(this.carousel.style.setProperty("--carousel-height",`${a}px`),t.style.height=`${a}px`,this.heightCalculated=!0,this.updateActiveSlide(this.carousel.activeSlide)),this.isCalculating=!1})}recalculateHeight(){this.isEnabled&&(this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0),this.heightCalculated=!1,this.calculateHeight())}};function*ba(s,r){if(s!==void 0){let t=0;for(let e of s)yield r(e,t++)}}function*ga(s,r,t=1){let e=r===void 0?0:s;r!=null||(r=s);for(let i=e;t>0?i<r:r<i;i+=t)yield i}var va=Symbol(),Cr=s=>(r,t,e)=>{let i=e.value;e.value=function(...a){clearTimeout(this[va]),this[va]=window.setTimeout(()=>{i.apply(this,a)},s)}};var Gr=class{constructor(r){this.pointers=new Set;this.dragging=!1;this.scrolling=!1;this.mouseDragging=!1;this.handleScroll=()=>{this.scrolling||(this.scrolling=!0,this.host.requestUpdate()),this.handleScrollEnd()};this.handlePointerDown=r=>{if(r.pointerType==="touch")return;this.pointers.add(r.pointerId),this.mouseDragging&&!this.dragging&&r.button===0&&(r.preventDefault(),this.host.scrollContainer.addEventListener("pointermove",this.handlePointerMove))};this.handlePointerMove=r=>{let t=this.host.scrollContainer,e=!!r.movementX||!!r.movementY;!this.dragging&&e?(t.setPointerCapture(r.pointerId),this.handleDragStart()):t.hasPointerCapture(r.pointerId)&&this.handleDrag(r)};this.handlePointerUp=r=>{this.pointers.delete(r.pointerId),this.host.scrollContainer.releasePointerCapture(r.pointerId),this.pointers.size===0&&this.handleDragEnd()};this.handleTouchEnd=r=>{for(let t of r.changedTouches)this.pointers.delete(t.identifier)};this.handleTouchStart=r=>{for(let t of r.touches)this.pointers.add(t.identifier)};this.host=r,r.addController(this)}async hostConnected(){let r=this.host;await r.updateComplete;let t=r.scrollContainer;t.addEventListener("scroll",this.handleScroll,{passive:!0}),t.addEventListener("pointerdown",this.handlePointerDown),t.addEventListener("pointerup",this.handlePointerUp),t.addEventListener("pointercancel",this.handlePointerUp),t.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),t.addEventListener("touchend",this.handleTouchEnd)}hostDisconnected(){let t=this.host.scrollContainer;t.removeEventListener("scroll",this.handleScroll),t.removeEventListener("pointerdown",this.handlePointerDown),t.removeEventListener("pointerup",this.handlePointerUp),t.removeEventListener("pointercancel",this.handlePointerUp),t.removeEventListener("touchstart",this.handleTouchStart),t.removeEventListener("touchend",this.handleTouchEnd)}handleScrollEnd(){this.pointers.size?this.handleScrollEnd():(this.scrolling=!1,this.host.scrollContainer.dispatchEvent(new CustomEvent("scrollend",{bubbles:!1,cancelable:!1})),this.host.requestUpdate())}handleDragStart(){let r=this.host;this.dragging=!0,r.scrollContainer.style.setProperty("scroll-snap-type","unset"),r.requestUpdate()}handleDrag(r){this.host.scrollContainer.scrollBy({left:-r.movementX,top:-r.movementY})}async handleDragEnd(){let r=this.host,t=r.scrollContainer;t.removeEventListener("pointermove",this.handlePointerMove),this.dragging=!1;let e=t.scrollLeft,i=t.scrollTop;t.style.removeProperty("scroll-snap-type");let a=t.scrollLeft,n=t.scrollTop;t.style.setProperty("scroll-snap-type","unset"),t.scrollTo({left:e,top:i,behavior:"auto"}),t.scrollTo({left:a,top:n,behavior:Vr()?"auto":"smooth"}),this.scrolling&&await Q(t,"scrollend"),t.style.removeProperty("scroll-snap-type"),r.requestUpdate()}};o([Cr(100)],Gr.prototype,"handleScrollEnd",1);var Le=class extends f{static isCarouselItem(r){return r instanceof Element&&r.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return p`<slot></slot>`}};Le.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
199
|
+
:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],Le=o([E("sd-7-0-1-carousel-item")],Le);var X=class extends f{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.autoplayInterval=5;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.isFocused=!1;this.autoplayController=new Ai(this,()=>{this.isFocused||this.next()});this.scrollController=new Gr(this);this.slides=this.getElementsByTagName("sd-7-0-1-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new D(this);this.userInteracted=!1;this.fadeController=new Oi(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=t=>{t.some(i=>[...i.addedNodes,...i.removedNodes].some(a=>Le.isCarouselItem(a)&&!a.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(t,e)=>{t.detail&&e.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(e=>this.addEventListener(e,this.handleUserInteraction)),this.addEventListener("focusin",this.handleFocus),this.addEventListener("focusout",this.handleBlur),this.addEventListener("keydown",this.handleKeyDown);let t=new IntersectionObserver(e=>{e.forEach(i=>{this.intersectionObserverEntries.set(i.target,i);let a=i.target;a.toggleAttribute("inert",!i.isIntersecting),a.classList.toggle("--in-view",i.isIntersecting),a.setAttribute("aria-hidden",i.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=t,t.takeRecords().forEach(e=>{this.intersectionObserverEntries.set(e.target,e)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(t=>this.removeEventListener(t,this.handleUserInteraction)),this.removeEventListener("focusin",this.handleFocus),this.removeEventListener("focusout",this.handleBlur),this.removeEventListener("keydown",this.handleKeyDown),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let e=this.getSlides({excludeClones:!1});return e.length>0&&e[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let e=new IntersectionObserver(i=>{i.forEach(a=>{a.isIntersecting&&a.target.getBoundingClientRect().width>0&&(this.initializeSlides(),e.disconnect())})});e.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(t,e,i){return Math.ceil((t-e)/i)+1>0?Math.ceil((t-e)/i)+1:1}getCurrentPage(t,e,i,a){return Math.ceil((t-i)/a)-Math.ceil((t-i-e)/a)+1}getSlides({excludeClones:t=!0}={}){return[...this.slides].filter(e=>!t||!e.hasAttribute("data-clone"))}handleKeyDown(t){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let e=t.target,i=this.localize.dir()==="rtl",a=e.closest('[part~="pagination-item"]')!==null,n=t.key==="ArrowDown"||!i&&t.key==="ArrowRight"||i&&t.key==="ArrowLeft",l=t.key==="ArrowUp"||!i&&t.key==="ArrowLeft"||i&&t.key==="ArrowRight";t.preventDefault(),l&&this.previous(),n&&this.next(),t.key==="Home"&&this.goToSlide(0),t.key==="End"&&this.goToSlide(this.getSlides().length-1),a&&this.updateComplete.then(()=>{var u;let h=(u=this.shadowRoot)==null?void 0:u.querySelector('[part~="pagination-item--active"]');h&&h.focus()})}}handleScrollEnd(){if(this.fade)return;let t=this.getSlides(),i=[...this.intersectionObserverEntries.values()].find(a=>a.isIntersecting);if(this.loop&&(i!=null&&i.target.hasAttribute("data-clone"))){let a=Number(i.target.getAttribute("data-clone"));this.goToSlide(a,"auto");return}i&&(this.activeSlide=t.indexOf(i.target))}handleFocus(){this.isFocused=!0}handleBlur(){this.isFocused=!1}getSlideText(t){var n;let e=[],i=document.createTreeWalker(t,NodeFilter.SHOW_ALL),a=i.nextNode();for(;a;){if(a.nodeType===Node.TEXT_NODE){let l=(n=a.textContent)==null?void 0:n.trim();l&&e.push(l)}else a instanceof HTMLImageElement&&a.alt&&e.push(a.alt);a=i.nextNode()}return e.join(" ")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let t=this.getSlides(),e=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((i,a)=>{e.unobserve(i),i.classList.remove("--in-view"),i.classList.remove("--is-active"),i.setAttribute("aria-label",this.localize.term("slideNum",a+1,t.length)),i.hasAttribute("data-clone")&&i.remove()}),this.loop&&!this.fade){let i=this.slidesPerPage,a=t.slice(-i),n=t.slice(0,i);a.reverse().forEach((l,h)=>{let u=l.cloneNode(!0);u.setAttribute("data-clone",String(t.length-h-1)),this.prepend(u)}),n.forEach((l,h)=>{let u=l.cloneNode(!0);u.setAttribute("data-clone",String(h)),this.append(u)})}this.getSlides({excludeClones:!1}).forEach(i=>{e.observe(i)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let t=this.getSlides();t.forEach((a,n)=>{a.classList.toggle("--is-active",n===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let e=this.getCurrentPage(t.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);if(this.currentPage!==e&&(this.currentPage=e),this.hasUpdated&&(this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:t[this.activeSlide]}}),this.announcementRegion)){let a=this.getSlideText(t[this.activeSlide]),n=this.localize.term("slideNum",this.activeSlide+1,t.length);requestAnimationFrame(()=>{this.announcementRegion.textContent=a?`${a} ${n}`:n})}let i=this.getPageCount(t.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>i&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let t=this.getSlides({excludeClones:!1}),e=this.slidesPerMove;t.forEach((i,a)=>{Math.abs(a-e)%e===0?i.style.removeProperty("scroll-snap-align"):i.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleautoplayIntervalChange(){!this.autoplay||this.pausedAutoplay||(this.autoplayController.stop(),this.autoplayController.start(this.autoplayInterval*1e3))}previous(t="smooth"){if(this.fade){let a=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(a);return}let e=this.activeSlide||this.activeSlide-this.slidesPerMove,i=!1;for(;!i&&e>0;)e-=1,i=Math.abs(e-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,t):this.goToSlide(e,t)}next(t="smooth"){if(this.fade){let e=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(e);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,t):this.loop&&this.nextTillFirst(t)}nextTillFirst(t="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,t);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(t,e="smooth"){let{slidesPerPage:i,loop:a,scrollContainer:n,fade:l}=this,h=this.getSlides(),u=this.getSlides({excludeClones:!1}),m=(t+h.length)%h.length;if(this.activeSlide=m,l)return;let b=fa(t+(a?i:0),0,u.length+1),y=u[b],v=n.getBoundingClientRect(),w=y.getBoundingClientRect();if(n.scrollTo({left:w.left-v.left+n.scrollLeft,top:w.top-v.top+n.scrollTop,behavior:Vr()?"auto":e}),this.userInteracted&&!this.loop){let x=this.activeSlide===h.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,M=this.activeSlide===0;x?this.previousButton.focus({preventScroll:!0}):M&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:t,slidesPerMove:e}=this,i=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),a=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),n=this.loop||a>1,l=this.loop||a<i,h=this.localize.dir()==="ltr";return p`<div part="base" class="${c("carousel h-full w-full relative")}"><button class="${c("ml-6 !rounded-sm","!absolute !bottom-0 !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.pausedAutoplay?this.localize.term("startAutoplay"):this.localize.term("stopAutoplay")}" aria-pressed="true" @click="${u=>{this.pausedAutoplay=!this.pausedAutoplay,u.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${c(this.pausedAutoplay?"":"hidden")}"><sd-7-0-1-icon class="h-6 w-6 grid place-items-center" library="_internal" name="play"></sd-7-0-1-icon></slot><slot name="autoplay-pause" class="${c(this.pausedAutoplay?"hidden":"")}"><sd-7-0-1-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-7-0-1-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay||this.pausedAutoplay||this.isFocused?"polite":"off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${c("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${t.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(u=>!u.hasAttribute("data-clone")).length)}" tabindex="0" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${c("w-full flex items-center justify-center relative")}"><div part="navigation" class="${c("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!n}" class="${c("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!n&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${n?"false":"true"}" @click="${n?u=>{this.previous(),this.unblockAutoplay(u,this.previousButton)}:null}"><slot name="previous-icon"><sd-7-0-1-icon class="${c("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${h?"chevron-bottom":"chevron-top"}"></sd-7-0-1-icon></slot></button> ${this.variant==="dot"?p`<div part="pagination-dot" role="tablist" class="${c("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${ba(ga(i),u=>{let m=u+1===a;return p`<button part="pagination-item ${m?"pagination-item--active":""}" class="${c("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",m?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${m?"true":"false"}" aria-label="${this.localize.term("goToSlide",u+1,i)}" @click="${b=>{this.goToSlide(u*e),this.unblockAutoplay(b,this.paginationItems[u])}}"><span class="${c("h-4 w-4 block border sd-7-0-1-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-7-0-1-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",m&&"border-none",m?this.inverted?"sd-7-0-1-carousel__pager-dot--inverted-background hover:sd-7-0-1-carousel__pager-dot--inverted--hovered-background":"sd-7-0-1-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:p`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${c("w-5 text-center border-b-2",this.inverted?"text-white sd-7-0-1-carousel--active--inverted-color-border":"text-black sd-7-0-1-carousel--active-color-border")}">${a}</span> <span part="pagination-divider" class="${c("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${c("w-5 text-center",this.inverted?"text-white":"text-black")}">${i}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!l}" class="${c("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!l&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${l?"false":"true"}" @click="${l?u=>{this.next(),this.unblockAutoplay(u,this.nextButton)}:null}"><slot name="next-icon"><sd-7-0-1-icon class="${c("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${h?"chevron-top":"chevron-bottom"}"></sd-7-0-1-icon></slot></button></div></div></div>`}};X.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
200
|
+
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-7-0-1-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}`],o([g('[part~="autoplay-controls"]')],X.prototype,"autoplayControls",2),o([g('[part~="navigation-button--previous"]')],X.prototype,"previousButton",2),o([g('[part~="navigation-button--next"]')],X.prototype,"nextButton",2),o([mi('[part~="pagination-item"]')],X.prototype,"paginationItems",2),o([d({type:String,reflect:!0})],X.prototype,"variant",2),o([d({type:Boolean,reflect:!0})],X.prototype,"inverted",2),o([d({type:Boolean,reflect:!0})],X.prototype,"loop",2),o([d({type:Boolean,reflect:!0})],X.prototype,"autoplay",2),o([d({type:Number,attribute:"autoplay-interval",reflect:!0})],X.prototype,"autoplayInterval",2),o([d({type:Boolean,reflect:!0})],X.prototype,"fade",2),o([d({type:Number,attribute:"slides-per-page",reflect:!0})],X.prototype,"slidesPerPage",2),o([d({type:Number,attribute:"slides-per-move",reflect:!0})],X.prototype,"slidesPerMove",2),o([g("slot:not([name])")],X.prototype,"defaultSlot",2),o([g(".carousel__slides")],X.prototype,"scrollContainer",2),o([g(".carousel__pagination")],X.prototype,"paginationContainer",2),o([g(".carousel__announcement")],X.prototype,"announcementRegion",2),o([L()],X.prototype,"activeSlide",2),o([L()],X.prototype,"currentPage",2),o([L()],X.prototype,"pausedAutoplay",2),o([L()],X.prototype,"isFocused",2),o([C("pausedAutoplay")],X.prototype,"handlePausedAutoplay",1),o([C("fade",{waitUntilFirstUpdate:!0})],X.prototype,"handleFadeChange",1),o([C("loop",{waitUntilFirstUpdate:!0}),C("slidesPerPage",{waitUntilFirstUpdate:!0})],X.prototype,"initializeSlides",1),o([C("activeSlide")],X.prototype,"handleSlideChange",1),o([C("slidesPerMove")],X.prototype,"handleSlidesPerMoveChange",1),o([C("autoplay")],X.prototype,"handleAutoplayChange",1),o([C("autoplayInterval")],X.prototype,"handleautoplayIntervalChange",1),X=o([E("sd-7-0-1-carousel")],X);var Dt=(s="value")=>(r,t)=>{let e=r.constructor,i=e.prototype.attributeChangedCallback;e.prototype.attributeChangedCallback=function(a,n,l){var m;let h=e.getPropertyOptions(s),u=typeof h.attribute=="string"?h.attribute:s;if(a===u){let b=h.converter||Ae,v=(typeof b=="function"?b:(m=b==null?void 0:b.fromAttribute)!=null?m:Ae.fromAttribute)(l,h.type);this[s]!==v&&(this[t]=v)}i.call(this,a,n,l)}};var{I:$y}=Js;var Ii=s=>s.strings===void 0;var Ad={},ya=(s,r=Ad)=>s._$AH=r;var ze=te(class extends Ie{constructor(s){if(super(s),s.type!==jt.PROPERTY&&s.type!==jt.ATTRIBUTE&&s.type!==jt.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ii(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[r]){if(r===Mt||r===N)return r;let t=s.element,e=s.name;if(s.type===jt.PROPERTY){if(r===t[e])return Mt}else if(s.type===jt.BOOLEAN_ATTRIBUTE){if(!!r===t.hasAttribute(e))return Mt}else if(s.type===jt.ATTRIBUTE&&t.getAttribute(e)===r+"")return Mt;return ya(s),r}});var ct=class extends f{constructor(){super(...arguments);this.formControlController=new at(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e});this.title="";this.name="";this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1;this.indeterminate=!1;this.defaultChecked=!1;this.form="";this.required=!1;this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){let t=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",t?"true":"false"),this.formControlController.setValidity(t)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return p`<div class="flex flex-col"><label part="base" class="${c("sd-7-0-1-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${$(this.value)}" .indeterminate="${ze(this.indeterminate)}" .checked="${ze(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate?"mixed":this.checked}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${c("relative flex shrink-0 items-center justify-center border sd-7-0-1-checkbox-border-width rounded-sm h-4 w-4","transition-colors ease-in-out duration-medium group-hover:duration-fast","peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary outline-transparent",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400 group-hover:border-error-400",invalid:"border-error group-hover:border-error-400 sd-7-0-1-checkbox--invalid-color-background group-hover:bg-transparent",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[t])}"><div part="checkbox" class="${c("absolute h-3 transition-[width] right-0 duration-medium",this.checked||this.indeterminate?"w-0":"w-3")}"><div class="${c("w-full h-full transition-colors duration-medium ease-in-out group-hover:duration-fast",{disabledIndeterminate:"bg-neutral-500",disabledChecked:" bg-neutral-500",disabled:"",visuallyDisabled:"",invalidIndeterminate:" bg-error group-hover:bg-error-400",invalid:"sd-7-0-1-checkbox--invalid-color-background",filled:"bg-accent group-hover:bg-accent-550",default:"hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[t])}"></div></div>${this.checked?p`<sd-7-0-1-icon part="checked-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-check"></sd-7-0-1-icon>`:""} ${!this.checked&&this.indeterminate?p`<sd-7-0-1-icon part="indeterminate-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-minus"></sd-7-0-1-icon>`:""} </span><span part="label" id="label" class="${c("select-none inline-block ml-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"><slot></slot></span></label><div id="invalid-icon-message" part="invalid-icon-message" class="${c("flex items-center gap-2",this.showInvalidStyle&&"mt-2")}">${this.showInvalidStyle?p`<sd-7-0-1-icon id="invalid-icon" part="invalid-icon" library="_internal" name="risk"></sd-7-0-1-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div></div>`}};ct.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
201
|
+
:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-style:var(--tw-outline-style);outline-width:0}:host([required]) #label::after{content:' *'}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error))}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],o([g('input[type="checkbox"]')],ct.prototype,"input",2),o([g("#invalid-message")],ct.prototype,"invalidMessage",2),o([d({type:String,reflect:!0})],ct.prototype,"title",2),o([d({type:String,reflect:!0})],ct.prototype,"name",2),o([d()],ct.prototype,"value",2),o([d({type:String,reflect:!0})],ct.prototype,"size",2),o([d({type:Boolean,reflect:!0})],ct.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],ct.prototype,"visuallyDisabled",2),o([d({type:Boolean,reflect:!0})],ct.prototype,"checked",2),o([d({type:Boolean,reflect:!0})],ct.prototype,"indeterminate",2),o([Dt("checked")],ct.prototype,"defaultChecked",2),o([d({type:String,reflect:!0})],ct.prototype,"form",2),o([d({type:Boolean,reflect:!0})],ct.prototype,"required",2),o([L()],ct.prototype,"showInvalidStyle",2),o([C(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],ct.prototype,"handleDisabledChange",1),o([C(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],ct.prototype,"handleStateChange",1),ct=o([E("sd-7-0-1-checkbox")],ct);var Wt=class extends f{constructor(){super(...arguments);this.hasSlotController=new A(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-7-0-1-checkbox")]}async syncCheckboxElements(){let t=this.getAllCheckboxes();await Promise.all(t.map(async e=>{await e.updateComplete,e.size=this.size}))}syncCheckboxes(){customElements.get("sd-7-0-1-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-7-0-1-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,i=this.hasSlotController.test("help-text"),a=this.helpText?!0:i,n=p`<slot @slotchange="${this.syncCheckboxes}"></slot>`,l=this.hasSlotController.test("tooltip");return p`<fieldset part="form-control" class="${c("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${e||l?p`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${c("p-0 font-bold leading-normal text-black",e?"flex":"hidden")}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${n}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-2",a?"block":"hidden")}" aria-hidden="${!a}">${this.helpText}</slot>`}};Wt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
202
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-1-checkbox){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-7-0-1-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-7-0-1-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-7-0-1-checkbox:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-1-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-1-checkbox:last-of-type){margin-right:0}`],o([d({type:String,reflect:!0})],Wt.prototype,"size",2),o([d({type:String,reflect:!0})],Wt.prototype,"orientation",2),o([d({type:String,reflect:!0})],Wt.prototype,"label",2),o([d({type:String,attribute:"help-text",reflect:!0})],Wt.prototype,"helpText",2),o([C("size",{waitUntilFirstUpdate:!0})],Wt.prototype,"handleSizeChange",1),o([C("invalid",{waitUntilFirstUpdate:!0})],Wt.prototype,"handleInvalid",1),Wt=o([E("sd-7-0-1-checkbox-group")],Wt);var _t=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),e=this.removable&&!this.selected&&!this.toggleable,i=t?st`a`:e?st`div`:st`button`;return q`<${i} part="base" type="${$(t?void 0:"button")}" href="${$(t?this.href:void 0)}" rel="${$(t&&this.target?"noreferrer noopener":void 0)}" target="${$(t?this.target:void 0)}" download="${$(t?this.download:void 0)}" ?disabled="${$(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${$(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||e?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${c("flex border box-border sd-7-0-1-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 choice-control-font-weight sd-7-0-1-tag--size-lg-font-size gap-2",sm:"h-6 choice-control-font-weight sd-7-0-1-tag--size-sm-font-size gap-1"}[this.size],{lg:e?"sd-7-0-1-tag--removable--size-lg-padding-right sd-7-0-1-tag--removable--size-lg-padding-left py-3":"py-2 sd-7-0-1-tag--size-lg-padding-inline",sm:e?"sd-7-0-1-tag--removable--size-sm-padding-right sd-7-0-1-tag--removable--size-sm-padding-left py-2":"py-1 sd-7-0-1-tag--size-sm-padding-inline"}[this.size],this.disabled?c(!t&&"cursor-not-allowed",this.selected&&"bg-neutral-500 text-white","border-neutral-500 sd-7-0-1-tag--disabled-color-text"):this.selected?"sd-7-0-1-tag--selected-border-width sd-7-0-1-tag--selected--default-color-background sd-7-0-1-tag--selected--default-color-border sd-7-0-1-tag--selected--default-color-text hover:sd-7-0-1-tag--selected--hover-color-background hover:sd-7-0-1-tag--selected--hover-color-border hover:sd-7-0-1-tag--selected--hover-color-text":c("sd-7-0-1-tag--default-color-border sd-7-0-1-tag--default-color-text",e?"sd-7-0-1-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-7-0-1-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-7-0-1-tag--default--hover-color-background"))}"><slot name="icon-left" class="${c("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${e&&!t?q`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${$(t?void 0:this.disabled)}"><slot part="removable-indicator" name="removable-indicator" class="${c(this.disabled&&"sd-7-0-1-tag--disabled-color-text")}"><sd-7-0-1-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-7-0-1-icon></slot></button>`:""}</${i}>`}};_t.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
203
|
+
:host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],o([g("a, button, div")],_t.prototype,"tag",2),o([d({type:String,reflect:!0})],_t.prototype,"size",2),o([d({type:Boolean,reflect:!0})],_t.prototype,"selected",2),o([d({type:Boolean,reflect:!0})],_t.prototype,"toggleable",2),o([d({type:Boolean,reflect:!0})],_t.prototype,"removable",2),o([d({type:Boolean,reflect:!0})],_t.prototype,"disabled",2),o([d({type:String,reflect:!0})],_t.prototype,"href",2),o([d({type:String,reflect:!0})],_t.prototype,"target",2),o([d({reflect:!0})],_t.prototype,"download",2),_t=o([E("sd-7-0-1-tag")],_t);var wa=s=>s;var ks=s=>Array.from(s.assignedElements({flatten:!0})),Od=s=>s.tagName.toLocaleLowerCase()==="sd-7-0-1-option"?s:Array.from(s.querySelectorAll(":scope > sd-7-0-1-option")),Id=s=>s.tagName.toLocaleLowerCase()==="sd-7-0-1-optgroup",xa=s=>s.map(Od),ka=s=>s.filter(Id),Pi=s=>s.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();var S=class extends f{constructor(){super(...arguments);this.formControlController=new at(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new A(this,"help-text","label");this.localize=new D(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.floatingLabel=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=wa;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=Pi(t.value),a=Pi(t.getTextLabel()),n=Pi(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-7-0-1-tag class="min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
204
204
|
base:tag__base,
|
|
205
205
|
content:tag__content,
|
|
206
206
|
removable-indicator:tag__removable-indicator,
|
|
207
|
-
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-7-0-
|
|
207
|
+
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-7-0-1-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(l=>l instanceof HTMLButtonElement&&l.classList.contains("combobox-button"));if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}if(!(i||t.target.closest(".combobox__clear")!==null)){if(t.key==="Escape"&&(this.open?(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})):this.displayInputValue=""),t.key==="Backspace"&&this.multiple&&this.displayInput.value===""){this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0}));return}if(!this.multiple&&(t.key==="Backspace"||t.key==="Delete")){this.clearCombobox();return}if(t.key==="Enter"){let l=this.getCurrentOption(),h=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;if(!this.open&&!h){setTimeout(()=>{t.defaultPrevented||this.formControlController.submit()});return}if(!this.open||l!=null&&l.disabled)return;if(l&&!l.disabled){let u=this.value;this.multiple?(this.toggleOptionSelection(l),this.lastOption=l,this.setOrderedSelectedOptions(l),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(l),this.setSelectedOptions(l)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==u&&(this.emit("sd-input"),this.emit("sd-change"))})}this.displayInput.focus({preventScroll:!0}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0}));return}["ArrowUp","ArrowDown"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.open||this.show(),this.selectNextOption(t.key==="ArrowDown")),["Home","End"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),t.key==="Home"?this.displayInput.setSelectionRange(0,0):t.key==="End"&&this.displayInput.setSelectionRange(this.displayInput.value.length,this.displayInput.value.length))}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){if(!this.multiple){let t=this.findOptionByValue(this.getSlottedOptions(),this.value);this.selectedTextLabel=(t==null?void 0:t.getTextLabel())||""}this.formControlController.updateValidity()}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}get options(){let t=e=>{let i=this.displayInput.value,a=this.getOption(e,i);return e.tabIndex=0,p`${typeof a=="string"?Ir(a):a}`};return this.filteredOptions.map(e=>e.tagName.toLowerCase()==="sd-7-0-1-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-7-0-1-option"&&t(i)}),e):t(e))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}">${typeof i=="string"?Ir(i):i}</div>`}return[p``]}):[p`<sd-7-0-1-tag class="min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
208
208
|
base:tag__base,
|
|
209
209
|
content:tag__content,
|
|
210
210
|
removable-indicator:tag__removable-indicator,
|
|
211
|
-
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-7-0-0-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}async handleComboboxKeyDown(t){var e;if(t.key==="Tab"){if(this.displayInputValue="",this.displayInput.value="",this.open&&((e=this.shadowRoot)==null?void 0:e.activeElement)===this.displayInput){t.preventDefault(),this.open=!1,await this.updateComplete,this.displayInput.focus();return}return}this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleSearchClick(t){t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&this.emit("sd-search")}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-7-0-0-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let l=a+1;n=l>e.length-1?0:l}else{let l=a-1;n=l<0?e.length-1:l}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),oe(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-7-0-0-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var b,y,g;let a=i.cloneNode(!0);if(a.current=a.value===((b=this.lastOption)==null?void 0:b.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((y=i.parentElement)==null?void 0:y.tagName.toLowerCase())==="sd-7-0-0-optgroup"))return a;let l=i.parentElement,h=(g=l.querySelector('[slot="label"]'))==null?void 0:g.cloneNode(!0),u=e.find(w=>w.id===l.id);if(u){u==null||u.appendChild(a),h&&(u==null||u.appendChild(h));return}let m=l.cloneNode();return m.appendChild(a),h&&m.appendChild(h),e.push(m),m}).filter(Boolean)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleFilterChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}handleUseTagsChange(){let t=this.getAllFilteredOptions();customElements.get("sd-7-0-0-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await et(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=j(this,"combobox.show",{dir:this.localize.dir()});await W(this.popup.popup,i,a),this.emit("sd-after-show"),this.filteredOptions.length===0&&this.emit("sd-error");return}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await et(this);let{keyframes:t,options:e}=j(this,"combobox.hide",{dir:this.localize.dir()});await W(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([Q(this,"sd-after-show"),Q(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,Q(this,"sd-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){let t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then(()=>{this.formControlController.updateValidity()}),this.emit("sd-change"))}getSlottedOptions(){return xa(ks(this.defaultSlot)).flat()}getSlottedOptGroups(){return ka(ks(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-7-0-0-option")){customElements.whenDefined("sd-7-0-0-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-7-0-0-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-7-0-0-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,l=this.clearable&&!this.disabled&&!this.visuallyDisabled,h=t.left,u=this.value!==null&&String(this.value).length>0,m=this.floatingLabel&&a&&(this.hasFocus||u),b=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",y=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",g=this.disabled||this.visuallyDisabled?"text-neutral-500":"form-control-color-icon-fill",w={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],E={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],M={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],z=this.size==="lg"?this.floatingLabel?"py-3":"py-2":this.floatingLabel?m?"py-2":"py-3":"py-1",I={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return p`<div part="form-control" class="${c("relative text-left",y,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}">${a&&!this.floatingLabel?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${c(a&&"inline-block",a&&(this.visuallyDisabled||this.disabled)?"text-neutral-500":"form-control-color-text")}" aria-hidden="${a?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label></div>`:null} <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black">${a&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${c("absolute left-4 z-20 pointer-events-none transition-all duration-200",h?I:"left-4",m?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",m&&"mt-1")}" for="input"><span class="${c("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",m&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${c("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[b],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-7-0-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${c("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
211
|
+
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-7-0-1-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}async handleComboboxKeyDown(t){var e;if(t.key==="Tab"){if(this.displayInputValue="",this.displayInput.value="",this.open&&((e=this.shadowRoot)==null?void 0:e.activeElement)===this.displayInput){t.preventDefault(),this.open=!1,await this.updateComplete,this.displayInput.focus();return}return}this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleSearchClick(t){t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&this.emit("sd-search")}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-7-0-1-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let l=a+1;n=l>e.length-1?0:l}else{let l=a-1;n=l<0?e.length-1:l}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),oe(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-7-0-1-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var b,y,v;let a=i.cloneNode(!0);if(a.current=a.value===((b=this.lastOption)==null?void 0:b.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((y=i.parentElement)==null?void 0:y.tagName.toLowerCase())==="sd-7-0-1-optgroup"))return a;let l=i.parentElement,h=(v=l.querySelector('[slot="label"]'))==null?void 0:v.cloneNode(!0),u=e.find(w=>w.id===l.id);if(u){u==null||u.appendChild(a),h&&(u==null||u.appendChild(h));return}let m=l.cloneNode();return m.appendChild(a),h&&m.appendChild(h),e.push(m),m}).filter(Boolean)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleFilterChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}handleUseTagsChange(){let t=this.getAllFilteredOptions();customElements.get("sd-7-0-1-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await rt(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=j(this,"combobox.show",{dir:this.localize.dir()});await W(this.popup.popup,i,a),this.emit("sd-after-show"),this.filteredOptions.length===0&&this.emit("sd-error");return}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await rt(this);let{keyframes:t,options:e}=j(this,"combobox.hide",{dir:this.localize.dir()});await W(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([Q(this,"sd-after-show"),Q(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,Q(this,"sd-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){let t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then(()=>{this.formControlController.updateValidity()}),this.emit("sd-change"))}getSlottedOptions(){return xa(ks(this.defaultSlot)).flat()}getSlottedOptGroups(){return ka(ks(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-7-0-1-option")){customElements.whenDefined("sd-7-0-1-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-7-0-1-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-7-0-1-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,l=this.clearable&&!this.disabled&&!this.visuallyDisabled,h=t.left,u=this.value!==null&&String(this.value).length>0,m=this.floatingLabel&&a&&(this.hasFocus||u),b=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",y=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v=this.disabled||this.visuallyDisabled?"text-neutral-500":"form-control-color-icon-fill",w={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],x={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],M={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],z=this.size==="lg"?this.floatingLabel?"py-3":"py-2":this.floatingLabel?m?"py-2":"py-3":"py-1",I={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return p`<div part="form-control" class="${c("relative text-left",y,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}">${a&&!this.floatingLabel?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${c(a&&"inline-block",a&&(this.visuallyDisabled||this.disabled)?"text-neutral-500":"form-control-color-text")}" aria-hidden="${a?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label></div>`:null} <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black">${a&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${c("absolute left-4 z-20 pointer-events-none transition-all duration-200",h?I:"left-4",m?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",m&&"mt-1")}" for="input"><span class="${c("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",m&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${c("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[b],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-7-0-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${c("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
212
212
|
popup:popup__content,
|
|
213
|
-
"><div part="combobox" class="${c("relative w-full px-4 flex flex-row items-center form-control-border-radius transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",this.open&&"shadow transition-shadow duration-medium ease-in-out",["invalid","activeInvalid"].includes(b)&&"form-control--invalid-color-background",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size],z)}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${c("inline-flex",
|
|
214
|
-
:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4,1rem);height:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3,.75rem);height:var(--sd-spacing-8,2rem);width:var(--sd-spacing-8,2rem)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-7-0-
|
|
215
|
-
:host{margin:0}:host(sd-7-0-0-divider[orientation=horizontal]){display:block}:host(sd-7-0-0-divider[orientation=vertical]){display:inline-block}`],o([d({type:String,reflect:!0})],Me.prototype,"orientation",2),o([d({type:Boolean,reflect:!0})],Me.prototype,"inverted",2),Me=o([C("sd-7-0-0-divider")],Me);var T={startOfDayLocal:s=>new Date(s.getFullYear(),s.getMonth(),s.getDate()),isSameDay:(s,r)=>!s||!r?!1:s.getFullYear()===r.getFullYear()&&s.getMonth()===r.getMonth()&&s.getDate()===r.getDate(),clampDateToMonth:(s,r)=>{let t=new Date(r.getFullYear(),r.getMonth(),1),e=new Date(r.getFullYear(),r.getMonth()+1,0);return s<t?t:s>e?e:s},toLocalISODate:s=>{let r=s.getFullYear(),t=String(s.getMonth()+1).padStart(2,"0"),e=String(s.getDate()).padStart(2,"0");return`${r}-${t}-${e}`},parseLocalISO:s=>{if(!s)return null;let r=s.trim();if(!r)return null;let e=r.replace(/[./]/g,"-").match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!e)return null;let i=Number(e[1]),a=Number(e[2])-1,n=Number(e[3]),l=new Date(i,a,n);return Number.isNaN(l.getTime())?null:l},compareDates:(s,r)=>{let t=T.startOfDayLocal(s).getTime(),e=T.startOfDayLocal(r).getTime();return t-e},isBetweenInclusive:(s,r,t)=>{let e=T.compareDates(r,t)<=0?r:t,i=T.compareDates(r,t)<=0?t:r;return T.compareDates(s,e)>=0&&T.compareDates(s,i)<=0}};var $r={fromAttribute(s){if(!s)return null;let t=s.trim().replace(/[./]/g,"-").match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!t)return null;let e=`${t[1]}-${t[2]}-${t[3]}`,i=new Date(+t[1],+t[2]-1,+t[3]);return i.getFullYear()!==+t[1]||i.getMonth()!==+t[2]-1||i.getDate()!==+t[3]?null:e},toAttribute(s){return s!=null?s:""}},Ca={fromAttribute(s){if(!s)return null;let r=s.trim().replace(/[./]/g,"-"),t=r.match(/^(\d{2})-(\d{4})$/),e,i;if(t)e=Number(t[1]),i=Number(t[2]);else{if(t=r.match(/^(\d{4})-(\d{2})$/),!t)return null;i=Number(t[1]),e=Number(t[2])}return!i||!e||e<1||e>12?null:new Date(i,e-1,1)},toAttribute(s){if(!s)return"";let r=s.getFullYear(),t=String(s.getMonth()+1).padStart(2,"0");return`${r}-${t}`}},$a={fromAttribute(s){if(!s)return[];let r=[],t=s.trim();if(t.startsWith("["))try{let i=JSON.parse(t);Array.isArray(i)&&(r=i.map(String))}catch(i){return[]}else r=t.split(/[\s,]+/).map(i=>i.trim()).filter(Boolean);let e=[];for(let i of r){let n=i.replace(/[-/]/g,".").split(".");if(n.length!==3)continue;let[l,h,u]=n.map(Number);if(!l||!h||!u)continue;let m=new Date(l,h-1,u);if(m.getFullYear()!==l||m.getMonth()!==h-1||m.getDate()!==u)continue;let b=`${l}-${String(h).padStart(2,"0")}-${String(u).padStart(2,"0")}`;e.push(b)}return e},toAttribute(s){return s?s.join(","):""}};var _=class extends f{constructor(){super();this.localize=new D(this);this.hasSlotController=new A(this,"label","help-text","tooltip");this.formControlController=new at(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.locale="en-US";this.value=null;this.range=!1;this.rangeStart=null;this.rangeEnd=null;this.allowSameDayRange=!1;this.min=void 0;this.max=void 0;this.viewMonth=null;this.firstDayOfWeek=null;this.disabledWeekends=!1;this.disabledDates=[];this.isDateDisabled=null;this.size="lg";this.alignment="left";this.label="";this.helpText="";this.floatingLabel=!1;this.disabled=!1;this.required=!1;this.visuallyDisabled=!1;this.styleOnValid=!1;this.readonly=!1;this.placement="bottom";this.placeholder="";this.name="";this.form="";this.open=!1;this.today=T.startOfDayLocal(new Date);this.disabledDatesSet=new Set;this.previewEnd=null;this.statusNavText="";this.statusSelectText="";this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.currentPlacement=this.placement;this.inputValue="";this.tabbingIntoGrid=!1;this.statusBumpCounter=0;this.onFocusOut=t=>{let e=t.relatedTarget;e&&this.contains(e)||(this.open&&(this.hide(),this.emit("sd-datepicker-close")),this.hasFocus=!1)};this.onFocusIn=t=>{if(this.disabled||this.visuallyDisabled)return;t.composedPath().some(a=>{var n,l;return a instanceof HTMLElement&&(((n=a.classList)==null?void 0:n.contains("nav"))||((l=a.classList)==null?void 0:l.contains("month-label")))})&&(this.tabbingIntoGrid=!0)};this.handleInput=t=>{var l,h,u,m,b;if(this.disabled||this.visuallyDisabled||this.readonly){(l=t.preventDefault)==null||l.call(t),(h=t.stopPropagation)==null||h.call(t);return}let e=t.target,i=e.value,a=(u=e.selectionStart)!=null?u:i.length,n=(m=t.inputType)==null?void 0:m.startsWith("delete");if(this.range){let y=i.replace(/\D/g,""),g=y.slice(0,8),w=y.slice(8,16),E=this.buildDmyFromDigits(g),M=this.buildDmyFromDigits(w),z;g.length===0?z="":g.length<8?z=E:w.length>0?z=`${E} - ${M}`:z=n?E:`${E} -`;let I=this.countDigitsBeforeCaret(i,a),O;if(I<=8){let V=this.digitIndexToDmyCaretPos(Math.min(I,8));O=Math.min(V,E.length)}else{let V=g.length<8?E.length:E.length+3,B=Math.min(I-8,8),Z=this.digitIndexToDmyCaretPos(B);O=V+Math.min(Z,M.length)}this.inputValue=z;let R=!1;if(/^\d{2}\.\d{2}\.\d{4}$/.test(E)){let V=this.dmyToIso(E),B=V?T.parseLocalISO(V):null;B&&!this.isDisabled(B)&&this.inMinMax(B)&&this.rangeStart!==V&&(this.rangeStart=V,this.previewEnd=null,this.viewMonth=new Date(B.getFullYear(),B.getMonth(),1),this.focusedDate=T.startOfDayLocal(B),R=!0)}else this.rangeStart&&(this.rangeStart=null,R=!0),this.rangeEnd&&(this.rangeEnd=null,R=!0);if(/^\d{2}\.\d{2}\.\d{4}$/.test(M)&&this.rangeStart){let V=T.parseLocalISO(this.rangeStart),B=this.dmyToIso(M),Z=B?T.parseLocalISO(B):null;if(!!Z&&!this.isDisabled(Z)&&this.inMinMax(Z)){let[rt,tt]=T.compareDates(V,Z)<=0?[V,Z]:[Z,V],Zt=T.isSameDay(rt,tt);if((this.allowSameDayRange||!Zt)&&!this.wouldRangeContainDisabled(rt,tt)){let gt=T.toLocalISODate(T.startOfDayLocal(rt)),Ct=T.toLocalISODate(T.startOfDayLocal(tt));(this.rangeStart!==gt||this.rangeEnd!==Ct)&&(this.rangeStart=gt,this.rangeEnd=Ct,this.viewMonth=new Date(tt.getFullYear(),tt.getMonth(),1),this.focusedDate=T.startOfDayLocal(tt),R=!0)}}}else this.rangeEnd&&(this.rangeEnd=null,R=!0);this.showInvalidStyle=!1,this.showValidStyle=!!(this.rangeStart&&this.rangeEnd),R&&(this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})),Promise.resolve().then(()=>{requestAnimationFrame(()=>{var B;let V=(B=this.input)!=null?B:e;V&&(V.value=this.inputValue,V.setSelectionRange(O,O))})})}else{let y=e,g=y.value,w=(b=y.selectionStart)!=null?b:g.length,E=g.replace(/\D/g,"").slice(0,8),M=E.slice(0,2),z=E.slice(2,4),I=E.slice(4,8),O="";M.length>0&&(O+=M,M.length===2&&(O+=".")),z.length>0&&M.length===2&&(O+=z,z.length===2&&(O+=".")),I.length>0&&M.length===2&&z.length===2&&(O+=I),O=O.replace(/\.\.+/g,".");let R=this.inputValue||"";this.inputValue=O;let V=w,B=ot=>{let gt=[];for(let Ct=0;Ct<ot.length;Ct++)ot[Ct]==="."&>.push(Ct);return gt},Z=B(R),st=B(O),rt=Z.filter(ot=>ot<w).length,Zt=st.filter(ot=>ot<w).length-rt;if(Zt>0?V+=Zt:!Z.includes(w)&&st.includes(w)&&(V+=1),V=Math.min(Math.max(0,V),O.length),requestAnimationFrame(()=>{var gt;let ot=(gt=this.input)!=null?gt:y;ot&&(ot.value=this.inputValue,ot.setSelectionRange(V,V))}),/^\d{2}\.\d{2}\.\d{4}$/.test(O)){let ot=this.parseInputText(O);this.applyParsedInput(ot)}else this.showInvalidStyle=!1,this.showValidStyle=!1;return}if(!this.open&&this.hasFocus&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.range){let y=this.rangeStart?T.parseLocalISO(this.rangeStart):null,g=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null;y&&!g?this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(y)}`):y&&g&&this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(y)}; ${this.termEndSelected()}: ${this.formatSelectionLabel(g)}`)}else if(this.value){let y=T.parseLocalISO(this.value);this.setNavStatus(`${this.formatSelectionLabel(y)}`)}};this.handleInputBlur=()=>{if(this.disabled||this.visuallyDisabled){this.handleBlur();return}let t=this.parseInputText(this.inputValue);t.valid?this.applyParsedInput(t):(this.inputValue=this.formatInputValue(),this.showInvalidStyle=!!this.inputValue&&!this.value&&!this.rangeStart),this.handleBlur()};this.handleCurrentPlacement=t=>{let e=t.detail;e&&(this.currentPlacement=e)};this.handleHeaderKeyDown=(t,e,i,a)=>{if(!(this.disabled||this.visuallyDisabled||this.readonly)){if(t.key==="Tab"&&!t.shiftKey){a&&(t.preventDefault(),t.stopPropagation(),this.tabbingIntoGrid=!0,this.focusInitialGridDay());return}(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),e==="month"?this.setMonth(i):this.setYear(i))}};this.onKeyDown=t=>{var n,l;if(this.disabled||this.visuallyDisabled||this.readonly){t.preventDefault(),t.stopPropagation();return}let e=t.key,i=!0,a=new Date(this.focusedDate);switch(e){case"ArrowLeft":a.setDate(a.getDate()-1);break;case"ArrowRight":a.setDate(a.getDate()+1);break;case"ArrowUp":a.setDate(a.getDate()-7);break;case"ArrowDown":a.setDate(a.getDate()+7);break;case"Escape":{this.previewEnd?(this.previewEnd=null,this.setNavStatus(this.localize.term("selectionCleared"))):this.range&&this.rangeStart&&!this.rangeEnd&&(this.rangeStart=null,this.setNavStatus(this.localize.term("selectionCleared")),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})),this.open&&(this.hide(),this.emit("sd-datepicker-close"));break}case"Enter":case" ":this.selectDate(this.focusedDate);break;default:i=!1}if(i){t.preventDefault();let h=(n=this.viewMonth)!=null?n:this.ensureViewMonth();if(a.getMonth()!==h.getMonth()||a.getFullYear()!==h.getFullYear()){let y=new Date(a.getFullYear(),a.getMonth(),1);this.viewMonth=y;let g=this.formatMonthYear(y);this.setNavStatus(g)}let m=T.startOfDayLocal(a);m.getTime()!==((l=this.focusedDate)==null?void 0:l.getTime())&&(this.focusedDate=m);let b=m.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"});this.setNavStatus(b),this.requestUpdate(),requestAnimationFrame(()=>{let y=this.shadowRoot,g=y==null?void 0:y.querySelector("button.day.focused");g==null||g.focus({preventScroll:!0})})}};this.handleInputKeyDown=t=>{if((this.disabled||this.visuallyDisabled||this.readonly)&&t.key!=="Tab"){t.preventDefault(),t.stopPropagation();return}if(!(t.key==="ArrowLeft"||t.key==="ArrowRight"||t.key==="ArrowUp"||t.key==="ArrowDown"||t.key==="Home"||t.key==="End"||t.key==="PageUp"||t.key==="PageDown")){if(t.key==="Escape"&&this.open){t.preventDefault(),this.hide(),this.emit("sd-datepicker-close");return}t.key==="Enter"&&!this.open&&!this.disabled&&!this.visuallyDisabled&&!this.readonly&&(t.preventDefault(),this.show())}};this.handleOutsideClick=this.handleOutsideClick.bind(this)}connectedCallback(){var l;super.connectedCallback(),this.syncDisabledDatesSet(),document.addEventListener("click",this.handleOutsideClick),this.addEventListener("focusout",this.onFocusOut),this.updateComplete.then(()=>{this.formControlController.updateValidity()});let t=this.value?T.parseLocalISO(this.value):null,e=this.rangeStart?T.parseLocalISO(this.rangeStart):null,i=T.startOfDayLocal(new Date),a=this.range&&e?e:t!=null?t:i,n=(l=this.viewMonth)!=null?l:new Date(a.getFullYear(),a.getMonth(),1);this.viewMonth=n,this.focusedDate=T.clampDateToMonth(a,n),(this.firstDayOfWeek===null||this.firstDayOfWeek===void 0)&&(this.firstDayOfWeek=1),this.inputValue=this.formatInputValue(),this.setAttribute("role","group"),this.setAttribute("aria-label",this.range?this.localize.term("datePickerRange"):this.localize.term("datePicker")),this.addEventListener("focusin",this.onFocusIn)}firstUpdated(){this.formControlController.updateValidity()}handleOpenChange(){this.popup&&(this.popup.active=this.open&&!this.disabled&&!this.visuallyDisabled)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusin",this.onFocusIn),this.removeEventListener("focusout",this.onFocusOut),document.removeEventListener("click",this.handleOutsideClick)}handleLocaleChange(){this.firstDayOfWeek===null&&(this.firstDayOfWeek=1),this.requestUpdate()}handleViewMonthChange(){var i;if(!this.viewMonth)return;let t=this.focusedDate||this.range&&this.rangeEnd&&T.parseLocalISO(this.rangeEnd)||this.range&&this.rangeStart&&T.parseLocalISO(this.rangeStart)||this.value&&T.parseLocalISO(this.value)||this.today;if(!t)return;let e=T.clampDateToMonth(t,this.viewMonth);e.getTime()!==((i=this.focusedDate)==null?void 0:i.getTime())&&(this.focusedDate=e)}handleDisabledDatesChange(){this.syncDisabledDatesSet(),this.requestUpdate()}handleValueChange(){let t=this.value?T.parseLocalISO(this.value):null;t&&(this.viewMonth=new Date(t.getFullYear(),t.getMonth(),1),this.focusedDate=T.startOfDayLocal(t)),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var i;let e=this.input;if(e){e.value=(i=this.inputValue)!=null?i:"";let a=e.value.length;e.setSelectionRange(a,a)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleRangeChange(){let t=this.rangeStart?T.parseLocalISO(this.rangeStart):null,e=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null,i=t!=null?t:e;i&&(this.viewMonth=new Date(i.getFullYear(),i.getMonth(),1),this.focusedDate=T.startOfDayLocal(i)),this.previewEnd!==null&&(this.previewEnd=null),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var n;let a=this.input;if(a){a.value=(n=this.inputValue)!=null?n:"";let l=a.value.length;a.setSelectionRange(l,l)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1)}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}get validity(){let t={valid:!0};return this.input instanceof HTMLInputElement?this.input.validity:t}get validationMessage(){return(this.input instanceof HTMLInputElement?this.input.validationMessage:"")||""}checkValidity(){return this.input instanceof HTMLInputElement?this.input.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input instanceof HTMLInputElement?this.input.reportValidity():!0}setCustomValidity(t){var e;(e=this.input)==null||e.setCustomValidity(t),this.formControlController.updateValidity()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}parseISO(t){return T.parseLocalISO(t)}inMinMax(t){let e=n=>{if(n==null)return null;if(n instanceof Date)return T.startOfDayLocal(n);if(typeof n=="number")return T.startOfDayLocal(new Date(n));if(typeof n=="string"){let l=this.parseISO(n);return l?T.startOfDayLocal(l):null}return null},i=e(this.min),a=e(this.max);return!(i&&t<i||a&&t>a)}isInDisabledDates(t){if(!this.disabledDatesSet||this.disabledDatesSet.size===0)return!1;let e=t.getFullYear(),i=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),n=`${e}-${i}-${a}`;return this.disabledDatesSet.has(n)}isWeekend(t){let e=t.getDay();return e===0||e===6}isDisabled(t){var e;return!!(!this.inMinMax(t)||this.disabledWeekends&&this.isWeekend(t)||this.isInDisabledDates(t)||(e=this.isDateDisabled)!=null&&e.call(this,t))}setNavStatus(t){this.statusNavText=t}announceSelect(t,e=40){setTimeout(()=>{this.statusBumpCounter++;let i="\u200B".repeat(this.statusBumpCounter%3);this.statusSelectText=t+i},e)}formatSelectionLabel(t){if(this.locale==="de-DE")return t.toLocaleDateString("de-DE",{day:"numeric",month:"long",year:"numeric"});let e=t.getDate(),i=this.ordinal(e),a=t.toLocaleDateString("en-US",{month:"long"}),n=t.getFullYear();return`${i} of ${a} ${n}`}ordinal(t){let e=["th","st","nd","rd"],i=t%100,a=e[(i-20)%10]||e[i]||e[0];return t+a}syncDisabledDatesSet(){let t=[];if(Array.isArray(this.disabledDates))t=this.disabledDates;else if(typeof this.disabledDates=="string"){let e=this.disabledDates.trim();if(e.startsWith("["))try{let i=JSON.parse(e);Array.isArray(i)&&(t=i)}catch(i){t=[]}else e.length>0&&(t=e.split(",").map(i=>i.trim()).filter(Boolean))}this.disabledDatesSet=new Set(t)}wouldRangeContainDisabled(t,e){let i=T.compareDates(t,e)<=0?T.startOfDayLocal(t):T.startOfDayLocal(e),a=T.compareDates(t,e)<=0?T.startOfDayLocal(e):T.startOfDayLocal(t),n=new Date(i);for(;T.compareDates(n,a)<=0;){if(this.isDisabled(n))return!0;n.setDate(n.getDate()+1)}return!1}termStartSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"startDateSelected")}termEndSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"endDateSelected")}isoToDmy(t){if(!t)return"";let e=T.parseLocalISO(t);if(e||(e=T.parseLocalISO(t.replace(/-/g,"."))),!e)return"";let i=String(e.getDate()).padStart(2,"0"),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getFullYear());return`${i}.${a}.${n}`}dmyToIso(t){if(!t)return null;let e=t.match(/^(\d{2})\.(\d{2})\.(\d{4})$/);if(!e)return null;let i=Number(e[1]),a=Number(e[2]),n=Number(e[3]),l=new Date(n,a-1,i);if(l.getFullYear()!==n||l.getMonth()!==a-1||l.getDate()!==i)return null;let h=T.startOfDayLocal(l);return T.toLocalISODate(h)}formatInputValue(){let t=(this.locale||"").toLowerCase(),e=(this.getAttribute("lang")||"").toLowerCase(),a=t.startsWith("de")||e.startsWith("de")?"\u2013":"-";if(!this.range)return this.isoToDmy(this.value);let n=this.isoToDmy(this.rangeStart),l=this.isoToDmy(this.rangeEnd);return n&&l?`${n} ${a} ${l}`:n&&!l?`${n} ${a}`:""}parseInputText(t){var a,n;let e=t.trim();if(this.range){let l=e.split(/\s*-\s*/);if(l.length===1){let h=l[0];if(!h)return{start:null,end:null,valid:!0};let u=this.dmyToIso(h);return u?{start:u,end:null,valid:!0}:{start:null,end:null,valid:!1}}else if(l.length>=2){let h=(a=l[0])!=null?a:"",u=(n=l[1])!=null?n:"",m=h?this.dmyToIso(h):null,b=u?this.dmyToIso(u):null;return h&&!m?{start:null,end:null,valid:!1}:u&&!b?{start:null,end:null,valid:!1}:{start:m,end:b,valid:!0}}return{start:null,end:null,valid:!1}}if(!e)return{single:null,valid:!0};let i=this.dmyToIso(e);return i?{single:i,valid:!0}:{single:null,valid:!1}}applyParsedInput(t){var h,u,m,b;if(!t.valid)return this.showInvalidStyle=!0,this.showValidStyle=!1,this.formControlController.setValidity(!1),!1;let e=y=>{if(!y)return!0;let g=T.parseLocalISO(y);return!(!this.inMinMax(g)||this.isDisabled(g))},i=!1;if(this.range){let y=(h=t.start)!=null?h:null,g=(u=t.end)!=null?u:null;if(!e(y)||g&&!e(g))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let w=y?T.parseLocalISO(y):null,E=g?T.parseLocalISO(g):null;if(w&&E){if(T.compareDates(w,E)>0){let I=w;w=E,E=I}if(!this.allowSameDayRange&&T.isSameDay(w,E))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;if(this.wouldRangeContainDisabled(w,E))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1}let M=w?T.toLocalISODate(T.startOfDayLocal(w)):null,z=E?T.toLocalISODate(T.startOfDayLocal(E)):null;if(this.rangeStart!==M||this.rangeEnd!==z){this.rangeStart=M,this.rangeEnd=z,this.previewEnd=null,i=!0;let I=(m=w!=null?w:E)!=null?m:this.today;this.viewMonth=new Date(I.getFullYear(),I.getMonth(),1),this.focusedDate=T.startOfDayLocal(I),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})}return this.showInvalidStyle=!1,this.range?this.showValidStyle=!!(this.rangeStart&&this.rangeEnd&&this.styleOnValid):this.showValidStyle=!!(this.value&&this.styleOnValid),this.formControlController.setValidity(!0),this.updateComplete.then(()=>{this.formControlController.updateValidity()}),!0}let a=(b=t.single)!=null?b:null;if(!e(a))return this.input.setCustomValidity(this.localize.term("datePickerRange")),this.formControlController.setValidity(!1),this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let n=a?T.parseLocalISO(a):null,l=n?T.toLocalISODate(T.startOfDayLocal(n)):null;return this.value!==l&&(this.value=l,i=!0,n&&(this.viewMonth=new Date(n.getFullYear(),n.getMonth(),1),this.focusedDate=T.startOfDayLocal(n)),this.emit("sd-select",{detail:{value:this.value,date:n!=null?n:null}})),this.showInvalidStyle=!1,this.showValidStyle=!!this.value,this.inputValue=this.formatInputValue(),i}buildDmyFromDigits(t){let e=t.slice(0,8),i=e.slice(0,2),a=e.slice(2,4),n=e.slice(4,8),l=i;return a.length&&(l+="."+a),n.length&&(l+="."+n),l}digitIndexToDmyCaretPos(t){return t<=2?t:t<=4?3+(t-2):6+(t-4)}countDigitsBeforeCaret(t,e){return t.slice(0,e).replace(/\D/g,"").length}handleOutsideClick(t){var i,a;((a=(i=t.composedPath)==null?void 0:i.call(t))!=null?a:[]).includes(this)||(this.hide(),this.hasFocus=!1,this.emit("sd-datepicker-close"))}show(){if(this.open||this.disabled||this.visuallyDisabled||this.readonly){this.open=!1;return}this.open=!0}hide(){if(!this.open||this.disabled){this.open=!1;return}this.open=!1}handleMouseDown(t){if(this.visuallyDisabled||this.disabled||this.readonly){t.preventDefault(),t.stopPropagation();return}t.preventDefault(),this.open||this.show()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleFocus(){this.hasFocus=!0,!this.open&&!this.disabled&&!this.visuallyDisabled&&!this.readonly&&this.show(),this.emit("sd-focus")}setMonth(t){var n;let e=(n=this.viewMonth)!=null?n:this.ensureViewMonth(),i=new Date(e.getFullYear(),e.getMonth()+t,1);if(i.getMonth()===e.getMonth()&&i.getFullYear()===e.getFullYear())return;this.viewMonth=i;let a=this.formatMonthYear(i);this.setNavStatus(a),this.emit("sd-month-change",{detail:{month:i}})}setYear(t){var n;let e=(n=this.viewMonth)!=null?n:this.ensureViewMonth(),i=new Date(e.getFullYear()+t,e.getMonth(),1);if(i.getFullYear()===e.getFullYear()&&i.getMonth()===e.getMonth())return;this.viewMonth=i;let a=this.formatMonthYear(i);this.setNavStatus(a),this.emit("sd-month-year",{detail:{month:i}})}focusInitialGridDay(){var a;let t=null;if(!this.range&&this.value){let n=T.parseLocalISO(this.value);n&&(t=T.startOfDayLocal(n))}if(this.range){let n=this.rangeStart?T.parseLocalISO(this.rangeStart):null,l=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null;l?t=T.startOfDayLocal(l):n&&(t=T.startOfDayLocal(n))}let e=(a=this.viewMonth)!=null?a:this.ensureViewMonth();if(!(n=>n?n.getFullYear()===e.getFullYear()&&n.getMonth()===e.getMonth()&&!this.isDisabled(n):!1)(t)){let{weeks:n}=this.getMonthMatrix(e),l=n.flat().find(h=>h.getMonth()===e.getMonth()&&T.isSameDay(h,this.today)&&!this.isDisabled(h));if(l)t=T.startOfDayLocal(l);else{let h=n.flat().find(u=>u.getMonth()===e.getMonth()&&!this.isDisabled(u));t=h?T.startOfDayLocal(h):null}}t&&(this.focusedDate=t),this.requestUpdate(),requestAnimationFrame(()=>{let n=this.shadowRoot,l=(n==null?void 0:n.querySelector("button.day.selected"))||(n==null?void 0:n.querySelector("button.day.focused"))||(n==null?void 0:n.querySelector('button.day[tabindex="0"]'))||(n==null?void 0:n.querySelector("button.day"));l==null||l.focus({preventScroll:!0})})}selectSingleDate(t){if(this.readonly||this.isDisabled(t))return;let e=T.startOfDayLocal(t),i=T.toLocalISODate(e);if(this.value===i)return;this.value=i;let a=`${this.formatSelectionLabel(e)}, ${this.localize.term("selected")}`;this.announceSelect(a),this.emit("sd-select",{detail:{value:this.value,date:e}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var l;let n=this.input;n&&(n.value=(l=this.inputValue)!=null?l:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let h=n.value.length;n.setSelectionRange(h,h)})}))})}selectRangeDate(t){if(this.readonly)return;let e=T.startOfDayLocal(t),i=this.rangeStart?T.parseLocalISO(this.rangeStart):null,a=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null;if(!i&&!a){if(this.isDisabled(e))return;this.rangeStart=T.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var h;let l=this.input;l&&(l.value=(h=this.inputValue)!=null?h:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let u=l.value.length;l.setSelectionRange(u,u)})}))});return}if(i&&!a){if(this.isDisabled(e))return;if(T.isSameDay(i,e)){if(!this.allowSameDayRange){this.rangeStart=T.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let y=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${y}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var w;let g=this.input;g&&(g.value=(w=this.inputValue)!=null?w:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let E=g.value.length;g.setSelectionRange(E,E)})}))});return}this.rangeStart=T.toLocalISODate(e),this.rangeEnd=T.toLocalISODate(e),this.previewEnd=null;let b=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${b}`,40),this.announceSelect(`${this.termEndSelected()}: ${b}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var g;let y=this.input;y&&(y.value=(g=this.inputValue)!=null?g:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let w=y.value.length;y.setSelectionRange(w,w)})}))});return}let n=T.parseLocalISO(this.rangeStart);if(this.wouldRangeContainDisabled(n,e))return;let[l,h]=T.compareDates(n,e)<=0?[n,e]:[e,n];this.rangeStart=T.toLocalISODate(l),this.rangeEnd=T.toLocalISODate(h),this.previewEnd=null;let u=this.formatSelectionLabel(l),m=this.formatSelectionLabel(h);this.announceSelect(`${this.termStartSelected()}: ${u}`,40),this.announceSelect(`${this.termEndSelected()}: ${m}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var y;let b=this.input;b&&(b.value=(y=this.inputValue)!=null?y:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let g=b.value.length;b.setSelectionRange(g,g)})}))});return}if(i&&a){if(this.isDisabled(e))return;this.rangeStart=T.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var h;let l=this.input;l&&(l.value=(h=this.inputValue)!=null?h:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let u=l.value.length;l.setSelectionRange(u,u)})}))})}}selectDate(t){this.readonly||(this.range?this.selectRangeDate(t):this.selectSingleDate(t))}ensureViewMonth(){if(this.viewMonth)return this.viewMonth;let t=this.value?T.parseLocalISO(this.value):null,e=this.rangeStart?T.parseLocalISO(this.rangeStart):null,i=T.startOfDayLocal(new Date),a=this.range&&e?e:t!=null?t:i,n=new Date(a.getFullYear(),a.getMonth(),1);return this.viewMonth=n,n}getMonthMatrix(t){var m;let e=(m=this.firstDayOfWeek)!=null?m:1,i=new Date(t.getFullYear(),t.getMonth(),1),a=new Date(i),n=(i.getDay()-e+7)%7;a.setDate(i.getDate()-n);let l=[],h=a;for(let b=0;b<6;b++){let y=[];for(let g=0;g<7;g++)y.push(new Date(h)),h.setDate(h.getDate()+1);l.push(y)}let u=b=>b.every(y=>y.getMonth()!==t.getMonth());for(;l.length>0&&u(l[l.length-1]);)l.pop();return{weeks:l}}formatMonthYear(t){try{return new Intl.DateTimeFormat(this.locale,{month:"long",year:"numeric"}).format(t)}catch(e){return`${t.toLocaleString(void 0,{month:"long"})} ${t.getFullYear()}`}}weekdayLabels(){var a;let t=(a=this.firstDayOfWeek)!=null?a:1,e=new Date(2021,7,1),i=[];for(let n=0;n<7;n++){let l=new Date(e);l.setDate(e.getDate()+(t+n)%7);try{i.push(new Intl.DateTimeFormat(this.locale,{weekday:"short"}).format(l))}catch(h){i.push(l.toLocaleDateString(void 0,{weekday:"short"}))}}return i}getTabTargetDayForCurrentView(t){var n;let e=(n=this.viewMonth)!=null?n:this.ensureViewMonth(),i=t.flat().find(l=>l.getMonth()===e.getMonth()&&T.isSameDay(l,this.today)&&!this.isDisabled(l));if(i)return T.startOfDayLocal(i);let a=t.flat().find(l=>l.getMonth()===e.getMonth()&&!this.isDisabled(l));return a?T.startOfDayLocal(a):null}onDayMouseEnter(t){if(!this.range||this.readonly)return;let e=this.rangeStart?T.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null;if(e&&!i){let a=T.startOfDayLocal(t);this.previewEnd=this.isDisabled(a)?null:a,this.requestUpdate()}}onGridMouseLeave(){this.previewEnd!==null&&(this.previewEnd=null,this.requestUpdate())}renderCalendar(){var g,w;let t=(g=this.viewMonth)!=null?g:this.ensureViewMonth(),{weeks:e}=this.getMonthMatrix(t),i=this.formatMonthYear(t),a=this.weekdayLabels(),n=this.value?this.parseISO(this.value):null,l=this.rangeStart?this.parseISO(this.rangeStart):null,h=this.rangeEnd?this.parseISO(this.rangeEnd):null,u=this.previewEnd,m=E=>!this.range||!l||h||!u?!1:T.isBetweenInclusive(E,l,u),b=this.getTabTargetDayForCurrentView(e),y=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color";return p`<div part="datepicker" class="${c("w-[284px] z-50 bg-white py-3 px-4",this.open?"block shadow-listbox":"hidden",(w=this.currentPlacement)!=null&&w.startsWith("bottom")?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius","border-primary")}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="${c("nav prev w-6 h-6 hover:cursor-pointer",y)}" part="prev-year-button" @click="${()=>this.setYear(-1)}" @keydown="${E=>this.handleHeaderKeyDown(E,"year",-1,!1)}" aria-label="${this.localize.term("previousYear")}"><sd-7-0-0-icon library="_internal" name="chevrons-small-left" class="h-6 w-6"></sd-7-0-0-icon></button> <button type="button" tabindex="0" class="${c("nav prev w-6 h-6 hover:cursor-pointer",y)}" part="prev-month-button" @click="${()=>this.setMonth(-1)}" @keydown="${E=>this.handleHeaderKeyDown(E,"month",-1,!1)}" aria-label="${this.localize.term("previousMonth")}"><sd-7-0-0-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-7-0-0-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base" part="month-label" aria-live="polite">${i}</div><div class="flex items-center"><button type="button" tabindex="0" class="${c("nav next w-6 h-6 hover:cursor-pointer",y)}" part="next-month-button" @click="${()=>this.setMonth(1)}" @keydown="${E=>this.handleHeaderKeyDown(E,"month",1,!1)}" aria-label="${this.localize.term("nextMonth")}"><sd-7-0-0-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-7-0-0-icon></button> <button type="button" tabindex="0" class="${c("nav next w-6 h-6 hover:cursor-pointer",y)}" part="next-year-button" @click="${()=>this.setYear(1)}" @keydown="${E=>this.handleHeaderKeyDown(E,"year",1,!0)}" aria-label="${this.localize.term("nextYear")}"><sd-7-0-0-icon library="_internal" name="chevrons-small-right" class="h-6 w-6"></sd-7-0-0-icon></button></div></div><sd-7-0-0-divider></sd-7-0-0-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${i}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${()=>{this.tabbingIntoGrid=!1}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${a.map((E,M)=>p`<div role="columnheader" aria-colindex="${M+1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${E}" title="${E}" id="${"col-"+(M+1)}">${E}</div>`)}</div>${e.map((E,M)=>p`<div class="grid-row grid grid-cols-7 ${M===0?"mt-2":""}" role="row" aria-rowindex="${M+2}">${E.map((z,I)=>{let O=z.getMonth()===t.getMonth(),R=this.isDisabled(z)||!this.inMinMax(z),V=T.isSameDay(z,this.focusedDate),B=T.isSameDay(z,this.today),Z=!this.range&&n?T.isSameDay(z,n):!1,st=this.range&&l?T.isSameDay(z,l):!1,rt=this.range&&h?T.isSameDay(z,h):!1,tt=this.range&&l&&h?T.isBetweenInclusive(z,l,h):!1,Zt=m(z)&&!R,ot=-1,gt=b&&T.isSameDay(z,b);(this.tabbingIntoGrid&>||!this.tabbingIntoGrid&&V)&&(ot=0);let Ct=this.isWeekend(z),qt=z.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"}),Qt=st?this.localize.term("startDateSelected"):rt?this.localize.term("endDateSelected"):void 0;return p`<button type="button" part="day" class="${c("cell day flex items-center justify-center focus-visible:outline focus:outline-2 focus:outline-primary -outline-offset-2 rounded w-[36px]",this.size==="sm"?"text-sm h-6":"text-base h-8",st||rt?V?"outline-none sd-7-0-0-datepicker__date-item--selected--hover-color-background sd-7-0-0-datepicker__date-item--selected--hover-color-text":"outline-none sd-7-0-0-datepicker__date-item--selected-color-background sd-7-0-0-datepicker__date-item--selected-color-text hover:sd-7-0-0-datepicker__date-item--selected--hover-color-background hover:sd-7-0-0-datepicker__date-item--selected--hover-color-text":"hover:sd-7-0-0-datepicker__date-item--hover--default-color-text",!st&&!rt&&!tt&&"hover:sd-7-0-0-datepicker__date-item--hover--default-color-background",Z?"selected outline-none border-primary sd-7-0-0-datepicker__date-item--selected-color-background sd-7-0-0-datepicker__date-item--selected-color-text hover:sd-7-0-0-datepicker__date-item--selected--hover-color-text hover:sd-7-0-0-datepicker__date-item--selected--hover-color-background":O?this.isInDisabledDates(z)||!this.inMinMax(z)?"out-month text-neutral-500":this.disabledWeekends&&Ct?"weekend-day text-neutral-500":"in-month sd-7-0-0-datepicker__date-item--default-color-text":this.disabledWeekends&&Ct?"out-month weekend-day text-neutral-500":Ct?"out-month weekend-day text-neutral-700":"out-month text-neutral-700 hover:sd-7-0-0-datepicker__date-item--hover--prev-next-color-text hover:sd-7-0-0-datepicker__date-item--hover--prev-next-color-background",st?"rounded-l-md rounded-r-none":"",rt?"range-end rounded-r-md rounded-l-none":"",tt&&!st&&!rt?"in-range selected sd-7-0-0-datepicker__date-item--range-color-background rounded-none hover:sd-7-0-0-datepicker__date-item--selected--hover-color-background hover:sd-7-0-0-datepicker__date-item--selected--hover-color-text":"",!tt&&Zt&&!st&&!rt?"in-preview-range bg-primary-100 text-primary-500 rounded-none":"",B&&!Z&&!st&&!rt&&V?"today border-[1px] border-primary sd-7-0-0-datepicker__date-item--current-font-weight":"",R?"disabled cursor-not-allowed hover:bg-transparent":"cursor-pointer",V&&!B?"focused outline outline-2 outline-primary":"")}" role="gridcell" aria-colindex="${I+1}" aria-labelledby="${"col-"+(I+1)}" .tabIndex="${ot}" ?disabled="${R||this.disabled||this.readonly}" aria-disabled="${R||this.visuallyDisabled||this.disabled||this.readonly?"true":"false"}" aria-selected="${Z||tt||st||rt?"true":"false"}" aria-current="${B?"date":N}" aria-label="${qt}" aria-roledescription="${Qt!=null?Qt:N}" @focus="${()=>this.focusedDate=T.startOfDayLocal(z)}" @mouseenter="${()=>this.onDayMouseEnter(z)}" @keydown="${this.onKeyDown}" @click="${()=>{this.focusedDate=T.startOfDayLocal(z),this.selectDate(z)}}">${z.getDate()}</button>`})}</div>`)}</div></div>`}render(){var w,E;let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,i=this.helpText?!0:!!t.helpText,a=!!t.tooltip,n=this.value!==null&&String(this.value).length>0||this.range&&this.rangeStart!==null||this.rangeEnd!==null,l=this.floatingLabel&&e&&(this.hasFocus||this.open||n)&&!this.disabled&&!this.visuallyDisabled,h=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",u={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],m={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],b=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",y={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[b],g=this.size==="sm"?"text-sm":"text-base";return p`<div part="form-control" class="${c("min-w-[284px]",this.open&&"z-50",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${e&&!this.floatingLabel||a?p`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${c(e?"inline-block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"form-control-color-text",g)}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${c("absolute left-4 z-20 pointer-events-none transition-all duration-200 form-control--filled__floating-label-color-text",l?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",l&&"mt-1")}" for="input"><span class="${c("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",l&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${c("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",y,this.open&&((w=this.currentPlacement)!=null&&w.startsWith("bottom")?this.open&&this.alignment==="left"?"rounded-bl-none":"rounded-br-none":this.open&&this.alignment==="left"?"rounded-tl-none":"rounded-tr-none"))}"></div><sd-7-0-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${c("inline-flex relative w-full",(E=this.currentPlacement)!=null&&E.startsWith("bottom")?"origin-top":"origin-bottom")}" placement="${this.alignment==="left"?`${this.placement}-start`:`${this.placement}-end`}" flip shift auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${c("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",b==="disabled"||b==="visuallyDisabled"?"text-neutral-500":"text-black",b==="invalid"&&"form-control--invalid-color-background",b==="active"&&"shadow")}" slot="anchor"><input id="input" type="text" role="combobox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="dialog" aria-controls="calendar-grid" aria-describedby="${i?"help-text":void 0}" aria-invalid="${this.showInvalidStyle?"true":"false"}" aria-label="${this.range?"Select date range":"Select a date"}" class="${c("min-w-0 grow focus:outline-none bg-transparent hover:cursor-pointer text-black",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",{sm:"h-8",md:"h-10",lg:"h-12"}[this.size],g,this.floatingLabel&&"mt-4")}" autocomplete="off" spellcheck="false" placeholder="${!this.floatingLabel||l?this.placeholder||this.localize.term(this.range?"dateRangePlaceholder":"datePlaceholder"):""}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly||this.visuallyDisabled}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle?p`<sd-7-0-0-icon part="invalid-icon" class="${c("text-error",u,m)}" library="_internal" name="risk"></sd-7-0-0-icon>`:""} ${this.showValidStyle&&this.styleOnValid?p`<sd-7-0-0-icon class="${c("text-success shrink-0",u,m)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-0-icon>`:""}<sd-7-0-0-icon class="${c(h,u,m,"hover:cursor-pointer")}" library="_internal" name="calendar" @click="${this.show}"></sd-7-0-0-icon></div>${this.renderCalendar()}</sd-7-0-0-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm mt-1",i?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!i}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};_.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
216
|
-
:host{position:relative;display:inline-block;width:100%;--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}.today:hover{border-color:rgba(var(--sd-datepicker__date-item--hover--default-color-border,70 109 175))}.in-range,.today{color:rgba(var(--sd-datepicker__date-item--current-color-text,0 53 142))}.icon-color{color:rgba(var(--sd-form-control-color-icon-fill))}.month-label{color:rgba(var(--sd-color-border-primary))!important}`],o([d({type:String,reflect:!0})],_.prototype,"locale",2),o([d({type:String,converter
|
|
217
|
-
:host{--width:662px;display:contents}[part=base]:not([open]){display:none}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}::backdrop{display:none}[part=overlay]{background-color:rgb(var(--sd-overlay-color-background,5 21 48 / .9))}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}}`],o([
|
|
213
|
+
"><div part="combobox" class="${c("relative w-full px-4 flex flex-row items-center form-control-border-radius transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",this.open&&"shadow transition-shadow duration-medium ease-in-out",["invalid","activeInvalid"].includes(b)&&"form-control--invalid-color-background",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size],z)}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${c("inline-flex",x,v,M)}"></slot>`:""}<div class="${c("flex flex-wrap items-center gap-1 w-full min-w-0 relative",this.floatingLabel&&m&&"mt-4",this.floatingLabel&&!m&&this.size==="lg"&&"mt-2")}">${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${c("flex flex-wrap items-center gap-1 min-w-0",x)}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${c("appearance-none outline-none bg-transparent flex-auto min-w-0",y,this.selectedTextLabel&&!this.multiple?"placeholder:text-black":"placeholder:text-neutral-700",this.size==="sm"?m?"h-4":"h-6":m?"h-6":"h-8")}" type="text" placeholder="${!this.floatingLabel||m?this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder"):""}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"></div><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(O=>O==null?void 0:O.getTextLabel()).join(", ")}</div><input class="${c("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",y)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${c("flex justify-center",w,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-1-icon class="${c("text-neutral-700",M)}" name="close-circle" library="_internal"></sd-7-0-1-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-7-0-1-icon part="invalid-icon" class="${c(w,M,"text-error")}" library="_internal" name="risk"></sd-7-0-1-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-7-0-1-icon part="valid-icon" class="${c("flex-shrink-0 text-success",w,M)}" library="_internal" name="confirm-circle"></sd-7-0-1-icon>`:""}<slot name="right" part="right" class="${c("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"form-control-color-icon-fill",M)}">${this.type!=="search"?p`<sd-7-0-1-icon class="${c("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-bottom" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-7-0-1-icon>`:""}</slot>${this.type==="search"?p`<button class="${c("flex items-center",w)}" type="button" @mousedown="${this.preventLoosingFocus}" @click="${this.handleSearchClick}"><sd-7-0-1-icon class="${c(v,M)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-7-0-1-icon></button>`:p`<button class="combobox-button absolute top-2" tabindex="-1" aria-hidden="true" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${$(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${c("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow-listbox transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-7-0-1-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm mt-1",n?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!n}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};S.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
214
|
+
:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4,1rem);height:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3,.75rem);height:var(--sd-spacing-8,2rem);width:var(--sd-spacing-8,2rem)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-7-0-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-7-0-1-tag::part(base){border-radius:var(--sd-radius,.25rem);border-width:var(--sd-combobox__tag-border-width,.0625rem);padding-inline:var(--sd-spacing-1,.25rem)}sd-7-0-1-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-7-0-1-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2,.5rem)}sd-7-0-1-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}[part=filtered-listbox] sd-7-0-1-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold, 600);font-weight:var(--sd-font-weight-bold,600);color:inherit}:host([type=search]) sd-7-0-1-icon[name=magnifying-glass],[part=chevron]{color:rgba(var(--sd-form-control-color-icon-fill))}:host([disabled])::part(chevron),:host([type=search][disabled]) sd-7-0-1-icon[name=magnifying-glass],:host([type=search][visually-disabled]) sd-7-0-1-icon[name=magnifying-glass],:host([visually-disabled])::part(chevron){color:rgba(var(--sd-color-icon-fill-neutral-500,--sd-color-neutral-500))}@property --tw-font-weight{syntax:"*";inherits:false}`],o([g("sd-7-0-1-popup")],S.prototype,"popup",2),o([g('[part="combobox"]')],S.prototype,"combobox",2),o([g('[part="display-input"]')],S.prototype,"displayInput",2),o([g(".value-input")],S.prototype,"valueInput",2),o([g('[part="listbox"]')],S.prototype,"listbox",2),o([g('[part="tags"]')],S.prototype,"tagWrapper",2),o([g('[part="filtered-listbox"]')],S.prototype,"filteredWrapper",2),o([g("slot:not([name])")],S.prototype,"defaultSlot",2),o([g("#invalid-message")],S.prototype,"invalidMessage",2),o([L()],S.prototype,"hasFocus",2),o([L()],S.prototype,"displayInputValue",2),o([L()],S.prototype,"selectedTextLabel",2),o([L()],S.prototype,"selectedOptions",2),o([L()],S.prototype,"filteredOptions",2),o([L()],S.prototype,"allOptions",2),o([L()],S.prototype,"lastOption",2),o([L()],S.prototype,"showValidStyle",2),o([L()],S.prototype,"showInvalidStyle",2),o([L()],S.prototype,"deletedTagLabel",2),o([d({reflect:!0})],S.prototype,"name",2),o([d({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],S.prototype,"value",2),o([Dt()],S.prototype,"defaultValue",2),o([d({type:String,reflect:!0})],S.prototype,"size",2),o([d({type:String,reflect:!0})],S.prototype,"placeholder",2),o([d({type:String,attribute:"max-options-tag-label",reflect:!0})],S.prototype,"maxOptionsTagLabel",2),o([d({type:Boolean,reflect:!0})],S.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],S.prototype,"visuallyDisabled",2),o([d({type:Boolean,reflect:!0})],S.prototype,"clearable",2),o([d({type:Boolean,reflect:!0})],S.prototype,"open",2),o([d({type:Boolean,reflect:!0})],S.prototype,"hoist",2),o([d({type:String,reflect:!0})],S.prototype,"label",2),o([d({type:String,reflect:!0})],S.prototype,"placement",2),o([d({type:String,attribute:"help-text",reflect:!0})],S.prototype,"helpText",2),o([d({type:String,reflect:!0})],S.prototype,"form",2),o([d({type:Boolean,reflect:!0})],S.prototype,"required",2),o([d({attribute:"floating-label",type:Boolean,reflect:!0})],S.prototype,"floatingLabel",2),o([d({type:String,reflect:!0})],S.prototype,"type",2),o([L()],S.prototype,"currentPlacement",2),o([d()],S.prototype,"getOption",2),o([d({type:Boolean,reflect:!0})],S.prototype,"multiple",2),o([d({type:Boolean,reflect:!0})],S.prototype,"useTags",2),o([d({type:Number,reflect:!0,attribute:"max-options-visible"})],S.prototype,"maxOptionsVisible",2),o([d({type:Boolean,reflect:!0,attribute:"style-on-valid"})],S.prototype,"styleOnValid",2),o([d()],S.prototype,"filter",2),o([d()],S.prototype,"getTag",2),o([C("filter",{waitUntilFirstUpdate:!0})],S.prototype,"handleFilterChange",1),o([C("useTags",{waitUntilFirstUpdate:!0})],S.prototype,"handleUseTagsChange",1),o([C("size",{waitUntilFirstUpdate:!0})],S.prototype,"applySizeToOptions",1),o([C(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],S.prototype,"handleDisabledChange",1),o([C("value",{waitUntilFirstUpdate:!0})],S.prototype,"handleValueChange",1),o([C("displayInputValue",{waitUntilFirstUpdate:!0})],S.prototype,"handleDisplayInputValueChange",1),o([C("open",{waitUntilFirstUpdate:!0})],S.prototype,"handleOpenChange",1),o([C(["size","floatingLabel"])],S.prototype,"handleSizeChange",1),S=o([E("sd-7-0-1-combobox")],S);F("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});var Me=class extends f{constructor(){super(...arguments);this.orientation="horizontal";this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return p`<hr part="main" aria-orientation="${this.orientation}" class="${c(this.inverted?"sd-7-0-1-divider--inverted-color-border":"border-neutral-400",this.orientation==="horizontal"?"border-t w-full":" border-l h-full")}">`}};Me.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
215
|
+
:host{margin:0}:host(sd-7-0-1-divider[orientation=horizontal]){display:block}:host(sd-7-0-1-divider[orientation=vertical]){display:inline-block}`],o([d({type:String,reflect:!0})],Me.prototype,"orientation",2),o([d({type:Boolean,reflect:!0})],Me.prototype,"inverted",2),Me=o([E("sd-7-0-1-divider")],Me);var T={startOfDayLocal:s=>new Date(s.getFullYear(),s.getMonth(),s.getDate()),isSameDay:(s,r)=>!s||!r?!1:s.getFullYear()===r.getFullYear()&&s.getMonth()===r.getMonth()&&s.getDate()===r.getDate(),clampDateToMonth:(s,r)=>{let t=new Date(r.getFullYear(),r.getMonth(),1),e=new Date(r.getFullYear(),r.getMonth()+1,0);return s<t?t:s>e?e:s},toLocalISODate:s=>{let r=s.getFullYear(),t=String(s.getMonth()+1).padStart(2,"0"),e=String(s.getDate()).padStart(2,"0");return`${r}-${t}-${e}`},parseLocalISO:s=>{if(!s)return null;let r=s.trim();if(!r)return null;let e=r.replace(/[./]/g,"-").match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!e)return null;let i=Number(e[1]),a=Number(e[2])-1,n=Number(e[3]),l=new Date(i,a,n);return Number.isNaN(l.getTime())?null:l},compareDates:(s,r)=>{let t=T.startOfDayLocal(s).getTime(),e=T.startOfDayLocal(r).getTime();return t-e},isBetweenInclusive:(s,r,t)=>{let e=T.compareDates(r,t)<=0?r:t,i=T.compareDates(r,t)<=0?t:r;return T.compareDates(s,e)>=0&&T.compareDates(s,i)<=0}};var Er={fromAttribute(s){if(!s)return null;let t=s.trim().replace(/[./]/g,"-").match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!t)return null;let e=`${t[1]}-${t[2]}-${t[3]}`,i=new Date(+t[1],+t[2]-1,+t[3]);return i.getFullYear()!==+t[1]||i.getMonth()!==+t[2]-1||i.getDate()!==+t[3]?null:e},toAttribute(s){return s!=null?s:""}},Ca={fromAttribute(s){if(!s)return null;let r=s.trim().replace(/[./]/g,"-"),t=r.match(/^(\d{2})-(\d{4})$/),e,i;if(t)e=Number(t[1]),i=Number(t[2]);else{if(t=r.match(/^(\d{4})-(\d{2})$/),!t)return null;i=Number(t[1]),e=Number(t[2])}return!i||!e||e<1||e>12?null:new Date(i,e-1,1)},toAttribute(s){if(!s)return"";let r=s.getFullYear(),t=String(s.getMonth()+1).padStart(2,"0");return`${r}-${t}`}},Ea={fromAttribute(s){if(!s)return[];let r=[],t=s.trim();if(t.startsWith("["))try{let i=JSON.parse(t);Array.isArray(i)&&(r=i.map(String))}catch(i){return[]}else r=t.split(/[\s,]+/).map(i=>i.trim()).filter(Boolean);let e=[];for(let i of r){let n=i.replace(/[-/]/g,".").split(".");if(n.length!==3)continue;let[l,h,u]=n.map(Number);if(!l||!h||!u)continue;let m=new Date(l,h-1,u);if(m.getFullYear()!==l||m.getMonth()!==h-1||m.getDate()!==u)continue;let b=`${l}-${String(h).padStart(2,"0")}-${String(u).padStart(2,"0")}`;e.push(b)}return e},toAttribute(s){return s?s.join(","):""}};var _=class extends f{constructor(){super();this.localize=new D(this);this.hasSlotController=new A(this,"label","help-text","tooltip");this.formControlController=new at(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.locale="en-US";this.value=null;this.range=!1;this.rangeStart=null;this.rangeEnd=null;this.allowSameDayRange=!1;this.min=void 0;this.max=void 0;this.viewMonth=null;this.firstDayOfWeek=null;this.disabledWeekends=!1;this.disabledDates=[];this.isDateDisabled=null;this.size="lg";this.alignment="left";this.label="";this.helpText="";this.floatingLabel=!1;this.disabled=!1;this.required=!1;this.visuallyDisabled=!1;this.styleOnValid=!1;this.readonly=!1;this.placement="bottom";this.placeholder="";this.name="";this.form="";this.open=!1;this.today=T.startOfDayLocal(new Date);this.disabledDatesSet=new Set;this.previewEnd=null;this.statusNavText="";this.statusSelectText="";this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.currentPlacement=this.placement;this.inputValue="";this.tabbingIntoGrid=!1;this.statusBumpCounter=0;this.onFocusOut=t=>{let e=t.relatedTarget;e&&this.contains(e)||(this.open&&(this.hide(),this.emit("sd-datepicker-close")),this.hasFocus=!1)};this.onFocusIn=t=>{if(this.disabled||this.visuallyDisabled)return;t.composedPath().some(a=>{var n,l;return a instanceof HTMLElement&&(((n=a.classList)==null?void 0:n.contains("nav"))||((l=a.classList)==null?void 0:l.contains("month-label")))})&&(this.tabbingIntoGrid=!0)};this.handleCalendarIconClick=t=>{if(t.preventDefault(),t.stopPropagation(),!(this.disabled||this.visuallyDisabled||this.readonly)){if(this.open){this.hide(),this.emit("sd-datepicker-close");return}this.show(),this.updateComplete.then(()=>{var e;return(e=this.input)==null?void 0:e.focus({preventScroll:!0})})}};this.handleInput=t=>{var l,h,u,m,b;if(this.disabled||this.visuallyDisabled||this.readonly){(l=t.preventDefault)==null||l.call(t),(h=t.stopPropagation)==null||h.call(t);return}let e=t.target,i=e.value,a=(u=e.selectionStart)!=null?u:i.length,n=(m=t.inputType)==null?void 0:m.startsWith("delete");if(this.range){let y=i.replace(/\D/g,""),v=y.slice(0,8),w=y.slice(8,16),x=this.buildDmyFromDigits(v),M=this.buildDmyFromDigits(w),z;v.length===0?z="":v.length<8?z=x:w.length>0?z=`${x} - ${M}`:z=n?x:`${x} -`;let I=this.countDigitsBeforeCaret(i,a),O;if(I<=8){let H=this.digitIndexToDmyCaretPos(Math.min(I,8));O=Math.min(H,x.length)}else{let H=v.length<8?x.length:x.length+3,B=Math.min(I-8,8),Z=this.digitIndexToDmyCaretPos(B);O=H+Math.min(Z,M.length)}this.inputValue=z;let R=!1;if(/^\d{2}\.\d{2}\.\d{4}$/.test(x)){let H=this.dmyToIso(x),B=H?T.parseLocalISO(H):null;B&&!this.isDisabled(B)&&this.inMinMax(B)&&this.rangeStart!==H&&(this.rangeStart=H,this.previewEnd=null,this.viewMonth=new Date(B.getFullYear(),B.getMonth(),1),this.focusedDate=T.startOfDayLocal(B),R=!0)}else this.rangeStart&&(this.rangeStart=null,R=!0),this.rangeEnd&&(this.rangeEnd=null,R=!0);if(/^\d{2}\.\d{2}\.\d{4}$/.test(M)&&this.rangeStart){let H=T.parseLocalISO(this.rangeStart),B=this.dmyToIso(M),Z=B?T.parseLocalISO(B):null;if(!!Z&&!this.isDisabled(Z)&&this.inMinMax(Z)){let[tt,et]=T.compareDates(H,Z)<=0?[H,Z]:[Z,H],Zt=T.isSameDay(tt,et);if((this.allowSameDayRange||!Zt)&&!this.wouldRangeContainDisabled(tt,et)){let gt=T.toLocalISODate(T.startOfDayLocal(tt)),Ct=T.toLocalISODate(T.startOfDayLocal(et));(this.rangeStart!==gt||this.rangeEnd!==Ct)&&(this.rangeStart=gt,this.rangeEnd=Ct,this.viewMonth=new Date(et.getFullYear(),et.getMonth(),1),this.focusedDate=T.startOfDayLocal(et),R=!0)}}}else this.rangeEnd&&(this.rangeEnd=null,R=!0);this.showInvalidStyle=!1,this.showValidStyle=!!(this.rangeStart&&this.rangeEnd),R&&(this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})),Promise.resolve().then(()=>{requestAnimationFrame(()=>{var B;let H=(B=this.input)!=null?B:e;H&&(H.value=this.inputValue,H.setSelectionRange(O,O))})})}else{let y=e,v=y.value,w=(b=y.selectionStart)!=null?b:v.length,x=v.replace(/\D/g,"").slice(0,8),M=x.slice(0,2),z=x.slice(2,4),I=x.slice(4,8),O="";M.length>0&&(O+=M,M.length===2&&(O+=".")),z.length>0&&M.length===2&&(O+=z,z.length===2&&(O+=".")),I.length>0&&M.length===2&&z.length===2&&(O+=I),O=O.replace(/\.\.+/g,".");let R=this.inputValue||"";this.inputValue=O;let H=w,B=ot=>{let gt=[];for(let Ct=0;Ct<ot.length;Ct++)ot[Ct]==="."&>.push(Ct);return gt},Z=B(R),it=B(O),tt=Z.filter(ot=>ot<w).length,Zt=it.filter(ot=>ot<w).length-tt;if(Zt>0?H+=Zt:!Z.includes(w)&&it.includes(w)&&(H+=1),H=Math.min(Math.max(0,H),O.length),requestAnimationFrame(()=>{var gt;let ot=(gt=this.input)!=null?gt:y;ot&&(ot.value=this.inputValue,ot.setSelectionRange(H,H))}),/^\d{2}\.\d{2}\.\d{4}$/.test(O)){let ot=this.parseInputText(O);this.applyParsedInput(ot)}else this.showInvalidStyle=!1,this.showValidStyle=!1;return}if(!this.open&&this.hasFocus&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.range){let y=this.rangeStart?T.parseLocalISO(this.rangeStart):null,v=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null;y&&!v?this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(y)}`):y&&v&&this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(y)}; ${this.termEndSelected()}: ${this.formatSelectionLabel(v)}`)}else if(this.value){let y=T.parseLocalISO(this.value);this.setNavStatus(`${this.formatSelectionLabel(y)}`)}};this.handleInputBlur=()=>{if(this.disabled||this.visuallyDisabled){this.handleBlur();return}let t=this.parseInputText(this.inputValue);t.valid?this.applyParsedInput(t):(this.inputValue=this.formatInputValue(),this.showInvalidStyle=!!this.inputValue&&!this.value&&!this.rangeStart),this.handleBlur()};this.handleCurrentPlacement=t=>{let e=t.detail;e&&(this.currentPlacement=e)};this.handleHeaderKeyDown=(t,e,i,a)=>{if(!(this.disabled||this.visuallyDisabled||this.readonly)){if(t.key==="Escape"&&this.open){t.preventDefault(),t.stopPropagation(),this.hide(),this.emit("sd-datepicker-close");return}if(t.key==="Tab"&&!t.shiftKey){a&&(this.hide(),this.emit("sd-datepicker-close"));return}(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),e==="month"?this.setMonth(i):this.setYear(i))}};this.onKeyDown=t=>{var n,l,h,u;if(this.disabled||this.visuallyDisabled||this.readonly){t.preventDefault(),t.stopPropagation();return}if(t.key==="Tab"&&!t.shiftKey){t.preventDefault(),t.stopPropagation(),(l=(n=this.shadowRoot)==null?void 0:n.querySelector('button[part="prev-year-button"]'))==null||l.focus({preventScroll:!0});return}let e=t.key,i=!0,a=new Date(this.focusedDate);switch(e){case"ArrowLeft":a.setDate(a.getDate()-1);break;case"ArrowRight":a.setDate(a.getDate()+1);break;case"ArrowUp":a.setDate(a.getDate()-7);break;case"ArrowDown":a.setDate(a.getDate()+7);break;case"Escape":{this.previewEnd?(this.previewEnd=null,this.setNavStatus(this.localize.term("selectionCleared"))):this.range&&this.rangeStart&&!this.rangeEnd&&(this.rangeStart=null,this.setNavStatus(this.localize.term("selectionCleared")),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})),this.open&&(this.hide(),this.emit("sd-datepicker-close"));break}case"Enter":case" ":this.selectDate(this.focusedDate);break;default:i=!1}if(i){t.preventDefault();let m=(h=this.viewMonth)!=null?h:this.ensureViewMonth();if(a.getMonth()!==m.getMonth()||a.getFullYear()!==m.getFullYear()){let w=new Date(a.getFullYear(),a.getMonth(),1);this.viewMonth=w;let x=this.formatMonthYear(w);this.setNavStatus(x)}let y=T.startOfDayLocal(a);y.getTime()!==((u=this.focusedDate)==null?void 0:u.getTime())&&(this.focusedDate=y);let v=y.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"});this.setNavStatus(v),this.requestUpdate(),requestAnimationFrame(()=>{let w=this.shadowRoot,x=w==null?void 0:w.querySelector("button.day.focused");x==null||x.focus({preventScroll:!0})})}};this.handleInputKeyDown=t=>{if((this.disabled||this.visuallyDisabled||this.readonly)&&t.key!=="Tab"){t.preventDefault(),t.stopPropagation();return}if(t.key==="Tab"&&!t.shiftKey&&this.open){t.preventDefault(),t.stopPropagation(),this.tabbingIntoGrid=!0,this.focusInitialGridDay();return}if(!(t.key==="ArrowLeft"||t.key==="ArrowRight"||t.key==="ArrowUp"||t.key==="ArrowDown"||t.key==="Home"||t.key==="End"||t.key==="PageUp"||t.key==="PageDown")){if(t.key==="Escape"&&this.open){t.preventDefault(),this.hide(),this.emit("sd-datepicker-close");return}t.key==="Enter"&&!this.open&&!this.disabled&&!this.visuallyDisabled&&!this.readonly&&(t.preventDefault(),this.show())}};this.handleOutsideClick=this.handleOutsideClick.bind(this)}connectedCallback(){var l;super.connectedCallback(),this.syncDisabledDatesSet(),document.addEventListener("click",this.handleOutsideClick),this.addEventListener("focusout",this.onFocusOut),this.updateComplete.then(()=>{this.formControlController.updateValidity()});let t=this.value?T.parseLocalISO(this.value):null,e=this.rangeStart?T.parseLocalISO(this.rangeStart):null,i=T.startOfDayLocal(new Date),a=this.range&&e?e:t!=null?t:i,n=(l=this.viewMonth)!=null?l:new Date(a.getFullYear(),a.getMonth(),1);this.viewMonth=n,this.focusedDate=T.clampDateToMonth(a,n),(this.firstDayOfWeek===null||this.firstDayOfWeek===void 0)&&(this.firstDayOfWeek=1),this.inputValue=this.formatInputValue(),this.setAttribute("role","group"),this.setAttribute("aria-label",this.range?this.localize.term("datePickerRange"):this.localize.term("datePicker")),this.addEventListener("focusin",this.onFocusIn)}firstUpdated(){this.formControlController.updateValidity()}handleOpenChange(){this.popup&&(this.popup.active=this.open&&!this.disabled&&!this.visuallyDisabled)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusin",this.onFocusIn),this.removeEventListener("focusout",this.onFocusOut),document.removeEventListener("click",this.handleOutsideClick)}handleLocaleChange(){this.firstDayOfWeek===null&&(this.firstDayOfWeek=1),this.requestUpdate()}handleViewMonthChange(){var i;if(!this.viewMonth)return;let t=this.focusedDate||this.range&&this.rangeEnd&&T.parseLocalISO(this.rangeEnd)||this.range&&this.rangeStart&&T.parseLocalISO(this.rangeStart)||this.value&&T.parseLocalISO(this.value)||this.today;if(!t)return;let e=T.clampDateToMonth(t,this.viewMonth);e.getTime()!==((i=this.focusedDate)==null?void 0:i.getTime())&&(this.focusedDate=e)}handleDisabledDatesChange(){this.syncDisabledDatesSet(),this.requestUpdate()}handleValueChange(){let t=this.value?T.parseLocalISO(this.value):null;t&&(this.viewMonth=new Date(t.getFullYear(),t.getMonth(),1),this.focusedDate=T.startOfDayLocal(t)),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var i;let e=this.input;if(e){e.value=(i=this.inputValue)!=null?i:"";let a=e.value.length;e.setSelectionRange(a,a)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleRangeChange(){let t=this.rangeStart?T.parseLocalISO(this.rangeStart):null,e=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null,i=t!=null?t:e;i&&(this.viewMonth=new Date(i.getFullYear(),i.getMonth(),1),this.focusedDate=T.startOfDayLocal(i)),this.previewEnd!==null&&(this.previewEnd=null),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var n;let a=this.input;if(a){a.value=(n=this.inputValue)!=null?n:"";let l=a.value.length;a.setSelectionRange(l,l)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1)}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}get validity(){let t={valid:!0};return this.input instanceof HTMLInputElement?this.input.validity:t}get validationMessage(){return(this.input instanceof HTMLInputElement?this.input.validationMessage:"")||""}checkValidity(){return this.input instanceof HTMLInputElement?this.input.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input instanceof HTMLInputElement?this.input.reportValidity():!0}setCustomValidity(t){var e;(e=this.input)==null||e.setCustomValidity(t),this.formControlController.updateValidity()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}parseISO(t){return T.parseLocalISO(t)}inMinMax(t){let e=n=>{if(n==null)return null;if(n instanceof Date)return T.startOfDayLocal(n);if(typeof n=="number")return T.startOfDayLocal(new Date(n));if(typeof n=="string"){let l=this.parseISO(n);return l?T.startOfDayLocal(l):null}return null},i=e(this.min),a=e(this.max);return!(i&&t<i||a&&t>a)}isInDisabledDates(t){if(!this.disabledDatesSet||this.disabledDatesSet.size===0)return!1;let e=t.getFullYear(),i=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),n=`${e}-${i}-${a}`;return this.disabledDatesSet.has(n)}isWeekend(t){let e=t.getDay();return e===0||e===6}isDisabled(t){var e;return!!(!this.inMinMax(t)||this.disabledWeekends&&this.isWeekend(t)||this.isInDisabledDates(t)||(e=this.isDateDisabled)!=null&&e.call(this,t))}setNavStatus(t){this.statusNavText=t}announceSelect(t,e=40){setTimeout(()=>{this.statusBumpCounter++;let i="\u200B".repeat(this.statusBumpCounter%3);this.statusSelectText=t+i},e)}formatSelectionLabel(t){if(this.locale==="de-DE")return t.toLocaleDateString("de-DE",{day:"numeric",month:"long",year:"numeric"});let e=t.getDate(),i=this.ordinal(e),a=t.toLocaleDateString("en-US",{month:"long"}),n=t.getFullYear();return`${i} of ${a} ${n}`}ordinal(t){let e=["th","st","nd","rd"],i=t%100,a=e[(i-20)%10]||e[i]||e[0];return t+a}syncDisabledDatesSet(){let t=[];if(Array.isArray(this.disabledDates))t=this.disabledDates;else if(typeof this.disabledDates=="string"){let e=this.disabledDates.trim();if(e.startsWith("["))try{let i=JSON.parse(e);Array.isArray(i)&&(t=i)}catch(i){t=[]}else e.length>0&&(t=e.split(",").map(i=>i.trim()).filter(Boolean))}this.disabledDatesSet=new Set(t)}wouldRangeContainDisabled(t,e){let i=T.compareDates(t,e)<=0?T.startOfDayLocal(t):T.startOfDayLocal(e),a=T.compareDates(t,e)<=0?T.startOfDayLocal(e):T.startOfDayLocal(t),n=new Date(i);for(;T.compareDates(n,a)<=0;){if(this.isDisabled(n))return!0;n.setDate(n.getDate()+1)}return!1}termStartSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"startDateSelected")}termEndSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"endDateSelected")}isoToDmy(t){if(!t)return"";let e=T.parseLocalISO(t);if(e||(e=T.parseLocalISO(t.replace(/-/g,"."))),!e)return"";let i=String(e.getDate()).padStart(2,"0"),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getFullYear());return`${i}.${a}.${n}`}dmyToIso(t){if(!t)return null;let e=t.match(/^(\d{2})\.(\d{2})\.(\d{4})$/);if(!e)return null;let i=Number(e[1]),a=Number(e[2]),n=Number(e[3]),l=new Date(n,a-1,i);if(l.getFullYear()!==n||l.getMonth()!==a-1||l.getDate()!==i)return null;let h=T.startOfDayLocal(l);return T.toLocalISODate(h)}formatInputValue(){let t=(this.locale||"").toLowerCase(),e=(this.getAttribute("lang")||"").toLowerCase(),a=t.startsWith("de")||e.startsWith("de")?"\u2013":"-";if(!this.range)return this.isoToDmy(this.value);let n=this.isoToDmy(this.rangeStart),l=this.isoToDmy(this.rangeEnd);return n&&l?`${n} ${a} ${l}`:n&&!l?`${n} ${a}`:""}parseInputText(t){var a,n;let e=t.trim();if(this.range){let l=e.split(/\s*-\s*/);if(l.length===1){let h=l[0];if(!h)return{start:null,end:null,valid:!0};let u=this.dmyToIso(h);return u?{start:u,end:null,valid:!0}:{start:null,end:null,valid:!1}}else if(l.length>=2){let h=(a=l[0])!=null?a:"",u=(n=l[1])!=null?n:"",m=h?this.dmyToIso(h):null,b=u?this.dmyToIso(u):null;return h&&!m?{start:null,end:null,valid:!1}:u&&!b?{start:null,end:null,valid:!1}:{start:m,end:b,valid:!0}}return{start:null,end:null,valid:!1}}if(!e)return{single:null,valid:!0};let i=this.dmyToIso(e);return i?{single:i,valid:!0}:{single:null,valid:!1}}applyParsedInput(t){var h,u,m,b;if(!t.valid)return this.showInvalidStyle=!0,this.showValidStyle=!1,this.formControlController.setValidity(!1),!1;let e=y=>{if(!y)return!0;let v=T.parseLocalISO(y);return!(!this.inMinMax(v)||this.isDisabled(v))},i=!1;if(this.range){let y=(h=t.start)!=null?h:null,v=(u=t.end)!=null?u:null;if(!e(y)||v&&!e(v))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let w=y?T.parseLocalISO(y):null,x=v?T.parseLocalISO(v):null;if(w&&x){if(T.compareDates(w,x)>0){let I=w;w=x,x=I}if(!this.allowSameDayRange&&T.isSameDay(w,x))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;if(this.wouldRangeContainDisabled(w,x))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1}let M=w?T.toLocalISODate(T.startOfDayLocal(w)):null,z=x?T.toLocalISODate(T.startOfDayLocal(x)):null;if(this.rangeStart!==M||this.rangeEnd!==z){this.rangeStart=M,this.rangeEnd=z,this.previewEnd=null,i=!0;let I=(m=w!=null?w:x)!=null?m:this.today;this.viewMonth=new Date(I.getFullYear(),I.getMonth(),1),this.focusedDate=T.startOfDayLocal(I),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})}return this.showInvalidStyle=!1,this.range?this.showValidStyle=!!(this.rangeStart&&this.rangeEnd&&this.styleOnValid):this.showValidStyle=!!(this.value&&this.styleOnValid),this.formControlController.setValidity(!0),this.updateComplete.then(()=>{this.formControlController.updateValidity()}),!0}let a=(b=t.single)!=null?b:null;if(!e(a))return this.input.setCustomValidity(this.localize.term("datePickerRange")),this.formControlController.setValidity(!1),this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let n=a?T.parseLocalISO(a):null,l=n?T.toLocalISODate(T.startOfDayLocal(n)):null;return this.value!==l&&(this.value=l,i=!0,n&&(this.viewMonth=new Date(n.getFullYear(),n.getMonth(),1),this.focusedDate=T.startOfDayLocal(n)),this.emit("sd-select",{detail:{value:this.value,date:n!=null?n:null}})),this.showInvalidStyle=!1,this.showValidStyle=!!this.value,this.inputValue=this.formatInputValue(),i}buildDmyFromDigits(t){let e=t.slice(0,8),i=e.slice(0,2),a=e.slice(2,4),n=e.slice(4,8),l=i;return a.length&&(l+="."+a),n.length&&(l+="."+n),l}digitIndexToDmyCaretPos(t){return t<=2?t:t<=4?3+(t-2):6+(t-4)}countDigitsBeforeCaret(t,e){return t.slice(0,e).replace(/\D/g,"").length}handleOutsideClick(t){var i,a;((a=(i=t.composedPath)==null?void 0:i.call(t))!=null?a:[]).includes(this)||(this.hide(),this.hasFocus=!1,this.emit("sd-datepicker-close"))}show(){if(this.open||this.disabled||this.visuallyDisabled||this.readonly){this.open=!1;return}this.open=!0}hide(){if(!this.open||this.disabled){this.open=!1;return}this.open=!1}handleMouseDown(t){if(this.visuallyDisabled||this.disabled||this.readonly){t.preventDefault(),t.stopPropagation();return}t.preventDefault(),this.open||this.show()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleFocus(){this.hasFocus=!0,!this.open&&!this.disabled&&!this.visuallyDisabled&&!this.readonly&&this.show(),this.emit("sd-focus")}setMonth(t){var n;let e=(n=this.viewMonth)!=null?n:this.ensureViewMonth(),i=new Date(e.getFullYear(),e.getMonth()+t,1);if(i.getMonth()===e.getMonth()&&i.getFullYear()===e.getFullYear())return;this.viewMonth=i;let a=this.formatMonthYear(i);this.setNavStatus(a),this.emit("sd-month-change",{detail:{month:i}})}setYear(t){var n;let e=(n=this.viewMonth)!=null?n:this.ensureViewMonth(),i=new Date(e.getFullYear()+t,e.getMonth(),1);if(i.getFullYear()===e.getFullYear()&&i.getMonth()===e.getMonth())return;this.viewMonth=i;let a=this.formatMonthYear(i);this.setNavStatus(a),this.emit("sd-month-year",{detail:{month:i}})}focusInitialGridDay(){var a;let t=null;if(!this.range&&this.value){let n=T.parseLocalISO(this.value);n&&(t=T.startOfDayLocal(n))}if(this.range){let n=this.rangeStart?T.parseLocalISO(this.rangeStart):null,l=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null;n?t=T.startOfDayLocal(n):l&&(t=T.startOfDayLocal(l))}let e=(a=this.viewMonth)!=null?a:this.ensureViewMonth();if(!(n=>n?n.getFullYear()===e.getFullYear()&&n.getMonth()===e.getMonth()&&!this.isDisabled(n):!1)(t)){let{weeks:n}=this.getMonthMatrix(e),l=n.flat().find(h=>h.getMonth()===e.getMonth()&&T.isSameDay(h,this.today)&&!this.isDisabled(h));if(l)t=T.startOfDayLocal(l);else{let h=n.flat().find(u=>u.getMonth()===e.getMonth()&&!this.isDisabled(u));t=h?T.startOfDayLocal(h):null}}t&&(this.focusedDate=t),this.requestUpdate(),requestAnimationFrame(()=>{let n=this.shadowRoot,l=(n==null?void 0:n.querySelector("button.day.focused"))||(n==null?void 0:n.querySelector('button.day[tabindex="0"]'))||(n==null?void 0:n.querySelector("button.day.selected"))||(n==null?void 0:n.querySelector("button.day"));l==null||l.focus({preventScroll:!0})})}selectSingleDate(t){if(this.readonly||this.isDisabled(t))return;let e=T.startOfDayLocal(t),i=T.toLocalISODate(e);if(this.value===i)return;this.value=i;let a=`${this.formatSelectionLabel(e)}, ${this.localize.term("selected")}`;this.announceSelect(a),this.emit("sd-select",{detail:{value:this.value,date:e}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var l;let n=this.input;n&&(n.value=(l=this.inputValue)!=null?l:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let h=n.value.length;n.setSelectionRange(h,h)})}))})}selectRangeDate(t){if(this.readonly)return;let e=T.startOfDayLocal(t),i=this.rangeStart?T.parseLocalISO(this.rangeStart):null,a=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null;if(!i&&!a){if(this.isDisabled(e))return;this.rangeStart=T.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var h;let l=this.input;l&&(l.value=(h=this.inputValue)!=null?h:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let u=l.value.length;l.setSelectionRange(u,u)})}))});return}if(i&&!a){if(this.isDisabled(e))return;if(T.isSameDay(i,e)){if(!this.allowSameDayRange){this.rangeStart=T.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let y=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${y}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var w;let v=this.input;v&&(v.value=(w=this.inputValue)!=null?w:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let x=v.value.length;v.setSelectionRange(x,x)})}))});return}this.rangeStart=T.toLocalISODate(e),this.rangeEnd=T.toLocalISODate(e),this.previewEnd=null;let b=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${b}`,40),this.announceSelect(`${this.termEndSelected()}: ${b}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var v;let y=this.input;y&&(y.value=(v=this.inputValue)!=null?v:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let w=y.value.length;y.setSelectionRange(w,w)})}))});return}let n=T.parseLocalISO(this.rangeStart);if(this.wouldRangeContainDisabled(n,e))return;let[l,h]=T.compareDates(n,e)<=0?[n,e]:[e,n];this.rangeStart=T.toLocalISODate(l),this.rangeEnd=T.toLocalISODate(h),this.previewEnd=null;let u=this.formatSelectionLabel(l),m=this.formatSelectionLabel(h);this.announceSelect(`${this.termStartSelected()}: ${u}`,40),this.announceSelect(`${this.termEndSelected()}: ${m}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var y;let b=this.input;b&&(b.value=(y=this.inputValue)!=null?y:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let v=b.value.length;b.setSelectionRange(v,v)})}))});return}if(i&&a){if(this.isDisabled(e))return;this.rangeStart=T.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var h;let l=this.input;l&&(l.value=(h=this.inputValue)!=null?h:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let u=l.value.length;l.setSelectionRange(u,u)})}))})}}selectDate(t){this.readonly||(this.range?this.selectRangeDate(t):this.selectSingleDate(t))}ensureViewMonth(){if(this.viewMonth)return this.viewMonth;let t=this.value?T.parseLocalISO(this.value):null,e=this.rangeStart?T.parseLocalISO(this.rangeStart):null,i=T.startOfDayLocal(new Date),a=this.range&&e?e:t!=null?t:i,n=new Date(a.getFullYear(),a.getMonth(),1);return this.viewMonth=n,n}getMonthMatrix(t){var m;let e=(m=this.firstDayOfWeek)!=null?m:1,i=new Date(t.getFullYear(),t.getMonth(),1),a=new Date(i),n=(i.getDay()-e+7)%7;a.setDate(i.getDate()-n);let l=[],h=a;for(let b=0;b<6;b++){let y=[];for(let v=0;v<7;v++)y.push(new Date(h)),h.setDate(h.getDate()+1);l.push(y)}let u=b=>b.every(y=>y.getMonth()!==t.getMonth());for(;l.length>0&&u(l[l.length-1]);)l.pop();return{weeks:l}}formatMonthYear(t){try{return new Intl.DateTimeFormat(this.locale,{month:"long",year:"numeric"}).format(t)}catch(e){return`${t.toLocaleString(void 0,{month:"long"})} ${t.getFullYear()}`}}weekdayLabels(){var a;let t=(a=this.firstDayOfWeek)!=null?a:1,e=new Date(2021,7,1),i=[];for(let n=0;n<7;n++){let l=new Date(e);l.setDate(e.getDate()+(t+n)%7);try{i.push(new Intl.DateTimeFormat(this.locale,{weekday:"short"}).format(l))}catch(h){i.push(l.toLocaleDateString(void 0,{weekday:"short"}))}}return i}getTabTargetDayForCurrentView(t){var h;let e=(h=this.viewMonth)!=null?h:this.ensureViewMonth(),i=null;if(!this.range&&this.value){let u=T.parseLocalISO(this.value);u&&(i=T.startOfDayLocal(u))}if(this.range){let u=this.rangeStart?T.parseLocalISO(this.rangeStart):null,m=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null;u?i=T.startOfDayLocal(u):m&&(i=T.startOfDayLocal(m))}if((u=>u?u.getFullYear()===e.getFullYear()&&u.getMonth()===e.getMonth()&&!this.isDisabled(u):!1)(i))return i;let n=t.flat().find(u=>u.getMonth()===e.getMonth()&&T.isSameDay(u,this.today)&&!this.isDisabled(u));if(n)return T.startOfDayLocal(n);let l=t.flat().find(u=>u.getMonth()===e.getMonth()&&!this.isDisabled(u));return l?T.startOfDayLocal(l):null}onDayMouseEnter(t){if(!this.range||this.readonly)return;let e=this.rangeStart?T.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?T.parseLocalISO(this.rangeEnd):null;if(e&&!i){let a=T.startOfDayLocal(t);this.previewEnd=this.isDisabled(a)?null:a,this.requestUpdate()}}onGridMouseLeave(){this.previewEnd!==null&&(this.previewEnd=null,this.requestUpdate())}renderCalendar(){var v,w;let t=(v=this.viewMonth)!=null?v:this.ensureViewMonth(),{weeks:e}=this.getMonthMatrix(t),i=this.formatMonthYear(t),a=this.weekdayLabels(),n=this.value?this.parseISO(this.value):null,l=this.rangeStart?this.parseISO(this.rangeStart):null,h=this.rangeEnd?this.parseISO(this.rangeEnd):null,u=this.previewEnd,m=x=>!this.range||!l||h||!u?!1:T.isBetweenInclusive(x,l,u),b=this.getTabTargetDayForCurrentView(e),y=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color";return p`<div part="datepicker" id="calendar" role="dialog" aria-label="${this.range?this.localize.term("datePickerRange"):this.localize.term("datePicker")}" class="${c("w-[284px] z-50 bg-white py-3 px-4",this.open?"block shadow-listbox":"hidden",(w=this.currentPlacement)!=null&&w.startsWith("bottom")?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius","border-primary")}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="${c("nav prev w-6 h-6 hover:cursor-pointer focus-visible:focus-outline",y)}" part="prev-year-button" @click="${()=>this.setYear(-1)}" @keydown="${x=>this.handleHeaderKeyDown(x,"year",-1,!1)}" aria-label="${this.localize.term("previousYear")}"><sd-7-0-1-icon library="_internal" name="chevrons-small-left" class="h-6 w-6"></sd-7-0-1-icon></button> <button type="button" tabindex="0" class="${c("nav prev w-6 h-6 hover:cursor-pointer focus-visible:focus-outline",y)}" part="prev-month-button" @click="${()=>this.setMonth(-1)}" @keydown="${x=>this.handleHeaderKeyDown(x,"month",-1,!1)}" aria-label="${this.localize.term("previousMonth")}"><sd-7-0-1-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-7-0-1-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base" part="month-label" aria-live="polite">${i}</div><div class="flex items-center"><button type="button" tabindex="0" class="${c("nav next w-6 h-6 hover:cursor-pointer focus-visible:focus-outline",y)}" part="next-month-button" @click="${()=>this.setMonth(1)}" @keydown="${x=>this.handleHeaderKeyDown(x,"month",1,!1)}" aria-label="${this.localize.term("nextMonth")}"><sd-7-0-1-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-7-0-1-icon></button> <button type="button" tabindex="0" class="${c("nav next w-6 h-6 hover:cursor-pointer focus-visible:focus-outline",y)}" part="next-year-button" @click="${()=>this.setYear(1)}" @keydown="${x=>this.handleHeaderKeyDown(x,"year",1,!0)}" aria-label="${this.localize.term("nextYear")}"><sd-7-0-1-icon library="_internal" name="chevrons-small-right" class="h-6 w-6"></sd-7-0-1-icon></button></div></div><sd-7-0-1-divider></sd-7-0-1-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${i}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${()=>{this.tabbingIntoGrid=!1}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${a.map((x,M)=>p`<div role="columnheader" aria-colindex="${M+1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${x}" title="${x}" id="${"col-"+(M+1)}">${x}</div>`)}</div>${e.map((x,M)=>p`<div class="grid-row grid grid-cols-7 ${M===0?"mt-2":""}" role="row" aria-rowindex="${M+2}">${x.map((z,I)=>{let O=z.getMonth()===t.getMonth(),R=this.isDisabled(z)||!this.inMinMax(z),H=T.isSameDay(z,this.focusedDate),B=T.isSameDay(z,this.today),Z=!this.range&&n?T.isSameDay(z,n):!1,it=this.range&&l?T.isSameDay(z,l):!1,tt=this.range&&h?T.isSameDay(z,h):!1,et=this.range&&l&&h?T.isBetweenInclusive(z,l,h):!1,Zt=m(z)&&!R,ot=-1,gt=b&&T.isSameDay(z,b);(this.tabbingIntoGrid&>||!this.tabbingIntoGrid&&H)&&(ot=0);let Ct=this.isWeekend(z),qt=z.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"}),Qt=it?this.localize.term("startDateSelected"):tt?this.localize.term("endDateSelected"):void 0;return p`<button type="button" part="day" class="${c("cell day relative flex items-center justify-center rounded w-[36px] focus-visible:focus-outline focus-visible:z-10",this.size==="sm"?"text-sm h-6":"text-base h-8",it||tt?"sd-7-0-1-datepicker__date-item--selected-color-background sd-7-0-1-datepicker__date-item--selected-color-text hover:sd-7-0-1-datepicker__date-item--selected--hover-color-background hover:sd-7-0-1-datepicker__date-item--selected--hover-color-text":"hover:sd-7-0-1-datepicker__date-item--hover--default-color-text",!it&&!tt&&!et&&"hover:sd-7-0-1-datepicker__date-item--hover--default-color-background",Z?"selected border-primary sd-7-0-1-datepicker__date-item--selected-color-background sd-7-0-1-datepicker__date-item--selected-color-text hover:sd-7-0-1-datepicker__date-item--selected--hover-color-text hover:sd-7-0-1-datepicker__date-item--selected--hover-color-background":(it||tt)&&!O?"out-month":O?this.isInDisabledDates(z)||!this.inMinMax(z)?"out-month text-neutral-500":this.disabledWeekends&&Ct?"weekend-day text-neutral-500":"in-month sd-7-0-1-datepicker__date-item--default-color-text":this.disabledWeekends&&Ct?"out-month weekend-day text-neutral-500":Ct?"out-month weekend-day text-neutral-700":"out-month text-neutral-700 hover:sd-7-0-1-datepicker__date-item--hover--prev-next-color-text hover:sd-7-0-1-datepicker__date-item--hover--prev-next-color-background",it?"rounded-l-md rounded-r-none":"",tt?"range-end rounded-r-md rounded-l-none":"",et&&!it&&!tt?"in-range selected sd-7-0-1-datepicker__date-item--range-color-background rounded-none hover:sd-7-0-1-datepicker__date-item--selected--hover-color-background hover:sd-7-0-1-datepicker__date-item--selected--hover-color-text":"",!et&&Zt&&!it&&!tt?"in-preview-range bg-primary-100 text-primary-500 rounded-none":"",B&&!Z&&!it&&!tt&&H?"today border-[1px] border-primary focus-visible:border-transparent sd-7-0-1-datepicker__date-item--current-font-weight":"",R?"disabled cursor-not-allowed hover:bg-transparent":"cursor-pointer",H?"focused":"")}" role="gridcell" aria-colindex="${I+1}" aria-labelledby="${"col-"+(I+1)}" .tabIndex="${ot}" ?disabled="${this.disabled||this.readonly}" aria-disabled="${R||this.visuallyDisabled||this.disabled||this.readonly?"true":"false"}" aria-selected="${Z||et||it||tt?"true":"false"}" aria-current="${B?"date":N}" aria-label="${qt}" aria-roledescription="${Qt!=null?Qt:N}" @focus="${()=>this.focusedDate=T.startOfDayLocal(z)}" @mouseenter="${()=>this.onDayMouseEnter(z)}" @keydown="${this.onKeyDown}" @click="${()=>{this.focusedDate=T.startOfDayLocal(z),this.selectDate(z)}}">${z.getDate()}</button>`})}</div>`)}</div></div>`}render(){var w,x;let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,i=this.helpText?!0:!!t.helpText,a=!!t.tooltip,n=this.value!==null&&String(this.value).length>0||this.range&&this.rangeStart!==null||this.rangeEnd!==null,l=this.floatingLabel&&e&&(this.hasFocus||this.open||n)&&!this.disabled&&!this.visuallyDisabled,h=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",u={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],m={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],b=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",y={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[b],v=this.size==="sm"?"text-sm":"text-base";return p`<div part="form-control" class="${c("min-w-[284px]",this.open&&"z-50",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${e&&!this.floatingLabel||a?p`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${c(e?"inline-block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"form-control-color-text",v)}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${c("absolute left-4 z-20 pointer-events-none transition-all duration-200 form-control--filled__floating-label-color-text",l?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",l&&"mt-1")}" for="input"><span class="${c("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",l&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${c("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",y,this.open&&((w=this.currentPlacement)!=null&&w.startsWith("bottom")?this.open&&this.alignment==="left"?"rounded-bl-none":"rounded-br-none":this.open&&this.alignment==="left"?"rounded-tl-none":"rounded-tr-none"))}"></div><sd-7-0-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${c("inline-flex relative w-full",(x=this.currentPlacement)!=null&&x.startsWith("bottom")?"origin-top":"origin-bottom")}" placement="${this.alignment==="left"?`${this.placement}-start`:`${this.placement}-end`}" flip shift auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${c("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",b==="disabled"||b==="visuallyDisabled"?"text-neutral-500":"text-black",b==="invalid"&&"form-control--invalid-color-background",b==="active"&&"shadow")}" slot="anchor"><input id="input" type="text" role="combobox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="dialog" aria-controls="calendar" aria-describedby="${i?"help-text":void 0}" aria-invalid="${this.showInvalidStyle?"true":"false"}" aria-label="${this.range?"Select date range":"Select a date"}" class="${c("min-w-0 grow focus:outline-none bg-transparent hover:cursor-pointer text-black",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",{sm:"h-8",md:"h-10",lg:"h-12"}[this.size],v,this.floatingLabel&&"mt-4")}" autocomplete="off" spellcheck="false" placeholder="${!this.floatingLabel||l?this.placeholder||this.localize.term(this.range?"dateRangePlaceholder":"datePlaceholder"):""}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly||this.visuallyDisabled}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle?p`<sd-7-0-1-icon part="invalid-icon" class="${c("text-error",u,m)}" library="_internal" name="risk"></sd-7-0-1-icon>`:""} ${this.showValidStyle&&this.styleOnValid?p`<sd-7-0-1-icon class="${c("text-success shrink-0",u,m)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-1-icon>`:""}<sd-7-0-1-icon class="${c(h,u,m,"hover:cursor-pointer")}" library="_internal" name="calendar" @click="${this.handleCalendarIconClick}"></sd-7-0-1-icon></div>${this.renderCalendar()}</sd-7-0-1-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm mt-1",i?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!i}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};_.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
216
|
+
:host{position:relative;display:inline-block;width:100%;--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}.today:hover{border-color:rgba(var(--sd-datepicker__date-item--hover--default-color-border,70 109 175))}.in-range,.today{color:rgba(var(--sd-datepicker__date-item--current-color-text,0 53 142))}.icon-color{color:rgba(var(--sd-form-control-color-icon-fill))}.month-label{color:rgba(var(--sd-color-border-primary))!important}`],o([d({type:String,reflect:!0})],_.prototype,"locale",2),o([d({type:String,converter:Er,reflect:!0})],_.prototype,"value",2),o([d({type:Boolean,reflect:!0})],_.prototype,"range",2),o([d({attribute:"range-start",converter:Er,reflect:!0})],_.prototype,"rangeStart",2),o([d({attribute:"range-end",converter:Er,reflect:!0})],_.prototype,"rangeEnd",2),o([d({type:Boolean})],_.prototype,"allowSameDayRange",2),o([d({type:String,converter:Er,reflect:!0})],_.prototype,"min",2),o([d({type:String,converter:Er,reflect:!0})],_.prototype,"max",2),o([d({attribute:"view-month",converter:Ca})],_.prototype,"viewMonth",2),o([d({type:Number})],_.prototype,"firstDayOfWeek",2),o([d({type:Boolean,reflect:!0,attribute:"disabled-weekends"})],_.prototype,"disabledWeekends",2),o([d({attribute:"disabled-dates",converter:Ea})],_.prototype,"disabledDates",2),o([d({attribute:!1})],_.prototype,"isDateDisabled",2),o([d({type:String,reflect:!0})],_.prototype,"size",2),o([d({type:String})],_.prototype,"alignment",2),o([d({type:String,reflect:!0})],_.prototype,"label",2),o([d({type:String,attribute:"help-text",reflect:!0})],_.prototype,"helpText",2),o([d({attribute:"floating-label",type:Boolean,reflect:!0})],_.prototype,"floatingLabel",2),o([d({type:Boolean,reflect:!0})],_.prototype,"disabled",2),o([d({type:Boolean,reflect:!0})],_.prototype,"required",2),o([d({type:Boolean,attribute:"visually-disabled"})],_.prototype,"visuallyDisabled",2),o([d({type:Boolean,reflect:!0,attribute:"style-on-valid"})],_.prototype,"styleOnValid",2),o([d({type:Boolean,reflect:!0})],_.prototype,"readonly",2),o([d({type:String,reflect:!0})],_.prototype,"placement",2),o([d({type:String,reflect:!0})],_.prototype,"placeholder",2),o([d({reflect:!0})],_.prototype,"name",2),o([d({type:String,reflect:!0})],_.prototype,"form",2),o([L()],_.prototype,"open",2),o([L()],_.prototype,"focusedDate",2),o([L()],_.prototype,"today",2),o([L()],_.prototype,"disabledDatesSet",2),o([L()],_.prototype,"previewEnd",2),o([L()],_.prototype,"statusNavText",2),o([L()],_.prototype,"statusSelectText",2),o([L()],_.prototype,"hasFocus",2),o([L()],_.prototype,"showValidStyle",2),o([L()],_.prototype,"showInvalidStyle",2),o([L()],_.prototype,"currentPlacement",2),o([L()],_.prototype,"inputValue",2),o([g("sd-7-0-1-popup")],_.prototype,"popup",2),o([g("#invalid-message")],_.prototype,"invalidMessage",2),o([g("#input")],_.prototype,"input",2),o([C("open",{waitUntilFirstUpdate:!0})],_.prototype,"handleOpenChange",1),o([C("locale")],_.prototype,"handleLocaleChange",1),o([C("viewMonth")],_.prototype,"handleViewMonthChange",1),o([C("disabledDates")],_.prototype,"handleDisabledDatesChange",1),o([C("value")],_.prototype,"handleValueChange",1),o([C("rangeStart"),C("rangeEnd")],_.prototype,"handleRangeChange",1),o([C(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],_.prototype,"handleDisabledChange",1),o([C(["size","floatingLabel"])],_.prototype,"handleSizeChange",1),_=o([E("sd-7-0-1-datepicker")],_);var Rt=class extends f{constructor(){super(...arguments);this.hasSlotController=new A(this,"footer");this.localize=new D(this);this.hasUiMotion=!1;this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.updateMotionTheme()}firstUpdated(){this.dialog.addEventListener("cancel",t=>{t.preventDefault(),this.requestClose("keyboard")}),this.open&&this.dialog.showModal()}onThemeChange(){this.updateMotionTheme()}updateMotionTheme(){let t=getComputedStyle(this).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");this.hasUiMotion=t===""||t==="ui-light"||t==="ui-dark"}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(t){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){let i=j(this,this.hasUiMotion?"dialog.denyClose":"dialog.denyCloseSimple",{dir:this.localize.dir()});W(this.panel,i.keyframes,i.options);return}this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show");let t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await rt(this.dialog),this.dialog.showModal(),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")});let e=this.hasUiMotion?"dialog.show":"dialog.showSimple",i=this.prefersReducedMotion?j(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):j(this,e,{dir:this.localize.dir()}),a=this.hasUiMotion?"dialog.overlay.show":"dialog.overlay.showSimple",n=j(this,a,{dir:this.localize.dir()});await Promise.all([W(this.panel,i.keyframes,i.options),W(this.overlay,n.keyframes,n.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),await rt(this.dialog);let t=this.hasUiMotion?"dialog.hide":"dialog.hideSimple",e=this.prefersReducedMotion?j(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):j(this,t,{dir:this.localize.dir()}),i=this.hasUiMotion?"dialog.overlay.hide":"dialog.overlay.hideSimple",a=j(this,i,{dir:this.localize.dir()});await Promise.all([W(this.overlay,a.keyframes,a.options).then(()=>{this.overlay.hidden=!0}),W(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.close(),this.overlay.hidden=!1,this.panel.hidden=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,Q(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Q(this,"sd-after-hide")}render(){return p`<sd-7-0-1-theme-listener></sd-7-0-1-theme-listener><dialog part="base" class="${c("flex items-center justify-center p-0 m-auto bg-transparent border-none overflow-visible",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0" @click="${()=>this.requestClose("overlay")}"></div><div part="panel" class="${c("panel-color-border border flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" aria-label="${$(this.headline?this.headline:void 0)}" aria-labelledby="${$(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?p`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:p`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":p`<sd-7-0-1-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${c("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-7-0-1-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-7-0-1-icon></sd-7-0-1-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="px-6 sm:px-10"><slot name="footer"></slot></footer></div></dialog>`}};Rt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
217
|
+
:host{--width:662px;display:contents}[part=base]:not([open]){display:none}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}::backdrop{display:none}[part=overlay]{background-color:rgb(var(--sd-overlay-color-background,5 21 48 / .9))}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}}`],o([g('[part="base"]')],Rt.prototype,"dialog",2),o([g('[part="overlay"]')],Rt.prototype,"overlay",2),o([g('[part="panel"]')],Rt.prototype,"panel",2),o([d({type:Boolean,reflect:!0})],Rt.prototype,"open",2),o([d({type:String,reflect:!0})],Rt.prototype,"headline",2),o([d({attribute:"no-close-button",type:Boolean,reflect:!0})],Rt.prototype,"noCloseButton",2),o([C("open",{waitUntilFirstUpdate:!0})],Rt.prototype,"handleOpenChange",1),Rt=o([E("sd-7-0-1-dialog")],Rt);F("dialog.show",{keyframes:[{opacity:0,transform:"translate(-50%, 100%)"},{opacity:1,transform:"translate(0, 0)"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});F("dialog.showSimple",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});F("dialog.hide",{keyframes:[{opacity:1,transform:"translate(0, 0)"},{opacity:0,transform:"translate(50%, -100%)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});F("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});F("dialog.hideSimple",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});F("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});F("dialog.denyCloseSimple",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});F("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});F("dialog.overlay.showSimple",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250,reducedMotion:"allow"}});F("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});F("dialog.overlay.hideSimple",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250,reducedMotion:"allow"}});var Yt=class extends f{constructor(){super(...arguments);this.open=!1;this.inverted=!1;this.localize=new D(this)}updateMaxHeight(){var e;let t=(e=this.contentPreview)==null?void 0:e.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${t}px`),this.style.setProperty("--max-height",t)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}async onOpenChange(){if(this.body.classList.add("transitioning"),this.open){this.emit("sd-show"),await rt(this.body);let{keyframes:t,options:e}=j(this,"expandable.show",{dir:this.localize.dir()});await W(this.body,ke(t,this.body.scrollHeight),e),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-show")})}else{this.emit("sd-hide"),await rt(this.body);let{keyframes:t,options:e}=j(this,"expandable.hide",{dir:this.localize.dir()});await W(this.body,ke(t,this.body.scrollHeight),e),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-hide")})}this.details.setAttribute("open",this.open.toString()),this.body.classList.remove("transitioning")}async show(){if(!this.open)return this.onToggleClick(),Q(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),Q(this,"sd-after-hide")}render(){return p`<div part="base" class="flex flex-col-reverse gap-4"><button part="toggle" class="${c("sd-interactive sd-interactive--reset",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${c("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${c("flex items-center mr-2 transition-transform duration-medium ease-in-out",this.open&&"rotate-180")}"><slot name="expand-icon" class="${c(this.open&&"hidden")}"><sd-7-0-1-icon library="_internal" name="chevron-bottom" class="text-xl"></sd-7-0-1-icon></slot><slot name="collapse-icon" class="${c(!this.open&&"hidden")}"><sd-7-0-1-icon library="_internal" name="chevron-bottom" class="text-xl"></sd-7-0-1-icon></slot></span><slot name="toggle-closed" class="${c(this.open&&"hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${c(!this.open&&"hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${$(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){let t=document.createElement("div");t.setAttribute("slot","clone"),Array.from(this.childNodes).forEach(i=>{let a=i.cloneNode(!0);t.appendChild(a)}),this.appendChild(t)}};Yt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
218
218
|
:host{--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(
|
|
219
219
|
--gradient-color-start,
|
|
220
220
|
transparent,
|
|
221
221
|
var(--gradient-color-end, rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))))
|
|
222
|
-
) 80%,var(--gradient-color-end, rgba(var(--sd-color-background-white, rgba(var(--sd-color-white))))) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{--tw-border-style:none;border-style:none;padding:0}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content::after{position:absolute;bottom:0;left:0;display:block;width:100%;opacity:var(--sd-opacity-0,0);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient));pointer-events:none}:host([inverted]){--gradient-color-start:transparent;--gradient-color-end:rgba(var(--sd-color-background-primary) / 1)}:host([inverted]) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,var(--gradient)))}:host(:not([open])) .content::after{opacity:var(--sd-opacity-100,100%)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],o([
|
|
222
|
+
) 80%,var(--gradient-color-end, rgba(var(--sd-color-background-white, rgba(var(--sd-color-white))))) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{--tw-border-style:none;border-style:none;padding:0}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content::after{position:absolute;bottom:0;left:0;display:block;width:100%;opacity:var(--sd-opacity-0,0);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient));pointer-events:none}:host([inverted]){--gradient-color-start:transparent;--gradient-color-end:rgba(var(--sd-color-background-primary) / 1)}:host([inverted]) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,var(--gradient)))}:host(:not([open])) .content::after{opacity:var(--sd-opacity-100,100%)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],o([g(".content-preview")],Yt.prototype,"contentPreview",2),o([g("details")],Yt.prototype,"details",2),o([g('[part="content"]')],Yt.prototype,"body",2),o([d({type:Boolean,reflect:!0})],Yt.prototype,"open",2),o([d({type:Boolean,reflect:!0})],Yt.prototype,"inverted",2),o([C("open",{waitUntilFirstUpdate:!0})],Yt.prototype,"onOpenChange",1),Yt=o([E("sd-7-0-1-expandable")],Yt);F("expandable.show",{keyframes:[{height:"var(--component-expandable-max-block-size, 90px)"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("expandable.hide",{keyframes:[{height:"auto"},{height:"var(--component-expandable-max-block-size, 90px)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});var Bt=class extends f{constructor(){super(...arguments);this.flipDirection="horizontal";this.placement="top";this.frontVariant="primary";this.backVariant="primary";this.activeSide="front"}connectedCallback(){super.connectedCallback()}flipFront(){this.activeSide="back",this.front.classList.add("clicked--front"),this.back.classList.add("clicked--back"),this.emit("sd-flip-front"),setTimeout(()=>{this.back.focus()})}flipBack(){this.activeSide="front",this.front.classList.remove("clicked--front"),this.back.classList.remove("clicked--back"),this.emit("sd-flip-back"),setTimeout(()=>{this.front.focus()})}handleFrontKeydown(t){t.code==="Enter"&&this.front===t.target&&this.flipFront()}handleBackKeydown(t){t.code==="Enter"&&this.back===t.target&&this.flipBack()}render(){return p`<div part="base" class="${c("flip-card relative h-full w-full")}"><div part="front" tabindex="0" aria-hidden="${this.activeSide==="back"}" inert="${$(this.activeSide==="back"||void 0)}" class="${c("flip-card__side flip-card__side--front overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.frontVariant==="primary"&&"bg-primary",this.frontVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-front" class="${c("absolute h-full w-full -z-20",(this.frontVariant==="primary"||this.frontVariant==="primary-100")&&"hidden")}"><slot name="media-front"></slot></div><div part="front-slot-container" class="${c("flex relative",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.frontVariant])}"><div class="${c("absolute inset-0 pointer-events-none -z-10",{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.frontVariant])}"></div><slot name="front" class="relative z-10"></slot></div><div part="front-secondary-gradient" class="${c("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.frontVariant])}"></div><sd-7-0-1-button part="front-button" size="md" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.frontVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.frontVariant]}" class="${c("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-7-0-1-icon library="_internal" name="reload" label="Flip to Back"></sd-7-0-1-icon></sd-7-0-1-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide==="front"}" inert="${$(this.activeSide==="front"||void 0)}" class="${c("flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.backVariant==="primary"&&"bg-primary",this.backVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-back" class="${c("absolute h-full w-full -z-20",(this.backVariant==="primary"||this.backVariant==="primary-100")&&"hidden")}"><slot name="media-back"></slot></div><div part="back-slot-container" class="${c("flex relative",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.backVariant],{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.backVariant])}"><slot name="back" class="relative z-10"></slot></div><div part="back-secondary-gradient" class="${c("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.backVariant])}"></div><sd-7-0-1-button size="md" part="back-button" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.backVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.backVariant]}" class="${c("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-7-0-1-icon library="_internal" name="reload" label="Flip to Front"></sd-7-0-1-icon></sd-7-0-1-button></div></div>`}};Bt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
223
223
|
:host{display:block;aspect-ratio:var(--sd-aspect-3\\/4,3 / 4);--name:'';--height:480px;height:var(--height)}.flip-card{perspective:100rem}.flip-card__side{backface-visibility:hidden}.flip-card__side--back{transform:rotateY(180deg)}.clicked--front{transform:rotateY(-180deg)}.clicked--back{transform:rotateY(0)}.flip-card__side--back.vertical{transform:rotateX(180deg)}.clicked--front.vertical{transform:rotateX(-180deg)}.clicked--back.vertical{transform:rotateX(0)}.flip-card__gradient{flex:.2 1 0;pointer-events:none}.bg-gradient-to-b,.bg-gradient-to-t{--sd-color-background-primary-800:var(
|
|
224
224
|
--sd-informational-gradient--primary-800-color-background,
|
|
225
225
|
var(--sd-color-primary-800)
|
|
226
|
-
)}`],o([
|
|
227
|
-
:host{position:relative;z-index:var(--sd-z-index-header,600);display:block}@media (min-height:32rem){:host([fixed]){padding-bottom:var(--sd-header-calculated-height)!important}:host([fixed]) header{position:fixed;top:0;left:0;width:100%}}:host([shadow]) header::after{position:absolute;top:100%;right:0;left:0;height:var(--sd-header__shadow-height,.25rem);--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:color-mix(in oklab, var(--color-black, #000) 40%, transparent);--tw-gradient-to:color-mix(in oklab, var(--color-black, #000) var(--sd-opacity-0, 0%), transparent);--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content:'';content:var(--tw-content)}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}:host([shadow]) header::before{position:absolute;bottom:0;left:0;display:block;width:100%;--tw-content:'';content:var(--tw-content);background-color:rgb(var(--sd-header__underline-color-background));height:var(--sd-header__underline-height,var(--sd-spacing-2))}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],o([d({reflect:!0,type:Boolean})],ae.prototype,"fixed",2),o([d({reflect:!0,type:Boolean})],ae.prototype,"shadow",2),o([
|
|
228
|
-
:host{display:block}`],o([d({reflect:!0})],ne.prototype,"src",2),o([d({type:String,reflect:!0})],ne.prototype,"mode",2),o([d({attribute:"allow-scripts",type:Boolean,reflect:!0})],ne.prototype,"allowScripts",2),o([k("src")],ne.prototype,"handleSrcChange",1),ne=o([C("sd-7-0-0-include")],ne);var Qr=(s,r)=>{var e;let t=s._$AN;if(t===void 0)return!1;for(let i of t)(e=i._$AO)==null||e.call(i,r,!1),Qr(i,r);return!0},Vi=s=>{let r,t;do{if((r=s._$AM)===void 0)break;t=r._$AN,t.delete(s),s=r}while((t==null?void 0:t.size)===0)},Ea=s=>{for(let r;r=s._$AM;s=r){let t=r._$AN;if(t===void 0)r._$AN=t=new Set;else if(t.has(s))break;t.add(s),Hd(r)}};function Pd(s){this._$AN!==void 0?(Vi(this),this._$AM=s,Ea(this)):this._$AM=s}function Vd(s,r=!1,t=0){let e=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(r)if(Array.isArray(e))for(let a=t;a<e.length;a++)Qr(e[a],!1),Vi(e[a]);else e!=null&&(Qr(e,!1),Vi(e));else Qr(this,s)}var Hd=s=>{var r,t;s.type==jt.CHILD&&((r=s._$AP)!=null||(s._$AP=Vd),(t=s._$AQ)!=null||(s._$AQ=Pd))},Er=class extends Ie{constructor(){super(...arguments),this._$AN=void 0}_$AT(r,t,e){super._$AT(r,t,e),Ea(this),this.isConnected=r._$AU}_$AO(r,t=!0){var e,i;r!==this.isConnected&&(this.isConnected=r,r?(e=this.reconnected)==null||e.call(this):(i=this.disconnected)==null||i.call(this)),t&&(Qr(this,r),Vi(this))}setValue(r){if(Ii(this._$Ct))this._$Ct._$AI(r,this);else{let t=[...this._$Ct._$AH];t[this._$Ci]=r,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}};var Cs=class extends Er{constructor(t){super(t);this.handlePointerDown=t=>{t.button!==0||this.host.disabled||this.spinOnLongPressCallback(t)};this.handlePointerUp=t=>{t==null||t.preventDefault(),t==null||t.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(t.type!==jt.ELEMENT||!(t.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(t){return N}update(t,[e]){return this.callbacks===void 0&&this.host===void 0&&(this.host=t.element,this.callbacks=K({},e),this.host.addEventListener("pointerdown",this.handlePointerDown)),Mt}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(t){var e;t.preventDefault(),t.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(e=this.observer)==null||e.disconnect(),this.observer=new MutationObserver(i=>{i.forEach(a=>{a.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var t;clearInterval(this.interval),clearTimeout(this.timeout),(t=this.observer)==null||t.disconnect()}},$s=te(Cs);var Ta,Fd=(Ta=navigator.userAgentData)==null?void 0:Ta.brands.some(s=>s.brand.includes("Chromium")),Rd=Fd?!1:navigator.userAgent.includes("Firefox"),P=class extends f{constructor(){super(...arguments);this.formControlController=new at(this);this.hasSlotController=new A(this,"help-text","label","left","right","message","placeholder");this.localize=new D(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var t,e;return(e=(t=this.input)==null?void 0:t.valueAsDate)!=null?e:null}set valueAsDate(t){let e=document.createElement("input");e.type="date",e.valueAsDate=t,this.value=e.value}get valueAsNumber(){var t,e;return(e=(t=this.input)==null?void 0:t.valueAsNumber)!=null?e:parseFloat(this.value)}set valueAsNumber(t){let e=document.createElement("input");e.type="number",e.valueAsNumber=t,this.value=e.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(t){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),t.stopPropagation()}handleSearchClick(t){this.emit("sd-search"),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleKeyDown(t){let e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;t.key==="Enter"&&!e&&setTimeout(()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let t=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=t}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let t=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=t}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,i="none"){this.input.setSelectionRange(t,e,i)}setRangeText(t,e,i,a){this.input.setRangeText(t,e,i,a),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,i=this.helpText?!0:!!t.helpText,a=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),n=!!t.tooltip,l=t.left,h=this.value!==null&&String(this.value).length>0,u=this.floatingLabel&&e&&(this.hasFocus||h||this.isClickableIconFocused),m=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",b=this.size==="sm"?"text-sm":"text-base",y={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[m],g=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",w={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],E={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],M=this.size==="lg"?this.floatingLabel?u?"py-3":"py-4":"py-2":this.floatingLabel?u?"py-2":"py-3":"py-1",z={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return p`<div part="form-control" class="${c((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(e||n)&&!this.floatingLabel?p`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${c(e?"inline-block":"hidden",b,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${c("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] ease-in-out duration-medium hover:duration-fast",y)}"></div><div part="base" class="${c("px-4 flex flex-row items-center form-control-border-radius transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",["disabled","visuallyDisabled"].includes(m)?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(m)&&"form-control--invalid-color-background",M)}">${t.left?p`<slot name="left" part="left" class="${c("inline-flex",this.size==="sm"?"mr-1":"mr-2",g,E)}"></slot>`:""} <input part="input" id="input" class="${c("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?u?"h-4":"h-6":u?"h-6":"h-8",b,u&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${$(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||u?$(this.placeholder):""}" minlength="${$(this.minlength)}" maxlength="${$(this.maxlength)}" min="${$(this.min)}" max="${$(this.max)}" step="${$(this.step)}" .value="${ze(this.value)}" autocapitalize="${$(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${$(this.autocomplete)}" autocorrect="${$(this.type==="password"?"off":this.autocorrect===void 0?void 0:this.autocorrect?"on":"off")}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${$(this.pattern)}" enterkeyhint="${$(this.enterkeyhint)}" inputmode="${$(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${e&&this.floatingLabel?p`<label part="form-control-floating-label" class="${c("pointer-events-none absolute",l?z:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!u||!h&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2 form-control-color-text":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${e?"false":"true"}"><span id="floating-label" class="${c("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!u||!h&&(this.readonly||this.visuallyDisabled)?b:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",u&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${a?p`<button part="clear-button" class="${c("flex justify-center",w)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-0-icon class="${c(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",E)}" library="_internal" name="close-circle"></sd-7-0-0-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?p`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${c("flex items-center sd-interactive",w,this.floatingLabel&&!u&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?p`<slot name="show-password-icon"><sd-7-0-0-icon class="${c(g,E)}" library="_internal" name="eye-open"></sd-7-0-0-icon></slot>`:p`<slot name="hide-password-icon"><sd-7-0-0-icon class="${c(g,E)}" library="_internal" name="eye-crossed-out"></sd-7-0-0-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!Rd?p`<sd-7-0-0-icon class="${c(g,w,E)}" library="_internal" name="calendar"></sd-7-0-0-icon>`:""} ${this.type==="time"?p`<sd-7-0-0-icon class="${c(g,w,E)}" library="_internal" name="clock"></sd-7-0-0-icon>`:""} ${this.type==="search"?p`<button class="${c("flex items-center sd-interactive",w)}" type="button" @click="${this.handleSearchClick}"><sd-7-0-0-icon class="${c(g,E)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-7-0-0-icon></button>`:""} ${this.showInvalidStyle?p`<sd-7-0-0-icon part="invalid-icon" class="${c("text-error",w,E)}" library="_internal" name="risk"></sd-7-0-0-icon>`:""} ${this.showValidStyle&&this.styleOnValid?p`<sd-7-0-0-icon class="${c("text-success flex-shrink-0",w,E)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-0-icon>`:""} ${t.right?p`<slot name="right" part="right" class="${c("inline-flex",g,w,E)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?p`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${$s({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-7-0-0-icon library="_internal" name="minus-circle" label="Decrease value" class="${c(g,w,E)}"></sd-7-0-0-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${$s({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-7-0-0-icon library="_internal" name="plus-circle" label="Decrease value" class="${c(g,w,E)}"></sd-7-0-0-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm mt-1",i&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!i||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};P.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
229
|
-
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-7-0-
|
|
226
|
+
)}`],o([g('[part="front"]')],Bt.prototype,"front",2),o([g('[part="back"]')],Bt.prototype,"back",2),o([d({reflect:!0,attribute:"flip-direction"})],Bt.prototype,"flipDirection",2),o([d({reflect:!0})],Bt.prototype,"placement",2),o([d({type:String,reflect:!0,attribute:"front-variant"})],Bt.prototype,"frontVariant",2),o([d({type:String,reflect:!0,attribute:"back-variant"})],Bt.prototype,"backVariant",2),o([L()],Bt.prototype,"activeSide",2),Bt=o([E("sd-7-0-1-flipcard")],Bt);var ae=class extends f{constructor(){super(...arguments);this.fixed=!1;this.shadow=!1}connectedCallback(){super.connectedCallback(),this.updateCalculatedHeight=this.updateCalculatedHeight.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this),window.addEventListener("resize",this.updateCalculatedHeight)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.updateCalculatedHeight)}firstUpdated(){this.updateCalculatedHeight(),this.addResizeObserver()}updated(t){super.updated(t),t.has("fixed")&&this.updateCalculatedHeight()}addResizeObserver(){this.resizeObserver=new ResizeObserver(this.updateCalculatedHeight),this.header&&this.resizeObserver.observe(this.header)}updateCalculatedHeight(){let t=parseFloat(getComputedStyle(document.documentElement).fontSize),e=window.innerHeight/t;this.header&&this.fixed&&e>=32?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.header.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return p`<header class="w-full sd-7-0-1-header-color-background sd-7-0-1-header-padding-bottom relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}};ae.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
227
|
+
:host{position:relative;z-index:var(--sd-z-index-header,600);display:block}@media (min-height:32rem){:host([fixed]){padding-bottom:var(--sd-header-calculated-height)!important}:host([fixed]) header{position:fixed;top:0;left:0;width:100%}}:host([shadow]) header::after{position:absolute;top:100%;right:0;left:0;height:var(--sd-header__shadow-height,.25rem);--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:color-mix(in oklab, var(--color-black, #000) 40%, transparent);--tw-gradient-to:color-mix(in oklab, var(--color-black, #000) var(--sd-opacity-0, 0%), transparent);--tw-gradient-stops:var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content:'';content:var(--tw-content)}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}:host([shadow]) header::before{position:absolute;bottom:0;left:0;display:block;width:100%;--tw-content:'';content:var(--tw-content);background-color:rgb(var(--sd-header__underline-color-background));height:var(--sd-header__underline-height,var(--sd-spacing-2))}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],o([d({reflect:!0,type:Boolean})],ae.prototype,"fixed",2),o([d({reflect:!0,type:Boolean})],ae.prototype,"shadow",2),o([g("header")],ae.prototype,"header",2),o([Cr(100)],ae.prototype,"updateCalculatedHeight",1),ae=o([E("sd-7-0-1-header")],ae);var ne=class extends f{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(t){let e=document.createElement("script");[...t.attributes].forEach(i=>e.setAttribute(i.name,i.value)),e.textContent=t.textContent,t.parentNode.replaceChild(e,t)}async handleSrcChange(){try{let t=this.src,e=await fi(t,this.mode);if(t!==this.src)return;if(!e.ok){this.emit("sd-error",{detail:{status:e.status}});return}this.innerHTML=e.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(t){this.emit("sd-error",{detail:{status:-1}})}}render(){return p`<slot></slot>`}};ne.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
228
|
+
:host{display:block}`],o([d({reflect:!0})],ne.prototype,"src",2),o([d({type:String,reflect:!0})],ne.prototype,"mode",2),o([d({attribute:"allow-scripts",type:Boolean,reflect:!0})],ne.prototype,"allowScripts",2),o([C("src")],ne.prototype,"handleSrcChange",1),ne=o([E("sd-7-0-1-include")],ne);var Qr=(s,r)=>{var e;let t=s._$AN;if(t===void 0)return!1;for(let i of t)(e=i._$AO)==null||e.call(i,r,!1),Qr(i,r);return!0},Vi=s=>{let r,t;do{if((r=s._$AM)===void 0)break;t=r._$AN,t.delete(s),s=r}while((t==null?void 0:t.size)===0)},$a=s=>{for(let r;r=s._$AM;s=r){let t=r._$AN;if(t===void 0)r._$AN=t=new Set;else if(t.has(s))break;t.add(s),Hd(r)}};function Pd(s){this._$AN!==void 0?(Vi(this),this._$AM=s,$a(this)):this._$AM=s}function Vd(s,r=!1,t=0){let e=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(r)if(Array.isArray(e))for(let a=t;a<e.length;a++)Qr(e[a],!1),Vi(e[a]);else e!=null&&(Qr(e,!1),Vi(e));else Qr(this,s)}var Hd=s=>{var r,t;s.type==jt.CHILD&&((r=s._$AP)!=null||(s._$AP=Vd),(t=s._$AQ)!=null||(s._$AQ=Pd))},$r=class extends Ie{constructor(){super(...arguments),this._$AN=void 0}_$AT(r,t,e){super._$AT(r,t,e),$a(this),this.isConnected=r._$AU}_$AO(r,t=!0){var e,i;r!==this.isConnected&&(this.isConnected=r,r?(e=this.reconnected)==null||e.call(this):(i=this.disconnected)==null||i.call(this)),t&&(Qr(this,r),Vi(this))}setValue(r){if(Ii(this._$Ct))this._$Ct._$AI(r,this);else{let t=[...this._$Ct._$AH];t[this._$Ci]=r,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}};var Cs=class extends $r{constructor(t){super(t);this.handlePointerDown=t=>{t.button!==0||this.host.disabled||this.spinOnLongPressCallback(t)};this.handlePointerUp=t=>{t==null||t.preventDefault(),t==null||t.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(t.type!==jt.ELEMENT||!(t.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(t){return N}update(t,[e]){return this.callbacks===void 0&&this.host===void 0&&(this.host=t.element,this.callbacks=K({},e),this.host.addEventListener("pointerdown",this.handlePointerDown)),Mt}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(t){var e;t.preventDefault(),t.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(e=this.observer)==null||e.disconnect(),this.observer=new MutationObserver(i=>{i.forEach(a=>{a.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var t;clearInterval(this.interval),clearTimeout(this.timeout),(t=this.observer)==null||t.disconnect()}},Es=te(Cs);var Ta,Fd=(Ta=navigator.userAgentData)==null?void 0:Ta.brands.some(s=>s.brand.includes("Chromium")),Rd=Fd?!1:navigator.userAgent.includes("Firefox"),P=class extends f{constructor(){super(...arguments);this.formControlController=new at(this);this.hasSlotController=new A(this,"help-text","label","left","right","message","placeholder");this.localize=new D(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var t,e;return(e=(t=this.input)==null?void 0:t.valueAsDate)!=null?e:null}set valueAsDate(t){let e=document.createElement("input");e.type="date",e.valueAsDate=t,this.value=e.value}get valueAsNumber(){var t,e;return(e=(t=this.input)==null?void 0:t.valueAsNumber)!=null?e:parseFloat(this.value)}set valueAsNumber(t){let e=document.createElement("input");e.type="number",e.valueAsNumber=t,this.value=e.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(t){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),t.stopPropagation()}handleSearchClick(t){this.emit("sd-search"),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleKeyDown(t){let e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;t.key==="Enter"&&!e&&setTimeout(()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let t=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=t}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let t=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=t}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,i="none"){this.input.setSelectionRange(t,e,i)}setRangeText(t,e,i,a){this.input.setRangeText(t,e,i,a),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,i=this.helpText?!0:!!t.helpText,a=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),n=!!t.tooltip,l=t.left,h=this.value!==null&&String(this.value).length>0,u=this.floatingLabel&&e&&(this.hasFocus||h||this.isClickableIconFocused),m=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",b=this.size==="sm"?"text-sm":"text-base",y={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[m],v=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",w={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],x={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],M=this.size==="lg"?this.floatingLabel?u?"py-3":"py-4":"py-2":this.floatingLabel?u?"py-2":"py-3":"py-1",z={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return p`<div part="form-control" class="${c((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(e||n)&&!this.floatingLabel?p`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${c(e?"inline-block":"hidden",b,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${c("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] ease-in-out duration-medium hover:duration-fast",y)}"></div><div part="base" class="${c("px-4 flex flex-row items-center form-control-border-radius transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",["disabled","visuallyDisabled"].includes(m)?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(m)&&"form-control--invalid-color-background",M)}">${t.left?p`<slot name="left" part="left" class="${c("inline-flex",this.size==="sm"?"mr-1":"mr-2",v,x)}"></slot>`:""} <input part="input" id="input" class="${c("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?u?"h-4":"h-6":u?"h-6":"h-8",b,u&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${$(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||u?$(this.placeholder):""}" minlength="${$(this.minlength)}" maxlength="${$(this.maxlength)}" min="${$(this.min)}" max="${$(this.max)}" step="${$(this.step)}" .value="${ze(this.value)}" autocapitalize="${$(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${$(this.autocomplete)}" autocorrect="${$(this.type==="password"?"off":this.autocorrect===void 0?void 0:this.autocorrect?"on":"off")}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${$(this.pattern)}" enterkeyhint="${$(this.enterkeyhint)}" inputmode="${$(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${e&&this.floatingLabel?p`<label part="form-control-floating-label" class="${c("pointer-events-none absolute",l?z:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!u||!h&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2 form-control-color-text":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${e?"false":"true"}"><span id="floating-label" class="${c("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!u||!h&&(this.readonly||this.visuallyDisabled)?b:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",u&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${a?p`<button part="clear-button" class="${c("flex justify-center",w)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-1-icon class="${c(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",x)}" library="_internal" name="close-circle"></sd-7-0-1-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?p`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${c("flex items-center sd-interactive",w,this.floatingLabel&&!u&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?p`<slot name="show-password-icon"><sd-7-0-1-icon class="${c(v,x)}" library="_internal" name="eye-open"></sd-7-0-1-icon></slot>`:p`<slot name="hide-password-icon"><sd-7-0-1-icon class="${c(v,x)}" library="_internal" name="eye-crossed-out"></sd-7-0-1-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!Rd?p`<sd-7-0-1-icon class="${c(v,w,x)}" library="_internal" name="calendar"></sd-7-0-1-icon>`:""} ${this.type==="time"?p`<sd-7-0-1-icon class="${c(v,w,x)}" library="_internal" name="clock"></sd-7-0-1-icon>`:""} ${this.type==="search"?p`<button class="${c("flex items-center sd-interactive",w)}" type="button" @click="${this.handleSearchClick}"><sd-7-0-1-icon class="${c(v,x)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-7-0-1-icon></button>`:""} ${this.showInvalidStyle?p`<sd-7-0-1-icon part="invalid-icon" class="${c("text-error",w,x)}" library="_internal" name="risk"></sd-7-0-1-icon>`:""} ${this.showValidStyle&&this.styleOnValid?p`<sd-7-0-1-icon class="${c("text-success flex-shrink-0",w,x)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-1-icon>`:""} ${t.right?p`<slot name="right" part="right" class="${c("inline-flex",v,w,x)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?p`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${Es({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-7-0-1-icon library="_internal" name="minus-circle" label="Decrease value" class="${c(v,w,x)}"></sd-7-0-1-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${Es({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-7-0-1-icon library="_internal" name="plus-circle" label="Decrease value" class="${c(v,w,x)}"></sd-7-0-1-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm mt-1",i&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!i||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};P.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
229
|
+
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-7-0-1-icon{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}.hide-password-toggle{display:none}.has-floating-label input[type=date]:not(.has-value),.has-floating-label input[type=datetime-local]:not(.has-value),.has-floating-label input[type=time]:not(.has-value){color:transparent}.has-floating-label input[type=date]:focus,.has-floating-label input[type=datetime-local]:focus,.has-floating-label input[type=time]:focus{color:inherit}.icon-color{color:rgba(var(--sd-form-control-color-icon-fill))}`],o([g("#input")],P.prototype,"input",2),o([g("#invalid-message")],P.prototype,"invalidMessage",2),o([L()],P.prototype,"hasFocus",2),o([L()],P.prototype,"showValidStyle",2),o([L()],P.prototype,"showInvalidStyle",2),o([L()],P.prototype,"isClickableIconFocused",2),o([d({type:String,reflect:!0})],P.prototype,"type",2),o([d({type:String,reflect:!0})],P.prototype,"size",2),o([d({type:String,reflect:!0})],P.prototype,"inputmode",2),o([d()],P.prototype,"value",2),o([Dt()],P.prototype,"defaultValue",2),o([d({type:String,reflect:!0})],P.prototype,"placeholder",2),o([d({type:String,reflect:!0})],P.prototype,"label",2),o([d({type:String,attribute:"help-text",reflect:!0})],P.prototype,"helpText",2),o([d({type:Boolean,reflect:!0})],P.prototype,"clearable",2),o([d({type:Boolean,reflect:!0})],P.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],P.prototype,"visuallyDisabled",2),o([d({type:Boolean,reflect:!0})],P.prototype,"readonly",2),o([d({attribute:"password-toggle",type:Boolean,reflect:!0})],P.prototype,"passwordToggle",2),o([d({attribute:"password-visible",type:Boolean,reflect:!0})],P.prototype,"passwordVisible",2),o([d({attribute:"spin-buttons",type:Boolean,reflect:!0})],P.prototype,"spinButtons",2),o([d({type:Number,reflect:!0})],P.prototype,"minlength",2),o([d({type:Number,reflect:!0})],P.prototype,"maxlength",2),o([d({reflect:!0})],P.prototype,"min",2),o([d({reflect:!0})],P.prototype,"max",2),o([d({type:String,reflect:!0})],P.prototype,"form",2),o([d({type:String,reflect:!0})],P.prototype,"name",2),o([d({type:String,reflect:!0})],P.prototype,"title",2),o([d({type:Boolean,reflect:!0})],P.prototype,"required",2),o([d({attribute:"floating-label",type:Boolean,reflect:!0})],P.prototype,"floatingLabel",2),o([d()],P.prototype,"pattern",2),o([d({reflect:!0})],P.prototype,"step",2),o([d({type:String,reflect:!0})],P.prototype,"autocapitalize",2),o([d({type:Boolean,reflect:!0,converter:{fromAttribute:t=>t!=="off",toAttribute:t=>t?"on":"off"}})],P.prototype,"autocorrect",2),o([d({reflect:!0})],P.prototype,"autocomplete",2),o([d({type:Boolean,reflect:!0})],P.prototype,"autofocus",2),o([d({type:String,reflect:!0})],P.prototype,"enterkeyhint",2),o([d({type:Boolean,reflect:!0,attribute:"style-on-valid"})],P.prototype,"styleOnValid",2),o([d({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],P.prototype,"spellcheck",2),o([C("disabled",{waitUntilFirstUpdate:!0})],P.prototype,"handleDisabledChange",1),o([C("step",{waitUntilFirstUpdate:!0})],P.prototype,"handleStepChange",1),o([C("value",{waitUntilFirstUpdate:!0})],P.prototype,"handleValueChange",1),o([C(["size","floatingLabel"])],P.prototype,"handleSizeChange",1),P=o([E("sd-7-0-1-input")],P);var Nt=class extends f{constructor(){super(...arguments);this.variant="main";this.state="default";this.animated=!1;this.notInteractive=!1;this.href="";this.label="";this.marker={cluster:`
|
|
230
230
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
|
|
231
231
|
<circle cx="25" cy="25" opacity="1" r="20" />
|
|
232
232
|
</svg>`,main:`
|
|
@@ -235,56 +235,56 @@ sd-7-0-0-button::part(base){display:flex;height:var(--sd-spacing-12,3rem);width:
|
|
|
235
235
|
</svg> `,place:`
|
|
236
236
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75">
|
|
237
237
|
<path fill-rule="evenodd" d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z" clip-rule="evenodd" />
|
|
238
|
-
</svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let t=this.isLink(),e=this.notInteractive?
|
|
239
|
-
:host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2,.5rem) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=motion-wrapper]>div>div{background-color:rgba(var(--sd-map-marker--cluster--hover-color-background))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow, 0px 1px 3px rgba(81, 81, 81, 0.75)));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow, 0px 1px 3px rgba(81, 81, 81, 0.75)));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}#marker-circle{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],o([d({type:String,reflect:!0})],Nt.prototype,"variant",2),o([d({type:String,reflect:!0})],Nt.prototype,"state",2),o([d({type:Boolean,reflect:!0})],Nt.prototype,"animated",2),o([d({type:Boolean,reflect:!0,attribute:"not-interactive"})],Nt.prototype,"notInteractive",2),o([d({type:String,reflect:!0})],Nt.prototype,"href",2),o([d({type:String,reflect:!0})],Nt.prototype,"target",2),o([d({reflect:!0})],Nt.prototype,"label",2),Nt=o([
|
|
240
|
-
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md,.375rem);padding-inline:var(--sd-spacing-2,.5rem);padding-block:var(--sd-spacing-3,.75rem);--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75))!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-7-0-0-divider){padding-block:var(--sd-spacing-3,.75rem)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`],o([v("slot")],Be.prototype,"defaultSlot",2),Be=o([C("sd-7-0-0-menu")],Be);var La=()=>new Ts,Ts=class{},Es=new WeakMap,za=te(class extends Er{render(s){return N}update(s,[r]){var e;let t=r!==this.G;return t&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.G=r,this.ht=(e=s.options)==null?void 0:e.host,this.rt(this.ct=s.element)),N}rt(s){var r;if(this.G!==void 0)if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=(r=this.ht)!=null?r:globalThis,e=Es.get(t);e===void 0&&(e=new WeakMap,Es.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){var s,r,t;return typeof this.G=="function"?(r=Es.get((s=this.ht)!=null?s:globalThis))==null?void 0:r.get(this.G):(t=this.G)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Hi=class{constructor(r,t){this.popupRef=La();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=r=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${r.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${r.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=r=>{switch(r.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":r.target!==this.host&&(r.preventDefault(),r.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(r);break;default:break}};this.handleClick=r=>{var t;r.target===this.host?(r.preventDefault(),r.stopPropagation()):r.target instanceof Element&&(r.target.tagName==="sd-7-0-0-menu-item"||(t=r.target.role)!=null&&t.startsWith("menuitem"))&&r.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=r=>{r.relatedTarget&&r.relatedTarget instanceof Element&&this.host.contains(r.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=r=>{r.stopPropagation()};this.handlePopupReposition=()=>{let r=this.host.renderRoot.querySelector("slot[name='submenu']"),t=r==null?void 0:r.assignedElements({flatten:!0}).filter(h=>h.localName==="sd-7-0-0-menu")[0],e=getComputedStyle(this.host).direction==="rtl";if(!t)return;let{left:i,top:a,width:n,height:l}=t.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${e?i+n:i}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${a}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${e?i+n:i}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${a+l}px`)};(this.host=r).addController(this),this.hasSlotController=t}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(r){let t=this.host.renderRoot.querySelector("slot[name='submenu']");if(!t){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let e=null;for(let i of t.assignedElements())if(e=i.querySelectorAll("sd-7-0-0-menu-item, [role^='menuitem']"),e.length!==0)break;if(!(!e||e.length===0)){e[0].setAttribute("tabindex","0");for(let i=1;i!==e.length;++i)e[i].setAttribute("tabindex","-1");this.popupRef.value&&(r.preventDefault(),r.stopPropagation(),this.popupRef.value.active?e[0]instanceof HTMLElement&&e[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{e[0]instanceof HTMLElement&&e[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(r){this.popupRef.value&&this.popupRef.value.active!==r&&(this.popupRef.value.active=r,this.host.requestUpdate())}enableSubmenu(r=!0){r?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var i;if(!((i=this.host.parentElement)!=null&&i.computedStyleMap))return;let r=this.host.parentElement.computedStyleMap(),e=["padding-top","border-top-width","margin-top"].reduce((a,n)=>{var m;let l=(m=r.get(n))!=null?m:new CSSUnitValue(0,"px"),u=(l instanceof CSSUnitValue?l:new CSSUnitValue(0,"px")).to("px");return a-u.value},0);this.skidding=e}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let r=getComputedStyle(this.host).direction==="rtl";return this.isConnected?p`<sd-7-0-0-popup ${za(this.popupRef)} placement="${r?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-7-0-0-popup>`:p`<slot name="submenu" hidden></slot>`}};var Tt=class extends f{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new A(this,"submenu");this.submenuController=new Hi(this,this.hasSlotController);this.handleHostClick=t=>{this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())};this.handleMouseOver=t=>{this.focus(),t.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let t=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=t;return}t!==this.cachedTextLabel&&(this.cachedTextLabel=t,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return Ao(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let t=this.submenuController.isExpanded(),e={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return p`<div id="anchor" part="base" class="${c("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",this.disabled?"outline-none cursor-not-allowed sd-7-0-0-menu-item--disabled-color-text hover:bg-transparent":"cursor-pointer sd-7-0-0-menu-item-color-text hover:bg-neutral-200",this.isSubmenu()&&t&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!t}">${this.type==="checkbox"?p`<span part="checked-icon" class="${c("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-7-0-0-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-7-0-0-icon></span>`:""} ${e.iconIndent?p`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?p`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-7-0-0-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-7-0-0-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};Tt.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
241
|
-
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-7-0-
|
|
242
|
-
:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}:host([stacked]:not([vertical])) ::slotted(sd-7-0-
|
|
243
|
-
:host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],o([
|
|
244
|
-
:host{--display-divider:block}#divider{display:var(--display-divider)}`],o([
|
|
245
|
-
:host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}`],o([
|
|
246
|
-
:host{display:block;width:100%}.progress-bar__indicator--loading{width:25%;animation:progress-loading-indicator 1.25s ease-in-out infinite alternate}.progress-bar__track--loading-left{animation:progress-loading-track-left 1.25s ease-in-out infinite alternate}.progress-bar__track--loading-right{animation:progress-loading-track-right 1.25s ease-in-out infinite alternate}@keyframes progress-loading-indicator{0%{left:0}100%{left:75%}}@keyframes progress-loading-track-left{0%{width:0}100%{width:calc(75% - .25rem)}}@keyframes progress-loading-track-right{0%{width:calc(75% - .25rem)}100%{width:0}}`],o([d({type:Number,reflect:!0})],Ut.prototype,"value",2),o([d({type:Number,reflect:!0})],Ut.prototype,"max",2),o([d({type:String,reflect:!0})],Ut.prototype,"label",2),o([d({type:String,reflect:!0,attribute:"value-position"})],Ut.prototype,"valuePosition",2),o([d({type:Boolean,reflect:!0})],Ut.prototype,"inverted",2),o([d({type:Boolean,reflect:!0,attribute:"show-label"})],Ut.prototype,"showLabel",2),o([d({attribute:!1})],Ut.prototype,"valueFormatter",2),Ut=o([
|
|
247
|
-
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=summary-icon]{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=icon]{font-size:var(--sd-spacing-12,3rem);color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],o([d({type:Boolean,reflect:!0})],Ne.prototype,"expandable",2),Ne=o([
|
|
248
|
-
:host{display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}[part=control--checked],[part=control--unchecked]{outline-color:transparent}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary,0 53 142)))}[part=control--checked],[part=control--unchecked]{margin-top:.23em}:host([size=sm]) [part=control--checked],:host([size=sm]) [part=control--unchecked]{margin-top:.15em}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],o([L()]
|
|
249
|
-
:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:0;z-index:calc(10 * -1);opacity:var(--sd-opacity-0,0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error,204 25 55)));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1,.25rem) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4,1rem)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3,.75rem)}:host([size=lg].sd-7-0-
|
|
250
|
-
:host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],o([
|
|
251
|
-
:host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-
|
|
238
|
+
</svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let t=this.isLink(),e=this.notInteractive?st`div`:t?st`a`:st`button`,i=bi(this.marker[this.variant]),a=`url("data:image/svg+xml;utf8,${encodeURIComponent(this.marker[this.variant]).replace(/#/g,"%23")}")`;return q`<${e} part="base" class="${c("relative flex justify-center",!this.notInteractive&&"group focus-visible:focus-outline")}" href="${$(t?this.href:void 0)}" target="${$(t?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${$(this.notInteractive||t?void 0:"button")}" aria-label="${$(!this.notInteractive&&this.label?this.label:void 0)}" aria-labelledby="${$(!this.notInteractive&&!this.label?"content":void 0)}"><div part="marker" class="${c("relative inline-flex",this.animated&&(this.variant==="main"||this.variant==="place")&&"animate-bounce-once",this.variant==="cluster"&&this.state==="hover"&&"scale-110",this.variant==="cluster"&&!this.notInteractive&&"transition-transform duration-fast ease-in-out hover:scale-110",{cluster:"sd-7-0-1-map-marker--cluster-color-text",main:"sd-color-fill-accent",place:"sd-7-0-1-map-marker--pin-color-text"}[this.variant])}"><div id="motion-wrapper" part="motion-wrapper" class="${c("absolute inset-0 overflow-hidden pointer-events-none",{cluster:"sd-7-0-1-map-marker--cluster--default-color-background group-hover:sd-7-0-1-map-marker--cluster--hover-color-background",main:"sd-7-0-1-map-marker--main-color-background",place:"sd-7-0-1-map-marker--pin--default-color-background"}[this.variant])}" style="mask-image:${a};-webkit-mask-image:${a}"><div class="${c("absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",["hover","active"].includes(this.state)&&"!translate-y-0")}"><div class="${c("min-w-full min-h-full skew-y-[-11deg]",{cluster:"",main:this.state==="active"?"bg-accent-700":this.state==="hover"?"bg-accent-550":"group-hover:bg-accent-550 group-active:bg-accent-700",place:this.state==="active"||this.state==="hover"?"sd-7-0-1-map-marker--pin--hover-color-background":"group-active:bg-primary-200"}[this.variant])}"></div></div>${this.variant==="main"?q`<div id="marker-circle" class="absolute rounded-full"></div>`:""}</div>${i} ${this.variant==="cluster"?q`<div id="cluster-border" class="${c("absolute inset-0 sd-7-0-1-map-marker--cluster--default-color-background rounded-full opacity-30 hover:sd-7-0-1-map-marker--cluster--hover-color-background",this.state==="hover"&&"sd-7-0-1-map-marker--cluster--hover-color-background")}"></div>`:""}</div><div id="content" part="content" class="${c("absolute self-center pointer-events-none",this.variant==="cluster"&&"font-bold sd-7-0-1-map-marker--cluster-color-text",this.variant==="place"&&"font-bold sd-7-0-1-map-marker--pin-color-text")}"><slot></slot></div></${e}>`}};Nt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
239
|
+
:host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2,.5rem) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=motion-wrapper]>div>div{background-color:rgba(var(--sd-map-marker--cluster--hover-color-background))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow, 0px 1px 3px rgba(81, 81, 81, 0.75)));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow, 0px 1px 3px rgba(81, 81, 81, 0.75)));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}#marker-circle{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],o([d({type:String,reflect:!0})],Nt.prototype,"variant",2),o([d({type:String,reflect:!0})],Nt.prototype,"state",2),o([d({type:Boolean,reflect:!0})],Nt.prototype,"animated",2),o([d({type:Boolean,reflect:!0,attribute:"not-interactive"})],Nt.prototype,"notInteractive",2),o([d({type:String,reflect:!0})],Nt.prototype,"href",2),o([d({type:String,reflect:!0})],Nt.prototype,"target",2),o([d({reflect:!0})],Nt.prototype,"label",2),Nt=o([E("sd-7-0-1-map-marker")],Nt);var Be=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.handleOutsideClick=t=>{this.contains(t.target)||this.getAllItems().forEach(e=>e.classList.remove("menu-item-focus"))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu"),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleOutsideClick)}handleClick(t){let e=["menuitem","menuitemcheckbox"],i=t.composedPath(),a=i.find(u=>{var m;return e.includes(((m=u==null?void 0:u.getAttribute)==null?void 0:m.call(u,"role"))||"")});if(!a||i.find(u=>{var m;return((m=u==null?void 0:u.getAttribute)==null?void 0:m.call(u,"role"))==="menu"})!==this)return;let h=a;h.type==="checkbox"&&(h.checked=!h.checked),this.emit("sd-select",{detail:{item:h}})}handleKeyDown(t){if(t.key==="Escape"){let e=this.getCurrentItem();e==null||e.classList.remove("menu-item-focus")}else if(t.key==="Enter"||t.key===" "){let e=this.getCurrentItem();t.preventDefault(),t.stopPropagation(),e==null||e.classList.remove("menu-item-focus"),e==null||e.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(t.key)){let e=this.getAllItems(),i=this.getCurrentItem(),a=i?e.indexOf(i):0;if(i==null||i.classList.remove("menu-item-focus"),e.length>0){t.preventDefault(),t.stopPropagation();let n=(l,h)=>{let u=l;for(let m of e)if(u=(u+h+e.length)%e.length,!e[u].disabled)return u;return l};if(t.key==="ArrowDown")a=n(a,1);else if(t.key==="ArrowUp")a=n(a,-1);else if(t.key==="Home")a=e.findIndex(l=>!l.disabled),a===-1&&(a=0);else if(t.key==="End"){a=e.length-1;for(let l=e.length-1;l>=0;l--)if(!e[l].disabled){a=l;break}}this.setCurrentItem(e[a]),e[a].focus(),e[a].classList.add("menu-item-focus")}}}handleMouseDown(t){let e=t.target;this.isMenuItem(e)&&this.setCurrentItem(e)}handleSlotChange(){let t=this.getAllItems();t.length>0&&this.setCurrentItem(t[0])}isMenuItem(t){var e;return t.tagName.toLowerCase()==="sd-7-0-1-menu-item"||["menuitem","menuitemcheckbox","menuitemradio"].includes((e=t.getAttribute("role"))!=null?e:"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter(t=>!!this.isMenuItem(t))}getCurrentItem(){return this.getAllItems().find(t=>t.getAttribute("tabindex")==="0")}setCurrentItem(t){this.getAllItems().forEach(i=>{i.setAttribute("tabindex",i===t?"0":"-1")})}render(){return p`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};Be.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
240
|
+
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md,.375rem);padding-inline:var(--sd-spacing-2,.5rem);padding-block:var(--sd-spacing-3,.75rem);--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75))!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-7-0-1-divider){padding-block:var(--sd-spacing-3,.75rem)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`],o([g("slot")],Be.prototype,"defaultSlot",2),Be=o([E("sd-7-0-1-menu")],Be);var La=()=>new Ts,Ts=class{},$s=new WeakMap,za=te(class extends $r{render(s){return N}update(s,[r]){var e;let t=r!==this.G;return t&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.G=r,this.ht=(e=s.options)==null?void 0:e.host,this.rt(this.ct=s.element)),N}rt(s){var r;if(this.G!==void 0)if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=(r=this.ht)!=null?r:globalThis,e=$s.get(t);e===void 0&&(e=new WeakMap,$s.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){var s,r,t;return typeof this.G=="function"?(r=$s.get((s=this.ht)!=null?s:globalThis))==null?void 0:r.get(this.G):(t=this.G)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Hi=class{constructor(r,t){this.popupRef=La();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=r=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${r.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${r.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=r=>{switch(r.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":r.target!==this.host&&(r.preventDefault(),r.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(r);break;default:break}};this.handleClick=r=>{var t;r.target===this.host?(r.preventDefault(),r.stopPropagation()):r.target instanceof Element&&(r.target.tagName==="sd-7-0-1-menu-item"||(t=r.target.role)!=null&&t.startsWith("menuitem"))&&r.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=r=>{r.relatedTarget&&r.relatedTarget instanceof Element&&this.host.contains(r.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=r=>{r.stopPropagation()};this.handlePopupReposition=()=>{let r=this.host.renderRoot.querySelector("slot[name='submenu']"),t=r==null?void 0:r.assignedElements({flatten:!0}).filter(h=>h.localName==="sd-7-0-1-menu")[0],e=getComputedStyle(this.host).direction==="rtl";if(!t)return;let{left:i,top:a,width:n,height:l}=t.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${e?i+n:i}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${a}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${e?i+n:i}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${a+l}px`)};(this.host=r).addController(this),this.hasSlotController=t}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(r){let t=this.host.renderRoot.querySelector("slot[name='submenu']");if(!t){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let e=null;for(let i of t.assignedElements())if(e=i.querySelectorAll("sd-7-0-1-menu-item, [role^='menuitem']"),e.length!==0)break;if(!(!e||e.length===0)){e[0].setAttribute("tabindex","0");for(let i=1;i!==e.length;++i)e[i].setAttribute("tabindex","-1");this.popupRef.value&&(r.preventDefault(),r.stopPropagation(),this.popupRef.value.active?e[0]instanceof HTMLElement&&e[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{e[0]instanceof HTMLElement&&e[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(r){this.popupRef.value&&this.popupRef.value.active!==r&&(this.popupRef.value.active=r,this.host.requestUpdate())}enableSubmenu(r=!0){r?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var i;if(!((i=this.host.parentElement)!=null&&i.computedStyleMap))return;let r=this.host.parentElement.computedStyleMap(),e=["padding-top","border-top-width","margin-top"].reduce((a,n)=>{var m;let l=(m=r.get(n))!=null?m:new CSSUnitValue(0,"px"),u=(l instanceof CSSUnitValue?l:new CSSUnitValue(0,"px")).to("px");return a-u.value},0);this.skidding=e}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let r=getComputedStyle(this.host).direction==="rtl";return this.isConnected?p`<sd-7-0-1-popup ${za(this.popupRef)} placement="${r?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-7-0-1-popup>`:p`<slot name="submenu" hidden></slot>`}};var Tt=class extends f{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new A(this,"submenu");this.submenuController=new Hi(this,this.hasSlotController);this.handleHostClick=t=>{this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())};this.handleMouseOver=t=>{this.focus(),t.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let t=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=t;return}t!==this.cachedTextLabel&&(this.cachedTextLabel=t,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return Ao(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let t=this.submenuController.isExpanded(),e={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return p`<div id="anchor" part="base" class="${c("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",this.disabled?"outline-none cursor-not-allowed sd-7-0-1-menu-item--disabled-color-text hover:bg-transparent":"cursor-pointer sd-7-0-1-menu-item-color-text hover:bg-neutral-200",this.isSubmenu()&&t&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!t}">${this.type==="checkbox"?p`<span part="checked-icon" class="${c("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-7-0-1-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-7-0-1-icon></span>`:""} ${e.iconIndent?p`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?p`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-7-0-1-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-7-0-1-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};Tt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
241
|
+
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-7-0-1-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}[part=checked-icon]{margin-right:var(--sd-spacing-3,.75rem)}.submenu-expanded::after{position:fixed;top:0;right:0;bottom:0;left:0;z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200,233 233 233));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(.menu-item-focus) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}:host [part=checked-icon],:host [part=icon-indent],:host [part=submenu-icon]{color:rgba(var(--sd-menu-item-color-icon-fill))}:host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu-item--disabled-color-icon-fill))}sd-7-0-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white,255 255 255));margin-left:var(--submenu-offset)}::slotted(sd-7-0-1-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}.sd-7-0-1-menu-item-color-text{color:rgba(var(--sd-menu-item-color-text))}.sd-7-0-1-menu-item--disabled-color-text{color:rgba(var(--sd-menu-item--disabled-color-text))}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],o([g("slot:not([name])")],Tt.prototype,"defaultSlot",2),o([g('part="base"')],Tt.prototype,"menuItem",2),o([d()],Tt.prototype,"type",2),o([d({type:Boolean,reflect:!0})],Tt.prototype,"checked",2),o([d({type:Boolean,reflect:!0})],Tt.prototype,"disabled",2),o([d()],Tt.prototype,"value",2),o([d({type:Boolean,reflect:!0})],Tt.prototype,"chevron",2),o([C("checked")],Tt.prototype,"handleCheckedChange",1),o([C("disabled")],Tt.prototype,"handleDisabledChange",1),o([C("type")],Tt.prototype,"handleTypeChange",1),Tt=o([E("sd-7-0-1-menu-item")],Tt);var ht=class extends f{constructor(){super(...arguments);this.hasSlotController=new A(this,"[default]","description","children");this.localize=new D(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.stacked=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let t=this.defaultSlot.assignedNodes({flatten:!0});return t.length>0&&t.every(e=>{var i;return e.nodeType===Node.TEXT_NODE?!((i=e.textContent)!=null&&i.trim()):e.nodeType===Node.ELEMENT_NODE?e.tagName.toLowerCase()==="sd-7-0-1-icon":!1})}get isStackedHorizontal(){return!this.vertical&&this.stacked}handleClickButton(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}handleClickSummary(t){t.preventDefault(),t.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?st`div`:this.isAccordion&&!this.isLink?st`summary`:this.isLink?st`a`:st`button`}focus(){var t;this.disabled||(t=this.button)==null||t.focus()}blur(){var t;(t=this.button)==null||t.blur()}render(){let t=this.tag,e=this.isLink,i=this.isButton,a=this.isAccordion,n=this.isIconOnly,l={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},h=this.vertical?"py-3":this.isStackedHorizontal?"pt-1 pb-0":"py-2",u=q`<${t} part="base" class="${c("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",this.isStackedHorizontal?"text-xs leading-4.5":{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-7-0-1-navigation-item--default-color-text",this.current&&!this.disabled&&"sd-7-0-1-navigation-item-color-text",this.current&&!this.isStackedHorizontal&&"font-bold",!this.current&&!this.isStackedHorizontal&&"choice-control-font-weight",!a&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&(this.isStackedHorizontal?"inline-flex flex-col items-center justify-center text-center rounded-full wrap":"inline-flex items-center"),!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",n?"justify-center aspect-square p-3":this.isStackedHorizontal?"px-8":"px-4")}" aria-current="${$(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${$(i?this.disabled:void 0)}" href="${$(e?this.href:void 0)}" target="${$(e?this.target:void 0)}" download="${$(e?this.download:void 0)}" rel="${$(e&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:a?this.handleClickSummary:i?this.handleClickButton:void 0}"><div part="current-indicator" class="${c("absolute bg-accent pointer-events-none navigable__current-indicator-border-radius",this.isStackedHorizontal&&"hidden",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 left-0 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] left-2 bottom-0 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="${c("inline-flex flex-col justify-center gap-1 w-full h-full",this.isStackedHorizontal&&"flex-col items-center")}"><span part="content-area" class="${c("relative inline-flex justify-between items-center",a?"grow":"w-full",this.isStackedHorizontal&&"justify-center",l.description&&"pt-3",!l.description&&!this.separated&&h,this.calculatePaddingX)}">${this.divider&&this.vertical?q`<sd-7-0-1-divider part="divider" class="${c("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-7-0-1-divider>`:""} <span id="content" part="content-container" class="${c("inline-flex items-center",this.vertical?"flex-auto gap-2":this.isStackedHorizontal?"relative text-center pb-1":"flex-auto flex-col justify-center gap-1 text-center")}"><slot part="content" class="${c("inline-flex items-center",this.vertical?"gap-2":this.isStackedHorizontal?"flex-col justify-center gap-1 text-center":"justify-center gap-1 text-center")}"></slot>${this.isStackedHorizontal?q`<span part="current-indicator" aria-hidden="true" class="${c("absolute left-0 right-0 bottom-0 h-[2px] pointer-events-none bg-accent navigable__current-indicator-border-radius",this.disabled&&"bg-neutral-500")}"></span>`:""} </span>${this.chevron||l.children&&this.vertical&&!this.separated?q`<sd-7-0-1-icon name="chevron-bottom" part="chevron" library="_internal" color="currentColor" class="${c("h-6 w-6 ml-2 transition-all",a?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-7-0-1-icon>`:""} </span>${l.description&&this.vertical?q`<slot id="description" name="description" part="description" class="${c("inline-block text-sm text-left font-normal text-black pb-3",a||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${t}>`;return this.separated?q`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${u} ${l.children&&this.vertical?q`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-7-0-1-icon name="chevron-bottom" part="chevron" library="_internal" color="currentColor" class="${c("m-4 h-6 w-6 transition-all",a||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-7-0-1-icon></button>`:""}</div>${this.open?q`<slot name="children"></slot>`:""}</div>`:a?q`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${u}<slot name="children"></slot></details>`:q`${u}`}};ht.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
242
|
+
:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}:host([stacked]:not([vertical])) ::slotted(sd-7-0-1-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0,0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100,100%);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`],o([g('[part="base"]')],ht.prototype,"button",2),o([g("slot:not([name])")],ht.prototype,"defaultSlot",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"vertical",2),o([d({type:String,reflect:!0})],ht.prototype,"size",2),o([d({reflect:!0})],ht.prototype,"href",2),o([d({type:String,reflect:!0})],ht.prototype,"target",2),o([d({reflect:!0})],ht.prototype,"download",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"current",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"disabled",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"stacked",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"chevron",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"relaxed",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"divider",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"indented",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"open",2),o([d({type:Boolean,reflect:!0})],ht.prototype,"separated",2),ht=o([E("sd-7-0-1-navigation-item")],ht);var Fi={"top-right":null,"bottom-center":null},Bd=()=>{Object.entries(Fi).forEach(([s])=>{let r=document.querySelector(`#sd-toast-stack--${s}`);if(r){r.setAttribute("role","region"),Fi[s]=r;return}Fi[s]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${s}`,className:`sd-toast-stack sd-toast-stack--${s}`})})};Bd();var Et=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return Fi[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(t){this.closable&&t.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([rt(this.base),rt(this.wrapper)]),this.wrapper.hidden=!1;let t=j(this,"notification.show",{dir:this.localize.dir()}),e=j(this,`notification.wrapper.show${yr(ps(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([W(this.base,ke(t.keyframes,this.base.scrollHeight),t.options),W(this.wrapper,e.keyframes,e.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([rt(this.base),rt(this.wrapper)]);let t=j(this,"notification.hide",{dir:this.localize.dir()}),e=j(this,`notification.wrapper.hide${yr(ps(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([W(this.base,ke(t.keyframes,this.base.scrollHeight),t.options),W(this.wrapper,e.keyframes,e.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,Q(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Q(this,"sd-after-hide")}async toast(){return new Promise(t=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),t()},{once:!0})})}render(){return p`<div part="base" class="${c("w-full flex items-stretch focus-visible:focus-outline")}" id="notification" tabindex="${$(this.closable?"0":void 0)}" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${c("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${c("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-7-0-1-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"risk"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-7-0-1-icon></slot><div part="content" class="${c("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-7-0-1-notification-color-border",{info:"sd-7-0-1-notification--info-color-background",success:"sd-7-0-1-notification--success-color-background",warning:"sd-7-0-1-notification--warning-color-background",error:"sd-7-0-1-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?p`<sd-7-0-1-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-7-0-1-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-7-0-1-icon></sd-7-0-1-button>`:""}</div>${this.durationIndicator?p`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${c("absolute w-0 h-[2px] bottom-0 sd-7-0-1-notification__duration-indicator-color-background z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};Et.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
243
|
+
:host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],o([g('[part~="base"]')],Et.prototype,"base",2),o([g('[part~="wrapper"]')],Et.prototype,"wrapper",2),o([g('[part~="close-button"]')],Et.prototype,"close",2),o([d({type:String,reflect:!0})],Et.prototype,"variant",2),o([d({type:Boolean,reflect:!0})],Et.prototype,"open",2),o([d({type:Boolean,reflect:!0})],Et.prototype,"closable",2),o([d({type:Number,reflect:!0})],Et.prototype,"duration",2),o([d({type:Boolean,reflect:!0,attribute:"duration-indicator"})],Et.prototype,"durationIndicator",2),o([d({type:String,reflect:!0,attribute:"toast-stack"})],Et.prototype,"toastStack",2),o([C("open",{waitUntilFirstUpdate:!0})],Et.prototype,"handleOpenChange",1),o([C("duration")],Et.prototype,"handleDurationChange",1),Et=o([E("sd-7-0-1-notification")],Et);F("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});F("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});var le=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.disabled=!1;this.label=""}handleDisableOptions(){let{disabled:t}=this;this.defaultSlot.assignedElements().filter(e=>e.tagName.toLowerCase()==="sd-7-0-1-option").forEach(e=>{e.disabled=t})}handleDisabledChange(){this.handleDisableOptions()}render(){let{disabled:t}=this;return q`<div role="${t?"presentation":"group"}" class="${c(this.disabled?"text-neutral-500":"")}" part="base" aria-labelledby="group-label"><sd-7-0-1-divider id="divider" class="pt-2 pb-4" part="divider"></sd-7-0-1-divider><div part="label-container" class="${c(this.disabled?"text-neutral-500":"text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`}};le.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
244
|
+
:host{--display-divider:block}#divider{display:var(--display-divider)}`],o([g("slot:not([name])")],le.prototype,"defaultSlot",2),o([d({reflect:!0,type:Boolean})],le.prototype,"disabled",2),o([d({type:String,reflect:!0})],le.prototype,"label",2),o([C("disabled",{waitUntilFirstUpdate:!0})],le.prototype,"handleDisabledChange",1),le=o([E("sd-7-0-1-optgroup")],le);var kt=class extends f{constructor(){super(...arguments);this.hasSlotController=new A(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let t=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=t;return}t!==this.cachedTextLabel&&(this.cachedTextLabel=t,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var t;return((t=this.textContent)!=null?t:"").trim()}render(){let t={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return p`<div part="base" style="word-break:break-word" class="${c("px-4 flex items-start w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-base py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${c("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?p`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${c("relative flex flex-shrink-0 items-center justify-center border sd-7-0-1-checkbox-border-width rounded-sm h-4 w-4 mr-2",{sm:"mt-0.5",md:"mt-1",lg:"mt-1"}[this.size],this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?p`<sd-7-0-1-icon part="checked-icon" class="text-white w-3 h-3" library="sd-status-assets" name="status-check"></sd-7-0-1-icon>`:""}</span>`:""} ${t.left?p`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${t.right?p`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};kt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
245
|
+
:host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}`],o([g('[part="base"]')],kt.prototype,"defaultSlot",2),o([L()],kt.prototype,"current",2),o([L()],kt.prototype,"selected",2),o([L()],kt.prototype,"hasHover",2),o([L()],kt.prototype,"isKeyboardFocus",2),o([d({type:String,reflect:!0})],kt.prototype,"size",2),o([d({type:Boolean,reflect:!0})],kt.prototype,"checkbox",2),o([d({type:Boolean,reflect:!0})],kt.prototype,"disabled",2),o([d({type:String,reflect:!0})],kt.prototype,"value",2),o([C("disabled")],kt.prototype,"handleDisabledChange",1),o([C("selected")],kt.prototype,"handleSelectedChange",1),o([C("value")],kt.prototype,"handleValueChange",1),kt=o([E("sd-7-0-1-option")],kt);var Ut=class extends f{constructor(){super();this.hasSlotController=new A(this,"label");this.value=null;this.max=100;this.label="";this.valuePosition=null;this.inverted=!1;this.showLabel=!1;this.localize=new D(this);this.valueFormatter=this.localize.number.bind(this.localize)}get safeMax(){return this.max>0?this.max:100}get clampedValue(){var t;return Math.min(Math.max((t=this.value)!=null?t:0,0),this.safeMax)}get percentage(){return this.clampedValue/this.safeMax*100}get isLoading(){return this.value===void 0||this.value===null||isNaN(this.value)}get showValue(){return!this.isLoading&&(this.valuePosition==="right"||this.valuePosition==="bottom")}render(){let t={label:this.hasSlotController.test("label")},e=this.label?!0:!!t.label;return p`<div part="base" class="text-start" aria-hidden="${!e}">${e?p`<label part="label" id="label" class="${c("text-base",!this.showLabel&&"sr-only",this.inverted?"text-white":"text-black")}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label>`:N}<div class="${c(this.valuePosition==="right"?"flex flex-row items-center gap-2 -mt-1":this.valuePosition==="bottom"?"flex flex-col gap-1 mt-1":"mt-1")}"><div part="bar" id="bar" class="${c("w-full h-[var(--height,0.125rem)]",this.isLoading?"relative ":"flex")}" role="progressbar" aria-valuemin="0" aria-valuemax="${this.safeMax}" aria-valuenow="${$(this.isLoading?void 0:this.valueFormatter(this.clampedValue))}" aria-valuetext="${$(this.isLoading?this.localize.term("loading"):this.valueFormatter(this.clampedValue))}" aria-label="${$(e?void 0:this.label||this.localize.term("progress"))}" aria-labelledby="${$(e?"label":this.label)}" style="${`--percentage: ${this.percentage}%;`}">${this.isLoading?p`<div part="track" class="${c("absolute top-0 left-0 h-full progress-bar__track--loading-left",this.inverted?"sd-7-0-1-progress-bar__slide-bar--inverted-color-background":"sd-7-0-1-progress-bar__slide-bar-color-background")}"></div><div part="track" class="${c("absolute top-0 right-0 h-full progress-bar__track--loading-right",this.inverted?"sd-7-0-1-progress-bar__slide-bar--inverted-color-background":"sd-7-0-1-progress-bar__slide-bar-color-background")}"></div><div part="indicator" class="${c("absolute top-0 h-full progress-bar__indicator--loading",this.inverted?"sd-7-0-1-progress-bar--active--inverted-color-background":"bg-accent")}"></div>`:p`<div part="indicator" class="${c("w-[var(--percentage)]",this.inverted?"sd-7-0-1-progress-bar--active--inverted-color-background":"bg-accent")}"></div>${this.value&&this.value>0&&this.value<this.safeMax?p`<div class="w-0.5 shrink-0"></div>`:N}<div part="track" class="${c("flex-1",this.inverted?"sd-7-0-1-progress-bar__slide-bar--inverted-color-background":"sd-7-0-1-progress-bar__slide-bar-color-background")}"></div>`}</div>${this.showValue?p`<span class="${c("text-neutral-700 text-xs w-shrink-0",this.inverted?"text-white":"text-neutral-700",this.valuePosition==="bottom"?"text-start":"text-center",this.valuePosition==="right"&&"whitespace-nowrap")}" part="value-${this.valuePosition}">${this.valueFormatter(this.clampedValue)}</span>`:N}</div></div>`}};Ut.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
246
|
+
:host{display:block;width:100%}.progress-bar__indicator--loading{width:25%;animation:progress-loading-indicator 1.25s ease-in-out infinite alternate}.progress-bar__track--loading-left{animation:progress-loading-track-left 1.25s ease-in-out infinite alternate}.progress-bar__track--loading-right{animation:progress-loading-track-right 1.25s ease-in-out infinite alternate}@keyframes progress-loading-indicator{0%{left:0}100%{left:75%}}@keyframes progress-loading-track-left{0%{width:0}100%{width:calc(75% - .25rem)}}@keyframes progress-loading-track-right{0%{width:calc(75% - .25rem)}100%{width:0}}`],o([d({type:Number,reflect:!0})],Ut.prototype,"value",2),o([d({type:Number,reflect:!0})],Ut.prototype,"max",2),o([d({type:String,reflect:!0})],Ut.prototype,"label",2),o([d({type:String,reflect:!0,attribute:"value-position"})],Ut.prototype,"valuePosition",2),o([d({type:Boolean,reflect:!0})],Ut.prototype,"inverted",2),o([d({type:Boolean,reflect:!0,attribute:"show-label"})],Ut.prototype,"showLabel",2),o([d({attribute:!1})],Ut.prototype,"valueFormatter",2),Ut=o([E("sd-7-0-1-progress-bar")],Ut);var Ne=class extends Pt{constructor(){super(...arguments);this.expandable=!1}render(){let t=this.expandable?st`details`:st`div`,e=this.expandable?st`summary`:st`div`;return q`<${t} part="base" class="sm:p-6"><${e} part="header" id="header" class="${c("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${$(this.expandable?"button":void 0)}" aria-expanded="${$(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${$(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${c("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${c("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"sd-7-0-1-quickfact--expandable-color-text":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${c("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${c(this.open&&"hidden")}"><sd-7-0-1-icon library="_internal" name="chevron-bottom" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-7-0-1-icon></slot><slot name="collapse-icon" class="${c(!this.open&&"hidden")}"><sd-7-0-1-icon library="_internal" name="chevron-bottom" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-7-0-1-icon></slot></span></${e}><div part="content" id="content" class="${c("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${t}>`}};Ne.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
247
|
+
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=summary-icon]{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=icon]{font-size:var(--sd-spacing-12,3rem);color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],o([d({type:Boolean,reflect:!0})],Ne.prototype,"expandable",2),Ne=o([E("sd-7-0-1-quickfact")],Ne);F("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});F("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});var $t=class extends f{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return p`<span part="base" class="${c("sd-7-0-1-radio group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${c("flex-initial shrink-0 relative inline-flex items-center justify-center border sd-7-0-1-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?c("border-error hover:border-error-400 group-hover:border-error-400",this.checked?"sd-7-0-1-radio--checked--invalid--default-color-background":"sd-7-0-1-radio--default--invalid-color-background"):this.checked?"sd-7-0-1-radio--checked--default-color-background hover:sd-7-0-1-radio--checked--hover-color-background group-hover:sd-7-0-1-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${c("rounded-full inline-flex text-white sd-7-0-1-radio__checked-height sd-7-0-1-radio__checked-width transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"sd-7-0-1-radio--checked--disabled__icon-color-background":this.visuallyDisabled?"bg-white":this.invalid?"sd-7-0-1-radio--checked--invalid--default__icon-color-background hover:sd-7-0-1-radio--checked--invalid--hover__icon-color-background group-hover:sd-7-0-1-radio--checked--invalid--hover__icon-color-background":this.checked?"sd-7-0-1-radio--checked--default__icon-color-background hover:sd-7-0-1-radio--checked--hover__icon-color-background group-hover:sd-7-0-1-radio--checked--hover__icon-color-background":"bg-neutral-800")}"></span></span><slot part="label" class="${c("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"></slot></span>`}};$t.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
248
|
+
:host{display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}[part=control--checked],[part=control--unchecked]{outline-color:transparent}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary,0 53 142)))}[part=control--checked],[part=control--unchecked]{margin-top:.23em}:host([size=sm]) [part=control--checked],:host([size=sm]) [part=control--unchecked]{margin-top:.15em}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],o([L()],$t.prototype,"checked",2),o([L()],$t.prototype,"hasFocus",2),o([d({type:String,reflect:!0})],$t.prototype,"size",2),o([d({type:Boolean,reflect:!0})],$t.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],$t.prototype,"visuallyDisabled",2),o([d()],$t.prototype,"value",2),o([d({type:Boolean,reflect:!0})],$t.prototype,"invalid",2),o([C("checked")],$t.prototype,"handleCheckedChange",1),o([C(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],$t.prototype,"handleDisabledChange",1),$t=o([E("sd-7-0-1-radio")],$t);var At=class extends f{constructor(){super(...arguments);this.hasSlotController=new A(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(t){if(this.disabled||this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let t=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",t?"true":"false")}focus(t){this.input.focus(t)}blur(){this.input.blur()}render(){let t=this.hasSlotController.test("[default]"),e=this.hasSlotController.test("icon"),i=`${this.size}-${t?"label":"no-label"}`;return p`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${c("relative text-center sd-7-0-1-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline choice-control-font-weight",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-7-0-1-button--primary--default-color-background sd-7-0-1-button--primary--default-color-text hover:sd-7-0-1-button--primary--hover-color-background hover:text-primary-100":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-7-0-1-radio-button-color-text border-primary cursor-pointer hover:sd-7-0-1-radio-button--hover-color-background hover:sd-7-0-1-radio-button--hover-color-text",t&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",t&&"button--has-label",e&&"button--has-icon flex gap-2",i)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${$(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${c(e&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!e}"></slot>${t?p`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};At.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
249
|
+
:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:0;z-index:calc(10 * -1);opacity:var(--sd-opacity-0,0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:rgba(var(--sd-color-border-error,var(--sd-color-error,204 25 55)));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1,.25rem) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4,1rem)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3,.75rem)}:host([size=lg].sd-7-0-1-button-group__button:not(.sd-7-0-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3,.75rem) * -1)}:host([size=md].sd-7-0-1-button-group__button:not(.sd-7-0-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2,.5rem) * -1)}:host([size=sm].sd-7-0-1-button-group__button:not(.sd-7-0-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1,.25rem) * -1)}:host(.sd-7-0-1-button-group__button--hover){z-index:20}:host(.sd-7-0-1-button-group__button--focus){z-index:30}:host(.sd-7-0-1-button-group__button[checked]){z-index:40}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],o([g(".button")],At.prototype,"input",2),o([g(".hidden-input")],At.prototype,"hiddenInput",2),o([L()],At.prototype,"hasFocus",2),o([d({type:String,reflect:!0})],At.prototype,"size",2),o([d({type:Boolean,reflect:!0})],At.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],At.prototype,"visuallyDisabled",2),o([d({type:Boolean,reflect:!0})],At.prototype,"checked",2),o([d()],At.prototype,"value",2),o([C(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],At.prototype,"handleDisabledChange",1),At=o([E("sd-7-0-1-radio-button")],At);var Se=class extends f{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(t){let e=Jr(t.target);e==null||e.classList.add("sd-7-0-1-button-group__button--focus")}handleBlur(t){let e=Jr(t.target);e==null||e.classList.remove("sd-7-0-1-button-group__button--focus")}handleMouseOver(t){let e=Jr(t.target);e==null||e.classList.add("sd-7-0-1-button-group__button--hover")}handleMouseOut(t){let e=Jr(t.target);e==null||e.classList.remove("sd-7-0-1-button-group__button--hover")}handleSlotChange(){let t=[...this.defaultSlot.assignedElements({flatten:!0})];t.forEach(e=>{let i=t.indexOf(e),a=Jr(e);a!==null&&(a.classList.add("sd-7-0-1-button-group__button"),a.classList.toggle("sd-7-0-1-button-group__button--first",i===0),a.classList.toggle("sd-7-0-1-button-group__button--inner",i>0&&i<t.length-1),a.classList.toggle("sd-7-0-1-button-group__button--last",i===t.length-1),a.classList.toggle("sd-7-0-1-button-group__button--radio",a.tagName.toLowerCase()==="sd-7-0-1-radio-button"))})}render(){return p`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};Se.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
250
|
+
:host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],o([g("slot")],Se.prototype,"defaultSlot",2),o([L()],Se.prototype,"disableRole",2),o([d({type:String,reflect:!0})],Se.prototype,"label",2),Se=o([E("sd-7-0-1-button-group")],Se);function Jr(s){var t;let r="sd-7-0-1-button, sd-7-0-1-radio-button";return(t=s.closest(r))!=null?t:s.querySelector(r)}var nt=class extends f{constructor(){super(...arguments);this.formControlController=new at(this);this.hasSlotController=new A(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?_o:t?Do:vr}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}updated(t){super.updated(t),this.syncAriaDescription()}syncAriaDescription(){var i;let t=(i=this.shadowRoot)==null?void 0:i.querySelector("fieldset"),e=this.showInvalidStyle?this.validationMessage:"";e?t==null||t.setAttribute("aria-description",e):t==null||t.removeAttribute("aria-description")}getAllRadios(){let t=[...this.querySelectorAll("sd-7-0-1-radio, sd-7-0-1-radio-button")];return t.length===0&&console.warn("No radios found in the radio group."),t}handleRadioClick(t){let e=t.target.closest("sd-7-0-1-radio, sd-7-0-1-radio-button"),i=this.value,a=this.getAllRadios();a.length!==0&&(e.disabled||(this.value=e.value,a.forEach(n=>n.checked=n===e),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input"))))}handleKeyDown(t){var h;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(u=>!u.disabled);if(e.length===0)return;let i=(h=e.find(u=>u.checked))!=null?h:e[0],a=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,l=e.indexOf(i)+a;l<0&&(l=e.length-1),l>e.length-1&&(l=0),this.getAllRadios().forEach(u=>{u.checked=!1,this.hasButtonGroup||(u.tabIndex=-1)}),this.value=e[l].value,e[l].checked=!0,this.hasButtonGroup?e[l].shadowRoot.querySelector("button").focus():(e[l].tabIndex=0,e[l].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios();if(t.length===0)return;let i=t.find(a=>a.checked)||t[0];i&&i.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,i;let t=this.getAllRadios();if(t.length===0){this.hasButtonGroup=!1;return}if(await Promise.all(t.map(async a=>{await a.updateComplete,a.checked=a.value===this.value,a.size=this.size,a instanceof $t&&(a.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(a=>a.tagName.toLowerCase()==="sd-7-0-1-radio-button"),!t.some(a=>a.checked))if(this.hasButtonGroup){let a=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");a&&(a.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let a=(i=this.shadowRoot)==null?void 0:i.querySelector("sd-7-0-1-button-group");a&&(a.disableRole=!0)}}syncRadios(){if(customElements.get("sd-7-0-1-radio")&&customElements.get("sd-7-0-1-radio-button")){this.syncRadioElements();return}customElements.get("sd-7-0-1-radio")?this.syncRadioElements():customElements.whenDefined("sd-7-0-1-radio").then(()=>this.syncRadios()),customElements.get("sd-7-0-1-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-7-0-1-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){let t=this.getAllRadios();t.length!==0&&(t.forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid))}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,i=this.hasSlotController.test("help-text"),a=this.helpText?!0:!!i,n=this.hasSlotController.test("tooltip"),l=p`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return p`<fieldset part="form-control" class="${c("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?p`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${c("p-0 font-bold leading-normal text-black text-left",e?"inline-block":"hidden")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?p`<sd-7-0-1-button-group class="border border-primary sd-7-0-1-radio-button-group-border-radius sd-7-0-1-radio-button-group-border-width sd-7-0-1-radio-button-group-padding" part="button-group" exportparts="base:button-group__base" role="presentation">${l}</sd-7-0-1-button-group>`:l}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-2",a?"block":"hidden")}" aria-hidden="${!a}">${this.helpText}</slot><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?p`<sd-7-0-1-icon part="invalid-icon" class="${c("text-error")}" library="_internal" name="risk"></sd-7-0-1-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};nt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
251
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-1-radio){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-7-0-1-radio:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-7-0-1-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-7-0-1-radio:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-1-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-1-radio:last-of-type){margin-right:0}:host([required]) #label::after{content:' *'}:host:has(sd-7-0-1-button-group){display:inline-flex}`],o([g("slot:not([name])")],nt.prototype,"defaultSlot",2),o([g("#validation-input")],nt.prototype,"validationInput",2),o([g("#invalid-message")],nt.prototype,"invalidMessage",2),o([L()],nt.prototype,"hasButtonGroup",2),o([L()],nt.prototype,"defaultValue",2),o([L()],nt.prototype,"showInvalidStyle",2),o([d({type:String,reflect:!0})],nt.prototype,"size",2),o([d({type:Boolean,reflect:!0})],nt.prototype,"required",2),o([d({type:String,reflect:!0})],nt.prototype,"orientation",2),o([d({type:String,reflect:!0})],nt.prototype,"label",2),o([d({type:String,attribute:"help-text",reflect:!0})],nt.prototype,"helpText",2),o([d({type:String,reflect:!0})],nt.prototype,"name",2),o([d()],nt.prototype,"value",2),o([d({type:String,reflect:!0})],nt.prototype,"form",2),o([C("size",{waitUntilFirstUpdate:!0})],nt.prototype,"handleSizeChange",1),o([C("showInvalidStyle",{waitUntilFirstUpdate:!0})],nt.prototype,"handleInvalidChange",1),o([C("value")],nt.prototype,"handleValueChange",1),nt=o([E("sd-7-0-1-radio-group")],nt);var vt=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.hasSlotController=new A(this,"[default]","content");this.size="lg";this.content="";this.placement="top";this.disabled=!1;this.open=!1;this.trigger="click focus";this.closeTrigger="click focus escape";this.hoist=!1;this.handleMouseInteraction=()=>{this.interactionType="mouse"};this.handleKeyboardInteraction=()=>{this.interactionType="keyboard"}}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),document.addEventListener("mousedown",this.handleMouseInteraction),document.addEventListener("keydown",this.handleKeyboardInteraction),this.handleDocumentClick=this.handleDocumentClick.bind(this),document.addEventListener("click",this.handleDocumentClick),this.updateComplete.then(()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)})}firstUpdated(){this.body.hidden=!this.open,this.formatDefaultSlot(this.defaultSlot),this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("mousedown",this.handleMouseInteraction),document.removeEventListener("keydown",this.handleKeyboardInteraction),document.removeEventListener("click",this.handleDocumentClick)}get hasCustomTrigger(){return this.hasSlotController.test("[default]")}formatDefaultSlot(t){if(!t)return;t.assignedNodes({flatten:!0}).forEach(i=>{var a,n;i.nodeType===Node.TEXT_NODE&&!((a=i==null?void 0:i.textContent)!=null&&a.trim())&&((n=i==null?void 0:i.parentNode)==null||n.removeChild(i))})}handleBlur(){this.hasCloseTrigger("focus")&&this.hide()}handleClick(){this.open&&this.hasCloseTrigger("click")?this.hide():this.hasTrigger("click")&&this.show()}handleFocus(){this.hasTrigger("focus")&&this.interactionType==="keyboard"&&this.show()}handleKeyDown(t){this.open&&t.key==="Escape"&&this.hasCloseTrigger("escape")&&(t.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){let t=pr(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),t)}}handleMouseOut(){if(this.hasCloseTrigger("hover")){let t=pr(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),t)}}handleDocumentClick(t){if(!this.open||this.interactionType==="keyboard")return;let e=t.composedPath();this.hasCloseTrigger("focus")&&!e.includes(this)&&!e.includes(this.popup)&&this.hide()}hasTrigger(t){return this.trigger.split(" ").includes(t)}hasCloseTrigger(t){return this.closeTrigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await rt(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:e}=j(this,"tooltip.show",{dir:this.localize.dir()});await W(this.popup.popup,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),await rt(this.body);let{keyframes:t,options:e}=j(this,"tooltip.hide",{dir:this.localize.dir()});await W(this.popup.popup,t,e),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,Q(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,this.trigger==="click"||this.trigger==="click focus"?this.focus():this.blur(),Q(this,"sd-after-hide")}render(){let t=this.placement.endsWith("-start"),e=this.placement.endsWith("-end");return p`<sd-7-0-1-popup part="base" exportparts="
|
|
252
252
|
popup:base__popup,
|
|
253
253
|
arrow:base__arrow
|
|
254
|
-
" class="${c(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[t?"start":e?"end":"default"]*(this.size==="sm"?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger?p`<slot slot="anchor"></slot>`:p`<button slot="anchor" aria-describedby="tooltip" class="${c("flex sd-interactive rounded-full",this.size==="lg"?"text-xl":"text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-7-0-
|
|
255
|
-
:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-7-0-0-popup{--arrow-color:rgba(var(--sd-tooltip-color-background));--arrow-size:10px}sd-7-0-0-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-7-0-0-popup::part(arrow){--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-7-0-0-popup[placement^=top]::part(popup){transform-origin:bottom}sd-7-0-0-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`],o([v("slot:not([name])")],vt.prototype,"defaultSlot",2),o([v("#tooltip")],vt.prototype,"body",2),o([v("sd-7-0-0-popup")],vt.prototype,"popup",2),o([d({type:String,reflect:!0})],vt.prototype,"size",2),o([d({type:String,reflect:!0})],vt.prototype,"content",2),o([d({type:String,reflect:!0})],vt.prototype,"placement",2),o([d({type:Boolean,reflect:!0})],vt.prototype,"disabled",2),o([d({type:Boolean,reflect:!0})],vt.prototype,"open",2),o([d({type:String,reflect:!0})],vt.prototype,"trigger",2),o([d({type:String,attribute:"close-trigger",reflect:!0})],vt.prototype,"closeTrigger",2),o([d({type:Boolean,reflect:!0})],vt.prototype,"hoist",2),o([k("open",{waitUntilFirstUpdate:!0})],vt.prototype,"handleOpenChange",1),o([k(["content","hoist","placement"])],vt.prototype,"handleOptionsChange",1),o([k("disabled")],vt.prototype,"handleDisabledChange",1),vt=o([C("sd-7-0-0-tooltip")],vt);F("tooltip.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});F("tooltip.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});var Ue=(s,r)=>s-r,Tr=(s,r)=>{if(s.length!==r.length)return!0;let t=s.slice().sort(Ue),e=r.slice().sort(Ue);for(let i=0;i<t.length;i+=1)if(t[i]!==e[i])return!0;return!1},Ls=(s,r)=>{let t=s.getBoundingClientRect(),e=t.width;if(e<=0)return 0;let i=r;return i-=t.left,i<=0?0:i>=e?1:(i/=e,i)};var lt=class extends f{constructor(){super();this.formControlController=new at(this);this.hasSlotController=new A(this,"label","help-text");this.localize=new D(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.tooltip="on-interaction";this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this._dragStyleElement=null;this._preventSelectStart=t=>t.preventDefault();this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(t){this._value=t?t.split(" ").map(Number).sort(Ue):[]}get value(){return this._value.slice().sort(Ue).join(" ")}set valueAsArray(t){let e=this._value;this._value=Array.isArray(t)?t.slice().sort(Ue):t||[],Tr(e,this._value)&&this.requestUpdate("value",e.join(" "))}get valueAsArray(){return[...this._value].sort(Ue)}get rtl(){return this.localize.dir()==="rtl"}disconnectedCallback(){super.disconnectedCallback(),this._restoreTextSelection()}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value),this.thumbs.forEach(async t=>{var i,a;let e=t.parentElement;await e.updateComplete,(a=(i=e.shadowRoot)==null?void 0:i.querySelector("sd-7-0-0-popup"))==null||a.setAttribute("distance","14")})}willUpdate(t){super.willUpdate(t),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let e=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});Tr(this._value,e)&&(this._value=e)}updated(t){super.updated(t);for(let e of this.thumbs){let i=+e.dataset.rangeId;this._rangeValues.has(i)&&(this.moveThumb(e,this._rangeValues.get(i)),this.tooltip==="always-visible"&&(e.parentElement.closeTrigger="manual",e.parentElement.show()))}this.updateActiveTrack()}focus(t){let e=this.thumbs.item(0);e?e.focus(t):super.focus(t)}get validity(){return this.input.validity}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}updateTooltip(t){let e=+t.dataset.rangeId;if(!this._rangeValues.has(e))return;let i=this._rangeValues.get(e),a=t.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:t}=this;if(!t)return;if(this.min===this.max){t.style.insetInlineStart="0%",t.style.insetInlineEnd="0%";return}if(this._value.length===1){let n=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",l=100*(this._value[0]-this.min)/(this.max-this.min);t.style.insetInlineStart=`min(${n}, ${l}%)`,t.style.insetInlineEnd=`min(calc(100% - ${n}), calc(100% - ${l}%))`;return}let e=this._value.slice().sort(Ue),i=100*(e[0]-this.min)/(this.max-this.min),a=100*(e[e.length-1]-this.min)/(this.max-this.min);t.style.insetInlineStart=`${i}%`,t.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(t,e){t.setAttribute("aria-valuenow",e.toString()),t.setAttribute("aria-valuetext",this.tooltipFormatter(e));let i=(e-this.min)/(this.max-this.min);t.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(t)}movementBoundariesForThumb(t,e){let i=this.valueAsArray,n=Array.from(this.thumbs).indexOf(t),l=i[n-1]||this.min,h=i[n+1]||this.max,u=e<l||e>h;return{finalValue:Math.max(l,Math.min(h,e)),isRestricted:u,nextValue:h,prevValue:l}}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}onClickTrack(t,e=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=t,a=Array.from(this.thumbs),n=Ls(this.inputWrapper,i),l=this.step/(this.max-this.min),h=this.min+this.step*Math.round(n/l),u=a.reduce((g,w)=>{let E=this._rangeValues.get(+w.dataset.rangeId),M=this._rangeValues.get(+g.dataset.rangeId),z=Math.abs(E-h),I=Math.abs(M-h);return z===I?E<h?w:g:z<I?w:g}),m=+u.dataset.rangeId;if(!m)return;this._rangeValues.set(m,h),this.moveThumb(u,h);let b=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),Tr(b,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let y=new PointerEvent("pointerdown",t);e&&u.dispatchEvent(y)&&this.updateTooltip(u)}onClickTrackItem(t){this.onClickTrack(t,!1)}_preventTextSelection(){if(!this._dragStyleElement){let t=document.createElement("style");t.setAttribute("data-sd-7-0-0-range-drag",""),t.textContent="*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(t),this._dragStyleElement=t}document.addEventListener("selectstart",this._preventSelectStart)}_restoreTextSelection(){this._dragStyleElement&&(this._dragStyleElement.remove(),this._dragStyleElement=null),document.removeEventListener("selectstart",this._preventSelectStart)}async onClickThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target;if(this.updateTooltip(e),e.dataset.pointerId)try{e.releasePointerCapture(+e.dataset.pointerId)}catch(i){}e.dataset.pointerId=t.pointerId.toString(),e.setPointerCapture(t.pointerId),this._preventTextSelection(),e.classList.add("grabbed"),this.tooltip==="on-interaction"&&await e.parentElement.show()}onDragThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target,i=+e.dataset.rangeId;if(!this._rangeValues.has(i)||(e.dataset.pointerId?+e.dataset.pointerId:null)!==t.pointerId)return;let n=Ls(this.inputWrapper,t.clientX),l=this.step/(this.max-this.min),h=this.min+this.step*Math.round(n/l);if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:h}}).defaultPrevented)return;let m=this.movementBoundariesForThumb(e,h);m.isRestricted?(h=m.finalValue,e.style.zIndex=(3+this.thumbs.length).toFixed(0)):e.style.zIndex="3",this._rangeValues.set(i,h),this.moveThumb(e,h);let b=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),Tr(b,this._value)&&this.emit("sd-input")}async onReleaseThumb(t){let e=t.target;!e.dataset.pointerId||t.pointerId!==+e.dataset.pointerId||(e.classList.remove("grabbed"),e.releasePointerCapture(t.pointerId),this._restoreTextSelection(),delete e.dataset.pointerId,Tr(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),this.tooltip==="on-interaction"&&await e.parentElement.hide())}onKeyPress(t){let e=t.target,i=+e.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let n=a;switch(t.key){case"ArrowUp":case"Up":n=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":n=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":n=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":n=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":n=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":n=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":n=this.min;break;case"End":n=this.max;break;default:return}if(n!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:n}}).defaultPrevented)return;let h=this.movementBoundariesForThumb(e,n);h.isRestricted&&(n=h.finalValue),this.moveThumb(e,n),this._rangeValues.set(i,n),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(e),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}t.preventDefault()}onBlur(t){var e;t.relatedTarget&&((e=this.shadowRoot)!=null&&e.contains(t.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(t){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let e=t.target;(i=e==null?void 0:e.dataset)!=null&&i.rangeId&&this.updateTooltip(e)}renderThumbs(t){let e=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let n=a+1;this._rangeValues.set(n,i);let l=`thumb-${n}`,h="",u="";return e?(u=t?`label aria-label-hidden ${l}`:`aria-label-hidden ${l}`,a===0?h=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?h=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:h=this.tooltipFormatter(i)):u=t?"label aria-label-hidden":"",p`<sd-7-0-0-tooltip trigger="${this.tooltip==="on-interaction"?"focus":"manual"}" disabled="${$(this.disabled||this.visuallyDisabled||this.tooltip==="hidden"?!0:void 0)}"><div id="${l}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${$(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${h}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${n}" data-disabled="${$(this.disabled||this.visuallyDisabled||void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${c("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"outline-none":"cursor-pointer focus-visible:focus-outline")}"></div></sd-7-0-0-tooltip>`})}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=!!(this.label||t.label),i=!!(this.helpText||t.helpText);return p`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${e?p`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${e?"false":"true"}" class="${c("w-full text-start",e?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${c("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${$(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" data-disabled="${$(this.disabled||this.visuallyDisabled||void 0)}" class="${c("h-1 my-[6px]")}"></div><div part="active-track" hidden="${$(this.noTrackBar?!0:void 0)}" data-disabled="${$(this.disabled||this.visuallyDisabled||void 0)}" class="${c("absolute top-0 h-1")}"></div></div>${this.renderThumbs(e)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};lt.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
256
|
-
[part='base']{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[part=thumb]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=thumb]:hover{background-color:rgba(var(--sd-color-icon-fill-primary-500,rgba(var(--sd-color-primary-500))))}[part=thumb].grabbed{background-color:rgba(var(--sd-color-icon-fill-primary-800,rgba(var(--sd-color-primary-800))))}[part=thumb][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=track]{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}[part=track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=active-track]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=active-track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}`],o([
|
|
257
|
-
[part='line']{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}`],o([d({type:Boolean,reflect:!0})],qe.prototype,"subtick",2),qe=o([
|
|
258
|
-
:host{--gradient-color:transparent;--gradient:var(--gradient-color) 0%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 80%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,transparent 50%,rgba(24,24,24,.4) 100%)}.sd-7-0-
|
|
254
|
+
" class="${c(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[t?"start":e?"end":"default"]*(this.size==="sm"?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger?p`<slot slot="anchor"></slot>`:p`<button slot="anchor" aria-describedby="tooltip" class="${c("flex sd-interactive rounded-full",this.size==="lg"?"text-xl":"text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-7-0-1-icon library="_internal" name="info-circle" label="Tooltip" class="${c(this.disabled&&"sd-interactive--disabled")}"></sd-7-0-1-icon></button>`}<slot name="content" part="body" id="tooltip" class="sd-7-0-1-tooltip-color-background sd-7-0-1-tooltip-color-text py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-7-0-1-popup>`}};vt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
255
|
+
:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-7-0-1-popup{--arrow-color:rgba(var(--sd-tooltip-color-background));--arrow-size:10px}sd-7-0-1-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-7-0-1-popup::part(arrow){--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-7-0-1-popup[placement^=top]::part(popup){transform-origin:bottom}sd-7-0-1-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`],o([g("slot:not([name])")],vt.prototype,"defaultSlot",2),o([g("#tooltip")],vt.prototype,"body",2),o([g("sd-7-0-1-popup")],vt.prototype,"popup",2),o([d({type:String,reflect:!0})],vt.prototype,"size",2),o([d({type:String,reflect:!0})],vt.prototype,"content",2),o([d({type:String,reflect:!0})],vt.prototype,"placement",2),o([d({type:Boolean,reflect:!0})],vt.prototype,"disabled",2),o([d({type:Boolean,reflect:!0})],vt.prototype,"open",2),o([d({type:String,reflect:!0})],vt.prototype,"trigger",2),o([d({type:String,attribute:"close-trigger",reflect:!0})],vt.prototype,"closeTrigger",2),o([d({type:Boolean,reflect:!0})],vt.prototype,"hoist",2),o([C("open",{waitUntilFirstUpdate:!0})],vt.prototype,"handleOpenChange",1),o([C(["content","hoist","placement"])],vt.prototype,"handleOptionsChange",1),o([C("disabled")],vt.prototype,"handleDisabledChange",1),vt=o([E("sd-7-0-1-tooltip")],vt);F("tooltip.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});F("tooltip.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});var Ue=(s,r)=>s-r,Tr=(s,r)=>{if(s.length!==r.length)return!0;let t=s.slice().sort(Ue),e=r.slice().sort(Ue);for(let i=0;i<t.length;i+=1)if(t[i]!==e[i])return!0;return!1},Ls=(s,r)=>{let t=s.getBoundingClientRect(),e=t.width;if(e<=0)return 0;let i=r;return i-=t.left,i<=0?0:i>=e?1:(i/=e,i)};var lt=class extends f{constructor(){super();this.formControlController=new at(this);this.hasSlotController=new A(this,"label","help-text");this.localize=new D(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.tooltip="on-interaction";this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this._dragStyleElement=null;this._preventSelectStart=t=>t.preventDefault();this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(t){this._value=t?t.split(" ").map(Number).sort(Ue):[]}get value(){return this._value.slice().sort(Ue).join(" ")}set valueAsArray(t){let e=this._value;this._value=Array.isArray(t)?t.slice().sort(Ue):t||[],Tr(e,this._value)&&this.requestUpdate("value",e.join(" "))}get valueAsArray(){return[...this._value].sort(Ue)}get rtl(){return this.localize.dir()==="rtl"}disconnectedCallback(){super.disconnectedCallback(),this._restoreTextSelection()}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value),this.thumbs.forEach(async t=>{var i,a;let e=t.parentElement;await e.updateComplete,(a=(i=e.shadowRoot)==null?void 0:i.querySelector("sd-7-0-1-popup"))==null||a.setAttribute("distance","14")})}willUpdate(t){super.willUpdate(t),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let e=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});Tr(this._value,e)&&(this._value=e)}updated(t){super.updated(t);for(let e of this.thumbs){let i=+e.dataset.rangeId;this._rangeValues.has(i)&&(this.moveThumb(e,this._rangeValues.get(i)),this.tooltip==="always-visible"&&(e.parentElement.closeTrigger="manual",e.parentElement.show()))}this.updateActiveTrack()}focus(t){let e=this.thumbs.item(0);e?e.focus(t):super.focus(t)}get validity(){return this.input.validity}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}updateTooltip(t){let e=+t.dataset.rangeId;if(!this._rangeValues.has(e))return;let i=this._rangeValues.get(e),a=t.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:t}=this;if(!t)return;if(this.min===this.max){t.style.insetInlineStart="0%",t.style.insetInlineEnd="0%";return}if(this._value.length===1){let n=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",l=100*(this._value[0]-this.min)/(this.max-this.min);t.style.insetInlineStart=`min(${n}, ${l}%)`,t.style.insetInlineEnd=`min(calc(100% - ${n}), calc(100% - ${l}%))`;return}let e=this._value.slice().sort(Ue),i=100*(e[0]-this.min)/(this.max-this.min),a=100*(e[e.length-1]-this.min)/(this.max-this.min);t.style.insetInlineStart=`${i}%`,t.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(t,e){t.setAttribute("aria-valuenow",e.toString()),t.setAttribute("aria-valuetext",this.tooltipFormatter(e));let i=(e-this.min)/(this.max-this.min);t.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(t)}movementBoundariesForThumb(t,e){let i=this.valueAsArray,n=Array.from(this.thumbs).indexOf(t),l=i[n-1]||this.min,h=i[n+1]||this.max,u=e<l||e>h;return{finalValue:Math.max(l,Math.min(h,e)),isRestricted:u,nextValue:h,prevValue:l}}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}onClickTrack(t,e=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=t,a=Array.from(this.thumbs),n=Ls(this.inputWrapper,i),l=this.step/(this.max-this.min),h=this.min+this.step*Math.round(n/l),u=a.reduce((v,w)=>{let x=this._rangeValues.get(+w.dataset.rangeId),M=this._rangeValues.get(+v.dataset.rangeId),z=Math.abs(x-h),I=Math.abs(M-h);return z===I?x<h?w:v:z<I?w:v}),m=+u.dataset.rangeId;if(!m)return;this._rangeValues.set(m,h),this.moveThumb(u,h);let b=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),Tr(b,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let y=new PointerEvent("pointerdown",t);e&&u.dispatchEvent(y)&&this.updateTooltip(u)}onClickTrackItem(t){this.onClickTrack(t,!1)}_preventTextSelection(){if(!this._dragStyleElement){let t=document.createElement("style");t.setAttribute("data-sd-7-0-1-range-drag",""),t.textContent="*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(t),this._dragStyleElement=t}document.addEventListener("selectstart",this._preventSelectStart)}_restoreTextSelection(){this._dragStyleElement&&(this._dragStyleElement.remove(),this._dragStyleElement=null),document.removeEventListener("selectstart",this._preventSelectStart)}async onClickThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target;if(this.updateTooltip(e),e.dataset.pointerId)try{e.releasePointerCapture(+e.dataset.pointerId)}catch(i){}e.dataset.pointerId=t.pointerId.toString(),e.setPointerCapture(t.pointerId),this._preventTextSelection(),e.classList.add("grabbed"),this.tooltip==="on-interaction"&&await e.parentElement.show()}onDragThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target,i=+e.dataset.rangeId;if(!this._rangeValues.has(i)||(e.dataset.pointerId?+e.dataset.pointerId:null)!==t.pointerId)return;let n=Ls(this.inputWrapper,t.clientX),l=this.step/(this.max-this.min),h=this.min+this.step*Math.round(n/l);if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:h}}).defaultPrevented)return;let m=this.movementBoundariesForThumb(e,h);m.isRestricted?(h=m.finalValue,e.style.zIndex=(3+this.thumbs.length).toFixed(0)):e.style.zIndex="3",this._rangeValues.set(i,h),this.moveThumb(e,h);let b=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),Tr(b,this._value)&&this.emit("sd-input")}async onReleaseThumb(t){let e=t.target;!e.dataset.pointerId||t.pointerId!==+e.dataset.pointerId||(e.classList.remove("grabbed"),e.releasePointerCapture(t.pointerId),this._restoreTextSelection(),delete e.dataset.pointerId,Tr(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),this.tooltip==="on-interaction"&&await e.parentElement.hide())}onKeyPress(t){let e=t.target,i=+e.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let n=a;switch(t.key){case"ArrowUp":case"Up":n=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":n=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":n=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":n=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":n=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":n=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":n=this.min;break;case"End":n=this.max;break;default:return}if(n!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:n}}).defaultPrevented)return;let h=this.movementBoundariesForThumb(e,n);h.isRestricted&&(n=h.finalValue),this.moveThumb(e,n),this._rangeValues.set(i,n),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(e),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}t.preventDefault()}onBlur(t){var e;t.relatedTarget&&((e=this.shadowRoot)!=null&&e.contains(t.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(t){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let e=t.target;(i=e==null?void 0:e.dataset)!=null&&i.rangeId&&this.updateTooltip(e)}renderThumbs(t){let e=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let n=a+1;this._rangeValues.set(n,i);let l=`thumb-${n}`,h="",u="";return e?(u=t?`label aria-label-hidden ${l}`:`aria-label-hidden ${l}`,a===0?h=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?h=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:h=this.tooltipFormatter(i)):u=t?"label aria-label-hidden":"",p`<sd-7-0-1-tooltip trigger="${this.tooltip==="on-interaction"?"focus":"manual"}" disabled="${$(this.disabled||this.visuallyDisabled||this.tooltip==="hidden"?!0:void 0)}"><div id="${l}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${$(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${h}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${n}" data-disabled="${$(this.disabled||this.visuallyDisabled||void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${c("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"outline-none":"cursor-pointer focus-visible:focus-outline")}"></div></sd-7-0-1-tooltip>`})}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=!!(this.label||t.label),i=!!(this.helpText||t.helpText);return p`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${e?p`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${e?"false":"true"}" class="${c("w-full text-start",e?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${c("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${$(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" data-disabled="${$(this.disabled||this.visuallyDisabled||void 0)}" class="${c("h-1 my-[6px]")}"></div><div part="active-track" hidden="${$(this.noTrackBar?!0:void 0)}" data-disabled="${$(this.disabled||this.visuallyDisabled||void 0)}" class="${c("absolute top-0 h-1")}"></div></div>${this.renderThumbs(e)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};lt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
256
|
+
[part='base']{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[part=thumb]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=thumb]:hover{background-color:rgba(var(--sd-color-icon-fill-primary-500,rgba(var(--sd-color-primary-500))))}[part=thumb].grabbed{background-color:rgba(var(--sd-color-icon-fill-primary-800,rgba(var(--sd-color-primary-800))))}[part=thumb][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=track]{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}[part=track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=active-track]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=active-track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}`],o([g("#input")],lt.prototype,"input",2),o([g('[part="active-track"]')],lt.prototype,"activeTrack",2),o([g('[part="input-wrapper"]')],lt.prototype,"inputWrapper",2),o([mi('[part="thumb"]')],lt.prototype,"thumbs",2),o([d({attribute:!1})],lt.prototype,"tooltipFormatter",2),o([d({type:String,reflect:!0})],lt.prototype,"name",2),o([d({type:String,reflect:!0})],lt.prototype,"label",2),o([d({attribute:"help-text",reflect:!0})],lt.prototype,"helpText",2),o([d({type:Number,reflect:!0})],lt.prototype,"min",2),o([d({type:Number,reflect:!0})],lt.prototype,"max",2),o([d({type:Number,reflect:!0})],lt.prototype,"step",2),o([d({type:Boolean,reflect:!0})],lt.prototype,"disabled",2),o([d({attribute:"visually-disabled",type:Boolean,reflect:!0})],lt.prototype,"visuallyDisabled",2),o([d({attribute:"no-track-bar",type:Boolean,reflect:!0})],lt.prototype,"noTrackBar",2),o([d({attribute:"tooltip",type:String,reflect:!0})],lt.prototype,"tooltip",2),o([Dt()],lt.prototype,"defaultValue",2),o([d({type:String})],lt.prototype,"value",1),lt=o([E("sd-7-0-1-range")],lt);var qe=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.subtick=!1}render(){return p`<div part="base" class="${c(this.subtick?"w-0.25":"w-0.5")}"><div part="line" class="${c(this.subtick?"h-2":"h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm sd-7-0-1-range-scale-ticks-color-text"><slot></slot></div></div>`}};qe.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
257
|
+
[part='line']{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}`],o([d({type:Boolean,reflect:!0})],qe.prototype,"subtick",2),qe=o([E("sd-7-0-1-range-tick")],qe);var bt=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,e=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,i=this.container.scrollTop>0,a=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,n=this.canScroll,l={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&e,up:this.isScrollVerticalEnabled&&i,down:this.isScrollVerticalEnabled&&a},h=n.left&&!l.left,u=n.up&&!l.up,m=n.right&&!l.right,b=n.down&&!l.down;(h||u)&&this.dispatchEvent(new CustomEvent("start")),(m||b)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=l}handleScroll(t,e){var I,O,R;let i=["left","up"].includes(t)?-this.step:this.step,a=["left","right"].includes(t)?"horizontal":"vertical",n=["left","up"].includes(t)?"start":"end",l=!["mouse","touch"].includes((I=e==null?void 0:e.pointerType)!=null?I:""),h=a==="horizontal"?"left":"top";(O=this.container)==null||O.scrollBy({behavior:"smooth",[h]:i});let u=`button-${t}`;this.dispatchEvent(new CustomEvent(u,{bubbles:!0,composed:!0}));let b=(a==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+i,y=a==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,v=n==="start"&&b<=0,w=n==="end"&&b>=y-1;if(!(v||w)){let H=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===H?`${H}\u200B`:H;return}let x=this.scrollButtons[t],M={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],z=v?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(R=M==null?void 0:M.querySelector("sd-7-0-1-icon"))==null||R.setAttribute("label",z),l?M==null||M.focus():x==null||x.blur()}handleButtonBlur(t,e){var l;let a=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(l=e.target.querySelector("sd-7-0-1-icon"))==null||l.setAttribute("label",a)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",e="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return p`<div part="base" class="${c("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?p`${this.isScrollHorizontalEnabled?p`<div part="button-left" class="${c("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${c(t)}" aria-hidden="${$(!this.canScroll.left||void 0)}" tabindex="${$(this.canScroll.left?void 0:-1)}" @click="${i=>this.handleScroll("left",i)}" @blur="${i=>this.handleButtonBlur("left",i)}"><slot name="icon-start"><sd-7-0-1-icon library="_internal" name="chevron-top" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-7-0-1-icon></slot></button></div><div part="button-right" class="${c("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${c(t)}" aria-hidden="${$(!this.canScroll.right||void 0)}" tabindex="${$(this.canScroll.right?void 0:-1)}" @click="${i=>this.handleScroll("right",i)}" @blur="${i=>this.handleButtonBlur("right",i)}"><slot name="icon-end"><sd-7-0-1-icon library="_internal" name="chevron-bottom" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-7-0-1-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?p`<div part="button-top" class="${c("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${c(t)}" aria-hidden="${$(!this.canScroll.up||void 0)}" tabindex="${$(this.canScroll.up?void 0:-1)}" @click="${i=>this.handleScroll("up",i)}" @blur="${i=>this.handleButtonBlur("up",i)}"><slot name="icon-start"><sd-7-0-1-icon library="_internal" name="chevron-top" label="${this.localize.term("scrollToStart")}"></sd-7-0-1-icon></slot></button></div><div part="button-bottom" class="${c("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${c(t)}" aria-hidden="${$(!this.canScroll.down||void 0)}" tabindex="${$(this.canScroll.down?void 0:-1)}" @click="${i=>this.handleScroll("down",i)}" @blur="${i=>this.handleButtonBlur("down",i)}"><slot name="icon-end"><sd-7-0-1-icon library="_internal" name="chevron-bottom" label="${this.localize.term("scrollToEnd")}"></sd-7-0-1-icon></slot></button></div>`:null}`:null} ${this.shadows?p`${this.isScrollHorizontalEnabled?p`<div part="shadow-left" class="${c("left top-0 left-0 w-[6px] h-full",e,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${c("right top-0 right-0 w-[6px] h-full",e,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?p`<div part="shadow-top" class="${c("top top-0 left-0 w-full h-[6px]",e,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${c("bottom bottom-0 left-0 w-full h-[6px]",e,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};bt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
258
|
+
:host{--gradient-color:transparent;--gradient:var(--gradient-color) 0%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 80%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,transparent 50%,rgba(24,24,24,.4) 100%)}.sd-7-0-1-icon--top{align-self:flex-start}.sd-7-0-1-icon--down{align-self:flex-end}`],o([g('[part="button-right"] button')],bt.prototype,"rightButton",2),o([g('[part="button-left"] button')],bt.prototype,"leftButton",2),o([g('[part="button-bottom"] button')],bt.prototype,"downButton",2),o([g('[part="button-top"] button')],bt.prototype,"upButton",2),o([g(".scroll-container")],bt.prototype,"container",2),o([g("#announcement-container")],bt.prototype,"announcementContainer",2),o([d({type:String,reflect:!0})],bt.prototype,"orientation",2),o([d({type:Boolean,reflect:!0})],bt.prototype,"scrollbars",2),o([d({type:Boolean,reflect:!0})],bt.prototype,"buttons",2),o([d({type:Boolean,reflect:!0})],bt.prototype,"shadows",2),o([d({type:Boolean,reflect:!0})],bt.prototype,"inset",2),o([d({type:Number,reflect:!0})],bt.prototype,"step",2),o([L()],bt.prototype,"canScroll",2),o([L()],bt.prototype,"isScrollHorizontalEnabled",2),o([L()],bt.prototype,"isScrollVerticalEnabled",2),bt=o([E("sd-7-0-1-scrollable")],bt);var V=class extends f{constructor(){super(...arguments);this.formControlController=new at(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new A(this,"help-text","label");this.localize=new D(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-7-0-1-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
259
259
|
base:tag__base,
|
|
260
260
|
content:tag__content,
|
|
261
261
|
removable-indicator:tag__removable-indicator,
|
|
262
|
-
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-7-0-
|
|
262
|
+
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-7-0-1-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,i=e.closest(".select__clear")!==null,a=e.closest("sd-7-0-1-icon-button")!==null;if(!(i||a)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let n=this.getAllOptions(),l=n.indexOf(this.currentOption),h=Math.max(0,l);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(h=l+1,h>n.length-1&&(h=0)):t.key==="ArrowUp"?(h=l-1,h<0&&(h=n.length-1)):t.key==="Home"?h=0:t.key==="End"&&(h=n.length-1),this.setCurrentOption(n[h],t)}if(t.key.length===1||t.key==="Backspace"){let n=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let l of n)if(l.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(l);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var i,a,n;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let l=(i=t.currentTarget)==null?void 0:i.parentElement,h=(a=l==null?void 0:l.previousElementSibling)==null?void 0:a.querySelector("sd-7-0-1-tag"),u=(n=l==null?void 0:l.nextElementSibling)==null?void 0:n.querySelector("sd-7-0-1-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{u?u.focus():h?h.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var i;let e=(i=this.shadowRoot)==null?void 0:i.querySelectorAll("sd-7-0-1-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let i=t.composedPath().some(a=>a instanceof HTMLSlotElement&&a.name==="removable-indicator");this.disabled||i||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-7-0-1-option"),a=this.value;i&&!i.disabled&&(this.multiple?this.toggleOptionSelection(i):this.setSelectedOptions(i),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==a&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],i=[];customElements.get("sd-7-0-1-option")?(t.forEach(a=>{this.multiple&&(a.checkbox=!0),i.push(a.value)}),this.setSelectedOptions(t.filter(a=>e.includes(a.value)))):customElements.whenDefined("sd-7-0-1-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-7-0-1-option")]}getFirstOption(){return this.querySelector("sd-7-0-1-option")}setCurrentOption(t,e){this.getAllOptions().forEach(a=>{a.current=!1,a.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(a.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),i=Array.isArray(t)?t:[t];e.forEach(a=>a.selected=!1),i.length&&i.forEach(a=>a.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,i;t&&this.multiple?this.selectedOptions.find(a=>a.value===t.value)?this.selectedOptions=this.selectedOptions.filter(a=>a.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(a=>a.selected),this.multiple?this.value=this.selectedOptions.map(a=>a.value):this.value=(i=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?i:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}" class="max-w-full">${typeof i=="string"?Ir(i):i}</div>`}return[p``]}):[p`<sd-7-0-1-tag class="z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
263
263
|
base:tag__base,
|
|
264
264
|
content:tag__content,
|
|
265
265
|
removable-indicator:tag__removable-indicator,
|
|
266
|
-
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-7-0-
|
|
266
|
+
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-7-0-1-tag>`]}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-7-0-1-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await rt(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=j(this,"select.show",{dir:this.localize.dir()});await W(this.popup.popup,t,e),this.currentOption&&oe(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await rt(this);let{keyframes:t,options:e}=j(this,"select.hide",{dir:this.localize.dir()});await W(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){let t=this.value,e=Array.isArray(t)?t:[t],i=this.selectedOptions.map(l=>l.value);if(e.length===i.length&&e.every(l=>i.includes(l)))return;let a=this.getAllOptions(),n=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(a.filter(l=>n.includes(l.value))),this.value=t}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Q(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,Q(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,i=this.helpText?!0:!!t.helpText,a=this.clearable&&!this.disabled,n=!!t.tooltip,l=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||this.open||l)&&!(this.disabled&&!l),u=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",m=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",b={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],y={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],v=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1";return p`<div part="form-control" class="${c("relative text-left",m,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e&&!this.floatingLabel||n?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${c(e&&"inline-block",this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("relative w-full bg-white",u==="disabled"?"text-neutral-500":"text-black")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${c("absolute left-4 z-20 pointer-events-none transition-all duration-200",h?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",h&&"mt-1")}" for="input"><span class="${c("leading-none",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${c("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[u],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-7-0-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${c("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
267
267
|
popup:popup__content,
|
|
268
|
-
"><div class="${c("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",["invalid","activeInvalid"].includes(u)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${c("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],
|
|
269
|
-
:host{position:relative;display:block;width:auto}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error,--sd-color-error))}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-7-0-
|
|
270
|
-
:host{display:block}::slotted(*){visibility:hidden}`],o([d({type:String,reflect:!0})],Ke.prototype,"variant",2),Ke=o([
|
|
271
|
-
:host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-7-0-
|
|
272
|
-
:host{width:-moz-max-content;width:max-content}`],o([
|
|
268
|
+
"><div class="${c("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",["invalid","activeInvalid"].includes(u)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${c("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],v)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${c("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",m,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",h&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||h?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${c("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(w=>w==null?void 0:w.getTextLabel()).join(", ")}</div><input class="${c("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",m)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${a?p`<button part="clear-button" class="${c("select__clear flex justify-center",b,this.value.length>0?"visible":"hidden")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-1-icon class="${c("text-neutral-700 z-10",y)}" library="_internal" name="close-circle"></sd-7-0-1-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-7-0-1-icon part="invalid-icon" class="${c(b,y)}" library="_internal" name="risk"></sd-7-0-1-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-7-0-1-icon part="valid-icon" class="${c("flex-shrink-0 text-success",b,y)}" library="_internal" name="confirm-circle"></sd-7-0-1-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${c("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",y)}"><sd-7-0-1-icon name="chevron-bottom" part="chevron" library="_internal" color="currentColor"></sd-7-0-1-icon></slot></div><button part="combobox" class="${c("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",m,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${c("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow-listbox transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-7-0-1-popup></div><div class="${c("text-sm mt-1",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" part="form-control-help-text" id="help-text" aria-hidden="${i?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};V.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
269
|
+
:host{position:relative;display:block;width:auto}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error,--sd-color-error))}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-7-0-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-7-0-1-tag::part(base){border-radius:var(--sd-radius,.25rem);padding-inline:var(--sd-spacing-1,.25rem)}sd-7-0-1-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-7-0-1-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2,.5rem)}sd-7-0-1-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}.icon-color{color:rgb(var(--sd-form-control-color-icon-fill))}`],o([ur({selector:"sd-7-0-1-option"})],V.prototype,"_optionsInDefaultSlot",2),o([g("sd-7-0-1-popup")],V.prototype,"popup",2),o([g('[part="combobox"]')],V.prototype,"combobox",2),o([g('[part="display-input"]')],V.prototype,"displayInput",2),o([g(".value-input")],V.prototype,"valueInput",2),o([g('[part="listbox"]')],V.prototype,"listbox",2),o([g("#invalid-message")],V.prototype,"invalidMessage",2),o([L()],V.prototype,"deletedTagLabel",2),o([L()],V.prototype,"hasFocus",2),o([L()],V.prototype,"currentOption",2),o([L()],V.prototype,"selectedOptions",2),o([L()],V.prototype,"showValidStyle",2),o([L()],V.prototype,"showInvalidStyle",2),o([Dt()],V.prototype,"defaultValue",2),o([d({type:Boolean,reflect:!0})],V.prototype,"open",2),o([d({type:String,reflect:!0})],V.prototype,"size",2),o([d({type:String,reflect:!0})],V.prototype,"placement",2),o([d({type:String,reflect:!0})],V.prototype,"label",2),o([d({type:String,reflect:!0})],V.prototype,"placeholder",2),o([d({type:String,attribute:"max-options-tag-label",reflect:!0})],V.prototype,"maxOptionsTagLabel",2),o([d({type:Boolean,reflect:!0})],V.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],V.prototype,"visuallyDisabled",2),o([d({type:String,attribute:"help-text",reflect:!0})],V.prototype,"helpText",2),o([L()],V.prototype,"currentPlacement",2),o([d({type:Boolean,reflect:!0})],V.prototype,"clearable",2),o([d({type:Boolean,reflect:!0})],V.prototype,"multiple",2),o([d({type:Boolean,reflect:!0})],V.prototype,"useTags",2),o([d({attribute:"max-options-visible",type:Number,reflect:!0})],V.prototype,"maxOptionsVisible",2),o([d({reflect:!0})],V.prototype,"form",2),o([d({reflect:!0})],V.prototype,"name",2),o([d({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],V.prototype,"value",2),o([d({type:Boolean,reflect:!0})],V.prototype,"required",2),o([d({attribute:"floating-label",type:Boolean,reflect:!0})],V.prototype,"floatingLabel",2),o([d({type:Boolean,reflect:!0,attribute:"style-on-valid"})],V.prototype,"styleOnValid",2),o([d({type:Boolean,reflect:!0})],V.prototype,"hoist",2),o([d()],V.prototype,"getTag",2),o([C("useTags",{waitUntilFirstUpdate:!0})],V.prototype,"handleUseTagsChange",1),o([C(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],V.prototype,"handleDisabledChange",1),o([C("open",{waitUntilFirstUpdate:!0})],V.prototype,"handleOpenChange",1),o([C("size",{waitUntilFirstUpdate:!0})],V.prototype,"applySizeToOptions",1),o([C("value",{waitUntilFirstUpdate:!0})],V.prototype,"handleValueChange",1),o([C(["size","floatingLabel"])],V.prototype,"handleSizeChange",1),V=o([E("sd-7-0-1-select")],V);F("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});F("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});var Ke=class extends f{constructor(){super(...arguments);this.variant="rectangular"}render(){return p`<div part="base" aria-hidden="true" class="${c("sd-7-0-1-skeleton-color w-full h-full animate-pulse",{rectangular:"rounded-sm",circular:"rounded-full inline-block"}[this.variant])}"><slot></slot></div>`}};Ke.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
270
|
+
:host{display:block}::slotted(*){visibility:hidden}`],o([d({type:String,reflect:!0})],Ke.prototype,"variant",2),Ke=o([E("sd-7-0-1-skeleton")],Ke);var ut=class extends f{constructor(){super(...arguments);this.hasSlotController=new A(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){if(this.size==="xs"&&this.orientation!=="vertical")return console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),N;let t=this.isLink(),e=this.notInteractive||this.waiting?st`div`:t?st`a`:st`button`,i=this.hasSlotController.test("label"),a=this.label?!0:i,n=this.hasSlotController.test("[default]"),l=this.description?!0:n,h=this.horizontalInline&&this.orientation==="horizontal",u=c("flex shrink-0 gap-2 group",this.noTail&&!h&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",h&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"||this.size==="xs"?"mt-1":"mt-3"),m=c("border sd-7-0-1-step__circle-border-width rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":this.size==="xs"?"w-2":"w-12":this.size==="lg"?"w-12":this.size==="xs"?"w-2":"w-8 h-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",this.waiting&&this.size==="xs"&&"border-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&(this.size==="xs"?"border-primary":"border-neutral-400"),this.current&&"bg-accent border-none text-white"),b="flex-row items-stretch h-full w-full overflow-hidden";return q`<div role="listitem" part="base" class="${c("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":this.size==="xs"?`${b} gap-2`:`${b} gap-4`,!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${u}"><${e} part="circle" href="${$(t?this.href:void 0)}" aria-disabled="${$(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${$(this.notInteractive||this.waiting||!a?void 0:"label")}" aria-describedby="${$(this.notInteractive||this.waiting||!l?void 0:"description")}" class="${m}"><slot name="circle-content" class="${c("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"sd-7-0-1-step-color-text")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&this.size!=="xs"?q`<sd-7-0-1-icon library="sd-status-assets" name="status-check" class="${c(this.size==="sm"&&"text-sm")}"></sd-7-0-1-icon>`:this.size==="xs"?"":q`${this.index}`}</slot></${e}>${h?q`<div class="${c(!this.noTail&&"flex-1","flex flex-col gap-1")}"><div class="${c("flex w-full",a&&"gap-2",this.size==="sm"&&!l?"mt-1":"mt-3")}">${a&&q`<div part="label" id="label" class="${c("font-bold whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div>`} ${this.noTail?"":q`<div part="tail" class="${c("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary group-hover:border-primary-500":"border-neutral-400")}"></div>`}</div>${l?q`<div part="description" id="description" class="${c("sd-paragraph sd-paragraph--size-sm wrap-break-word",l?"flex-1":"w-0 h-0 overflow-hidden",l&&!this.noTail&&"pr-4",(this.disabled||this.waiting)&&"!text-neutral-700")}">${this.description||q`<slot></slot>`}</div>`:""}</div>`:this.noTail?"":q`<div part="tail" class="${c(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l grow shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary group-hover:border-primary-500":"border-neutral-400")}"></div>`}</div>${h?"":q`<div part="text-container" class="${c("wrap-break-word flex flex-col gap-2",this.size==="xs"?"-mt-1 mb-4":"mt-4",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?this.size==="xs"?"ml-0":"ml-2":"mr-4")}"><div part="label" id="label" class="${c("font-bold",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${c("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||q`<slot></slot>`}</div></div>`}</div>`}};ut.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
271
|
+
:host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-7-0-1-icon,slot[name=circle-content]::slotted(sd-7-0-1-icon){color:rgba(var(--sd-color-icon-fill-primary))}[part=circle]:hover slot[name=circle-content] sd-7-0-1-icon,[part=circle]:hover slot[name=circle-content]::slotted(sd-7-0-1-icon){color:rgba(var(--sd-color-icon-fill-primary-500))}:host([horizontal-inline]):has([part=description]){min-width:0;flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`],o([d({type:String,reflect:!0})],ut.prototype,"size",2),o([d({type:String,reflect:!0})],ut.prototype,"orientation",2),o([d({type:Boolean,reflect:!0,attribute:"horizontal-inline"})],ut.prototype,"horizontalInline",2),o([d({type:Boolean,reflect:!0})],ut.prototype,"waiting",2),o([d({type:Boolean,reflect:!0})],ut.prototype,"disabled",2),o([d({type:Boolean,reflect:!0})],ut.prototype,"current",2),o([d({reflect:!0,type:Boolean,attribute:"no-tail"})],ut.prototype,"noTail",2),o([d({type:Boolean,reflect:!0,attribute:"not-interactive"})],ut.prototype,"notInteractive",2),o([d({type:String,reflect:!0})],ut.prototype,"label",2),o([d({type:String,reflect:!0})],ut.prototype,"description",2),o([d({type:Number,reflect:!0,attribute:"index"})],ut.prototype,"index",2),o([d({type:String,reflect:!0})],ut.prototype,"href",2),o([C("current")],ut.prototype,"handleCurrentChange",1),o([C("disabled")],ut.prototype,"handleDisabledChange",1),o([C("waiting")],ut.prototype,"handleWaitingChange",1),o([C("notInteractive")],ut.prototype,"handleInteractivityChange",1),ut=o([E("sd-7-0-1-step")],ut);var Lt=class extends f{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((e,i)=>{e.index=i+1,e.size=this.size,e.orientation=this.orientation,this.notInteractive?(e.current=!1,e.disabled=!1,e.notInteractive=!0):e.current&&(t=i)}),this.activeStep!==-1&&this.setActiveStep(t||this.activeStep)})}handleActiveStepChange(){let t=Number(this.activeStep);Number.isNaN(t)||this.setActiveStep(t)}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-7-0-1-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((e,i)=>{i===t?e.current=!0:i>t?(e.waiting=!0,e.current=!1):(e.current=!1,e.waiting=!1)}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return this.size==="xs"&&this.orientation!=="vertical"?(console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),N):p`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${c("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};Lt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
272
|
+
:host{width:-moz-max-content;width:max-content}`],o([g("[part=body]")],Lt.prototype,"body",2),o([d({type:String,reflect:!0})],Lt.prototype,"size",2),o([d({type:String,reflect:!0})],Lt.prototype,"orientation",2),o([d({type:Number,reflect:!0,attribute:"active-step"})],Lt.prototype,"activeStep",2),o([d({type:Boolean,reflect:!0,attribute:"not-interactive"})],Lt.prototype,"notInteractive",2),o([d({type:String,reflect:!0})],Lt.prototype,"label",2),o([C("activeStep",{waitUntilFirstUpdate:!0})],Lt.prototype,"handleActiveStepChange",1),o([C("size",{waitUntilFirstUpdate:!0})],Lt.prototype,"updateSize",1),o([C("orientation",{waitUntilFirstUpdate:!0})],Lt.prototype,"updateOrientation",1),o([C("notInteractive")],Lt.prototype,"handleInteractivityChange",1),Lt=o([E("sd-7-0-1-step-group")],Lt);var wt=class extends f{constructor(){super(...arguments);this.hasSlotController=new A(this,"tooltip");this.formControlController=new at(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){return p`<div class="flex flex-row items-center gap-2"><label part="base" class="${c("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${$(this.value)}" .checked="${ze(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${c(`relative flex flex-initial items-center justify-center sd-7-0-1-switch-border-width rounded-full h-4 w-8 transition-colors ease duration-100
|
|
273
273
|
peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
|
|
274
|
-
peer-focus-visible:outline-primary outline-transparent transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:sd-7-0-
|
|
275
|
-
:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([disabled][checked]) #control{border-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}:host([checked]) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([disabled]:not([checked])) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],o([
|
|
276
|
-
:host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){border-bottom-color:rgba(var(--sd-color-border-neutral-400,195 195 195))}.tab-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:transparent;--tw-content:'';content:var(--tw-content)}.tab--active-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--sd-color-border-neutral-400,195 195 195));transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));--tw-content:'';content:var(--tw-content);border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0,0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([active]) [part=active-tab-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100,100%);transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}`],o([v("[part=base]")],Ot.prototype,"tab",2),o([v("[part=active-tab-indicator]")],Ot.prototype,"currentIndicator",2),o([d({type:String,reflect:!0})],Ot.prototype,"variant",2),o([d({type:Boolean,reflect:!0})],Ot.prototype,"active",2),o([d({type:Boolean,reflect:!0})],Ot.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],Ot.prototype,"visuallyDisabled",2),o([d({type:String,reflect:!0})],Ot.prototype,"panel",2),o([k("active")],Ot.prototype,"handleActiveChange",1),o([k(["disabled","visually-disabled"])],Ot.prototype,"handleDisabledChange",1),Ot=o([C("sd-7-0-0-tab")],Ot);var zt=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-7-0-0-tab"),customElements.whenDefined("sd-7-0-0-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(e=>{e.some(i=>!["aria-labelledby","aria-controls"].includes(i.attributeName))&&setTimeout(()=>this.setAriaLabels()),e.some(i=>i.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((i,a)=>{var n;i[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((n=this.activeTab)!=null?n:this.tabs[0],{emitEvents:!1}),a.unobserve(i[0].target))}).observe(this.tabGroup)})})}updated(t){!t.get("canScroll")&&this.canScroll&&this.handleScroll()}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let e=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(e.assignedElements()).map(i=>i.tagName.toLocaleLowerCase()==="sd-7-0-0-tab"?i:i.querySelector("sd-7-0-0-tab")).filter(i=>i&&t.includeDisabled?i.tagName.toLowerCase()==="sd-7-0-0-tab":i.tagName.toLowerCase()==="sd-7-0-0-tab"&&!i.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-7-0-0-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let i=t.target.closest("sd-7-0-0-tab");(i==null?void 0:i.closest("sd-7-0-0-tab-group"))===this&&i!==null&&this.setActiveTab(i,{scrollBehavior:"smooth"})}handleKeyDown(t){let i=t.target.closest("sd-7-0-0-tab");if((i==null?void 0:i.closest("sd-7-0-0-tab-group"))===this){if(["Enter"," "].includes(t.key)&&i!==null&&(this.setActiveTab(i,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let n=this.tabs.indexOf(this.getActiveTab()),l=this.tabs[n+1];i!==null&&l&&oe(l,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let n=this.tabs.indexOf(this.getActiveTab()),l=this.tabs[n-1];i!==null&&l&&oe(l,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let n=this.tabs.find(h=>h.matches(":focus")),l=this.localize.dir()==="rtl";if((n==null?void 0:n.tagName.toLowerCase())==="sd-7-0-0-tab"){let h=this.tabs.indexOf(n);t.key==="Home"?h=0:t.key==="End"?h=this.tabs.length-1:t.key===(l?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?h--:(t.key===(l?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&h++,h<0&&(h=this.tabs.length-1),h>this.tabs.length-1&&(h=0),this.tabs[h].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[h],{scrollBehavior:"smooth"}),oe(this.tabs[h],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,e){if(e=K({emitEvents:!0,scrollBehavior:"auto"},e),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let i=this.activeTab;this.activeTab=t,this.tabs.map(a=>a.active=a===this.activeTab),this.panels.map(a=>{var n;return a.active=a.name===((n=this.activeTab)==null?void 0:n.panel)}),this.repositionIndicator(),oe(this.activeTab,this.nav,"horizontal",e.scrollBehavior),e.emitEvents&&(i&&this.emit("sd-tab-hide",{detail:{name:i.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let e=this.panels.find(i=>i.name===t.panel);e&&t.setAttribute("aria-controls",e.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,e=this.indicator,i=this.tabsContainer;if(!t||!e||!i||t.variant==="container")return;let a=t.getBoundingClientRect(),n=i.getBoundingClientRect(),l=getComputedStyle(i).justifyContent==="center",h=n.left+n.width/2,u=a.left+a.width/2,m=t.offsetWidth,b=l?u-h:a.left-n.left;e.style.width=`${m}px`,e.style.transform=`translateX(${b}px)`}show(t){let e=this.tabs.find(i=>i.panel===t);e&&this.setActiveTab(e,{scrollBehavior:"smooth"})}render(){var e;let t=this.localize.dir()==="rtl";return p`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?p`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${$(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-7-0-0-icon library="_internal" name="${t?"chevron-top":"chevron-bottom"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-7-0-0-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((e=this.activeTab)==null?void 0:e.variant)!=="container"?p`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?p`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${$(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-7-0-0-icon library="_internal" name="${t?"chevron-bottom":"chevron-top"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-7-0-0-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};zt.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
277
|
-
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:0;width:0}::slotted(sd-7-0-
|
|
278
|
-
:host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],o([d({type:String,reflect:!0})],ge.prototype,"name",2),o([d({type:Boolean,reflect:!0})],ge.prototype,"active",2),o([
|
|
279
|
-
:host{display:block}::slotted(*){margin:0}::slotted([slot=headline]){margin:0;font-size:var(--sd-text-lg,1.25rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)));--tw-leading:var(--leading-normal, 1.5);line-height:var(--leading-normal,1.5);--tw-font-weight:var(--sd-font-weight-bold, 600);font-weight:var(--sd-font-weight-bold,600)}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}`],o([d({type:String,reflect:!0})],Xt.prototype,"variant",2),o([d({reflect:!0,type:Number})],Xt.prototype,"breakpoint",2),o([d({type:Boolean,reflect:!0})],Xt.prototype,"inset",2),o([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],Xt.prototype,"reversedLayout",2),o([
|
|
274
|
+
peer-focus-visible:outline-primary outline-transparent transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:sd-7-0-1-switch--checked--hover-color-background bg-accent hover:border-accent-550 group-hover:border-accent-550 group-hover:sd-7-0-1-switch--checked--hover-color-background":"sd-7-0-1-switch--unchecked-color-border bg-white hover:sd-7-0-1-switch--unchecked--hover-color-background group-hover:sd-7-0-1-switch--unchecked--hover-color-background")}"><span id="thumb" part="thumb" class="${c("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"translate-x-2":this.disabled?"-translate-x-2":this.showInvalidStyle?this.checked?"translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"translate-x-2":"-translate-x-2 sd-7-0-1-switch--unchecked__icon-color-background")}"></span> </span><span part="label" id="label" class="${c("select-none inline-block ml-2",this.disabled?"text-neutral-500":"sd-7-0-1-switch-color-text")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?p`<slot name="tooltip"></slot>`:null}</div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?p`<sd-7-0-1-icon part="invalid-icon" class="${c("text-error")}" library="_internal" name="risk"></sd-7-0-1-icon>`:""} ${this.formControlController.renderInvalidMessage("lg")}</div>`}};wt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
275
|
+
:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([disabled][checked]) #control{border-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}:host([checked]) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([disabled]:not([checked])) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],o([g("input")],wt.prototype,"input",2),o([g("#invalid-message")],wt.prototype,"invalidMessage",2),o([L()],wt.prototype,"showInvalidStyle",2),o([d({type:String,reflect:!0})],wt.prototype,"title",2),o([d({type:String,reflect:!0})],wt.prototype,"name",2),o([d()],wt.prototype,"value",2),o([d({type:Boolean,reflect:!0})],wt.prototype,"disabled",2),o([d({type:Boolean,reflect:!0})],wt.prototype,"checked",2),o([Dt("checked")],wt.prototype,"defaultChecked",2),o([d({reflect:!0})],wt.prototype,"form",2),o([d({type:Boolean,reflect:!0})],wt.prototype,"required",2),o([C("disabled",{waitUntilFirstUpdate:!0})],wt.prototype,"handleDisabledChange",1),o([C(["checked"],{waitUntilFirstUpdate:!0})],wt.prototype,"handleStateChange",1),wt=o([E("sd-7-0-1-switch")],wt);var Nd=0,Ot=class extends f{constructor(){super(...arguments);this.attrId=++Nd;this.componentId=`sd-7-0-1-tab-${this.attrId}`;this.hasSlotController=new A(this,"left");this.localize=new D(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let t=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",t?"true":"false")}focus(t){this.tab.focus(t)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let t={left:this.hasSlotController.test("left")};return p`<div part="base" class="${c("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative choice-control-font-weight","outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"?"tab-container-border bg-white rounded-[4px_4px_0_0]":"navigable-border-radius",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:sd-7-0-1-tab--hover-color-background",this.active&&"z-20 sd-7-0-1-tab--active-color-text")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${c("flex h-full items-center justify-center whitespace-nowrap")}"><slot name="left" class="${c(t.left&&"block pr-2",this.disabled||this.visuallyDisabled?"sd-7-0-1-tab--disabled-color-text":this.active?"sd-7-0-1-tab--active-color-text":"sd-7-0-1-tab-color-text")}"></slot><slot class="${c(this.disabled||this.visuallyDisabled?"sd-7-0-1-tab--disabled-color-text":this.active?"sd-7-0-1-tab--active-color-text":"sd-7-0-1-tab-color-text")}"></slot>${this.variant==="container"?p`<div part="active-tab-indicator" class="${c("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius")}"></div>`:""}<div part="hover-bottom-border" class="${c(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b sd-7-0-1-tab-color-border")}"></div></div></div>`}};Ot.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
276
|
+
:host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){border-bottom-color:rgba(var(--sd-color-border-neutral-400,195 195 195))}.tab-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:transparent;--tw-content:'';content:var(--tw-content)}.tab--active-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--sd-color-border-neutral-400,195 195 195));transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));--tw-content:'';content:var(--tw-content);border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0,0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([active]) [part=active-tab-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100,100%);transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}`],o([g("[part=base]")],Ot.prototype,"tab",2),o([g("[part=active-tab-indicator]")],Ot.prototype,"currentIndicator",2),o([d({type:String,reflect:!0})],Ot.prototype,"variant",2),o([d({type:Boolean,reflect:!0})],Ot.prototype,"active",2),o([d({type:Boolean,reflect:!0})],Ot.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],Ot.prototype,"visuallyDisabled",2),o([d({type:String,reflect:!0})],Ot.prototype,"panel",2),o([C("active")],Ot.prototype,"handleActiveChange",1),o([C(["disabled","visually-disabled"])],Ot.prototype,"handleDisabledChange",1),Ot=o([E("sd-7-0-1-tab")],Ot);var zt=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-7-0-1-tab"),customElements.whenDefined("sd-7-0-1-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(e=>{e.some(i=>!["aria-labelledby","aria-controls"].includes(i.attributeName))&&setTimeout(()=>this.setAriaLabels()),e.some(i=>i.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((i,a)=>{var n;i[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((n=this.activeTab)!=null?n:this.tabs[0],{emitEvents:!1}),a.unobserve(i[0].target))}).observe(this.tabGroup)})})}updated(t){!t.get("canScroll")&&this.canScroll&&this.handleScroll()}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let e=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(e.assignedElements()).map(i=>i.tagName.toLocaleLowerCase()==="sd-7-0-1-tab"?i:i.querySelector("sd-7-0-1-tab")).filter(i=>i&&t.includeDisabled?i.tagName.toLowerCase()==="sd-7-0-1-tab":i.tagName.toLowerCase()==="sd-7-0-1-tab"&&!i.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-7-0-1-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let i=t.target.closest("sd-7-0-1-tab");(i==null?void 0:i.closest("sd-7-0-1-tab-group"))===this&&i!==null&&this.setActiveTab(i,{scrollBehavior:"smooth"})}handleKeyDown(t){let i=t.target.closest("sd-7-0-1-tab");if((i==null?void 0:i.closest("sd-7-0-1-tab-group"))===this){if(["Enter"," "].includes(t.key)&&i!==null&&(this.setActiveTab(i,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let n=this.tabs.indexOf(this.getActiveTab()),l=this.tabs[n+1];i!==null&&l&&oe(l,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let n=this.tabs.indexOf(this.getActiveTab()),l=this.tabs[n-1];i!==null&&l&&oe(l,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let n=this.tabs.find(h=>h.matches(":focus")),l=this.localize.dir()==="rtl";if((n==null?void 0:n.tagName.toLowerCase())==="sd-7-0-1-tab"){let h=this.tabs.indexOf(n);t.key==="Home"?h=0:t.key==="End"?h=this.tabs.length-1:t.key===(l?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?h--:(t.key===(l?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&h++,h<0&&(h=this.tabs.length-1),h>this.tabs.length-1&&(h=0),this.tabs[h].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[h],{scrollBehavior:"smooth"}),oe(this.tabs[h],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,e){if(e=K({emitEvents:!0,scrollBehavior:"auto"},e),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let i=this.activeTab;this.activeTab=t,this.tabs.map(a=>a.active=a===this.activeTab),this.panels.map(a=>{var n;return a.active=a.name===((n=this.activeTab)==null?void 0:n.panel)}),this.repositionIndicator(),oe(this.activeTab,this.nav,"horizontal",e.scrollBehavior),e.emitEvents&&(i&&this.emit("sd-tab-hide",{detail:{name:i.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let e=this.panels.find(i=>i.name===t.panel);e&&t.setAttribute("aria-controls",e.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,e=this.indicator,i=this.tabsContainer;if(!t||!e||!i||t.variant==="container")return;let a=t.getBoundingClientRect(),n=i.getBoundingClientRect(),l=getComputedStyle(i).justifyContent==="center",h=n.left+n.width/2,u=a.left+a.width/2,m=t.offsetWidth,b=l?u-h:a.left-n.left;e.style.width=`${m}px`,e.style.transform=`translateX(${b}px)`}show(t){let e=this.tabs.find(i=>i.panel===t);e&&this.setActiveTab(e,{scrollBehavior:"smooth"})}render(){var e;let t=this.localize.dir()==="rtl";return p`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?p`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${$(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-7-0-1-icon library="_internal" name="${t?"chevron-top":"chevron-bottom"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-7-0-1-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((e=this.activeTab)==null?void 0:e.variant)!=="container"?p`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?p`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${$(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-7-0-1-icon library="_internal" name="${t?"chevron-bottom":"chevron-top"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-7-0-1-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};zt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
277
|
+
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:0;width:0}::slotted(sd-7-0-1-tab-panel){--padding:1rem 0}::slotted(sd-7-0-1-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}`],o([g("[part=base]")],zt.prototype,"tabGroup",2),o([g("[part=body]")],zt.prototype,"body",2),o([g("[part=scroll-container]")],zt.prototype,"nav",2),o([g("[part=active-tab-indicator]")],zt.prototype,"indicator",2),o([g('[part="tabs"]')],zt.prototype,"tabsContainer",2),o([L()],zt.prototype,"hasScrollControls",2),o([L()],zt.prototype,"variant",2),o([L()],zt.prototype,"canScroll",2),o([d({type:String,reflect:!0})],zt.prototype,"activation",2),o([Cr(20)],zt.prototype,"handleScroll",1),zt=o([E("sd-7-0-1-tab-group")],zt);var Ud=0,ge=class extends f{constructor(){super(...arguments);this.attrId=++Ud;this.componentId=`sd-7-0-1-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return p`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};ge.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
278
|
+
:host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],o([d({type:String,reflect:!0})],ge.prototype,"name",2),o([d({type:Boolean,reflect:!0})],ge.prototype,"active",2),o([C("active")],ge.prototype,"handleActiveChange",1),ge=o([E("sd-7-0-1-tab-panel")],ge);var Xt=class extends f{constructor(){super(...arguments);this.variant="white";this.breakpoint=448;this.inset=!1;this.reversedLayout=!1;this.hasSlotController=new A(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),this.breakpoint===0?this._orientation="horizontal":this.breakpoint===9999?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.updateOrientation()),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(t){super.updated(t),t.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){let t=this.variant==="white border-neutral-400"||this.inset,e={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline")};return p`<div class="${c("flex sd-7-0-1-teaser-border-radius",{white:"bg-white","white border-neutral-400":"bg-white border sd-7-0-1-teaser--neutral-400-color-border","neutral-100":"sd-7-0-1-teaser--neutral-100-color-background",primary:"bg-primary text-white","primary-100":"sd-7-0-1-teaser--primary-100-color-background"}[this.variant],this._orientation==="vertical"&&"flex-col",this._orientation==="horizontal"&&"flex-row gap-8",this._orientation==="horizontal"&&t&&"py-8 px-10")}" part="base"><div style="${this._orientation==="horizontal"?`width: var(--distribution-content, 100%); ${t?"width: var(--distribution-content, calc(100% - 2rem));":""}`:""}" class="${c("flex flex-col text-left order-2",this._orientation==="horizontal"&&"flex flex-col",this._orientation==="vertical"&&t&&"m-4")}" part="content"><div class="flex flex-col-reverse"><div part="headline" class="${c("text-lg font-bold m-0",this.variant==="primary"?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. <h2>)</slot></div><div part="meta" class="${c("gap-2 mb-4",!e["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${c(!e["teaser-has-default"]&&"hidden")}" role="group" aria-labelledby="headline"><slot></slot></div></div><div part="media" id="media" style="${this._orientation==="horizontal"?"width: var(--distribution-media, 100%);":""}" class="${c("order-1",!t&&this._orientation==="vertical"&&"mb-4",!e["teaser-has-media"]&&"hidden",this.variant==="white border-neutral-400"&&this._orientation==="vertical"&&"mx-[-1px] mt-[-1px]",this._orientation!=="vertical"&&this.reversedLayout&&"order-2")}"><slot name="media"></slot></div></div>`}};Xt.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
279
|
+
:host{display:block}::slotted(*){margin:0}::slotted([slot=headline]){margin:0;font-size:var(--sd-text-lg,1.25rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)));--tw-leading:var(--leading-normal, 1.5);line-height:var(--leading-normal,1.5);--tw-font-weight:var(--sd-font-weight-bold, 600);font-weight:var(--sd-font-weight-bold,600)}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}`],o([d({type:String,reflect:!0})],Xt.prototype,"variant",2),o([d({reflect:!0,type:Number})],Xt.prototype,"breakpoint",2),o([d({type:Boolean,reflect:!0})],Xt.prototype,"inset",2),o([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],Xt.prototype,"reversedLayout",2),o([g('[part="base"]')],Xt.prototype,"teaser",2),o([L()],Xt.prototype,"_orientation",2),Xt=o([E("sd-7-0-1-teaser")],Xt);var ve=class extends f{constructor(){super(...arguments);this.variant="white";this.open=!1;this.hasSlotController=new A(this,"[default]","media","meta","headline","expandable")}onToggleClick(){this.open=!this.open}render(){let t={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return p`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${c("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/60 to-white/0",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/60 to-primary-800/0")}"></div><div class="${c("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${c("absolute inset-0 pointer-events-none",{white:"sd-7-0-1-teaser-media--white-color-background group-hover:sd-7-0-1-teaser-media--white--hover-color-background ","neutral-100":"sd-7-0-1-teaser-media--neutral-100-color-background group-hover:sd-7-0-1-teaser-media--neutral-100--hover-color-background",primary:"bg-primary/80 text-white group-hover:bg-primary/90","primary-100":"sd-7-0-1-teaser-media--primary-100-color-background group-hover:sd-7-0-1-teaser-media--primary-100--hover-color-background","gradient-light":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.variant])}"></div><div class="relative flex flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here</slot></div><div part="meta" class="${c("gap-2 mb-2 order-1",!t["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${c(!t["teaser-has-default"]&&"hidden")}"><slot></slot></div><div class="${c("mt-3 transition-opacity duration-300",!this.open&&"hidden",this.open?"opacity-100":"opacity-0")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div>${t["teaser-has-expandable"]?p`<button part="toggle" class="${c("mt-2",["primary","gradient-dark"].includes(this.variant)?"text-white":"sd-7-0-1-teaser-media-color-icon-fill")}" @click="${this.onToggleClick}" aria-expanded="${this.open}" aria-label="${this.open?"Collapse content":"Expand content"}"><div class="h-full justify-start flex items-start"><sd-7-0-1-icon class="${c("w-6 h-6 transition-transform",this.open&&"rotate-180")}" library="_internal" name="chevron-bottom"></sd-7-0-1-icon></div></button>`:null}</div></div></div><div class="${c("mb-4 -z-10",!t["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};ve.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
280
280
|
:host{display:block}::slotted(*){margin:0}:host([variant=white]) .background:focus-within{background-color:rgba(var(--sd-color-background-white,255 255 255))}@supports (color:color-mix(in lab,red,red)){:host([variant=white]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-white,255 255 255)) var(--sd-opacity-90,90%),transparent)}}:host([variant=neutral-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-neutral-100,246 246 246))}@supports (color:color-mix(in lab,red,red)){:host([variant=neutral-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-neutral-100,246 246 246)) var(--sd-opacity-90,90%),transparent)}}:host([variant=primary]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary,0 53 142))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary,0 53 142)) var(--sd-opacity-90,90%),transparent)}}:host([variant=primary-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary-100,236 240 249)) var(--sd-opacity-90,90%),transparent)}}:host([variant=gradient-light]) .bg-gradient-to-t{--sd-color-background-white:var(--sd-informational-gradient--white-color-background, var(--sd-color-white))}:host([variant=gradient-dark]) .bg-gradient-to-t{--sd-color-background-primary-800:var(
|
|
281
281
|
--sd-informational-gradient--primary-800-color-background,
|
|
282
282
|
var(--sd-color-primary-800)
|
|
283
|
-
)}[part=toggle]{width:-moz-fit-content;width:fit-content;outline-color:transparent}:host([variant=gradient-dark]) [part=toggle]:focus-visible,:host([variant=primary]) [part=toggle]:focus-visible{outline-color:rgba(var(--sd-color-text-white))}`],o([d({type:String,reflect:!0})],ve.prototype,"variant",2),o([d({type:Boolean,reflect:!0})],ve.prototype,"open",2),o([
|
|
284
|
-
:host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([required]) #label::after{content:' *'}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],o([
|
|
285
|
-
:host{position:relative;display:inline-block;overflow:hidden}.play-pause-transition,::slotted([slot=poster]){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}#default-play-icon,::slotted([slot=play-icon]){position:absolute;top:calc(1 / 2 * 100%);left:calc(1 / 2 * 100%);--tw-translate-x:calc(calc(1 / 2 * 100%) * -1)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important;transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}:has([part=play-button]:hover) ::slotted([slot=poster]){--tw-scale-x:110%!important;--tw-scale-y:110%!important;--tw-scale-z:110%!important;scale:var(--tw-scale-x) var(--tw-scale-y)!important}[part=play-button-bg]{color:rgba(var(--sd-video--play-button-color-icon-fill));background-color:rgba(var(--sd-video--play-button-color-background))}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}`],o([v("[part=base]")],ye.prototype,"hostEl",2),o([d({type:Boolean,reflect:!0})],ye.prototype,"playing",2),o([d({type:Boolean})],ye.prototype,"isBelowBreakpoint",2),ye=o([C("sd-7-0-0-video")],ye);var Y=class extends f{constructor(){super(...arguments);this.formControlController=new at(this,{assumeInteractionOn:["sd-change"],value:t=>t.files});this.hasSlotController=new A(this,"help-text","label");this.localize=new D(this);this.userIsDragging=!1;this.showInvalidStyle=!1;this.name="";this.title="";this.defaultValue="";this.size="lg";this.label="";this.showLabel=!1;this.helpText="";this.disabled=!1;this.visuallyDisabled=!1;this.droparea=!1;this.accept="";this.styleOnValid=!1;this.multiple=!1;this.webkitdirectory=!1;this.form="";this.required=!1;this.hideValue=!1}set files(t){this.input&&(this.input.files=t)}get files(){var t,e;return(e=(t=this.input)==null?void 0:t.files)!=null?e:null}set value(t){this.input&&(this.input.value=t)}get value(){var t,e;return(e=(t=this.input)==null?void 0:t.value)!=null?e:""}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}checkValidity(){return this.input.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}firstUpdated(){this.formControlController.updateValidity()}focus(t){var e,i;if(this.droparea){(e=this.dropareaWrapper)==null||e.focus(t);return}(i=this.button)==null||i.focus(t)}blur(){var t,e;if(this.droparea){(t=this.dropareaWrapper)==null||t.blur();return}(e=this.button)==null||e.blur()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFiles(t){if(!t){this.value="";return}this.files=t}async handleTransferItems(t){if(!t)throw this.value="",new Error("No proper items found");let i=Array.from(t).map(h=>h.webkitGetAsEntry()).map(h=>this.getFilesFromEntry(h)),n=(await Promise.all(i)).flat(),l=new DataTransfer;return n.forEach(h=>l.items.add(h)),l.files}async getFilesFromEntry(t){return t?t.isFile?new Promise((e,i)=>{t.file(a=>e([a]),i)}):t.isDirectory?new Promise((e,i)=>{t.createReader().readEntries(n=>{Promise.all(n.map(l=>this.getFilesFromEntry(l))).then(l=>e(l.flat())).catch(i)})}):[]:[]}handleClick(t){if(t.preventDefault(),this.disabled||this.visuallyDisabled){t.stopPropagation();return}this.input.click()}handleDropareaKeyDown(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),this.handleClick(t))}handleChange(t){t.preventDefault(),t.stopPropagation(),this.emit("sd-input"),this.emit("sd-change")}handleDragOver(t){t.preventDefault(),t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&(this.userIsDragging=!0)}handleDragLeave(t){t.preventDefault(),t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&(this.userIsDragging=!1)}async handleDrop(t){if(t.preventDefault(),t.stopPropagation(),this.disabled||this.visuallyDisabled||!t.dataTransfer)return;let e=await this.handleTransferItems(t.dataTransfer.items);if(this.userIsDragging=!1,!!e){if(!this.multiple&&!this.webkitdirectory&&e.length>1){this.emit("sd-error");return}this.handleFiles(e),this.input.dispatchEvent(new Event("change"))}}handleFocus(){this.emit("sd-focus")}handleBlur(){this.emit("sd-blur")}renderValue(){let t=!1,e=this.localize.term("numFilesSelected",0,this.webkitdirectory,this.multiple);return this.files&&this.files.length>0&&(t=!0,e=this.files.length===1?this.files[0].name:this.localize.term("numFilesSelected",this.files.length,this.webkitdirectory,this.multiple)),p`<span id="file-status" role="status" aria-live="polite" aria-atomic="true" class="${c("input__value truncate text-sm",this.hideValue&&"sr-only",this.disabled||this.visuallyDisabled?"text-neutral-500":t?"text-black":"text-neutral-700")}" part="value">${e}</span>`}renderDroparea(){return p`<div class="${c("droparea",this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer")}" @click="${this.handleClick}" @keydown="${this.handleDropareaKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" tabindex="${this.disabled?-1:0}" role="button" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" part="droparea"><div part="droparea-background" class="${c("droparea__background relative w-full flex flex-row items-center gap-4 p-6 form-control-border-radius transition-colors ease-in-out duration-medium",this.disabled||this.visuallyDisabled?"droparea__background--disabled bg-neutral-100":this.showInvalidStyle?"droparea__background--invalid":this.userIsDragging?"bg-primary-100":"hover:bg-neutral-200")}"><svg class="droparea__border" aria-hidden="true" preserveAspectRatio="none"><rect class="droparea__border-rect" x="0.5" y="0.5" width="calc(100% - 1px)" height="calc(100% - 1px)"/></svg><div part="droparea-icon" class="${c("droparea__icon inline-flex h-18",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"><sd-7-0-0-icon class="w-full h-full" library="_internal" name="upload"></sd-7-0-0-icon></div><p part="droparea-value"><span class="${c("block text-lg font-semibold",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}">${this.localize.term(this.webkitdirectory?"folderDragDrop":this.multiple?"fileDragDropMultiple":"fileDragDrop")} </span>${this.renderValue()}</p></div></div>`}renderButton(){let t=this.localize.term("fileButtonText");return this.multiple&&(t=this.localize.term("fileButtonTextMultiple")),this.webkitdirectory&&(t=this.localize.term("folderButtonText")),p`<div part="button-wrapper" class="${c("button__wrapper flex flex-row items-center gap-4",this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-default")}"><sd-7-0-0-button class="button" @click="${this.handleClick}" ?disabled="${this.disabled}" ?visually-disabled="${this.visuallyDisabled}" part="button" size="${this.size}" variant="secondary" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" aria-invalid="${this.showInvalidStyle?"true":"false"}">${t}</sd-7-0-0-button>${this.renderValue()}</div>`}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=this.label?!0:!!t.label,i=this.helpText?!0:!!t.helpText,a=this.showLabel&&e;return p`<div @dragenter="${this.handleDragOver}" @dragleave="${this.handleDragLeave}" @dragover="${this.handleDragOver}" @drop="${this.handleDrop}" part="form-control">${e?p`<label id="form-control-label" class="${c("form-control__label text-base",a?"inline-block mb-2":"sr-only",this.disabled?"text-neutral-500":"form-control-color-text")}" for="input" part="form-control-label"><slot name="label">${this.label}</slot></label>`:null}<div class="form-control-input" part="form-control-input">${this.droparea?this.renderDroparea():this.renderButton()}</div><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm mt-2",i?"block":"hidden",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${i?"false":"true"}">${this.helpText}</slot><input accept="${this.accept}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @change="${this.handleChange}" class="input__control sr-only" capture="${$(this.capture)}" ?disabled="${this.disabled}" id="input" @invalid="${this.handleInvalid}" ?multiple="${this.multiple}" name="${$(this.name)}" ?required="${this.required}" title="${this.title}" type="file" tabindex="-1" ?webkitdirectory="${this.webkitdirectory}"></div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?p`<sd-7-0-0-icon part="invalid-icon" class="${c("text-error")}" library="_internal" name="risk"></sd-7-0-0-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};Y.styles=[...f.styles,x`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
286
|
-
:host{display:block;width:100%;text-align:left}:host([required]) .form-control__label::after{content:' *'}.input__control{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.droparea__background{--sd-droparea-border-color:rgba(var(--sd-form-control-color-border, rgba(var(--sd-color-neutral-800))))}.droparea__background--disabled{--sd-droparea-border-color:rgba(var(--sd-color-neutral-500))}.droparea__background--invalid{--sd-droparea-border-color:rgba(var(--sd-color-error))}.droparea__border{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.droparea__border-rect{fill:none;stroke:var(--sd-droparea-border-color);stroke-width:2px;stroke-dasharray:0 8px;stroke-linecap:square;vector-effect:non-scaling-stroke}`],o([L()],Y.prototype,"userIsDragging",2),o([L()],Y.prototype,"showInvalidStyle",2),o([d({type:Object})],Y.prototype,"files",1),o([d({type:String,reflect:!0})],Y.prototype,"name",2),o([d({type:String,reflect:!0})],Y.prototype,"title",2),o([d({type:String})],Y.prototype,"value",1),o([Dt()],Y.prototype,"defaultValue",2),o([d({type:String,reflect:!0})],Y.prototype,"size",2),o([d({type:String,reflect:!0})],Y.prototype,"label",2),o([d({type:Boolean,reflect:!0,attribute:"show-label"})],Y.prototype,"showLabel",2),o([d({type:String,attribute:"help-text",reflect:!0})],Y.prototype,"helpText",2),o([d({type:Boolean,reflect:!0})],Y.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],Y.prototype,"visuallyDisabled",2),o([d({type:Boolean,reflect:!0,attribute:"drop-area"})],Y.prototype,"droparea",2),o([d({type:String})],Y.prototype,"accept",2),o([d({type:Boolean,reflect:!0,attribute:"style-on-valid"})],Y.prototype,"styleOnValid",2),o([d({type:String})],Y.prototype,"capture",2),o([d({type:Boolean,reflect:!0})],Y.prototype,"multiple",2),o([d({type:Boolean,reflect:!0})],Y.prototype,"webkitdirectory",2),o([d({type:String,reflect:!0})],Y.prototype,"form",2),o([d({type:Boolean,reflect:!0})],Y.prototype,"required",2),o([d({attribute:"hide-value",type:Boolean,reflect:!0})],Y.prototype,"hideValue",2),o([
|
|
287
|
-
sd-7-0-
|
|
283
|
+
)}[part=toggle]{width:-moz-fit-content;width:fit-content;outline-color:transparent}:host([variant=gradient-dark]) [part=toggle]:focus-visible,:host([variant=primary]) [part=toggle]:focus-visible{outline-color:rgba(var(--sd-color-text-white))}`],o([d({type:String,reflect:!0})],ve.prototype,"variant",2),o([d({type:Boolean,reflect:!0})],ve.prototype,"open",2),o([g('[part="base"]')],ve.prototype,"teaserMedia",2),ve=o([E("sd-7-0-1-teaser-media")],ve);var U=class extends f{constructor(){super(...arguments);this.formControlController=new at(this);this.hasSlotController=new A(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(t){this.textarea.focus(t)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(t){if(t){typeof t.top=="number"&&(this.textarea.scrollTop=t.top),typeof t.left=="number"&&(this.textarea.scrollLeft=t.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(t,e,i="none"){this.textarea.setSelectionRange(t,e,i)}setRangeText(t,e,i,a){this.textarea.setRangeText(t,e,i,a),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var t;return(t=this.textarea)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(t){this.textarea.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,i=this.helpText?!0:!!t.helpText,a=!!t.tooltip,n=this.value!==null&&String(this.value).length>0,l=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||n),h=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",u=this.size==="sm"?"text-sm":"text-base",m={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return p`<div part="form-control" class="flex flex-col h-full text-left">${e&&!this.floatingLabel||a?p`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${c(e?"inline-block":"hidden",u,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("relative h-full w-full",this.disabled&&"cursor-not-allowed")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${c("absolute left-4 z-20 transition-all duration-200 cursor-text",u,l?"top-2 text-xs":"top-2.5 form-control-color-text")}" for="input"><span class="${c("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",l&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${c("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[h])}"></div><div part="base" class="${c("textarea h-full flex items-top form-control-border-radius group transition-colors duration-medium hover:duration-fast ease-in-out",this.floatingLabel&&"pt-6",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",h==="disabled"||h==="visuallyDisabled"?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(h)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${c("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-7-0-1-icon]:pe-8",{sm:l?"pb-1":"py-2",md:l?"pb-1":"py-2",lg:l?"pb-2":"py-2"}[this.size],this.disabled&&"cursor-not-allowed",u)}" title="${this.title}" name="${$(this.name)}" .value="${ze(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||l?$(this.placeholder):""}" minlength="${$(this.minlength)}" maxlength="${$(this.maxlength)}" rows="${$(this.rows)}" autocapitalize="${$(this.autocapitalize)}" autocorrect="${$(this.autocorrect===void 0?void 0:this.autocorrect?"on":"off")}" ?autofocus="${this.autofocus}" spellcheck="${$(this.spellcheck)}" enterkeyhint="${$(this.enterkeyhint)}" inputmode="${$(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?p`<sd-7-0-1-icon class="${c("text-error absolute right-4 pointer-events-none",m)}" library="_internal" name="risk" part="invalid-icon"></sd-7-0-1-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-7-0-1-icon class="${c("text-success absolute right-4 pointer-events-none",m)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-1-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm mt-1",i&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!i||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};U.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
284
|
+
:host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([required]) #label::after{content:' *'}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],o([g("#input")],U.prototype,"textarea",2),o([g("#invalid-message")],U.prototype,"invalidMessage",2),o([L()],U.prototype,"hasFocus",2),o([L()],U.prototype,"showValidStyle",2),o([L()],U.prototype,"showInvalidStyle",2),o([d({type:String,reflect:!0})],U.prototype,"title",2),o([d({type:String,reflect:!0})],U.prototype,"name",2),o([d()],U.prototype,"value",2),o([d({type:String,reflect:!0})],U.prototype,"size",2),o([d({type:String,reflect:!0})],U.prototype,"label",2),o([d({type:String,attribute:"help-text",reflect:!0})],U.prototype,"helpText",2),o([d({type:String,reflect:!0})],U.prototype,"placeholder",2),o([d({type:Number,reflect:!0})],U.prototype,"rows",2),o([d({type:Boolean,reflect:!0})],U.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],U.prototype,"visuallyDisabled",2),o([d({type:Boolean,reflect:!0})],U.prototype,"readonly",2),o([d({type:String,reflect:!0})],U.prototype,"form",2),o([d({type:Boolean,reflect:!0})],U.prototype,"required",2),o([d({attribute:"floating-label",type:Boolean,reflect:!0})],U.prototype,"floatingLabel",2),o([d({type:Number,reflect:!0})],U.prototype,"minlength",2),o([d({type:Number,reflect:!0})],U.prototype,"maxlength",2),o([d({type:String,reflect:!0})],U.prototype,"autocapitalize",2),o([d({type:Boolean,reflect:!0,converter:{fromAttribute:t=>t!=="off",toAttribute:t=>t?"on":"off"}})],U.prototype,"autocorrect",2),o([d({reflect:!0})],U.prototype,"autocomplete",2),o([d({type:Boolean,reflect:!0})],U.prototype,"autofocus",2),o([d({type:String,reflect:!0})],U.prototype,"enterkeyhint",2),o([d({type:Boolean,reflect:!0,attribute:"style-on-valid"})],U.prototype,"styleOnValid",2),o([d({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],U.prototype,"spellcheck",2),o([d({type:String,reflect:!0})],U.prototype,"inputmode",2),o([Dt()],U.prototype,"defaultValue",2),o([C("disabled",{waitUntilFirstUpdate:!0})],U.prototype,"handleDisabledChange",1),o([C("rows",{waitUntilFirstUpdate:!0})],U.prototype,"handleRowsChange",1),o([C("value",{waitUntilFirstUpdate:!0})],U.prototype,"handleValueChange",1),o([C(["size","floatingLabel"])],U.prototype,"handleSizeChange",1),U=o([E("sd-7-0-1-textarea")],U);var ye=class extends f{constructor(){super(...arguments);this.localize=new D(this);this.playing=!1;this.isBelowBreakpoint=!1;this.hasSlotController=new A(this,"[default]","play-icon","poster")}get poster(){let t=this.shadowRoot.querySelector("slot[name=poster]");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}get video(){return this.querySelector("video")}async hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-medium",300))),this.poster.style.display="none")}setVideoInert(t){var e,i;t?(e=this.video)==null||e.setAttribute("inert",""):(i=this.video)==null||i.removeAttribute("inert")}play(){var t;this.emit("sd-play"),this.playing=!0,(t=this.video)==null||t.play(),this.hidePoster(),this.setVideoInert(!1)}handleKeydown(t){t instanceof KeyboardEvent&&(t.key==="Enter"||t.key===" ")&&(this.play(),setTimeout(()=>{var e;(e=this.video)==null||e.focus()}))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.setVideoInert(!0),this.resizeObserver=new ResizeObserver(()=>this.handleButtonResize()),this.updateComplete.then(()=>{this.resizeObserver.observe(this.hostEl)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return p`<div part="base" class="cursor-pointer"><button part="play-button" aria-label="${this.localize.term("playVideo")}" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${c(this.playing&&"pointer-events-none","group w-full h-full absolute top-0 left-0 z-30 sd-interactive outline-hidden focus-visible:focus-outline")}"><div part="play-button-bg" class="${c(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white/75 rounded-full play-pause-transition group-focus-visible:outline-2 group-focus-visible:outline-offset-2")}"><slot name="play-icon" part="play-icon" class="${c(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-7-0-1-icon id="default-play-icon" library="_internal" name="play"></sd-7-0-1-icon></slot></div></button> ${this.hasSlotController.test("poster")?p`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>`:null}<slot></slot></div>`}};ye.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
285
|
+
:host{position:relative;display:inline-block;overflow:hidden}.play-pause-transition,::slotted([slot=poster]){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}#default-play-icon,::slotted([slot=play-icon]){position:absolute;top:calc(1 / 2 * 100%);left:calc(1 / 2 * 100%);--tw-translate-x:calc(calc(1 / 2 * 100%) * -1)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important;transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}:has([part=play-button]:hover) ::slotted([slot=poster]){--tw-scale-x:110%!important;--tw-scale-y:110%!important;--tw-scale-z:110%!important;scale:var(--tw-scale-x) var(--tw-scale-y)!important}[part=play-button-bg]{color:rgba(var(--sd-video--play-button-color-icon-fill));background-color:rgba(var(--sd-video--play-button-color-background))}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}`],o([g("[part=base]")],ye.prototype,"hostEl",2),o([d({type:Boolean,reflect:!0})],ye.prototype,"playing",2),o([d({type:Boolean})],ye.prototype,"isBelowBreakpoint",2),ye=o([E("sd-7-0-1-video")],ye);var Y=class extends f{constructor(){super(...arguments);this.formControlController=new at(this,{assumeInteractionOn:["sd-change"],value:t=>t.files});this.hasSlotController=new A(this,"help-text","label");this.localize=new D(this);this.userIsDragging=!1;this.showInvalidStyle=!1;this.name="";this.title="";this.defaultValue="";this.size="lg";this.label="";this.showLabel=!1;this.helpText="";this.disabled=!1;this.visuallyDisabled=!1;this.droparea=!1;this.accept="";this.styleOnValid=!1;this.multiple=!1;this.webkitdirectory=!1;this.form="";this.required=!1;this.hideValue=!1}set files(t){this.input&&(this.input.files=t)}get files(){var t,e;return(e=(t=this.input)==null?void 0:t.files)!=null?e:null}set value(t){this.input&&(this.input.value=t)}get value(){var t,e;return(e=(t=this.input)==null?void 0:t.value)!=null?e:""}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}checkValidity(){return this.input.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}firstUpdated(){this.formControlController.updateValidity()}focus(t){var e,i;if(this.droparea){(e=this.dropareaWrapper)==null||e.focus(t);return}(i=this.button)==null||i.focus(t)}blur(){var t,e;if(this.droparea){(t=this.dropareaWrapper)==null||t.blur();return}(e=this.button)==null||e.blur()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFiles(t){if(!t){this.value="";return}this.files=t}async handleTransferItems(t){if(!t)throw this.value="",new Error("No proper items found");let i=Array.from(t).map(h=>h.webkitGetAsEntry()).map(h=>this.getFilesFromEntry(h)),n=(await Promise.all(i)).flat(),l=new DataTransfer;return n.forEach(h=>l.items.add(h)),l.files}async getFilesFromEntry(t){return t?t.isFile?new Promise((e,i)=>{t.file(a=>e([a]),i)}):t.isDirectory?new Promise((e,i)=>{t.createReader().readEntries(n=>{Promise.all(n.map(l=>this.getFilesFromEntry(l))).then(l=>e(l.flat())).catch(i)})}):[]:[]}handleClick(t){if(t.preventDefault(),this.disabled||this.visuallyDisabled){t.stopPropagation();return}this.input.click()}handleDropareaKeyDown(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),this.handleClick(t))}handleChange(t){t.preventDefault(),t.stopPropagation(),this.emit("sd-input"),this.emit("sd-change")}handleDragOver(t){t.preventDefault(),t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&(this.userIsDragging=!0)}handleDragLeave(t){t.preventDefault(),t.stopPropagation(),!(this.disabled||this.visuallyDisabled)&&(this.userIsDragging=!1)}async handleDrop(t){if(t.preventDefault(),t.stopPropagation(),this.disabled||this.visuallyDisabled||!t.dataTransfer)return;let e=await this.handleTransferItems(t.dataTransfer.items);if(this.userIsDragging=!1,!!e){if(!this.multiple&&!this.webkitdirectory&&e.length>1){this.emit("sd-error");return}this.handleFiles(e),this.input.dispatchEvent(new Event("change"))}}handleFocus(){this.emit("sd-focus")}handleBlur(){this.emit("sd-blur")}renderValue(){let t=!1,e=this.localize.term("numFilesSelected",0,this.webkitdirectory,this.multiple);return this.files&&this.files.length>0&&(t=!0,e=this.files.length===1?this.files[0].name:this.localize.term("numFilesSelected",this.files.length,this.webkitdirectory,this.multiple)),p`<span id="file-status" role="status" aria-live="polite" aria-atomic="true" class="${c("input__value truncate text-sm",this.hideValue&&"sr-only",this.disabled||this.visuallyDisabled?"text-neutral-500":t?"text-black":"text-neutral-700")}" part="value">${e}</span>`}renderDroparea(){return p`<div class="${c("droparea",this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer")}" @click="${this.handleClick}" @keydown="${this.handleDropareaKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" tabindex="${this.disabled?-1:0}" role="button" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" part="droparea"><div part="droparea-background" class="${c("droparea__background relative w-full flex flex-row items-center gap-4 p-6 form-control-border-radius transition-colors ease-in-out duration-medium",this.disabled||this.visuallyDisabled?"droparea__background--disabled bg-neutral-100":this.showInvalidStyle?"droparea__background--invalid":this.userIsDragging?"bg-primary-100":"hover:bg-neutral-200")}"><svg class="droparea__border" aria-hidden="true" preserveAspectRatio="none"><rect class="droparea__border-rect" x="0.5" y="0.5" width="calc(100% - 1px)" height="calc(100% - 1px)"/></svg><div part="droparea-icon" class="${c("droparea__icon inline-flex h-18",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"><sd-7-0-1-icon class="w-full h-full" library="_internal" name="upload"></sd-7-0-1-icon></div><p part="droparea-value"><span class="${c("block text-lg font-semibold",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}">${this.localize.term(this.webkitdirectory?"folderDragDrop":this.multiple?"fileDragDropMultiple":"fileDragDrop")} </span>${this.renderValue()}</p></div></div>`}renderButton(){let t=this.localize.term("fileButtonText");return this.multiple&&(t=this.localize.term("fileButtonTextMultiple")),this.webkitdirectory&&(t=this.localize.term("folderButtonText")),p`<div part="button-wrapper" class="${c("button__wrapper flex flex-row items-center gap-4",this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-default")}"><sd-7-0-1-button class="button" @click="${this.handleClick}" ?disabled="${this.disabled}" ?visually-disabled="${this.visuallyDisabled}" part="button" size="${this.size}" variant="secondary" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" aria-invalid="${this.showInvalidStyle?"true":"false"}">${t}</sd-7-0-1-button>${this.renderValue()}</div>`}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=this.label?!0:!!t.label,i=this.helpText?!0:!!t.helpText,a=this.showLabel&&e;return p`<div @dragenter="${this.handleDragOver}" @dragleave="${this.handleDragLeave}" @dragover="${this.handleDragOver}" @drop="${this.handleDrop}" part="form-control">${e?p`<label id="form-control-label" class="${c("form-control__label text-base",a?"inline-block mb-2":"sr-only",this.disabled?"text-neutral-500":"form-control-color-text")}" for="input" part="form-control-label"><slot name="label">${this.label}</slot></label>`:null}<div class="form-control-input" part="form-control-input">${this.droparea?this.renderDroparea():this.renderButton()}</div><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm mt-2",i?"block":"hidden",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${i?"false":"true"}">${this.helpText}</slot><input accept="${this.accept}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @change="${this.handleChange}" class="input__control sr-only" capture="${$(this.capture)}" ?disabled="${this.disabled}" id="input" @invalid="${this.handleInvalid}" ?multiple="${this.multiple}" name="${$(this.name)}" ?required="${this.required}" title="${this.title}" type="file" tabindex="-1" ?webkitdirectory="${this.webkitdirectory}"></div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?p`<sd-7-0-1-icon part="invalid-icon" class="${c("text-error")}" library="_internal" name="risk"></sd-7-0-1-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};Y.styles=[...f.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
286
|
+
:host{display:block;width:100%;text-align:left}:host([required]) .form-control__label::after{content:' *'}.input__control{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.droparea__background{--sd-droparea-border-color:rgba(var(--sd-form-control-color-border, rgba(var(--sd-color-neutral-800))))}.droparea__background--disabled{--sd-droparea-border-color:rgba(var(--sd-color-neutral-500))}.droparea__background--invalid{--sd-droparea-border-color:rgba(var(--sd-color-error))}.droparea__border{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.droparea__border-rect{fill:none;stroke:var(--sd-droparea-border-color);stroke-width:2px;stroke-dasharray:0 8px;stroke-linecap:square;vector-effect:non-scaling-stroke}`],o([L()],Y.prototype,"userIsDragging",2),o([L()],Y.prototype,"showInvalidStyle",2),o([d({type:Object})],Y.prototype,"files",1),o([d({type:String,reflect:!0})],Y.prototype,"name",2),o([d({type:String,reflect:!0})],Y.prototype,"title",2),o([d({type:String})],Y.prototype,"value",1),o([Dt()],Y.prototype,"defaultValue",2),o([d({type:String,reflect:!0})],Y.prototype,"size",2),o([d({type:String,reflect:!0})],Y.prototype,"label",2),o([d({type:Boolean,reflect:!0,attribute:"show-label"})],Y.prototype,"showLabel",2),o([d({type:String,attribute:"help-text",reflect:!0})],Y.prototype,"helpText",2),o([d({type:Boolean,reflect:!0})],Y.prototype,"disabled",2),o([d({type:Boolean,reflect:!0,attribute:"visually-disabled"})],Y.prototype,"visuallyDisabled",2),o([d({type:Boolean,reflect:!0,attribute:"drop-area"})],Y.prototype,"droparea",2),o([d({type:String})],Y.prototype,"accept",2),o([d({type:Boolean,reflect:!0,attribute:"style-on-valid"})],Y.prototype,"styleOnValid",2),o([d({type:String})],Y.prototype,"capture",2),o([d({type:Boolean,reflect:!0})],Y.prototype,"multiple",2),o([d({type:Boolean,reflect:!0})],Y.prototype,"webkitdirectory",2),o([d({type:String,reflect:!0})],Y.prototype,"form",2),o([d({type:Boolean,reflect:!0})],Y.prototype,"required",2),o([d({attribute:"hide-value",type:Boolean,reflect:!0})],Y.prototype,"hideValue",2),o([g(".input__control")],Y.prototype,"input",2),o([g(".button")],Y.prototype,"button",2),o([g(".droparea")],Y.prototype,"dropareaWrapper",2),o([g("#invalid-message")],Y.prototype,"invalidMessage",2),o([C("disabled",{waitUntilFirstUpdate:!0})],Y.prototype,"handleDisabledChange",1),o([C("value",{waitUntilFirstUpdate:!0})],Y.prototype,"handleValueChange",1),Y=o([E("sd-7-0-1-file-selector")],Y);function i3(s,{setValueOnSelection:r,scrollSelectionIntoView:t}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){let e=s?typeof s=="string"?document.querySelector(s):s:document.querySelector("#autoComplete"),i=e.shadowRoot.querySelector("input"),a=n=>n[0];return i.addEventListener("init",()=>{var m,b;let n=(m=e.shadowRoot)==null?void 0:m.querySelector("ul");n==null||n.setAttribute("part","listbox");let l=document.createElement("sd-7-0-1-popup");l.appendChild(n),(b=e.shadowRoot)==null||b.appendChild(l),l==null||l.setAttribute("exportparts","popup__content"),l&&(l.active=!1,l.autoSize="vertical",l.autoSizePadding=16,l.placement="bottom-start",l.anchor=e,l.sync="width");let h=a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
287
|
+
sd-7-0-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius,.25rem);border-bottom-left-radius:var(--sd-radius,.25rem);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2,.125rem);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary,0 53 142));background-color:rgba(var(--sd-color-background-white,255 255 255));padding-inline:var(--sd-spacing-2,.5rem);padding-block:var(--sd-spacing-3,.75rem);--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-7-0-1-popup li{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms))}sd-7-0-1-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100,246 246 246))}sd-7-0-1-popup li{list-style-type:''}sd-7-0-1-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold, 600);font-weight:var(--sd-font-weight-bold,600)}sd-7-0-1-popup li:not(:has(sd-7-0-1-option)){cursor:pointer;padding-inline:var(--sd-spacing-4,1rem);padding-block:var(--sd-spacing-3,.75rem);font-size:var(--sd-text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black,24 24 24))}sd-7-0-1-popup li:not(:has(sd-7-0-1-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200,233 233 233))}sd-7-0-1-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200,233 233 233))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`,u=new CSSStyleSheet;u.replaceSync(h),e.shadowRoot.adoptedStyleSheets=[...e.shadowRoot.adoptedStyleSheets,u]}),r&&i.addEventListener("selection",n=>{var l;e.value=(l=n==null?void 0:n.detail)==null?void 0:l.selection.value}),i.addEventListener("open",()=>{var n,l,h,u,m,b;(l=(n=e.shadowRoot)==null?void 0:n.querySelector("sd-7-0-1-popup"))==null||l.setAttribute("active","true"),(u=(h=e.shadowRoot)==null?void 0:h.querySelector('[part="border"]'))==null||u.classList.add("rounded-b-none"),(b=(m=e.shadowRoot)==null?void 0:m.querySelector('[part="form-control"]'))==null||b.classList.add("z-50")}),i.addEventListener("close",()=>{var n,l,h,u,m,b;(l=(n=e.shadowRoot)==null?void 0:n.querySelector("sd-7-0-1-popup"))==null||l.removeAttribute("active"),(u=(h=e.shadowRoot)==null?void 0:h.querySelector('[part="border"]'))==null||u.classList.remove("rounded-b-none"),(b=(m=e.shadowRoot)==null?void 0:m.querySelector('[part="form-control"]'))==null||b.classList.remove("z-50")}),t&&i.addEventListener("navigate",()=>{let n=e.shadowRoot.querySelector('[aria-selected="true"]');n==null||n.scrollIntoView({block:"nearest"})}),{config:{selector:()=>i,resultsList:{tag:"ul"},wrapper:!1}}}export{D as LocalizeController,Pt as SdAccordion,Ce as SdAccordionGroup,dt as SdAnimation,mt as SdAudio,ue as SdBadge,ee as SdBrandshape,Ft as SdBreadcrumb,Gt as SdBreadcrumbItem,G as SdButton,X as SdCarousel,Le as SdCarouselItem,ct as SdCheckbox,Wt as SdCheckboxGroup,S as SdCombobox,_ as SdDatepicker,Rt as SdDialog,Me as SdDivider,St as SdDrawer,ft as SdDropdown,Yt as SdExpandable,Y as SdFileSelector,Bt as SdFlipcard,ae as SdHeader,It as SdIcon,ne as SdInclude,P as SdInput,Ht as SdLink,Pe as SdLoader,Nt as SdMapMarker,Be as SdMenu,Tt as SdMenuItem,ht as SdNavigationItem,Et as SdNotification,le as SdOptgroup,kt as SdOption,J as SdPopup,Ut as SdProgressBar,Ne as SdQuickfact,$t as SdRadio,At as SdRadioButton,nt as SdRadioGroup,lt as SdRange,qe as SdRangeTick,bt as SdScrollable,V as SdSelect,Ke as SdSkeleton,ut as SdStep,Lt as SdStepGroup,wt as SdSwitch,Ot as SdTab,zt as SdTabGroup,ge as SdTabPanel,_t as SdTag,Xt as SdTeaser,ve as SdTeaserMedia,U as SdTextarea,sr as SdThemeListener,vt as SdTooltip,ye as SdVideo,tn as registerIconLibrary,i3 as setupAutocomplete,po as unregisterIconLibrary};
|
|
288
288
|
/*! Bundled license information:
|
|
289
289
|
|
|
290
290
|
@lit/reactive-element/css-tag.js:
|