silentium 0.0.2
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/.husky/pre-commit +1 -0
- package/.husky/pre-push +2 -0
- package/.vscode/settings.json +8 -0
- package/CHANGELOG.md +12 -0
- package/LICENSE.md +7 -0
- package/README.md +3 -0
- package/commitizen.cjs +50 -0
- package/dist/silentium.cjs +771 -0
- package/dist/silentium.cjs.map +1 -0
- package/dist/silentium.d.ts +365 -0
- package/dist/silentium.js +735 -0
- package/dist/silentium.js.map +1 -0
- package/dist/silentium.min.js +1 -0
- package/dist/silentium.min.mjs +2 -0
- package/dist/silentium.min.mjs.map +1 -0
- package/dist/silentium.mjs +735 -0
- package/dist/silentium.mjs.map +1 -0
- package/docs/README.md +3 -0
- package/docs/assets/css/base.css +42 -0
- package/docs/assets/favicon/android-icon-144x144.png +0 -0
- package/docs/assets/favicon/android-icon-192x192.png +0 -0
- package/docs/assets/favicon/android-icon-36x36.png +0 -0
- package/docs/assets/favicon/android-icon-48x48.png +0 -0
- package/docs/assets/favicon/android-icon-72x72.png +0 -0
- package/docs/assets/favicon/android-icon-96x96.png +0 -0
- package/docs/assets/favicon/apple-icon-114x114.png +0 -0
- package/docs/assets/favicon/apple-icon-120x120.png +0 -0
- package/docs/assets/favicon/apple-icon-144x144.png +0 -0
- package/docs/assets/favicon/apple-icon-152x152.png +0 -0
- package/docs/assets/favicon/apple-icon-180x180.png +0 -0
- package/docs/assets/favicon/apple-icon-57x57.png +0 -0
- package/docs/assets/favicon/apple-icon-60x60.png +0 -0
- package/docs/assets/favicon/apple-icon-72x72.png +0 -0
- package/docs/assets/favicon/apple-icon-76x76.png +0 -0
- package/docs/assets/favicon/apple-icon-precomposed.png +0 -0
- package/docs/assets/favicon/apple-icon.png +0 -0
- package/docs/assets/favicon/browserconfig.xml +2 -0
- package/docs/assets/favicon/favicon-16x16.png +0 -0
- package/docs/assets/favicon/favicon-32x32.png +0 -0
- package/docs/assets/favicon/favicon-96x96.png +0 -0
- package/docs/assets/favicon/favicon.ico +0 -0
- package/docs/assets/favicon/manifest.json +41 -0
- package/docs/assets/favicon/ms-icon-144x144.png +0 -0
- package/docs/assets/favicon/ms-icon-150x150.png +0 -0
- package/docs/assets/favicon/ms-icon-310x310.png +0 -0
- package/docs/assets/favicon/ms-icon-70x70.png +0 -0
- package/docs/assets/img/404.jpg +0 -0
- package/docs/assets/img/angular_16.jpg +0 -0
- package/docs/assets/img/angular_32.jpg +0 -0
- package/docs/assets/img/eo_16.jpg +0 -0
- package/docs/assets/img/eo_big.png +0 -0
- package/docs/assets/img/github_16.jpg +0 -0
- package/docs/assets/img/logo.jpg +0 -0
- package/docs/assets/img/philosofy/observable.jpg +0 -0
- package/docs/assets/img/philosofy/responsible.jpg +0 -0
- package/docs/assets/img/philosofy/result.jpg +0 -0
- package/docs/assets/img/philosofy/tell.jpg +0 -0
- package/docs/assets/img/react_16.jpg +0 -0
- package/docs/assets/img/react_32.jpg +0 -0
- package/docs/assets/img/vue_16.jpg +0 -0
- package/docs/assets/img/vue_32.jpg +0 -0
- package/docs/assets/schemes/dip.html +28 -0
- package/docs/build.sh +20 -0
- package/docs/favicon.ico +0 -0
- package/docs/index-dev.html +346 -0
- package/docs/index.html +346 -0
- package/docs/manifest.json +41 -0
- package/docs/pages/404.html +9 -0
- package/docs/pages/common/layout.html +17 -0
- package/docs/pages/compatibility/dip.html +82 -0
- package/docs/pages/compatibility/elegant-objects.html +373 -0
- package/docs/pages/compatibility/layout.html +17 -0
- package/docs/pages/examples/errors.html +167 -0
- package/docs/pages/examples/index.html +10 -0
- package/docs/pages/examples.html +41 -0
- package/docs/pages/factory/index.html +18 -0
- package/docs/pages/factory.html +36 -0
- package/docs/pages/guest/guest-applied.html +51 -0
- package/docs/pages/guest/guest-cast.html +219 -0
- package/docs/pages/guest/guest-disposable.html +147 -0
- package/docs/pages/guest/guest-executor-applied.html +65 -0
- package/docs/pages/guest/guest-object.html +101 -0
- package/docs/pages/guest/guest-pool.html +107 -0
- package/docs/pages/guest/guest-sync.html +66 -0
- package/docs/pages/guest/index.html +115 -0
- package/docs/pages/guest.html +59 -0
- package/docs/pages/index.html +72 -0
- package/docs/pages/integrations/angular.html +5 -0
- package/docs/pages/integrations/layout.html +17 -0
- package/docs/pages/integrations/react.html +7 -0
- package/docs/pages/integrations/vue.html +102 -0
- package/docs/pages/patron/index.html +140 -0
- package/docs/pages/patron/patron-applied.html +66 -0
- package/docs/pages/patron/patron-executor-applied.html +94 -0
- package/docs/pages/patron/patron-once.html +110 -0
- package/docs/pages/patron/patron-pool.html +99 -0
- package/docs/pages/patron.html +50 -0
- package/docs/pages/philosofy.html +210 -0
- package/docs/pages/source/index.html +167 -0
- package/docs/pages/source/source-active.html +120 -0
- package/docs/pages/source/source-all.html +129 -0
- package/docs/pages/source/source-applied.html +73 -0
- package/docs/pages/source/source-dynamic.html +93 -0
- package/docs/pages/source/source-executor-applied.html +64 -0
- package/docs/pages/source/source-map.html +192 -0
- package/docs/pages/source/source-once.html +73 -0
- package/docs/pages/source/source-race.html +171 -0
- package/docs/pages/source/source-sequence.html +160 -0
- package/docs/pages/source/source-with-pool.html +102 -0
- package/docs/pages/source/source.html +167 -0
- package/docs/pages/source.html +68 -0
- package/docs/pages/terminology/guest.html +14 -0
- package/docs/pages/terminology/index.html +6 -0
- package/docs/pages/terminology/introduction.html +25 -0
- package/docs/pages/terminology/patron.html +10 -0
- package/docs/pages/terminology/source.html +55 -0
- package/docs/pages/terminology/visitor.html +19 -0
- package/docs/pages/terminology.html +53 -0
- package/docs/pages/utils/give.html +47 -0
- package/docs/pages/utils/index.html +24 -0
- package/docs/pages/utils/is-guest-aware.html +22 -0
- package/docs/pages/utils/is-guest.html +21 -0
- package/docs/pages/utils/is-patron-in-pools.html +53 -0
- package/docs/pages/utils/is-source.html +21 -0
- package/docs/pages/utils/private.html +44 -0
- package/docs/pages/utils/remove-patron-from-pools.html +57 -0
- package/docs/pages/utils/source-of.html +20 -0
- package/docs/pages/utils/value.html +47 -0
- package/docs/pages/utils.html +64 -0
- package/docs/template.html +346 -0
- package/eslint.config.mjs +47 -0
- package/package.json +57 -0
- package/rollup.config.js +52 -0
- package/src/Guest/Guest.test.ts +15 -0
- package/src/Guest/Guest.ts +53 -0
- package/src/Guest/GuestApplied.test.ts +13 -0
- package/src/Guest/GuestApplied.ts +16 -0
- package/src/Guest/GuestCast.test.ts +30 -0
- package/src/Guest/GuestCast.ts +39 -0
- package/src/Guest/GuestDisposable.test.ts +26 -0
- package/src/Guest/GuestDisposable.ts +33 -0
- package/src/Guest/GuestExecutorApplied.test.ts +27 -0
- package/src/Guest/GuestExecutorApplied.ts +23 -0
- package/src/Guest/GuestObject.test.ts +11 -0
- package/src/Guest/GuestObject.ts +34 -0
- package/src/Guest/GuestPool.test.ts +30 -0
- package/src/Guest/GuestPool.ts +56 -0
- package/src/Guest/GuestSync.test.ts +12 -0
- package/src/Guest/GuestSync.ts +25 -0
- package/src/Patron/Patron.test.ts +16 -0
- package/src/Patron/Patron.ts +35 -0
- package/src/Patron/PatronApplied.ts +22 -0
- package/src/Patron/PatronExecutorApplied.ts +25 -0
- package/src/Patron/PatronOnce.sourceEmpty.test.ts +38 -0
- package/src/Patron/PatronOnce.test.ts +32 -0
- package/src/Patron/PatronOnce.ts +38 -0
- package/src/Patron/PatronPool.test.ts +22 -0
- package/src/Patron/PatronPool.ts +121 -0
- package/src/Private/Private.test.ts +12 -0
- package/src/Private/Private.ts +20 -0
- package/src/Private/PrivateClass.modules.test.ts +36 -0
- package/src/Private/PrivateClass.test.ts +13 -0
- package/src/Private/PrivateClass.ts +29 -0
- package/src/Source/Source.test.ts +14 -0
- package/src/Source/Source.ts +59 -0
- package/src/Source/SourceActive.test.ts +13 -0
- package/src/Source/SourceActive.ts +41 -0
- package/src/Source/SourceAll._asArray.test.ts +22 -0
- package/src/Source/SourceAll._twoValuesAfter.test.ts +19 -0
- package/src/Source/SourceAll._twoValuesBefore.test.ts +19 -0
- package/src/Source/SourceAll._withPatron.test.ts +25 -0
- package/src/Source/SourceAll.ts +86 -0
- package/src/Source/SourceApplied.test.ts +14 -0
- package/src/Source/SourceApplied.ts +23 -0
- package/src/Source/SourceDynamic.ofSource.test.ts +21 -0
- package/src/Source/SourceDynamic.test.ts +26 -0
- package/src/Source/SourceDynamic.ts +35 -0
- package/src/Source/SourceExecutorApplied.test.ts +30 -0
- package/src/Source/SourceExecutorApplied.ts +22 -0
- package/src/Source/SourceMap.defered.test.ts +46 -0
- package/src/Source/SourceMap.fn.test.ts +27 -0
- package/src/Source/SourceMap.test.ts +32 -0
- package/src/Source/SourceMap.ts +48 -0
- package/src/Source/SourceOnce.notcalled.test.ts +13 -0
- package/src/Source/SourceOnce.test.ts +10 -0
- package/src/Source/SourceOnce.ts +31 -0
- package/src/Source/SourceRace.test.ts +46 -0
- package/src/Source/SourceRace.ts +30 -0
- package/src/Source/SourceSequence.defered.test.ts +53 -0
- package/src/Source/SourceSequence.test.ts +30 -0
- package/src/Source/SourceSequence.ts +72 -0
- package/src/Source/SourceWithPool.empty.test.ts +14 -0
- package/src/Source/SourceWithPool.test.ts +10 -0
- package/src/Source/SourceWithPool.ts +58 -0
- package/src/index.ts +26 -0
- package/test-utils/debounce.ts +11 -0
- package/test-utils/id.ts +1 -0
- package/test-utils/wait.ts +6 -0
- package/tsconfig.json +26 -0
|
@@ -0,0 +1,771 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function give(data, guest) {
|
|
4
|
+
if (data === void 0) {
|
|
5
|
+
throw new Error("give didnt receive data argument");
|
|
6
|
+
}
|
|
7
|
+
if (guest === void 0) {
|
|
8
|
+
throw new Error("give didnt receive guest argument");
|
|
9
|
+
}
|
|
10
|
+
if (typeof guest === "function") {
|
|
11
|
+
guest(data);
|
|
12
|
+
} else {
|
|
13
|
+
guest.give(data);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function isGuest(mbGuest) {
|
|
17
|
+
if (mbGuest === void 0) {
|
|
18
|
+
throw new Error("isGuest didnt receive mbGuest argument");
|
|
19
|
+
}
|
|
20
|
+
return typeof mbGuest === "function" || typeof mbGuest?.give === "function";
|
|
21
|
+
}
|
|
22
|
+
class Guest {
|
|
23
|
+
constructor(receiver) {
|
|
24
|
+
this.receiver = receiver;
|
|
25
|
+
if (!receiver) {
|
|
26
|
+
throw new Error("reseiver function was not passed to Guest constructor");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
give(value) {
|
|
30
|
+
this.receiver(value);
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
class GuestCast {
|
|
36
|
+
constructor(sourceGuest, targetGuest) {
|
|
37
|
+
this.sourceGuest = sourceGuest;
|
|
38
|
+
this.targetGuest = targetGuest;
|
|
39
|
+
if (sourceGuest === void 0) {
|
|
40
|
+
throw new Error("GuestCast didnt receive sourceGuest argument");
|
|
41
|
+
}
|
|
42
|
+
if (targetGuest === void 0) {
|
|
43
|
+
throw new Error("GuestCast didnt receive targetGuest argument");
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
introduction() {
|
|
47
|
+
if (typeof this.sourceGuest === "function") {
|
|
48
|
+
return "guest";
|
|
49
|
+
}
|
|
50
|
+
if (!this.sourceGuest.introduction) {
|
|
51
|
+
return "guest";
|
|
52
|
+
}
|
|
53
|
+
return this.sourceGuest.introduction();
|
|
54
|
+
}
|
|
55
|
+
give(value) {
|
|
56
|
+
give(value, this.targetGuest);
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
disposed(value) {
|
|
60
|
+
const maybeDisposable = this.sourceGuest;
|
|
61
|
+
return maybeDisposable.disposed ? maybeDisposable.disposed(value) : false;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
var __defProp$a = Object.defineProperty;
|
|
66
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
67
|
+
var __publicField$a = (obj, key, value) => __defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
68
|
+
const poolSets = /* @__PURE__ */ new Map();
|
|
69
|
+
const patronPools = (patron) => {
|
|
70
|
+
const pools = [];
|
|
71
|
+
poolSets.forEach((pool, poolInstance) => {
|
|
72
|
+
if (pool.has(patron)) {
|
|
73
|
+
pools.push(poolInstance);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
return pools;
|
|
77
|
+
};
|
|
78
|
+
const removePatronFromPools = (patron) => {
|
|
79
|
+
if (patron === void 0) {
|
|
80
|
+
throw new Error("removePatronFromPools didnt receive patron argument");
|
|
81
|
+
}
|
|
82
|
+
poolSets.forEach((pool) => {
|
|
83
|
+
pool.delete(patron);
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
const isPatronInPools = (patron) => {
|
|
87
|
+
if (patron === void 0) {
|
|
88
|
+
throw new Error("isPatronInPools didnt receive patron argument");
|
|
89
|
+
}
|
|
90
|
+
let inPool = false;
|
|
91
|
+
poolSets.forEach((pool) => {
|
|
92
|
+
if (!inPool) {
|
|
93
|
+
inPool = pool.has(patron);
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
return inPool;
|
|
97
|
+
};
|
|
98
|
+
class PatronPool {
|
|
99
|
+
constructor(initiator) {
|
|
100
|
+
this.initiator = initiator;
|
|
101
|
+
__publicField$a(this, "patrons");
|
|
102
|
+
__publicField$a(this, "give");
|
|
103
|
+
this.patrons = /* @__PURE__ */ new Set();
|
|
104
|
+
poolSets.set(this, this.patrons);
|
|
105
|
+
const doReceive = (value) => {
|
|
106
|
+
this.patrons.forEach((target) => {
|
|
107
|
+
this.sendValueToGuest(value, target);
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
this.give = (value) => {
|
|
111
|
+
doReceive(value);
|
|
112
|
+
return this;
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
size() {
|
|
116
|
+
return this.patrons.size;
|
|
117
|
+
}
|
|
118
|
+
add(shouldBePatron) {
|
|
119
|
+
if (!shouldBePatron) {
|
|
120
|
+
throw new Error("PatronPool add method received nothing!");
|
|
121
|
+
}
|
|
122
|
+
if (typeof shouldBePatron !== "function" && shouldBePatron.introduction && shouldBePatron.introduction() === "patron") {
|
|
123
|
+
this.patrons.add(shouldBePatron);
|
|
124
|
+
}
|
|
125
|
+
return this;
|
|
126
|
+
}
|
|
127
|
+
remove(patron) {
|
|
128
|
+
this.patrons.delete(patron);
|
|
129
|
+
return this;
|
|
130
|
+
}
|
|
131
|
+
distribute(receiving, possiblePatron) {
|
|
132
|
+
this.add(possiblePatron);
|
|
133
|
+
this.sendValueToGuest(receiving, possiblePatron);
|
|
134
|
+
return this;
|
|
135
|
+
}
|
|
136
|
+
sendValueToGuest(value, guest) {
|
|
137
|
+
const isDisposed = this.guestDisposed(value, guest);
|
|
138
|
+
if (!isDisposed) {
|
|
139
|
+
give(value, guest);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
guestDisposed(value, guest) {
|
|
143
|
+
if (guest.disposed?.(value)) {
|
|
144
|
+
this.remove(guest);
|
|
145
|
+
return true;
|
|
146
|
+
}
|
|
147
|
+
return false;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
var __defProp$9 = Object.defineProperty;
|
|
152
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
153
|
+
var __publicField$9 = (obj, key, value) => __defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
154
|
+
class GuestPool {
|
|
155
|
+
constructor(initiator) {
|
|
156
|
+
__publicField$9(this, "guests", /* @__PURE__ */ new Set());
|
|
157
|
+
__publicField$9(this, "patronPool");
|
|
158
|
+
this.patronPool = new PatronPool(initiator);
|
|
159
|
+
}
|
|
160
|
+
give(value) {
|
|
161
|
+
this.deliverToGuests(value);
|
|
162
|
+
this.patronPool.give(value);
|
|
163
|
+
return this;
|
|
164
|
+
}
|
|
165
|
+
add(guest) {
|
|
166
|
+
if (typeof guest === "function" || !guest.introduction || guest.introduction() === "guest") {
|
|
167
|
+
this.guests.add(guest);
|
|
168
|
+
}
|
|
169
|
+
this.patronPool.add(guest);
|
|
170
|
+
return this;
|
|
171
|
+
}
|
|
172
|
+
remove(patron) {
|
|
173
|
+
this.guests.delete(patron);
|
|
174
|
+
this.patronPool.remove(patron);
|
|
175
|
+
return this;
|
|
176
|
+
}
|
|
177
|
+
distribute(receiving, possiblePatron) {
|
|
178
|
+
this.add(possiblePatron);
|
|
179
|
+
this.give(receiving);
|
|
180
|
+
return this;
|
|
181
|
+
}
|
|
182
|
+
size() {
|
|
183
|
+
return this.patronPool.size() + this.guests.size;
|
|
184
|
+
}
|
|
185
|
+
deliverToGuests(value) {
|
|
186
|
+
this.guests.forEach((target) => {
|
|
187
|
+
give(value, target);
|
|
188
|
+
});
|
|
189
|
+
this.guests.clear();
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
class GuestSync {
|
|
194
|
+
constructor(theValue) {
|
|
195
|
+
this.theValue = theValue;
|
|
196
|
+
if (theValue === void 0) {
|
|
197
|
+
throw new Error("GuestSync didnt receive theValue argument");
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
give(value) {
|
|
201
|
+
this.theValue = value;
|
|
202
|
+
return this;
|
|
203
|
+
}
|
|
204
|
+
value() {
|
|
205
|
+
return this.theValue;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
class GuestObject {
|
|
210
|
+
constructor(baseGuest) {
|
|
211
|
+
this.baseGuest = baseGuest;
|
|
212
|
+
if (baseGuest === void 0) {
|
|
213
|
+
throw new Error("GuestObject didnt receive baseGuest argument");
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
give(value) {
|
|
217
|
+
let guest = this.baseGuest;
|
|
218
|
+
if (typeof guest === "function") {
|
|
219
|
+
guest = new Guest(guest);
|
|
220
|
+
}
|
|
221
|
+
guest.give(value);
|
|
222
|
+
return this;
|
|
223
|
+
}
|
|
224
|
+
introduction() {
|
|
225
|
+
if (typeof this.baseGuest === "function" || !this.baseGuest.introduction) {
|
|
226
|
+
return "guest";
|
|
227
|
+
}
|
|
228
|
+
return this.baseGuest.introduction();
|
|
229
|
+
}
|
|
230
|
+
disposed(value) {
|
|
231
|
+
const maybeDisposable = this.baseGuest;
|
|
232
|
+
return maybeDisposable.disposed ? maybeDisposable.disposed(value) : false;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
class GuestDisposable {
|
|
237
|
+
constructor(guest, disposeCheck) {
|
|
238
|
+
this.guest = guest;
|
|
239
|
+
this.disposeCheck = disposeCheck;
|
|
240
|
+
if (guest === void 0) {
|
|
241
|
+
throw new Error("GuestDisposable didnt receive guest argument");
|
|
242
|
+
}
|
|
243
|
+
if (disposeCheck === void 0) {
|
|
244
|
+
throw new Error("GuestDisposable didnt receive disposeCheck argument");
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
disposed(value) {
|
|
248
|
+
return this.disposeCheck(value);
|
|
249
|
+
}
|
|
250
|
+
give(value) {
|
|
251
|
+
give(value, this.guest);
|
|
252
|
+
return this;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
class GuestApplied {
|
|
257
|
+
constructor(baseGuest, applier) {
|
|
258
|
+
this.baseGuest = baseGuest;
|
|
259
|
+
this.applier = applier;
|
|
260
|
+
}
|
|
261
|
+
give(value) {
|
|
262
|
+
give(this.applier(value), this.baseGuest);
|
|
263
|
+
return this;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
var __defProp$8 = Object.defineProperty;
|
|
268
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
269
|
+
var __publicField$8 = (obj, key, value) => __defNormalProp$8(obj, key + "" , value);
|
|
270
|
+
class GuestExecutorApplied {
|
|
271
|
+
constructor(baseGuest, applier) {
|
|
272
|
+
__publicField$8(this, "give");
|
|
273
|
+
this.give = applier((v) => give(v, baseGuest));
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
class Patron {
|
|
278
|
+
constructor(willBePatron) {
|
|
279
|
+
this.willBePatron = willBePatron;
|
|
280
|
+
if (willBePatron === void 0) {
|
|
281
|
+
throw new Error("Patron didnt receive willBePatron argument");
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
introduction() {
|
|
285
|
+
return "patron";
|
|
286
|
+
}
|
|
287
|
+
give(value) {
|
|
288
|
+
give(value, this.willBePatron);
|
|
289
|
+
return this;
|
|
290
|
+
}
|
|
291
|
+
disposed(value) {
|
|
292
|
+
const maybeDisposable = this.willBePatron;
|
|
293
|
+
return maybeDisposable?.disposed?.(value) || false;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
const isPatron = (guest) => typeof guest === "object" && guest !== null && guest?.introduction?.() === "patron";
|
|
297
|
+
|
|
298
|
+
var __defProp$7 = Object.defineProperty;
|
|
299
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
300
|
+
var __publicField$7 = (obj, key, value) => __defNormalProp$7(obj, key + "" , value);
|
|
301
|
+
class PatronOnce {
|
|
302
|
+
constructor(baseGuest) {
|
|
303
|
+
this.baseGuest = baseGuest;
|
|
304
|
+
__publicField$7(this, "received", false);
|
|
305
|
+
if (baseGuest === void 0) {
|
|
306
|
+
throw new Error("PatronOnce didnt receive baseGuest argument");
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
introduction() {
|
|
310
|
+
return "patron";
|
|
311
|
+
}
|
|
312
|
+
give(value) {
|
|
313
|
+
if (!this.received) {
|
|
314
|
+
this.received = true;
|
|
315
|
+
give(value, this.baseGuest);
|
|
316
|
+
}
|
|
317
|
+
return this;
|
|
318
|
+
}
|
|
319
|
+
disposed(value) {
|
|
320
|
+
if (this.received) {
|
|
321
|
+
return true;
|
|
322
|
+
}
|
|
323
|
+
const maybeDisposable = this.baseGuest;
|
|
324
|
+
return maybeDisposable.disposed ? maybeDisposable.disposed(value) : false;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
var __defProp$6 = Object.defineProperty;
|
|
329
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
330
|
+
var __publicField$6 = (obj, key, value) => __defNormalProp$6(obj, key + "" , value);
|
|
331
|
+
class PatronApplied {
|
|
332
|
+
constructor(baseGuest, applier) {
|
|
333
|
+
__publicField$6(this, "guestApplied");
|
|
334
|
+
this.guestApplied = new GuestApplied(baseGuest, applier);
|
|
335
|
+
}
|
|
336
|
+
give(value) {
|
|
337
|
+
this.guestApplied.give(value);
|
|
338
|
+
return this;
|
|
339
|
+
}
|
|
340
|
+
introduction() {
|
|
341
|
+
return "patron";
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
var __defProp$5 = Object.defineProperty;
|
|
346
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
347
|
+
var __publicField$5 = (obj, key, value) => __defNormalProp$5(obj, key + "" , value);
|
|
348
|
+
class PatronExecutorApplied {
|
|
349
|
+
constructor(baseGuest, applier) {
|
|
350
|
+
__publicField$5(this, "guestApplied");
|
|
351
|
+
this.guestApplied = new GuestExecutorApplied(baseGuest, applier);
|
|
352
|
+
}
|
|
353
|
+
give(value) {
|
|
354
|
+
this.guestApplied.give(value);
|
|
355
|
+
return this;
|
|
356
|
+
}
|
|
357
|
+
introduction() {
|
|
358
|
+
return "patron";
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
var __defProp$4 = Object.defineProperty;
|
|
363
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
364
|
+
var __publicField$4 = (obj, key, value) => __defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
365
|
+
class SourceWithPool {
|
|
366
|
+
constructor(sourceDocument) {
|
|
367
|
+
this.sourceDocument = sourceDocument;
|
|
368
|
+
__publicField$4(this, "thePool", new PatronPool(this));
|
|
369
|
+
__publicField$4(this, "theEmptyPool", new PatronPool(this));
|
|
370
|
+
__publicField$4(this, "isEmpty");
|
|
371
|
+
this.isEmpty = sourceDocument === void 0;
|
|
372
|
+
}
|
|
373
|
+
pool() {
|
|
374
|
+
return this.thePool;
|
|
375
|
+
}
|
|
376
|
+
give(value) {
|
|
377
|
+
this.isEmpty = false;
|
|
378
|
+
this.sourceDocument = value;
|
|
379
|
+
this.thePool.give(this.sourceDocument);
|
|
380
|
+
this.theEmptyPool.give(this.sourceDocument);
|
|
381
|
+
return this;
|
|
382
|
+
}
|
|
383
|
+
value(guest) {
|
|
384
|
+
if (this.isEmpty) {
|
|
385
|
+
if (isPatron(guest)) {
|
|
386
|
+
this.theEmptyPool.add(guest);
|
|
387
|
+
}
|
|
388
|
+
return this;
|
|
389
|
+
}
|
|
390
|
+
if (typeof guest === "function") {
|
|
391
|
+
this.thePool.distribute(this.sourceDocument, new Guest(guest));
|
|
392
|
+
} else {
|
|
393
|
+
this.thePool.distribute(this.sourceDocument, guest);
|
|
394
|
+
}
|
|
395
|
+
return this;
|
|
396
|
+
}
|
|
397
|
+
filled() {
|
|
398
|
+
return !this.isEmpty;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
var __defProp$3 = Object.defineProperty;
|
|
403
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
404
|
+
var __publicField$3 = (obj, key, value) => __defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
405
|
+
class SourceAll {
|
|
406
|
+
constructor(initialKnownKeys = []) {
|
|
407
|
+
__publicField$3(this, "theAll");
|
|
408
|
+
__publicField$3(this, "keysKnown");
|
|
409
|
+
__publicField$3(this, "keysFilled", /* @__PURE__ */ new Set());
|
|
410
|
+
__publicField$3(this, "filledAllPool", new GuestPool(this));
|
|
411
|
+
this.theAll = new SourceWithPool({});
|
|
412
|
+
this.keysKnown = new Set(initialKnownKeys);
|
|
413
|
+
}
|
|
414
|
+
valueArray(guest) {
|
|
415
|
+
const guestObject = new GuestObject(guest);
|
|
416
|
+
this.filledAllPool.add(
|
|
417
|
+
new GuestCast(guestObject, (value) => {
|
|
418
|
+
guestObject.give(Object.values(value));
|
|
419
|
+
})
|
|
420
|
+
);
|
|
421
|
+
if (this.isAllFilled()) {
|
|
422
|
+
this.theAll.value(
|
|
423
|
+
new Guest((all) => {
|
|
424
|
+
this.filledAllPool.give(Object.values(all));
|
|
425
|
+
})
|
|
426
|
+
);
|
|
427
|
+
}
|
|
428
|
+
return this;
|
|
429
|
+
}
|
|
430
|
+
value(guest) {
|
|
431
|
+
const guestObject = new GuestObject(guest);
|
|
432
|
+
if (this.isAllFilled()) {
|
|
433
|
+
this.filledAllPool.add(guestObject);
|
|
434
|
+
this.theAll.value(
|
|
435
|
+
new Guest((all) => {
|
|
436
|
+
this.filledAllPool.give(all);
|
|
437
|
+
})
|
|
438
|
+
);
|
|
439
|
+
} else {
|
|
440
|
+
this.filledAllPool.add(guestObject);
|
|
441
|
+
}
|
|
442
|
+
return this;
|
|
443
|
+
}
|
|
444
|
+
guestKey(key) {
|
|
445
|
+
this.keysKnown.add(key);
|
|
446
|
+
return new Guest((value) => {
|
|
447
|
+
this.theAll.value(
|
|
448
|
+
new Guest((all) => {
|
|
449
|
+
this.keysFilled.add(key);
|
|
450
|
+
const lastAll = {
|
|
451
|
+
...all,
|
|
452
|
+
[key]: value
|
|
453
|
+
};
|
|
454
|
+
this.theAll.give(lastAll);
|
|
455
|
+
if (this.isAllFilled()) {
|
|
456
|
+
this.filledAllPool.give(lastAll);
|
|
457
|
+
}
|
|
458
|
+
})
|
|
459
|
+
);
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
isAllFilled() {
|
|
463
|
+
return this.keysFilled.size > 0 && this.keysFilled.size === this.keysKnown.size;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
function value(source, guest) {
|
|
468
|
+
if (source === void 0) {
|
|
469
|
+
throw new Error("value didnt receive source argument");
|
|
470
|
+
}
|
|
471
|
+
if (guest === void 0) {
|
|
472
|
+
throw new Error("value didnt receive guest argument");
|
|
473
|
+
}
|
|
474
|
+
if (typeof source === "function") {
|
|
475
|
+
return source(guest);
|
|
476
|
+
} else {
|
|
477
|
+
return source.value(guest);
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
function isSource(mbSource) {
|
|
481
|
+
if (mbSource === void 0) {
|
|
482
|
+
throw new Error("isSource didnt receive mbSource argument");
|
|
483
|
+
}
|
|
484
|
+
return typeof mbSource === "function" || typeof mbSource?.value === "function";
|
|
485
|
+
}
|
|
486
|
+
class Source {
|
|
487
|
+
constructor(source) {
|
|
488
|
+
this.source = source;
|
|
489
|
+
if (source === void 0) {
|
|
490
|
+
throw new Error("Source constructor didnt receive executor function");
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
value(guest) {
|
|
494
|
+
value(this.source, guest);
|
|
495
|
+
return guest;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
const sourceOf = (value2) => new Source((g) => give(value2, g));
|
|
499
|
+
|
|
500
|
+
class SourceSequence {
|
|
501
|
+
constructor(baseSource, targetSource) {
|
|
502
|
+
this.baseSource = baseSource;
|
|
503
|
+
this.targetSource = targetSource;
|
|
504
|
+
if (baseSource === void 0) {
|
|
505
|
+
throw new Error("SourceSequence didnt receive baseSource argument");
|
|
506
|
+
}
|
|
507
|
+
if (targetSource === void 0) {
|
|
508
|
+
throw new Error("SourceSequence didnt receive targetSource argument");
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
value(guest) {
|
|
512
|
+
const all = new SourceAll();
|
|
513
|
+
const sequenceSource = new SourceWithPool();
|
|
514
|
+
const targetSource = this.targetSource.get(sequenceSource);
|
|
515
|
+
value(
|
|
516
|
+
this.baseSource,
|
|
517
|
+
new GuestCast(guest, (theValue) => {
|
|
518
|
+
let index = 0;
|
|
519
|
+
const nextItemHandle = () => {
|
|
520
|
+
if (theValue[index + 1] !== void 0) {
|
|
521
|
+
index = index + 1;
|
|
522
|
+
handle();
|
|
523
|
+
} else {
|
|
524
|
+
all.valueArray(guest);
|
|
525
|
+
}
|
|
526
|
+
};
|
|
527
|
+
function handle() {
|
|
528
|
+
sequenceSource.give(null);
|
|
529
|
+
const nextValue = theValue[index];
|
|
530
|
+
if (isSource(nextValue)) {
|
|
531
|
+
value(
|
|
532
|
+
nextValue,
|
|
533
|
+
new PatronOnce((theNextValue) => {
|
|
534
|
+
sequenceSource.give(theNextValue);
|
|
535
|
+
value(targetSource, all.guestKey(index.toString()));
|
|
536
|
+
nextItemHandle();
|
|
537
|
+
})
|
|
538
|
+
);
|
|
539
|
+
} else {
|
|
540
|
+
sequenceSource.give(nextValue);
|
|
541
|
+
value(targetSource, all.guestKey(index.toString()));
|
|
542
|
+
nextItemHandle();
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
if (theValue[index] !== void 0) {
|
|
546
|
+
handle();
|
|
547
|
+
} else {
|
|
548
|
+
give([], guest);
|
|
549
|
+
}
|
|
550
|
+
})
|
|
551
|
+
);
|
|
552
|
+
return this;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
class SourceMap {
|
|
557
|
+
constructor(baseSource, targetSource) {
|
|
558
|
+
this.baseSource = baseSource;
|
|
559
|
+
this.targetSource = targetSource;
|
|
560
|
+
if (baseSource === void 0) {
|
|
561
|
+
throw new Error("SourceMap didnt receive baseSource argument");
|
|
562
|
+
}
|
|
563
|
+
if (targetSource === void 0) {
|
|
564
|
+
throw new Error("SourceMap didnt receive targetSource argument");
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
value(guest) {
|
|
568
|
+
const all = new SourceAll();
|
|
569
|
+
value(
|
|
570
|
+
this.baseSource,
|
|
571
|
+
new GuestCast(guest, (theValue) => {
|
|
572
|
+
theValue.forEach((val, index) => {
|
|
573
|
+
const valueSource = isSource(val) ? val : new Source((innerGuest) => {
|
|
574
|
+
give(val, innerGuest);
|
|
575
|
+
});
|
|
576
|
+
const targetSource = this.targetSource.get(valueSource);
|
|
577
|
+
value(targetSource, all.guestKey(index.toString()));
|
|
578
|
+
});
|
|
579
|
+
})
|
|
580
|
+
);
|
|
581
|
+
all.valueArray(guest);
|
|
582
|
+
return this;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
class SourceRace {
|
|
587
|
+
constructor(sources) {
|
|
588
|
+
this.sources = sources;
|
|
589
|
+
if (sources === void 0) {
|
|
590
|
+
throw new Error("SourceRace didnt receive sources argument");
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
value(guest) {
|
|
594
|
+
let connectedWithSource = null;
|
|
595
|
+
this.sources.forEach((source) => {
|
|
596
|
+
value(
|
|
597
|
+
source,
|
|
598
|
+
new GuestCast(guest, (value2) => {
|
|
599
|
+
if (!connectedWithSource || connectedWithSource === source) {
|
|
600
|
+
give(value2, guest);
|
|
601
|
+
connectedWithSource = source;
|
|
602
|
+
}
|
|
603
|
+
})
|
|
604
|
+
);
|
|
605
|
+
});
|
|
606
|
+
return this;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
var __defProp$2 = Object.defineProperty;
|
|
611
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
612
|
+
var __publicField$2 = (obj, key, value) => __defNormalProp$2(obj, key + "" , value);
|
|
613
|
+
class SourceActive {
|
|
614
|
+
constructor(configExecutor) {
|
|
615
|
+
this.configExecutor = configExecutor;
|
|
616
|
+
__publicField$2(this, "source", new SourceWithPool());
|
|
617
|
+
if (configExecutor === void 0) {
|
|
618
|
+
throw new Error(
|
|
619
|
+
"SourceActive constructor didnt receive executor function"
|
|
620
|
+
);
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
do(config) {
|
|
624
|
+
this.configExecutor(config, this.source);
|
|
625
|
+
return this;
|
|
626
|
+
}
|
|
627
|
+
value(guest) {
|
|
628
|
+
this.source.value(guest);
|
|
629
|
+
return this;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
class SourceDynamic {
|
|
634
|
+
constructor(baseGuest, baseSource) {
|
|
635
|
+
this.baseGuest = baseGuest;
|
|
636
|
+
this.baseSource = baseSource;
|
|
637
|
+
if (baseGuest === void 0) {
|
|
638
|
+
throw new Error("SourceDynamic didnt receive baseGuest argument");
|
|
639
|
+
}
|
|
640
|
+
if (baseSource === void 0) {
|
|
641
|
+
throw new Error("SourceDynamic didnt receive baseSource argument");
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
value(guest) {
|
|
645
|
+
value(this.baseSource, guest);
|
|
646
|
+
return this;
|
|
647
|
+
}
|
|
648
|
+
give(value2) {
|
|
649
|
+
give(value2, this.baseGuest);
|
|
650
|
+
return this;
|
|
651
|
+
}
|
|
652
|
+
pool() {
|
|
653
|
+
throw Error("No pool in SourceDynamic");
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
class SourceApplied {
|
|
658
|
+
constructor(baseSource, applier) {
|
|
659
|
+
this.baseSource = baseSource;
|
|
660
|
+
this.applier = applier;
|
|
661
|
+
}
|
|
662
|
+
value(g) {
|
|
663
|
+
value(
|
|
664
|
+
this.baseSource,
|
|
665
|
+
new GuestCast(g, (v) => {
|
|
666
|
+
give(this.applier(v), g);
|
|
667
|
+
})
|
|
668
|
+
);
|
|
669
|
+
return this;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
var __defProp$1 = Object.defineProperty;
|
|
674
|
+
var __defNormalProp$1 = (obj, key, value2) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
|
|
675
|
+
var __publicField$1 = (obj, key, value2) => __defNormalProp$1(obj, key + "" , value2);
|
|
676
|
+
class SourceExecutorApplied {
|
|
677
|
+
constructor(source, applier) {
|
|
678
|
+
__publicField$1(this, "value");
|
|
679
|
+
this.value = applier((g) => {
|
|
680
|
+
value(source, g);
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
var __defProp = Object.defineProperty;
|
|
686
|
+
var __defNormalProp = (obj, key, value2) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
|
|
687
|
+
var __publicField = (obj, key, value2) => __defNormalProp(obj, key + "" , value2);
|
|
688
|
+
class SourceOnce {
|
|
689
|
+
constructor(initialValue) {
|
|
690
|
+
__publicField(this, "source");
|
|
691
|
+
this.source = new SourceWithPool(initialValue);
|
|
692
|
+
}
|
|
693
|
+
value(guest) {
|
|
694
|
+
value(this.source, guest);
|
|
695
|
+
return this;
|
|
696
|
+
}
|
|
697
|
+
give(value2) {
|
|
698
|
+
if (!this.source.filled()) {
|
|
699
|
+
this.source.give(value2);
|
|
700
|
+
}
|
|
701
|
+
return this;
|
|
702
|
+
}
|
|
703
|
+
pool() {
|
|
704
|
+
return this.source.pool();
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
class PrivateClass {
|
|
709
|
+
constructor(constructorFn, modules = {}) {
|
|
710
|
+
this.constructorFn = constructorFn;
|
|
711
|
+
this.modules = modules;
|
|
712
|
+
if (constructorFn === void 0) {
|
|
713
|
+
throw new Error("PrivateClass didnt receive constructorFn argument");
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
get(...args) {
|
|
717
|
+
return new this.constructorFn(
|
|
718
|
+
...args,
|
|
719
|
+
this.modules
|
|
720
|
+
);
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
class Private {
|
|
725
|
+
constructor(buildingFn) {
|
|
726
|
+
this.buildingFn = buildingFn;
|
|
727
|
+
if (buildingFn === void 0) {
|
|
728
|
+
throw new Error("Private didnt receive buildingFn argument");
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
get(...args) {
|
|
732
|
+
return this.buildingFn(...args);
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
exports.Guest = Guest;
|
|
737
|
+
exports.GuestApplied = GuestApplied;
|
|
738
|
+
exports.GuestCast = GuestCast;
|
|
739
|
+
exports.GuestDisposable = GuestDisposable;
|
|
740
|
+
exports.GuestExecutorApplied = GuestExecutorApplied;
|
|
741
|
+
exports.GuestObject = GuestObject;
|
|
742
|
+
exports.GuestPool = GuestPool;
|
|
743
|
+
exports.GuestSync = GuestSync;
|
|
744
|
+
exports.Patron = Patron;
|
|
745
|
+
exports.PatronApplied = PatronApplied;
|
|
746
|
+
exports.PatronExecutorApplied = PatronExecutorApplied;
|
|
747
|
+
exports.PatronOnce = PatronOnce;
|
|
748
|
+
exports.PatronPool = PatronPool;
|
|
749
|
+
exports.Private = Private;
|
|
750
|
+
exports.PrivateClass = PrivateClass;
|
|
751
|
+
exports.Source = Source;
|
|
752
|
+
exports.SourceActive = SourceActive;
|
|
753
|
+
exports.SourceAll = SourceAll;
|
|
754
|
+
exports.SourceApplied = SourceApplied;
|
|
755
|
+
exports.SourceDynamic = SourceDynamic;
|
|
756
|
+
exports.SourceExecutorApplied = SourceExecutorApplied;
|
|
757
|
+
exports.SourceMap = SourceMap;
|
|
758
|
+
exports.SourceOnce = SourceOnce;
|
|
759
|
+
exports.SourceRace = SourceRace;
|
|
760
|
+
exports.SourceSequence = SourceSequence;
|
|
761
|
+
exports.SourceWithPool = SourceWithPool;
|
|
762
|
+
exports.give = give;
|
|
763
|
+
exports.isGuest = isGuest;
|
|
764
|
+
exports.isPatron = isPatron;
|
|
765
|
+
exports.isPatronInPools = isPatronInPools;
|
|
766
|
+
exports.isSource = isSource;
|
|
767
|
+
exports.patronPools = patronPools;
|
|
768
|
+
exports.removePatronFromPools = removePatronFromPools;
|
|
769
|
+
exports.sourceOf = sourceOf;
|
|
770
|
+
exports.value = value;
|
|
771
|
+
//# sourceMappingURL=silentium.cjs.map
|