@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.
@@ -46,7 +46,7 @@
46
46
  return a;
47
47
  }
48
48
 
49
- var es2018$d = {};
49
+ var es2018$c = {};
50
50
 
51
51
  var fetch_browser = {};
52
52
 
@@ -113,9 +113,9 @@
113
113
  __exportStar(blob_browser, exports);
114
114
  __exportStar(eventSource_browser, exports);
115
115
 
116
- }(es2018$d));
116
+ }(es2018$c));
117
117
 
118
- var es2018$c = {};
118
+ var es2018$b = {};
119
119
 
120
120
  var types = /*#__PURE__*/Object.freeze({
121
121
  __proto__: null
@@ -125,193 +125,193 @@
125
125
 
126
126
  var request$1 = {};
127
127
 
128
- var es2018$b = {};
128
+ var es2018$a = {};
129
129
 
130
- var array$2 = {};
130
+ var array$1 = {};
131
131
 
132
- array$2.isntEmptyArray = array$2.isEmptyArray = array$2.isntArray = array$2.isArray = void 0;
133
- function isArray$2(val) {
132
+ array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
133
+ function isArray$1(val) {
134
134
  return Array.isArray(val);
135
135
  }
136
- array$2.isArray = isArray$2;
137
- function isntArray$2(val) {
138
- return !isArray$2(val);
136
+ array$1.isArray = isArray$1;
137
+ function isntArray$1(val) {
138
+ return !isArray$1(val);
139
139
  }
140
- array$2.isntArray = isntArray$2;
141
- function isEmptyArray$2(val) {
140
+ array$1.isntArray = isntArray$1;
141
+ function isEmptyArray$1(val) {
142
142
  return val.length === 0;
143
143
  }
144
- array$2.isEmptyArray = isEmptyArray$2;
145
- function isntEmptyArray$2(val) {
144
+ array$1.isEmptyArray = isEmptyArray$1;
145
+ function isntEmptyArray$1(val) {
146
146
  return val.length !== 0;
147
147
  }
148
- array$2.isntEmptyArray = isntEmptyArray$2;
148
+ array$1.isntEmptyArray = isntEmptyArray$1;
149
149
 
150
- var asyncIterable$2 = {};
150
+ var asyncIterable$1 = {};
151
151
 
152
- var _null$2 = {};
152
+ var _null$1 = {};
153
153
 
154
- _null$2.isntNull = _null$2.isNull = void 0;
155
- function isNull$2(val) {
154
+ _null$1.isntNull = _null$1.isNull = void 0;
155
+ function isNull$1(val) {
156
156
  return val === null;
157
157
  }
158
- _null$2.isNull = isNull$2;
159
- function isntNull$2(val) {
160
- return !isNull$2(val);
158
+ _null$1.isNull = isNull$1;
159
+ function isntNull$1(val) {
160
+ return !isNull$1(val);
161
161
  }
162
- _null$2.isntNull = isntNull$2;
162
+ _null$1.isntNull = isntNull$1;
163
163
 
164
- var _undefined$2 = {};
164
+ var _undefined$1 = {};
165
165
 
166
- _undefined$2.isntUndefined = _undefined$2.isUndefined = void 0;
167
- function isUndefined$2(val) {
166
+ _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
167
+ function isUndefined$1(val) {
168
168
  return val === undefined;
169
169
  }
170
- _undefined$2.isUndefined = isUndefined$2;
171
- function isntUndefined$2(val) {
172
- return !isUndefined$2(val);
170
+ _undefined$1.isUndefined = isUndefined$1;
171
+ function isntUndefined$1(val) {
172
+ return !isUndefined$1(val);
173
173
  }
174
- _undefined$2.isntUndefined = isntUndefined$2;
174
+ _undefined$1.isntUndefined = isntUndefined$1;
175
175
 
176
- asyncIterable$2.isntAsyncIterable = asyncIterable$2.isAsyncIterable = void 0;
177
- const null_1$5 = _null$2;
178
- const undefined_1$8 = _undefined$2;
179
- function isAsyncIterable$2(val) {
180
- return (0, null_1$5.isntNull)(val)
181
- && (0, undefined_1$8.isntUndefined)(val)
176
+ asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
177
+ const null_1$3 = _null$1;
178
+ const undefined_1$5 = _undefined$1;
179
+ function isAsyncIterable$1(val) {
180
+ return (0, null_1$3.isntNull)(val)
181
+ && (0, undefined_1$5.isntUndefined)(val)
182
182
  && typeof val[Symbol.asyncIterator] === 'function';
183
183
  }
184
- asyncIterable$2.isAsyncIterable = isAsyncIterable$2;
185
- function isntAsyncIterable$2(val) {
186
- return !isAsyncIterable$2(val);
184
+ asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
185
+ function isntAsyncIterable$1(val) {
186
+ return !isAsyncIterable$1(val);
187
187
  }
188
- asyncIterable$2.isntAsyncIterable = isntAsyncIterable$2;
188
+ asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
189
189
 
190
- var bigint$2 = {};
190
+ var bigint$1 = {};
191
191
 
192
- bigint$2.isntBigInt = bigint$2.isBigInt = void 0;
193
- function isBigInt$2(val) {
192
+ bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
193
+ function isBigInt$1(val) {
194
194
  return typeof val === 'bigint';
195
195
  }
196
- bigint$2.isBigInt = isBigInt$2;
197
- function isntBigInt$2(val) {
198
- return !isBigInt$2(val);
196
+ bigint$1.isBigInt = isBigInt$1;
197
+ function isntBigInt$1(val) {
198
+ return !isBigInt$1(val);
199
199
  }
200
- bigint$2.isntBigInt = isntBigInt$2;
200
+ bigint$1.isntBigInt = isntBigInt$1;
201
201
 
202
- var boolean$2 = {};
202
+ var boolean$1 = {};
203
203
 
204
- boolean$2.isntBoolean = boolean$2.isBoolean = void 0;
205
- function isBoolean$2(val) {
204
+ boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
205
+ function isBoolean$1(val) {
206
206
  return typeof val === 'boolean';
207
207
  }
208
- boolean$2.isBoolean = isBoolean$2;
209
- function isntBoolean$2(val) {
210
- return !isBoolean$2(val);
208
+ boolean$1.isBoolean = isBoolean$1;
209
+ function isntBoolean$1(val) {
210
+ return !isBoolean$1(val);
211
211
  }
212
- boolean$2.isntBoolean = isntBoolean$2;
212
+ boolean$1.isntBoolean = isntBoolean$1;
213
213
 
214
- var char$2 = {};
214
+ var char$1 = {};
215
215
 
216
- var string$2 = {};
216
+ var string$1 = {};
217
217
 
218
- string$2.isntString = string$2.isString = void 0;
219
- function isString$2(val) {
218
+ string$1.isntString = string$1.isString = void 0;
219
+ function isString$1(val) {
220
220
  return typeof val === 'string';
221
221
  }
222
- string$2.isString = isString$2;
223
- function isntString$2(val) {
224
- return !isString$2(val);
222
+ string$1.isString = isString$1;
223
+ function isntString$1(val) {
224
+ return !isString$1(val);
225
225
  }
226
- string$2.isntString = isntString$2;
226
+ string$1.isntString = isntString$1;
227
227
 
228
- char$2.isntChar = char$2.isChar = void 0;
229
- const string_1$5 = string$2;
230
- function isChar$2(val) {
231
- return (0, string_1$5.isString)(val)
228
+ char$1.isntChar = char$1.isChar = void 0;
229
+ const string_1$3 = string$1;
230
+ function isChar$1(val) {
231
+ return (0, string_1$3.isString)(val)
232
232
  && val.length === 1;
233
233
  }
234
- char$2.isChar = isChar$2;
235
- function isntChar$2(val) {
236
- return !isChar$2(val);
234
+ char$1.isChar = isChar$1;
235
+ function isntChar$1(val) {
236
+ return !isChar$1(val);
237
237
  }
238
- char$2.isntChar = isntChar$2;
238
+ char$1.isntChar = isntChar$1;
239
239
 
240
- var date$2 = {};
240
+ var date$1 = {};
241
241
 
242
- date$2.isntDate = date$2.isDate = void 0;
243
- function isDate$2(val) {
242
+ date$1.isntDate = date$1.isDate = void 0;
243
+ function isDate$1(val) {
244
244
  return val instanceof Date;
245
245
  }
246
- date$2.isDate = isDate$2;
247
- function isntDate$2(val) {
248
- return !isDate$2(val);
246
+ date$1.isDate = isDate$1;
247
+ function isntDate$1(val) {
248
+ return !isDate$1(val);
249
249
  }
250
- date$2.isntDate = isntDate$2;
250
+ date$1.isntDate = isntDate$1;
251
251
 
252
- var _enum$3 = {};
252
+ var _enum$2 = {};
253
253
 
254
- _enum$3.inEnum = void 0;
255
- function inEnum$2(val, _enum) {
254
+ _enum$2.inEnum = void 0;
255
+ function inEnum$1(val, _enum) {
256
256
  return Object.values(_enum).includes(val);
257
257
  }
258
- _enum$3.inEnum = inEnum$2;
258
+ _enum$2.inEnum = inEnum$1;
259
259
 
260
- var error$2 = {};
260
+ var error$1 = {};
261
261
 
262
- error$2.isntError = error$2.isError = void 0;
263
- function isError$2(val) {
262
+ error$1.isntError = error$1.isError = void 0;
263
+ function isError$1(val) {
264
264
  return val instanceof Error;
265
265
  }
266
- error$2.isError = isError$2;
267
- function isntError$2(val) {
268
- return !isError$2(val);
266
+ error$1.isError = isError$1;
267
+ function isntError$1(val) {
268
+ return !isError$1(val);
269
269
  }
270
- error$2.isntError = isntError$2;
270
+ error$1.isntError = isntError$1;
271
271
 
272
- var falsy$2 = {};
272
+ var falsy$1 = {};
273
273
 
274
- falsy$2.isntFalsy = falsy$2.isFalsy = void 0;
275
- function isFalsy$2(val) {
274
+ falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
275
+ function isFalsy$1(val) {
276
276
  return !val;
277
277
  }
278
- falsy$2.isFalsy = isFalsy$2;
279
- function isntFalsy$2(val) {
280
- return !isFalsy$2(val);
278
+ falsy$1.isFalsy = isFalsy$1;
279
+ function isntFalsy$1(val) {
280
+ return !isFalsy$1(val);
281
281
  }
282
- falsy$2.isntFalsy = isntFalsy$2;
282
+ falsy$1.isntFalsy = isntFalsy$1;
283
283
 
284
- var _function$2 = {};
284
+ var _function$1 = {};
285
285
 
286
- _function$2.isntFunction = _function$2.isFunction = void 0;
287
- function isFunction$2(val) {
286
+ _function$1.isntFunction = _function$1.isFunction = void 0;
287
+ function isFunction$1(val) {
288
288
  return typeof val === 'function';
289
289
  }
290
- _function$2.isFunction = isFunction$2;
291
- function isntFunction$2(val) {
292
- return !isFunction$2(val);
290
+ _function$1.isFunction = isFunction$1;
291
+ function isntFunction$1(val) {
292
+ return !isFunction$1(val);
293
293
  }
294
- _function$2.isntFunction = isntFunction$2;
294
+ _function$1.isntFunction = isntFunction$1;
295
295
 
296
- var iterable$2 = {};
296
+ var iterable$1 = {};
297
297
 
298
- iterable$2.isntIterable = iterable$2.isIterable = void 0;
299
- const null_1$4 = _null$2;
300
- const undefined_1$7 = _undefined$2;
301
- function isIterable$2(val) {
302
- return (0, null_1$4.isntNull)(val)
303
- && (0, undefined_1$7.isntUndefined)(val)
298
+ iterable$1.isntIterable = iterable$1.isIterable = void 0;
299
+ const null_1$2 = _null$1;
300
+ const undefined_1$4 = _undefined$1;
301
+ function isIterable$1(val) {
302
+ return (0, null_1$2.isntNull)(val)
303
+ && (0, undefined_1$4.isntUndefined)(val)
304
304
  && typeof val[Symbol.iterator] === 'function';
305
305
  }
306
- iterable$2.isIterable = isIterable$2;
307
- function isntIterable$2(val) {
308
- return !isIterable$2(val);
306
+ iterable$1.isIterable = isIterable$1;
307
+ function isntIterable$1(val) {
308
+ return !isIterable$1(val);
309
309
  }
310
- iterable$2.isntIterable = isntIterable$2;
310
+ iterable$1.isntIterable = isntIterable$1;
311
311
 
312
- var jsonRpc$2 = {};
312
+ var jsonRpc$1 = {};
313
313
 
314
- var object$2 = {};
314
+ var object$1 = {};
315
315
 
316
316
  /**
317
317
  * lodash (Custom Build) <https://lodash.com/>
@@ -437,7 +437,7 @@
437
437
  * _.isPlainObject(Object.create(null));
438
438
  * // => true
439
439
  */
440
- function isPlainObject$3(value) {
440
+ function isPlainObject$2(value) {
441
441
  if (!isObjectLike(value) ||
442
442
  objectToString.call(value) != objectTag || isHostObject(value)) {
443
443
  return false;
@@ -451,119 +451,119 @@
451
451
  Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);
452
452
  }
453
453
 
454
- var lodash_isplainobject = isPlainObject$3;
454
+ var lodash_isplainobject = isPlainObject$2;
455
455
 
456
- var __importDefault$3 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
456
+ var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
457
457
  return (mod && mod.__esModule) ? mod : { "default": mod };
458
- };object$2.isntEmptyObject = object$2.isEmptyObject = object$2.isntPlainObject = object$2.isPlainObject = object$2.isntObject = object$2.isObject = void 0;
459
- const lodash_isplainobject_1$2 = __importDefault$3(lodash_isplainobject);
460
- function isObject$2(val) {
458
+ };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
459
+ const lodash_isplainobject_1$1 = __importDefault$2(lodash_isplainobject);
460
+ function isObject$1(val) {
461
461
  return val !== null
462
462
  && typeof val === 'object';
463
463
  }
464
- object$2.isObject = isObject$2;
465
- function isntObject$2(val) {
466
- return !isObject$2(val);
464
+ object$1.isObject = isObject$1;
465
+ function isntObject$1(val) {
466
+ return !isObject$1(val);
467
467
  }
468
- object$2.isntObject = isntObject$2;
469
- function isPlainObject$2(val) {
470
- return (0, lodash_isplainobject_1$2.default)(val);
468
+ object$1.isntObject = isntObject$1;
469
+ function isPlainObject$1(val) {
470
+ return (0, lodash_isplainobject_1$1.default)(val);
471
471
  }
472
- object$2.isPlainObject = isPlainObject$2;
473
- function isntPlainObject$2(val) {
474
- return !isPlainObject$2(val);
472
+ object$1.isPlainObject = isPlainObject$1;
473
+ function isntPlainObject$1(val) {
474
+ return !isPlainObject$1(val);
475
475
  }
476
- object$2.isntPlainObject = isntPlainObject$2;
477
- function isEmptyObject$2(val) {
476
+ object$1.isntPlainObject = isntPlainObject$1;
477
+ function isEmptyObject$1(val) {
478
478
  return Object.keys(val).length === 0;
479
479
  }
480
- object$2.isEmptyObject = isEmptyObject$2;
481
- function isntEmptyObject$2(val) {
480
+ object$1.isEmptyObject = isEmptyObject$1;
481
+ function isntEmptyObject$1(val) {
482
482
  return Object.keys(val).length !== 0;
483
483
  }
484
- object$2.isntEmptyObject = isntEmptyObject$2;
484
+ object$1.isntEmptyObject = isntEmptyObject$1;
485
485
 
486
- var number$2 = {};
486
+ var number$1 = {};
487
487
 
488
- number$2.isntNumber = number$2.isNumber = void 0;
489
- function isNumber$2(val) {
488
+ number$1.isntNumber = number$1.isNumber = void 0;
489
+ function isNumber$1(val) {
490
490
  return typeof val === 'number';
491
491
  }
492
- number$2.isNumber = isNumber$2;
493
- function isntNumber$2(val) {
494
- return !isNumber$2(val);
495
- }
496
- number$2.isntNumber = isntNumber$2;
497
-
498
- 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;
499
- const array_1$2 = array$2;
500
- const object_1$2 = object$2;
501
- const string_1$4 = string$2;
502
- const number_1$2 = number$2;
503
- const undefined_1$6 = _undefined$2;
504
- function isJsonRpcId$2(val) {
505
- return (0, string_1$4.isString)(val) || (0, number_1$2.isNumber)(val);
506
- }
507
- function isJsonRpcParams$2(val) {
508
- return (0, array_1$2.isArray)(val) || (0, object_1$2.isObject)(val);
509
- }
510
- function isJsonRpcNotification$2(val) {
511
- return (0, object_1$2.isPlainObject)(val)
512
- && (0, string_1$4.isString)(val.jsonrpc)
513
- && (0, string_1$4.isString)(val.method)
514
- && (0, undefined_1$6.isUndefined)(val.id)
515
- && isJsonRpcParams$2(val.params);
516
- }
517
- jsonRpc$2.isJsonRpcNotification = isJsonRpcNotification$2;
518
- function isntJsonRpcNotification$2(val) {
519
- return !isJsonRpcNotification$2(val);
520
- }
521
- jsonRpc$2.isntJsonRpcNotification = isntJsonRpcNotification$2;
522
- function isJsonRpcRequest$2(val) {
523
- return (0, object_1$2.isPlainObject)(val)
524
- && (0, string_1$4.isString)(val.jsonrpc)
525
- && (0, string_1$4.isString)(val.method)
526
- && isJsonRpcId$2(val.id)
527
- && isJsonRpcParams$2(val.params);
528
- }
529
- jsonRpc$2.isJsonRpcRequest = isJsonRpcRequest$2;
530
- function isntJsonRpcRequest$2(val) {
531
- return !isJsonRpcRequest$2(val);
532
- }
533
- jsonRpc$2.isntJsonRpcRequest = isntJsonRpcRequest$2;
534
- function isJsonRpcSuccess$2(val) {
535
- return (0, object_1$2.isPlainObject)(val)
536
- && (0, string_1$4.isString)(val.jsonrpc)
537
- && (0, string_1$4.isString)(val.id)
492
+ number$1.isNumber = isNumber$1;
493
+ function isntNumber$1(val) {
494
+ return !isNumber$1(val);
495
+ }
496
+ number$1.isntNumber = isntNumber$1;
497
+
498
+ 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;
499
+ const array_1$1 = array$1;
500
+ const object_1$1 = object$1;
501
+ const string_1$2 = string$1;
502
+ const number_1$1 = number$1;
503
+ const undefined_1$3 = _undefined$1;
504
+ function isJsonRpcId$1(val) {
505
+ return (0, string_1$2.isString)(val) || (0, number_1$1.isNumber)(val);
506
+ }
507
+ function isJsonRpcParams$1(val) {
508
+ return (0, array_1$1.isArray)(val) || (0, object_1$1.isObject)(val);
509
+ }
510
+ function isJsonRpcNotification$1(val) {
511
+ return (0, object_1$1.isPlainObject)(val)
512
+ && (0, string_1$2.isString)(val.jsonrpc)
513
+ && (0, string_1$2.isString)(val.method)
514
+ && (0, undefined_1$3.isUndefined)(val.id)
515
+ && isJsonRpcParams$1(val.params);
516
+ }
517
+ jsonRpc$1.isJsonRpcNotification = isJsonRpcNotification$1;
518
+ function isntJsonRpcNotification$1(val) {
519
+ return !isJsonRpcNotification$1(val);
520
+ }
521
+ jsonRpc$1.isntJsonRpcNotification = isntJsonRpcNotification$1;
522
+ function isJsonRpcRequest$1(val) {
523
+ return (0, object_1$1.isPlainObject)(val)
524
+ && (0, string_1$2.isString)(val.jsonrpc)
525
+ && (0, string_1$2.isString)(val.method)
526
+ && isJsonRpcId$1(val.id)
527
+ && isJsonRpcParams$1(val.params);
528
+ }
529
+ jsonRpc$1.isJsonRpcRequest = isJsonRpcRequest$1;
530
+ function isntJsonRpcRequest$1(val) {
531
+ return !isJsonRpcRequest$1(val);
532
+ }
533
+ jsonRpc$1.isntJsonRpcRequest = isntJsonRpcRequest$1;
534
+ function isJsonRpcSuccess$1(val) {
535
+ return (0, object_1$1.isPlainObject)(val)
536
+ && (0, string_1$2.isString)(val.jsonrpc)
537
+ && (0, string_1$2.isString)(val.id)
538
538
  && 'result' in val;
539
539
  }
540
- jsonRpc$2.isJsonRpcSuccess = isJsonRpcSuccess$2;
541
- function isntJsonRpcSuccess$2(val) {
542
- return !isJsonRpcSuccess$2(val);
540
+ jsonRpc$1.isJsonRpcSuccess = isJsonRpcSuccess$1;
541
+ function isntJsonRpcSuccess$1(val) {
542
+ return !isJsonRpcSuccess$1(val);
543
543
  }
544
- jsonRpc$2.isntJsonRpcSuccess = isntJsonRpcSuccess$2;
545
- function isJsonRpcError$2(val) {
546
- return (0, object_1$2.isPlainObject)(val)
547
- && (0, string_1$4.isString)(val.jsonrpc)
548
- && isJsonRpcId$2(val.id)
549
- && isJsonRpcErrorObject$2(val.error);
544
+ jsonRpc$1.isntJsonRpcSuccess = isntJsonRpcSuccess$1;
545
+ function isJsonRpcError$1(val) {
546
+ return (0, object_1$1.isPlainObject)(val)
547
+ && (0, string_1$2.isString)(val.jsonrpc)
548
+ && isJsonRpcId$1(val.id)
549
+ && isJsonRpcErrorObject$1(val.error);
550
550
  }
551
- jsonRpc$2.isJsonRpcError = isJsonRpcError$2;
552
- function isntJsonRpcError$2(val) {
553
- return !isJsonRpcError$2(val);
551
+ jsonRpc$1.isJsonRpcError = isJsonRpcError$1;
552
+ function isntJsonRpcError$1(val) {
553
+ return !isJsonRpcError$1(val);
554
554
  }
555
- jsonRpc$2.isntJsonRpcError = isntJsonRpcError$2;
556
- function isJsonRpcErrorObject$2(val) {
557
- return (0, object_1$2.isPlainObject)(val)
558
- && (0, number_1$2.isNumber)(val.code)
559
- && (0, string_1$4.isString)(val.message)
560
- && ((0, undefined_1$6.isUndefined)(val.data) || (0, object_1$2.isObject)(val.data));
555
+ jsonRpc$1.isntJsonRpcError = isntJsonRpcError$1;
556
+ function isJsonRpcErrorObject$1(val) {
557
+ return (0, object_1$1.isPlainObject)(val)
558
+ && (0, number_1$1.isNumber)(val.code)
559
+ && (0, string_1$2.isString)(val.message)
560
+ && ((0, undefined_1$3.isUndefined)(val.data) || (0, object_1$1.isObject)(val.data));
561
561
  }
562
562
 
563
- var json$4 = {};
563
+ var json$3 = {};
564
564
 
565
- json$4.isntJson = json$4.isJson = void 0;
566
- function isJson$2(val) {
565
+ json$3.isntJson = json$3.isJson = void 0;
566
+ function isJson$1(val) {
567
567
  try {
568
568
  JSON.stringify(val);
569
569
  return true;
@@ -572,16 +572,16 @@
572
572
  return false;
573
573
  }
574
574
  }
575
- json$4.isJson = isJson$2;
576
- function isntJson$2(val) {
577
- return !isntJson$2();
575
+ json$3.isJson = isJson$1;
576
+ function isntJson$1(val) {
577
+ return !isntJson$1();
578
578
  }
579
- json$4.isntJson = isntJson$2;
579
+ json$3.isntJson = isntJson$1;
580
580
 
581
- var url$4 = {};
581
+ var url$3 = {};
582
582
 
583
- url$4.isAbsoluteURL = void 0;
584
- function isAbsoluteURL$2(str) {
583
+ url$3.isAbsoluteURL = void 0;
584
+ function isAbsoluteURL$1(str) {
585
585
  try {
586
586
  new URL(str);
587
587
  return true;
@@ -590,7 +590,7 @@
590
590
  return false;
591
591
  }
592
592
  }
593
- url$4.isAbsoluteURL = isAbsoluteURL$2;
593
+ url$3.isAbsoluteURL = isAbsoluteURL$1;
594
594
 
595
595
  (function (exports) {
596
596
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -602,31 +602,31 @@
602
602
  }));
603
603
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
604
604
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
605
- };__exportStar(array$2, exports);
606
- __exportStar(asyncIterable$2, exports);
607
- __exportStar(bigint$2, exports);
608
- __exportStar(boolean$2, exports);
609
- __exportStar(char$2, exports);
610
- __exportStar(date$2, exports);
611
- __exportStar(_enum$3, exports);
612
- __exportStar(error$2, exports);
613
- __exportStar(falsy$2, exports);
614
- __exportStar(_function$2, exports);
615
- __exportStar(iterable$2, exports);
616
- __exportStar(jsonRpc$2, exports);
617
- __exportStar(json$4, exports);
618
- __exportStar(_null$2, exports);
619
- __exportStar(number$2, exports);
620
- __exportStar(object$2, exports);
621
- __exportStar(string$2, exports);
622
- __exportStar(_undefined$2, exports);
623
- __exportStar(url$4, exports);
605
+ };__exportStar(array$1, exports);
606
+ __exportStar(asyncIterable$1, exports);
607
+ __exportStar(bigint$1, exports);
608
+ __exportStar(boolean$1, exports);
609
+ __exportStar(char$1, exports);
610
+ __exportStar(date$1, exports);
611
+ __exportStar(_enum$2, exports);
612
+ __exportStar(error$1, exports);
613
+ __exportStar(falsy$1, exports);
614
+ __exportStar(_function$1, exports);
615
+ __exportStar(iterable$1, exports);
616
+ __exportStar(jsonRpc$1, exports);
617
+ __exportStar(json$3, exports);
618
+ __exportStar(_null$1, exports);
619
+ __exportStar(number$1, exports);
620
+ __exportStar(object$1, exports);
621
+ __exportStar(string$1, exports);
622
+ __exportStar(_undefined$1, exports);
623
+ __exportStar(url$3, exports);
624
624
 
625
- }(es2018$b));
625
+ }(es2018$a));
626
626
 
627
627
  request$1.del = request$1.patch = request$1.put = request$1.post = request$1.head = request$1.get = void 0;
628
- const extra_fetch_1$7 = es2018$d;
629
- const types_1$n = es2018$b;
628
+ const extra_fetch_1$7 = es2018$c;
629
+ const types_1$n = es2018$a;
630
630
  function get(...transformers) {
631
631
  return request('GET', ...transformers);
632
632
  }
@@ -679,14 +679,14 @@
679
679
  };__exportStar(require$$0$1, exports);
680
680
  __exportStar(request$1, exports);
681
681
 
682
- }(es2018$c));
682
+ }(es2018$b));
683
683
 
684
684
  var transformers = {};
685
685
 
686
- var url$3 = {};
686
+ var url$2 = {};
687
687
 
688
- url$3.url = void 0;
689
- function url$2(...urls) {
688
+ url$2.url = void 0;
689
+ function url$1(...urls) {
690
690
  return (options) => {
691
691
  const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
692
692
  return {
@@ -695,12 +695,12 @@
695
695
  };
696
696
  };
697
697
  }
698
- url$3.url = url$2;
698
+ url$2.url = url$1;
699
699
 
700
700
  var text$1 = {};
701
701
 
702
702
  text$1.text = void 0;
703
- const extra_fetch_1$6 = es2018$d;
703
+ const extra_fetch_1$6 = es2018$c;
704
704
  function text(payload) {
705
705
  return (options) => {
706
706
  const headers = new extra_fetch_1$6.Headers(options.headers);
@@ -714,11 +714,11 @@
714
714
  }
715
715
  text$1.text = text;
716
716
 
717
- var json$3 = {};
717
+ var json$2 = {};
718
718
 
719
- json$3.json = void 0;
720
- const extra_fetch_1$5 = es2018$d;
721
- function json$2(payload) {
719
+ json$2.json = void 0;
720
+ const extra_fetch_1$5 = es2018$c;
721
+ function json$1(payload) {
722
722
  return (options) => {
723
723
  const headers = new extra_fetch_1$5.Headers(options.headers);
724
724
  headers.set('Content-Type', 'application/json');
@@ -729,7 +729,7 @@
729
729
  };
730
730
  };
731
731
  }
732
- json$3.json = json$2;
732
+ json$2.json = json$1;
733
733
 
734
734
  var csv$1 = {};
735
735
 
@@ -746,7 +746,7 @@
746
746
  !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});
747
747
  }(papaparse_min));
748
748
 
749
- var es2018$a = {};
749
+ var es2018$9 = {};
750
750
 
751
751
  var customError$3 = {};
752
752
 
@@ -824,12 +824,12 @@
824
824
  __exportStar(refute$5, exports);
825
825
  __exportStar(assert$7, exports);
826
826
 
827
- }(es2018$a));
827
+ }(es2018$9));
828
828
 
829
829
  csv$1.csv = void 0;
830
- const extra_fetch_1$4 = es2018$d;
830
+ const extra_fetch_1$4 = es2018$c;
831
831
  const papaparse_1$1 = papaparse_min.exports;
832
- const errors_1$i = es2018$a;
832
+ const errors_1$i = es2018$9;
833
833
  function csv(payload) {
834
834
  (0, errors_1$i.assert)(payload.length > 0, 'payload must be a non-empty array');
835
835
  return (options) => {
@@ -864,7 +864,7 @@
864
864
  var header$1 = {};
865
865
 
866
866
  header$1.header = void 0;
867
- const extra_fetch_1$3 = es2018$d;
867
+ const extra_fetch_1$3 = es2018$c;
868
868
  function header(name, value) {
869
869
  return (options) => {
870
870
  const headers = new extra_fetch_1$3.Headers(options.headers);
@@ -880,7 +880,7 @@
880
880
  var appendHeader$1 = {};
881
881
 
882
882
  appendHeader$1.appendHeader = void 0;
883
- const extra_fetch_1$2 = es2018$d;
883
+ const extra_fetch_1$2 = es2018$c;
884
884
  function appendHeader(name, value) {
885
885
  return (options) => {
886
886
  const headers = new extra_fetch_1$2.Headers(options.headers);
@@ -896,7 +896,7 @@
896
896
  var headers$1 = {};
897
897
 
898
898
  headers$1.headers = void 0;
899
- const extra_fetch_1$1 = es2018$d;
899
+ const extra_fetch_1$1 = es2018$c;
900
900
  function headers(headers) {
901
901
  return (options) => {
902
902
  const newHeaders = new extra_fetch_1$1.Headers(options.headers);
@@ -1036,8 +1036,8 @@
1036
1036
  var formDataField$1 = {};
1037
1037
 
1038
1038
  formDataField$1.formDataField = void 0;
1039
- const extra_fetch_1 = es2018$d;
1040
- const types_1$m = es2018$b;
1039
+ const extra_fetch_1 = es2018$c;
1040
+ const types_1$m = es2018$a;
1041
1041
  function formDataField(name, value) {
1042
1042
  return (options) => {
1043
1043
  const formData = options.payload instanceof extra_fetch_1.FormData
@@ -1409,9 +1409,9 @@
1409
1409
  }));
1410
1410
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
1411
1411
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
1412
- };__exportStar(url$3, exports);
1412
+ };__exportStar(url$2, exports);
1413
1413
  __exportStar(text$1, exports);
1414
- __exportStar(json$3, exports);
1414
+ __exportStar(json$2, exports);
1415
1415
  __exportStar(csv$1, exports);
1416
1416
  __exportStar(signal$1, exports);
1417
1417
  __exportStar(header$1, exports);
@@ -1432,7 +1432,7 @@
1432
1432
 
1433
1433
  }(transformers));
1434
1434
 
1435
- var es2018$9 = {};
1435
+ var es2018$8 = {};
1436
1436
 
1437
1437
  var httpStatus = /*#__PURE__*/Object.freeze({
1438
1438
  __proto__: null
@@ -1442,7 +1442,7 @@
1442
1442
 
1443
1443
  var httpError = {};
1444
1444
 
1445
- var es2018$8 = {};
1445
+ var es2018$7 = {};
1446
1446
 
1447
1447
  var customError$2 = {};
1448
1448
 
@@ -1520,10 +1520,10 @@
1520
1520
  __exportStar(refute$3, exports);
1521
1521
  __exportStar(assert$5, exports);
1522
1522
 
1523
- }(es2018$8));
1523
+ }(es2018$7));
1524
1524
 
1525
1525
  httpError.HTTPError = void 0;
1526
- const errors_1$h = es2018$8;
1526
+ const errors_1$h = es2018$7;
1527
1527
  class HTTPError extends errors_1$h.CustomError {
1528
1528
  constructor(code, message) {
1529
1529
  super(message);
@@ -1534,7 +1534,7 @@
1534
1534
 
1535
1535
  var httpInformational = {};
1536
1536
 
1537
- var _enum$2 = {};
1537
+ var _enum$1 = {};
1538
1538
 
1539
1539
  (function (exports) {
1540
1540
  exports.ServerError = exports.ClientError = exports.Redirection = exports.Successful = exports.Informational = void 0;
@@ -1607,10 +1607,10 @@
1607
1607
  ServerError[ServerError["NetworkAuthenticationRequired"] = 511] = "NetworkAuthenticationRequired";
1608
1608
  })(exports.ServerError || (exports.ServerError = {}));
1609
1609
 
1610
- }(_enum$2));
1610
+ }(_enum$1));
1611
1611
 
1612
1612
  httpInformational.EarlyHints = httpInformational.Processing = httpInformational.SwitchingProtocol = httpInformational.Continue = httpInformational.HTTPInformational = void 0;
1613
- const enum_1$4 = _enum$2;
1613
+ const enum_1$4 = _enum$1;
1614
1614
  class HTTPInformational {
1615
1615
  constructor(code, message) {
1616
1616
  this.code = code;
@@ -1646,7 +1646,7 @@
1646
1646
  var httpSuccessful = {};
1647
1647
 
1648
1648
  httpSuccessful.IMUsed = httpSuccessful.AlreadyReported = httpSuccessful.MultiStatus = httpSuccessful.PartialContent = httpSuccessful.ResetContent = httpSuccessful.NoContent = httpSuccessful.NonAuthoritativeInformation = httpSuccessful.Accepted = httpSuccessful.Created = httpSuccessful.OK = httpSuccessful.HTTPSuccessful = void 0;
1649
- const enum_1$3 = _enum$2;
1649
+ const enum_1$3 = _enum$1;
1650
1650
  class HTTPSuccessful {
1651
1651
  constructor(code, message) {
1652
1652
  this.code = code;
@@ -1718,7 +1718,7 @@
1718
1718
  var httpRedirection = {};
1719
1719
 
1720
1720
  httpRedirection.PermanentRedirect = httpRedirection.TemporaryRedirect = httpRedirection.NotModified = httpRedirection.SeeOther = httpRedirection.Found = httpRedirection.MovedPermanently = httpRedirection.MultipleChoice = httpRedirection.HTTPRedirection = void 0;
1721
- const enum_1$2 = _enum$2;
1721
+ const enum_1$2 = _enum$1;
1722
1722
  class HTTPRedirection {
1723
1723
  constructor(code, message) {
1724
1724
  this.code = code;
@@ -1773,7 +1773,7 @@
1773
1773
 
1774
1774
  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;
1775
1775
  const http_error_1$1 = httpError;
1776
- const enum_1$1 = _enum$2;
1776
+ const enum_1$1 = _enum$1;
1777
1777
  class HTTPClientError extends http_error_1$1.HTTPError {
1778
1778
  }
1779
1779
  httpClientError.HTTPClientError = HTTPClientError;
@@ -1938,7 +1938,7 @@
1938
1938
 
1939
1939
  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;
1940
1940
  const http_error_1 = httpError;
1941
- const enum_1 = _enum$2;
1941
+ const enum_1 = _enum$1;
1942
1942
  class HTTPServerError extends http_error_1.HTTPError {
1943
1943
  }
1944
1944
  httpServerError.HTTPServerError = HTTPServerError;
@@ -2108,16 +2108,16 @@
2108
2108
  __exportStar(httpServerError, exports);
2109
2109
  __exportStar(utils$1, exports);
2110
2110
 
2111
- }(es2018$9));
2111
+ }(es2018$8));
2112
2112
 
2113
- var es2018$7 = {};
2113
+ var es2018$6 = {};
2114
2114
 
2115
2115
  var ok = {};
2116
2116
 
2117
2117
  (function (exports) {
2118
2118
  exports.ok = exports.HTTPError = void 0;
2119
- const http_status_1 = es2018$9;
2120
- var http_status_2 = es2018$9;
2119
+ const http_status_1 = es2018$8;
2120
+ var http_status_2 = es2018$8;
2121
2121
  Object.defineProperty(exports, "HTTPError", { enumerable: true, get: function () { return http_status_2.HTTPError; } });
2122
2122
  /**
2123
2123
  * @throws {HTTPError}
@@ -2182,13 +2182,13 @@
2182
2182
 
2183
2183
  var toNdjson = {};
2184
2184
 
2185
- var es2018$6 = {};
2185
+ var es2018$5 = {};
2186
2186
 
2187
2187
  var middleware = {};
2188
2188
 
2189
2189
  var chunkAsync$1 = {};
2190
2190
 
2191
- var es2018$5 = {};
2191
+ var es2018$4 = {};
2192
2192
 
2193
2193
  var go$1 = {};
2194
2194
 
@@ -2210,9 +2210,9 @@
2210
2210
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2211
2211
  };__exportStar(go$1, exports);
2212
2212
 
2213
- }(es2018$5));
2213
+ }(es2018$4));
2214
2214
 
2215
- var es2018$4 = {};
2215
+ var es2018$3 = {};
2216
2216
 
2217
2217
  var customError$1 = {};
2218
2218
 
@@ -2290,11 +2290,11 @@
2290
2290
  __exportStar(refute$1, exports);
2291
2291
  __exportStar(assert$3, exports);
2292
2292
 
2293
- }(es2018$4));
2293
+ }(es2018$3));
2294
2294
 
2295
2295
  chunkAsync$1.chunkAsync = void 0;
2296
- const go_1$f = es2018$5;
2297
- const errors_1$g = es2018$4;
2296
+ const go_1$f = es2018$4;
2297
+ const errors_1$g = es2018$3;
2298
2298
  function chunkAsync(iterable, size) {
2299
2299
  (0, errors_1$g.assert)(Number.isInteger(size), 'The parameter size must be an integer');
2300
2300
  (0, errors_1$g.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -2315,305 +2315,305 @@
2315
2315
 
2316
2316
  var chunkByAsync$1 = {};
2317
2317
 
2318
- var es2018$3 = {};
2318
+ var es2018$2 = {};
2319
2319
 
2320
- var array$1 = {};
2320
+ var array = {};
2321
2321
 
2322
- array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
2323
- function isArray$1(val) {
2322
+ array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
2323
+ function isArray(val) {
2324
2324
  return Array.isArray(val);
2325
2325
  }
2326
- array$1.isArray = isArray$1;
2327
- function isntArray$1(val) {
2328
- return !isArray$1(val);
2326
+ array.isArray = isArray;
2327
+ function isntArray(val) {
2328
+ return !isArray(val);
2329
2329
  }
2330
- array$1.isntArray = isntArray$1;
2331
- function isEmptyArray$1(val) {
2330
+ array.isntArray = isntArray;
2331
+ function isEmptyArray(val) {
2332
2332
  return val.length === 0;
2333
2333
  }
2334
- array$1.isEmptyArray = isEmptyArray$1;
2335
- function isntEmptyArray$1(val) {
2334
+ array.isEmptyArray = isEmptyArray;
2335
+ function isntEmptyArray(val) {
2336
2336
  return val.length !== 0;
2337
2337
  }
2338
- array$1.isntEmptyArray = isntEmptyArray$1;
2338
+ array.isntEmptyArray = isntEmptyArray;
2339
2339
 
2340
- var asyncIterable$1 = {};
2340
+ var asyncIterable = {};
2341
2341
 
2342
- var _null$1 = {};
2342
+ var _null = {};
2343
2343
 
2344
- _null$1.isntNull = _null$1.isNull = void 0;
2345
- function isNull$1(val) {
2344
+ _null.isntNull = _null.isNull = void 0;
2345
+ function isNull(val) {
2346
2346
  return val === null;
2347
2347
  }
2348
- _null$1.isNull = isNull$1;
2349
- function isntNull$1(val) {
2350
- return !isNull$1(val);
2348
+ _null.isNull = isNull;
2349
+ function isntNull(val) {
2350
+ return !isNull(val);
2351
2351
  }
2352
- _null$1.isntNull = isntNull$1;
2352
+ _null.isntNull = isntNull;
2353
2353
 
2354
- var _undefined$1 = {};
2354
+ var _undefined = {};
2355
2355
 
2356
- _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
2357
- function isUndefined$1(val) {
2356
+ _undefined.isntUndefined = _undefined.isUndefined = void 0;
2357
+ function isUndefined(val) {
2358
2358
  return val === undefined;
2359
2359
  }
2360
- _undefined$1.isUndefined = isUndefined$1;
2361
- function isntUndefined$1(val) {
2362
- return !isUndefined$1(val);
2360
+ _undefined.isUndefined = isUndefined;
2361
+ function isntUndefined(val) {
2362
+ return !isUndefined(val);
2363
2363
  }
2364
- _undefined$1.isntUndefined = isntUndefined$1;
2364
+ _undefined.isntUndefined = isntUndefined;
2365
2365
 
2366
- asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
2367
- const null_1$3 = _null$1;
2368
- const undefined_1$5 = _undefined$1;
2369
- function isAsyncIterable$1(val) {
2370
- return (0, null_1$3.isntNull)(val)
2371
- && (0, undefined_1$5.isntUndefined)(val)
2366
+ asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
2367
+ const null_1$1 = _null;
2368
+ const undefined_1$2 = _undefined;
2369
+ function isAsyncIterable(val) {
2370
+ return (0, null_1$1.isntNull)(val)
2371
+ && (0, undefined_1$2.isntUndefined)(val)
2372
2372
  && typeof val[Symbol.asyncIterator] === 'function';
2373
2373
  }
2374
- asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
2375
- function isntAsyncIterable$1(val) {
2376
- return !isAsyncIterable$1(val);
2374
+ asyncIterable.isAsyncIterable = isAsyncIterable;
2375
+ function isntAsyncIterable(val) {
2376
+ return !isAsyncIterable(val);
2377
2377
  }
2378
- asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
2378
+ asyncIterable.isntAsyncIterable = isntAsyncIterable;
2379
2379
 
2380
- var bigint$1 = {};
2380
+ var bigint = {};
2381
2381
 
2382
- bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
2383
- function isBigInt$1(val) {
2382
+ bigint.isntBigInt = bigint.isBigInt = void 0;
2383
+ function isBigInt(val) {
2384
2384
  return typeof val === 'bigint';
2385
2385
  }
2386
- bigint$1.isBigInt = isBigInt$1;
2387
- function isntBigInt$1(val) {
2388
- return !isBigInt$1(val);
2386
+ bigint.isBigInt = isBigInt;
2387
+ function isntBigInt(val) {
2388
+ return !isBigInt(val);
2389
2389
  }
2390
- bigint$1.isntBigInt = isntBigInt$1;
2390
+ bigint.isntBigInt = isntBigInt;
2391
2391
 
2392
- var boolean$1 = {};
2392
+ var boolean = {};
2393
2393
 
2394
- boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
2395
- function isBoolean$1(val) {
2394
+ boolean.isntBoolean = boolean.isBoolean = void 0;
2395
+ function isBoolean(val) {
2396
2396
  return typeof val === 'boolean';
2397
2397
  }
2398
- boolean$1.isBoolean = isBoolean$1;
2399
- function isntBoolean$1(val) {
2400
- return !isBoolean$1(val);
2398
+ boolean.isBoolean = isBoolean;
2399
+ function isntBoolean(val) {
2400
+ return !isBoolean(val);
2401
2401
  }
2402
- boolean$1.isntBoolean = isntBoolean$1;
2402
+ boolean.isntBoolean = isntBoolean;
2403
2403
 
2404
- var char$1 = {};
2404
+ var char = {};
2405
2405
 
2406
- var string$1 = {};
2406
+ var string = {};
2407
2407
 
2408
- string$1.isntString = string$1.isString = void 0;
2409
- function isString$1(val) {
2408
+ string.isntString = string.isString = void 0;
2409
+ function isString(val) {
2410
2410
  return typeof val === 'string';
2411
2411
  }
2412
- string$1.isString = isString$1;
2413
- function isntString$1(val) {
2414
- return !isString$1(val);
2412
+ string.isString = isString;
2413
+ function isntString(val) {
2414
+ return !isString(val);
2415
2415
  }
2416
- string$1.isntString = isntString$1;
2416
+ string.isntString = isntString;
2417
2417
 
2418
- char$1.isntChar = char$1.isChar = void 0;
2419
- const string_1$3 = string$1;
2420
- function isChar$1(val) {
2421
- return (0, string_1$3.isString)(val)
2418
+ char.isntChar = char.isChar = void 0;
2419
+ const string_1$1 = string;
2420
+ function isChar(val) {
2421
+ return (0, string_1$1.isString)(val)
2422
2422
  && val.length === 1;
2423
2423
  }
2424
- char$1.isChar = isChar$1;
2425
- function isntChar$1(val) {
2426
- return !isChar$1(val);
2424
+ char.isChar = isChar;
2425
+ function isntChar(val) {
2426
+ return !isChar(val);
2427
2427
  }
2428
- char$1.isntChar = isntChar$1;
2428
+ char.isntChar = isntChar;
2429
2429
 
2430
- var date$1 = {};
2430
+ var date = {};
2431
2431
 
2432
- date$1.isntDate = date$1.isDate = void 0;
2433
- function isDate$1(val) {
2432
+ date.isntDate = date.isDate = void 0;
2433
+ function isDate(val) {
2434
2434
  return val instanceof Date;
2435
2435
  }
2436
- date$1.isDate = isDate$1;
2437
- function isntDate$1(val) {
2438
- return !isDate$1(val);
2436
+ date.isDate = isDate;
2437
+ function isntDate(val) {
2438
+ return !isDate(val);
2439
2439
  }
2440
- date$1.isntDate = isntDate$1;
2440
+ date.isntDate = isntDate;
2441
2441
 
2442
- var _enum$1 = {};
2442
+ var _enum = {};
2443
2443
 
2444
- _enum$1.inEnum = void 0;
2445
- function inEnum$1(val, _enum) {
2444
+ _enum.inEnum = void 0;
2445
+ function inEnum(val, _enum) {
2446
2446
  return Object.values(_enum).includes(val);
2447
2447
  }
2448
- _enum$1.inEnum = inEnum$1;
2448
+ _enum.inEnum = inEnum;
2449
2449
 
2450
- var error$1 = {};
2450
+ var error = {};
2451
2451
 
2452
- error$1.isntError = error$1.isError = void 0;
2453
- function isError$1(val) {
2452
+ error.isntError = error.isError = void 0;
2453
+ function isError(val) {
2454
2454
  return val instanceof Error;
2455
2455
  }
2456
- error$1.isError = isError$1;
2457
- function isntError$1(val) {
2458
- return !isError$1(val);
2456
+ error.isError = isError;
2457
+ function isntError(val) {
2458
+ return !isError(val);
2459
2459
  }
2460
- error$1.isntError = isntError$1;
2460
+ error.isntError = isntError;
2461
2461
 
2462
- var falsy$1 = {};
2462
+ var falsy = {};
2463
2463
 
2464
- falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
2465
- function isFalsy$1(val) {
2464
+ falsy.isntFalsy = falsy.isFalsy = void 0;
2465
+ function isFalsy(val) {
2466
2466
  return !val;
2467
2467
  }
2468
- falsy$1.isFalsy = isFalsy$1;
2469
- function isntFalsy$1(val) {
2470
- return !isFalsy$1(val);
2468
+ falsy.isFalsy = isFalsy;
2469
+ function isntFalsy(val) {
2470
+ return !isFalsy(val);
2471
2471
  }
2472
- falsy$1.isntFalsy = isntFalsy$1;
2472
+ falsy.isntFalsy = isntFalsy;
2473
2473
 
2474
- var _function$1 = {};
2474
+ var _function = {};
2475
2475
 
2476
- _function$1.isntFunction = _function$1.isFunction = void 0;
2477
- function isFunction$1(val) {
2476
+ _function.isntFunction = _function.isFunction = void 0;
2477
+ function isFunction(val) {
2478
2478
  return typeof val === 'function';
2479
2479
  }
2480
- _function$1.isFunction = isFunction$1;
2481
- function isntFunction$1(val) {
2482
- return !isFunction$1(val);
2480
+ _function.isFunction = isFunction;
2481
+ function isntFunction(val) {
2482
+ return !isFunction(val);
2483
2483
  }
2484
- _function$1.isntFunction = isntFunction$1;
2484
+ _function.isntFunction = isntFunction;
2485
2485
 
2486
- var iterable$1 = {};
2486
+ var iterable = {};
2487
2487
 
2488
- iterable$1.isntIterable = iterable$1.isIterable = void 0;
2489
- const null_1$2 = _null$1;
2490
- const undefined_1$4 = _undefined$1;
2491
- function isIterable$1(val) {
2492
- return (0, null_1$2.isntNull)(val)
2493
- && (0, undefined_1$4.isntUndefined)(val)
2488
+ iterable.isntIterable = iterable.isIterable = void 0;
2489
+ const null_1 = _null;
2490
+ const undefined_1$1 = _undefined;
2491
+ function isIterable(val) {
2492
+ return (0, null_1.isntNull)(val)
2493
+ && (0, undefined_1$1.isntUndefined)(val)
2494
2494
  && typeof val[Symbol.iterator] === 'function';
2495
2495
  }
2496
- iterable$1.isIterable = isIterable$1;
2497
- function isntIterable$1(val) {
2498
- return !isIterable$1(val);
2496
+ iterable.isIterable = isIterable;
2497
+ function isntIterable(val) {
2498
+ return !isIterable(val);
2499
2499
  }
2500
- iterable$1.isntIterable = isntIterable$1;
2500
+ iterable.isntIterable = isntIterable;
2501
2501
 
2502
- var jsonRpc$1 = {};
2502
+ var jsonRpc = {};
2503
2503
 
2504
- var object$1 = {};
2504
+ var object = {};
2505
2505
 
2506
- var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
2506
+ var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
2507
2507
  return (mod && mod.__esModule) ? mod : { "default": mod };
2508
- };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
2509
- const lodash_isplainobject_1$1 = __importDefault$2(lodash_isplainobject);
2510
- function isObject$1(val) {
2508
+ };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
2509
+ const lodash_isplainobject_1 = __importDefault$1(lodash_isplainobject);
2510
+ function isObject(val) {
2511
2511
  return val !== null
2512
2512
  && typeof val === 'object';
2513
2513
  }
2514
- object$1.isObject = isObject$1;
2515
- function isntObject$1(val) {
2516
- return !isObject$1(val);
2514
+ object.isObject = isObject;
2515
+ function isntObject(val) {
2516
+ return !isObject(val);
2517
2517
  }
2518
- object$1.isntObject = isntObject$1;
2519
- function isPlainObject$1(val) {
2520
- return (0, lodash_isplainobject_1$1.default)(val);
2518
+ object.isntObject = isntObject;
2519
+ function isPlainObject(val) {
2520
+ return (0, lodash_isplainobject_1.default)(val);
2521
2521
  }
2522
- object$1.isPlainObject = isPlainObject$1;
2523
- function isntPlainObject$1(val) {
2524
- return !isPlainObject$1(val);
2522
+ object.isPlainObject = isPlainObject;
2523
+ function isntPlainObject(val) {
2524
+ return !isPlainObject(val);
2525
2525
  }
2526
- object$1.isntPlainObject = isntPlainObject$1;
2527
- function isEmptyObject$1(val) {
2526
+ object.isntPlainObject = isntPlainObject;
2527
+ function isEmptyObject(val) {
2528
2528
  return Object.keys(val).length === 0;
2529
2529
  }
2530
- object$1.isEmptyObject = isEmptyObject$1;
2531
- function isntEmptyObject$1(val) {
2530
+ object.isEmptyObject = isEmptyObject;
2531
+ function isntEmptyObject(val) {
2532
2532
  return Object.keys(val).length !== 0;
2533
2533
  }
2534
- object$1.isntEmptyObject = isntEmptyObject$1;
2534
+ object.isntEmptyObject = isntEmptyObject;
2535
2535
 
2536
- var number$1 = {};
2536
+ var number = {};
2537
2537
 
2538
- number$1.isntNumber = number$1.isNumber = void 0;
2539
- function isNumber$1(val) {
2538
+ number.isntNumber = number.isNumber = void 0;
2539
+ function isNumber(val) {
2540
2540
  return typeof val === 'number';
2541
2541
  }
2542
- number$1.isNumber = isNumber$1;
2543
- function isntNumber$1(val) {
2544
- return !isNumber$1(val);
2542
+ number.isNumber = isNumber;
2543
+ function isntNumber(val) {
2544
+ return !isNumber(val);
2545
2545
  }
2546
- number$1.isntNumber = isntNumber$1;
2546
+ number.isntNumber = isntNumber;
2547
2547
 
2548
- 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;
2549
- const array_1$1 = array$1;
2550
- const object_1$1 = object$1;
2551
- const string_1$2 = string$1;
2552
- const number_1$1 = number$1;
2553
- const undefined_1$3 = _undefined$1;
2554
- function isJsonRpcId$1(val) {
2555
- return (0, string_1$2.isString)(val) || (0, number_1$1.isNumber)(val);
2548
+ jsonRpc.isntJsonRpcError = jsonRpc.isJsonRpcError = jsonRpc.isntJsonRpcSuccess = jsonRpc.isJsonRpcSuccess = jsonRpc.isntJsonRpcRequest = jsonRpc.isJsonRpcRequest = jsonRpc.isntJsonRpcNotification = jsonRpc.isJsonRpcNotification = void 0;
2549
+ const array_1 = array;
2550
+ const object_1 = object;
2551
+ const string_1 = string;
2552
+ const number_1 = number;
2553
+ const undefined_1 = _undefined;
2554
+ function isJsonRpcId(val) {
2555
+ return (0, string_1.isString)(val) || (0, number_1.isNumber)(val);
2556
2556
  }
2557
- function isJsonRpcParams$1(val) {
2558
- return (0, array_1$1.isArray)(val) || (0, object_1$1.isObject)(val);
2557
+ function isJsonRpcParams(val) {
2558
+ return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
2559
2559
  }
2560
- function isJsonRpcNotification$1(val) {
2561
- return (0, object_1$1.isPlainObject)(val)
2562
- && (0, string_1$2.isString)(val.jsonrpc)
2563
- && (0, string_1$2.isString)(val.method)
2564
- && (0, undefined_1$3.isUndefined)(val.id)
2565
- && isJsonRpcParams$1(val.params);
2560
+ function isJsonRpcNotification(val) {
2561
+ return (0, object_1.isPlainObject)(val)
2562
+ && (0, string_1.isString)(val.jsonrpc)
2563
+ && (0, string_1.isString)(val.method)
2564
+ && (0, undefined_1.isUndefined)(val.id)
2565
+ && isJsonRpcParams(val.params);
2566
2566
  }
2567
- jsonRpc$1.isJsonRpcNotification = isJsonRpcNotification$1;
2568
- function isntJsonRpcNotification$1(val) {
2569
- return !isJsonRpcNotification$1(val);
2567
+ jsonRpc.isJsonRpcNotification = isJsonRpcNotification;
2568
+ function isntJsonRpcNotification(val) {
2569
+ return !isJsonRpcNotification(val);
2570
2570
  }
2571
- jsonRpc$1.isntJsonRpcNotification = isntJsonRpcNotification$1;
2572
- function isJsonRpcRequest$1(val) {
2573
- return (0, object_1$1.isPlainObject)(val)
2574
- && (0, string_1$2.isString)(val.jsonrpc)
2575
- && (0, string_1$2.isString)(val.method)
2576
- && isJsonRpcId$1(val.id)
2577
- && isJsonRpcParams$1(val.params);
2571
+ jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
2572
+ function isJsonRpcRequest(val) {
2573
+ return (0, object_1.isPlainObject)(val)
2574
+ && (0, string_1.isString)(val.jsonrpc)
2575
+ && (0, string_1.isString)(val.method)
2576
+ && isJsonRpcId(val.id)
2577
+ && isJsonRpcParams(val.params);
2578
2578
  }
2579
- jsonRpc$1.isJsonRpcRequest = isJsonRpcRequest$1;
2580
- function isntJsonRpcRequest$1(val) {
2581
- return !isJsonRpcRequest$1(val);
2579
+ jsonRpc.isJsonRpcRequest = isJsonRpcRequest;
2580
+ function isntJsonRpcRequest(val) {
2581
+ return !isJsonRpcRequest(val);
2582
2582
  }
2583
- jsonRpc$1.isntJsonRpcRequest = isntJsonRpcRequest$1;
2584
- function isJsonRpcSuccess$1(val) {
2585
- return (0, object_1$1.isPlainObject)(val)
2586
- && (0, string_1$2.isString)(val.jsonrpc)
2587
- && (0, string_1$2.isString)(val.id)
2583
+ jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
2584
+ function isJsonRpcSuccess(val) {
2585
+ return (0, object_1.isPlainObject)(val)
2586
+ && (0, string_1.isString)(val.jsonrpc)
2587
+ && (0, string_1.isString)(val.id)
2588
2588
  && 'result' in val;
2589
2589
  }
2590
- jsonRpc$1.isJsonRpcSuccess = isJsonRpcSuccess$1;
2591
- function isntJsonRpcSuccess$1(val) {
2592
- return !isJsonRpcSuccess$1(val);
2590
+ jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
2591
+ function isntJsonRpcSuccess(val) {
2592
+ return !isJsonRpcSuccess(val);
2593
2593
  }
2594
- jsonRpc$1.isntJsonRpcSuccess = isntJsonRpcSuccess$1;
2595
- function isJsonRpcError$1(val) {
2596
- return (0, object_1$1.isPlainObject)(val)
2597
- && (0, string_1$2.isString)(val.jsonrpc)
2598
- && isJsonRpcId$1(val.id)
2599
- && isJsonRpcErrorObject$1(val.error);
2594
+ jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
2595
+ function isJsonRpcError(val) {
2596
+ return (0, object_1.isPlainObject)(val)
2597
+ && (0, string_1.isString)(val.jsonrpc)
2598
+ && isJsonRpcId(val.id)
2599
+ && isJsonRpcErrorObject(val.error);
2600
2600
  }
2601
- jsonRpc$1.isJsonRpcError = isJsonRpcError$1;
2602
- function isntJsonRpcError$1(val) {
2603
- return !isJsonRpcError$1(val);
2601
+ jsonRpc.isJsonRpcError = isJsonRpcError;
2602
+ function isntJsonRpcError(val) {
2603
+ return !isJsonRpcError(val);
2604
2604
  }
2605
- jsonRpc$1.isntJsonRpcError = isntJsonRpcError$1;
2606
- function isJsonRpcErrorObject$1(val) {
2607
- return (0, object_1$1.isPlainObject)(val)
2608
- && (0, number_1$1.isNumber)(val.code)
2609
- && (0, string_1$2.isString)(val.message)
2610
- && ((0, undefined_1$3.isUndefined)(val.data) || (0, object_1$1.isObject)(val.data));
2605
+ jsonRpc.isntJsonRpcError = isntJsonRpcError;
2606
+ function isJsonRpcErrorObject(val) {
2607
+ return (0, object_1.isPlainObject)(val)
2608
+ && (0, number_1.isNumber)(val.code)
2609
+ && (0, string_1.isString)(val.message)
2610
+ && ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
2611
2611
  }
2612
2612
 
2613
- var json$1 = {};
2613
+ var json = {};
2614
2614
 
2615
- json$1.isntJson = json$1.isJson = void 0;
2616
- function isJson$1(val) {
2615
+ json.isntJson = json.isJson = void 0;
2616
+ function isJson(val) {
2617
2617
  try {
2618
2618
  JSON.stringify(val);
2619
2619
  return true;
@@ -2622,16 +2622,16 @@
2622
2622
  return false;
2623
2623
  }
2624
2624
  }
2625
- json$1.isJson = isJson$1;
2626
- function isntJson$1(val) {
2627
- return !isntJson$1();
2625
+ json.isJson = isJson;
2626
+ function isntJson(val) {
2627
+ return !isntJson();
2628
2628
  }
2629
- json$1.isntJson = isntJson$1;
2629
+ json.isntJson = isntJson;
2630
2630
 
2631
- var url$1 = {};
2631
+ var url = {};
2632
2632
 
2633
- url$1.isAbsoluteURL = void 0;
2634
- function isAbsoluteURL$1(str) {
2633
+ url.isAbsoluteURL = void 0;
2634
+ function isAbsoluteURL(str) {
2635
2635
  try {
2636
2636
  new URL(str);
2637
2637
  return true;
@@ -2640,7 +2640,7 @@
2640
2640
  return false;
2641
2641
  }
2642
2642
  }
2643
- url$1.isAbsoluteURL = isAbsoluteURL$1;
2643
+ url.isAbsoluteURL = isAbsoluteURL;
2644
2644
 
2645
2645
  (function (exports) {
2646
2646
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -2652,30 +2652,30 @@
2652
2652
  }));
2653
2653
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
2654
2654
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2655
- };__exportStar(array$1, exports);
2656
- __exportStar(asyncIterable$1, exports);
2657
- __exportStar(bigint$1, exports);
2658
- __exportStar(boolean$1, exports);
2659
- __exportStar(char$1, exports);
2660
- __exportStar(date$1, exports);
2661
- __exportStar(_enum$1, exports);
2662
- __exportStar(error$1, exports);
2663
- __exportStar(falsy$1, exports);
2664
- __exportStar(_function$1, exports);
2665
- __exportStar(iterable$1, exports);
2666
- __exportStar(jsonRpc$1, exports);
2667
- __exportStar(json$1, exports);
2668
- __exportStar(_null$1, exports);
2669
- __exportStar(number$1, exports);
2670
- __exportStar(object$1, exports);
2671
- __exportStar(string$1, exports);
2672
- __exportStar(_undefined$1, exports);
2673
- __exportStar(url$1, exports);
2655
+ };__exportStar(array, exports);
2656
+ __exportStar(asyncIterable, exports);
2657
+ __exportStar(bigint, exports);
2658
+ __exportStar(boolean, exports);
2659
+ __exportStar(char, exports);
2660
+ __exportStar(date, exports);
2661
+ __exportStar(_enum, exports);
2662
+ __exportStar(error, exports);
2663
+ __exportStar(falsy, exports);
2664
+ __exportStar(_function, exports);
2665
+ __exportStar(iterable, exports);
2666
+ __exportStar(jsonRpc, exports);
2667
+ __exportStar(json, exports);
2668
+ __exportStar(_null, exports);
2669
+ __exportStar(number, exports);
2670
+ __exportStar(object, exports);
2671
+ __exportStar(string, exports);
2672
+ __exportStar(_undefined, exports);
2673
+ __exportStar(url, exports);
2674
2674
 
2675
- }(es2018$3));
2675
+ }(es2018$2));
2676
2676
 
2677
2677
  chunkByAsync$1.chunkByAsync = void 0;
2678
- const types_1$l = es2018$3;
2678
+ const types_1$l = es2018$2;
2679
2679
  function chunkByAsync(iterable, predicate) {
2680
2680
  if ((0, types_1$l.isAsyncIterable)(iterable)) {
2681
2681
  return chunkByAsyncIterable(iterable);
@@ -2736,8 +2736,8 @@
2736
2736
  var chunk$1 = {};
2737
2737
 
2738
2738
  chunk$1.chunk = void 0;
2739
- const go_1$e = es2018$5;
2740
- const errors_1$f = es2018$4;
2739
+ const go_1$e = es2018$4;
2740
+ const errors_1$f = es2018$3;
2741
2741
  function chunk(iterable, size) {
2742
2742
  (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
2743
2743
  (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -2759,8 +2759,8 @@
2759
2759
  var concatAsync$1 = {};
2760
2760
 
2761
2761
  concatAsync$1.concatAsync = void 0;
2762
- const types_1$k = es2018$3;
2763
- const go_1$d = es2018$5;
2762
+ const types_1$k = es2018$2;
2763
+ const go_1$d = es2018$4;
2764
2764
  function concatAsync(iterable, ...otherIterables) {
2765
2765
  return (0, go_1$d.go)(async function* () {
2766
2766
  for (const iter of [iterable, ...otherIterables]) {
@@ -2782,7 +2782,7 @@
2782
2782
  var concat$1 = {};
2783
2783
 
2784
2784
  concat$1.concat = void 0;
2785
- const go_1$c = es2018$5;
2785
+ const go_1$c = es2018$4;
2786
2786
  function concat(iterable, ...otherIterables) {
2787
2787
  return (0, go_1$c.go)(function* () {
2788
2788
  for (const iter of [iterable, ...otherIterables]) {
@@ -2811,9 +2811,9 @@
2811
2811
  utils.copyIterable = copyIterable;
2812
2812
 
2813
2813
  dropAsync$1.dropAsync = void 0;
2814
- const go_1$b = es2018$5;
2814
+ const go_1$b = es2018$4;
2815
2815
  const utils_1$3 = utils;
2816
- const errors_1$e = es2018$4;
2816
+ const errors_1$e = es2018$3;
2817
2817
  function dropAsync(iterable, count) {
2818
2818
  (0, errors_1$e.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2819
2819
  (0, errors_1$e.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2846,9 +2846,9 @@
2846
2846
  var dropRightAsync$1 = {};
2847
2847
 
2848
2848
  dropRightAsync$1.dropRightAsync = void 0;
2849
- const go_1$a = es2018$5;
2849
+ const go_1$a = es2018$4;
2850
2850
  const utils_1$2 = utils;
2851
- const errors_1$d = es2018$4;
2851
+ const errors_1$d = es2018$3;
2852
2852
  function dropRightAsync(iterable, count) {
2853
2853
  (0, errors_1$d.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2854
2854
  (0, errors_1$d.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2874,9 +2874,9 @@
2874
2874
  var dropRight$1 = {};
2875
2875
 
2876
2876
  dropRight$1.dropRight = void 0;
2877
- const go_1$9 = es2018$5;
2877
+ const go_1$9 = es2018$4;
2878
2878
  const utils_1$1 = utils;
2879
- const errors_1$c = es2018$4;
2879
+ const errors_1$c = es2018$3;
2880
2880
  function dropRight(iterable, count) {
2881
2881
  (0, errors_1$c.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2882
2882
  (0, errors_1$c.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2892,7 +2892,7 @@
2892
2892
  var dropUntilAsync$1 = {};
2893
2893
 
2894
2894
  dropUntilAsync$1.dropUntilAsync = void 0;
2895
- const types_1$j = es2018$3;
2895
+ const types_1$j = es2018$2;
2896
2896
  function dropUntilAsync(iterable, predicate) {
2897
2897
  if ((0, types_1$j.isAsyncIterable)(iterable)) {
2898
2898
  return dropUntilAsyncIterable(iterable);
@@ -2974,9 +2974,9 @@
2974
2974
  var drop$1 = {};
2975
2975
 
2976
2976
  drop$1.drop = void 0;
2977
- const go_1$8 = es2018$5;
2977
+ const go_1$8 = es2018$4;
2978
2978
  const utils_1 = utils;
2979
- const errors_1$b = es2018$4;
2979
+ const errors_1$b = es2018$3;
2980
2980
  function drop(iterable, count) {
2981
2981
  (0, errors_1$b.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2982
2982
  (0, errors_1$b.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3009,7 +3009,7 @@
3009
3009
  var filterAsync$1 = {};
3010
3010
 
3011
3011
  filterAsync$1.filterAsync = void 0;
3012
- const types_1$i = es2018$3;
3012
+ const types_1$i = es2018$2;
3013
3013
  function filterAsync(iterable, predicate) {
3014
3014
  if ((0, types_1$i.isAsyncIterable)(iterable)) {
3015
3015
  return filterAsyncIterable(iterable);
@@ -3056,7 +3056,7 @@
3056
3056
  var flattenByAsync$1 = {};
3057
3057
 
3058
3058
  flattenByAsync$1.flattenByAsync = void 0;
3059
- const types_1$h = es2018$3;
3059
+ const types_1$h = es2018$2;
3060
3060
  function flattenByAsync(iterable, predicate) {
3061
3061
  if ((0, types_1$h.isAsyncIterable)(iterable)) {
3062
3062
  return flattenByAsyncIterable(iterable);
@@ -3096,7 +3096,7 @@
3096
3096
 
3097
3097
  flattenDeepAsync$1.flattenDeepAsync = void 0;
3098
3098
  const flatten_by_async_1 = flattenByAsync$1;
3099
- const errors_1$a = es2018$4;
3099
+ const errors_1$a = es2018$3;
3100
3100
  function flattenDeepAsync(iterable, depth = Infinity) {
3101
3101
  (0, errors_1$a.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
3102
3102
  (0, errors_1$a.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -3114,7 +3114,7 @@
3114
3114
  var flattenBy$1 = {};
3115
3115
 
3116
3116
  flattenBy$1.flattenBy = void 0;
3117
- const types_1$g = es2018$3;
3117
+ const types_1$g = es2018$2;
3118
3118
  function flattenBy(iterable, predicate) {
3119
3119
  return flatten(iterable, 1);
3120
3120
  function* flatten(iterable, level) {
@@ -3137,7 +3137,7 @@
3137
3137
 
3138
3138
  flattenDeep$1.flattenDeep = void 0;
3139
3139
  const flatten_by_1 = flattenBy$1;
3140
- const errors_1$9 = es2018$4;
3140
+ const errors_1$9 = es2018$3;
3141
3141
  function flattenDeep(iterable, depth = Infinity) {
3142
3142
  (0, errors_1$9.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
3143
3143
  (0, errors_1$9.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -3157,7 +3157,7 @@
3157
3157
  var mapAsync$1 = {};
3158
3158
 
3159
3159
  mapAsync$1.mapAsync = void 0;
3160
- const types_1$f = es2018$3;
3160
+ const types_1$f = es2018$2;
3161
3161
  function mapAsync(iterable, fn) {
3162
3162
  if ((0, types_1$f.isAsyncIterable)(iterable)) {
3163
3163
  return mapAsyncIterable(iterable);
@@ -3197,8 +3197,8 @@
3197
3197
  var repeatAsync$1 = {};
3198
3198
 
3199
3199
  repeatAsync$1.repeatAsync = void 0;
3200
- const go_1$7 = es2018$5;
3201
- const errors_1$8 = es2018$4;
3200
+ const go_1$7 = es2018$4;
3201
+ const errors_1$8 = es2018$3;
3202
3202
  function repeatAsync(iterable, times) {
3203
3203
  (0, errors_1$8.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3204
3204
  (0, errors_1$8.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3232,8 +3232,8 @@
3232
3232
  var repeat$1 = {};
3233
3233
 
3234
3234
  repeat$1.repeat = void 0;
3235
- const go_1$6 = es2018$5;
3236
- const errors_1$7 = es2018$4;
3235
+ const go_1$6 = es2018$4;
3236
+ const errors_1$7 = es2018$3;
3237
3237
  function repeat(iterable, times) {
3238
3238
  (0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3239
3239
  (0, errors_1$7.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3267,8 +3267,8 @@
3267
3267
  var sliceAsync$1 = {};
3268
3268
 
3269
3269
  sliceAsync$1.sliceAsync = void 0;
3270
- const go_1$5 = es2018$5;
3271
- const errors_1$6 = es2018$4;
3270
+ const go_1$5 = es2018$4;
3271
+ const errors_1$6 = es2018$3;
3272
3272
  function sliceAsync(iterable, start, end = Infinity) {
3273
3273
  (0, errors_1$6.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3274
3274
  (0, errors_1$6.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -3290,8 +3290,8 @@
3290
3290
  var slice$1 = {};
3291
3291
 
3292
3292
  slice$1.slice = void 0;
3293
- const go_1$4 = es2018$5;
3294
- const errors_1$5 = es2018$4;
3293
+ const go_1$4 = es2018$4;
3294
+ const errors_1$5 = es2018$3;
3295
3295
  function slice(iterable, start, end = Infinity) {
3296
3296
  (0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3297
3297
  (0, errors_1$5.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -3331,7 +3331,7 @@
3331
3331
  var splitByAsync$1 = {};
3332
3332
 
3333
3333
  splitByAsync$1.splitByAsync = void 0;
3334
- const types_1$e = es2018$3;
3334
+ const types_1$e = es2018$2;
3335
3335
  function splitByAsync(iterable, predicate) {
3336
3336
  if ((0, types_1$e.isAsyncIterable)(iterable)) {
3337
3337
  return splitByAsyncIterable(iterable);
@@ -3413,8 +3413,8 @@
3413
3413
  var takeAsync$1 = {};
3414
3414
 
3415
3415
  takeAsync$1.takeAsync = void 0;
3416
- const go_1$3 = es2018$5;
3417
- const errors_1$4 = es2018$4;
3416
+ const go_1$3 = es2018$4;
3417
+ const errors_1$4 = es2018$3;
3418
3418
  function takeAsync(iterable, count) {
3419
3419
  (0, errors_1$4.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3420
3420
  (0, errors_1$4.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3434,8 +3434,8 @@
3434
3434
  var takeRightAsync$1 = {};
3435
3435
 
3436
3436
  takeRightAsync$1.takeRightAsync = void 0;
3437
- const go_1$2 = es2018$5;
3438
- const errors_1$3 = es2018$4;
3437
+ const go_1$2 = es2018$4;
3438
+ const errors_1$3 = es2018$3;
3439
3439
  function takeRightAsync(iterable, count) {
3440
3440
  (0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3441
3441
  (0, errors_1$3.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3464,8 +3464,8 @@
3464
3464
  var takeRight$1 = {};
3465
3465
 
3466
3466
  takeRight$1.takeRight = void 0;
3467
- const go_1$1 = es2018$5;
3468
- const errors_1$2 = es2018$4;
3467
+ const go_1$1 = es2018$4;
3468
+ const errors_1$2 = es2018$3;
3469
3469
  function takeRight(iterable, count) {
3470
3470
  (0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3471
3471
  (0, errors_1$2.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3494,7 +3494,7 @@
3494
3494
  var takeUntilAsync$1 = {};
3495
3495
 
3496
3496
  takeUntilAsync$1.takeUntilAsync = void 0;
3497
- const types_1$d = es2018$3;
3497
+ const types_1$d = es2018$2;
3498
3498
  function takeUntilAsync(iterable, predicate) {
3499
3499
  if ((0, types_1$d.isAsyncIterable)(iterable)) {
3500
3500
  return takeUntilAsyncIterable(iterable);
@@ -3540,8 +3540,8 @@
3540
3540
  var take$1 = {};
3541
3541
 
3542
3542
  take$1.take = void 0;
3543
- const go_1 = es2018$5;
3544
- const errors_1$1 = es2018$4;
3543
+ const go_1 = es2018$4;
3544
+ const errors_1$1 = es2018$3;
3545
3545
  function take(iterable, count) {
3546
3546
  (0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3547
3547
  (0, errors_1$1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3561,7 +3561,7 @@
3561
3561
  var tapAsync$1 = {};
3562
3562
 
3563
3563
  tapAsync$1.tapAsync = void 0;
3564
- const types_1$c = es2018$3;
3564
+ const types_1$c = es2018$2;
3565
3565
  function tapAsync(iterable, fn) {
3566
3566
  if ((0, types_1$c.isAsyncIterable)(iterable)) {
3567
3567
  return tapAsyncIterable(iterable);
@@ -3644,7 +3644,7 @@
3644
3644
  var uniqByAsync$1 = {};
3645
3645
 
3646
3646
  uniqByAsync$1.uniqByAsync = void 0;
3647
- const types_1$b = es2018$3;
3647
+ const types_1$b = es2018$2;
3648
3648
  function uniqByAsync(iterable, fn) {
3649
3649
  if ((0, types_1$b.isAsyncIterable)(iterable)) {
3650
3650
  return uniqByAsyncIterable(iterable);
@@ -3713,7 +3713,7 @@
3713
3713
  var zipAsync$1 = {};
3714
3714
 
3715
3715
  zipAsync$1.zipAsync = void 0;
3716
- const types_1$a = es2018$3;
3716
+ const types_1$a = es2018$2;
3717
3717
  var Kind;
3718
3718
  (function (Kind) {
3719
3719
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -3873,7 +3873,7 @@
3873
3873
  var eachAsync$1 = {};
3874
3874
 
3875
3875
  eachAsync$1.eachAsync = void 0;
3876
- const types_1$9 = es2018$3;
3876
+ const types_1$9 = es2018$2;
3877
3877
  function eachAsync(iterable, fn) {
3878
3878
  if ((0, types_1$9.isAsyncIterable)(iterable)) {
3879
3879
  return eachAsyncIterable(iterable);
@@ -3913,7 +3913,7 @@
3913
3913
  var everyAsync$1 = {};
3914
3914
 
3915
3915
  everyAsync$1.everyAsync = void 0;
3916
- const types_1$8 = es2018$3;
3916
+ const types_1$8 = es2018$2;
3917
3917
  function everyAsync(iterable, predicate) {
3918
3918
  if ((0, types_1$8.isAsyncIterable)(iterable)) {
3919
3919
  return everyAsyncIterable(iterable);
@@ -3959,7 +3959,7 @@
3959
3959
  var findAsync$1 = {};
3960
3960
 
3961
3961
  findAsync$1.findAsync = void 0;
3962
- const types_1$7 = es2018$3;
3962
+ const types_1$7 = es2018$2;
3963
3963
  function findAsync(iterable, predicate) {
3964
3964
  if ((0, types_1$7.isAsyncIterable)(iterable)) {
3965
3965
  return findAsyncIterable(iterable);
@@ -4083,7 +4083,7 @@
4083
4083
  var reduceAsync$1 = {};
4084
4084
 
4085
4085
  reduceAsync$1.reduceAsync = void 0;
4086
- const types_1$6 = es2018$3;
4086
+ const types_1$6 = es2018$2;
4087
4087
  function reduceAsync(iterable, fn, initialValue) {
4088
4088
  if ((0, types_1$6.isUndefined)(initialValue)) {
4089
4089
  return reduceAsyncWithoutInitialValue(iterable, fn);
@@ -4179,7 +4179,7 @@
4179
4179
  var reduce$1 = {};
4180
4180
 
4181
4181
  reduce$1.reduce = void 0;
4182
- const types_1$5 = es2018$3;
4182
+ const types_1$5 = es2018$2;
4183
4183
  function reduce(iterable, fn, initialValue) {
4184
4184
  if ((0, types_1$5.isUndefined)(initialValue)) {
4185
4185
  return reduceWithoutInitialValue(iterable, fn);
@@ -4226,7 +4226,7 @@
4226
4226
  var someAsync$1 = {};
4227
4227
 
4228
4228
  someAsync$1.someAsync = void 0;
4229
- const types_1$4 = es2018$3;
4229
+ const types_1$4 = es2018$2;
4230
4230
  function someAsync(iterable, predicate) {
4231
4231
  if ((0, types_1$4.isAsyncIterable)(iterable)) {
4232
4232
  return someAsyncIterable(iterable);
@@ -4283,536 +4283,83 @@
4283
4283
  result = value;
4284
4284
  }
4285
4285
  return result;
4286
- }
4287
- finally {
4288
- if (!done)
4289
- await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));
4290
- }
4291
- }
4292
- lastAsync$1.lastAsync = lastAsync;
4293
-
4294
- var last$1 = {};
4295
-
4296
- last$1.last = void 0;
4297
- function last(iterable) {
4298
- var _a;
4299
- const iterator = iterable[Symbol.iterator]();
4300
- let done;
4301
- try {
4302
- let value;
4303
- let result;
4304
- while ({ value, done } = iterator.next(), !done) {
4305
- result = value;
4306
- }
4307
- return result;
4308
- }
4309
- finally {
4310
- if (!done)
4311
- (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);
4312
- }
4313
- }
4314
- last$1.last = last;
4315
-
4316
- var toArrayAsync$1 = {};
4317
-
4318
- toArrayAsync$1.toArrayAsync = void 0;
4319
- const consume_1$3 = consume$1;
4320
- function toArrayAsync(iterable) {
4321
- return (0, consume_1$3.consume)(iterable, async (iterable) => {
4322
- const result = [];
4323
- for await (const element of iterable) {
4324
- result.push(element);
4325
- }
4326
- return result;
4327
- });
4328
- }
4329
- toArrayAsync$1.toArrayAsync = toArrayAsync;
4330
-
4331
- var toArray$1 = {};
4332
-
4333
- toArray$1.toArray = void 0;
4334
- const consume_1$2 = consume$1;
4335
- function toArray(iterable) {
4336
- return (0, consume_1$2.consume)(iterable, iterable => Array.from(iterable));
4337
- }
4338
- toArray$1.toArray = toArray;
4339
-
4340
- var toSetAsync$1 = {};
4341
-
4342
- toSetAsync$1.toSetAsync = void 0;
4343
- const consume_1$1 = consume$1;
4344
- function toSetAsync(iterable) {
4345
- return (0, consume_1$1.consume)(iterable, async (iterable) => {
4346
- const result = new Set();
4347
- for await (const element of iterable) {
4348
- result.add(element);
4349
- }
4350
- return result;
4351
- });
4352
- }
4353
- toSetAsync$1.toSetAsync = toSetAsync;
4354
-
4355
- var toSet$1 = {};
4356
-
4357
- toSet$1.toSet = void 0;
4358
- const consume_1 = consume$1;
4359
- function toSet(iterable) {
4360
- return (0, consume_1.consume)(iterable, iterable => new Set(iterable));
4361
- }
4362
- toSet$1.toSet = toSet;
4363
-
4364
- (function (exports) {
4365
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4366
- if (k2 === undefined) k2 = k;
4367
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4368
- }) : (function(o, m, k, k2) {
4369
- if (k2 === undefined) k2 = k;
4370
- o[k2] = m[k];
4371
- }));
4372
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4373
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4374
- };__exportStar(consume$1, exports);
4375
- __exportStar(eachAsync$1, exports);
4376
- __exportStar(each$1, exports);
4377
- __exportStar(everyAsync$1, exports);
4378
- __exportStar(every$1, exports);
4379
- __exportStar(findAsync$1, exports);
4380
- __exportStar(find$1, exports);
4381
- __exportStar(firstAsync$1, exports);
4382
- __exportStar(first$1, exports);
4383
- __exportStar(includesAsync$1, exports);
4384
- __exportStar(includes$1, exports);
4385
- __exportStar(matchAsync$1, exports);
4386
- __exportStar(match$1, exports);
4387
- __exportStar(reduceAsync$1, exports);
4388
- __exportStar(reduce$1, exports);
4389
- __exportStar(someAsync$1, exports);
4390
- __exportStar(some$1, exports);
4391
- __exportStar(lastAsync$1, exports);
4392
- __exportStar(last$1, exports);
4393
- __exportStar(toArrayAsync$1, exports);
4394
- __exportStar(toArray$1, exports);
4395
- __exportStar(toSetAsync$1, exports);
4396
- __exportStar(toSet$1, exports);
4397
-
4398
- }(output));
4399
-
4400
- (function (exports) {
4401
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4402
- if (k2 === undefined) k2 = k;
4403
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4404
- }) : (function(o, m, k, k2) {
4405
- if (k2 === undefined) k2 = k;
4406
- o[k2] = m[k];
4407
- }));
4408
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4409
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4410
- };__exportStar(middleware, exports);
4411
- __exportStar(output, exports);
4412
-
4413
- }(es2018$6));
4414
-
4415
- toNdjson.toNDJSON = void 0;
4416
- const iterable_operator_1$3 = es2018$6;
4417
- const to_lines_1 = toLines$1;
4418
- function toNDJSON(res) {
4419
- return (0, iterable_operator_1$3.mapAsync)((0, to_lines_1.toLines)(res), text => JSON.parse(text));
4420
- }
4421
- toNdjson.toNDJSON = toNDJSON;
4422
-
4423
- var toCsv = {};
4424
-
4425
- toCsv.toCSV = void 0;
4426
- const papaparse_1 = papaparse_min.exports;
4427
- async function toCSV(res) {
4428
- const text = await res.text();
4429
- const result = (0, papaparse_1.parse)(text, {
4430
- header: true,
4431
- skipEmptyLines: 'greedy'
4432
- });
4433
- return result.data;
4434
- }
4435
- toCsv.toCSV = toCSV;
4436
-
4437
- (function (exports) {
4438
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4439
- if (k2 === undefined) k2 = k;
4440
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4441
- }) : (function(o, m, k, k2) {
4442
- if (k2 === undefined) k2 = k;
4443
- o[k2] = m[k];
4444
- }));
4445
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4446
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4447
- };__exportStar(ok, exports);
4448
- __exportStar(toJson, exports);
4449
- __exportStar(toText$1, exports);
4450
- __exportStar(toLines$1, exports);
4451
- __exportStar(toNdjson, exports);
4452
- __exportStar(toCsv, exports);
4453
-
4454
- }(es2018$7));
4455
-
4456
- var es2018$2 = {};
4457
-
4458
- var abortController = {};
4459
-
4460
- var browser = {exports: {}};
4461
-
4462
- /*globals self, window */
4463
-
4464
- /*eslint-disable @mysticatea/prettier */
4465
- const { AbortController, AbortSignal } =
4466
- typeof self !== "undefined" ? self :
4467
- typeof window !== "undefined" ? window :
4468
- /* otherwise */ undefined;
4469
- /*eslint-enable @mysticatea/prettier */
4470
-
4471
- browser.exports = AbortController;
4472
- browser.exports.AbortSignal = AbortSignal;
4473
- browser.exports.default = AbortController;
4474
-
4475
- var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4476
- return (mod && mod.__esModule) ? mod : { "default": mod };
4477
- };
4478
- var _a$1;abortController.AbortController = void 0;
4479
- const abort_controller_1$3 = __importDefault$1(browser.exports);
4480
- abortController.AbortController = (_a$1 = globalThis.AbortController) !== null && _a$1 !== void 0 ? _a$1 : abort_controller_1$3.default;
4481
-
4482
- var abortError = {};
4483
-
4484
- var es2018$1 = {};
4485
-
4486
- var customError = {};
4487
-
4488
- var getErrorNames$1 = {};
4489
-
4490
- var es2018 = {};
4491
-
4492
- var array = {};
4493
-
4494
- array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
4495
- function isArray(val) {
4496
- return Array.isArray(val);
4497
- }
4498
- array.isArray = isArray;
4499
- function isntArray(val) {
4500
- return !isArray(val);
4501
- }
4502
- array.isntArray = isntArray;
4503
- function isEmptyArray(val) {
4504
- return val.length === 0;
4505
- }
4506
- array.isEmptyArray = isEmptyArray;
4507
- function isntEmptyArray(val) {
4508
- return val.length !== 0;
4509
- }
4510
- array.isntEmptyArray = isntEmptyArray;
4511
-
4512
- var asyncIterable = {};
4513
-
4514
- var _null = {};
4515
-
4516
- _null.isntNull = _null.isNull = void 0;
4517
- function isNull(val) {
4518
- return val === null;
4519
- }
4520
- _null.isNull = isNull;
4521
- function isntNull(val) {
4522
- return !isNull(val);
4523
- }
4524
- _null.isntNull = isntNull;
4525
-
4526
- var _undefined = {};
4527
-
4528
- _undefined.isntUndefined = _undefined.isUndefined = void 0;
4529
- function isUndefined(val) {
4530
- return val === undefined;
4531
- }
4532
- _undefined.isUndefined = isUndefined;
4533
- function isntUndefined(val) {
4534
- return !isUndefined(val);
4535
- }
4536
- _undefined.isntUndefined = isntUndefined;
4537
-
4538
- asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
4539
- const null_1$1 = _null;
4540
- const undefined_1$2 = _undefined;
4541
- function isAsyncIterable(val) {
4542
- return (0, null_1$1.isntNull)(val)
4543
- && (0, undefined_1$2.isntUndefined)(val)
4544
- && typeof val[Symbol.asyncIterator] === 'function';
4545
- }
4546
- asyncIterable.isAsyncIterable = isAsyncIterable;
4547
- function isntAsyncIterable(val) {
4548
- return !isAsyncIterable(val);
4549
- }
4550
- asyncIterable.isntAsyncIterable = isntAsyncIterable;
4551
-
4552
- var bigint = {};
4553
-
4554
- bigint.isntBigInt = bigint.isBigInt = void 0;
4555
- function isBigInt(val) {
4556
- return typeof val === 'bigint';
4557
- }
4558
- bigint.isBigInt = isBigInt;
4559
- function isntBigInt(val) {
4560
- return !isBigInt(val);
4561
- }
4562
- bigint.isntBigInt = isntBigInt;
4563
-
4564
- var boolean = {};
4565
-
4566
- boolean.isntBoolean = boolean.isBoolean = void 0;
4567
- function isBoolean(val) {
4568
- return typeof val === 'boolean';
4569
- }
4570
- boolean.isBoolean = isBoolean;
4571
- function isntBoolean(val) {
4572
- return !isBoolean(val);
4573
- }
4574
- boolean.isntBoolean = isntBoolean;
4575
-
4576
- var char = {};
4577
-
4578
- var string = {};
4579
-
4580
- string.isntString = string.isString = void 0;
4581
- function isString(val) {
4582
- return typeof val === 'string';
4583
- }
4584
- string.isString = isString;
4585
- function isntString(val) {
4586
- return !isString(val);
4587
- }
4588
- string.isntString = isntString;
4589
-
4590
- char.isntChar = char.isChar = void 0;
4591
- const string_1$1 = string;
4592
- function isChar(val) {
4593
- return (0, string_1$1.isString)(val)
4594
- && val.length === 1;
4595
- }
4596
- char.isChar = isChar;
4597
- function isntChar(val) {
4598
- return !isChar(val);
4599
- }
4600
- char.isntChar = isntChar;
4601
-
4602
- var date = {};
4603
-
4604
- date.isntDate = date.isDate = void 0;
4605
- function isDate(val) {
4606
- return val instanceof Date;
4607
- }
4608
- date.isDate = isDate;
4609
- function isntDate(val) {
4610
- return !isDate(val);
4611
- }
4612
- date.isntDate = isntDate;
4613
-
4614
- var _enum = {};
4615
-
4616
- _enum.inEnum = void 0;
4617
- function inEnum(val, _enum) {
4618
- return Object.values(_enum).includes(val);
4619
- }
4620
- _enum.inEnum = inEnum;
4621
-
4622
- var error = {};
4623
-
4624
- error.isntError = error.isError = void 0;
4625
- function isError(val) {
4626
- return val instanceof Error;
4627
- }
4628
- error.isError = isError;
4629
- function isntError(val) {
4630
- return !isError(val);
4631
- }
4632
- error.isntError = isntError;
4633
-
4634
- var falsy = {};
4635
-
4636
- falsy.isntFalsy = falsy.isFalsy = void 0;
4637
- function isFalsy(val) {
4638
- return !val;
4639
- }
4640
- falsy.isFalsy = isFalsy;
4641
- function isntFalsy(val) {
4642
- return !isFalsy(val);
4643
- }
4644
- falsy.isntFalsy = isntFalsy;
4645
-
4646
- var _function = {};
4647
-
4648
- _function.isntFunction = _function.isFunction = void 0;
4649
- function isFunction(val) {
4650
- return typeof val === 'function';
4651
- }
4652
- _function.isFunction = isFunction;
4653
- function isntFunction(val) {
4654
- return !isFunction(val);
4655
- }
4656
- _function.isntFunction = isntFunction;
4657
-
4658
- var iterable = {};
4659
-
4660
- iterable.isntIterable = iterable.isIterable = void 0;
4661
- const null_1 = _null;
4662
- const undefined_1$1 = _undefined;
4663
- function isIterable(val) {
4664
- return (0, null_1.isntNull)(val)
4665
- && (0, undefined_1$1.isntUndefined)(val)
4666
- && typeof val[Symbol.iterator] === 'function';
4667
- }
4668
- iterable.isIterable = isIterable;
4669
- function isntIterable(val) {
4670
- return !isIterable(val);
4671
- }
4672
- iterable.isntIterable = isntIterable;
4673
-
4674
- var jsonRpc = {};
4675
-
4676
- var object = {};
4677
-
4678
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4679
- return (mod && mod.__esModule) ? mod : { "default": mod };
4680
- };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
4681
- const lodash_isplainobject_1 = __importDefault(lodash_isplainobject);
4682
- function isObject(val) {
4683
- return val !== null
4684
- && typeof val === 'object';
4685
- }
4686
- object.isObject = isObject;
4687
- function isntObject(val) {
4688
- return !isObject(val);
4689
- }
4690
- object.isntObject = isntObject;
4691
- function isPlainObject(val) {
4692
- return (0, lodash_isplainobject_1.default)(val);
4693
- }
4694
- object.isPlainObject = isPlainObject;
4695
- function isntPlainObject(val) {
4696
- return !isPlainObject(val);
4697
- }
4698
- object.isntPlainObject = isntPlainObject;
4699
- function isEmptyObject(val) {
4700
- return Object.keys(val).length === 0;
4701
- }
4702
- object.isEmptyObject = isEmptyObject;
4703
- function isntEmptyObject(val) {
4704
- return Object.keys(val).length !== 0;
4705
- }
4706
- object.isntEmptyObject = isntEmptyObject;
4707
-
4708
- var number = {};
4709
-
4710
- number.isntNumber = number.isNumber = void 0;
4711
- function isNumber(val) {
4712
- return typeof val === 'number';
4713
- }
4714
- number.isNumber = isNumber;
4715
- function isntNumber(val) {
4716
- return !isNumber(val);
4717
- }
4718
- number.isntNumber = isntNumber;
4719
-
4720
- jsonRpc.isntJsonRpcError = jsonRpc.isJsonRpcError = jsonRpc.isntJsonRpcSuccess = jsonRpc.isJsonRpcSuccess = jsonRpc.isntJsonRpcRequest = jsonRpc.isJsonRpcRequest = jsonRpc.isntJsonRpcNotification = jsonRpc.isJsonRpcNotification = void 0;
4721
- const array_1 = array;
4722
- const object_1 = object;
4723
- const string_1 = string;
4724
- const number_1 = number;
4725
- const undefined_1 = _undefined;
4726
- function isJsonRpcId(val) {
4727
- return (0, string_1.isString)(val) || (0, number_1.isNumber)(val);
4728
- }
4729
- function isJsonRpcParams(val) {
4730
- return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
4731
- }
4732
- function isJsonRpcNotification(val) {
4733
- return (0, object_1.isPlainObject)(val)
4734
- && (0, string_1.isString)(val.jsonrpc)
4735
- && (0, string_1.isString)(val.method)
4736
- && (0, undefined_1.isUndefined)(val.id)
4737
- && isJsonRpcParams(val.params);
4738
- }
4739
- jsonRpc.isJsonRpcNotification = isJsonRpcNotification;
4740
- function isntJsonRpcNotification(val) {
4741
- return !isJsonRpcNotification(val);
4742
- }
4743
- jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
4744
- function isJsonRpcRequest(val) {
4745
- return (0, object_1.isPlainObject)(val)
4746
- && (0, string_1.isString)(val.jsonrpc)
4747
- && (0, string_1.isString)(val.method)
4748
- && isJsonRpcId(val.id)
4749
- && isJsonRpcParams(val.params);
4750
- }
4751
- jsonRpc.isJsonRpcRequest = isJsonRpcRequest;
4752
- function isntJsonRpcRequest(val) {
4753
- return !isJsonRpcRequest(val);
4754
- }
4755
- jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
4756
- function isJsonRpcSuccess(val) {
4757
- return (0, object_1.isPlainObject)(val)
4758
- && (0, string_1.isString)(val.jsonrpc)
4759
- && (0, string_1.isString)(val.id)
4760
- && 'result' in val;
4761
- }
4762
- jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
4763
- function isntJsonRpcSuccess(val) {
4764
- return !isJsonRpcSuccess(val);
4765
- }
4766
- jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
4767
- function isJsonRpcError(val) {
4768
- return (0, object_1.isPlainObject)(val)
4769
- && (0, string_1.isString)(val.jsonrpc)
4770
- && isJsonRpcId(val.id)
4771
- && isJsonRpcErrorObject(val.error);
4772
- }
4773
- jsonRpc.isJsonRpcError = isJsonRpcError;
4774
- function isntJsonRpcError(val) {
4775
- return !isJsonRpcError(val);
4776
- }
4777
- jsonRpc.isntJsonRpcError = isntJsonRpcError;
4778
- function isJsonRpcErrorObject(val) {
4779
- return (0, object_1.isPlainObject)(val)
4780
- && (0, number_1.isNumber)(val.code)
4781
- && (0, string_1.isString)(val.message)
4782
- && ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
4286
+ }
4287
+ finally {
4288
+ if (!done)
4289
+ await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));
4290
+ }
4783
4291
  }
4292
+ lastAsync$1.lastAsync = lastAsync;
4784
4293
 
4785
- var json = {};
4294
+ var last$1 = {};
4786
4295
 
4787
- json.isntJson = json.isJson = void 0;
4788
- function isJson(val) {
4296
+ last$1.last = void 0;
4297
+ function last(iterable) {
4298
+ var _a;
4299
+ const iterator = iterable[Symbol.iterator]();
4300
+ let done;
4789
4301
  try {
4790
- JSON.stringify(val);
4791
- return true;
4302
+ let value;
4303
+ let result;
4304
+ while ({ value, done } = iterator.next(), !done) {
4305
+ result = value;
4306
+ }
4307
+ return result;
4792
4308
  }
4793
- catch (_a) {
4794
- return false;
4309
+ finally {
4310
+ if (!done)
4311
+ (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);
4795
4312
  }
4796
4313
  }
4797
- json.isJson = isJson;
4798
- function isntJson(val) {
4799
- return !isntJson();
4314
+ last$1.last = last;
4315
+
4316
+ var toArrayAsync$1 = {};
4317
+
4318
+ toArrayAsync$1.toArrayAsync = void 0;
4319
+ const consume_1$3 = consume$1;
4320
+ function toArrayAsync(iterable) {
4321
+ return (0, consume_1$3.consume)(iterable, async (iterable) => {
4322
+ const result = [];
4323
+ for await (const element of iterable) {
4324
+ result.push(element);
4325
+ }
4326
+ return result;
4327
+ });
4800
4328
  }
4801
- json.isntJson = isntJson;
4329
+ toArrayAsync$1.toArrayAsync = toArrayAsync;
4802
4330
 
4803
- var url = {};
4331
+ var toArray$1 = {};
4804
4332
 
4805
- url.isAbsoluteURL = void 0;
4806
- function isAbsoluteURL(str) {
4807
- try {
4808
- new URL(str);
4809
- return true;
4810
- }
4811
- catch (_a) {
4812
- return false;
4813
- }
4333
+ toArray$1.toArray = void 0;
4334
+ const consume_1$2 = consume$1;
4335
+ function toArray(iterable) {
4336
+ return (0, consume_1$2.consume)(iterable, iterable => Array.from(iterable));
4814
4337
  }
4815
- url.isAbsoluteURL = isAbsoluteURL;
4338
+ toArray$1.toArray = toArray;
4339
+
4340
+ var toSetAsync$1 = {};
4341
+
4342
+ toSetAsync$1.toSetAsync = void 0;
4343
+ const consume_1$1 = consume$1;
4344
+ function toSetAsync(iterable) {
4345
+ return (0, consume_1$1.consume)(iterable, async (iterable) => {
4346
+ const result = new Set();
4347
+ for await (const element of iterable) {
4348
+ result.add(element);
4349
+ }
4350
+ return result;
4351
+ });
4352
+ }
4353
+ toSetAsync$1.toSetAsync = toSetAsync;
4354
+
4355
+ var toSet$1 = {};
4356
+
4357
+ toSet$1.toSet = void 0;
4358
+ const consume_1 = consume$1;
4359
+ function toSet(iterable) {
4360
+ return (0, consume_1.consume)(iterable, iterable => new Set(iterable));
4361
+ }
4362
+ toSet$1.toSet = toSet;
4816
4363
 
4817
4364
  (function (exports) {
4818
4365
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -4824,27 +4371,121 @@
4824
4371
  }));
4825
4372
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4826
4373
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4827
- };__exportStar(array, exports);
4828
- __exportStar(asyncIterable, exports);
4829
- __exportStar(bigint, exports);
4830
- __exportStar(boolean, exports);
4831
- __exportStar(char, exports);
4832
- __exportStar(date, exports);
4833
- __exportStar(_enum, exports);
4834
- __exportStar(error, exports);
4835
- __exportStar(falsy, exports);
4836
- __exportStar(_function, exports);
4837
- __exportStar(iterable, exports);
4838
- __exportStar(jsonRpc, exports);
4839
- __exportStar(json, exports);
4840
- __exportStar(_null, exports);
4841
- __exportStar(number, exports);
4842
- __exportStar(object, exports);
4843
- __exportStar(string, exports);
4844
- __exportStar(_undefined, exports);
4845
- __exportStar(url, exports);
4374
+ };__exportStar(consume$1, exports);
4375
+ __exportStar(eachAsync$1, exports);
4376
+ __exportStar(each$1, exports);
4377
+ __exportStar(everyAsync$1, exports);
4378
+ __exportStar(every$1, exports);
4379
+ __exportStar(findAsync$1, exports);
4380
+ __exportStar(find$1, exports);
4381
+ __exportStar(firstAsync$1, exports);
4382
+ __exportStar(first$1, exports);
4383
+ __exportStar(includesAsync$1, exports);
4384
+ __exportStar(includes$1, exports);
4385
+ __exportStar(matchAsync$1, exports);
4386
+ __exportStar(match$1, exports);
4387
+ __exportStar(reduceAsync$1, exports);
4388
+ __exportStar(reduce$1, exports);
4389
+ __exportStar(someAsync$1, exports);
4390
+ __exportStar(some$1, exports);
4391
+ __exportStar(lastAsync$1, exports);
4392
+ __exportStar(last$1, exports);
4393
+ __exportStar(toArrayAsync$1, exports);
4394
+ __exportStar(toArray$1, exports);
4395
+ __exportStar(toSetAsync$1, exports);
4396
+ __exportStar(toSet$1, exports);
4846
4397
 
4847
- }(es2018));
4398
+ }(output));
4399
+
4400
+ (function (exports) {
4401
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4402
+ if (k2 === undefined) k2 = k;
4403
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4404
+ }) : (function(o, m, k, k2) {
4405
+ if (k2 === undefined) k2 = k;
4406
+ o[k2] = m[k];
4407
+ }));
4408
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4409
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4410
+ };__exportStar(middleware, exports);
4411
+ __exportStar(output, exports);
4412
+
4413
+ }(es2018$5));
4414
+
4415
+ toNdjson.toNDJSON = void 0;
4416
+ const iterable_operator_1$3 = es2018$5;
4417
+ const to_lines_1 = toLines$1;
4418
+ function toNDJSON(res) {
4419
+ return (0, iterable_operator_1$3.mapAsync)((0, to_lines_1.toLines)(res), text => JSON.parse(text));
4420
+ }
4421
+ toNdjson.toNDJSON = toNDJSON;
4422
+
4423
+ var toCsv = {};
4424
+
4425
+ toCsv.toCSV = void 0;
4426
+ const papaparse_1 = papaparse_min.exports;
4427
+ async function toCSV(res) {
4428
+ const text = await res.text();
4429
+ const result = (0, papaparse_1.parse)(text, {
4430
+ header: true,
4431
+ skipEmptyLines: 'greedy'
4432
+ });
4433
+ return result.data;
4434
+ }
4435
+ toCsv.toCSV = toCSV;
4436
+
4437
+ (function (exports) {
4438
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4439
+ if (k2 === undefined) k2 = k;
4440
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4441
+ }) : (function(o, m, k, k2) {
4442
+ if (k2 === undefined) k2 = k;
4443
+ o[k2] = m[k];
4444
+ }));
4445
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4446
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4447
+ };__exportStar(ok, exports);
4448
+ __exportStar(toJson, exports);
4449
+ __exportStar(toText$1, exports);
4450
+ __exportStar(toLines$1, exports);
4451
+ __exportStar(toNdjson, exports);
4452
+ __exportStar(toCsv, exports);
4453
+
4454
+ }(es2018$6));
4455
+
4456
+ var es2018$1 = {};
4457
+
4458
+ var abortController = {};
4459
+
4460
+ var browser = {exports: {}};
4461
+
4462
+ /*globals self, window */
4463
+
4464
+ /*eslint-disable @mysticatea/prettier */
4465
+ const { AbortController, AbortSignal } =
4466
+ typeof self !== "undefined" ? self :
4467
+ typeof window !== "undefined" ? window :
4468
+ /* otherwise */ undefined;
4469
+ /*eslint-enable @mysticatea/prettier */
4470
+
4471
+ browser.exports = AbortController;
4472
+ browser.exports.AbortSignal = AbortSignal;
4473
+ browser.exports.default = AbortController;
4474
+
4475
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4476
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4477
+ };
4478
+ var _a$1;abortController.AbortController = void 0;
4479
+ const abort_controller_1$3 = __importDefault(browser.exports);
4480
+ abortController.AbortController = (_a$1 = globalThis.AbortController) !== null && _a$1 !== void 0 ? _a$1 : abort_controller_1$3.default;
4481
+
4482
+ var abortError = {};
4483
+
4484
+ var es2018 = {};
4485
+
4486
+ var customError = {};
4487
+
4488
+ var getErrorNames$1 = {};
4848
4489
 
4849
4490
  var traverseErrorPrototypeChain$1 = {};
4850
4491
 
@@ -4860,7 +4501,7 @@
4860
4501
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
4861
4502
 
4862
4503
  getErrorNames$1.getErrorNames = void 0;
4863
- const types_1$3 = es2018;
4504
+ const types_1$3 = es2018$2;
4864
4505
  const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
4865
4506
  function* getErrorNames(err) {
4866
4507
  var _a;
@@ -4881,7 +4522,7 @@
4881
4522
  var serializableError = {};
4882
4523
 
4883
4524
  serializableError.isSerializableError = void 0;
4884
- const types_1$2 = es2018;
4525
+ const types_1$2 = es2018$2;
4885
4526
  function isSerializableError(val) {
4886
4527
  return (0, types_1$2.isObject)(val)
4887
4528
  && (0, types_1$2.isString)(val.name)
@@ -4892,9 +4533,9 @@
4892
4533
  serializableError.isSerializableError = isSerializableError;
4893
4534
 
4894
4535
  customError.CustomError = void 0;
4895
- const iterable_operator_1$2 = es2018$6;
4536
+ const iterable_operator_1$2 = es2018$5;
4896
4537
  const get_error_names_1$1 = getErrorNames$1;
4897
- const types_1$1 = es2018;
4538
+ const types_1$1 = es2018$2;
4898
4539
  const serializable_error_1 = serializableError;
4899
4540
  class CustomError extends Error {
4900
4541
  get name() {
@@ -4930,7 +4571,7 @@
4930
4571
 
4931
4572
  normalize$1.normalize = void 0;
4932
4573
  const get_error_names_1 = getErrorNames$1;
4933
- const iterable_operator_1$1 = es2018$6;
4574
+ const iterable_operator_1$1 = es2018$5;
4934
4575
  function normalize(err) {
4935
4576
  var _a;
4936
4577
  const [name, ...ancestors] = (0, iterable_operator_1$1.toArray)((0, get_error_names_1.getErrorNames)(err));
@@ -4971,12 +4612,12 @@
4971
4612
  __exportStar(getErrorNames$1, exports);
4972
4613
  __exportStar(traverseErrorPrototypeChain$1, exports);
4973
4614
 
4974
- }(es2018$1));
4615
+ }(es2018));
4975
4616
 
4976
4617
  abortError.AbortError = void 0;
4977
- const errors_1 = es2018$1;
4978
- const types_1 = es2018;
4979
- const iterable_operator_1 = es2018$6;
4618
+ const errors_1 = es2018;
4619
+ const types_1 = es2018$2;
4620
+ const iterable_operator_1 = es2018$5;
4980
4621
  class AbortError extends errors_1.CustomError {
4981
4622
  static [Symbol.hasInstance](instance) {
4982
4623
  if ((0, types_1.isError)(instance)) {
@@ -5076,7 +4717,27 @@
5076
4717
  __exportStar(timeoutSignal$1, exports);
5077
4718
  __exportStar(withAbortSignal$1, exports);
5078
4719
 
5079
- }(es2018$2));
4720
+ }(es2018$1));
4721
+
4722
+ const expectedVersion = '0.1.0';
4723
+ class EStoreManagerBase {
4724
+ constructor(options) {
4725
+ this.options = options;
4726
+ }
4727
+ getCommonTransformers(options) {
4728
+ var _a, _b;
4729
+ return [
4730
+ transformers.url(this.options.server),
4731
+ transformers.bearerAuth(this.options.adminPassword),
4732
+ transformers.signal(es2018$1.raceAbortSignals([
4733
+ options.signal,
4734
+ 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)))
4735
+ ])),
4736
+ transformers.keepalive((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive),
4737
+ transformers.header('Accept-Version', expectedVersion)
4738
+ ];
4739
+ }
4740
+ }
5080
4741
 
5081
4742
  class EStoreClient {
5082
4743
  constructor(options) {
@@ -5092,11 +4753,12 @@
5092
4753
  transformers.url(this.options.server),
5093
4754
  auth && transformers.basicAuth(auth.username, auth.password),
5094
4755
  token && transformers.searchParams({ token }),
5095
- transformers.signal(es2018$2.raceAbortSignals([
4756
+ transformers.signal(es2018$1.raceAbortSignals([
5096
4757
  options.signal,
5097
- 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)))
4758
+ 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)))
5098
4759
  ])),
5099
- transformers.keepalive((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive)
4760
+ transformers.keepalive((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive),
4761
+ transformers.header('Accept-Version', expectedVersion)
5100
4762
  ];
5101
4763
  }
5102
4764
  /**
@@ -5104,8 +4766,8 @@
5104
4766
  */
5105
4767
  append(namespace, itemId, payload, index, options = {}) {
5106
4768
  return __awaiter(this, void 0, void 0, function* () {
5107
- 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));
5108
- yield es2018$d.fetch(req).then(es2018$7.ok);
4769
+ 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));
4770
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5109
4771
  });
5110
4772
  }
5111
4773
  /**
@@ -5113,14 +4775,14 @@
5113
4775
  */
5114
4776
  getEvent(namespace, itemId, index, options = {}) {
5115
4777
  return __awaiter(this, void 0, void 0, function* () {
5116
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
4778
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
5117
4779
  try {
5118
- return yield es2018$d.fetch(req)
5119
- .then(es2018$7.ok)
5120
- .then(es2018$7.toJSON);
4780
+ return yield es2018$c.fetch(req)
4781
+ .then(es2018$6.ok)
4782
+ .then(es2018$6.toJSON);
5121
4783
  }
5122
4784
  catch (e) {
5123
- if (e instanceof es2018$9.NotFound)
4785
+ if (e instanceof es2018$8.NotFound)
5124
4786
  return undefined;
5125
4787
  throw e;
5126
4788
  }
@@ -5131,14 +4793,14 @@
5131
4793
  */
5132
4794
  getEvents(namespace, itemId, options = {}) {
5133
4795
  return __awaiter(this, void 0, void 0, function* () {
5134
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
4796
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
5135
4797
  try {
5136
- return yield es2018$d.fetch(req)
5137
- .then(es2018$7.ok)
5138
- .then(es2018$7.toJSON);
4798
+ return yield es2018$c.fetch(req)
4799
+ .then(es2018$6.ok)
4800
+ .then(es2018$6.toJSON);
5139
4801
  }
5140
4802
  catch (e) {
5141
- if (e instanceof es2018$9.NotFound)
4803
+ if (e instanceof es2018$8.NotFound)
5142
4804
  return undefined;
5143
4805
  throw e;
5144
4806
  }
@@ -5149,10 +4811,10 @@
5149
4811
  */
5150
4812
  getSize(namespace, itemId, options = {}) {
5151
4813
  return __awaiter(this, void 0, void 0, function* () {
5152
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/size`));
5153
- return yield 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/${itemId}/size`));
4815
+ return yield es2018$c.fetch(req)
4816
+ .then(es2018$6.ok)
4817
+ .then(es2018$6.toJSON);
5156
4818
  });
5157
4819
  }
5158
4820
  /**
@@ -5160,13 +4822,13 @@
5160
4822
  */
5161
4823
  has(namespace, itemId, options = {}) {
5162
4824
  return __awaiter(this, void 0, void 0, function* () {
5163
- const req = es2018$c.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
4825
+ const req = es2018$b.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
5164
4826
  try {
5165
- yield es2018$d.fetch(req).then(es2018$7.ok);
4827
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5166
4828
  return true;
5167
4829
  }
5168
4830
  catch (e) {
5169
- if (e instanceof es2018$9.NotFound)
4831
+ if (e instanceof es2018$8.NotFound)
5170
4832
  return false;
5171
4833
  throw e;
5172
4834
  }
@@ -5177,8 +4839,8 @@
5177
4839
  */
5178
4840
  del(namespace, itemId, options = {}) {
5179
4841
  return __awaiter(this, void 0, void 0, function* () {
5180
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
5181
- yield es2018$d.fetch(req).then(es2018$7.ok);
4842
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
4843
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5182
4844
  });
5183
4845
  }
5184
4846
  /**
@@ -5186,8 +4848,8 @@
5186
4848
  */
5187
4849
  clear(namespace, options = {}) {
5188
4850
  return __awaiter(this, void 0, void 0, function* () {
5189
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
5190
- yield es2018$d.fetch(req).then(es2018$7.ok);
4851
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
4852
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5191
4853
  });
5192
4854
  }
5193
4855
  /**
@@ -5195,10 +4857,10 @@
5195
4857
  */
5196
4858
  getAllItemIds(namespace, options = {}) {
5197
4859
  return __awaiter(this, void 0, void 0, function* () {
5198
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
5199
- return yield es2018$d.fetch(req)
5200
- .then(es2018$7.ok)
5201
- .then(es2018$7.toJSON);
4860
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
4861
+ return yield es2018$c.fetch(req)
4862
+ .then(es2018$6.ok)
4863
+ .then(es2018$6.toJSON);
5202
4864
  });
5203
4865
  }
5204
4866
  /**
@@ -5206,10 +4868,10 @@
5206
4868
  */
5207
4869
  getAllNamespaces(options = {}) {
5208
4870
  return __awaiter(this, void 0, void 0, function* () {
5209
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
5210
- return yield es2018$d.fetch(req)
5211
- .then(es2018$7.ok)
5212
- .then(es2018$7.toJSON);
4871
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
4872
+ return yield es2018$c.fetch(req)
4873
+ .then(es2018$6.ok)
4874
+ .then(es2018$6.toJSON);
5213
4875
  });
5214
4876
  }
5215
4877
  /**
@@ -5217,43 +4879,24 @@
5217
4879
  */
5218
4880
  stats(namespace, options = {}) {
5219
4881
  return __awaiter(this, void 0, void 0, function* () {
5220
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
5221
- return yield es2018$d.fetch(req)
5222
- .then(es2018$7.ok)
5223
- .then(es2018$7.toJSON);
4882
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
4883
+ return yield es2018$c.fetch(req)
4884
+ .then(es2018$6.ok)
4885
+ .then(es2018$6.toJSON);
5224
4886
  });
5225
4887
  }
5226
4888
  }
5227
4889
 
5228
- class EStoreManagerBase {
5229
- constructor(options) {
5230
- this.options = options;
5231
- }
5232
- getCommonTransformers(options) {
5233
- var _a, _b;
5234
- return [
5235
- transformers.url(this.options.server),
5236
- transformers.bearerAuth(this.options.adminPassword),
5237
- transformers.signal(es2018$2.raceAbortSignals([
5238
- options.signal,
5239
- 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)))
5240
- ])),
5241
- transformers.keepalive((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive),
5242
- transformers.header('Accept-Version', '0.1.0')
5243
- ];
5244
- }
5245
- }
5246
-
5247
4890
  class JsonSchemaClient extends EStoreManagerBase {
5248
4891
  /**
5249
4892
  * @throws {AbortError}
5250
4893
  */
5251
4894
  getNamespaces(options = {}) {
5252
4895
  return __awaiter(this, void 0, void 0, function* () {
5253
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
5254
- return yield es2018$d.fetch(req)
5255
- .then(es2018$7.ok)
5256
- .then(es2018$7.toJSON);
4896
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
4897
+ return yield es2018$c.fetch(req)
4898
+ .then(es2018$6.ok)
4899
+ .then(es2018$6.toJSON);
5257
4900
  });
5258
4901
  }
5259
4902
  /**
@@ -5261,10 +4904,10 @@
5261
4904
  */
5262
4905
  get(namespace, options = {}) {
5263
4906
  return __awaiter(this, void 0, void 0, function* () {
5264
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
5265
- return yield es2018$d.fetch(req)
5266
- .then(es2018$7.ok)
5267
- .then(es2018$7.toJSON);
4907
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
4908
+ return yield es2018$c.fetch(req)
4909
+ .then(es2018$6.ok)
4910
+ .then(es2018$6.toJSON);
5268
4911
  });
5269
4912
  }
5270
4913
  /**
@@ -5272,8 +4915,8 @@
5272
4915
  */
5273
4916
  set(namespace, schema, options = {}) {
5274
4917
  return __awaiter(this, void 0, void 0, function* () {
5275
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
5276
- yield es2018$d.fetch(req).then(es2018$7.ok);
4918
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
4919
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5277
4920
  });
5278
4921
  }
5279
4922
  /**
@@ -5281,8 +4924,8 @@
5281
4924
  */
5282
4925
  remove(namespace, options = {}) {
5283
4926
  return __awaiter(this, void 0, void 0, function* () {
5284
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
5285
- yield es2018$d.fetch(req).then(es2018$7.ok);
4927
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
4928
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5286
4929
  });
5287
4930
  }
5288
4931
  }
@@ -5293,10 +4936,10 @@
5293
4936
  */
5294
4937
  getNamespaces(options = {}) {
5295
4938
  return __awaiter(this, void 0, void 0, function* () {
5296
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
5297
- return yield es2018$d.fetch(req)
5298
- .then(es2018$7.ok)
5299
- .then(es2018$7.toJSON);
4939
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
4940
+ return yield es2018$c.fetch(req)
4941
+ .then(es2018$6.ok)
4942
+ .then(es2018$6.toJSON);
5300
4943
  });
5301
4944
  }
5302
4945
  /**
@@ -5304,8 +4947,8 @@
5304
4947
  */
5305
4948
  add(namespace, options = {}) {
5306
4949
  return __awaiter(this, void 0, void 0, function* () {
5307
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
5308
- yield es2018$d.fetch(req).then(es2018$7.ok);
4950
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4951
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5309
4952
  });
5310
4953
  }
5311
4954
  /**
@@ -5313,8 +4956,8 @@
5313
4956
  */
5314
4957
  remove(namespace, options = {}) {
5315
4958
  return __awaiter(this, void 0, void 0, function* () {
5316
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
5317
- yield es2018$d.fetch(req).then(es2018$7.ok);
4959
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4960
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5318
4961
  });
5319
4962
  }
5320
4963
  }
@@ -5325,10 +4968,10 @@
5325
4968
  */
5326
4969
  getNamespaces(options = {}) {
5327
4970
  return __awaiter(this, void 0, void 0, function* () {
5328
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
5329
- return yield es2018$d.fetch(req)
5330
- .then(es2018$7.ok)
5331
- .then(es2018$7.toJSON);
4971
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
4972
+ return yield es2018$c.fetch(req)
4973
+ .then(es2018$6.ok)
4974
+ .then(es2018$6.toJSON);
5332
4975
  });
5333
4976
  }
5334
4977
  /**
@@ -5336,8 +4979,8 @@
5336
4979
  */
5337
4980
  add(namespace, options = {}) {
5338
4981
  return __awaiter(this, void 0, void 0, function* () {
5339
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
5340
- yield es2018$d.fetch(req).then(es2018$7.ok);
4982
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4983
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5341
4984
  });
5342
4985
  }
5343
4986
  /**
@@ -5345,8 +4988,8 @@
5345
4988
  */
5346
4989
  remove(namespace, options = {}) {
5347
4990
  return __awaiter(this, void 0, void 0, function* () {
5348
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
5349
- yield es2018$d.fetch(req).then(es2018$7.ok);
4991
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4992
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5350
4993
  });
5351
4994
  }
5352
4995
  }
@@ -5357,10 +5000,10 @@
5357
5000
  */
5358
5001
  getNamespaces(options = {}) {
5359
5002
  return __awaiter(this, void 0, void 0, function* () {
5360
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-token-policies'));
5361
- return yield 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-with-token-policies'));
5004
+ return yield es2018$c.fetch(req)
5005
+ .then(es2018$6.ok)
5006
+ .then(es2018$6.toJSON);
5364
5007
  });
5365
5008
  }
5366
5009
  /**
@@ -5368,10 +5011,10 @@
5368
5011
  */
5369
5012
  get(namespace, options = {}) {
5370
5013
  return __awaiter(this, void 0, void 0, function* () {
5371
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
5372
- return yield es2018$d.fetch(req)
5373
- .then(es2018$7.ok)
5374
- .then(es2018$7.toJSON);
5014
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
5015
+ return yield es2018$c.fetch(req)
5016
+ .then(es2018$6.ok)
5017
+ .then(es2018$6.toJSON);
5375
5018
  });
5376
5019
  }
5377
5020
  /**
@@ -5379,8 +5022,8 @@
5379
5022
  */
5380
5023
  setWriteTokenRequired(namespace, val, options = {}) {
5381
5024
  return __awaiter(this, void 0, void 0, function* () {
5382
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
5383
- yield es2018$d.fetch(req).then(es2018$7.ok);
5025
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
5026
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5384
5027
  });
5385
5028
  }
5386
5029
  /**
@@ -5388,8 +5031,8 @@
5388
5031
  */
5389
5032
  removeWriteTokenRequired(namespace, options = {}) {
5390
5033
  return __awaiter(this, void 0, void 0, function* () {
5391
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
5392
- yield es2018$d.fetch(req).then(es2018$7.ok);
5034
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
5035
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5393
5036
  });
5394
5037
  }
5395
5038
  /**
@@ -5397,8 +5040,8 @@
5397
5040
  */
5398
5041
  setReadTokenRequired(namespace, val, options = {}) {
5399
5042
  return __awaiter(this, void 0, void 0, function* () {
5400
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
5401
- yield es2018$d.fetch(req).then(es2018$7.ok);
5043
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
5044
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5402
5045
  });
5403
5046
  }
5404
5047
  /**
@@ -5406,8 +5049,8 @@
5406
5049
  */
5407
5050
  removeReadTokenRequired(namespace, options = {}) {
5408
5051
  return __awaiter(this, void 0, void 0, function* () {
5409
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
5410
- yield es2018$d.fetch(req).then(es2018$7.ok);
5052
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
5053
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5411
5054
  });
5412
5055
  }
5413
5056
  /**
@@ -5415,8 +5058,8 @@
5415
5058
  */
5416
5059
  setDeleteTokenRequired(namespace, val, options = {}) {
5417
5060
  return __awaiter(this, void 0, void 0, function* () {
5418
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
5419
- yield es2018$d.fetch(req).then(es2018$7.ok);
5061
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
5062
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5420
5063
  });
5421
5064
  }
5422
5065
  /**
@@ -5424,8 +5067,8 @@
5424
5067
  */
5425
5068
  removeDeleteTokenRequired(namespace, options = {}) {
5426
5069
  return __awaiter(this, void 0, void 0, function* () {
5427
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
5428
- yield es2018$d.fetch(req).then(es2018$7.ok);
5070
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
5071
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5429
5072
  });
5430
5073
  }
5431
5074
  }
@@ -5436,10 +5079,10 @@
5436
5079
  */
5437
5080
  getNamespaces(options = {}) {
5438
5081
  return __awaiter(this, void 0, void 0, function* () {
5439
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
5440
- return yield es2018$d.fetch(req)
5441
- .then(es2018$7.ok)
5442
- .then(es2018$7.toJSON);
5082
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
5083
+ return yield es2018$c.fetch(req)
5084
+ .then(es2018$6.ok)
5085
+ .then(es2018$6.toJSON);
5443
5086
  });
5444
5087
  }
5445
5088
  /**
@@ -5447,10 +5090,10 @@
5447
5090
  */
5448
5091
  getTokens(namespace, options = {}) {
5449
5092
  return __awaiter(this, void 0, void 0, function* () {
5450
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
5451
- return yield es2018$d.fetch(req)
5452
- .then(es2018$7.ok)
5453
- .then(es2018$7.toJSON);
5093
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
5094
+ return yield es2018$c.fetch(req)
5095
+ .then(es2018$6.ok)
5096
+ .then(es2018$6.toJSON);
5454
5097
  });
5455
5098
  }
5456
5099
  /**
@@ -5458,8 +5101,8 @@
5458
5101
  */
5459
5102
  addWriteToken(namespace, token, options = {}) {
5460
5103
  return __awaiter(this, void 0, void 0, function* () {
5461
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5462
- yield es2018$d.fetch(req).then(es2018$7.ok);
5104
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5105
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5463
5106
  });
5464
5107
  }
5465
5108
  /**
@@ -5467,8 +5110,8 @@
5467
5110
  */
5468
5111
  removeWriteToken(namespace, token, options = {}) {
5469
5112
  return __awaiter(this, void 0, void 0, function* () {
5470
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5471
- yield es2018$d.fetch(req).then(es2018$7.ok);
5113
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5114
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5472
5115
  });
5473
5116
  }
5474
5117
  /**
@@ -5476,8 +5119,8 @@
5476
5119
  */
5477
5120
  addReadToken(namespace, token, options = {}) {
5478
5121
  return __awaiter(this, void 0, void 0, function* () {
5479
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5480
- yield es2018$d.fetch(req).then(es2018$7.ok);
5122
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5123
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5481
5124
  });
5482
5125
  }
5483
5126
  /**
@@ -5485,8 +5128,8 @@
5485
5128
  */
5486
5129
  removeReadToken(namespace, token, options = {}) {
5487
5130
  return __awaiter(this, void 0, void 0, function* () {
5488
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5489
- yield es2018$d.fetch(req).then(es2018$7.ok);
5131
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5132
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5490
5133
  });
5491
5134
  }
5492
5135
  /**
@@ -5494,8 +5137,8 @@
5494
5137
  */
5495
5138
  addDeleteToken(namespace, token, options = {}) {
5496
5139
  return __awaiter(this, void 0, void 0, function* () {
5497
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5498
- yield es2018$d.fetch(req).then(es2018$7.ok);
5140
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5141
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5499
5142
  });
5500
5143
  }
5501
5144
  /**
@@ -5503,8 +5146,8 @@
5503
5146
  */
5504
5147
  removeDeleteToken(namespace, token, options = {}) {
5505
5148
  return __awaiter(this, void 0, void 0, function* () {
5506
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5507
- yield es2018$d.fetch(req).then(es2018$7.ok);
5149
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5150
+ yield es2018$c.fetch(req).then(es2018$6.ok);
5508
5151
  });
5509
5152
  }
5510
5153
  }
@@ -5520,11 +5163,11 @@
5520
5163
  }
5521
5164
  }
5522
5165
 
5523
- exports.AbortError = es2018$d.AbortError;
5166
+ exports.AbortError = es2018$c.AbortError;
5524
5167
  exports.EStoreClient = EStoreClient;
5525
5168
  exports.EStoreManager = EStoreManager;
5526
- exports.HTTPClientError = es2018$9.HTTPClientError;
5527
- exports.HTTPError = es2018$7.HTTPError;
5169
+ exports.HTTPClientError = es2018$8.HTTPClientError;
5170
+ exports.HTTPError = es2018$6.HTTPError;
5528
5171
 
5529
5172
  Object.defineProperty(exports, '__esModule', { value: true });
5530
5173