@luzmo/lucero 0.0.4 → 0.0.6
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/components/accordion/accordion-item.d.ts +24 -0
- package/components/accordion/accordion.d.ts +42 -0
- package/components/accordion/index.cjs +43 -0
- package/components/accordion/index.d.ts +10 -0
- package/{lib → components}/accordion/index.js +10 -11
- package/components/action-bar/action-bar.d.ts +42 -0
- package/components/action-bar/index.cjs +39 -0
- package/components/action-bar/index.d.ts +7 -0
- package/{lib → components}/action-bar/index.js +9 -10
- package/components/action-button/action-button.d.ts +81 -0
- package/components/action-button/index.cjs +24 -0
- package/components/action-button/index.d.ts +7 -0
- package/{lib → components}/action-button/index.js +6 -7
- package/components/action-group/action-group.d.ts +50 -0
- package/{lib → components}/action-group/index.cjs +1 -1
- package/components/action-group/index.d.ts +7 -0
- package/{lib → components}/action-group/index.js +1 -1
- package/{lib/action-group-BoIH8s8R.js → components/action-group-B7oQXv30.js} +11 -12
- package/components/action-group-C8YUQzt8.cjs +20 -0
- package/components/action-menu/action-menu.d.ts +40 -0
- package/{lib → components}/action-menu/index.cjs +5 -5
- package/components/action-menu/index.d.ts +7 -0
- package/{lib → components}/action-menu/index.js +10 -11
- package/{lib/async-directive-FGzMycjH.js → components/async-directive-BhRGSTWB.js} +1 -1
- package/{lib/async-directive-CV2MII86.cjs → components/async-directive-_65ULPLK.cjs} +1 -1
- package/components/avatar/avatar.d.ts +31 -0
- package/components/avatar/index.cjs +24 -0
- package/components/avatar/index.d.ts +7 -0
- package/{lib → components}/avatar/index.js +13 -14
- package/components/base-CxUap9HL.js +665 -0
- package/components/base-rtxi7uaR.cjs +40 -0
- package/components/button/button-base.d.ts +44 -0
- package/components/button/button.d.ts +59 -0
- package/components/button/clear-button.d.ts +22 -0
- package/components/button/close-button.d.ts +24 -0
- package/components/button/index.cjs +20 -0
- package/components/button/index.d.ts +13 -0
- package/{lib → components}/button/index.js +11 -12
- package/{lib/button-base-DgtT6sU5.js → components/button-base-CgrTYVgq.js} +11 -12
- package/components/button-base-DjqSZyn2.cjs +25 -0
- package/components/button-group/button-group.d.ts +19 -0
- package/components/button-group/index.cjs +18 -0
- package/components/button-group/index.d.ts +7 -0
- package/{lib → components}/button-group/index.js +7 -8
- package/components/checkbox/checkbox-base.d.ts +9 -0
- package/components/checkbox/checkbox-mixin.d.ts +14 -0
- package/components/checkbox/checkbox.d.ts +54 -0
- package/components/checkbox/index.cjs +25 -0
- package/components/checkbox/index.d.ts +7 -0
- package/{lib → components}/checkbox/index.js +5 -6
- package/{lib/checkbox-mixin-DegQlk5C.js → components/checkbox-mixin-BRluTF9s.js} +15 -16
- package/{lib/checkbox-mixin-H0Hm-VLk.cjs → components/checkbox-mixin-iB-0ivgo.cjs} +3 -3
- package/{lib/clear-button-Ap5H3UyH.js → components/clear-button-CyLF5dx_.js} +6 -7
- package/components/clear-button-DFXE6MLx.cjs +18 -0
- package/components/close-button-CcD-aVqh.cjs +18 -0
- package/{lib/close-button-CGISEF33.js → components/close-button-CzpdWCWI.js} +8 -9
- package/components/color-area/color-area.d.ts +67 -0
- package/components/color-area/index.cjs +80 -0
- package/components/color-area/index.d.ts +7 -0
- package/{lib → components}/color-area/index.js +9 -10
- package/components/color-field/color-field.d.ts +20 -0
- package/components/color-field/index.cjs +23 -0
- package/components/color-field/index.d.ts +7 -0
- package/{lib → components}/color-field/index.js +2 -3
- package/components/color-handle/color-handle.d.ts +13 -0
- package/components/color-handle/index.cjs +24 -0
- package/components/color-handle/index.d.ts +7 -0
- package/{lib → components}/color-handle/index.js +2 -3
- package/components/color-loupe/color-loupe.d.ts +7 -0
- package/{lib → components}/color-loupe/index.cjs +1 -1
- package/components/color-loupe/index.d.ts +7 -0
- package/{lib → components}/color-loupe/index.js +1 -1
- package/components/color-loupe-BN3k1ACF.cjs +56 -0
- package/{lib/color-loupe-DBEApMDT.js → components/color-loupe-CD-dhmB1.js} +3 -4
- package/components/color-menu/color-menu.d.ts +54 -0
- package/components/color-menu/index.cjs +86 -0
- package/components/color-menu/index.d.ts +7 -0
- package/{lib → components}/color-menu/index.js +9 -10
- package/components/color-picker/color-picker.d.ts +39 -0
- package/components/color-picker/index.cjs +48 -0
- package/components/color-picker/index.d.ts +7 -0
- package/{lib → components}/color-picker/index.js +33 -34
- package/components/color-slider/color-slider.d.ts +57 -0
- package/components/color-slider/index.cjs +57 -0
- package/components/color-slider/index.d.ts +7 -0
- package/{lib → components}/color-slider/index.js +5 -6
- package/{lib/directive-helpers-C2vOfhFx.cjs → components/directive-helpers-C3pAxRR3.cjs} +1 -1
- package/{lib/directive-helpers-BLDZnGQv.js → components/directive-helpers-D0vm0gvF.js} +1 -1
- package/components/divider/divider.d.ts +24 -0
- package/components/divider/index.cjs +18 -0
- package/components/divider/index.d.ts +7 -0
- package/{lib → components}/divider/index.js +5 -6
- package/components/field-group/field-group.d.ts +24 -0
- package/{lib → components}/field-group/index.cjs +1 -1
- package/components/field-group/index.d.ts +7 -0
- package/{lib → components}/field-group/index.js +1 -1
- package/{lib/field-group-CBWafIUV.js → components/field-group-DAImvhSF.js} +2 -3
- package/components/field-group-d5Hkb8UW.cjs +23 -0
- package/components/field-label/field-label.d.ts +50 -0
- package/{lib → components}/field-label/index.cjs +1 -1
- package/components/field-label/index.d.ts +7 -0
- package/{lib → components}/field-label/index.js +1 -1
- package/components/field-label-D1zKXSG6.cjs +25 -0
- package/{lib/field-label-BK_tk8vP.js → components/field-label-DY9iRmRI.js} +14 -15
- package/{lib/focusable-DbUg-3Vp.js → components/focusable-Bze9xE25.js} +1 -1
- package/{lib/focusable-Dv_6CFaY.cjs → components/focusable-DyyBr-J-.cjs} +1 -1
- package/components/icon/icon-base.d.ts +11 -0
- package/components/icon/icon.d.ts +12 -0
- package/components/icon/index.cjs +18 -0
- package/components/icon/index.d.ts +7 -0
- package/{lib → components}/icon/index.js +4 -5
- package/{lib/if-defined-Cv6xanXh.cjs → components/if-defined-C-8FyBSN.cjs} +2 -2
- package/{lib/if-defined-CYpcjGCb.js → components/if-defined-XzWkhMhg.js} +1 -1
- package/{lib/index-yNcLzjhM.cjs → components/index-CNtoBntg.cjs} +15 -15
- package/{lib/index-ovT-qVzf.js → components/index-Ci6Jnhu4.js} +8 -9
- package/components/index.cjs +27 -0
- package/{lib/legend-position → components}/index.js +150 -28
- package/components/infield-button/index.cjs +22 -0
- package/components/infield-button/index.d.ts +7 -0
- package/{lib → components}/infield-button/index.js +3 -4
- package/components/infield-button/infield-button.d.ts +25 -0
- package/components/label/index.cjs +18 -0
- package/components/label/index.d.ts +7 -0
- package/{lib → components}/label/index.js +1 -2
- package/components/label/label.d.ts +7 -0
- package/components/legend-position/index.d.ts +7 -0
- package/components/legend-position/legend-position.d.ts +10 -0
- package/{lib/like-anchor-K8W0QYwC.cjs → components/like-anchor-DKuw8fJA.cjs} +4 -4
- package/{lib/like-anchor-cDeGGeHh.js → components/like-anchor-DnsAwo_O.js} +8 -9
- package/{lib/manage-help-text-2mSEy-AD.js → components/manage-help-text-B-FXFXgT.js} +8 -8
- package/{lib/manage-help-text-iOk-zmy8.cjs → components/manage-help-text-I5aYDAKT.cjs} +3 -3
- package/{lib → components}/menu/index.cjs +1 -1
- package/components/menu/index.d.ts +16 -0
- package/{lib → components}/menu/index.js +1 -1
- package/components/menu/menu-divider.d.ts +14 -0
- package/components/menu/menu-group.d.ts +17 -0
- package/components/menu/menu-item.d.ts +125 -0
- package/components/menu/menu.d.ts +119 -0
- package/components/multi-language-field/index.cjs +39 -0
- package/components/multi-language-field/index.d.ts +7 -0
- package/{lib → components}/multi-language-field/index.js +6 -7
- package/components/multi-language-field/multi-language-field.d.ts +41 -0
- package/components/number-field/index.cjs +57 -0
- package/components/number-field/index.d.ts +7 -0
- package/{lib → components}/number-field/index.js +23 -24
- package/components/number-field/number-field.d.ts +113 -0
- package/{lib/observe-slot-text-BmsCNJig.cjs → components/observe-slot-text-DeSKIzvP.cjs} +1 -1
- package/{lib/observe-slot-text-BoFRF-VI.js → components/observe-slot-text-DrM71me1.js} +1 -1
- package/components/overlay/abstract-overlay.d.ts +72 -0
- package/components/overlay/click-controller.d.ts +14 -0
- package/components/overlay/events.d.ts +23 -0
- package/components/overlay/full-size-plugin.d.ts +12 -0
- package/components/overlay/hover-controller.d.ts +20 -0
- package/components/overlay/index.cjs +73 -0
- package/components/overlay/index.d.ts +22 -0
- package/{lib → components}/overlay/index.js +53 -36
- package/components/overlay/interaction-controller.d.ts +38 -0
- package/components/overlay/loader.d.ts +4 -0
- package/components/overlay/longpress-controller.d.ts +21 -0
- package/components/overlay/overlay-dialog.d.ts +4 -0
- package/components/overlay/overlay-events.d.ts +11 -0
- package/components/overlay/overlay-no-popover.d.ts +4 -0
- package/components/overlay/overlay-popover.d.ts +4 -0
- package/components/overlay/overlay-stack.d.ts +44 -0
- package/components/overlay/overlay-timer.d.ts +21 -0
- package/components/overlay/overlay-trigger-directive.d.ts +26 -0
- package/components/overlay/overlay-trigger.d.ts +53 -0
- package/components/overlay/overlay-types.d.ts +50 -0
- package/components/overlay/overlay.d.ts +464 -0
- package/components/overlay/placement-controller.d.ts +157 -0
- package/components/overlay/slottable-request-directive.d.ts +17 -0
- package/components/overlay/slottable-request-event.d.ts +12 -0
- package/components/overlay/strategies.d.ts +8 -0
- package/components/overlay/virtual-trigger.d.ts +7 -0
- package/{lib/overlay-C7QKFqRc.js → components/overlay-C2Cck0Az.js} +53 -43
- package/components/overlay-dn6Xe_vz.cjs +47 -0
- package/{lib/pending-state-D5KTK4_1.js → components/pending-state--XOfTjzE.js} +2 -2
- package/{lib/pending-state-Dbc2HIM2.cjs → components/pending-state-BeJ7iP-O.cjs} +2 -2
- package/components/picker/desktop-controller.d.ts +7 -0
- package/{lib → components}/picker/index.cjs +1 -1
- package/components/picker/index.d.ts +7 -0
- package/{lib → components}/picker/index.js +2 -2
- package/components/picker/interaction-controller.d.ts +43 -0
- package/components/picker/mobile-controller.d.ts +9 -0
- package/components/picker/picker.d.ts +154 -0
- package/components/picker/strategies.d.ts +6 -0
- package/components/picker-8cOc-jjh.cjs +127 -0
- package/components/picker-BZAWrSDk.js +655 -0
- package/{lib → components}/popover/index.cjs +1 -1
- package/components/popover/index.d.ts +7 -0
- package/{lib → components}/popover/index.js +1 -1
- package/components/popover/popover.d.ts +29 -0
- package/components/popover-CCzs4VH8.cjs +30 -0
- package/{lib/popover-ZRVxogyp.js → components/popover-D0EliN0L.js} +7 -8
- package/{lib → components}/progress-circle/index.cjs +1 -1
- package/components/progress-circle/index.d.ts +7 -0
- package/{lib → components}/progress-circle/index.js +1 -1
- package/components/progress-circle/progress-circle.d.ts +35 -0
- package/components/progress-circle-DYSSkjlY.cjs +33 -0
- package/{lib/progress-circle-DpXiqW6a.js → components/progress-circle-_-9sAlMM.js} +5 -6
- package/components/radio/index.cjs +22 -0
- package/components/radio/index.d.ts +10 -0
- package/{lib → components}/radio/index.js +10 -11
- package/components/radio/radio-group.d.ts +27 -0
- package/components/radio/radio.d.ts +39 -0
- package/components/search/index.cjs +45 -0
- package/components/search/index.d.ts +7 -0
- package/{lib → components}/search/index.js +3 -4
- package/components/search/search.d.ts +27 -0
- package/{lib/sized-mixin-BSYHt8nT.cjs → components/sized-mixin-BAI6NiE2.cjs} +1 -1
- package/{lib/sized-mixin-Dl0KoEcV.js → components/sized-mixin-DcJTTohI.js} +1 -1
- package/components/slider/index.cjs +18 -0
- package/components/slider/index.d.ts +7 -0
- package/{lib → components}/slider/index.js +5 -6
- package/components/slider/slider.d.ts +24 -0
- package/{lib/state-BAO-13Bs.js → components/state-D8vot9IB.js} +1 -1
- package/{lib/state-DReJ3hB6.cjs → components/state-WWHLNMRG.cjs} +1 -1
- package/{lib/streaming-listener-DLo0wkMc.js → components/streaming-listener-BbmNyKWO.js} +2 -2
- package/components/streaming-listener-C2A7ZJZP.cjs +18 -0
- package/{lib/style-map-BqvQDFJt.js → components/style-map-CoBJRbvu.js} +1 -1
- package/{lib/style-map-BjBGQ_u3.cjs → components/style-map-DH0jkl7s.cjs} +2 -2
- package/components/swatch/index.cjs +49 -0
- package/components/swatch/index.d.ts +10 -0
- package/{lib → components}/swatch/index.js +9 -10
- package/components/swatch/swatch-group.d.ts +41 -0
- package/components/swatch/swatch.d.ts +40 -0
- package/components/switch/index.cjs +22 -0
- package/components/switch/index.d.ts +7 -0
- package/{lib → components}/switch/index.js +6 -7
- package/components/switch/switch.d.ts +27 -0
- package/components/tags/index.cjs +32 -0
- package/components/tags/index.d.ts +10 -0
- package/{lib → components}/tags/index.js +17 -18
- package/components/tags/tag.d.ts +29 -0
- package/components/tags/tags.d.ts +28 -0
- package/components/text-field/help-text-manager.d.ts +19 -0
- package/components/text-field/help-text.d.ts +20 -0
- package/components/text-field/index.cjs +21 -0
- package/components/text-field/index.d.ts +14 -0
- package/{lib → components}/text-field/index.js +9 -9
- package/components/text-field/manage-help-text.d.ts +13 -0
- package/components/text-field/text-field.d.ts +142 -0
- package/{lib/text-field-DPk332j9.js → components/text-field-05QNK_Lj.js} +28 -30
- package/{lib/text-field-C6Aa7XOb.cjs → components/text-field-BU7yxiOR.cjs} +15 -15
- package/components/toast/index.cjs +51 -0
- package/components/toast/index.d.ts +7 -0
- package/{lib → components}/toast/index.js +2 -3
- package/components/toast/toast.d.ts +77 -0
- package/components/tooltip/index.cjs +45 -0
- package/components/tooltip/index.d.ts +8 -0
- package/{lib → components}/tooltip/index.js +10 -11
- package/components/tooltip/tooltip-directive.d.ts +5 -0
- package/components/tooltip/tooltip.d.ts +55 -0
- package/components/unit-input/index.cjs +43 -0
- package/components/unit-input/index.d.ts +7 -0
- package/{lib → components}/unit-input/index.js +5 -6
- package/components/unit-input/unit-input.d.ts +33 -0
- package/index.d.ts +39 -0
- package/package.json +139 -101
- package/utils/base.d.ts +16 -0
- package/utils/condition-attribute-with-id.d.ts +2 -0
- package/utils/first-focusable-in.d.ts +3 -0
- package/utils/focus-visible.d.ts +29 -0
- package/utils/focusable-selectors.d.ts +2 -0
- package/utils/focusable.d.ts +58 -0
- package/utils/get-css-variable.d.ts +1 -0
- package/utils/get-label-from-slot.d.ts +1 -0
- package/utils/like-anchor.d.ts +23 -0
- package/utils/observe-slot-presence.d.ts +12 -0
- package/utils/observe-slot-text.d.ts +11 -0
- package/utils/platform.d.ts +10 -0
- package/utils/random-id.d.ts +1 -0
- package/utils/reactive-controllers/color.d.ts +54 -0
- package/utils/reactive-controllers/dependency-manger.d.ts +26 -0
- package/utils/reactive-controllers/element-resolution.d.ts +23 -0
- package/utils/reactive-controllers/focus-group.d.ts +62 -0
- package/utils/reactive-controllers/language-resolution.d.ts +11 -0
- package/utils/reactive-controllers/match-media.d.ts +13 -0
- package/utils/reactive-controllers/pending-state.d.ts +41 -0
- package/utils/reactive-controllers/roving-tabindex.d.ts +19 -0
- package/utils/reparent-child.d.ts +4 -0
- package/utils/sized-mixin.d.ts +17 -0
- package/utils/streaming-listener.d.ts +48 -0
- package/lib/accordion/index.cjs +0 -43
- package/lib/action-bar/index.cjs +0 -39
- package/lib/action-button/index.cjs +0 -24
- package/lib/action-group-D4MxBrq8.cjs +0 -20
- package/lib/avatar/index.cjs +0 -24
- package/lib/base-BCmA9Wxv.cjs +0 -30
- package/lib/base-nYalvNMy.js +0 -390
- package/lib/button/index.cjs +0 -20
- package/lib/button-base-B0iB_JTv.cjs +0 -25
- package/lib/button-group/index.cjs +0 -18
- package/lib/checkbox/index.cjs +0 -25
- package/lib/clear-button-D0djuaLb.cjs +0 -18
- package/lib/close-button-BrfeZvjk.cjs +0 -18
- package/lib/color-area/index.cjs +0 -80
- package/lib/color-field/index.cjs +0 -23
- package/lib/color-handle/index.cjs +0 -24
- package/lib/color-loupe-BICpNqFs.cjs +0 -56
- package/lib/color-menu/index.cjs +0 -86
- package/lib/color-picker/index.cjs +0 -48
- package/lib/color-slider/index.cjs +0 -57
- package/lib/divider/index.cjs +0 -18
- package/lib/field-group-TUFvhJkk.cjs +0 -23
- package/lib/field-label-BrJaeORz.cjs +0 -25
- package/lib/icon/index.cjs +0 -18
- package/lib/index.cjs +0 -18
- package/lib/index.js +0 -133
- package/lib/infield-button/index.cjs +0 -22
- package/lib/label/index.cjs +0 -18
- package/lib/legend-position/index.cjs +0 -27
- package/lib/lit-html-B3ugcwD9.js +0 -248
- package/lib/lit-html-p4Oxv2-5.cjs +0 -24
- package/lib/multi-language-field/index.cjs +0 -39
- package/lib/number-field/index.cjs +0 -57
- package/lib/overlay/index.cjs +0 -73
- package/lib/overlay-DScraBAi.cjs +0 -47
- package/lib/picker--2OCYWnV.js +0 -657
- package/lib/picker-B9W7Haf4.cjs +0 -127
- package/lib/popover-CVbjhSnx.cjs +0 -30
- package/lib/progress-circle-CiJoS8J7.cjs +0 -33
- package/lib/radio/index.cjs +0 -22
- package/lib/search/index.cjs +0 -45
- package/lib/slider/index.cjs +0 -18
- package/lib/streaming-listener-Bw4jE33f.cjs +0 -18
- package/lib/swatch/index.cjs +0 -49
- package/lib/switch/index.cjs +0 -22
- package/lib/tags/index.cjs +0 -32
- package/lib/text-field/index.cjs +0 -21
- package/lib/toast/index.cjs +0 -51
- package/lib/tooltip/index.cjs +0 -45
- package/lib/unit-input/index.cjs +0 -43
- /package/{lib → components}/base-BjTwmyRF.cjs +0 -0
- /package/{lib → components}/base-D76d76ww.js +0 -0
- /package/{lib → components}/color-Bg3tYsAQ.js +0 -0
- /package/{lib → components}/color-DphK4hwx.cjs +0 -0
- /package/{lib → components}/condition-attribute-with-id-DrQYZzFS.cjs +0 -0
- /package/{lib → components}/condition-attribute-with-id-Dv4lSRbe.js +0 -0
- /package/{lib → components}/dependency-manger-C5HCkMMB.cjs +0 -0
- /package/{lib → components}/dependency-manger-CEXvGQUV.js +0 -0
- /package/{lib → components}/directive-C7oCP5Bh.cjs +0 -0
- /package/{lib → components}/directive-oAbCiebi.js +0 -0
- /package/{lib → components}/divider.module-CXMNveQc.cjs +0 -0
- /package/{lib → components}/divider.module-DwOuLGU3.js +0 -0
- /package/{lib → components}/element-resolution-BvRLGqIU.cjs +0 -0
- /package/{lib → components}/element-resolution-FCUT-wql.js +0 -0
- /package/{lib → components}/focus-group-DHeTq18L.js +0 -0
- /package/{lib → components}/focus-group-DnxZUBhQ.cjs +0 -0
- /package/{lib → components}/focus-visible-B0P9aY_G.cjs +0 -0
- /package/{lib → components}/focus-visible-DBlJGoEW.js +0 -0
- /package/{lib → components}/focusable-selectors-B4YgbghQ.js +0 -0
- /package/{lib → components}/focusable-selectors-BgFlyFcY.cjs +0 -0
- /package/{lib → components}/index-C1chwzNp.js +0 -0
- /package/{lib → components}/index-DCKCHDTt.cjs +0 -0
- /package/{lib → components}/mutation-controller-DH7YOCyj.js +0 -0
- /package/{lib → components}/mutation-controller-DkOMCW-c.cjs +0 -0
- /package/{lib → components}/platform-CQzYNWKq.cjs +0 -0
- /package/{lib → components}/platform-DQYMG7JI.js +0 -0
- /package/{lib → components}/query-BL-TJj7K.cjs +0 -0
- /package/{lib → components}/query-D_KR_GUc.js +0 -0
- /package/{lib → components}/query-assigned-elements-DjfhL1cl.js +0 -0
- /package/{lib → components}/query-assigned-elements-DsKsfk7G.cjs +0 -0
- /package/{lib → components}/query-assigned-nodes-BcKWmGzy.cjs +0 -0
- /package/{lib → components}/query-assigned-nodes-C76XVPWY.js +0 -0
- /package/{lib → components}/random-id-ByCz1xaq.js +0 -0
- /package/{lib → components}/random-id-CqvckpWe.cjs +0 -0
- /package/{lib → components}/roving-tabindex-By_fCy_e.cjs +0 -0
- /package/{lib → components}/roving-tabindex-DOg4z6ZU.js +0 -0
- /package/{lib → components}/slottable-request-event-BfUUt1Mh.cjs +0 -0
- /package/{lib → components}/slottable-request-event-DggLA4Rx.js +0 -0
- /package/{lib → components}/when-CDK1Tt5Y.js +0 -0
- /package/{lib → components}/when-CDZyJPvd.cjs +0 -0
|
@@ -0,0 +1,665 @@
|
|
|
1
|
+
/*! * Lucero - The design system for Luzmo.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
|
6
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
|
7
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
|
8
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
9
|
+
*
|
|
10
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
11
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
12
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
13
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
14
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
15
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
|
+
* SOFTWARE.
|
|
17
|
+
* */
|
|
18
|
+
/**
|
|
19
|
+
* @license
|
|
20
|
+
* Copyright 2019 Google LLC
|
|
21
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
+
*/
|
|
23
|
+
const T = globalThis, j = T.ShadowRoot && (T.ShadyCSS === void 0 || T.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, et = Symbol(), W = /* @__PURE__ */ new WeakMap();
|
|
24
|
+
let ot = class {
|
|
25
|
+
constructor(t, e, s) {
|
|
26
|
+
if (this._$cssResult$ = !0, s !== et) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
27
|
+
this.cssText = t, this.t = e;
|
|
28
|
+
}
|
|
29
|
+
get styleSheet() {
|
|
30
|
+
let t = this.o;
|
|
31
|
+
const e = this.t;
|
|
32
|
+
if (j && t === void 0) {
|
|
33
|
+
const s = e !== void 0 && e.length === 1;
|
|
34
|
+
s && (t = W.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && W.set(e, t));
|
|
35
|
+
}
|
|
36
|
+
return t;
|
|
37
|
+
}
|
|
38
|
+
toString() {
|
|
39
|
+
return this.cssText;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
const ht = (n) => new ot(typeof n == "string" ? n : n + "", void 0, et), at = (n, t) => {
|
|
43
|
+
if (j) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
44
|
+
else for (const e of t) {
|
|
45
|
+
const s = document.createElement("style"), i = T.litNonce;
|
|
46
|
+
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
|
|
47
|
+
}
|
|
48
|
+
}, q = j ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
|
|
49
|
+
let e = "";
|
|
50
|
+
for (const s of t.cssRules) e += s.cssText;
|
|
51
|
+
return ht(e);
|
|
52
|
+
})(n) : n;
|
|
53
|
+
/**
|
|
54
|
+
* @license
|
|
55
|
+
* Copyright 2017 Google LLC
|
|
56
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
|
+
*/
|
|
58
|
+
const { is: lt, defineProperty: ct, getOwnPropertyDescriptor: dt, getOwnPropertyNames: ut, getOwnPropertySymbols: pt, getPrototypeOf: $t } = Object, f = globalThis, F = f.trustedTypes, _t = F ? F.emptyScript : "", k = f.reactiveElementPolyfillSupport, S = (n, t) => n, H = { toAttribute(n, t) {
|
|
59
|
+
switch (t) {
|
|
60
|
+
case Boolean:
|
|
61
|
+
n = n ? _t : null;
|
|
62
|
+
break;
|
|
63
|
+
case Object:
|
|
64
|
+
case Array:
|
|
65
|
+
n = n == null ? n : JSON.stringify(n);
|
|
66
|
+
}
|
|
67
|
+
return n;
|
|
68
|
+
}, fromAttribute(n, t) {
|
|
69
|
+
let e = n;
|
|
70
|
+
switch (t) {
|
|
71
|
+
case Boolean:
|
|
72
|
+
e = n !== null;
|
|
73
|
+
break;
|
|
74
|
+
case Number:
|
|
75
|
+
e = n === null ? null : Number(n);
|
|
76
|
+
break;
|
|
77
|
+
case Object:
|
|
78
|
+
case Array:
|
|
79
|
+
try {
|
|
80
|
+
e = JSON.parse(n);
|
|
81
|
+
} catch {
|
|
82
|
+
e = null;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return e;
|
|
86
|
+
} }, B = (n, t) => !lt(n, t), Z = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: B };
|
|
87
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), f.litPropertyMetadata ?? (f.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
88
|
+
class y extends HTMLElement {
|
|
89
|
+
static addInitializer(t) {
|
|
90
|
+
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
91
|
+
}
|
|
92
|
+
static get observedAttributes() {
|
|
93
|
+
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
94
|
+
}
|
|
95
|
+
static createProperty(t, e = Z) {
|
|
96
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
97
|
+
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
|
98
|
+
i !== void 0 && ct(this.prototype, t, i);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
static getPropertyDescriptor(t, e, s) {
|
|
102
|
+
const { get: i, set: o } = dt(this.prototype, t) ?? { get() {
|
|
103
|
+
return this[e];
|
|
104
|
+
}, set(r) {
|
|
105
|
+
this[e] = r;
|
|
106
|
+
} };
|
|
107
|
+
return { get() {
|
|
108
|
+
return i == null ? void 0 : i.call(this);
|
|
109
|
+
}, set(r) {
|
|
110
|
+
const a = i == null ? void 0 : i.call(this);
|
|
111
|
+
o.call(this, r), this.requestUpdate(t, a, s);
|
|
112
|
+
}, configurable: !0, enumerable: !0 };
|
|
113
|
+
}
|
|
114
|
+
static getPropertyOptions(t) {
|
|
115
|
+
return this.elementProperties.get(t) ?? Z;
|
|
116
|
+
}
|
|
117
|
+
static _$Ei() {
|
|
118
|
+
if (this.hasOwnProperty(S("elementProperties"))) return;
|
|
119
|
+
const t = $t(this);
|
|
120
|
+
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
121
|
+
}
|
|
122
|
+
static finalize() {
|
|
123
|
+
if (this.hasOwnProperty(S("finalized"))) return;
|
|
124
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(S("properties"))) {
|
|
125
|
+
const e = this.properties, s = [...ut(e), ...pt(e)];
|
|
126
|
+
for (const i of s) this.createProperty(i, e[i]);
|
|
127
|
+
}
|
|
128
|
+
const t = this[Symbol.metadata];
|
|
129
|
+
if (t !== null) {
|
|
130
|
+
const e = litPropertyMetadata.get(t);
|
|
131
|
+
if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
|
|
132
|
+
}
|
|
133
|
+
this._$Eh = /* @__PURE__ */ new Map();
|
|
134
|
+
for (const [e, s] of this.elementProperties) {
|
|
135
|
+
const i = this._$Eu(e, s);
|
|
136
|
+
i !== void 0 && this._$Eh.set(i, e);
|
|
137
|
+
}
|
|
138
|
+
this.elementStyles = this.finalizeStyles(this.styles);
|
|
139
|
+
}
|
|
140
|
+
static finalizeStyles(t) {
|
|
141
|
+
const e = [];
|
|
142
|
+
if (Array.isArray(t)) {
|
|
143
|
+
const s = new Set(t.flat(1 / 0).reverse());
|
|
144
|
+
for (const i of s) e.unshift(q(i));
|
|
145
|
+
} else t !== void 0 && e.push(q(t));
|
|
146
|
+
return e;
|
|
147
|
+
}
|
|
148
|
+
static _$Eu(t, e) {
|
|
149
|
+
const s = e.attribute;
|
|
150
|
+
return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
151
|
+
}
|
|
152
|
+
constructor() {
|
|
153
|
+
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
|
154
|
+
}
|
|
155
|
+
_$Ev() {
|
|
156
|
+
var t;
|
|
157
|
+
this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
|
|
158
|
+
}
|
|
159
|
+
addController(t) {
|
|
160
|
+
var e;
|
|
161
|
+
(this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
|
|
162
|
+
}
|
|
163
|
+
removeController(t) {
|
|
164
|
+
var e;
|
|
165
|
+
(e = this._$EO) == null || e.delete(t);
|
|
166
|
+
}
|
|
167
|
+
_$E_() {
|
|
168
|
+
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
169
|
+
for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
|
|
170
|
+
t.size > 0 && (this._$Ep = t);
|
|
171
|
+
}
|
|
172
|
+
createRenderRoot() {
|
|
173
|
+
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
174
|
+
return at(t, this.constructor.elementStyles), t;
|
|
175
|
+
}
|
|
176
|
+
connectedCallback() {
|
|
177
|
+
var t;
|
|
178
|
+
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
|
|
179
|
+
var s;
|
|
180
|
+
return (s = e.hostConnected) == null ? void 0 : s.call(e);
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
enableUpdating(t) {
|
|
184
|
+
}
|
|
185
|
+
disconnectedCallback() {
|
|
186
|
+
var t;
|
|
187
|
+
(t = this._$EO) == null || t.forEach((e) => {
|
|
188
|
+
var s;
|
|
189
|
+
return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
attributeChangedCallback(t, e, s) {
|
|
193
|
+
this._$AK(t, s);
|
|
194
|
+
}
|
|
195
|
+
_$EC(t, e) {
|
|
196
|
+
var o;
|
|
197
|
+
const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
|
|
198
|
+
if (i !== void 0 && s.reflect === !0) {
|
|
199
|
+
const r = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter : H).toAttribute(e, s.type);
|
|
200
|
+
this._$Em = t, r == null ? this.removeAttribute(i) : this.setAttribute(i, r), this._$Em = null;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
_$AK(t, e) {
|
|
204
|
+
var o;
|
|
205
|
+
const s = this.constructor, i = s._$Eh.get(t);
|
|
206
|
+
if (i !== void 0 && this._$Em !== i) {
|
|
207
|
+
const r = s.getPropertyOptions(i), a = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((o = r.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? r.converter : H;
|
|
208
|
+
this._$Em = i, this[i] = a.fromAttribute(e, r.type), this._$Em = null;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
requestUpdate(t, e, s) {
|
|
212
|
+
if (t !== void 0) {
|
|
213
|
+
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? B)(this[t], e)) return;
|
|
214
|
+
this.P(t, e, s);
|
|
215
|
+
}
|
|
216
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
217
|
+
}
|
|
218
|
+
P(t, e, s) {
|
|
219
|
+
this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
|
|
220
|
+
}
|
|
221
|
+
async _$ET() {
|
|
222
|
+
this.isUpdatePending = !0;
|
|
223
|
+
try {
|
|
224
|
+
await this._$ES;
|
|
225
|
+
} catch (e) {
|
|
226
|
+
Promise.reject(e);
|
|
227
|
+
}
|
|
228
|
+
const t = this.scheduleUpdate();
|
|
229
|
+
return t != null && await t, !this.isUpdatePending;
|
|
230
|
+
}
|
|
231
|
+
scheduleUpdate() {
|
|
232
|
+
return this.performUpdate();
|
|
233
|
+
}
|
|
234
|
+
performUpdate() {
|
|
235
|
+
var s;
|
|
236
|
+
if (!this.isUpdatePending) return;
|
|
237
|
+
if (!this.hasUpdated) {
|
|
238
|
+
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
239
|
+
for (const [o, r] of this._$Ep) this[o] = r;
|
|
240
|
+
this._$Ep = void 0;
|
|
241
|
+
}
|
|
242
|
+
const i = this.constructor.elementProperties;
|
|
243
|
+
if (i.size > 0) for (const [o, r] of i) r.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.P(o, this[o], r);
|
|
244
|
+
}
|
|
245
|
+
let t = !1;
|
|
246
|
+
const e = this._$AL;
|
|
247
|
+
try {
|
|
248
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
|
|
249
|
+
var o;
|
|
250
|
+
return (o = i.hostUpdate) == null ? void 0 : o.call(i);
|
|
251
|
+
}), this.update(e)) : this._$EU();
|
|
252
|
+
} catch (i) {
|
|
253
|
+
throw t = !1, this._$EU(), i;
|
|
254
|
+
}
|
|
255
|
+
t && this._$AE(e);
|
|
256
|
+
}
|
|
257
|
+
willUpdate(t) {
|
|
258
|
+
}
|
|
259
|
+
_$AE(t) {
|
|
260
|
+
var e;
|
|
261
|
+
(e = this._$EO) == null || e.forEach((s) => {
|
|
262
|
+
var i;
|
|
263
|
+
return (i = s.hostUpdated) == null ? void 0 : i.call(s);
|
|
264
|
+
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
265
|
+
}
|
|
266
|
+
_$EU() {
|
|
267
|
+
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
268
|
+
}
|
|
269
|
+
get updateComplete() {
|
|
270
|
+
return this.getUpdateComplete();
|
|
271
|
+
}
|
|
272
|
+
getUpdateComplete() {
|
|
273
|
+
return this._$ES;
|
|
274
|
+
}
|
|
275
|
+
shouldUpdate(t) {
|
|
276
|
+
return !0;
|
|
277
|
+
}
|
|
278
|
+
update(t) {
|
|
279
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
|
280
|
+
}
|
|
281
|
+
updated(t) {
|
|
282
|
+
}
|
|
283
|
+
firstUpdated(t) {
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[S("elementProperties")] = /* @__PURE__ */ new Map(), y[S("finalized")] = /* @__PURE__ */ new Map(), k == null || k({ ReactiveElement: y }), (f.reactiveElementVersions ?? (f.reactiveElementVersions = [])).push("2.0.4");
|
|
287
|
+
/**
|
|
288
|
+
* @license
|
|
289
|
+
* Copyright 2017 Google LLC
|
|
290
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
291
|
+
*/
|
|
292
|
+
const w = globalThis, N = w.trustedTypes, J = N ? N.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, st = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, it = "?" + _, ft = `<${it}>`, A = document, P = () => A.createComment(""), U = (n) => n === null || typeof n != "object" && typeof n != "function", V = Array.isArray, mt = (n) => V(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", L = `[
|
|
293
|
+
\f\r]`, b = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, K = /-->/g, G = />/g, m = RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
|
|
294
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Q = /'/g, X = /"/g, nt = /^(?:script|style|textarea|title)$/i, gt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Ht = gt(1), v = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Y = /* @__PURE__ */ new WeakMap(), g = A.createTreeWalker(A, 129);
|
|
295
|
+
function rt(n, t) {
|
|
296
|
+
if (!V(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
297
|
+
return J !== void 0 ? J.createHTML(t) : t;
|
|
298
|
+
}
|
|
299
|
+
const At = (n, t) => {
|
|
300
|
+
const e = n.length - 1, s = [];
|
|
301
|
+
let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = b;
|
|
302
|
+
for (let a = 0; a < e; a++) {
|
|
303
|
+
const h = n[a];
|
|
304
|
+
let c, u, l = -1, p = 0;
|
|
305
|
+
for (; p < h.length && (r.lastIndex = p, u = r.exec(h), u !== null); ) p = r.lastIndex, r === b ? u[1] === "!--" ? r = K : u[1] !== void 0 ? r = G : u[2] !== void 0 ? (nt.test(u[2]) && (i = RegExp("</" + u[2], "g")), r = m) : u[3] !== void 0 && (r = m) : r === m ? u[0] === ">" ? (r = i ?? b, l = -1) : u[1] === void 0 ? l = -2 : (l = r.lastIndex - u[2].length, c = u[1], r = u[3] === void 0 ? m : u[3] === '"' ? X : Q) : r === X || r === Q ? r = m : r === K || r === G ? r = b : (r = m, i = void 0);
|
|
306
|
+
const $ = r === m && n[a + 1].startsWith("/>") ? " " : "";
|
|
307
|
+
o += r === b ? h + ft : l >= 0 ? (s.push(c), h.slice(0, l) + st + h.slice(l) + _ + $) : h + _ + (l === -2 ? a : $);
|
|
308
|
+
}
|
|
309
|
+
return [rt(n, o + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
310
|
+
};
|
|
311
|
+
class x {
|
|
312
|
+
constructor({ strings: t, _$litType$: e }, s) {
|
|
313
|
+
let i;
|
|
314
|
+
this.parts = [];
|
|
315
|
+
let o = 0, r = 0;
|
|
316
|
+
const a = t.length - 1, h = this.parts, [c, u] = At(t, e);
|
|
317
|
+
if (this.el = x.createElement(c, s), g.currentNode = this.el.content, e === 2 || e === 3) {
|
|
318
|
+
const l = this.el.content.firstChild;
|
|
319
|
+
l.replaceWith(...l.childNodes);
|
|
320
|
+
}
|
|
321
|
+
for (; (i = g.nextNode()) !== null && h.length < a; ) {
|
|
322
|
+
if (i.nodeType === 1) {
|
|
323
|
+
if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(st)) {
|
|
324
|
+
const p = u[r++], $ = i.getAttribute(l).split(_), O = /([.?@])?(.*)/.exec(p);
|
|
325
|
+
h.push({ type: 1, index: o, name: O[2], strings: $, ctor: O[1] === "." ? vt : O[1] === "?" ? Et : O[1] === "@" ? bt : R }), i.removeAttribute(l);
|
|
326
|
+
} else l.startsWith(_) && (h.push({ type: 6, index: o }), i.removeAttribute(l));
|
|
327
|
+
if (nt.test(i.tagName)) {
|
|
328
|
+
const l = i.textContent.split(_), p = l.length - 1;
|
|
329
|
+
if (p > 0) {
|
|
330
|
+
i.textContent = N ? N.emptyScript : "";
|
|
331
|
+
for (let $ = 0; $ < p; $++) i.append(l[$], P()), g.nextNode(), h.push({ type: 2, index: ++o });
|
|
332
|
+
i.append(l[p], P());
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
} else if (i.nodeType === 8) if (i.data === it) h.push({ type: 2, index: o });
|
|
336
|
+
else {
|
|
337
|
+
let l = -1;
|
|
338
|
+
for (; (l = i.data.indexOf(_, l + 1)) !== -1; ) h.push({ type: 7, index: o }), l += _.length - 1;
|
|
339
|
+
}
|
|
340
|
+
o++;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
static createElement(t, e) {
|
|
344
|
+
const s = A.createElement("template");
|
|
345
|
+
return s.innerHTML = t, s;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
function E(n, t, e = n, s) {
|
|
349
|
+
var r, a;
|
|
350
|
+
if (t === v) return t;
|
|
351
|
+
let i = s !== void 0 ? (r = e._$Co) == null ? void 0 : r[s] : e._$Cl;
|
|
352
|
+
const o = U(t) ? void 0 : t._$litDirective$;
|
|
353
|
+
return (i == null ? void 0 : i.constructor) !== o && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), o === void 0 ? i = void 0 : (i = new o(n), i._$AT(n, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = E(n, i._$AS(n, t.values), i, s)), t;
|
|
354
|
+
}
|
|
355
|
+
class yt {
|
|
356
|
+
constructor(t, e) {
|
|
357
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
358
|
+
}
|
|
359
|
+
get parentNode() {
|
|
360
|
+
return this._$AM.parentNode;
|
|
361
|
+
}
|
|
362
|
+
get _$AU() {
|
|
363
|
+
return this._$AM._$AU;
|
|
364
|
+
}
|
|
365
|
+
u(t) {
|
|
366
|
+
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? A).importNode(e, !0);
|
|
367
|
+
g.currentNode = i;
|
|
368
|
+
let o = g.nextNode(), r = 0, a = 0, h = s[0];
|
|
369
|
+
for (; h !== void 0; ) {
|
|
370
|
+
if (r === h.index) {
|
|
371
|
+
let c;
|
|
372
|
+
h.type === 2 ? c = new M(o, o.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (c = new St(o, this, t)), this._$AV.push(c), h = s[++a];
|
|
373
|
+
}
|
|
374
|
+
r !== (h == null ? void 0 : h.index) && (o = g.nextNode(), r++);
|
|
375
|
+
}
|
|
376
|
+
return g.currentNode = A, i;
|
|
377
|
+
}
|
|
378
|
+
p(t) {
|
|
379
|
+
let e = 0;
|
|
380
|
+
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
class M {
|
|
384
|
+
get _$AU() {
|
|
385
|
+
var t;
|
|
386
|
+
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
387
|
+
}
|
|
388
|
+
constructor(t, e, s, i) {
|
|
389
|
+
this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
|
|
390
|
+
}
|
|
391
|
+
get parentNode() {
|
|
392
|
+
let t = this._$AA.parentNode;
|
|
393
|
+
const e = this._$AM;
|
|
394
|
+
return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
|
|
395
|
+
}
|
|
396
|
+
get startNode() {
|
|
397
|
+
return this._$AA;
|
|
398
|
+
}
|
|
399
|
+
get endNode() {
|
|
400
|
+
return this._$AB;
|
|
401
|
+
}
|
|
402
|
+
_$AI(t, e = this) {
|
|
403
|
+
t = E(this, t, e), U(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== v && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : mt(t) ? this.k(t) : this._(t);
|
|
404
|
+
}
|
|
405
|
+
O(t) {
|
|
406
|
+
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
407
|
+
}
|
|
408
|
+
T(t) {
|
|
409
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
410
|
+
}
|
|
411
|
+
_(t) {
|
|
412
|
+
this._$AH !== d && U(this._$AH) ? this._$AA.nextSibling.data = t : this.T(A.createTextNode(t)), this._$AH = t;
|
|
413
|
+
}
|
|
414
|
+
$(t) {
|
|
415
|
+
var o;
|
|
416
|
+
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = x.createElement(rt(s.h, s.h[0]), this.options)), s);
|
|
417
|
+
if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(e);
|
|
418
|
+
else {
|
|
419
|
+
const r = new yt(i, this), a = r.u(this.options);
|
|
420
|
+
r.p(e), this.T(a), this._$AH = r;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
_$AC(t) {
|
|
424
|
+
let e = Y.get(t.strings);
|
|
425
|
+
return e === void 0 && Y.set(t.strings, e = new x(t)), e;
|
|
426
|
+
}
|
|
427
|
+
k(t) {
|
|
428
|
+
V(this._$AH) || (this._$AH = [], this._$AR());
|
|
429
|
+
const e = this._$AH;
|
|
430
|
+
let s, i = 0;
|
|
431
|
+
for (const o of t) i === e.length ? e.push(s = new M(this.O(P()), this.O(P()), this, this.options)) : s = e[i], s._$AI(o), i++;
|
|
432
|
+
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
|
433
|
+
}
|
|
434
|
+
_$AR(t = this._$AA.nextSibling, e) {
|
|
435
|
+
var s;
|
|
436
|
+
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
437
|
+
const i = t.nextSibling;
|
|
438
|
+
t.remove(), t = i;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
setConnected(t) {
|
|
442
|
+
var e;
|
|
443
|
+
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
class R {
|
|
447
|
+
get tagName() {
|
|
448
|
+
return this.element.tagName;
|
|
449
|
+
}
|
|
450
|
+
get _$AU() {
|
|
451
|
+
return this._$AM._$AU;
|
|
452
|
+
}
|
|
453
|
+
constructor(t, e, s, i, o) {
|
|
454
|
+
this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = d;
|
|
455
|
+
}
|
|
456
|
+
_$AI(t, e = this, s, i) {
|
|
457
|
+
const o = this.strings;
|
|
458
|
+
let r = !1;
|
|
459
|
+
if (o === void 0) t = E(this, t, e, 0), r = !U(t) || t !== this._$AH && t !== v, r && (this._$AH = t);
|
|
460
|
+
else {
|
|
461
|
+
const a = t;
|
|
462
|
+
let h, c;
|
|
463
|
+
for (t = o[0], h = 0; h < o.length - 1; h++) c = E(this, a[s + h], e, h), c === v && (c = this._$AH[h]), r || (r = !U(c) || c !== this._$AH[h]), c === d ? t = d : t !== d && (t += (c ?? "") + o[h + 1]), this._$AH[h] = c;
|
|
464
|
+
}
|
|
465
|
+
r && !i && this.j(t);
|
|
466
|
+
}
|
|
467
|
+
j(t) {
|
|
468
|
+
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
class vt extends R {
|
|
472
|
+
constructor() {
|
|
473
|
+
super(...arguments), this.type = 3;
|
|
474
|
+
}
|
|
475
|
+
j(t) {
|
|
476
|
+
this.element[this.name] = t === d ? void 0 : t;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
class Et extends R {
|
|
480
|
+
constructor() {
|
|
481
|
+
super(...arguments), this.type = 4;
|
|
482
|
+
}
|
|
483
|
+
j(t) {
|
|
484
|
+
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
class bt extends R {
|
|
488
|
+
constructor(t, e, s, i, o) {
|
|
489
|
+
super(t, e, s, i, o), this.type = 5;
|
|
490
|
+
}
|
|
491
|
+
_$AI(t, e = this) {
|
|
492
|
+
if ((t = E(this, t, e, 0) ?? d) === v) return;
|
|
493
|
+
const s = this._$AH, i = t === d && s !== d || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== d && (s === d || i);
|
|
494
|
+
i && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
495
|
+
}
|
|
496
|
+
handleEvent(t) {
|
|
497
|
+
var e;
|
|
498
|
+
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
class St {
|
|
502
|
+
constructor(t, e, s) {
|
|
503
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
|
504
|
+
}
|
|
505
|
+
get _$AU() {
|
|
506
|
+
return this._$AM._$AU;
|
|
507
|
+
}
|
|
508
|
+
_$AI(t) {
|
|
509
|
+
E(this, t);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
const D = w.litHtmlPolyfillSupport;
|
|
513
|
+
D == null || D(x, M), (w.litHtmlVersions ?? (w.litHtmlVersions = [])).push("3.2.1");
|
|
514
|
+
const wt = (n, t, e) => {
|
|
515
|
+
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
516
|
+
let i = s._$litPart$;
|
|
517
|
+
if (i === void 0) {
|
|
518
|
+
const o = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
519
|
+
s._$litPart$ = i = new M(t.insertBefore(P(), o), o, void 0, e ?? {});
|
|
520
|
+
}
|
|
521
|
+
return i._$AI(n), i;
|
|
522
|
+
};
|
|
523
|
+
/**
|
|
524
|
+
* @license
|
|
525
|
+
* Copyright 2017 Google LLC
|
|
526
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
527
|
+
*/
|
|
528
|
+
let C = class extends y {
|
|
529
|
+
constructor() {
|
|
530
|
+
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
531
|
+
}
|
|
532
|
+
createRenderRoot() {
|
|
533
|
+
var e;
|
|
534
|
+
const t = super.createRenderRoot();
|
|
535
|
+
return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
|
|
536
|
+
}
|
|
537
|
+
update(t) {
|
|
538
|
+
const e = this.render();
|
|
539
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = wt(e, this.renderRoot, this.renderOptions);
|
|
540
|
+
}
|
|
541
|
+
connectedCallback() {
|
|
542
|
+
var t;
|
|
543
|
+
super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
|
|
544
|
+
}
|
|
545
|
+
disconnectedCallback() {
|
|
546
|
+
var t;
|
|
547
|
+
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
548
|
+
}
|
|
549
|
+
render() {
|
|
550
|
+
return v;
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
var tt;
|
|
554
|
+
C._$litElement$ = !0, C.finalized = !0, (tt = globalThis.litElementHydrateSupport) == null || tt.call(globalThis, { LitElement: C });
|
|
555
|
+
const z = globalThis.litElementPolyfillSupport;
|
|
556
|
+
z == null || z({ LitElement: C });
|
|
557
|
+
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
|
558
|
+
/**
|
|
559
|
+
* @license
|
|
560
|
+
* Copyright 2017 Google LLC
|
|
561
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
562
|
+
*/
|
|
563
|
+
const Ct = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: B }, Pt = (n = Ct, t, e) => {
|
|
564
|
+
const { kind: s, metadata: i } = e;
|
|
565
|
+
let o = globalThis.litPropertyMetadata.get(i);
|
|
566
|
+
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(e.name, n), s === "accessor") {
|
|
567
|
+
const { name: r } = e;
|
|
568
|
+
return { set(a) {
|
|
569
|
+
const h = t.get.call(this);
|
|
570
|
+
t.set.call(this, a), this.requestUpdate(r, h, n);
|
|
571
|
+
}, init(a) {
|
|
572
|
+
return a !== void 0 && this.P(r, void 0, n), a;
|
|
573
|
+
} };
|
|
574
|
+
}
|
|
575
|
+
if (s === "setter") {
|
|
576
|
+
const { name: r } = e;
|
|
577
|
+
return function(a) {
|
|
578
|
+
const h = this[r];
|
|
579
|
+
t.call(this, a), this.requestUpdate(r, h, n);
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
throw Error("Unsupported decorator location: " + s);
|
|
583
|
+
};
|
|
584
|
+
function Rt(n) {
|
|
585
|
+
return (t, e) => typeof e == "object" ? Pt(n, t, e) : ((s, i, o) => {
|
|
586
|
+
const r = i.hasOwnProperty(o);
|
|
587
|
+
return i.constructor.createProperty(o, r ? { ...s, wrapped: !0 } : s), r ? Object.getOwnPropertyDescriptor(i, o) : void 0;
|
|
588
|
+
})(n, t, e);
|
|
589
|
+
}
|
|
590
|
+
const I = /* @__PURE__ */ new Set(), Ut = () => {
|
|
591
|
+
const n = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
|
|
592
|
+
I.forEach((t) => {
|
|
593
|
+
t.setAttribute("dir", n);
|
|
594
|
+
});
|
|
595
|
+
}, xt = new MutationObserver(Ut);
|
|
596
|
+
xt.observe(document.documentElement, {
|
|
597
|
+
attributes: !0,
|
|
598
|
+
attributeFilter: ["dir"]
|
|
599
|
+
});
|
|
600
|
+
const Mt = (n) => n.startManagingContentDirection !== void 0 || n.tagName === "LUZMO-THEME";
|
|
601
|
+
function Ot(n) {
|
|
602
|
+
class t extends n {
|
|
603
|
+
/**
|
|
604
|
+
* @private
|
|
605
|
+
*/
|
|
606
|
+
get isLTR() {
|
|
607
|
+
return this.dir === "ltr";
|
|
608
|
+
}
|
|
609
|
+
hasVisibleFocusInTree() {
|
|
610
|
+
const i = ((o = document) => {
|
|
611
|
+
var h;
|
|
612
|
+
let r = o.activeElement;
|
|
613
|
+
for (; r != null && r.shadowRoot && r.shadowRoot.activeElement; )
|
|
614
|
+
r = r.shadowRoot.activeElement;
|
|
615
|
+
const a = r ? [r] : [];
|
|
616
|
+
for (; r; ) {
|
|
617
|
+
const c = r.assignedSlot || r.parentElement || ((h = r.getRootNode()) == null ? void 0 : h.host);
|
|
618
|
+
c && a.push(c), r = c;
|
|
619
|
+
}
|
|
620
|
+
return a;
|
|
621
|
+
})(this.getRootNode())[0];
|
|
622
|
+
if (!i)
|
|
623
|
+
return !1;
|
|
624
|
+
try {
|
|
625
|
+
return i.matches(":focus-visible") || i.matches(".focus-visible");
|
|
626
|
+
} catch {
|
|
627
|
+
return i.matches(".focus-visible");
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
connectedCallback() {
|
|
631
|
+
if (!this.hasAttribute("dir")) {
|
|
632
|
+
let s = this.assignedSlot || this.parentNode;
|
|
633
|
+
for (; s !== document.documentElement && !Mt(s); )
|
|
634
|
+
s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
635
|
+
s.parentNode || // DOM Element detected
|
|
636
|
+
s.host;
|
|
637
|
+
if (this.dir = s.dir === "rtl" ? s.dir : this.dir || "ltr", s === document.documentElement)
|
|
638
|
+
I.add(this);
|
|
639
|
+
else {
|
|
640
|
+
const { localName: i } = s;
|
|
641
|
+
i.search("-") > -1 && !customElements.get(i) ? customElements.whenDefined(i).then(() => {
|
|
642
|
+
s.startManagingContentDirection(this);
|
|
643
|
+
}) : s.startManagingContentDirection(this);
|
|
644
|
+
}
|
|
645
|
+
this._dirParent = s;
|
|
646
|
+
}
|
|
647
|
+
super.connectedCallback();
|
|
648
|
+
}
|
|
649
|
+
disconnectedCallback() {
|
|
650
|
+
super.disconnectedCallback(), this._dirParent && (this._dirParent === document.documentElement ? I.delete(this) : this._dirParent.stopManagingContentDirection(this), this.removeAttribute("dir"));
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
return t;
|
|
654
|
+
}
|
|
655
|
+
class kt extends Ot(C) {
|
|
656
|
+
}
|
|
657
|
+
export {
|
|
658
|
+
wt as B,
|
|
659
|
+
d as E,
|
|
660
|
+
kt as L,
|
|
661
|
+
v as T,
|
|
662
|
+
Rt as n,
|
|
663
|
+
ht as r,
|
|
664
|
+
Ht as x
|
|
665
|
+
};
|