@owp/core 1.25.0 → 1.26.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 (113) 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/OwpAppProvider-F48yHfyI.js +22 -0
  6. package/dist/OwpAppProvider-F48yHfyI.js.map +1 -0
  7. package/dist/OwpStoreProvider-CqHkIIUm.js +34 -0
  8. package/dist/OwpStoreProvider-CqHkIIUm.js.map +1 -0
  9. package/dist/OwpUtils-DxEd-Pjo.js +618 -0
  10. package/dist/OwpUtils-DxEd-Pjo.js.map +1 -0
  11. package/dist/{QuickPanel-uWtPXsYC.js → QuickPanel-DNAisp_R.js} +3 -3
  12. package/dist/{QuickPanel-uWtPXsYC.js.map → QuickPanel-DNAisp_R.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 +28 -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-fDrAKBzK.js} +18170 -20983
  24. package/dist/index-fDrAKBzK.js.map +1 -0
  25. package/dist/index.js +125 -233
  26. package/dist/index.js.map +1 -1
  27. package/dist/isTypedArray-DPyC49cI.js +411 -0
  28. package/dist/isTypedArray-DPyC49cI.js.map +1 -0
  29. package/dist/lazyLoadedSlices-CsgnywgU.js +2815 -0
  30. package/dist/lazyLoadedSlices-CsgnywgU.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-BhzrnIm3.js +16 -0
  37. package/dist/toUpper-BhzrnIm3.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-DaqTz5v3.js +771 -0
  41. package/dist/treeGridUtil-DaqTz5v3.js.map +1 -0
  42. package/dist/types/colors/index.d.ts +2 -0
  43. package/dist/types/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  44. package/dist/types/components/OwpAutoLogoutDialog/index.d.ts +1 -0
  45. package/dist/types/components/OwpBarcodeInput/OwpBarcodeInput.d.ts +1 -0
  46. package/dist/types/components/OwpBarcodeInput/index.d.ts +1 -0
  47. package/dist/types/components/OwpButtonDelete/OwpButtonDelete.d.ts +12 -0
  48. package/dist/types/components/OwpButtonDelete/index.d.ts +1 -12
  49. package/dist/types/components/OwpButtonSave/OwpButtonSave.d.ts +12 -0
  50. package/dist/types/components/OwpButtonSave/index.d.ts +1 -12
  51. package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +26 -0
  52. package/dist/types/components/OwpCommonDialog/index.d.ts +1 -26
  53. package/dist/types/components/OwpExportExcelButton/index.d.ts +1 -0
  54. package/dist/types/components/OwpFileUploadButton/index.d.ts +1 -0
  55. package/dist/types/components/OwpMrtTable/OwpMrtTable.d.ts +9 -0
  56. package/dist/types/components/OwpMrtTable/index.d.ts +1 -9
  57. package/dist/types/components/OwpNumberField/OwpNumberField.d.ts +12 -0
  58. package/dist/types/components/OwpNumberField/index.d.ts +1 -12
  59. package/dist/types/components/OwpOptionSelector/OwpOptionSelector.d.ts +22 -0
  60. package/dist/types/components/OwpOptionSelector/index.d.ts +1 -22
  61. package/dist/types/components/OwpPageContent/OwpPageContent.d.ts +17 -0
  62. package/dist/types/components/OwpPageContent/index.d.ts +1 -17
  63. package/dist/types/components/OwpPageLockLoading/OwpPageLockLoading.d.ts +11 -0
  64. package/dist/types/components/OwpPageLockLoading/index.d.ts +1 -11
  65. package/dist/types/components/OwpPageTitle/OwpPageTitle.d.ts +15 -0
  66. package/dist/types/components/OwpPageTitle/index.d.ts +1 -15
  67. package/dist/types/components/OwpPicker/index.d.ts +5 -0
  68. package/dist/types/components/OwpSearchFilter/OwpSearchFilter.d.ts +17 -0
  69. package/dist/types/components/OwpSearchFilter/index.d.ts +1 -17
  70. package/dist/types/components/OwpSection/OwpSection.d.ts +24 -0
  71. package/dist/types/components/OwpSection/index.d.ts +1 -24
  72. package/dist/types/components/OwpTable/index.d.ts +3 -0
  73. package/dist/types/components/OwpTextField/index.d.ts +1 -0
  74. package/dist/types/components/OwpTreeGridExcelButton/OwpTreeGridExcelButton.d.ts +12 -0
  75. package/dist/types/components/OwpTreeGridExcelButton/index.d.ts +1 -12
  76. package/dist/types/components/OwpTreeView/index.d.ts +1 -0
  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/OwpCoreProvider.d.ts +21 -0
  83. package/dist/types/context/index.d.ts +2 -0
  84. package/dist/types/hooks/useCommonCodeList.d.ts +4 -4
  85. package/dist/types/hooks/useNavigation.d.ts +4 -4
  86. package/dist/types/index.d.ts +2 -9
  87. package/dist/types/store/OwpStoreProvider.d.ts +12 -0
  88. package/dist/types/store/index.d.ts +3 -0
  89. package/dist/useStorage-B4ZrPct1.js +65 -0
  90. package/dist/useStorage-B4ZrPct1.js.map +1 -0
  91. package/dist/useTreeGridExcelExport-BjyBdpz1.js +360 -0
  92. package/dist/useTreeGridExcelExport-BjyBdpz1.js.map +1 -0
  93. package/dist/utils.js +6934 -64
  94. package/dist/utils.js.map +1 -1
  95. package/package.json +7 -1
  96. package/store.d.ts +1 -0
  97. package/store.js +1 -0
  98. package/dist/index-DvBno1rF.js.map +0 -1
  99. package/dist/treeGrid-CPgV7yMG.js +0 -46
  100. package/dist/treeGrid-CPgV7yMG.js.map +0 -1
  101. package/dist/treeGridUtil-mbjQrrTs.js +0 -1176
  102. package/dist/treeGridUtil-mbjQrrTs.js.map +0 -1
  103. package/dist/types/components/layouts/index.d.ts +0 -8
  104. package/dist/types/components/layouts/layout1/components/RightSideLayout1.d.ts +0 -6
  105. package/dist/types/components/layouts/shared-components/DemoLayoutFooterContent.d.ts +0 -5
  106. package/dist/types/components/layouts/shared-components/DocumentationButton.d.ts +0 -8
  107. package/dist/types/components/layouts/shared-components/PoweredByLinks.d.ts +0 -5
  108. package/dist/types/components/layouts/shared-components/PurchaseButton.d.ts +0 -8
  109. package/dist/types/components/layouts/shared-components/UserNavbarHeader.d.ts +0 -5
  110. package/dist/useTreeGridExcelExport-BPWeY2Oq.js +0 -2201
  111. package/dist/useTreeGridExcelExport-BPWeY2Oq.js.map +0 -1
  112. package/dist/zipUtil-Dmq4Gna2.js +0 -7505
  113. package/dist/zipUtil-Dmq4Gna2.js.map +0 -1
