@servicetitan/anvil2 1.3.2 → 1.3.4
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/Alert-673d75aa.cjs +2 -0
- package/Alert-673d75aa.cjs.map +1 -0
- package/{Alert-012e475c.js → Alert-85a791c2.js} +29 -27
- package/Alert-85a791c2.js.map +1 -0
- package/Alert.cjs +1 -1
- package/Alert.js +1 -1
- package/Announcement.cjs +1 -1
- package/Announcement.cjs.map +1 -1
- package/Announcement.js +99 -15
- package/Announcement.js.map +1 -1
- package/AnvilProvider.cjs +1 -1
- package/AnvilProvider.js +1 -1
- package/Avatar.cjs +1 -1
- package/Avatar.cjs.map +1 -1
- package/Avatar.js +127 -12
- package/Avatar.js.map +1 -1
- package/Badge.cjs +1 -1
- package/Badge.cjs.map +1 -1
- package/Badge.js +47 -7
- package/Badge.js.map +1 -1
- package/Button.cjs +1 -1
- package/Button.cjs.map +1 -1
- package/Button.js +14 -40
- package/Button.js.map +1 -1
- package/ButtonCompound.cjs +1 -1
- package/ButtonCompound.cjs.map +1 -1
- package/ButtonCompound.js +13 -39
- package/ButtonCompound.js.map +1 -1
- package/ButtonLink.cjs +1 -1
- package/ButtonLink.cjs.map +1 -1
- package/ButtonLink.js +14 -40
- package/ButtonLink.js.map +1 -1
- package/ButtonToggle.cjs +1 -1
- package/ButtonToggle.cjs.map +1 -1
- package/ButtonToggle.js +14 -40
- package/ButtonToggle.js.map +1 -1
- package/Calendar.cjs +1 -1
- package/Calendar.cjs.map +1 -1
- package/Calendar.js +5812 -24
- package/Calendar.js.map +1 -1
- package/Card.cjs +1 -1
- package/Card.cjs.map +1 -1
- package/Card.js +52 -6
- package/Card.js.map +1 -1
- package/Checkbox-634c4d3d.js +164 -0
- package/Checkbox-634c4d3d.js.map +1 -0
- package/Checkbox-d1db5a71.cjs +2 -0
- package/Checkbox-d1db5a71.cjs.map +1 -0
- package/Checkbox.cjs +1 -1
- package/Checkbox.cjs.map +1 -1
- package/Checkbox.css +1 -0
- package/Checkbox.js +23 -49
- package/Checkbox.js.map +1 -1
- package/{Chip-6dde28bc.js → Chip-73b032eb.js} +36 -34
- package/Chip-73b032eb.js.map +1 -0
- package/Chip-88873569.cjs +2 -0
- package/Chip-88873569.cjs.map +1 -0
- package/Chip.cjs +1 -1
- package/Chip.js +1 -1
- package/Combobox.cjs +41 -1
- package/Combobox.cjs.map +1 -1
- package/Combobox.js +4177 -76
- package/Combobox.js.map +1 -1
- package/Details.cjs +1 -1
- package/Details.cjs.map +1 -1
- package/Details.js +153 -50
- package/Details.js.map +1 -1
- package/Dialog-1984afe2.js +214 -0
- package/Dialog-1984afe2.js.map +1 -0
- package/Dialog-de6969a2.cjs +2 -0
- package/Dialog-de6969a2.cjs.map +1 -0
- package/Dialog.cjs +1 -1
- package/Dialog.cjs.map +1 -1
- package/Dialog.css +1 -0
- package/Dialog.js +38 -64
- package/Dialog.js.map +1 -1
- package/Divider.cjs +1 -1
- package/Divider.cjs.map +1 -1
- package/Divider.js +76 -7
- package/Divider.js.map +1 -1
- package/Drawer.cjs +1 -1
- package/Drawer.cjs.map +1 -1
- package/Drawer.js +242 -70
- package/Drawer.js.map +1 -1
- package/{Flex-d338e855.js → Flex-d06c75c0.js} +18 -17
- package/Flex-d06c75c0.js.map +1 -0
- package/Flex-da1ad9db.cjs +2 -0
- package/Flex-da1ad9db.cjs.map +1 -0
- package/Flex.cjs +1 -1
- package/Flex.js +1 -1
- package/Grid.cjs +1 -1
- package/Grid.cjs.map +1 -1
- package/Grid.js +90 -6
- package/Grid.js.map +1 -1
- package/{Helper-74a1f07f-61317df2.cjs → Helper-74a1f07f-8fcd0721.cjs} +2 -2
- package/{Helper-74a1f07f-61317df2.cjs.map → Helper-74a1f07f-8fcd0721.cjs.map} +1 -1
- package/{Helper-74a1f07f-092263c4.js → Helper-74a1f07f-d017affe.js} +3 -3
- package/{Helper-74a1f07f-092263c4.js.map → Helper-74a1f07f-d017affe.js.map} +1 -1
- package/Icon-847b3515.cjs +2 -0
- package/Icon-847b3515.cjs.map +1 -0
- package/{Icon-b94f924c.js → Icon-be690f0b.js} +13 -12
- package/Icon-be690f0b.js.map +1 -0
- package/Icon.cjs +1 -1
- package/Icon.js +1 -1
- package/Label-854a39e4.js +47 -0
- package/Label-854a39e4.js.map +1 -0
- package/Label-e2593298.cjs +2 -0
- package/Label-e2593298.cjs.map +1 -0
- package/Label.css +1 -0
- package/Layout.cjs +1 -1
- package/Layout.cjs.map +1 -1
- package/Layout.js +21 -21
- package/Layout.js.map +1 -1
- package/Link.cjs +1 -1
- package/Link.cjs.map +1 -1
- package/Link.js +17 -43
- package/Link.js.map +1 -1
- package/ListView.cjs +1 -1
- package/ListView.cjs.map +1 -1
- package/ListView.css +1 -1
- package/ListView.js +412 -24
- package/ListView.js.map +1 -1
- package/ListView.module-854f2491-1f87d388.cjs +2 -0
- package/ListView.module-854f2491-1f87d388.cjs.map +1 -0
- package/ListView.module-854f2491-c5eba193.js +11 -0
- package/ListView.module-854f2491-c5eba193.js.map +1 -0
- package/Listbox.cjs +1 -1
- package/Listbox.cjs.map +1 -1
- package/Listbox.js +403 -25
- package/Listbox.js.map +1 -1
- package/Listbox.module-2120a0a7-794d64a0.cjs +2 -0
- package/Listbox.module-2120a0a7-794d64a0.cjs.map +1 -0
- package/Listbox.module-2120a0a7-aa22f0ed.js +13 -0
- package/Listbox.module-2120a0a7-aa22f0ed.js.map +1 -0
- package/LocalizationProvider.cjs +1 -1
- package/LocalizationProvider.cjs.map +1 -1
- package/LocalizationProvider.js +11 -10
- package/LocalizationProvider.js.map +1 -1
- package/Menu.cjs +1 -1
- package/Menu.cjs.map +1 -1
- package/Menu.js +320 -51
- package/Menu.js.map +1 -1
- package/Overflow-057bbf4e.cjs +2 -0
- package/Overflow-057bbf4e.cjs.map +1 -0
- package/Overflow-a026904d.js +249 -0
- package/Overflow-a026904d.js.map +1 -0
- package/Overflow.cjs +1 -1
- package/Overflow.cjs.map +1 -1
- package/Overflow.css +1 -0
- package/Overflow.js +23 -49
- package/Overflow.js.map +1 -1
- package/Page.cjs +1 -1
- package/Page.cjs.map +1 -1
- package/Page.js +8 -8
- package/Page.js.map +1 -1
- package/Popover-aaeea980.js +272 -0
- package/Popover-aaeea980.js.map +1 -0
- package/Popover-e336dabc.cjs +2 -0
- package/Popover-e336dabc.cjs.map +1 -0
- package/Popover.cjs +1 -1
- package/Popover.cjs.map +1 -1
- package/Popover.css +1 -0
- package/Popover.js +38 -64
- package/Popover.js.map +1 -1
- package/ProgressBar.cjs +1 -1
- package/ProgressBar.cjs.map +1 -1
- package/ProgressBar.js +121 -7
- package/ProgressBar.js.map +1 -1
- package/Radio.cjs +1 -1
- package/Radio.cjs.map +1 -1
- package/Radio.js +142 -50
- package/Radio.js.map +1 -1
- package/SegmentedControl.cjs +1 -1
- package/SegmentedControl.cjs.map +1 -1
- package/SegmentedControl.js +133 -58
- package/SegmentedControl.js.map +1 -1
- package/SideNav.cjs +1 -29
- package/SideNav.cjs.map +1 -1
- package/SideNav.js +258 -1139
- package/SideNav.js.map +1 -1
- package/SrOnly-0c7fd87a.js +13 -0
- package/{SrOnly-864bd4cb.js.map → SrOnly-0c7fd87a.js.map} +1 -1
- package/SrOnly-91a467dc.cjs +2 -0
- package/{SrOnly-88e8fca6.cjs.map → SrOnly-91a467dc.cjs.map} +1 -1
- package/SrOnly.cjs +1 -1
- package/SrOnly.js +1 -1
- package/Stepper.cjs +1 -1
- package/Stepper.cjs.map +1 -1
- package/Stepper.js +430 -47
- package/Stepper.js.map +1 -1
- package/Switch.cjs +1 -1
- package/Switch.cjs.map +1 -1
- package/Switch.js +67 -44
- package/Switch.js.map +1 -1
- package/Tab.cjs +9 -1
- package/Tab.cjs.map +1 -1
- package/Tab.js +436 -24
- package/Tab.js.map +1 -1
- package/{Text-465104f6.js → Text-08c90c22.js} +30 -29
- package/Text-08c90c22.js.map +1 -0
- package/Text-8ed03ac7.cjs +2 -0
- package/Text-8ed03ac7.cjs.map +1 -0
- package/Text.cjs +1 -1
- package/Text.js +1 -1
- package/TextField.cjs +1 -1
- package/TextField.cjs.map +1 -1
- package/TextField.js +156 -47
- package/TextField.js.map +1 -1
- package/Textarea.cjs +1 -1
- package/Textarea.cjs.map +1 -1
- package/Textarea.js +260 -45
- package/Textarea.js.map +1 -1
- package/ThemeProvider.cjs +1 -1
- package/ThemeProvider.js +1 -1
- package/Toast.cjs +8 -1
- package/Toast.cjs.map +1 -1
- package/Toast.js +568 -9
- package/Toast.js.map +1 -1
- package/Tooltip-2ecbf35e.cjs +2 -0
- package/Tooltip-2ecbf35e.cjs.map +1 -0
- package/Tooltip-dcc5d45c.js +157 -0
- package/Tooltip-dcc5d45c.js.map +1 -0
- package/Tooltip.cjs +1 -1
- package/Tooltip.cjs.map +1 -1
- package/Tooltip.css +1 -0
- package/Tooltip.js +18 -44
- package/Tooltip.js.map +1 -1
- package/anvil2.cjs +1 -1
- package/anvil2.d.ts +6 -6
- package/anvil2.js +158 -183
- package/anvil2.js.map +1 -1
- package/check_circle-48e002d3-0d49b2da.cjs +2 -0
- package/check_circle-48e002d3-0d49b2da.cjs.map +1 -0
- package/check_circle-48e002d3-5838521c.js +7 -0
- package/check_circle-48e002d3-5838521c.js.map +1 -0
- package/chevron_right-5b0931b5-96f8a9c6.cjs +2 -0
- package/chevron_right-5b0931b5-96f8a9c6.cjs.map +1 -0
- package/chevron_right-5b0931b5-ac35ad56.js +6 -0
- package/chevron_right-5b0931b5-ac35ad56.js.map +1 -0
- package/childrenToString-0cd30a27.cjs +2 -0
- package/childrenToString-0cd30a27.cjs.map +1 -0
- package/childrenToString-416df522.js +19 -0
- package/childrenToString-416df522.js.map +1 -0
- package/extends-31d75778.js +27 -0
- package/extends-31d75778.js.map +1 -0
- package/extends-60b54772.cjs +2 -0
- package/extends-60b54772.cjs.map +1 -0
- package/getKeyboardFocusableElements-58a00025.js +14 -0
- package/getKeyboardFocusableElements-58a00025.js.map +1 -0
- package/getKeyboardFocusableElements-aba1bd01.cjs +2 -0
- package/getKeyboardFocusableElements-aba1bd01.cjs.map +1 -0
- package/index-04060912.js +3677 -0
- package/index-04060912.js.map +1 -0
- package/index-06c0bdf0.js +480 -0
- package/index-06c0bdf0.js.map +1 -0
- package/index-11b6ca91-14b4e485.js +63 -0
- package/index-11b6ca91-14b4e485.js.map +1 -0
- package/index-11b6ca91-d30fd1d3.cjs +2 -0
- package/index-11b6ca91-d30fd1d3.cjs.map +1 -0
- package/{index-acdc415f.cjs → index-1f4f169d.cjs} +2 -2
- package/{index-acdc415f.cjs.map → index-1f4f169d.cjs.map} +1 -1
- package/index-40821bc4.cjs +2 -0
- package/index-40821bc4.cjs.map +1 -0
- package/{index-ab05dabf.js → index-47e4931c.js} +3 -3
- package/{index-ab05dabf.js.map → index-47e4931c.js.map} +1 -1
- package/index-49242812.js +59 -0
- package/index-49242812.js.map +1 -0
- package/index-69174413.cjs +5 -0
- package/index-69174413.cjs.map +1 -0
- package/index-902bf2b0.js +56 -0
- package/index-902bf2b0.js.map +1 -0
- package/index-a53df036.cjs +2 -0
- package/index-a53df036.cjs.map +1 -0
- package/{index-e0f6271a.js → index-c6e22bb9.js} +6 -6
- package/{index-e0f6271a.js.map → index-c6e22bb9.js.map} +1 -1
- package/index-dcf78e3f.cjs +2 -0
- package/index-dcf78e3f.cjs.map +1 -0
- package/{index-3a4e28a9-3d7ba14f.js → index-eb2e706f-03380994.js} +19 -18
- package/index-eb2e706f-03380994.js.map +1 -0
- package/index-eb2e706f-ff6c4157.cjs +2 -0
- package/index-eb2e706f-ff6c4157.cjs.map +1 -0
- package/{index-67d20edb.cjs → index-ef2e9d11.cjs} +2 -2
- package/{index-67d20edb.cjs.map → index-ef2e9d11.cjs.map} +1 -1
- package/index.css +1 -1
- package/index11.css +1 -0
- package/index12.css +1 -0
- package/index13.css +1 -0
- package/index14.css +1 -0
- package/index15.css +1 -0
- package/index16.css +1 -0
- package/index18.css +1 -0
- package/index19.css +1 -0
- package/index2.css +1 -1
- package/index21.css +1 -0
- package/index22.css +1 -0
- package/index24.css +1 -0
- package/index3.css +1 -1
- package/index6.css +1 -0
- package/index7.css +1 -0
- package/index9.css +1 -0
- package/info-af4c0112-9f16129f.cjs +2 -0
- package/info-af4c0112-9f16129f.cjs.map +1 -0
- package/info-af4c0112-f73c8f68.js +6 -0
- package/info-af4c0112-f73c8f68.js.map +1 -0
- package/package.json +3 -3
- package/tinycolor-3b50a250.cjs +2 -0
- package/tinycolor-3b50a250.cjs.map +1 -0
- package/tinycolor-d415b1fd.js +712 -0
- package/tinycolor-d415b1fd.js.map +1 -0
- package/token.cjs +1 -1
- package/token.js +1 -1
- package/useAccessibleColor.cjs +1 -1
- package/useAccessibleColor.cjs.map +1 -1
- package/useAccessibleColor.d.ts +1 -1
- package/useAccessibleColor.js +36 -32
- package/useAccessibleColor.js.map +1 -1
- package/useLayoutPropsUtil-cd33328b.cjs +2 -0
- package/useLayoutPropsUtil-cd33328b.cjs.map +1 -0
- package/useLayoutPropsUtil-f34e9597.js +160 -0
- package/useLayoutPropsUtil-f34e9597.js.map +1 -0
- package/useLinkStyles.cjs +1 -1
- package/useLinkStyles.d.ts +2 -2
- package/useLinkStyles.js +3 -31
- package/useLinkStyles.js.map +1 -1
- package/useMergeRefs.cjs +1 -1
- package/useMergeRefs.d.ts +1 -1
- package/useMergeRefs.js +3 -32
- package/useMergeRefs.js.map +1 -1
- package/usePrefersColorScheme.cjs +1 -1
- package/usePrefersColorScheme.cjs.map +1 -1
- package/usePrefersColorScheme.d.ts +1 -1
- package/usePrefersColorScheme.js +19 -32
- package/usePrefersColorScheme.js.map +1 -1
- package/useSwipe.cjs +1 -1
- package/useSwipe.cjs.map +1 -1
- package/useSwipe.d.ts +1 -1
- package/useSwipe.js +15 -32
- package/useSwipe.js.map +1 -1
- package/Alert-012e475c.js.map +0 -1
- package/Alert-066f00f2.cjs +0 -2
- package/Alert-066f00f2.cjs.map +0 -1
- package/Announcement-cd9602ed.cjs +0 -2
- package/Announcement-cd9602ed.cjs.map +0 -1
- package/Announcement-f9b09ba3.js +0 -88
- package/Announcement-f9b09ba3.js.map +0 -1
- package/Announcement.css +0 -1
- package/Badge-b8764640.cjs +0 -2
- package/Badge-b8764640.cjs.map +0 -1
- package/Badge-df96f15a.js +0 -45
- package/Badge-df96f15a.js.map +0 -1
- package/Badge.css +0 -1
- package/Calendar-31bcb381.js +0 -5797
- package/Calendar-31bcb381.js.map +0 -1
- package/Calendar-d0baf4b1.cjs +0 -2
- package/Calendar-d0baf4b1.cjs.map +0 -1
- package/Card-20628287.cjs +0 -2
- package/Card-20628287.cjs.map +0 -1
- package/Card-bb358803.js +0 -51
- package/Card-bb358803.js.map +0 -1
- package/Chip-5b63e48c.cjs +0 -2
- package/Chip-5b63e48c.cjs.map +0 -1
- package/Chip-6dde28bc.js.map +0 -1
- package/Divider-6646eeb8.cjs +0 -2
- package/Divider-6646eeb8.cjs.map +0 -1
- package/Divider-b3bff73a.js +0 -74
- package/Divider-b3bff73a.js.map +0 -1
- package/Flex-971b5295.cjs +0 -2
- package/Flex-971b5295.cjs.map +0 -1
- package/Flex-d338e855.js.map +0 -1
- package/Grid-37ded954.cjs +0 -2
- package/Grid-37ded954.cjs.map +0 -1
- package/Grid-5bad450f.js +0 -89
- package/Grid-5bad450f.js.map +0 -1
- package/Icon-57c31c9b.cjs +0 -2
- package/Icon-57c31c9b.cjs.map +0 -1
- package/Icon-b94f924c.js.map +0 -1
- package/ListView-3b1adecb.js +0 -557
- package/ListView-3b1adecb.js.map +0 -1
- package/ListView-88e49b19.cjs +0 -2
- package/ListView-88e49b19.cjs.map +0 -1
- package/Listbox-60fbdaa1.js +0 -394
- package/Listbox-60fbdaa1.js.map +0 -1
- package/Listbox-cd5c4185.cjs +0 -2
- package/Listbox-cd5c4185.cjs.map +0 -1
- package/ProgressBar-c1b5c7c3.js +0 -516
- package/ProgressBar-c1b5c7c3.js.map +0 -1
- package/ProgressBar-fa511478.cjs +0 -2
- package/ProgressBar-fa511478.cjs.map +0 -1
- package/ProgressBar.css +0 -1
- package/SideNav-33a404ec.js +0 -935
- package/SideNav-33a404ec.js.map +0 -1
- package/SideNav-47435e45.cjs +0 -21
- package/SideNav-47435e45.cjs.map +0 -1
- package/SrOnly-864bd4cb.js +0 -13
- package/SrOnly-88e8fca6.cjs +0 -2
- package/Stepper-7e3a130c.js +0 -633
- package/Stepper-7e3a130c.js.map +0 -1
- package/Stepper-8675700c.cjs +0 -2
- package/Stepper-8675700c.cjs.map +0 -1
- package/Stepper.css +0 -1
- package/Tab-9d3d7922.cjs +0 -10
- package/Tab-9d3d7922.cjs.map +0 -1
- package/Tab-dd4ab045.js +0 -422
- package/Tab-dd4ab045.js.map +0 -1
- package/Text-465104f6.js.map +0 -1
- package/Text-631c229a.cjs +0 -2
- package/Text-631c229a.cjs.map +0 -1
- package/Toast-32a4ab22.cjs +0 -9
- package/Toast-32a4ab22.cjs.map +0 -1
- package/Toast-6cd7d2e1.js +0 -566
- package/Toast-6cd7d2e1.js.map +0 -1
- package/check_circle-48e002d3-0554de7d.js +0 -8
- package/check_circle-48e002d3-0554de7d.js.map +0 -1
- package/check_circle-48e002d3-57364fcd.cjs +0 -2
- package/check_circle-48e002d3-57364fcd.cjs.map +0 -1
- package/floating-ui.react-51a3fa68.js +0 -23242
- package/floating-ui.react-51a3fa68.js.map +0 -1
- package/floating-ui.react-5347095a.cjs +0 -178
- package/floating-ui.react-5347095a.cjs.map +0 -1
- package/index-3a4e28a9-3d7ba14f.js.map +0 -1
- package/index-3a4e28a9-b649e635.cjs +0 -2
- package/index-3a4e28a9-b649e635.cjs.map +0 -1
- package/index-3f218083.js +0 -58
- package/index-3f218083.js.map +0 -1
- package/index-63e13299.cjs +0 -2
- package/index-63e13299.cjs.map +0 -1
- package/index-c41dc41a.js +0 -4972
- package/index-c41dc41a.js.map +0 -1
- package/index-ca7c66ae.cjs +0 -23
- package/index-ca7c66ae.cjs.map +0 -1
- package/index-d46fa8de-c02f7a12.cjs +0 -2
- package/index-d46fa8de-c02f7a12.cjs.map +0 -1
- package/index-d46fa8de-f8bf17b6.js +0 -540
- package/index-d46fa8de-f8bf17b6.js.map +0 -1
- package/index-f7658447-1cfbda8f.js +0 -120
- package/index-f7658447-1cfbda8f.js.map +0 -1
- package/index-f7658447-f447ade8.cjs +0 -2
- package/index-f7658447-f447ade8.cjs.map +0 -1
- package/index-f7658447.css +0 -1
- package/useLayoutPropsUtil-e307abc7-3826ee09.cjs +0 -2
- package/useLayoutPropsUtil-e307abc7-3826ee09.cjs.map +0 -1
- package/useLayoutPropsUtil-e307abc7-cbe2fb6d.js +0 -869
- package/useLayoutPropsUtil-e307abc7-cbe2fb6d.js.map +0 -1
- package/usePrefersColorScheme-129544ad-59e2e284.cjs +0 -2
- package/usePrefersColorScheme-129544ad-59e2e284.cjs.map +0 -1
- package/usePrefersColorScheme-129544ad-cab6fc3f.js +0 -55
- package/usePrefersColorScheme-129544ad-cab6fc3f.js.map +0 -1
- package/useSwipe-82769b09-835234e6.js +0 -17
- package/useSwipe-82769b09-835234e6.js.map +0 -1
- package/useSwipe-82769b09-dba26ed2.cjs +0 -2
- package/useSwipe-82769b09-dba26ed2.cjs.map +0 -1
- /package/{index-3a4e28a9.css → index-eb2e706f.css} +0 -0
- /package/{Grid.css → index10.css} +0 -0
- /package/{SideNav.css → index17.css} +0 -0
- /package/{Tab.css → index20.css} +0 -0
- /package/{Toast.css → index23.css} +0 -0
- /package/{Calendar.css → index4.css} +0 -0
- /package/{Card.css → index5.css} +0 -0
- /package/{Divider.css → index8.css} +0 -0
package/SideNav-33a404ec.js
DELETED
|
@@ -1,935 +0,0 @@
|
|
|
1
|
-
import "./SideNav.css";
|
|
2
|
-
import { g as Ne } from "./_commonjsHelpers-c5d32002.js";
|
|
3
|
-
import { f as N } from "./jsx-runtime-944c88e2-e73fa629.js";
|
|
4
|
-
import * as me from "react";
|
|
5
|
-
import { forwardRef as te, useRef as ee, useState as le, useId as Re, useEffect as de, Children as Le, useLayoutEffect as Ye, createContext as We, useMemo as Ue, useContext as Fe } from "react";
|
|
6
|
-
import { c as re } from "./index-e0f6271a.js";
|
|
7
|
-
import { J as ze } from "./useLayoutPropsUtil-e307abc7-cbe2fb6d.js";
|
|
8
|
-
import { u as Ke } from "./floating-ui.react-51a3fa68.js";
|
|
9
|
-
import { C as Be } from "./Icon-b94f924c.js";
|
|
10
|
-
function br(r, i) {
|
|
11
|
-
if (r == null)
|
|
12
|
-
return {};
|
|
13
|
-
var c = {};
|
|
14
|
-
for (var a in r)
|
|
15
|
-
if ({}.hasOwnProperty.call(r, a)) {
|
|
16
|
-
if (i.includes(a))
|
|
17
|
-
continue;
|
|
18
|
-
c[a] = r[a];
|
|
19
|
-
}
|
|
20
|
-
return c;
|
|
21
|
-
}
|
|
22
|
-
function he() {
|
|
23
|
-
return he = Object.assign ? Object.assign.bind() : function(r) {
|
|
24
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
25
|
-
var c = arguments[i];
|
|
26
|
-
for (var a in c)
|
|
27
|
-
({}).hasOwnProperty.call(c, a) && (r[a] = c[a]);
|
|
28
|
-
}
|
|
29
|
-
return r;
|
|
30
|
-
}, he.apply(null, arguments);
|
|
31
|
-
}
|
|
32
|
-
function pe(r, i) {
|
|
33
|
-
return pe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(c, a) {
|
|
34
|
-
return c.__proto__ = a, c;
|
|
35
|
-
}, pe(r, i);
|
|
36
|
-
}
|
|
37
|
-
function mr(r, i) {
|
|
38
|
-
r.prototype = Object.create(i.prototype), r.prototype.constructor = r, pe(r, i);
|
|
39
|
-
}
|
|
40
|
-
var ve = { exports: {} }, Q = { exports: {} }, O = {};
|
|
41
|
-
/** @license React v16.13.1
|
|
42
|
-
* react-is.production.min.js
|
|
43
|
-
*
|
|
44
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
45
|
-
*
|
|
46
|
-
* This source code is licensed under the MIT license found in the
|
|
47
|
-
* LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/
|
|
49
|
-
var ge;
|
|
50
|
-
function Ve() {
|
|
51
|
-
if (ge)
|
|
52
|
-
return O;
|
|
53
|
-
ge = 1;
|
|
54
|
-
var r = typeof Symbol == "function" && Symbol.for, i = r ? Symbol.for("react.element") : 60103, c = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, g = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, v = r ? Symbol.for("react.provider") : 60109, u = r ? Symbol.for("react.context") : 60110, _ = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, y = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, w = r ? Symbol.for("react.suspense_list") : 60120, C = r ? Symbol.for("react.memo") : 60115, k = r ? Symbol.for("react.lazy") : 60116, S = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, D = r ? Symbol.for("react.responder") : 60118, M = r ? Symbol.for("react.scope") : 60119;
|
|
55
|
-
function A(t) {
|
|
56
|
-
if (typeof t == "object" && t !== null) {
|
|
57
|
-
var L = t.$$typeof;
|
|
58
|
-
switch (L) {
|
|
59
|
-
case i:
|
|
60
|
-
switch (t = t.type, t) {
|
|
61
|
-
case _:
|
|
62
|
-
case l:
|
|
63
|
-
case a:
|
|
64
|
-
case s:
|
|
65
|
-
case g:
|
|
66
|
-
case d:
|
|
67
|
-
return t;
|
|
68
|
-
default:
|
|
69
|
-
switch (t = t && t.$$typeof, t) {
|
|
70
|
-
case u:
|
|
71
|
-
case y:
|
|
72
|
-
case k:
|
|
73
|
-
case C:
|
|
74
|
-
case v:
|
|
75
|
-
return t;
|
|
76
|
-
default:
|
|
77
|
-
return L;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
case c:
|
|
81
|
-
return L;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
function j(t) {
|
|
86
|
-
return A(t) === l;
|
|
87
|
-
}
|
|
88
|
-
return O.AsyncMode = _, O.ConcurrentMode = l, O.ContextConsumer = u, O.ContextProvider = v, O.Element = i, O.ForwardRef = y, O.Fragment = a, O.Lazy = k, O.Memo = C, O.Portal = c, O.Profiler = s, O.StrictMode = g, O.Suspense = d, O.isAsyncMode = function(t) {
|
|
89
|
-
return j(t) || A(t) === _;
|
|
90
|
-
}, O.isConcurrentMode = j, O.isContextConsumer = function(t) {
|
|
91
|
-
return A(t) === u;
|
|
92
|
-
}, O.isContextProvider = function(t) {
|
|
93
|
-
return A(t) === v;
|
|
94
|
-
}, O.isElement = function(t) {
|
|
95
|
-
return typeof t == "object" && t !== null && t.$$typeof === i;
|
|
96
|
-
}, O.isForwardRef = function(t) {
|
|
97
|
-
return A(t) === y;
|
|
98
|
-
}, O.isFragment = function(t) {
|
|
99
|
-
return A(t) === a;
|
|
100
|
-
}, O.isLazy = function(t) {
|
|
101
|
-
return A(t) === k;
|
|
102
|
-
}, O.isMemo = function(t) {
|
|
103
|
-
return A(t) === C;
|
|
104
|
-
}, O.isPortal = function(t) {
|
|
105
|
-
return A(t) === c;
|
|
106
|
-
}, O.isProfiler = function(t) {
|
|
107
|
-
return A(t) === s;
|
|
108
|
-
}, O.isStrictMode = function(t) {
|
|
109
|
-
return A(t) === g;
|
|
110
|
-
}, O.isSuspense = function(t) {
|
|
111
|
-
return A(t) === d;
|
|
112
|
-
}, O.isValidElementType = function(t) {
|
|
113
|
-
return typeof t == "string" || typeof t == "function" || t === a || t === l || t === s || t === g || t === d || t === w || typeof t == "object" && t !== null && (t.$$typeof === k || t.$$typeof === C || t.$$typeof === v || t.$$typeof === u || t.$$typeof === y || t.$$typeof === I || t.$$typeof === D || t.$$typeof === M || t.$$typeof === S);
|
|
114
|
-
}, O.typeOf = A, O;
|
|
115
|
-
}
|
|
116
|
-
var P = {};
|
|
117
|
-
/** @license React v16.13.1
|
|
118
|
-
* react-is.development.js
|
|
119
|
-
*
|
|
120
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
121
|
-
*
|
|
122
|
-
* This source code is licensed under the MIT license found in the
|
|
123
|
-
* LICENSE file in the root directory of this source tree.
|
|
124
|
-
*/
|
|
125
|
-
var _e;
|
|
126
|
-
function Ge() {
|
|
127
|
-
return _e || (_e = 1, process.env.NODE_ENV !== "production" && function() {
|
|
128
|
-
var r = typeof Symbol == "function" && Symbol.for, i = r ? Symbol.for("react.element") : 60103, c = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, g = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, v = r ? Symbol.for("react.provider") : 60109, u = r ? Symbol.for("react.context") : 60110, _ = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, y = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, w = r ? Symbol.for("react.suspense_list") : 60120, C = r ? Symbol.for("react.memo") : 60115, k = r ? Symbol.for("react.lazy") : 60116, S = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, D = r ? Symbol.for("react.responder") : 60118, M = r ? Symbol.for("react.scope") : 60119;
|
|
129
|
-
function A(n) {
|
|
130
|
-
return typeof n == "string" || typeof n == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
131
|
-
n === a || n === l || n === s || n === g || n === d || n === w || typeof n == "object" && n !== null && (n.$$typeof === k || n.$$typeof === C || n.$$typeof === v || n.$$typeof === u || n.$$typeof === y || n.$$typeof === I || n.$$typeof === D || n.$$typeof === M || n.$$typeof === S);
|
|
132
|
-
}
|
|
133
|
-
function j(n) {
|
|
134
|
-
if (typeof n == "object" && n !== null) {
|
|
135
|
-
var U = n.$$typeof;
|
|
136
|
-
switch (U) {
|
|
137
|
-
case i:
|
|
138
|
-
var Z = n.type;
|
|
139
|
-
switch (Z) {
|
|
140
|
-
case _:
|
|
141
|
-
case l:
|
|
142
|
-
case a:
|
|
143
|
-
case s:
|
|
144
|
-
case g:
|
|
145
|
-
case d:
|
|
146
|
-
return Z;
|
|
147
|
-
default:
|
|
148
|
-
var be = Z && Z.$$typeof;
|
|
149
|
-
switch (be) {
|
|
150
|
-
case u:
|
|
151
|
-
case y:
|
|
152
|
-
case k:
|
|
153
|
-
case C:
|
|
154
|
-
case v:
|
|
155
|
-
return be;
|
|
156
|
-
default:
|
|
157
|
-
return U;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
case c:
|
|
161
|
-
return U;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
var t = _, L = l, J = u, z = v, $ = i, Y = y, K = a, V = k, H = C, G = c, ne = s, W = g, B = d, X = !1;
|
|
166
|
-
function oe(n) {
|
|
167
|
-
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), e(n) || j(n) === _;
|
|
168
|
-
}
|
|
169
|
-
function e(n) {
|
|
170
|
-
return j(n) === l;
|
|
171
|
-
}
|
|
172
|
-
function o(n) {
|
|
173
|
-
return j(n) === u;
|
|
174
|
-
}
|
|
175
|
-
function h(n) {
|
|
176
|
-
return j(n) === v;
|
|
177
|
-
}
|
|
178
|
-
function b(n) {
|
|
179
|
-
return typeof n == "object" && n !== null && n.$$typeof === i;
|
|
180
|
-
}
|
|
181
|
-
function f(n) {
|
|
182
|
-
return j(n) === y;
|
|
183
|
-
}
|
|
184
|
-
function E(n) {
|
|
185
|
-
return j(n) === a;
|
|
186
|
-
}
|
|
187
|
-
function p(n) {
|
|
188
|
-
return j(n) === k;
|
|
189
|
-
}
|
|
190
|
-
function m(n) {
|
|
191
|
-
return j(n) === C;
|
|
192
|
-
}
|
|
193
|
-
function T(n) {
|
|
194
|
-
return j(n) === c;
|
|
195
|
-
}
|
|
196
|
-
function R(n) {
|
|
197
|
-
return j(n) === s;
|
|
198
|
-
}
|
|
199
|
-
function x(n) {
|
|
200
|
-
return j(n) === g;
|
|
201
|
-
}
|
|
202
|
-
function q(n) {
|
|
203
|
-
return j(n) === d;
|
|
204
|
-
}
|
|
205
|
-
P.AsyncMode = t, P.ConcurrentMode = L, P.ContextConsumer = J, P.ContextProvider = z, P.Element = $, P.ForwardRef = Y, P.Fragment = K, P.Lazy = V, P.Memo = H, P.Portal = G, P.Profiler = ne, P.StrictMode = W, P.Suspense = B, P.isAsyncMode = oe, P.isConcurrentMode = e, P.isContextConsumer = o, P.isContextProvider = h, P.isElement = b, P.isForwardRef = f, P.isFragment = E, P.isLazy = p, P.isMemo = m, P.isPortal = T, P.isProfiler = R, P.isStrictMode = x, P.isSuspense = q, P.isValidElementType = A, P.typeOf = j;
|
|
206
|
-
}()), P;
|
|
207
|
-
}
|
|
208
|
-
var Ee;
|
|
209
|
-
function Ce() {
|
|
210
|
-
return Ee || (Ee = 1, process.env.NODE_ENV === "production" ? Q.exports = Ve() : Q.exports = Ge()), Q.exports;
|
|
211
|
-
}
|
|
212
|
-
/*
|
|
213
|
-
object-assign
|
|
214
|
-
(c) Sindre Sorhus
|
|
215
|
-
@license MIT
|
|
216
|
-
*/
|
|
217
|
-
var ae, Te;
|
|
218
|
-
function Je() {
|
|
219
|
-
if (Te)
|
|
220
|
-
return ae;
|
|
221
|
-
Te = 1;
|
|
222
|
-
var r = Object.getOwnPropertySymbols, i = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
|
|
223
|
-
function a(s) {
|
|
224
|
-
if (s == null)
|
|
225
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
226
|
-
return Object(s);
|
|
227
|
-
}
|
|
228
|
-
function g() {
|
|
229
|
-
try {
|
|
230
|
-
if (!Object.assign)
|
|
231
|
-
return !1;
|
|
232
|
-
var s = new String("abc");
|
|
233
|
-
if (s[5] = "de", Object.getOwnPropertyNames(s)[0] === "5")
|
|
234
|
-
return !1;
|
|
235
|
-
for (var v = {}, u = 0; u < 10; u++)
|
|
236
|
-
v["_" + String.fromCharCode(u)] = u;
|
|
237
|
-
var _ = Object.getOwnPropertyNames(v).map(function(y) {
|
|
238
|
-
return v[y];
|
|
239
|
-
});
|
|
240
|
-
if (_.join("") !== "0123456789")
|
|
241
|
-
return !1;
|
|
242
|
-
var l = {};
|
|
243
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(y) {
|
|
244
|
-
l[y] = y;
|
|
245
|
-
}), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
|
|
246
|
-
} catch {
|
|
247
|
-
return !1;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
return ae = g() ? Object.assign : function(s, v) {
|
|
251
|
-
for (var u, _ = a(s), l, y = 1; y < arguments.length; y++) {
|
|
252
|
-
u = Object(arguments[y]);
|
|
253
|
-
for (var d in u)
|
|
254
|
-
i.call(u, d) && (_[d] = u[d]);
|
|
255
|
-
if (r) {
|
|
256
|
-
l = r(u);
|
|
257
|
-
for (var w = 0; w < l.length; w++)
|
|
258
|
-
c.call(u, l[w]) && (_[l[w]] = u[l[w]]);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
return _;
|
|
262
|
-
}, ae;
|
|
263
|
-
}
|
|
264
|
-
var ie, xe;
|
|
265
|
-
function ye() {
|
|
266
|
-
if (xe)
|
|
267
|
-
return ie;
|
|
268
|
-
xe = 1;
|
|
269
|
-
var r = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
270
|
-
return ie = r, ie;
|
|
271
|
-
}
|
|
272
|
-
var se, Se;
|
|
273
|
-
function Ae() {
|
|
274
|
-
return Se || (Se = 1, se = Function.call.bind(Object.prototype.hasOwnProperty)), se;
|
|
275
|
-
}
|
|
276
|
-
var ce, Oe;
|
|
277
|
-
function He() {
|
|
278
|
-
if (Oe)
|
|
279
|
-
return ce;
|
|
280
|
-
Oe = 1;
|
|
281
|
-
var r = function() {
|
|
282
|
-
};
|
|
283
|
-
if (process.env.NODE_ENV !== "production") {
|
|
284
|
-
var i = ye(), c = {}, a = Ae();
|
|
285
|
-
r = function(s) {
|
|
286
|
-
var v = "Warning: " + s;
|
|
287
|
-
typeof console < "u" && console.error(v);
|
|
288
|
-
try {
|
|
289
|
-
throw new Error(v);
|
|
290
|
-
} catch {
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
function g(s, v, u, _, l) {
|
|
295
|
-
if (process.env.NODE_ENV !== "production") {
|
|
296
|
-
for (var y in s)
|
|
297
|
-
if (a(s, y)) {
|
|
298
|
-
var d;
|
|
299
|
-
try {
|
|
300
|
-
if (typeof s[y] != "function") {
|
|
301
|
-
var w = Error(
|
|
302
|
-
(_ || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
303
|
-
);
|
|
304
|
-
throw w.name = "Invariant Violation", w;
|
|
305
|
-
}
|
|
306
|
-
d = s[y](v, y, _, u, null, i);
|
|
307
|
-
} catch (k) {
|
|
308
|
-
d = k;
|
|
309
|
-
}
|
|
310
|
-
if (d && !(d instanceof Error) && r(
|
|
311
|
-
(_ || "React class") + ": type specification of " + u + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
312
|
-
), d instanceof Error && !(d.message in c)) {
|
|
313
|
-
c[d.message] = !0;
|
|
314
|
-
var C = l ? l() : "";
|
|
315
|
-
r(
|
|
316
|
-
"Failed " + u + " type: " + d.message + (C ?? "")
|
|
317
|
-
);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
return g.resetWarningCache = function() {
|
|
323
|
-
process.env.NODE_ENV !== "production" && (c = {});
|
|
324
|
-
}, ce = g, ce;
|
|
325
|
-
}
|
|
326
|
-
var ue, Pe;
|
|
327
|
-
function Xe() {
|
|
328
|
-
if (Pe)
|
|
329
|
-
return ue;
|
|
330
|
-
Pe = 1;
|
|
331
|
-
var r = Ce(), i = Je(), c = ye(), a = Ae(), g = He(), s = function() {
|
|
332
|
-
};
|
|
333
|
-
process.env.NODE_ENV !== "production" && (s = function(u) {
|
|
334
|
-
var _ = "Warning: " + u;
|
|
335
|
-
typeof console < "u" && console.error(_);
|
|
336
|
-
try {
|
|
337
|
-
throw new Error(_);
|
|
338
|
-
} catch {
|
|
339
|
-
}
|
|
340
|
-
});
|
|
341
|
-
function v() {
|
|
342
|
-
return null;
|
|
343
|
-
}
|
|
344
|
-
return ue = function(u, _) {
|
|
345
|
-
var l = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
|
|
346
|
-
function d(e) {
|
|
347
|
-
var o = e && (l && e[l] || e[y]);
|
|
348
|
-
if (typeof o == "function")
|
|
349
|
-
return o;
|
|
350
|
-
}
|
|
351
|
-
var w = "<<anonymous>>", C = {
|
|
352
|
-
array: D("array"),
|
|
353
|
-
bigint: D("bigint"),
|
|
354
|
-
bool: D("boolean"),
|
|
355
|
-
func: D("function"),
|
|
356
|
-
number: D("number"),
|
|
357
|
-
object: D("object"),
|
|
358
|
-
string: D("string"),
|
|
359
|
-
symbol: D("symbol"),
|
|
360
|
-
any: M(),
|
|
361
|
-
arrayOf: A,
|
|
362
|
-
element: j(),
|
|
363
|
-
elementType: t(),
|
|
364
|
-
instanceOf: L,
|
|
365
|
-
node: Y(),
|
|
366
|
-
objectOf: z,
|
|
367
|
-
oneOf: J,
|
|
368
|
-
oneOfType: $,
|
|
369
|
-
shape: V,
|
|
370
|
-
exact: H
|
|
371
|
-
};
|
|
372
|
-
function k(e, o) {
|
|
373
|
-
return e === o ? e !== 0 || 1 / e === 1 / o : e !== e && o !== o;
|
|
374
|
-
}
|
|
375
|
-
function S(e, o) {
|
|
376
|
-
this.message = e, this.data = o && typeof o == "object" ? o : {}, this.stack = "";
|
|
377
|
-
}
|
|
378
|
-
S.prototype = Error.prototype;
|
|
379
|
-
function I(e) {
|
|
380
|
-
if (process.env.NODE_ENV !== "production")
|
|
381
|
-
var o = {}, h = 0;
|
|
382
|
-
function b(E, p, m, T, R, x, q) {
|
|
383
|
-
if (T = T || w, x = x || m, q !== c) {
|
|
384
|
-
if (_) {
|
|
385
|
-
var n = new Error(
|
|
386
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
387
|
-
);
|
|
388
|
-
throw n.name = "Invariant Violation", n;
|
|
389
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
390
|
-
var U = T + ":" + m;
|
|
391
|
-
!o[U] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
392
|
-
h < 3 && (s(
|
|
393
|
-
"You are manually calling a React.PropTypes validation function for the `" + x + "` prop on `" + T + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
394
|
-
), o[U] = !0, h++);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
return p[m] == null ? E ? p[m] === null ? new S("The " + R + " `" + x + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new S("The " + R + " `" + x + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null : e(p, m, T, R, x);
|
|
398
|
-
}
|
|
399
|
-
var f = b.bind(null, !1);
|
|
400
|
-
return f.isRequired = b.bind(null, !0), f;
|
|
401
|
-
}
|
|
402
|
-
function D(e) {
|
|
403
|
-
function o(h, b, f, E, p, m) {
|
|
404
|
-
var T = h[b], R = W(T);
|
|
405
|
-
if (R !== e) {
|
|
406
|
-
var x = B(T);
|
|
407
|
-
return new S(
|
|
408
|
-
"Invalid " + E + " `" + p + "` of type " + ("`" + x + "` supplied to `" + f + "`, expected ") + ("`" + e + "`."),
|
|
409
|
-
{ expectedType: e }
|
|
410
|
-
);
|
|
411
|
-
}
|
|
412
|
-
return null;
|
|
413
|
-
}
|
|
414
|
-
return I(o);
|
|
415
|
-
}
|
|
416
|
-
function M() {
|
|
417
|
-
return I(v);
|
|
418
|
-
}
|
|
419
|
-
function A(e) {
|
|
420
|
-
function o(h, b, f, E, p) {
|
|
421
|
-
if (typeof e != "function")
|
|
422
|
-
return new S("Property `" + p + "` of component `" + f + "` has invalid PropType notation inside arrayOf.");
|
|
423
|
-
var m = h[b];
|
|
424
|
-
if (!Array.isArray(m)) {
|
|
425
|
-
var T = W(m);
|
|
426
|
-
return new S("Invalid " + E + " `" + p + "` of type " + ("`" + T + "` supplied to `" + f + "`, expected an array."));
|
|
427
|
-
}
|
|
428
|
-
for (var R = 0; R < m.length; R++) {
|
|
429
|
-
var x = e(m, R, f, E, p + "[" + R + "]", c);
|
|
430
|
-
if (x instanceof Error)
|
|
431
|
-
return x;
|
|
432
|
-
}
|
|
433
|
-
return null;
|
|
434
|
-
}
|
|
435
|
-
return I(o);
|
|
436
|
-
}
|
|
437
|
-
function j() {
|
|
438
|
-
function e(o, h, b, f, E) {
|
|
439
|
-
var p = o[h];
|
|
440
|
-
if (!u(p)) {
|
|
441
|
-
var m = W(p);
|
|
442
|
-
return new S("Invalid " + f + " `" + E + "` of type " + ("`" + m + "` supplied to `" + b + "`, expected a single ReactElement."));
|
|
443
|
-
}
|
|
444
|
-
return null;
|
|
445
|
-
}
|
|
446
|
-
return I(e);
|
|
447
|
-
}
|
|
448
|
-
function t() {
|
|
449
|
-
function e(o, h, b, f, E) {
|
|
450
|
-
var p = o[h];
|
|
451
|
-
if (!r.isValidElementType(p)) {
|
|
452
|
-
var m = W(p);
|
|
453
|
-
return new S("Invalid " + f + " `" + E + "` of type " + ("`" + m + "` supplied to `" + b + "`, expected a single ReactElement type."));
|
|
454
|
-
}
|
|
455
|
-
return null;
|
|
456
|
-
}
|
|
457
|
-
return I(e);
|
|
458
|
-
}
|
|
459
|
-
function L(e) {
|
|
460
|
-
function o(h, b, f, E, p) {
|
|
461
|
-
if (!(h[b] instanceof e)) {
|
|
462
|
-
var m = e.name || w, T = oe(h[b]);
|
|
463
|
-
return new S("Invalid " + E + " `" + p + "` of type " + ("`" + T + "` supplied to `" + f + "`, expected ") + ("instance of `" + m + "`."));
|
|
464
|
-
}
|
|
465
|
-
return null;
|
|
466
|
-
}
|
|
467
|
-
return I(o);
|
|
468
|
-
}
|
|
469
|
-
function J(e) {
|
|
470
|
-
if (!Array.isArray(e))
|
|
471
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
472
|
-
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
473
|
-
) : s("Invalid argument supplied to oneOf, expected an array.")), v;
|
|
474
|
-
function o(h, b, f, E, p) {
|
|
475
|
-
for (var m = h[b], T = 0; T < e.length; T++)
|
|
476
|
-
if (k(m, e[T]))
|
|
477
|
-
return null;
|
|
478
|
-
var R = JSON.stringify(e, function(q, n) {
|
|
479
|
-
var U = B(n);
|
|
480
|
-
return U === "symbol" ? String(n) : n;
|
|
481
|
-
});
|
|
482
|
-
return new S("Invalid " + E + " `" + p + "` of value `" + String(m) + "` " + ("supplied to `" + f + "`, expected one of " + R + "."));
|
|
483
|
-
}
|
|
484
|
-
return I(o);
|
|
485
|
-
}
|
|
486
|
-
function z(e) {
|
|
487
|
-
function o(h, b, f, E, p) {
|
|
488
|
-
if (typeof e != "function")
|
|
489
|
-
return new S("Property `" + p + "` of component `" + f + "` has invalid PropType notation inside objectOf.");
|
|
490
|
-
var m = h[b], T = W(m);
|
|
491
|
-
if (T !== "object")
|
|
492
|
-
return new S("Invalid " + E + " `" + p + "` of type " + ("`" + T + "` supplied to `" + f + "`, expected an object."));
|
|
493
|
-
for (var R in m)
|
|
494
|
-
if (a(m, R)) {
|
|
495
|
-
var x = e(m, R, f, E, p + "." + R, c);
|
|
496
|
-
if (x instanceof Error)
|
|
497
|
-
return x;
|
|
498
|
-
}
|
|
499
|
-
return null;
|
|
500
|
-
}
|
|
501
|
-
return I(o);
|
|
502
|
-
}
|
|
503
|
-
function $(e) {
|
|
504
|
-
if (!Array.isArray(e))
|
|
505
|
-
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), v;
|
|
506
|
-
for (var o = 0; o < e.length; o++) {
|
|
507
|
-
var h = e[o];
|
|
508
|
-
if (typeof h != "function")
|
|
509
|
-
return s(
|
|
510
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(h) + " at index " + o + "."
|
|
511
|
-
), v;
|
|
512
|
-
}
|
|
513
|
-
function b(f, E, p, m, T) {
|
|
514
|
-
for (var R = [], x = 0; x < e.length; x++) {
|
|
515
|
-
var q = e[x], n = q(f, E, p, m, T, c);
|
|
516
|
-
if (n == null)
|
|
517
|
-
return null;
|
|
518
|
-
n.data && a(n.data, "expectedType") && R.push(n.data.expectedType);
|
|
519
|
-
}
|
|
520
|
-
var U = R.length > 0 ? ", expected one of type [" + R.join(", ") + "]" : "";
|
|
521
|
-
return new S("Invalid " + m + " `" + T + "` supplied to " + ("`" + p + "`" + U + "."));
|
|
522
|
-
}
|
|
523
|
-
return I(b);
|
|
524
|
-
}
|
|
525
|
-
function Y() {
|
|
526
|
-
function e(o, h, b, f, E) {
|
|
527
|
-
return G(o[h]) ? null : new S("Invalid " + f + " `" + E + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
|
|
528
|
-
}
|
|
529
|
-
return I(e);
|
|
530
|
-
}
|
|
531
|
-
function K(e, o, h, b, f) {
|
|
532
|
-
return new S(
|
|
533
|
-
(e || "React class") + ": " + o + " type `" + h + "." + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + f + "`."
|
|
534
|
-
);
|
|
535
|
-
}
|
|
536
|
-
function V(e) {
|
|
537
|
-
function o(h, b, f, E, p) {
|
|
538
|
-
var m = h[b], T = W(m);
|
|
539
|
-
if (T !== "object")
|
|
540
|
-
return new S("Invalid " + E + " `" + p + "` of type `" + T + "` " + ("supplied to `" + f + "`, expected `object`."));
|
|
541
|
-
for (var R in e) {
|
|
542
|
-
var x = e[R];
|
|
543
|
-
if (typeof x != "function")
|
|
544
|
-
return K(f, E, p, R, B(x));
|
|
545
|
-
var q = x(m, R, f, E, p + "." + R, c);
|
|
546
|
-
if (q)
|
|
547
|
-
return q;
|
|
548
|
-
}
|
|
549
|
-
return null;
|
|
550
|
-
}
|
|
551
|
-
return I(o);
|
|
552
|
-
}
|
|
553
|
-
function H(e) {
|
|
554
|
-
function o(h, b, f, E, p) {
|
|
555
|
-
var m = h[b], T = W(m);
|
|
556
|
-
if (T !== "object")
|
|
557
|
-
return new S("Invalid " + E + " `" + p + "` of type `" + T + "` " + ("supplied to `" + f + "`, expected `object`."));
|
|
558
|
-
var R = i({}, h[b], e);
|
|
559
|
-
for (var x in R) {
|
|
560
|
-
var q = e[x];
|
|
561
|
-
if (a(e, x) && typeof q != "function")
|
|
562
|
-
return K(f, E, p, x, B(q));
|
|
563
|
-
if (!q)
|
|
564
|
-
return new S(
|
|
565
|
-
"Invalid " + E + " `" + p + "` key `" + x + "` supplied to `" + f + "`.\nBad object: " + JSON.stringify(h[b], null, " ") + `
|
|
566
|
-
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
567
|
-
);
|
|
568
|
-
var n = q(m, x, f, E, p + "." + x, c);
|
|
569
|
-
if (n)
|
|
570
|
-
return n;
|
|
571
|
-
}
|
|
572
|
-
return null;
|
|
573
|
-
}
|
|
574
|
-
return I(o);
|
|
575
|
-
}
|
|
576
|
-
function G(e) {
|
|
577
|
-
switch (typeof e) {
|
|
578
|
-
case "number":
|
|
579
|
-
case "string":
|
|
580
|
-
case "undefined":
|
|
581
|
-
return !0;
|
|
582
|
-
case "boolean":
|
|
583
|
-
return !e;
|
|
584
|
-
case "object":
|
|
585
|
-
if (Array.isArray(e))
|
|
586
|
-
return e.every(G);
|
|
587
|
-
if (e === null || u(e))
|
|
588
|
-
return !0;
|
|
589
|
-
var o = d(e);
|
|
590
|
-
if (o) {
|
|
591
|
-
var h = o.call(e), b;
|
|
592
|
-
if (o !== e.entries) {
|
|
593
|
-
for (; !(b = h.next()).done; )
|
|
594
|
-
if (!G(b.value))
|
|
595
|
-
return !1;
|
|
596
|
-
} else
|
|
597
|
-
for (; !(b = h.next()).done; ) {
|
|
598
|
-
var f = b.value;
|
|
599
|
-
if (f && !G(f[1]))
|
|
600
|
-
return !1;
|
|
601
|
-
}
|
|
602
|
-
} else
|
|
603
|
-
return !1;
|
|
604
|
-
return !0;
|
|
605
|
-
default:
|
|
606
|
-
return !1;
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
function ne(e, o) {
|
|
610
|
-
return e === "symbol" ? !0 : o ? o["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && o instanceof Symbol : !1;
|
|
611
|
-
}
|
|
612
|
-
function W(e) {
|
|
613
|
-
var o = typeof e;
|
|
614
|
-
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : ne(o, e) ? "symbol" : o;
|
|
615
|
-
}
|
|
616
|
-
function B(e) {
|
|
617
|
-
if (typeof e > "u" || e === null)
|
|
618
|
-
return "" + e;
|
|
619
|
-
var o = W(e);
|
|
620
|
-
if (o === "object") {
|
|
621
|
-
if (e instanceof Date)
|
|
622
|
-
return "date";
|
|
623
|
-
if (e instanceof RegExp)
|
|
624
|
-
return "regexp";
|
|
625
|
-
}
|
|
626
|
-
return o;
|
|
627
|
-
}
|
|
628
|
-
function X(e) {
|
|
629
|
-
var o = B(e);
|
|
630
|
-
switch (o) {
|
|
631
|
-
case "array":
|
|
632
|
-
case "object":
|
|
633
|
-
return "an " + o;
|
|
634
|
-
case "boolean":
|
|
635
|
-
case "date":
|
|
636
|
-
case "regexp":
|
|
637
|
-
return "a " + o;
|
|
638
|
-
default:
|
|
639
|
-
return o;
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
function oe(e) {
|
|
643
|
-
return !e.constructor || !e.constructor.name ? w : e.constructor.name;
|
|
644
|
-
}
|
|
645
|
-
return C.checkPropTypes = g, C.resetWarningCache = g.resetWarningCache, C.PropTypes = C, C;
|
|
646
|
-
}, ue;
|
|
647
|
-
}
|
|
648
|
-
var fe, we;
|
|
649
|
-
function Ze() {
|
|
650
|
-
if (we)
|
|
651
|
-
return fe;
|
|
652
|
-
we = 1;
|
|
653
|
-
var r = ye();
|
|
654
|
-
function i() {
|
|
655
|
-
}
|
|
656
|
-
function c() {
|
|
657
|
-
}
|
|
658
|
-
return c.resetWarningCache = i, fe = function() {
|
|
659
|
-
function a(v, u, _, l, y, d) {
|
|
660
|
-
if (d !== r) {
|
|
661
|
-
var w = new Error(
|
|
662
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
663
|
-
);
|
|
664
|
-
throw w.name = "Invariant Violation", w;
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
a.isRequired = a;
|
|
668
|
-
function g() {
|
|
669
|
-
return a;
|
|
670
|
-
}
|
|
671
|
-
var s = {
|
|
672
|
-
array: a,
|
|
673
|
-
bigint: a,
|
|
674
|
-
bool: a,
|
|
675
|
-
func: a,
|
|
676
|
-
number: a,
|
|
677
|
-
object: a,
|
|
678
|
-
string: a,
|
|
679
|
-
symbol: a,
|
|
680
|
-
any: a,
|
|
681
|
-
arrayOf: g,
|
|
682
|
-
element: a,
|
|
683
|
-
elementType: a,
|
|
684
|
-
instanceOf: g,
|
|
685
|
-
node: a,
|
|
686
|
-
objectOf: g,
|
|
687
|
-
oneOf: g,
|
|
688
|
-
oneOfType: g,
|
|
689
|
-
shape: g,
|
|
690
|
-
exact: g,
|
|
691
|
-
checkPropTypes: c,
|
|
692
|
-
resetWarningCache: i
|
|
693
|
-
};
|
|
694
|
-
return s.PropTypes = s, s;
|
|
695
|
-
}, fe;
|
|
696
|
-
}
|
|
697
|
-
if (process.env.NODE_ENV !== "production") {
|
|
698
|
-
var Qe = Ce(), er = !0;
|
|
699
|
-
ve.exports = Xe()(Qe.isElement, er);
|
|
700
|
-
} else
|
|
701
|
-
ve.exports = Ze()();
|
|
702
|
-
var rr = ve.exports;
|
|
703
|
-
const hr = /* @__PURE__ */ Ne(rr);
|
|
704
|
-
const tr = "_sidenav_12xoe_4", nr = "_root_12xoe_5", or = "_group_12xoe_9", ar = "_arrow_12xoe_58", ir = "_disabled_12xoe_88", F = {
|
|
705
|
-
sidenav: tr,
|
|
706
|
-
root: nr,
|
|
707
|
-
"sidenav-group": "_sidenav-group_12xoe_6",
|
|
708
|
-
"sidenav-link": "_sidenav-link_12xoe_7",
|
|
709
|
-
"sidenav-collapsible": "_sidenav-collapsible_12xoe_8",
|
|
710
|
-
group: or,
|
|
711
|
-
"group-label": "_group-label_12xoe_32",
|
|
712
|
-
arrow: ar,
|
|
713
|
-
disabled: ir,
|
|
714
|
-
"not-collapsible": "_not-collapsible_12xoe_110",
|
|
715
|
-
"has-indicator": "_has-indicator_12xoe_118"
|
|
716
|
-
}, je = (r, i, c) => {
|
|
717
|
-
const a = Array.prototype.indexOf.call(i, c.current);
|
|
718
|
-
switch (r.key) {
|
|
719
|
-
case "ArrowDown":
|
|
720
|
-
if (!i)
|
|
721
|
-
return;
|
|
722
|
-
if (r.preventDefault(), i[a].setAttribute("tabindex", "-1"), a === i.length - 1) {
|
|
723
|
-
i[0].setAttribute("tabindex", "0"), i[0].focus();
|
|
724
|
-
break;
|
|
725
|
-
}
|
|
726
|
-
i[a + 1].setAttribute("tabindex", "0"), i[a + 1].focus();
|
|
727
|
-
break;
|
|
728
|
-
case "ArrowUp":
|
|
729
|
-
if (r.preventDefault(), !i)
|
|
730
|
-
return;
|
|
731
|
-
if (i[a].setAttribute("tabindex", "-1"), a === 0) {
|
|
732
|
-
i[i.length - 1].setAttribute("tabindex", "0"), i[i.length - 1].focus();
|
|
733
|
-
break;
|
|
734
|
-
}
|
|
735
|
-
i[a - 1].setAttribute("tabindex", "0"), i[a - 1].focus();
|
|
736
|
-
break;
|
|
737
|
-
}
|
|
738
|
-
}, ke = te(
|
|
739
|
-
(r, i) => {
|
|
740
|
-
const {
|
|
741
|
-
className: c,
|
|
742
|
-
children: a,
|
|
743
|
-
href: g,
|
|
744
|
-
id: s,
|
|
745
|
-
active: v,
|
|
746
|
-
onClick: u,
|
|
747
|
-
onKeyDown: _,
|
|
748
|
-
onKeyUp: l,
|
|
749
|
-
style: y,
|
|
750
|
-
disabled: d,
|
|
751
|
-
...w
|
|
752
|
-
} = r, { links: C } = qe(), k = ee(null);
|
|
753
|
-
function S(M) {
|
|
754
|
-
je(M, C, k), _ == null || _(M, s);
|
|
755
|
-
}
|
|
756
|
-
function I(M) {
|
|
757
|
-
d || ((M.code === "Space" || M.code === "Enter") && (M.preventDefault(), u && M.currentTarget.click()), l == null || l(M, s));
|
|
758
|
-
}
|
|
759
|
-
function D(M) {
|
|
760
|
-
var A, j;
|
|
761
|
-
if (d)
|
|
762
|
-
return;
|
|
763
|
-
const t = Array.prototype.slice.call(C).filter((L) => L.tabIndex === 0)[0];
|
|
764
|
-
t && t.setAttribute("tabindex", "-1"), (A = k.current) == null || A.setAttribute("tabindex", "0"), (j = k.current) == null || j.focus(), u == null || u(M, s);
|
|
765
|
-
}
|
|
766
|
-
return /* @__PURE__ */ N.jsx("li", { className: c, "data-anv": "sidenav-link", style: y, ref: i, children: /* @__PURE__ */ N.jsx(
|
|
767
|
-
"a",
|
|
768
|
-
{
|
|
769
|
-
className: F["sidenav-link"],
|
|
770
|
-
"aria-current": v ? "page" : void 0,
|
|
771
|
-
href: g,
|
|
772
|
-
ref: k,
|
|
773
|
-
onClick: D,
|
|
774
|
-
onKeyDown: S,
|
|
775
|
-
onKeyUp: I,
|
|
776
|
-
id: s,
|
|
777
|
-
"aria-disabled": d,
|
|
778
|
-
tabIndex: v ? 0 : -1,
|
|
779
|
-
...w,
|
|
780
|
-
children: a
|
|
781
|
-
}
|
|
782
|
-
) });
|
|
783
|
-
}
|
|
784
|
-
);
|
|
785
|
-
ke.displayName = "SideNavLink";
|
|
786
|
-
const sr = (r) => /* @__PURE__ */ me.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...r }, /* @__PURE__ */ me.createElement("path", { d: "M8.12 9.29 12 13.17l3.88-3.88a.996.996 0 1 1 1.41 1.41l-4.59 4.59a.996.996 0 0 1-1.41 0L6.7 10.7a.996.996 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z" })), Ie = te((r, i) => {
|
|
787
|
-
var c;
|
|
788
|
-
const {
|
|
789
|
-
className: a,
|
|
790
|
-
children: g,
|
|
791
|
-
label: s,
|
|
792
|
-
onClick: v,
|
|
793
|
-
onKeyDown: u,
|
|
794
|
-
defaultExpanded: _ = !1,
|
|
795
|
-
expanded: l,
|
|
796
|
-
...y
|
|
797
|
-
} = r, [d, w] = le(_), [C, k] = le(!1), S = ee(null), I = ee(null), D = re(F["sidenav-collapsible"], a), { links: M, reCalculateLinks: A } = qe(), j = Re(), t = ($) => {
|
|
798
|
-
l === void 0 && w((Y) => $ !== void 0 ? $ : !Y);
|
|
799
|
-
};
|
|
800
|
-
de(() => {
|
|
801
|
-
l !== void 0 && w(l);
|
|
802
|
-
}, [l]);
|
|
803
|
-
function L($) {
|
|
804
|
-
var Y, K;
|
|
805
|
-
t(), setTimeout(() => A(), 0);
|
|
806
|
-
const V = Array.prototype.slice.call(M).filter((H) => H.tabIndex === 0)[0];
|
|
807
|
-
V && V.setAttribute("tabindex", "-1"), (Y = S.current) == null || Y.setAttribute("tabindex", "0"), (K = S.current) == null || K.focus(), v == null || v($);
|
|
808
|
-
}
|
|
809
|
-
function J($) {
|
|
810
|
-
switch (je($, M, S), $.key) {
|
|
811
|
-
case "ArrowRight":
|
|
812
|
-
w(!0), setTimeout(() => A(), 0);
|
|
813
|
-
break;
|
|
814
|
-
case "ArrowLeft":
|
|
815
|
-
w(!1), setTimeout(() => A(), 0);
|
|
816
|
-
break;
|
|
817
|
-
}
|
|
818
|
-
u == null || u($);
|
|
819
|
-
}
|
|
820
|
-
const z = (c = Le.map(
|
|
821
|
-
g,
|
|
822
|
-
($) => $.props
|
|
823
|
-
)) == null ? void 0 : c.some(($) => $.active === !0);
|
|
824
|
-
return Ye(() => {
|
|
825
|
-
z && (t(!0), setTimeout(() => {
|
|
826
|
-
var $;
|
|
827
|
-
const Y = ($ = I.current) == null ? void 0 : $.querySelector("[active='true']");
|
|
828
|
-
Y == null || Y.setAttribute("tabindex", "0"), A();
|
|
829
|
-
}, 0));
|
|
830
|
-
}, []), de(() => {
|
|
831
|
-
if (!z) {
|
|
832
|
-
k(!1);
|
|
833
|
-
return;
|
|
834
|
-
}
|
|
835
|
-
k(!0);
|
|
836
|
-
}, [z]), /* @__PURE__ */ N.jsxs(
|
|
837
|
-
"li",
|
|
838
|
-
{
|
|
839
|
-
ref: i,
|
|
840
|
-
"data-anv": "sidenav-collapsible",
|
|
841
|
-
...y,
|
|
842
|
-
className: D,
|
|
843
|
-
children: [
|
|
844
|
-
/* @__PURE__ */ N.jsxs(
|
|
845
|
-
"button",
|
|
846
|
-
{
|
|
847
|
-
"aria-expanded": d,
|
|
848
|
-
"aria-controls": j,
|
|
849
|
-
type: "button",
|
|
850
|
-
tabIndex: -1,
|
|
851
|
-
onClick: L,
|
|
852
|
-
ref: S,
|
|
853
|
-
className: re(F["sidenav-link"], {
|
|
854
|
-
[F["has-indicator"]]: C && !d
|
|
855
|
-
}),
|
|
856
|
-
onKeyDown: J,
|
|
857
|
-
children: [
|
|
858
|
-
s,
|
|
859
|
-
/* @__PURE__ */ N.jsx(Be, { className: F.arrow, inherit: !0, svg: sr, "aria-hidden": !0 })
|
|
860
|
-
]
|
|
861
|
-
}
|
|
862
|
-
),
|
|
863
|
-
d ? /* @__PURE__ */ N.jsx("ul", { id: j, ref: I, className: F.group, children: g }) : null
|
|
864
|
-
]
|
|
865
|
-
}
|
|
866
|
-
);
|
|
867
|
-
});
|
|
868
|
-
Ie.displayName = "SideNavCollapsible";
|
|
869
|
-
const Me = te(
|
|
870
|
-
(r, i) => {
|
|
871
|
-
const { children: c, label: a, ...g } = r, s = re(F["sidenav-group"]), v = Re();
|
|
872
|
-
return /* @__PURE__ */ N.jsxs("li", { ref: i, "data-anv": "sidenav-group", ...g, children: [
|
|
873
|
-
/* @__PURE__ */ N.jsx("label", { id: v, className: F["group-label"], children: a }),
|
|
874
|
-
/* @__PURE__ */ N.jsx("ul", { "aria-labelledby": v, className: s, children: c })
|
|
875
|
-
] });
|
|
876
|
-
}
|
|
877
|
-
);
|
|
878
|
-
Me.displayName = "SideNavGroup";
|
|
879
|
-
const $e = We(null), De = te((r, i) => {
|
|
880
|
-
const { layoutStyles: c, componentProps: a } = ze(r), { className: g, children: s, style: v, ...u } = a, _ = ee(null), [l, y] = le(), d = {
|
|
881
|
-
...v,
|
|
882
|
-
...c
|
|
883
|
-
};
|
|
884
|
-
function w() {
|
|
885
|
-
if (_.current) {
|
|
886
|
-
const S = _.current.querySelectorAll(
|
|
887
|
-
"li[data-anv='sidenav-link'] a:not([aria-disabled='true']), li[data-anv='sidenav-collapsible'] button[aria-expanded]:not([aria-disabled='true'])"
|
|
888
|
-
);
|
|
889
|
-
y(S);
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
de(() => {
|
|
893
|
-
w();
|
|
894
|
-
}, []);
|
|
895
|
-
const C = re([F.sidenav], g), k = Ue(
|
|
896
|
-
() => ({
|
|
897
|
-
links: l,
|
|
898
|
-
reCalculateLinks: w
|
|
899
|
-
}),
|
|
900
|
-
[l]
|
|
901
|
-
);
|
|
902
|
-
return /* @__PURE__ */ N.jsx($e.Provider, { value: k, children: /* @__PURE__ */ N.jsx(
|
|
903
|
-
"nav",
|
|
904
|
-
{
|
|
905
|
-
ref: Ke([_, i]),
|
|
906
|
-
className: C,
|
|
907
|
-
style: d,
|
|
908
|
-
"data-anv": "sidenav",
|
|
909
|
-
...u,
|
|
910
|
-
children: /* @__PURE__ */ N.jsx("ul", { className: F.root, children: s })
|
|
911
|
-
}
|
|
912
|
-
) });
|
|
913
|
-
}), qe = () => {
|
|
914
|
-
const r = Fe($e);
|
|
915
|
-
if (r == null)
|
|
916
|
-
throw new Error("useSideNav must be wrapped in <SideNav />");
|
|
917
|
-
return r;
|
|
918
|
-
};
|
|
919
|
-
De.displayName = "SideNav";
|
|
920
|
-
const gr = Object.assign(De, {
|
|
921
|
-
Link: ke,
|
|
922
|
-
Collapsible: Ie,
|
|
923
|
-
Group: Me
|
|
924
|
-
});
|
|
925
|
-
export {
|
|
926
|
-
ke as M,
|
|
927
|
-
Ie as O,
|
|
928
|
-
hr as P,
|
|
929
|
-
he as _,
|
|
930
|
-
mr as a,
|
|
931
|
-
br as b,
|
|
932
|
-
Me as c,
|
|
933
|
-
gr as f
|
|
934
|
-
};
|
|
935
|
-
//# sourceMappingURL=SideNav-33a404ec.js.map
|