@owp/core 1.30.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/colors/chart.d.ts +3 -0
- package/colors/chart.js +1 -0
- package/contexts.d.ts +3 -0
- package/contexts.js +1 -0
- package/dist/{Close-DnXyQZKh.js → Close-JeenM19L.js} +280 -282
- package/dist/Close-JeenM19L.js.map +1 -0
- package/dist/{OwpStoreProvider-Bx5p7ooQ.js → OwpStoreProvider-Cl8MlcxC.js} +3 -3
- package/dist/OwpStoreProvider-Cl8MlcxC.js.map +1 -0
- package/dist/OwpUtils-CDsU9hQL.js +383 -0
- package/dist/OwpUtils-CDsU9hQL.js.map +1 -0
- package/dist/colorMap-DP-DCZbV.js +82 -0
- package/dist/colorMap-DP-DCZbV.js.map +1 -0
- package/dist/colors/chart.js +6 -0
- package/dist/colors/chart.js.map +1 -0
- package/dist/colors.js +4 -1
- package/dist/colors.js.map +1 -1
- package/dist/commonCodeUtils-Dt6TXOku.js +42 -0
- package/dist/commonCodeUtils-Dt6TXOku.js.map +1 -0
- package/dist/contexts.js +103 -0
- package/dist/contexts.js.map +1 -0
- package/dist/{owpDark-DAY0F6Ph.js → dark-DAY0F6Ph.js} +1 -1
- package/dist/dark-DAY0F6Ph.js.map +1 -0
- package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js +1496 -0
- package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js.map +1 -0
- package/dist/exceljs.min-CwK2XNVA.js +23595 -0
- package/dist/exceljs.min-CwK2XNVA.js.map +1 -0
- package/dist/hooks.js +119 -73
- package/dist/hooks.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +27332 -96
- package/dist/index.js.map +1 -1
- package/dist/isTypedArray-DGEiG32J.js +637 -0
- package/dist/isTypedArray-DGEiG32J.js.map +1 -0
- package/dist/language-s_jJgpD5.js +35 -0
- package/dist/language-s_jJgpD5.js.map +1 -0
- package/dist/lazyLoadedSlices-D_EtusDd.js +2773 -0
- package/dist/lazyLoadedSlices-D_EtusDd.js.map +1 -0
- package/dist/owp-app.css +1 -1
- package/dist/store.js +2 -2
- package/dist/{toUpper-i_I6Tyuv.js → toUpper-D7kus_mL.js} +2 -2
- package/dist/{toUpper-i_I6Tyuv.js.map → toUpper-D7kus_mL.js.map} +1 -1
- package/dist/{treeGridUtil-WTM_djsN.js → treeGridUtil-Ch99srur.js} +116 -115
- package/dist/treeGridUtil-Ch99srur.js.map +1 -0
- package/dist/types/colors/chart/colorMap.d.ts +8 -0
- package/dist/types/colors/chart/index.d.ts +1 -0
- package/dist/types/colors/index.d.ts +2 -2
- package/dist/types/colors/palettes/index.d.ts +2 -0
- package/dist/types/components/OwpErrorBoundary/OwpErrorBoundary.d.ts +1 -1
- package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +2 -2
- package/dist/types/components/OwpHidden/OwpHidden.d.ts +19 -0
- package/dist/types/components/OwpHidden/index.d.ts +2 -0
- package/dist/types/components/OwpLayout/OwpLayout.d.ts +2 -2
- package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +2 -2
- package/dist/types/components/OwpPageCarded/OwpPageCardedSidebar.d.ts +1 -1
- package/dist/types/components/OwpPicker/DatePickerInput.d.ts +1 -1
- package/dist/types/components/OwpPicker/OwpTimePicker.d.ts +0 -2
- package/dist/types/components/OwpStyleProvider/OwpStyleProvider.d.ts +5 -5
- package/dist/types/components/OwpTable/OwpTable.d.ts +1 -3
- package/dist/types/components/OwpTabs/OwpTab.d.ts +2 -4
- package/dist/types/components/OwpTabs/OwpTabs.d.ts +2 -4
- package/dist/types/{default-settings/OwpDefaultSettings.d.ts → configs/defaultConfig.d.ts} +1 -1
- package/dist/types/{components/layouts/layout2/Layout2Config.d.ts → configs/layoutConfig.d.ts} +12 -15
- package/dist/types/{context → contexts}/OwpAppProvider.d.ts +10 -3
- package/dist/types/hooks/index.d.ts +4 -2
- package/dist/types/{store/hooks.d.ts → hooks/useAppStore.d.ts} +1 -1
- package/dist/types/hooks/useCurrentLanguage.d.ts +1 -5
- package/dist/types/hooks/useInitApp.d.ts +8 -0
- package/dist/types/hooks/useInitCommonCodes.d.ts +4 -0
- package/dist/types/hooks/useLogoSrc.d.ts +8 -0
- package/dist/types/hooks/useNavigation.d.ts +3 -18
- package/dist/types/hooks/useOwpTranslation.d.ts +0 -2
- package/dist/types/hooks/useThemeMediaQuery.d.ts +1 -1
- package/dist/types/index.d.ts +3 -29
- package/dist/types/{components/layouts/layout3/Layout3.d.ts → layout/Layout.d.ts} +4 -4
- package/dist/types/layout/components/layouts/FooterLayout.d.ts +9 -0
- package/dist/types/layout/components/layouts/LeftSideLayout.d.ts +6 -0
- package/dist/types/layout/components/layouts/NavbarToggleFabLayout.d.ts +8 -0
- package/dist/types/layout/components/layouts/NavbarWrapperLayout.d.ts +5 -0
- package/dist/types/layout/components/menus/LogoutMenu.d.ts +8 -0
- package/dist/types/layout/components/menus/PasswordChangeMenu.d.ts +8 -0
- package/dist/types/{components/layouts/shared-components → layout/components/menus}/UserMenu.d.ts +1 -1
- package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarPinToggleButton.d.ts +1 -1
- package/dist/types/layout/components/navbar/NavbarToggleButton.d.ts +11 -0
- package/dist/types/layout/components/navbar/style/NavbarStyle.d.ts +5 -0
- package/dist/types/layout/components/navbar/style/NavbarStyleContent.d.ts +9 -0
- package/dist/types/layout/components/navigation/NavBadge.d.ts +17 -0
- package/dist/types/layout/components/navigation/NavItem.d.ts +14 -0
- package/dist/types/layout/components/navigation/Navigation.d.ts +3 -0
- package/dist/types/layout/components/navigation/NavigationMenu.d.ts +23 -0
- package/dist/types/layout/components/navigation/vertical/NavVerticalLayout.d.ts +9 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalCollapse.d.ts +6 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalGroup.d.ts +6 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalItem.d.ts +6 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalLink.d.ts +7 -0
- package/dist/types/layout/components/toggles/FullScreenToggle.d.ts +8 -0
- package/dist/types/layout/components/toggles/LanguageSwitcherToggle.d.ts +9 -0
- package/dist/types/layout/components/toggles/NavigationSearchToggle.d.ts +16 -0
- package/dist/types/layout/components/toggles/NavigationShortcutsToggle.d.ts +9 -0
- package/dist/types/layout/components/toggles/toggleStyles.d.ts +10 -0
- package/dist/types/{components/layouts/layout3/components/FooterLayout3.d.ts → layout/components/toolbar/ToolbarLayout.d.ts} +4 -4
- package/dist/types/{components/layouts → layout}/themeLayoutConfigs.d.ts +2 -4
- package/dist/types/store/index.d.ts +1 -1
- package/dist/types/store/lazyLoadedSlices.d.ts +2 -2
- package/dist/types/{components/layouts/shared-components/navigation/store → store}/navigationSlice.d.ts +10 -10
- package/dist/types/store/owpSettingsSlice.d.ts +18 -1356
- package/dist/types/{components/OwpNavigation/types/OwpNavItemType.d.ts → types/OwpNavigationTypes.d.ts} +14 -4
- package/dist/types/types/OwpSettingsTypes.d.ts +2 -2
- package/dist/types/types/index.d.ts +3 -0
- package/dist/types/utils/dayjsBrowser.d.ts +7 -0
- package/dist/types/utils/excelUtil.d.ts +1 -1
- package/dist/types/utils/exceljsBrowser.d.ts +3 -0
- package/dist/types/utils/getEstimatedTextCellWidth.d.ts +12 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/language.d.ts +8 -0
- package/dist/types/{components/OwpNavigation/utils/OwpNavigationHelper.d.ts → utils/navigationUtils.d.ts} +17 -5
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/{usePageLockLoading-BUI_3PlR.js → usePageLockLoading-Vx7WVcGX.js} +5 -5
- package/dist/usePageLockLoading-Vx7WVcGX.js.map +1 -0
- package/dist/useShortcuts-DY5fnx6L.js +236 -0
- package/dist/useShortcuts-DY5fnx6L.js.map +1 -0
- package/dist/useTreeGridExcelExport-615UIM92.js +120 -0
- package/dist/useTreeGridExcelExport-615UIM92.js.map +1 -0
- package/dist/utils.js +6891 -6656
- package/dist/utils.js.map +1 -1
- package/owp-app.css +1 -0
- package/package.json +51 -47
- package/types.d.ts +3 -0
- package/types.js +1 -0
- package/context.d.ts +0 -3
- package/context.js +0 -1
- package/dist/Close-DnXyQZKh.js.map +0 -1
- package/dist/OwpStoreProvider-Bx5p7ooQ.js.map +0 -1
- package/dist/OwpUtils-C81bM1Gz.js +0 -611
- package/dist/OwpUtils-C81bM1Gz.js.map +0 -1
- package/dist/QuickPanel-CO7Tyc8C.js +0 -104
- package/dist/QuickPanel-CO7Tyc8C.js.map +0 -1
- package/dist/context.js +0 -101
- package/dist/context.js.map +0 -1
- package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js +0 -1751
- package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js.map +0 -1
- package/dist/index-KlA5Es4t.js +0 -46971
- package/dist/index-KlA5Es4t.js.map +0 -1
- package/dist/isTypedArray-DPyC49cI.js +0 -411
- package/dist/isTypedArray-DPyC49cI.js.map +0 -1
- package/dist/lazyLoadedSlices-DC7yg4GT.js +0 -2832
- package/dist/lazyLoadedSlices-DC7yg4GT.js.map +0 -1
- package/dist/owpDark-DAY0F6Ph.js.map +0 -1
- package/dist/treeGridUtil-WTM_djsN.js.map +0 -1
- package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +0 -1
- package/dist/types/components/OwpCommonDialog/index.d.ts +0 -1
- package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +0 -17
- package/dist/types/components/OwpNavigation/OwpNavItem.d.ts +0 -14
- package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +0 -23
- package/dist/types/components/OwpNavigation/horizontal/OwpNavHorizontalLayout1.d.ts +0 -7
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +0 -15
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +0 -13
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +0 -11
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +0 -8
- package/dist/types/components/OwpNavigation/index.d.ts +0 -1
- package/dist/types/components/OwpNavigation/isUrlInChildren.d.ts +0 -7
- package/dist/types/components/OwpNavigation/models/OwpNavItemModel.d.ts +0 -8
- package/dist/types/components/OwpNavigation/types/OwpNavBadgeType.d.ts +0 -9
- package/dist/types/components/OwpNavigation/utils/components.d.ts +0 -4
- package/dist/types/components/OwpNavigation/utils/registerComponent.d.ts +0 -4
- package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout1.d.ts +0 -9
- package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout2.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalCollapse.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalGroup.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalItem.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalLink.d.ts +0 -8
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalTab.d.ts +0 -11
- package/dist/types/components/OwpSearch/OwpSearch.d.ts +0 -23
- package/dist/types/components/OwpSearch/index.d.ts +0 -1
- package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +0 -19
- package/dist/types/components/OwpShortcuts/index.d.ts +0 -1
- package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +0 -18
- package/dist/types/components/OwpSidePanel/index.d.ts +0 -1
- package/dist/types/components/OwpTheme/OwpTheme.d.ts +0 -18
- package/dist/types/components/OwpTheme/index.d.ts +0 -1
- package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +0 -16
- package/dist/types/components/OwpThemeSelector/SchemePreview.d.ts +0 -14
- package/dist/types/components/OwpThemeSelector/ThemePreview.d.ts +0 -17
- package/dist/types/components/OwpThemeSelector/index.d.ts +0 -1
- package/dist/types/components/layouts/layout1/Layout1.d.ts +0 -10
- package/dist/types/components/layouts/layout1/Layout1Config.d.ts +0 -114
- package/dist/types/components/layouts/layout1/components/FooterLayout1.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/LeftSideLayout1.d.ts +0 -6
- package/dist/types/components/layouts/layout1/components/NavbarToggleFabLayout1.d.ts +0 -8
- package/dist/types/components/layouts/layout1/components/NavbarWrapperLayout1.d.ts +0 -5
- package/dist/types/components/layouts/layout1/components/ToolbarLayout1.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1.d.ts +0 -5
- package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1Content.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2.d.ts +0 -5
- package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2Content.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3Content.d.ts +0 -10
- package/dist/types/components/layouts/layout2/Layout2.d.ts +0 -10
- package/dist/types/components/layouts/layout2/components/FooterLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout2/components/LeftSideLayout2.d.ts +0 -6
- package/dist/types/components/layouts/layout2/components/NavbarLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout2/components/NavbarMobileLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout2/components/NavbarToggleFabLayout2.d.ts +0 -8
- package/dist/types/components/layouts/layout2/components/NavbarWrapperLayout2.d.ts +0 -5
- package/dist/types/components/layouts/layout2/components/RightSideLayout2.d.ts +0 -6
- package/dist/types/components/layouts/layout2/components/ToolbarLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout3/Layout3Config.d.ts +0 -110
- package/dist/types/components/layouts/layout3/components/LeftSideLayout3.d.ts +0 -6
- package/dist/types/components/layouts/layout3/components/NavbarLayout3.d.ts +0 -9
- package/dist/types/components/layouts/layout3/components/NavbarMobileLayout3.d.ts +0 -9
- package/dist/types/components/layouts/layout3/components/NavbarWrapperLayout3.d.ts +0 -5
- package/dist/types/components/layouts/layout3/components/RightSideLayout3.d.ts +0 -6
- package/dist/types/components/layouts/layout3/components/ToolbarLayout3.d.ts +0 -9
- package/dist/types/components/layouts/shared-components/FullScreenToggle.d.ts +0 -8
- package/dist/types/components/layouts/shared-components/LanguageSwitcher.d.ts +0 -7
- package/dist/types/components/layouts/shared-components/PasswordChangeForm.d.ts +0 -2
- package/dist/types/components/layouts/shared-components/navbar/NavbarToggleButton.d.ts +0 -7
- package/dist/types/components/layouts/shared-components/navigation/Navigation.d.ts +0 -3
- package/dist/types/components/layouts/shared-components/navigation/NavigationSearch.d.ts +0 -6
- package/dist/types/components/layouts/shared-components/navigation/NavigationShortcuts.d.ts +0 -6
- package/dist/types/components/layouts/shared-components/quickPanel/QuickPanel.d.ts +0 -5
- package/dist/types/components/layouts/shared-components/quickPanel/QuickPanelToggleButton.d.ts +0 -9
- package/dist/types/components/layouts/shared-components/quickPanel/quickPanelSlice.d.ts +0 -14
- package/dist/types/hooks/useCurrentLogoSrc.d.ts +0 -8
- package/dist/types/hooks/useTreeGridCommonCodeEnum.d.ts +0 -8
- package/dist/usePageLockLoading-BUI_3PlR.js.map +0 -1
- package/dist/useShortcuts-CCf98L8m.js +0 -241
- package/dist/useShortcuts-CCf98L8m.js.map +0 -1
- package/dist/useStorage-CuUmH4fD.js +0 -50
- package/dist/useStorage-CuUmH4fD.js.map +0 -1
- package/dist/useTreeGridExcelExport-N2nOKmkz.js +0 -138
- package/dist/useTreeGridExcelExport-N2nOKmkz.js.map +0 -1
- /package/dist/types/colors/{owpDark.d.ts → palettes/dark.d.ts} +0 -0
- /package/dist/types/colors/{skyBlue.d.ts → palettes/skyBlue.d.ts} +0 -0
- /package/dist/types/{context → contexts}/OwpCoreProvider.d.ts +0 -0
- /package/dist/types/{context → contexts}/OwpStoreProvider.d.ts +0 -0
- /package/dist/types/{context → contexts}/OwpUiProvider.d.ts +0 -0
- /package/dist/types/{context → contexts}/index.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components → layout/components/logo}/Logo.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarToggleFab.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components → layout/components/toggles}/LogoutToggle.d.ts +0 -0
- /package/dist/types/{components/layouts → layout}/themeLayouts.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components/navbar → store}/navbarSlice.d.ts +0 -0
|
@@ -1,2832 +0,0 @@
|
|
|
1
|
-
var _r = Object.defineProperty;
|
|
2
|
-
var o = (t, e) => _r(t, "name", { value: e, configurable: !0 });
|
|
3
|
-
import { createSlice as it, createEntityAdapter as Br, createSelector as P, createAsyncThunk as ar, combineSlices as kr } from "@reduxjs/toolkit";
|
|
4
|
-
import { i as Wr, a as zr, g as Ur, c as At, b as Hr, m as b, O as Gr } from "./OwpUtils-C81bM1Gz.js";
|
|
5
|
-
import { d as qr, o as or } from "./isTypedArray-DPyC49cI.js";
|
|
6
|
-
import Kr from "i18next";
|
|
7
|
-
import { o as Pt } from "./owpDark-DAY0F6Ph.js";
|
|
8
|
-
import { lightBlue as j, red as xt } from "@mui/material/colors";
|
|
9
|
-
import { createTheme as ir, getContrastRatio as Qr } from "@mui/material/styles";
|
|
10
|
-
const Vr = {
|
|
11
|
-
title: "Layout 1 - Vertical",
|
|
12
|
-
defaults: {
|
|
13
|
-
mode: "container",
|
|
14
|
-
containerWidth: "100%",
|
|
15
|
-
navbar: {
|
|
16
|
-
display: !0,
|
|
17
|
-
style: "style-2",
|
|
18
|
-
folded: !0,
|
|
19
|
-
position: "left",
|
|
20
|
-
open: !0
|
|
21
|
-
},
|
|
22
|
-
toolbar: {
|
|
23
|
-
display: !0,
|
|
24
|
-
style: "fixed"
|
|
25
|
-
},
|
|
26
|
-
footer: {
|
|
27
|
-
display: !1,
|
|
28
|
-
style: "fixed"
|
|
29
|
-
},
|
|
30
|
-
leftSidePanel: {
|
|
31
|
-
display: !0
|
|
32
|
-
},
|
|
33
|
-
rightSidePanel: {
|
|
34
|
-
display: !0
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
form: {
|
|
38
|
-
mode: {
|
|
39
|
-
title: "Mode",
|
|
40
|
-
type: "radio",
|
|
41
|
-
options: [
|
|
42
|
-
{
|
|
43
|
-
name: "Boxed",
|
|
44
|
-
value: "boxed"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: "Full Width",
|
|
48
|
-
value: "fullwidth"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "Container",
|
|
52
|
-
value: "container"
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
containerWidth: {
|
|
57
|
-
title: "Container Width (px)",
|
|
58
|
-
type: "number",
|
|
59
|
-
min: 1024
|
|
60
|
-
},
|
|
61
|
-
navbar: {
|
|
62
|
-
type: "group",
|
|
63
|
-
title: "Navbar",
|
|
64
|
-
children: {
|
|
65
|
-
display: {
|
|
66
|
-
title: "Display",
|
|
67
|
-
type: "switch"
|
|
68
|
-
},
|
|
69
|
-
position: {
|
|
70
|
-
title: "Position",
|
|
71
|
-
type: "radio",
|
|
72
|
-
options: [
|
|
73
|
-
{
|
|
74
|
-
name: "Left",
|
|
75
|
-
value: "left"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: "Right",
|
|
79
|
-
value: "right"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
style: {
|
|
84
|
-
title: "Style",
|
|
85
|
-
type: "radio",
|
|
86
|
-
options: [
|
|
87
|
-
{
|
|
88
|
-
name: "Slide (style-1)",
|
|
89
|
-
value: "style-1"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
name: "Folded (style-2)",
|
|
93
|
-
value: "style-2"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: "Tabbed (style-3)",
|
|
97
|
-
value: "style-3"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
name: "Tabbed Dense (style-3-dense)",
|
|
101
|
-
value: "style-3-dense"
|
|
102
|
-
}
|
|
103
|
-
]
|
|
104
|
-
},
|
|
105
|
-
folded: {
|
|
106
|
-
title: "Folded (style-2, style-3)",
|
|
107
|
-
type: "switch"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
toolbar: {
|
|
112
|
-
type: "group",
|
|
113
|
-
title: "Toolbar",
|
|
114
|
-
children: {
|
|
115
|
-
display: {
|
|
116
|
-
title: "Display",
|
|
117
|
-
type: "switch"
|
|
118
|
-
},
|
|
119
|
-
style: {
|
|
120
|
-
title: "Style",
|
|
121
|
-
type: "radio",
|
|
122
|
-
options: [
|
|
123
|
-
{
|
|
124
|
-
name: "Fixed",
|
|
125
|
-
value: "fixed"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
name: "Static",
|
|
129
|
-
value: "static"
|
|
130
|
-
}
|
|
131
|
-
]
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
footer: {
|
|
136
|
-
type: "group",
|
|
137
|
-
title: "Footer",
|
|
138
|
-
children: {
|
|
139
|
-
display: {
|
|
140
|
-
title: "Display",
|
|
141
|
-
type: "switch"
|
|
142
|
-
},
|
|
143
|
-
style: {
|
|
144
|
-
title: "Style",
|
|
145
|
-
type: "radio",
|
|
146
|
-
options: [
|
|
147
|
-
{
|
|
148
|
-
name: "Fixed",
|
|
149
|
-
value: "fixed"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
name: "Static",
|
|
153
|
-
value: "static"
|
|
154
|
-
}
|
|
155
|
-
]
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}, Jr = {
|
|
161
|
-
title: "Layout 2 - Horizontal",
|
|
162
|
-
defaults: {
|
|
163
|
-
mode: "container",
|
|
164
|
-
containerWidth: 1120,
|
|
165
|
-
navbar: {
|
|
166
|
-
display: !0,
|
|
167
|
-
style: "fixed",
|
|
168
|
-
folded: !0
|
|
169
|
-
},
|
|
170
|
-
toolbar: {
|
|
171
|
-
display: !0,
|
|
172
|
-
style: "static",
|
|
173
|
-
position: "below"
|
|
174
|
-
},
|
|
175
|
-
footer: {
|
|
176
|
-
display: !0,
|
|
177
|
-
style: "fixed"
|
|
178
|
-
},
|
|
179
|
-
leftSidePanel: {
|
|
180
|
-
display: !0
|
|
181
|
-
},
|
|
182
|
-
rightSidePanel: {
|
|
183
|
-
display: !0
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
form: {
|
|
187
|
-
mode: {
|
|
188
|
-
title: "Mode",
|
|
189
|
-
type: "radio",
|
|
190
|
-
options: [
|
|
191
|
-
{
|
|
192
|
-
name: "Boxed",
|
|
193
|
-
value: "boxed"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
name: "Full Width",
|
|
197
|
-
value: "fullwidth"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
name: "Container",
|
|
201
|
-
value: "container"
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
|
-
},
|
|
205
|
-
containerWidth: {
|
|
206
|
-
title: "Container Width (px)",
|
|
207
|
-
type: "number",
|
|
208
|
-
min: 1024
|
|
209
|
-
},
|
|
210
|
-
navbar: {
|
|
211
|
-
type: "group",
|
|
212
|
-
title: "Navbar",
|
|
213
|
-
children: {
|
|
214
|
-
display: {
|
|
215
|
-
title: "Display",
|
|
216
|
-
type: "switch"
|
|
217
|
-
},
|
|
218
|
-
style: {
|
|
219
|
-
title: "Style",
|
|
220
|
-
type: "radio",
|
|
221
|
-
options: [
|
|
222
|
-
{
|
|
223
|
-
name: "Fixed",
|
|
224
|
-
value: "fixed"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
name: "Static",
|
|
228
|
-
value: "static"
|
|
229
|
-
}
|
|
230
|
-
]
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
toolbar: {
|
|
235
|
-
type: "group",
|
|
236
|
-
title: "Toolbar",
|
|
237
|
-
children: {
|
|
238
|
-
display: {
|
|
239
|
-
title: "Display",
|
|
240
|
-
type: "switch"
|
|
241
|
-
},
|
|
242
|
-
position: {
|
|
243
|
-
title: "Position",
|
|
244
|
-
type: "radio",
|
|
245
|
-
options: [
|
|
246
|
-
{
|
|
247
|
-
name: "Above",
|
|
248
|
-
value: "above"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
name: "Below",
|
|
252
|
-
value: "below"
|
|
253
|
-
}
|
|
254
|
-
]
|
|
255
|
-
},
|
|
256
|
-
style: {
|
|
257
|
-
title: "Style",
|
|
258
|
-
type: "radio",
|
|
259
|
-
options: [
|
|
260
|
-
{
|
|
261
|
-
name: "Fixed",
|
|
262
|
-
value: "fixed"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
name: "Static",
|
|
266
|
-
value: "static"
|
|
267
|
-
}
|
|
268
|
-
]
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
footer: {
|
|
273
|
-
type: "group",
|
|
274
|
-
title: "Footer",
|
|
275
|
-
children: {
|
|
276
|
-
display: {
|
|
277
|
-
title: "Display",
|
|
278
|
-
type: "switch"
|
|
279
|
-
},
|
|
280
|
-
style: {
|
|
281
|
-
title: "Style",
|
|
282
|
-
type: "radio",
|
|
283
|
-
options: [
|
|
284
|
-
{
|
|
285
|
-
name: "Fixed",
|
|
286
|
-
value: "fixed"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
name: "Static",
|
|
290
|
-
value: "static"
|
|
291
|
-
}
|
|
292
|
-
]
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}, jr = {
|
|
298
|
-
title: "Layout 3 - Horizontal",
|
|
299
|
-
defaults: {
|
|
300
|
-
mode: "container",
|
|
301
|
-
containerWidth: 1120,
|
|
302
|
-
scroll: "content",
|
|
303
|
-
navbar: {
|
|
304
|
-
display: !0,
|
|
305
|
-
style: "fixed",
|
|
306
|
-
folded: !0
|
|
307
|
-
},
|
|
308
|
-
toolbar: {
|
|
309
|
-
display: !0,
|
|
310
|
-
style: "static",
|
|
311
|
-
position: "below"
|
|
312
|
-
},
|
|
313
|
-
footer: {
|
|
314
|
-
display: !0,
|
|
315
|
-
style: "fixed"
|
|
316
|
-
},
|
|
317
|
-
leftSidePanel: {
|
|
318
|
-
display: !0
|
|
319
|
-
},
|
|
320
|
-
rightSidePanel: {
|
|
321
|
-
display: !0
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
form: {
|
|
325
|
-
mode: {
|
|
326
|
-
title: "Mode",
|
|
327
|
-
type: "radio",
|
|
328
|
-
options: [
|
|
329
|
-
{
|
|
330
|
-
name: "Boxed",
|
|
331
|
-
value: "boxed"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
name: "Full Width",
|
|
335
|
-
value: "fullwidth"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
name: "Container",
|
|
339
|
-
value: "container"
|
|
340
|
-
}
|
|
341
|
-
]
|
|
342
|
-
},
|
|
343
|
-
containerWidth: {
|
|
344
|
-
title: "Container Width (px)",
|
|
345
|
-
type: "number",
|
|
346
|
-
min: 1024
|
|
347
|
-
},
|
|
348
|
-
navbar: {
|
|
349
|
-
type: "group",
|
|
350
|
-
title: "Navbar",
|
|
351
|
-
children: {
|
|
352
|
-
display: {
|
|
353
|
-
title: "Display",
|
|
354
|
-
type: "switch"
|
|
355
|
-
},
|
|
356
|
-
style: {
|
|
357
|
-
title: "Style",
|
|
358
|
-
type: "radio",
|
|
359
|
-
options: [
|
|
360
|
-
{
|
|
361
|
-
name: "Fixed",
|
|
362
|
-
value: "fixed"
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
name: "Static",
|
|
366
|
-
value: "static"
|
|
367
|
-
}
|
|
368
|
-
]
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
toolbar: {
|
|
373
|
-
type: "group",
|
|
374
|
-
title: "Toolbar",
|
|
375
|
-
children: {
|
|
376
|
-
display: {
|
|
377
|
-
title: "Display",
|
|
378
|
-
type: "switch"
|
|
379
|
-
},
|
|
380
|
-
position: {
|
|
381
|
-
title: "Position",
|
|
382
|
-
type: "radio",
|
|
383
|
-
options: [
|
|
384
|
-
{
|
|
385
|
-
name: "Above",
|
|
386
|
-
value: "above"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
name: "Below",
|
|
390
|
-
value: "below"
|
|
391
|
-
}
|
|
392
|
-
]
|
|
393
|
-
},
|
|
394
|
-
style: {
|
|
395
|
-
title: "Style",
|
|
396
|
-
type: "radio",
|
|
397
|
-
options: [
|
|
398
|
-
{
|
|
399
|
-
name: "Fixed",
|
|
400
|
-
value: "fixed"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
name: "Static",
|
|
404
|
-
value: "static"
|
|
405
|
-
}
|
|
406
|
-
]
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
footer: {
|
|
411
|
-
type: "group",
|
|
412
|
-
title: "Footer",
|
|
413
|
-
children: {
|
|
414
|
-
display: {
|
|
415
|
-
title: "Display",
|
|
416
|
-
type: "switch"
|
|
417
|
-
},
|
|
418
|
-
style: {
|
|
419
|
-
title: "Style",
|
|
420
|
-
type: "radio",
|
|
421
|
-
options: [
|
|
422
|
-
{
|
|
423
|
-
name: "Fixed",
|
|
424
|
-
value: "fixed"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
name: "Static",
|
|
428
|
-
value: "static"
|
|
429
|
-
}
|
|
430
|
-
]
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
}, Et = {
|
|
436
|
-
layout1: Vr,
|
|
437
|
-
layout2: Jr,
|
|
438
|
-
layout3: jr
|
|
439
|
-
};
|
|
440
|
-
function Yr(t, e, r) {
|
|
441
|
-
return Wr(r) && (typeof e == "number" && qr(r) && zr(e) && e < r.length || typeof e == "string" && e in r) ? or(r[e], t) : !1;
|
|
442
|
-
}
|
|
443
|
-
o(Yr, "isIterateeCall");
|
|
444
|
-
function Xr(t, ...e) {
|
|
445
|
-
t = Object(t);
|
|
446
|
-
const r = Object.prototype;
|
|
447
|
-
let n = e.length;
|
|
448
|
-
const a = n > 2 ? e[2] : void 0;
|
|
449
|
-
a && Yr(e[0], e[1], a) && (n = 1);
|
|
450
|
-
for (let i = 0; i < n; i++) {
|
|
451
|
-
const l = e[i], s = Object.keys(l);
|
|
452
|
-
for (let u = 0; u < s.length; u++) {
|
|
453
|
-
const f = s[u], p = t[f];
|
|
454
|
-
(p === void 0 || !Object.hasOwn(t, f) && or(p, r[f])) && (t[f] = l[f]);
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
return t;
|
|
458
|
-
}
|
|
459
|
-
o(Xr, "defaults$2");
|
|
460
|
-
let Zr = 0;
|
|
461
|
-
function en(t = "") {
|
|
462
|
-
const e = ++Zr;
|
|
463
|
-
return `${t}${e}`;
|
|
464
|
-
}
|
|
465
|
-
o(en, "uniqueId");
|
|
466
|
-
var ne = TypeError;
|
|
467
|
-
const tn = {}, rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
468
|
-
__proto__: null,
|
|
469
|
-
default: tn
|
|
470
|
-
}, Symbol.toStringTag, { value: "Module" })), nn = /* @__PURE__ */ Ur(rn);
|
|
471
|
-
var lt = typeof Map == "function" && Map.prototype, Ne = Object.getOwnPropertyDescriptor && lt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Pe = lt && Ne && typeof Ne.get == "function" ? Ne.get : null, It = lt && Map.prototype.forEach, ut = typeof Set == "function" && Set.prototype, Le = Object.getOwnPropertyDescriptor && ut ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, xe = ut && Le && typeof Le.get == "function" ? Le.get : null, $t = ut && Set.prototype.forEach, an = typeof WeakMap == "function" && WeakMap.prototype, le = an ? WeakMap.prototype.has : null, on = typeof WeakSet == "function" && WeakSet.prototype, ue = on ? WeakSet.prototype.has : null, ln = typeof WeakRef == "function" && WeakRef.prototype, Mt = ln ? WeakRef.prototype.deref : null, un = Boolean.prototype.valueOf, sn = Object.prototype.toString, cn = Function.prototype.toString, fn = String.prototype.match, st = String.prototype.slice, k = String.prototype.replace, pn = String.prototype.toUpperCase, Ft = String.prototype.toLowerCase, lr = RegExp.prototype.test, Tt = Array.prototype.concat, T = Array.prototype.join, yn = Array.prototype.slice, Dt = Math.floor, et = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ce = Object.getOwnPropertySymbols, tt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, te = typeof Symbol == "function" && typeof Symbol.iterator == "object", se = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === te || !0) ? Symbol.toStringTag : null, ur = Object.prototype.propertyIsEnumerable, Rt = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
|
|
472
|
-
return t.__proto__;
|
|
473
|
-
} : null);
|
|
474
|
-
function Nt(t, e) {
|
|
475
|
-
if (t === 1 / 0 || t === -1 / 0 || t !== t || t && t > -1e3 && t < 1e3 || lr.call(/e/, e))
|
|
476
|
-
return e;
|
|
477
|
-
var r = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
478
|
-
if (typeof t == "number") {
|
|
479
|
-
var n = t < 0 ? -Dt(-t) : Dt(t);
|
|
480
|
-
if (n !== t) {
|
|
481
|
-
var a = String(n), i = st.call(e, a.length + 1);
|
|
482
|
-
return k.call(a, r, "$&_") + "." + k.call(k.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
return k.call(e, r, "$&_");
|
|
486
|
-
}
|
|
487
|
-
o(Nt, "addNumericSeparator");
|
|
488
|
-
var rt = nn, Lt = rt.custom, Ct = fr(Lt) ? Lt : null, sr = {
|
|
489
|
-
__proto__: null,
|
|
490
|
-
double: '"',
|
|
491
|
-
single: "'"
|
|
492
|
-
}, dn = {
|
|
493
|
-
__proto__: null,
|
|
494
|
-
double: /(["\\])/g,
|
|
495
|
-
single: /(['\\])/g
|
|
496
|
-
}, $e = /* @__PURE__ */ o(function t(e, r, n, a) {
|
|
497
|
-
var i = r || {};
|
|
498
|
-
if (R(i, "quoteStyle") && !R(sr, i.quoteStyle))
|
|
499
|
-
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
500
|
-
if (R(i, "maxStringLength") && (typeof i.maxStringLength == "number" ? i.maxStringLength < 0 && i.maxStringLength !== 1 / 0 : i.maxStringLength !== null))
|
|
501
|
-
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
502
|
-
var l = R(i, "customInspect") ? i.customInspect : !0;
|
|
503
|
-
if (typeof l != "boolean" && l !== "symbol")
|
|
504
|
-
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
505
|
-
if (R(i, "indent") && i.indent !== null && i.indent !== " " && !(parseInt(i.indent, 10) === i.indent && i.indent > 0))
|
|
506
|
-
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
507
|
-
if (R(i, "numericSeparator") && typeof i.numericSeparator != "boolean")
|
|
508
|
-
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
509
|
-
var s = i.numericSeparator;
|
|
510
|
-
if (typeof e > "u")
|
|
511
|
-
return "undefined";
|
|
512
|
-
if (e === null)
|
|
513
|
-
return "null";
|
|
514
|
-
if (typeof e == "boolean")
|
|
515
|
-
return e ? "true" : "false";
|
|
516
|
-
if (typeof e == "string")
|
|
517
|
-
return yr(e, i);
|
|
518
|
-
if (typeof e == "number") {
|
|
519
|
-
if (e === 0)
|
|
520
|
-
return 1 / 0 / e > 0 ? "0" : "-0";
|
|
521
|
-
var u = String(e);
|
|
522
|
-
return s ? Nt(e, u) : u;
|
|
523
|
-
}
|
|
524
|
-
if (typeof e == "bigint") {
|
|
525
|
-
var f = String(e) + "n";
|
|
526
|
-
return s ? Nt(e, f) : f;
|
|
527
|
-
}
|
|
528
|
-
var p = typeof i.depth > "u" ? 5 : i.depth;
|
|
529
|
-
if (typeof n > "u" && (n = 0), n >= p && p > 0 && typeof e == "object")
|
|
530
|
-
return nt(e) ? "[Array]" : "[Object]";
|
|
531
|
-
var y = Dn(i, n);
|
|
532
|
-
if (typeof a > "u")
|
|
533
|
-
a = [];
|
|
534
|
-
else if (pr(a, e) >= 0)
|
|
535
|
-
return "[Circular]";
|
|
536
|
-
function c($, B, D) {
|
|
537
|
-
if (B && (a = yn.call(a), a.push(B)), D) {
|
|
538
|
-
var oe = {
|
|
539
|
-
depth: i.depth
|
|
540
|
-
};
|
|
541
|
-
return R(i, "quoteStyle") && (oe.quoteStyle = i.quoteStyle), t($, oe, n + 1, a);
|
|
542
|
-
}
|
|
543
|
-
return t($, i, n + 1, a);
|
|
544
|
-
}
|
|
545
|
-
if (o(c, "inspect"), typeof e == "function" && !_t(e)) {
|
|
546
|
-
var g = An(e), h = be(e, c);
|
|
547
|
-
return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (h.length > 0 ? " { " + T.call(h, ", ") + " }" : "");
|
|
548
|
-
}
|
|
549
|
-
if (fr(e)) {
|
|
550
|
-
var O = te ? k.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : tt.call(e);
|
|
551
|
-
return typeof e == "object" && !te ? ie(O) : O;
|
|
552
|
-
}
|
|
553
|
-
if (Mn(e)) {
|
|
554
|
-
for (var x = "<" + Ft.call(String(e.nodeName)), N = e.attributes || [], L = 0; L < N.length; L++)
|
|
555
|
-
x += " " + N[L].name + "=" + cr(vn(N[L].value), "double", i);
|
|
556
|
-
return x += ">", e.childNodes && e.childNodes.length && (x += "..."), x += "</" + Ft.call(String(e.nodeName)) + ">", x;
|
|
557
|
-
}
|
|
558
|
-
if (nt(e)) {
|
|
559
|
-
if (e.length === 0)
|
|
560
|
-
return "[]";
|
|
561
|
-
var v = be(e, c);
|
|
562
|
-
return y && !Tn(v) ? "[" + at(v, y) + "]" : "[ " + T.call(v, ", ") + " ]";
|
|
563
|
-
}
|
|
564
|
-
if (gn(e)) {
|
|
565
|
-
var C = be(e, c);
|
|
566
|
-
return !("cause" in Error.prototype) && "cause" in e && !ur.call(e, "cause") ? "{ [" + String(e) + "] " + T.call(Tt.call("[cause]: " + c(e.cause), C), ", ") + " }" : C.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + T.call(C, ", ") + " }";
|
|
567
|
-
}
|
|
568
|
-
if (typeof e == "object" && l) {
|
|
569
|
-
if (Ct && typeof e[Ct] == "function" && rt)
|
|
570
|
-
return rt(e, { depth: p - n });
|
|
571
|
-
if (l !== "symbol" && typeof e.inspect == "function")
|
|
572
|
-
return e.inspect();
|
|
573
|
-
}
|
|
574
|
-
if (Pn(e)) {
|
|
575
|
-
var U = [];
|
|
576
|
-
return It && It.call(e, function($, B) {
|
|
577
|
-
U.push(c(B, e, !0) + " => " + c($, e));
|
|
578
|
-
}), Bt("Map", Pe.call(e), U, y);
|
|
579
|
-
}
|
|
580
|
-
if (In(e)) {
|
|
581
|
-
var ae = [];
|
|
582
|
-
return $t && $t.call(e, function($) {
|
|
583
|
-
ae.push(c($, e));
|
|
584
|
-
}), Bt("Set", xe.call(e), ae, y);
|
|
585
|
-
}
|
|
586
|
-
if (xn(e))
|
|
587
|
-
return _e("WeakMap");
|
|
588
|
-
if ($n(e))
|
|
589
|
-
return _e("WeakSet");
|
|
590
|
-
if (En(e))
|
|
591
|
-
return _e("WeakRef");
|
|
592
|
-
if (bn(e))
|
|
593
|
-
return ie(c(Number(e)));
|
|
594
|
-
if (wn(e))
|
|
595
|
-
return ie(c(et.call(e)));
|
|
596
|
-
if (Sn(e))
|
|
597
|
-
return ie(un.call(e));
|
|
598
|
-
if (mn(e))
|
|
599
|
-
return ie(c(String(e)));
|
|
600
|
-
if (typeof window < "u" && e === window)
|
|
601
|
-
return "{ [object Window] }";
|
|
602
|
-
if (typeof globalThis < "u" && e === globalThis || typeof At < "u" && e === At)
|
|
603
|
-
return "{ [object globalThis] }";
|
|
604
|
-
if (!hn(e) && !_t(e)) {
|
|
605
|
-
var V = be(e, c), ge = Rt ? Rt(e) === Object.prototype : e instanceof Object || e.constructor === Object, H = e instanceof Object ? "" : "null prototype", _ = !ge && se && Object(e) === e && se in e ? st.call(W(e), 8, -1) : H ? "Object" : "", me = ge || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", J = me + (_ || H ? "[" + T.call(Tt.call([], _ || [], H || []), ": ") + "] " : "");
|
|
606
|
-
return V.length === 0 ? J + "{}" : y ? J + "{" + at(V, y) + "}" : J + "{ " + T.call(V, ", ") + " }";
|
|
607
|
-
}
|
|
608
|
-
return String(e);
|
|
609
|
-
}, "inspect_");
|
|
610
|
-
function cr(t, e, r) {
|
|
611
|
-
var n = r.quoteStyle || e, a = sr[n];
|
|
612
|
-
return a + t + a;
|
|
613
|
-
}
|
|
614
|
-
o(cr, "wrapQuotes");
|
|
615
|
-
function vn(t) {
|
|
616
|
-
return k.call(String(t), /"/g, """);
|
|
617
|
-
}
|
|
618
|
-
o(vn, "quote");
|
|
619
|
-
function Q(t) {
|
|
620
|
-
return !se || !(typeof t == "object" && (se in t || typeof t[se] < "u"));
|
|
621
|
-
}
|
|
622
|
-
o(Q, "canTrustToString");
|
|
623
|
-
function nt(t) {
|
|
624
|
-
return W(t) === "[object Array]" && Q(t);
|
|
625
|
-
}
|
|
626
|
-
o(nt, "isArray$3");
|
|
627
|
-
function hn(t) {
|
|
628
|
-
return W(t) === "[object Date]" && Q(t);
|
|
629
|
-
}
|
|
630
|
-
o(hn, "isDate");
|
|
631
|
-
function _t(t) {
|
|
632
|
-
return W(t) === "[object RegExp]" && Q(t);
|
|
633
|
-
}
|
|
634
|
-
o(_t, "isRegExp$1");
|
|
635
|
-
function gn(t) {
|
|
636
|
-
return W(t) === "[object Error]" && Q(t);
|
|
637
|
-
}
|
|
638
|
-
o(gn, "isError");
|
|
639
|
-
function mn(t) {
|
|
640
|
-
return W(t) === "[object String]" && Q(t);
|
|
641
|
-
}
|
|
642
|
-
o(mn, "isString");
|
|
643
|
-
function bn(t) {
|
|
644
|
-
return W(t) === "[object Number]" && Q(t);
|
|
645
|
-
}
|
|
646
|
-
o(bn, "isNumber");
|
|
647
|
-
function Sn(t) {
|
|
648
|
-
return W(t) === "[object Boolean]" && Q(t);
|
|
649
|
-
}
|
|
650
|
-
o(Sn, "isBoolean");
|
|
651
|
-
function fr(t) {
|
|
652
|
-
if (te)
|
|
653
|
-
return t && typeof t == "object" && t instanceof Symbol;
|
|
654
|
-
if (typeof t == "symbol")
|
|
655
|
-
return !0;
|
|
656
|
-
if (!t || typeof t != "object" || !tt)
|
|
657
|
-
return !1;
|
|
658
|
-
try {
|
|
659
|
-
return tt.call(t), !0;
|
|
660
|
-
} catch {
|
|
661
|
-
}
|
|
662
|
-
return !1;
|
|
663
|
-
}
|
|
664
|
-
o(fr, "isSymbol");
|
|
665
|
-
function wn(t) {
|
|
666
|
-
if (!t || typeof t != "object" || !et)
|
|
667
|
-
return !1;
|
|
668
|
-
try {
|
|
669
|
-
return et.call(t), !0;
|
|
670
|
-
} catch {
|
|
671
|
-
}
|
|
672
|
-
return !1;
|
|
673
|
-
}
|
|
674
|
-
o(wn, "isBigInt");
|
|
675
|
-
var On = Object.prototype.hasOwnProperty || function(t) {
|
|
676
|
-
return t in this;
|
|
677
|
-
};
|
|
678
|
-
function R(t, e) {
|
|
679
|
-
return On.call(t, e);
|
|
680
|
-
}
|
|
681
|
-
o(R, "has$3");
|
|
682
|
-
function W(t) {
|
|
683
|
-
return sn.call(t);
|
|
684
|
-
}
|
|
685
|
-
o(W, "toStr$1");
|
|
686
|
-
function An(t) {
|
|
687
|
-
if (t.name)
|
|
688
|
-
return t.name;
|
|
689
|
-
var e = fn.call(cn.call(t), /^function\s*([\w$]+)/);
|
|
690
|
-
return e ? e[1] : null;
|
|
691
|
-
}
|
|
692
|
-
o(An, "nameOf");
|
|
693
|
-
function pr(t, e) {
|
|
694
|
-
if (t.indexOf)
|
|
695
|
-
return t.indexOf(e);
|
|
696
|
-
for (var r = 0, n = t.length; r < n; r++)
|
|
697
|
-
if (t[r] === e)
|
|
698
|
-
return r;
|
|
699
|
-
return -1;
|
|
700
|
-
}
|
|
701
|
-
o(pr, "indexOf");
|
|
702
|
-
function Pn(t) {
|
|
703
|
-
if (!Pe || !t || typeof t != "object")
|
|
704
|
-
return !1;
|
|
705
|
-
try {
|
|
706
|
-
Pe.call(t);
|
|
707
|
-
try {
|
|
708
|
-
xe.call(t);
|
|
709
|
-
} catch {
|
|
710
|
-
return !0;
|
|
711
|
-
}
|
|
712
|
-
return t instanceof Map;
|
|
713
|
-
} catch {
|
|
714
|
-
}
|
|
715
|
-
return !1;
|
|
716
|
-
}
|
|
717
|
-
o(Pn, "isMap");
|
|
718
|
-
function xn(t) {
|
|
719
|
-
if (!le || !t || typeof t != "object")
|
|
720
|
-
return !1;
|
|
721
|
-
try {
|
|
722
|
-
le.call(t, le);
|
|
723
|
-
try {
|
|
724
|
-
ue.call(t, ue);
|
|
725
|
-
} catch {
|
|
726
|
-
return !0;
|
|
727
|
-
}
|
|
728
|
-
return t instanceof WeakMap;
|
|
729
|
-
} catch {
|
|
730
|
-
}
|
|
731
|
-
return !1;
|
|
732
|
-
}
|
|
733
|
-
o(xn, "isWeakMap");
|
|
734
|
-
function En(t) {
|
|
735
|
-
if (!Mt || !t || typeof t != "object")
|
|
736
|
-
return !1;
|
|
737
|
-
try {
|
|
738
|
-
return Mt.call(t), !0;
|
|
739
|
-
} catch {
|
|
740
|
-
}
|
|
741
|
-
return !1;
|
|
742
|
-
}
|
|
743
|
-
o(En, "isWeakRef");
|
|
744
|
-
function In(t) {
|
|
745
|
-
if (!xe || !t || typeof t != "object")
|
|
746
|
-
return !1;
|
|
747
|
-
try {
|
|
748
|
-
xe.call(t);
|
|
749
|
-
try {
|
|
750
|
-
Pe.call(t);
|
|
751
|
-
} catch {
|
|
752
|
-
return !0;
|
|
753
|
-
}
|
|
754
|
-
return t instanceof Set;
|
|
755
|
-
} catch {
|
|
756
|
-
}
|
|
757
|
-
return !1;
|
|
758
|
-
}
|
|
759
|
-
o(In, "isSet");
|
|
760
|
-
function $n(t) {
|
|
761
|
-
if (!ue || !t || typeof t != "object")
|
|
762
|
-
return !1;
|
|
763
|
-
try {
|
|
764
|
-
ue.call(t, ue);
|
|
765
|
-
try {
|
|
766
|
-
le.call(t, le);
|
|
767
|
-
} catch {
|
|
768
|
-
return !0;
|
|
769
|
-
}
|
|
770
|
-
return t instanceof WeakSet;
|
|
771
|
-
} catch {
|
|
772
|
-
}
|
|
773
|
-
return !1;
|
|
774
|
-
}
|
|
775
|
-
o($n, "isWeakSet");
|
|
776
|
-
function Mn(t) {
|
|
777
|
-
return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
|
|
778
|
-
}
|
|
779
|
-
o(Mn, "isElement");
|
|
780
|
-
function yr(t, e) {
|
|
781
|
-
if (t.length > e.maxStringLength) {
|
|
782
|
-
var r = t.length - e.maxStringLength, n = "... " + r + " more character" + (r > 1 ? "s" : "");
|
|
783
|
-
return yr(st.call(t, 0, e.maxStringLength), e) + n;
|
|
784
|
-
}
|
|
785
|
-
var a = dn[e.quoteStyle || "single"];
|
|
786
|
-
a.lastIndex = 0;
|
|
787
|
-
var i = k.call(k.call(t, a, "\\$1"), /[\x00-\x1f]/g, Fn);
|
|
788
|
-
return cr(i, "single", e);
|
|
789
|
-
}
|
|
790
|
-
o(yr, "inspectString");
|
|
791
|
-
function Fn(t) {
|
|
792
|
-
var e = t.charCodeAt(0), r = {
|
|
793
|
-
8: "b",
|
|
794
|
-
9: "t",
|
|
795
|
-
10: "n",
|
|
796
|
-
12: "f",
|
|
797
|
-
13: "r"
|
|
798
|
-
}[e];
|
|
799
|
-
return r ? "\\" + r : "\\x" + (e < 16 ? "0" : "") + pn.call(e.toString(16));
|
|
800
|
-
}
|
|
801
|
-
o(Fn, "lowbyte");
|
|
802
|
-
function ie(t) {
|
|
803
|
-
return "Object(" + t + ")";
|
|
804
|
-
}
|
|
805
|
-
o(ie, "markBoxed");
|
|
806
|
-
function _e(t) {
|
|
807
|
-
return t + " { ? }";
|
|
808
|
-
}
|
|
809
|
-
o(_e, "weakCollectionOf");
|
|
810
|
-
function Bt(t, e, r, n) {
|
|
811
|
-
var a = n ? at(r, n) : T.call(r, ", ");
|
|
812
|
-
return t + " (" + e + ") {" + a + "}";
|
|
813
|
-
}
|
|
814
|
-
o(Bt, "collectionOf");
|
|
815
|
-
function Tn(t) {
|
|
816
|
-
for (var e = 0; e < t.length; e++)
|
|
817
|
-
if (pr(t[e], `
|
|
818
|
-
`) >= 0)
|
|
819
|
-
return !1;
|
|
820
|
-
return !0;
|
|
821
|
-
}
|
|
822
|
-
o(Tn, "singleLineValues");
|
|
823
|
-
function Dn(t, e) {
|
|
824
|
-
var r;
|
|
825
|
-
if (t.indent === " ")
|
|
826
|
-
r = " ";
|
|
827
|
-
else if (typeof t.indent == "number" && t.indent > 0)
|
|
828
|
-
r = T.call(Array(t.indent + 1), " ");
|
|
829
|
-
else
|
|
830
|
-
return null;
|
|
831
|
-
return {
|
|
832
|
-
base: r,
|
|
833
|
-
prev: T.call(Array(e + 1), r)
|
|
834
|
-
};
|
|
835
|
-
}
|
|
836
|
-
o(Dn, "getIndent");
|
|
837
|
-
function at(t, e) {
|
|
838
|
-
if (t.length === 0)
|
|
839
|
-
return "";
|
|
840
|
-
var r = `
|
|
841
|
-
` + e.prev + e.base;
|
|
842
|
-
return r + T.call(t, "," + r) + `
|
|
843
|
-
` + e.prev;
|
|
844
|
-
}
|
|
845
|
-
o(at, "indentedJoin");
|
|
846
|
-
function be(t, e) {
|
|
847
|
-
var r = nt(t), n = [];
|
|
848
|
-
if (r) {
|
|
849
|
-
n.length = t.length;
|
|
850
|
-
for (var a = 0; a < t.length; a++)
|
|
851
|
-
n[a] = R(t, a) ? e(t[a], t) : "";
|
|
852
|
-
}
|
|
853
|
-
var i = typeof Ce == "function" ? Ce(t) : [], l;
|
|
854
|
-
if (te) {
|
|
855
|
-
l = {};
|
|
856
|
-
for (var s = 0; s < i.length; s++)
|
|
857
|
-
l["$" + i[s]] = i[s];
|
|
858
|
-
}
|
|
859
|
-
for (var u in t)
|
|
860
|
-
R(t, u) && (r && String(Number(u)) === u && u < t.length || te && l["$" + u] instanceof Symbol || (lr.call(/[^\w$]/, u) ? n.push(e(u, t) + ": " + e(t[u], t)) : n.push(u + ": " + e(t[u], t))));
|
|
861
|
-
if (typeof Ce == "function")
|
|
862
|
-
for (var f = 0; f < i.length; f++)
|
|
863
|
-
ur.call(t, i[f]) && n.push("[" + e(i[f]) + "]: " + e(t[i[f]], t));
|
|
864
|
-
return n;
|
|
865
|
-
}
|
|
866
|
-
o(be, "arrObjKeys");
|
|
867
|
-
var Rn = $e, Nn = ne, Me = /* @__PURE__ */ o(function(t, e, r) {
|
|
868
|
-
for (var n = t, a; (a = n.next) != null; n = a)
|
|
869
|
-
if (a.key === e)
|
|
870
|
-
return n.next = a.next, r || (a.next = /** @type {NonNullable<typeof list.next>} */
|
|
871
|
-
t.next, t.next = a), a;
|
|
872
|
-
}, "listGetNode"), Ln = /* @__PURE__ */ o(function(t, e) {
|
|
873
|
-
if (t) {
|
|
874
|
-
var r = Me(t, e);
|
|
875
|
-
return r && r.value;
|
|
876
|
-
}
|
|
877
|
-
}, "listGet"), Cn = /* @__PURE__ */ o(function(t, e, r) {
|
|
878
|
-
var n = Me(t, e);
|
|
879
|
-
n ? n.value = r : t.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
|
|
880
|
-
{
|
|
881
|
-
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
882
|
-
key: e,
|
|
883
|
-
next: t.next,
|
|
884
|
-
value: r
|
|
885
|
-
};
|
|
886
|
-
}, "listSet"), _n = /* @__PURE__ */ o(function(t, e) {
|
|
887
|
-
return t ? !!Me(t, e) : !1;
|
|
888
|
-
}, "listHas"), Bn = /* @__PURE__ */ o(function(t, e) {
|
|
889
|
-
if (t)
|
|
890
|
-
return Me(t, e, !0);
|
|
891
|
-
}, "listDelete"), kn = /* @__PURE__ */ o(function() {
|
|
892
|
-
var e, r = {
|
|
893
|
-
assert: /* @__PURE__ */ o(function(n) {
|
|
894
|
-
if (!r.has(n))
|
|
895
|
-
throw new Nn("Side channel does not contain " + Rn(n));
|
|
896
|
-
}, "assert"),
|
|
897
|
-
delete: /* @__PURE__ */ o(function(n) {
|
|
898
|
-
var a = e && e.next, i = Bn(e, n);
|
|
899
|
-
return i && a && a === i && (e = void 0), !!i;
|
|
900
|
-
}, "delete"),
|
|
901
|
-
get: /* @__PURE__ */ o(function(n) {
|
|
902
|
-
return Ln(e, n);
|
|
903
|
-
}, "get"),
|
|
904
|
-
has: /* @__PURE__ */ o(function(n) {
|
|
905
|
-
return _n(e, n);
|
|
906
|
-
}, "has"),
|
|
907
|
-
set: /* @__PURE__ */ o(function(n, a) {
|
|
908
|
-
e || (e = {
|
|
909
|
-
next: void 0
|
|
910
|
-
}), Cn(
|
|
911
|
-
/** @type {NonNullable<typeof $o>} */
|
|
912
|
-
e,
|
|
913
|
-
n,
|
|
914
|
-
a
|
|
915
|
-
);
|
|
916
|
-
}, "set")
|
|
917
|
-
};
|
|
918
|
-
return r;
|
|
919
|
-
}, "getSideChannelList"), dr = Object, Wn = Error, zn = EvalError, Un = RangeError, Hn = ReferenceError, Gn = SyntaxError, qn = URIError, Kn = Math.abs, Qn = Math.floor, Vn = Math.max, Jn = Math.min, jn = Math.pow, Yn = Math.round, Xn = Number.isNaN || /* @__PURE__ */ o(function(e) {
|
|
920
|
-
return e !== e;
|
|
921
|
-
}, "isNaN"), Zn = Xn, ea = /* @__PURE__ */ o(function(e) {
|
|
922
|
-
return Zn(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
923
|
-
}, "sign"), ta = Object.getOwnPropertyDescriptor, we = ta;
|
|
924
|
-
if (we)
|
|
925
|
-
try {
|
|
926
|
-
we([], "length");
|
|
927
|
-
} catch {
|
|
928
|
-
we = null;
|
|
929
|
-
}
|
|
930
|
-
var vr = we, Oe = Object.defineProperty || !1;
|
|
931
|
-
if (Oe)
|
|
932
|
-
try {
|
|
933
|
-
Oe({}, "a", { value: 1 });
|
|
934
|
-
} catch {
|
|
935
|
-
Oe = !1;
|
|
936
|
-
}
|
|
937
|
-
var ra = Oe, Be, kt;
|
|
938
|
-
function na() {
|
|
939
|
-
return kt || (kt = 1, Be = /* @__PURE__ */ o(function() {
|
|
940
|
-
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
941
|
-
return !1;
|
|
942
|
-
if (typeof Symbol.iterator == "symbol")
|
|
943
|
-
return !0;
|
|
944
|
-
var e = {}, r = Symbol("test"), n = Object(r);
|
|
945
|
-
if (typeof r == "string" || Object.prototype.toString.call(r) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]")
|
|
946
|
-
return !1;
|
|
947
|
-
var a = 42;
|
|
948
|
-
e[r] = a;
|
|
949
|
-
for (var i in e)
|
|
950
|
-
return !1;
|
|
951
|
-
if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
|
|
952
|
-
return !1;
|
|
953
|
-
var l = Object.getOwnPropertySymbols(e);
|
|
954
|
-
if (l.length !== 1 || l[0] !== r || !Object.prototype.propertyIsEnumerable.call(e, r))
|
|
955
|
-
return !1;
|
|
956
|
-
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
957
|
-
var s = (
|
|
958
|
-
/** @type {PropertyDescriptor} */
|
|
959
|
-
Object.getOwnPropertyDescriptor(e, r)
|
|
960
|
-
);
|
|
961
|
-
if (s.value !== a || s.enumerable !== !0)
|
|
962
|
-
return !1;
|
|
963
|
-
}
|
|
964
|
-
return !0;
|
|
965
|
-
}, "hasSymbols")), Be;
|
|
966
|
-
}
|
|
967
|
-
o(na, "requireShams");
|
|
968
|
-
var ke, Wt;
|
|
969
|
-
function aa() {
|
|
970
|
-
if (Wt) return ke;
|
|
971
|
-
Wt = 1;
|
|
972
|
-
var t = typeof Symbol < "u" && Symbol, e = na();
|
|
973
|
-
return ke = /* @__PURE__ */ o(function() {
|
|
974
|
-
return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
|
|
975
|
-
}, "hasNativeSymbols"), ke;
|
|
976
|
-
}
|
|
977
|
-
o(aa, "requireHasSymbols");
|
|
978
|
-
var We, zt;
|
|
979
|
-
function hr() {
|
|
980
|
-
return zt || (zt = 1, We = typeof Reflect < "u" && Reflect.getPrototypeOf || null), We;
|
|
981
|
-
}
|
|
982
|
-
o(hr, "requireReflect_getPrototypeOf");
|
|
983
|
-
var ze, Ut;
|
|
984
|
-
function gr() {
|
|
985
|
-
if (Ut) return ze;
|
|
986
|
-
Ut = 1;
|
|
987
|
-
var t = dr;
|
|
988
|
-
return ze = t.getPrototypeOf || null, ze;
|
|
989
|
-
}
|
|
990
|
-
o(gr, "requireObject_getPrototypeOf");
|
|
991
|
-
var oa = "Function.prototype.bind called on incompatible ", ia = Object.prototype.toString, la = Math.max, ua = "[object Function]", Ht = /* @__PURE__ */ o(function(e, r) {
|
|
992
|
-
for (var n = [], a = 0; a < e.length; a += 1)
|
|
993
|
-
n[a] = e[a];
|
|
994
|
-
for (var i = 0; i < r.length; i += 1)
|
|
995
|
-
n[i + e.length] = r[i];
|
|
996
|
-
return n;
|
|
997
|
-
}, "concatty"), sa = /* @__PURE__ */ o(function(e, r) {
|
|
998
|
-
for (var n = [], a = r, i = 0; a < e.length; a += 1, i += 1)
|
|
999
|
-
n[i] = e[a];
|
|
1000
|
-
return n;
|
|
1001
|
-
}, "slicy"), ca = /* @__PURE__ */ o(function(t, e) {
|
|
1002
|
-
for (var r = "", n = 0; n < t.length; n += 1)
|
|
1003
|
-
r += t[n], n + 1 < t.length && (r += e);
|
|
1004
|
-
return r;
|
|
1005
|
-
}, "joiny"), fa = /* @__PURE__ */ o(function(e) {
|
|
1006
|
-
var r = this;
|
|
1007
|
-
if (typeof r != "function" || ia.apply(r) !== ua)
|
|
1008
|
-
throw new TypeError(oa + r);
|
|
1009
|
-
for (var n = sa(arguments, 1), a, i = /* @__PURE__ */ o(function() {
|
|
1010
|
-
if (this instanceof a) {
|
|
1011
|
-
var p = r.apply(
|
|
1012
|
-
this,
|
|
1013
|
-
Ht(n, arguments)
|
|
1014
|
-
);
|
|
1015
|
-
return Object(p) === p ? p : this;
|
|
1016
|
-
}
|
|
1017
|
-
return r.apply(
|
|
1018
|
-
e,
|
|
1019
|
-
Ht(n, arguments)
|
|
1020
|
-
);
|
|
1021
|
-
}, "binder"), l = la(0, r.length - n.length), s = [], u = 0; u < l; u++)
|
|
1022
|
-
s[u] = "$" + u;
|
|
1023
|
-
if (a = Function("binder", "return function (" + ca(s, ",") + "){ return binder.apply(this,arguments); }")(i), r.prototype) {
|
|
1024
|
-
var f = /* @__PURE__ */ o(function() {
|
|
1025
|
-
}, "Empty");
|
|
1026
|
-
f.prototype = r.prototype, a.prototype = new f(), f.prototype = null;
|
|
1027
|
-
}
|
|
1028
|
-
return a;
|
|
1029
|
-
}, "bind"), pa = fa, Fe = Function.prototype.bind || pa, ct = Function.prototype.call, Ue, Gt;
|
|
1030
|
-
function mr() {
|
|
1031
|
-
return Gt || (Gt = 1, Ue = Function.prototype.apply), Ue;
|
|
1032
|
-
}
|
|
1033
|
-
o(mr, "requireFunctionApply");
|
|
1034
|
-
var ya = typeof Reflect < "u" && Reflect && Reflect.apply, da = Fe, va = mr(), ha = ct, ga = ya, ma = ga || da.call(ha, va), ba = Fe, Sa = ne, wa = ct, Oa = ma, br = /* @__PURE__ */ o(function(e) {
|
|
1035
|
-
if (e.length < 1 || typeof e[0] != "function")
|
|
1036
|
-
throw new Sa("a function is required");
|
|
1037
|
-
return Oa(ba, wa, e);
|
|
1038
|
-
}, "callBindBasic"), He, qt;
|
|
1039
|
-
function Aa() {
|
|
1040
|
-
if (qt) return He;
|
|
1041
|
-
qt = 1;
|
|
1042
|
-
var t = br, e = vr, r;
|
|
1043
|
-
try {
|
|
1044
|
-
r = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
1045
|
-
[].__proto__ === Array.prototype;
|
|
1046
|
-
} catch (l) {
|
|
1047
|
-
if (!l || typeof l != "object" || !("code" in l) || l.code !== "ERR_PROTO_ACCESS")
|
|
1048
|
-
throw l;
|
|
1049
|
-
}
|
|
1050
|
-
var n = !!r && e && e(
|
|
1051
|
-
Object.prototype,
|
|
1052
|
-
/** @type {keyof typeof Object.prototype} */
|
|
1053
|
-
"__proto__"
|
|
1054
|
-
), a = Object, i = a.getPrototypeOf;
|
|
1055
|
-
return He = n && typeof n.get == "function" ? t([n.get]) : typeof i == "function" ? (
|
|
1056
|
-
/** @type {import('./get')} */
|
|
1057
|
-
/* @__PURE__ */ o(function(s) {
|
|
1058
|
-
return i(s == null ? s : a(s));
|
|
1059
|
-
}, "getDunder")
|
|
1060
|
-
) : !1, He;
|
|
1061
|
-
}
|
|
1062
|
-
o(Aa, "requireGet");
|
|
1063
|
-
var Ge, Kt;
|
|
1064
|
-
function Pa() {
|
|
1065
|
-
if (Kt) return Ge;
|
|
1066
|
-
Kt = 1;
|
|
1067
|
-
var t = hr(), e = gr(), r = Aa();
|
|
1068
|
-
return Ge = t ? /* @__PURE__ */ o(function(a) {
|
|
1069
|
-
return t(a);
|
|
1070
|
-
}, "getProto") : e ? /* @__PURE__ */ o(function(a) {
|
|
1071
|
-
if (!a || typeof a != "object" && typeof a != "function")
|
|
1072
|
-
throw new TypeError("getProto: not an object");
|
|
1073
|
-
return e(a);
|
|
1074
|
-
}, "getProto") : r ? /* @__PURE__ */ o(function(a) {
|
|
1075
|
-
return r(a);
|
|
1076
|
-
}, "getProto") : null, Ge;
|
|
1077
|
-
}
|
|
1078
|
-
o(Pa, "requireGetProto");
|
|
1079
|
-
var qe, Qt;
|
|
1080
|
-
function xa() {
|
|
1081
|
-
if (Qt) return qe;
|
|
1082
|
-
Qt = 1;
|
|
1083
|
-
var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = Fe;
|
|
1084
|
-
return qe = r.call(t, e), qe;
|
|
1085
|
-
}
|
|
1086
|
-
o(xa, "requireHasown");
|
|
1087
|
-
var d, Ea = dr, Ia = Wn, $a = zn, Ma = Un, Fa = Hn, re = Gn, ee = ne, Ta = qn, Da = Kn, Ra = Qn, Na = Vn, La = Jn, Ca = jn, _a = Yn, Ba = ea, Sr = Function, Ke = /* @__PURE__ */ o(function(t) {
|
|
1088
|
-
try {
|
|
1089
|
-
return Sr('"use strict"; return (' + t + ").constructor;")();
|
|
1090
|
-
} catch {
|
|
1091
|
-
}
|
|
1092
|
-
}, "getEvalledConstructor"), fe = vr, ka = ra, Qe = /* @__PURE__ */ o(function() {
|
|
1093
|
-
throw new ee();
|
|
1094
|
-
}, "throwTypeError"), Wa = fe ? function() {
|
|
1095
|
-
try {
|
|
1096
|
-
return arguments.callee, Qe;
|
|
1097
|
-
} catch {
|
|
1098
|
-
try {
|
|
1099
|
-
return fe(arguments, "callee").get;
|
|
1100
|
-
} catch {
|
|
1101
|
-
return Qe;
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
|
-
}() : Qe, Y = aa()(), w = Pa(), za = gr(), Ua = hr(), wr = mr(), de = ct, Z = {}, Ha = typeof Uint8Array > "u" || !w ? d : w(Uint8Array), q = {
|
|
1105
|
-
__proto__: null,
|
|
1106
|
-
"%AggregateError%": typeof AggregateError > "u" ? d : AggregateError,
|
|
1107
|
-
"%Array%": Array,
|
|
1108
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? d : ArrayBuffer,
|
|
1109
|
-
"%ArrayIteratorPrototype%": Y && w ? w([][Symbol.iterator]()) : d,
|
|
1110
|
-
"%AsyncFromSyncIteratorPrototype%": d,
|
|
1111
|
-
"%AsyncFunction%": Z,
|
|
1112
|
-
"%AsyncGenerator%": Z,
|
|
1113
|
-
"%AsyncGeneratorFunction%": Z,
|
|
1114
|
-
"%AsyncIteratorPrototype%": Z,
|
|
1115
|
-
"%Atomics%": typeof Atomics > "u" ? d : Atomics,
|
|
1116
|
-
"%BigInt%": typeof BigInt > "u" ? d : BigInt,
|
|
1117
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ? d : BigInt64Array,
|
|
1118
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ? d : BigUint64Array,
|
|
1119
|
-
"%Boolean%": Boolean,
|
|
1120
|
-
"%DataView%": typeof DataView > "u" ? d : DataView,
|
|
1121
|
-
"%Date%": Date,
|
|
1122
|
-
"%decodeURI%": decodeURI,
|
|
1123
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
1124
|
-
"%encodeURI%": encodeURI,
|
|
1125
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
1126
|
-
"%Error%": Ia,
|
|
1127
|
-
"%eval%": eval,
|
|
1128
|
-
// eslint-disable-line no-eval
|
|
1129
|
-
"%EvalError%": $a,
|
|
1130
|
-
"%Float16Array%": typeof Float16Array > "u" ? d : Float16Array,
|
|
1131
|
-
"%Float32Array%": typeof Float32Array > "u" ? d : Float32Array,
|
|
1132
|
-
"%Float64Array%": typeof Float64Array > "u" ? d : Float64Array,
|
|
1133
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? d : FinalizationRegistry,
|
|
1134
|
-
"%Function%": Sr,
|
|
1135
|
-
"%GeneratorFunction%": Z,
|
|
1136
|
-
"%Int8Array%": typeof Int8Array > "u" ? d : Int8Array,
|
|
1137
|
-
"%Int16Array%": typeof Int16Array > "u" ? d : Int16Array,
|
|
1138
|
-
"%Int32Array%": typeof Int32Array > "u" ? d : Int32Array,
|
|
1139
|
-
"%isFinite%": isFinite,
|
|
1140
|
-
"%isNaN%": isNaN,
|
|
1141
|
-
"%IteratorPrototype%": Y && w ? w(w([][Symbol.iterator]())) : d,
|
|
1142
|
-
"%JSON%": typeof JSON == "object" ? JSON : d,
|
|
1143
|
-
"%Map%": typeof Map > "u" ? d : Map,
|
|
1144
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !Y || !w ? d : w((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
1145
|
-
"%Math%": Math,
|
|
1146
|
-
"%Number%": Number,
|
|
1147
|
-
"%Object%": Ea,
|
|
1148
|
-
"%Object.getOwnPropertyDescriptor%": fe,
|
|
1149
|
-
"%parseFloat%": parseFloat,
|
|
1150
|
-
"%parseInt%": parseInt,
|
|
1151
|
-
"%Promise%": typeof Promise > "u" ? d : Promise,
|
|
1152
|
-
"%Proxy%": typeof Proxy > "u" ? d : Proxy,
|
|
1153
|
-
"%RangeError%": Ma,
|
|
1154
|
-
"%ReferenceError%": Fa,
|
|
1155
|
-
"%Reflect%": typeof Reflect > "u" ? d : Reflect,
|
|
1156
|
-
"%RegExp%": RegExp,
|
|
1157
|
-
"%Set%": typeof Set > "u" ? d : Set,
|
|
1158
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !Y || !w ? d : w((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
1159
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? d : SharedArrayBuffer,
|
|
1160
|
-
"%String%": String,
|
|
1161
|
-
"%StringIteratorPrototype%": Y && w ? w(""[Symbol.iterator]()) : d,
|
|
1162
|
-
"%Symbol%": Y ? Symbol : d,
|
|
1163
|
-
"%SyntaxError%": re,
|
|
1164
|
-
"%ThrowTypeError%": Wa,
|
|
1165
|
-
"%TypedArray%": Ha,
|
|
1166
|
-
"%TypeError%": ee,
|
|
1167
|
-
"%Uint8Array%": typeof Uint8Array > "u" ? d : Uint8Array,
|
|
1168
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? d : Uint8ClampedArray,
|
|
1169
|
-
"%Uint16Array%": typeof Uint16Array > "u" ? d : Uint16Array,
|
|
1170
|
-
"%Uint32Array%": typeof Uint32Array > "u" ? d : Uint32Array,
|
|
1171
|
-
"%URIError%": Ta,
|
|
1172
|
-
"%WeakMap%": typeof WeakMap > "u" ? d : WeakMap,
|
|
1173
|
-
"%WeakRef%": typeof WeakRef > "u" ? d : WeakRef,
|
|
1174
|
-
"%WeakSet%": typeof WeakSet > "u" ? d : WeakSet,
|
|
1175
|
-
"%Function.prototype.call%": de,
|
|
1176
|
-
"%Function.prototype.apply%": wr,
|
|
1177
|
-
"%Object.defineProperty%": ka,
|
|
1178
|
-
"%Object.getPrototypeOf%": za,
|
|
1179
|
-
"%Math.abs%": Da,
|
|
1180
|
-
"%Math.floor%": Ra,
|
|
1181
|
-
"%Math.max%": Na,
|
|
1182
|
-
"%Math.min%": La,
|
|
1183
|
-
"%Math.pow%": Ca,
|
|
1184
|
-
"%Math.round%": _a,
|
|
1185
|
-
"%Math.sign%": Ba,
|
|
1186
|
-
"%Reflect.getPrototypeOf%": Ua
|
|
1187
|
-
};
|
|
1188
|
-
if (w)
|
|
1189
|
-
try {
|
|
1190
|
-
null.error;
|
|
1191
|
-
} catch (t) {
|
|
1192
|
-
var Ga = w(w(t));
|
|
1193
|
-
q["%Error.prototype%"] = Ga;
|
|
1194
|
-
}
|
|
1195
|
-
var qa = /* @__PURE__ */ o(function t(e) {
|
|
1196
|
-
var r;
|
|
1197
|
-
if (e === "%AsyncFunction%")
|
|
1198
|
-
r = Ke("async function () {}");
|
|
1199
|
-
else if (e === "%GeneratorFunction%")
|
|
1200
|
-
r = Ke("function* () {}");
|
|
1201
|
-
else if (e === "%AsyncGeneratorFunction%")
|
|
1202
|
-
r = Ke("async function* () {}");
|
|
1203
|
-
else if (e === "%AsyncGenerator%") {
|
|
1204
|
-
var n = t("%AsyncGeneratorFunction%");
|
|
1205
|
-
n && (r = n.prototype);
|
|
1206
|
-
} else if (e === "%AsyncIteratorPrototype%") {
|
|
1207
|
-
var a = t("%AsyncGenerator%");
|
|
1208
|
-
a && w && (r = w(a.prototype));
|
|
1209
|
-
}
|
|
1210
|
-
return q[e] = r, r;
|
|
1211
|
-
}, "doEval"), Vt = {
|
|
1212
|
-
__proto__: null,
|
|
1213
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
1214
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
1215
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
1216
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
1217
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
1218
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
1219
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
1220
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
1221
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
1222
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
1223
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
1224
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
1225
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
1226
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
1227
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
1228
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
1229
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
1230
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
1231
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
1232
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
1233
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
1234
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
1235
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
1236
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
1237
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
1238
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
1239
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
1240
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
1241
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
1242
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
1243
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
1244
|
-
"%Promise_all%": ["Promise", "all"],
|
|
1245
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
1246
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
1247
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
1248
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
1249
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
1250
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
1251
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
1252
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
1253
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
1254
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
1255
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
1256
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
1257
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
1258
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
1259
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
1260
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
1261
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
1262
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
1263
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
1264
|
-
}, ve = Fe, Ee = xa(), Ka = ve.call(de, Array.prototype.concat), Qa = ve.call(wr, Array.prototype.splice), Jt = ve.call(de, String.prototype.replace), Ie = ve.call(de, String.prototype.slice), Va = ve.call(de, RegExp.prototype.exec), Ja = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ja = /\\(\\)?/g, Ya = /* @__PURE__ */ o(function(e) {
|
|
1265
|
-
var r = Ie(e, 0, 1), n = Ie(e, -1);
|
|
1266
|
-
if (r === "%" && n !== "%")
|
|
1267
|
-
throw new re("invalid intrinsic syntax, expected closing `%`");
|
|
1268
|
-
if (n === "%" && r !== "%")
|
|
1269
|
-
throw new re("invalid intrinsic syntax, expected opening `%`");
|
|
1270
|
-
var a = [];
|
|
1271
|
-
return Jt(e, Ja, function(i, l, s, u) {
|
|
1272
|
-
a[a.length] = s ? Jt(u, ja, "$1") : l || i;
|
|
1273
|
-
}), a;
|
|
1274
|
-
}, "stringToPath"), Xa = /* @__PURE__ */ o(function(e, r) {
|
|
1275
|
-
var n = e, a;
|
|
1276
|
-
if (Ee(Vt, n) && (a = Vt[n], n = "%" + a[0] + "%"), Ee(q, n)) {
|
|
1277
|
-
var i = q[n];
|
|
1278
|
-
if (i === Z && (i = qa(n)), typeof i > "u" && !r)
|
|
1279
|
-
throw new ee("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
1280
|
-
return {
|
|
1281
|
-
alias: a,
|
|
1282
|
-
name: n,
|
|
1283
|
-
value: i
|
|
1284
|
-
};
|
|
1285
|
-
}
|
|
1286
|
-
throw new re("intrinsic " + e + " does not exist!");
|
|
1287
|
-
}, "getBaseIntrinsic"), ft = /* @__PURE__ */ o(function(e, r) {
|
|
1288
|
-
if (typeof e != "string" || e.length === 0)
|
|
1289
|
-
throw new ee("intrinsic name must be a non-empty string");
|
|
1290
|
-
if (arguments.length > 1 && typeof r != "boolean")
|
|
1291
|
-
throw new ee('"allowMissing" argument must be a boolean');
|
|
1292
|
-
if (Va(/^%?[^%]*%?$/, e) === null)
|
|
1293
|
-
throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
1294
|
-
var n = Ya(e), a = n.length > 0 ? n[0] : "", i = Xa("%" + a + "%", r), l = i.name, s = i.value, u = !1, f = i.alias;
|
|
1295
|
-
f && (a = f[0], Qa(n, Ka([0, 1], f)));
|
|
1296
|
-
for (var p = 1, y = !0; p < n.length; p += 1) {
|
|
1297
|
-
var c = n[p], g = Ie(c, 0, 1), h = Ie(c, -1);
|
|
1298
|
-
if ((g === '"' || g === "'" || g === "`" || h === '"' || h === "'" || h === "`") && g !== h)
|
|
1299
|
-
throw new re("property names with quotes must have matching quotes");
|
|
1300
|
-
if ((c === "constructor" || !y) && (u = !0), a += "." + c, l = "%" + a + "%", Ee(q, l))
|
|
1301
|
-
s = q[l];
|
|
1302
|
-
else if (s != null) {
|
|
1303
|
-
if (!(c in s)) {
|
|
1304
|
-
if (!r)
|
|
1305
|
-
throw new ee("base intrinsic for " + e + " exists, but the property is not available.");
|
|
1306
|
-
return;
|
|
1307
|
-
}
|
|
1308
|
-
if (fe && p + 1 >= n.length) {
|
|
1309
|
-
var O = fe(s, c);
|
|
1310
|
-
y = !!O, y && "get" in O && !("originalValue" in O.get) ? s = O.get : s = s[c];
|
|
1311
|
-
} else
|
|
1312
|
-
y = Ee(s, c), s = s[c];
|
|
1313
|
-
y && !u && (q[l] = s);
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
return s;
|
|
1317
|
-
}, "GetIntrinsic"), Or = ft, Ar = br, Za = Ar([Or("%String.prototype.indexOf%")]), Pr = /* @__PURE__ */ o(function(e, r) {
|
|
1318
|
-
var n = (
|
|
1319
|
-
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
1320
|
-
Or(e, !!r)
|
|
1321
|
-
);
|
|
1322
|
-
return typeof n == "function" && Za(e, ".prototype.") > -1 ? Ar(
|
|
1323
|
-
/** @type {const} */
|
|
1324
|
-
[n]
|
|
1325
|
-
) : n;
|
|
1326
|
-
}, "callBoundIntrinsic"), eo = ft, he = Pr, to = $e, ro = ne, jt = eo("%Map%", !0), no = he("Map.prototype.get", !0), ao = he("Map.prototype.set", !0), oo = he("Map.prototype.has", !0), io = he("Map.prototype.delete", !0), lo = he("Map.prototype.size", !0), xr = !!jt && /** @type {Exclude<import('.'), false>} */
|
|
1327
|
-
/* @__PURE__ */ o(function() {
|
|
1328
|
-
var e, r = {
|
|
1329
|
-
assert: /* @__PURE__ */ o(function(n) {
|
|
1330
|
-
if (!r.has(n))
|
|
1331
|
-
throw new ro("Side channel does not contain " + to(n));
|
|
1332
|
-
}, "assert"),
|
|
1333
|
-
delete: /* @__PURE__ */ o(function(n) {
|
|
1334
|
-
if (e) {
|
|
1335
|
-
var a = io(e, n);
|
|
1336
|
-
return lo(e) === 0 && (e = void 0), a;
|
|
1337
|
-
}
|
|
1338
|
-
return !1;
|
|
1339
|
-
}, "delete"),
|
|
1340
|
-
get: /* @__PURE__ */ o(function(n) {
|
|
1341
|
-
if (e)
|
|
1342
|
-
return no(e, n);
|
|
1343
|
-
}, "get"),
|
|
1344
|
-
has: /* @__PURE__ */ o(function(n) {
|
|
1345
|
-
return e ? oo(e, n) : !1;
|
|
1346
|
-
}, "has"),
|
|
1347
|
-
set: /* @__PURE__ */ o(function(n, a) {
|
|
1348
|
-
e || (e = new jt()), ao(e, n, a);
|
|
1349
|
-
}, "set")
|
|
1350
|
-
};
|
|
1351
|
-
return r;
|
|
1352
|
-
}, "getSideChannelMap"), uo = ft, Te = Pr, so = $e, Se = xr, co = ne, X = uo("%WeakMap%", !0), fo = Te("WeakMap.prototype.get", !0), po = Te("WeakMap.prototype.set", !0), yo = Te("WeakMap.prototype.has", !0), vo = Te("WeakMap.prototype.delete", !0), ho = X ? (
|
|
1353
|
-
/** @type {Exclude<import('.'), false>} */
|
|
1354
|
-
/* @__PURE__ */ o(function() {
|
|
1355
|
-
var e, r, n = {
|
|
1356
|
-
assert: /* @__PURE__ */ o(function(a) {
|
|
1357
|
-
if (!n.has(a))
|
|
1358
|
-
throw new co("Side channel does not contain " + so(a));
|
|
1359
|
-
}, "assert"),
|
|
1360
|
-
delete: /* @__PURE__ */ o(function(a) {
|
|
1361
|
-
if (X && a && (typeof a == "object" || typeof a == "function")) {
|
|
1362
|
-
if (e)
|
|
1363
|
-
return vo(e, a);
|
|
1364
|
-
} else if (Se && r)
|
|
1365
|
-
return r.delete(a);
|
|
1366
|
-
return !1;
|
|
1367
|
-
}, "delete"),
|
|
1368
|
-
get: /* @__PURE__ */ o(function(a) {
|
|
1369
|
-
return X && a && (typeof a == "object" || typeof a == "function") && e ? fo(e, a) : r && r.get(a);
|
|
1370
|
-
}, "get"),
|
|
1371
|
-
has: /* @__PURE__ */ o(function(a) {
|
|
1372
|
-
return X && a && (typeof a == "object" || typeof a == "function") && e ? yo(e, a) : !!r && r.has(a);
|
|
1373
|
-
}, "has"),
|
|
1374
|
-
set: /* @__PURE__ */ o(function(a, i) {
|
|
1375
|
-
X && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new X()), po(e, a, i)) : Se && (r || (r = Se()), r.set(a, i));
|
|
1376
|
-
}, "set")
|
|
1377
|
-
};
|
|
1378
|
-
return n;
|
|
1379
|
-
}, "getSideChannelWeakMap")
|
|
1380
|
-
) : Se, go = ne, mo = $e, bo = kn, So = xr, wo = ho, Oo = wo || So || bo, Ao = /* @__PURE__ */ o(function() {
|
|
1381
|
-
var e, r = {
|
|
1382
|
-
assert: /* @__PURE__ */ o(function(n) {
|
|
1383
|
-
if (!r.has(n))
|
|
1384
|
-
throw new go("Side channel does not contain " + mo(n));
|
|
1385
|
-
}, "assert"),
|
|
1386
|
-
delete: /* @__PURE__ */ o(function(n) {
|
|
1387
|
-
return !!e && e.delete(n);
|
|
1388
|
-
}, "delete"),
|
|
1389
|
-
get: /* @__PURE__ */ o(function(n) {
|
|
1390
|
-
return e && e.get(n);
|
|
1391
|
-
}, "get"),
|
|
1392
|
-
has: /* @__PURE__ */ o(function(n) {
|
|
1393
|
-
return !!e && e.has(n);
|
|
1394
|
-
}, "has"),
|
|
1395
|
-
set: /* @__PURE__ */ o(function(n, a) {
|
|
1396
|
-
e || (e = Oo()), e.set(n, a);
|
|
1397
|
-
}, "set")
|
|
1398
|
-
};
|
|
1399
|
-
return r;
|
|
1400
|
-
}, "getSideChannel"), Po = String.prototype.replace, xo = /%20/g, Ve = {
|
|
1401
|
-
RFC1738: "RFC1738",
|
|
1402
|
-
RFC3986: "RFC3986"
|
|
1403
|
-
}, pt = {
|
|
1404
|
-
default: Ve.RFC3986,
|
|
1405
|
-
formatters: {
|
|
1406
|
-
RFC1738: /* @__PURE__ */ o(function(t) {
|
|
1407
|
-
return Po.call(t, xo, "+");
|
|
1408
|
-
}, "RFC1738"),
|
|
1409
|
-
RFC3986: /* @__PURE__ */ o(function(t) {
|
|
1410
|
-
return String(t);
|
|
1411
|
-
}, "RFC3986")
|
|
1412
|
-
},
|
|
1413
|
-
RFC1738: Ve.RFC1738,
|
|
1414
|
-
RFC3986: Ve.RFC3986
|
|
1415
|
-
}, Eo = pt, Je = Object.prototype.hasOwnProperty, G = Array.isArray, M = function() {
|
|
1416
|
-
for (var t = [], e = 0; e < 256; ++e)
|
|
1417
|
-
t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
1418
|
-
return t;
|
|
1419
|
-
}(), Io = /* @__PURE__ */ o(function(e) {
|
|
1420
|
-
for (; e.length > 1; ) {
|
|
1421
|
-
var r = e.pop(), n = r.obj[r.prop];
|
|
1422
|
-
if (G(n)) {
|
|
1423
|
-
for (var a = [], i = 0; i < n.length; ++i)
|
|
1424
|
-
typeof n[i] < "u" && a.push(n[i]);
|
|
1425
|
-
r.obj[r.prop] = a;
|
|
1426
|
-
}
|
|
1427
|
-
}
|
|
1428
|
-
}, "compactQueue"), Er = /* @__PURE__ */ o(function(e, r) {
|
|
1429
|
-
for (var n = r && r.plainObjects ? { __proto__: null } : {}, a = 0; a < e.length; ++a)
|
|
1430
|
-
typeof e[a] < "u" && (n[a] = e[a]);
|
|
1431
|
-
return n;
|
|
1432
|
-
}, "arrayToObject"), $o = /* @__PURE__ */ o(function t(e, r, n) {
|
|
1433
|
-
if (!r)
|
|
1434
|
-
return e;
|
|
1435
|
-
if (typeof r != "object" && typeof r != "function") {
|
|
1436
|
-
if (G(e))
|
|
1437
|
-
e.push(r);
|
|
1438
|
-
else if (e && typeof e == "object")
|
|
1439
|
-
(n && (n.plainObjects || n.allowPrototypes) || !Je.call(Object.prototype, r)) && (e[r] = !0);
|
|
1440
|
-
else
|
|
1441
|
-
return [e, r];
|
|
1442
|
-
return e;
|
|
1443
|
-
}
|
|
1444
|
-
if (!e || typeof e != "object")
|
|
1445
|
-
return [e].concat(r);
|
|
1446
|
-
var a = e;
|
|
1447
|
-
return G(e) && !G(r) && (a = Er(e, n)), G(e) && G(r) ? (r.forEach(function(i, l) {
|
|
1448
|
-
if (Je.call(e, l)) {
|
|
1449
|
-
var s = e[l];
|
|
1450
|
-
s && typeof s == "object" && i && typeof i == "object" ? e[l] = t(s, i, n) : e.push(i);
|
|
1451
|
-
} else
|
|
1452
|
-
e[l] = i;
|
|
1453
|
-
}), e) : Object.keys(r).reduce(function(i, l) {
|
|
1454
|
-
var s = r[l];
|
|
1455
|
-
return Je.call(i, l) ? i[l] = t(i[l], s, n) : i[l] = s, i;
|
|
1456
|
-
}, a);
|
|
1457
|
-
}, "merge"), Mo = /* @__PURE__ */ o(function(e, r) {
|
|
1458
|
-
return Object.keys(r).reduce(function(n, a) {
|
|
1459
|
-
return n[a] = r[a], n;
|
|
1460
|
-
}, e);
|
|
1461
|
-
}, "assignSingleSource"), Fo = /* @__PURE__ */ o(function(t, e, r) {
|
|
1462
|
-
var n = t.replace(/\+/g, " ");
|
|
1463
|
-
if (r === "iso-8859-1")
|
|
1464
|
-
return n.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
1465
|
-
try {
|
|
1466
|
-
return decodeURIComponent(n);
|
|
1467
|
-
} catch {
|
|
1468
|
-
return n;
|
|
1469
|
-
}
|
|
1470
|
-
}, "decode"), je = 1024, To = /* @__PURE__ */ o(function(e, r, n, a, i) {
|
|
1471
|
-
if (e.length === 0)
|
|
1472
|
-
return e;
|
|
1473
|
-
var l = e;
|
|
1474
|
-
if (typeof e == "symbol" ? l = Symbol.prototype.toString.call(e) : typeof e != "string" && (l = String(e)), n === "iso-8859-1")
|
|
1475
|
-
return escape(l).replace(/%u[0-9a-f]{4}/gi, function(g) {
|
|
1476
|
-
return "%26%23" + parseInt(g.slice(2), 16) + "%3B";
|
|
1477
|
-
});
|
|
1478
|
-
for (var s = "", u = 0; u < l.length; u += je) {
|
|
1479
|
-
for (var f = l.length >= je ? l.slice(u, u + je) : l, p = [], y = 0; y < f.length; ++y) {
|
|
1480
|
-
var c = f.charCodeAt(y);
|
|
1481
|
-
if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || i === Eo.RFC1738 && (c === 40 || c === 41)) {
|
|
1482
|
-
p[p.length] = f.charAt(y);
|
|
1483
|
-
continue;
|
|
1484
|
-
}
|
|
1485
|
-
if (c < 128) {
|
|
1486
|
-
p[p.length] = M[c];
|
|
1487
|
-
continue;
|
|
1488
|
-
}
|
|
1489
|
-
if (c < 2048) {
|
|
1490
|
-
p[p.length] = M[192 | c >> 6] + M[128 | c & 63];
|
|
1491
|
-
continue;
|
|
1492
|
-
}
|
|
1493
|
-
if (c < 55296 || c >= 57344) {
|
|
1494
|
-
p[p.length] = M[224 | c >> 12] + M[128 | c >> 6 & 63] + M[128 | c & 63];
|
|
1495
|
-
continue;
|
|
1496
|
-
}
|
|
1497
|
-
y += 1, c = 65536 + ((c & 1023) << 10 | f.charCodeAt(y) & 1023), p[p.length] = M[240 | c >> 18] + M[128 | c >> 12 & 63] + M[128 | c >> 6 & 63] + M[128 | c & 63];
|
|
1498
|
-
}
|
|
1499
|
-
s += p.join("");
|
|
1500
|
-
}
|
|
1501
|
-
return s;
|
|
1502
|
-
}, "encode"), Do = /* @__PURE__ */ o(function(e) {
|
|
1503
|
-
for (var r = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < r.length; ++a)
|
|
1504
|
-
for (var i = r[a], l = i.obj[i.prop], s = Object.keys(l), u = 0; u < s.length; ++u) {
|
|
1505
|
-
var f = s[u], p = l[f];
|
|
1506
|
-
typeof p == "object" && p !== null && n.indexOf(p) === -1 && (r.push({ obj: l, prop: f }), n.push(p));
|
|
1507
|
-
}
|
|
1508
|
-
return Io(r), e;
|
|
1509
|
-
}, "compact"), Ro = /* @__PURE__ */ o(function(e) {
|
|
1510
|
-
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
1511
|
-
}, "isRegExp"), No = /* @__PURE__ */ o(function(e) {
|
|
1512
|
-
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
1513
|
-
}, "isBuffer"), Lo = /* @__PURE__ */ o(function(e, r) {
|
|
1514
|
-
return [].concat(e, r);
|
|
1515
|
-
}, "combine"), Co = /* @__PURE__ */ o(function(e, r) {
|
|
1516
|
-
if (G(e)) {
|
|
1517
|
-
for (var n = [], a = 0; a < e.length; a += 1)
|
|
1518
|
-
n.push(r(e[a]));
|
|
1519
|
-
return n;
|
|
1520
|
-
}
|
|
1521
|
-
return r(e);
|
|
1522
|
-
}, "maybeMap"), Ir = {
|
|
1523
|
-
arrayToObject: Er,
|
|
1524
|
-
assign: Mo,
|
|
1525
|
-
combine: Lo,
|
|
1526
|
-
compact: Do,
|
|
1527
|
-
decode: Fo,
|
|
1528
|
-
encode: To,
|
|
1529
|
-
isBuffer: No,
|
|
1530
|
-
isRegExp: Ro,
|
|
1531
|
-
maybeMap: Co,
|
|
1532
|
-
merge: $o
|
|
1533
|
-
}, $r = Ao, Ae = Ir, ce = pt, _o = Object.prototype.hasOwnProperty, Mr = {
|
|
1534
|
-
brackets: /* @__PURE__ */ o(function(e) {
|
|
1535
|
-
return e + "[]";
|
|
1536
|
-
}, "brackets"),
|
|
1537
|
-
comma: "comma",
|
|
1538
|
-
indices: /* @__PURE__ */ o(function(e, r) {
|
|
1539
|
-
return e + "[" + r + "]";
|
|
1540
|
-
}, "indices"),
|
|
1541
|
-
repeat: /* @__PURE__ */ o(function(e) {
|
|
1542
|
-
return e;
|
|
1543
|
-
}, "repeat")
|
|
1544
|
-
}, F = Array.isArray, Bo = Array.prototype.push, Fr = /* @__PURE__ */ o(function(t, e) {
|
|
1545
|
-
Bo.apply(t, F(e) ? e : [e]);
|
|
1546
|
-
}, "pushToArray"), ko = Date.prototype.toISOString, Yt = ce.default, S = {
|
|
1547
|
-
addQueryPrefix: !1,
|
|
1548
|
-
allowDots: !1,
|
|
1549
|
-
allowEmptyArrays: !1,
|
|
1550
|
-
arrayFormat: "indices",
|
|
1551
|
-
charset: "utf-8",
|
|
1552
|
-
charsetSentinel: !1,
|
|
1553
|
-
commaRoundTrip: !1,
|
|
1554
|
-
delimiter: "&",
|
|
1555
|
-
encode: !0,
|
|
1556
|
-
encodeDotInKeys: !1,
|
|
1557
|
-
encoder: Ae.encode,
|
|
1558
|
-
encodeValuesOnly: !1,
|
|
1559
|
-
filter: void 0,
|
|
1560
|
-
format: Yt,
|
|
1561
|
-
formatter: ce.formatters[Yt],
|
|
1562
|
-
// deprecated
|
|
1563
|
-
indices: !1,
|
|
1564
|
-
serializeDate: /* @__PURE__ */ o(function(e) {
|
|
1565
|
-
return ko.call(e);
|
|
1566
|
-
}, "serializeDate"),
|
|
1567
|
-
skipNulls: !1,
|
|
1568
|
-
strictNullHandling: !1
|
|
1569
|
-
}, Wo = /* @__PURE__ */ o(function(e) {
|
|
1570
|
-
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
1571
|
-
}, "isNonNullishPrimitive"), Ye = {}, zo = /* @__PURE__ */ o(function t(e, r, n, a, i, l, s, u, f, p, y, c, g, h, O, x, N, L) {
|
|
1572
|
-
for (var v = e, C = L, U = 0, ae = !1; (C = C.get(Ye)) !== void 0 && !ae; ) {
|
|
1573
|
-
var V = C.get(e);
|
|
1574
|
-
if (U += 1, typeof V < "u") {
|
|
1575
|
-
if (V === U)
|
|
1576
|
-
throw new RangeError("Cyclic object value");
|
|
1577
|
-
ae = !0;
|
|
1578
|
-
}
|
|
1579
|
-
typeof C.get(Ye) > "u" && (U = 0);
|
|
1580
|
-
}
|
|
1581
|
-
if (typeof p == "function" ? v = p(r, v) : v instanceof Date ? v = g(v) : n === "comma" && F(v) && (v = Ae.maybeMap(v, function(Re) {
|
|
1582
|
-
return Re instanceof Date ? g(Re) : Re;
|
|
1583
|
-
})), v === null) {
|
|
1584
|
-
if (l)
|
|
1585
|
-
return f && !x ? f(r, S.encoder, N, "key", h) : r;
|
|
1586
|
-
v = "";
|
|
1587
|
-
}
|
|
1588
|
-
if (Wo(v) || Ae.isBuffer(v)) {
|
|
1589
|
-
if (f) {
|
|
1590
|
-
var ge = x ? r : f(r, S.encoder, N, "key", h);
|
|
1591
|
-
return [O(ge) + "=" + O(f(v, S.encoder, N, "value", h))];
|
|
1592
|
-
}
|
|
1593
|
-
return [O(r) + "=" + O(String(v))];
|
|
1594
|
-
}
|
|
1595
|
-
var H = [];
|
|
1596
|
-
if (typeof v > "u")
|
|
1597
|
-
return H;
|
|
1598
|
-
var _;
|
|
1599
|
-
if (n === "comma" && F(v))
|
|
1600
|
-
x && f && (v = Ae.maybeMap(v, f)), _ = [{ value: v.length > 0 ? v.join(",") || null : void 0 }];
|
|
1601
|
-
else if (F(p))
|
|
1602
|
-
_ = p;
|
|
1603
|
-
else {
|
|
1604
|
-
var me = Object.keys(v);
|
|
1605
|
-
_ = y ? me.sort(y) : me;
|
|
1606
|
-
}
|
|
1607
|
-
var J = u ? String(r).replace(/\./g, "%2E") : String(r), $ = a && F(v) && v.length === 1 ? J + "[]" : J;
|
|
1608
|
-
if (i && F(v) && v.length === 0)
|
|
1609
|
-
return $ + "[]";
|
|
1610
|
-
for (var B = 0; B < _.length; ++B) {
|
|
1611
|
-
var D = _[B], oe = typeof D == "object" && D && typeof D.value < "u" ? D.value : v[D];
|
|
1612
|
-
if (!(s && oe === null)) {
|
|
1613
|
-
var De = c && u ? String(D).replace(/\./g, "%2E") : String(D), Cr = F(v) ? typeof n == "function" ? n($, De) : $ : $ + (c ? "." + De : "[" + De + "]");
|
|
1614
|
-
L.set(e, U);
|
|
1615
|
-
var Ot = $r();
|
|
1616
|
-
Ot.set(Ye, L), Fr(H, t(
|
|
1617
|
-
oe,
|
|
1618
|
-
Cr,
|
|
1619
|
-
n,
|
|
1620
|
-
a,
|
|
1621
|
-
i,
|
|
1622
|
-
l,
|
|
1623
|
-
s,
|
|
1624
|
-
u,
|
|
1625
|
-
n === "comma" && x && F(v) ? null : f,
|
|
1626
|
-
p,
|
|
1627
|
-
y,
|
|
1628
|
-
c,
|
|
1629
|
-
g,
|
|
1630
|
-
h,
|
|
1631
|
-
O,
|
|
1632
|
-
x,
|
|
1633
|
-
N,
|
|
1634
|
-
Ot
|
|
1635
|
-
));
|
|
1636
|
-
}
|
|
1637
|
-
}
|
|
1638
|
-
return H;
|
|
1639
|
-
}, "stringify"), Uo = /* @__PURE__ */ o(function(e) {
|
|
1640
|
-
if (!e)
|
|
1641
|
-
return S;
|
|
1642
|
-
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
1643
|
-
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1644
|
-
if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
|
|
1645
|
-
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1646
|
-
if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
|
|
1647
|
-
throw new TypeError("Encoder has to be a function.");
|
|
1648
|
-
var r = e.charset || S.charset;
|
|
1649
|
-
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
1650
|
-
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1651
|
-
var n = ce.default;
|
|
1652
|
-
if (typeof e.format < "u") {
|
|
1653
|
-
if (!_o.call(ce.formatters, e.format))
|
|
1654
|
-
throw new TypeError("Unknown format option provided.");
|
|
1655
|
-
n = e.format;
|
|
1656
|
-
}
|
|
1657
|
-
var a = ce.formatters[n], i = S.filter;
|
|
1658
|
-
(typeof e.filter == "function" || F(e.filter)) && (i = e.filter);
|
|
1659
|
-
var l;
|
|
1660
|
-
if (e.arrayFormat in Mr ? l = e.arrayFormat : "indices" in e ? l = e.indices ? "indices" : "repeat" : l = S.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
|
|
1661
|
-
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
1662
|
-
var s = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : S.allowDots : !!e.allowDots;
|
|
1663
|
-
return {
|
|
1664
|
-
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : S.addQueryPrefix,
|
|
1665
|
-
allowDots: s,
|
|
1666
|
-
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : S.allowEmptyArrays,
|
|
1667
|
-
arrayFormat: l,
|
|
1668
|
-
charset: r,
|
|
1669
|
-
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : S.charsetSentinel,
|
|
1670
|
-
commaRoundTrip: !!e.commaRoundTrip,
|
|
1671
|
-
delimiter: typeof e.delimiter > "u" ? S.delimiter : e.delimiter,
|
|
1672
|
-
encode: typeof e.encode == "boolean" ? e.encode : S.encode,
|
|
1673
|
-
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : S.encodeDotInKeys,
|
|
1674
|
-
encoder: typeof e.encoder == "function" ? e.encoder : S.encoder,
|
|
1675
|
-
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : S.encodeValuesOnly,
|
|
1676
|
-
filter: i,
|
|
1677
|
-
format: n,
|
|
1678
|
-
formatter: a,
|
|
1679
|
-
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : S.serializeDate,
|
|
1680
|
-
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : S.skipNulls,
|
|
1681
|
-
sort: typeof e.sort == "function" ? e.sort : null,
|
|
1682
|
-
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : S.strictNullHandling
|
|
1683
|
-
};
|
|
1684
|
-
}, "normalizeStringifyOptions"), Ho = /* @__PURE__ */ o(function(t, e) {
|
|
1685
|
-
var r = t, n = Uo(e), a, i;
|
|
1686
|
-
typeof n.filter == "function" ? (i = n.filter, r = i("", r)) : F(n.filter) && (i = n.filter, a = i);
|
|
1687
|
-
var l = [];
|
|
1688
|
-
if (typeof r != "object" || r === null)
|
|
1689
|
-
return "";
|
|
1690
|
-
var s = Mr[n.arrayFormat], u = s === "comma" && n.commaRoundTrip;
|
|
1691
|
-
a || (a = Object.keys(r)), n.sort && a.sort(n.sort);
|
|
1692
|
-
for (var f = $r(), p = 0; p < a.length; ++p) {
|
|
1693
|
-
var y = a[p], c = r[y];
|
|
1694
|
-
n.skipNulls && c === null || Fr(l, zo(
|
|
1695
|
-
c,
|
|
1696
|
-
y,
|
|
1697
|
-
s,
|
|
1698
|
-
u,
|
|
1699
|
-
n.allowEmptyArrays,
|
|
1700
|
-
n.strictNullHandling,
|
|
1701
|
-
n.skipNulls,
|
|
1702
|
-
n.encodeDotInKeys,
|
|
1703
|
-
n.encode ? n.encoder : null,
|
|
1704
|
-
n.filter,
|
|
1705
|
-
n.sort,
|
|
1706
|
-
n.allowDots,
|
|
1707
|
-
n.serializeDate,
|
|
1708
|
-
n.format,
|
|
1709
|
-
n.formatter,
|
|
1710
|
-
n.encodeValuesOnly,
|
|
1711
|
-
n.charset,
|
|
1712
|
-
f
|
|
1713
|
-
));
|
|
1714
|
-
}
|
|
1715
|
-
var g = l.join(n.delimiter), h = n.addQueryPrefix === !0 ? "?" : "";
|
|
1716
|
-
return n.charsetSentinel && (n.charset === "iso-8859-1" ? h += "utf8=%26%2310003%3B&" : h += "utf8=%E2%9C%93&"), g.length > 0 ? h + g : "";
|
|
1717
|
-
}, "stringify_1"), K = Ir, ot = Object.prototype.hasOwnProperty, Xt = Array.isArray, m = {
|
|
1718
|
-
allowDots: !1,
|
|
1719
|
-
allowEmptyArrays: !1,
|
|
1720
|
-
allowPrototypes: !1,
|
|
1721
|
-
allowSparse: !1,
|
|
1722
|
-
arrayLimit: 20,
|
|
1723
|
-
charset: "utf-8",
|
|
1724
|
-
charsetSentinel: !1,
|
|
1725
|
-
comma: !1,
|
|
1726
|
-
decodeDotInKeys: !1,
|
|
1727
|
-
decoder: K.decode,
|
|
1728
|
-
delimiter: "&",
|
|
1729
|
-
depth: 5,
|
|
1730
|
-
duplicates: "combine",
|
|
1731
|
-
ignoreQueryPrefix: !1,
|
|
1732
|
-
interpretNumericEntities: !1,
|
|
1733
|
-
parameterLimit: 1e3,
|
|
1734
|
-
parseArrays: !0,
|
|
1735
|
-
plainObjects: !1,
|
|
1736
|
-
strictDepth: !1,
|
|
1737
|
-
strictNullHandling: !1,
|
|
1738
|
-
throwOnLimitExceeded: !1
|
|
1739
|
-
}, Go = /* @__PURE__ */ o(function(t) {
|
|
1740
|
-
return t.replace(/&#(\d+);/g, function(e, r) {
|
|
1741
|
-
return String.fromCharCode(parseInt(r, 10));
|
|
1742
|
-
});
|
|
1743
|
-
}, "interpretNumericEntities"), Tr = /* @__PURE__ */ o(function(t, e, r) {
|
|
1744
|
-
if (t && typeof t == "string" && e.comma && t.indexOf(",") > -1)
|
|
1745
|
-
return t.split(",");
|
|
1746
|
-
if (e.throwOnLimitExceeded && r >= e.arrayLimit)
|
|
1747
|
-
throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
1748
|
-
return t;
|
|
1749
|
-
}, "parseArrayValue"), qo = "utf8=%26%2310003%3B", Ko = "utf8=%E2%9C%93", Qo = /* @__PURE__ */ o(function(e, r) {
|
|
1750
|
-
var n = { __proto__: null }, a = r.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
|
|
1751
|
-
a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
1752
|
-
var i = r.parameterLimit === 1 / 0 ? void 0 : r.parameterLimit, l = a.split(
|
|
1753
|
-
r.delimiter,
|
|
1754
|
-
r.throwOnLimitExceeded ? i + 1 : i
|
|
1755
|
-
);
|
|
1756
|
-
if (r.throwOnLimitExceeded && l.length > i)
|
|
1757
|
-
throw new RangeError("Parameter limit exceeded. Only " + i + " parameter" + (i === 1 ? "" : "s") + " allowed.");
|
|
1758
|
-
var s = -1, u, f = r.charset;
|
|
1759
|
-
if (r.charsetSentinel)
|
|
1760
|
-
for (u = 0; u < l.length; ++u)
|
|
1761
|
-
l[u].indexOf("utf8=") === 0 && (l[u] === Ko ? f = "utf-8" : l[u] === qo && (f = "iso-8859-1"), s = u, u = l.length);
|
|
1762
|
-
for (u = 0; u < l.length; ++u)
|
|
1763
|
-
if (u !== s) {
|
|
1764
|
-
var p = l[u], y = p.indexOf("]="), c = y === -1 ? p.indexOf("=") : y + 1, g, h;
|
|
1765
|
-
c === -1 ? (g = r.decoder(p, m.decoder, f, "key"), h = r.strictNullHandling ? null : "") : (g = r.decoder(p.slice(0, c), m.decoder, f, "key"), h = K.maybeMap(
|
|
1766
|
-
Tr(
|
|
1767
|
-
p.slice(c + 1),
|
|
1768
|
-
r,
|
|
1769
|
-
Xt(n[g]) ? n[g].length : 0
|
|
1770
|
-
),
|
|
1771
|
-
function(x) {
|
|
1772
|
-
return r.decoder(x, m.decoder, f, "value");
|
|
1773
|
-
}
|
|
1774
|
-
)), h && r.interpretNumericEntities && f === "iso-8859-1" && (h = Go(String(h))), p.indexOf("[]=") > -1 && (h = Xt(h) ? [h] : h);
|
|
1775
|
-
var O = ot.call(n, g);
|
|
1776
|
-
O && r.duplicates === "combine" ? n[g] = K.combine(n[g], h) : (!O || r.duplicates === "last") && (n[g] = h);
|
|
1777
|
-
}
|
|
1778
|
-
return n;
|
|
1779
|
-
}, "parseQueryStringValues"), Vo = /* @__PURE__ */ o(function(t, e, r, n) {
|
|
1780
|
-
var a = 0;
|
|
1781
|
-
if (t.length > 0 && t[t.length - 1] === "[]") {
|
|
1782
|
-
var i = t.slice(0, -1).join("");
|
|
1783
|
-
a = Array.isArray(e) && e[i] ? e[i].length : 0;
|
|
1784
|
-
}
|
|
1785
|
-
for (var l = n ? e : Tr(e, r, a), s = t.length - 1; s >= 0; --s) {
|
|
1786
|
-
var u, f = t[s];
|
|
1787
|
-
if (f === "[]" && r.parseArrays)
|
|
1788
|
-
u = r.allowEmptyArrays && (l === "" || r.strictNullHandling && l === null) ? [] : K.combine([], l);
|
|
1789
|
-
else {
|
|
1790
|
-
u = r.plainObjects ? { __proto__: null } : {};
|
|
1791
|
-
var p = f.charAt(0) === "[" && f.charAt(f.length - 1) === "]" ? f.slice(1, -1) : f, y = r.decodeDotInKeys ? p.replace(/%2E/g, ".") : p, c = parseInt(y, 10);
|
|
1792
|
-
!r.parseArrays && y === "" ? u = { 0: l } : !isNaN(c) && f !== y && String(c) === y && c >= 0 && r.parseArrays && c <= r.arrayLimit ? (u = [], u[c] = l) : y !== "__proto__" && (u[y] = l);
|
|
1793
|
-
}
|
|
1794
|
-
l = u;
|
|
1795
|
-
}
|
|
1796
|
-
return l;
|
|
1797
|
-
}, "parseObject"), Jo = /* @__PURE__ */ o(function(e, r, n, a) {
|
|
1798
|
-
if (e) {
|
|
1799
|
-
var i = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, l = /(\[[^[\]]*])/, s = /(\[[^[\]]*])/g, u = n.depth > 0 && l.exec(i), f = u ? i.slice(0, u.index) : i, p = [];
|
|
1800
|
-
if (f) {
|
|
1801
|
-
if (!n.plainObjects && ot.call(Object.prototype, f) && !n.allowPrototypes)
|
|
1802
|
-
return;
|
|
1803
|
-
p.push(f);
|
|
1804
|
-
}
|
|
1805
|
-
for (var y = 0; n.depth > 0 && (u = s.exec(i)) !== null && y < n.depth; ) {
|
|
1806
|
-
if (y += 1, !n.plainObjects && ot.call(Object.prototype, u[1].slice(1, -1)) && !n.allowPrototypes)
|
|
1807
|
-
return;
|
|
1808
|
-
p.push(u[1]);
|
|
1809
|
-
}
|
|
1810
|
-
if (u) {
|
|
1811
|
-
if (n.strictDepth === !0)
|
|
1812
|
-
throw new RangeError("Input depth exceeded depth option of " + n.depth + " and strictDepth is true");
|
|
1813
|
-
p.push("[" + i.slice(u.index) + "]");
|
|
1814
|
-
}
|
|
1815
|
-
return Vo(p, r, n, a);
|
|
1816
|
-
}
|
|
1817
|
-
}, "parseQueryStringKeys"), jo = /* @__PURE__ */ o(function(e) {
|
|
1818
|
-
if (!e)
|
|
1819
|
-
return m;
|
|
1820
|
-
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
1821
|
-
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1822
|
-
if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
|
|
1823
|
-
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1824
|
-
if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
|
|
1825
|
-
throw new TypeError("Decoder has to be a function.");
|
|
1826
|
-
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
1827
|
-
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1828
|
-
if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
|
|
1829
|
-
throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
1830
|
-
var r = typeof e.charset > "u" ? m.charset : e.charset, n = typeof e.duplicates > "u" ? m.duplicates : e.duplicates;
|
|
1831
|
-
if (n !== "combine" && n !== "first" && n !== "last")
|
|
1832
|
-
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
1833
|
-
var a = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : m.allowDots : !!e.allowDots;
|
|
1834
|
-
return {
|
|
1835
|
-
allowDots: a,
|
|
1836
|
-
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : m.allowEmptyArrays,
|
|
1837
|
-
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : m.allowPrototypes,
|
|
1838
|
-
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : m.allowSparse,
|
|
1839
|
-
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : m.arrayLimit,
|
|
1840
|
-
charset: r,
|
|
1841
|
-
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : m.charsetSentinel,
|
|
1842
|
-
comma: typeof e.comma == "boolean" ? e.comma : m.comma,
|
|
1843
|
-
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : m.decodeDotInKeys,
|
|
1844
|
-
decoder: typeof e.decoder == "function" ? e.decoder : m.decoder,
|
|
1845
|
-
delimiter: typeof e.delimiter == "string" || K.isRegExp(e.delimiter) ? e.delimiter : m.delimiter,
|
|
1846
|
-
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
1847
|
-
depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : m.depth,
|
|
1848
|
-
duplicates: n,
|
|
1849
|
-
ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
|
|
1850
|
-
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : m.interpretNumericEntities,
|
|
1851
|
-
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : m.parameterLimit,
|
|
1852
|
-
parseArrays: e.parseArrays !== !1,
|
|
1853
|
-
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : m.plainObjects,
|
|
1854
|
-
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : m.strictDepth,
|
|
1855
|
-
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : m.strictNullHandling,
|
|
1856
|
-
throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
|
|
1857
|
-
};
|
|
1858
|
-
}, "normalizeParseOptions"), Yo = /* @__PURE__ */ o(function(t, e) {
|
|
1859
|
-
var r = jo(e);
|
|
1860
|
-
if (t === "" || t === null || typeof t > "u")
|
|
1861
|
-
return r.plainObjects ? { __proto__: null } : {};
|
|
1862
|
-
for (var n = typeof t == "string" ? Qo(t, r) : t, a = r.plainObjects ? { __proto__: null } : {}, i = Object.keys(n), l = 0; l < i.length; ++l) {
|
|
1863
|
-
var s = i[l], u = Jo(s, n[s], r, typeof t == "string");
|
|
1864
|
-
a = K.merge(a, u, r);
|
|
1865
|
-
}
|
|
1866
|
-
return r.allowSparse === !0 ? a : K.compact(a);
|
|
1867
|
-
}, "parse$1"), Xo = Ho, Zo = Yo, ei = pt, ti = {
|
|
1868
|
-
formats: ei,
|
|
1869
|
-
parse: Zo,
|
|
1870
|
-
stringify: Xo
|
|
1871
|
-
};
|
|
1872
|
-
const ri = /* @__PURE__ */ Hr(ti), Zt = "1.6rem", er = 0.8, Xe = 3, ni = "layout1", pe = {
|
|
1873
|
-
palette: {
|
|
1874
|
-
mode: "light",
|
|
1875
|
-
text: {
|
|
1876
|
-
primary: "rgb(17, 24, 39)",
|
|
1877
|
-
secondary: "rgb(107, 114, 128)",
|
|
1878
|
-
disabled: "rgb(149, 156, 169)"
|
|
1879
|
-
},
|
|
1880
|
-
common: {
|
|
1881
|
-
black: "rgb(17, 24, 39)",
|
|
1882
|
-
white: "rgb(255, 255, 255)"
|
|
1883
|
-
},
|
|
1884
|
-
background: {
|
|
1885
|
-
paper: "#FFFFFF",
|
|
1886
|
-
default: "#f6f7f9"
|
|
1887
|
-
},
|
|
1888
|
-
primary: {
|
|
1889
|
-
main: "#232a2d"
|
|
1890
|
-
},
|
|
1891
|
-
secondary: {
|
|
1892
|
-
main: "#039BE5"
|
|
1893
|
-
},
|
|
1894
|
-
success: {
|
|
1895
|
-
main: "#2f7d31"
|
|
1896
|
-
},
|
|
1897
|
-
info: {
|
|
1898
|
-
main: "#9c27b0",
|
|
1899
|
-
contrastText: "#fff"
|
|
1900
|
-
},
|
|
1901
|
-
warning: {
|
|
1902
|
-
main: "#ed7d31",
|
|
1903
|
-
contrastText: "#fff"
|
|
1904
|
-
},
|
|
1905
|
-
error: {
|
|
1906
|
-
main: "#c00000"
|
|
1907
|
-
}
|
|
1908
|
-
}
|
|
1909
|
-
}, ai = b({}, pe, {
|
|
1910
|
-
palette: {
|
|
1911
|
-
background: {
|
|
1912
|
-
default: "#fff"
|
|
1913
|
-
}
|
|
1914
|
-
}
|
|
1915
|
-
}), oi = b({}, pe, {
|
|
1916
|
-
palette: {
|
|
1917
|
-
mode: "dark",
|
|
1918
|
-
background: {
|
|
1919
|
-
default: pe.palette.secondary.main
|
|
1920
|
-
}
|
|
1921
|
-
}
|
|
1922
|
-
});
|
|
1923
|
-
function Dr() {
|
|
1924
|
-
return typeof document < "u" && document.documentElement.dir === "rtl" ? "rtl" : "ltr";
|
|
1925
|
-
}
|
|
1926
|
-
o(Dr, "getDefaultDirection");
|
|
1927
|
-
function Rr(t) {
|
|
1928
|
-
const e = t && Et[t] ? t : ni;
|
|
1929
|
-
return {
|
|
1930
|
-
style: e,
|
|
1931
|
-
config: Et[e].defaults
|
|
1932
|
-
};
|
|
1933
|
-
}
|
|
1934
|
-
o(Rr, "getDefaultLayout");
|
|
1935
|
-
function Nr(t) {
|
|
1936
|
-
return {
|
|
1937
|
-
main: b({}, pe, t == null ? void 0 : t.default),
|
|
1938
|
-
navbar: b({}, ai, t == null ? void 0 : t.defaultNavbar),
|
|
1939
|
-
toolbar: b({}, oi, t == null ? void 0 : t.layoutSurfaceDark),
|
|
1940
|
-
footer: b({}, pe, t == null ? void 0 : t.defaultDark)
|
|
1941
|
-
};
|
|
1942
|
-
}
|
|
1943
|
-
o(Nr, "getDefaultThemeSettings");
|
|
1944
|
-
const ii = {
|
|
1945
|
-
layout: Rr(),
|
|
1946
|
-
customScrollbars: !0,
|
|
1947
|
-
direction: Dr(),
|
|
1948
|
-
theme: Nr(),
|
|
1949
|
-
defaultAuth: ["admin"],
|
|
1950
|
-
loginRedirectUrl: "/"
|
|
1951
|
-
};
|
|
1952
|
-
function li() {
|
|
1953
|
-
const t = ri.parse(window.location.search, { ignoreQueryPrefix: !0 }), { defaultSettings: e = {} } = t;
|
|
1954
|
-
return typeof e == "string" ? JSON.parse(e) : {};
|
|
1955
|
-
}
|
|
1956
|
-
o(li, "getParsedQuerySettings");
|
|
1957
|
-
function yt(t, e) {
|
|
1958
|
-
var a, i;
|
|
1959
|
-
const r = (a = e == null ? void 0 : e.layout) == null ? void 0 : a.style, n = !!r && r !== ((i = t == null ? void 0 : t.layout) == null ? void 0 : i.style);
|
|
1960
|
-
return b(
|
|
1961
|
-
{},
|
|
1962
|
-
t,
|
|
1963
|
-
n ? { layout: Rr(r) } : {},
|
|
1964
|
-
e
|
|
1965
|
-
);
|
|
1966
|
-
}
|
|
1967
|
-
o(yt, "generateSettings");
|
|
1968
|
-
function ui(t, e) {
|
|
1969
|
-
const r = b({}, ii, {
|
|
1970
|
-
direction: (t == null ? void 0 : t.direction) ?? Dr(),
|
|
1971
|
-
theme: Nr(e)
|
|
1972
|
-
});
|
|
1973
|
-
return yt(
|
|
1974
|
-
r,
|
|
1975
|
-
b({}, t, li())
|
|
1976
|
-
);
|
|
1977
|
-
}
|
|
1978
|
-
o(ui, "createInitialOwpSettings");
|
|
1979
|
-
const si = {
|
|
1980
|
-
typography: {
|
|
1981
|
-
fontFamily: ["Pretendard", "Roboto", '"Helvetica"', "Arial", "sans-serif"].join(","),
|
|
1982
|
-
fontWeightLight: 300,
|
|
1983
|
-
fontWeightRegular: 400,
|
|
1984
|
-
fontWeightMedium: 500
|
|
1985
|
-
},
|
|
1986
|
-
components: {
|
|
1987
|
-
MuiSvgIcon: {
|
|
1988
|
-
defaultProps: {},
|
|
1989
|
-
styleOverrides: {
|
|
1990
|
-
root: {},
|
|
1991
|
-
sizeSmall: {
|
|
1992
|
-
width: 16,
|
|
1993
|
-
height: 16
|
|
1994
|
-
},
|
|
1995
|
-
sizeMedium: {
|
|
1996
|
-
width: 20,
|
|
1997
|
-
height: 20
|
|
1998
|
-
},
|
|
1999
|
-
sizeLarge: {
|
|
2000
|
-
width: 24,
|
|
2001
|
-
height: 24
|
|
2002
|
-
}
|
|
2003
|
-
}
|
|
2004
|
-
},
|
|
2005
|
-
MuiAppBar: {
|
|
2006
|
-
defaultProps: {
|
|
2007
|
-
enableColorOnDark: !0
|
|
2008
|
-
},
|
|
2009
|
-
styleOverrides: {
|
|
2010
|
-
root: {
|
|
2011
|
-
backgroundImage: "none"
|
|
2012
|
-
}
|
|
2013
|
-
}
|
|
2014
|
-
},
|
|
2015
|
-
MuiPickersPopper: {
|
|
2016
|
-
styleOverrides: {
|
|
2017
|
-
root: {
|
|
2018
|
-
zIndex: 99999
|
|
2019
|
-
}
|
|
2020
|
-
}
|
|
2021
|
-
},
|
|
2022
|
-
MuiAutocomplete: {
|
|
2023
|
-
styleOverrides: {
|
|
2024
|
-
popper: {
|
|
2025
|
-
zIndex: 99999
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
MuiButtonBase: {
|
|
2030
|
-
defaultProps: {
|
|
2031
|
-
// disableRipple: true
|
|
2032
|
-
},
|
|
2033
|
-
styleOverrides: {
|
|
2034
|
-
root: {}
|
|
2035
|
-
}
|
|
2036
|
-
},
|
|
2037
|
-
MuiIconButton: {
|
|
2038
|
-
styleOverrides: {
|
|
2039
|
-
root: {
|
|
2040
|
-
borderRadius: 8
|
|
2041
|
-
},
|
|
2042
|
-
sizeMedium: {
|
|
2043
|
-
width: 36,
|
|
2044
|
-
height: 36,
|
|
2045
|
-
maxHeight: 36
|
|
2046
|
-
},
|
|
2047
|
-
sizeSmall: {
|
|
2048
|
-
width: 32,
|
|
2049
|
-
height: 32,
|
|
2050
|
-
maxHeight: 32
|
|
2051
|
-
},
|
|
2052
|
-
sizeLarge: {
|
|
2053
|
-
width: 40,
|
|
2054
|
-
height: 40,
|
|
2055
|
-
maxHeight: 40
|
|
2056
|
-
}
|
|
2057
|
-
}
|
|
2058
|
-
},
|
|
2059
|
-
MuiBadge: {
|
|
2060
|
-
defaultProps: {},
|
|
2061
|
-
styleOverrides: {
|
|
2062
|
-
root: {}
|
|
2063
|
-
}
|
|
2064
|
-
},
|
|
2065
|
-
MuiAvatar: {
|
|
2066
|
-
defaultProps: {},
|
|
2067
|
-
styleOverrides: {
|
|
2068
|
-
root: {
|
|
2069
|
-
width: 36,
|
|
2070
|
-
height: 36
|
|
2071
|
-
}
|
|
2072
|
-
}
|
|
2073
|
-
},
|
|
2074
|
-
MuiButton: {
|
|
2075
|
-
defaultProps: {
|
|
2076
|
-
variant: "text",
|
|
2077
|
-
color: "inherit"
|
|
2078
|
-
},
|
|
2079
|
-
styleOverrides: {
|
|
2080
|
-
root: {
|
|
2081
|
-
textTransform: "none"
|
|
2082
|
-
// lineHeight: 1,
|
|
2083
|
-
},
|
|
2084
|
-
sizeMedium: {
|
|
2085
|
-
borderRadius: 8,
|
|
2086
|
-
height: 36,
|
|
2087
|
-
minHeight: 36,
|
|
2088
|
-
maxHeight: 36
|
|
2089
|
-
},
|
|
2090
|
-
sizeSmall: {
|
|
2091
|
-
borderRadius: 8,
|
|
2092
|
-
height: 32,
|
|
2093
|
-
minHeight: 32,
|
|
2094
|
-
maxHeight: 32
|
|
2095
|
-
},
|
|
2096
|
-
sizeLarge: {
|
|
2097
|
-
height: 40,
|
|
2098
|
-
minHeight: 40,
|
|
2099
|
-
maxHeight: 40,
|
|
2100
|
-
borderRadius: 8
|
|
2101
|
-
},
|
|
2102
|
-
contained: {
|
|
2103
|
-
boxShadow: "none",
|
|
2104
|
-
"&:hover, &:focus": {
|
|
2105
|
-
boxShadow: "none"
|
|
2106
|
-
}
|
|
2107
|
-
}
|
|
2108
|
-
}
|
|
2109
|
-
},
|
|
2110
|
-
MuiButtonGroup: {
|
|
2111
|
-
defaultProps: {
|
|
2112
|
-
color: "secondary"
|
|
2113
|
-
},
|
|
2114
|
-
styleOverrides: {
|
|
2115
|
-
contained: {
|
|
2116
|
-
borderRadius: 8
|
|
2117
|
-
}
|
|
2118
|
-
}
|
|
2119
|
-
},
|
|
2120
|
-
MuiTab: {
|
|
2121
|
-
styleOverrides: {
|
|
2122
|
-
root: {
|
|
2123
|
-
textTransform: "none"
|
|
2124
|
-
}
|
|
2125
|
-
}
|
|
2126
|
-
},
|
|
2127
|
-
MuiDrawer: {
|
|
2128
|
-
styleOverrides: {
|
|
2129
|
-
paper: {}
|
|
2130
|
-
}
|
|
2131
|
-
},
|
|
2132
|
-
MuiDialog: {
|
|
2133
|
-
styleOverrides: {
|
|
2134
|
-
paper: {
|
|
2135
|
-
borderRadius: 12
|
|
2136
|
-
}
|
|
2137
|
-
}
|
|
2138
|
-
},
|
|
2139
|
-
MuiPaper: {
|
|
2140
|
-
styleOverrides: {
|
|
2141
|
-
root: {
|
|
2142
|
-
backgroundImage: "none"
|
|
2143
|
-
},
|
|
2144
|
-
rounded: {
|
|
2145
|
-
borderRadius: 12
|
|
2146
|
-
}
|
|
2147
|
-
}
|
|
2148
|
-
},
|
|
2149
|
-
MuiCard: {
|
|
2150
|
-
styleOverrides: {}
|
|
2151
|
-
},
|
|
2152
|
-
MuiPopover: {
|
|
2153
|
-
styleOverrides: {
|
|
2154
|
-
paper: {
|
|
2155
|
-
borderRadius: 8
|
|
2156
|
-
}
|
|
2157
|
-
}
|
|
2158
|
-
},
|
|
2159
|
-
MuiTextField: {
|
|
2160
|
-
defaultProps: {
|
|
2161
|
-
color: "secondary"
|
|
2162
|
-
},
|
|
2163
|
-
styleOverrides: {
|
|
2164
|
-
root: {
|
|
2165
|
-
"& > .MuiFormHelperText-root": {
|
|
2166
|
-
marginLeft: 11
|
|
2167
|
-
}
|
|
2168
|
-
}
|
|
2169
|
-
}
|
|
2170
|
-
},
|
|
2171
|
-
MuiInputLabel: {
|
|
2172
|
-
defaultProps: {
|
|
2173
|
-
color: "secondary"
|
|
2174
|
-
},
|
|
2175
|
-
styleOverrides: {
|
|
2176
|
-
shrink: {
|
|
2177
|
-
transform: `translate(11px, -7px) scale(${er})`
|
|
2178
|
-
},
|
|
2179
|
-
root: {
|
|
2180
|
-
fontSize: Zt,
|
|
2181
|
-
transform: "translate(11px, 8px) scale(1)",
|
|
2182
|
-
"&.Mui-focused": {},
|
|
2183
|
-
"&.MuiInputLabel-outlined.MuiInputLabel-shrink": {
|
|
2184
|
-
lineHeight: 1.2,
|
|
2185
|
-
zIndex: 1,
|
|
2186
|
-
"&::before": {
|
|
2187
|
-
content: '""',
|
|
2188
|
-
position: "absolute",
|
|
2189
|
-
inset: `0 -${Xe}px`,
|
|
2190
|
-
backgroundColor: "var(--mui-palette-background-paper)",
|
|
2191
|
-
borderRadius: 4,
|
|
2192
|
-
zIndex: -1
|
|
2193
|
-
}
|
|
2194
|
-
}
|
|
2195
|
-
}
|
|
2196
|
-
}
|
|
2197
|
-
},
|
|
2198
|
-
MuiSelect: {
|
|
2199
|
-
defaultProps: {
|
|
2200
|
-
color: "secondary"
|
|
2201
|
-
},
|
|
2202
|
-
styleOverrides: {
|
|
2203
|
-
select: {
|
|
2204
|
-
minHeight: 0
|
|
2205
|
-
}
|
|
2206
|
-
}
|
|
2207
|
-
},
|
|
2208
|
-
MuiFormHelperText: {
|
|
2209
|
-
styleOverrides: {
|
|
2210
|
-
root: {}
|
|
2211
|
-
}
|
|
2212
|
-
},
|
|
2213
|
-
MuiInputAdornment: {
|
|
2214
|
-
styleOverrides: {
|
|
2215
|
-
root: {
|
|
2216
|
-
marginRight: 0
|
|
2217
|
-
}
|
|
2218
|
-
}
|
|
2219
|
-
},
|
|
2220
|
-
MuiInputBase: {
|
|
2221
|
-
styleOverrides: {
|
|
2222
|
-
root: {
|
|
2223
|
-
// height: 36,
|
|
2224
|
-
minHeight: 36,
|
|
2225
|
-
borderRadius: 8,
|
|
2226
|
-
lineHeight: 1
|
|
2227
|
-
},
|
|
2228
|
-
legend: {
|
|
2229
|
-
fontSize: "0.75em"
|
|
2230
|
-
},
|
|
2231
|
-
input: {
|
|
2232
|
-
padding: "5px 11px"
|
|
2233
|
-
},
|
|
2234
|
-
adornedStart: {
|
|
2235
|
-
paddingLeft: "11px!important"
|
|
2236
|
-
},
|
|
2237
|
-
sizeSmall: {
|
|
2238
|
-
height: 32,
|
|
2239
|
-
minHeight: 32,
|
|
2240
|
-
borderRadius: 8
|
|
2241
|
-
},
|
|
2242
|
-
sizeMedium: {
|
|
2243
|
-
height: 36,
|
|
2244
|
-
minHeight: 36,
|
|
2245
|
-
borderRadius: 8
|
|
2246
|
-
},
|
|
2247
|
-
sizeLarge: {
|
|
2248
|
-
height: 40,
|
|
2249
|
-
minHeight: 40,
|
|
2250
|
-
borderRadius: 8
|
|
2251
|
-
}
|
|
2252
|
-
}
|
|
2253
|
-
},
|
|
2254
|
-
MuiOutlinedInput: {
|
|
2255
|
-
defaultProps: {
|
|
2256
|
-
color: "secondary"
|
|
2257
|
-
},
|
|
2258
|
-
styleOverrides: {
|
|
2259
|
-
root: {
|
|
2260
|
-
// paddingLeft: 11
|
|
2261
|
-
},
|
|
2262
|
-
input: {
|
|
2263
|
-
padding: "5px 11px"
|
|
2264
|
-
}
|
|
2265
|
-
}
|
|
2266
|
-
},
|
|
2267
|
-
MuiFilledInput: {
|
|
2268
|
-
styleOverrides: {
|
|
2269
|
-
root: {
|
|
2270
|
-
borderRadius: 8,
|
|
2271
|
-
"&:before, &:after": {
|
|
2272
|
-
display: "none"
|
|
2273
|
-
}
|
|
2274
|
-
},
|
|
2275
|
-
input: {
|
|
2276
|
-
padding: "5px 11px"
|
|
2277
|
-
}
|
|
2278
|
-
}
|
|
2279
|
-
},
|
|
2280
|
-
MuiSlider: {
|
|
2281
|
-
defaultProps: {
|
|
2282
|
-
color: "secondary"
|
|
2283
|
-
}
|
|
2284
|
-
},
|
|
2285
|
-
MuiCheckbox: {
|
|
2286
|
-
defaultProps: {
|
|
2287
|
-
color: "secondary"
|
|
2288
|
-
}
|
|
2289
|
-
},
|
|
2290
|
-
MuiRadio: {
|
|
2291
|
-
defaultProps: {
|
|
2292
|
-
color: "secondary"
|
|
2293
|
-
}
|
|
2294
|
-
},
|
|
2295
|
-
MuiSwitch: {
|
|
2296
|
-
defaultProps: {
|
|
2297
|
-
color: "secondary"
|
|
2298
|
-
}
|
|
2299
|
-
},
|
|
2300
|
-
MuiTypography: {
|
|
2301
|
-
variants: [
|
|
2302
|
-
{
|
|
2303
|
-
props: { color: "text.secondary" },
|
|
2304
|
-
style: {
|
|
2305
|
-
color: "text.secondary"
|
|
2306
|
-
}
|
|
2307
|
-
}
|
|
2308
|
-
]
|
|
2309
|
-
},
|
|
2310
|
-
MuiFormControl: {
|
|
2311
|
-
styleOverrides: {
|
|
2312
|
-
root: {
|
|
2313
|
-
"& .MuiInputLabel-outlined.MuiInputLabel-shrink:not(:empty) + .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline legend": {
|
|
2314
|
-
fontSize: `calc(${Zt} * ${er})`,
|
|
2315
|
-
maxWidth: "100%"
|
|
2316
|
-
},
|
|
2317
|
-
"& .MuiInputLabel-outlined.MuiInputLabel-shrink:not(:empty) + .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline legend > span:not(.notranslate)": {
|
|
2318
|
-
paddingLeft: `${Xe}px`,
|
|
2319
|
-
paddingRight: `${Xe}px`
|
|
2320
|
-
}
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
}
|
|
2324
|
-
}
|
|
2325
|
-
}, ci = {
|
|
2326
|
-
typography: {
|
|
2327
|
-
htmlFontSize: 10,
|
|
2328
|
-
fontSize: 13,
|
|
2329
|
-
body1: {
|
|
2330
|
-
fontSize: "1.3rem"
|
|
2331
|
-
},
|
|
2332
|
-
body2: {
|
|
2333
|
-
fontSize: "1.3rem"
|
|
2334
|
-
}
|
|
2335
|
-
}
|
|
2336
|
-
}, $i = {
|
|
2337
|
-
default: {
|
|
2338
|
-
palette: {
|
|
2339
|
-
mode: "light",
|
|
2340
|
-
primary: Pt,
|
|
2341
|
-
secondary: {
|
|
2342
|
-
light: j[400],
|
|
2343
|
-
main: j[600],
|
|
2344
|
-
dark: j[700]
|
|
2345
|
-
},
|
|
2346
|
-
error: xt
|
|
2347
|
-
},
|
|
2348
|
-
status: {
|
|
2349
|
-
danger: "orange"
|
|
2350
|
-
}
|
|
2351
|
-
},
|
|
2352
|
-
defaultDark: {
|
|
2353
|
-
palette: {
|
|
2354
|
-
mode: "dark",
|
|
2355
|
-
primary: Pt,
|
|
2356
|
-
secondary: {
|
|
2357
|
-
light: j[400],
|
|
2358
|
-
main: j[600],
|
|
2359
|
-
dark: j[700]
|
|
2360
|
-
},
|
|
2361
|
-
error: xt
|
|
2362
|
-
},
|
|
2363
|
-
status: {
|
|
2364
|
-
danger: "orange"
|
|
2365
|
-
}
|
|
2366
|
-
}
|
|
2367
|
-
};
|
|
2368
|
-
function fi(t) {
|
|
2369
|
-
const e = ir(t);
|
|
2370
|
-
return {
|
|
2371
|
-
border: /* @__PURE__ */ o((r = 1) => ({
|
|
2372
|
-
borderWidth: r,
|
|
2373
|
-
borderStyle: "solid",
|
|
2374
|
-
borderColor: e.palette.divider
|
|
2375
|
-
}), "border"),
|
|
2376
|
-
borderLeft: /* @__PURE__ */ o((r = 1) => ({
|
|
2377
|
-
borderLeftWidth: r,
|
|
2378
|
-
borderStyle: "solid",
|
|
2379
|
-
borderColor: e.palette.divider
|
|
2380
|
-
}), "borderLeft"),
|
|
2381
|
-
borderRight: /* @__PURE__ */ o((r = 1) => ({
|
|
2382
|
-
borderRightWidth: r,
|
|
2383
|
-
borderStyle: "solid",
|
|
2384
|
-
borderColor: e.palette.divider
|
|
2385
|
-
}), "borderRight"),
|
|
2386
|
-
borderTop: /* @__PURE__ */ o((r = 1) => ({
|
|
2387
|
-
borderTopWidth: r,
|
|
2388
|
-
borderStyle: "solid",
|
|
2389
|
-
borderColor: e.palette.divider
|
|
2390
|
-
}), "borderTop"),
|
|
2391
|
-
borderBottom: /* @__PURE__ */ o((r = 1) => ({
|
|
2392
|
-
borderBottomWidth: r,
|
|
2393
|
-
borderStyle: "solid",
|
|
2394
|
-
borderColor: e.palette.divider
|
|
2395
|
-
}), "borderBottom")
|
|
2396
|
-
};
|
|
2397
|
-
}
|
|
2398
|
-
o(fi, "extendThemeWithMixins");
|
|
2399
|
-
const tr = {
|
|
2400
|
-
open: !0,
|
|
2401
|
-
mobileOpen: !1,
|
|
2402
|
-
foldedOpen: !1
|
|
2403
|
-
}, dt = it({
|
|
2404
|
-
name: "navbar",
|
|
2405
|
-
initialState: tr,
|
|
2406
|
-
reducers: {
|
|
2407
|
-
navbarToggleFolded: /* @__PURE__ */ o((t) => {
|
|
2408
|
-
t.foldedOpen = !t.foldedOpen;
|
|
2409
|
-
}, "navbarToggleFolded"),
|
|
2410
|
-
navbarOpenFolded: /* @__PURE__ */ o((t) => {
|
|
2411
|
-
t.foldedOpen = !0;
|
|
2412
|
-
}, "navbarOpenFolded"),
|
|
2413
|
-
navbarCloseFolded: /* @__PURE__ */ o((t) => {
|
|
2414
|
-
t.foldedOpen = !1;
|
|
2415
|
-
}, "navbarCloseFolded"),
|
|
2416
|
-
navbarToggleMobile: /* @__PURE__ */ o((t) => {
|
|
2417
|
-
t.mobileOpen = !t.mobileOpen;
|
|
2418
|
-
}, "navbarToggleMobile"),
|
|
2419
|
-
navbarOpenMobile: /* @__PURE__ */ o((t) => {
|
|
2420
|
-
t.mobileOpen = !0;
|
|
2421
|
-
}, "navbarOpenMobile"),
|
|
2422
|
-
navbarCloseMobile: /* @__PURE__ */ o((t) => {
|
|
2423
|
-
t.mobileOpen = !1;
|
|
2424
|
-
}, "navbarCloseMobile"),
|
|
2425
|
-
navbarClose: /* @__PURE__ */ o((t) => {
|
|
2426
|
-
t.open = !1;
|
|
2427
|
-
}, "navbarClose"),
|
|
2428
|
-
navbarOpen: /* @__PURE__ */ o((t) => {
|
|
2429
|
-
t.open = !0;
|
|
2430
|
-
}, "navbarOpen"),
|
|
2431
|
-
navbarToggle: /* @__PURE__ */ o((t) => {
|
|
2432
|
-
t.open = !t.open;
|
|
2433
|
-
}, "navbarToggle"),
|
|
2434
|
-
resetNavbar: /* @__PURE__ */ o(() => tr, "resetNavbar")
|
|
2435
|
-
},
|
|
2436
|
-
selectors: {
|
|
2437
|
-
selectOwpNavbar: /* @__PURE__ */ o((t) => t, "selectOwpNavbar")
|
|
2438
|
-
}
|
|
2439
|
-
}), {
|
|
2440
|
-
navbarToggleFolded: Mi,
|
|
2441
|
-
navbarOpenFolded: Fi,
|
|
2442
|
-
navbarCloseFolded: Ti,
|
|
2443
|
-
navbarOpen: Di,
|
|
2444
|
-
navbarClose: Ri,
|
|
2445
|
-
navbarToggle: Ni,
|
|
2446
|
-
navbarOpenMobile: Li,
|
|
2447
|
-
navbarCloseMobile: Ci,
|
|
2448
|
-
navbarToggleMobile: _i,
|
|
2449
|
-
resetNavbar: Bi
|
|
2450
|
-
} = dt.actions, ki = /* @__PURE__ */ o((t) => t.navbar, "selectOwpNavbar");
|
|
2451
|
-
dt.reducer;
|
|
2452
|
-
function pi(t) {
|
|
2453
|
-
return t = t || {}, Xr(t, {
|
|
2454
|
-
id: en(),
|
|
2455
|
-
title: "",
|
|
2456
|
-
translate: "",
|
|
2457
|
-
auth: null,
|
|
2458
|
-
subtitle: "",
|
|
2459
|
-
icon: "",
|
|
2460
|
-
iconClass: "",
|
|
2461
|
-
url: "",
|
|
2462
|
-
target: "",
|
|
2463
|
-
type: "item",
|
|
2464
|
-
sx: {},
|
|
2465
|
-
disabled: !1,
|
|
2466
|
-
active: !1,
|
|
2467
|
-
exact: !1,
|
|
2468
|
-
end: !1,
|
|
2469
|
-
badge: null,
|
|
2470
|
-
children: []
|
|
2471
|
-
});
|
|
2472
|
-
}
|
|
2473
|
-
o(pi, "OwpNavItemModel");
|
|
2474
|
-
const wt = class wt {
|
|
2475
|
-
static selectById(e, r) {
|
|
2476
|
-
for (let n = 0; n < e.length; n += 1) {
|
|
2477
|
-
const a = e[n];
|
|
2478
|
-
if (a.id === r)
|
|
2479
|
-
return a;
|
|
2480
|
-
if (a.children) {
|
|
2481
|
-
const i = this.selectById(a.children, r);
|
|
2482
|
-
if (i)
|
|
2483
|
-
return i;
|
|
2484
|
-
}
|
|
2485
|
-
}
|
|
2486
|
-
}
|
|
2487
|
-
static appendNavItem(e, r, n = null) {
|
|
2488
|
-
return n ? e.map((a) => {
|
|
2489
|
-
if (a.id === n) {
|
|
2490
|
-
const i = { ...a };
|
|
2491
|
-
return i.children = [...a.children || [], r], i;
|
|
2492
|
-
}
|
|
2493
|
-
return a.children ? { ...a, children: this.appendNavItem(a.children, r, n) } : { ...a };
|
|
2494
|
-
}) : [...e, r];
|
|
2495
|
-
}
|
|
2496
|
-
static prependNavItem(e, r, n = null) {
|
|
2497
|
-
return n ? e.map((a) => {
|
|
2498
|
-
if (a.id === n) {
|
|
2499
|
-
const i = { ...a };
|
|
2500
|
-
return i.children = [r, ...a.children || []], i;
|
|
2501
|
-
}
|
|
2502
|
-
return a.children ? { ...a, children: this.prependNavItem(a.children, r, n) } : { ...a };
|
|
2503
|
-
}) : [r, ...e];
|
|
2504
|
-
}
|
|
2505
|
-
static filterNavigationByPermission(e, r) {
|
|
2506
|
-
return e.reduce((n, a) => {
|
|
2507
|
-
const i = a.children ? this.filterNavigationByPermission(a.children, r) : [];
|
|
2508
|
-
if (this.hasPermission(a.auth, r) || i.length) {
|
|
2509
|
-
const l = { ...a };
|
|
2510
|
-
l.children = i.length ? i : void 0, n.push(l);
|
|
2511
|
-
}
|
|
2512
|
-
return n;
|
|
2513
|
-
}, []);
|
|
2514
|
-
}
|
|
2515
|
-
/**
|
|
2516
|
-
* The removeNavItem function removes a navigation item by its ID.
|
|
2517
|
-
*/
|
|
2518
|
-
static removeNavItem(e, r) {
|
|
2519
|
-
return e.reduce((n, a) => (a.id !== r && (a.children ? n.push({
|
|
2520
|
-
...a,
|
|
2521
|
-
children: this.removeNavItem(a.children, r)
|
|
2522
|
-
}) : n.push(a)), n), []);
|
|
2523
|
-
}
|
|
2524
|
-
/**
|
|
2525
|
-
* The updateNavItem function updates a navigation item by its ID with new data.
|
|
2526
|
-
*/
|
|
2527
|
-
static updateNavItem(e, r, n) {
|
|
2528
|
-
return e.map((a) => a.id === r ? b({}, a, n) : a.children ? {
|
|
2529
|
-
...a,
|
|
2530
|
-
children: this.updateNavItem(a.children, r, n)
|
|
2531
|
-
} : a);
|
|
2532
|
-
}
|
|
2533
|
-
/**
|
|
2534
|
-
* Convert to flat navigation
|
|
2535
|
-
*/
|
|
2536
|
-
static getFlatNavigation(e = [], r = []) {
|
|
2537
|
-
for (let n = 0; n < e.length; n += 1) {
|
|
2538
|
-
const a = e[n];
|
|
2539
|
-
if (a.type === "item") {
|
|
2540
|
-
const i = pi(a);
|
|
2541
|
-
r.push(i);
|
|
2542
|
-
}
|
|
2543
|
-
(a.type === "collapse" || a.type === "group") && a.children && this.getFlatNavigation(a.children, r);
|
|
2544
|
-
}
|
|
2545
|
-
return r;
|
|
2546
|
-
}
|
|
2547
|
-
// @ts-expect-error
|
|
2548
|
-
static hasPermission(e, r) {
|
|
2549
|
-
return e == null ? !0 : e.length === 0 ? !r || r.length === 0 : r && Array.isArray(e) && Array.isArray(r) ? e.some((n) => r.indexOf(n) >= 0) : e.includes(r);
|
|
2550
|
-
}
|
|
2551
|
-
static flattenNavigation(e, r = "") {
|
|
2552
|
-
return e.flatMap((n, a) => {
|
|
2553
|
-
var s;
|
|
2554
|
-
const i = r ? `${r}.${a + 1}` : `${a + 1}`;
|
|
2555
|
-
let l = [
|
|
2556
|
-
{ ...n, order: i, children: (s = n.children) == null ? void 0 : s.map((u) => u.id) }
|
|
2557
|
-
];
|
|
2558
|
-
return n.children && (l = l.concat(this.flattenNavigation(n.children, i))), l;
|
|
2559
|
-
});
|
|
2560
|
-
}
|
|
2561
|
-
static unflattenNavigation(e) {
|
|
2562
|
-
const r = {};
|
|
2563
|
-
e.forEach((a) => {
|
|
2564
|
-
r[a.id] = { ...a, children: [] };
|
|
2565
|
-
});
|
|
2566
|
-
const n = [];
|
|
2567
|
-
return e.forEach((a) => {
|
|
2568
|
-
if (a.order.includes(".")) {
|
|
2569
|
-
const i = a.order.substring(0, a.order.lastIndexOf(".")), l = e.find((s) => s.order === i);
|
|
2570
|
-
l && r[l.id].children.push(r[a.id]);
|
|
2571
|
-
} else
|
|
2572
|
-
n.push(r[a.id]);
|
|
2573
|
-
}), n.map((a) => {
|
|
2574
|
-
const { ...i } = a;
|
|
2575
|
-
return i;
|
|
2576
|
-
});
|
|
2577
|
-
}
|
|
2578
|
-
};
|
|
2579
|
-
o(wt, "OwpNavigationHelper");
|
|
2580
|
-
let ye = wt;
|
|
2581
|
-
const vt = Br(), yi = vt.getInitialState([]), rr = yi, {
|
|
2582
|
-
selectAll: di,
|
|
2583
|
-
selectIds: Wi,
|
|
2584
|
-
selectById: zi
|
|
2585
|
-
} = vt.getSelectors((t) => t.navigation), ht = it({
|
|
2586
|
-
name: "navigation",
|
|
2587
|
-
initialState: rr,
|
|
2588
|
-
reducers: {
|
|
2589
|
-
setNavigation(t, e) {
|
|
2590
|
-
return vt.setAll(t, ye.flattenNavigation(e.payload));
|
|
2591
|
-
},
|
|
2592
|
-
resetNavigation: /* @__PURE__ */ o(() => rr, "resetNavigation")
|
|
2593
|
-
}
|
|
2594
|
-
}), { setNavigation: Ui, resetNavigation: Hi } = ht.actions, vi = P(
|
|
2595
|
-
[di],
|
|
2596
|
-
(t, e) => {
|
|
2597
|
-
const r = ye.unflattenNavigation(t);
|
|
2598
|
-
function n(i) {
|
|
2599
|
-
return i == null ? void 0 : i.map((l) => ({
|
|
2600
|
-
hasPermission: !!Gr.hasPermission(l == null ? void 0 : l.auth, e),
|
|
2601
|
-
...l,
|
|
2602
|
-
...l != null && l.translate && (l != null && l.title) ? { title: Kr.t(`navigation:${l == null ? void 0 : l.translate}`) } : {},
|
|
2603
|
-
...l != null && l.children ? { children: n(l == null ? void 0 : l.children) } : {}
|
|
2604
|
-
}));
|
|
2605
|
-
}
|
|
2606
|
-
return o(n, "setAdditionalData"), n(r);
|
|
2607
|
-
}
|
|
2608
|
-
);
|
|
2609
|
-
P([vi], (t) => ye.flattenNavigation(t));
|
|
2610
|
-
ht.reducer;
|
|
2611
|
-
const hi = {
|
|
2612
|
-
primary: "rgb(17, 24, 39)",
|
|
2613
|
-
secondary: "rgb(107, 114, 128)",
|
|
2614
|
-
disabled: "rgb(149, 156, 169)"
|
|
2615
|
-
}, gi = {
|
|
2616
|
-
primary: "rgb(255,255,255)",
|
|
2617
|
-
secondary: "rgb(148, 163, 184)",
|
|
2618
|
-
disabled: "rgb(156, 163, 175)"
|
|
2619
|
-
}, Gi = ar(
|
|
2620
|
-
"owpSettings/changeOwpTheme",
|
|
2621
|
-
async (t, { dispatch: e, getState: r }) => {
|
|
2622
|
-
const a = r().owpSettings, { navbar: i, footer: l, toolbar: s, main: u } = t, f = {
|
|
2623
|
-
...a.current,
|
|
2624
|
-
theme: {
|
|
2625
|
-
main: u,
|
|
2626
|
-
navbar: i,
|
|
2627
|
-
toolbar: s,
|
|
2628
|
-
footer: l
|
|
2629
|
-
}
|
|
2630
|
-
};
|
|
2631
|
-
return e(Lr(f));
|
|
2632
|
-
}
|
|
2633
|
-
), Ze = ui(), nr = {
|
|
2634
|
-
initial: Ze,
|
|
2635
|
-
defaults: b({}, Ze),
|
|
2636
|
-
current: b({}, Ze)
|
|
2637
|
-
}, Lr = ar(
|
|
2638
|
-
"owpSettings/setDefaultSettings",
|
|
2639
|
-
async (t, { getState: e }) => {
|
|
2640
|
-
const n = e().owpSettings, a = yt(n.defaults, t);
|
|
2641
|
-
return {
|
|
2642
|
-
...n,
|
|
2643
|
-
defaults: b({}, a),
|
|
2644
|
-
current: b({}, a)
|
|
2645
|
-
};
|
|
2646
|
-
}
|
|
2647
|
-
), A = it({
|
|
2648
|
-
name: "owpSettings",
|
|
2649
|
-
initialState: nr,
|
|
2650
|
-
reducers: {
|
|
2651
|
-
setSettings: /* @__PURE__ */ o((t, e) => {
|
|
2652
|
-
const r = yt(t.defaults, e.payload);
|
|
2653
|
-
return {
|
|
2654
|
-
...t,
|
|
2655
|
-
current: r
|
|
2656
|
-
};
|
|
2657
|
-
}, "setSettings"),
|
|
2658
|
-
setInitialSettings: /* @__PURE__ */ o(() => b({}, nr), "setInitialSettings"),
|
|
2659
|
-
resetSettings: /* @__PURE__ */ o((t) => ({
|
|
2660
|
-
...t,
|
|
2661
|
-
defaults: b({}, t.defaults),
|
|
2662
|
-
current: b({}, t.defaults)
|
|
2663
|
-
}), "resetSettings")
|
|
2664
|
-
},
|
|
2665
|
-
extraReducers: /* @__PURE__ */ o((t) => {
|
|
2666
|
-
t.addCase(Lr.fulfilled, (e, r) => r.payload);
|
|
2667
|
-
}, "extraReducers"),
|
|
2668
|
-
selectors: {
|
|
2669
|
-
selectOwpSettings: /* @__PURE__ */ o((t) => t, "selectOwpSettings"),
|
|
2670
|
-
selectOwpSettingsDefaults: /* @__PURE__ */ o((t) => t.defaults, "selectOwpSettingsDefaults"),
|
|
2671
|
-
selectOwpSettingsCurrent: /* @__PURE__ */ o((t) => t.current, "selectOwpSettingsCurrent"),
|
|
2672
|
-
selectOwpCurrentSettings: /* @__PURE__ */ o((t) => t.current, "selectOwpCurrentSettings"),
|
|
2673
|
-
getDirection: /* @__PURE__ */ o((t) => t.current.direction, "getDirection"),
|
|
2674
|
-
getMainTheme: /* @__PURE__ */ o((t) => t.current.theme.main, "getMainTheme"),
|
|
2675
|
-
getNavbarTheme: /* @__PURE__ */ o((t) => t.current.theme.navbar, "getNavbarTheme"),
|
|
2676
|
-
getToolbarTheme: /* @__PURE__ */ o((t) => t.current.theme.toolbar, "getToolbarTheme"),
|
|
2677
|
-
getFooterTheme: /* @__PURE__ */ o((t) => t.current.theme.footer, "getFooterTheme"),
|
|
2678
|
-
selectOwpCurrentLayoutConfig: /* @__PURE__ */ o((t) => t.current.layout.config, "selectOwpCurrentLayoutConfig"),
|
|
2679
|
-
selectOwpDefaultSettings: /* @__PURE__ */ o((t) => t.defaults, "selectOwpDefaultSettings"),
|
|
2680
|
-
selectCustomScrollbarsEnabled: /* @__PURE__ */ o((t) => t.current.customScrollbars, "selectCustomScrollbarsEnabled")
|
|
2681
|
-
}
|
|
2682
|
-
}), qi = A.selectors.selectOwpCurrentLayoutConfig, Ki = A.selectors.selectOwpCurrentSettings, Qi = A.selectors.selectOwpSettings, Vi = A.selectors.selectOwpSettingsDefaults, Ji = A.selectors.selectOwpSettingsCurrent, ji = A.selectors.selectOwpDefaultSettings, Yi = A.selectors.selectCustomScrollbarsEnabled, E = A.selectors.getDirection, gt = A.selectors.getMainTheme, mt = A.selectors.getNavbarTheme, bt = A.selectors.getToolbarTheme, St = A.selectors.getFooterTheme;
|
|
2683
|
-
function I(t, e) {
|
|
2684
|
-
const r = b({}, si, t, ci);
|
|
2685
|
-
return ir(
|
|
2686
|
-
b({}, r, {
|
|
2687
|
-
mixins: fi(r),
|
|
2688
|
-
direction: e
|
|
2689
|
-
})
|
|
2690
|
-
);
|
|
2691
|
-
}
|
|
2692
|
-
o(I, "generateMuiTheme");
|
|
2693
|
-
const Xi = /* @__PURE__ */ o((t) => {
|
|
2694
|
-
function e(r) {
|
|
2695
|
-
return Qr(r, "#ffffff") >= 3;
|
|
2696
|
-
}
|
|
2697
|
-
return o(e, "isDark"), e(t) ? mi : bi;
|
|
2698
|
-
}, "selectContrastMainTheme");
|
|
2699
|
-
function z(t, e) {
|
|
2700
|
-
return b({}, t, {
|
|
2701
|
-
dark: {
|
|
2702
|
-
palette: {
|
|
2703
|
-
mode: "dark",
|
|
2704
|
-
divider: "rgba(241,245,249,.12)",
|
|
2705
|
-
background: {
|
|
2706
|
-
paper: "#1E2125",
|
|
2707
|
-
default: "#121212"
|
|
2708
|
-
},
|
|
2709
|
-
text: gi
|
|
2710
|
-
}
|
|
2711
|
-
},
|
|
2712
|
-
light: {
|
|
2713
|
-
palette: {
|
|
2714
|
-
mode: "light",
|
|
2715
|
-
divider: "#e2e8f0",
|
|
2716
|
-
background: {
|
|
2717
|
-
paper: "#FFFFFF",
|
|
2718
|
-
default: "#F7F7F7"
|
|
2719
|
-
},
|
|
2720
|
-
text: hi
|
|
2721
|
-
}
|
|
2722
|
-
}
|
|
2723
|
-
}[e]);
|
|
2724
|
-
}
|
|
2725
|
-
o(z, "changeThemeMode");
|
|
2726
|
-
const Zi = P(
|
|
2727
|
-
[gt, E],
|
|
2728
|
-
(t, e) => I(t, e)
|
|
2729
|
-
), mi = P(
|
|
2730
|
-
[gt, E],
|
|
2731
|
-
(t, e) => I(z(t, "dark"), e)
|
|
2732
|
-
), bi = P(
|
|
2733
|
-
[gt, E],
|
|
2734
|
-
(t, e) => I(z(t, "light"), e)
|
|
2735
|
-
), el = P(
|
|
2736
|
-
[mt, E],
|
|
2737
|
-
(t, e) => I(t, e)
|
|
2738
|
-
), tl = P(
|
|
2739
|
-
[mt, E],
|
|
2740
|
-
(t, e) => I(z(t, "dark"), e)
|
|
2741
|
-
), rl = P(
|
|
2742
|
-
[mt, E],
|
|
2743
|
-
(t, e) => I(z(t, "light"), e)
|
|
2744
|
-
), nl = P(
|
|
2745
|
-
[bt, E],
|
|
2746
|
-
(t, e) => I(t, e)
|
|
2747
|
-
), al = P(
|
|
2748
|
-
[bt, E],
|
|
2749
|
-
(t, e) => I(z(t, "dark"), e)
|
|
2750
|
-
), ol = P(
|
|
2751
|
-
[bt, E],
|
|
2752
|
-
(t, e) => I(z(t, "light"), e)
|
|
2753
|
-
), il = P(
|
|
2754
|
-
[St, E],
|
|
2755
|
-
(t, e) => I(t, e)
|
|
2756
|
-
), ll = P(
|
|
2757
|
-
[St, E],
|
|
2758
|
-
(t, e) => I(z(t, "dark"), e)
|
|
2759
|
-
), ul = P(
|
|
2760
|
-
[St, E],
|
|
2761
|
-
(t, e) => I(z(t, "light"), e)
|
|
2762
|
-
), { resetSettings: sl, setInitialSettings: cl, setSettings: fl } = A.actions;
|
|
2763
|
-
A.reducer;
|
|
2764
|
-
const pl = kr(
|
|
2765
|
-
/**
|
|
2766
|
-
* Static slices
|
|
2767
|
-
*/
|
|
2768
|
-
A,
|
|
2769
|
-
ht,
|
|
2770
|
-
dt
|
|
2771
|
-
).withLazyLoadedSlices();
|
|
2772
|
-
export {
|
|
2773
|
-
si as $,
|
|
2774
|
-
ol as A,
|
|
2775
|
-
il as B,
|
|
2776
|
-
ll as C,
|
|
2777
|
-
ul as D,
|
|
2778
|
-
sl as E,
|
|
2779
|
-
cl as F,
|
|
2780
|
-
fl as G,
|
|
2781
|
-
ui as H,
|
|
2782
|
-
pl as I,
|
|
2783
|
-
_i as J,
|
|
2784
|
-
Ni as K,
|
|
2785
|
-
Ci as L,
|
|
2786
|
-
ht as M,
|
|
2787
|
-
ki as N,
|
|
2788
|
-
Bi as O,
|
|
2789
|
-
Ti as P,
|
|
2790
|
-
Fi as Q,
|
|
2791
|
-
vi as R,
|
|
2792
|
-
ye as S,
|
|
2793
|
-
dt as T,
|
|
2794
|
-
yt as U,
|
|
2795
|
-
Xr as V,
|
|
2796
|
-
en as W,
|
|
2797
|
-
Rr as X,
|
|
2798
|
-
Nr as Y,
|
|
2799
|
-
ii as Z,
|
|
2800
|
-
li as _,
|
|
2801
|
-
qi as a,
|
|
2802
|
-
ci as a0,
|
|
2803
|
-
$i as a1,
|
|
2804
|
-
fi as a2,
|
|
2805
|
-
pi as a3,
|
|
2806
|
-
Ki as b,
|
|
2807
|
-
Gi as c,
|
|
2808
|
-
gi as d,
|
|
2809
|
-
Qi as e,
|
|
2810
|
-
Vi as f,
|
|
2811
|
-
Ji as g,
|
|
2812
|
-
ji as h,
|
|
2813
|
-
Yi as i,
|
|
2814
|
-
E as j,
|
|
2815
|
-
gt as k,
|
|
2816
|
-
hi as l,
|
|
2817
|
-
mt as m,
|
|
2818
|
-
bt as n,
|
|
2819
|
-
A as o,
|
|
2820
|
-
St as p,
|
|
2821
|
-
Xi as q,
|
|
2822
|
-
Zi as r,
|
|
2823
|
-
Lr as s,
|
|
2824
|
-
mi as t,
|
|
2825
|
-
bi as u,
|
|
2826
|
-
el as v,
|
|
2827
|
-
tl as w,
|
|
2828
|
-
rl as x,
|
|
2829
|
-
nl as y,
|
|
2830
|
-
al as z
|
|
2831
|
-
};
|
|
2832
|
-
//# sourceMappingURL=lazyLoadedSlices-DC7yg4GT.js.map
|