@owp/core 1.30.0 → 2.0.0

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