@e4779/pi-fabric 0.116.0-fork.26 → 0.117.2-fork.29
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/THIRD_PARTY_NOTICES.md +2 -2
- package/dist/agents.js +3 -3
- package/dist/chunks/{chunk-HZGQ7XYM.js → chunk-3FJUP3GV.js} +2 -2
- package/dist/chunks/{chunk-U2UBUKNQ.js → chunk-3UGN25XS.js} +2 -2
- package/dist/chunks/{chunk-HITKWKYD.js → chunk-4EW7GVUR.js} +192 -326
- package/dist/chunks/chunk-4EW7GVUR.js.map +7 -0
- package/dist/chunks/{chunk-VR2LV4CA.js → chunk-53N2I4QA.js} +2 -2
- package/dist/chunks/{chunk-IQXNJNDI.js → chunk-5UBRGTVN.js} +8 -8
- package/dist/chunks/{chunk-4GNFBZPR.js → chunk-ASSLHWZS.js} +2 -2
- package/dist/chunks/{chunk-DLXPTBPL.js → chunk-AV36PBKH.js} +9 -1
- package/dist/chunks/chunk-AV36PBKH.js.map +7 -0
- package/dist/chunks/chunk-BN7F52EG.js +525 -0
- package/dist/chunks/chunk-BN7F52EG.js.map +7 -0
- package/dist/chunks/{chunk-QGP7AY2R.js → chunk-C7Z6F3SO.js} +2 -2
- package/dist/chunks/{chunk-56RFFBBO.js → chunk-CRRUW26I.js} +12 -12
- package/dist/chunks/{chunk-I2TK65VR.js → chunk-D5NYNIST.js} +5 -5
- package/dist/chunks/{chunk-KBYSGB7E.js → chunk-EFETPXU2.js} +69 -229
- package/dist/chunks/chunk-EFETPXU2.js.map +7 -0
- package/dist/chunks/{chunk-QQ7D6UAM.js → chunk-EHQQ4KCX.js} +2 -2
- package/dist/chunks/{chunk-7EYJE4TW.js → chunk-EKODKR6Y.js} +55 -6
- package/dist/chunks/chunk-EKODKR6Y.js.map +7 -0
- package/dist/chunks/{chunk-ODYU3IJU.js → chunk-FE6NOAO7.js} +5 -5
- package/dist/chunks/{chunk-ODYU3IJU.js.map → chunk-FE6NOAO7.js.map} +2 -2
- package/dist/chunks/{chunk-H3SGA7G7.js → chunk-FIDUHKMM.js} +5 -5
- package/dist/chunks/{chunk-4GGBND7V.js → chunk-FSYAGCGA.js} +2 -2
- package/dist/chunks/{chunk-ZPI4QTOX.js → chunk-FUY6XVRX.js} +2 -2
- package/dist/chunks/{chunk-A5XF3ZPJ.js → chunk-G4TLWHRS.js} +2 -2
- package/dist/chunks/{chunk-PTZ5DKAB.js → chunk-G54PEZ44.js} +4 -3
- package/dist/chunks/chunk-G54PEZ44.js.map +7 -0
- package/dist/chunks/{chunk-7C5IEIQK.js → chunk-GEQMQVNS.js} +2 -2
- package/dist/chunks/{chunk-DONS3EZH.js → chunk-GIK2WNAK.js} +2 -2
- package/dist/chunks/{chunk-MOJBW5X2.js → chunk-GO32KSEZ.js} +5 -3
- package/dist/chunks/chunk-GO32KSEZ.js.map +7 -0
- package/dist/chunks/{chunk-HQ5YW2OJ.js → chunk-HP5P7NBO.js} +2 -2
- package/dist/chunks/{chunk-R2MMPHR2.js → chunk-INRXG4J5.js} +2 -2
- package/dist/chunks/{chunk-BQWJ5ZR7.js → chunk-K7J2ABAZ.js} +3 -3
- package/dist/chunks/{chunk-OTHMEDN6.js → chunk-KVYNGDGC.js} +6 -6
- package/dist/chunks/{chunk-6EVAHJAR.js → chunk-LEU5CDSL.js} +3 -3
- package/dist/chunks/{chunk-V2IV4LYW.js → chunk-LNASO4VT.js} +3 -3
- package/dist/chunks/{chunk-HCNHKJDA.js → chunk-MLLYR3Y6.js} +2 -2
- package/dist/chunks/{chunk-D3W6CBJZ.js → chunk-MZUC6LLH.js} +4 -4
- package/dist/chunks/{chunk-D3IONBBJ.js → chunk-P7CBPPHY.js} +5 -5
- package/dist/chunks/{chunk-WQ6LC2KK.js → chunk-QT4W5YVB.js} +2 -2
- package/dist/chunks/{chunk-TNPZBMYC.js → chunk-ROTCDDOV.js} +4 -4
- package/dist/chunks/{chunk-PH4PT6R4.js → chunk-TIIIHPHF.js} +2 -2
- package/dist/chunks/{chunk-2YG4ZA2K.js → chunk-TIJ3YQXX.js} +2 -2
- package/dist/chunks/{chunk-QCCPR3U5.js → chunk-UOM37PE4.js} +4 -4
- package/dist/chunks/{chunk-EQYQICUY.js → chunk-UXIBKMUM.js} +3 -3
- package/dist/chunks/{chunk-O7IREHJI.js → chunk-XCEEQ5AB.js} +318 -39
- package/dist/chunks/chunk-XCEEQ5AB.js.map +7 -0
- package/dist/chunks/{chunk-JV4JR6TT.js → chunk-ZEXCKK4K.js} +3 -3
- package/dist/cli/decisions.js +1 -1
- package/dist/cli/mesh.js +2 -2
- package/dist/commands/fabric.d.ts.map +1 -1
- package/dist/compaction/hook.js +6 -6
- package/dist/compaction/owner.js +7 -7
- package/dist/components/configuration.js +4 -4
- package/dist/core/action-registry.js +6 -6
- package/dist/core/provider-operations.js +53 -154
- package/dist/core/provider-operations.js.map +2 -2
- package/dist/durable.js +2 -2
- package/dist/durable.js.map +1 -1
- package/dist/entropy/index.js +8 -8
- package/dist/extension-bootstrap.js +16 -16
- package/dist/fabric-runtime-state.js +42 -42
- package/dist/index.js +20 -20
- package/dist/jev/client.js +3 -3
- package/dist/jev/decision-types.d.ts +16 -0
- package/dist/jev/decision-types.d.ts.map +1 -1
- package/dist/jev/guest-types.d.ts +1 -1
- package/dist/jev/guest-types.d.ts.map +1 -1
- package/dist/jev/observation.js +7 -7
- package/dist/jev/routes.d.ts +1 -1
- package/dist/jev/routes.d.ts.map +1 -1
- package/dist/jev.js +12 -12
- package/dist/memory/digest.js +2 -2
- package/dist/memory/discovery.js +6 -6
- package/dist/memory/file-worker.js +9 -9
- package/dist/memory/normalize.js +5 -5
- package/dist/memory/search.js +7 -7
- package/dist/memory/worker-provider.js +10 -10
- package/dist/memory.js +10 -10
- package/dist/providers/jev-provider.js +12 -12
- package/dist/providers/memory-provider.js +9 -9
- package/dist/residency/host.js +12 -12
- package/dist/residency/pi-entry.js +12 -12
- package/dist/runtime/core-override-guest-types.js +2 -2
- package/dist/runtime/guest-types.d.ts +1 -1
- package/dist/runtime/guest-types.d.ts.map +1 -1
- package/dist/runtime/guest-types.js +1 -1
- package/dist/runtime/monty-runtime.js +3 -3
- package/dist/runtime/typescript-kernel.js +2 -2
- package/dist/type-error-guidance.js +1 -1
- package/dist/ui/controller.d.ts +2 -0
- package/dist/ui/controller.d.ts.map +1 -1
- package/dist/ui/conversation.js +1 -1
- package/dist/ui/dashboard-detail.d.ts.map +1 -1
- package/dist/ui/dashboard.js +6 -5
- package/dist/ui/dashboard.js.map +2 -2
- package/dist/ui/settings.js +3 -3
- package/dist/ui/transcript-parser.d.ts.map +1 -1
- package/dist/ui/transcript-reader.d.ts +1 -0
- package/dist/ui/transcript-reader.d.ts.map +1 -1
- package/dist/ui/transcript-sanitization.d.ts +2 -0
- package/dist/ui/transcript-sanitization.d.ts.map +1 -1
- package/dist/ui/transcript.d.ts +1 -1
- package/dist/ui/transcript.d.ts.map +1 -1
- package/dist/ui/widget-activity.d.ts +21 -0
- package/dist/ui/widget-activity.d.ts.map +1 -0
- package/dist/ui/widget.d.ts +40 -3
- package/dist/ui/widget.d.ts.map +1 -1
- package/dist/verified/generated/authority-kernel.d.ts +1 -1
- package/dist/verified/generated/authority-kernel.js +61 -157
- package/dist/verified/generated/kernel.d.ts +8 -8
- package/dist/verified/generated/kernel.js +205 -449
- package/dist/verified/generated/lifecycle-kernel.d.ts +1 -1
- package/dist/verified/generated/lifecycle-kernel.js +95 -133
- package/dist/verified/generated/manifest.json +18 -18
- package/dist/verified/generated/provider-kernel.d.ts +1 -1
- package/dist/verified/generated/provider-kernel.js +48 -149
- package/dist/verified/generated/storage-kernel.d.ts +2 -2
- package/dist/verified/generated/storage-kernel.js +59 -219
- package/dist/verified/nat.d.ts.map +1 -1
- package/dist/verified/policy.d.ts.map +1 -1
- package/docs/configuration.md +1 -1
- package/docs/durable-pi.md +2 -2
- package/docs/interface.md +4 -0
- package/docs/jev.md +2 -2
- package/docs/provider-capabilities.md +1 -1
- package/docs/verified-kernels.md +4 -3
- package/package.json +9 -9
- package/proofs/abi.json +11 -11
- package/proofs/authority-types.d.ts +1 -1
- package/proofs/lifecycle-types.d.ts +1 -1
- package/proofs/provider-types.d.ts +1 -1
- package/proofs/storage-types.d.ts +2 -2
- package/proofs/types.d.ts +4 -4
- package/scripts/test-verified-kernels.mjs +1 -1
- package/scripts/verified-kernels.mjs +1 -1
- package/dist/chunks/chunk-7EYJE4TW.js.map +0 -7
- package/dist/chunks/chunk-DLXPTBPL.js.map +0 -7
- package/dist/chunks/chunk-HITKWKYD.js.map +0 -7
- package/dist/chunks/chunk-KBYSGB7E.js.map +0 -7
- package/dist/chunks/chunk-MOJBW5X2.js.map +0 -7
- package/dist/chunks/chunk-O7IREHJI.js.map +0 -7
- package/dist/chunks/chunk-PTZ5DKAB.js.map +0 -7
- package/dist/chunks/chunk-WTLH5RY4.js +0 -760
- package/dist/chunks/chunk-WTLH5RY4.js.map +0 -7
- /package/dist/chunks/{chunk-HZGQ7XYM.js.map → chunk-3FJUP3GV.js.map} +0 -0
- /package/dist/chunks/{chunk-U2UBUKNQ.js.map → chunk-3UGN25XS.js.map} +0 -0
- /package/dist/chunks/{chunk-VR2LV4CA.js.map → chunk-53N2I4QA.js.map} +0 -0
- /package/dist/chunks/{chunk-IQXNJNDI.js.map → chunk-5UBRGTVN.js.map} +0 -0
- /package/dist/chunks/{chunk-4GNFBZPR.js.map → chunk-ASSLHWZS.js.map} +0 -0
- /package/dist/chunks/{chunk-QGP7AY2R.js.map → chunk-C7Z6F3SO.js.map} +0 -0
- /package/dist/chunks/{chunk-56RFFBBO.js.map → chunk-CRRUW26I.js.map} +0 -0
- /package/dist/chunks/{chunk-I2TK65VR.js.map → chunk-D5NYNIST.js.map} +0 -0
- /package/dist/chunks/{chunk-QQ7D6UAM.js.map → chunk-EHQQ4KCX.js.map} +0 -0
- /package/dist/chunks/{chunk-H3SGA7G7.js.map → chunk-FIDUHKMM.js.map} +0 -0
- /package/dist/chunks/{chunk-4GGBND7V.js.map → chunk-FSYAGCGA.js.map} +0 -0
- /package/dist/chunks/{chunk-ZPI4QTOX.js.map → chunk-FUY6XVRX.js.map} +0 -0
- /package/dist/chunks/{chunk-A5XF3ZPJ.js.map → chunk-G4TLWHRS.js.map} +0 -0
- /package/dist/chunks/{chunk-7C5IEIQK.js.map → chunk-GEQMQVNS.js.map} +0 -0
- /package/dist/chunks/{chunk-DONS3EZH.js.map → chunk-GIK2WNAK.js.map} +0 -0
- /package/dist/chunks/{chunk-HQ5YW2OJ.js.map → chunk-HP5P7NBO.js.map} +0 -0
- /package/dist/chunks/{chunk-R2MMPHR2.js.map → chunk-INRXG4J5.js.map} +0 -0
- /package/dist/chunks/{chunk-BQWJ5ZR7.js.map → chunk-K7J2ABAZ.js.map} +0 -0
- /package/dist/chunks/{chunk-OTHMEDN6.js.map → chunk-KVYNGDGC.js.map} +0 -0
- /package/dist/chunks/{chunk-6EVAHJAR.js.map → chunk-LEU5CDSL.js.map} +0 -0
- /package/dist/chunks/{chunk-V2IV4LYW.js.map → chunk-LNASO4VT.js.map} +0 -0
- /package/dist/chunks/{chunk-HCNHKJDA.js.map → chunk-MLLYR3Y6.js.map} +0 -0
- /package/dist/chunks/{chunk-D3W6CBJZ.js.map → chunk-MZUC6LLH.js.map} +0 -0
- /package/dist/chunks/{chunk-D3IONBBJ.js.map → chunk-P7CBPPHY.js.map} +0 -0
- /package/dist/chunks/{chunk-WQ6LC2KK.js.map → chunk-QT4W5YVB.js.map} +0 -0
- /package/dist/chunks/{chunk-TNPZBMYC.js.map → chunk-ROTCDDOV.js.map} +0 -0
- /package/dist/chunks/{chunk-PH4PT6R4.js.map → chunk-TIIIHPHF.js.map} +0 -0
- /package/dist/chunks/{chunk-2YG4ZA2K.js.map → chunk-TIJ3YQXX.js.map} +0 -0
- /package/dist/chunks/{chunk-QCCPR3U5.js.map → chunk-UOM37PE4.js.map} +0 -0
- /package/dist/chunks/{chunk-EQYQICUY.js.map → chunk-UXIBKMUM.js.map} +0 -0
- /package/dist/chunks/{chunk-JV4JR6TT.js.map → chunk-ZEXCKK4K.js.map} +0 -0
|
@@ -1,633 +1,389 @@
|
|
|
1
|
-
// Generated by Bend 2.0.
|
|
1
|
+
// Generated by Bend 2.0.37; do not edit. See LAWS.bend and PROOF.bend.
|
|
2
2
|
// Includes adapted Bend runtime/Base code, Copyright 2026 HigherOrderCO, Apache-2.0.
|
|
3
3
|
// ABI exports selected and tags adapted by Pi Fabric; see THIRD_PARTY_NOTICES.md.
|
|
4
|
-
function
|
|
5
|
-
return { $: e <
|
|
4
|
+
function x(e, n) {
|
|
5
|
+
return { $: e < n ? "LT" : e === n ? "EQ" : "GT" };
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function g(e) {
|
|
8
8
|
if (e > 281474976710655)
|
|
9
9
|
throw "bend: a Nat past the largest immediate 2^48-1";
|
|
10
10
|
return e;
|
|
11
11
|
}
|
|
12
|
-
function c(e) {
|
|
13
|
-
return (typeof e == "bigint" || Number.isInteger(e)) && e >= 0 && e <= 2 ** 53 ? Number(e) : { [Symbol.toPrimitive]() {
|
|
14
|
-
throw "bend: a Nat past the largest immediate 2^48-1";
|
|
15
|
-
} };
|
|
16
|
-
}
|
|
17
12
|
function h(e) {
|
|
13
|
+
return Number.isInteger(e) && e >= 0 && e <= 2 ** 53 ? e : g(1 / 0);
|
|
14
|
+
}
|
|
15
|
+
function z(e) {
|
|
18
16
|
for (; e !== null && typeof e == "object" && e.$ === "$JMP"; )
|
|
19
17
|
e = e.f(e.x);
|
|
20
18
|
return e;
|
|
21
19
|
}
|
|
22
|
-
function
|
|
23
|
-
return (...
|
|
20
|
+
function c(e, n) {
|
|
21
|
+
return (...t) => t.length < n ? c((...r) => e(...t, ...r), n - t.length) : z(e(...t));
|
|
24
22
|
}
|
|
25
|
-
function
|
|
23
|
+
function b(e, n, t) {
|
|
26
24
|
for (; ; ) {
|
|
27
|
-
let r = e,
|
|
25
|
+
let r = e, $ = n, u = t;
|
|
28
26
|
if (r.$ === "Nil")
|
|
29
|
-
return
|
|
27
|
+
return $.$ === "Nil" ? u : !1;
|
|
30
28
|
{
|
|
31
|
-
let l = r.head,
|
|
32
|
-
if (
|
|
29
|
+
let l = r.head, a = r.tail;
|
|
30
|
+
if ($.$ === "Nil")
|
|
33
31
|
return !1;
|
|
34
32
|
{
|
|
35
|
-
let
|
|
36
|
-
e =
|
|
33
|
+
let d = $.head, N = $.tail;
|
|
34
|
+
e = a, n = N, t = f(u, m(l, d));
|
|
37
35
|
continue;
|
|
38
36
|
}
|
|
39
37
|
}
|
|
40
38
|
}
|
|
41
39
|
}
|
|
42
|
-
function
|
|
40
|
+
function y(e) {
|
|
43
41
|
return e.$ !== "Nil";
|
|
44
42
|
}
|
|
45
|
-
function
|
|
43
|
+
function E(e, n) {
|
|
46
44
|
for (; ; ) {
|
|
47
|
-
let
|
|
48
|
-
if (
|
|
45
|
+
let t = e, r = n;
|
|
46
|
+
if (t.$ === "Nil")
|
|
49
47
|
return !0;
|
|
50
48
|
{
|
|
51
|
-
let
|
|
49
|
+
let $ = t.tail;
|
|
52
50
|
if (r === 0)
|
|
53
51
|
return !1;
|
|
54
52
|
{
|
|
55
|
-
let
|
|
56
|
-
e =
|
|
53
|
+
let u = r - 1;
|
|
54
|
+
e = $, n = u;
|
|
57
55
|
continue;
|
|
58
56
|
}
|
|
59
57
|
}
|
|
60
58
|
}
|
|
61
59
|
}
|
|
62
|
-
function
|
|
63
|
-
return
|
|
60
|
+
function T(e) {
|
|
61
|
+
return f(y(e), C(b(e, { $: "Con", head: 42, tail: { $: "Nil" } }, !0)));
|
|
64
62
|
}
|
|
65
|
-
function
|
|
66
|
-
return
|
|
63
|
+
function W(e) {
|
|
64
|
+
return f(y(e), f(E(e, 256), C(b(e, { $: "Con", head: 42, tail: { $: "Nil" } }, !0))));
|
|
67
65
|
}
|
|
68
|
-
function
|
|
66
|
+
function w(e, n, t) {
|
|
69
67
|
for (; ; ) {
|
|
70
|
-
let r = e,
|
|
68
|
+
let r = e, $ = n, u = t;
|
|
71
69
|
if (r.$ === "Nil")
|
|
72
|
-
return
|
|
70
|
+
return u;
|
|
73
71
|
{
|
|
74
|
-
let l = r.head,
|
|
75
|
-
e =
|
|
72
|
+
let l = r.head, a = r.tail, d = b($, l, !0);
|
|
73
|
+
e = a, n = $, t = u || d;
|
|
76
74
|
continue;
|
|
77
75
|
}
|
|
78
76
|
}
|
|
79
77
|
}
|
|
80
|
-
function
|
|
78
|
+
function k(e, n, t) {
|
|
81
79
|
for (; ; ) {
|
|
82
|
-
let r = e,
|
|
80
|
+
let r = e, $ = n, u = t;
|
|
83
81
|
if (r.$ === "Nil")
|
|
84
|
-
return
|
|
82
|
+
return u;
|
|
85
83
|
{
|
|
86
84
|
let l = r.head;
|
|
87
|
-
e = r.tail,
|
|
85
|
+
e = r.tail, n = $, t = f(u, w($, l, !1));
|
|
88
86
|
continue;
|
|
89
87
|
}
|
|
90
88
|
}
|
|
91
89
|
}
|
|
92
|
-
function
|
|
90
|
+
function q(e, n) {
|
|
93
91
|
for (; ; ) {
|
|
94
|
-
let
|
|
95
|
-
if (
|
|
92
|
+
let t = e, r = n;
|
|
93
|
+
if (t.$ === "Nil")
|
|
96
94
|
return !0;
|
|
97
95
|
{
|
|
98
|
-
let
|
|
96
|
+
let $ = t.tail;
|
|
99
97
|
if (r === 0)
|
|
100
98
|
return !1;
|
|
101
99
|
{
|
|
102
|
-
let
|
|
103
|
-
e =
|
|
100
|
+
let u = r - 1;
|
|
101
|
+
e = $, n = u;
|
|
104
102
|
continue;
|
|
105
103
|
}
|
|
106
104
|
}
|
|
107
105
|
}
|
|
108
106
|
}
|
|
109
|
-
function
|
|
107
|
+
function G(e, n) {
|
|
110
108
|
for (; ; ) {
|
|
111
|
-
let
|
|
112
|
-
if (
|
|
109
|
+
let t = e, r = n;
|
|
110
|
+
if (t.$ === "Nil")
|
|
113
111
|
return r;
|
|
114
112
|
{
|
|
115
|
-
let
|
|
116
|
-
e =
|
|
113
|
+
let $ = t.head;
|
|
114
|
+
e = t.tail, n = f(r, W($));
|
|
117
115
|
continue;
|
|
118
116
|
}
|
|
119
117
|
}
|
|
120
118
|
}
|
|
121
|
-
function
|
|
119
|
+
function V(e, n) {
|
|
122
120
|
for (; ; ) {
|
|
123
|
-
let
|
|
124
|
-
if (
|
|
121
|
+
let t = e, r = n;
|
|
122
|
+
if (t.$ === "Nil")
|
|
125
123
|
return r;
|
|
126
124
|
{
|
|
127
|
-
let
|
|
128
|
-
e =
|
|
125
|
+
let $ = t.head;
|
|
126
|
+
e = t.tail, n = f(r, T($));
|
|
129
127
|
continue;
|
|
130
128
|
}
|
|
131
129
|
}
|
|
132
130
|
}
|
|
133
|
-
function
|
|
131
|
+
function S(e) {
|
|
134
132
|
return e.$ !== "Nil";
|
|
135
133
|
}
|
|
136
|
-
function
|
|
137
|
-
return e ? { $: "resources.Exact", names:
|
|
134
|
+
function A(e, n) {
|
|
135
|
+
return e ? { $: "resources.Exact", names: n } : { $: "resources.Unknown" };
|
|
138
136
|
}
|
|
139
|
-
function
|
|
140
|
-
return
|
|
137
|
+
function j(e) {
|
|
138
|
+
return A(f(S(e), V(e, !0)), e);
|
|
141
139
|
}
|
|
142
|
-
function
|
|
143
|
-
return
|
|
140
|
+
function B(e) {
|
|
141
|
+
return f(S(e), f(q(e, 64), G(e, !0)));
|
|
144
142
|
}
|
|
145
|
-
function
|
|
146
|
-
return e ?
|
|
143
|
+
function F(e, n, t) {
|
|
144
|
+
return e ? f(k(n, t, !0), k(t, n, !0)) : !1;
|
|
147
145
|
}
|
|
148
|
-
function
|
|
149
|
-
return
|
|
146
|
+
function M(e, n) {
|
|
147
|
+
return F(B(n), e, n);
|
|
150
148
|
}
|
|
151
|
-
function
|
|
149
|
+
function P(e, n) {
|
|
152
150
|
if (e.$ === "resources.Unknown")
|
|
153
151
|
return { $: "resources.Unknown" };
|
|
154
152
|
{
|
|
155
|
-
let
|
|
156
|
-
return
|
|
153
|
+
let t = e.names;
|
|
154
|
+
return A(M(t, n), n);
|
|
157
155
|
}
|
|
158
156
|
}
|
|
159
|
-
function
|
|
157
|
+
function R(e, n, t) {
|
|
160
158
|
for (; ; ) {
|
|
161
|
-
let r = e,
|
|
159
|
+
let r = e, $ = n, u = t;
|
|
162
160
|
if (r.$ === "Nil")
|
|
163
|
-
return
|
|
161
|
+
return u;
|
|
164
162
|
{
|
|
165
|
-
let l = r.head,
|
|
166
|
-
e =
|
|
163
|
+
let l = r.head, a = r.tail, d = w($, l, !1);
|
|
164
|
+
e = a, n = $, t = u || d;
|
|
167
165
|
continue;
|
|
168
166
|
}
|
|
169
167
|
}
|
|
170
168
|
}
|
|
171
|
-
function
|
|
169
|
+
function I(e, n) {
|
|
172
170
|
if (e.$ === "resources.Unknown")
|
|
173
171
|
return !0;
|
|
174
172
|
{
|
|
175
|
-
let
|
|
176
|
-
if (
|
|
173
|
+
let t = e.names;
|
|
174
|
+
if (n.$ === "resources.Unknown")
|
|
177
175
|
return !0;
|
|
178
176
|
{
|
|
179
|
-
let r =
|
|
180
|
-
return
|
|
177
|
+
let r = n.names;
|
|
178
|
+
return R(t, r, !1);
|
|
181
179
|
}
|
|
182
180
|
}
|
|
183
181
|
}
|
|
184
|
-
function
|
|
185
|
-
return
|
|
182
|
+
function v(e, n, t, r) {
|
|
183
|
+
return f(t || r, I(e, n));
|
|
186
184
|
}
|
|
187
|
-
function
|
|
185
|
+
function J(e, n) {
|
|
188
186
|
if (e.$ === "resources.Quiet")
|
|
189
187
|
return !1;
|
|
190
188
|
{
|
|
191
|
-
let
|
|
192
|
-
if (
|
|
189
|
+
let t = e.ordered, r = e.scope;
|
|
190
|
+
if (n.$ === "resources.Quiet")
|
|
193
191
|
return !1;
|
|
194
192
|
{
|
|
195
|
-
let
|
|
196
|
-
return
|
|
193
|
+
let $ = n.ordered, u = n.scope;
|
|
194
|
+
return v(r, u, t, $);
|
|
197
195
|
}
|
|
198
196
|
}
|
|
199
197
|
}
|
|
200
|
-
function
|
|
198
|
+
function L(e, n, t) {
|
|
201
199
|
for (; ; ) {
|
|
202
|
-
let r = e,
|
|
200
|
+
let r = e, $ = n, u = t;
|
|
203
201
|
if (r.$ === "Nil")
|
|
204
|
-
return
|
|
202
|
+
return u;
|
|
205
203
|
{
|
|
206
|
-
let l = r.head,
|
|
207
|
-
e =
|
|
204
|
+
let l = r.head, a = r.tail, d = J($, l);
|
|
205
|
+
e = a, n = $, t = u || d;
|
|
208
206
|
continue;
|
|
209
207
|
}
|
|
210
208
|
}
|
|
211
209
|
}
|
|
212
|
-
function
|
|
210
|
+
function O(e, n, t) {
|
|
213
211
|
for (; ; ) {
|
|
214
|
-
let r = e,
|
|
212
|
+
let r = e, $ = n, u = t;
|
|
215
213
|
if (r.$ === "Nil")
|
|
216
|
-
return
|
|
214
|
+
return u;
|
|
217
215
|
{
|
|
218
|
-
let l = r.head,
|
|
219
|
-
e =
|
|
216
|
+
let l = r.head, a = r.tail, d = L($, l, !1);
|
|
217
|
+
e = a, n = $, t = u || d;
|
|
220
218
|
continue;
|
|
221
219
|
}
|
|
222
220
|
}
|
|
223
221
|
}
|
|
224
|
-
function
|
|
222
|
+
function _(e) {
|
|
225
223
|
for (; ; ) {
|
|
226
|
-
let
|
|
227
|
-
if (
|
|
224
|
+
let n = e;
|
|
225
|
+
if (n.$ === "Nil")
|
|
228
226
|
return !0;
|
|
229
|
-
if (
|
|
230
|
-
e =
|
|
227
|
+
if (n.head) {
|
|
228
|
+
e = n.tail;
|
|
231
229
|
continue;
|
|
232
230
|
} else
|
|
233
231
|
return !1;
|
|
234
232
|
}
|
|
235
233
|
}
|
|
236
|
-
function
|
|
237
|
-
return { $: "Con", head:
|
|
234
|
+
function D(e, n, t) {
|
|
235
|
+
return { $: "Con", head: t, tail: { $: "Con", head: p(e, n), tail: { $: "Nil" } } };
|
|
238
236
|
}
|
|
239
|
-
function
|
|
240
|
-
return
|
|
237
|
+
function H(e, n, t) {
|
|
238
|
+
return _(D(e, n, t));
|
|
241
239
|
}
|
|
242
|
-
function
|
|
243
|
-
let l =
|
|
244
|
-
return l ||
|
|
240
|
+
function K(e, n, t, r, $, u) {
|
|
241
|
+
let l = f(e, n || u), a = f(r, $ || t);
|
|
242
|
+
return l || a;
|
|
245
243
|
}
|
|
246
|
-
function
|
|
247
|
-
return { $: "Con", head:
|
|
244
|
+
function X(e, n, t, r) {
|
|
245
|
+
return { $: "Con", head: C(e), tail: { $: "Con", head: n, tail: { $: "Con", head: t, tail: { $: "Con", head: C(r), tail: { $: "Nil" } } } } };
|
|
248
246
|
}
|
|
249
|
-
function
|
|
250
|
-
return
|
|
247
|
+
function Y(e, n, t, r) {
|
|
248
|
+
return _(X(e, n, t, r));
|
|
251
249
|
}
|
|
252
|
-
function
|
|
253
|
-
return { $: "Con", head: e, tail: { $: "Con", head:
|
|
250
|
+
function Z(e, n, t, r) {
|
|
251
|
+
return { $: "Con", head: e, tail: { $: "Con", head: C(n), tail: { $: "Con", head: C(t), tail: { $: "Con", head: C(r), tail: { $: "Nil" } } } } };
|
|
254
252
|
}
|
|
255
|
-
function
|
|
256
|
-
return
|
|
253
|
+
function ee(e, n, t, r) {
|
|
254
|
+
return _(Z(e, n, t, r));
|
|
257
255
|
}
|
|
258
|
-
function
|
|
259
|
-
return e ? 2 :
|
|
256
|
+
function ne(e, n) {
|
|
257
|
+
return e ? 2 : n ? 1 : 0;
|
|
260
258
|
}
|
|
261
|
-
function
|
|
262
|
-
let
|
|
263
|
-
return
|
|
259
|
+
function te(e, n) {
|
|
260
|
+
let t = n.first, r = n.last, $ = n.paired, u = C($), l = p(e, t), a = u || l, d = r < e;
|
|
261
|
+
return a || d;
|
|
264
262
|
}
|
|
265
|
-
function
|
|
263
|
+
function Q(e, n) {
|
|
266
264
|
if (e.$ === "Nil")
|
|
267
265
|
return { $: "Nil" };
|
|
268
266
|
{
|
|
269
|
-
let
|
|
270
|
-
return { $: "Con", head:
|
|
267
|
+
let t = e.head, r = e.tail;
|
|
268
|
+
return { $: "Con", head: te(n, t), tail: Q(r, n) };
|
|
271
269
|
}
|
|
272
270
|
}
|
|
273
|
-
function
|
|
274
|
-
return
|
|
271
|
+
function U(e, n) {
|
|
272
|
+
return _(Q(e, n));
|
|
275
273
|
}
|
|
276
|
-
function
|
|
277
|
-
let
|
|
278
|
-
return { $: "Con", head:
|
|
274
|
+
function re(e) {
|
|
275
|
+
let n = e.eligible, t = e.afterPrevious, r = e.retained, $ = e.budget, u = e.boundary, l = e.spans;
|
|
276
|
+
return { $: "Con", head: n, tail: { $: "Con", head: t, tail: { $: "Con", head: p(r, $), tail: { $: "Con", head: U(l, u), tail: { $: "Nil" } } } } };
|
|
279
277
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
278
|
+
function ie(e) {
|
|
279
|
+
return _(re(e));
|
|
282
280
|
}
|
|
283
|
-
function
|
|
284
|
-
return e ||
|
|
281
|
+
function oe(e, n) {
|
|
282
|
+
return e || n;
|
|
285
283
|
}
|
|
286
|
-
function
|
|
287
|
-
return
|
|
284
|
+
function $e(e, n) {
|
|
285
|
+
return _({ $: "Con", head: e, tail: { $: "Con", head: n, tail: { $: "Nil" } } });
|
|
288
286
|
}
|
|
289
|
-
function
|
|
290
|
-
let
|
|
291
|
-
return { $: "Con", head:
|
|
287
|
+
function ue(e) {
|
|
288
|
+
let n = e.start, t = e.end, r = e.total, $ = e.expectedStart, u = e.expectedTotal, l = e.length, a = e.complete, d = m(t, r), N = n < t;
|
|
289
|
+
return { $: "Con", head: m(n, $), tail: { $: "Con", head: m(r, u), tail: { $: "Con", head: p(n, t), tail: { $: "Con", head: p(t, r), tail: { $: "Con", head: m(l, t < n ? 0 : t - n), tail: { $: "Con", head: C(a !== d), tail: { $: "Con", head: a || N, tail: { $: "Nil" } } } } } } } };
|
|
292
290
|
}
|
|
293
|
-
function
|
|
294
|
-
return
|
|
291
|
+
function le(e) {
|
|
292
|
+
return _(ue(e));
|
|
295
293
|
}
|
|
296
|
-
function
|
|
297
|
-
return
|
|
294
|
+
function ae(e, n) {
|
|
295
|
+
return _({ $: "Con", head: e, tail: { $: "Con", head: C(n), tail: { $: "Nil" } } });
|
|
298
296
|
}
|
|
299
|
-
function
|
|
300
|
-
return { $: "Con", head:
|
|
297
|
+
function ce(e, n, t, r) {
|
|
298
|
+
return { $: "Con", head: C(e), tail: { $: "Con", head: n, tail: { $: "Con", head: t, tail: { $: "Con", head: r, tail: { $: "Nil" } } } } };
|
|
301
299
|
}
|
|
302
|
-
function
|
|
303
|
-
return
|
|
300
|
+
function se(e, n, t, r) {
|
|
301
|
+
return _(ce(e, n, t, r));
|
|
304
302
|
}
|
|
305
|
-
function
|
|
306
|
-
let
|
|
307
|
-
return
|
|
303
|
+
function fe(e, n, t, r, $) {
|
|
304
|
+
let u = f(r, $);
|
|
305
|
+
return _({ $: "Con", head: e, tail: { $: "Con", head: n, tail: { $: "Con", head: t || u, tail: { $: "Nil" } } } });
|
|
308
306
|
}
|
|
309
|
-
function
|
|
310
|
-
return
|
|
307
|
+
function de(e) {
|
|
308
|
+
return _(e);
|
|
311
309
|
}
|
|
312
|
-
function
|
|
310
|
+
function _e(e) {
|
|
313
311
|
return { $: "Tuple", fst: e, snd: !1 };
|
|
314
312
|
}
|
|
315
|
-
function
|
|
316
|
-
return
|
|
313
|
+
function he(e, n, t) {
|
|
314
|
+
return f(e, n || t);
|
|
317
315
|
}
|
|
318
|
-
function
|
|
319
|
-
return
|
|
316
|
+
function Ce(e, n, t, r) {
|
|
317
|
+
return _({ $: "Con", head: p(e, n), tail: { $: "Con", head: p(t, r), tail: { $: "Nil" } } });
|
|
320
318
|
}
|
|
321
|
-
function
|
|
322
|
-
let
|
|
323
|
-
return
|
|
319
|
+
function pe(e, n, t, r) {
|
|
320
|
+
let $ = n;
|
|
321
|
+
return _({ $: "Con", head: m(e, g($ + t)), tail: { $: "Con", head: p($, r), tail: { $: "Nil" } } });
|
|
324
322
|
}
|
|
325
|
-
function
|
|
326
|
-
return
|
|
323
|
+
function me(e) {
|
|
324
|
+
return j(e);
|
|
327
325
|
}
|
|
328
|
-
function
|
|
329
|
-
return
|
|
326
|
+
function Ne(e, n) {
|
|
327
|
+
return P(e, n);
|
|
330
328
|
}
|
|
331
|
-
function
|
|
332
|
-
return
|
|
329
|
+
function be(e, n, t, r) {
|
|
330
|
+
return v(e, n, t, r);
|
|
333
331
|
}
|
|
334
|
-
function
|
|
335
|
-
return
|
|
332
|
+
function xe(e, n) {
|
|
333
|
+
return O(e, n, !1);
|
|
336
334
|
}
|
|
337
|
-
function
|
|
338
|
-
return e ?
|
|
335
|
+
function f(e, n) {
|
|
336
|
+
return e ? n : !1;
|
|
339
337
|
}
|
|
340
|
-
function
|
|
341
|
-
return
|
|
338
|
+
function m(e, n) {
|
|
339
|
+
return ge(x(e, n));
|
|
342
340
|
}
|
|
343
|
-
function
|
|
341
|
+
function C(e) {
|
|
344
342
|
return !e;
|
|
345
343
|
}
|
|
346
|
-
function p(e,
|
|
347
|
-
return
|
|
344
|
+
function p(e, n) {
|
|
345
|
+
return ye(x(e, n));
|
|
348
346
|
}
|
|
349
|
-
function
|
|
347
|
+
function ge(e) {
|
|
350
348
|
return e.$ === "EQ";
|
|
351
349
|
}
|
|
352
|
-
function
|
|
350
|
+
function ye(e) {
|
|
353
351
|
return e.$ !== "GT";
|
|
354
352
|
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
for (let n = t, r = 0; ; )
|
|
358
|
-
switch (e.$) {
|
|
359
|
-
case "Nil":
|
|
360
|
-
return n[r] = e, t[0];
|
|
361
|
-
case "Con":
|
|
362
|
-
n = n[r] = { ...e, head: c(e.head) }, r = "tail", e = e[r];
|
|
363
|
-
continue;
|
|
364
|
-
default:
|
|
365
|
-
throw "bend: List has no tag " + e?.$ + " (its tags: Nil, Con); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
function Te(e) {
|
|
369
|
-
let t = [e];
|
|
370
|
-
for (let n = t, r = 0; ; )
|
|
371
|
-
switch (e.$) {
|
|
372
|
-
case "Nil":
|
|
373
|
-
return n[r] = e, t[0];
|
|
374
|
-
case "Con":
|
|
375
|
-
n = n[r] = { ...e, head: BigInt(e.head) }, r = "tail", e = e[r];
|
|
376
|
-
continue;
|
|
377
|
-
default:
|
|
378
|
-
throw "bend: List has no tag " + e?.$ + " (its tags: Nil, Con); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
function N(e) {
|
|
382
|
-
let t = [e];
|
|
383
|
-
for (let n = t, r = 0; ; )
|
|
384
|
-
switch (e.$) {
|
|
385
|
-
case "Nil":
|
|
386
|
-
return n[r] = e, t[0];
|
|
387
|
-
case "Con":
|
|
388
|
-
n = n[r] = { ...e, head: Ae(e.head) }, r = "tail", e = e[r];
|
|
389
|
-
continue;
|
|
390
|
-
default:
|
|
391
|
-
throw "bend: List has no tag " + e?.$ + " (its tags: Nil, Con); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
function x(e) {
|
|
353
|
+
var o = /* @__PURE__ */ new Map([["Unknown", "resources.Unknown"], ["Exact", "resources.Exact"], ["Quiet", "resources.Quiet"]]), s = /* @__PURE__ */ new Map([["resources.Unknown", "Unknown"], ["resources.Exact", "Exact"], ["resources.Quiet", "Quiet"]]);
|
|
354
|
+
function i(e, n) {
|
|
395
355
|
let t = [e];
|
|
396
|
-
for (let
|
|
397
|
-
|
|
398
|
-
case "Nil":
|
|
399
|
-
return n[r] = e, t[0];
|
|
400
|
-
case "Con":
|
|
401
|
-
n = n[r] = { ...e, head: Te(e.head) }, r = "tail", e = e[r];
|
|
402
|
-
continue;
|
|
403
|
-
default:
|
|
404
|
-
throw "bend: List has no tag " + e?.$ + " (its tags: Nil, Con); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
function C(e) {
|
|
408
|
-
let t = [e];
|
|
409
|
-
for (let n = t, r = 0; ; )
|
|
410
|
-
switch (e.$) {
|
|
411
|
-
case "resources.Unknown":
|
|
412
|
-
return n[r] = e, t[0];
|
|
413
|
-
case "resources.Exact":
|
|
414
|
-
return n = n[r] = { ...e, names: x(e.names) }, t[0];
|
|
415
|
-
default:
|
|
416
|
-
throw "bend: resources.Scope has no tag " + e?.$ + " (its tags: resources.Unknown, resources.Exact); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
function b(e) {
|
|
420
|
-
let t = [e];
|
|
421
|
-
for (let n = t, r = 0; ; )
|
|
422
|
-
switch (e.$) {
|
|
423
|
-
case "resources.Unknown":
|
|
424
|
-
return n[r] = e, t[0];
|
|
425
|
-
case "resources.Exact":
|
|
426
|
-
return n = n[r] = { ...e, names: N(e.names) }, t[0];
|
|
427
|
-
default:
|
|
428
|
-
throw "bend: resources.Scope has no tag " + e?.$ + " (its tags: resources.Unknown, resources.Exact); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
function Le(e) {
|
|
432
|
-
let t = [e];
|
|
433
|
-
for (let n = t, r = 0; ; )
|
|
434
|
-
switch (e.$) {
|
|
435
|
-
case "resources.Quiet":
|
|
436
|
-
return n[r] = e, t[0];
|
|
437
|
-
case "resources.Effect":
|
|
438
|
-
return n = n[r] = { ...e, scope: b(e.scope) }, t[0];
|
|
439
|
-
default:
|
|
440
|
-
throw "bend: resources.Effect has no tag " + e?.$ + " (its tags: resources.Quiet, resources.Effect); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
function ze(e) {
|
|
444
|
-
let t = [e];
|
|
445
|
-
for (let n = t, r = 0; ; )
|
|
446
|
-
switch (e.$) {
|
|
447
|
-
case "resources.Quiet":
|
|
448
|
-
return n[r] = e, t[0];
|
|
449
|
-
case "resources.Effect":
|
|
450
|
-
return n = n[r] = { ...e, scope: C(e.scope) }, t[0];
|
|
451
|
-
default:
|
|
452
|
-
throw "bend: resources.Effect has no tag " + e?.$ + " (its tags: resources.Quiet, resources.Effect); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
function z(e) {
|
|
456
|
-
let t = [e];
|
|
457
|
-
for (let n = t, r = 0; ; )
|
|
458
|
-
switch (e.$) {
|
|
459
|
-
case "Nil":
|
|
460
|
-
return n[r] = e, t[0];
|
|
461
|
-
case "Con":
|
|
462
|
-
n = n[r] = { ...e, head: Le(e.head) }, r = "tail", e = e[r];
|
|
463
|
-
continue;
|
|
464
|
-
default:
|
|
465
|
-
throw "bend: List has no tag " + e?.$ + " (its tags: Nil, Con); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
function W(e) {
|
|
469
|
-
let t = [e];
|
|
470
|
-
for (let n = t, r = 0; ; )
|
|
471
|
-
switch (e.$) {
|
|
472
|
-
case "Nil":
|
|
473
|
-
return n[r] = e, t[0];
|
|
474
|
-
case "Con":
|
|
475
|
-
n = n[r] = { ...e, head: ze(e.head) }, r = "tail", e = e[r];
|
|
476
|
-
continue;
|
|
477
|
-
default:
|
|
478
|
-
throw "bend: List has no tag " + e?.$ + " (its tags: Nil, Con); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
function We(e) {
|
|
482
|
-
let t = [e];
|
|
483
|
-
for (let n = t, r = 0; ; )
|
|
484
|
-
switch (e.$) {
|
|
485
|
-
case "Span":
|
|
486
|
-
return n = n[r] = { ...e, first: c(e.first), last: c(e.last) }, t[0];
|
|
487
|
-
default:
|
|
488
|
-
throw "bend: Span has no tag " + e?.$ + " (its tags: Span); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
function qe(e) {
|
|
492
|
-
let t = [e];
|
|
493
|
-
for (let n = t, r = 0; ; )
|
|
494
|
-
switch (e.$) {
|
|
495
|
-
case "Span":
|
|
496
|
-
return n = n[r] = { ...e, first: BigInt(e.first), last: BigInt(e.last) }, t[0];
|
|
497
|
-
default:
|
|
498
|
-
throw "bend: Span has no tag " + e?.$ + " (its tags: Span); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
function q(e) {
|
|
502
|
-
let t = [e];
|
|
503
|
-
for (let n = t, r = 0; ; )
|
|
504
|
-
switch (e.$) {
|
|
505
|
-
case "Nil":
|
|
506
|
-
return n[r] = e, t[0];
|
|
507
|
-
case "Con":
|
|
508
|
-
n = n[r] = { ...e, head: We(e.head) }, r = "tail", e = e[r];
|
|
509
|
-
continue;
|
|
510
|
-
default:
|
|
511
|
-
throw "bend: List has no tag " + e?.$ + " (its tags: Nil, Con); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
function G(e) {
|
|
515
|
-
let t = [e];
|
|
516
|
-
for (let n = t, r = 0; ; )
|
|
517
|
-
switch (e.$) {
|
|
518
|
-
case "Nil":
|
|
519
|
-
return n[r] = e, t[0];
|
|
520
|
-
case "Con":
|
|
521
|
-
n = n[r] = { ...e, head: qe(e.head) }, r = "tail", e = e[r];
|
|
522
|
-
continue;
|
|
523
|
-
default:
|
|
524
|
-
throw "bend: List has no tag " + e?.$ + " (its tags: Nil, Con); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
function Ge(e) {
|
|
528
|
-
let t = [e];
|
|
529
|
-
for (let n = t, r = 0; ; )
|
|
530
|
-
switch (e.$) {
|
|
531
|
-
case "Cut":
|
|
532
|
-
return n = n[r] = { ...e, retained: c(e.retained), budget: c(e.budget), boundary: c(e.boundary), spans: q(e.spans) }, t[0];
|
|
533
|
-
default:
|
|
534
|
-
throw "bend: Cut has no tag " + e?.$ + " (its tags: Cut); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
function Pe(e) {
|
|
538
|
-
let t = [e];
|
|
539
|
-
for (let n = t, r = 0; ; )
|
|
540
|
-
switch (e.$) {
|
|
541
|
-
case "Cut":
|
|
542
|
-
return n = n[r] = { ...e, retained: BigInt(e.retained), budget: BigInt(e.budget), boundary: BigInt(e.boundary), spans: G(e.spans) }, t[0];
|
|
543
|
-
default:
|
|
544
|
-
throw "bend: Cut has no tag " + e?.$ + " (its tags: Cut); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
function Ve(e) {
|
|
548
|
-
let t = [e];
|
|
549
|
-
for (let n = t, r = 0; ; )
|
|
550
|
-
switch (e.$) {
|
|
551
|
-
case "Chunk":
|
|
552
|
-
return n = n[r] = { ...e, start: c(e.start), end: c(e.end), total: c(e.total), expectedStart: c(e.expectedStart), expectedTotal: c(e.expectedTotal), length: c(e.length) }, t[0];
|
|
553
|
-
default:
|
|
554
|
-
throw "bend: Chunk has no tag " + e?.$ + " (its tags: Chunk); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
function je(e) {
|
|
558
|
-
let t = [e];
|
|
559
|
-
for (let n = t, r = 0; ; )
|
|
560
|
-
switch (e.$) {
|
|
561
|
-
case "Chunk":
|
|
562
|
-
return n = n[r] = { ...e, start: BigInt(e.start), end: BigInt(e.end), total: BigInt(e.total), expectedStart: BigInt(e.expectedStart), expectedTotal: BigInt(e.expectedTotal), length: BigInt(e.length) }, t[0];
|
|
563
|
-
default:
|
|
564
|
-
throw "bend: Chunk has no tag " + e?.$ + " (its tags: Chunk); a tag names its constructor as the loading file sees it, which a later version will make the same everywhere (#1105)";
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
var o = /* @__PURE__ */ new Map([["Unknown", "resources.Unknown"], ["Exact", "resources.Exact"], ["Quiet", "resources.Quiet"], ["Effect", "resources.Effect"]]), f = /* @__PURE__ */ new Map([["resources.Unknown", "Unknown"], ["resources.Exact", "Exact"], ["resources.Quiet", "Quiet"], ["resources.Effect", "Effect"]]);
|
|
568
|
-
function i(e, t) {
|
|
569
|
-
let n = [e];
|
|
570
|
-
for (let r = [[n, 0]]; r.length > 0; ) {
|
|
571
|
-
let [a, s] = r.pop(), l = a[s];
|
|
356
|
+
for (let r = [[t, 0]]; r.length > 0; ) {
|
|
357
|
+
let [$, u] = r.pop(), l = $[u];
|
|
572
358
|
if (l === null || typeof l != "object") continue;
|
|
573
|
-
let
|
|
574
|
-
typeof
|
|
575
|
-
for (let
|
|
359
|
+
let a = Array.isArray(l) ? [...l] : { ...l };
|
|
360
|
+
typeof a.$ == "string" && (a.$ = n.get(a.$) ?? a.$), $[u] = a;
|
|
361
|
+
for (let d of Object.keys(a)) r.push([a, d]);
|
|
576
362
|
}
|
|
577
|
-
return
|
|
578
|
-
}
|
|
579
|
-
var Fe = /* @__PURE__ */ $((e, t, n) =>
|
|
580
|
-
let r = h(re(c(e), c(t), n));
|
|
581
|
-
return BigInt(e), BigInt(t), r;
|
|
582
|
-
}, 3), Me = (e, t, n) => i(Fe(i(e, o), i(t, o), i(n, o)), f), Re = /* @__PURE__ */ $((e, t, n, r, a, s) => h(ie(e, t, n, r, a, s)), 6), Je = (e, t, n, r, a, s) => i(Re(i(e, o), i(t, o), i(n, o), i(r, o), i(a, o), i(s, o)), f), Oe = /* @__PURE__ */ $((e, t, n, r) => h(ae(e, t, n, r)), 4), De = (e, t, n, r) => i(Oe(i(e, o), i(t, o), i(n, o), i(r, o)), f), He = /* @__PURE__ */ $((e, t, n, r) => h(le(e, t, n, r)), 4), Ke = (e, t, n, r) => i(He(i(e, o), i(t, o), i(n, o), i(r, o)), f), Xe = /* @__PURE__ */ $((e, t) => h(ue(e, t)), 2), Ye = (e, t) => i(Xe(i(e, o), i(t, o)), f), Ze = /* @__PURE__ */ $((e, t) => {
|
|
583
|
-
let n = h(L(q(e), c(t)));
|
|
584
|
-
return G(e), BigInt(t), n;
|
|
585
|
-
}, 2), ve = (e, t) => i(Ze(i(e, o), i(t, o)), f), et = /* @__PURE__ */ $((e) => {
|
|
586
|
-
let t = h(he(Ge(e)));
|
|
587
|
-
return Pe(e), t;
|
|
588
|
-
}, 1), tt = (e) => i(et(i(e, o)), f), nt = /* @__PURE__ */ $((e, t) => h(de(e, t)), 2), rt = (e, t) => i(nt(i(e, o), i(t, o)), f), it = /* @__PURE__ */ $((e) => {
|
|
589
|
-
let t = h(me(Ve(e)));
|
|
590
|
-
return je(e), t;
|
|
591
|
-
}, 1), ot = (e) => i(it(i(e, o)), f), at = /* @__PURE__ */ $((e, t) => h(we(e, t)), 2), st = (e, t) => i(at(i(e, o), i(t, o)), f), lt = /* @__PURE__ */ $((e, t, n, r) => h(_e(e, t, n, r)), 4), ut = (e, t, n, r) => i(lt(i(e, o), i(t, o), i(n, o), i(r, o)), f), ct = /* @__PURE__ */ $((e, t, n, r, a) => h(Ce(e, t, n, r, a)), 5), $t = (e, t, n, r, a) => i(ct(i(e, o), i(t, o), i(n, o), i(r, o), i(a, o)), f), ht = /* @__PURE__ */ $((e) => h(be(e)), 1), ft = (e) => i(ht(i(e, o)), f), dt = /* @__PURE__ */ $((e) => h(ke(e)), 1), gt = (e) => i(dt(i(e, o)), f), mt = /* @__PURE__ */ $((e, t) => h(fe(e, t)), 2), wt = (e, t) => i(mt(i(e, o), i(t, o)), f), pt = /* @__PURE__ */ $((e, t, n) => h(ye(e, t, n)), 3), _t = (e, t, n) => i(pt(i(e, o), i(t, o), i(n, o)), f), Ct = /* @__PURE__ */ $((e, t, n, r) => {
|
|
592
|
-
let a = h(Ne(c(e), c(t), c(n), c(r)));
|
|
593
|
-
return BigInt(e), BigInt(t), BigInt(n), BigInt(r), a;
|
|
594
|
-
}, 4), bt = (e, t, n, r) => i(Ct(i(e, o), i(t, o), i(n, o), i(r, o)), f), kt = /* @__PURE__ */ $((e, t, n, r) => {
|
|
595
|
-
let a = h(xe(c(e), c(t), c(n), c(r)));
|
|
596
|
-
return BigInt(e), BigInt(t), BigInt(n), BigInt(r), a;
|
|
597
|
-
}, 4), yt = (e, t, n, r) => i(kt(i(e, o), i(t, o), i(n, o), i(r, o)), f), Nt = /* @__PURE__ */ $((e) => {
|
|
598
|
-
let t = C(h(Se(N(e))));
|
|
599
|
-
return x(e), t;
|
|
600
|
-
}, 1), xt = (e) => i(Nt(i(e, o)), f), St = /* @__PURE__ */ $((e, t) => {
|
|
601
|
-
let n = C(h(Be(b(e), N(t))));
|
|
602
|
-
return C(e), x(t), n;
|
|
603
|
-
}, 2), Bt = (e, t) => i(St(i(e, o), i(t, o)), f), It = /* @__PURE__ */ $((e, t, n, r) => {
|
|
604
|
-
let a = h(Ie(b(e), b(t), n, r));
|
|
605
|
-
return C(e), C(t), a;
|
|
606
|
-
}, 4), Et = (e, t, n, r) => i(It(i(e, o), i(t, o), i(n, o), i(r, o)), f), Qt = /* @__PURE__ */ $((e, t) => {
|
|
607
|
-
let n = h(Ee(z(e), z(t)));
|
|
608
|
-
return W(e), W(t), n;
|
|
609
|
-
}, 2), Ut = (e, t) => i(Qt(i(e, o), i(t, o)), f);
|
|
363
|
+
return t[0];
|
|
364
|
+
}
|
|
365
|
+
var we = /* @__PURE__ */ c((e, n, t) => H(h(e), h(n), t), 3), ke = (e, n, t) => i(we(i(e, o), i(n, o), i(t, o)), s), Se = /* @__PURE__ */ c((e, n, t, r, $, u) => K(e, n, t, r, $, u), 6), Ae = (e, n, t, r, $, u) => i(Se(i(e, o), i(n, o), i(t, o), i(r, o), i($, o), i(u, o)), s), ve = /* @__PURE__ */ c((e, n, t, r) => Y(e, n, t, r), 4), Qe = (e, n, t, r) => i(ve(i(e, o), i(n, o), i(t, o), i(r, o)), s), Ue = /* @__PURE__ */ c((e, n, t, r) => ee(e, n, t, r), 4), ze = (e, n, t, r) => i(Ue(i(e, o), i(n, o), i(t, o), i(r, o)), s), Ee = /* @__PURE__ */ c((e, n) => ne(e, n), 2), Te = (e, n) => i(Ee(i(e, o), i(n, o)), s), We = /* @__PURE__ */ c((e, n) => U(e, h(n)), 2), qe = (e, n) => i(We(i(e, o), i(n, o)), s), Ge = /* @__PURE__ */ c((e) => ie(e), 1), Ve = (e) => i(Ge(i(e, o)), s), je = /* @__PURE__ */ c((e, n) => $e(e, n), 2), Be = (e, n) => i(je(i(e, o), i(n, o)), s), Fe = /* @__PURE__ */ c((e) => le(e), 1), Me = (e) => i(Fe(i(e, o)), s), Pe = /* @__PURE__ */ c((e, n) => ae(e, n), 2), Re = (e, n) => i(Pe(i(e, o), i(n, o)), s), Ie = /* @__PURE__ */ c((e, n, t, r) => se(e, n, t, r), 4), Je = (e, n, t, r) => i(Ie(i(e, o), i(n, o), i(t, o), i(r, o)), s), Le = /* @__PURE__ */ c((e, n, t, r, $) => fe(e, n, t, r, $), 5), Oe = (e, n, t, r, $) => i(Le(i(e, o), i(n, o), i(t, o), i(r, o), i($, o)), s), De = /* @__PURE__ */ c((e) => de(e), 1), He = (e) => i(De(i(e, o)), s), Ke = /* @__PURE__ */ c((e) => _e(e), 1), Xe = (e) => i(Ke(i(e, o)), s), Ye = /* @__PURE__ */ c((e, n) => oe(e, n), 2), Ze = (e, n) => i(Ye(i(e, o), i(n, o)), s), en = /* @__PURE__ */ c((e, n, t) => he(e, n, t), 3), nn = (e, n, t) => i(en(i(e, o), i(n, o), i(t, o)), s), tn = /* @__PURE__ */ c((e, n, t, r) => Ce(h(e), h(n), h(t), h(r)), 4), rn = (e, n, t, r) => i(tn(i(e, o), i(n, o), i(t, o), i(r, o)), s), on = /* @__PURE__ */ c((e, n, t, r) => pe(h(e), h(n), h(t), h(r)), 4), $n = (e, n, t, r) => i(on(i(e, o), i(n, o), i(t, o), i(r, o)), s), un = /* @__PURE__ */ c((e) => me(e), 1), ln = (e) => i(un(i(e, o)), s), an = /* @__PURE__ */ c((e, n) => Ne(e, n), 2), cn = (e, n) => i(an(i(e, o), i(n, o)), s), sn = /* @__PURE__ */ c((e, n, t, r) => be(e, n, t, r), 4), fn = (e, n, t, r) => i(sn(i(e, o), i(n, o), i(t, o), i(r, o)), s), dn = /* @__PURE__ */ c((e, n) => xe(e, n), 2), _n = (e, n) => i(dn(i(e, o), i(n, o)), s);
|
|
610
366
|
export {
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
367
|
+
ze as canClose,
|
|
368
|
+
He as certificateAccepted,
|
|
369
|
+
Me as chunkAccepted,
|
|
370
|
+
Te as cleanupState,
|
|
371
|
+
Xe as consume,
|
|
372
|
+
Re as coverageComplete,
|
|
373
|
+
Ve as cutAccepted,
|
|
374
|
+
ke as footprintFits,
|
|
375
|
+
Oe as headReadable,
|
|
376
|
+
nn as knownConflict,
|
|
377
|
+
Ze as lineageSelected,
|
|
378
|
+
Be as pointerCurrent,
|
|
379
|
+
fn as resourceConflict,
|
|
380
|
+
_n as resourceGroups,
|
|
381
|
+
cn as resourceNormalize,
|
|
382
|
+
ln as resourceSource,
|
|
383
|
+
$n as sampleWithin,
|
|
384
|
+
qe as spansSafe,
|
|
385
|
+
rn as summaryWithin,
|
|
386
|
+
Qe as transitionCurrent,
|
|
387
|
+
Ae as unknownConflict,
|
|
388
|
+
Je as useNormalized
|
|
633
389
|
};
|