@blackglory/estore-js 0.1.0 → 0.1.1

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.
@@ -15,7 +15,7 @@ function getAugmentedNamespace(n) {
15
15
  return a;
16
16
  }
17
17
 
18
- var es2018$d = {};
18
+ var es2018$c = {};
19
19
 
20
20
  var fetch_browser = {};
21
21
 
@@ -82,9 +82,9 @@ __exportStar(abortError_browser, exports);
82
82
  __exportStar(blob_browser, exports);
83
83
  __exportStar(eventSource_browser, exports);
84
84
 
85
- }(es2018$d));
85
+ }(es2018$c));
86
86
 
87
- var es2018$c = {};
87
+ var es2018$b = {};
88
88
 
89
89
  var types = /*#__PURE__*/Object.freeze({
90
90
  __proto__: null
@@ -94,193 +94,193 @@ var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(types);
94
94
 
95
95
  var request$1 = {};
96
96
 
97
- var es2018$b = {};
97
+ var es2018$a = {};
98
98
 
99
- var array$2 = {};
99
+ var array$1 = {};
100
100
 
101
- array$2.isntEmptyArray = array$2.isEmptyArray = array$2.isntArray = array$2.isArray = void 0;
102
- function isArray$2(val) {
101
+ array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
102
+ function isArray$1(val) {
103
103
  return Array.isArray(val);
104
104
  }
105
- array$2.isArray = isArray$2;
106
- function isntArray$2(val) {
107
- return !isArray$2(val);
105
+ array$1.isArray = isArray$1;
106
+ function isntArray$1(val) {
107
+ return !isArray$1(val);
108
108
  }
109
- array$2.isntArray = isntArray$2;
110
- function isEmptyArray$2(val) {
109
+ array$1.isntArray = isntArray$1;
110
+ function isEmptyArray$1(val) {
111
111
  return val.length === 0;
112
112
  }
113
- array$2.isEmptyArray = isEmptyArray$2;
114
- function isntEmptyArray$2(val) {
113
+ array$1.isEmptyArray = isEmptyArray$1;
114
+ function isntEmptyArray$1(val) {
115
115
  return val.length !== 0;
116
116
  }
117
- array$2.isntEmptyArray = isntEmptyArray$2;
117
+ array$1.isntEmptyArray = isntEmptyArray$1;
118
118
 
119
- var asyncIterable$2 = {};
119
+ var asyncIterable$1 = {};
120
120
 
121
- var _null$2 = {};
121
+ var _null$1 = {};
122
122
 
123
- _null$2.isntNull = _null$2.isNull = void 0;
124
- function isNull$2(val) {
123
+ _null$1.isntNull = _null$1.isNull = void 0;
124
+ function isNull$1(val) {
125
125
  return val === null;
126
126
  }
127
- _null$2.isNull = isNull$2;
128
- function isntNull$2(val) {
129
- return !isNull$2(val);
127
+ _null$1.isNull = isNull$1;
128
+ function isntNull$1(val) {
129
+ return !isNull$1(val);
130
130
  }
131
- _null$2.isntNull = isntNull$2;
131
+ _null$1.isntNull = isntNull$1;
132
132
 
133
- var _undefined$2 = {};
133
+ var _undefined$1 = {};
134
134
 
135
- _undefined$2.isntUndefined = _undefined$2.isUndefined = void 0;
136
- function isUndefined$2(val) {
135
+ _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
136
+ function isUndefined$1(val) {
137
137
  return val === undefined;
138
138
  }
139
- _undefined$2.isUndefined = isUndefined$2;
140
- function isntUndefined$2(val) {
141
- return !isUndefined$2(val);
139
+ _undefined$1.isUndefined = isUndefined$1;
140
+ function isntUndefined$1(val) {
141
+ return !isUndefined$1(val);
142
142
  }
143
- _undefined$2.isntUndefined = isntUndefined$2;
143
+ _undefined$1.isntUndefined = isntUndefined$1;
144
144
 
145
- asyncIterable$2.isntAsyncIterable = asyncIterable$2.isAsyncIterable = void 0;
146
- const null_1$5 = _null$2;
147
- const undefined_1$8 = _undefined$2;
148
- function isAsyncIterable$2(val) {
149
- return (0, null_1$5.isntNull)(val)
150
- && (0, undefined_1$8.isntUndefined)(val)
145
+ asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
146
+ const null_1$3 = _null$1;
147
+ const undefined_1$5 = _undefined$1;
148
+ function isAsyncIterable$1(val) {
149
+ return (0, null_1$3.isntNull)(val)
150
+ && (0, undefined_1$5.isntUndefined)(val)
151
151
  && typeof val[Symbol.asyncIterator] === 'function';
152
152
  }
153
- asyncIterable$2.isAsyncIterable = isAsyncIterable$2;
154
- function isntAsyncIterable$2(val) {
155
- return !isAsyncIterable$2(val);
153
+ asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
154
+ function isntAsyncIterable$1(val) {
155
+ return !isAsyncIterable$1(val);
156
156
  }
157
- asyncIterable$2.isntAsyncIterable = isntAsyncIterable$2;
157
+ asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
158
158
 
159
- var bigint$2 = {};
159
+ var bigint$1 = {};
160
160
 
161
- bigint$2.isntBigInt = bigint$2.isBigInt = void 0;
162
- function isBigInt$2(val) {
161
+ bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
162
+ function isBigInt$1(val) {
163
163
  return typeof val === 'bigint';
164
164
  }
165
- bigint$2.isBigInt = isBigInt$2;
166
- function isntBigInt$2(val) {
167
- return !isBigInt$2(val);
165
+ bigint$1.isBigInt = isBigInt$1;
166
+ function isntBigInt$1(val) {
167
+ return !isBigInt$1(val);
168
168
  }
169
- bigint$2.isntBigInt = isntBigInt$2;
169
+ bigint$1.isntBigInt = isntBigInt$1;
170
170
 
171
- var boolean$2 = {};
171
+ var boolean$1 = {};
172
172
 
173
- boolean$2.isntBoolean = boolean$2.isBoolean = void 0;
174
- function isBoolean$2(val) {
173
+ boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
174
+ function isBoolean$1(val) {
175
175
  return typeof val === 'boolean';
176
176
  }
177
- boolean$2.isBoolean = isBoolean$2;
178
- function isntBoolean$2(val) {
179
- return !isBoolean$2(val);
177
+ boolean$1.isBoolean = isBoolean$1;
178
+ function isntBoolean$1(val) {
179
+ return !isBoolean$1(val);
180
180
  }
181
- boolean$2.isntBoolean = isntBoolean$2;
181
+ boolean$1.isntBoolean = isntBoolean$1;
182
182
 
183
- var char$2 = {};
183
+ var char$1 = {};
184
184
 
185
- var string$2 = {};
185
+ var string$1 = {};
186
186
 
187
- string$2.isntString = string$2.isString = void 0;
188
- function isString$2(val) {
187
+ string$1.isntString = string$1.isString = void 0;
188
+ function isString$1(val) {
189
189
  return typeof val === 'string';
190
190
  }
191
- string$2.isString = isString$2;
192
- function isntString$2(val) {
193
- return !isString$2(val);
191
+ string$1.isString = isString$1;
192
+ function isntString$1(val) {
193
+ return !isString$1(val);
194
194
  }
195
- string$2.isntString = isntString$2;
195
+ string$1.isntString = isntString$1;
196
196
 
197
- char$2.isntChar = char$2.isChar = void 0;
198
- const string_1$5 = string$2;
199
- function isChar$2(val) {
200
- return (0, string_1$5.isString)(val)
197
+ char$1.isntChar = char$1.isChar = void 0;
198
+ const string_1$3 = string$1;
199
+ function isChar$1(val) {
200
+ return (0, string_1$3.isString)(val)
201
201
  && val.length === 1;
202
202
  }
203
- char$2.isChar = isChar$2;
204
- function isntChar$2(val) {
205
- return !isChar$2(val);
203
+ char$1.isChar = isChar$1;
204
+ function isntChar$1(val) {
205
+ return !isChar$1(val);
206
206
  }
207
- char$2.isntChar = isntChar$2;
207
+ char$1.isntChar = isntChar$1;
208
208
 
209
- var date$2 = {};
209
+ var date$1 = {};
210
210
 
211
- date$2.isntDate = date$2.isDate = void 0;
212
- function isDate$2(val) {
211
+ date$1.isntDate = date$1.isDate = void 0;
212
+ function isDate$1(val) {
213
213
  return val instanceof Date;
214
214
  }
215
- date$2.isDate = isDate$2;
216
- function isntDate$2(val) {
217
- return !isDate$2(val);
215
+ date$1.isDate = isDate$1;
216
+ function isntDate$1(val) {
217
+ return !isDate$1(val);
218
218
  }
219
- date$2.isntDate = isntDate$2;
219
+ date$1.isntDate = isntDate$1;
220
220
 
221
- var _enum$3 = {};
221
+ var _enum$2 = {};
222
222
 
223
- _enum$3.inEnum = void 0;
224
- function inEnum$2(val, _enum) {
223
+ _enum$2.inEnum = void 0;
224
+ function inEnum$1(val, _enum) {
225
225
  return Object.values(_enum).includes(val);
226
226
  }
227
- _enum$3.inEnum = inEnum$2;
227
+ _enum$2.inEnum = inEnum$1;
228
228
 
229
- var error$2 = {};
229
+ var error$1 = {};
230
230
 
231
- error$2.isntError = error$2.isError = void 0;
232
- function isError$2(val) {
231
+ error$1.isntError = error$1.isError = void 0;
232
+ function isError$1(val) {
233
233
  return val instanceof Error;
234
234
  }
235
- error$2.isError = isError$2;
236
- function isntError$2(val) {
237
- return !isError$2(val);
235
+ error$1.isError = isError$1;
236
+ function isntError$1(val) {
237
+ return !isError$1(val);
238
238
  }
239
- error$2.isntError = isntError$2;
239
+ error$1.isntError = isntError$1;
240
240
 
241
- var falsy$2 = {};
241
+ var falsy$1 = {};
242
242
 
243
- falsy$2.isntFalsy = falsy$2.isFalsy = void 0;
244
- function isFalsy$2(val) {
243
+ falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
244
+ function isFalsy$1(val) {
245
245
  return !val;
246
246
  }
247
- falsy$2.isFalsy = isFalsy$2;
248
- function isntFalsy$2(val) {
249
- return !isFalsy$2(val);
247
+ falsy$1.isFalsy = isFalsy$1;
248
+ function isntFalsy$1(val) {
249
+ return !isFalsy$1(val);
250
250
  }
251
- falsy$2.isntFalsy = isntFalsy$2;
251
+ falsy$1.isntFalsy = isntFalsy$1;
252
252
 
253
- var _function$2 = {};
253
+ var _function$1 = {};
254
254
 
255
- _function$2.isntFunction = _function$2.isFunction = void 0;
256
- function isFunction$2(val) {
255
+ _function$1.isntFunction = _function$1.isFunction = void 0;
256
+ function isFunction$1(val) {
257
257
  return typeof val === 'function';
258
258
  }
259
- _function$2.isFunction = isFunction$2;
260
- function isntFunction$2(val) {
261
- return !isFunction$2(val);
259
+ _function$1.isFunction = isFunction$1;
260
+ function isntFunction$1(val) {
261
+ return !isFunction$1(val);
262
262
  }
263
- _function$2.isntFunction = isntFunction$2;
263
+ _function$1.isntFunction = isntFunction$1;
264
264
 
265
- var iterable$2 = {};
265
+ var iterable$1 = {};
266
266
 
267
- iterable$2.isntIterable = iterable$2.isIterable = void 0;
268
- const null_1$4 = _null$2;
269
- const undefined_1$7 = _undefined$2;
270
- function isIterable$2(val) {
271
- return (0, null_1$4.isntNull)(val)
272
- && (0, undefined_1$7.isntUndefined)(val)
267
+ iterable$1.isntIterable = iterable$1.isIterable = void 0;
268
+ const null_1$2 = _null$1;
269
+ const undefined_1$4 = _undefined$1;
270
+ function isIterable$1(val) {
271
+ return (0, null_1$2.isntNull)(val)
272
+ && (0, undefined_1$4.isntUndefined)(val)
273
273
  && typeof val[Symbol.iterator] === 'function';
274
274
  }
275
- iterable$2.isIterable = isIterable$2;
276
- function isntIterable$2(val) {
277
- return !isIterable$2(val);
275
+ iterable$1.isIterable = isIterable$1;
276
+ function isntIterable$1(val) {
277
+ return !isIterable$1(val);
278
278
  }
279
- iterable$2.isntIterable = isntIterable$2;
279
+ iterable$1.isntIterable = isntIterable$1;
280
280
 
281
- var jsonRpc$2 = {};
281
+ var jsonRpc$1 = {};
282
282
 
283
- var object$2 = {};
283
+ var object$1 = {};
284
284
 
285
285
  /**
286
286
  * lodash (Custom Build) <https://lodash.com/>
@@ -406,7 +406,7 @@ function isObjectLike(value) {
406
406
  * _.isPlainObject(Object.create(null));
407
407
  * // => true
408
408
  */
409
- function isPlainObject$3(value) {
409
+ function isPlainObject$2(value) {
410
410
  if (!isObjectLike(value) ||
411
411
  objectToString.call(value) != objectTag || isHostObject(value)) {
412
412
  return false;
@@ -420,119 +420,119 @@ function isPlainObject$3(value) {
420
420
  Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);
421
421
  }
422
422
 
423
- var lodash_isplainobject = isPlainObject$3;
423
+ var lodash_isplainobject = isPlainObject$2;
424
424
 
425
- var __importDefault$3 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
425
+ var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
426
426
  return (mod && mod.__esModule) ? mod : { "default": mod };
427
- };object$2.isntEmptyObject = object$2.isEmptyObject = object$2.isntPlainObject = object$2.isPlainObject = object$2.isntObject = object$2.isObject = void 0;
428
- const lodash_isplainobject_1$2 = __importDefault$3(lodash_isplainobject);
429
- function isObject$2(val) {
427
+ };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
428
+ const lodash_isplainobject_1$1 = __importDefault$2(lodash_isplainobject);
429
+ function isObject$1(val) {
430
430
  return val !== null
431
431
  && typeof val === 'object';
432
432
  }
433
- object$2.isObject = isObject$2;
434
- function isntObject$2(val) {
435
- return !isObject$2(val);
433
+ object$1.isObject = isObject$1;
434
+ function isntObject$1(val) {
435
+ return !isObject$1(val);
436
436
  }
437
- object$2.isntObject = isntObject$2;
438
- function isPlainObject$2(val) {
439
- return (0, lodash_isplainobject_1$2.default)(val);
437
+ object$1.isntObject = isntObject$1;
438
+ function isPlainObject$1(val) {
439
+ return (0, lodash_isplainobject_1$1.default)(val);
440
440
  }
441
- object$2.isPlainObject = isPlainObject$2;
442
- function isntPlainObject$2(val) {
443
- return !isPlainObject$2(val);
441
+ object$1.isPlainObject = isPlainObject$1;
442
+ function isntPlainObject$1(val) {
443
+ return !isPlainObject$1(val);
444
444
  }
445
- object$2.isntPlainObject = isntPlainObject$2;
446
- function isEmptyObject$2(val) {
445
+ object$1.isntPlainObject = isntPlainObject$1;
446
+ function isEmptyObject$1(val) {
447
447
  return Object.keys(val).length === 0;
448
448
  }
449
- object$2.isEmptyObject = isEmptyObject$2;
450
- function isntEmptyObject$2(val) {
449
+ object$1.isEmptyObject = isEmptyObject$1;
450
+ function isntEmptyObject$1(val) {
451
451
  return Object.keys(val).length !== 0;
452
452
  }
453
- object$2.isntEmptyObject = isntEmptyObject$2;
453
+ object$1.isntEmptyObject = isntEmptyObject$1;
454
454
 
455
- var number$2 = {};
455
+ var number$1 = {};
456
456
 
457
- number$2.isntNumber = number$2.isNumber = void 0;
458
- function isNumber$2(val) {
457
+ number$1.isntNumber = number$1.isNumber = void 0;
458
+ function isNumber$1(val) {
459
459
  return typeof val === 'number';
460
460
  }
461
- number$2.isNumber = isNumber$2;
462
- function isntNumber$2(val) {
463
- return !isNumber$2(val);
464
- }
465
- number$2.isntNumber = isntNumber$2;
466
-
467
- jsonRpc$2.isntJsonRpcError = jsonRpc$2.isJsonRpcError = jsonRpc$2.isntJsonRpcSuccess = jsonRpc$2.isJsonRpcSuccess = jsonRpc$2.isntJsonRpcRequest = jsonRpc$2.isJsonRpcRequest = jsonRpc$2.isntJsonRpcNotification = jsonRpc$2.isJsonRpcNotification = void 0;
468
- const array_1$2 = array$2;
469
- const object_1$2 = object$2;
470
- const string_1$4 = string$2;
471
- const number_1$2 = number$2;
472
- const undefined_1$6 = _undefined$2;
473
- function isJsonRpcId$2(val) {
474
- return (0, string_1$4.isString)(val) || (0, number_1$2.isNumber)(val);
475
- }
476
- function isJsonRpcParams$2(val) {
477
- return (0, array_1$2.isArray)(val) || (0, object_1$2.isObject)(val);
478
- }
479
- function isJsonRpcNotification$2(val) {
480
- return (0, object_1$2.isPlainObject)(val)
481
- && (0, string_1$4.isString)(val.jsonrpc)
482
- && (0, string_1$4.isString)(val.method)
483
- && (0, undefined_1$6.isUndefined)(val.id)
484
- && isJsonRpcParams$2(val.params);
485
- }
486
- jsonRpc$2.isJsonRpcNotification = isJsonRpcNotification$2;
487
- function isntJsonRpcNotification$2(val) {
488
- return !isJsonRpcNotification$2(val);
489
- }
490
- jsonRpc$2.isntJsonRpcNotification = isntJsonRpcNotification$2;
491
- function isJsonRpcRequest$2(val) {
492
- return (0, object_1$2.isPlainObject)(val)
493
- && (0, string_1$4.isString)(val.jsonrpc)
494
- && (0, string_1$4.isString)(val.method)
495
- && isJsonRpcId$2(val.id)
496
- && isJsonRpcParams$2(val.params);
497
- }
498
- jsonRpc$2.isJsonRpcRequest = isJsonRpcRequest$2;
499
- function isntJsonRpcRequest$2(val) {
500
- return !isJsonRpcRequest$2(val);
501
- }
502
- jsonRpc$2.isntJsonRpcRequest = isntJsonRpcRequest$2;
503
- function isJsonRpcSuccess$2(val) {
504
- return (0, object_1$2.isPlainObject)(val)
505
- && (0, string_1$4.isString)(val.jsonrpc)
506
- && (0, string_1$4.isString)(val.id)
461
+ number$1.isNumber = isNumber$1;
462
+ function isntNumber$1(val) {
463
+ return !isNumber$1(val);
464
+ }
465
+ number$1.isntNumber = isntNumber$1;
466
+
467
+ jsonRpc$1.isntJsonRpcError = jsonRpc$1.isJsonRpcError = jsonRpc$1.isntJsonRpcSuccess = jsonRpc$1.isJsonRpcSuccess = jsonRpc$1.isntJsonRpcRequest = jsonRpc$1.isJsonRpcRequest = jsonRpc$1.isntJsonRpcNotification = jsonRpc$1.isJsonRpcNotification = void 0;
468
+ const array_1$1 = array$1;
469
+ const object_1$1 = object$1;
470
+ const string_1$2 = string$1;
471
+ const number_1$1 = number$1;
472
+ const undefined_1$3 = _undefined$1;
473
+ function isJsonRpcId$1(val) {
474
+ return (0, string_1$2.isString)(val) || (0, number_1$1.isNumber)(val);
475
+ }
476
+ function isJsonRpcParams$1(val) {
477
+ return (0, array_1$1.isArray)(val) || (0, object_1$1.isObject)(val);
478
+ }
479
+ function isJsonRpcNotification$1(val) {
480
+ return (0, object_1$1.isPlainObject)(val)
481
+ && (0, string_1$2.isString)(val.jsonrpc)
482
+ && (0, string_1$2.isString)(val.method)
483
+ && (0, undefined_1$3.isUndefined)(val.id)
484
+ && isJsonRpcParams$1(val.params);
485
+ }
486
+ jsonRpc$1.isJsonRpcNotification = isJsonRpcNotification$1;
487
+ function isntJsonRpcNotification$1(val) {
488
+ return !isJsonRpcNotification$1(val);
489
+ }
490
+ jsonRpc$1.isntJsonRpcNotification = isntJsonRpcNotification$1;
491
+ function isJsonRpcRequest$1(val) {
492
+ return (0, object_1$1.isPlainObject)(val)
493
+ && (0, string_1$2.isString)(val.jsonrpc)
494
+ && (0, string_1$2.isString)(val.method)
495
+ && isJsonRpcId$1(val.id)
496
+ && isJsonRpcParams$1(val.params);
497
+ }
498
+ jsonRpc$1.isJsonRpcRequest = isJsonRpcRequest$1;
499
+ function isntJsonRpcRequest$1(val) {
500
+ return !isJsonRpcRequest$1(val);
501
+ }
502
+ jsonRpc$1.isntJsonRpcRequest = isntJsonRpcRequest$1;
503
+ function isJsonRpcSuccess$1(val) {
504
+ return (0, object_1$1.isPlainObject)(val)
505
+ && (0, string_1$2.isString)(val.jsonrpc)
506
+ && (0, string_1$2.isString)(val.id)
507
507
  && 'result' in val;
508
508
  }
509
- jsonRpc$2.isJsonRpcSuccess = isJsonRpcSuccess$2;
510
- function isntJsonRpcSuccess$2(val) {
511
- return !isJsonRpcSuccess$2(val);
509
+ jsonRpc$1.isJsonRpcSuccess = isJsonRpcSuccess$1;
510
+ function isntJsonRpcSuccess$1(val) {
511
+ return !isJsonRpcSuccess$1(val);
512
512
  }
513
- jsonRpc$2.isntJsonRpcSuccess = isntJsonRpcSuccess$2;
514
- function isJsonRpcError$2(val) {
515
- return (0, object_1$2.isPlainObject)(val)
516
- && (0, string_1$4.isString)(val.jsonrpc)
517
- && isJsonRpcId$2(val.id)
518
- && isJsonRpcErrorObject$2(val.error);
513
+ jsonRpc$1.isntJsonRpcSuccess = isntJsonRpcSuccess$1;
514
+ function isJsonRpcError$1(val) {
515
+ return (0, object_1$1.isPlainObject)(val)
516
+ && (0, string_1$2.isString)(val.jsonrpc)
517
+ && isJsonRpcId$1(val.id)
518
+ && isJsonRpcErrorObject$1(val.error);
519
519
  }
520
- jsonRpc$2.isJsonRpcError = isJsonRpcError$2;
521
- function isntJsonRpcError$2(val) {
522
- return !isJsonRpcError$2(val);
520
+ jsonRpc$1.isJsonRpcError = isJsonRpcError$1;
521
+ function isntJsonRpcError$1(val) {
522
+ return !isJsonRpcError$1(val);
523
523
  }
524
- jsonRpc$2.isntJsonRpcError = isntJsonRpcError$2;
525
- function isJsonRpcErrorObject$2(val) {
526
- return (0, object_1$2.isPlainObject)(val)
527
- && (0, number_1$2.isNumber)(val.code)
528
- && (0, string_1$4.isString)(val.message)
529
- && ((0, undefined_1$6.isUndefined)(val.data) || (0, object_1$2.isObject)(val.data));
524
+ jsonRpc$1.isntJsonRpcError = isntJsonRpcError$1;
525
+ function isJsonRpcErrorObject$1(val) {
526
+ return (0, object_1$1.isPlainObject)(val)
527
+ && (0, number_1$1.isNumber)(val.code)
528
+ && (0, string_1$2.isString)(val.message)
529
+ && ((0, undefined_1$3.isUndefined)(val.data) || (0, object_1$1.isObject)(val.data));
530
530
  }
531
531
 
532
- var json$4 = {};
532
+ var json$3 = {};
533
533
 
534
- json$4.isntJson = json$4.isJson = void 0;
535
- function isJson$2(val) {
534
+ json$3.isntJson = json$3.isJson = void 0;
535
+ function isJson$1(val) {
536
536
  try {
537
537
  JSON.stringify(val);
538
538
  return true;
@@ -541,16 +541,16 @@ function isJson$2(val) {
541
541
  return false;
542
542
  }
543
543
  }
544
- json$4.isJson = isJson$2;
545
- function isntJson$2(val) {
546
- return !isntJson$2();
544
+ json$3.isJson = isJson$1;
545
+ function isntJson$1(val) {
546
+ return !isntJson$1();
547
547
  }
548
- json$4.isntJson = isntJson$2;
548
+ json$3.isntJson = isntJson$1;
549
549
 
550
- var url$4 = {};
550
+ var url$3 = {};
551
551
 
552
- url$4.isAbsoluteURL = void 0;
553
- function isAbsoluteURL$2(str) {
552
+ url$3.isAbsoluteURL = void 0;
553
+ function isAbsoluteURL$1(str) {
554
554
  try {
555
555
  new URL(str);
556
556
  return true;
@@ -559,7 +559,7 @@ function isAbsoluteURL$2(str) {
559
559
  return false;
560
560
  }
561
561
  }
562
- url$4.isAbsoluteURL = isAbsoluteURL$2;
562
+ url$3.isAbsoluteURL = isAbsoluteURL$1;
563
563
 
564
564
  (function (exports) {
565
565
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -571,31 +571,31 @@ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Obj
571
571
  }));
572
572
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
573
573
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
574
- };__exportStar(array$2, exports);
575
- __exportStar(asyncIterable$2, exports);
576
- __exportStar(bigint$2, exports);
577
- __exportStar(boolean$2, exports);
578
- __exportStar(char$2, exports);
579
- __exportStar(date$2, exports);
580
- __exportStar(_enum$3, exports);
581
- __exportStar(error$2, exports);
582
- __exportStar(falsy$2, exports);
583
- __exportStar(_function$2, exports);
584
- __exportStar(iterable$2, exports);
585
- __exportStar(jsonRpc$2, exports);
586
- __exportStar(json$4, exports);
587
- __exportStar(_null$2, exports);
588
- __exportStar(number$2, exports);
589
- __exportStar(object$2, exports);
590
- __exportStar(string$2, exports);
591
- __exportStar(_undefined$2, exports);
592
- __exportStar(url$4, exports);
574
+ };__exportStar(array$1, exports);
575
+ __exportStar(asyncIterable$1, exports);
576
+ __exportStar(bigint$1, exports);
577
+ __exportStar(boolean$1, exports);
578
+ __exportStar(char$1, exports);
579
+ __exportStar(date$1, exports);
580
+ __exportStar(_enum$2, exports);
581
+ __exportStar(error$1, exports);
582
+ __exportStar(falsy$1, exports);
583
+ __exportStar(_function$1, exports);
584
+ __exportStar(iterable$1, exports);
585
+ __exportStar(jsonRpc$1, exports);
586
+ __exportStar(json$3, exports);
587
+ __exportStar(_null$1, exports);
588
+ __exportStar(number$1, exports);
589
+ __exportStar(object$1, exports);
590
+ __exportStar(string$1, exports);
591
+ __exportStar(_undefined$1, exports);
592
+ __exportStar(url$3, exports);
593
593
 
594
- }(es2018$b));
594
+ }(es2018$a));
595
595
 
596
596
  request$1.del = request$1.patch = request$1.put = request$1.post = request$1.head = request$1.get = void 0;
597
- const extra_fetch_1$7 = es2018$d;
598
- const types_1$n = es2018$b;
597
+ const extra_fetch_1$7 = es2018$c;
598
+ const types_1$n = es2018$a;
599
599
  function get(...transformers) {
600
600
  return request('GET', ...transformers);
601
601
  }
@@ -648,14 +648,14 @@ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m
648
648
  };__exportStar(require$$0$1, exports);
649
649
  __exportStar(request$1, exports);
650
650
 
651
- }(es2018$c));
651
+ }(es2018$b));
652
652
 
653
653
  var transformers = {};
654
654
 
655
- var url$3 = {};
655
+ var url$2 = {};
656
656
 
657
- url$3.url = void 0;
658
- function url$2(...urls) {
657
+ url$2.url = void 0;
658
+ function url$1(...urls) {
659
659
  return (options) => {
660
660
  const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
661
661
  return {
@@ -664,12 +664,12 @@ function url$2(...urls) {
664
664
  };
665
665
  };
666
666
  }
667
- url$3.url = url$2;
667
+ url$2.url = url$1;
668
668
 
669
669
  var text$1 = {};
670
670
 
671
671
  text$1.text = void 0;
672
- const extra_fetch_1$6 = es2018$d;
672
+ const extra_fetch_1$6 = es2018$c;
673
673
  function text(payload) {
674
674
  return (options) => {
675
675
  const headers = new extra_fetch_1$6.Headers(options.headers);
@@ -683,11 +683,11 @@ function text(payload) {
683
683
  }
684
684
  text$1.text = text;
685
685
 
686
- var json$3 = {};
686
+ var json$2 = {};
687
687
 
688
- json$3.json = void 0;
689
- const extra_fetch_1$5 = es2018$d;
690
- function json$2(payload) {
688
+ json$2.json = void 0;
689
+ const extra_fetch_1$5 = es2018$c;
690
+ function json$1(payload) {
691
691
  return (options) => {
692
692
  const headers = new extra_fetch_1$5.Headers(options.headers);
693
693
  headers.set('Content-Type', 'application/json');
@@ -698,7 +698,7 @@ function json$2(payload) {
698
698
  };
699
699
  };
700
700
  }
701
- json$3.json = json$2;
701
+ json$2.json = json$1;
702
702
 
703
703
  var csv$1 = {};
704
704
 
@@ -715,7 +715,7 @@ License: MIT
715
715
  !function(e,t){module.exports=t();}(commonjsGlobal,function s(){var f="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==f?f:{};var n=!f.document&&!!f.postMessage,o=n&&/blob:/i.test((f.location||{}).protocol),a={},h=0,b={parse:function(e,t){var i=(t=t||{}).dynamicTyping||!1;M(i)&&(t.dynamicTypingFunction=i,i={});if(t.dynamicTyping=i,t.transform=!!M(t.transform)&&t.transform,t.worker&&b.WORKERS_SUPPORTED){var r=function(){if(!b.WORKERS_SUPPORTED)return !1;var e=(i=f.URL||f.webkitURL||null,r=s.toString(),b.BLOB_URL||(b.BLOB_URL=i.createObjectURL(new Blob(["(",r,")();"],{type:"text/javascript"})))),t=new f.Worker(e);var i,r;return t.onmessage=_,t.id=h++,a[t.id]=t}();return r.userStep=t.step,r.userChunk=t.chunk,r.userComplete=t.complete,r.userError=t.error,t.step=M(t.step),t.chunk=M(t.chunk),t.complete=M(t.complete),t.error=M(t.error),delete t.worker,void r.postMessage({input:e,config:t,workerId:r.id})}var n=null;b.NODE_STREAM_INPUT,"string"==typeof e?n=t.download?new l(t):new p(t):!0===e.readable&&M(e.read)&&M(e.on)?n=new g(t):(f.File&&e instanceof File||e instanceof Object)&&(n=new c(t));return n.stream(e)},unparse:function(e,t){var n=!1,_=!0,m=",",y="\r\n",s='"',a=s+s,i=!1,r=null,o=!1;!function(){if("object"!=typeof t)return;"string"!=typeof t.delimiter||b.BAD_DELIMITERS.filter(function(e){return -1!==t.delimiter.indexOf(e)}).length||(m=t.delimiter);("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes);"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(i=t.skipEmptyLines);"string"==typeof t.newline&&(y=t.newline);"string"==typeof t.quoteChar&&(s=t.quoteChar);"boolean"==typeof t.header&&(_=t.header);if(Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");r=t.columns;}void 0!==t.escapeChar&&(a=t.escapeChar+s);"boolean"==typeof t.escapeFormulae&&(o=t.escapeFormulae);}();var h=new RegExp(j(s),"g");"string"==typeof e&&(e=JSON.parse(e));if(Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return u(null,e,i);if("object"==typeof e[0])return u(r||Object.keys(e[0]),e,i)}else if("object"==typeof e)return "string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),u(e.fields||[],e.data||[],i);throw new Error("Unable to serialize unrecognized input");function u(e,t,i){var r="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var n=Array.isArray(e)&&0<e.length,s=!Array.isArray(t[0]);if(n&&_){for(var a=0;a<e.length;a++)0<a&&(r+=m),r+=v(e[a],a);0<t.length&&(r+=y);}for(var o=0;o<t.length;o++){var h=n?e.length:t[o].length,u=!1,f=n?0===Object.keys(t[o]).length:0===t[o].length;if(i&&!n&&(u="greedy"===i?""===t[o].join("").trim():1===t[o].length&&0===t[o][0].length),"greedy"===i&&n){for(var d=[],l=0;l<h;l++){var c=s?e[l]:l;d.push(t[o][c]);}u=""===d.join("").trim();}if(!u){for(var p=0;p<h;p++){0<p&&!f&&(r+=m);var g=n&&s?e[p]:p;r+=v(t[o][g],p);}o<t.length-1&&(!i||0<h&&!f)&&(r+=y);}}return r}function v(e,t){if(null==e)return "";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);!0===o&&"string"==typeof e&&null!==e.match(/^[=+\-@].*$/)&&(e="'"+e);var i=e.toString().replace(h,a),r="boolean"==typeof n&&n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var i=0;i<t.length;i++)if(-1<e.indexOf(t[i]))return !0;return !1}(i,b.BAD_DELIMITERS)||-1<i.indexOf(m)||" "===i.charAt(0)||" "===i.charAt(i.length-1);return r?s+i+s:i}}};if(b.RECORD_SEP=String.fromCharCode(30),b.UNIT_SEP=String.fromCharCode(31),b.BYTE_ORDER_MARK="\ufeff",b.BAD_DELIMITERS=["\r","\n",'"',b.BYTE_ORDER_MARK],b.WORKERS_SUPPORTED=!n&&!!f.Worker,b.NODE_STREAM_INPUT=1,b.LocalChunkSize=10485760,b.RemoteChunkSize=5242880,b.DefaultDelimiter=",",b.Parser=E,b.ParserHandle=i,b.NetworkStreamer=l,b.FileStreamer=c,b.StringStreamer=p,b.ReadableStreamStreamer=g,f.jQuery){var d=f.jQuery;d.fn.parse=function(o){var i=o.config||{},h=[];return this.each(function(e){if(!("INPUT"===d(this).prop("tagName").toUpperCase()&&"file"===d(this).attr("type").toLowerCase()&&f.FileReader)||!this.files||0===this.files.length)return !0;for(var t=0;t<this.files.length;t++)h.push({file:this.files[t],inputElem:this,instanceConfig:d.extend({},i)});}),e(),this;function e(){if(0!==h.length){var e,t,i,r,n=h[0];if(M(o.before)){var s=o.before(n.file,n.inputElem);if("object"==typeof s){if("abort"===s.action)return e="AbortError",t=n.file,i=n.inputElem,r=s.reason,void(M(o.error)&&o.error({name:e},t,i,r));if("skip"===s.action)return void u();"object"==typeof s.config&&(n.instanceConfig=d.extend(n.instanceConfig,s.config));}else if("skip"===s)return void u()}var a=n.instanceConfig.complete;n.instanceConfig.complete=function(e){M(a)&&a(e,n.file,n.inputElem),u();},b.parse(n.file,n.instanceConfig);}else M(o.complete)&&o.complete();}function u(){h.splice(0,1),e();}};}function u(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=w(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null);this._handle=new i(t),(this._handle.streamer=this)._config=t;}.call(this,e),this.parseChunk=function(e,t){if(this.isFirstChunk&&M(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(e);void 0!==i&&(e=i);}this.isFirstChunk=!1,this._halted=!1;var r=this._partialLine+e;this._partialLine="";var n=this._handle.parse(r,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var s=n.meta.cursor;this._finished||(this._partialLine=r.substring(s-this._baseIndex),this._baseIndex=s),n&&n.data&&(this._rowCount+=n.data.length);var a=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(o)f.postMessage({results:n,workerId:b.WORKER_ID,finished:a});else if(M(this._config.chunk)&&!t){if(this._config.chunk(n,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);n=void 0,this._completeResults=void 0;}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),this._completed||!a||!M(this._config.complete)||n&&n.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),a||n&&n.meta.paused||this._nextChunk(),n}this._halted=!0;},this._sendError=function(e){M(this._config.error)?this._config.error(e):o&&this._config.error&&f.postMessage({workerId:b.WORKER_ID,error:e,finished:!1});};}function l(e){var r;(e=e||{}).chunkSize||(e.chunkSize=b.RemoteChunkSize),u.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded();}:function(){this._readChunk();},this.stream=function(e){this._input=e,this._nextChunk();},this._readChunk=function(){if(this._finished)this._chunkLoaded();else {if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),n||(r.onload=v(this._chunkLoaded,this),r.onerror=v(this._chunkError,this)),r.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var t in e)r.setRequestHeader(t,e[t]);}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+i);}try{r.send(this._config.downloadRequestBody);}catch(e){this._chunkError(e.message);}n&&0===r.status&&this._chunkError();}},this._chunkLoaded=function(){4===r.readyState&&(r.status<200||400<=r.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:r.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");if(null===t)return -1;return parseInt(t.substring(t.lastIndexOf("/")+1))}(r),this.parseChunk(r.responseText)));},this._chunkError=function(e){var t=r.statusText||e;this._sendError(new Error(t));};}function c(e){var r,n;(e=e||{}).chunkSize||(e.chunkSize=b.LocalChunkSize),u.call(this,e);var s="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,s?((r=new FileReader).onload=v(this._chunkLoaded,this),r.onerror=v(this._chunkError,this)):r=new FileReaderSync,this._nextChunk();},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk();},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var t=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,t);}var i=r.readAsText(e,this._config.encoding);s||this._chunkLoaded({target:{result:i}});},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result);},this._chunkError=function(){this._sendError(r.error);};}function p(e){var i;u.call(this,e=e||{}),this.stream=function(e){return i=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,t=this._config.chunkSize;return t?(e=i.substring(0,t),i=i.substring(t)):(e=i,i=""),this._finished=!i,this.parseChunk(e)}};}function g(e){u.call(this,e=e||{});var t=[],i=!0,r=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause();},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume();},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError);},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0);},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):i=!0;},this._streamData=v(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(t.shift()));}catch(e){this._streamError(e);}},this),this._streamError=v(function(e){this._streamCleanUp(),this._sendError(e);},this),this._streamEnd=v(function(){this._streamCleanUp(),r=!0,this._streamData("");},this),this._streamCleanUp=v(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError);},this);}function i(m){var a,o,h,r=Math.pow(2,53),n=-r,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,u=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,t=this,i=0,f=0,d=!1,e=!1,l=[],c={data:[],errors:[],meta:{}};if(M(m.step)){var p=m.step;m.step=function(e){if(c=e,_())g();else {if(g(),0===c.data.length)return;i+=e.data.length,m.preview&&i>m.preview?o.abort():(c.data=c.data[0],p(c,t));}};}function y(e){return "greedy"===m.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function g(){if(c&&h&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+b.DefaultDelimiter+"'"),h=!1),m.skipEmptyLines)for(var e=0;e<c.data.length;e++)y(c.data[e])&&c.data.splice(e--,1);return _()&&function(){if(!c)return;function e(e,t){M(m.transformHeader)&&(e=m.transformHeader(e,t)),l.push(e);}if(Array.isArray(c.data[0])){for(var t=0;_()&&t<c.data.length;t++)c.data[t].forEach(e);c.data.splice(0,1);}else c.data.forEach(e);}(),function(){if(!c||!m.header&&!m.dynamicTyping&&!m.transform)return c;function e(e,t){var i,r=m.header?{}:[];for(i=0;i<e.length;i++){var n=i,s=e[i];m.header&&(n=i>=l.length?"__parsed_extra":l[i]),m.transform&&(s=m.transform(s,n)),s=v(n,s),"__parsed_extra"===n?(r[n]=r[n]||[],r[n].push(s)):r[n]=s;}return m.header&&(i>l.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+l.length+" fields but parsed "+i,f+t):i<l.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+l.length+" fields but parsed "+i,f+t)),r}var t=1;!c.data.length||Array.isArray(c.data[0])?(c.data=c.data.map(e),t=c.data.length):c.data=e(c.data,0);m.header&&c.meta&&(c.meta.fields=l);return f+=t,c}()}function _(){return m.header&&0===l.length}function v(e,t){return i=e,m.dynamicTypingFunction&&void 0===m.dynamicTyping[i]&&(m.dynamicTyping[i]=m.dynamicTypingFunction(i)),!0===(m.dynamicTyping[i]||m.dynamicTyping)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&(function(e){if(s.test(e)){var t=parseFloat(e);if(n<t&&t<r)return !0}return !1}(t)?parseFloat(t):u.test(t)?new Date(t):""===t?null:t):t;var i;}function k(e,t,i,r){var n={type:e,code:t,message:i};void 0!==r&&(n.row=r),c.errors.push(n);}this.parse=function(e,t,i){var r=m.quoteChar||'"';if(m.newline||(m.newline=function(e,t){e=e.substring(0,1048576);var i=new RegExp(j(t)+"([^]*?)"+j(t),"gm"),r=(e=e.replace(i,"")).split("\r"),n=e.split("\n"),s=1<n.length&&n[0].length<r[0].length;if(1===r.length||s)return "\n";for(var a=0,o=0;o<r.length;o++)"\n"===r[o][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(e,r)),h=!1,m.delimiter)M(m.delimiter)&&(m.delimiter=m.delimiter(e),c.meta.delimiter=m.delimiter);else {var n=function(e,t,i,r,n){var s,a,o,h;n=n||[",","\t","|",";",b.RECORD_SEP,b.UNIT_SEP];for(var u=0;u<n.length;u++){var f=n[u],d=0,l=0,c=0;o=void 0;for(var p=new E({comments:r,delimiter:f,newline:t,preview:10}).parse(e),g=0;g<p.data.length;g++)if(i&&y(p.data[g]))c++;else {var _=p.data[g].length;l+=_,void 0!==o?0<_&&(d+=Math.abs(_-o),o=_):o=_;}0<p.data.length&&(l/=p.data.length-c),(void 0===a||d<=a)&&(void 0===h||h<l)&&1.99<l&&(a=d,s=f,h=l);}return {successful:!!(m.delimiter=s),bestDelimiter:s}}(e,m.newline,m.skipEmptyLines,m.comments,m.delimitersToGuess);n.successful?m.delimiter=n.bestDelimiter:(h=!0,m.delimiter=b.DefaultDelimiter),c.meta.delimiter=m.delimiter;}var s=w(m);return m.preview&&m.header&&s.preview++,a=e,o=new E(s),c=o.parse(a,t,i),g(),d?{meta:{paused:!0}}:c||{meta:{paused:!1}}},this.paused=function(){return d},this.pause=function(){d=!0,o.abort(),a=M(m.chunk)?"":a.substring(o.getCharIndex());},this.resume=function(){t.streamer._halted?(d=!1,t.streamer.parseChunk(a,!0)):setTimeout(t.resume,3);},this.aborted=function(){return e},this.abort=function(){e=!0,o.abort(),c.meta.aborted=!0,M(m.complete)&&m.complete(c),a="";};}function j(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(e){var S,O=(e=e||{}).delimiter,x=e.newline,I=e.comments,T=e.step,D=e.preview,A=e.fastMode,L=S=void 0===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(L=e.escapeChar),("string"!=typeof O||-1<b.BAD_DELIMITERS.indexOf(O))&&(O=","),I===O)throw new Error("Comment character same as delimiter");!0===I?I="#":("string"!=typeof I||-1<b.BAD_DELIMITERS.indexOf(I))&&(I=!1),"\n"!==x&&"\r"!==x&&"\r\n"!==x&&(x="\n");var F=0,z=!1;this.parse=function(r,t,i){if("string"!=typeof r)throw new Error("Input must be a string");var n=r.length,e=O.length,s=x.length,a=I.length,o=M(T),h=[],u=[],f=[],d=F=0;if(!r)return C();if(A||!1!==A&&-1===r.indexOf(S)){for(var l=r.split(x),c=0;c<l.length;c++){if(f=l[c],F+=f.length,c!==l.length-1)F+=x.length;else if(i)return C();if(!I||f.substring(0,a)!==I){if(o){if(h=[],k(f.split(O)),R(),z)return C()}else k(f.split(O));if(D&&D<=c)return h=h.slice(0,D),C(!0)}}return C()}for(var p=r.indexOf(O,F),g=r.indexOf(x,F),_=new RegExp(j(L)+j(S),"g"),m=r.indexOf(S,F);;)if(r[F]!==S)if(I&&0===f.length&&r.substring(F,F+a)===I){if(-1===g)return C();F=g+s,g=r.indexOf(x,F),p=r.indexOf(O,F);}else if(-1!==p&&(p<g||-1===g))f.push(r.substring(F,p)),F=p+e,p=r.indexOf(O,F);else {if(-1===g)break;if(f.push(r.substring(F,g)),w(g+s),o&&(R(),z))return C();if(D&&h.length>=D)return C(!0)}else for(m=F,F++;;){if(-1===(m=r.indexOf(S,m+1)))return i||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:h.length,index:F}),E();if(m===n-1)return E(r.substring(F,m).replace(_,S));if(S!==L||r[m+1]!==L){if(S===L||0===m||r[m-1]!==L){-1!==p&&p<m+1&&(p=r.indexOf(O,m+1)),-1!==g&&g<m+1&&(g=r.indexOf(x,m+1));var y=b(-1===g?p:Math.min(p,g));if(r[m+1+y]===O){f.push(r.substring(F,m).replace(_,S)),r[F=m+1+y+e]!==S&&(m=r.indexOf(S,F)),p=r.indexOf(O,F),g=r.indexOf(x,F);break}var v=b(g);if(r.substring(m+1+v,m+1+v+s)===x){if(f.push(r.substring(F,m).replace(_,S)),w(m+1+v+s),p=r.indexOf(O,F),m=r.indexOf(S,F),o&&(R(),z))return C();if(D&&h.length>=D)return C(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:h.length,index:F}),m++;}}else m++;}return E();function k(e){h.push(e),d=F;}function b(e){var t=0;if(-1!==e){var i=r.substring(m+1,e);i&&""===i.trim()&&(t=i.length);}return t}function E(e){return i||(void 0===e&&(e=r.substring(F)),f.push(e),F=n,k(f),o&&R()),C()}function w(e){F=e,k(f),f=[],g=r.indexOf(x,F);}function C(e){return {data:h,errors:u,meta:{delimiter:O,linebreak:x,aborted:z,truncated:!!e,cursor:d+(t||0)}}}function R(){T(C()),h=[],u=[];}},this.abort=function(){z=!0;},this.getCharIndex=function(){return F};}function _(e){var t=e.data,i=a[t.workerId],r=!1;if(t.error)i.userError(t.error,t.file);else if(t.results&&t.results.data){var n={abort:function(){r=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}});},pause:y,resume:y};if(M(i.userStep)){for(var s=0;s<t.results.data.length&&(i.userStep({data:t.results.data[s],errors:t.results.errors,meta:t.results.meta},n),!r);s++);delete t.results;}else M(i.userChunk)&&(i.userChunk(t.results,n,t.file),delete t.results);}t.finished&&!r&&m(t.workerId,t.results);}function m(e,t){var i=a[e];M(i.userComplete)&&i.userComplete(t),i.terminate(),delete a[e];}function y(){throw new Error("Not implemented.")}function w(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var i in e)t[i]=w(e[i]);return t}function v(e,t){return function(){e.apply(t,arguments);}}function M(e){return "function"==typeof e}return o&&(f.onmessage=function(e){var t=e.data;void 0===b.WORKER_ID&&t&&(b.WORKER_ID=t.workerId);if("string"==typeof t.input)f.postMessage({workerId:b.WORKER_ID,results:b.parse(t.input,t.config),finished:!0});else if(f.File&&t.input instanceof File||t.input instanceof Object){var i=b.parse(t.input,t.config);i&&f.postMessage({workerId:b.WORKER_ID,results:i,finished:!0});}}),(l.prototype=Object.create(u.prototype)).constructor=l,(c.prototype=Object.create(u.prototype)).constructor=c,(p.prototype=Object.create(p.prototype)).constructor=p,(g.prototype=Object.create(u.prototype)).constructor=g,b});
716
716
  }(papaparse_min));
717
717
 
718
- var es2018$a = {};
718
+ var es2018$9 = {};
719
719
 
720
720
  var customError$3 = {};
721
721
 
@@ -793,12 +793,12 @@ __exportStar(normalize$7, exports);
793
793
  __exportStar(refute$5, exports);
794
794
  __exportStar(assert$7, exports);
795
795
 
796
- }(es2018$a));
796
+ }(es2018$9));
797
797
 
798
798
  csv$1.csv = void 0;
799
- const extra_fetch_1$4 = es2018$d;
799
+ const extra_fetch_1$4 = es2018$c;
800
800
  const papaparse_1$1 = papaparse_min.exports;
801
- const errors_1$i = es2018$a;
801
+ const errors_1$i = es2018$9;
802
802
  function csv(payload) {
803
803
  (0, errors_1$i.assert)(payload.length > 0, 'payload must be a non-empty array');
804
804
  return (options) => {
@@ -833,7 +833,7 @@ signal$1.signal = signal;
833
833
  var header$1 = {};
834
834
 
835
835
  header$1.header = void 0;
836
- const extra_fetch_1$3 = es2018$d;
836
+ const extra_fetch_1$3 = es2018$c;
837
837
  function header(name, value) {
838
838
  return (options) => {
839
839
  const headers = new extra_fetch_1$3.Headers(options.headers);
@@ -849,7 +849,7 @@ header$1.header = header;
849
849
  var appendHeader$1 = {};
850
850
 
851
851
  appendHeader$1.appendHeader = void 0;
852
- const extra_fetch_1$2 = es2018$d;
852
+ const extra_fetch_1$2 = es2018$c;
853
853
  function appendHeader(name, value) {
854
854
  return (options) => {
855
855
  const headers = new extra_fetch_1$2.Headers(options.headers);
@@ -865,7 +865,7 @@ appendHeader$1.appendHeader = appendHeader;
865
865
  var headers$1 = {};
866
866
 
867
867
  headers$1.headers = void 0;
868
- const extra_fetch_1$1 = es2018$d;
868
+ const extra_fetch_1$1 = es2018$c;
869
869
  function headers(headers) {
870
870
  return (options) => {
871
871
  const newHeaders = new extra_fetch_1$1.Headers(options.headers);
@@ -1005,8 +1005,8 @@ appendSearchParam$1.appendSearchParam = appendSearchParam;
1005
1005
  var formDataField$1 = {};
1006
1006
 
1007
1007
  formDataField$1.formDataField = void 0;
1008
- const extra_fetch_1 = es2018$d;
1009
- const types_1$m = es2018$b;
1008
+ const extra_fetch_1 = es2018$c;
1009
+ const types_1$m = es2018$a;
1010
1010
  function formDataField(name, value) {
1011
1011
  return (options) => {
1012
1012
  const formData = options.payload instanceof extra_fetch_1.FormData
@@ -1378,9 +1378,9 @@ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Obj
1378
1378
  }));
1379
1379
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
1380
1380
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
1381
- };__exportStar(url$3, exports);
1381
+ };__exportStar(url$2, exports);
1382
1382
  __exportStar(text$1, exports);
1383
- __exportStar(json$3, exports);
1383
+ __exportStar(json$2, exports);
1384
1384
  __exportStar(csv$1, exports);
1385
1385
  __exportStar(signal$1, exports);
1386
1386
  __exportStar(header$1, exports);
@@ -1401,7 +1401,7 @@ __exportStar(keepalive$1, exports);
1401
1401
 
1402
1402
  }(transformers));
1403
1403
 
1404
- var es2018$9 = {};
1404
+ var es2018$8 = {};
1405
1405
 
1406
1406
  var httpStatus = /*#__PURE__*/Object.freeze({
1407
1407
  __proto__: null
@@ -1411,7 +1411,7 @@ var require$$0 = /*@__PURE__*/getAugmentedNamespace(httpStatus);
1411
1411
 
1412
1412
  var httpError = {};
1413
1413
 
1414
- var es2018$8 = {};
1414
+ var es2018$7 = {};
1415
1415
 
1416
1416
  var customError$2 = {};
1417
1417
 
@@ -1489,10 +1489,10 @@ __exportStar(normalize$5, exports);
1489
1489
  __exportStar(refute$3, exports);
1490
1490
  __exportStar(assert$5, exports);
1491
1491
 
1492
- }(es2018$8));
1492
+ }(es2018$7));
1493
1493
 
1494
1494
  httpError.HTTPError = void 0;
1495
- const errors_1$h = es2018$8;
1495
+ const errors_1$h = es2018$7;
1496
1496
  class HTTPError extends errors_1$h.CustomError {
1497
1497
  constructor(code, message) {
1498
1498
  super(message);
@@ -1503,7 +1503,7 @@ httpError.HTTPError = HTTPError;
1503
1503
 
1504
1504
  var httpInformational = {};
1505
1505
 
1506
- var _enum$2 = {};
1506
+ var _enum$1 = {};
1507
1507
 
1508
1508
  (function (exports) {
1509
1509
  exports.ServerError = exports.ClientError = exports.Redirection = exports.Successful = exports.Informational = void 0;
@@ -1576,10 +1576,10 @@ exports.ServerError = exports.ClientError = exports.Redirection = exports.Succes
1576
1576
  ServerError[ServerError["NetworkAuthenticationRequired"] = 511] = "NetworkAuthenticationRequired";
1577
1577
  })(exports.ServerError || (exports.ServerError = {}));
1578
1578
 
1579
- }(_enum$2));
1579
+ }(_enum$1));
1580
1580
 
1581
1581
  httpInformational.EarlyHints = httpInformational.Processing = httpInformational.SwitchingProtocol = httpInformational.Continue = httpInformational.HTTPInformational = void 0;
1582
- const enum_1$4 = _enum$2;
1582
+ const enum_1$4 = _enum$1;
1583
1583
  class HTTPInformational {
1584
1584
  constructor(code, message) {
1585
1585
  this.code = code;
@@ -1615,7 +1615,7 @@ httpInformational.EarlyHints = EarlyHints;
1615
1615
  var httpSuccessful = {};
1616
1616
 
1617
1617
  httpSuccessful.IMUsed = httpSuccessful.AlreadyReported = httpSuccessful.MultiStatus = httpSuccessful.PartialContent = httpSuccessful.ResetContent = httpSuccessful.NoContent = httpSuccessful.NonAuthoritativeInformation = httpSuccessful.Accepted = httpSuccessful.Created = httpSuccessful.OK = httpSuccessful.HTTPSuccessful = void 0;
1618
- const enum_1$3 = _enum$2;
1618
+ const enum_1$3 = _enum$1;
1619
1619
  class HTTPSuccessful {
1620
1620
  constructor(code, message) {
1621
1621
  this.code = code;
@@ -1687,7 +1687,7 @@ httpSuccessful.IMUsed = IMUsed;
1687
1687
  var httpRedirection = {};
1688
1688
 
1689
1689
  httpRedirection.PermanentRedirect = httpRedirection.TemporaryRedirect = httpRedirection.NotModified = httpRedirection.SeeOther = httpRedirection.Found = httpRedirection.MovedPermanently = httpRedirection.MultipleChoice = httpRedirection.HTTPRedirection = void 0;
1690
- const enum_1$2 = _enum$2;
1690
+ const enum_1$2 = _enum$1;
1691
1691
  class HTTPRedirection {
1692
1692
  constructor(code, message) {
1693
1693
  this.code = code;
@@ -1742,7 +1742,7 @@ var httpClientError = {};
1742
1742
 
1743
1743
  httpClientError.UnavailableForLegalReasons = httpClientError.RequestHeaderFieldsTooLarge = httpClientError.TooManyRequests = httpClientError.PreconditionRequired = httpClientError.UpgradeRequired = httpClientError.FailedDependency = httpClientError.Locked = httpClientError.UnprocessableEntity = httpClientError.MisdirectedRequest = httpClientError.ExpectationFailed = httpClientError.RangeNotSatisfiable = httpClientError.UnsupportedMediaType = httpClientError.URITooLong = httpClientError.PayloadTooLarge = httpClientError.PreconditionFailed = httpClientError.LengthRequired = httpClientError.Gone = httpClientError.Conflict = httpClientError.RequestTimeout = httpClientError.ProxyAuthenticationRequired = httpClientError.NotAcceptable = httpClientError.MethodNotAllowed = httpClientError.NotFound = httpClientError.Forbidden = httpClientError.Unauthorized = httpClientError.BadRequest = httpClientError.HTTPClientError = void 0;
1744
1744
  const http_error_1$1 = httpError;
1745
- const enum_1$1 = _enum$2;
1745
+ const enum_1$1 = _enum$1;
1746
1746
  class HTTPClientError extends http_error_1$1.HTTPError {
1747
1747
  }
1748
1748
  httpClientError.HTTPClientError = HTTPClientError;
@@ -1907,7 +1907,7 @@ var httpServerError = {};
1907
1907
 
1908
1908
  httpServerError.NetworkAuthenticationRequired = httpServerError.NotExtended = httpServerError.LoopDetected = httpServerError.InsufficientStorage = httpServerError.VariantAlsoNegotiates = httpServerError.HTTPVersionNotSupported = httpServerError.GatewayTimeout = httpServerError.ServiceUnavailable = httpServerError.BadGateway = httpServerError.NotImplemented = httpServerError.InternalServerError = httpServerError.HTTPServerError = void 0;
1909
1909
  const http_error_1 = httpError;
1910
- const enum_1 = _enum$2;
1910
+ const enum_1 = _enum$1;
1911
1911
  class HTTPServerError extends http_error_1.HTTPError {
1912
1912
  }
1913
1913
  httpServerError.HTTPServerError = HTTPServerError;
@@ -2077,16 +2077,16 @@ __exportStar(httpClientError, exports);
2077
2077
  __exportStar(httpServerError, exports);
2078
2078
  __exportStar(utils$1, exports);
2079
2079
 
2080
- }(es2018$9));
2080
+ }(es2018$8));
2081
2081
 
2082
- var es2018$7 = {};
2082
+ var es2018$6 = {};
2083
2083
 
2084
2084
  var ok = {};
2085
2085
 
2086
2086
  (function (exports) {
2087
2087
  exports.ok = exports.HTTPError = void 0;
2088
- const http_status_1 = es2018$9;
2089
- var http_status_2 = es2018$9;
2088
+ const http_status_1 = es2018$8;
2089
+ var http_status_2 = es2018$8;
2090
2090
  Object.defineProperty(exports, "HTTPError", { enumerable: true, get: function () { return http_status_2.HTTPError; } });
2091
2091
  /**
2092
2092
  * @throws {HTTPError}
@@ -2151,13 +2151,13 @@ toLines$1.toLines = toLines;
2151
2151
 
2152
2152
  var toNdjson = {};
2153
2153
 
2154
- var es2018$6 = {};
2154
+ var es2018$5 = {};
2155
2155
 
2156
2156
  var middleware = {};
2157
2157
 
2158
2158
  var chunkAsync$1 = {};
2159
2159
 
2160
- var es2018$5 = {};
2160
+ var es2018$4 = {};
2161
2161
 
2162
2162
  var go$1 = {};
2163
2163
 
@@ -2179,9 +2179,9 @@ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m
2179
2179
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2180
2180
  };__exportStar(go$1, exports);
2181
2181
 
2182
- }(es2018$5));
2182
+ }(es2018$4));
2183
2183
 
2184
- var es2018$4 = {};
2184
+ var es2018$3 = {};
2185
2185
 
2186
2186
  var customError$1 = {};
2187
2187
 
@@ -2259,11 +2259,11 @@ __exportStar(normalize$3, exports);
2259
2259
  __exportStar(refute$1, exports);
2260
2260
  __exportStar(assert$3, exports);
2261
2261
 
2262
- }(es2018$4));
2262
+ }(es2018$3));
2263
2263
 
2264
2264
  chunkAsync$1.chunkAsync = void 0;
2265
- const go_1$f = es2018$5;
2266
- const errors_1$g = es2018$4;
2265
+ const go_1$f = es2018$4;
2266
+ const errors_1$g = es2018$3;
2267
2267
  function chunkAsync(iterable, size) {
2268
2268
  (0, errors_1$g.assert)(Number.isInteger(size), 'The parameter size must be an integer');
2269
2269
  (0, errors_1$g.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -2284,305 +2284,305 @@ chunkAsync$1.chunkAsync = chunkAsync;
2284
2284
 
2285
2285
  var chunkByAsync$1 = {};
2286
2286
 
2287
- var es2018$3 = {};
2287
+ var es2018$2 = {};
2288
2288
 
2289
- var array$1 = {};
2289
+ var array = {};
2290
2290
 
2291
- array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
2292
- function isArray$1(val) {
2291
+ array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
2292
+ function isArray(val) {
2293
2293
  return Array.isArray(val);
2294
2294
  }
2295
- array$1.isArray = isArray$1;
2296
- function isntArray$1(val) {
2297
- return !isArray$1(val);
2295
+ array.isArray = isArray;
2296
+ function isntArray(val) {
2297
+ return !isArray(val);
2298
2298
  }
2299
- array$1.isntArray = isntArray$1;
2300
- function isEmptyArray$1(val) {
2299
+ array.isntArray = isntArray;
2300
+ function isEmptyArray(val) {
2301
2301
  return val.length === 0;
2302
2302
  }
2303
- array$1.isEmptyArray = isEmptyArray$1;
2304
- function isntEmptyArray$1(val) {
2303
+ array.isEmptyArray = isEmptyArray;
2304
+ function isntEmptyArray(val) {
2305
2305
  return val.length !== 0;
2306
2306
  }
2307
- array$1.isntEmptyArray = isntEmptyArray$1;
2307
+ array.isntEmptyArray = isntEmptyArray;
2308
2308
 
2309
- var asyncIterable$1 = {};
2309
+ var asyncIterable = {};
2310
2310
 
2311
- var _null$1 = {};
2311
+ var _null = {};
2312
2312
 
2313
- _null$1.isntNull = _null$1.isNull = void 0;
2314
- function isNull$1(val) {
2313
+ _null.isntNull = _null.isNull = void 0;
2314
+ function isNull(val) {
2315
2315
  return val === null;
2316
2316
  }
2317
- _null$1.isNull = isNull$1;
2318
- function isntNull$1(val) {
2319
- return !isNull$1(val);
2317
+ _null.isNull = isNull;
2318
+ function isntNull(val) {
2319
+ return !isNull(val);
2320
2320
  }
2321
- _null$1.isntNull = isntNull$1;
2321
+ _null.isntNull = isntNull;
2322
2322
 
2323
- var _undefined$1 = {};
2323
+ var _undefined = {};
2324
2324
 
2325
- _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
2326
- function isUndefined$1(val) {
2325
+ _undefined.isntUndefined = _undefined.isUndefined = void 0;
2326
+ function isUndefined(val) {
2327
2327
  return val === undefined;
2328
2328
  }
2329
- _undefined$1.isUndefined = isUndefined$1;
2330
- function isntUndefined$1(val) {
2331
- return !isUndefined$1(val);
2329
+ _undefined.isUndefined = isUndefined;
2330
+ function isntUndefined(val) {
2331
+ return !isUndefined(val);
2332
2332
  }
2333
- _undefined$1.isntUndefined = isntUndefined$1;
2333
+ _undefined.isntUndefined = isntUndefined;
2334
2334
 
2335
- asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
2336
- const null_1$3 = _null$1;
2337
- const undefined_1$5 = _undefined$1;
2338
- function isAsyncIterable$1(val) {
2339
- return (0, null_1$3.isntNull)(val)
2340
- && (0, undefined_1$5.isntUndefined)(val)
2335
+ asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
2336
+ const null_1$1 = _null;
2337
+ const undefined_1$2 = _undefined;
2338
+ function isAsyncIterable(val) {
2339
+ return (0, null_1$1.isntNull)(val)
2340
+ && (0, undefined_1$2.isntUndefined)(val)
2341
2341
  && typeof val[Symbol.asyncIterator] === 'function';
2342
2342
  }
2343
- asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
2344
- function isntAsyncIterable$1(val) {
2345
- return !isAsyncIterable$1(val);
2343
+ asyncIterable.isAsyncIterable = isAsyncIterable;
2344
+ function isntAsyncIterable(val) {
2345
+ return !isAsyncIterable(val);
2346
2346
  }
2347
- asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
2347
+ asyncIterable.isntAsyncIterable = isntAsyncIterable;
2348
2348
 
2349
- var bigint$1 = {};
2349
+ var bigint = {};
2350
2350
 
2351
- bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
2352
- function isBigInt$1(val) {
2351
+ bigint.isntBigInt = bigint.isBigInt = void 0;
2352
+ function isBigInt(val) {
2353
2353
  return typeof val === 'bigint';
2354
2354
  }
2355
- bigint$1.isBigInt = isBigInt$1;
2356
- function isntBigInt$1(val) {
2357
- return !isBigInt$1(val);
2355
+ bigint.isBigInt = isBigInt;
2356
+ function isntBigInt(val) {
2357
+ return !isBigInt(val);
2358
2358
  }
2359
- bigint$1.isntBigInt = isntBigInt$1;
2359
+ bigint.isntBigInt = isntBigInt;
2360
2360
 
2361
- var boolean$1 = {};
2361
+ var boolean = {};
2362
2362
 
2363
- boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
2364
- function isBoolean$1(val) {
2363
+ boolean.isntBoolean = boolean.isBoolean = void 0;
2364
+ function isBoolean(val) {
2365
2365
  return typeof val === 'boolean';
2366
2366
  }
2367
- boolean$1.isBoolean = isBoolean$1;
2368
- function isntBoolean$1(val) {
2369
- return !isBoolean$1(val);
2367
+ boolean.isBoolean = isBoolean;
2368
+ function isntBoolean(val) {
2369
+ return !isBoolean(val);
2370
2370
  }
2371
- boolean$1.isntBoolean = isntBoolean$1;
2371
+ boolean.isntBoolean = isntBoolean;
2372
2372
 
2373
- var char$1 = {};
2373
+ var char = {};
2374
2374
 
2375
- var string$1 = {};
2375
+ var string = {};
2376
2376
 
2377
- string$1.isntString = string$1.isString = void 0;
2378
- function isString$1(val) {
2377
+ string.isntString = string.isString = void 0;
2378
+ function isString(val) {
2379
2379
  return typeof val === 'string';
2380
2380
  }
2381
- string$1.isString = isString$1;
2382
- function isntString$1(val) {
2383
- return !isString$1(val);
2381
+ string.isString = isString;
2382
+ function isntString(val) {
2383
+ return !isString(val);
2384
2384
  }
2385
- string$1.isntString = isntString$1;
2385
+ string.isntString = isntString;
2386
2386
 
2387
- char$1.isntChar = char$1.isChar = void 0;
2388
- const string_1$3 = string$1;
2389
- function isChar$1(val) {
2390
- return (0, string_1$3.isString)(val)
2387
+ char.isntChar = char.isChar = void 0;
2388
+ const string_1$1 = string;
2389
+ function isChar(val) {
2390
+ return (0, string_1$1.isString)(val)
2391
2391
  && val.length === 1;
2392
2392
  }
2393
- char$1.isChar = isChar$1;
2394
- function isntChar$1(val) {
2395
- return !isChar$1(val);
2393
+ char.isChar = isChar;
2394
+ function isntChar(val) {
2395
+ return !isChar(val);
2396
2396
  }
2397
- char$1.isntChar = isntChar$1;
2397
+ char.isntChar = isntChar;
2398
2398
 
2399
- var date$1 = {};
2399
+ var date = {};
2400
2400
 
2401
- date$1.isntDate = date$1.isDate = void 0;
2402
- function isDate$1(val) {
2401
+ date.isntDate = date.isDate = void 0;
2402
+ function isDate(val) {
2403
2403
  return val instanceof Date;
2404
2404
  }
2405
- date$1.isDate = isDate$1;
2406
- function isntDate$1(val) {
2407
- return !isDate$1(val);
2405
+ date.isDate = isDate;
2406
+ function isntDate(val) {
2407
+ return !isDate(val);
2408
2408
  }
2409
- date$1.isntDate = isntDate$1;
2409
+ date.isntDate = isntDate;
2410
2410
 
2411
- var _enum$1 = {};
2411
+ var _enum = {};
2412
2412
 
2413
- _enum$1.inEnum = void 0;
2414
- function inEnum$1(val, _enum) {
2413
+ _enum.inEnum = void 0;
2414
+ function inEnum(val, _enum) {
2415
2415
  return Object.values(_enum).includes(val);
2416
2416
  }
2417
- _enum$1.inEnum = inEnum$1;
2417
+ _enum.inEnum = inEnum;
2418
2418
 
2419
- var error$1 = {};
2419
+ var error = {};
2420
2420
 
2421
- error$1.isntError = error$1.isError = void 0;
2422
- function isError$1(val) {
2421
+ error.isntError = error.isError = void 0;
2422
+ function isError(val) {
2423
2423
  return val instanceof Error;
2424
2424
  }
2425
- error$1.isError = isError$1;
2426
- function isntError$1(val) {
2427
- return !isError$1(val);
2425
+ error.isError = isError;
2426
+ function isntError(val) {
2427
+ return !isError(val);
2428
2428
  }
2429
- error$1.isntError = isntError$1;
2429
+ error.isntError = isntError;
2430
2430
 
2431
- var falsy$1 = {};
2431
+ var falsy = {};
2432
2432
 
2433
- falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
2434
- function isFalsy$1(val) {
2433
+ falsy.isntFalsy = falsy.isFalsy = void 0;
2434
+ function isFalsy(val) {
2435
2435
  return !val;
2436
2436
  }
2437
- falsy$1.isFalsy = isFalsy$1;
2438
- function isntFalsy$1(val) {
2439
- return !isFalsy$1(val);
2437
+ falsy.isFalsy = isFalsy;
2438
+ function isntFalsy(val) {
2439
+ return !isFalsy(val);
2440
2440
  }
2441
- falsy$1.isntFalsy = isntFalsy$1;
2441
+ falsy.isntFalsy = isntFalsy;
2442
2442
 
2443
- var _function$1 = {};
2443
+ var _function = {};
2444
2444
 
2445
- _function$1.isntFunction = _function$1.isFunction = void 0;
2446
- function isFunction$1(val) {
2445
+ _function.isntFunction = _function.isFunction = void 0;
2446
+ function isFunction(val) {
2447
2447
  return typeof val === 'function';
2448
2448
  }
2449
- _function$1.isFunction = isFunction$1;
2450
- function isntFunction$1(val) {
2451
- return !isFunction$1(val);
2449
+ _function.isFunction = isFunction;
2450
+ function isntFunction(val) {
2451
+ return !isFunction(val);
2452
2452
  }
2453
- _function$1.isntFunction = isntFunction$1;
2453
+ _function.isntFunction = isntFunction;
2454
2454
 
2455
- var iterable$1 = {};
2455
+ var iterable = {};
2456
2456
 
2457
- iterable$1.isntIterable = iterable$1.isIterable = void 0;
2458
- const null_1$2 = _null$1;
2459
- const undefined_1$4 = _undefined$1;
2460
- function isIterable$1(val) {
2461
- return (0, null_1$2.isntNull)(val)
2462
- && (0, undefined_1$4.isntUndefined)(val)
2457
+ iterable.isntIterable = iterable.isIterable = void 0;
2458
+ const null_1 = _null;
2459
+ const undefined_1$1 = _undefined;
2460
+ function isIterable(val) {
2461
+ return (0, null_1.isntNull)(val)
2462
+ && (0, undefined_1$1.isntUndefined)(val)
2463
2463
  && typeof val[Symbol.iterator] === 'function';
2464
2464
  }
2465
- iterable$1.isIterable = isIterable$1;
2466
- function isntIterable$1(val) {
2467
- return !isIterable$1(val);
2465
+ iterable.isIterable = isIterable;
2466
+ function isntIterable(val) {
2467
+ return !isIterable(val);
2468
2468
  }
2469
- iterable$1.isntIterable = isntIterable$1;
2469
+ iterable.isntIterable = isntIterable;
2470
2470
 
2471
- var jsonRpc$1 = {};
2471
+ var jsonRpc = {};
2472
2472
 
2473
- var object$1 = {};
2473
+ var object = {};
2474
2474
 
2475
- var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
2475
+ var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
2476
2476
  return (mod && mod.__esModule) ? mod : { "default": mod };
2477
- };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
2478
- const lodash_isplainobject_1$1 = __importDefault$2(lodash_isplainobject);
2479
- function isObject$1(val) {
2477
+ };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
2478
+ const lodash_isplainobject_1 = __importDefault$1(lodash_isplainobject);
2479
+ function isObject(val) {
2480
2480
  return val !== null
2481
2481
  && typeof val === 'object';
2482
2482
  }
2483
- object$1.isObject = isObject$1;
2484
- function isntObject$1(val) {
2485
- return !isObject$1(val);
2483
+ object.isObject = isObject;
2484
+ function isntObject(val) {
2485
+ return !isObject(val);
2486
2486
  }
2487
- object$1.isntObject = isntObject$1;
2488
- function isPlainObject$1(val) {
2489
- return (0, lodash_isplainobject_1$1.default)(val);
2487
+ object.isntObject = isntObject;
2488
+ function isPlainObject(val) {
2489
+ return (0, lodash_isplainobject_1.default)(val);
2490
2490
  }
2491
- object$1.isPlainObject = isPlainObject$1;
2492
- function isntPlainObject$1(val) {
2493
- return !isPlainObject$1(val);
2491
+ object.isPlainObject = isPlainObject;
2492
+ function isntPlainObject(val) {
2493
+ return !isPlainObject(val);
2494
2494
  }
2495
- object$1.isntPlainObject = isntPlainObject$1;
2496
- function isEmptyObject$1(val) {
2495
+ object.isntPlainObject = isntPlainObject;
2496
+ function isEmptyObject(val) {
2497
2497
  return Object.keys(val).length === 0;
2498
2498
  }
2499
- object$1.isEmptyObject = isEmptyObject$1;
2500
- function isntEmptyObject$1(val) {
2499
+ object.isEmptyObject = isEmptyObject;
2500
+ function isntEmptyObject(val) {
2501
2501
  return Object.keys(val).length !== 0;
2502
2502
  }
2503
- object$1.isntEmptyObject = isntEmptyObject$1;
2503
+ object.isntEmptyObject = isntEmptyObject;
2504
2504
 
2505
- var number$1 = {};
2505
+ var number = {};
2506
2506
 
2507
- number$1.isntNumber = number$1.isNumber = void 0;
2508
- function isNumber$1(val) {
2507
+ number.isntNumber = number.isNumber = void 0;
2508
+ function isNumber(val) {
2509
2509
  return typeof val === 'number';
2510
2510
  }
2511
- number$1.isNumber = isNumber$1;
2512
- function isntNumber$1(val) {
2513
- return !isNumber$1(val);
2511
+ number.isNumber = isNumber;
2512
+ function isntNumber(val) {
2513
+ return !isNumber(val);
2514
2514
  }
2515
- number$1.isntNumber = isntNumber$1;
2515
+ number.isntNumber = isntNumber;
2516
2516
 
2517
- jsonRpc$1.isntJsonRpcError = jsonRpc$1.isJsonRpcError = jsonRpc$1.isntJsonRpcSuccess = jsonRpc$1.isJsonRpcSuccess = jsonRpc$1.isntJsonRpcRequest = jsonRpc$1.isJsonRpcRequest = jsonRpc$1.isntJsonRpcNotification = jsonRpc$1.isJsonRpcNotification = void 0;
2518
- const array_1$1 = array$1;
2519
- const object_1$1 = object$1;
2520
- const string_1$2 = string$1;
2521
- const number_1$1 = number$1;
2522
- const undefined_1$3 = _undefined$1;
2523
- function isJsonRpcId$1(val) {
2524
- return (0, string_1$2.isString)(val) || (0, number_1$1.isNumber)(val);
2517
+ jsonRpc.isntJsonRpcError = jsonRpc.isJsonRpcError = jsonRpc.isntJsonRpcSuccess = jsonRpc.isJsonRpcSuccess = jsonRpc.isntJsonRpcRequest = jsonRpc.isJsonRpcRequest = jsonRpc.isntJsonRpcNotification = jsonRpc.isJsonRpcNotification = void 0;
2518
+ const array_1 = array;
2519
+ const object_1 = object;
2520
+ const string_1 = string;
2521
+ const number_1 = number;
2522
+ const undefined_1 = _undefined;
2523
+ function isJsonRpcId(val) {
2524
+ return (0, string_1.isString)(val) || (0, number_1.isNumber)(val);
2525
2525
  }
2526
- function isJsonRpcParams$1(val) {
2527
- return (0, array_1$1.isArray)(val) || (0, object_1$1.isObject)(val);
2526
+ function isJsonRpcParams(val) {
2527
+ return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
2528
2528
  }
2529
- function isJsonRpcNotification$1(val) {
2530
- return (0, object_1$1.isPlainObject)(val)
2531
- && (0, string_1$2.isString)(val.jsonrpc)
2532
- && (0, string_1$2.isString)(val.method)
2533
- && (0, undefined_1$3.isUndefined)(val.id)
2534
- && isJsonRpcParams$1(val.params);
2529
+ function isJsonRpcNotification(val) {
2530
+ return (0, object_1.isPlainObject)(val)
2531
+ && (0, string_1.isString)(val.jsonrpc)
2532
+ && (0, string_1.isString)(val.method)
2533
+ && (0, undefined_1.isUndefined)(val.id)
2534
+ && isJsonRpcParams(val.params);
2535
2535
  }
2536
- jsonRpc$1.isJsonRpcNotification = isJsonRpcNotification$1;
2537
- function isntJsonRpcNotification$1(val) {
2538
- return !isJsonRpcNotification$1(val);
2536
+ jsonRpc.isJsonRpcNotification = isJsonRpcNotification;
2537
+ function isntJsonRpcNotification(val) {
2538
+ return !isJsonRpcNotification(val);
2539
2539
  }
2540
- jsonRpc$1.isntJsonRpcNotification = isntJsonRpcNotification$1;
2541
- function isJsonRpcRequest$1(val) {
2542
- return (0, object_1$1.isPlainObject)(val)
2543
- && (0, string_1$2.isString)(val.jsonrpc)
2544
- && (0, string_1$2.isString)(val.method)
2545
- && isJsonRpcId$1(val.id)
2546
- && isJsonRpcParams$1(val.params);
2540
+ jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
2541
+ function isJsonRpcRequest(val) {
2542
+ return (0, object_1.isPlainObject)(val)
2543
+ && (0, string_1.isString)(val.jsonrpc)
2544
+ && (0, string_1.isString)(val.method)
2545
+ && isJsonRpcId(val.id)
2546
+ && isJsonRpcParams(val.params);
2547
2547
  }
2548
- jsonRpc$1.isJsonRpcRequest = isJsonRpcRequest$1;
2549
- function isntJsonRpcRequest$1(val) {
2550
- return !isJsonRpcRequest$1(val);
2548
+ jsonRpc.isJsonRpcRequest = isJsonRpcRequest;
2549
+ function isntJsonRpcRequest(val) {
2550
+ return !isJsonRpcRequest(val);
2551
2551
  }
2552
- jsonRpc$1.isntJsonRpcRequest = isntJsonRpcRequest$1;
2553
- function isJsonRpcSuccess$1(val) {
2554
- return (0, object_1$1.isPlainObject)(val)
2555
- && (0, string_1$2.isString)(val.jsonrpc)
2556
- && (0, string_1$2.isString)(val.id)
2552
+ jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
2553
+ function isJsonRpcSuccess(val) {
2554
+ return (0, object_1.isPlainObject)(val)
2555
+ && (0, string_1.isString)(val.jsonrpc)
2556
+ && (0, string_1.isString)(val.id)
2557
2557
  && 'result' in val;
2558
2558
  }
2559
- jsonRpc$1.isJsonRpcSuccess = isJsonRpcSuccess$1;
2560
- function isntJsonRpcSuccess$1(val) {
2561
- return !isJsonRpcSuccess$1(val);
2559
+ jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
2560
+ function isntJsonRpcSuccess(val) {
2561
+ return !isJsonRpcSuccess(val);
2562
2562
  }
2563
- jsonRpc$1.isntJsonRpcSuccess = isntJsonRpcSuccess$1;
2564
- function isJsonRpcError$1(val) {
2565
- return (0, object_1$1.isPlainObject)(val)
2566
- && (0, string_1$2.isString)(val.jsonrpc)
2567
- && isJsonRpcId$1(val.id)
2568
- && isJsonRpcErrorObject$1(val.error);
2563
+ jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
2564
+ function isJsonRpcError(val) {
2565
+ return (0, object_1.isPlainObject)(val)
2566
+ && (0, string_1.isString)(val.jsonrpc)
2567
+ && isJsonRpcId(val.id)
2568
+ && isJsonRpcErrorObject(val.error);
2569
2569
  }
2570
- jsonRpc$1.isJsonRpcError = isJsonRpcError$1;
2571
- function isntJsonRpcError$1(val) {
2572
- return !isJsonRpcError$1(val);
2570
+ jsonRpc.isJsonRpcError = isJsonRpcError;
2571
+ function isntJsonRpcError(val) {
2572
+ return !isJsonRpcError(val);
2573
2573
  }
2574
- jsonRpc$1.isntJsonRpcError = isntJsonRpcError$1;
2575
- function isJsonRpcErrorObject$1(val) {
2576
- return (0, object_1$1.isPlainObject)(val)
2577
- && (0, number_1$1.isNumber)(val.code)
2578
- && (0, string_1$2.isString)(val.message)
2579
- && ((0, undefined_1$3.isUndefined)(val.data) || (0, object_1$1.isObject)(val.data));
2574
+ jsonRpc.isntJsonRpcError = isntJsonRpcError;
2575
+ function isJsonRpcErrorObject(val) {
2576
+ return (0, object_1.isPlainObject)(val)
2577
+ && (0, number_1.isNumber)(val.code)
2578
+ && (0, string_1.isString)(val.message)
2579
+ && ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
2580
2580
  }
2581
2581
 
2582
- var json$1 = {};
2582
+ var json = {};
2583
2583
 
2584
- json$1.isntJson = json$1.isJson = void 0;
2585
- function isJson$1(val) {
2584
+ json.isntJson = json.isJson = void 0;
2585
+ function isJson(val) {
2586
2586
  try {
2587
2587
  JSON.stringify(val);
2588
2588
  return true;
@@ -2591,16 +2591,16 @@ function isJson$1(val) {
2591
2591
  return false;
2592
2592
  }
2593
2593
  }
2594
- json$1.isJson = isJson$1;
2595
- function isntJson$1(val) {
2596
- return !isntJson$1();
2594
+ json.isJson = isJson;
2595
+ function isntJson(val) {
2596
+ return !isntJson();
2597
2597
  }
2598
- json$1.isntJson = isntJson$1;
2598
+ json.isntJson = isntJson;
2599
2599
 
2600
- var url$1 = {};
2600
+ var url = {};
2601
2601
 
2602
- url$1.isAbsoluteURL = void 0;
2603
- function isAbsoluteURL$1(str) {
2602
+ url.isAbsoluteURL = void 0;
2603
+ function isAbsoluteURL(str) {
2604
2604
  try {
2605
2605
  new URL(str);
2606
2606
  return true;
@@ -2609,7 +2609,7 @@ function isAbsoluteURL$1(str) {
2609
2609
  return false;
2610
2610
  }
2611
2611
  }
2612
- url$1.isAbsoluteURL = isAbsoluteURL$1;
2612
+ url.isAbsoluteURL = isAbsoluteURL;
2613
2613
 
2614
2614
  (function (exports) {
2615
2615
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -2621,30 +2621,30 @@ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Obj
2621
2621
  }));
2622
2622
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
2623
2623
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2624
- };__exportStar(array$1, exports);
2625
- __exportStar(asyncIterable$1, exports);
2626
- __exportStar(bigint$1, exports);
2627
- __exportStar(boolean$1, exports);
2628
- __exportStar(char$1, exports);
2629
- __exportStar(date$1, exports);
2630
- __exportStar(_enum$1, exports);
2631
- __exportStar(error$1, exports);
2632
- __exportStar(falsy$1, exports);
2633
- __exportStar(_function$1, exports);
2634
- __exportStar(iterable$1, exports);
2635
- __exportStar(jsonRpc$1, exports);
2636
- __exportStar(json$1, exports);
2637
- __exportStar(_null$1, exports);
2638
- __exportStar(number$1, exports);
2639
- __exportStar(object$1, exports);
2640
- __exportStar(string$1, exports);
2641
- __exportStar(_undefined$1, exports);
2642
- __exportStar(url$1, exports);
2624
+ };__exportStar(array, exports);
2625
+ __exportStar(asyncIterable, exports);
2626
+ __exportStar(bigint, exports);
2627
+ __exportStar(boolean, exports);
2628
+ __exportStar(char, exports);
2629
+ __exportStar(date, exports);
2630
+ __exportStar(_enum, exports);
2631
+ __exportStar(error, exports);
2632
+ __exportStar(falsy, exports);
2633
+ __exportStar(_function, exports);
2634
+ __exportStar(iterable, exports);
2635
+ __exportStar(jsonRpc, exports);
2636
+ __exportStar(json, exports);
2637
+ __exportStar(_null, exports);
2638
+ __exportStar(number, exports);
2639
+ __exportStar(object, exports);
2640
+ __exportStar(string, exports);
2641
+ __exportStar(_undefined, exports);
2642
+ __exportStar(url, exports);
2643
2643
 
2644
- }(es2018$3));
2644
+ }(es2018$2));
2645
2645
 
2646
2646
  chunkByAsync$1.chunkByAsync = void 0;
2647
- const types_1$l = es2018$3;
2647
+ const types_1$l = es2018$2;
2648
2648
  function chunkByAsync(iterable, predicate) {
2649
2649
  if ((0, types_1$l.isAsyncIterable)(iterable)) {
2650
2650
  return chunkByAsyncIterable(iterable);
@@ -2705,8 +2705,8 @@ chunkBy$1.chunkBy = chunkBy;
2705
2705
  var chunk$1 = {};
2706
2706
 
2707
2707
  chunk$1.chunk = void 0;
2708
- const go_1$e = es2018$5;
2709
- const errors_1$f = es2018$4;
2708
+ const go_1$e = es2018$4;
2709
+ const errors_1$f = es2018$3;
2710
2710
  function chunk(iterable, size) {
2711
2711
  (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
2712
2712
  (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -2728,8 +2728,8 @@ chunk$1.chunk = chunk;
2728
2728
  var concatAsync$1 = {};
2729
2729
 
2730
2730
  concatAsync$1.concatAsync = void 0;
2731
- const types_1$k = es2018$3;
2732
- const go_1$d = es2018$5;
2731
+ const types_1$k = es2018$2;
2732
+ const go_1$d = es2018$4;
2733
2733
  function concatAsync(iterable, ...otherIterables) {
2734
2734
  return (0, go_1$d.go)(async function* () {
2735
2735
  for (const iter of [iterable, ...otherIterables]) {
@@ -2751,7 +2751,7 @@ concatAsync$1.concatAsync = concatAsync;
2751
2751
  var concat$1 = {};
2752
2752
 
2753
2753
  concat$1.concat = void 0;
2754
- const go_1$c = es2018$5;
2754
+ const go_1$c = es2018$4;
2755
2755
  function concat(iterable, ...otherIterables) {
2756
2756
  return (0, go_1$c.go)(function* () {
2757
2757
  for (const iter of [iterable, ...otherIterables]) {
@@ -2780,9 +2780,9 @@ function* copyIterable(iterable) {
2780
2780
  utils.copyIterable = copyIterable;
2781
2781
 
2782
2782
  dropAsync$1.dropAsync = void 0;
2783
- const go_1$b = es2018$5;
2783
+ const go_1$b = es2018$4;
2784
2784
  const utils_1$3 = utils;
2785
- const errors_1$e = es2018$4;
2785
+ const errors_1$e = es2018$3;
2786
2786
  function dropAsync(iterable, count) {
2787
2787
  (0, errors_1$e.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2788
2788
  (0, errors_1$e.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2815,9 +2815,9 @@ dropAsync$1.dropAsync = dropAsync;
2815
2815
  var dropRightAsync$1 = {};
2816
2816
 
2817
2817
  dropRightAsync$1.dropRightAsync = void 0;
2818
- const go_1$a = es2018$5;
2818
+ const go_1$a = es2018$4;
2819
2819
  const utils_1$2 = utils;
2820
- const errors_1$d = es2018$4;
2820
+ const errors_1$d = es2018$3;
2821
2821
  function dropRightAsync(iterable, count) {
2822
2822
  (0, errors_1$d.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2823
2823
  (0, errors_1$d.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2843,9 +2843,9 @@ async function toArrayAsync$2(iterable) {
2843
2843
  var dropRight$1 = {};
2844
2844
 
2845
2845
  dropRight$1.dropRight = void 0;
2846
- const go_1$9 = es2018$5;
2846
+ const go_1$9 = es2018$4;
2847
2847
  const utils_1$1 = utils;
2848
- const errors_1$c = es2018$4;
2848
+ const errors_1$c = es2018$3;
2849
2849
  function dropRight(iterable, count) {
2850
2850
  (0, errors_1$c.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2851
2851
  (0, errors_1$c.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2861,7 +2861,7 @@ dropRight$1.dropRight = dropRight;
2861
2861
  var dropUntilAsync$1 = {};
2862
2862
 
2863
2863
  dropUntilAsync$1.dropUntilAsync = void 0;
2864
- const types_1$j = es2018$3;
2864
+ const types_1$j = es2018$2;
2865
2865
  function dropUntilAsync(iterable, predicate) {
2866
2866
  if ((0, types_1$j.isAsyncIterable)(iterable)) {
2867
2867
  return dropUntilAsyncIterable(iterable);
@@ -2943,9 +2943,9 @@ dropUntil$1.dropUntil = dropUntil;
2943
2943
  var drop$1 = {};
2944
2944
 
2945
2945
  drop$1.drop = void 0;
2946
- const go_1$8 = es2018$5;
2946
+ const go_1$8 = es2018$4;
2947
2947
  const utils_1 = utils;
2948
- const errors_1$b = es2018$4;
2948
+ const errors_1$b = es2018$3;
2949
2949
  function drop(iterable, count) {
2950
2950
  (0, errors_1$b.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2951
2951
  (0, errors_1$b.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2978,7 +2978,7 @@ drop$1.drop = drop;
2978
2978
  var filterAsync$1 = {};
2979
2979
 
2980
2980
  filterAsync$1.filterAsync = void 0;
2981
- const types_1$i = es2018$3;
2981
+ const types_1$i = es2018$2;
2982
2982
  function filterAsync(iterable, predicate) {
2983
2983
  if ((0, types_1$i.isAsyncIterable)(iterable)) {
2984
2984
  return filterAsyncIterable(iterable);
@@ -3025,7 +3025,7 @@ var flattenDeepAsync$1 = {};
3025
3025
  var flattenByAsync$1 = {};
3026
3026
 
3027
3027
  flattenByAsync$1.flattenByAsync = void 0;
3028
- const types_1$h = es2018$3;
3028
+ const types_1$h = es2018$2;
3029
3029
  function flattenByAsync(iterable, predicate) {
3030
3030
  if ((0, types_1$h.isAsyncIterable)(iterable)) {
3031
3031
  return flattenByAsyncIterable(iterable);
@@ -3065,7 +3065,7 @@ function isFiniteIterable$1(val) {
3065
3065
 
3066
3066
  flattenDeepAsync$1.flattenDeepAsync = void 0;
3067
3067
  const flatten_by_async_1 = flattenByAsync$1;
3068
- const errors_1$a = es2018$4;
3068
+ const errors_1$a = es2018$3;
3069
3069
  function flattenDeepAsync(iterable, depth = Infinity) {
3070
3070
  (0, errors_1$a.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
3071
3071
  (0, errors_1$a.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -3083,7 +3083,7 @@ flattenAsync$1.flattenAsync = flattenAsync;
3083
3083
  var flattenBy$1 = {};
3084
3084
 
3085
3085
  flattenBy$1.flattenBy = void 0;
3086
- const types_1$g = es2018$3;
3086
+ const types_1$g = es2018$2;
3087
3087
  function flattenBy(iterable, predicate) {
3088
3088
  return flatten(iterable, 1);
3089
3089
  function* flatten(iterable, level) {
@@ -3106,7 +3106,7 @@ var flattenDeep$1 = {};
3106
3106
 
3107
3107
  flattenDeep$1.flattenDeep = void 0;
3108
3108
  const flatten_by_1 = flattenBy$1;
3109
- const errors_1$9 = es2018$4;
3109
+ const errors_1$9 = es2018$3;
3110
3110
  function flattenDeep(iterable, depth = Infinity) {
3111
3111
  (0, errors_1$9.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
3112
3112
  (0, errors_1$9.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -3126,7 +3126,7 @@ flatten$1.flatten = flatten;
3126
3126
  var mapAsync$1 = {};
3127
3127
 
3128
3128
  mapAsync$1.mapAsync = void 0;
3129
- const types_1$f = es2018$3;
3129
+ const types_1$f = es2018$2;
3130
3130
  function mapAsync(iterable, fn) {
3131
3131
  if ((0, types_1$f.isAsyncIterable)(iterable)) {
3132
3132
  return mapAsyncIterable(iterable);
@@ -3166,8 +3166,8 @@ map$1.map = map;
3166
3166
  var repeatAsync$1 = {};
3167
3167
 
3168
3168
  repeatAsync$1.repeatAsync = void 0;
3169
- const go_1$7 = es2018$5;
3170
- const errors_1$8 = es2018$4;
3169
+ const go_1$7 = es2018$4;
3170
+ const errors_1$8 = es2018$3;
3171
3171
  function repeatAsync(iterable, times) {
3172
3172
  (0, errors_1$8.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3173
3173
  (0, errors_1$8.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3201,8 +3201,8 @@ function isProduction$1() {
3201
3201
  var repeat$1 = {};
3202
3202
 
3203
3203
  repeat$1.repeat = void 0;
3204
- const go_1$6 = es2018$5;
3205
- const errors_1$7 = es2018$4;
3204
+ const go_1$6 = es2018$4;
3205
+ const errors_1$7 = es2018$3;
3206
3206
  function repeat(iterable, times) {
3207
3207
  (0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3208
3208
  (0, errors_1$7.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3236,8 +3236,8 @@ function isProduction() {
3236
3236
  var sliceAsync$1 = {};
3237
3237
 
3238
3238
  sliceAsync$1.sliceAsync = void 0;
3239
- const go_1$5 = es2018$5;
3240
- const errors_1$6 = es2018$4;
3239
+ const go_1$5 = es2018$4;
3240
+ const errors_1$6 = es2018$3;
3241
3241
  function sliceAsync(iterable, start, end = Infinity) {
3242
3242
  (0, errors_1$6.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3243
3243
  (0, errors_1$6.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -3259,8 +3259,8 @@ sliceAsync$1.sliceAsync = sliceAsync;
3259
3259
  var slice$1 = {};
3260
3260
 
3261
3261
  slice$1.slice = void 0;
3262
- const go_1$4 = es2018$5;
3263
- const errors_1$5 = es2018$4;
3262
+ const go_1$4 = es2018$4;
3263
+ const errors_1$5 = es2018$3;
3264
3264
  function slice(iterable, start, end = Infinity) {
3265
3265
  (0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3266
3266
  (0, errors_1$5.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -3300,7 +3300,7 @@ splitAsync$1.splitAsync = splitAsync;
3300
3300
  var splitByAsync$1 = {};
3301
3301
 
3302
3302
  splitByAsync$1.splitByAsync = void 0;
3303
- const types_1$e = es2018$3;
3303
+ const types_1$e = es2018$2;
3304
3304
  function splitByAsync(iterable, predicate) {
3305
3305
  if ((0, types_1$e.isAsyncIterable)(iterable)) {
3306
3306
  return splitByAsyncIterable(iterable);
@@ -3382,8 +3382,8 @@ split$1.split = split;
3382
3382
  var takeAsync$1 = {};
3383
3383
 
3384
3384
  takeAsync$1.takeAsync = void 0;
3385
- const go_1$3 = es2018$5;
3386
- const errors_1$4 = es2018$4;
3385
+ const go_1$3 = es2018$4;
3386
+ const errors_1$4 = es2018$3;
3387
3387
  function takeAsync(iterable, count) {
3388
3388
  (0, errors_1$4.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3389
3389
  (0, errors_1$4.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3403,8 +3403,8 @@ takeAsync$1.takeAsync = takeAsync;
3403
3403
  var takeRightAsync$1 = {};
3404
3404
 
3405
3405
  takeRightAsync$1.takeRightAsync = void 0;
3406
- const go_1$2 = es2018$5;
3407
- const errors_1$3 = es2018$4;
3406
+ const go_1$2 = es2018$4;
3407
+ const errors_1$3 = es2018$3;
3408
3408
  function takeRightAsync(iterable, count) {
3409
3409
  (0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3410
3410
  (0, errors_1$3.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3433,8 +3433,8 @@ takeRightAsync$1.takeRightAsync = takeRightAsync;
3433
3433
  var takeRight$1 = {};
3434
3434
 
3435
3435
  takeRight$1.takeRight = void 0;
3436
- const go_1$1 = es2018$5;
3437
- const errors_1$2 = es2018$4;
3436
+ const go_1$1 = es2018$4;
3437
+ const errors_1$2 = es2018$3;
3438
3438
  function takeRight(iterable, count) {
3439
3439
  (0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3440
3440
  (0, errors_1$2.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3463,7 +3463,7 @@ takeRight$1.takeRight = takeRight;
3463
3463
  var takeUntilAsync$1 = {};
3464
3464
 
3465
3465
  takeUntilAsync$1.takeUntilAsync = void 0;
3466
- const types_1$d = es2018$3;
3466
+ const types_1$d = es2018$2;
3467
3467
  function takeUntilAsync(iterable, predicate) {
3468
3468
  if ((0, types_1$d.isAsyncIterable)(iterable)) {
3469
3469
  return takeUntilAsyncIterable(iterable);
@@ -3509,8 +3509,8 @@ takeUntil$1.takeUntil = takeUntil;
3509
3509
  var take$1 = {};
3510
3510
 
3511
3511
  take$1.take = void 0;
3512
- const go_1 = es2018$5;
3513
- const errors_1$1 = es2018$4;
3512
+ const go_1 = es2018$4;
3513
+ const errors_1$1 = es2018$3;
3514
3514
  function take(iterable, count) {
3515
3515
  (0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3516
3516
  (0, errors_1$1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3530,7 +3530,7 @@ take$1.take = take;
3530
3530
  var tapAsync$1 = {};
3531
3531
 
3532
3532
  tapAsync$1.tapAsync = void 0;
3533
- const types_1$c = es2018$3;
3533
+ const types_1$c = es2018$2;
3534
3534
  function tapAsync(iterable, fn) {
3535
3535
  if ((0, types_1$c.isAsyncIterable)(iterable)) {
3536
3536
  return tapAsyncIterable(iterable);
@@ -3613,7 +3613,7 @@ uniqAsync$1.uniqAsync = uniqAsync;
3613
3613
  var uniqByAsync$1 = {};
3614
3614
 
3615
3615
  uniqByAsync$1.uniqByAsync = void 0;
3616
- const types_1$b = es2018$3;
3616
+ const types_1$b = es2018$2;
3617
3617
  function uniqByAsync(iterable, fn) {
3618
3618
  if ((0, types_1$b.isAsyncIterable)(iterable)) {
3619
3619
  return uniqByAsyncIterable(iterable);
@@ -3682,7 +3682,7 @@ uniq$1.uniq = uniq;
3682
3682
  var zipAsync$1 = {};
3683
3683
 
3684
3684
  zipAsync$1.zipAsync = void 0;
3685
- const types_1$a = es2018$3;
3685
+ const types_1$a = es2018$2;
3686
3686
  var Kind;
3687
3687
  (function (Kind) {
3688
3688
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -3842,7 +3842,7 @@ consume$1.consume = consume;
3842
3842
  var eachAsync$1 = {};
3843
3843
 
3844
3844
  eachAsync$1.eachAsync = void 0;
3845
- const types_1$9 = es2018$3;
3845
+ const types_1$9 = es2018$2;
3846
3846
  function eachAsync(iterable, fn) {
3847
3847
  if ((0, types_1$9.isAsyncIterable)(iterable)) {
3848
3848
  return eachAsyncIterable(iterable);
@@ -3882,7 +3882,7 @@ each$1.each = each;
3882
3882
  var everyAsync$1 = {};
3883
3883
 
3884
3884
  everyAsync$1.everyAsync = void 0;
3885
- const types_1$8 = es2018$3;
3885
+ const types_1$8 = es2018$2;
3886
3886
  function everyAsync(iterable, predicate) {
3887
3887
  if ((0, types_1$8.isAsyncIterable)(iterable)) {
3888
3888
  return everyAsyncIterable(iterable);
@@ -3928,7 +3928,7 @@ every$1.every = every;
3928
3928
  var findAsync$1 = {};
3929
3929
 
3930
3930
  findAsync$1.findAsync = void 0;
3931
- const types_1$7 = es2018$3;
3931
+ const types_1$7 = es2018$2;
3932
3932
  function findAsync(iterable, predicate) {
3933
3933
  if ((0, types_1$7.isAsyncIterable)(iterable)) {
3934
3934
  return findAsyncIterable(iterable);
@@ -4052,7 +4052,7 @@ match$1.match = match;
4052
4052
  var reduceAsync$1 = {};
4053
4053
 
4054
4054
  reduceAsync$1.reduceAsync = void 0;
4055
- const types_1$6 = es2018$3;
4055
+ const types_1$6 = es2018$2;
4056
4056
  function reduceAsync(iterable, fn, initialValue) {
4057
4057
  if ((0, types_1$6.isUndefined)(initialValue)) {
4058
4058
  return reduceAsyncWithoutInitialValue(iterable, fn);
@@ -4148,7 +4148,7 @@ function reduceAsyncWithoutInitialValue(iterable, fn) {
4148
4148
  var reduce$1 = {};
4149
4149
 
4150
4150
  reduce$1.reduce = void 0;
4151
- const types_1$5 = es2018$3;
4151
+ const types_1$5 = es2018$2;
4152
4152
  function reduce(iterable, fn, initialValue) {
4153
4153
  if ((0, types_1$5.isUndefined)(initialValue)) {
4154
4154
  return reduceWithoutInitialValue(iterable, fn);
@@ -4195,7 +4195,7 @@ function reduceWithoutInitialValue(iterable, fn) {
4195
4195
  var someAsync$1 = {};
4196
4196
 
4197
4197
  someAsync$1.someAsync = void 0;
4198
- const types_1$4 = es2018$3;
4198
+ const types_1$4 = es2018$2;
4199
4199
  function someAsync(iterable, predicate) {
4200
4200
  if ((0, types_1$4.isAsyncIterable)(iterable)) {
4201
4201
  return someAsyncIterable(iterable);
@@ -4252,536 +4252,83 @@ async function lastAsync(iterable) {
4252
4252
  result = value;
4253
4253
  }
4254
4254
  return result;
4255
- }
4256
- finally {
4257
- if (!done)
4258
- await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));
4259
- }
4260
- }
4261
- lastAsync$1.lastAsync = lastAsync;
4262
-
4263
- var last$1 = {};
4264
-
4265
- last$1.last = void 0;
4266
- function last(iterable) {
4267
- var _a;
4268
- const iterator = iterable[Symbol.iterator]();
4269
- let done;
4270
- try {
4271
- let value;
4272
- let result;
4273
- while ({ value, done } = iterator.next(), !done) {
4274
- result = value;
4275
- }
4276
- return result;
4277
- }
4278
- finally {
4279
- if (!done)
4280
- (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);
4281
- }
4282
- }
4283
- last$1.last = last;
4284
-
4285
- var toArrayAsync$1 = {};
4286
-
4287
- toArrayAsync$1.toArrayAsync = void 0;
4288
- const consume_1$3 = consume$1;
4289
- function toArrayAsync(iterable) {
4290
- return (0, consume_1$3.consume)(iterable, async (iterable) => {
4291
- const result = [];
4292
- for await (const element of iterable) {
4293
- result.push(element);
4294
- }
4295
- return result;
4296
- });
4297
- }
4298
- toArrayAsync$1.toArrayAsync = toArrayAsync;
4299
-
4300
- var toArray$1 = {};
4301
-
4302
- toArray$1.toArray = void 0;
4303
- const consume_1$2 = consume$1;
4304
- function toArray(iterable) {
4305
- return (0, consume_1$2.consume)(iterable, iterable => Array.from(iterable));
4306
- }
4307
- toArray$1.toArray = toArray;
4308
-
4309
- var toSetAsync$1 = {};
4310
-
4311
- toSetAsync$1.toSetAsync = void 0;
4312
- const consume_1$1 = consume$1;
4313
- function toSetAsync(iterable) {
4314
- return (0, consume_1$1.consume)(iterable, async (iterable) => {
4315
- const result = new Set();
4316
- for await (const element of iterable) {
4317
- result.add(element);
4318
- }
4319
- return result;
4320
- });
4321
- }
4322
- toSetAsync$1.toSetAsync = toSetAsync;
4323
-
4324
- var toSet$1 = {};
4325
-
4326
- toSet$1.toSet = void 0;
4327
- const consume_1 = consume$1;
4328
- function toSet(iterable) {
4329
- return (0, consume_1.consume)(iterable, iterable => new Set(iterable));
4330
- }
4331
- toSet$1.toSet = toSet;
4332
-
4333
- (function (exports) {
4334
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4335
- if (k2 === undefined) k2 = k;
4336
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4337
- }) : (function(o, m, k, k2) {
4338
- if (k2 === undefined) k2 = k;
4339
- o[k2] = m[k];
4340
- }));
4341
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4342
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4343
- };__exportStar(consume$1, exports);
4344
- __exportStar(eachAsync$1, exports);
4345
- __exportStar(each$1, exports);
4346
- __exportStar(everyAsync$1, exports);
4347
- __exportStar(every$1, exports);
4348
- __exportStar(findAsync$1, exports);
4349
- __exportStar(find$1, exports);
4350
- __exportStar(firstAsync$1, exports);
4351
- __exportStar(first$1, exports);
4352
- __exportStar(includesAsync$1, exports);
4353
- __exportStar(includes$1, exports);
4354
- __exportStar(matchAsync$1, exports);
4355
- __exportStar(match$1, exports);
4356
- __exportStar(reduceAsync$1, exports);
4357
- __exportStar(reduce$1, exports);
4358
- __exportStar(someAsync$1, exports);
4359
- __exportStar(some$1, exports);
4360
- __exportStar(lastAsync$1, exports);
4361
- __exportStar(last$1, exports);
4362
- __exportStar(toArrayAsync$1, exports);
4363
- __exportStar(toArray$1, exports);
4364
- __exportStar(toSetAsync$1, exports);
4365
- __exportStar(toSet$1, exports);
4366
-
4367
- }(output));
4368
-
4369
- (function (exports) {
4370
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4371
- if (k2 === undefined) k2 = k;
4372
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4373
- }) : (function(o, m, k, k2) {
4374
- if (k2 === undefined) k2 = k;
4375
- o[k2] = m[k];
4376
- }));
4377
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4378
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4379
- };__exportStar(middleware, exports);
4380
- __exportStar(output, exports);
4381
-
4382
- }(es2018$6));
4383
-
4384
- toNdjson.toNDJSON = void 0;
4385
- const iterable_operator_1$3 = es2018$6;
4386
- const to_lines_1 = toLines$1;
4387
- function toNDJSON(res) {
4388
- return (0, iterable_operator_1$3.mapAsync)((0, to_lines_1.toLines)(res), text => JSON.parse(text));
4389
- }
4390
- toNdjson.toNDJSON = toNDJSON;
4391
-
4392
- var toCsv = {};
4393
-
4394
- toCsv.toCSV = void 0;
4395
- const papaparse_1 = papaparse_min.exports;
4396
- async function toCSV(res) {
4397
- const text = await res.text();
4398
- const result = (0, papaparse_1.parse)(text, {
4399
- header: true,
4400
- skipEmptyLines: 'greedy'
4401
- });
4402
- return result.data;
4403
- }
4404
- toCsv.toCSV = toCSV;
4405
-
4406
- (function (exports) {
4407
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4408
- if (k2 === undefined) k2 = k;
4409
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4410
- }) : (function(o, m, k, k2) {
4411
- if (k2 === undefined) k2 = k;
4412
- o[k2] = m[k];
4413
- }));
4414
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4415
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4416
- };__exportStar(ok, exports);
4417
- __exportStar(toJson, exports);
4418
- __exportStar(toText$1, exports);
4419
- __exportStar(toLines$1, exports);
4420
- __exportStar(toNdjson, exports);
4421
- __exportStar(toCsv, exports);
4422
-
4423
- }(es2018$7));
4424
-
4425
- var es2018$2 = {};
4426
-
4427
- var abortController = {};
4428
-
4429
- var browser = {exports: {}};
4430
-
4431
- /*globals self, window */
4432
-
4433
- /*eslint-disable @mysticatea/prettier */
4434
- const { AbortController, AbortSignal } =
4435
- typeof self !== "undefined" ? self :
4436
- typeof window !== "undefined" ? window :
4437
- /* otherwise */ undefined;
4438
- /*eslint-enable @mysticatea/prettier */
4439
-
4440
- browser.exports = AbortController;
4441
- browser.exports.AbortSignal = AbortSignal;
4442
- browser.exports.default = AbortController;
4443
-
4444
- var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4445
- return (mod && mod.__esModule) ? mod : { "default": mod };
4446
- };
4447
- var _a$1;abortController.AbortController = void 0;
4448
- const abort_controller_1$3 = __importDefault$1(browser.exports);
4449
- abortController.AbortController = (_a$1 = globalThis.AbortController) !== null && _a$1 !== void 0 ? _a$1 : abort_controller_1$3.default;
4450
-
4451
- var abortError = {};
4452
-
4453
- var es2018$1 = {};
4454
-
4455
- var customError = {};
4456
-
4457
- var getErrorNames$1 = {};
4458
-
4459
- var es2018 = {};
4460
-
4461
- var array = {};
4462
-
4463
- array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
4464
- function isArray(val) {
4465
- return Array.isArray(val);
4466
- }
4467
- array.isArray = isArray;
4468
- function isntArray(val) {
4469
- return !isArray(val);
4470
- }
4471
- array.isntArray = isntArray;
4472
- function isEmptyArray(val) {
4473
- return val.length === 0;
4474
- }
4475
- array.isEmptyArray = isEmptyArray;
4476
- function isntEmptyArray(val) {
4477
- return val.length !== 0;
4478
- }
4479
- array.isntEmptyArray = isntEmptyArray;
4480
-
4481
- var asyncIterable = {};
4482
-
4483
- var _null = {};
4484
-
4485
- _null.isntNull = _null.isNull = void 0;
4486
- function isNull(val) {
4487
- return val === null;
4488
- }
4489
- _null.isNull = isNull;
4490
- function isntNull(val) {
4491
- return !isNull(val);
4492
- }
4493
- _null.isntNull = isntNull;
4494
-
4495
- var _undefined = {};
4496
-
4497
- _undefined.isntUndefined = _undefined.isUndefined = void 0;
4498
- function isUndefined(val) {
4499
- return val === undefined;
4500
- }
4501
- _undefined.isUndefined = isUndefined;
4502
- function isntUndefined(val) {
4503
- return !isUndefined(val);
4504
- }
4505
- _undefined.isntUndefined = isntUndefined;
4506
-
4507
- asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
4508
- const null_1$1 = _null;
4509
- const undefined_1$2 = _undefined;
4510
- function isAsyncIterable(val) {
4511
- return (0, null_1$1.isntNull)(val)
4512
- && (0, undefined_1$2.isntUndefined)(val)
4513
- && typeof val[Symbol.asyncIterator] === 'function';
4514
- }
4515
- asyncIterable.isAsyncIterable = isAsyncIterable;
4516
- function isntAsyncIterable(val) {
4517
- return !isAsyncIterable(val);
4518
- }
4519
- asyncIterable.isntAsyncIterable = isntAsyncIterable;
4520
-
4521
- var bigint = {};
4522
-
4523
- bigint.isntBigInt = bigint.isBigInt = void 0;
4524
- function isBigInt(val) {
4525
- return typeof val === 'bigint';
4526
- }
4527
- bigint.isBigInt = isBigInt;
4528
- function isntBigInt(val) {
4529
- return !isBigInt(val);
4530
- }
4531
- bigint.isntBigInt = isntBigInt;
4532
-
4533
- var boolean = {};
4534
-
4535
- boolean.isntBoolean = boolean.isBoolean = void 0;
4536
- function isBoolean(val) {
4537
- return typeof val === 'boolean';
4538
- }
4539
- boolean.isBoolean = isBoolean;
4540
- function isntBoolean(val) {
4541
- return !isBoolean(val);
4542
- }
4543
- boolean.isntBoolean = isntBoolean;
4544
-
4545
- var char = {};
4546
-
4547
- var string = {};
4548
-
4549
- string.isntString = string.isString = void 0;
4550
- function isString(val) {
4551
- return typeof val === 'string';
4552
- }
4553
- string.isString = isString;
4554
- function isntString(val) {
4555
- return !isString(val);
4556
- }
4557
- string.isntString = isntString;
4558
-
4559
- char.isntChar = char.isChar = void 0;
4560
- const string_1$1 = string;
4561
- function isChar(val) {
4562
- return (0, string_1$1.isString)(val)
4563
- && val.length === 1;
4564
- }
4565
- char.isChar = isChar;
4566
- function isntChar(val) {
4567
- return !isChar(val);
4568
- }
4569
- char.isntChar = isntChar;
4570
-
4571
- var date = {};
4572
-
4573
- date.isntDate = date.isDate = void 0;
4574
- function isDate(val) {
4575
- return val instanceof Date;
4576
- }
4577
- date.isDate = isDate;
4578
- function isntDate(val) {
4579
- return !isDate(val);
4580
- }
4581
- date.isntDate = isntDate;
4582
-
4583
- var _enum = {};
4584
-
4585
- _enum.inEnum = void 0;
4586
- function inEnum(val, _enum) {
4587
- return Object.values(_enum).includes(val);
4588
- }
4589
- _enum.inEnum = inEnum;
4590
-
4591
- var error = {};
4592
-
4593
- error.isntError = error.isError = void 0;
4594
- function isError(val) {
4595
- return val instanceof Error;
4596
- }
4597
- error.isError = isError;
4598
- function isntError(val) {
4599
- return !isError(val);
4600
- }
4601
- error.isntError = isntError;
4602
-
4603
- var falsy = {};
4604
-
4605
- falsy.isntFalsy = falsy.isFalsy = void 0;
4606
- function isFalsy(val) {
4607
- return !val;
4608
- }
4609
- falsy.isFalsy = isFalsy;
4610
- function isntFalsy(val) {
4611
- return !isFalsy(val);
4612
- }
4613
- falsy.isntFalsy = isntFalsy;
4614
-
4615
- var _function = {};
4616
-
4617
- _function.isntFunction = _function.isFunction = void 0;
4618
- function isFunction(val) {
4619
- return typeof val === 'function';
4620
- }
4621
- _function.isFunction = isFunction;
4622
- function isntFunction(val) {
4623
- return !isFunction(val);
4624
- }
4625
- _function.isntFunction = isntFunction;
4626
-
4627
- var iterable = {};
4628
-
4629
- iterable.isntIterable = iterable.isIterable = void 0;
4630
- const null_1 = _null;
4631
- const undefined_1$1 = _undefined;
4632
- function isIterable(val) {
4633
- return (0, null_1.isntNull)(val)
4634
- && (0, undefined_1$1.isntUndefined)(val)
4635
- && typeof val[Symbol.iterator] === 'function';
4636
- }
4637
- iterable.isIterable = isIterable;
4638
- function isntIterable(val) {
4639
- return !isIterable(val);
4640
- }
4641
- iterable.isntIterable = isntIterable;
4642
-
4643
- var jsonRpc = {};
4644
-
4645
- var object = {};
4646
-
4647
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4648
- return (mod && mod.__esModule) ? mod : { "default": mod };
4649
- };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
4650
- const lodash_isplainobject_1 = __importDefault(lodash_isplainobject);
4651
- function isObject(val) {
4652
- return val !== null
4653
- && typeof val === 'object';
4654
- }
4655
- object.isObject = isObject;
4656
- function isntObject(val) {
4657
- return !isObject(val);
4658
- }
4659
- object.isntObject = isntObject;
4660
- function isPlainObject(val) {
4661
- return (0, lodash_isplainobject_1.default)(val);
4662
- }
4663
- object.isPlainObject = isPlainObject;
4664
- function isntPlainObject(val) {
4665
- return !isPlainObject(val);
4666
- }
4667
- object.isntPlainObject = isntPlainObject;
4668
- function isEmptyObject(val) {
4669
- return Object.keys(val).length === 0;
4670
- }
4671
- object.isEmptyObject = isEmptyObject;
4672
- function isntEmptyObject(val) {
4673
- return Object.keys(val).length !== 0;
4674
- }
4675
- object.isntEmptyObject = isntEmptyObject;
4676
-
4677
- var number = {};
4678
-
4679
- number.isntNumber = number.isNumber = void 0;
4680
- function isNumber(val) {
4681
- return typeof val === 'number';
4682
- }
4683
- number.isNumber = isNumber;
4684
- function isntNumber(val) {
4685
- return !isNumber(val);
4686
- }
4687
- number.isntNumber = isntNumber;
4688
-
4689
- jsonRpc.isntJsonRpcError = jsonRpc.isJsonRpcError = jsonRpc.isntJsonRpcSuccess = jsonRpc.isJsonRpcSuccess = jsonRpc.isntJsonRpcRequest = jsonRpc.isJsonRpcRequest = jsonRpc.isntJsonRpcNotification = jsonRpc.isJsonRpcNotification = void 0;
4690
- const array_1 = array;
4691
- const object_1 = object;
4692
- const string_1 = string;
4693
- const number_1 = number;
4694
- const undefined_1 = _undefined;
4695
- function isJsonRpcId(val) {
4696
- return (0, string_1.isString)(val) || (0, number_1.isNumber)(val);
4697
- }
4698
- function isJsonRpcParams(val) {
4699
- return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
4700
- }
4701
- function isJsonRpcNotification(val) {
4702
- return (0, object_1.isPlainObject)(val)
4703
- && (0, string_1.isString)(val.jsonrpc)
4704
- && (0, string_1.isString)(val.method)
4705
- && (0, undefined_1.isUndefined)(val.id)
4706
- && isJsonRpcParams(val.params);
4707
- }
4708
- jsonRpc.isJsonRpcNotification = isJsonRpcNotification;
4709
- function isntJsonRpcNotification(val) {
4710
- return !isJsonRpcNotification(val);
4711
- }
4712
- jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
4713
- function isJsonRpcRequest(val) {
4714
- return (0, object_1.isPlainObject)(val)
4715
- && (0, string_1.isString)(val.jsonrpc)
4716
- && (0, string_1.isString)(val.method)
4717
- && isJsonRpcId(val.id)
4718
- && isJsonRpcParams(val.params);
4719
- }
4720
- jsonRpc.isJsonRpcRequest = isJsonRpcRequest;
4721
- function isntJsonRpcRequest(val) {
4722
- return !isJsonRpcRequest(val);
4723
- }
4724
- jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
4725
- function isJsonRpcSuccess(val) {
4726
- return (0, object_1.isPlainObject)(val)
4727
- && (0, string_1.isString)(val.jsonrpc)
4728
- && (0, string_1.isString)(val.id)
4729
- && 'result' in val;
4730
- }
4731
- jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
4732
- function isntJsonRpcSuccess(val) {
4733
- return !isJsonRpcSuccess(val);
4734
- }
4735
- jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
4736
- function isJsonRpcError(val) {
4737
- return (0, object_1.isPlainObject)(val)
4738
- && (0, string_1.isString)(val.jsonrpc)
4739
- && isJsonRpcId(val.id)
4740
- && isJsonRpcErrorObject(val.error);
4741
- }
4742
- jsonRpc.isJsonRpcError = isJsonRpcError;
4743
- function isntJsonRpcError(val) {
4744
- return !isJsonRpcError(val);
4745
- }
4746
- jsonRpc.isntJsonRpcError = isntJsonRpcError;
4747
- function isJsonRpcErrorObject(val) {
4748
- return (0, object_1.isPlainObject)(val)
4749
- && (0, number_1.isNumber)(val.code)
4750
- && (0, string_1.isString)(val.message)
4751
- && ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
4255
+ }
4256
+ finally {
4257
+ if (!done)
4258
+ await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));
4259
+ }
4752
4260
  }
4261
+ lastAsync$1.lastAsync = lastAsync;
4753
4262
 
4754
- var json = {};
4263
+ var last$1 = {};
4755
4264
 
4756
- json.isntJson = json.isJson = void 0;
4757
- function isJson(val) {
4265
+ last$1.last = void 0;
4266
+ function last(iterable) {
4267
+ var _a;
4268
+ const iterator = iterable[Symbol.iterator]();
4269
+ let done;
4758
4270
  try {
4759
- JSON.stringify(val);
4760
- return true;
4271
+ let value;
4272
+ let result;
4273
+ while ({ value, done } = iterator.next(), !done) {
4274
+ result = value;
4275
+ }
4276
+ return result;
4761
4277
  }
4762
- catch (_a) {
4763
- return false;
4278
+ finally {
4279
+ if (!done)
4280
+ (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);
4764
4281
  }
4765
4282
  }
4766
- json.isJson = isJson;
4767
- function isntJson(val) {
4768
- return !isntJson();
4283
+ last$1.last = last;
4284
+
4285
+ var toArrayAsync$1 = {};
4286
+
4287
+ toArrayAsync$1.toArrayAsync = void 0;
4288
+ const consume_1$3 = consume$1;
4289
+ function toArrayAsync(iterable) {
4290
+ return (0, consume_1$3.consume)(iterable, async (iterable) => {
4291
+ const result = [];
4292
+ for await (const element of iterable) {
4293
+ result.push(element);
4294
+ }
4295
+ return result;
4296
+ });
4769
4297
  }
4770
- json.isntJson = isntJson;
4298
+ toArrayAsync$1.toArrayAsync = toArrayAsync;
4771
4299
 
4772
- var url = {};
4300
+ var toArray$1 = {};
4773
4301
 
4774
- url.isAbsoluteURL = void 0;
4775
- function isAbsoluteURL(str) {
4776
- try {
4777
- new URL(str);
4778
- return true;
4779
- }
4780
- catch (_a) {
4781
- return false;
4782
- }
4302
+ toArray$1.toArray = void 0;
4303
+ const consume_1$2 = consume$1;
4304
+ function toArray(iterable) {
4305
+ return (0, consume_1$2.consume)(iterable, iterable => Array.from(iterable));
4783
4306
  }
4784
- url.isAbsoluteURL = isAbsoluteURL;
4307
+ toArray$1.toArray = toArray;
4308
+
4309
+ var toSetAsync$1 = {};
4310
+
4311
+ toSetAsync$1.toSetAsync = void 0;
4312
+ const consume_1$1 = consume$1;
4313
+ function toSetAsync(iterable) {
4314
+ return (0, consume_1$1.consume)(iterable, async (iterable) => {
4315
+ const result = new Set();
4316
+ for await (const element of iterable) {
4317
+ result.add(element);
4318
+ }
4319
+ return result;
4320
+ });
4321
+ }
4322
+ toSetAsync$1.toSetAsync = toSetAsync;
4323
+
4324
+ var toSet$1 = {};
4325
+
4326
+ toSet$1.toSet = void 0;
4327
+ const consume_1 = consume$1;
4328
+ function toSet(iterable) {
4329
+ return (0, consume_1.consume)(iterable, iterable => new Set(iterable));
4330
+ }
4331
+ toSet$1.toSet = toSet;
4785
4332
 
4786
4333
  (function (exports) {
4787
4334
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -4793,27 +4340,121 @@ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Obj
4793
4340
  }));
4794
4341
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4795
4342
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4796
- };__exportStar(array, exports);
4797
- __exportStar(asyncIterable, exports);
4798
- __exportStar(bigint, exports);
4799
- __exportStar(boolean, exports);
4800
- __exportStar(char, exports);
4801
- __exportStar(date, exports);
4802
- __exportStar(_enum, exports);
4803
- __exportStar(error, exports);
4804
- __exportStar(falsy, exports);
4805
- __exportStar(_function, exports);
4806
- __exportStar(iterable, exports);
4807
- __exportStar(jsonRpc, exports);
4808
- __exportStar(json, exports);
4809
- __exportStar(_null, exports);
4810
- __exportStar(number, exports);
4811
- __exportStar(object, exports);
4812
- __exportStar(string, exports);
4813
- __exportStar(_undefined, exports);
4814
- __exportStar(url, exports);
4343
+ };__exportStar(consume$1, exports);
4344
+ __exportStar(eachAsync$1, exports);
4345
+ __exportStar(each$1, exports);
4346
+ __exportStar(everyAsync$1, exports);
4347
+ __exportStar(every$1, exports);
4348
+ __exportStar(findAsync$1, exports);
4349
+ __exportStar(find$1, exports);
4350
+ __exportStar(firstAsync$1, exports);
4351
+ __exportStar(first$1, exports);
4352
+ __exportStar(includesAsync$1, exports);
4353
+ __exportStar(includes$1, exports);
4354
+ __exportStar(matchAsync$1, exports);
4355
+ __exportStar(match$1, exports);
4356
+ __exportStar(reduceAsync$1, exports);
4357
+ __exportStar(reduce$1, exports);
4358
+ __exportStar(someAsync$1, exports);
4359
+ __exportStar(some$1, exports);
4360
+ __exportStar(lastAsync$1, exports);
4361
+ __exportStar(last$1, exports);
4362
+ __exportStar(toArrayAsync$1, exports);
4363
+ __exportStar(toArray$1, exports);
4364
+ __exportStar(toSetAsync$1, exports);
4365
+ __exportStar(toSet$1, exports);
4815
4366
 
4816
- }(es2018));
4367
+ }(output));
4368
+
4369
+ (function (exports) {
4370
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4371
+ if (k2 === undefined) k2 = k;
4372
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4373
+ }) : (function(o, m, k, k2) {
4374
+ if (k2 === undefined) k2 = k;
4375
+ o[k2] = m[k];
4376
+ }));
4377
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4378
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4379
+ };__exportStar(middleware, exports);
4380
+ __exportStar(output, exports);
4381
+
4382
+ }(es2018$5));
4383
+
4384
+ toNdjson.toNDJSON = void 0;
4385
+ const iterable_operator_1$3 = es2018$5;
4386
+ const to_lines_1 = toLines$1;
4387
+ function toNDJSON(res) {
4388
+ return (0, iterable_operator_1$3.mapAsync)((0, to_lines_1.toLines)(res), text => JSON.parse(text));
4389
+ }
4390
+ toNdjson.toNDJSON = toNDJSON;
4391
+
4392
+ var toCsv = {};
4393
+
4394
+ toCsv.toCSV = void 0;
4395
+ const papaparse_1 = papaparse_min.exports;
4396
+ async function toCSV(res) {
4397
+ const text = await res.text();
4398
+ const result = (0, papaparse_1.parse)(text, {
4399
+ header: true,
4400
+ skipEmptyLines: 'greedy'
4401
+ });
4402
+ return result.data;
4403
+ }
4404
+ toCsv.toCSV = toCSV;
4405
+
4406
+ (function (exports) {
4407
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4408
+ if (k2 === undefined) k2 = k;
4409
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4410
+ }) : (function(o, m, k, k2) {
4411
+ if (k2 === undefined) k2 = k;
4412
+ o[k2] = m[k];
4413
+ }));
4414
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4415
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4416
+ };__exportStar(ok, exports);
4417
+ __exportStar(toJson, exports);
4418
+ __exportStar(toText$1, exports);
4419
+ __exportStar(toLines$1, exports);
4420
+ __exportStar(toNdjson, exports);
4421
+ __exportStar(toCsv, exports);
4422
+
4423
+ }(es2018$6));
4424
+
4425
+ var es2018$1 = {};
4426
+
4427
+ var abortController = {};
4428
+
4429
+ var browser = {exports: {}};
4430
+
4431
+ /*globals self, window */
4432
+
4433
+ /*eslint-disable @mysticatea/prettier */
4434
+ const { AbortController, AbortSignal } =
4435
+ typeof self !== "undefined" ? self :
4436
+ typeof window !== "undefined" ? window :
4437
+ /* otherwise */ undefined;
4438
+ /*eslint-enable @mysticatea/prettier */
4439
+
4440
+ browser.exports = AbortController;
4441
+ browser.exports.AbortSignal = AbortSignal;
4442
+ browser.exports.default = AbortController;
4443
+
4444
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4445
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4446
+ };
4447
+ var _a$1;abortController.AbortController = void 0;
4448
+ const abort_controller_1$3 = __importDefault(browser.exports);
4449
+ abortController.AbortController = (_a$1 = globalThis.AbortController) !== null && _a$1 !== void 0 ? _a$1 : abort_controller_1$3.default;
4450
+
4451
+ var abortError = {};
4452
+
4453
+ var es2018 = {};
4454
+
4455
+ var customError = {};
4456
+
4457
+ var getErrorNames$1 = {};
4817
4458
 
4818
4459
  var traverseErrorPrototypeChain$1 = {};
4819
4460
 
@@ -4829,7 +4470,7 @@ function* traverseErrorPrototypeChain(err) {
4829
4470
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
4830
4471
 
4831
4472
  getErrorNames$1.getErrorNames = void 0;
4832
- const types_1$3 = es2018;
4473
+ const types_1$3 = es2018$2;
4833
4474
  const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
4834
4475
  function* getErrorNames(err) {
4835
4476
  var _a;
@@ -4850,7 +4491,7 @@ getErrorNames$1.getErrorNames = getErrorNames;
4850
4491
  var serializableError = {};
4851
4492
 
4852
4493
  serializableError.isSerializableError = void 0;
4853
- const types_1$2 = es2018;
4494
+ const types_1$2 = es2018$2;
4854
4495
  function isSerializableError(val) {
4855
4496
  return (0, types_1$2.isObject)(val)
4856
4497
  && (0, types_1$2.isString)(val.name)
@@ -4861,9 +4502,9 @@ function isSerializableError(val) {
4861
4502
  serializableError.isSerializableError = isSerializableError;
4862
4503
 
4863
4504
  customError.CustomError = void 0;
4864
- const iterable_operator_1$2 = es2018$6;
4505
+ const iterable_operator_1$2 = es2018$5;
4865
4506
  const get_error_names_1$1 = getErrorNames$1;
4866
- const types_1$1 = es2018;
4507
+ const types_1$1 = es2018$2;
4867
4508
  const serializable_error_1 = serializableError;
4868
4509
  class CustomError extends Error {
4869
4510
  get name() {
@@ -4899,7 +4540,7 @@ var normalize$1 = {};
4899
4540
 
4900
4541
  normalize$1.normalize = void 0;
4901
4542
  const get_error_names_1 = getErrorNames$1;
4902
- const iterable_operator_1$1 = es2018$6;
4543
+ const iterable_operator_1$1 = es2018$5;
4903
4544
  function normalize(err) {
4904
4545
  var _a;
4905
4546
  const [name, ...ancestors] = (0, iterable_operator_1$1.toArray)((0, get_error_names_1.getErrorNames)(err));
@@ -4940,12 +4581,12 @@ __exportStar(assert$1, exports);
4940
4581
  __exportStar(getErrorNames$1, exports);
4941
4582
  __exportStar(traverseErrorPrototypeChain$1, exports);
4942
4583
 
4943
- }(es2018$1));
4584
+ }(es2018));
4944
4585
 
4945
4586
  abortError.AbortError = void 0;
4946
- const errors_1 = es2018$1;
4947
- const types_1 = es2018;
4948
- const iterable_operator_1 = es2018$6;
4587
+ const errors_1 = es2018;
4588
+ const types_1 = es2018$2;
4589
+ const iterable_operator_1 = es2018$5;
4949
4590
  class AbortError extends errors_1.CustomError {
4950
4591
  static [Symbol.hasInstance](instance) {
4951
4592
  if ((0, types_1.isError)(instance)) {
@@ -5045,7 +4686,27 @@ __exportStar(raceAbortSignals$1, exports);
5045
4686
  __exportStar(timeoutSignal$1, exports);
5046
4687
  __exportStar(withAbortSignal$1, exports);
5047
4688
 
5048
- }(es2018$2));
4689
+ }(es2018$1));
4690
+
4691
+ const expectedVersion = '0.1.0';
4692
+ class EStoreManagerBase {
4693
+ constructor(options) {
4694
+ this.options = options;
4695
+ }
4696
+ getCommonTransformers(options) {
4697
+ var _a, _b;
4698
+ return [
4699
+ transformers.url(this.options.server),
4700
+ transformers.bearerAuth(this.options.adminPassword),
4701
+ transformers.signal(es2018$1.raceAbortSignals([
4702
+ options.signal,
4703
+ options.timeout !== false && ((_a = (options.timeout && es2018$1.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018$1.timeoutSignal(this.options.timeout)))
4704
+ ])),
4705
+ transformers.keepalive((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive),
4706
+ transformers.header('Accept-Version', expectedVersion)
4707
+ ];
4708
+ }
4709
+ }
5049
4710
 
5050
4711
  class EStoreClient {
5051
4712
  constructor(options) {
@@ -5061,32 +4722,33 @@ class EStoreClient {
5061
4722
  transformers.url(this.options.server),
5062
4723
  auth && transformers.basicAuth(auth.username, auth.password),
5063
4724
  token && transformers.searchParams({ token }),
5064
- transformers.signal(es2018$2.raceAbortSignals([
4725
+ transformers.signal(es2018$1.raceAbortSignals([
5065
4726
  options.signal,
5066
- options.timeout !== false && ((_b = (options.timeout && es2018$2.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018$2.timeoutSignal(this.options.timeout)))
4727
+ options.timeout !== false && ((_b = (options.timeout && es2018$1.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018$1.timeoutSignal(this.options.timeout)))
5067
4728
  ])),
5068
- transformers.keepalive((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive)
4729
+ transformers.keepalive((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive),
4730
+ transformers.header('Accept-Version', expectedVersion)
5069
4731
  ];
5070
4732
  }
5071
4733
  /**
5072
4734
  * @throws {AbortError}
5073
4735
  */
5074
4736
  async append(namespace, itemId, payload, index, options = {}) {
5075
- const req = es2018$c.post(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`), es2018.isntUndefined(index) && transformers.header('If-Match', `${index}`), transformers.json(payload));
5076
- await es2018$d.fetch(req).then(es2018$7.ok);
4737
+ const req = es2018$b.post(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`), es2018$2.isntUndefined(index) && transformers.header('If-Match', `${index}`), transformers.json(payload));
4738
+ await es2018$c.fetch(req).then(es2018$6.ok);
5077
4739
  }
5078
4740
  /**
5079
4741
  * @throws {AbortError}
5080
4742
  */
5081
4743
  async getEvent(namespace, itemId, index, options = {}) {
5082
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
4744
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
5083
4745
  try {
5084
- return await es2018$d.fetch(req)
5085
- .then(es2018$7.ok)
5086
- .then(es2018$7.toJSON);
4746
+ return await es2018$c.fetch(req)
4747
+ .then(es2018$6.ok)
4748
+ .then(es2018$6.toJSON);
5087
4749
  }
5088
4750
  catch (e) {
5089
- if (e instanceof es2018$9.NotFound)
4751
+ if (e instanceof es2018$8.NotFound)
5090
4752
  return undefined;
5091
4753
  throw e;
5092
4754
  }
@@ -5095,14 +4757,14 @@ class EStoreClient {
5095
4757
  * @throws {AbortError}
5096
4758
  */
5097
4759
  async getEvents(namespace, itemId, options = {}) {
5098
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
4760
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
5099
4761
  try {
5100
- return await es2018$d.fetch(req)
5101
- .then(es2018$7.ok)
5102
- .then(es2018$7.toJSON);
4762
+ return await es2018$c.fetch(req)
4763
+ .then(es2018$6.ok)
4764
+ .then(es2018$6.toJSON);
5103
4765
  }
5104
4766
  catch (e) {
5105
- if (e instanceof es2018$9.NotFound)
4767
+ if (e instanceof es2018$8.NotFound)
5106
4768
  return undefined;
5107
4769
  throw e;
5108
4770
  }
@@ -5111,22 +4773,22 @@ class EStoreClient {
5111
4773
  * @throws {AbortError}
5112
4774
  */
5113
4775
  async getSize(namespace, itemId, options = {}) {
5114
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/size`));
5115
- return await es2018$d.fetch(req)
5116
- .then(es2018$7.ok)
5117
- .then(es2018$7.toJSON);
4776
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/size`));
4777
+ return await es2018$c.fetch(req)
4778
+ .then(es2018$6.ok)
4779
+ .then(es2018$6.toJSON);
5118
4780
  }
5119
4781
  /**
5120
4782
  * @throws {AbortError}
5121
4783
  */
5122
4784
  async has(namespace, itemId, options = {}) {
5123
- const req = es2018$c.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
4785
+ const req = es2018$b.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
5124
4786
  try {
5125
- await es2018$d.fetch(req).then(es2018$7.ok);
4787
+ await es2018$c.fetch(req).then(es2018$6.ok);
5126
4788
  return true;
5127
4789
  }
5128
4790
  catch (e) {
5129
- if (e instanceof es2018$9.NotFound)
4791
+ if (e instanceof es2018$8.NotFound)
5130
4792
  return false;
5131
4793
  throw e;
5132
4794
  }
@@ -5135,61 +4797,42 @@ class EStoreClient {
5135
4797
  * @throws {AbortError}
5136
4798
  */
5137
4799
  async del(namespace, itemId, options = {}) {
5138
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
5139
- await es2018$d.fetch(req).then(es2018$7.ok);
4800
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
4801
+ await es2018$c.fetch(req).then(es2018$6.ok);
5140
4802
  }
5141
4803
  /**
5142
4804
  * @throws {AbortError}
5143
4805
  */
5144
4806
  async clear(namespace, options = {}) {
5145
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
5146
- await es2018$d.fetch(req).then(es2018$7.ok);
4807
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
4808
+ await es2018$c.fetch(req).then(es2018$6.ok);
5147
4809
  }
5148
4810
  /**
5149
4811
  * @throws {AbortError}
5150
4812
  */
5151
4813
  async getAllItemIds(namespace, options = {}) {
5152
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
5153
- return await es2018$d.fetch(req)
5154
- .then(es2018$7.ok)
5155
- .then(es2018$7.toJSON);
4814
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
4815
+ return await es2018$c.fetch(req)
4816
+ .then(es2018$6.ok)
4817
+ .then(es2018$6.toJSON);
5156
4818
  }
5157
4819
  /**
5158
4820
  * @throws {AbortError}
5159
4821
  */
5160
4822
  async getAllNamespaces(options = {}) {
5161
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
5162
- return await es2018$d.fetch(req)
5163
- .then(es2018$7.ok)
5164
- .then(es2018$7.toJSON);
4823
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
4824
+ return await es2018$c.fetch(req)
4825
+ .then(es2018$6.ok)
4826
+ .then(es2018$6.toJSON);
5165
4827
  }
5166
4828
  /**
5167
4829
  * @throws {AbortError}
5168
4830
  */
5169
4831
  async stats(namespace, options = {}) {
5170
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
5171
- return await es2018$d.fetch(req)
5172
- .then(es2018$7.ok)
5173
- .then(es2018$7.toJSON);
5174
- }
5175
- }
5176
-
5177
- class EStoreManagerBase {
5178
- constructor(options) {
5179
- this.options = options;
5180
- }
5181
- getCommonTransformers(options) {
5182
- var _a, _b;
5183
- return [
5184
- transformers.url(this.options.server),
5185
- transformers.bearerAuth(this.options.adminPassword),
5186
- transformers.signal(es2018$2.raceAbortSignals([
5187
- options.signal,
5188
- options.timeout !== false && ((_a = (options.timeout && es2018$2.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018$2.timeoutSignal(this.options.timeout)))
5189
- ])),
5190
- transformers.keepalive((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive),
5191
- transformers.header('Accept-Version', '0.1.0')
5192
- ];
4832
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
4833
+ return await es2018$c.fetch(req)
4834
+ .then(es2018$6.ok)
4835
+ .then(es2018$6.toJSON);
5193
4836
  }
5194
4837
  }
5195
4838
 
@@ -5198,33 +4841,33 @@ class JsonSchemaClient extends EStoreManagerBase {
5198
4841
  * @throws {AbortError}
5199
4842
  */
5200
4843
  async getNamespaces(options = {}) {
5201
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
5202
- return await es2018$d.fetch(req)
5203
- .then(es2018$7.ok)
5204
- .then(es2018$7.toJSON);
4844
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
4845
+ return await es2018$c.fetch(req)
4846
+ .then(es2018$6.ok)
4847
+ .then(es2018$6.toJSON);
5205
4848
  }
5206
4849
  /**
5207
4850
  * @throws {AbortError}
5208
4851
  */
5209
4852
  async get(namespace, options = {}) {
5210
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
5211
- return await es2018$d.fetch(req)
5212
- .then(es2018$7.ok)
5213
- .then(es2018$7.toJSON);
4853
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
4854
+ return await es2018$c.fetch(req)
4855
+ .then(es2018$6.ok)
4856
+ .then(es2018$6.toJSON);
5214
4857
  }
5215
4858
  /**
5216
4859
  * @throws {AbortError}
5217
4860
  */
5218
4861
  async set(namespace, schema, options = {}) {
5219
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
5220
- await es2018$d.fetch(req).then(es2018$7.ok);
4862
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
4863
+ await es2018$c.fetch(req).then(es2018$6.ok);
5221
4864
  }
5222
4865
  /**
5223
4866
  * @throws {AbortError}
5224
4867
  */
5225
4868
  async remove(namespace, options = {}) {
5226
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
5227
- await es2018$d.fetch(req).then(es2018$7.ok);
4869
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
4870
+ await es2018$c.fetch(req).then(es2018$6.ok);
5228
4871
  }
5229
4872
  }
5230
4873
 
@@ -5233,24 +4876,24 @@ class BlacklistClient extends EStoreManagerBase {
5233
4876
  * @throws {AbortError}
5234
4877
  */
5235
4878
  async getNamespaces(options = {}) {
5236
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
5237
- return await es2018$d.fetch(req)
5238
- .then(es2018$7.ok)
5239
- .then(es2018$7.toJSON);
4879
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
4880
+ return await es2018$c.fetch(req)
4881
+ .then(es2018$6.ok)
4882
+ .then(es2018$6.toJSON);
5240
4883
  }
5241
4884
  /**
5242
4885
  * @throws {AbortError}
5243
4886
  */
5244
4887
  async add(namespace, options = {}) {
5245
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
5246
- await es2018$d.fetch(req).then(es2018$7.ok);
4888
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4889
+ await es2018$c.fetch(req).then(es2018$6.ok);
5247
4890
  }
5248
4891
  /**
5249
4892
  * @throws {AbortError}
5250
4893
  */
5251
4894
  async remove(namespace, options = {}) {
5252
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
5253
- await es2018$d.fetch(req).then(es2018$7.ok);
4895
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4896
+ await es2018$c.fetch(req).then(es2018$6.ok);
5254
4897
  }
5255
4898
  }
5256
4899
 
@@ -5259,24 +4902,24 @@ class WhitelistClient extends EStoreManagerBase {
5259
4902
  * @throws {AbortError}
5260
4903
  */
5261
4904
  async getNamespaces(options = {}) {
5262
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
5263
- return await es2018$d.fetch(req)
5264
- .then(es2018$7.ok)
5265
- .then(es2018$7.toJSON);
4905
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
4906
+ return await es2018$c.fetch(req)
4907
+ .then(es2018$6.ok)
4908
+ .then(es2018$6.toJSON);
5266
4909
  }
5267
4910
  /**
5268
4911
  * @throws {AbortError}
5269
4912
  */
5270
4913
  async add(namespace, options = {}) {
5271
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
5272
- await es2018$d.fetch(req).then(es2018$7.ok);
4914
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4915
+ await es2018$c.fetch(req).then(es2018$6.ok);
5273
4916
  }
5274
4917
  /**
5275
4918
  * @throws {AbortError}
5276
4919
  */
5277
4920
  async remove(namespace, options = {}) {
5278
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
5279
- await es2018$d.fetch(req).then(es2018$7.ok);
4921
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4922
+ await es2018$c.fetch(req).then(es2018$6.ok);
5280
4923
  }
5281
4924
  }
5282
4925
 
@@ -5285,61 +4928,61 @@ class TokenPolicyClient extends EStoreManagerBase {
5285
4928
  * @throws {AbortError}
5286
4929
  */
5287
4930
  async getNamespaces(options = {}) {
5288
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-token-policies'));
5289
- return await es2018$d.fetch(req)
5290
- .then(es2018$7.ok)
5291
- .then(es2018$7.toJSON);
4931
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-token-policies'));
4932
+ return await es2018$c.fetch(req)
4933
+ .then(es2018$6.ok)
4934
+ .then(es2018$6.toJSON);
5292
4935
  }
5293
4936
  /**
5294
4937
  * @throws {AbortError}
5295
4938
  */
5296
4939
  async get(namespace, options = {}) {
5297
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
5298
- return await es2018$d.fetch(req)
5299
- .then(es2018$7.ok)
5300
- .then(es2018$7.toJSON);
4940
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
4941
+ return await es2018$c.fetch(req)
4942
+ .then(es2018$6.ok)
4943
+ .then(es2018$6.toJSON);
5301
4944
  }
5302
4945
  /**
5303
4946
  * @throws {AbortError}
5304
4947
  */
5305
4948
  async setWriteTokenRequired(namespace, val, options = {}) {
5306
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
5307
- await es2018$d.fetch(req).then(es2018$7.ok);
4949
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
4950
+ await es2018$c.fetch(req).then(es2018$6.ok);
5308
4951
  }
5309
4952
  /**
5310
4953
  * @throws {AbortError}
5311
4954
  */
5312
4955
  async removeWriteTokenRequired(namespace, options = {}) {
5313
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
5314
- await es2018$d.fetch(req).then(es2018$7.ok);
4956
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
4957
+ await es2018$c.fetch(req).then(es2018$6.ok);
5315
4958
  }
5316
4959
  /**
5317
4960
  * @throws {AbortError}
5318
4961
  */
5319
4962
  async setReadTokenRequired(namespace, val, options = {}) {
5320
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
5321
- await es2018$d.fetch(req).then(es2018$7.ok);
4963
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
4964
+ await es2018$c.fetch(req).then(es2018$6.ok);
5322
4965
  }
5323
4966
  /**
5324
4967
  * @throws {AbortError}
5325
4968
  */
5326
4969
  async removeReadTokenRequired(namespace, options = {}) {
5327
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
5328
- await es2018$d.fetch(req).then(es2018$7.ok);
4970
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
4971
+ await es2018$c.fetch(req).then(es2018$6.ok);
5329
4972
  }
5330
4973
  /**
5331
4974
  * @throws {AbortError}
5332
4975
  */
5333
4976
  async setDeleteTokenRequired(namespace, val, options = {}) {
5334
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
5335
- await es2018$d.fetch(req).then(es2018$7.ok);
4977
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
4978
+ await es2018$c.fetch(req).then(es2018$6.ok);
5336
4979
  }
5337
4980
  /**
5338
4981
  * @throws {AbortError}
5339
4982
  */
5340
4983
  async removeDeleteTokenRequired(namespace, options = {}) {
5341
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
5342
- await es2018$d.fetch(req).then(es2018$7.ok);
4984
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
4985
+ await es2018$c.fetch(req).then(es2018$6.ok);
5343
4986
  }
5344
4987
  }
5345
4988
 
@@ -5348,61 +4991,61 @@ class TokenClient extends EStoreManagerBase {
5348
4991
  * @throws {AbortError}
5349
4992
  */
5350
4993
  async getNamespaces(options = {}) {
5351
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
5352
- return await es2018$d.fetch(req)
5353
- .then(es2018$7.ok)
5354
- .then(es2018$7.toJSON);
4994
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
4995
+ return await es2018$c.fetch(req)
4996
+ .then(es2018$6.ok)
4997
+ .then(es2018$6.toJSON);
5355
4998
  }
5356
4999
  /**
5357
5000
  * @throws {AbortError}
5358
5001
  */
5359
5002
  async getTokens(namespace, options = {}) {
5360
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
5361
- return await es2018$d.fetch(req)
5362
- .then(es2018$7.ok)
5363
- .then(es2018$7.toJSON);
5003
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
5004
+ return await es2018$c.fetch(req)
5005
+ .then(es2018$6.ok)
5006
+ .then(es2018$6.toJSON);
5364
5007
  }
5365
5008
  /**
5366
5009
  * @throws {AbortError}
5367
5010
  */
5368
5011
  async addWriteToken(namespace, token, options = {}) {
5369
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5370
- await es2018$d.fetch(req).then(es2018$7.ok);
5012
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5013
+ await es2018$c.fetch(req).then(es2018$6.ok);
5371
5014
  }
5372
5015
  /**
5373
5016
  * @throws {AbortError}
5374
5017
  */
5375
5018
  async removeWriteToken(namespace, token, options = {}) {
5376
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5377
- await es2018$d.fetch(req).then(es2018$7.ok);
5019
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5020
+ await es2018$c.fetch(req).then(es2018$6.ok);
5378
5021
  }
5379
5022
  /**
5380
5023
  * @throws {AbortError}
5381
5024
  */
5382
5025
  async addReadToken(namespace, token, options = {}) {
5383
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5384
- await es2018$d.fetch(req).then(es2018$7.ok);
5026
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5027
+ await es2018$c.fetch(req).then(es2018$6.ok);
5385
5028
  }
5386
5029
  /**
5387
5030
  * @throws {AbortError}
5388
5031
  */
5389
5032
  async removeReadToken(namespace, token, options = {}) {
5390
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5391
- await es2018$d.fetch(req).then(es2018$7.ok);
5033
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5034
+ await es2018$c.fetch(req).then(es2018$6.ok);
5392
5035
  }
5393
5036
  /**
5394
5037
  * @throws {AbortError}
5395
5038
  */
5396
5039
  async addDeleteToken(namespace, token, options = {}) {
5397
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5398
- await es2018$d.fetch(req).then(es2018$7.ok);
5040
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5041
+ await es2018$c.fetch(req).then(es2018$6.ok);
5399
5042
  }
5400
5043
  /**
5401
5044
  * @throws {AbortError}
5402
5045
  */
5403
5046
  async removeDeleteToken(namespace, token, options = {}) {
5404
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5405
- await es2018$d.fetch(req).then(es2018$7.ok);
5047
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5048
+ await es2018$c.fetch(req).then(es2018$6.ok);
5406
5049
  }
5407
5050
  }
5408
5051
 
@@ -5417,8 +5060,8 @@ class EStoreManager {
5417
5060
  }
5418
5061
  }
5419
5062
 
5420
- var AbortError$1 = es2018$d.AbortError;
5421
- var HTTPClientError$1 = es2018$9.HTTPClientError;
5422
- var HTTPError$1 = es2018$7.HTTPError;
5063
+ var AbortError$1 = es2018$c.AbortError;
5064
+ var HTTPClientError$1 = es2018$8.HTTPClientError;
5065
+ var HTTPError$1 = es2018$6.HTTPError;
5423
5066
  export { AbortError$1 as AbortError, EStoreClient, EStoreManager, HTTPClientError$1 as HTTPClientError, HTTPError$1 as HTTPError };
5424
5067
  //# sourceMappingURL=index.mjs.map