@jenesei-software/jenesei-kit-react 1.3.40 → 2.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/README.md +0 -37
- package/build/AnimatePresence-19yP-TCg.js +134 -0
- package/build/AnimatePresence-19yP-TCg.js.map +1 -0
- package/build/AnimatePresence-BdBJCJuf.cjs +11 -0
- package/build/AnimatePresence-BdBJCJuf.cjs.map +1 -0
- package/build/area-outside.cjs.js +1 -2
- package/build/area-outside.d.ts +2 -28
- package/build/area-outside.es.js +2 -3
- package/build/area-preview.cjs.js +1 -2
- package/build/area-preview.d.ts +2 -48
- package/build/area-preview.es.js +3 -5
- package/build/area-skeleton.cjs.js +1 -2
- package/build/area-skeleton.d.ts +2 -68
- package/build/area-skeleton.es.js +2 -4
- package/build/areas/outside/area.d.ts +7 -0
- package/build/areas/outside/index.d.ts +1 -0
- package/build/areas/preview/area.d.ts +3 -0
- package/build/areas/preview/area.hooks.d.ts +1 -0
- package/build/areas/preview/area.types.d.ts +19 -0
- package/build/areas/preview/index.d.ts +3 -0
- package/build/areas/skeleton/area.d.ts +3 -0
- package/build/areas/skeleton/area.types.d.ts +21 -0
- package/build/areas/skeleton/index.d.ts +2 -0
- package/build/build-info.txt +3 -3
- package/build/button-BbGiFvok.js +102 -0
- package/build/button-BbGiFvok.js.map +1 -0
- package/build/button-BuPpgfL_.cjs +3 -0
- package/build/button-BuPpgfL_.cjs.map +1 -0
- package/build/checkbox-CXxWDklX.js +98 -0
- package/build/checkbox-CXxWDklX.js.map +1 -0
- package/build/checkbox-qgc_Ntc3.cjs +3 -0
- package/build/checkbox-qgc_Ntc3.cjs.map +1 -0
- package/build/chunk-Dd8m0Ver.cjs +1 -0
- package/build/chunk-cI0lbGMq.js +31 -0
- package/build/component-BHyXT2-h.js +71 -0
- package/build/component-BHyXT2-h.js.map +1 -0
- package/build/component-button.cjs.js +1 -2
- package/build/component-button.d.ts +2 -208
- package/build/component-button.es.js +2 -5
- package/build/component-checkbox.cjs.js +1 -2
- package/build/component-checkbox.d.ts +2 -208
- package/build/component-checkbox.es.js +2 -8
- package/build/component-date-picker.cjs.js +1 -2
- package/build/component-date-picker.d.ts +2 -582
- package/build/component-date-picker.es.js +2 -19
- package/build/component-icon.cjs.js +1 -2
- package/build/component-icon.d.ts +2 -136
- package/build/component-icon.es.js +4 -8
- package/build/component-input-otp.cjs.js +1 -2
- package/build/component-input-otp.d.ts +2 -211
- package/build/component-input-otp.es.js +2 -7
- package/build/component-input.cjs.js +1 -2
- package/build/component-input.d.ts +2 -286
- package/build/component-input.es.js +2 -18
- package/build/component-jsn2T8Hu.cjs +3 -0
- package/build/component-jsn2T8Hu.cjs.map +1 -0
- package/build/component-pagination.cjs.js +1 -2
- package/build/component-pagination.d.ts +2 -196
- package/build/component-pagination.es.js +2 -4
- package/build/component-popover.cjs.js +1 -0
- package/build/component-popover.d.ts +2 -0
- package/build/component-popover.es.js +5 -0
- package/build/component-select.cjs.js +1 -2
- package/build/component-select.d.ts +2 -411
- package/build/component-select.es.js +6 -18
- package/build/component-separator.cjs.js +1 -2
- package/build/component-separator.d.ts +2 -49
- package/build/component-separator.es.js +2 -5
- package/build/component-stack.cjs.js +1 -2
- package/build/component-stack.d.ts +2 -72
- package/build/component-stack.es.js +3 -6
- package/build/component-textarea.cjs.js +1 -2
- package/build/component-textarea.d.ts +2 -202
- package/build/component-textarea.es.js +2 -6
- package/build/component-toggle.cjs.js +1 -2
- package/build/component-toggle.d.ts +2 -150
- package/build/component-toggle.es.js +2 -6
- package/build/component-tooltip.cjs.js +1 -2
- package/build/component-tooltip.d.ts +2 -360
- package/build/component-tooltip.es.js +2 -10
- package/build/component-typography.cjs.js +1 -2
- package/build/component-typography.d.ts +2 -316
- package/build/component-typography.es.js +3 -9
- package/build/components/button/component.d.ts +3 -0
- package/build/components/button/component.types.d.ts +41 -0
- package/build/components/button/index.d.ts +2 -0
- package/build/components/checkbox/component.d.ts +3 -0
- package/build/components/checkbox/component.types.d.ts +51 -0
- package/build/components/checkbox/index.d.ts +2 -0
- package/build/components/date-picker/component.d.ts +2 -0
- package/build/components/date-picker/component.types.d.ts +86 -0
- package/build/components/date-picker/index.d.ts +2 -0
- package/build/components/error/component.d.ts +3 -0
- package/build/components/error/component.types.d.ts +11 -0
- package/build/components/error/index.d.ts +2 -0
- package/build/components/icon/component.consts.d.ts +6 -0
- package/build/components/icon/component.d.ts +9 -0
- package/build/components/icon/component.functions.d.ts +2 -0
- package/build/components/icon/component.hooks.d.ts +5 -0
- package/build/components/icon/component.types.d.ts +47 -0
- package/build/components/icon/index.d.ts +4 -0
- package/build/components/input/component.d.ts +6 -0
- package/build/components/input/component.types.d.ts +78 -0
- package/build/components/input/index.d.ts +2 -0
- package/build/components/input-otp/component.d.ts +2 -0
- package/build/components/input-otp/component.types.d.ts +8 -0
- package/build/components/input-otp/index.d.ts +2 -0
- package/build/components/pagination/component.constants.d.ts +1 -0
- package/build/components/pagination/component.d.ts +3 -0
- package/build/components/pagination/component.types.d.ts +22 -0
- package/build/components/pagination/index.d.ts +2 -0
- package/build/components/popover/component.constants.d.ts +3 -0
- package/build/components/popover/component.d.ts +34 -0
- package/build/components/popover/component.types.d.ts +113 -0
- package/build/components/popover/index.d.ts +2 -0
- package/build/components/select/component.d.ts +4 -0
- package/build/components/select/component.examples.d.ts +6 -0
- package/build/components/select/component.types.d.ts +109 -0
- package/build/components/select/index.d.ts +3 -0
- package/build/components/separator/component.d.ts +3 -0
- package/build/components/separator/component.types.d.ts +10 -0
- package/build/components/separator/index.d.ts +2 -0
- package/build/components/stack/component.d.ts +4 -0
- package/build/components/stack/component.types.d.ts +20 -0
- package/build/components/stack/index.d.ts +2 -0
- package/build/components/textarea/component.d.ts +2 -0
- package/build/components/textarea/component.types.d.ts +67 -0
- package/build/components/textarea/index.d.ts +2 -0
- package/build/components/toggle/component.d.ts +2 -0
- package/build/components/toggle/component.types.d.ts +25 -0
- package/build/components/toggle/index.d.ts +2 -0
- package/build/components/tooltip/component.constants.d.ts +3 -0
- package/build/components/tooltip/component.d.ts +4 -0
- package/build/components/tooltip/component.types.d.ts +12 -0
- package/build/components/tooltip/index.d.ts +2 -0
- package/build/components/typography/component.d.ts +3 -0
- package/build/components/typography/component.types.d.ts +18 -0
- package/build/components/typography/index.d.ts +2 -0
- package/build/components-error.cjs.js +1 -0
- package/build/components-error.d.ts +2 -0
- package/build/components-error.es.js +4 -0
- package/build/context-app-CMK9g6MI.js +417 -0
- package/build/context-app-CMK9g6MI.js.map +1 -0
- package/build/context-app-HhFcx1wY.cjs +9 -0
- package/build/context-app-HhFcx1wY.cjs.map +1 -0
- package/build/context-app.cjs.js +1 -2
- package/build/context-app.d.ts +2 -224
- package/build/context-app.es.js +3 -19
- package/build/context-browser-theme-Cb6siWO0.js +35 -0
- package/build/context-browser-theme-Cb6siWO0.js.map +1 -0
- package/build/context-browser-theme-Cso_rAT5.cjs +3 -0
- package/build/context-browser-theme-Cso_rAT5.cjs.map +1 -0
- package/build/context-browser-theme.cjs.js +1 -0
- package/build/context-browser-theme.d.ts +2 -0
- package/build/context-browser-theme.es.js +5 -0
- package/build/context-cookie-5CBhf-gb.js +138 -0
- package/build/context-cookie-5CBhf-gb.js.map +1 -0
- package/build/context-cookie-Btkd2aXy.cjs +3 -0
- package/build/context-cookie-Btkd2aXy.cjs.map +1 -0
- package/build/context-cookie.cjs.js +1 -2
- package/build/context-cookie.d.ts +2 -67
- package/build/context-cookie.es.js +3 -8
- package/build/context-dialog-B67-_jMH.cjs +3 -0
- package/build/context-dialog-B67-_jMH.cjs.map +1 -0
- package/build/context-dialog-CxGGmBqC.js +176 -0
- package/build/context-dialog-CxGGmBqC.js.map +1 -0
- package/build/context-dialog.cjs.js +1 -2
- package/build/context-dialog.d.ts +2 -106
- package/build/context-dialog.es.js +4 -17
- package/build/context-geolocation-C7PYGQ2g.js +42 -0
- package/build/context-geolocation-C7PYGQ2g.js.map +1 -0
- package/build/context-geolocation-CV4hV0NX.cjs +3 -0
- package/build/context-geolocation-CV4hV0NX.cjs.map +1 -0
- package/build/context-geolocation.cjs.js +1 -2
- package/build/context-geolocation.d.ts +2 -22
- package/build/context-geolocation.es.js +3 -6
- package/build/context-local-storage-Bb_vktd8.js +83 -0
- package/build/context-local-storage-Bb_vktd8.js.map +1 -0
- package/build/context-local-storage-DUKHVPAA.cjs +3 -0
- package/build/context-local-storage-DUKHVPAA.cjs.map +1 -0
- package/build/context-local-storage.cjs.js +1 -2
- package/build/context-local-storage.d.ts +2 -54
- package/build/context-local-storage.es.js +3 -8
- package/build/context-permission-Co4BKDOu.js +77 -0
- package/build/context-permission-Co4BKDOu.js.map +1 -0
- package/build/context-permission-DrcIwK9y.cjs +3 -0
- package/build/context-permission-DrcIwK9y.cjs.map +1 -0
- package/build/context-permission.cjs.js +1 -2
- package/build/context-permission.d.ts +2 -28
- package/build/context-permission.es.js +3 -7
- package/build/context-screen-width-CFexCIzV.js +53 -0
- package/build/context-screen-width-CFexCIzV.js.map +1 -0
- package/build/context-screen-width-hcRkxzy7.cjs +3 -0
- package/build/context-screen-width-hcRkxzy7.cjs.map +1 -0
- package/build/context-screen-width.cjs.js +1 -2
- package/build/context-screen-width.d.ts +2 -34
- package/build/context-screen-width.es.js +3 -5
- package/build/context-sonner-4gBa1F7G.cjs +3 -0
- package/build/context-sonner-4gBa1F7G.cjs.map +1 -0
- package/build/context-sonner-qDPLFpD5.js +218 -0
- package/build/context-sonner-qDPLFpD5.js.map +1 -0
- package/build/context-sonner.cjs.js +1 -2
- package/build/context-sonner.d.ts +2 -457
- package/build/context-sonner.es.js +3 -20
- package/build/contexts/context-app/context.d.ts +33 -0
- package/build/contexts/context-app/context.hooks.d.ts +2 -0
- package/build/contexts/context-app/context.styles.d.ts +14 -0
- package/build/contexts/context-app/context.types.d.ts +87 -0
- package/build/contexts/context-app/index.d.ts +2 -0
- package/build/contexts/context-browser-theme/context.d.ts +4 -0
- package/build/contexts/context-browser-theme/context.hooks.d.ts +2 -0
- package/build/contexts/context-browser-theme/context.types.d.ts +12 -0
- package/build/contexts/context-browser-theme/index.d.ts +2 -0
- package/build/contexts/context-cookie/context.d.ts +27 -0
- package/build/contexts/context-cookie/context.functions.d.ts +3 -0
- package/build/contexts/context-cookie/context.hooks.d.ts +9 -0
- package/build/contexts/context-cookie/context.types.d.ts +18 -0
- package/build/contexts/context-cookie/index.d.ts +3 -0
- package/build/contexts/context-dialog/context.constants.d.ts +8 -0
- package/build/contexts/context-dialog/context.d.ts +4 -0
- package/build/contexts/context-dialog/context.hooks.d.ts +3 -0
- package/build/contexts/context-dialog/context.styles.d.ts +9 -0
- package/build/contexts/context-dialog/context.types.d.ts +47 -0
- package/build/contexts/context-dialog/index.d.ts +3 -0
- package/build/contexts/context-geolocation/context.d.ts +4 -0
- package/build/contexts/context-geolocation/context.hooks.d.ts +2 -0
- package/build/contexts/context-geolocation/context.types.d.ts +10 -0
- package/build/contexts/context-geolocation/index.d.ts +2 -0
- package/build/contexts/context-local-storage/context.d.ts +21 -0
- package/build/contexts/context-local-storage/context.functions.d.ts +2 -0
- package/build/contexts/context-local-storage/context.hooks.d.ts +5 -0
- package/build/contexts/context-local-storage/context.types.d.ts +16 -0
- package/build/contexts/context-local-storage/index.d.ts +3 -0
- package/build/contexts/context-permission/context.d.ts +3 -0
- package/build/contexts/context-permission/context.functions.d.ts +1 -0
- package/build/contexts/context-permission/context.hooks.d.ts +5 -0
- package/build/contexts/context-permission/context.types.d.ts +11 -0
- package/build/contexts/context-permission/index.d.ts +2 -0
- package/build/contexts/context-screen-width/context.d.ts +4 -0
- package/build/contexts/context-screen-width/context.hooks.d.ts +2 -0
- package/build/contexts/context-screen-width/context.types.d.ts +11 -0
- package/build/contexts/context-screen-width/index.d.ts +3 -0
- package/build/contexts/context-sonner/context.constants.d.ts +9 -0
- package/build/contexts/context-sonner/context.d.ts +4 -0
- package/build/contexts/context-sonner/context.hooks.d.ts +2 -0
- package/build/contexts/context-sonner/context.styles.d.ts +30 -0
- package/build/contexts/context-sonner/context.types.d.ts +59 -0
- package/build/contexts/context-sonner/index.d.ts +3 -0
- package/build/cores/consts.d.ts +30 -0
- package/build/{functions.d.ts → cores/functions.d.ts} +18 -22
- package/build/cores/logger.d.ts +1 -0
- package/build/cores/types.d.ts +18 -0
- package/build/date-picker-CPNNIEa-.cjs +3 -0
- package/build/date-picker-CPNNIEa-.cjs.map +1 -0
- package/build/date-picker-Uuce_InW.js +689 -0
- package/build/date-picker-Uuce_InW.js.map +1 -0
- package/build/dist-BV0C3tLK.js +483 -0
- package/build/dist-BV0C3tLK.js.map +1 -0
- package/build/dist-DswBAjW1.cjs +3 -0
- package/build/dist-DswBAjW1.cjs.map +1 -0
- package/build/error-DzkkNL2H.cjs +3 -0
- package/build/error-DzkkNL2H.cjs.map +1 -0
- package/build/error-L2fvWcNv.js +50 -0
- package/build/error-L2fvWcNv.js.map +1 -0
- package/build/functions-CLGf7hqw.js +20 -0
- package/build/functions-CLGf7hqw.js.map +1 -0
- package/build/functions-Dwo54amB.cjs +3 -0
- package/build/functions-Dwo54amB.cjs.map +1 -0
- package/build/hooks/use-debounced-callback/index.d.ts +1 -0
- package/build/hooks/use-debounced-callback/use.d.ts +1 -0
- package/build/hooks/use-deep-compare-memoize/index.d.ts +1 -0
- package/build/hooks/use-deep-compare-memoize/use.d.ts +1 -0
- package/build/hooks/use-deep-memo/index.d.ts +1 -0
- package/build/hooks/use-deep-memo/use.d.ts +1 -0
- package/build/hooks/use-merge-refs/index.d.ts +1 -0
- package/build/hooks/use-merge-refs/use.d.ts +2 -0
- package/build/hooks/use-overflowing/index.d.ts +2 -0
- package/build/hooks/use-overflowing/use.d.ts +12 -0
- package/build/hooks/use-overflowing/use.types.d.ts +6 -0
- package/build/hooks/use-overflowing-advanced/index.d.ts +2 -0
- package/build/hooks/use-overflowing-advanced/use.d.ts +7 -0
- package/build/hooks/use-overflowing-advanced/use.types.d.ts +5 -0
- package/build/hooks/use-overflowing-in-container/index.d.ts +2 -0
- package/build/hooks/use-overflowing-in-container/use.d.ts +7 -0
- package/build/hooks/use-overflowing-in-container/use.types.d.ts +7 -0
- package/build/hooks/use-responsive-layout/index.d.ts +1 -0
- package/build/hooks/use-responsive-layout/use.d.ts +2 -0
- package/build/hooks/use-typography-styles/index.d.ts +2 -0
- package/build/hooks/use-typography-styles/use.d.ts +2 -0
- package/build/hooks/use-typography-styles/use.types.d.ts +11 -0
- package/build/hooks-use-debounced-callback.cjs.js +3 -2
- package/build/hooks-use-debounced-callback.cjs.js.map +1 -1
- package/build/hooks-use-debounced-callback.d.ts +2 -3
- package/build/hooks-use-debounced-callback.es.js +12 -3
- package/build/hooks-use-debounced-callback.es.js.map +1 -1
- package/build/hooks-use-deep-compare-memoize.cjs.js +3 -2
- package/build/hooks-use-deep-compare-memoize.cjs.js.map +1 -1
- package/build/hooks-use-deep-compare-memoize.d.ts +2 -3
- package/build/hooks-use-deep-compare-memoize.es.js +10 -3
- package/build/hooks-use-deep-compare-memoize.es.js.map +1 -1
- package/build/hooks-use-deep-memo.cjs.js +3 -0
- package/build/hooks-use-deep-memo.cjs.js.map +1 -0
- package/build/hooks-use-deep-memo.d.ts +2 -0
- package/build/hooks-use-deep-memo.es.js +13 -0
- package/build/hooks-use-deep-memo.es.js.map +1 -0
- package/build/hooks-use-merge-refs.cjs.js +3 -0
- package/build/hooks-use-merge-refs.cjs.js.map +1 -0
- package/build/hooks-use-merge-refs.d.ts +2 -0
- package/build/hooks-use-merge-refs.es.js +13 -0
- package/build/hooks-use-merge-refs.es.js.map +1 -0
- package/build/hooks-use-overflowing-advanced.cjs.js +3 -0
- package/build/hooks-use-overflowing-advanced.cjs.js.map +1 -0
- package/build/hooks-use-overflowing-advanced.d.ts +2 -0
- package/build/hooks-use-overflowing-advanced.es.js +24 -0
- package/build/hooks-use-overflowing-advanced.es.js.map +1 -0
- package/build/hooks-use-overflowing-in-container.cjs.js +3 -0
- package/build/hooks-use-overflowing-in-container.cjs.js.map +1 -0
- package/build/hooks-use-overflowing-in-container.d.ts +2 -0
- package/build/hooks-use-overflowing-in-container.es.js +20 -0
- package/build/hooks-use-overflowing-in-container.es.js.map +1 -0
- package/build/hooks-use-overflowing.cjs.js +3 -0
- package/build/hooks-use-overflowing.cjs.js.map +1 -0
- package/build/hooks-use-overflowing.d.ts +2 -0
- package/build/hooks-use-overflowing.es.js +28 -0
- package/build/hooks-use-overflowing.es.js.map +1 -0
- package/build/hooks-use-responsive-layout.cjs.js +3 -0
- package/build/hooks-use-responsive-layout.cjs.js.map +1 -0
- package/build/hooks-use-responsive-layout.d.ts +2 -0
- package/build/hooks-use-responsive-layout.es.js +22 -0
- package/build/hooks-use-responsive-layout.es.js.map +1 -0
- package/build/hooks-use-typography-styles.cjs.js +3 -0
- package/build/hooks-use-typography-styles.cjs.js.map +1 -0
- package/build/hooks-use-typography-styles.d.ts +2 -0
- package/build/hooks-use-typography-styles.es.js +37 -0
- package/build/hooks-use-typography-styles.es.js.map +1 -0
- package/build/icon-CoIQwke4.cjs +3 -0
- package/build/icon-CoIQwke4.cjs.map +1 -0
- package/build/icon-DzAWOQJg.js +277 -0
- package/build/icon-DzAWOQJg.js.map +1 -0
- package/build/index.cjs.js +1 -2
- package/build/index.d.ts +39 -2494
- package/build/index.es.js +104 -309
- package/build/input-CV02F03L.js +917 -0
- package/build/input-CV02F03L.js.map +1 -0
- package/build/input-otp-B9cYxJ7X.js +106 -0
- package/build/input-otp-B9cYxJ7X.js.map +1 -0
- package/build/input-otp-BVRCfoRK.cjs +3 -0
- package/build/input-otp-BVRCfoRK.cjs.map +1 -0
- package/build/input-zXF5f99Z.cjs +11 -0
- package/build/input-zXF5f99Z.cjs.map +1 -0
- package/build/isEqual-DeC2HFe5.cjs +3 -0
- package/build/isEqual-DeC2HFe5.cjs.map +1 -0
- package/build/isEqual-Qb81B2zH.js +676 -0
- package/build/isEqual-Qb81B2zH.js.map +1 -0
- package/build/logger-BRWLzI5S.js +174 -0
- package/build/logger-BRWLzI5S.js.map +1 -0
- package/build/logger-DZFY33QY.cjs +5 -0
- package/build/logger-DZFY33QY.cjs.map +1 -0
- package/build/motion-CAPq8wSn.cjs +3 -0
- package/build/motion-CAPq8wSn.cjs.map +1 -0
- package/build/motion-Dt6TyEjN.js +128 -0
- package/build/motion-Dt6TyEjN.js.map +1 -0
- package/build/outside-B3nRnDGb.cjs +3 -0
- package/build/outside-B3nRnDGb.cjs.map +1 -0
- package/build/outside-DpK1pI8b.js +24 -0
- package/build/outside-DpK1pI8b.js.map +1 -0
- package/build/pagination-Dbs4Lrpt.cjs +3 -0
- package/build/pagination-Dbs4Lrpt.cjs.map +1 -0
- package/build/pagination-YXSjZsMZ.js +110 -0
- package/build/pagination-YXSjZsMZ.js.map +1 -0
- package/build/popover-1k1MNFwv.js +1948 -0
- package/build/popover-1k1MNFwv.js.map +1 -0
- package/build/popover-CgwGn-55.cjs +3 -0
- package/build/popover-CgwGn-55.cjs.map +1 -0
- package/build/preview-C_yFxoFH.js +65 -0
- package/build/preview-C_yFxoFH.js.map +1 -0
- package/build/preview-dT7fmxcc.cjs +3 -0
- package/build/preview-dT7fmxcc.cjs.map +1 -0
- package/build/proxy-_gZenxVU.cjs +3 -0
- package/build/proxy-_gZenxVU.cjs.map +1 -0
- package/build/proxy-wCWa57J3.js +4354 -0
- package/build/proxy-wCWa57J3.js.map +1 -0
- package/build/select-B0adRX2_.cjs +9 -0
- package/build/select-B0adRX2_.cjs.map +1 -0
- package/build/select-D7EyxR2l.js +3443 -0
- package/build/select-D7EyxR2l.js.map +1 -0
- package/build/separator-CbeH8Lug.cjs +3 -0
- package/build/separator-CbeH8Lug.cjs.map +1 -0
- package/build/separator-hWp-s54-.js +29 -0
- package/build/separator-hWp-s54-.js.map +1 -0
- package/build/skeleton-BoVFwt7y.cjs +3 -0
- package/build/skeleton-BoVFwt7y.cjs.map +1 -0
- package/build/skeleton-DNwTI6w0.js +39 -0
- package/build/skeleton-DNwTI6w0.js.map +1 -0
- package/build/style-motion.cjs.js +1 -2
- package/build/style-motion.d.ts +2 -20
- package/build/style-motion.es.js +5 -6
- package/build/style-utils.cjs.js +1 -0
- package/build/style-utils.d.ts +2 -0
- package/build/style-utils.es.js +7 -0
- package/build/styles/motion/index.d.ts +1 -0
- package/build/styles/motion/motion.d.ts +13 -0
- package/build/styles/utils/constants.d.ts +1797 -0
- package/build/styles/utils/functions.d.ts +3 -0
- package/build/styles/utils/index.d.ts +3 -0
- package/build/styles/utils/types.d.ts +68 -0
- package/build/textarea-CbZSeqGR.cjs +3 -0
- package/build/textarea-CbZSeqGR.cjs.map +1 -0
- package/build/textarea-ChkjV_Ha.js +132 -0
- package/build/textarea-ChkjV_Ha.js.map +1 -0
- package/build/toggle-I6YvEX4w.js +86 -0
- package/build/toggle-I6YvEX4w.js.map +1 -0
- package/build/toggle-gYw5FUp-.cjs +3 -0
- package/build/toggle-gYw5FUp-.cjs.map +1 -0
- package/build/typography-B2KioMfq.js +116 -0
- package/build/typography-B2KioMfq.js.map +1 -0
- package/build/typography-DcxhX_9e.cjs +3 -0
- package/build/typography-DcxhX_9e.cjs.map +1 -0
- package/build/utils-Cona48dZ.js +925 -0
- package/build/utils-Cona48dZ.js.map +1 -0
- package/build/utils-DtinAjAU.cjs +3 -0
- package/build/utils-DtinAjAU.cjs.map +1 -0
- package/build/v4-BDi_Luux.cjs +3 -0
- package/build/v4-BDi_Luux.cjs.map +1 -0
- package/build/v4-CYaPyb-W.js +31 -0
- package/build/v4-CYaPyb-W.js.map +1 -0
- package/package.json +185 -194
- package/build/area-0BNtBqG8.cjs +0 -2
- package/build/area-0BNtBqG8.cjs.map +0 -1
- package/build/area-B6xxVQ87.js +0 -35
- package/build/area-B6xxVQ87.js.map +0 -1
- package/build/area-B7-4IFQB.js +0 -19
- package/build/area-B7-4IFQB.js.map +0 -1
- package/build/area-DxKLtDFZ.cjs +0 -2
- package/build/area-DxKLtDFZ.cjs.map +0 -1
- package/build/area-outside.cjs.js.map +0 -1
- package/build/area-outside.es.js.map +0 -1
- package/build/area-preview.cjs.js.map +0 -1
- package/build/area-preview.es.js.map +0 -1
- package/build/area-scroll.cjs.js +0 -2
- package/build/area-scroll.cjs.js.map +0 -1
- package/build/area-scroll.d.ts +0 -57
- package/build/area-scroll.es.js +0 -7
- package/build/area-scroll.es.js.map +0 -1
- package/build/area-skeleton.cjs.js.map +0 -1
- package/build/area-skeleton.es.js.map +0 -1
- package/build/area-smooth.cjs.js +0 -2
- package/build/area-smooth.cjs.js.map +0 -1
- package/build/area-smooth.d.ts +0 -37
- package/build/area-smooth.es.js +0 -5
- package/build/area-smooth.es.js.map +0 -1
- package/build/area.hooks-Bk04M7mk.js +0 -26
- package/build/area.hooks-Bk04M7mk.js.map +0 -1
- package/build/area.hooks-C_UKZzcb.cjs +0 -2
- package/build/area.hooks-C_UKZzcb.cjs.map +0 -1
- package/build/area.styles-Cpx4H0gc.cjs +0 -27
- package/build/area.styles-Cpx4H0gc.cjs.map +0 -1
- package/build/area.styles-DhCCEhuq.js +0 -32
- package/build/area.styles-DhCCEhuq.js.map +0 -1
- package/build/component-B72M2Tpw.js +0 -84
- package/build/component-B72M2Tpw.js.map +0 -1
- package/build/component-BIxOOifU.cjs +0 -2
- package/build/component-BIxOOifU.cjs.map +0 -1
- package/build/component-BMIqhbpK.js +0 -23
- package/build/component-BMIqhbpK.js.map +0 -1
- package/build/component-BQru5uoj.js +0 -10
- package/build/component-BQru5uoj.js.map +0 -1
- package/build/component-BRCDQbb-.js +0 -50
- package/build/component-BRCDQbb-.js.map +0 -1
- package/build/component-BUkf5TLO.js +0 -170
- package/build/component-BUkf5TLO.js.map +0 -1
- package/build/component-BmccRQ_Y.cjs +0 -2
- package/build/component-BmccRQ_Y.cjs.map +0 -1
- package/build/component-Bvq-fgCN.cjs +0 -2
- package/build/component-Bvq-fgCN.cjs.map +0 -1
- package/build/component-C448kBTA.js +0 -443
- package/build/component-C448kBTA.js.map +0 -1
- package/build/component-C6I01Mel.cjs +0 -2
- package/build/component-C6I01Mel.cjs.map +0 -1
- package/build/component-C8mTuBua.js +0 -74
- package/build/component-C8mTuBua.js.map +0 -1
- package/build/component-CVWsmIlg.cjs +0 -2
- package/build/component-CVWsmIlg.cjs.map +0 -1
- package/build/component-C_6x7Mk8.js +0 -88
- package/build/component-C_6x7Mk8.js.map +0 -1
- package/build/component-CbWtsuhz.js +0 -60
- package/build/component-CbWtsuhz.js.map +0 -1
- package/build/component-Cfs39n8Q.js +0 -21
- package/build/component-Cfs39n8Q.js.map +0 -1
- package/build/component-CoOTSdM5.cjs +0 -28
- package/build/component-CoOTSdM5.cjs.map +0 -1
- package/build/component-Cu2i_-RT.cjs +0 -2
- package/build/component-Cu2i_-RT.cjs.map +0 -1
- package/build/component-CyZbUCkT.js +0 -39
- package/build/component-CyZbUCkT.js.map +0 -1
- package/build/component-D-HMYzXU.js +0 -65
- package/build/component-D-HMYzXU.js.map +0 -1
- package/build/component-D2vDwS60.cjs +0 -2
- package/build/component-D2vDwS60.cjs.map +0 -1
- package/build/component-D3KCIC-G.js +0 -64
- package/build/component-D3KCIC-G.js.map +0 -1
- package/build/component-DJAq34yj.cjs +0 -2
- package/build/component-DJAq34yj.cjs.map +0 -1
- package/build/component-DRMRXUJA.cjs +0 -2
- package/build/component-DRMRXUJA.cjs.map +0 -1
- package/build/component-DfSTPgfj.js +0 -248
- package/build/component-DfSTPgfj.js.map +0 -1
- package/build/component-DqV_-YxZ.cjs +0 -2
- package/build/component-DqV_-YxZ.cjs.map +0 -1
- package/build/component-DrmSI_ni.cjs +0 -2
- package/build/component-DrmSI_ni.cjs.map +0 -1
- package/build/component-Qxjnm7yi.cjs +0 -2
- package/build/component-Qxjnm7yi.cjs.map +0 -1
- package/build/component-WmDPzhcW.cjs +0 -2
- package/build/component-WmDPzhcW.cjs.map +0 -1
- package/build/component-accordion.cjs.js +0 -2
- package/build/component-accordion.cjs.js.map +0 -1
- package/build/component-accordion.d.ts +0 -100
- package/build/component-accordion.es.js +0 -11
- package/build/component-accordion.es.js.map +0 -1
- package/build/component-button-group.cjs.js +0 -2
- package/build/component-button-group.cjs.js.map +0 -1
- package/build/component-button-group.d.ts +0 -195
- package/build/component-button-group.es.js +0 -7
- package/build/component-button-group.es.js.map +0 -1
- package/build/component-button.cjs.js.map +0 -1
- package/build/component-button.es.js.map +0 -1
- package/build/component-checkbox-group.cjs.js +0 -2
- package/build/component-checkbox-group.cjs.js.map +0 -1
- package/build/component-checkbox-group.d.ts +0 -224
- package/build/component-checkbox-group.es.js +0 -12
- package/build/component-checkbox-group.es.js.map +0 -1
- package/build/component-checkbox.cjs.js.map +0 -1
- package/build/component-checkbox.es.js.map +0 -1
- package/build/component-date-picker.cjs.js.map +0 -1
- package/build/component-date-picker.es.js.map +0 -1
- package/build/component-gcvwlILJ.js +0 -76
- package/build/component-gcvwlILJ.js.map +0 -1
- package/build/component-icon.cjs.js.map +0 -1
- package/build/component-icon.es.js.map +0 -1
- package/build/component-image-button.cjs.js +0 -2
- package/build/component-image-button.cjs.js.map +0 -1
- package/build/component-image-button.d.ts +0 -215
- package/build/component-image-button.es.js +0 -5
- package/build/component-image-button.es.js.map +0 -1
- package/build/component-image-select.cjs.js +0 -2
- package/build/component-image-select.cjs.js.map +0 -1
- package/build/component-image-select.d.ts +0 -313
- package/build/component-image-select.es.js +0 -12
- package/build/component-image-select.es.js.map +0 -1
- package/build/component-image-slider.cjs.js +0 -2
- package/build/component-image-slider.cjs.js.map +0 -1
- package/build/component-image-slider.d.ts +0 -108
- package/build/component-image-slider.es.js +0 -9
- package/build/component-image-slider.es.js.map +0 -1
- package/build/component-image.cjs.js +0 -2
- package/build/component-image.cjs.js.map +0 -1
- package/build/component-image.d.ts +0 -51
- package/build/component-image.es.js +0 -7
- package/build/component-image.es.js.map +0 -1
- package/build/component-input-otp.cjs.js.map +0 -1
- package/build/component-input-otp.es.js.map +0 -1
- package/build/component-input.cjs.js.map +0 -1
- package/build/component-input.es.js.map +0 -1
- package/build/component-mFXKTq1K.cjs +0 -2
- package/build/component-mFXKTq1K.cjs.map +0 -1
- package/build/component-pagination.cjs.js.map +0 -1
- package/build/component-pagination.es.js.map +0 -1
- package/build/component-range.cjs.js +0 -2
- package/build/component-range.cjs.js.map +0 -1
- package/build/component-range.d.ts +0 -212
- package/build/component-range.es.js +0 -9
- package/build/component-range.es.js.map +0 -1
- package/build/component-ripple.cjs.js +0 -2
- package/build/component-ripple.cjs.js.map +0 -1
- package/build/component-ripple.d.ts +0 -47
- package/build/component-ripple.es.js +0 -12
- package/build/component-ripple.es.js.map +0 -1
- package/build/component-select.cjs.js.map +0 -1
- package/build/component-select.es.js.map +0 -1
- package/build/component-separator.cjs.js.map +0 -1
- package/build/component-separator.es.js.map +0 -1
- package/build/component-stack.cjs.js.map +0 -1
- package/build/component-stack.es.js.map +0 -1
- package/build/component-textarea.cjs.js.map +0 -1
- package/build/component-textarea.es.js.map +0 -1
- package/build/component-toggle.cjs.js.map +0 -1
- package/build/component-toggle.es.js.map +0 -1
- package/build/component-tooltip.cjs.js.map +0 -1
- package/build/component-tooltip.es.js.map +0 -1
- package/build/component-typography.cjs.js.map +0 -1
- package/build/component-typography.es.js.map +0 -1
- package/build/component.constants-BQOzGr0l.js +0 -757
- package/build/component.constants-BQOzGr0l.js.map +0 -1
- package/build/component.constants-CFLrPu5_.cjs +0 -2
- package/build/component.constants-CFLrPu5_.cjs.map +0 -1
- package/build/component.constants-DI22AYyi.js +0 -142
- package/build/component.constants-DI22AYyi.js.map +0 -1
- package/build/component.constants-DnHO8qFb.cjs +0 -2
- package/build/component.constants-DnHO8qFb.cjs.map +0 -1
- package/build/component.functions-D9ffjEok.cjs +0 -8
- package/build/component.functions-D9ffjEok.cjs.map +0 -1
- package/build/component.functions-DNW6h8kk.js +0 -12
- package/build/component.functions-DNW6h8kk.js.map +0 -1
- package/build/component.styles-BX2Aiqp_.cjs +0 -43
- package/build/component.styles-BX2Aiqp_.cjs.map +0 -1
- package/build/component.styles-C0oU5oX_.js +0 -59
- package/build/component.styles-C0oU5oX_.js.map +0 -1
- package/build/component.styles-CD6ZzRrk.cjs +0 -14
- package/build/component.styles-CD6ZzRrk.cjs.map +0 -1
- package/build/component.styles-SZ5VuhNG.js +0 -20
- package/build/component.styles-SZ5VuhNG.js.map +0 -1
- package/build/component.types-6hyRS9ZB.cjs +0 -2
- package/build/component.types-6hyRS9ZB.cjs.map +0 -1
- package/build/component.types-e2YpVj0l.js +0 -907
- package/build/component.types-e2YpVj0l.js.map +0 -1
- package/build/consts.cjs.js +0 -2
- package/build/consts.cjs.js.map +0 -1
- package/build/consts.d.ts +0 -77
- package/build/consts.es.js +0 -151
- package/build/consts.es.js.map +0 -1
- package/build/context-BK9a46O1.cjs +0 -4
- package/build/context-BK9a46O1.cjs.map +0 -1
- package/build/context-CPZf131N.cjs +0 -2
- package/build/context-CPZf131N.cjs.map +0 -1
- package/build/context-Cr80KOpF.js +0 -122
- package/build/context-Cr80KOpF.js.map +0 -1
- package/build/context-DssNKJ_n.cjs +0 -2
- package/build/context-DssNKJ_n.cjs.map +0 -1
- package/build/context-PFdUnKga.js +0 -44
- package/build/context-PFdUnKga.js.map +0 -1
- package/build/context-app.cjs.js.map +0 -1
- package/build/context-app.es.js.map +0 -1
- package/build/context-cookie.cjs.js.map +0 -1
- package/build/context-cookie.es.js.map +0 -1
- package/build/context-dialog.cjs.js.map +0 -1
- package/build/context-dialog.es.js.map +0 -1
- package/build/context-geolocation.cjs.js.map +0 -1
- package/build/context-geolocation.es.js.map +0 -1
- package/build/context-local-storage.cjs.js.map +0 -1
- package/build/context-local-storage.es.js.map +0 -1
- package/build/context-permission.cjs.js.map +0 -1
- package/build/context-permission.es.js.map +0 -1
- package/build/context-screen-width.cjs.js.map +0 -1
- package/build/context-screen-width.es.js.map +0 -1
- package/build/context-sonner.cjs.js.map +0 -1
- package/build/context-sonner.es.js.map +0 -1
- package/build/context-w9weDPCZ.js +0 -200
- package/build/context-w9weDPCZ.js.map +0 -1
- package/build/context.constants-B14bB8O1.js +0 -254
- package/build/context.constants-B14bB8O1.js.map +0 -1
- package/build/context.constants-BA1u2p1r.cjs +0 -32
- package/build/context.constants-BA1u2p1r.cjs.map +0 -1
- package/build/context.constants-BWLe7YHv.js +0 -12598
- package/build/context.constants-BWLe7YHv.js.map +0 -1
- package/build/context.constants-baqYH-_k.cjs +0 -1742
- package/build/context.constants-baqYH-_k.cjs.map +0 -1
- package/build/context.functions--v7FClEV.cjs +0 -2
- package/build/context.functions--v7FClEV.cjs.map +0 -1
- package/build/context.functions-B8FDl7nJ.js +0 -14
- package/build/context.functions-B8FDl7nJ.js.map +0 -1
- package/build/context.functions-CB6--UcR.js +0 -35
- package/build/context.functions-CB6--UcR.js.map +0 -1
- package/build/context.functions-CHaPcuVS.cjs +0 -2
- package/build/context.functions-CHaPcuVS.cjs.map +0 -1
- package/build/context.functions-CPP8X6so.js +0 -35
- package/build/context.functions-CPP8X6so.js.map +0 -1
- package/build/context.functions-ar41xFVo.cjs +0 -2
- package/build/context.functions-ar41xFVo.cjs.map +0 -1
- package/build/context.hooks-B-YcyJ5E.cjs +0 -2
- package/build/context.hooks-B-YcyJ5E.cjs.map +0 -1
- package/build/context.hooks-B9dsW2kz.js +0 -117
- package/build/context.hooks-B9dsW2kz.js.map +0 -1
- package/build/context.hooks-Bi7spFak.cjs +0 -2
- package/build/context.hooks-Bi7spFak.cjs.map +0 -1
- package/build/context.hooks-BnHnPV_i.js +0 -49
- package/build/context.hooks-BnHnPV_i.js.map +0 -1
- package/build/context.hooks-CDnjxy35.cjs +0 -2
- package/build/context.hooks-CDnjxy35.cjs.map +0 -1
- package/build/context.hooks-DDD8ffJI.cjs +0 -2
- package/build/context.hooks-DDD8ffJI.cjs.map +0 -1
- package/build/context.hooks-Df0m0Voe.js +0 -13
- package/build/context.hooks-Df0m0Voe.js.map +0 -1
- package/build/context.hooks-DjafkFMD.cjs +0 -2
- package/build/context.hooks-DjafkFMD.cjs.map +0 -1
- package/build/context.hooks-DpwnIiRj.cjs +0 -2
- package/build/context.hooks-DpwnIiRj.cjs.map +0 -1
- package/build/context.hooks-HEeFGka7.js +0 -13
- package/build/context.hooks-HEeFGka7.js.map +0 -1
- package/build/context.hooks-NDk5ehgk.js +0 -13
- package/build/context.hooks-NDk5ehgk.js.map +0 -1
- package/build/context.hooks-oclt34zD.js +0 -68
- package/build/context.hooks-oclt34zD.js.map +0 -1
- package/build/functions.cjs.js +0 -2
- package/build/functions.cjs.js.map +0 -1
- package/build/functions.es.js +0 -50
- package/build/functions.es.js.map +0 -1
- package/build/index.cjs.js.map +0 -1
- package/build/index.es.js.map +0 -1
- package/build/jsx-runtime-C6yv_9g1.cjs +0 -11
- package/build/jsx-runtime-C6yv_9g1.cjs.map +0 -1
- package/build/jsx-runtime-DZS36FSE.js +0 -316
- package/build/jsx-runtime-DZS36FSE.js.map +0 -1
- package/build/motion-DrSN18V7.cjs +0 -2
- package/build/motion-DrSN18V7.cjs.map +0 -1
- package/build/motion-K7hUU4gL.js +0 -85
- package/build/motion-K7hUU4gL.js.map +0 -1
- package/build/style-BfuEu91g.js +0 -176
- package/build/style-BfuEu91g.js.map +0 -1
- package/build/style-Drq-Q1Im.cjs +0 -136
- package/build/style-Drq-Q1Im.cjs.map +0 -1
- package/build/style-add.cjs.js +0 -2
- package/build/style-add.cjs.js.map +0 -1
- package/build/style-add.d.ts +0 -88
- package/build/style-add.es.js +0 -17
- package/build/style-add.es.js.map +0 -1
- package/build/style-error.cjs.js +0 -2
- package/build/style-error.cjs.js.map +0 -1
- package/build/style-error.d.ts +0 -99
- package/build/style-error.es.js +0 -7
- package/build/style-error.es.js.map +0 -1
- package/build/style-fRZ6xrVp.cjs +0 -10
- package/build/style-fRZ6xrVp.cjs.map +0 -1
- package/build/style-motion.cjs.js.map +0 -1
- package/build/style-motion.es.js.map +0 -1
- package/build/style-plT9Ah7t.js +0 -33
- package/build/style-plT9Ah7t.js.map +0 -1
- package/build/style-sx.cjs.js +0 -2
- package/build/style-sx.cjs.js.map +0 -1
- package/build/style-sx.d.ts +0 -33
- package/build/style-sx.es.js +0 -5
- package/build/style-sx.es.js.map +0 -1
- package/build/style-theme.cjs.js +0 -2
- package/build/style-theme.cjs.js.map +0 -1
- package/build/style-theme.d.ts +0 -293
- package/build/style-theme.es.js +0 -16
- package/build/style-theme.es.js.map +0 -1
- package/build/types.cjs.js +0 -2
- package/build/types.cjs.js.map +0 -1
- package/build/types.d.ts +0 -27
- package/build/types.es.js +0 -2
- package/build/types.es.js.map +0 -1
- package/build/use-BF8VW4MA.cjs +0 -16
- package/build/use-BF8VW4MA.cjs.map +0 -1
- package/build/use-Bp8UVw4Y.js +0 -16
- package/build/use-Bp8UVw4Y.js.map +0 -1
- package/build/use-C7vngeRk.js +0 -882
- package/build/use-C7vngeRk.js.map +0 -1
- package/build/use-DdGWsOBo.js +0 -1577
- package/build/use-DdGWsOBo.js.map +0 -1
- package/build/use-IhzeVumv.cjs +0 -2
- package/build/use-IhzeVumv.cjs.map +0 -1
- package/build/use-zW3LuRc_.cjs +0 -2
- package/build/use-zW3LuRc_.cjs.map +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const it=require("./chunk-Dd8m0Ver.cjs"),N=require("./utils-DtinAjAU.cjs"),Be=require("./functions-Dwo54amB.cjs"),Ct=require("./hooks-use-typography-styles.cjs.js");let V=require("react/jsx-runtime"),d=require("react");d=it.__toESM(d,1);let fe=require("react-dom");fe=it.__toESM(fe,1);function we(){return typeof window<"u"}function ne(e){return Fe(e)?(e.nodeName||"").toLowerCase():"#document"}function B(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function z(e){var t;return(t=(Fe(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fe(e){return we()?e instanceof Node||e instanceof B(e).Node:!1}function _(e){return we()?e instanceof Element||e instanceof B(e).Element:!1}function U(e){return we()?e instanceof HTMLElement||e instanceof B(e).HTMLElement:!1}function Ae(e){return!we()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof B(e).ShadowRoot}function ce(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!=="inline"&&i!=="contents"}function At(e){return/^(table|td|th)$/.test(ne(e))}function xe(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Ot=/transform|translate|scale|rotate|perspective|filter/,Tt=/paint|layout|strict|content/,Q=e=>!!e&&e!=="none",Re;function Ie(e){const t=_(e)?$(e):e;return Q(t.transform)||Q(t.translate)||Q(t.scale)||Q(t.rotate)||Q(t.perspective)||!Ne()&&(Q(t.backdropFilter)||Q(t.filter))||Ot.test(t.willChange||"")||Tt.test(t.contain||"")}function Lt(e){let t=K(e);for(;U(t)&&!te(t);){if(Ie(t))return t;if(xe(t))return null;t=K(t)}return null}function Ne(){return Re==null&&(Re=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Re}function te(e){return/^(html|body|#document)$/.test(ne(e))}function $(e){return B(e).getComputedStyle(e)}function ye(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function K(e){if(ne(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ae(e)&&e.host||z(e);return Ae(t)?t.host:t}function ot(e){const t=K(e);return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:U(t)&&ce(t)?t:ot(t)}function oe(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=ot(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=B(i);if(o){const l=Oe(s);return t.concat(s,s.visualViewport||[],ce(i)?i:[],l&&n?oe(l):[])}else return t.concat(i,oe(i,[],n))}function Oe(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var G=Math.min,H=Math.max,de=Math.round,ae=Math.floor,j=e=>({x:e,y:e}),Dt={left:"right",right:"left",bottom:"top",top:"bottom"};function Te(e,t,n){return H(e,G(t,n))}function re(e,t){return typeof e=="function"?e(t):e}function Z(e){return e.split("-")[0]}function ie(e){return e.split("-")[1]}function st(e){return e==="x"?"y":"x"}function ke(e){return e==="y"?"height":"width"}function q(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function _e(e){return st(q(e))}function Pt(e,t,n){n===void 0&&(n=!1);const r=ie(e),i=_e(e),o=ke(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=me(s)),[s,me(s)]}function Mt(e){const t=me(e);return[Le(e),t,Le(t)]}function Le(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var $e=["left","right"],je=["right","left"],Ft=["top","bottom"],It=["bottom","top"];function Nt(e,t,n){switch(e){case"top":case"bottom":return n?t?je:$e:t?$e:je;case"left":case"right":return t?Ft:It;default:return[]}}function kt(e,t,n,r){const i=ie(e);let o=Nt(Z(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(Le)))),o}function me(e){const t=Z(e);return Dt[t]+e.slice(t.length)}function _t(e){return{top:0,right:0,bottom:0,left:0,...e}}function lt(e){return typeof e!="number"?_t(e):{top:e,right:e,bottom:e,left:e}}function ge(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}var Wt=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],De=Wt.join(","),ct=typeof Element>"u",se=ct?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,he=!ct&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},ve=function(t,n){var r;n===void 0&&(n=!0);var i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert");return i===""||i==="true"||n&&t&&(typeof t.closest=="function"?t.closest("[inert]"):ve(t.parentNode))},Vt=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},Ht=function(t,n,r){if(ve(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(De));return n&&se.call(t,De)&&i.unshift(t),i=i.filter(r),i},Pe=function(t,n,r){for(var i=[],o=Array.from(t);o.length;){var s=o.shift();if(!ve(s,!1))if(s.tagName==="SLOT"){var l=s.assignedElements(),a=Pe(l.length?l:s.children,!0,r);r.flatten?i.push.apply(i,a):i.push({scopeParent:s,candidates:a})}else{se.call(s,De)&&r.filter(s)&&(n||!t.includes(s))&&i.push(s);var u=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),c=!ve(u,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(u&&c){var m=Pe(u===!0?s.children:u.children,!0,r);r.flatten?i.push.apply(i,m):i.push({scopeParent:s,candidates:m})}else o.unshift.apply(o,s.children)}}return i},at=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},ut=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Vt(t))&&!at(t)?0:t.tabIndex},Bt=function(t,n){var r=ut(t);return r<0&&n&&!at(t)?0:r},$t=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},ft=function(t){return t.tagName==="INPUT"},jt=function(t){return ft(t)&&t.type==="hidden"},zt=function(t){return t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"})},qt=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},Ut=function(t){if(!t.name)return!0;var n=t.form||he(t),r=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(t.name));else try{i=r(t.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var o=qt(i,t.form);return!o||o===t},Xt=function(t){return ft(t)&&t.type==="radio"},Yt=function(t){return Xt(t)&&!Ut(t)},Kt=function(t){var n,r=t&&he(t),i=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var s,l,a;for(o=!!((s=i)!==null&&s!==void 0&&(l=s.ownerDocument)!==null&&l!==void 0&&l.contains(i)||t!=null&&(a=t.ownerDocument)!==null&&a!==void 0&&a.contains(t));!o&&i;){var u,c,m;r=he(i),i=(u=r)===null||u===void 0?void 0:u.host,o=!!((c=i)!==null&&c!==void 0&&(m=c.ownerDocument)!==null&&m!==void 0&&m.contains(i))}}return o},ze=function(t){var n=t.getBoundingClientRect(),r=n.width,i=n.height;return r===0&&i===0},Gt=function(t,n){var r=n.displayCheck,i=n.getShadowRoot;if(r==="full-native"&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if(getComputedStyle(t).visibility==="hidden")return!0;var o=se.call(t,"details>summary:first-of-type")?t.parentElement:t;if(se.call(o,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="full-native"||r==="legacy-full"){if(typeof i=="function"){for(var s=t;t;){var l=t.parentElement,a=he(t);if(l&&!l.shadowRoot&&i(l)===!0)return ze(t);t.assignedSlot?t=t.assignedSlot:!l&&a!==t.ownerDocument?t=a.host:t=l}t=s}if(Kt(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ze(t);return!1},Zt=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var i=n.children.item(r);if(i.tagName==="LEGEND")return se.call(n,"fieldset[disabled] *")?!0:!i.contains(t)}return!0}n=n.parentElement}return!1},Qt=function(t,n){return!(n.disabled||jt(n)||Gt(n,t)||zt(n)||Zt(n))},qe=function(t,n){return!(Yt(n)||ut(n)<0||!Qt(t,n))},Jt=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},dt=function(t){var n=[],r=[];return t.forEach(function(i,o){var s=!!i.scopeParent,l=s?i.scopeParent:i,a=Bt(l,s),u=s?dt(i.candidates):l;a===0?s?n.push.apply(n,u):n.push(l):r.push({documentOrder:o,tabIndex:a,item:i,isScope:s,content:u})}),r.sort($t).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(n)},mt=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Pe([t],n.includeContainer,{filter:qe.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Jt}):r=Ht(t,n.includeContainer,qe.bind(null,n)),dt(r)};function en(){return/apple/i.test(navigator.vendor)}function tn(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function nn(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Ae(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function We(e){return e?.ownerDocument||document}var Y=typeof document<"u"?d.useLayoutEffect:function(){},rn={...d},on=rn.useInsertionEffect||(e=>e());function sn(e){const t=d.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return on(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current==null?void 0:t.current(...r)},[])}var gt=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function ht(e,t){const n=mt(e,gt()),r=n.length;if(r===0)return;const i=tn(We(e)),o=n.indexOf(i);return n[o===-1?t===1?0:r-1:o+t]}function ln(e){return ht(We(e).body,1)||e}function cn(e){return ht(We(e).body,-1)||e}function Se(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!nn(n,r)}function an(e){mt(e,gt()).forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")})}function Ue(e){e.querySelectorAll("[data-tabindex]").forEach(t=>{const n=t.dataset.tabindex;delete t.dataset.tabindex,n?t.setAttribute("tabindex",n):t.removeAttribute("tabindex")})}function Xe(e,t,n){let{reference:r,floating:i}=e;const o=q(t),s=_e(t),l=ke(s),a=Z(t),u=o==="y",c=r.x+r.width/2-i.width/2,m=r.y+r.height/2-i.height/2,g=r[l]/2-i[l]/2;let h;switch(a){case"top":h={x:c,y:r.y-i.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:m};break;case"left":h={x:r.x-i.width,y:m};break;default:h={x:r.x,y:r.y}}switch(ie(t)){case"start":h[s]-=g*(n&&u?-1:1);break;case"end":h[s]+=g*(n&&u?-1:1);break}return h}async function un(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:m="floating",altBoundary:g=!1,padding:h=0}=re(t,e),b=lt(h),f=l[g?m==="floating"?"reference":"floating":m],x=ge(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(f)))==null||n?f:f.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:a})),y=m==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),R=await(o.isElement==null?void 0:o.isElement(v))?await(o.getScale==null?void 0:o.getScale(v))||{x:1,y:1}:{x:1,y:1},A=ge(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:a}):y);return{top:(x.top-A.top+b.top)/R.y,bottom:(A.bottom-x.bottom+b.bottom)/R.y,left:(x.left-A.left+b.left)/R.x,right:(A.right-x.right+b.right)/R.x}}var fn=50,dn=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:un},a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:m}=Xe(u,r,a),g=r,h=0;const b={};for(let f=0;f<o.length;f++){const x=o[f];if(!x)continue;const{name:y,fn:v}=x,{x:R,y:A,data:F,reset:T}=await v({x:c,y:m,initialPlacement:r,placement:g,strategy:i,middlewareData:b,rects:u,platform:l,elements:{reference:e,floating:t}});c=R??c,m=A??m,b[y]={...b[y],...F},T&&h<fn&&(h++,typeof T=="object"&&(T.placement&&(g=T.placement),T.rects&&(u=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):T.rects),{x:c,y:m}=Xe(u,g,a)),f=-1)}return{x:c,y:m,placement:g,strategy:i,middlewareData:b}},mn=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:c=0}=re(e,t)||{};if(u==null)return{};const m=lt(c),g={x:n,y:r},h=_e(i),b=ke(h),f=await s.getDimensions(u),x=h==="y",y=x?"top":"left",v=x?"bottom":"right",R=x?"clientHeight":"clientWidth",A=o.reference[b]+o.reference[h]-g[h]-o.floating[b],F=g[h]-o.reference[h],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let w=T?T[R]:0;(!w||!await(s.isElement==null?void 0:s.isElement(T)))&&(w=l.floating[R]||o.floating[b]);const p=A/2-F/2,O=w/2-f[b]/2-1,C=G(m[y],O),S=G(m[v],O),E=C,P=w-f[b]-S,L=w/2-f[b]/2+p,k=Te(E,L,P),D=!a.arrow&&ie(i)!=null&&L!==k&&o.reference[b]/2-(L<E?C:S)-f[b]/2<0,I=D?L<E?L-E:L-P:0;return{[h]:g[h]+I,data:{[h]:k,centerOffset:L-k-I,...D&&{alignmentOffset:I}},reset:D}}}),gn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:c=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:f=!0,...x}=re(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const y=Z(i),v=q(l),R=Z(l)===l,A=await(a.isRTL==null?void 0:a.isRTL(u.floating)),F=g||(R||!f?[me(l)]:Mt(l)),T=b!=="none";!g&&T&&F.push(...kt(l,f,b,A));const w=[l,...F],p=await a.detectOverflow(t,x),O=[];let C=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&O.push(p[y]),m){const L=Pt(i,s,A);O.push(p[L[0]],p[L[1]])}if(C=[...C,{placement:i,overflows:O}],!O.every(L=>L<=0)){var S,E;const L=(((S=o.flip)==null?void 0:S.index)||0)+1,k=w[L];if(k&&(!(m==="alignment"&&v!==q(k))||C.every(I=>q(I.placement)===v?I.overflows[0]>0:!0)))return{data:{index:L,overflows:C},reset:{placement:k}};let D=(E=C.filter(I=>I.overflows[0]<=0).sort((I,M)=>I.overflows[1]-M.overflows[1])[0])==null?void 0:E.placement;if(!D)switch(h){case"bestFit":{var P;const I=(P=C.filter(M=>{if(T){const W=q(M.placement);return W===v||W==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(W=>W>0).reduce((W,X)=>W+X,0)]).sort((M,W)=>M[1]-W[1])[0])==null?void 0:P[0];I&&(D=I);break}case"initialPlacement":D=l;break}if(i!==D)return{reset:{placement:D}}}return{}}}},hn=new Set(["left","top"]);async function vn(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Z(n),l=ie(n),a=q(n)==="y",u=hn.has(s)?-1:1,c=o&&a?-1:1,m=re(t,e);let{mainAxis:g,crossAxis:h,alignmentAxis:b}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof b=="number"&&(h=l==="end"?b*-1:b),a?{x:h*c,y:g*u}:{x:g*u,y:h*c}}var bn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:l}=t,a=await vn(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:s}}}}},wn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:y=>{let{x:v,y:R}=y;return{x:v,y:R}}},...u}=re(e,t),c={x:n,y:r},m=await o.detectOverflow(t,u),g=q(Z(i)),h=st(g);let b=c[h],f=c[g];if(s){const y=h==="y"?"top":"left",v=h==="y"?"bottom":"right",R=b+m[y],A=b-m[v];b=Te(R,b,A)}if(l){const y=g==="y"?"top":"left",v=g==="y"?"bottom":"right",R=f+m[y],A=f-m[v];f=Te(R,f,A)}const x=a.fn({...t,[h]:b,[g]:f});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[h]:s,[g]:l}}}}}},xn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:s,elements:l}=t,{apply:a=()=>{},...u}=re(e,t),c=await s.detectOverflow(t,u),m=Z(i),g=ie(i),h=q(i)==="y",{width:b,height:f}=o.floating;let x,y;m==="top"||m==="bottom"?(x=m,y=g===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(y=m,x=g==="end"?"top":"bottom");const v=f-c.top-c.bottom,R=b-c.left-c.right,A=G(f-c[x],v),F=G(b-c[y],R),T=!t.middlewareData.shift;let w=A,p=F;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(p=R),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(w=v),T&&!g){const C=H(c.left,0),S=H(c.right,0),E=H(c.top,0),P=H(c.bottom,0);h?p=b-2*(C!==0||S!==0?C+S:H(c.left,c.right)):w=f-2*(E!==0||P!==0?E+P:H(c.top,c.bottom))}await a({...t,availableWidth:p,availableHeight:w});const O=await s.getDimensions(l.floating);return b!==O.width||f!==O.height?{reset:{rects:!0}}:{}}}};function vt(e){const t=$(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=U(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,l=de(n)!==o||de(r)!==s;return l&&(n=o,r=s),{width:n,height:r,$:l}}function Ve(e){return _(e)?e:e.contextElement}function ee(e){const t=Ve(e);if(!U(t))return j(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=vt(t);let s=(o?de(n.width):n.width)/r,l=(o?de(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var yn=j(0);function bt(e){const t=B(e);return!Ne()||!t.visualViewport?yn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function pn(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==B(e)?!1:t}function J(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=Ve(e);let s=j(1);t&&(r?_(r)&&(s=ee(r)):s=ee(e));const l=pn(o,n,r)?bt(o):j(0);let a=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,c=i.width/s.x,m=i.height/s.y;if(o){const g=B(o),h=r&&_(r)?B(r):r;let b=g,f=Oe(b);for(;f&&r&&h!==b;){const x=ee(f),y=f.getBoundingClientRect(),v=$(f),R=y.left+(f.clientLeft+parseFloat(v.paddingLeft))*x.x,A=y.top+(f.clientTop+parseFloat(v.paddingTop))*x.y;a*=x.x,u*=x.y,c*=x.x,m*=x.y,a+=R,u+=A,b=B(f),f=Oe(b)}}return ge({width:c,height:m,x:a,y:u})}function pe(e,t){const n=ye(e).scrollLeft;return t?t.left+n:J(z(e)).left+n}function wt(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-pe(e,n),y:n.top+t.scrollTop}}function Rn(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=z(r),l=t?xe(t.floating):!1;if(r===s||l&&o)return n;let a={scrollLeft:0,scrollTop:0},u=j(1);const c=j(0),m=U(r);if((m||!m&&!o)&&((ne(r)!=="body"||ce(s))&&(a=ye(r)),m)){const h=J(r);u=ee(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const g=s&&!m&&!o?wt(s,a):j(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+c.x+g.x,y:n.y*u.y-a.scrollTop*u.y+c.y+g.y}}function Sn(e){return Array.from(e.getClientRects())}function En(e){const t=z(e),n=ye(e),r=e.ownerDocument.body,i=H(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=H(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+pe(e);const l=-n.scrollTop;return $(r).direction==="rtl"&&(s+=H(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:l}}var Ye=25;function Cn(e,t){const n=B(e),r=z(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,l=0,a=0;if(i){o=i.width,s=i.height;const c=Ne();(!c||c&&t==="fixed")&&(l=i.offsetLeft,a=i.offsetTop)}const u=pe(r);if(u<=0){const c=r.ownerDocument,m=c.body,g=getComputedStyle(m),h=c.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,b=Math.abs(r.clientWidth-m.clientWidth-h);b<=Ye&&(o-=b)}else u<=Ye&&(o+=u);return{width:o,height:s,x:l,y:a}}function An(e,t){const n=J(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=U(e)?ee(e):j(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}function Ke(e,t,n){let r;if(t==="viewport")r=Cn(e,n);else if(t==="document")r=En(z(e));else if(_(t))r=An(t,n);else{const i=bt(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return ge(r)}function xt(e,t){const n=K(e);return n===t||!_(n)||te(n)?!1:$(n).position==="fixed"||xt(n,t)}function On(e,t){const n=t.get(e);if(n)return n;let r=oe(e,[],!1).filter(l=>_(l)&&ne(l)!=="body"),i=null;const o=$(e).position==="fixed";let s=o?K(e):e;for(;_(s)&&!te(s);){const l=$(s),a=Ie(s);!a&&l.position==="fixed"&&(i=null),(o?!a&&!i:!a&&l.position==="static"&&i&&(i.position==="absolute"||i.position==="fixed")||ce(s)&&!a&&xt(e,s))?r=r.filter(u=>u!==s):i=l,s=K(s)}return t.set(e,r),r}function Tn(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?xe(t)?[]:On(t,this._c):[].concat(n),r],s=Ke(t,o[0],i);let l=s.top,a=s.right,u=s.bottom,c=s.left;for(let m=1;m<o.length;m++){const g=Ke(t,o[m],i);l=H(g.top,l),a=G(g.right,a),u=G(g.bottom,u),c=H(g.left,c)}return{width:a-c,height:u-l,x:c,y:l}}function Ln(e){const{width:t,height:n}=vt(e);return{width:t,height:n}}function Dn(e,t,n){const r=U(t),i=z(t),o=n==="fixed",s=J(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const a=j(0);function u(){a.x=pe(i)}if(r||!r&&!o)if((ne(t)!=="body"||ce(i))&&(l=ye(t)),r){const m=J(t,!0,o,t);a.x=m.x+t.clientLeft,a.y=m.y+t.clientTop}else i&&u();o&&!r&&i&&u();const c=i&&!r&&!o?wt(i,l):j(0);return{x:s.left+l.scrollLeft-a.x-c.x,y:s.top+l.scrollTop-a.y-c.y,width:s.width,height:s.height}}function Ee(e){return $(e).position==="static"}function Ge(e,t){if(!U(e)||$(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return z(e)===n&&(n=n.ownerDocument.body),n}function yt(e,t){const n=B(e);if(xe(e))return n;if(!U(e)){let i=K(e);for(;i&&!te(i);){if(_(i)&&!Ee(i))return i;i=K(i)}return n}let r=Ge(e,t);for(;r&&At(r)&&Ee(r);)r=Ge(r,t);return r&&te(r)&&Ee(r)&&!Ie(r)?n:r||Lt(e)||n}var Pn=async function(e){const t=this.getOffsetParent||yt,n=this.getDimensions,r=await n(e.floating);return{reference:Dn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Mn(e){return $(e).direction==="rtl"}var Fn={convertOffsetParentRelativeRectToViewportRelativeRect:Rn,getDocumentElement:z,getClippingRect:Tn,getOffsetParent:yt,getElementRects:Pn,getClientRects:Sn,getDimensions:Ln,getScale:ee,isElement:_,isRTL:Mn};function pt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function In(e,t){let n=null,r;const i=z(e);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),o();const u=e.getBoundingClientRect(),{left:c,top:m,width:g,height:h}=u;if(l||t(),!g||!h)return;const b=ae(m),f=ae(i.clientWidth-(c+g)),x=ae(i.clientHeight-(m+h)),y=ae(c),v={rootMargin:-b+"px "+-f+"px "+-x+"px "+-y+"px",threshold:H(0,G(1,a))||1};let R=!0;function A(F){const T=F[0].intersectionRatio;if(T!==a){if(!R)return s();T?s(!1,T):r=setTimeout(()=>{s(!1,1e-7)},1e3)}T===1&&!pt(u,e.getBoundingClientRect())&&s(),R=!1}try{n=new IntersectionObserver(A,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(A,v)}n.observe(e)}return s(!0),o}function Nn(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=Ve(e),c=i||o?[...u?oe(u):[],...t?oe(t):[]]:[];c.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),o&&y.addEventListener("resize",n)});const m=u&&l?In(u,n):null;let g=-1,h=null;s&&(h=new ResizeObserver(y=>{let[v]=y;v&&v.target===u&&h&&t&&(h.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var R;(R=h)==null||R.observe(t)})),n()}),u&&!a&&h.observe(u),t&&h.observe(t));let b,f=a?J(e):null;a&&x();function x(){const y=J(e);f&&!pt(f,y)&&n(),f=y,b=requestAnimationFrame(x)}return n(),()=>{var y;c.forEach(v=>{i&&v.removeEventListener("scroll",n),o&&v.removeEventListener("resize",n)}),m?.(),(y=h)==null||y.disconnect(),h=null,a&&cancelAnimationFrame(b)}}var kn=bn,_n=wn,Wn=gn,Vn=xn,Ze=mn,Hn=(e,t,n)=>{const r=new Map,i={platform:Fn,...n},o={...i.platform,_c:r};return dn(e,t,{...i,platform:o})},ue=typeof document<"u"?d.useLayoutEffect:function(){};function be(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!be(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!be(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Rt(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Qe(e,t){const n=Rt(e);return Math.round(t*n)/n}function Ce(e){const t=d.useRef(e);return ue(()=>{t.current=e}),t}function Bn(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:l=!0,whileElementsMounted:a,open:u}=e,[c,m]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,h]=d.useState(r);be(g,r)||h(r);const[b,f]=d.useState(null),[x,y]=d.useState(null),v=d.useCallback(M=>{M!==T.current&&(T.current=M,f(M))},[]),R=d.useCallback(M=>{M!==w.current&&(w.current=M,y(M))},[]),A=o||b,F=s||x,T=d.useRef(null),w=d.useRef(null),p=d.useRef(c),O=a!=null,C=Ce(a),S=Ce(i),E=Ce(u),P=d.useCallback(()=>{if(!T.current||!w.current)return;const M={placement:t,strategy:n,middleware:g};S.current&&(M.platform=S.current),Hn(T.current,w.current,M).then(W=>{const X={...W,isPositioned:E.current!==!1};L.current&&!be(p.current,X)&&(p.current=X,fe.flushSync(()=>{m(X)}))})},[g,t,n,S,E]);ue(()=>{u===!1&&p.current.isPositioned&&(p.current.isPositioned=!1,m(M=>({...M,isPositioned:!1})))},[u]);const L=d.useRef(!1);ue(()=>(L.current=!0,()=>{L.current=!1}),[]),ue(()=>{if(A&&(T.current=A),F&&(w.current=F),A&&F){if(C.current)return C.current(A,F,P);P()}},[A,F,P,C,O]);const k=d.useMemo(()=>({reference:T,floating:w,setReference:v,setFloating:R}),[v,R]),D=d.useMemo(()=>({reference:A,floating:F}),[A,F]),I=d.useMemo(()=>{const M={position:n,left:0,top:0};if(!D.floating)return M;const W=Qe(D.floating,c.x),X=Qe(D.floating,c.y);return l?{...M,transform:"translate("+W+"px, "+X+"px)",...Rt(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:W,top:X}},[n,l,D.floating,c.x,c.y]);return d.useMemo(()=>({...c,update:P,refs:k,elements:D,floatingStyles:I}),[c,P,k,D,I])}var $n=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Ze({element:r.current,padding:i}).fn(n):{}:r?Ze({element:r,padding:i}).fn(n):{}}}},jn=(e,t)=>{const n=kn(e);return{name:n.name,fn:n.fn,options:[e,t]}},zn=(e,t)=>{const n=_n(e);return{name:n.name,fn:n.fn,options:[e,t]}},qn=(e,t)=>{const n=Wn(e);return{name:n.name,fn:n.fn,options:[e,t]}},Un=(e,t)=>{const n=Vn(e);return{name:n.name,fn:n.fn,options:[e,t]}},Xn=(e,t)=>{const n=$n(e);return{name:n.name,fn:n.fn,options:[e,t]}},Yn="ArrowLeft",Kn="ArrowRight",Gn="ArrowUp",Zn="ArrowDown",Qn=[Yn,Kn],Jn=[Gn,Zn],pr=[...Qn,...Jn],er={...d},Je=!1,tr=0,et=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+tr++;function nr(){const[e,t]=d.useState(()=>Je?et():void 0);return Y(()=>{e==null&&t(et())},[]),d.useEffect(()=>{Je=!0},[]),e}var He=er.useId||nr,le;process.env.NODE_ENV!=="production"&&(le=new Set);function rr(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const i="Floating UI: "+n.join(" ");if(!((e=le)!=null&&e.has(i))){var o;(o=le)==null||o.add(i),console.warn(i)}}function ir(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const i="Floating UI: "+n.join(" ");if(!((e=le)!=null&&e.has(i))){var o;(o=le)==null||o.add(i),console.error(i)}}var or=d.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:i},middlewareData:{arrow:o,shift:s}},width:l=14,height:a=7,tipRadius:u=0,strokeWidth:c=0,staticOffset:m,stroke:g,d:h,style:{transform:b,...f}={},...x}=t;process.env.NODE_ENV!=="production"&&(n||rr("The `ref` prop is required for `FloatingArrow`."));const y=He(),[v,R]=d.useState(!1);if(Y(()=>{i&&$(i).direction==="rtl"&&R(!0)},[i]),!i)return null;const[A,F]=r.split("-"),T=A==="top"||A==="bottom";let w=m;(T&&s!=null&&s.x||!T&&s!=null&&s.y)&&(w=null);const p=c*2,O=p/2,C=l/2*(u/-8+1),S=a/2*u/4,E=!!h,P=w&&F==="end"?"bottom":"top";let L=w&&F==="end"?"right":"left";w&&v&&(L=F==="end"?"left":"right");const k=o?.x!=null?w||o.x:"",D=o?.y!=null?w||o.y:"",I=h||"M0,0"+(" H"+l)+(" L"+(l-C)+","+(a-S))+(" Q"+l/2+","+a+" "+C+","+(a-S))+" Z",M={top:E?"rotate(180deg)":"",left:E?"rotate(90deg)":"rotate(-90deg)",bottom:E?"":"rotate(180deg)",right:E?"rotate(-90deg)":"rotate(90deg)"}[A];return(0,V.jsxs)("svg",{...x,"aria-hidden":!0,ref:n,width:E?l:l+p,height:l,viewBox:"0 0 "+l+" "+(a>l?a:l),style:{position:"absolute",pointerEvents:"none",[L]:k,[P]:D,[A]:T||E?"100%":"calc(100% - "+p/2+"px)",transform:[M,b].filter(W=>!!W).join(" "),...f},children:[p>0&&(0,V.jsx)("path",{clipPath:"url(#"+y+")",fill:"none",stroke:g,strokeWidth:p+(h?0:1),d:I}),(0,V.jsx)("path",{stroke:p&&!h?x.fill:"none",d:I}),(0,V.jsx)("clipPath",{id:y,children:(0,V.jsx)("rect",{x:-O,y:O*(E?-1:1),width:l+p,height:l})})]})});function sr(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(i=>i(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;(r=e.get(t))==null||r.delete(n)}}}var lr=d.createContext(null),cr=d.createContext(null),ar=()=>{var e;return((e=d.useContext(lr))==null?void 0:e.id)||null},ur=()=>d.useContext(cr);function St(e){return"data-floating-ui-"+e}var fr={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},tt=d.forwardRef(function(t,n){const[r,i]=d.useState();Y(()=>{en()&&i("button")},[]);const o={ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,[St("focus-guard")]:"",style:fr};return(0,V.jsx)("span",{...t,...o})}),dr={clipPath:"inset(50%)",position:"fixed",top:0,left:0},Et=d.createContext(null),nt=St("portal");function mr(e){e===void 0&&(e={});const{id:t,root:n}=e,r=He(),i=hr(),[o,s]=d.useState(null),l=d.useRef(null);return Y(()=>()=>{o?.remove(),queueMicrotask(()=>{l.current=null})},[o]),Y(()=>{if(!r||l.current)return;const a=t?document.getElementById(t):null;if(!a)return;const u=document.createElement("div");u.id=r,u.setAttribute(nt,""),a.appendChild(u),l.current=u,s(u)},[t,r]),Y(()=>{if(n===null||!r||l.current)return;let a=n||i?.portalNode;a&&!Fe(a)&&(a=a.current),a=a||document.body;let u=null;t&&(u=document.createElement("div"),u.id=t,a.appendChild(u));const c=document.createElement("div");c.id=r,c.setAttribute(nt,""),a=u||a,a.appendChild(c),l.current=c,s(c)},[t,n,r,i]),o}function gr(e){const{children:t,id:n,root:r,preserveTabOrder:i=!0}=e,o=mr({id:n,root:r}),[s,l]=d.useState(null),a=d.useRef(null),u=d.useRef(null),c=d.useRef(null),m=d.useRef(null),g=s?.modal,h=s?.open,b=!!s&&!s.modal&&s.open&&i&&!!(r||o);return d.useEffect(()=>{if(!o||!i||g)return;function f(x){o&&Se(x)&&(x.type==="focusin"?Ue:an)(o)}return o.addEventListener("focusin",f,!0),o.addEventListener("focusout",f,!0),()=>{o.removeEventListener("focusin",f,!0),o.removeEventListener("focusout",f,!0)}},[o,i,g]),d.useEffect(()=>{o&&(h||Ue(o))},[h,o]),(0,V.jsxs)(Et.Provider,{value:d.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:a,afterOutsideRef:u,beforeInsideRef:c,afterInsideRef:m,portalNode:o,setFocusManagerState:l}),[i,o]),children:[b&&o&&(0,V.jsx)(tt,{"data-type":"outside",ref:a,onFocus:f=>{if(Se(f,o)){var x;(x=c.current)==null||x.focus()}else cn(s?s.domReference:null)?.focus()}}),b&&o&&(0,V.jsx)("span",{"aria-owns":o.id,style:dr}),o&&fe.createPortal(t,o),b&&o&&(0,V.jsx)(tt,{"data-type":"outside",ref:u,onFocus:f=>{if(Se(f,o)){var x;(x=m.current)==null||x.focus()}else ln(s?s.domReference:null)?.focus(),s!=null&&s.closeOnFocusOut&&s?.onOpenChange(!1,f.nativeEvent,"focus-out")}})]})}var hr=()=>d.useContext(Et);function vr(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=He(),o=d.useRef({}),[s]=d.useState(()=>sr()),l=ar()!=null;if(process.env.NODE_ENV!=="production"){const h=r.reference;h&&!_(h)&&ir("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[a,u]=d.useState(r.reference),c=sn((h,b,f)=>{o.current.openEvent=h?b:void 0,s.emit("openchange",{open:h,event:b,reason:f,nested:l}),n?.(h,b,f)}),m=d.useMemo(()=>({setPositionReference:u}),[]),g=d.useMemo(()=>({reference:a||r.reference||null,floating:r.floating||null,domReference:r.reference}),[a,r.reference,r.floating]);return d.useMemo(()=>({dataRef:o,open:t,onOpenChange:c,elements:g,events:s,floatingId:i,refs:m}),[t,c,g,s,i,m])}function br(e){e===void 0&&(e={});const{nodeId:t}=e,n=vr({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[o,s]=d.useState(null),[l,a]=d.useState(null),u=i?.domReference||o,c=d.useRef(null),m=ur();Y(()=>{u&&(c.current=u)},[u]);const g=Bn({...e,elements:{...i,...l&&{reference:l}}}),h=d.useCallback(v=>{const R=_(v)?{getBoundingClientRect:()=>v.getBoundingClientRect(),getClientRects:()=>v.getClientRects(),contextElement:v}:v;a(R),g.refs.setReference(R)},[g.refs]),b=d.useCallback(v=>{(_(v)||v===null)&&(c.current=v,s(v)),(_(g.refs.reference.current)||g.refs.reference.current===null||v!==null&&!_(v))&&g.refs.setReference(v)},[g.refs]),f=d.useMemo(()=>({...g.refs,setReference:b,setPositionReference:h,domReference:c}),[g.refs,b,h]),x=d.useMemo(()=>({...g.elements,domReference:u}),[g.elements,u]),y=d.useMemo(()=>({...g,...r,refs:f,elements:x,nodeId:t}),[g,f,x,t,r]);return Y(()=>{r.dataRef.current.floatingContext=y;const v=m?.nodesRef.current.find(R=>R.id===t);v&&(v.context=y)}),d.useMemo(()=>({...g,context:y,refs:f,elements:x}),[g,f,x,y])}var wr=300,Me=e=>{const t=["a[href]","button:not([disabled])","textarea:not([disabled])","input:not([disabled])","select:not([disabled])",'[tabindex]:not([tabindex="-1"])','[contenteditable="true"]'].join(",");return Array.from(e.querySelectorAll(t))},rt=(e,t=!1)=>{const n=Me(document.body),r=n.indexOf(e);return r===-1?null:t?r>0?n[r-1]:null:r<n.length-1?n[r+1]:null},xr=e=>{const[t,n]=(0,d.useState)(e.isOpen),r=(0,d.useRef)(null);(0,d.useEffect)(()=>{if(r.current&&(clearTimeout(r.current),r.current=null),e.isOpen){n(!0);return}return r.current=setTimeout(()=>{n(!1),r.current=null},wr),()=>{r.current&&(clearTimeout(r.current),r.current=null)}},[e.isOpen]);const{className:i,style:o}=Ct.useTypographyStyles({sx:{variant:"callout",...e?.sxTypography}}),{className:s,style:l}=(0,d.useMemo)(()=>{const u=Be.setClasses([i,N.CSS_CLASS.component.popover.root,N.CSS_CLASS.transition.color,e.control?N.CSS_CLASS.control[e.control]:!1,e.isDisabledBoxShadow?!1:N.CSS_CLASS.component.popover.boxShadow,e.className]),c={};return c[N.CSS_VARS_RAW.component.popover.background]=N.CSS_VARS.genre.popover[e.genre].background,c[N.CSS_VARS_RAW.component.popover.color]=N.CSS_VARS.genre.popover[e.genre].color,c[N.CSS_VARS_RAW.component.popover.borderColor]=N.CSS_VARS.genre.popover[e.genre].border,e.isDisabledBoxShadow||(c[N.CSS_VARS_RAW.component.popover.boxShadow]=N.CSS_VARS.genre.popover[e.genre].boxShadow),c[N.CSS_VARS_RAW.component.popover.maxHeight]=e.maxHeight||"100%",c[N.CSS_VARS_RAW.component.popover.maxWidth]=e.maxWidth||"100%",c[N.CSS_VARS_RAW.component.popover.padding]=N.CSS_VARS.size[e.size].padding,c[N.CSS_VARS_RAW.component.popover.borderRadius]=N.CSS_VARS.size[e.size].radius,{className:u,style:Be.setStyles([o,Object.keys(c).length?c:void 0,e.style])}},[e.className,e.style,e.genre,e.maxHeight,e.maxWidth,e.size,i,o,e.control,e.isDisabledBoxShadow]),a=e.placement?{top:{size:"left",value:`calc(50% - ${(e.arrowHeight??8)*2}px)`},right:{size:"top",value:`calc(50% - ${e.arrowHeight??8}px)`},bottom:{size:"left",value:`calc(50% - ${(e.arrowHeight??8)*2}px)`},left:{size:"top",value:`calc(50% - ${e.arrowHeight??8}px)`}}[e.placement.split("-")[0]]:null;return(0,V.jsx)(gr,{children:(0,V.jsx)("div",{ref:e.ref,style:{position:"absolute",top:0,left:0,...e.floatingStyles,zIndex:9998,outline:"0px transparent solid !important",border:"0px transparent solid !important",pointerEvents:e.isOpen?"auto":"none"},children:(0,V.jsxs)("div",{tabIndex:-1,className:s,style:{...l,transition:"opacity var(--transition-default)",...e.isOpen?{opacity:1,visibility:"visible"}:{opacity:0,visibility:t?"visible":"hidden"}},children:[e.isArrow&&e.context&&(0,V.jsx)(or,{width:(e.arrowHeight??8)*2,height:e.arrowHeight??8,ref:e.refArrow,context:e.context,fill:N.CSS_VARS.genre.popover[e.genre].background,style:e.isCenteredArrow&&a?{[a.size]:a.value}:{}}),e.children]})})})},yr=e=>{const{onFocus:t,onBlur:n,onBlurReference:r}=e,[i,o]=(0,d.useState)(!1),[s,l]=(0,d.useState)(!1),a=(0,d.useRef)(null),u=(0,d.useRef)(null),c=(0,d.useMemo)(()=>(e.hoverOffset??e.offset??8)+(e.arrowHeight??0),[e.hoverOffset,e.offset,e.arrowHeight]),m=(0,d.useMemo)(()=>(e.offset??8)+(e.arrowHeight??0),[e.offset,e.arrowHeight]),{floatingStyles:g,context:h,update:b,refs:f,placement:x}=br({open:i,placement:e.placement,middleware:[jn(m),qn(),zn(),e.isArrow?Xn({element:u}):!1,e.isWidthAsContent?Un({apply({rects:w,elements:p}){Object.assign(p.floating.style,{minWidth:`min(${w.reference.width}px, 100dvw)`,maxWidth:`min(${w.reference.width}px, 100dvw)`})}}):!1]}),y=(0,d.useRef)(null),v=(0,d.useRef)(null),R=(0,d.useMemo)(()=>e.hoverCloseDelay??100,[e.hoverCloseDelay]);(0,d.useEffect)(()=>{if(e.isDisabled)return;const w=f.reference.current;if(w){if((e.mode==="click"||e.mode==="clickOpen")&&w instanceof HTMLElement){const p=()=>{e.mode==="click"?o(O=>!O):e.mode==="clickOpen"&&o(!0)};return w.addEventListener("click",p),()=>{w.removeEventListener("click",p)}}else if(e.mode==="hover"&&w instanceof HTMLElement){const p=()=>{o(!0)},O=()=>{v.current&&clearTimeout(v.current),v.current=setTimeout(()=>o(!1),R)};return w.addEventListener("mouseenter",p),w.addEventListener("mouseleave",O),()=>{w.removeEventListener("mouseenter",p),w.removeEventListener("mouseleave",O),v.current&&clearTimeout(v.current)}}}},[e.mode,f.reference,R,e.isDisabled]),(0,d.useEffect)(()=>{if(!(!i||!f.reference.current||!f.floating.current||e.isDisabled))return Nn(f.reference.current,f.floating.current,b)},[i,f.reference,f.floating,b,e.isDisabled]),(0,d.useEffect)(()=>{if(!(!i||!f.reference.current||!f.floating.current||e.isDisabled))return e.isClickOutside&&(y.current=w=>{const p=f.reference.current,O=f.floating.current,C=e.refsExcludeClickOutside||[];p instanceof HTMLElement&&O instanceof HTMLElement&&!p.contains(w.target)&&!O.contains(w.target)&&!C.some(S=>typeof S=="object"&&S!==null&&"current"in S?S.current?.contains(w.target):!1)&&o(!1)},document.addEventListener("mousedown",y.current)),()=>{y.current&&(document.removeEventListener("mousedown",y.current),y.current=null),v.current&&clearTimeout(v.current)}},[i,f.reference,f.floating,e.isClickOutside,e.isDisabled,e.refsExcludeClickOutside]),(0,d.useEffect)(()=>{if(!i||!e.isFloatingHover||!f.reference.current||!f.floating.current||e.isDisabled)return;const w=f.reference.current,p=f.floating.current,O=C=>{const S=C.clientX,E=C.clientY,P=w.getBoundingClientRect(),L=p.getBoundingClientRect(),k=S>=P.left-c&&S<=P.right+c&&E>=P.top-c&&E<=P.bottom+c,D=S>=L.left-c&&S<=L.right+c&&E>=L.top-c&&E<=L.bottom+c;k||D?v.current&&(clearTimeout(v.current),v.current=null):(v.current&&clearTimeout(v.current),v.current=setTimeout(()=>o(!1),R))};return document.addEventListener("mousemove",O),()=>{document.removeEventListener("mousemove",O),v.current&&clearTimeout(v.current)}},[i,e.isFloatingHover,f.reference,f.floating,c,R,e.isDisabled]);const A=(0,d.useCallback)(()=>{e.isDisabled||o(!0)},[e.isDisabled]),F=(0,d.useCallback)(()=>{e.isDisabled||o(!1)},[e.isDisabled]),T=(0,d.useCallback)(()=>{e.isDisabled||o(w=>!w)},[e.isDisabled]);return(0,d.useEffect)(()=>{i&&(t?.(),l(!0))},[i,t]),(0,d.useEffect)(()=>{!i&&s&&n?.()},[i,s,n]),(0,d.useEffect)(()=>{if(!i||e.isDisabled)return;const w=p=>{const O=f.reference.current,C=f.floating.current,S=e.refsExcludeClickOutside||[];O instanceof HTMLElement&&O.contains(p.target)||C instanceof HTMLElement&&C.contains(p.target)||S.some(E=>E&&"current"in E&&E.current&&E.current instanceof HTMLElement?E.current.contains(p.target):!1)||o(!1)};return document.addEventListener("focusin",w),()=>{document.removeEventListener("focusin",w)}},[i,f.reference,f.floating,e.refsExcludeClickOutside,e.isDisabled]),(0,d.useEffect)(()=>{if(!f.reference.current||e.isDisabled||!r)return;const w=f.reference.current,p=e.refsExcludeBlur||[],O=C=>{w instanceof HTMLElement&&!w.contains(C.relatedTarget)&&!p.some(S=>S&&"current"in S&&S.current&&S.current instanceof HTMLElement?S.current.contains(C.relatedTarget):!1)&&r()};return w instanceof HTMLElement&&w.addEventListener("blur",O,!0),()=>{w instanceof HTMLElement&&w.removeEventListener("blur",O,!0)}},[f.reference,e.isDisabled,r,e.refsExcludeBlur]),(0,d.useEffect)(()=>{if(!e.isFocusTrap||!i||!f.floating.current)return;const w=f.floating.current,p=f.reference.current;a.current=document.activeElement;const O=()=>{const E=Me(w);return E.length>0?(E[0].focus(),!0):!1};let C=null;O()||(C=new MutationObserver(()=>{O()&&(C?.disconnect(),C=null)}),C.observe(w,{childList:!0,subtree:!0}));const S=E=>{if(E.key!=="Tab")return;const P=Me(w);if(P.length===0)return;const L=P[0],k=P[P.length-1];if(E.shiftKey){if(document.activeElement===L){E.preventDefault();const D=rt(p,!0);D&&D.focus();return}return}if(document.activeElement===k){E.preventDefault();const D=rt(p,!1);D&&D.focus();return}};return document.addEventListener("keydown",S),()=>{C&&C.disconnect(),document.removeEventListener("keydown",S)}},[i,f.floating,f.reference.current,e.isFocusTrap]),{getIsInside:(0,d.useCallback)(w=>{if(!w)return!1;const p=f.reference.current,O=f.floating.current,C=e.refsExcludeBlur||[];return p instanceof HTMLElement&&p.contains(w)||O instanceof HTMLElement&&O.contains(w)||C.some(S=>S&&"current"in S&&S.current&&S.current instanceof HTMLElement?S.current.contains(w):!1)},[f.reference,f.floating,e.refsExcludeBlur]),isOpen:i,setIsOpen:o,open:A,close:F,toggle:T,refReference:f.setReference,refFloating:f.setFloating,refArrow:u,context:h,floatingStyles:g,placement:x}};Object.defineProperty(exports,"Popover",{enumerable:!0,get:function(){return xr}});Object.defineProperty(exports,"usePopover",{enumerable:!0,get:function(){return yr}});
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=popover-CgwGn-55.cjs.map
|