@servicetitan/anvil2 1.3.3 → 1.3.5
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 +12 -11
- 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 +34 -60
- 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 +18 -6
- package/anvil2.js +161 -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 +2 -2
- 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-1fce1d41.js +0 -422
- package/Tab-1fce1d41.js.map +0 -1
- package/Tab-f843e740.cjs +0 -10
- package/Tab-f843e740.cjs.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-9948e3af.cjs +0 -23
- package/index-9948e3af.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/index-ff5fea63.js +0 -5015
- package/index-ff5fea63.js.map +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.js
CHANGED
|
@@ -1,1166 +1,285 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
n.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
return u && v.substr(-1) !== "/" && (v += "/"), v;
|
|
34
|
-
}
|
|
35
|
-
var lr = process.env.NODE_ENV === "production";
|
|
36
|
-
function A(e, r) {
|
|
37
|
-
if (!lr) {
|
|
38
|
-
if (e)
|
|
39
|
-
return;
|
|
40
|
-
var o = "Warning: " + r;
|
|
41
|
-
typeof console < "u" && console.warn(o);
|
|
42
|
-
try {
|
|
43
|
-
throw Error(o);
|
|
44
|
-
} catch {
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
var pr = process.env.NODE_ENV === "production", Re = "Invariant failed";
|
|
49
|
-
function Y(e, r) {
|
|
50
|
-
if (!e) {
|
|
51
|
-
if (pr)
|
|
52
|
-
throw new Error(Re);
|
|
53
|
-
var o = typeof r == "function" ? r() : r, n = o ? "".concat(Re, ": ").concat(o) : Re;
|
|
54
|
-
throw new Error(n);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
function dr(e) {
|
|
58
|
-
var r = e || "/", o = "", n = "", t = r.indexOf("#");
|
|
59
|
-
t !== -1 && (n = r.substr(t), r = r.substr(0, t));
|
|
60
|
-
var c = r.indexOf("?");
|
|
61
|
-
return c !== -1 && (o = r.substr(c), r = r.substr(0, c)), {
|
|
62
|
-
pathname: r,
|
|
63
|
-
search: o === "?" ? "" : o,
|
|
64
|
-
hash: n === "#" ? "" : n
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function Xe(e) {
|
|
68
|
-
var r = e.pathname, o = e.search, n = e.hash, t = r || "/";
|
|
69
|
-
return o && o !== "?" && (t += o.charAt(0) === "?" ? o : "?" + o), n && n !== "#" && (t += n.charAt(0) === "#" ? n : "#" + n), t;
|
|
70
|
-
}
|
|
71
|
-
function z(e, r, o, n) {
|
|
72
|
-
var t;
|
|
73
|
-
typeof e == "string" ? (t = dr(e), t.state = r) : (t = W({}, e), t.pathname === void 0 && (t.pathname = ""), t.search ? t.search.charAt(0) !== "?" && (t.search = "?" + t.search) : t.search = "", t.hash ? t.hash.charAt(0) !== "#" && (t.hash = "#" + t.hash) : t.hash = "", r !== void 0 && t.state === void 0 && (t.state = r));
|
|
74
|
-
try {
|
|
75
|
-
t.pathname = decodeURI(t.pathname);
|
|
76
|
-
} catch (c) {
|
|
77
|
-
throw c instanceof URIError ? new URIError('Pathname "' + t.pathname + '" could not be decoded. This is likely caused by an invalid percent-encoding.') : c;
|
|
78
|
-
}
|
|
79
|
-
return o && (t.key = o), n ? t.pathname ? t.pathname.charAt(0) !== "/" && (t.pathname = fr(t.pathname, n.pathname)) : t.pathname = n.pathname : t.pathname || (t.pathname = "/"), t;
|
|
80
|
-
}
|
|
81
|
-
function vr() {
|
|
82
|
-
var e = null;
|
|
83
|
-
function r(p) {
|
|
84
|
-
return process.env.NODE_ENV !== "production" && A(e == null, "A history supports only one prompt at a time"), e = p, function() {
|
|
85
|
-
e === p && (e = null);
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function o(p, u, d, f) {
|
|
89
|
-
if (e != null) {
|
|
90
|
-
var s = typeof e == "function" ? e(p, u) : e;
|
|
91
|
-
typeof s == "string" ? typeof d == "function" ? d(s, f) : (process.env.NODE_ENV !== "production" && A(!1, "A history needs a getUserConfirmation function in order to use a prompt message"), f(!0)) : f(s !== !1);
|
|
92
|
-
} else
|
|
93
|
-
f(!0);
|
|
94
|
-
}
|
|
95
|
-
var n = [];
|
|
96
|
-
function t(p) {
|
|
97
|
-
var u = !0;
|
|
98
|
-
function d() {
|
|
99
|
-
u && p.apply(void 0, arguments);
|
|
100
|
-
}
|
|
101
|
-
return n.push(d), function() {
|
|
102
|
-
u = !1, n = n.filter(function(f) {
|
|
103
|
-
return f !== d;
|
|
104
|
-
});
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
function c() {
|
|
108
|
-
for (var p = arguments.length, u = new Array(p), d = 0; d < p; d++)
|
|
109
|
-
u[d] = arguments[d];
|
|
110
|
-
n.forEach(function(f) {
|
|
111
|
-
return f.apply(void 0, u);
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
return {
|
|
115
|
-
setPrompt: r,
|
|
116
|
-
confirmTransitionTo: o,
|
|
117
|
-
appendListener: t,
|
|
118
|
-
notifyListeners: c
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
function Oe(e, r, o) {
|
|
122
|
-
return Math.min(Math.max(e, r), o);
|
|
123
|
-
}
|
|
124
|
-
function hr(e) {
|
|
125
|
-
e === void 0 && (e = {});
|
|
126
|
-
var r = e, o = r.getUserConfirmation, n = r.initialEntries, t = n === void 0 ? ["/"] : n, c = r.initialIndex, p = c === void 0 ? 0 : c, u = r.keyLength, d = u === void 0 ? 6 : u, f = vr();
|
|
127
|
-
function s(S) {
|
|
128
|
-
W(C, S), C.length = C.entries.length, f.notifyListeners(C.location, C.action);
|
|
129
|
-
}
|
|
130
|
-
function l() {
|
|
131
|
-
return Math.random().toString(36).substr(2, d);
|
|
132
|
-
}
|
|
133
|
-
var v = Oe(p, 0, t.length - 1), h = t.map(function(S) {
|
|
134
|
-
return typeof S == "string" ? z(S, void 0, l()) : z(S, void 0, S.key || l());
|
|
135
|
-
}), m = Xe;
|
|
136
|
-
function M(S, w) {
|
|
137
|
-
process.env.NODE_ENV !== "production" && A(!(typeof S == "object" && S.state !== void 0 && w !== void 0), "You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");
|
|
138
|
-
var I = "PUSH", O = z(S, w, l(), C.location);
|
|
139
|
-
f.confirmTransitionTo(O, I, o, function(L) {
|
|
140
|
-
if (L) {
|
|
141
|
-
var G = C.index, F = G + 1, V = C.entries.slice(0);
|
|
142
|
-
V.length > F ? V.splice(F, V.length - F, O) : V.push(O), s({
|
|
143
|
-
action: I,
|
|
144
|
-
location: O,
|
|
145
|
-
index: F,
|
|
146
|
-
entries: V
|
|
147
|
-
});
|
|
1
|
+
import "./index17.css";
|
|
2
|
+
import { j as w } from "./jsx-runtime-82a9ddf6.js";
|
|
3
|
+
import { f as p } from "./jsx-runtime-944c88e2-e73fa629.js";
|
|
4
|
+
import * as P from "react";
|
|
5
|
+
import { forwardRef as m, useRef as S, useState as R, useId as U, useEffect as G, Children as Q, useLayoutEffect as V, createContext as X, useMemo as q, useContext as Y, useCallback as Z } from "react";
|
|
6
|
+
import { G as L } from "./index-c6e22bb9.js";
|
|
7
|
+
import "./tinycolor-d415b1fd.js";
|
|
8
|
+
import { J as $ } from "./useLayoutPropsUtil-f34e9597.js";
|
|
9
|
+
import { u as ee } from "./index-04060912.js";
|
|
10
|
+
import { C as te } from "./Icon-be690f0b.js";
|
|
11
|
+
import { useHistory as ne, useLocation as ae, matchPath as re } from "react-router-dom";
|
|
12
|
+
const ie = "_sidenav_12xoe_4", le = "_root_12xoe_5", se = "_group_12xoe_9", oe = "_arrow_12xoe_58", ce = "_disabled_12xoe_88", f = {
|
|
13
|
+
sidenav: ie,
|
|
14
|
+
root: le,
|
|
15
|
+
"sidenav-group": "_sidenav-group_12xoe_6",
|
|
16
|
+
"sidenav-link": "_sidenav-link_12xoe_7",
|
|
17
|
+
"sidenav-collapsible": "_sidenav-collapsible_12xoe_8",
|
|
18
|
+
group: se,
|
|
19
|
+
"group-label": "_group-label_12xoe_32",
|
|
20
|
+
arrow: oe,
|
|
21
|
+
disabled: ce,
|
|
22
|
+
"not-collapsible": "_not-collapsible_12xoe_110",
|
|
23
|
+
"has-indicator": "_has-indicator_12xoe_118"
|
|
24
|
+
}, z = (t, e, a) => {
|
|
25
|
+
const n = Array.prototype.indexOf.call(e, a.current);
|
|
26
|
+
switch (t.key) {
|
|
27
|
+
case "ArrowDown":
|
|
28
|
+
if (!e)
|
|
29
|
+
return;
|
|
30
|
+
if (t.preventDefault(), e[n].setAttribute("tabindex", "-1"), n === e.length - 1) {
|
|
31
|
+
e[0].setAttribute("tabindex", "0"), e[0].focus();
|
|
32
|
+
break;
|
|
148
33
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
location: O
|
|
158
|
-
}));
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
function N(S) {
|
|
162
|
-
var w = Oe(C.index + S, 0, C.entries.length - 1), I = "POP", O = C.entries[w];
|
|
163
|
-
f.confirmTransitionTo(O, I, o, function(L) {
|
|
164
|
-
L ? s({
|
|
165
|
-
action: I,
|
|
166
|
-
location: O,
|
|
167
|
-
index: w
|
|
168
|
-
}) : s();
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
function D() {
|
|
172
|
-
N(-1);
|
|
173
|
-
}
|
|
174
|
-
function E() {
|
|
175
|
-
N(1);
|
|
176
|
-
}
|
|
177
|
-
function y(S) {
|
|
178
|
-
var w = C.index + S;
|
|
179
|
-
return w >= 0 && w < C.entries.length;
|
|
180
|
-
}
|
|
181
|
-
function i(S) {
|
|
182
|
-
return S === void 0 && (S = !1), f.setPrompt(S);
|
|
183
|
-
}
|
|
184
|
-
function $(S) {
|
|
185
|
-
return f.appendListener(S);
|
|
186
|
-
}
|
|
187
|
-
var C = {
|
|
188
|
-
length: h.length,
|
|
189
|
-
action: "POP",
|
|
190
|
-
location: h[v],
|
|
191
|
-
index: v,
|
|
192
|
-
entries: h,
|
|
193
|
-
createHref: m,
|
|
194
|
-
push: M,
|
|
195
|
-
replace: P,
|
|
196
|
-
go: N,
|
|
197
|
-
goBack: D,
|
|
198
|
-
goForward: E,
|
|
199
|
-
canGo: y,
|
|
200
|
-
block: i,
|
|
201
|
-
listen: $
|
|
202
|
-
};
|
|
203
|
-
return C;
|
|
204
|
-
}
|
|
205
|
-
var B = { exports: {} }, mr = Array.isArray || function(e) {
|
|
206
|
-
return Object.prototype.toString.call(e) == "[object Array]";
|
|
207
|
-
}, oe = mr;
|
|
208
|
-
B.exports = Qe;
|
|
209
|
-
B.exports.parse = Ne;
|
|
210
|
-
B.exports.compile = Er;
|
|
211
|
-
B.exports.tokensToFunction = Je;
|
|
212
|
-
B.exports.tokensToRegExp = Ze;
|
|
213
|
-
var yr = new RegExp([
|
|
214
|
-
// Match escaped characters that would otherwise appear in future matches.
|
|
215
|
-
// This allows the user to escape special characters that won't transform.
|
|
216
|
-
"(\\\\.)",
|
|
217
|
-
// Match Express-style parameters and un-named parameters with a prefix
|
|
218
|
-
// and optional suffixes. Matches appear as:
|
|
219
|
-
//
|
|
220
|
-
// "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined]
|
|
221
|
-
// "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined]
|
|
222
|
-
// "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
|
|
223
|
-
"([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"
|
|
224
|
-
].join("|"), "g");
|
|
225
|
-
function Ne(e, r) {
|
|
226
|
-
for (var o = [], n = 0, t = 0, c = "", p = r && r.delimiter || "/", u; (u = yr.exec(e)) != null; ) {
|
|
227
|
-
var d = u[0], f = u[1], s = u.index;
|
|
228
|
-
if (c += e.slice(t, s), t = s + d.length, f) {
|
|
229
|
-
c += f[1];
|
|
230
|
-
continue;
|
|
231
|
-
}
|
|
232
|
-
var l = e[t], v = u[2], h = u[3], m = u[4], M = u[5], P = u[6], N = u[7];
|
|
233
|
-
c && (o.push(c), c = "");
|
|
234
|
-
var D = v != null && l != null && l !== v, E = P === "+" || P === "*", y = P === "?" || P === "*", i = u[2] || p, $ = m || M;
|
|
235
|
-
o.push({
|
|
236
|
-
name: h || n++,
|
|
237
|
-
prefix: v || "",
|
|
238
|
-
delimiter: i,
|
|
239
|
-
optional: y,
|
|
240
|
-
repeat: E,
|
|
241
|
-
partial: D,
|
|
242
|
-
asterisk: !!N,
|
|
243
|
-
pattern: $ ? br($) : N ? ".*" : "[^" + ne(i) + "]+?"
|
|
244
|
-
});
|
|
245
|
-
}
|
|
246
|
-
return t < e.length && (c += e.substr(t)), c && o.push(c), o;
|
|
247
|
-
}
|
|
248
|
-
function Er(e, r) {
|
|
249
|
-
return Je(Ne(e, r), r);
|
|
250
|
-
}
|
|
251
|
-
function _r(e) {
|
|
252
|
-
return encodeURI(e).replace(/[\/?#]/g, function(r) {
|
|
253
|
-
return "%" + r.charCodeAt(0).toString(16).toUpperCase();
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
function xr(e) {
|
|
257
|
-
return encodeURI(e).replace(/[?#]/g, function(r) {
|
|
258
|
-
return "%" + r.charCodeAt(0).toString(16).toUpperCase();
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
function Je(e, r) {
|
|
262
|
-
for (var o = new Array(e.length), n = 0; n < e.length; n++)
|
|
263
|
-
typeof e[n] == "object" && (o[n] = new RegExp("^(?:" + e[n].pattern + ")$", Ae(r)));
|
|
264
|
-
return function(t, c) {
|
|
265
|
-
for (var p = "", u = t || {}, d = c || {}, f = d.pretty ? _r : encodeURIComponent, s = 0; s < e.length; s++) {
|
|
266
|
-
var l = e[s];
|
|
267
|
-
if (typeof l == "string") {
|
|
268
|
-
p += l;
|
|
269
|
-
continue;
|
|
270
|
-
}
|
|
271
|
-
var v = u[l.name], h;
|
|
272
|
-
if (v == null)
|
|
273
|
-
if (l.optional) {
|
|
274
|
-
l.partial && (p += l.prefix);
|
|
275
|
-
continue;
|
|
276
|
-
} else
|
|
277
|
-
throw new TypeError('Expected "' + l.name + '" to be defined');
|
|
278
|
-
if (oe(v)) {
|
|
279
|
-
if (!l.repeat)
|
|
280
|
-
throw new TypeError('Expected "' + l.name + '" to not repeat, but received `' + JSON.stringify(v) + "`");
|
|
281
|
-
if (v.length === 0) {
|
|
282
|
-
if (l.optional)
|
|
283
|
-
continue;
|
|
284
|
-
throw new TypeError('Expected "' + l.name + '" to not be empty');
|
|
285
|
-
}
|
|
286
|
-
for (var m = 0; m < v.length; m++) {
|
|
287
|
-
if (h = f(v[m]), !o[s].test(h))
|
|
288
|
-
throw new TypeError('Expected all "' + l.name + '" to match "' + l.pattern + '", but received `' + JSON.stringify(h) + "`");
|
|
289
|
-
p += (m === 0 ? l.prefix : l.delimiter) + h;
|
|
290
|
-
}
|
|
291
|
-
continue;
|
|
34
|
+
e[n + 1].setAttribute("tabindex", "0"), e[n + 1].focus();
|
|
35
|
+
break;
|
|
36
|
+
case "ArrowUp":
|
|
37
|
+
if (t.preventDefault(), !e)
|
|
38
|
+
return;
|
|
39
|
+
if (e[n].setAttribute("tabindex", "-1"), n === 0) {
|
|
40
|
+
e[e.length - 1].setAttribute("tabindex", "0"), e[e.length - 1].focus();
|
|
41
|
+
break;
|
|
292
42
|
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
p += l.prefix + h;
|
|
296
|
-
}
|
|
297
|
-
return p;
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
function ne(e) {
|
|
301
|
-
return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1");
|
|
302
|
-
}
|
|
303
|
-
function br(e) {
|
|
304
|
-
return e.replace(/([=!:$\/()])/g, "\\$1");
|
|
305
|
-
}
|
|
306
|
-
function $e(e, r) {
|
|
307
|
-
return e.keys = r, e;
|
|
308
|
-
}
|
|
309
|
-
function Ae(e) {
|
|
310
|
-
return e && e.sensitive ? "" : "i";
|
|
311
|
-
}
|
|
312
|
-
function Rr(e, r) {
|
|
313
|
-
var o = e.source.match(/\((?!\?)/g);
|
|
314
|
-
if (o)
|
|
315
|
-
for (var n = 0; n < o.length; n++)
|
|
316
|
-
r.push({
|
|
317
|
-
name: n,
|
|
318
|
-
prefix: null,
|
|
319
|
-
delimiter: null,
|
|
320
|
-
optional: !1,
|
|
321
|
-
repeat: !1,
|
|
322
|
-
partial: !1,
|
|
323
|
-
asterisk: !1,
|
|
324
|
-
pattern: null
|
|
325
|
-
});
|
|
326
|
-
return $e(e, r);
|
|
327
|
-
}
|
|
328
|
-
function gr(e, r, o) {
|
|
329
|
-
for (var n = [], t = 0; t < e.length; t++)
|
|
330
|
-
n.push(Qe(e[t], r, o).source);
|
|
331
|
-
var c = new RegExp("(?:" + n.join("|") + ")", Ae(o));
|
|
332
|
-
return $e(c, r);
|
|
333
|
-
}
|
|
334
|
-
function Sr(e, r, o) {
|
|
335
|
-
return Ze(Ne(e, o), r, o);
|
|
336
|
-
}
|
|
337
|
-
function Ze(e, r, o) {
|
|
338
|
-
oe(r) || (o = /** @type {!Object} */
|
|
339
|
-
r || o, r = []), o = o || {};
|
|
340
|
-
for (var n = o.strict, t = o.end !== !1, c = "", p = 0; p < e.length; p++) {
|
|
341
|
-
var u = e[p];
|
|
342
|
-
if (typeof u == "string")
|
|
343
|
-
c += ne(u);
|
|
344
|
-
else {
|
|
345
|
-
var d = ne(u.prefix), f = "(?:" + u.pattern + ")";
|
|
346
|
-
r.push(u), u.repeat && (f += "(?:" + d + f + ")*"), u.optional ? u.partial ? f = d + "(" + f + ")?" : f = "(?:" + d + "(" + f + "))?" : f = d + "(" + f + ")", c += f;
|
|
347
|
-
}
|
|
43
|
+
e[n - 1].setAttribute("tabindex", "0"), e[n - 1].focus();
|
|
44
|
+
break;
|
|
348
45
|
}
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
switch ($) {
|
|
393
|
-
case r:
|
|
394
|
-
switch (i = i.type, i) {
|
|
395
|
-
case d:
|
|
396
|
-
case f:
|
|
397
|
-
case n:
|
|
398
|
-
case c:
|
|
399
|
-
case t:
|
|
400
|
-
case l:
|
|
401
|
-
return i;
|
|
402
|
-
default:
|
|
403
|
-
switch (i = i && i.$$typeof, i) {
|
|
404
|
-
case u:
|
|
405
|
-
case s:
|
|
406
|
-
case m:
|
|
407
|
-
case h:
|
|
408
|
-
case p:
|
|
409
|
-
return i;
|
|
410
|
-
default:
|
|
411
|
-
return $;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
case o:
|
|
415
|
-
return $;
|
|
46
|
+
}, C = m(
|
|
47
|
+
(t, e) => {
|
|
48
|
+
const {
|
|
49
|
+
className: a,
|
|
50
|
+
children: n,
|
|
51
|
+
href: i,
|
|
52
|
+
id: o,
|
|
53
|
+
active: c,
|
|
54
|
+
onClick: l,
|
|
55
|
+
onKeyDown: b,
|
|
56
|
+
onKeyUp: u,
|
|
57
|
+
style: _,
|
|
58
|
+
disabled: d,
|
|
59
|
+
...v
|
|
60
|
+
} = t, { links: k } = J(), x = S(null);
|
|
61
|
+
function h(s) {
|
|
62
|
+
z(s, k, x), b == null || b(s, o);
|
|
63
|
+
}
|
|
64
|
+
function A(s) {
|
|
65
|
+
d || ((s.code === "Space" || s.code === "Enter") && (s.preventDefault(), l && s.currentTarget.click()), u == null || u(s, o));
|
|
66
|
+
}
|
|
67
|
+
function D(s) {
|
|
68
|
+
var y, g;
|
|
69
|
+
if (d)
|
|
70
|
+
return;
|
|
71
|
+
const j = Array.prototype.slice.call(k).filter((E) => E.tabIndex === 0)[0];
|
|
72
|
+
j && j.setAttribute("tabindex", "-1"), (y = x.current) == null || y.setAttribute("tabindex", "0"), (g = x.current) == null || g.focus(), l == null || l(s, o);
|
|
73
|
+
}
|
|
74
|
+
return /* @__PURE__ */ p.jsx("li", { className: a, "data-anv": "sidenav-link", style: _, ref: e, children: /* @__PURE__ */ p.jsx(
|
|
75
|
+
"a",
|
|
76
|
+
{
|
|
77
|
+
className: f["sidenav-link"],
|
|
78
|
+
"aria-current": c ? "page" : void 0,
|
|
79
|
+
href: i,
|
|
80
|
+
ref: x,
|
|
81
|
+
onClick: D,
|
|
82
|
+
onKeyDown: h,
|
|
83
|
+
onKeyUp: A,
|
|
84
|
+
id: o,
|
|
85
|
+
"aria-disabled": d,
|
|
86
|
+
tabIndex: c ? 0 : -1,
|
|
87
|
+
...v,
|
|
88
|
+
children: n
|
|
416
89
|
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
function y(i) {
|
|
420
|
-
return E(i) === f;
|
|
90
|
+
) });
|
|
421
91
|
}
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
},
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
}, x.isValidElementType = function(i) {
|
|
447
|
-
return typeof i == "string" || typeof i == "function" || i === n || i === f || i === c || i === t || i === l || i === v || typeof i == "object" && i !== null && (i.$$typeof === m || i.$$typeof === h || i.$$typeof === p || i.$$typeof === u || i.$$typeof === s || i.$$typeof === P || i.$$typeof === N || i.$$typeof === D || i.$$typeof === M);
|
|
448
|
-
}, x.typeOf = E, x;
|
|
449
|
-
}
|
|
450
|
-
var b = {};
|
|
451
|
-
/** @license React v16.13.1
|
|
452
|
-
* react-is.development.js
|
|
453
|
-
*
|
|
454
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
455
|
-
*
|
|
456
|
-
* This source code is licensed under the MIT license found in the
|
|
457
|
-
* LICENSE file in the root directory of this source tree.
|
|
458
|
-
*/
|
|
459
|
-
var Ie;
|
|
460
|
-
function Nr() {
|
|
461
|
-
return Ie || (Ie = 1, process.env.NODE_ENV !== "production" && function() {
|
|
462
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, p = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, P = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
|
|
463
|
-
function E(a) {
|
|
464
|
-
return typeof a == "string" || typeof a == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
465
|
-
a === n || a === f || a === c || a === t || a === l || a === v || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === h || a.$$typeof === p || a.$$typeof === u || a.$$typeof === s || a.$$typeof === P || a.$$typeof === N || a.$$typeof === D || a.$$typeof === M);
|
|
466
|
-
}
|
|
467
|
-
function y(a) {
|
|
468
|
-
if (typeof a == "object" && a !== null) {
|
|
469
|
-
var q = a.$$typeof;
|
|
470
|
-
switch (q) {
|
|
471
|
-
case r:
|
|
472
|
-
var U = a.type;
|
|
473
|
-
switch (U) {
|
|
474
|
-
case d:
|
|
475
|
-
case f:
|
|
476
|
-
case n:
|
|
477
|
-
case c:
|
|
478
|
-
case t:
|
|
479
|
-
case l:
|
|
480
|
-
return U;
|
|
481
|
-
default:
|
|
482
|
-
var J = U && U.$$typeof;
|
|
483
|
-
switch (J) {
|
|
484
|
-
case u:
|
|
485
|
-
case s:
|
|
486
|
-
case m:
|
|
487
|
-
case h:
|
|
488
|
-
case p:
|
|
489
|
-
return J;
|
|
490
|
-
default:
|
|
491
|
-
return q;
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
case o:
|
|
495
|
-
return q;
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
var i = d, $ = f, C = u, S = p, w = r, I = s, O = n, L = m, G = h, F = o, V = c, se = t, ce = l, K = !1;
|
|
500
|
-
function ue(a) {
|
|
501
|
-
return K || (K = !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.")), X(a) || y(a) === d;
|
|
502
|
-
}
|
|
503
|
-
function X(a) {
|
|
504
|
-
return y(a) === f;
|
|
505
|
-
}
|
|
506
|
-
function fe(a) {
|
|
507
|
-
return y(a) === u;
|
|
508
|
-
}
|
|
509
|
-
function le(a) {
|
|
510
|
-
return y(a) === p;
|
|
511
|
-
}
|
|
512
|
-
function pe(a) {
|
|
513
|
-
return typeof a == "object" && a !== null && a.$$typeof === r;
|
|
514
|
-
}
|
|
515
|
-
function de(a) {
|
|
516
|
-
return y(a) === s;
|
|
517
|
-
}
|
|
518
|
-
function ve(a) {
|
|
519
|
-
return y(a) === n;
|
|
520
|
-
}
|
|
521
|
-
function he(a) {
|
|
522
|
-
return y(a) === m;
|
|
523
|
-
}
|
|
524
|
-
function me(a) {
|
|
525
|
-
return y(a) === h;
|
|
526
|
-
}
|
|
527
|
-
function ye(a) {
|
|
528
|
-
return y(a) === o;
|
|
529
|
-
}
|
|
530
|
-
function Ee(a) {
|
|
531
|
-
return y(a) === c;
|
|
532
|
-
}
|
|
533
|
-
function _e(a) {
|
|
534
|
-
return y(a) === t;
|
|
535
|
-
}
|
|
536
|
-
function xe(a) {
|
|
537
|
-
return y(a) === l;
|
|
538
|
-
}
|
|
539
|
-
b.AsyncMode = i, b.ConcurrentMode = $, b.ContextConsumer = C, b.ContextProvider = S, b.Element = w, b.ForwardRef = I, b.Fragment = O, b.Lazy = L, b.Memo = G, b.Portal = F, b.Profiler = V, b.StrictMode = se, b.Suspense = ce, b.isAsyncMode = ue, b.isConcurrentMode = X, b.isContextConsumer = fe, b.isContextProvider = le, b.isElement = pe, b.isForwardRef = de, b.isFragment = ve, b.isLazy = he, b.isMemo = me, b.isPortal = ye, b.isProfiler = Ee, b.isStrictMode = _e, b.isSuspense = xe, b.isValidElementType = E, b.typeOf = y;
|
|
540
|
-
}()), b;
|
|
541
|
-
}
|
|
542
|
-
process.env.NODE_ENV === "production" ? Te.exports = Pr() : Te.exports = Nr();
|
|
543
|
-
var $r = Te.exports, Ce = { exports: {} }, R = {};
|
|
544
|
-
/** @license React v16.13.1
|
|
545
|
-
* react-is.production.min.js
|
|
546
|
-
*
|
|
547
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
548
|
-
*
|
|
549
|
-
* This source code is licensed under the MIT license found in the
|
|
550
|
-
* LICENSE file in the root directory of this source tree.
|
|
551
|
-
*/
|
|
552
|
-
var Ye;
|
|
553
|
-
function Ar() {
|
|
554
|
-
if (Ye)
|
|
555
|
-
return R;
|
|
556
|
-
Ye = 1;
|
|
557
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, p = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, P = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
|
|
558
|
-
function E(i) {
|
|
559
|
-
if (typeof i == "object" && i !== null) {
|
|
560
|
-
var $ = i.$$typeof;
|
|
561
|
-
switch ($) {
|
|
562
|
-
case r:
|
|
563
|
-
switch (i = i.type, i) {
|
|
564
|
-
case d:
|
|
565
|
-
case f:
|
|
566
|
-
case n:
|
|
567
|
-
case c:
|
|
568
|
-
case t:
|
|
569
|
-
case l:
|
|
570
|
-
return i;
|
|
571
|
-
default:
|
|
572
|
-
switch (i = i && i.$$typeof, i) {
|
|
573
|
-
case u:
|
|
574
|
-
case s:
|
|
575
|
-
case m:
|
|
576
|
-
case h:
|
|
577
|
-
case p:
|
|
578
|
-
return i;
|
|
579
|
-
default:
|
|
580
|
-
return $;
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
case o:
|
|
584
|
-
return $;
|
|
585
|
-
}
|
|
586
|
-
}
|
|
92
|
+
);
|
|
93
|
+
C.displayName = "SideNavLink";
|
|
94
|
+
const ue = (t) => /* @__PURE__ */ P.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...t }, /* @__PURE__ */ P.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" })), I = m((t, e) => {
|
|
95
|
+
var a;
|
|
96
|
+
const {
|
|
97
|
+
className: n,
|
|
98
|
+
children: i,
|
|
99
|
+
label: o,
|
|
100
|
+
onClick: c,
|
|
101
|
+
onKeyDown: l,
|
|
102
|
+
defaultExpanded: b = !1,
|
|
103
|
+
expanded: u,
|
|
104
|
+
..._
|
|
105
|
+
} = t, [d, v] = R(b), [k, x] = R(!1), h = S(null), A = S(null), D = L(f["sidenav-collapsible"], n), { links: s, reCalculateLinks: y } = J(), g = U(), j = (r) => {
|
|
106
|
+
u === void 0 && v((N) => r !== void 0 ? r : !N);
|
|
107
|
+
};
|
|
108
|
+
G(() => {
|
|
109
|
+
u !== void 0 && v(u);
|
|
110
|
+
}, [u]);
|
|
111
|
+
function E(r) {
|
|
112
|
+
var N, M;
|
|
113
|
+
j(), setTimeout(() => y(), 0);
|
|
114
|
+
const O = Array.prototype.slice.call(s).filter((F) => F.tabIndex === 0)[0];
|
|
115
|
+
O && O.setAttribute("tabindex", "-1"), (N = h.current) == null || N.setAttribute("tabindex", "0"), (M = h.current) == null || M.focus(), c == null || c(r);
|
|
587
116
|
}
|
|
588
|
-
function
|
|
589
|
-
|
|
117
|
+
function W(r) {
|
|
118
|
+
switch (z(r, s, h), r.key) {
|
|
119
|
+
case "ArrowRight":
|
|
120
|
+
v(!0), setTimeout(() => y(), 0);
|
|
121
|
+
break;
|
|
122
|
+
case "ArrowLeft":
|
|
123
|
+
v(!1), setTimeout(() => y(), 0);
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
l == null || l(r);
|
|
590
127
|
}
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
},
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
}, R.isMemo = function(i) {
|
|
606
|
-
return E(i) === h;
|
|
607
|
-
}, R.isPortal = function(i) {
|
|
608
|
-
return E(i) === o;
|
|
609
|
-
}, R.isProfiler = function(i) {
|
|
610
|
-
return E(i) === c;
|
|
611
|
-
}, R.isStrictMode = function(i) {
|
|
612
|
-
return E(i) === t;
|
|
613
|
-
}, R.isSuspense = function(i) {
|
|
614
|
-
return E(i) === l;
|
|
615
|
-
}, R.isValidElementType = function(i) {
|
|
616
|
-
return typeof i == "string" || typeof i == "function" || i === n || i === f || i === c || i === t || i === l || i === v || typeof i == "object" && i !== null && (i.$$typeof === m || i.$$typeof === h || i.$$typeof === p || i.$$typeof === u || i.$$typeof === s || i.$$typeof === P || i.$$typeof === N || i.$$typeof === D || i.$$typeof === M);
|
|
617
|
-
}, R.typeOf = E, R;
|
|
618
|
-
}
|
|
619
|
-
var g = {};
|
|
620
|
-
/** @license React v16.13.1
|
|
621
|
-
* react-is.development.js
|
|
622
|
-
*
|
|
623
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
624
|
-
*
|
|
625
|
-
* This source code is licensed under the MIT license found in the
|
|
626
|
-
* LICENSE file in the root directory of this source tree.
|
|
627
|
-
*/
|
|
628
|
-
var Le;
|
|
629
|
-
function Mr() {
|
|
630
|
-
return Le || (Le = 1, process.env.NODE_ENV !== "production" && function() {
|
|
631
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, p = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, P = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
|
|
632
|
-
function E(a) {
|
|
633
|
-
return typeof a == "string" || typeof a == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
634
|
-
a === n || a === f || a === c || a === t || a === l || a === v || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === h || a.$$typeof === p || a.$$typeof === u || a.$$typeof === s || a.$$typeof === P || a.$$typeof === N || a.$$typeof === D || a.$$typeof === M);
|
|
635
|
-
}
|
|
636
|
-
function y(a) {
|
|
637
|
-
if (typeof a == "object" && a !== null) {
|
|
638
|
-
var q = a.$$typeof;
|
|
639
|
-
switch (q) {
|
|
640
|
-
case r:
|
|
641
|
-
var U = a.type;
|
|
642
|
-
switch (U) {
|
|
643
|
-
case d:
|
|
644
|
-
case f:
|
|
645
|
-
case n:
|
|
646
|
-
case c:
|
|
647
|
-
case t:
|
|
648
|
-
case l:
|
|
649
|
-
return U;
|
|
650
|
-
default:
|
|
651
|
-
var J = U && U.$$typeof;
|
|
652
|
-
switch (J) {
|
|
653
|
-
case u:
|
|
654
|
-
case s:
|
|
655
|
-
case m:
|
|
656
|
-
case h:
|
|
657
|
-
case p:
|
|
658
|
-
return J;
|
|
659
|
-
default:
|
|
660
|
-
return q;
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
case o:
|
|
664
|
-
return q;
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
var i = d, $ = f, C = u, S = p, w = r, I = s, O = n, L = m, G = h, F = o, V = c, se = t, ce = l, K = !1;
|
|
669
|
-
function ue(a) {
|
|
670
|
-
return K || (K = !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.")), X(a) || y(a) === d;
|
|
671
|
-
}
|
|
672
|
-
function X(a) {
|
|
673
|
-
return y(a) === f;
|
|
674
|
-
}
|
|
675
|
-
function fe(a) {
|
|
676
|
-
return y(a) === u;
|
|
677
|
-
}
|
|
678
|
-
function le(a) {
|
|
679
|
-
return y(a) === p;
|
|
680
|
-
}
|
|
681
|
-
function pe(a) {
|
|
682
|
-
return typeof a == "object" && a !== null && a.$$typeof === r;
|
|
683
|
-
}
|
|
684
|
-
function de(a) {
|
|
685
|
-
return y(a) === s;
|
|
686
|
-
}
|
|
687
|
-
function ve(a) {
|
|
688
|
-
return y(a) === n;
|
|
689
|
-
}
|
|
690
|
-
function he(a) {
|
|
691
|
-
return y(a) === m;
|
|
692
|
-
}
|
|
693
|
-
function me(a) {
|
|
694
|
-
return y(a) === h;
|
|
695
|
-
}
|
|
696
|
-
function ye(a) {
|
|
697
|
-
return y(a) === o;
|
|
698
|
-
}
|
|
699
|
-
function Ee(a) {
|
|
700
|
-
return y(a) === c;
|
|
701
|
-
}
|
|
702
|
-
function _e(a) {
|
|
703
|
-
return y(a) === t;
|
|
704
|
-
}
|
|
705
|
-
function xe(a) {
|
|
706
|
-
return y(a) === l;
|
|
707
|
-
}
|
|
708
|
-
g.AsyncMode = i, g.ConcurrentMode = $, g.ContextConsumer = C, g.ContextProvider = S, g.Element = w, g.ForwardRef = I, g.Fragment = O, g.Lazy = L, g.Memo = G, g.Portal = F, g.Profiler = V, g.StrictMode = se, g.Suspense = ce, g.isAsyncMode = ue, g.isConcurrentMode = X, g.isContextConsumer = fe, g.isContextProvider = le, g.isElement = pe, g.isForwardRef = de, g.isFragment = ve, g.isLazy = he, g.isMemo = me, g.isPortal = ye, g.isProfiler = Ee, g.isStrictMode = _e, g.isSuspense = xe, g.isValidElementType = E, g.typeOf = y;
|
|
709
|
-
}()), g;
|
|
710
|
-
}
|
|
711
|
-
process.env.NODE_ENV === "production" ? Ce.exports = Ar() : Ce.exports = Mr();
|
|
712
|
-
var wr = Ce.exports, ke = wr, Or = {
|
|
713
|
-
$$typeof: !0,
|
|
714
|
-
render: !0,
|
|
715
|
-
defaultProps: !0,
|
|
716
|
-
displayName: !0,
|
|
717
|
-
propTypes: !0
|
|
718
|
-
}, Dr = {
|
|
719
|
-
$$typeof: !0,
|
|
720
|
-
compare: !0,
|
|
721
|
-
defaultProps: !0,
|
|
722
|
-
displayName: !0,
|
|
723
|
-
propTypes: !0,
|
|
724
|
-
type: !0
|
|
725
|
-
}, er = {};
|
|
726
|
-
er[ke.ForwardRef] = Or;
|
|
727
|
-
er[ke.Memo] = Dr;
|
|
728
|
-
var ee = 1073741823, Ve = typeof globalThis < "u" ? (
|
|
729
|
-
// eslint-disable-next-line no-undef
|
|
730
|
-
globalThis
|
|
731
|
-
) : typeof window < "u" ? window : typeof global < "u" ? global : {};
|
|
732
|
-
function Ir() {
|
|
733
|
-
var e = "__global_unique_id__";
|
|
734
|
-
return Ve[e] = (Ve[e] || 0) + 1;
|
|
735
|
-
}
|
|
736
|
-
function Yr(e, r) {
|
|
737
|
-
return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
|
|
738
|
-
}
|
|
739
|
-
function Lr(e) {
|
|
740
|
-
var r = [];
|
|
741
|
-
return {
|
|
742
|
-
on: function(n) {
|
|
743
|
-
r.push(n);
|
|
744
|
-
},
|
|
745
|
-
off: function(n) {
|
|
746
|
-
r = r.filter(function(t) {
|
|
747
|
-
return t !== n;
|
|
748
|
-
});
|
|
749
|
-
},
|
|
750
|
-
get: function() {
|
|
751
|
-
return e;
|
|
752
|
-
},
|
|
753
|
-
set: function(n, t) {
|
|
754
|
-
e = n, r.forEach(function(c) {
|
|
755
|
-
return c(e, t);
|
|
756
|
-
});
|
|
757
|
-
}
|
|
758
|
-
};
|
|
759
|
-
}
|
|
760
|
-
function Vr(e) {
|
|
761
|
-
return Array.isArray(e) ? e[0] : e;
|
|
762
|
-
}
|
|
763
|
-
function Ur(e, r) {
|
|
764
|
-
var o, n, t = "__create-react-context-" + Ir() + "__", c = /* @__PURE__ */ function(u) {
|
|
765
|
-
j(d, u);
|
|
766
|
-
function d() {
|
|
767
|
-
for (var s, l = arguments.length, v = new Array(l), h = 0; h < l; h++)
|
|
768
|
-
v[h] = arguments[h];
|
|
769
|
-
return s = u.call.apply(u, [this].concat(v)) || this, s.emitter = Lr(s.props.value), s;
|
|
128
|
+
const K = (a = Q.map(
|
|
129
|
+
i,
|
|
130
|
+
(r) => r.props
|
|
131
|
+
)) == null ? void 0 : a.some((r) => r.active === !0);
|
|
132
|
+
return V(() => {
|
|
133
|
+
K && (j(!0), setTimeout(() => {
|
|
134
|
+
var r;
|
|
135
|
+
const N = (r = A.current) == null ? void 0 : r.querySelector("[active='true']");
|
|
136
|
+
N == null || N.setAttribute("tabindex", "0"), y();
|
|
137
|
+
}, 0));
|
|
138
|
+
}, []), G(() => {
|
|
139
|
+
if (!K) {
|
|
140
|
+
x(!1);
|
|
141
|
+
return;
|
|
770
142
|
}
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
143
|
+
x(!0);
|
|
144
|
+
}, [K]), /* @__PURE__ */ p.jsxs(
|
|
145
|
+
"li",
|
|
146
|
+
{
|
|
147
|
+
ref: e,
|
|
148
|
+
"data-anv": "sidenav-collapsible",
|
|
149
|
+
..._,
|
|
150
|
+
className: D,
|
|
151
|
+
children: [
|
|
152
|
+
/* @__PURE__ */ p.jsxs(
|
|
153
|
+
"button",
|
|
154
|
+
{
|
|
155
|
+
"aria-expanded": d,
|
|
156
|
+
"aria-controls": g,
|
|
157
|
+
type: "button",
|
|
158
|
+
tabIndex: -1,
|
|
159
|
+
onClick: E,
|
|
160
|
+
ref: h,
|
|
161
|
+
className: L(f["sidenav-link"], {
|
|
162
|
+
[f["has-indicator"]]: k && !d
|
|
163
|
+
}),
|
|
164
|
+
onKeyDown: W,
|
|
165
|
+
children: [
|
|
166
|
+
o,
|
|
167
|
+
/* @__PURE__ */ p.jsx(te, { className: f.arrow, inherit: !0, svg: ue, "aria-hidden": !0 })
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
),
|
|
171
|
+
d ? /* @__PURE__ */ p.jsx("ul", { id: g, ref: A, className: f.group, children: i }) : null
|
|
172
|
+
]
|
|
798
173
|
}
|
|
799
|
-
|
|
800
|
-
return f.componentWillReceiveProps = function(l) {
|
|
801
|
-
var v = l.observedBits;
|
|
802
|
-
this.observedBits = v ?? ee;
|
|
803
|
-
}, f.componentDidMount = function() {
|
|
804
|
-
this.context[t] && this.context[t].on(this.onUpdate);
|
|
805
|
-
var l = this.props.observedBits;
|
|
806
|
-
this.observedBits = l ?? ee;
|
|
807
|
-
}, f.componentWillUnmount = function() {
|
|
808
|
-
this.context[t] && this.context[t].off(this.onUpdate);
|
|
809
|
-
}, f.getValue = function() {
|
|
810
|
-
return this.context[t] ? this.context[t].get() : e;
|
|
811
|
-
}, f.render = function() {
|
|
812
|
-
return Vr(this.props.children)(this.state.value);
|
|
813
|
-
}, d;
|
|
814
|
-
}(T.Component);
|
|
815
|
-
return p.contextTypes = (n = {}, n[t] = _.object, n), {
|
|
816
|
-
Provider: c,
|
|
817
|
-
Consumer: p
|
|
818
|
-
};
|
|
819
|
-
}
|
|
820
|
-
var Fr = T.createContext || Ur, rr = function(r) {
|
|
821
|
-
var o = Fr();
|
|
822
|
-
return o.displayName = r, o;
|
|
823
|
-
}, tr = /* @__PURE__ */ rr("Router-History"), Z = /* @__PURE__ */ rr("Router"), ie = /* @__PURE__ */ function(e) {
|
|
824
|
-
j(r, e), r.computeRootMatch = function(t) {
|
|
825
|
-
return {
|
|
826
|
-
path: "/",
|
|
827
|
-
url: "/",
|
|
828
|
-
params: {},
|
|
829
|
-
isExact: t === "/"
|
|
830
|
-
};
|
|
831
|
-
};
|
|
832
|
-
function r(n) {
|
|
833
|
-
var t;
|
|
834
|
-
return t = e.call(this, n) || this, t.state = {
|
|
835
|
-
location: n.history.location
|
|
836
|
-
}, t._isMounted = !1, t._pendingLocation = null, n.staticContext || (t.unlisten = n.history.listen(function(c) {
|
|
837
|
-
t._pendingLocation = c;
|
|
838
|
-
})), t;
|
|
839
|
-
}
|
|
840
|
-
var o = r.prototype;
|
|
841
|
-
return o.componentDidMount = function() {
|
|
842
|
-
var t = this;
|
|
843
|
-
this._isMounted = !0, this.unlisten && this.unlisten(), this.props.staticContext || (this.unlisten = this.props.history.listen(function(c) {
|
|
844
|
-
t._isMounted && t.setState({
|
|
845
|
-
location: c
|
|
846
|
-
});
|
|
847
|
-
})), this._pendingLocation && this.setState({
|
|
848
|
-
location: this._pendingLocation
|
|
849
|
-
});
|
|
850
|
-
}, o.componentWillUnmount = function() {
|
|
851
|
-
this.unlisten && (this.unlisten(), this._isMounted = !1, this._pendingLocation = null);
|
|
852
|
-
}, o.render = function() {
|
|
853
|
-
return /* @__PURE__ */ T.createElement(Z.Provider, {
|
|
854
|
-
value: {
|
|
855
|
-
history: this.props.history,
|
|
856
|
-
location: this.state.location,
|
|
857
|
-
match: r.computeRootMatch(this.state.location.pathname),
|
|
858
|
-
staticContext: this.props.staticContext
|
|
859
|
-
}
|
|
860
|
-
}, /* @__PURE__ */ T.createElement(tr.Provider, {
|
|
861
|
-
children: this.props.children || null,
|
|
862
|
-
value: this.props.history
|
|
863
|
-
}));
|
|
864
|
-
}, r;
|
|
865
|
-
}(T.Component);
|
|
866
|
-
process.env.NODE_ENV !== "production" && (ie.propTypes = {
|
|
867
|
-
children: _.node,
|
|
868
|
-
history: _.object.isRequired,
|
|
869
|
-
staticContext: _.object
|
|
870
|
-
}, ie.prototype.componentDidUpdate = function(e) {
|
|
871
|
-
process.env.NODE_ENV !== "production" && A(e.history === this.props.history, "You cannot change <Router history>");
|
|
872
|
-
});
|
|
873
|
-
var Ue = /* @__PURE__ */ function(e) {
|
|
874
|
-
j(r, e);
|
|
875
|
-
function r() {
|
|
876
|
-
for (var n, t = arguments.length, c = new Array(t), p = 0; p < t; p++)
|
|
877
|
-
c[p] = arguments[p];
|
|
878
|
-
return n = e.call.apply(e, [this].concat(c)) || this, n.history = hr(n.props), n;
|
|
879
|
-
}
|
|
880
|
-
var o = r.prototype;
|
|
881
|
-
return o.render = function() {
|
|
882
|
-
return /* @__PURE__ */ T.createElement(ie, {
|
|
883
|
-
history: this.history,
|
|
884
|
-
children: this.props.children
|
|
885
|
-
});
|
|
886
|
-
}, r;
|
|
887
|
-
}(T.Component);
|
|
888
|
-
process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
889
|
-
initialEntries: _.array,
|
|
890
|
-
initialIndex: _.number,
|
|
891
|
-
getUserConfirmation: _.func,
|
|
892
|
-
keyLength: _.number,
|
|
893
|
-
children: _.node
|
|
894
|
-
}, Ue.prototype.componentDidMount = function() {
|
|
895
|
-
process.env.NODE_ENV !== "production" && A(!this.props.history, "<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.");
|
|
896
|
-
});
|
|
897
|
-
T.Component;
|
|
898
|
-
if (process.env.NODE_ENV !== "production") {
|
|
899
|
-
var jr = _.oneOfType([_.func, _.string]);
|
|
900
|
-
_.bool, jr.isRequired;
|
|
901
|
-
}
|
|
902
|
-
process.env.NODE_ENV !== "production" && (_.bool, _.string, _.oneOfType([_.string, _.object]).isRequired);
|
|
903
|
-
var Fe = {}, qr = 1e4, je = 0;
|
|
904
|
-
function Wr(e, r) {
|
|
905
|
-
var o = "" + r.end + r.strict + r.sensitive, n = Fe[o] || (Fe[o] = {});
|
|
906
|
-
if (n[e])
|
|
907
|
-
return n[e];
|
|
908
|
-
var t = [], c = Cr(e, t, r), p = {
|
|
909
|
-
regexp: c,
|
|
910
|
-
keys: t
|
|
911
|
-
};
|
|
912
|
-
return je < qr && (n[e] = p, je++), p;
|
|
913
|
-
}
|
|
914
|
-
function Me(e, r) {
|
|
915
|
-
r === void 0 && (r = {}), (typeof r == "string" || Array.isArray(r)) && (r = {
|
|
916
|
-
path: r
|
|
917
|
-
});
|
|
918
|
-
var o = r, n = o.path, t = o.exact, c = t === void 0 ? !1 : t, p = o.strict, u = p === void 0 ? !1 : p, d = o.sensitive, f = d === void 0 ? !1 : d, s = [].concat(n);
|
|
919
|
-
return s.reduce(function(l, v) {
|
|
920
|
-
if (!v && v !== "")
|
|
921
|
-
return null;
|
|
922
|
-
if (l)
|
|
923
|
-
return l;
|
|
924
|
-
var h = Wr(v, {
|
|
925
|
-
end: c,
|
|
926
|
-
strict: u,
|
|
927
|
-
sensitive: f
|
|
928
|
-
}), m = h.regexp, M = h.keys, P = m.exec(e);
|
|
929
|
-
if (!P)
|
|
930
|
-
return null;
|
|
931
|
-
var N = P[0], D = P.slice(1), E = e === N;
|
|
932
|
-
return c && !E ? null : {
|
|
933
|
-
path: v,
|
|
934
|
-
// the path used to match
|
|
935
|
-
url: v === "/" && N === "" ? "/" : N,
|
|
936
|
-
// the matched portion of the URL
|
|
937
|
-
isExact: E,
|
|
938
|
-
// whether or not we matched exactly
|
|
939
|
-
params: M.reduce(function(y, i, $) {
|
|
940
|
-
return y[i.name] = D[$], y;
|
|
941
|
-
}, {})
|
|
942
|
-
};
|
|
943
|
-
}, null);
|
|
944
|
-
}
|
|
945
|
-
function Pe(e) {
|
|
946
|
-
return T.Children.count(e) === 0;
|
|
947
|
-
}
|
|
948
|
-
function qe(e, r, o) {
|
|
949
|
-
var n = e(r);
|
|
950
|
-
return process.env.NODE_ENV !== "production" && A(n !== void 0, "You returned `undefined` from the `children` function of " + ("<Route" + (o ? ' path="' + o + '"' : "") + ">, but you ") + "should have returned a React element or `null`"), n || null;
|
|
951
|
-
}
|
|
952
|
-
var ge = /* @__PURE__ */ function(e) {
|
|
953
|
-
j(r, e);
|
|
954
|
-
function r() {
|
|
955
|
-
return e.apply(this, arguments) || this;
|
|
956
|
-
}
|
|
957
|
-
var o = r.prototype;
|
|
958
|
-
return o.render = function() {
|
|
959
|
-
var t = this;
|
|
960
|
-
return /* @__PURE__ */ T.createElement(Z.Consumer, null, function(c) {
|
|
961
|
-
c || (process.env.NODE_ENV !== "production" ? Y(!1, "You should not use <Route> outside a <Router>") : Y(!1));
|
|
962
|
-
var p = t.props.location || c.location, u = t.props.computedMatch ? t.props.computedMatch : t.props.path ? Me(p.pathname, t.props) : c.match, d = W({}, c, {
|
|
963
|
-
location: p,
|
|
964
|
-
match: u
|
|
965
|
-
}), f = t.props, s = f.children, l = f.component, v = f.render;
|
|
966
|
-
return Array.isArray(s) && Pe(s) && (s = null), /* @__PURE__ */ T.createElement(Z.Provider, {
|
|
967
|
-
value: d
|
|
968
|
-
}, d.match ? s ? typeof s == "function" ? process.env.NODE_ENV !== "production" ? qe(s, d, t.props.path) : s(d) : s : l ? /* @__PURE__ */ T.createElement(l, d) : v ? v(d) : null : typeof s == "function" ? process.env.NODE_ENV !== "production" ? qe(s, d, t.props.path) : s(d) : null);
|
|
969
|
-
});
|
|
970
|
-
}, r;
|
|
971
|
-
}(T.Component);
|
|
972
|
-
process.env.NODE_ENV !== "production" && (ge.propTypes = {
|
|
973
|
-
children: _.oneOfType([_.func, _.node]),
|
|
974
|
-
component: function(r, o) {
|
|
975
|
-
if (r[o] && !$r.isValidElementType(r[o]))
|
|
976
|
-
return new Error("Invalid prop 'component' supplied to 'Route': the prop is not a valid React component");
|
|
977
|
-
},
|
|
978
|
-
exact: _.bool,
|
|
979
|
-
location: _.object,
|
|
980
|
-
path: _.oneOfType([_.string, _.arrayOf(_.string)]),
|
|
981
|
-
render: _.func,
|
|
982
|
-
sensitive: _.bool,
|
|
983
|
-
strict: _.bool
|
|
984
|
-
}, ge.prototype.componentDidMount = function() {
|
|
985
|
-
process.env.NODE_ENV !== "production" && A(!(this.props.children && !Pe(this.props.children) && this.props.component), "You should not use <Route component> and <Route children> in the same route; <Route component> will be ignored"), process.env.NODE_ENV !== "production" && A(!(this.props.children && !Pe(this.props.children) && this.props.render), "You should not use <Route render> and <Route children> in the same route; <Route render> will be ignored"), process.env.NODE_ENV !== "production" && A(!(this.props.component && this.props.render), "You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored");
|
|
986
|
-
}, ge.prototype.componentDidUpdate = function(e) {
|
|
987
|
-
process.env.NODE_ENV !== "production" && A(!(this.props.location && !e.location), '<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'), process.env.NODE_ENV !== "production" && A(!(!this.props.location && e.location), '<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.');
|
|
988
|
-
});
|
|
989
|
-
function we(e) {
|
|
990
|
-
return e.charAt(0) === "/" ? e : "/" + e;
|
|
991
|
-
}
|
|
992
|
-
function zr(e, r) {
|
|
993
|
-
return e ? W({}, r, {
|
|
994
|
-
pathname: we(e) + r.pathname
|
|
995
|
-
}) : r;
|
|
996
|
-
}
|
|
997
|
-
function Hr(e, r) {
|
|
998
|
-
if (!e)
|
|
999
|
-
return r;
|
|
1000
|
-
var o = we(e);
|
|
1001
|
-
return r.pathname.indexOf(o) !== 0 ? r : W({}, r, {
|
|
1002
|
-
pathname: r.pathname.substr(o.length)
|
|
1003
|
-
});
|
|
1004
|
-
}
|
|
1005
|
-
function We(e) {
|
|
1006
|
-
return typeof e == "string" ? e : Xe(e);
|
|
1007
|
-
}
|
|
1008
|
-
function Se(e) {
|
|
1009
|
-
return function() {
|
|
1010
|
-
process.env.NODE_ENV !== "production" ? Y(!1, "You cannot %s with <StaticRouter>") : Y(!1);
|
|
1011
|
-
};
|
|
1012
|
-
}
|
|
1013
|
-
function ze() {
|
|
1014
|
-
}
|
|
1015
|
-
var He = /* @__PURE__ */ function(e) {
|
|
1016
|
-
j(r, e);
|
|
1017
|
-
function r() {
|
|
1018
|
-
for (var n, t = arguments.length, c = new Array(t), p = 0; p < t; p++)
|
|
1019
|
-
c[p] = arguments[p];
|
|
1020
|
-
return n = e.call.apply(e, [this].concat(c)) || this, n.handlePush = function(u) {
|
|
1021
|
-
return n.navigateTo(u, "PUSH");
|
|
1022
|
-
}, n.handleReplace = function(u) {
|
|
1023
|
-
return n.navigateTo(u, "REPLACE");
|
|
1024
|
-
}, n.handleListen = function() {
|
|
1025
|
-
return ze;
|
|
1026
|
-
}, n.handleBlock = function() {
|
|
1027
|
-
return ze;
|
|
1028
|
-
}, n;
|
|
1029
|
-
}
|
|
1030
|
-
var o = r.prototype;
|
|
1031
|
-
return o.navigateTo = function(t, c) {
|
|
1032
|
-
var p = this.props, u = p.basename, d = u === void 0 ? "" : u, f = p.context, s = f === void 0 ? {} : f;
|
|
1033
|
-
s.action = c, s.location = zr(d, z(t)), s.url = We(s.location);
|
|
1034
|
-
}, o.render = function() {
|
|
1035
|
-
var t = this.props, c = t.basename, p = c === void 0 ? "" : c, u = t.context, d = u === void 0 ? {} : u, f = t.location, s = f === void 0 ? "/" : f, l = nr(t, ["basename", "context", "location"]), v = {
|
|
1036
|
-
createHref: function(m) {
|
|
1037
|
-
return we(p + We(m));
|
|
1038
|
-
},
|
|
1039
|
-
action: "POP",
|
|
1040
|
-
location: Hr(p, z(s)),
|
|
1041
|
-
push: this.handlePush,
|
|
1042
|
-
replace: this.handleReplace,
|
|
1043
|
-
go: Se(),
|
|
1044
|
-
goBack: Se(),
|
|
1045
|
-
goForward: Se(),
|
|
1046
|
-
listen: this.handleListen,
|
|
1047
|
-
block: this.handleBlock
|
|
1048
|
-
};
|
|
1049
|
-
return /* @__PURE__ */ T.createElement(ie, W({}, l, {
|
|
1050
|
-
history: v,
|
|
1051
|
-
staticContext: d
|
|
1052
|
-
}));
|
|
1053
|
-
}, r;
|
|
1054
|
-
}(T.Component);
|
|
1055
|
-
process.env.NODE_ENV !== "production" && (He.propTypes = {
|
|
1056
|
-
basename: _.string,
|
|
1057
|
-
context: _.object,
|
|
1058
|
-
location: _.oneOfType([_.string, _.object])
|
|
1059
|
-
}, He.prototype.componentDidMount = function() {
|
|
1060
|
-
process.env.NODE_ENV !== "production" && A(!this.props.history, "<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.");
|
|
174
|
+
);
|
|
1061
175
|
});
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
176
|
+
I.displayName = "SideNavCollapsible";
|
|
177
|
+
const T = m(
|
|
178
|
+
(t, e) => {
|
|
179
|
+
const { children: a, label: n, ...i } = t, o = L(f["sidenav-group"]), c = U();
|
|
180
|
+
return /* @__PURE__ */ p.jsxs("li", { ref: e, "data-anv": "sidenav-group", ...i, children: [
|
|
181
|
+
/* @__PURE__ */ p.jsx("label", { id: c, className: f["group-label"], children: n }),
|
|
182
|
+
/* @__PURE__ */ p.jsx("ul", { "aria-labelledby": c, className: o, children: a })
|
|
183
|
+
] });
|
|
1066
184
|
}
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
return T.Children.forEach(t.props.children, function(f) {
|
|
1074
|
-
if (d == null && /* @__PURE__ */ T.isValidElement(f)) {
|
|
1075
|
-
u = f;
|
|
1076
|
-
var s = f.props.path || f.props.from;
|
|
1077
|
-
d = s ? Me(p.pathname, W({}, f.props, {
|
|
1078
|
-
path: s
|
|
1079
|
-
})) : c.match;
|
|
1080
|
-
}
|
|
1081
|
-
}), d ? /* @__PURE__ */ T.cloneElement(u, {
|
|
1082
|
-
location: p,
|
|
1083
|
-
computedMatch: d
|
|
1084
|
-
}) : null;
|
|
1085
|
-
});
|
|
1086
|
-
}, r;
|
|
1087
|
-
}(T.Component);
|
|
1088
|
-
process.env.NODE_ENV !== "production" && (Be.propTypes = {
|
|
1089
|
-
children: _.node,
|
|
1090
|
-
location: _.object
|
|
1091
|
-
}, Be.prototype.componentDidUpdate = function(e) {
|
|
1092
|
-
process.env.NODE_ENV !== "production" && A(!(this.props.location && !e.location), '<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'), process.env.NODE_ENV !== "production" && A(!(!this.props.location && e.location), '<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.');
|
|
1093
|
-
});
|
|
1094
|
-
var ae = T.useContext;
|
|
1095
|
-
function Br() {
|
|
1096
|
-
return process.env.NODE_ENV !== "production" && typeof ae != "function" && (process.env.NODE_ENV !== "production" ? Y(!1, "You must use React >= 16.8 in order to use useHistory()") : Y(!1)), ae(tr);
|
|
1097
|
-
}
|
|
1098
|
-
function Gr() {
|
|
1099
|
-
return process.env.NODE_ENV !== "production" && typeof ae != "function" && (process.env.NODE_ENV !== "production" ? Y(!1, "You must use React >= 16.8 in order to use useLocation()") : Y(!1)), ae(Z).location;
|
|
1100
|
-
}
|
|
1101
|
-
if (process.env.NODE_ENV !== "production" && typeof window < "u") {
|
|
1102
|
-
var re = window, te = "__react_router_build__", Ge = {
|
|
1103
|
-
cjs: "CommonJS",
|
|
1104
|
-
esm: "ES modules",
|
|
1105
|
-
umd: "UMD"
|
|
185
|
+
);
|
|
186
|
+
T.displayName = "SideNavGroup";
|
|
187
|
+
const B = X(null), H = m((t, e) => {
|
|
188
|
+
const { layoutStyles: a, componentProps: n } = $(t), { className: i, children: o, style: c, ...l } = n, b = S(null), [u, _] = R(), d = {
|
|
189
|
+
...c,
|
|
190
|
+
...a
|
|
1106
191
|
};
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
192
|
+
function v() {
|
|
193
|
+
if (b.current) {
|
|
194
|
+
const h = b.current.querySelectorAll(
|
|
195
|
+
"li[data-anv='sidenav-link'] a:not([aria-disabled='true']), li[data-anv='sidenav-collapsible'] button[aria-expanded]:not([aria-disabled='true'])"
|
|
196
|
+
);
|
|
197
|
+
_(h);
|
|
198
|
+
}
|
|
1110
199
|
}
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
)
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
200
|
+
G(() => {
|
|
201
|
+
v();
|
|
202
|
+
}, []);
|
|
203
|
+
const k = L([f.sidenav], i), x = q(
|
|
204
|
+
() => ({
|
|
205
|
+
links: u,
|
|
206
|
+
reCalculateLinks: v
|
|
207
|
+
}),
|
|
208
|
+
[u]
|
|
209
|
+
);
|
|
210
|
+
return /* @__PURE__ */ p.jsx(B.Provider, { value: x, children: /* @__PURE__ */ p.jsx(
|
|
211
|
+
"nav",
|
|
212
|
+
{
|
|
213
|
+
ref: ee([b, e]),
|
|
214
|
+
className: k,
|
|
215
|
+
style: d,
|
|
216
|
+
"data-anv": "sidenav",
|
|
217
|
+
...l,
|
|
218
|
+
children: /* @__PURE__ */ p.jsx("ul", { className: f.root, children: o })
|
|
219
|
+
}
|
|
220
|
+
) });
|
|
221
|
+
}), J = () => {
|
|
222
|
+
const t = Y(B);
|
|
223
|
+
if (t == null)
|
|
224
|
+
throw new Error("useSideNav must be wrapped in <SideNav />");
|
|
225
|
+
return t;
|
|
226
|
+
};
|
|
227
|
+
H.displayName = "SideNav";
|
|
228
|
+
const de = Object.assign(H, {
|
|
229
|
+
Link: C,
|
|
230
|
+
Collapsible: I,
|
|
231
|
+
Group: T
|
|
232
|
+
}), pe = m(
|
|
233
|
+
(t, e) => /* @__PURE__ */ w.jsx(de, { ref: e, ...t })
|
|
234
|
+
), be = m(
|
|
235
|
+
(t, e) => /* @__PURE__ */ w.jsx(I, { ref: e, ...t })
|
|
236
|
+
), fe = m(
|
|
237
|
+
(t, e) => /* @__PURE__ */ w.jsx(T, { ref: e, ...t })
|
|
238
|
+
), ve = m(
|
|
1120
239
|
({
|
|
1121
|
-
href:
|
|
1122
|
-
exact:
|
|
1123
|
-
pathname:
|
|
240
|
+
href: t,
|
|
241
|
+
exact: e,
|
|
242
|
+
pathname: a,
|
|
1124
243
|
search: n,
|
|
1125
|
-
onClick:
|
|
1126
|
-
...
|
|
1127
|
-
},
|
|
1128
|
-
const
|
|
1129
|
-
() =>
|
|
1130
|
-
pathname:
|
|
244
|
+
onClick: i,
|
|
245
|
+
...o
|
|
246
|
+
}, c) => {
|
|
247
|
+
const l = ne(), b = ae(), u = q(
|
|
248
|
+
() => l.createHref({
|
|
249
|
+
pathname: a,
|
|
1131
250
|
search: n
|
|
1132
251
|
}),
|
|
1133
|
-
[
|
|
1134
|
-
),
|
|
1135
|
-
(...
|
|
1136
|
-
[
|
|
252
|
+
[l, a, n]
|
|
253
|
+
), _ = Z(
|
|
254
|
+
(...d) => (d[0].preventDefault(), l.push(a + (n ?? "")), i == null ? void 0 : i(...d)),
|
|
255
|
+
[l, a, n, i]
|
|
1137
256
|
);
|
|
1138
|
-
return /* @__PURE__ */
|
|
1139
|
-
|
|
257
|
+
return /* @__PURE__ */ w.jsx(
|
|
258
|
+
C,
|
|
1140
259
|
{
|
|
1141
|
-
href:
|
|
1142
|
-
active: !!
|
|
1143
|
-
exact:
|
|
1144
|
-
path:
|
|
260
|
+
href: a != null ? u : t,
|
|
261
|
+
active: !!re(b.pathname, {
|
|
262
|
+
exact: e,
|
|
263
|
+
path: a
|
|
1145
264
|
}),
|
|
1146
|
-
onClick:
|
|
1147
|
-
ref:
|
|
1148
|
-
...
|
|
265
|
+
onClick: a != null ? _ : i,
|
|
266
|
+
ref: c,
|
|
267
|
+
...o
|
|
1149
268
|
}
|
|
1150
269
|
);
|
|
1151
270
|
}
|
|
1152
|
-
),
|
|
1153
|
-
(
|
|
1154
|
-
),
|
|
1155
|
-
Link:
|
|
1156
|
-
Collapsible:
|
|
1157
|
-
Group:
|
|
271
|
+
), xe = m(
|
|
272
|
+
(t, e) => "pathname" in t ? /* @__PURE__ */ w.jsx(ve, { ref: e, ...t }) : /* @__PURE__ */ w.jsx(C, { ref: e, ...t })
|
|
273
|
+
), Se = Object.assign(pe, {
|
|
274
|
+
Link: xe,
|
|
275
|
+
Collapsible: be,
|
|
276
|
+
Group: fe
|
|
1158
277
|
});
|
|
1159
278
|
export {
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
279
|
+
Se as SideNav,
|
|
280
|
+
be as SideNavCollapsible,
|
|
281
|
+
fe as SideNavGroup,
|
|
282
|
+
xe as SideNavLink,
|
|
283
|
+
Se as default
|
|
1165
284
|
};
|
|
1166
285
|
//# sourceMappingURL=SideNav.js.map
|