@stonecrop/desktop 0.13.3 → 0.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/desktop.css +1 -1
- package/dist/desktop.js +353 -354
- package/dist/desktop.js.map +1 -1
- package/package.json +6 -6
package/dist/desktop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ue, ref as C, onMounted as
|
|
1
|
+
import { defineComponent as Ue, ref as C, onMounted as vr, openBlock as P, createElementBlock as F, normalizeClass as ee, createElementVNode as T, Fragment as ne, renderList as xe, toDisplayString as Rt, createCommentVNode as Wt, withDirectives as sr, vShow as Br, useTemplateRef as bo, computed as x, watch as rt, nextTick as oe, createBlock as ar, Teleport as zi, createVNode as re, Transition as Ai, withCtx as $e, withModifiers as So, vModelText as Eo, renderSlot as Rr, createTextVNode as ur, toRaw as Io, isRef as ie, isReactive as yr, toRef as Kt, hasInjectionContext as Wr, inject as je, getCurrentInstance as Oo, reactive as ko, markRaw as Ee, effectScope as Ni, getCurrentScope as an, onScopeDispose as un, toRefs as qn, provide as De, shallowRef as Fe, toValue as wt, readonly as _r, customRef as cn, unref as or, useModel as Ci, watchEffect as xi, resolveDynamicComponent as Ln, mergeProps as $i, mergeModels as Vn, resolveComponent as ji, withKeys as be, normalizeStyle as zr } from "vue";
|
|
2
2
|
const Mi = { class: "action-menu-icon" }, Ti = { class: "action-element-header" }, Pi = ["disabled", "onClick"], qi = { key: 0 }, Li = { class: "dropdown-header" }, Vi = ["onClick"], Ui = ["onClick"], Fi = { class: "dropdown-container" }, Bi = { class: "dropdown" }, Wi = ["onClick"], Ki = ["href"], Hi = { class: "dropdown-item" }, Ji = /* @__PURE__ */ Ue({
|
|
3
3
|
__name: "ActionSet",
|
|
4
4
|
props: {
|
|
@@ -7,7 +7,7 @@ const Mi = { class: "action-menu-icon" }, Ti = { class: "action-element-header"
|
|
|
7
7
|
emits: ["actionClick"],
|
|
8
8
|
setup(t, { emit: e }) {
|
|
9
9
|
const r = e, n = C({}), o = C(!0), i = C([]);
|
|
10
|
-
|
|
10
|
+
vr(() => {
|
|
11
11
|
s();
|
|
12
12
|
});
|
|
13
13
|
const s = () => {
|
|
@@ -72,7 +72,7 @@ const Mi = { class: "action-menu-icon" }, Ti = { class: "action-element-header"
|
|
|
72
72
|
]))), 128))
|
|
73
73
|
])
|
|
74
74
|
], 512), [
|
|
75
|
-
[
|
|
75
|
+
[Br, n.value[p]]
|
|
76
76
|
])
|
|
77
77
|
])) : Wt("", !0)
|
|
78
78
|
]))), 128))
|
|
@@ -86,7 +86,7 @@ const Mi = { class: "action-menu-icon" }, Ti = { class: "action-element-header"
|
|
|
86
86
|
}, Ro = /* @__PURE__ */ Do(Ji, [["__scopeId", "data-v-07634099"]]), Gi = { class: "command-palette-header" }, Qi = ["placeholder"], Yi = {
|
|
87
87
|
key: 0,
|
|
88
88
|
class: "command-palette-results"
|
|
89
|
-
},
|
|
89
|
+
}, Zi = ["onClick", "onMouseover"], Xi = { class: "result-title" }, ts = { class: "result-content" }, es = {
|
|
90
90
|
key: 1,
|
|
91
91
|
class: "command-palette-no-results"
|
|
92
92
|
}, zo = /* @__PURE__ */ Ue({
|
|
@@ -161,15 +161,15 @@ const Mi = { class: "action-menu-icon" }, Ti = { class: "action-element-header"
|
|
|
161
161
|
onClick: (v) => c(h),
|
|
162
162
|
onMouseover: (v) => o.value = p
|
|
163
163
|
}, [
|
|
164
|
-
T("div",
|
|
165
|
-
|
|
164
|
+
T("div", Xi, [
|
|
165
|
+
Rr(l.$slots, "title", { result: h })
|
|
166
166
|
]),
|
|
167
167
|
T("div", ts, [
|
|
168
|
-
|
|
168
|
+
Rr(l.$slots, "content", { result: h })
|
|
169
169
|
])
|
|
170
|
-
], 42,
|
|
170
|
+
], 42, Zi))), 128))
|
|
171
171
|
])) : n.value && !s.value.length ? (P(), F("div", es, [
|
|
172
|
-
|
|
172
|
+
Rr(l.$slots, "empty", {}, () => [
|
|
173
173
|
ur(' No results found for "' + Rt(n.value) + '" ', 1)
|
|
174
174
|
])
|
|
175
175
|
])) : Wt("", !0)
|
|
@@ -181,11 +181,11 @@ const Mi = { class: "action-menu-icon" }, Ti = { class: "action-element-header"
|
|
|
181
181
|
]));
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
|
-
const
|
|
184
|
+
const Xt = typeof window < "u";
|
|
185
185
|
let Bt;
|
|
186
186
|
const cr = (t) => Bt = t;
|
|
187
187
|
process.env.NODE_ENV;
|
|
188
|
-
const
|
|
188
|
+
const Kr = process.env.NODE_ENV !== "production" ? /* @__PURE__ */ Symbol("pinia") : (
|
|
189
189
|
/* istanbul ignore next */
|
|
190
190
|
/* @__PURE__ */ Symbol()
|
|
191
191
|
);
|
|
@@ -202,7 +202,7 @@ function Ao(t, e) {
|
|
|
202
202
|
if (!(r in t))
|
|
203
203
|
continue;
|
|
204
204
|
const o = t[r];
|
|
205
|
-
Ht(o) && Ht(n) && !ie(n) && !
|
|
205
|
+
Ht(o) && Ht(n) && !ie(n) && !yr(n) ? t[r] = Ao(o, n) : t[r] = n;
|
|
206
206
|
}
|
|
207
207
|
return t;
|
|
208
208
|
}
|
|
@@ -215,19 +215,19 @@ function Un(t, e, r, n = No) {
|
|
|
215
215
|
};
|
|
216
216
|
return !r && an() && un(o), o;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Zt(t, ...e) {
|
|
219
219
|
t.forEach((r) => {
|
|
220
220
|
r(...e);
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
|
-
const rs = (t) => t(), Fn = /* @__PURE__ */ Symbol(),
|
|
224
|
-
function
|
|
223
|
+
const rs = (t) => t(), Fn = /* @__PURE__ */ Symbol(), Ar = /* @__PURE__ */ Symbol();
|
|
224
|
+
function Hr(t, e) {
|
|
225
225
|
t instanceof Map && e instanceof Map ? e.forEach((r, n) => t.set(n, r)) : t instanceof Set && e instanceof Set && e.forEach(t.add, t);
|
|
226
226
|
for (const r in e) {
|
|
227
227
|
if (!e.hasOwnProperty(r))
|
|
228
228
|
continue;
|
|
229
229
|
const n = e[r], o = t[r];
|
|
230
|
-
Ht(o) && Ht(n) && t.hasOwnProperty(r) && !ie(n) && !
|
|
230
|
+
Ht(o) && Ht(n) && t.hasOwnProperty(r) && !ie(n) && !yr(n) ? t[r] = Hr(o, n) : t[r] = n;
|
|
231
231
|
}
|
|
232
232
|
return t;
|
|
233
233
|
}
|
|
@@ -257,9 +257,9 @@ function Wn(t, e, r, n) {
|
|
|
257
257
|
return s[h].call(p, p);
|
|
258
258
|
})), f), {}));
|
|
259
259
|
}
|
|
260
|
-
return u =
|
|
260
|
+
return u = Jr(t, c, e, r, n, !0), u;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function Jr(t, e, r = {}, n, o, i) {
|
|
263
263
|
let s;
|
|
264
264
|
const a = gt({ actions: {} }, r);
|
|
265
265
|
if (process.env.NODE_ENV !== "production" && !n._e.active)
|
|
@@ -279,7 +279,7 @@ function Gr(t, e, r = {}, n, o, i) {
|
|
|
279
279
|
type: Re.patchFunction,
|
|
280
280
|
storeId: t,
|
|
281
281
|
events: p
|
|
282
|
-
}) : (
|
|
282
|
+
}) : (Hr(n.state.value[t], S), w = {
|
|
283
283
|
type: Re.patchObject,
|
|
284
284
|
payload: S,
|
|
285
285
|
storeId: t,
|
|
@@ -288,7 +288,7 @@ function Gr(t, e, r = {}, n, o, i) {
|
|
|
288
288
|
const N = D = /* @__PURE__ */ Symbol();
|
|
289
289
|
oe().then(() => {
|
|
290
290
|
D === N && (c = !0);
|
|
291
|
-
}), l = !0,
|
|
291
|
+
}), l = !0, Zt(f, w, n.state.value[t]);
|
|
292
292
|
}
|
|
293
293
|
const tt = i ? function() {
|
|
294
294
|
const { state: w } = r, N = w ? w() : {};
|
|
@@ -306,7 +306,7 @@ function Gr(t, e, r = {}, n, o, i) {
|
|
|
306
306
|
}
|
|
307
307
|
const Et = (S, w = "") => {
|
|
308
308
|
if (Fn in S)
|
|
309
|
-
return S[
|
|
309
|
+
return S[Ar] = w, S;
|
|
310
310
|
const N = function() {
|
|
311
311
|
cr(n);
|
|
312
312
|
const J = Array.from(arguments), z = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new Set();
|
|
@@ -316,9 +316,9 @@ function Gr(t, e, r = {}, n, o, i) {
|
|
|
316
316
|
function Ot(m) {
|
|
317
317
|
q.add(m);
|
|
318
318
|
}
|
|
319
|
-
|
|
319
|
+
Zt(h, {
|
|
320
320
|
args: J,
|
|
321
|
-
name: N[
|
|
321
|
+
name: N[Ar],
|
|
322
322
|
store: k,
|
|
323
323
|
after: Q,
|
|
324
324
|
onError: Ot
|
|
@@ -327,11 +327,11 @@ function Gr(t, e, r = {}, n, o, i) {
|
|
|
327
327
|
try {
|
|
328
328
|
ot = S.apply(this && this.$id === t ? this : k, J);
|
|
329
329
|
} catch (m) {
|
|
330
|
-
throw
|
|
330
|
+
throw Zt(q, m), m;
|
|
331
331
|
}
|
|
332
|
-
return ot instanceof Promise ? ot.then((m) => (
|
|
332
|
+
return ot instanceof Promise ? ot.then((m) => (Zt(z, m), m)).catch((m) => (Zt(q, m), Promise.reject(m))) : (Zt(z, ot), ot);
|
|
333
333
|
};
|
|
334
|
-
return N[Fn] = !0, N[
|
|
334
|
+
return N[Fn] = !0, N[Ar] = w, N;
|
|
335
335
|
}, Y = /* @__PURE__ */ Ee({
|
|
336
336
|
actions: {},
|
|
337
337
|
getters: {},
|
|
@@ -355,7 +355,7 @@ function Gr(t, e, r = {}, n, o, i) {
|
|
|
355
355
|
return N;
|
|
356
356
|
},
|
|
357
357
|
$dispose: ut
|
|
358
|
-
}, k = ko(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" &&
|
|
358
|
+
}, k = ko(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Xt ? gt(
|
|
359
359
|
{
|
|
360
360
|
_hmrPayload: Y,
|
|
361
361
|
_customProperties: Ee(/* @__PURE__ */ new Set())
|
|
@@ -369,15 +369,15 @@ function Gr(t, e, r = {}, n, o, i) {
|
|
|
369
369
|
const L = (n._a && n._a.runWithContext || rs)(() => n._e.run(() => (s = Ni()).run(() => e({ action: Et }))));
|
|
370
370
|
for (const S in L) {
|
|
371
371
|
const w = L[S];
|
|
372
|
-
if (ie(w) && !Bn(w) ||
|
|
373
|
-
process.env.NODE_ENV !== "production" && o ? y.value[S] = Kt(L, S) : i || (v && os(w) && (ie(w) ? w.value = v[S] :
|
|
372
|
+
if (ie(w) && !Bn(w) || yr(w))
|
|
373
|
+
process.env.NODE_ENV !== "production" && o ? y.value[S] = Kt(L, S) : i || (v && os(w) && (ie(w) ? w.value = v[S] : Hr(w, v[S])), n.state.value[t][S] = w), process.env.NODE_ENV !== "production" && Y.state.push(S);
|
|
374
374
|
else if (typeof w == "function") {
|
|
375
375
|
const N = process.env.NODE_ENV !== "production" && o ? w : Et(w, S);
|
|
376
376
|
L[S] = N, process.env.NODE_ENV !== "production" && (Y.actions[S] = w), a.actions[S] = w;
|
|
377
377
|
} else process.env.NODE_ENV !== "production" && Bn(w) && (Y.getters[S] = i ? (
|
|
378
378
|
// @ts-expect-error
|
|
379
379
|
r.getters[S]
|
|
380
|
-
) : w,
|
|
380
|
+
) : w, Xt && (L._getters || // @ts-expect-error: same
|
|
381
381
|
(L._getters = Ee([]))).push(S));
|
|
382
382
|
}
|
|
383
383
|
if (gt(k, L), gt(Io(k), L), Object.defineProperty(k, "$state", {
|
|
@@ -419,7 +419,7 @@ function Gr(t, e, r = {}, n, o, i) {
|
|
|
419
419
|
}), Object.keys(k._hmrPayload.actions).forEach((w) => {
|
|
420
420
|
w in S._hmrPayload.actions || delete k[w];
|
|
421
421
|
}), k._hmrPayload = S._hmrPayload, k._getters = S._getters, k._hotUpdating = !1;
|
|
422
|
-
})), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" &&
|
|
422
|
+
})), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Xt) {
|
|
423
423
|
const S = {
|
|
424
424
|
writable: !0,
|
|
425
425
|
configurable: !0,
|
|
@@ -431,7 +431,7 @@ function Gr(t, e, r = {}, n, o, i) {
|
|
|
431
431
|
});
|
|
432
432
|
}
|
|
433
433
|
return n._p.forEach((S) => {
|
|
434
|
-
if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" &&
|
|
434
|
+
if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Xt) {
|
|
435
435
|
const w = s.run(() => S({
|
|
436
436
|
store: k,
|
|
437
437
|
app: n._a,
|
|
@@ -456,20 +456,20 @@ function is(t, e, r) {
|
|
|
456
456
|
const o = typeof e == "function";
|
|
457
457
|
n = o ? r : e;
|
|
458
458
|
function i(s, a) {
|
|
459
|
-
const u =
|
|
459
|
+
const u = Wr();
|
|
460
460
|
if (s = // in test mode, ignore the argument provided as we can always retrieve a
|
|
461
461
|
// pinia instance with getActivePinia()
|
|
462
|
-
(process.env.NODE_ENV === "test" && Bt && Bt._testing ? null : s) || (u ? je(
|
|
462
|
+
(process.env.NODE_ENV === "test" && Bt && Bt._testing ? null : s) || (u ? je(Kr, null) : null), s && cr(s), process.env.NODE_ENV !== "production" && !Bt)
|
|
463
463
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
464
464
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
465
465
|
This will fail in production.`);
|
|
466
|
-
s = Bt, s._s.has(t) || (o ?
|
|
466
|
+
s = Bt, s._s.has(t) || (o ? Jr(t, e, n, s) : Wn(t, n, s), process.env.NODE_ENV !== "production" && (i._pinia = s));
|
|
467
467
|
const c = s._s.get(t);
|
|
468
468
|
if (process.env.NODE_ENV !== "production" && a) {
|
|
469
|
-
const l = "__hot:" + t, f = o ?
|
|
469
|
+
const l = "__hot:" + t, f = o ? Jr(l, e, n, s, !0) : Wn(l, gt({}, n), s, !0);
|
|
470
470
|
a._hotUpdate(f), delete s.state.value[l], s._s.delete(l);
|
|
471
471
|
}
|
|
472
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
472
|
+
if (process.env.NODE_ENV !== "production" && Xt) {
|
|
473
473
|
const l = Oo();
|
|
474
474
|
if (l && l.proxy && // avoid adding stores that are just built for hot module replacement
|
|
475
475
|
!a) {
|
|
@@ -491,7 +491,7 @@ function ss(t) {
|
|
|
491
491
|
set(i) {
|
|
492
492
|
t[n] = i;
|
|
493
493
|
}
|
|
494
|
-
}) : (ie(o) ||
|
|
494
|
+
}) : (ie(o) || yr(o)) && (r[n] = // ---
|
|
495
495
|
Kt(t, n));
|
|
496
496
|
}
|
|
497
497
|
return r;
|
|
@@ -503,7 +503,7 @@ const us = Object.prototype.toString, cs = (t) => us.call(t) === "[object Object
|
|
|
503
503
|
function fs(...t) {
|
|
504
504
|
if (t.length !== 1) return Kt(...t);
|
|
505
505
|
const e = t[0];
|
|
506
|
-
return typeof e == "function" ?
|
|
506
|
+
return typeof e == "function" ? _r(cn(() => ({
|
|
507
507
|
get: e,
|
|
508
508
|
set: ls
|
|
509
509
|
}))) : C(e);
|
|
@@ -533,13 +533,13 @@ function ps(t = Co, e = {}) {
|
|
|
533
533
|
n.value && t(...a);
|
|
534
534
|
};
|
|
535
535
|
return {
|
|
536
|
-
isActive:
|
|
536
|
+
isActive: _r(n),
|
|
537
537
|
pause: o,
|
|
538
538
|
resume: i,
|
|
539
539
|
eventFilter: s
|
|
540
540
|
};
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Nr(t) {
|
|
543
543
|
return Array.isArray(t) ? t : [t];
|
|
544
544
|
}
|
|
545
545
|
function ds(t) {
|
|
@@ -562,7 +562,7 @@ function ys(t, e, r = {}) {
|
|
|
562
562
|
};
|
|
563
563
|
}
|
|
564
564
|
function _s(t, e = !0, r) {
|
|
565
|
-
ds() ?
|
|
565
|
+
ds() ? vr(t, r) : e ? t() : oe(t);
|
|
566
566
|
}
|
|
567
567
|
function gs(t, e, r) {
|
|
568
568
|
return rt(t, e, {
|
|
@@ -578,15 +578,15 @@ function ms(t) {
|
|
|
578
578
|
}
|
|
579
579
|
function Kn(...t) {
|
|
580
580
|
const e = (n, o, i, s) => (n.addEventListener(o, i, s), () => n.removeEventListener(o, i, s)), r = x(() => {
|
|
581
|
-
const n =
|
|
581
|
+
const n = Nr(wt(t[0])).filter((o) => o != null);
|
|
582
582
|
return n.every((o) => typeof o != "string") ? n : void 0;
|
|
583
583
|
});
|
|
584
584
|
return gs(() => {
|
|
585
585
|
var n, o;
|
|
586
586
|
return [
|
|
587
587
|
(n = (o = r.value) === null || o === void 0 ? void 0 : o.map((i) => ms(i))) !== null && n !== void 0 ? n : [lr].filter((i) => i != null),
|
|
588
|
-
|
|
589
|
-
|
|
588
|
+
Nr(wt(r.value ? t[1] : t[0])),
|
|
589
|
+
Nr(or(r.value ? t[2] : t[1])),
|
|
590
590
|
wt(r.value ? t[3] : t[2])
|
|
591
591
|
];
|
|
592
592
|
}, ([n, o, i, s], a, u) => {
|
|
@@ -597,9 +597,9 @@ function Kn(...t) {
|
|
|
597
597
|
});
|
|
598
598
|
}, { flush: "post" });
|
|
599
599
|
}
|
|
600
|
-
const Ye = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
600
|
+
const Ye = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ze = "__vueuse_ssr_handlers__", ws = /* @__PURE__ */ bs();
|
|
601
601
|
function bs() {
|
|
602
|
-
return
|
|
602
|
+
return Ze in Ye || (Ye[Ze] = Ye[Ze] || {}), Ye[Ze];
|
|
603
603
|
}
|
|
604
604
|
function Ss(t, e) {
|
|
605
605
|
return ws[t] || e;
|
|
@@ -731,10 +731,10 @@ function ks(t, e, r = {}) {
|
|
|
731
731
|
const { window: n = lr } = r;
|
|
732
732
|
return Os(t, e, n?.localStorage, r);
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function Cr() {
|
|
735
735
|
return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : `${Date.now()}-${Math.random().toString(36).substring(2, 9)}`;
|
|
736
736
|
}
|
|
737
|
-
function
|
|
737
|
+
function Xe(t) {
|
|
738
738
|
const e = {
|
|
739
739
|
type: t.type,
|
|
740
740
|
clientId: t.clientId,
|
|
@@ -769,7 +769,7 @@ const xo = /* @__PURE__ */ is("hst-operation-log", () => {
|
|
|
769
769
|
autoSyncInterval: 3e4,
|
|
770
770
|
enablePersistence: !1,
|
|
771
771
|
persistenceKeyPrefix: "stonecrop-ops"
|
|
772
|
-
}), e = C([]), r = C(-1), n = C(
|
|
772
|
+
}), e = C([]), r = C(-1), n = C(Cr()), o = C(!1), i = C([]), s = x(() => r.value < 0 ? !1 : e.value[r.value]?.reversible ?? !1), a = x(() => r.value < e.value.length - 1), u = x(() => {
|
|
773
773
|
let m = 0;
|
|
774
774
|
for (let E = r.value; E >= 0 && e.value[E]?.reversible; E--)
|
|
775
775
|
m++;
|
|
@@ -789,7 +789,7 @@ const xo = /* @__PURE__ */ is("hst-operation-log", () => {
|
|
|
789
789
|
function h(m, E = "user") {
|
|
790
790
|
const I = {
|
|
791
791
|
...m,
|
|
792
|
-
id:
|
|
792
|
+
id: Cr(),
|
|
793
793
|
timestamp: /* @__PURE__ */ new Date(),
|
|
794
794
|
source: E,
|
|
795
795
|
userId: t.value.userId
|
|
@@ -806,7 +806,7 @@ const xo = /* @__PURE__ */ is("hst-operation-log", () => {
|
|
|
806
806
|
}
|
|
807
807
|
function p() {
|
|
808
808
|
o.value = !0, i.value.push({
|
|
809
|
-
id:
|
|
809
|
+
id: Cr(),
|
|
810
810
|
operations: []
|
|
811
811
|
});
|
|
812
812
|
}
|
|
@@ -936,7 +936,7 @@ const xo = /* @__PURE__ */ is("hst-operation-log", () => {
|
|
|
936
936
|
clientId: n.value,
|
|
937
937
|
timestamp: /* @__PURE__ */ new Date()
|
|
938
938
|
};
|
|
939
|
-
L.postMessage(
|
|
939
|
+
L.postMessage(Xe(E));
|
|
940
940
|
}
|
|
941
941
|
function N(m, E) {
|
|
942
942
|
if (!L) return;
|
|
@@ -946,7 +946,7 @@ const xo = /* @__PURE__ */ is("hst-operation-log", () => {
|
|
|
946
946
|
clientId: n.value,
|
|
947
947
|
timestamp: /* @__PURE__ */ new Date()
|
|
948
948
|
};
|
|
949
|
-
L.postMessage(
|
|
949
|
+
L.postMessage(Xe(I));
|
|
950
950
|
}
|
|
951
951
|
function J(m) {
|
|
952
952
|
if (!L) return;
|
|
@@ -956,7 +956,7 @@ const xo = /* @__PURE__ */ is("hst-operation-log", () => {
|
|
|
956
956
|
clientId: n.value,
|
|
957
957
|
timestamp: /* @__PURE__ */ new Date()
|
|
958
958
|
};
|
|
959
|
-
L.postMessage(
|
|
959
|
+
L.postMessage(Xe(E));
|
|
960
960
|
}
|
|
961
961
|
function z(m) {
|
|
962
962
|
if (!L) return;
|
|
@@ -966,7 +966,7 @@ const xo = /* @__PURE__ */ is("hst-operation-log", () => {
|
|
|
966
966
|
clientId: n.value,
|
|
967
967
|
timestamp: /* @__PURE__ */ new Date()
|
|
968
968
|
};
|
|
969
|
-
L.postMessage(
|
|
969
|
+
L.postMessage(Xe(E));
|
|
970
970
|
}
|
|
971
971
|
const q = ks("stonecrop-operations", null, {
|
|
972
972
|
serializer: {
|
|
@@ -1386,7 +1386,7 @@ class ze {
|
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
|
-
function
|
|
1389
|
+
function Gr(t) {
|
|
1390
1390
|
return new ze(t);
|
|
1391
1391
|
}
|
|
1392
1392
|
function Jn() {
|
|
@@ -1437,7 +1437,7 @@ class te {
|
|
|
1437
1437
|
return r.registry[e];
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
|
-
class
|
|
1440
|
+
let Rs = class Qr {
|
|
1441
1441
|
target;
|
|
1442
1442
|
ancestorPath;
|
|
1443
1443
|
rootNode;
|
|
@@ -1463,7 +1463,7 @@ class fr {
|
|
|
1463
1463
|
getNode(e) {
|
|
1464
1464
|
const r = this.resolvePath(e), n = this.resolveValue(e), o = r.split(".");
|
|
1465
1465
|
let i = this.doctype;
|
|
1466
|
-
return this.doctype === "StonecropStore" && o.length >= 1 && (i = o[0]), typeof n == "object" && n !== null && !this.isPrimitive(n) ? new
|
|
1466
|
+
return this.doctype === "StonecropStore" && o.length >= 1 && (i = o[0]), typeof n == "object" && n !== null && !this.isPrimitive(n) ? new Qr(n, i, r, this.rootNode) : new Qr(n, i, r, this.rootNode);
|
|
1467
1467
|
}
|
|
1468
1468
|
set(e, r, n = "user") {
|
|
1469
1469
|
const o = this.resolvePath(e);
|
|
@@ -1535,7 +1535,7 @@ class fr {
|
|
|
1535
1535
|
* Trigger an XState transition with optional context data
|
|
1536
1536
|
*/
|
|
1537
1537
|
async triggerTransition(e, r) {
|
|
1538
|
-
const n =
|
|
1538
|
+
const n = Gr(), o = this.ancestorPath.split(".");
|
|
1539
1539
|
let i = this.doctype, s;
|
|
1540
1540
|
this.doctype === "StonecropStore" && o.length >= 1 && (i = o[0]), o.length >= 2 && (s = o[1]);
|
|
1541
1541
|
const a = {
|
|
@@ -1620,7 +1620,7 @@ class fr {
|
|
|
1620
1620
|
const o = e.split(".");
|
|
1621
1621
|
if (o.length < 3)
|
|
1622
1622
|
return;
|
|
1623
|
-
const i =
|
|
1623
|
+
const i = Gr(), s = o.slice(2).join(".") || o[o.length - 1];
|
|
1624
1624
|
let a = this.doctype;
|
|
1625
1625
|
this.doctype === "StonecropStore" && o.length >= 1 && (a = o[0]);
|
|
1626
1626
|
let u;
|
|
@@ -1676,9 +1676,9 @@ class fr {
|
|
|
1676
1676
|
parsePath(e) {
|
|
1677
1677
|
return e ? e.replace(/\[(\d+)\]/g, ".$1").split(".").filter((r) => r.length > 0) : [];
|
|
1678
1678
|
}
|
|
1679
|
-
}
|
|
1680
|
-
function
|
|
1681
|
-
return new
|
|
1679
|
+
};
|
|
1680
|
+
function zs(t, e) {
|
|
1681
|
+
return new Rs(t, e, "", null);
|
|
1682
1682
|
}
|
|
1683
1683
|
class Ae {
|
|
1684
1684
|
/**
|
|
@@ -1743,7 +1743,7 @@ class Ae {
|
|
|
1743
1743
|
const e = {};
|
|
1744
1744
|
Object.keys(this.registry.registry).forEach((r) => {
|
|
1745
1745
|
e[r] = {};
|
|
1746
|
-
}), this.hstStore =
|
|
1746
|
+
}), this.hstStore = zs(ko(e), "StonecropStore");
|
|
1747
1747
|
}
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Setup automatic sync with Registry when doctypes are added
|
|
@@ -1842,7 +1842,7 @@ class Ae {
|
|
|
1842
1842
|
let c = "success", l;
|
|
1843
1843
|
try {
|
|
1844
1844
|
if (o && o.length > 0) {
|
|
1845
|
-
const f =
|
|
1845
|
+
const f = Gr();
|
|
1846
1846
|
o.forEach((h) => {
|
|
1847
1847
|
try {
|
|
1848
1848
|
const p = f.getAction(h);
|
|
@@ -2084,7 +2084,7 @@ function Gn(t, e) {
|
|
|
2084
2084
|
const r = new Error(t);
|
|
2085
2085
|
return r.code = e, r;
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2087
|
+
function As(t) {
|
|
2088
2088
|
t || (t = {});
|
|
2089
2089
|
const e = t.registry || je("$registry"), r = je("$stonecrop"), n = C(), o = C(), i = C({}), s = C(), a = C(), u = C([]), c = C(!1), l = C(null), f = C(), h = x(() => !n.value || !f.value || !t.recordId || t.recordId === "new" ? !0 : n.value.isWorkflowReady(f.value, t.recordId).ready), p = x(() => !n.value || !f.value || !t.recordId || t.recordId === "new" ? [] : n.value.isWorkflowReady(f.value, t.recordId).blockedLinks ?? []), v = r || Ae._root;
|
|
2090
2090
|
v && (n.value = v), t?.doctype && typeof t.doctype != "string" && (f.value = t.doctype);
|
|
@@ -2129,7 +2129,7 @@ function zs(t) {
|
|
|
2129
2129
|
);
|
|
2130
2130
|
} catch {
|
|
2131
2131
|
}
|
|
2132
|
-
t.doctype && typeof t.doctype != "string" && e && n.value && (o.value = n.value.getStore(), u.value = e.resolveSchema(t.doctype), (!t.recordId || t.recordId === "new") && (i.value = e.initializeRecord(u.value)), o.value &&
|
|
2132
|
+
t.doctype && typeof t.doctype != "string" && e && n.value && (o.value = n.value.getStore(), u.value = e.resolveSchema(t.doctype), (!t.recordId || t.recordId === "new") && (i.value = e.initializeRecord(u.value)), o.value && xr(t.doctype, t.recordId || "new", i, o.value)), vr(async () => {
|
|
2133
2133
|
if (!(!e || !n.value)) {
|
|
2134
2134
|
if (!t.doctype && e.router) {
|
|
2135
2135
|
const g = e.router.currentRoute.value;
|
|
@@ -2155,7 +2155,7 @@ function zs(t) {
|
|
|
2155
2155
|
}
|
|
2156
2156
|
} else
|
|
2157
2157
|
i.value = e.initializeRecord(u.value);
|
|
2158
|
-
o.value &&
|
|
2158
|
+
o.value && xr(A, b || "new", i, o.value), n.value.runAction(A, "load", b ? [b] : void 0);
|
|
2159
2159
|
}
|
|
2160
2160
|
}
|
|
2161
2161
|
}
|
|
@@ -2194,7 +2194,7 @@ function zs(t) {
|
|
|
2194
2194
|
}
|
|
2195
2195
|
} else
|
|
2196
2196
|
i.value = e.initializeRecord(u.value);
|
|
2197
|
-
o.value &&
|
|
2197
|
+
o.value && xr(b, g || "new", i, o.value);
|
|
2198
2198
|
} else if (g && g !== "new") {
|
|
2199
2199
|
const O = t.doctype, b = n.value.getRecordById(O, g);
|
|
2200
2200
|
if (b)
|
|
@@ -2224,18 +2224,18 @@ function zs(t) {
|
|
|
2224
2224
|
if (b.length >= 2) {
|
|
2225
2225
|
const kt = b[0], $t = b[1];
|
|
2226
2226
|
if (o.value.has(`${kt}.${$t}`) || n.value.addRecord(O, $t, { ...i.value }), b.length > 3) {
|
|
2227
|
-
const ki = `${kt}.${$t}`,
|
|
2228
|
-
let
|
|
2229
|
-
for (let Qe = 0; Qe <
|
|
2230
|
-
if (
|
|
2231
|
-
const Di =
|
|
2232
|
-
o.value.set(
|
|
2227
|
+
const ki = `${kt}.${$t}`, kr = b.slice(2);
|
|
2228
|
+
let Dr = ki;
|
|
2229
|
+
for (let Qe = 0; Qe < kr.length - 1; Qe++)
|
|
2230
|
+
if (Dr += `.${kr[Qe]}`, !o.value.has(Dr)) {
|
|
2231
|
+
const Di = kr[Qe + 1], Ri = !isNaN(Number(Di));
|
|
2232
|
+
o.value.set(Dr, Ri ? [] : {});
|
|
2233
2233
|
}
|
|
2234
2234
|
}
|
|
2235
2235
|
}
|
|
2236
2236
|
o.value.set(g.path, g.value);
|
|
2237
2237
|
const R = g.fieldname.split("."), A = { ...i.value };
|
|
2238
|
-
R.length === 1 ? A[R[0]] = g.value :
|
|
2238
|
+
R.length === 1 ? A[R[0]] = g.value : Ns(A, R, g.value), i.value = A;
|
|
2239
2239
|
} catch {
|
|
2240
2240
|
}
|
|
2241
2241
|
};
|
|
@@ -2320,7 +2320,7 @@ function zs(t) {
|
|
|
2320
2320
|
operationLog: _
|
|
2321
2321
|
};
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function xr(t, e, r, n) {
|
|
2324
2324
|
rt(
|
|
2325
2325
|
r,
|
|
2326
2326
|
(o) => {
|
|
@@ -2336,7 +2336,7 @@ function $r(t, e, r, n) {
|
|
|
2336
2336
|
{ deep: !0 }
|
|
2337
2337
|
);
|
|
2338
2338
|
}
|
|
2339
|
-
function
|
|
2339
|
+
function Ns(t, e, r) {
|
|
2340
2340
|
let n = t;
|
|
2341
2341
|
for (let i = 0; i < e.length - 1; i++) {
|
|
2342
2342
|
const s = e[i];
|
|
@@ -2345,15 +2345,15 @@ function As(t, e, r) {
|
|
|
2345
2345
|
const o = e[e.length - 1];
|
|
2346
2346
|
n[o] = r;
|
|
2347
2347
|
}
|
|
2348
|
-
var
|
|
2348
|
+
var fr = "@@__IMMUTABLE_INDEXED__@@";
|
|
2349
2349
|
function bt(t) {
|
|
2350
2350
|
return !!(t && // @ts-expect-error: maybeIndexed is typed as `{}`, need to change in 6.0 to `maybeIndexed && typeof maybeIndexed === 'object' && IS_INDEXED_SYMBOL in maybeIndexed`
|
|
2351
|
-
t[
|
|
2351
|
+
t[fr]);
|
|
2352
2352
|
}
|
|
2353
|
-
var
|
|
2353
|
+
var hr = "@@__IMMUTABLE_KEYED__@@";
|
|
2354
2354
|
function K(t) {
|
|
2355
2355
|
return !!(t && // @ts-expect-error: maybeKeyed is typed as `{}`, need to change in 6.0 to `maybeKeyed && typeof maybeKeyed === 'object' && IS_KEYED_SYMBOL in maybeKeyed`
|
|
2356
|
-
t[
|
|
2356
|
+
t[hr]);
|
|
2357
2357
|
}
|
|
2358
2358
|
function ln(t) {
|
|
2359
2359
|
return K(t) || bt(t);
|
|
@@ -2384,7 +2384,7 @@ var et = function(t) {
|
|
|
2384
2384
|
et.Keyed = St;
|
|
2385
2385
|
et.Indexed = Jt;
|
|
2386
2386
|
et.Set = de;
|
|
2387
|
-
var ve = 0, vt = 1, yt = 2, Yr = typeof Symbol == "function" && Symbol.iterator, jo = "@@iterator",
|
|
2387
|
+
var ve = 0, vt = 1, yt = 2, Yr = typeof Symbol == "function" && Symbol.iterator, jo = "@@iterator", gr = Yr || jo, M = function(t) {
|
|
2388
2388
|
this.next = t;
|
|
2389
2389
|
};
|
|
2390
2390
|
M.prototype.toString = function() {
|
|
@@ -2396,7 +2396,7 @@ M.ENTRIES = yt;
|
|
|
2396
2396
|
M.prototype.inspect = M.prototype.toSource = function() {
|
|
2397
2397
|
return this.toString();
|
|
2398
2398
|
};
|
|
2399
|
-
M.prototype[
|
|
2399
|
+
M.prototype[gr] = function() {
|
|
2400
2400
|
return this;
|
|
2401
2401
|
};
|
|
2402
2402
|
function H(t, e, r, n) {
|
|
@@ -2411,33 +2411,33 @@ function st() {
|
|
|
2411
2411
|
return { value: void 0, done: !0 };
|
|
2412
2412
|
}
|
|
2413
2413
|
function Mo(t) {
|
|
2414
|
-
return Array.isArray(t) ? !0 : !!
|
|
2414
|
+
return Array.isArray(t) ? !0 : !!mr(t);
|
|
2415
2415
|
}
|
|
2416
2416
|
function Qn(t) {
|
|
2417
2417
|
return !!(t && // @ts-expect-error: maybeIterator is typed as `{}`
|
|
2418
2418
|
typeof t.next == "function");
|
|
2419
2419
|
}
|
|
2420
|
-
function
|
|
2421
|
-
var e =
|
|
2420
|
+
function Zr(t) {
|
|
2421
|
+
var e = mr(t);
|
|
2422
2422
|
return e && e.call(t);
|
|
2423
2423
|
}
|
|
2424
|
-
function
|
|
2424
|
+
function mr(t) {
|
|
2425
2425
|
var e = t && // @ts-expect-error: maybeIterator is typed as `{}`
|
|
2426
2426
|
(Yr && t[Yr] || // @ts-expect-error: maybeIterator is typed as `{}`
|
|
2427
2427
|
t[jo]);
|
|
2428
2428
|
if (typeof e == "function")
|
|
2429
2429
|
return e;
|
|
2430
2430
|
}
|
|
2431
|
-
function
|
|
2432
|
-
var e =
|
|
2431
|
+
function Cs(t) {
|
|
2432
|
+
var e = mr(t);
|
|
2433
2433
|
return e && e === t.entries;
|
|
2434
2434
|
}
|
|
2435
|
-
function
|
|
2436
|
-
var e =
|
|
2435
|
+
function xs(t) {
|
|
2436
|
+
var e = mr(t);
|
|
2437
2437
|
return e && e === t.keys;
|
|
2438
2438
|
}
|
|
2439
2439
|
var Be = "delete", U = 5, ht = 1 << U, it = ht - 1, $ = {};
|
|
2440
|
-
function
|
|
2440
|
+
function Xr() {
|
|
2441
2441
|
return { value: !1 };
|
|
2442
2442
|
}
|
|
2443
2443
|
function mt(t) {
|
|
@@ -2460,13 +2460,13 @@ function qt(t, e) {
|
|
|
2460
2460
|
function To() {
|
|
2461
2461
|
return !0;
|
|
2462
2462
|
}
|
|
2463
|
-
function
|
|
2463
|
+
function wr(t, e, r) {
|
|
2464
2464
|
return (t === 0 && !qo(t) || r !== void 0 && t <= -r) && (e === void 0 || r !== void 0 && e >= r);
|
|
2465
2465
|
}
|
|
2466
2466
|
function We(t, e) {
|
|
2467
2467
|
return Po(t, e, 0);
|
|
2468
2468
|
}
|
|
2469
|
-
function
|
|
2469
|
+
function br(t, e) {
|
|
2470
2470
|
return Po(t, e, e);
|
|
2471
2471
|
}
|
|
2472
2472
|
function Po(t, e, r) {
|
|
@@ -2510,7 +2510,7 @@ function Uo(t) {
|
|
|
2510
2510
|
}
|
|
2511
2511
|
var ct = /* @__PURE__ */ (function(t) {
|
|
2512
2512
|
function e(r) {
|
|
2513
|
-
return r == null ? dn() : Nt(r) ? r.toSeq() :
|
|
2513
|
+
return r == null ? dn() : Nt(r) ? r.toSeq() : js(r);
|
|
2514
2514
|
}
|
|
2515
2515
|
return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.toSeq = function() {
|
|
2516
2516
|
return this;
|
|
@@ -2626,14 +2626,14 @@ var ae = /* @__PURE__ */ (function(t) {
|
|
|
2626
2626
|
}, e;
|
|
2627
2627
|
})(Ut);
|
|
2628
2628
|
pn.prototype[Lt] = !0;
|
|
2629
|
-
var
|
|
2629
|
+
var $s = /* @__PURE__ */ (function(t) {
|
|
2630
2630
|
function e(r) {
|
|
2631
2631
|
this._collection = r, this.size = r.length || r.size;
|
|
2632
2632
|
}
|
|
2633
2633
|
return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.__iterateUncached = function(r, n) {
|
|
2634
2634
|
if (n)
|
|
2635
2635
|
return this.cacheResult().__iterate(r, n);
|
|
2636
|
-
var o = this._collection, i =
|
|
2636
|
+
var o = this._collection, i = Zr(o), s = 0;
|
|
2637
2637
|
if (Qn(i))
|
|
2638
2638
|
for (var a; !(a = i.next()).done && r(a.value, s++, this) !== !1; )
|
|
2639
2639
|
;
|
|
@@ -2641,7 +2641,7 @@ var xs = /* @__PURE__ */ (function(t) {
|
|
|
2641
2641
|
}, e.prototype.__iteratorUncached = function(r, n) {
|
|
2642
2642
|
if (n)
|
|
2643
2643
|
return this.cacheResult().__iterator(r, n);
|
|
2644
|
-
var o = this._collection, i =
|
|
2644
|
+
var o = this._collection, i = Zr(o);
|
|
2645
2645
|
if (!Qn(i))
|
|
2646
2646
|
return new M(st);
|
|
2647
2647
|
var s = 0;
|
|
@@ -2672,10 +2672,10 @@ function Fo(t) {
|
|
|
2672
2672
|
"Expected Array or collection object of values: " + t
|
|
2673
2673
|
);
|
|
2674
2674
|
}
|
|
2675
|
-
function
|
|
2675
|
+
function js(t) {
|
|
2676
2676
|
var e = yn(t);
|
|
2677
2677
|
if (e)
|
|
2678
|
-
return
|
|
2678
|
+
return Cs(t) ? e.fromEntrySeq() : xs(t) ? e.toSetSeq() : e;
|
|
2679
2679
|
if (typeof t == "object")
|
|
2680
2680
|
return new pn(t);
|
|
2681
2681
|
throw new TypeError(
|
|
@@ -2683,7 +2683,7 @@ function $s(t) {
|
|
|
2683
2683
|
);
|
|
2684
2684
|
}
|
|
2685
2685
|
function yn(t) {
|
|
2686
|
-
return Uo(t) ? new ae(t) : Mo(t) ? new
|
|
2686
|
+
return Uo(t) ? new ae(t) : Mo(t) ? new $s(t) : void 0;
|
|
2687
2687
|
}
|
|
2688
2688
|
function Ke() {
|
|
2689
2689
|
return this.__ensureOwner();
|
|
@@ -2696,71 +2696,71 @@ var Se = typeof Math.imul == "function" && Math.imul(4294967295, 2) === -2 ? Mat
|
|
|
2696
2696
|
var r = t & 65535, n = e & 65535;
|
|
2697
2697
|
return r * n + ((t >>> 16) * n + r * (e >>> 16) << 16 >>> 0) | 0;
|
|
2698
2698
|
};
|
|
2699
|
-
function
|
|
2699
|
+
function Sr(t) {
|
|
2700
2700
|
return t >>> 1 & 1073741824 | t & 3221225471;
|
|
2701
2701
|
}
|
|
2702
|
-
var
|
|
2702
|
+
var Ms = Object.prototype.valueOf;
|
|
2703
2703
|
function lt(t) {
|
|
2704
2704
|
if (t == null)
|
|
2705
|
-
return
|
|
2705
|
+
return Zn(t);
|
|
2706
2706
|
if (typeof t.hashCode == "function")
|
|
2707
|
-
return
|
|
2708
|
-
var e =
|
|
2707
|
+
return Sr(t.hashCode(t));
|
|
2708
|
+
var e = Us(t);
|
|
2709
2709
|
if (e == null)
|
|
2710
|
-
return
|
|
2710
|
+
return Zn(e);
|
|
2711
2711
|
switch (typeof e) {
|
|
2712
2712
|
case "boolean":
|
|
2713
2713
|
return e ? 1108378657 : 1108378656;
|
|
2714
2714
|
case "number":
|
|
2715
|
-
return
|
|
2715
|
+
return Ts(e);
|
|
2716
2716
|
case "string":
|
|
2717
|
-
return e.length >
|
|
2717
|
+
return e.length > Fs ? Ps(e) : tn(e);
|
|
2718
2718
|
case "object":
|
|
2719
2719
|
case "function":
|
|
2720
|
-
return
|
|
2720
|
+
return Ls(e);
|
|
2721
2721
|
case "symbol":
|
|
2722
|
-
return
|
|
2722
|
+
return qs(e);
|
|
2723
2723
|
default:
|
|
2724
2724
|
if (typeof e.toString == "function")
|
|
2725
2725
|
return tn(e.toString());
|
|
2726
2726
|
throw new Error("Value type " + typeof e + " cannot be hashed.");
|
|
2727
2727
|
}
|
|
2728
2728
|
}
|
|
2729
|
-
function
|
|
2729
|
+
function Zn(t) {
|
|
2730
2730
|
return t === null ? 1108378658 : (
|
|
2731
2731
|
/* undefined */
|
|
2732
2732
|
1108378659
|
|
2733
2733
|
);
|
|
2734
2734
|
}
|
|
2735
|
-
function
|
|
2735
|
+
function Ts(t) {
|
|
2736
2736
|
if (t !== t || t === 1 / 0)
|
|
2737
2737
|
return 0;
|
|
2738
2738
|
var e = t | 0;
|
|
2739
2739
|
for (e !== t && (e ^= t * 4294967295); t > 4294967295; )
|
|
2740
2740
|
t /= 4294967295, e ^= t;
|
|
2741
|
-
return
|
|
2741
|
+
return Sr(e);
|
|
2742
2742
|
}
|
|
2743
|
-
function
|
|
2744
|
-
var e =
|
|
2745
|
-
return e === void 0 && (e = tn(t),
|
|
2743
|
+
function Ps(t) {
|
|
2744
|
+
var e = Mr[t];
|
|
2745
|
+
return e === void 0 && (e = tn(t), jr === Bs && (jr = 0, Mr = {}), jr++, Mr[t] = e), e;
|
|
2746
2746
|
}
|
|
2747
2747
|
function tn(t) {
|
|
2748
2748
|
for (var e = 0, r = 0; r < t.length; r++)
|
|
2749
2749
|
e = 31 * e + t.charCodeAt(r) | 0;
|
|
2750
|
-
return
|
|
2750
|
+
return Sr(e);
|
|
2751
2751
|
}
|
|
2752
|
-
function
|
|
2752
|
+
function qs(t) {
|
|
2753
2753
|
var e = eo[t];
|
|
2754
2754
|
return e !== void 0 || (e = Bo(), eo[t] = e), e;
|
|
2755
2755
|
}
|
|
2756
|
-
function
|
|
2756
|
+
function Ls(t) {
|
|
2757
2757
|
var e;
|
|
2758
|
-
if (en && (e = rn.get(t), e !== void 0) || (e = t[Ft], e !== void 0) || !to && (e = t.propertyIsEnumerable && t.propertyIsEnumerable[Ft], e !== void 0 || (e =
|
|
2758
|
+
if (en && (e = rn.get(t), e !== void 0) || (e = t[Ft], e !== void 0) || !to && (e = t.propertyIsEnumerable && t.propertyIsEnumerable[Ft], e !== void 0 || (e = Vs(t), e !== void 0)))
|
|
2759
2759
|
return e;
|
|
2760
2760
|
if (e = Bo(), en)
|
|
2761
2761
|
rn.set(t, e);
|
|
2762
2762
|
else {
|
|
2763
|
-
if (
|
|
2763
|
+
if (Xn !== void 0 && Xn(t) === !1)
|
|
2764
2764
|
throw new Error("Non-extensible objects are not allowed as keys.");
|
|
2765
2765
|
if (to)
|
|
2766
2766
|
Object.defineProperty(t, Ft, {
|
|
@@ -2784,14 +2784,14 @@ function qs(t) {
|
|
|
2784
2784
|
}
|
|
2785
2785
|
return e;
|
|
2786
2786
|
}
|
|
2787
|
-
var
|
|
2787
|
+
var Xn = Object.isExtensible, to = (function() {
|
|
2788
2788
|
try {
|
|
2789
2789
|
return Object.defineProperty({}, "@", {}), !0;
|
|
2790
2790
|
} catch {
|
|
2791
2791
|
return !1;
|
|
2792
2792
|
}
|
|
2793
2793
|
})();
|
|
2794
|
-
function
|
|
2794
|
+
function Vs(t) {
|
|
2795
2795
|
if (t && t.nodeType > 0)
|
|
2796
2796
|
switch (t.nodeType) {
|
|
2797
2797
|
case 1:
|
|
@@ -2800,21 +2800,21 @@ function Ls(t) {
|
|
|
2800
2800
|
return t.documentElement && t.documentElement.uniqueID;
|
|
2801
2801
|
}
|
|
2802
2802
|
}
|
|
2803
|
-
function
|
|
2804
|
-
return t.valueOf !==
|
|
2803
|
+
function Us(t) {
|
|
2804
|
+
return t.valueOf !== Ms && typeof t.valueOf == "function" ? (
|
|
2805
2805
|
// @ts-expect-error weird the "obj" parameter as `valueOf` should not have a parameter
|
|
2806
2806
|
t.valueOf(t)
|
|
2807
2807
|
) : t;
|
|
2808
2808
|
}
|
|
2809
2809
|
function Bo() {
|
|
2810
|
-
var t =
|
|
2811
|
-
return
|
|
2810
|
+
var t = ++$r;
|
|
2811
|
+
return $r & 1073741824 && ($r = 0), t;
|
|
2812
2812
|
}
|
|
2813
2813
|
var en = typeof WeakMap == "function", rn;
|
|
2814
2814
|
en && (rn = /* @__PURE__ */ new WeakMap());
|
|
2815
|
-
var eo = /* @__PURE__ */ Object.create(null),
|
|
2815
|
+
var eo = /* @__PURE__ */ Object.create(null), $r = 0, Ft = "__immutablehash__";
|
|
2816
2816
|
typeof Symbol == "function" && (Ft = Symbol(Ft));
|
|
2817
|
-
var
|
|
2817
|
+
var Fs = 16, Bs = 255, jr = 0, Mr = {}, Er = /* @__PURE__ */ (function(t) {
|
|
2818
2818
|
function e(r, n) {
|
|
2819
2819
|
this._iter = r, this._useKeys = n, this.size = r.size;
|
|
2820
2820
|
}
|
|
@@ -2843,7 +2843,7 @@ var Us = 16, Fs = 255, Mr = 0, Tr = {}, Ir = /* @__PURE__ */ (function(t) {
|
|
|
2843
2843
|
return this._iter.__iterator(r, n);
|
|
2844
2844
|
}, e;
|
|
2845
2845
|
})(Ut);
|
|
2846
|
-
|
|
2846
|
+
Er.prototype[Lt] = !0;
|
|
2847
2847
|
var Wo = /* @__PURE__ */ (function(t) {
|
|
2848
2848
|
function e(r) {
|
|
2849
2849
|
this._iter = r, this.size = r.size;
|
|
@@ -2929,7 +2929,7 @@ var Wo = /* @__PURE__ */ (function(t) {
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, e;
|
|
2931
2931
|
})(Ut);
|
|
2932
|
-
Wo.prototype.cacheResult =
|
|
2932
|
+
Wo.prototype.cacheResult = Er.prototype.cacheResult = Ko.prototype.cacheResult = Ho.prototype.cacheResult = wn;
|
|
2933
2933
|
function Jo(t) {
|
|
2934
2934
|
var e = Ct(t);
|
|
2935
2935
|
return e._iter = t, e.size = t.size, e.flip = function() {
|
|
@@ -3066,7 +3066,7 @@ function Qo(t, e, r, n) {
|
|
|
3066
3066
|
});
|
|
3067
3067
|
}, o;
|
|
3068
3068
|
}
|
|
3069
|
-
function
|
|
3069
|
+
function Ws(t, e, r) {
|
|
3070
3070
|
var n = ge().asMutable();
|
|
3071
3071
|
return t.__iterate(function(o, i) {
|
|
3072
3072
|
n.update(e.call(r, o, i, t), 0, function(s) {
|
|
@@ -3074,7 +3074,7 @@ function Bs(t, e, r) {
|
|
|
3074
3074
|
});
|
|
3075
3075
|
}), n.asImmutable();
|
|
3076
3076
|
}
|
|
3077
|
-
function
|
|
3077
|
+
function Ks(t, e, r) {
|
|
3078
3078
|
var n = K(t), o = (At(t) ? Mt() : ge()).asMutable();
|
|
3079
3079
|
t.__iterate(function(s, a) {
|
|
3080
3080
|
o.update(
|
|
@@ -3089,7 +3089,7 @@ function Ws(t, e, r) {
|
|
|
3089
3089
|
return V(t, i(s));
|
|
3090
3090
|
}).asImmutable();
|
|
3091
3091
|
}
|
|
3092
|
-
function
|
|
3092
|
+
function Hs(t, e, r) {
|
|
3093
3093
|
var n = K(t), o = [[], []];
|
|
3094
3094
|
t.__iterate(function(s, a) {
|
|
3095
3095
|
o[e.call(r, s, a, t) ? 1 : 0].push(
|
|
@@ -3103,11 +3103,11 @@ function Ks(t, e, r) {
|
|
|
3103
3103
|
}
|
|
3104
3104
|
function gn(t, e, r, n) {
|
|
3105
3105
|
var o = t.size;
|
|
3106
|
-
if (
|
|
3106
|
+
if (wr(e, r, o))
|
|
3107
3107
|
return t;
|
|
3108
3108
|
if (typeof o > "u" && (e < 0 || r < 0))
|
|
3109
3109
|
return gn(t.toSeq().cacheResult(), e, r, n);
|
|
3110
|
-
var i = We(e, o), s =
|
|
3110
|
+
var i = We(e, o), s = br(r, o), a = s - i, u;
|
|
3111
3111
|
a === a && (u = a < 0 ? 0 : a);
|
|
3112
3112
|
var c = Ct(t);
|
|
3113
3113
|
return c.size = u === 0 ? u : t.size && u || void 0, !n && hn(t) && u >= 0 && (c.get = function(l, f) {
|
|
@@ -3139,7 +3139,7 @@ function gn(t, e, r, n) {
|
|
|
3139
3139
|
});
|
|
3140
3140
|
}, c;
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3142
|
+
function Js(t, e, r) {
|
|
3143
3143
|
var n = Ct(t);
|
|
3144
3144
|
return n.__iterateUncached = function(o, i) {
|
|
3145
3145
|
var s = this;
|
|
@@ -3195,7 +3195,7 @@ function Yo(t, e, r, n) {
|
|
|
3195
3195
|
});
|
|
3196
3196
|
}, o;
|
|
3197
3197
|
}
|
|
3198
|
-
var
|
|
3198
|
+
var Gs = /* @__PURE__ */ (function(t) {
|
|
3199
3199
|
function e(r) {
|
|
3200
3200
|
this._wrappedIterables = r.flatMap(function(n) {
|
|
3201
3201
|
return n._wrappedIterables ? n._wrappedIterables : [n];
|
|
@@ -3205,7 +3205,7 @@ var Js = /* @__PURE__ */ (function(t) {
|
|
|
3205
3205
|
if (i !== void 0)
|
|
3206
3206
|
return n + i;
|
|
3207
3207
|
}
|
|
3208
|
-
}, 0), this[
|
|
3208
|
+
}, 0), this[hr] = this._wrappedIterables[0][hr], this[fr] = this._wrappedIterables[0][fr], this[Lt] = this._wrappedIterables[0][Lt];
|
|
3209
3209
|
}
|
|
3210
3210
|
return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.__iterateUncached = function(r, n) {
|
|
3211
3211
|
if (this._wrappedIterables.length !== 0) {
|
|
@@ -3251,7 +3251,7 @@ var Js = /* @__PURE__ */ (function(t) {
|
|
|
3251
3251
|
});
|
|
3252
3252
|
}, e;
|
|
3253
3253
|
})(ct);
|
|
3254
|
-
function
|
|
3254
|
+
function Qs(t, e) {
|
|
3255
3255
|
var r = K(t), n = [t].concat(e).map(function(i) {
|
|
3256
3256
|
return dt(i) ? r && (i = St(i)) : i = r ? vn(i) : Fo(Array.isArray(i) ? i : [i]), i;
|
|
3257
3257
|
}).filter(function(i) {
|
|
@@ -3264,9 +3264,9 @@ function Gs(t, e) {
|
|
|
3264
3264
|
if (o === t || r && K(o) || bt(t) && bt(o))
|
|
3265
3265
|
return o;
|
|
3266
3266
|
}
|
|
3267
|
-
return new
|
|
3267
|
+
return new Gs(n);
|
|
3268
3268
|
}
|
|
3269
|
-
function
|
|
3269
|
+
function Zo(t, e, r) {
|
|
3270
3270
|
var n = Ct(t);
|
|
3271
3271
|
return n.__iterateUncached = function(o, i) {
|
|
3272
3272
|
if (i)
|
|
@@ -3299,13 +3299,13 @@ function Xo(t, e, r) {
|
|
|
3299
3299
|
});
|
|
3300
3300
|
}, n;
|
|
3301
3301
|
}
|
|
3302
|
-
function
|
|
3302
|
+
function Ys(t, e, r) {
|
|
3303
3303
|
var n = mn(t);
|
|
3304
3304
|
return t.toSeq().map(function(o, i) {
|
|
3305
3305
|
return n(e.call(r, o, i, t));
|
|
3306
3306
|
}).flatten(!0);
|
|
3307
3307
|
}
|
|
3308
|
-
function
|
|
3308
|
+
function Zs(t, e) {
|
|
3309
3309
|
var r = Ct(t);
|
|
3310
3310
|
return r.size = t.size && t.size * 2 - 1, r.__iterateUncached = function(n, o) {
|
|
3311
3311
|
var i = this, s = 0;
|
|
@@ -3323,7 +3323,7 @@ function Ys(t, e) {
|
|
|
3323
3323
|
}, r;
|
|
3324
3324
|
}
|
|
3325
3325
|
function ue(t, e, r) {
|
|
3326
|
-
e || (e =
|
|
3326
|
+
e || (e = Xo);
|
|
3327
3327
|
var n = K(t), o = 0, i = t.toSeq().map(function(s, a) {
|
|
3328
3328
|
return [a, s, o++, r ? r(s, a, t) : s];
|
|
3329
3329
|
}).valueSeq().toArray();
|
|
@@ -3338,7 +3338,7 @@ function ue(t, e, r) {
|
|
|
3338
3338
|
), n ? Ut(i) : bt(t) ? It(i) : _e(i);
|
|
3339
3339
|
}
|
|
3340
3340
|
function tr(t, e, r) {
|
|
3341
|
-
if (e || (e =
|
|
3341
|
+
if (e || (e = Xo), r) {
|
|
3342
3342
|
var n = t.toSeq().map(function(o, i) {
|
|
3343
3343
|
return [o, r(o, i, t)];
|
|
3344
3344
|
}).reduce(function(o, i) {
|
|
@@ -3365,7 +3365,7 @@ function er(t, e, r, n) {
|
|
|
3365
3365
|
}, o.__iteratorUncached = function(s, a) {
|
|
3366
3366
|
var u = r.map(
|
|
3367
3367
|
function(f) {
|
|
3368
|
-
return f = et(f),
|
|
3368
|
+
return f = et(f), Zr(a ? f.reverse() : f);
|
|
3369
3369
|
}
|
|
3370
3370
|
), c = 0, l = !1;
|
|
3371
3371
|
return new M(function() {
|
|
@@ -3407,7 +3407,7 @@ function Ct(t) {
|
|
|
3407
3407
|
function wn() {
|
|
3408
3408
|
return this._iter.cacheResult ? (this._iter.cacheResult(), this.size = this._iter.size, this) : ct.prototype.cacheResult.call(this);
|
|
3409
3409
|
}
|
|
3410
|
-
function
|
|
3410
|
+
function Xo(t, e) {
|
|
3411
3411
|
return t === void 0 && e === void 0 ? 0 : t === void 0 ? 1 : e === void 0 ? -1 : t > e ? 1 : t < e ? -1 : 0;
|
|
3412
3412
|
}
|
|
3413
3413
|
function oo(t) {
|
|
@@ -3469,7 +3469,7 @@ function ni(t, e, r) {
|
|
|
3469
3469
|
});
|
|
3470
3470
|
}
|
|
3471
3471
|
var Xs = Object.prototype.toString;
|
|
3472
|
-
function
|
|
3472
|
+
function ta(t) {
|
|
3473
3473
|
if (!t || typeof t != "object" || Xs.call(t) !== "[object Object]")
|
|
3474
3474
|
return !1;
|
|
3475
3475
|
var e = Object.getPrototypeOf(t);
|
|
@@ -3480,7 +3480,7 @@ function Zs(t) {
|
|
|
3480
3480
|
return r === e;
|
|
3481
3481
|
}
|
|
3482
3482
|
function Vt(t) {
|
|
3483
|
-
return typeof t == "object" && (Nt(t) || Array.isArray(t) ||
|
|
3483
|
+
return typeof t == "object" && (Nt(t) || Array.isArray(t) || ta(t));
|
|
3484
3484
|
}
|
|
3485
3485
|
function Dt(t, e) {
|
|
3486
3486
|
e = e || 0;
|
|
@@ -3488,7 +3488,7 @@ function Dt(t, e) {
|
|
|
3488
3488
|
n[o] = t[o + e];
|
|
3489
3489
|
return n;
|
|
3490
3490
|
}
|
|
3491
|
-
function
|
|
3491
|
+
function pr(t) {
|
|
3492
3492
|
if (Array.isArray(t))
|
|
3493
3493
|
return Dt(t);
|
|
3494
3494
|
var e = {};
|
|
@@ -3497,7 +3497,7 @@ function dr(t) {
|
|
|
3497
3497
|
return e;
|
|
3498
3498
|
}
|
|
3499
3499
|
function bn(t, e, r) {
|
|
3500
|
-
return Sn(t, e,
|
|
3500
|
+
return Sn(t, e, ea(r));
|
|
3501
3501
|
}
|
|
3502
3502
|
function Sn(t, e, r) {
|
|
3503
3503
|
if (!Vt(t))
|
|
@@ -3507,21 +3507,21 @@ function Sn(t, e, r) {
|
|
|
3507
3507
|
if (Nt(t))
|
|
3508
3508
|
return typeof r == "function" && t.mergeWith ? t.mergeWith.apply(t, [r].concat(e)) : t.merge ? t.merge.apply(t, e) : t.concat.apply(t, e);
|
|
3509
3509
|
for (var n = Array.isArray(t), o = t, i = n ? Jt : St, s = n ? function(u) {
|
|
3510
|
-
o === t && (o =
|
|
3510
|
+
o === t && (o = pr(o)), o.push(u);
|
|
3511
3511
|
} : function(u, c) {
|
|
3512
3512
|
var l = ye.call(o, c), f = l && r ? r(o[c], u, c) : u;
|
|
3513
|
-
(!l || f !== o[c]) && (o === t && (o =
|
|
3513
|
+
(!l || f !== o[c]) && (o === t && (o = pr(o)), o[c] = f);
|
|
3514
3514
|
}, a = 0; a < e.length; a++)
|
|
3515
3515
|
i(e[a]).forEach(s);
|
|
3516
3516
|
return o;
|
|
3517
3517
|
}
|
|
3518
|
-
function
|
|
3518
|
+
function ea(t) {
|
|
3519
3519
|
function e(r, n, o) {
|
|
3520
|
-
return Vt(r) && Vt(n) &&
|
|
3520
|
+
return Vt(r) && Vt(n) && ra(r, n) ? Sn(r, [n], e) : t ? t(r, n, o) : n;
|
|
3521
3521
|
}
|
|
3522
3522
|
return e;
|
|
3523
3523
|
}
|
|
3524
|
-
function
|
|
3524
|
+
function ra(t, e) {
|
|
3525
3525
|
var r = ct(t), n = ct(e);
|
|
3526
3526
|
return bt(r) === bt(n) && K(r) === K(n);
|
|
3527
3527
|
}
|
|
@@ -3550,13 +3550,13 @@ function In(t) {
|
|
|
3550
3550
|
return Sn(n, e);
|
|
3551
3551
|
});
|
|
3552
3552
|
}
|
|
3553
|
-
function
|
|
3553
|
+
function na(t, e, r) {
|
|
3554
3554
|
return me(t, e, $, function() {
|
|
3555
3555
|
return r;
|
|
3556
3556
|
});
|
|
3557
3557
|
}
|
|
3558
3558
|
function On(t, e) {
|
|
3559
|
-
return
|
|
3559
|
+
return na(this, t, e);
|
|
3560
3560
|
}
|
|
3561
3561
|
function kn(t, e, r) {
|
|
3562
3562
|
return arguments.length === 1 ? t(this) : ti(this, t, e, r);
|
|
@@ -3621,7 +3621,7 @@ var ge = /* @__PURE__ */ (function(t) {
|
|
|
3621
3621
|
});
|
|
3622
3622
|
});
|
|
3623
3623
|
}, e.prototype.__iterator = function(r, n) {
|
|
3624
|
-
return new
|
|
3624
|
+
return new oa(this, r, n);
|
|
3625
3625
|
}, e.prototype.__iterate = function(r, n) {
|
|
3626
3626
|
var o = this, i = 0;
|
|
3627
3627
|
return this._root && this._root.iterate(function(s) {
|
|
@@ -3672,8 +3672,8 @@ Me.prototype.update = function(t, e, r, n, o, i, s) {
|
|
|
3672
3672
|
if (f ? u[c][1] === o : a)
|
|
3673
3673
|
return this;
|
|
3674
3674
|
if (mt(s), (a || !f) && mt(i), !(a && u.length === 1)) {
|
|
3675
|
-
if (!f && !a && u.length >=
|
|
3676
|
-
return
|
|
3675
|
+
if (!f && !a && u.length >= la)
|
|
3676
|
+
return ia(t, u, n, o);
|
|
3677
3677
|
var h = t && t === this.ownerID, p = h ? u : Dt(u);
|
|
3678
3678
|
return f ? a ? c === l - 1 ? p.pop() : p[c] = p.pop() : p[c] = [n, o] : p.push([n, o]), h ? (this.entries = p, this) : new Me(t, p);
|
|
3679
3679
|
}
|
|
@@ -3708,13 +3708,13 @@ ce.prototype.update = function(t, e, r, n, o, i, s) {
|
|
|
3708
3708
|
);
|
|
3709
3709
|
if (v === p)
|
|
3710
3710
|
return this;
|
|
3711
|
-
if (!l && v && h.length >=
|
|
3712
|
-
return
|
|
3711
|
+
if (!l && v && h.length >= fa)
|
|
3712
|
+
return aa(t, h, c, a, v);
|
|
3713
3713
|
if (l && !v && h.length === 2 && uo(h[f ^ 1]))
|
|
3714
3714
|
return h[f ^ 1];
|
|
3715
3715
|
if (l && v && h.length === 1 && uo(v))
|
|
3716
3716
|
return v;
|
|
3717
|
-
var y = t && t === this.ownerID, D = l ? v ? c : c ^ u : c | u, j = l ? v ? ui(h, f, v, y) :
|
|
3717
|
+
var y = t && t === this.ownerID, D = l ? v ? c : c ^ u : c | u, j = l ? v ? ui(h, f, v, y) : ca(h, f, y) : ua(h, f, v, y);
|
|
3718
3718
|
return y ? (this.bitmap = D, this.nodes = j, this) : new ce(t, D, j);
|
|
3719
3719
|
};
|
|
3720
3720
|
var Te = function(t, e, r) {
|
|
@@ -3745,8 +3745,8 @@ Te.prototype.update = function(t, e, r, n, o, i, s) {
|
|
|
3745
3745
|
var h = this.count;
|
|
3746
3746
|
if (!l)
|
|
3747
3747
|
h++;
|
|
3748
|
-
else if (!f && (h--, h <
|
|
3749
|
-
return
|
|
3748
|
+
else if (!f && (h--, h < ha))
|
|
3749
|
+
return sa(t, c, h, a);
|
|
3750
3750
|
var p = t && t === this.ownerID, v = ui(c, a, f, p);
|
|
3751
3751
|
return p ? (this.count = h, this.nodes = v, this) : new Te(t, h, v);
|
|
3752
3752
|
};
|
|
@@ -3805,7 +3805,7 @@ ce.prototype.iterate = Te.prototype.iterate = function(t, e) {
|
|
|
3805
3805
|
jt.prototype.iterate = function(t, e) {
|
|
3806
3806
|
return t(this.entry);
|
|
3807
3807
|
};
|
|
3808
|
-
var
|
|
3808
|
+
var oa = /* @__PURE__ */ (function(t) {
|
|
3809
3809
|
function e(r, n, o) {
|
|
3810
3810
|
this._type = n, this._reverse = o, this._stack = r._root && io(r._root);
|
|
3811
3811
|
}
|
|
@@ -3814,10 +3814,10 @@ var na = /* @__PURE__ */ (function(t) {
|
|
|
3814
3814
|
var o = n.node, i = n.index++, s = void 0;
|
|
3815
3815
|
if (o.entry) {
|
|
3816
3816
|
if (i === 0)
|
|
3817
|
-
return
|
|
3817
|
+
return Tr(r, o.entry);
|
|
3818
3818
|
} else if (o.entries) {
|
|
3819
3819
|
if (s = o.entries.length - 1, i <= s)
|
|
3820
|
-
return
|
|
3820
|
+
return Tr(
|
|
3821
3821
|
r,
|
|
3822
3822
|
o.entries[this._reverse ? s - i : i]
|
|
3823
3823
|
);
|
|
@@ -3825,7 +3825,7 @@ var na = /* @__PURE__ */ (function(t) {
|
|
|
3825
3825
|
var a = o.nodes[this._reverse ? s - i : i];
|
|
3826
3826
|
if (a) {
|
|
3827
3827
|
if (a.entry)
|
|
3828
|
-
return
|
|
3828
|
+
return Tr(r, a.entry);
|
|
3829
3829
|
n = this._stack = io(a, n);
|
|
3830
3830
|
}
|
|
3831
3831
|
continue;
|
|
@@ -3835,7 +3835,7 @@ var na = /* @__PURE__ */ (function(t) {
|
|
|
3835
3835
|
return st();
|
|
3836
3836
|
}, e;
|
|
3837
3837
|
})(M);
|
|
3838
|
-
function
|
|
3838
|
+
function Tr(t, e) {
|
|
3839
3839
|
return H(t, e[0], e[1]);
|
|
3840
3840
|
}
|
|
3841
3841
|
function io(t, e) {
|
|
@@ -3856,7 +3856,7 @@ function zt() {
|
|
|
3856
3856
|
function ao(t, e, r) {
|
|
3857
3857
|
var n, o;
|
|
3858
3858
|
if (t._root) {
|
|
3859
|
-
var i =
|
|
3859
|
+
var i = Xr(), s = Xr();
|
|
3860
3860
|
if (n = Nn(
|
|
3861
3861
|
t._root,
|
|
3862
3862
|
t.__ownerID,
|
|
@@ -3896,7 +3896,7 @@ function Cn(t, e, r, n, o) {
|
|
|
3896
3896
|
var i = (r === 0 ? t.keyHash : t.keyHash >>> r) & it, s = (r === 0 ? n : n >>> r) & it, a, u = i === s ? [Cn(t, e, r + U, n, o)] : (a = new jt(e, n, o), i < s ? [t, a] : [a, t]);
|
|
3897
3897
|
return new ce(e, 1 << i | 1 << s, u);
|
|
3898
3898
|
}
|
|
3899
|
-
function
|
|
3899
|
+
function ia(t, e, r, n) {
|
|
3900
3900
|
t || (t = new fn());
|
|
3901
3901
|
for (var o = new jt(t, lt(r), [r, n]), i = 0; i < e.length; i++) {
|
|
3902
3902
|
var s = e[i];
|
|
@@ -3904,14 +3904,14 @@ function oa(t, e, r, n) {
|
|
|
3904
3904
|
}
|
|
3905
3905
|
return o;
|
|
3906
3906
|
}
|
|
3907
|
-
function
|
|
3907
|
+
function sa(t, e, r, n) {
|
|
3908
3908
|
for (var o = 0, i = 0, s = new Array(r), a = 0, u = 1, c = e.length; a < c; a++, u <<= 1) {
|
|
3909
3909
|
var l = e[a];
|
|
3910
3910
|
l !== void 0 && a !== n && (o |= u, s[i++] = l);
|
|
3911
3911
|
}
|
|
3912
3912
|
return new ce(t, o, s);
|
|
3913
3913
|
}
|
|
3914
|
-
function
|
|
3914
|
+
function aa(t, e, r, n, o) {
|
|
3915
3915
|
for (var i = 0, s = new Array(ht), a = 0; r !== 0; a++, r >>>= 1)
|
|
3916
3916
|
s[a] = r & 1 ? e[i++] : void 0;
|
|
3917
3917
|
return s[n] = o, new Te(t, i + 1, s);
|
|
@@ -3923,7 +3923,7 @@ function ui(t, e, r, n) {
|
|
|
3923
3923
|
var o = n ? t : Dt(t);
|
|
3924
3924
|
return o[e] = r, o;
|
|
3925
3925
|
}
|
|
3926
|
-
function
|
|
3926
|
+
function ua(t, e, r, n) {
|
|
3927
3927
|
var o = t.length + 1;
|
|
3928
3928
|
if (n && e + 1 === o)
|
|
3929
3929
|
return t[e] = r, t;
|
|
@@ -3931,7 +3931,7 @@ function aa(t, e, r, n) {
|
|
|
3931
3931
|
a === e ? (i[a] = r, s = -1) : i[a] = t[a + s];
|
|
3932
3932
|
return i;
|
|
3933
3933
|
}
|
|
3934
|
-
function
|
|
3934
|
+
function ca(t, e, r) {
|
|
3935
3935
|
var n = t.length - 1;
|
|
3936
3936
|
if (r && e === n)
|
|
3937
3937
|
return t.pop(), t;
|
|
@@ -3939,7 +3939,7 @@ function ua(t, e, r) {
|
|
|
3939
3939
|
s === e && (i = 1), o[s] = t[s + i];
|
|
3940
3940
|
return o;
|
|
3941
3941
|
}
|
|
3942
|
-
var
|
|
3942
|
+
var la = ht / 4, fa = ht / 2, ha = ht / 4;
|
|
3943
3943
|
function ci(t) {
|
|
3944
3944
|
if (Uo(t) && typeof t != "string")
|
|
3945
3945
|
return t;
|
|
@@ -3954,7 +3954,7 @@ function Pe(t) {
|
|
|
3954
3954
|
return JSON.stringify(t);
|
|
3955
3955
|
}
|
|
3956
3956
|
}
|
|
3957
|
-
function
|
|
3957
|
+
function pa(t, e) {
|
|
3958
3958
|
return Nt(t) ? (
|
|
3959
3959
|
// @ts-expect-error key might be a number or symbol, which is not handled be Record key type
|
|
3960
3960
|
t.has(e)
|
|
@@ -3964,7 +3964,7 @@ function ha(t, e) {
|
|
|
3964
3964
|
);
|
|
3965
3965
|
}
|
|
3966
3966
|
function li(t, e, r) {
|
|
3967
|
-
return Nt(t) ? t.get(e, r) :
|
|
3967
|
+
return Nt(t) ? t.get(e, r) : pa(t, e) ? (
|
|
3968
3968
|
// @ts-expect-error weird "get" here,
|
|
3969
3969
|
typeof t.get == "function" ? (
|
|
3970
3970
|
// @ts-expect-error weird "get" here,
|
|
@@ -3975,7 +3975,7 @@ function li(t, e, r) {
|
|
|
3975
3975
|
)
|
|
3976
3976
|
) : r;
|
|
3977
3977
|
}
|
|
3978
|
-
function
|
|
3978
|
+
function da(t, e) {
|
|
3979
3979
|
if (!Vt(t))
|
|
3980
3980
|
throw new TypeError("Cannot update non-data-structure value: " + t);
|
|
3981
3981
|
if (Nt(t)) {
|
|
@@ -3985,10 +3985,10 @@ function pa(t, e) {
|
|
|
3985
3985
|
}
|
|
3986
3986
|
if (!ye.call(t, e))
|
|
3987
3987
|
return t;
|
|
3988
|
-
var r =
|
|
3988
|
+
var r = pr(t);
|
|
3989
3989
|
return Array.isArray(r) ? r.splice(e, 1) : delete r[e], r;
|
|
3990
3990
|
}
|
|
3991
|
-
function
|
|
3991
|
+
function va(t, e, r) {
|
|
3992
3992
|
if (!Vt(t))
|
|
3993
3993
|
throw new TypeError("Cannot update non-data-structure value: " + t);
|
|
3994
3994
|
if (Nt(t)) {
|
|
@@ -3998,7 +3998,7 @@ function da(t, e, r) {
|
|
|
3998
3998
|
}
|
|
3999
3999
|
if (ye.call(t, e) && r === t[e])
|
|
4000
4000
|
return t;
|
|
4001
|
-
var n =
|
|
4001
|
+
var n = pr(t);
|
|
4002
4002
|
return n[e] = r, n;
|
|
4003
4003
|
}
|
|
4004
4004
|
function me(t, e, r, n) {
|
|
@@ -4031,22 +4031,22 @@ function fi(t, e, r, n, o, i) {
|
|
|
4031
4031
|
o,
|
|
4032
4032
|
i
|
|
4033
4033
|
);
|
|
4034
|
-
return f === l ? e : f === $ ?
|
|
4034
|
+
return f === l ? e : f === $ ? da(e, c) : va(s ? t ? zt() : {} : e, c, f);
|
|
4035
4035
|
}
|
|
4036
|
-
function
|
|
4036
|
+
function ya(t, e) {
|
|
4037
4037
|
return me(t, e, function() {
|
|
4038
4038
|
return $;
|
|
4039
4039
|
});
|
|
4040
4040
|
}
|
|
4041
4041
|
function xn(t) {
|
|
4042
|
-
return
|
|
4042
|
+
return ya(this, t);
|
|
4043
4043
|
}
|
|
4044
4044
|
var hi = "@@__IMMUTABLE_LIST__@@";
|
|
4045
4045
|
function pi(t) {
|
|
4046
4046
|
return !!(t && // @ts-expect-error: maybeList is typed as `{}`, need to change in 6.0 to `maybeList && typeof maybeList === 'object' && IS_LIST_SYMBOL in maybeList`
|
|
4047
4047
|
t[hi]);
|
|
4048
4048
|
}
|
|
4049
|
-
var
|
|
4049
|
+
var Ir = /* @__PURE__ */ (function(t) {
|
|
4050
4050
|
function e(r) {
|
|
4051
4051
|
var n = ir();
|
|
4052
4052
|
if (r == null)
|
|
@@ -4072,7 +4072,7 @@ var Or = /* @__PURE__ */ (function(t) {
|
|
|
4072
4072
|
}
|
|
4073
4073
|
return n;
|
|
4074
4074
|
}, e.prototype.set = function(r, n) {
|
|
4075
|
-
return
|
|
4075
|
+
return _a(this, r, n);
|
|
4076
4076
|
}, e.prototype.remove = function(r) {
|
|
4077
4077
|
return this.has(r) ? r === 0 ? this.shift() : r === this.size - 1 ? this.pop() : this.splice(r, 1) : this;
|
|
4078
4078
|
}, e.prototype.insert = function(r, n) {
|
|
@@ -4126,10 +4126,10 @@ var Or = /* @__PURE__ */ (function(t) {
|
|
|
4126
4126
|
});
|
|
4127
4127
|
}, e.prototype.slice = function(r, n) {
|
|
4128
4128
|
var o = this.size;
|
|
4129
|
-
return
|
|
4129
|
+
return wr(r, n, o) ? this : Tt(
|
|
4130
4130
|
this,
|
|
4131
4131
|
We(r, o),
|
|
4132
|
-
|
|
4132
|
+
br(n, o)
|
|
4133
4133
|
);
|
|
4134
4134
|
}, e.prototype.__iterator = function(r, n) {
|
|
4135
4135
|
var o = n ? this.size : 0, i = co(this, n);
|
|
@@ -4153,8 +4153,8 @@ var Or = /* @__PURE__ */ (function(t) {
|
|
|
4153
4153
|
) : this.size === 0 ? ir() : (this.__ownerID = r, this.__altered = !1, this);
|
|
4154
4154
|
}, e;
|
|
4155
4155
|
})(Jt);
|
|
4156
|
-
|
|
4157
|
-
var G =
|
|
4156
|
+
Ir.isList = pi;
|
|
4157
|
+
var G = Ir.prototype;
|
|
4158
4158
|
G[hi] = !0;
|
|
4159
4159
|
G[Be] = G.remove;
|
|
4160
4160
|
G.merge = G.concat;
|
|
@@ -4257,7 +4257,7 @@ function qe(t, e, r, n, o, i, s) {
|
|
|
4257
4257
|
function ir() {
|
|
4258
4258
|
return qe(0, 0, U);
|
|
4259
4259
|
}
|
|
4260
|
-
function
|
|
4260
|
+
function _a(t, e, r) {
|
|
4261
4261
|
if (e = qt(t, e), e !== e)
|
|
4262
4262
|
return t;
|
|
4263
4263
|
if (e >= t.size || e < 0)
|
|
@@ -4265,7 +4265,7 @@ function ya(t, e, r) {
|
|
|
4265
4265
|
e < 0 ? Tt(s, e).set(0, r) : Tt(s, 0, e + 1).set(e, r);
|
|
4266
4266
|
});
|
|
4267
4267
|
e += t._origin;
|
|
4268
|
-
var n = t._tail, o = t._root, i =
|
|
4268
|
+
var n = t._tail, o = t._root, i = Xr();
|
|
4269
4269
|
return e >= Le(t._capacity) ? n = nn(n, t.__ownerID, 0, e, r, i) : o = nn(
|
|
4270
4270
|
o,
|
|
4271
4271
|
t.__ownerID,
|
|
@@ -4475,9 +4475,9 @@ var jn = /* @__PURE__ */ (function(t) {
|
|
|
4475
4475
|
}, e.prototype.clear = function() {
|
|
4476
4476
|
return this.size === 0 ? this : this.__ownerID ? (this.size = 0, this._head = void 0, this.__hash = void 0, this.__altered = !0, this) : rr();
|
|
4477
4477
|
}, e.prototype.slice = function(r, n) {
|
|
4478
|
-
if (
|
|
4478
|
+
if (wr(r, n, this.size))
|
|
4479
4479
|
return this;
|
|
4480
|
-
var o = We(r, this.size), i =
|
|
4480
|
+
var o = We(r, this.size), i = br(n, this.size);
|
|
4481
4481
|
if (i !== this.size)
|
|
4482
4482
|
return t.prototype.slice.call(this, r, n);
|
|
4483
4483
|
for (var s = this.size - o, a = this._head; o--; )
|
|
@@ -4539,13 +4539,13 @@ function po(t, e, r, n, o, i) {
|
|
|
4539
4539
|
o ? (o = !1, r = s) : r = e.call(n, r, s, a, u);
|
|
4540
4540
|
}, i), r;
|
|
4541
4541
|
}
|
|
4542
|
-
function
|
|
4542
|
+
function ga(t, e) {
|
|
4543
4543
|
return e;
|
|
4544
4544
|
}
|
|
4545
|
-
function
|
|
4545
|
+
function ma(t, e) {
|
|
4546
4546
|
return [e, t];
|
|
4547
4547
|
}
|
|
4548
|
-
function
|
|
4548
|
+
function Pr(t) {
|
|
4549
4549
|
return function() {
|
|
4550
4550
|
for (var e = [], r = arguments.length; r--; ) e[r] = arguments[r];
|
|
4551
4551
|
return !t.apply(this, e);
|
|
@@ -4608,7 +4608,7 @@ function _i(t, e) {
|
|
|
4608
4608
|
return s && // @ts-expect-error size should exists on Collection
|
|
4609
4609
|
t.size === a;
|
|
4610
4610
|
}
|
|
4611
|
-
var
|
|
4611
|
+
var wa = /* @__PURE__ */ (function(t) {
|
|
4612
4612
|
function e(r, n, o) {
|
|
4613
4613
|
if (o === void 0 && (o = 1), !(this instanceof e))
|
|
4614
4614
|
return new e(r, n, o);
|
|
@@ -4619,9 +4619,9 @@ var ma = /* @__PURE__ */ (function(t) {
|
|
|
4619
4619
|
n !== void 0,
|
|
4620
4620
|
"You must define an end value when using Range"
|
|
4621
4621
|
), o = Math.abs(o), n < r && (o = -o), this._start = r, this._end = n, this._step = o, this.size = Math.max(0, Math.ceil((n - r) / o - 1) + 1), this.size === 0) {
|
|
4622
|
-
if (
|
|
4623
|
-
return
|
|
4624
|
-
|
|
4622
|
+
if (qr)
|
|
4623
|
+
return qr;
|
|
4624
|
+
qr = this;
|
|
4625
4625
|
}
|
|
4626
4626
|
}
|
|
4627
4627
|
return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.toString = function() {
|
|
@@ -4632,7 +4632,7 @@ var ma = /* @__PURE__ */ (function(t) {
|
|
|
4632
4632
|
var n = (r - this._start) / this._step;
|
|
4633
4633
|
return n >= 0 && n < this.size && n === Math.floor(n);
|
|
4634
4634
|
}, e.prototype.slice = function(r, n) {
|
|
4635
|
-
return
|
|
4635
|
+
return wr(r, n, this.size) ? this : (r = We(r, this.size), n = br(n, this.size), n <= r ? new e(0, 0) : new e(
|
|
4636
4636
|
this.get(r, this._end),
|
|
4637
4637
|
this.get(n, this._end),
|
|
4638
4638
|
this._step
|
|
@@ -4662,12 +4662,12 @@ var ma = /* @__PURE__ */ (function(t) {
|
|
|
4662
4662
|
}, e.prototype.equals = function(r) {
|
|
4663
4663
|
return r instanceof e ? this._start === r._start && this._end === r._end && this._step === r._step : _i(this, r);
|
|
4664
4664
|
}, e;
|
|
4665
|
-
})(It),
|
|
4665
|
+
})(It), qr, gi = "@@__IMMUTABLE_SET__@@";
|
|
4666
4666
|
function Mn(t) {
|
|
4667
4667
|
return !!(t && // @ts-expect-error: maybeSet is typed as `{}`, need to change in 6.0 to `maybeSeq && typeof maybeSet === 'object' && MAYBE_SET_SYMBOL in maybeSet`
|
|
4668
4668
|
t[gi]);
|
|
4669
4669
|
}
|
|
4670
|
-
var
|
|
4670
|
+
var Or = /* @__PURE__ */ (function(t) {
|
|
4671
4671
|
function e(r) {
|
|
4672
4672
|
return r == null ? ke() : Mn(r) && !At(r) ? r : ke().withMutations(function(n) {
|
|
4673
4673
|
var o = t(r);
|
|
@@ -4681,9 +4681,9 @@ var kr = /* @__PURE__ */ (function(t) {
|
|
|
4681
4681
|
}, e.fromKeys = function(r) {
|
|
4682
4682
|
return this(St(r).keySeq());
|
|
4683
4683
|
}, e.intersect = function(r) {
|
|
4684
|
-
return r = et(r).toArray(), r.length ?
|
|
4684
|
+
return r = et(r).toArray(), r.length ? X.intersect.apply(e(r.pop()), r) : ke();
|
|
4685
4685
|
}, e.union = function(r) {
|
|
4686
|
-
return r = et(r).toArray(), r.length ?
|
|
4686
|
+
return r = et(r).toArray(), r.length ? X.union.apply(e(r.pop()), r) : ke();
|
|
4687
4687
|
}, e.prototype.toString = function() {
|
|
4688
4688
|
return this.__toString("Set {", "}");
|
|
4689
4689
|
}, e.prototype.has = function(r) {
|
|
@@ -4767,27 +4767,27 @@ var kr = /* @__PURE__ */ (function(t) {
|
|
|
4767
4767
|
return r ? this.__make(n, r) : this.size === 0 ? this.__empty() : (this.__ownerID = r, this._map = n, this);
|
|
4768
4768
|
}, e;
|
|
4769
4769
|
})(de);
|
|
4770
|
-
|
|
4771
|
-
var
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4770
|
+
Or.isSet = Mn;
|
|
4771
|
+
var X = Or.prototype;
|
|
4772
|
+
X[gi] = !0;
|
|
4773
|
+
X[Be] = X.remove;
|
|
4774
|
+
X.merge = X.concat = X.union;
|
|
4775
|
+
X.withMutations = Je;
|
|
4776
|
+
X.asImmutable = Ke;
|
|
4777
|
+
X["@@transducer/init"] = X.asMutable = He;
|
|
4778
|
+
X["@@transducer/step"] = function(t, e) {
|
|
4779
4779
|
return t.add(e);
|
|
4780
4780
|
};
|
|
4781
|
-
|
|
4781
|
+
X["@@transducer/result"] = function(t) {
|
|
4782
4782
|
return t.asImmutable();
|
|
4783
4783
|
};
|
|
4784
|
-
|
|
4785
|
-
|
|
4784
|
+
X.__empty = ke;
|
|
4785
|
+
X.__make = mi;
|
|
4786
4786
|
function nr(t, e) {
|
|
4787
4787
|
return t.__ownerID ? (t.size = e.size, t._map = e, t) : e === t._map ? t : e.size === 0 ? t.__empty() : t.__make(e);
|
|
4788
4788
|
}
|
|
4789
4789
|
function mi(t, e) {
|
|
4790
|
-
var r = Object.create(
|
|
4790
|
+
var r = Object.create(X);
|
|
4791
4791
|
return r.size = t ? t.size : 0, r._map = t, r.__ownerID = e, r;
|
|
4792
4792
|
}
|
|
4793
4793
|
var _o;
|
|
@@ -4803,11 +4803,11 @@ function wi(t, e, r) {
|
|
|
4803
4803
|
function bi(t, e) {
|
|
4804
4804
|
return wi(this, t, e);
|
|
4805
4805
|
}
|
|
4806
|
-
function
|
|
4806
|
+
function ba(t, e) {
|
|
4807
4807
|
return wi(t, e, $) !== $;
|
|
4808
4808
|
}
|
|
4809
|
-
function
|
|
4810
|
-
return
|
|
4809
|
+
function Sa(t) {
|
|
4810
|
+
return ba(this, t);
|
|
4811
4811
|
}
|
|
4812
4812
|
function Si() {
|
|
4813
4813
|
ft(this.size);
|
|
@@ -4816,7 +4816,7 @@ function Si() {
|
|
|
4816
4816
|
t[r] = e;
|
|
4817
4817
|
}), t;
|
|
4818
4818
|
}
|
|
4819
|
-
function
|
|
4819
|
+
function dr(t) {
|
|
4820
4820
|
if (!t || typeof t != "object")
|
|
4821
4821
|
return t;
|
|
4822
4822
|
if (!dt(t)) {
|
|
@@ -4827,15 +4827,15 @@ function vr(t) {
|
|
|
4827
4827
|
if (K(t)) {
|
|
4828
4828
|
var e = {};
|
|
4829
4829
|
return t.__iterate(function(n, o) {
|
|
4830
|
-
e[o] =
|
|
4830
|
+
e[o] = dr(n);
|
|
4831
4831
|
}), e;
|
|
4832
4832
|
}
|
|
4833
4833
|
var r = [];
|
|
4834
4834
|
return t.__iterate(function(n) {
|
|
4835
|
-
r.push(
|
|
4835
|
+
r.push(dr(n));
|
|
4836
4836
|
}), r;
|
|
4837
4837
|
}
|
|
4838
|
-
function
|
|
4838
|
+
function Ea(t) {
|
|
4839
4839
|
if (t.size === 1 / 0)
|
|
4840
4840
|
return 0;
|
|
4841
4841
|
var e = At(t), r = K(t), n = e ? 1 : 0;
|
|
@@ -4847,10 +4847,10 @@ function Sa(t) {
|
|
|
4847
4847
|
n = 31 * n + lt(o) | 0;
|
|
4848
4848
|
} : function(o) {
|
|
4849
4849
|
n = n + lt(o) | 0;
|
|
4850
|
-
}),
|
|
4850
|
+
}), Ia(t.size, n);
|
|
4851
4851
|
}
|
|
4852
|
-
function
|
|
4853
|
-
return e = Se(e, 3432918353), e = Se(e << 15 | e >>> -15, 461845907), e = Se(e << 13 | e >>> -13, 5), e = (e + 3864292196 | 0) ^ t, e = Se(e ^ e >>> 16, 2246822507), e = Se(e ^ e >>> 13, 3266489909), e =
|
|
4852
|
+
function Ia(t, e) {
|
|
4853
|
+
return e = Se(e, 3432918353), e = Se(e << 15 | e >>> -15, 461845907), e = Se(e << 13 | e >>> -13, 5), e = (e + 3864292196 | 0) ^ t, e = Se(e ^ e >>> 16, 2246822507), e = Se(e ^ e >>> 13, 3266489909), e = Sr(e ^ e >>> 16), e;
|
|
4854
4854
|
}
|
|
4855
4855
|
function go(t, e) {
|
|
4856
4856
|
return t ^ e + 2654435769 + (t << 6) + (t >> 2) | 0;
|
|
@@ -4875,10 +4875,10 @@ Qt(et, {
|
|
|
4875
4875
|
return new Wo(this);
|
|
4876
4876
|
},
|
|
4877
4877
|
toJS: function() {
|
|
4878
|
-
return
|
|
4878
|
+
return dr(this);
|
|
4879
4879
|
},
|
|
4880
4880
|
toKeyedSeq: function() {
|
|
4881
|
-
return new
|
|
4881
|
+
return new Er(this, !0);
|
|
4882
4882
|
},
|
|
4883
4883
|
toMap: function() {
|
|
4884
4884
|
return ge(this.toKeyedSeq());
|
|
@@ -4891,7 +4891,7 @@ Qt(et, {
|
|
|
4891
4891
|
return Ve(K(this) ? this.valueSeq() : this);
|
|
4892
4892
|
},
|
|
4893
4893
|
toSet: function() {
|
|
4894
|
-
return
|
|
4894
|
+
return Or(K(this) ? this.valueSeq() : this);
|
|
4895
4895
|
},
|
|
4896
4896
|
toSetSeq: function() {
|
|
4897
4897
|
return new Ko(this);
|
|
@@ -4903,7 +4903,7 @@ Qt(et, {
|
|
|
4903
4903
|
return jn(K(this) ? this.valueSeq() : this);
|
|
4904
4904
|
},
|
|
4905
4905
|
toList: function() {
|
|
4906
|
-
return
|
|
4906
|
+
return Ir(K(this) ? this.valueSeq() : this);
|
|
4907
4907
|
},
|
|
4908
4908
|
// ### Common JavaScript methods and properties
|
|
4909
4909
|
toString: function() {
|
|
@@ -4915,7 +4915,7 @@ Qt(et, {
|
|
|
4915
4915
|
// ### ES6 Collection methods (ES6 Array and Map)
|
|
4916
4916
|
concat: function() {
|
|
4917
4917
|
for (var t = [], e = arguments.length; e--; ) t[e] = arguments[e];
|
|
4918
|
-
return V(this,
|
|
4918
|
+
return V(this, Qs(this, t));
|
|
4919
4919
|
},
|
|
4920
4920
|
includes: function(t) {
|
|
4921
4921
|
return this.some(function(e) {
|
|
@@ -4937,7 +4937,7 @@ Qt(et, {
|
|
|
4937
4937
|
return V(this, Qo(this, t, e, !0));
|
|
4938
4938
|
},
|
|
4939
4939
|
partition: function(t, e) {
|
|
4940
|
-
return
|
|
4940
|
+
return Hs(this, t, e);
|
|
4941
4941
|
},
|
|
4942
4942
|
find: function(t, e, r) {
|
|
4943
4943
|
var n = this.findEntry(t, e);
|
|
@@ -5014,7 +5014,7 @@ Qt(et, {
|
|
|
5014
5014
|
);
|
|
5015
5015
|
},
|
|
5016
5016
|
countBy: function(t, e) {
|
|
5017
|
-
return
|
|
5017
|
+
return Ws(this, t, e);
|
|
5018
5018
|
},
|
|
5019
5019
|
equals: function(t) {
|
|
5020
5020
|
return _i(this, t);
|
|
@@ -5023,13 +5023,13 @@ Qt(et, {
|
|
|
5023
5023
|
var t = this;
|
|
5024
5024
|
if (t._cache)
|
|
5025
5025
|
return new ae(t._cache);
|
|
5026
|
-
var e = t.toSeq().map(
|
|
5026
|
+
var e = t.toSeq().map(ma).toIndexedSeq();
|
|
5027
5027
|
return e.fromEntrySeq = function() {
|
|
5028
5028
|
return t.toSeq();
|
|
5029
5029
|
}, e;
|
|
5030
5030
|
},
|
|
5031
5031
|
filterNot: function(t, e) {
|
|
5032
|
-
return this.filter(
|
|
5032
|
+
return this.filter(Pr(t), e);
|
|
5033
5033
|
},
|
|
5034
5034
|
findEntry: function(t, e, r) {
|
|
5035
5035
|
var n = r;
|
|
@@ -5055,10 +5055,10 @@ Qt(et, {
|
|
|
5055
5055
|
return this.find(To, null, t);
|
|
5056
5056
|
},
|
|
5057
5057
|
flatMap: function(t, e) {
|
|
5058
|
-
return V(this,
|
|
5058
|
+
return V(this, Ys(this, t, e));
|
|
5059
5059
|
},
|
|
5060
5060
|
flatten: function(t) {
|
|
5061
|
-
return V(this,
|
|
5061
|
+
return V(this, Zo(this, t, !0));
|
|
5062
5062
|
},
|
|
5063
5063
|
fromEntrySeq: function() {
|
|
5064
5064
|
return new Ho(this);
|
|
@@ -5070,12 +5070,12 @@ Qt(et, {
|
|
|
5070
5070
|
},
|
|
5071
5071
|
getIn: bi,
|
|
5072
5072
|
groupBy: function(t, e) {
|
|
5073
|
-
return
|
|
5073
|
+
return Ks(this, t, e);
|
|
5074
5074
|
},
|
|
5075
5075
|
has: function(t) {
|
|
5076
5076
|
return this.get(t, $) !== $;
|
|
5077
5077
|
},
|
|
5078
|
-
hasIn:
|
|
5078
|
+
hasIn: Sa,
|
|
5079
5079
|
isSubset: function(t) {
|
|
5080
5080
|
return t = typeof t.includes == "function" ? t : et(t), this.every(function(e) {
|
|
5081
5081
|
return t.includes(e);
|
|
@@ -5090,7 +5090,7 @@ Qt(et, {
|
|
|
5090
5090
|
});
|
|
5091
5091
|
},
|
|
5092
5092
|
keySeq: function() {
|
|
5093
|
-
return this.toSeq().map(
|
|
5093
|
+
return this.toSeq().map(ga).toIndexedSeq();
|
|
5094
5094
|
},
|
|
5095
5095
|
last: function(t) {
|
|
5096
5096
|
return this.toSeq().reverse().first(t);
|
|
@@ -5130,7 +5130,7 @@ Qt(et, {
|
|
|
5130
5130
|
return V(this, Yo(this, t, e, !0));
|
|
5131
5131
|
},
|
|
5132
5132
|
skipUntil: function(t, e) {
|
|
5133
|
-
return this.skipWhile(
|
|
5133
|
+
return this.skipWhile(Pr(t), e);
|
|
5134
5134
|
},
|
|
5135
5135
|
sortBy: function(t, e) {
|
|
5136
5136
|
return V(this, ue(this, e, t));
|
|
@@ -5142,10 +5142,10 @@ Qt(et, {
|
|
|
5142
5142
|
return this.slice(-Math.max(0, t));
|
|
5143
5143
|
},
|
|
5144
5144
|
takeWhile: function(t, e) {
|
|
5145
|
-
return V(this,
|
|
5145
|
+
return V(this, Js(this, t, e));
|
|
5146
5146
|
},
|
|
5147
5147
|
takeUntil: function(t, e) {
|
|
5148
|
-
return this.takeWhile(
|
|
5148
|
+
return this.takeWhile(Pr(t), e);
|
|
5149
5149
|
},
|
|
5150
5150
|
update: function(t) {
|
|
5151
5151
|
return t(this);
|
|
@@ -5155,7 +5155,7 @@ Qt(et, {
|
|
|
5155
5155
|
},
|
|
5156
5156
|
// ### Hashable Object
|
|
5157
5157
|
hashCode: function() {
|
|
5158
|
-
return this.__hash || (this.__hash =
|
|
5158
|
+
return this.__hash || (this.__hash = Ea(this));
|
|
5159
5159
|
}
|
|
5160
5160
|
// ### Internal
|
|
5161
5161
|
// abstract __iterate(fn, reverse)
|
|
@@ -5163,7 +5163,7 @@ Qt(et, {
|
|
|
5163
5163
|
});
|
|
5164
5164
|
var nt = et.prototype;
|
|
5165
5165
|
nt[$o] = !0;
|
|
5166
|
-
nt[
|
|
5166
|
+
nt[gr] = nt.values;
|
|
5167
5167
|
nt.toJSON = nt.toArray;
|
|
5168
5168
|
nt.__toStringMapper = Pe;
|
|
5169
5169
|
nt.inspect = nt.toSource = function() {
|
|
@@ -5196,8 +5196,8 @@ Qt(St, {
|
|
|
5196
5196
|
}
|
|
5197
5197
|
});
|
|
5198
5198
|
var Ge = St.prototype;
|
|
5199
|
-
Ge[
|
|
5200
|
-
Ge[
|
|
5199
|
+
Ge[hr] = !0;
|
|
5200
|
+
Ge[gr] = nt.entries;
|
|
5201
5201
|
Ge.toJSON = Si;
|
|
5202
5202
|
Ge.__toStringMapper = function(t, e) {
|
|
5203
5203
|
return Pe(e) + ": " + Pe(t);
|
|
@@ -5205,7 +5205,7 @@ Ge.__toStringMapper = function(t, e) {
|
|
|
5205
5205
|
Qt(Jt, {
|
|
5206
5206
|
// ### Conversion to other types
|
|
5207
5207
|
toKeyedSeq: function() {
|
|
5208
|
-
return new
|
|
5208
|
+
return new Er(this, !1);
|
|
5209
5209
|
},
|
|
5210
5210
|
// ### ES6 Collection methods (ES6 Array and Map)
|
|
5211
5211
|
filter: function(t, e) {
|
|
@@ -5249,7 +5249,7 @@ Qt(Jt, {
|
|
|
5249
5249
|
return this.get(0, t);
|
|
5250
5250
|
},
|
|
5251
5251
|
flatten: function(t) {
|
|
5252
|
-
return V(this,
|
|
5252
|
+
return V(this, Zo(this, t, !1));
|
|
5253
5253
|
},
|
|
5254
5254
|
get: function(t, e) {
|
|
5255
5255
|
return t = qt(this, t), t < 0 || this.size === 1 / 0 || this.size !== void 0 && t > this.size ? e : this.find(function(r, n) {
|
|
@@ -5260,14 +5260,14 @@ Qt(Jt, {
|
|
|
5260
5260
|
return t = qt(this, t), t >= 0 && (this.size !== void 0 ? this.size === 1 / 0 || t < this.size : this.indexOf(t) !== -1);
|
|
5261
5261
|
},
|
|
5262
5262
|
interpose: function(t) {
|
|
5263
|
-
return V(this,
|
|
5263
|
+
return V(this, Zs(this, t));
|
|
5264
5264
|
},
|
|
5265
5265
|
interleave: function() {
|
|
5266
5266
|
var t = [this].concat(Dt(arguments)), e = er(this.toSeq(), It.of, t), r = e.flatten(!0);
|
|
5267
5267
|
return e.size && (r.size = e.size * t.length), V(this, r);
|
|
5268
5268
|
},
|
|
5269
5269
|
keySeq: function() {
|
|
5270
|
-
return
|
|
5270
|
+
return wa(0, this.size);
|
|
5271
5271
|
},
|
|
5272
5272
|
last: function(t) {
|
|
5273
5273
|
return this.get(-1, t);
|
|
@@ -5289,7 +5289,7 @@ Qt(Jt, {
|
|
|
5289
5289
|
}
|
|
5290
5290
|
});
|
|
5291
5291
|
var we = Jt.prototype;
|
|
5292
|
-
we[
|
|
5292
|
+
we[fr] = !0;
|
|
5293
5293
|
we[Lt] = !0;
|
|
5294
5294
|
Qt(de, {
|
|
5295
5295
|
// ### ES6 Collection methods (ES6 Array and Map)
|
|
@@ -5333,7 +5333,7 @@ var Ve = /* @__PURE__ */ (function(t) {
|
|
|
5333
5333
|
}, e.prototype.toString = function() {
|
|
5334
5334
|
return this.__toString("OrderedSet {", "}");
|
|
5335
5335
|
}, e;
|
|
5336
|
-
})(
|
|
5336
|
+
})(Or);
|
|
5337
5337
|
Ve.isOrderedSet = Ei;
|
|
5338
5338
|
var Yt = Ve.prototype;
|
|
5339
5339
|
Yt[Lt] = !0;
|
|
@@ -5350,7 +5350,7 @@ var wo;
|
|
|
5350
5350
|
function sn() {
|
|
5351
5351
|
return wo || (wo = Ii(Ie()));
|
|
5352
5352
|
}
|
|
5353
|
-
function
|
|
5353
|
+
function Oa(t) {
|
|
5354
5354
|
if (Gt(t))
|
|
5355
5355
|
throw new Error(
|
|
5356
5356
|
"Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead."
|
|
@@ -5364,9 +5364,9 @@ function Ia(t) {
|
|
|
5364
5364
|
"Can not call `Record` with a non-object as default values. Use a plain javascript object instead."
|
|
5365
5365
|
);
|
|
5366
5366
|
}
|
|
5367
|
-
var
|
|
5367
|
+
var Z = function(t, e) {
|
|
5368
5368
|
var r;
|
|
5369
|
-
|
|
5369
|
+
Oa(t);
|
|
5370
5370
|
var n = function(i) {
|
|
5371
5371
|
var s = this;
|
|
5372
5372
|
if (i instanceof n)
|
|
@@ -5381,10 +5381,10 @@ var X = function(t, e) {
|
|
|
5381
5381
|
var l = a[c];
|
|
5382
5382
|
u[l] = c, o[l] ? typeof console == "object" && console.warn && console.warn(
|
|
5383
5383
|
"Cannot define " + Pn(this) + ' with property "' + l + '" since that property name is part of the Record API.'
|
|
5384
|
-
) :
|
|
5384
|
+
) : ka(o, l);
|
|
5385
5385
|
}
|
|
5386
5386
|
}
|
|
5387
|
-
return this.__ownerID = void 0, this._values =
|
|
5387
|
+
return this.__ownerID = void 0, this._values = Ir().withMutations(function(f) {
|
|
5388
5388
|
f.setSize(s._keys.length), St(i).forEach(function(h, p) {
|
|
5389
5389
|
f.set(s._indices[p], h === s._defaultValues[p] ? void 0 : h);
|
|
5390
5390
|
});
|
|
@@ -5392,27 +5392,27 @@ var X = function(t, e) {
|
|
|
5392
5392
|
}, o = n.prototype = Object.create(B);
|
|
5393
5393
|
return o.constructor = n, e && (n.displayName = e), n;
|
|
5394
5394
|
};
|
|
5395
|
-
|
|
5395
|
+
Z.prototype.toString = function() {
|
|
5396
5396
|
for (var t = Pn(this) + " { ", e = this._keys, r, n = 0, o = e.length; n !== o; n++)
|
|
5397
5397
|
r = e[n], t += (n ? ", " : "") + r + ": " + Pe(this.get(r));
|
|
5398
5398
|
return t + " }";
|
|
5399
5399
|
};
|
|
5400
|
-
|
|
5400
|
+
Z.prototype.equals = function(t) {
|
|
5401
5401
|
return this === t || Gt(t) && pe(this).equals(pe(t));
|
|
5402
5402
|
};
|
|
5403
|
-
|
|
5403
|
+
Z.prototype.hashCode = function() {
|
|
5404
5404
|
return pe(this).hashCode();
|
|
5405
5405
|
};
|
|
5406
|
-
|
|
5406
|
+
Z.prototype.has = function(t) {
|
|
5407
5407
|
return this._indices.hasOwnProperty(t);
|
|
5408
5408
|
};
|
|
5409
|
-
|
|
5409
|
+
Z.prototype.get = function(t, e) {
|
|
5410
5410
|
if (!this.has(t))
|
|
5411
5411
|
return e;
|
|
5412
5412
|
var r = this._indices[t], n = this._values.get(r);
|
|
5413
5413
|
return n === void 0 ? this._defaultValues[t] : n;
|
|
5414
5414
|
};
|
|
5415
|
-
|
|
5415
|
+
Z.prototype.set = function(t, e) {
|
|
5416
5416
|
if (this.has(t)) {
|
|
5417
5417
|
var r = this._values.set(
|
|
5418
5418
|
this._indices[t],
|
|
@@ -5423,40 +5423,40 @@ X.prototype.set = function(t, e) {
|
|
|
5423
5423
|
}
|
|
5424
5424
|
return this;
|
|
5425
5425
|
};
|
|
5426
|
-
|
|
5426
|
+
Z.prototype.remove = function(t) {
|
|
5427
5427
|
return this.set(t);
|
|
5428
5428
|
};
|
|
5429
|
-
|
|
5429
|
+
Z.prototype.clear = function() {
|
|
5430
5430
|
var t = this._values.clear().setSize(this._keys.length);
|
|
5431
5431
|
return this.__ownerID ? this : Tn(this, t);
|
|
5432
5432
|
};
|
|
5433
|
-
|
|
5433
|
+
Z.prototype.wasAltered = function() {
|
|
5434
5434
|
return this._values.wasAltered();
|
|
5435
5435
|
};
|
|
5436
|
-
|
|
5436
|
+
Z.prototype.toSeq = function() {
|
|
5437
5437
|
return pe(this);
|
|
5438
5438
|
};
|
|
5439
|
-
|
|
5440
|
-
return
|
|
5439
|
+
Z.prototype.toJS = function() {
|
|
5440
|
+
return dr(this);
|
|
5441
5441
|
};
|
|
5442
|
-
|
|
5442
|
+
Z.prototype.entries = function() {
|
|
5443
5443
|
return this.__iterator(yt);
|
|
5444
5444
|
};
|
|
5445
|
-
|
|
5445
|
+
Z.prototype.__iterator = function(t, e) {
|
|
5446
5446
|
return pe(this).__iterator(t, e);
|
|
5447
5447
|
};
|
|
5448
|
-
|
|
5448
|
+
Z.prototype.__iterate = function(t, e) {
|
|
5449
5449
|
return pe(this).__iterate(t, e);
|
|
5450
5450
|
};
|
|
5451
|
-
|
|
5451
|
+
Z.prototype.__ensureOwner = function(t) {
|
|
5452
5452
|
if (t === this.__ownerID)
|
|
5453
5453
|
return this;
|
|
5454
5454
|
var e = this._values.__ensureOwner(t);
|
|
5455
5455
|
return t ? Tn(this, e, t) : (this.__ownerID = t, this._values = e, this);
|
|
5456
5456
|
};
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
var B =
|
|
5457
|
+
Z.isRecord = Gt;
|
|
5458
|
+
Z.getDescriptiveName = Pn;
|
|
5459
|
+
var B = Z.prototype;
|
|
5460
5460
|
B[Lo] = !0;
|
|
5461
5461
|
B[Be] = B.remove;
|
|
5462
5462
|
B.deleteIn = B.removeIn = xn;
|
|
@@ -5474,7 +5474,7 @@ B.updateIn = Dn;
|
|
|
5474
5474
|
B.withMutations = Je;
|
|
5475
5475
|
B.asMutable = He;
|
|
5476
5476
|
B.asImmutable = Ke;
|
|
5477
|
-
B[
|
|
5477
|
+
B[gr] = B.entries;
|
|
5478
5478
|
B.toJSON = B.toObject = nt.toObject;
|
|
5479
5479
|
B.inspect = B.toSource = function() {
|
|
5480
5480
|
return this.toString();
|
|
@@ -5491,7 +5491,7 @@ function pe(t) {
|
|
|
5491
5491
|
return [e, t.get(e)];
|
|
5492
5492
|
}));
|
|
5493
5493
|
}
|
|
5494
|
-
function
|
|
5494
|
+
function ka(t, e) {
|
|
5495
5495
|
try {
|
|
5496
5496
|
Object.defineProperty(t, e, {
|
|
5497
5497
|
get: function() {
|
|
@@ -5505,43 +5505,43 @@ function Oa(t, e) {
|
|
|
5505
5505
|
}
|
|
5506
5506
|
}
|
|
5507
5507
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
5508
|
-
function
|
|
5508
|
+
function Da(t, e) {
|
|
5509
5509
|
return an() ? (un(t, e), !0) : !1;
|
|
5510
5510
|
}
|
|
5511
5511
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
5512
|
-
const
|
|
5512
|
+
const Ra = () => {
|
|
5513
5513
|
};
|
|
5514
|
-
function
|
|
5514
|
+
function za(...t) {
|
|
5515
5515
|
if (t.length !== 1) return Kt(...t);
|
|
5516
5516
|
const e = t[0];
|
|
5517
|
-
return typeof e == "function" ?
|
|
5517
|
+
return typeof e == "function" ? _r(cn(() => ({
|
|
5518
5518
|
get: e,
|
|
5519
|
-
set:
|
|
5519
|
+
set: Ra
|
|
5520
5520
|
}))) : C(e);
|
|
5521
5521
|
}
|
|
5522
|
-
function
|
|
5522
|
+
function Lr(t) {
|
|
5523
5523
|
return typeof Window < "u" && t instanceof Window ? t.document.documentElement : typeof Document < "u" && t instanceof Document ? t.documentElement : t;
|
|
5524
5524
|
}
|
|
5525
|
-
const
|
|
5526
|
-
function
|
|
5525
|
+
const Vr = /* @__PURE__ */ new WeakMap();
|
|
5526
|
+
function Aa(t, e = !1) {
|
|
5527
5527
|
const r = Fe(e);
|
|
5528
5528
|
let n = "";
|
|
5529
|
-
rt(
|
|
5530
|
-
const a =
|
|
5529
|
+
rt(za(t), (s) => {
|
|
5530
|
+
const a = Lr(wt(s));
|
|
5531
5531
|
if (a) {
|
|
5532
5532
|
const u = a;
|
|
5533
|
-
if (
|
|
5533
|
+
if (Vr.get(u) || Vr.set(u, u.style.overflow), u.style.overflow !== "hidden" && (n = u.style.overflow), u.style.overflow === "hidden") return r.value = !0;
|
|
5534
5534
|
if (r.value) return u.style.overflow = "hidden";
|
|
5535
5535
|
}
|
|
5536
5536
|
}, { immediate: !0 });
|
|
5537
5537
|
const o = () => {
|
|
5538
|
-
const s =
|
|
5538
|
+
const s = Lr(wt(t));
|
|
5539
5539
|
!s || r.value || (s.style.overflow = "hidden", r.value = !0);
|
|
5540
5540
|
}, i = () => {
|
|
5541
|
-
const s =
|
|
5542
|
-
!s || !r.value || (s.style.overflow = n,
|
|
5541
|
+
const s = Lr(wt(t));
|
|
5542
|
+
!s || !r.value || (s.style.overflow = n, Vr.delete(s), r.value = !1);
|
|
5543
5543
|
};
|
|
5544
|
-
return
|
|
5544
|
+
return Da(i), x({
|
|
5545
5545
|
get() {
|
|
5546
5546
|
return r.value;
|
|
5547
5547
|
},
|
|
@@ -5550,60 +5550,60 @@ function za(t, e = !1) {
|
|
|
5550
5550
|
}
|
|
5551
5551
|
});
|
|
5552
5552
|
}
|
|
5553
|
-
function
|
|
5553
|
+
function Na() {
|
|
5554
5554
|
let t = !1;
|
|
5555
5555
|
const e = Fe(!1);
|
|
5556
5556
|
return (r, n) => {
|
|
5557
5557
|
if (e.value = n.value, t) return;
|
|
5558
5558
|
t = !0;
|
|
5559
|
-
const o =
|
|
5559
|
+
const o = Aa(r, n.value);
|
|
5560
5560
|
rt(e, (i) => o.value = i);
|
|
5561
5561
|
};
|
|
5562
5562
|
}
|
|
5563
|
-
|
|
5564
|
-
const
|
|
5563
|
+
Na();
|
|
5564
|
+
const Ca = (t, e) => {
|
|
5565
5565
|
const r = t.__vccOpts || t;
|
|
5566
5566
|
for (const [n, o] of e)
|
|
5567
5567
|
r[n] = o;
|
|
5568
5568
|
return r;
|
|
5569
5569
|
};
|
|
5570
|
-
function
|
|
5570
|
+
function xa(t, e) {
|
|
5571
5571
|
return an() ? (un(t, e), !0) : !1;
|
|
5572
5572
|
}
|
|
5573
5573
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
5574
|
-
const
|
|
5574
|
+
const $a = () => {
|
|
5575
5575
|
};
|
|
5576
|
-
function
|
|
5576
|
+
function ja(...t) {
|
|
5577
5577
|
if (t.length !== 1) return Kt(...t);
|
|
5578
5578
|
const e = t[0];
|
|
5579
|
-
return typeof e == "function" ?
|
|
5579
|
+
return typeof e == "function" ? _r(cn(() => ({
|
|
5580
5580
|
get: e,
|
|
5581
|
-
set:
|
|
5581
|
+
set: $a
|
|
5582
5582
|
}))) : C(e);
|
|
5583
5583
|
}
|
|
5584
|
-
function
|
|
5584
|
+
function Ur(t) {
|
|
5585
5585
|
return typeof Window < "u" && t instanceof Window ? t.document.documentElement : typeof Document < "u" && t instanceof Document ? t.documentElement : t;
|
|
5586
5586
|
}
|
|
5587
|
-
const
|
|
5588
|
-
function
|
|
5587
|
+
const Fr = /* @__PURE__ */ new WeakMap();
|
|
5588
|
+
function Ma(t, e = !1) {
|
|
5589
5589
|
const r = Fe(e);
|
|
5590
5590
|
let n = "";
|
|
5591
|
-
rt(
|
|
5592
|
-
const a =
|
|
5591
|
+
rt(ja(t), (s) => {
|
|
5592
|
+
const a = Ur(wt(s));
|
|
5593
5593
|
if (a) {
|
|
5594
5594
|
const u = a;
|
|
5595
|
-
if (
|
|
5595
|
+
if (Fr.get(u) || Fr.set(u, u.style.overflow), u.style.overflow !== "hidden" && (n = u.style.overflow), u.style.overflow === "hidden") return r.value = !0;
|
|
5596
5596
|
if (r.value) return u.style.overflow = "hidden";
|
|
5597
5597
|
}
|
|
5598
5598
|
}, { immediate: !0 });
|
|
5599
5599
|
const o = () => {
|
|
5600
|
-
const s =
|
|
5600
|
+
const s = Ur(wt(t));
|
|
5601
5601
|
!s || r.value || (s.style.overflow = "hidden", r.value = !0);
|
|
5602
5602
|
}, i = () => {
|
|
5603
|
-
const s =
|
|
5604
|
-
!s || !r.value || (s.style.overflow = n,
|
|
5603
|
+
const s = Ur(wt(t));
|
|
5604
|
+
!s || !r.value || (s.style.overflow = n, Fr.delete(s), r.value = !1);
|
|
5605
5605
|
};
|
|
5606
|
-
return
|
|
5606
|
+
return xa(i), x({
|
|
5607
5607
|
get() {
|
|
5608
5608
|
return r.value;
|
|
5609
5609
|
},
|
|
@@ -5612,25 +5612,24 @@ function ja(t, e = !1) {
|
|
|
5612
5612
|
}
|
|
5613
5613
|
});
|
|
5614
5614
|
}
|
|
5615
|
-
function
|
|
5615
|
+
function Ta() {
|
|
5616
5616
|
let t = !1;
|
|
5617
5617
|
const e = Fe(!1);
|
|
5618
5618
|
return (r, n) => {
|
|
5619
5619
|
if (e.value = n.value, t) return;
|
|
5620
5620
|
t = !0;
|
|
5621
|
-
const o =
|
|
5621
|
+
const o = Ma(r, n.value);
|
|
5622
5622
|
rt(e, (i) => o.value = i);
|
|
5623
5623
|
};
|
|
5624
5624
|
}
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
const Ta = { class: "aform" }, Pa = {
|
|
5625
|
+
Ta();
|
|
5626
|
+
const Pa = { class: "aform" }, qa = {
|
|
5628
5627
|
key: 0,
|
|
5629
5628
|
class: "aform-nested-section"
|
|
5630
|
-
},
|
|
5629
|
+
}, La = {
|
|
5631
5630
|
key: 0,
|
|
5632
5631
|
class: "aform-nested-label"
|
|
5633
|
-
},
|
|
5632
|
+
}, Va = /* @__PURE__ */ Ue({
|
|
5634
5633
|
__name: "AForm",
|
|
5635
5634
|
props: /* @__PURE__ */ Vn({
|
|
5636
5635
|
schema: {},
|
|
@@ -5682,10 +5681,10 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
5682
5681
|
})));
|
|
5683
5682
|
});
|
|
5684
5683
|
const h = x(() => f.value);
|
|
5685
|
-
return (p, v) => (P(), F("form",
|
|
5684
|
+
return (p, v) => (P(), F("form", Pa, [
|
|
5686
5685
|
(P(!0), F(ne, null, xe(t.schema, (y, D) => (P(), F(ne, { key: D }, [
|
|
5687
|
-
o(y) ? (P(), F("div",
|
|
5688
|
-
y.label && !("collapsible" in y) ? (P(), F("h4",
|
|
5686
|
+
o(y) ? (P(), F("div", qa, [
|
|
5687
|
+
y.label && !("collapsible" in y) ? (P(), F("h4", La, Rt(y.label), 1)) : Wt("", !0),
|
|
5689
5688
|
(P(), ar(Ln(y.component ?? "AForm"), {
|
|
5690
5689
|
data: i.value[y.fieldname],
|
|
5691
5690
|
mode: l(y),
|
|
@@ -5706,7 +5705,7 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
5706
5705
|
], 64))), 128))
|
|
5707
5706
|
]));
|
|
5708
5707
|
}
|
|
5709
|
-
}),
|
|
5708
|
+
}), Ua = /* @__PURE__ */ Ca(Va, [["__scopeId", "data-v-70086a8f"]]), Fa = { class: "tabs" }, Ba = { tabindex: "0" }, Wa = { tabindex: "0" }, Ka = /* @__PURE__ */ Ue({
|
|
5710
5709
|
__name: "SheetNav",
|
|
5711
5710
|
props: {
|
|
5712
5711
|
breadcrumbs: { default: () => [] }
|
|
@@ -5727,13 +5726,13 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
5727
5726
|
return (f, h) => {
|
|
5728
5727
|
const p = ji("router-link");
|
|
5729
5728
|
return P(), F("footer", null, [
|
|
5730
|
-
T("ul",
|
|
5729
|
+
T("ul", Fa, [
|
|
5731
5730
|
T("li", {
|
|
5732
5731
|
class: "hidebreadcrumbs",
|
|
5733
5732
|
onClick: s,
|
|
5734
5733
|
onKeydown: be(s, ["enter"])
|
|
5735
5734
|
}, [
|
|
5736
|
-
T("a",
|
|
5735
|
+
T("a", Ba, [
|
|
5737
5736
|
T("div", {
|
|
5738
5737
|
class: ee(i.value)
|
|
5739
5738
|
}, "×", 2)
|
|
@@ -5741,7 +5740,7 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
5741
5740
|
], 32),
|
|
5742
5741
|
T("li", {
|
|
5743
5742
|
class: "hometab",
|
|
5744
|
-
style:
|
|
5743
|
+
style: zr({ display: e.value ? "block" : "none" }),
|
|
5745
5744
|
onClick: l,
|
|
5746
5745
|
onKeydown: be(l, ["enter"])
|
|
5747
5746
|
}, [
|
|
@@ -5767,9 +5766,9 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
5767
5766
|
], 36),
|
|
5768
5767
|
T("li", {
|
|
5769
5768
|
class: ee(["searchtab", { "search-active": r.value }]),
|
|
5770
|
-
style:
|
|
5769
|
+
style: zr({ display: e.value ? "block" : "none" })
|
|
5771
5770
|
}, [
|
|
5772
|
-
T("a",
|
|
5771
|
+
T("a", Wa, [
|
|
5773
5772
|
sr((P(), F("svg", {
|
|
5774
5773
|
class: "icon search-icon",
|
|
5775
5774
|
role: "button",
|
|
@@ -5788,7 +5787,7 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
5788
5787
|
}, null, -1),
|
|
5789
5788
|
T("path", { d: "M21 21l-4.35-4.35" }, null, -1)
|
|
5790
5789
|
])], 544)), [
|
|
5791
|
-
[
|
|
5790
|
+
[Br, !r.value]
|
|
5792
5791
|
]),
|
|
5793
5792
|
sr(T("input", {
|
|
5794
5793
|
ref: "searchinput",
|
|
@@ -5804,14 +5803,14 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
5804
5803
|
be(a, ["escape"])
|
|
5805
5804
|
]
|
|
5806
5805
|
}, null, 544), [
|
|
5807
|
-
[
|
|
5806
|
+
[Br, r.value],
|
|
5808
5807
|
[Eo, n.value]
|
|
5809
5808
|
])
|
|
5810
5809
|
])
|
|
5811
5810
|
], 6),
|
|
5812
5811
|
(P(!0), F(ne, null, xe(t.breadcrumbs, (v) => (P(), F("li", {
|
|
5813
5812
|
key: v.title,
|
|
5814
|
-
style:
|
|
5813
|
+
style: zr({ display: e.value ? "block" : "none" })
|
|
5815
5814
|
}, [
|
|
5816
5815
|
re(p, {
|
|
5817
5816
|
tabindex: "0",
|
|
@@ -5827,13 +5826,13 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
5827
5826
|
]);
|
|
5828
5827
|
};
|
|
5829
5828
|
}
|
|
5830
|
-
}), Oi = /* @__PURE__ */ Do(
|
|
5829
|
+
}), Oi = /* @__PURE__ */ Do(Ka, [["__scopeId", "data-v-0072260b"]]), Ha = {
|
|
5831
5830
|
key: 1,
|
|
5832
5831
|
class: "loading"
|
|
5833
|
-
},
|
|
5832
|
+
}, Ja = {
|
|
5834
5833
|
key: 2,
|
|
5835
5834
|
class: "loading"
|
|
5836
|
-
},
|
|
5835
|
+
}, Ga = /* @__PURE__ */ Ue({
|
|
5837
5836
|
__name: "Desktop",
|
|
5838
5837
|
props: {
|
|
5839
5838
|
availableDoctypes: {},
|
|
@@ -5843,7 +5842,7 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
5843
5842
|
},
|
|
5844
5843
|
emits: ["action", "navigate", "record:open", "load-records", "load-record"],
|
|
5845
5844
|
setup(t, { emit: e }) {
|
|
5846
|
-
const r = t, n = e, { availableDoctypes: o = [] } = r, { stonecrop: i } =
|
|
5845
|
+
const r = t, n = e, { availableDoctypes: o = [] } = r, { stonecrop: i } = As(), s = C(!1), a = C(!1), u = x({
|
|
5847
5846
|
get() {
|
|
5848
5847
|
if (!i.value || !f.value || !p.value)
|
|
5849
5848
|
return {};
|
|
@@ -6214,7 +6213,7 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
6214
6213
|
} catch {
|
|
6215
6214
|
return;
|
|
6216
6215
|
}
|
|
6217
|
-
}),
|
|
6216
|
+
}), vr(() => {
|
|
6218
6217
|
const d = (_) => {
|
|
6219
6218
|
(_.ctrlKey || _.metaKey) && _.key === "k" && (_.preventDefault(), a.value = !0), _.key === "Escape" && a.value && (a.value = !1);
|
|
6220
6219
|
};
|
|
@@ -6229,14 +6228,14 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
6229
6228
|
elements: j.value,
|
|
6230
6229
|
onActionClick: Q
|
|
6231
6230
|
}, null, 8, ["elements"]),
|
|
6232
|
-
q.value.length > 0 ? (P(), ar(or(
|
|
6231
|
+
q.value.length > 0 ? (P(), ar(or(Ua), {
|
|
6233
6232
|
key: 0,
|
|
6234
6233
|
data: u.value,
|
|
6235
6234
|
"onUpdate:data": _[0] || (_[0] = (g) => u.value = g),
|
|
6236
6235
|
schema: q.value
|
|
6237
|
-
}, null, 8, ["data", "schema"])) : or(i) ? (P(), F("div",
|
|
6236
|
+
}, null, 8, ["data", "schema"])) : or(i) ? (P(), F("div", Ja, [
|
|
6238
6237
|
T("p", null, "Loading " + Rt(y.value) + " data...", 1)
|
|
6239
|
-
])) : (P(), F("div",
|
|
6238
|
+
])) : (P(), F("div", Ha, [..._[2] || (_[2] = [
|
|
6240
6239
|
T("p", null, "Initializing Stonecrop...", -1)
|
|
6241
6240
|
])])),
|
|
6242
6241
|
re(Oi, { breadcrumbs: tt.value }, null, 8, ["breadcrumbs"]),
|
|
@@ -6257,16 +6256,16 @@ const Ta = { class: "aform" }, Pa = {
|
|
|
6257
6256
|
}, 8, ["is-open"])
|
|
6258
6257
|
]));
|
|
6259
6258
|
}
|
|
6260
|
-
}),
|
|
6259
|
+
}), Ya = {
|
|
6261
6260
|
install: (t) => {
|
|
6262
|
-
t.component("ActionSet", Ro), t.component("CommandPalette", zo), t.component("Desktop",
|
|
6261
|
+
t.component("ActionSet", Ro), t.component("CommandPalette", zo), t.component("Desktop", Ga), t.component("SheetNav", Oi);
|
|
6263
6262
|
}
|
|
6264
6263
|
};
|
|
6265
6264
|
export {
|
|
6266
6265
|
Ro as ActionSet,
|
|
6267
6266
|
zo as CommandPalette,
|
|
6268
|
-
|
|
6267
|
+
Ga as Desktop,
|
|
6269
6268
|
Oi as SheetNav,
|
|
6270
|
-
|
|
6269
|
+
Ya as StonecropDesktop
|
|
6271
6270
|
};
|
|
6272
6271
|
//# sourceMappingURL=desktop.js.map
|