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