@@ -0,0 +1,2815 @@
1
+ var Wr = Object.defineProperty;
2
+ var o = (t, e) => Wr(t, "name", { value: e, configurable: !0 });
3
+ import { createSlice as st, createEntityAdapter as kr, createSelector as x, createAsyncThunk as lr, combineSlices as zr } from "@reduxjs/toolkit";
4
+ import { i as Ur, a as Hr, m as A, O as qr, g as Gr, c as xt, b as Qr } from "./OwpUtils-DxEd-Pjo.js";
5
+ import { d as Kr, o as ur } from "./isTypedArray-DPyC49cI.js";
6
+ import Vr from "i18next";
7
+ import { lightBlue as j } from "@mui/material/colors";
8
+ import { createTheme as sr, getContrastRatio as Jr } from "@mui/material/styles";
9
+ import { createApi as jr } from "@reduxjs/toolkit/query/react";
10
+ import Et from "axios";
11
+ const Yr = /* @__PURE__ */ o(() => async ({ url: t, method: e, data: r, params: n }) => {
12
+ try {
13
+ return Et.defaults.baseURL = "/api", { data: (await Et({
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"), It = jr({
26
+ baseQuery: Yr(),
27
+ endpoints: /* @__PURE__ */ o(() => ({}), "endpoints"),
28
+ reducerPath: "apiService"
29
+ }), Mt = {
30
+ open: !0,
31
+ mobileOpen: !1,
32
+ foldedOpen: !1
33
+ }, ct = st({
34
+ name: "navbar",
35
+ initialState: Mt,
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(() => Mt, "resetNavbar")
65
+ },
66
+ selectors: {
67
+ selectOwpNavbar: /* @__PURE__ */ o((t) => t, "selectOwpNavbar")
68
+ }
69
+ }), {
70
+ navbarToggleFolded: Ai,
71
+ navbarOpenFolded: Pi,
72
+ navbarCloseFolded: xi,
73
+ navbarOpen: Ei,
74
+ navbarClose: Ii,
75
+ navbarToggle: Mi,
76
+ navbarOpenMobile: Fi,
77
+ navbarCloseMobile: $i,
78
+ navbarToggleMobile: Ti,
79
+ resetNavbar: Ri
80
+ } = ct.actions, Di = /* @__PURE__ */ o((t) => t.navbar, "selectOwpNavbar");
81
+ ct.reducer;
82
+ function Xr(t, e, r) {
83
+ return Ur(r) && (typeof e == "number" && Kr(r) && Hr(e) && e < r.length || typeof e == "string" && e in r) ? ur(r[e], t) : !1;
84
+ }
85
+ o(Xr, "isIterateeCall");
86
+ function Zr(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 && Xr(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) && ur(p, r[f])) && (t[f] = l[f]);
97
+ }
98
+ }
99
+ return t;
100
+ }
101
+ o(Zr, "defaults$2");
102
+ let en = 0;
103
+ function tn(t = "") {
104
+ const e = ++en;
105
+ return `${t}${e}`;
106
+ }
107
+ o(tn, "uniqueId");
108
+ function rn(t) {
109
+ return t = t || {}, Zr(t, {
110
+ id: tn(),
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(rn, "OwpNavItemModel");
130
+ const At = class At {
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 ? A({}, 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 = rn(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(At, "OwpNavigationHelper");
236
+ let pe = At;
237
+ const ft = kr(), nn = ft.getInitialState([]), Ft = nn, {
238
+ selectAll: an,
239
+ selectIds: Ni,
240
+ selectById: Ci
241
+ } = ft.getSelectors((t) => t.navigation), pt = st({
242
+ name: "navigation",
243
+ initialState: Ft,
244
+ reducers: {
245
+ setNavigation(t, e) {
246
+ return ft.setAll(t, pe.flattenNavigation(e.payload));
247
+ },
248
+ resetNavigation: /* @__PURE__ */ o(() => Ft, "resetNavigation")
249
+ }
250
+ }), { setNavigation: _i, resetNavigation: Li } = pt.actions, on = x(
251
+ [an],
252
+ (t, e) => {
253
+ const r = pe.unflattenNavigation(t);
254
+ function n(i) {
255
+ return i == null ? void 0 : i.map((l) => ({
256
+ hasPermission: !!qr.hasPermission(l == null ? void 0 : l.auth, e),
257
+ ...l,
258
+ ...l != null && l.translate && (l != null && l.title) ? { title: Vr.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
+ x([on], (t) => pe.flattenNavigation(t));
266
+ pt.reducer;
267
+ const ln = {
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
+ }, un = {
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
+ }, sn = {
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
+ }, cr = {
693
+ layout1: ln,
694
+ layout2: un,
695
+ layout3: sn
696
+ };
697
+ var ne = TypeError;
698
+ const cn = {}, fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
699
+ __proto__: null,
700
+ default: cn
701
+ }, Symbol.toStringTag, { value: "Module" })), pn = /* @__PURE__ */ Gr(fn);
702
+ var yt = typeof Map == "function" && Map.prototype, Ce = Object.getOwnPropertyDescriptor && yt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, xe = yt && Ce && typeof Ce.get == "function" ? Ce.get : null, $t = yt && Map.prototype.forEach, dt = typeof Set == "function" && Set.prototype, _e = Object.getOwnPropertyDescriptor && dt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ee = dt && _e && typeof _e.get == "function" ? _e.get : null, Tt = dt && Set.prototype.forEach, yn = typeof WeakMap == "function" && WeakMap.prototype, ue = yn ? WeakMap.prototype.has : null, dn = typeof WeakSet == "function" && WeakSet.prototype, se = dn ? WeakSet.prototype.has : null, vn = typeof WeakRef == "function" && WeakRef.prototype, Rt = vn ? WeakRef.prototype.deref : null, hn = Boolean.prototype.valueOf, gn = Object.prototype.toString, mn = Function.prototype.toString, bn = String.prototype.match, vt = String.prototype.slice, W = String.prototype.replace, Sn = String.prototype.toUpperCase, Dt = String.prototype.toLowerCase, fr = RegExp.prototype.test, Nt = Array.prototype.concat, R = Array.prototype.join, wn = Array.prototype.slice, Ct = Math.floor, nt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Le = Object.getOwnPropertySymbols, at = 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, pr = Object.prototype.propertyIsEnumerable, _t = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
703
+ return t.__proto__;
704
+ } : null);
705
+ function Lt(t, e) {
706
+ if (t === 1 / 0 || t === -1 / 0 || t !== t || t && t > -1e3 && t < 1e3 || fr.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 ? -Ct(-t) : Ct(t);
711
+ if (n !== t) {
712
+ var a = String(n), i = vt.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(Lt, "addNumericSeparator");
719
+ var ot = pn, Bt = ot.custom, Wt = vr(Bt) ? Bt : null, yr = {
720
+ __proto__: null,
721
+ double: '"',
722
+ single: "'"
723
+ }, On = {
724
+ __proto__: null,
725
+ double: /(["\\])/g,
726
+ single: /(['\\])/g
727
+ }, Fe = /* @__PURE__ */ o(function t(e, r, n, a) {
728
+ var i = r || {};
729
+ if (N(i, "quoteStyle") && !N(yr, i.quoteStyle))
730
+ throw new TypeError('option "quoteStyle" must be "single" or "double"');
731
+ if (N(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 = N(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 (N(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 (N(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 gr(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 ? Lt(e, u) : u;
754
+ }
755
+ if (typeof e == "bigint") {
756
+ var f = String(e) + "n";
757
+ return s ? Lt(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 it(e) ? "[Array]" : "[Object]";
762
+ var y = kn(i, n);
763
+ if (typeof a > "u")
764
+ a = [];
765
+ else if (hr(a, e) >= 0)
766
+ return "[Circular]";
767
+ function c(F, B, D) {
768
+ if (B && (a = wn.call(a), a.push(B)), D) {
769
+ var oe = {
770
+ depth: i.depth
771
+ };
772
+ return N(i, "quoteStyle") && (oe.quoteStyle = i.quoteStyle), t(F, oe, n + 1, a);
773
+ }
774
+ return t(F, i, n + 1, a);
775
+ }
776
+ if (o(c, "inspect"), typeof e == "function" && !kt(e)) {
777
+ var g = Tn(e), h = be(e, c);
778
+ return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (h.length > 0 ? " { " + R.call(h, ", ") + " }" : "");
779
+ }
780
+ if (vr(e)) {
781
+ var b = te ? W.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : at.call(e);
782
+ return typeof e == "object" && !te ? ie(b) : b;
783
+ }
784
+ if (Ln(e)) {
785
+ for (var O = "<" + Dt.call(String(e.nodeName)), E = e.attributes || [], C = 0; C < E.length; C++)
786
+ O += " " + E[C].name + "=" + dr(An(E[C].value), "double", i);
787
+ return O += ">", e.childNodes && e.childNodes.length && (O += "..."), O += "</" + Dt.call(String(e.nodeName)) + ">", O;
788
+ }
789
+ if (it(e)) {
790
+ if (e.length === 0)
791
+ return "[]";
792
+ var v = be(e, c);
793
+ return y && !Wn(v) ? "[" + lt(v, y) + "]" : "[ " + R.call(v, ", ") + " ]";
794
+ }
795
+ if (xn(e)) {
796
+ var _ = be(e, c);
797
+ return !("cause" in Error.prototype) && "cause" in e && !pr.call(e, "cause") ? "{ [" + String(e) + "] " + R.call(Nt.call("[cause]: " + c(e.cause), _), ", ") + " }" : _.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + R.call(_, ", ") + " }";
798
+ }
799
+ if (typeof e == "object" && l) {
800
+ if (Wt && typeof e[Wt] == "function" && ot)
801
+ return ot(e, { depth: p - n });
802
+ if (l !== "symbol" && typeof e.inspect == "function")
803
+ return e.inspect();
804
+ }
805
+ if (Rn(e)) {
806
+ var U = [];
807
+ return $t && $t.call(e, function(F, B) {
808
+ U.push(c(B, e, !0) + " => " + c(F, e));
809
+ }), zt("Map", xe.call(e), U, y);
810
+ }
811
+ if (Cn(e)) {
812
+ var ae = [];
813
+ return Tt && Tt.call(e, function(F) {
814
+ ae.push(c(F, e));
815
+ }), zt("Set", Ee.call(e), ae, y);
816
+ }
817
+ if (Dn(e))
818
+ return Be("WeakMap");
819
+ if (_n(e))
820
+ return Be("WeakSet");
821
+ if (Nn(e))
822
+ return Be("WeakRef");
823
+ if (In(e))
824
+ return ie(c(Number(e)));
825
+ if (Fn(e))
826
+ return ie(c(nt.call(e)));
827
+ if (Mn(e))
828
+ return ie(hn.call(e));
829
+ if (En(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 xt < "u" && e === xt)
834
+ return "{ [object globalThis] }";
835
+ if (!Pn(e) && !kt(e)) {
836
+ var V = be(e, c), ge = _t ? _t(e) === Object.prototype : e instanceof Object || e.constructor === Object, H = e instanceof Object ? "" : "null prototype", L = !ge && ce && Object(e) === e && ce in e ? vt.call(k(e), 8, -1) : H ? "Object" : "", me = ge || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", J = me + (L || H ? "[" + R.call(Nt.call([], L || [], H || []), ": ") + "] " : "");
837
+ return V.length === 0 ? J + "{}" : y ? J + "{" + lt(V, y) + "}" : J + "{ " + R.call(V, ", ") + " }";
838
+ }
839
+ return String(e);
840
+ }, "inspect_");
841
+ function dr(t, e, r) {
842
+ var n = r.quoteStyle || e, a = yr[n];
843
+ return a + t + a;
844
+ }
845
+ o(dr, "wrapQuotes");
846
+ function An(t) {
847
+ return W.call(String(t), /"/g, "&quot;");
848
+ }
849
+ o(An, "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 it(t) {
855
+ return k(t) === "[object Array]" && K(t);
856
+ }
857
+ o(it, "isArray$3");
858
+ function Pn(t) {
859
+ return k(t) === "[object Date]" && K(t);
860
+ }
861
+ o(Pn, "isDate");
862
+ function kt(t) {
863
+ return k(t) === "[object RegExp]" && K(t);
864
+ }
865
+ o(kt, "isRegExp$1");
866
+ function xn(t) {
867
+ return k(t) === "[object Error]" && K(t);
868
+ }
869
+ o(xn, "isError");
870
+ function En(t) {
871
+ return k(t) === "[object String]" && K(t);
872
+ }
873
+ o(En, "isString");
874
+ function In(t) {
875
+ return k(t) === "[object Number]" && K(t);
876
+ }
877
+ o(In, "isNumber");
878
+ function Mn(t) {
879
+ return k(t) === "[object Boolean]" && K(t);
880
+ }
881
+ o(Mn, "isBoolean");
882
+ function vr(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" || !at)
888
+ return !1;
889
+ try {
890
+ return at.call(t), !0;
891
+ } catch {
892
+ }
893
+ return !1;
894
+ }
895
+ o(vr, "isSymbol");
896
+ function Fn(t) {
897
+ if (!t || typeof t != "object" || !nt)
898
+ return !1;
899
+ try {
900
+ return nt.call(t), !0;
901
+ } catch {
902
+ }
903
+ return !1;
904
+ }
905
+ o(Fn, "isBigInt");
906
+ var $n = Object.prototype.hasOwnProperty || function(t) {
907
+ return t in this;
908
+ };
909
+ function N(t, e) {
910
+ return $n.call(t, e);
911
+ }
912
+ o(N, "has$3");
913
+ function k(t) {
914
+ return gn.call(t);
915
+ }
916
+ o(k, "toStr");
917
+ function Tn(t) {
918
+ if (t.name)
919
+ return t.name;
920
+ var e = bn.call(mn.call(t), /^function\s*([\w$]+)/);
921
+ return e ? e[1] : null;
922
+ }
923
+ o(Tn, "nameOf");
924
+ function hr(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(hr, "indexOf");
933
+ function Rn(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(Rn, "isMap");
949
+ function Dn(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(Dn, "isWeakMap");
965
+ function Nn(t) {
966
+ if (!Rt || !t || typeof t != "object")
967
+ return !1;
968
+ try {
969
+ return Rt.call(t), !0;
970
+ } catch {
971
+ }
972
+ return !1;
973
+ }
974
+ o(Nn, "isWeakRef");
975
+ function Cn(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(Cn, "isSet");
991
+ function _n(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(_n, "isWeakSet");
1007
+ function Ln(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(Ln, "isElement");
1011
+ function gr(t, e) {
1012
+ if (t.length > e.maxStringLength) {
1013
+ var r = t.length - e.maxStringLength, n = "... " + r + " more character" + (r > 1 ? "s" : "");
1014
+ return gr(vt.call(t, 0, e.maxStringLength), e) + n;
1015
+ }
1016
+ var a = On[e.quoteStyle || "single"];
1017
+ a.lastIndex = 0;
1018
+ var i = W.call(W.call(t, a, "\\$1"), /[\x00-\x1f]/g, Bn);
1019
+ return dr(i, "single", e);
1020
+ }
1021
+ o(gr, "inspectString");
1022
+ function Bn(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" : "") + Sn.call(e.toString(16));
1031
+ }
1032
+ o(Bn, "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 zt(t, e, r, n) {
1042
+ var a = n ? lt(r, n) : R.call(r, ", ");
1043
+ return t + " (" + e + ") {" + a + "}";
1044
+ }
1045
+ o(zt, "collectionOf");
1046
+ function Wn(t) {
1047
+ for (var e = 0; e < t.length; e++)
1048
+ if (hr(t[e], `
1049
+ `) >= 0)
1050
+ return !1;
1051
+ return !0;
1052
+ }
1053
+ o(Wn, "singleLineValues");
1054
+ function kn(t, e) {
1055
+ var r;
1056
+ if (t.indent === " ")
1057
+ r = " ";
1058
+ else if (typeof t.indent == "number" && t.indent > 0)
1059
+ r = R.call(Array(t.indent + 1), " ");
1060
+ else
1061
+ return null;
1062
+ return {
1063
+ base: r,
1064
+ prev: R.call(Array(e + 1), r)
1065
+ };
1066
+ }
1067
+ o(kn, "getIndent");
1068
+ function lt(t, e) {
1069
+ if (t.length === 0)
1070
+ return "";
1071
+ var r = `
1072
+ ` + e.prev + e.base;
1073
+ return r + R.call(t, "," + r) + `
1074
+ ` + e.prev;
1075
+ }
1076
+ o(lt, "indentedJoin");
1077
+ function be(t, e) {
1078
+ var r = it(t), n = [];
1079
+ if (r) {
1080
+ n.length = t.length;
1081
+ for (var a = 0; a < t.length; a++)
1082
+ n[a] = N(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
+ N(t, u) && (r && String(Number(u)) === u && u < t.length || te && l["$" + u] instanceof Symbol || (fr.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
+ pr.call(t, i[f]) && n.push("[" + e(i[f]) + "]: " + e(t[i[f]], t));
1095
+ return n;
1096
+ }
1097
+ o(be, "arrObjKeys");
1098
+ var zn = Fe, Un = ne, $e = /* @__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"), Hn = /* @__PURE__ */ o(function(t, e) {
1104
+ if (t) {
1105
+ var r = $e(t, e);
1106
+ return r && r.value;
1107
+ }
1108
+ }, "listGet"), qn = /* @__PURE__ */ o(function(t, e, r) {
1109
+ var n = $e(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"), Gn = /* @__PURE__ */ o(function(t, e) {
1118
+ return t ? !!$e(t, e) : !1;
1119
+ }, "listHas"), Qn = /* @__PURE__ */ o(function(t, e) {
1120
+ if (t)
1121
+ return $e(t, e, !0);
1122
+ }, "listDelete"), Kn = /* @__PURE__ */ o(function() {
1123
+ var e, r = {
1124
+ assert: /* @__PURE__ */ o(function(n) {
1125
+ if (!r.has(n))
1126
+ throw new Un("Side channel does not contain " + zn(n));
1127
+ }, "assert"),
1128
+ delete: /* @__PURE__ */ o(function(n) {
1129
+ var a = e && e.next, i = Qn(e, n);
1130
+ return i && a && a === i && (e = void 0), !!i;
1131
+ }, "delete"),
1132
+ get: /* @__PURE__ */ o(function(n) {
1133
+ return Hn(e, n);
1134
+ }, "get"),
1135
+ has: /* @__PURE__ */ o(function(n) {
1136
+ return Gn(e, n);
1137
+ }, "has"),
1138
+ set: /* @__PURE__ */ o(function(n, a) {
1139
+ e || (e = {
1140
+ next: void 0
1141
+ }), qn(
1142
+ /** @type {NonNullable<typeof $o>} */
1143
+ e,
1144
+ n,
1145
+ a
1146
+ );
1147
+ }, "set")
1148
+ };
1149
+ return r;
1150
+ }, "getSideChannelList"), mr = Object, Vn = Error, Jn = EvalError, jn = RangeError, Yn = ReferenceError, Xn = SyntaxError, Zn = URIError, ea = Math.abs, ta = Math.floor, ra = Math.max, na = Math.min, aa = Math.pow, oa = Math.round, ia = Number.isNaN || /* @__PURE__ */ o(function(e) {
1151
+ return e !== e;
1152
+ }, "isNaN"), la = ia, ua = /* @__PURE__ */ o(function(e) {
1153
+ return la(e) || e === 0 ? e : e < 0 ? -1 : 1;
1154
+ }, "sign"), sa = Object.getOwnPropertyDescriptor, we = sa;
1155
+ if (we)
1156
+ try {
1157
+ we([], "length");
1158
+ } catch {
1159
+ we = null;
1160
+ }
1161
+ var br = we, Oe = Object.defineProperty || !1;
1162
+ if (Oe)
1163
+ try {
1164
+ Oe({}, "a", { value: 1 });
1165
+ } catch {
1166
+ Oe = !1;
1167
+ }
1168
+ var ca = Oe, We, Ut;
1169
+ function fa() {
1170
+ return Ut || (Ut = 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(fa, "requireShams");
1199
+ var ke, Ht;
1200
+ function pa() {
1201
+ if (Ht) return ke;
1202
+ Ht = 1;
1203
+ var t = typeof Symbol < "u" && Symbol, e = fa();
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(pa, "requireHasSymbols");
1209
+ var ze, qt;
1210
+ function Sr() {
1211
+ return qt || (qt = 1, ze = typeof Reflect < "u" && Reflect.getPrototypeOf || null), ze;
1212
+ }
1213
+ o(Sr, "requireReflect_getPrototypeOf");
1214
+ var Ue, Gt;
1215
+ function wr() {
1216
+ if (Gt) return Ue;
1217
+ Gt = 1;
1218
+ var t = mr;
1219
+ return Ue = t.getPrototypeOf || null, Ue;
1220
+ }
1221
+ o(wr, "requireObject_getPrototypeOf");
1222
+ var He, Qt;
1223
+ function ya() {
1224
+ if (Qt) return He;
1225
+ Qt = 1;
1226
+ var t = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, r = Math.max, n = "[object Function]", a = /* @__PURE__ */ o(function(u, f) {
1227
+ for (var p = [], y = 0; y < u.length; y += 1)
1228
+ p[y] = u[y];
1229
+ for (var c = 0; c < f.length; c += 1)
1230
+ p[c + u.length] = f[c];
1231
+ return p;
1232
+ }, "concatty"), i = /* @__PURE__ */ o(function(u, f) {
1233
+ for (var p = [], y = f, c = 0; y < u.length; y += 1, c += 1)
1234
+ p[c] = u[y];
1235
+ return p;
1236
+ }, "slicy"), l = /* @__PURE__ */ o(function(s, u) {
1237
+ for (var f = "", p = 0; p < s.length; p += 1)
1238
+ f += s[p], p + 1 < s.length && (f += u);
1239
+ return f;
1240
+ }, "joiny");
1241
+ return He = /* @__PURE__ */ o(function(u) {
1242
+ var f = this;
1243
+ if (typeof f != "function" || e.apply(f) !== n)
1244
+ throw new TypeError(t + f);
1245
+ for (var p = i(arguments, 1), y, c = /* @__PURE__ */ o(function() {
1246
+ if (this instanceof y) {
1247
+ var E = f.apply(
1248
+ this,
1249
+ a(p, arguments)
1250
+ );
1251
+ return Object(E) === E ? E : this;
1252
+ }
1253
+ return f.apply(
1254
+ u,
1255
+ a(p, arguments)
1256
+ );
1257
+ }, "binder"), g = r(0, f.length - p.length), h = [], b = 0; b < g; b++)
1258
+ h[b] = "$" + b;
1259
+ if (y = Function("binder", "return function (" + l(h, ",") + "){ return binder.apply(this,arguments); }")(c), f.prototype) {
1260
+ var O = /* @__PURE__ */ o(function() {
1261
+ }, "Empty");
1262
+ O.prototype = f.prototype, y.prototype = new O(), O.prototype = null;
1263
+ }
1264
+ return y;
1265
+ }, "bind"), He;
1266
+ }
1267
+ o(ya, "requireImplementation");
1268
+ var qe, Kt;
1269
+ function Te() {
1270
+ if (Kt) return qe;
1271
+ Kt = 1;
1272
+ var t = ya();
1273
+ return qe = Function.prototype.bind || t, qe;
1274
+ }
1275
+ o(Te, "requireFunctionBind");
1276
+ var Ge, Vt;
1277
+ function ht() {
1278
+ return Vt || (Vt = 1, Ge = Function.prototype.call), Ge;
1279
+ }
1280
+ o(ht, "requireFunctionCall");
1281
+ var Qe, Jt;
1282
+ function Or() {
1283
+ return Jt || (Jt = 1, Qe = Function.prototype.apply), Qe;
1284
+ }
1285
+ o(Or, "requireFunctionApply");
1286
+ var da = typeof Reflect < "u" && Reflect && Reflect.apply, va = Te(), ha = Or(), ga = ht(), ma = da, ba = ma || va.call(ga, ha), Sa = Te(), wa = ne, Oa = ht(), Aa = ba, Ar = /* @__PURE__ */ o(function(e) {
1287
+ if (e.length < 1 || typeof e[0] != "function")
1288
+ throw new wa("a function is required");
1289
+ return Aa(Sa, Oa, e);
1290
+ }, "callBindBasic"), Ke, jt;
1291
+ function Pa() {
1292
+ if (jt) return Ke;
1293
+ jt = 1;
1294
+ var t = Ar, e = br, r;
1295
+ try {
1296
+ r = /** @type {{ __proto__?: typeof Array.prototype }} */
1297
+ [].__proto__ === Array.prototype;
1298
+ } catch (l) {
1299
+ if (!l || typeof l != "object" || !("code" in l) || l.code !== "ERR_PROTO_ACCESS")
1300
+ throw l;
1301
+ }
1302
+ var n = !!r && e && e(
1303
+ Object.prototype,
1304
+ /** @type {keyof typeof Object.prototype} */
1305
+ "__proto__"
1306
+ ), a = Object, i = a.getPrototypeOf;
1307
+ return Ke = n && typeof n.get == "function" ? t([n.get]) : typeof i == "function" ? (
1308
+ /** @type {import('./get')} */
1309
+ /* @__PURE__ */ o(function(s) {
1310
+ return i(s == null ? s : a(s));
1311
+ }, "getDunder")
1312
+ ) : !1, Ke;
1313
+ }
1314
+ o(Pa, "requireGet");
1315
+ var Ve, Yt;
1316
+ function xa() {
1317
+ if (Yt) return Ve;
1318
+ Yt = 1;
1319
+ var t = Sr(), e = wr(), r = Pa();
1320
+ return Ve = t ? /* @__PURE__ */ o(function(a) {
1321
+ return t(a);
1322
+ }, "getProto") : e ? /* @__PURE__ */ o(function(a) {
1323
+ if (!a || typeof a != "object" && typeof a != "function")
1324
+ throw new TypeError("getProto: not an object");
1325
+ return e(a);
1326
+ }, "getProto") : r ? /* @__PURE__ */ o(function(a) {
1327
+ return r(a);
1328
+ }, "getProto") : null, Ve;
1329
+ }
1330
+ o(xa, "requireGetProto");
1331
+ var Je, Xt;
1332
+ function Ea() {
1333
+ if (Xt) return Je;
1334
+ Xt = 1;
1335
+ var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = Te();
1336
+ return Je = r.call(t, e), Je;
1337
+ }
1338
+ o(Ea, "requireHasown");
1339
+ var d, Ia = mr, Ma = Vn, Fa = Jn, $a = jn, Ta = Yn, re = Xn, ee = ne, Ra = Zn, Da = ea, Na = ta, Ca = ra, _a = na, La = aa, Ba = oa, Wa = ua, Pr = Function, je = /* @__PURE__ */ o(function(t) {
1340
+ try {
1341
+ return Pr('"use strict"; return (' + t + ").constructor;")();
1342
+ } catch {
1343
+ }
1344
+ }, "getEvalledConstructor"), ye = br, ka = ca, Ye = /* @__PURE__ */ o(function() {
1345
+ throw new ee();
1346
+ }, "throwTypeError"), za = ye ? function() {
1347
+ try {
1348
+ return arguments.callee, Ye;
1349
+ } catch {
1350
+ try {
1351
+ return ye(arguments, "callee").get;
1352
+ } catch {
1353
+ return Ye;
1354
+ }
1355
+ }
1356
+ }() : Ye, Y = pa()(), w = xa(), Ua = wr(), Ha = Sr(), xr = Or(), de = ht(), Z = {}, qa = typeof Uint8Array > "u" || !w ? d : w(Uint8Array), G = {
1357
+ __proto__: null,
1358
+ "%AggregateError%": typeof AggregateError > "u" ? d : AggregateError,
1359
+ "%Array%": Array,
1360
+ "%ArrayBuffer%": typeof ArrayBuffer > "u" ? d : ArrayBuffer,
1361
+ "%ArrayIteratorPrototype%": Y && w ? w([][Symbol.iterator]()) : d,
1362
+ "%AsyncFromSyncIteratorPrototype%": d,
1363
+ "%AsyncFunction%": Z,
1364
+ "%AsyncGenerator%": Z,
1365
+ "%AsyncGeneratorFunction%": Z,
1366
+ "%AsyncIteratorPrototype%": Z,
1367
+ "%Atomics%": typeof Atomics > "u" ? d : Atomics,
1368
+ "%BigInt%": typeof BigInt > "u" ? d : BigInt,
1369
+ "%BigInt64Array%": typeof BigInt64Array > "u" ? d : BigInt64Array,
1370
+ "%BigUint64Array%": typeof BigUint64Array > "u" ? d : BigUint64Array,
1371
+ "%Boolean%": Boolean,
1372
+ "%DataView%": typeof DataView > "u" ? d : DataView,
1373
+ "%Date%": Date,
1374
+ "%decodeURI%": decodeURI,
1375
+ "%decodeURIComponent%": decodeURIComponent,
1376
+ "%encodeURI%": encodeURI,
1377
+ "%encodeURIComponent%": encodeURIComponent,
1378
+ "%Error%": Ma,
1379
+ "%eval%": eval,
1380
+ // eslint-disable-line no-eval
1381
+ "%EvalError%": Fa,
1382
+ "%Float16Array%": typeof Float16Array > "u" ? d : Float16Array,
1383
+ "%Float32Array%": typeof Float32Array > "u" ? d : Float32Array,
1384
+ "%Float64Array%": typeof Float64Array > "u" ? d : Float64Array,
1385
+ "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? d : FinalizationRegistry,
1386
+ "%Function%": Pr,
1387
+ "%GeneratorFunction%": Z,
1388
+ "%Int8Array%": typeof Int8Array > "u" ? d : Int8Array,
1389
+ "%Int16Array%": typeof Int16Array > "u" ? d : Int16Array,
1390
+ "%Int32Array%": typeof Int32Array > "u" ? d : Int32Array,
1391
+ "%isFinite%": isFinite,
1392
+ "%isNaN%": isNaN,
1393
+ "%IteratorPrototype%": Y && w ? w(w([][Symbol.iterator]())) : d,
1394
+ "%JSON%": typeof JSON == "object" ? JSON : d,
1395
+ "%Map%": typeof Map > "u" ? d : Map,
1396
+ "%MapIteratorPrototype%": typeof Map > "u" || !Y || !w ? d : w((/* @__PURE__ */ new Map())[Symbol.iterator]()),
1397
+ "%Math%": Math,
1398
+ "%Number%": Number,
1399
+ "%Object%": Ia,
1400
+ "%Object.getOwnPropertyDescriptor%": ye,
1401
+ "%parseFloat%": parseFloat,
1402
+ "%parseInt%": parseInt,
1403
+ "%Promise%": typeof Promise > "u" ? d : Promise,
1404
+ "%Proxy%": typeof Proxy > "u" ? d : Proxy,
1405
+ "%RangeError%": $a,
1406
+ "%ReferenceError%": Ta,
1407
+ "%Reflect%": typeof Reflect > "u" ? d : Reflect,
1408
+ "%RegExp%": RegExp,
1409
+ "%Set%": typeof Set > "u" ? d : Set,
1410
+ "%SetIteratorPrototype%": typeof Set > "u" || !Y || !w ? d : w((/* @__PURE__ */ new Set())[Symbol.iterator]()),
1411
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? d : SharedArrayBuffer,
1412
+ "%String%": String,
1413
+ "%StringIteratorPrototype%": Y && w ? w(""[Symbol.iterator]()) : d,
1414
+ "%Symbol%": Y ? Symbol : d,
1415
+ "%SyntaxError%": re,
1416
+ "%ThrowTypeError%": za,
1417
+ "%TypedArray%": qa,
1418
+ "%TypeError%": ee,
1419
+ "%Uint8Array%": typeof Uint8Array > "u" ? d : Uint8Array,
1420
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? d : Uint8ClampedArray,
1421
+ "%Uint16Array%": typeof Uint16Array > "u" ? d : Uint16Array,
1422
+ "%Uint32Array%": typeof Uint32Array > "u" ? d : Uint32Array,
1423
+ "%URIError%": Ra,
1424
+ "%WeakMap%": typeof WeakMap > "u" ? d : WeakMap,
1425
+ "%WeakRef%": typeof WeakRef > "u" ? d : WeakRef,
1426
+ "%WeakSet%": typeof WeakSet > "u" ? d : WeakSet,
1427
+ "%Function.prototype.call%": de,
1428
+ "%Function.prototype.apply%": xr,
1429
+ "%Object.defineProperty%": ka,
1430
+ "%Object.getPrototypeOf%": Ua,
1431
+ "%Math.abs%": Da,
1432
+ "%Math.floor%": Na,
1433
+ "%Math.max%": Ca,
1434
+ "%Math.min%": _a,
1435
+ "%Math.pow%": La,
1436
+ "%Math.round%": Ba,
1437
+ "%Math.sign%": Wa,
1438
+ "%Reflect.getPrototypeOf%": Ha
1439
+ };
1440
+ if (w)
1441
+ try {
1442
+ null.error;
1443
+ } catch (t) {
1444
+ var Ga = w(w(t));
1445
+ G["%Error.prototype%"] = Ga;
1446
+ }
1447
+ var Qa = /* @__PURE__ */ o(function t(e) {
1448
+ var r;
1449
+ if (e === "%AsyncFunction%")
1450
+ r = je("async function () {}");
1451
+ else if (e === "%GeneratorFunction%")
1452
+ r = je("function* () {}");
1453
+ else if (e === "%AsyncGeneratorFunction%")
1454
+ r = je("async function* () {}");
1455
+ else if (e === "%AsyncGenerator%") {
1456
+ var n = t("%AsyncGeneratorFunction%");
1457
+ n && (r = n.prototype);
1458
+ } else if (e === "%AsyncIteratorPrototype%") {
1459
+ var a = t("%AsyncGenerator%");
1460
+ a && w && (r = w(a.prototype));
1461
+ }
1462
+ return G[e] = r, r;
1463
+ }, "doEval"), Zt = {
1464
+ __proto__: null,
1465
+ "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
1466
+ "%ArrayPrototype%": ["Array", "prototype"],
1467
+ "%ArrayProto_entries%": ["Array", "prototype", "entries"],
1468
+ "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
1469
+ "%ArrayProto_keys%": ["Array", "prototype", "keys"],
1470
+ "%ArrayProto_values%": ["Array", "prototype", "values"],
1471
+ "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
1472
+ "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
1473
+ "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
1474
+ "%BooleanPrototype%": ["Boolean", "prototype"],
1475
+ "%DataViewPrototype%": ["DataView", "prototype"],
1476
+ "%DatePrototype%": ["Date", "prototype"],
1477
+ "%ErrorPrototype%": ["Error", "prototype"],
1478
+ "%EvalErrorPrototype%": ["EvalError", "prototype"],
1479
+ "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
1480
+ "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
1481
+ "%FunctionPrototype%": ["Function", "prototype"],
1482
+ "%Generator%": ["GeneratorFunction", "prototype"],
1483
+ "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
1484
+ "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
1485
+ "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
1486
+ "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
1487
+ "%JSONParse%": ["JSON", "parse"],
1488
+ "%JSONStringify%": ["JSON", "stringify"],
1489
+ "%MapPrototype%": ["Map", "prototype"],
1490
+ "%NumberPrototype%": ["Number", "prototype"],
1491
+ "%ObjectPrototype%": ["Object", "prototype"],
1492
+ "%ObjProto_toString%": ["Object", "prototype", "toString"],
1493
+ "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
1494
+ "%PromisePrototype%": ["Promise", "prototype"],
1495
+ "%PromiseProto_then%": ["Promise", "prototype", "then"],
1496
+ "%Promise_all%": ["Promise", "all"],
1497
+ "%Promise_reject%": ["Promise", "reject"],
1498
+ "%Promise_resolve%": ["Promise", "resolve"],
1499
+ "%RangeErrorPrototype%": ["RangeError", "prototype"],
1500
+ "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
1501
+ "%RegExpPrototype%": ["RegExp", "prototype"],
1502
+ "%SetPrototype%": ["Set", "prototype"],
1503
+ "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
1504
+ "%StringPrototype%": ["String", "prototype"],
1505
+ "%SymbolPrototype%": ["Symbol", "prototype"],
1506
+ "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
1507
+ "%TypedArrayPrototype%": ["TypedArray", "prototype"],
1508
+ "%TypeErrorPrototype%": ["TypeError", "prototype"],
1509
+ "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
1510
+ "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
1511
+ "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
1512
+ "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
1513
+ "%URIErrorPrototype%": ["URIError", "prototype"],
1514
+ "%WeakMapPrototype%": ["WeakMap", "prototype"],
1515
+ "%WeakSetPrototype%": ["WeakSet", "prototype"]
1516
+ }, ve = Te(), Ie = Ea(), Ka = ve.call(de, Array.prototype.concat), Va = ve.call(xr, Array.prototype.splice), er = ve.call(de, String.prototype.replace), Me = ve.call(de, String.prototype.slice), Ja = ve.call(de, RegExp.prototype.exec), ja = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ya = /\\(\\)?/g, Xa = /* @__PURE__ */ o(function(e) {
1517
+ var r = Me(e, 0, 1), n = Me(e, -1);
1518
+ if (r === "%" && n !== "%")
1519
+ throw new re("invalid intrinsic syntax, expected closing `%`");
1520
+ if (n === "%" && r !== "%")
1521
+ throw new re("invalid intrinsic syntax, expected opening `%`");
1522
+ var a = [];
1523
+ return er(e, ja, function(i, l, s, u) {
1524
+ a[a.length] = s ? er(u, Ya, "$1") : l || i;
1525
+ }), a;
1526
+ }, "stringToPath"), Za = /* @__PURE__ */ o(function(e, r) {
1527
+ var n = e, a;
1528
+ if (Ie(Zt, n) && (a = Zt[n], n = "%" + a[0] + "%"), Ie(G, n)) {
1529
+ var i = G[n];
1530
+ if (i === Z && (i = Qa(n)), typeof i > "u" && !r)
1531
+ throw new ee("intrinsic " + e + " exists, but is not available. Please file an issue!");
1532
+ return {
1533
+ alias: a,
1534
+ name: n,
1535
+ value: i
1536
+ };
1537
+ }
1538
+ throw new re("intrinsic " + e + " does not exist!");
1539
+ }, "getBaseIntrinsic"), gt = /* @__PURE__ */ o(function(e, r) {
1540
+ if (typeof e != "string" || e.length === 0)
1541
+ throw new ee("intrinsic name must be a non-empty string");
1542
+ if (arguments.length > 1 && typeof r != "boolean")
1543
+ throw new ee('"allowMissing" argument must be a boolean');
1544
+ if (Ja(/^%?[^%]*%?$/, e) === null)
1545
+ throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
1546
+ var n = Xa(e), a = n.length > 0 ? n[0] : "", i = Za("%" + a + "%", r), l = i.name, s = i.value, u = !1, f = i.alias;
1547
+ f && (a = f[0], Va(n, Ka([0, 1], f)));
1548
+ for (var p = 1, y = !0; p < n.length; p += 1) {
1549
+ var c = n[p], g = Me(c, 0, 1), h = Me(c, -1);
1550
+ if ((g === '"' || g === "'" || g === "`" || h === '"' || h === "'" || h === "`") && g !== h)
1551
+ throw new re("property names with quotes must have matching quotes");
1552
+ if ((c === "constructor" || !y) && (u = !0), a += "." + c, l = "%" + a + "%", Ie(G, l))
1553
+ s = G[l];
1554
+ else if (s != null) {
1555
+ if (!(c in s)) {
1556
+ if (!r)
1557
+ throw new ee("base intrinsic for " + e + " exists, but the property is not available.");
1558
+ return;
1559
+ }
1560
+ if (ye && p + 1 >= n.length) {
1561
+ var b = ye(s, c);
1562
+ y = !!b, y && "get" in b && !("originalValue" in b.get) ? s = b.get : s = s[c];
1563
+ } else
1564
+ y = Ie(s, c), s = s[c];
1565
+ y && !u && (G[l] = s);
1566
+ }
1567
+ }
1568
+ return s;
1569
+ }, "GetIntrinsic"), Er = gt, Ir = Ar, eo = Ir([Er("%String.prototype.indexOf%")]), Mr = /* @__PURE__ */ o(function(e, r) {
1570
+ var n = (
1571
+ /** @type {(this: unknown, ...args: unknown[]) => unknown} */
1572
+ Er(e, !!r)
1573
+ );
1574
+ return typeof n == "function" && eo(e, ".prototype.") > -1 ? Ir(
1575
+ /** @type {const} */
1576
+ [n]
1577
+ ) : n;
1578
+ }, "callBoundIntrinsic"), to = gt, he = Mr, ro = Fe, no = ne, tr = to("%Map%", !0), ao = he("Map.prototype.get", !0), oo = he("Map.prototype.set", !0), io = he("Map.prototype.has", !0), lo = he("Map.prototype.delete", !0), uo = he("Map.prototype.size", !0), Fr = !!tr && /** @type {Exclude<import('.'), false>} */
1579
+ /* @__PURE__ */ o(function() {
1580
+ var e, r = {
1581
+ assert: /* @__PURE__ */ o(function(n) {
1582
+ if (!r.has(n))
1583
+ throw new no("Side channel does not contain " + ro(n));
1584
+ }, "assert"),
1585
+ delete: /* @__PURE__ */ o(function(n) {
1586
+ if (e) {
1587
+ var a = lo(e, n);
1588
+ return uo(e) === 0 && (e = void 0), a;
1589
+ }
1590
+ return !1;
1591
+ }, "delete"),
1592
+ get: /* @__PURE__ */ o(function(n) {
1593
+ if (e)
1594
+ return ao(e, n);
1595
+ }, "get"),
1596
+ has: /* @__PURE__ */ o(function(n) {
1597
+ return e ? io(e, n) : !1;
1598
+ }, "has"),
1599
+ set: /* @__PURE__ */ o(function(n, a) {
1600
+ e || (e = new tr()), oo(e, n, a);
1601
+ }, "set")
1602
+ };
1603
+ return r;
1604
+ }, "getSideChannelMap"), so = gt, Re = Mr, co = Fe, Se = Fr, fo = ne, X = so("%WeakMap%", !0), po = Re("WeakMap.prototype.get", !0), yo = Re("WeakMap.prototype.set", !0), vo = Re("WeakMap.prototype.has", !0), ho = Re("WeakMap.prototype.delete", !0), go = X ? (
1605
+ /** @type {Exclude<import('.'), false>} */
1606
+ /* @__PURE__ */ o(function() {
1607
+ var e, r, n = {
1608
+ assert: /* @__PURE__ */ o(function(a) {
1609
+ if (!n.has(a))
1610
+ throw new fo("Side channel does not contain " + co(a));
1611
+ }, "assert"),
1612
+ delete: /* @__PURE__ */ o(function(a) {
1613
+ if (X && a && (typeof a == "object" || typeof a == "function")) {
1614
+ if (e)
1615
+ return ho(e, a);
1616
+ } else if (Se && r)
1617
+ return r.delete(a);
1618
+ return !1;
1619
+ }, "delete"),
1620
+ get: /* @__PURE__ */ o(function(a) {
1621
+ return X && a && (typeof a == "object" || typeof a == "function") && e ? po(e, a) : r && r.get(a);
1622
+ }, "get"),
1623
+ has: /* @__PURE__ */ o(function(a) {
1624
+ return X && a && (typeof a == "object" || typeof a == "function") && e ? vo(e, a) : !!r && r.has(a);
1625
+ }, "has"),
1626
+ set: /* @__PURE__ */ o(function(a, i) {
1627
+ X && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new X()), yo(e, a, i)) : Se && (r || (r = Se()), r.set(a, i));
1628
+ }, "set")
1629
+ };
1630
+ return n;
1631
+ }, "getSideChannelWeakMap")
1632
+ ) : Se, mo = ne, bo = Fe, So = Kn, wo = Fr, Oo = go, Ao = Oo || wo || So, Po = /* @__PURE__ */ o(function() {
1633
+ var e, r = {
1634
+ assert: /* @__PURE__ */ o(function(n) {
1635
+ if (!r.has(n))
1636
+ throw new mo("Side channel does not contain " + bo(n));
1637
+ }, "assert"),
1638
+ delete: /* @__PURE__ */ o(function(n) {
1639
+ return !!e && e.delete(n);
1640
+ }, "delete"),
1641
+ get: /* @__PURE__ */ o(function(n) {
1642
+ return e && e.get(n);
1643
+ }, "get"),
1644
+ has: /* @__PURE__ */ o(function(n) {
1645
+ return !!e && e.has(n);
1646
+ }, "has"),
1647
+ set: /* @__PURE__ */ o(function(n, a) {
1648
+ e || (e = Ao()), e.set(n, a);
1649
+ }, "set")
1650
+ };
1651
+ return r;
1652
+ }, "getSideChannel"), xo = String.prototype.replace, Eo = /%20/g, Xe = {
1653
+ RFC1738: "RFC1738",
1654
+ RFC3986: "RFC3986"
1655
+ }, mt = {
1656
+ default: Xe.RFC3986,
1657
+ formatters: {
1658
+ RFC1738: /* @__PURE__ */ o(function(t) {
1659
+ return xo.call(t, Eo, "+");
1660
+ }, "RFC1738"),
1661
+ RFC3986: /* @__PURE__ */ o(function(t) {
1662
+ return String(t);
1663
+ }, "RFC3986")
1664
+ },
1665
+ RFC1738: Xe.RFC1738,
1666
+ RFC3986: Xe.RFC3986
1667
+ }, Io = mt, Ze = Object.prototype.hasOwnProperty, q = Array.isArray, $ = function() {
1668
+ for (var t = [], e = 0; e < 256; ++e)
1669
+ t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
1670
+ return t;
1671
+ }(), Mo = /* @__PURE__ */ o(function(e) {
1672
+ for (; e.length > 1; ) {
1673
+ var r = e.pop(), n = r.obj[r.prop];
1674
+ if (q(n)) {
1675
+ for (var a = [], i = 0; i < n.length; ++i)
1676
+ typeof n[i] < "u" && a.push(n[i]);
1677
+ r.obj[r.prop] = a;
1678
+ }
1679
+ }
1680
+ }, "compactQueue"), $r = /* @__PURE__ */ o(function(e, r) {
1681
+ for (var n = r && r.plainObjects ? { __proto__: null } : {}, a = 0; a < e.length; ++a)
1682
+ typeof e[a] < "u" && (n[a] = e[a]);
1683
+ return n;
1684
+ }, "arrayToObject"), Fo = /* @__PURE__ */ o(function t(e, r, n) {
1685
+ if (!r)
1686
+ return e;
1687
+ if (typeof r != "object" && typeof r != "function") {
1688
+ if (q(e))
1689
+ e.push(r);
1690
+ else if (e && typeof e == "object")
1691
+ (n && (n.plainObjects || n.allowPrototypes) || !Ze.call(Object.prototype, r)) && (e[r] = !0);
1692
+ else
1693
+ return [e, r];
1694
+ return e;
1695
+ }
1696
+ if (!e || typeof e != "object")
1697
+ return [e].concat(r);
1698
+ var a = e;
1699
+ return q(e) && !q(r) && (a = $r(e, n)), q(e) && q(r) ? (r.forEach(function(i, l) {
1700
+ if (Ze.call(e, l)) {
1701
+ var s = e[l];
1702
+ s && typeof s == "object" && i && typeof i == "object" ? e[l] = t(s, i, n) : e.push(i);
1703
+ } else
1704
+ e[l] = i;
1705
+ }), e) : Object.keys(r).reduce(function(i, l) {
1706
+ var s = r[l];
1707
+ return Ze.call(i, l) ? i[l] = t(i[l], s, n) : i[l] = s, i;
1708
+ }, a);
1709
+ }, "merge"), $o = /* @__PURE__ */ o(function(e, r) {
1710
+ return Object.keys(r).reduce(function(n, a) {
1711
+ return n[a] = r[a], n;
1712
+ }, e);
1713
+ }, "assignSingleSource"), To = /* @__PURE__ */ o(function(t, e, r) {
1714
+ var n = t.replace(/\+/g, " ");
1715
+ if (r === "iso-8859-1")
1716
+ return n.replace(/%[0-9a-f]{2}/gi, unescape);
1717
+ try {
1718
+ return decodeURIComponent(n);
1719
+ } catch {
1720
+ return n;
1721
+ }
1722
+ }, "decode"), et = 1024, Ro = /* @__PURE__ */ o(function(e, r, n, a, i) {
1723
+ if (e.length === 0)
1724
+ return e;
1725
+ var l = e;
1726
+ if (typeof e == "symbol" ? l = Symbol.prototype.toString.call(e) : typeof e != "string" && (l = String(e)), n === "iso-8859-1")
1727
+ return escape(l).replace(/%u[0-9a-f]{4}/gi, function(g) {
1728
+ return "%26%23" + parseInt(g.slice(2), 16) + "%3B";
1729
+ });
1730
+ for (var s = "", u = 0; u < l.length; u += et) {
1731
+ for (var f = l.length >= et ? l.slice(u, u + et) : l, p = [], y = 0; y < f.length; ++y) {
1732
+ var c = f.charCodeAt(y);
1733
+ if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || i === Io.RFC1738 && (c === 40 || c === 41)) {
1734
+ p[p.length] = f.charAt(y);
1735
+ continue;
1736
+ }
1737
+ if (c < 128) {
1738
+ p[p.length] = $[c];
1739
+ continue;
1740
+ }
1741
+ if (c < 2048) {
1742
+ p[p.length] = $[192 | c >> 6] + $[128 | c & 63];
1743
+ continue;
1744
+ }
1745
+ if (c < 55296 || c >= 57344) {
1746
+ p[p.length] = $[224 | c >> 12] + $[128 | c >> 6 & 63] + $[128 | c & 63];
1747
+ continue;
1748
+ }
1749
+ y += 1, c = 65536 + ((c & 1023) << 10 | f.charCodeAt(y) & 1023), p[p.length] = $[240 | c >> 18] + $[128 | c >> 12 & 63] + $[128 | c >> 6 & 63] + $[128 | c & 63];
1750
+ }
1751
+ s += p.join("");
1752
+ }
1753
+ return s;
1754
+ }, "encode"), Do = /* @__PURE__ */ o(function(e) {
1755
+ for (var r = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < r.length; ++a)
1756
+ for (var i = r[a], l = i.obj[i.prop], s = Object.keys(l), u = 0; u < s.length; ++u) {
1757
+ var f = s[u], p = l[f];
1758
+ typeof p == "object" && p !== null && n.indexOf(p) === -1 && (r.push({ obj: l, prop: f }), n.push(p));
1759
+ }
1760
+ return Mo(r), e;
1761
+ }, "compact"), No = /* @__PURE__ */ o(function(e) {
1762
+ return Object.prototype.toString.call(e) === "[object RegExp]";
1763
+ }, "isRegExp"), Co = /* @__PURE__ */ o(function(e) {
1764
+ return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1765
+ }, "isBuffer"), _o = /* @__PURE__ */ o(function(e, r) {
1766
+ return [].concat(e, r);
1767
+ }, "combine"), Lo = /* @__PURE__ */ o(function(e, r) {
1768
+ if (q(e)) {
1769
+ for (var n = [], a = 0; a < e.length; a += 1)
1770
+ n.push(r(e[a]));
1771
+ return n;
1772
+ }
1773
+ return r(e);
1774
+ }, "maybeMap"), Tr = {
1775
+ arrayToObject: $r,
1776
+ assign: $o,
1777
+ combine: _o,
1778
+ compact: Do,
1779
+ decode: To,
1780
+ encode: Ro,
1781
+ isBuffer: Co,
1782
+ isRegExp: No,
1783
+ maybeMap: Lo,
1784
+ merge: Fo
1785
+ }, Rr = Po, Ae = Tr, fe = mt, Bo = Object.prototype.hasOwnProperty, Dr = {
1786
+ brackets: /* @__PURE__ */ o(function(e) {
1787
+ return e + "[]";
1788
+ }, "brackets"),
1789
+ comma: "comma",
1790
+ indices: /* @__PURE__ */ o(function(e, r) {
1791
+ return e + "[" + r + "]";
1792
+ }, "indices"),
1793
+ repeat: /* @__PURE__ */ o(function(e) {
1794
+ return e;
1795
+ }, "repeat")
1796
+ }, T = Array.isArray, Wo = Array.prototype.push, Nr = /* @__PURE__ */ o(function(t, e) {
1797
+ Wo.apply(t, T(e) ? e : [e]);
1798
+ }, "pushToArray"), ko = Date.prototype.toISOString, rr = fe.default, S = {
1799
+ addQueryPrefix: !1,
1800
+ allowDots: !1,
1801
+ allowEmptyArrays: !1,
1802
+ arrayFormat: "indices",
1803
+ charset: "utf-8",
1804
+ charsetSentinel: !1,
1805
+ commaRoundTrip: !1,
1806
+ delimiter: "&",
1807
+ encode: !0,
1808
+ encodeDotInKeys: !1,
1809
+ encoder: Ae.encode,
1810
+ encodeValuesOnly: !1,
1811
+ filter: void 0,
1812
+ format: rr,
1813
+ formatter: fe.formatters[rr],
1814
+ // deprecated
1815
+ indices: !1,
1816
+ serializeDate: /* @__PURE__ */ o(function(e) {
1817
+ return ko.call(e);
1818
+ }, "serializeDate"),
1819
+ skipNulls: !1,
1820
+ strictNullHandling: !1
1821
+ }, zo = /* @__PURE__ */ o(function(e) {
1822
+ return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1823
+ }, "isNonNullishPrimitive"), tt = {}, Uo = /* @__PURE__ */ o(function t(e, r, n, a, i, l, s, u, f, p, y, c, g, h, b, O, E, C) {
1824
+ for (var v = e, _ = C, U = 0, ae = !1; (_ = _.get(tt)) !== void 0 && !ae; ) {
1825
+ var V = _.get(e);
1826
+ if (U += 1, typeof V < "u") {
1827
+ if (V === U)
1828
+ throw new RangeError("Cyclic object value");
1829
+ ae = !0;
1830
+ }
1831
+ typeof _.get(tt) > "u" && (U = 0);
1832
+ }
1833
+ if (typeof p == "function" ? v = p(r, v) : v instanceof Date ? v = g(v) : n === "comma" && T(v) && (v = Ae.maybeMap(v, function(Ne) {
1834
+ return Ne instanceof Date ? g(Ne) : Ne;
1835
+ })), v === null) {
1836
+ if (l)
1837
+ return f && !O ? f(r, S.encoder, E, "key", h) : r;
1838
+ v = "";
1839
+ }
1840
+ if (zo(v) || Ae.isBuffer(v)) {
1841
+ if (f) {
1842
+ var ge = O ? r : f(r, S.encoder, E, "key", h);
1843
+ return [b(ge) + "=" + b(f(v, S.encoder, E, "value", h))];
1844
+ }
1845
+ return [b(r) + "=" + b(String(v))];
1846
+ }
1847
+ var H = [];
1848
+ if (typeof v > "u")
1849
+ return H;
1850
+ var L;
1851
+ if (n === "comma" && T(v))
1852
+ O && f && (v = Ae.maybeMap(v, f)), L = [{ value: v.length > 0 ? v.join(",") || null : void 0 }];
1853
+ else if (T(p))
1854
+ L = p;
1855
+ else {
1856
+ var me = Object.keys(v);
1857
+ L = y ? me.sort(y) : me;
1858
+ }
1859
+ var J = u ? String(r).replace(/\./g, "%2E") : String(r), F = a && T(v) && v.length === 1 ? J + "[]" : J;
1860
+ if (i && T(v) && v.length === 0)
1861
+ return F + "[]";
1862
+ for (var B = 0; B < L.length; ++B) {
1863
+ var D = L[B], oe = typeof D == "object" && D && typeof D.value < "u" ? D.value : v[D];
1864
+ if (!(s && oe === null)) {
1865
+ var De = c && u ? String(D).replace(/\./g, "%2E") : String(D), Br = T(v) ? typeof n == "function" ? n(F, De) : F : F + (c ? "." + De : "[" + De + "]");
1866
+ C.set(e, U);
1867
+ var Pt = Rr();
1868
+ Pt.set(tt, C), Nr(H, t(
1869
+ oe,
1870
+ Br,
1871
+ n,
1872
+ a,
1873
+ i,
1874
+ l,
1875
+ s,
1876
+ u,
1877
+ n === "comma" && O && T(v) ? null : f,
1878
+ p,
1879
+ y,
1880
+ c,
1881
+ g,
1882
+ h,
1883
+ b,
1884
+ O,
1885
+ E,
1886
+ Pt
1887
+ ));
1888
+ }
1889
+ }
1890
+ return H;
1891
+ }, "stringify"), Ho = /* @__PURE__ */ o(function(e) {
1892
+ if (!e)
1893
+ return S;
1894
+ if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
1895
+ throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
1896
+ if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
1897
+ throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
1898
+ if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
1899
+ throw new TypeError("Encoder has to be a function.");
1900
+ var r = e.charset || S.charset;
1901
+ if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1902
+ throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1903
+ var n = fe.default;
1904
+ if (typeof e.format < "u") {
1905
+ if (!Bo.call(fe.formatters, e.format))
1906
+ throw new TypeError("Unknown format option provided.");
1907
+ n = e.format;
1908
+ }
1909
+ var a = fe.formatters[n], i = S.filter;
1910
+ (typeof e.filter == "function" || T(e.filter)) && (i = e.filter);
1911
+ var l;
1912
+ if (e.arrayFormat in Dr ? l = e.arrayFormat : "indices" in e ? l = e.indices ? "indices" : "repeat" : l = S.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1913
+ throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1914
+ var s = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : S.allowDots : !!e.allowDots;
1915
+ return {
1916
+ addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : S.addQueryPrefix,
1917
+ allowDots: s,
1918
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : S.allowEmptyArrays,
1919
+ arrayFormat: l,
1920
+ charset: r,
1921
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : S.charsetSentinel,
1922
+ commaRoundTrip: !!e.commaRoundTrip,
1923
+ delimiter: typeof e.delimiter > "u" ? S.delimiter : e.delimiter,
1924
+ encode: typeof e.encode == "boolean" ? e.encode : S.encode,
1925
+ encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : S.encodeDotInKeys,
1926
+ encoder: typeof e.encoder == "function" ? e.encoder : S.encoder,
1927
+ encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : S.encodeValuesOnly,
1928
+ filter: i,
1929
+ format: n,
1930
+ formatter: a,
1931
+ serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : S.serializeDate,
1932
+ skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : S.skipNulls,
1933
+ sort: typeof e.sort == "function" ? e.sort : null,
1934
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : S.strictNullHandling
1935
+ };
1936
+ }, "normalizeStringifyOptions"), qo = /* @__PURE__ */ o(function(t, e) {
1937
+ var r = t, n = Ho(e), a, i;
1938
+ typeof n.filter == "function" ? (i = n.filter, r = i("", r)) : T(n.filter) && (i = n.filter, a = i);
1939
+ var l = [];
1940
+ if (typeof r != "object" || r === null)
1941
+ return "";
1942
+ var s = Dr[n.arrayFormat], u = s === "comma" && n.commaRoundTrip;
1943
+ a || (a = Object.keys(r)), n.sort && a.sort(n.sort);
1944
+ for (var f = Rr(), p = 0; p < a.length; ++p) {
1945
+ var y = a[p], c = r[y];
1946
+ n.skipNulls && c === null || Nr(l, Uo(
1947
+ c,
1948
+ y,
1949
+ s,
1950
+ u,
1951
+ n.allowEmptyArrays,
1952
+ n.strictNullHandling,
1953
+ n.skipNulls,
1954
+ n.encodeDotInKeys,
1955
+ n.encode ? n.encoder : null,
1956
+ n.filter,
1957
+ n.sort,
1958
+ n.allowDots,
1959
+ n.serializeDate,
1960
+ n.format,
1961
+ n.formatter,
1962
+ n.encodeValuesOnly,
1963
+ n.charset,
1964
+ f
1965
+ ));
1966
+ }
1967
+ var g = l.join(n.delimiter), h = n.addQueryPrefix === !0 ? "?" : "";
1968
+ return n.charsetSentinel && (n.charset === "iso-8859-1" ? h += "utf8=%26%2310003%3B&" : h += "utf8=%E2%9C%93&"), g.length > 0 ? h + g : "";
1969
+ }, "stringify_1"), Q = Tr, ut = Object.prototype.hasOwnProperty, nr = Array.isArray, m = {
1970
+ allowDots: !1,
1971
+ allowEmptyArrays: !1,
1972
+ allowPrototypes: !1,
1973
+ allowSparse: !1,
1974
+ arrayLimit: 20,
1975
+ charset: "utf-8",
1976
+ charsetSentinel: !1,
1977
+ comma: !1,
1978
+ decodeDotInKeys: !1,
1979
+ decoder: Q.decode,
1980
+ delimiter: "&",
1981
+ depth: 5,
1982
+ duplicates: "combine",
1983
+ ignoreQueryPrefix: !1,
1984
+ interpretNumericEntities: !1,
1985
+ parameterLimit: 1e3,
1986
+ parseArrays: !0,
1987
+ plainObjects: !1,
1988
+ strictDepth: !1,
1989
+ strictNullHandling: !1,
1990
+ throwOnLimitExceeded: !1
1991
+ }, Go = /* @__PURE__ */ o(function(t) {
1992
+ return t.replace(/&#(\d+);/g, function(e, r) {
1993
+ return String.fromCharCode(parseInt(r, 10));
1994
+ });
1995
+ }, "interpretNumericEntities"), Cr = /* @__PURE__ */ o(function(t, e, r) {
1996
+ if (t && typeof t == "string" && e.comma && t.indexOf(",") > -1)
1997
+ return t.split(",");
1998
+ if (e.throwOnLimitExceeded && r >= e.arrayLimit)
1999
+ throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
2000
+ return t;
2001
+ }, "parseArrayValue"), Qo = "utf8=%26%2310003%3B", Ko = "utf8=%E2%9C%93", Vo = /* @__PURE__ */ o(function(e, r) {
2002
+ var n = { __proto__: null }, a = r.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
2003
+ a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
2004
+ var i = r.parameterLimit === 1 / 0 ? void 0 : r.parameterLimit, l = a.split(
2005
+ r.delimiter,
2006
+ r.throwOnLimitExceeded ? i + 1 : i
2007
+ );
2008
+ if (r.throwOnLimitExceeded && l.length > i)
2009
+ throw new RangeError("Parameter limit exceeded. Only " + i + " parameter" + (i === 1 ? "" : "s") + " allowed.");
2010
+ var s = -1, u, f = r.charset;
2011
+ if (r.charsetSentinel)
2012
+ for (u = 0; u < l.length; ++u)
2013
+ l[u].indexOf("utf8=") === 0 && (l[u] === Ko ? f = "utf-8" : l[u] === Qo && (f = "iso-8859-1"), s = u, u = l.length);
2014
+ for (u = 0; u < l.length; ++u)
2015
+ if (u !== s) {
2016
+ var p = l[u], y = p.indexOf("]="), c = y === -1 ? p.indexOf("=") : y + 1, g, h;
2017
+ 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(
2018
+ Cr(
2019
+ p.slice(c + 1),
2020
+ r,
2021
+ nr(n[g]) ? n[g].length : 0
2022
+ ),
2023
+ function(O) {
2024
+ return r.decoder(O, m.decoder, f, "value");
2025
+ }
2026
+ )), h && r.interpretNumericEntities && f === "iso-8859-1" && (h = Go(String(h))), p.indexOf("[]=") > -1 && (h = nr(h) ? [h] : h);
2027
+ var b = ut.call(n, g);
2028
+ b && r.duplicates === "combine" ? n[g] = Q.combine(n[g], h) : (!b || r.duplicates === "last") && (n[g] = h);
2029
+ }
2030
+ return n;
2031
+ }, "parseQueryStringValues"), Jo = /* @__PURE__ */ o(function(t, e, r, n) {
2032
+ var a = 0;
2033
+ if (t.length > 0 && t[t.length - 1] === "[]") {
2034
+ var i = t.slice(0, -1).join("");
2035
+ a = Array.isArray(e) && e[i] ? e[i].length : 0;
2036
+ }
2037
+ for (var l = n ? e : Cr(e, r, a), s = t.length - 1; s >= 0; --s) {
2038
+ var u, f = t[s];
2039
+ if (f === "[]" && r.parseArrays)
2040
+ u = r.allowEmptyArrays && (l === "" || r.strictNullHandling && l === null) ? [] : Q.combine([], l);
2041
+ else {
2042
+ u = r.plainObjects ? { __proto__: null } : {};
2043
+ 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);
2044
+ !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);
2045
+ }
2046
+ l = u;
2047
+ }
2048
+ return l;
2049
+ }, "parseObject"), jo = /* @__PURE__ */ o(function(e, r, n, a) {
2050
+ if (e) {
2051
+ 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 = [];
2052
+ if (f) {
2053
+ if (!n.plainObjects && ut.call(Object.prototype, f) && !n.allowPrototypes)
2054
+ return;
2055
+ p.push(f);
2056
+ }
2057
+ for (var y = 0; n.depth > 0 && (u = s.exec(i)) !== null && y < n.depth; ) {
2058
+ if (y += 1, !n.plainObjects && ut.call(Object.prototype, u[1].slice(1, -1)) && !n.allowPrototypes)
2059
+ return;
2060
+ p.push(u[1]);
2061
+ }
2062
+ if (u) {
2063
+ if (n.strictDepth === !0)
2064
+ throw new RangeError("Input depth exceeded depth option of " + n.depth + " and strictDepth is true");
2065
+ p.push("[" + i.slice(u.index) + "]");
2066
+ }
2067
+ return Jo(p, r, n, a);
2068
+ }
2069
+ }, "parseQueryStringKeys"), Yo = /* @__PURE__ */ o(function(e) {
2070
+ if (!e)
2071
+ return m;
2072
+ if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
2073
+ throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
2074
+ if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
2075
+ throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
2076
+ if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
2077
+ throw new TypeError("Decoder has to be a function.");
2078
+ if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
2079
+ throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
2080
+ if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
2081
+ throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
2082
+ var r = typeof e.charset > "u" ? m.charset : e.charset, n = typeof e.duplicates > "u" ? m.duplicates : e.duplicates;
2083
+ if (n !== "combine" && n !== "first" && n !== "last")
2084
+ throw new TypeError("The duplicates option must be either combine, first, or last");
2085
+ var a = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : m.allowDots : !!e.allowDots;
2086
+ return {
2087
+ allowDots: a,
2088
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : m.allowEmptyArrays,
2089
+ allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : m.allowPrototypes,
2090
+ allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : m.allowSparse,
2091
+ arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : m.arrayLimit,
2092
+ charset: r,
2093
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : m.charsetSentinel,
2094
+ comma: typeof e.comma == "boolean" ? e.comma : m.comma,
2095
+ decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : m.decodeDotInKeys,
2096
+ decoder: typeof e.decoder == "function" ? e.decoder : m.decoder,
2097
+ delimiter: typeof e.delimiter == "string" || Q.isRegExp(e.delimiter) ? e.delimiter : m.delimiter,
2098
+ // eslint-disable-next-line no-implicit-coercion, no-extra-parens
2099
+ depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : m.depth,
2100
+ duplicates: n,
2101
+ ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
2102
+ interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : m.interpretNumericEntities,
2103
+ parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : m.parameterLimit,
2104
+ parseArrays: e.parseArrays !== !1,
2105
+ plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : m.plainObjects,
2106
+ strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : m.strictDepth,
2107
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : m.strictNullHandling,
2108
+ throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
2109
+ };
2110
+ }, "normalizeParseOptions"), Xo = /* @__PURE__ */ o(function(t, e) {
2111
+ var r = Yo(e);
2112
+ if (t === "" || t === null || typeof t > "u")
2113
+ return r.plainObjects ? { __proto__: null } : {};
2114
+ for (var n = typeof t == "string" ? Vo(t, r) : t, a = r.plainObjects ? { __proto__: null } : {}, i = Object.keys(n), l = 0; l < i.length; ++l) {
2115
+ var s = i[l], u = jo(s, n[s], r, typeof t == "string");
2116
+ a = Q.merge(a, u, r);
2117
+ }
2118
+ return r.allowSparse === !0 ? a : Q.compact(a);
2119
+ }, "parse$1"), Zo = qo, ei = Xo, ti = mt, ri = {
2120
+ formats: ti,
2121
+ parse: ei,
2122
+ stringify: Zo
2123
+ };
2124
+ const ni = /* @__PURE__ */ Qr(ri), ar = "1.6rem", or = 0.8, rt = 3, le = {
2125
+ palette: {
2126
+ mode: "light",
2127
+ text: {
2128
+ primary: "rgb(17, 24, 39)",
2129
+ secondary: "rgb(107, 114, 128)",
2130
+ disabled: "rgb(149, 156, 169)"
2131
+ },
2132
+ common: {
2133
+ black: "rgb(17, 24, 39)",
2134
+ white: "rgb(255, 255, 255)"
2135
+ },
2136
+ background: {
2137
+ paper: "#FFFFFF",
2138
+ default: "#f6f7f9"
2139
+ },
2140
+ primary: {
2141
+ main: "#232a2d"
2142
+ },
2143
+ secondary: {
2144
+ main: "#039BE5"
2145
+ },
2146
+ success: {
2147
+ main: "#2f7d31"
2148
+ },
2149
+ info: {
2150
+ main: "#9c27b0",
2151
+ contrastText: "#fff"
2152
+ },
2153
+ warning: {
2154
+ main: "#ed7d31",
2155
+ contrastText: "#fff"
2156
+ },
2157
+ error: {
2158
+ main: "#c00000"
2159
+ }
2160
+ }
2161
+ }, ai = {
2162
+ customScrollbars: !0,
2163
+ direction: "ltr",
2164
+ theme: {
2165
+ main: le,
2166
+ navbar: A({}, le, { palette: { background: { default: "#fff" } } }),
2167
+ toolbar: A({}, le, {
2168
+ palette: {
2169
+ mode: "dark",
2170
+ background: {
2171
+ default: le.palette.secondary.main
2172
+ }
2173
+ }
2174
+ }),
2175
+ footer: le
2176
+ }
2177
+ };
2178
+ function oi() {
2179
+ const t = ni.parse(window.location.search, { ignoreQueryPrefix: !0 }), { defaultSettings: e = {} } = t;
2180
+ return typeof e == "string" ? JSON.parse(e) : {};
2181
+ }
2182
+ o(oi, "getParsedQuerySettings");
2183
+ const ii = {
2184
+ typography: {
2185
+ fontFamily: ["Pretendard", "Roboto", '"Helvetica"', "Arial", "sans-serif"].join(","),
2186
+ fontWeightLight: 300,
2187
+ fontWeightRegular: 400,
2188
+ fontWeightMedium: 500
2189
+ },
2190
+ components: {
2191
+ MuiSvgIcon: {
2192
+ defaultProps: {},
2193
+ styleOverrides: {
2194
+ root: {},
2195
+ sizeSmall: {
2196
+ width: 16,
2197
+ height: 16
2198
+ },
2199
+ sizeMedium: {
2200
+ width: 20,
2201
+ height: 20
2202
+ },
2203
+ sizeLarge: {
2204
+ width: 24,
2205
+ height: 24
2206
+ }
2207
+ }
2208
+ },
2209
+ MuiAppBar: {
2210
+ defaultProps: {
2211
+ enableColorOnDark: !0
2212
+ },
2213
+ styleOverrides: {
2214
+ root: {
2215
+ backgroundImage: "none"
2216
+ }
2217
+ }
2218
+ },
2219
+ MuiPickersPopper: {
2220
+ styleOverrides: {
2221
+ root: {
2222
+ zIndex: 99999
2223
+ }
2224
+ }
2225
+ },
2226
+ MuiAutocomplete: {
2227
+ styleOverrides: {
2228
+ popper: {
2229
+ zIndex: 99999
2230
+ }
2231
+ }
2232
+ },
2233
+ MuiButtonBase: {
2234
+ defaultProps: {
2235
+ // disableRipple: true
2236
+ },
2237
+ styleOverrides: {
2238
+ root: {}
2239
+ }
2240
+ },
2241
+ MuiIconButton: {
2242
+ styleOverrides: {
2243
+ root: {
2244
+ borderRadius: 8
2245
+ },
2246
+ sizeMedium: {
2247
+ width: 36,
2248
+ height: 36,
2249
+ maxHeight: 36
2250
+ },
2251
+ sizeSmall: {
2252
+ width: 32,
2253
+ height: 32,
2254
+ maxHeight: 32
2255
+ },
2256
+ sizeLarge: {
2257
+ width: 40,
2258
+ height: 40,
2259
+ maxHeight: 40
2260
+ }
2261
+ }
2262
+ },
2263
+ MuiBadge: {
2264
+ defaultProps: {},
2265
+ styleOverrides: {
2266
+ root: {}
2267
+ }
2268
+ },
2269
+ MuiAvatar: {
2270
+ defaultProps: {},
2271
+ styleOverrides: {
2272
+ root: {
2273
+ width: 36,
2274
+ height: 36
2275
+ }
2276
+ }
2277
+ },
2278
+ MuiButton: {
2279
+ defaultProps: {
2280
+ variant: "text",
2281
+ color: "inherit"
2282
+ },
2283
+ styleOverrides: {
2284
+ root: {
2285
+ textTransform: "none"
2286
+ // lineHeight: 1,
2287
+ },
2288
+ sizeMedium: {
2289
+ borderRadius: 8,
2290
+ height: 36,
2291
+ minHeight: 36,
2292
+ maxHeight: 36
2293
+ },
2294
+ sizeSmall: {
2295
+ borderRadius: 8,
2296
+ height: 32,
2297
+ minHeight: 32,
2298
+ maxHeight: 32
2299
+ },
2300
+ sizeLarge: {
2301
+ height: 40,
2302
+ minHeight: 40,
2303
+ maxHeight: 40,
2304
+ borderRadius: 8
2305
+ },
2306
+ contained: {
2307
+ boxShadow: "none",
2308
+ "&:hover, &:focus": {
2309
+ boxShadow: "none"
2310
+ }
2311
+ }
2312
+ }
2313
+ },
2314
+ MuiButtonGroup: {
2315
+ defaultProps: {
2316
+ color: "secondary"
2317
+ },
2318
+ styleOverrides: {
2319
+ contained: {
2320
+ borderRadius: 8
2321
+ }
2322
+ }
2323
+ },
2324
+ MuiTab: {
2325
+ styleOverrides: {
2326
+ root: {
2327
+ textTransform: "none"
2328
+ }
2329
+ }
2330
+ },
2331
+ MuiDrawer: {
2332
+ styleOverrides: {
2333
+ paper: {}
2334
+ }
2335
+ },
2336
+ MuiDialog: {
2337
+ styleOverrides: {
2338
+ paper: {
2339
+ borderRadius: 12
2340
+ }
2341
+ }
2342
+ },
2343
+ MuiPaper: {
2344
+ styleOverrides: {
2345
+ root: {
2346
+ backgroundImage: "none"
2347
+ },
2348
+ rounded: {
2349
+ borderRadius: 12
2350
+ }
2351
+ }
2352
+ },
2353
+ MuiCard: {
2354
+ styleOverrides: {}
2355
+ },
2356
+ MuiPopover: {
2357
+ styleOverrides: {
2358
+ paper: {
2359
+ borderRadius: 8
2360
+ }
2361
+ }
2362
+ },
2363
+ MuiTextField: {
2364
+ defaultProps: {
2365
+ color: "secondary"
2366
+ },
2367
+ styleOverrides: {
2368
+ root: {
2369
+ "& > .MuiFormHelperText-root": {
2370
+ marginLeft: 11
2371
+ }
2372
+ }
2373
+ }
2374
+ },
2375
+ MuiInputLabel: {
2376
+ defaultProps: {
2377
+ color: "secondary"
2378
+ },
2379
+ styleOverrides: {
2380
+ shrink: {
2381
+ transform: `translate(11px, -7px) scale(${or})`
2382
+ },
2383
+ root: {
2384
+ fontSize: ar,
2385
+ transform: "translate(11px, 8px) scale(1)",
2386
+ "&.Mui-focused": {},
2387
+ "&.MuiInputLabel-outlined.MuiInputLabel-shrink": {
2388
+ lineHeight: 1.2,
2389
+ zIndex: 1,
2390
+ "&::before": {
2391
+ content: '""',
2392
+ position: "absolute",
2393
+ inset: `0 -${rt}px`,
2394
+ backgroundColor: "var(--mui-palette-background-paper)",
2395
+ borderRadius: 4,
2396
+ zIndex: -1
2397
+ }
2398
+ }
2399
+ }
2400
+ }
2401
+ },
2402
+ MuiSelect: {
2403
+ defaultProps: {
2404
+ color: "secondary"
2405
+ },
2406
+ styleOverrides: {
2407
+ select: {
2408
+ minHeight: 0
2409
+ }
2410
+ }
2411
+ },
2412
+ MuiFormHelperText: {
2413
+ styleOverrides: {
2414
+ root: {}
2415
+ }
2416
+ },
2417
+ MuiInputAdornment: {
2418
+ styleOverrides: {
2419
+ root: {
2420
+ marginRight: 0
2421
+ }
2422
+ }
2423
+ },
2424
+ MuiInputBase: {
2425
+ styleOverrides: {
2426
+ root: {
2427
+ // height: 36,
2428
+ minHeight: 36,
2429
+ borderRadius: 8,
2430
+ lineHeight: 1
2431
+ },
2432
+ legend: {
2433
+ fontSize: "0.75em"
2434
+ },
2435
+ input: {
2436
+ padding: "5px 11px"
2437
+ },
2438
+ adornedStart: {
2439
+ paddingLeft: "11px!important"
2440
+ },
2441
+ sizeSmall: {
2442
+ height: 32,
2443
+ minHeight: 32,
2444
+ borderRadius: 8
2445
+ },
2446
+ sizeMedium: {
2447
+ height: 36,
2448
+ minHeight: 36,
2449
+ borderRadius: 8
2450
+ },
2451
+ sizeLarge: {
2452
+ height: 40,
2453
+ minHeight: 40,
2454
+ borderRadius: 8
2455
+ }
2456
+ }
2457
+ },
2458
+ MuiOutlinedInput: {
2459
+ defaultProps: {
2460
+ color: "secondary"
2461
+ },
2462
+ styleOverrides: {
2463
+ root: {
2464
+ // paddingLeft: 11
2465
+ },
2466
+ input: {
2467
+ padding: "5px 11px"
2468
+ }
2469
+ }
2470
+ },
2471
+ MuiFilledInput: {
2472
+ styleOverrides: {
2473
+ root: {
2474
+ borderRadius: 8,
2475
+ "&:before, &:after": {
2476
+ display: "none"
2477
+ }
2478
+ },
2479
+ input: {
2480
+ padding: "5px 11px"
2481
+ }
2482
+ }
2483
+ },
2484
+ MuiSlider: {
2485
+ defaultProps: {
2486
+ color: "secondary"
2487
+ }
2488
+ },
2489
+ MuiCheckbox: {
2490
+ defaultProps: {
2491
+ color: "secondary"
2492
+ }
2493
+ },
2494
+ MuiRadio: {
2495
+ defaultProps: {
2496
+ color: "secondary"
2497
+ }
2498
+ },
2499
+ MuiSwitch: {
2500
+ defaultProps: {
2501
+ color: "secondary"
2502
+ }
2503
+ },
2504
+ MuiTypography: {
2505
+ variants: [
2506
+ {
2507
+ props: { color: "text.secondary" },
2508
+ style: {
2509
+ color: "text.secondary"
2510
+ }
2511
+ }
2512
+ ]
2513
+ },
2514
+ MuiFormControl: {
2515
+ styleOverrides: {
2516
+ root: {
2517
+ "& .MuiInputLabel-outlined.MuiInputLabel-shrink:not(:empty) + .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline legend": {
2518
+ fontSize: `calc(${ar} * ${or})`,
2519
+ maxWidth: "100%"
2520
+ },
2521
+ "& .MuiInputLabel-outlined.MuiInputLabel-shrink:not(:empty) + .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline legend > span:not(.notranslate)": {
2522
+ paddingLeft: `${rt}px`,
2523
+ paddingRight: `${rt}px`
2524
+ }
2525
+ }
2526
+ }
2527
+ }
2528
+ }
2529
+ }, li = {
2530
+ typography: {
2531
+ htmlFontSize: 10,
2532
+ fontSize: 13,
2533
+ body1: {
2534
+ fontSize: "1.3rem"
2535
+ },
2536
+ body2: {
2537
+ fontSize: "1.3rem"
2538
+ }
2539
+ }
2540
+ };
2541
+ j[400], j[600], j[700], j[400], j[600], j[700];
2542
+ function ui(t) {
2543
+ const e = sr(t);
2544
+ return {
2545
+ border: /* @__PURE__ */ o((r = 1) => ({
2546
+ borderWidth: r,
2547
+ borderStyle: "solid",
2548
+ borderColor: e.palette.divider
2549
+ }), "border"),
2550
+ borderLeft: /* @__PURE__ */ o((r = 1) => ({
2551
+ borderLeftWidth: r,
2552
+ borderStyle: "solid",
2553
+ borderColor: e.palette.divider
2554
+ }), "borderLeft"),
2555
+ borderRight: /* @__PURE__ */ o((r = 1) => ({
2556
+ borderRightWidth: r,
2557
+ borderStyle: "solid",
2558
+ borderColor: e.palette.divider
2559
+ }), "borderRight"),
2560
+ borderTop: /* @__PURE__ */ o((r = 1) => ({
2561
+ borderTopWidth: r,
2562
+ borderStyle: "solid",
2563
+ borderColor: e.palette.divider
2564
+ }), "borderTop"),
2565
+ borderBottom: /* @__PURE__ */ o((r = 1) => ({
2566
+ borderBottomWidth: r,
2567
+ borderStyle: "solid",
2568
+ borderColor: e.palette.divider
2569
+ }), "borderBottom")
2570
+ };
2571
+ }
2572
+ o(ui, "extendThemeWithMixins");
2573
+ const si = {
2574
+ primary: "rgb(17, 24, 39)",
2575
+ secondary: "rgb(107, 114, 128)",
2576
+ disabled: "rgb(149, 156, 169)"
2577
+ }, ci = {
2578
+ primary: "rgb(255,255,255)",
2579
+ secondary: "rgb(148, 163, 184)",
2580
+ disabled: "rgb(156, 163, 175)"
2581
+ }, Bi = lr(
2582
+ "owpSettings/changeOwpTheme",
2583
+ async (t, { dispatch: e, getState: r }) => {
2584
+ const a = r().owpSettings, { navbar: i, footer: l, toolbar: s, main: u } = t, f = {
2585
+ ...a.current,
2586
+ theme: {
2587
+ main: u,
2588
+ navbar: i,
2589
+ toolbar: s,
2590
+ footer: l
2591
+ }
2592
+ };
2593
+ return e(Lr(f));
2594
+ }
2595
+ );
2596
+ function fi() {
2597
+ const t = "layout1", e = {
2598
+ style: t,
2599
+ config: cr[t].defaults
2600
+ };
2601
+ return console.log("🚀 ~ getInitialSettings ~ layout:", e), A({}, ai, { layout: e }, oi());
2602
+ }
2603
+ o(fi, "getInitialSettings");
2604
+ function _r(t, e) {
2605
+ var r, n;
2606
+ return A(
2607
+ {},
2608
+ t,
2609
+ { layout: { config: (n = cr[(r = e == null ? void 0 : e.layout) == null ? void 0 : r.style]) == null ? void 0 : n.defaults } },
2610
+ e
2611
+ );
2612
+ }
2613
+ o(_r, "generateSettings");
2614
+ const Pe = fi();
2615
+ console.log("🚀 ~ initialSettings:", Pe);
2616
+ const ir = {
2617
+ initial: Pe,
2618
+ defaults: A({}, Pe),
2619
+ current: A({}, Pe)
2620
+ }, Lr = lr(
2621
+ "owpSettings/setDefaultSettings",
2622
+ async (t, { getState: e }) => {
2623
+ const n = e().owpSettings, a = _r(n.defaults, t);
2624
+ return {
2625
+ ...n,
2626
+ defaults: A({}, a),
2627
+ current: A({}, a)
2628
+ };
2629
+ }
2630
+ ), P = st({
2631
+ name: "owpSettings",
2632
+ initialState: ir,
2633
+ reducers: {
2634
+ setSettings: /* @__PURE__ */ o((t, e) => {
2635
+ const r = _r(t.defaults, e.payload);
2636
+ return {
2637
+ ...t,
2638
+ current: r
2639
+ };
2640
+ }, "setSettings"),
2641
+ setInitialSettings: /* @__PURE__ */ o(() => A({}, ir), "setInitialSettings"),
2642
+ resetSettings: /* @__PURE__ */ o((t) => ({
2643
+ ...t,
2644
+ defaults: A({}, t.defaults),
2645
+ current: A({}, t.defaults)
2646
+ }), "resetSettings")
2647
+ },
2648
+ extraReducers: /* @__PURE__ */ o((t) => {
2649
+ t.addCase(Lr.fulfilled, (e, r) => r.payload);
2650
+ }, "extraReducers"),
2651
+ selectors: {
2652
+ selectOwpSettings: /* @__PURE__ */ o((t) => t, "selectOwpSettings"),
2653
+ selectOwpSettingsDefaults: /* @__PURE__ */ o((t) => t.defaults, "selectOwpSettingsDefaults"),
2654
+ selectOwpSettingsCurrent: /* @__PURE__ */ o((t) => t.current, "selectOwpSettingsCurrent"),
2655
+ selectOwpCurrentSettings: /* @__PURE__ */ o((t) => t.current, "selectOwpCurrentSettings"),
2656
+ getDirection: /* @__PURE__ */ o((t) => t.current.direction, "getDirection"),
2657
+ getMainTheme: /* @__PURE__ */ o((t) => t.current.theme.main, "getMainTheme"),
2658
+ getNavbarTheme: /* @__PURE__ */ o((t) => t.current.theme.navbar, "getNavbarTheme"),
2659
+ getToolbarTheme: /* @__PURE__ */ o((t) => t.current.theme.toolbar, "getToolbarTheme"),
2660
+ getFooterTheme: /* @__PURE__ */ o((t) => t.current.theme.footer, "getFooterTheme"),
2661
+ selectOwpCurrentLayoutConfig: /* @__PURE__ */ o((t) => t.current.layout.config, "selectOwpCurrentLayoutConfig"),
2662
+ selectOwpDefaultSettings: /* @__PURE__ */ o((t) => t.defaults, "selectOwpDefaultSettings"),
2663
+ selectCustomScrollbarsEnabled: /* @__PURE__ */ o((t) => t.current.customScrollbars, "selectCustomScrollbarsEnabled")
2664
+ }
2665
+ }), Wi = P.selectors.selectOwpCurrentLayoutConfig, ki = P.selectors.selectOwpCurrentSettings, zi = P.selectors.selectOwpSettings, Ui = P.selectors.selectOwpSettingsDefaults, Hi = P.selectors.selectOwpSettingsCurrent, qi = P.selectors.selectOwpDefaultSettings, Gi = P.selectors.selectCustomScrollbarsEnabled, I = P.selectors.getDirection, bt = P.selectors.getMainTheme, St = P.selectors.getNavbarTheme, wt = P.selectors.getToolbarTheme, Ot = P.selectors.getFooterTheme;
2666
+ function M(t, e) {
2667
+ const r = A({}, ii, t, li);
2668
+ return sr(
2669
+ A({}, r, {
2670
+ mixins: ui(r),
2671
+ direction: e
2672
+ })
2673
+ );
2674
+ }
2675
+ o(M, "generateMuiTheme");
2676
+ const Qi = /* @__PURE__ */ o((t) => {
2677
+ function e(r) {
2678
+ return Jr(r, "#ffffff") >= 3;
2679
+ }
2680
+ return o(e, "isDark"), e(t) ? pi : yi;
2681
+ }, "selectContrastMainTheme");
2682
+ function z(t, e) {
2683
+ return A({}, t, {
2684
+ dark: {
2685
+ palette: {
2686
+ mode: "dark",
2687
+ divider: "rgba(241,245,249,.12)",
2688
+ background: {
2689
+ paper: "#1E2125",
2690
+ default: "#121212"
2691
+ },
2692
+ text: ci
2693
+ }
2694
+ },
2695
+ light: {
2696
+ palette: {
2697
+ mode: "light",
2698
+ divider: "#e2e8f0",
2699
+ background: {
2700
+ paper: "#FFFFFF",
2701
+ default: "#F7F7F7"
2702
+ },
2703
+ text: si
2704
+ }
2705
+ }
2706
+ }[e]);
2707
+ }
2708
+ o(z, "changeThemeMode");
2709
+ const Ki = x(
2710
+ [bt, I],
2711
+ (t, e) => M(t, e)
2712
+ ), pi = x(
2713
+ [bt, I],
2714
+ (t, e) => M(z(t, "dark"), e)
2715
+ ), yi = x(
2716
+ [bt, I],
2717
+ (t, e) => M(z(t, "light"), e)
2718
+ ), Vi = x(
2719
+ [St, I],
2720
+ (t, e) => M(t, e)
2721
+ ), Ji = x(
2722
+ [St, I],
2723
+ (t, e) => M(z(t, "dark"), e)
2724
+ ), ji = x(
2725
+ [St, I],
2726
+ (t, e) => M(z(t, "light"), e)
2727
+ ), Yi = x(
2728
+ [wt, I],
2729
+ (t, e) => M(t, e)
2730
+ ), Xi = x(
2731
+ [wt, I],
2732
+ (t, e) => M(z(t, "dark"), e)
2733
+ ), Zi = x(
2734
+ [wt, I],
2735
+ (t, e) => M(z(t, "light"), e)
2736
+ ), el = x(
2737
+ [Ot, I],
2738
+ (t, e) => M(t, e)
2739
+ ), tl = x(
2740
+ [Ot, I],
2741
+ (t, e) => M(z(t, "dark"), e)
2742
+ ), rl = x(
2743
+ [Ot, I],
2744
+ (t, e) => M(z(t, "light"), e)
2745
+ ), { resetSettings: nl, setInitialSettings: al, setSettings: ol } = P.actions;
2746
+ P.reducer;
2747
+ const il = zr(
2748
+ /**
2749
+ * Static slices
2750
+ */
2751
+ P,
2752
+ pt,
2753
+ ct,
2754
+ /**
2755
+ * Dynamic slices
2756
+ */
2757
+ {
2758
+ [It.reducerPath]: It.reducer
2759
+ }
2760
+ ).withLazyLoadedSlices();
2761
+ export {
2762
+ rn as A,
2763
+ si as B,
2764
+ ci as C,
2765
+ Bi as D,
2766
+ P as E,
2767
+ zi as F,
2768
+ Ui as G,
2769
+ Hi as H,
2770
+ I,
2771
+ bt as J,
2772
+ St as K,
2773
+ wt as L,
2774
+ Ot as M,
2775
+ Qi as N,
2776
+ pe as O,
2777
+ Ki as P,
2778
+ pi as Q,
2779
+ yi as R,
2780
+ Ji as S,
2781
+ ji as T,
2782
+ Xi as U,
2783
+ Zi as V,
2784
+ tl as W,
2785
+ rl as X,
2786
+ nl as Y,
2787
+ al as Z,
2788
+ It as a,
2789
+ Wi as b,
2790
+ Mi as c,
2791
+ $i as d,
2792
+ pt as e,
2793
+ Gi as f,
2794
+ Di as g,
2795
+ Ri as h,
2796
+ ki as i,
2797
+ Lr as j,
2798
+ xi as k,
2799
+ Pi as l,
2800
+ on as m,
2801
+ Ti as n,
2802
+ Vi as o,
2803
+ Yi as p,
2804
+ ni as q,
2805
+ il as r,
2806
+ el as s,
2807
+ cr as t,
2808
+ ct as u,
2809
+ qi as v,
2810
+ _r as w,
2811
+ ol as x,
2812
+ Zr as y,
2813
+ tn as z
2814
+ };
2815
+ //# sourceMappingURL=lazyLoadedSlices-CsgnywgU.js.map