@blackglory/geyser-js 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{es2015/client.d.ts → client.d.ts} +0 -0
- package/lib/{es2018/client.js → client.js} +4 -4
- package/lib/client.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/{es2015/index.js → index.js} +7 -3
- package/lib/index.js.map +1 -0
- package/lib/{es2015/manager → manager}/base.d.ts +3 -3
- package/lib/{es2018/manager → manager}/base.js +7 -7
- package/lib/manager/base.js.map +1 -0
- package/lib/{es2015/manager → manager}/blacklist-manager.d.ts +1 -1
- package/lib/{es2018/manager → manager}/blacklist-manager.js +6 -6
- package/lib/manager/blacklist-manager.js.map +1 -0
- package/lib/{es2018/manager → manager}/configuration-manager.d.ts +1 -1
- package/lib/{es2018/manager → manager}/configuration-manager.js +9 -9
- package/lib/manager/configuration-manager.js.map +1 -0
- package/lib/{es2018/manager → manager}/cycle-manager.d.ts +1 -1
- package/lib/{es2018/manager → manager}/cycle-manager.js +4 -4
- package/lib/manager/cycle-manager.js.map +1 -0
- package/lib/{es2018/manager → manager}/index.d.ts +6 -6
- package/lib/manager/index.js +22 -0
- package/lib/manager/index.js.map +1 -0
- package/lib/{es2015/manager → manager}/token-manager.d.ts +1 -1
- package/lib/{es2018/manager → manager}/token-manager.js +7 -7
- package/lib/manager/token-manager.js.map +1 -0
- package/lib/{es2018/manager → manager}/token-policy-manager.d.ts +1 -1
- package/lib/{es2018/manager → manager}/token-policy-manager.js +7 -7
- package/lib/manager/token-policy-manager.js.map +1 -0
- package/lib/{es2015/manager → manager}/whitelist-manager.d.ts +1 -1
- package/lib/{es2018/manager → manager}/whitelist-manager.js +6 -6
- package/lib/manager/whitelist-manager.js.map +1 -0
- package/lib/utils.d.ts +1 -0
- package/lib/{es2015/utils.js → utils.js} +1 -1
- package/lib/utils.js.map +1 -0
- package/package.json +39 -46
- package/dist/es2015/index.min.mjs +0 -16
- package/dist/es2015/index.min.mjs.map +0 -1
- package/dist/es2015/index.mjs +0 -9240
- package/dist/es2015/index.mjs.map +0 -1
- package/dist/es2015/index.umd.js +0 -9253
- package/dist/es2015/index.umd.js.map +0 -1
- package/dist/es2015/index.umd.min.js +0 -23
- package/dist/es2015/index.umd.min.js.map +0 -1
- package/dist/es2018/index.min.mjs +0 -2
- package/dist/es2018/index.min.mjs.map +0 -1
- package/dist/es2018/index.mjs +0 -9171
- package/dist/es2018/index.mjs.map +0 -1
- package/dist/es2018/index.umd.js +0 -9184
- package/dist/es2018/index.umd.js.map +0 -1
- package/dist/es2018/index.umd.min.js +0 -9
- package/dist/es2018/index.umd.min.js.map +0 -1
- package/lib/es2015/client.js +0 -37
- package/lib/es2015/client.js.map +0 -1
- package/lib/es2015/index.d.ts +0 -2
- package/lib/es2015/index.js.map +0 -1
- package/lib/es2015/manager/base.js +0 -26
- package/lib/es2015/manager/base.js.map +0 -1
- package/lib/es2015/manager/blacklist-manager.js +0 -41
- package/lib/es2015/manager/blacklist-manager.js.map +0 -1
- package/lib/es2015/manager/configuration-manager.d.ts +0 -14
- package/lib/es2015/manager/configuration-manager.js +0 -61
- package/lib/es2015/manager/configuration-manager.js.map +0 -1
- package/lib/es2015/manager/cycle-manager.d.ts +0 -4
- package/lib/es2015/manager/cycle-manager.js +0 -27
- package/lib/es2015/manager/cycle-manager.js.map +0 -1
- package/lib/es2015/manager/index.d.ts +0 -22
- package/lib/es2015/manager/index.js +0 -22
- package/lib/es2015/manager/index.js.map +0 -1
- package/lib/es2015/manager/token-manager.js +0 -49
- package/lib/es2015/manager/token-manager.js.map +0 -1
- package/lib/es2015/manager/token-policy-manager.d.ts +0 -11
- package/lib/es2015/manager/token-policy-manager.js +0 -49
- package/lib/es2015/manager/token-policy-manager.js.map +0 -1
- package/lib/es2015/manager/whitelist-manager.js +0 -41
- package/lib/es2015/manager/whitelist-manager.js.map +0 -1
- package/lib/es2015/utils.d.ts +0 -1
- package/lib/es2015/utils.js.map +0 -1
- package/lib/es2018/client.d.ts +0 -21
- package/lib/es2018/client.js.map +0 -1
- package/lib/es2018/index.d.ts +0 -2
- package/lib/es2018/index.js +0 -15
- package/lib/es2018/index.js.map +0 -1
- package/lib/es2018/manager/base.d.ts +0 -13
- package/lib/es2018/manager/base.js.map +0 -1
- package/lib/es2018/manager/blacklist-manager.d.ts +0 -6
- package/lib/es2018/manager/blacklist-manager.js.map +0 -1
- package/lib/es2018/manager/configuration-manager.js.map +0 -1
- package/lib/es2018/manager/cycle-manager.js.map +0 -1
- package/lib/es2018/manager/index.js +0 -22
- package/lib/es2018/manager/index.js.map +0 -1
- package/lib/es2018/manager/token-manager.d.ts +0 -12
- package/lib/es2018/manager/token-manager.js.map +0 -1
- package/lib/es2018/manager/token-policy-manager.js.map +0 -1
- package/lib/es2018/manager/whitelist-manager.d.ts +0 -6
- package/lib/es2018/manager/whitelist-manager.js.map +0 -1
- package/lib/es2018/utils.d.ts +0 -1
- package/lib/es2018/utils.js +0 -5
- package/lib/es2018/utils.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.min.mjs","sources":["../../node_modules/tslib/tslib.es6.js","../../node_modules/extra-fetch/lib/es2018/fetch.browser.js","../../node_modules/extra-fetch/lib/es2018/headers.browser.js","../../node_modules/extra-fetch/lib/es2018/request.browser.js","../../node_modules/extra-fetch/lib/es2018/response.browser.js","../../node_modules/extra-fetch/lib/es2018/form-data.browser.js","../../node_modules/extra-fetch/lib/es2018/abort-controller.browser.js","../../node_modules/extra-fetch/lib/es2018/abort-error.browser.js","../../node_modules/extra-fetch/lib/es2018/blob.browser.js","../../node_modules/extra-fetch/lib/es2018/index.js","../../node_modules/extra-fetch/lib/es2018/event-source.browser.js","../../node_modules/iterable-operator/node_modules/@blackglory/go/lib/es2018/go.js","../../node_modules/iterable-operator/node_modules/@blackglory/go/lib/es2018/go-microtask.js","../../node_modules/extra-rand/lib/es2018/random.js","../../node_modules/extra-rand/lib/es2018/random-int.js","../../node_modules/extra-rand/lib/es2018/random-int-inclusive.js","../../node_modules/extra-rand/lib/es2018/index.js","../../node_modules/extra-timers/lib/es2018/exponential-backoff.js","../../node_modules/extra-timers/lib/es2018/set-timeout.js","../../node_modules/extra-timers/lib/es2018/set-schedule.js","../../node_modules/extra-timers/lib/es2018/set-interval.js","../../node_modules/extra-timers/lib/es2018/set-immediate.js","../../node_modules/extra-timers/lib/es2018/set-timeout-loop.js","../../node_modules/extra-timers/lib/es2018/set-dynamic-timeout-loop.js","../../node_modules/extra-timers/lib/es2018/index.js","../../node_modules/iterable-operator/node_modules/@blackglory/go/lib/es2018/go-macrotask.js","../../node_modules/iterable-operator/node_modules/@blackglory/go/lib/es2018/index.js","../../node_modules/@blackglory/types/lib/es2018/array.js","../../node_modules/@blackglory/types/lib/es2018/null.js","../../node_modules/@blackglory/types/lib/es2018/undefined.js","../../node_modules/@blackglory/types/lib/es2018/function.js","../../node_modules/@blackglory/types/lib/es2018/async-iterable.js","../../node_modules/@blackglory/types/lib/es2018/bigint.js","../../node_modules/@blackglory/types/lib/es2018/boolean.js","../../node_modules/@blackglory/types/lib/es2018/string.js","../../node_modules/@blackglory/types/lib/es2018/char.js","../../node_modules/@blackglory/types/lib/es2018/date.js","../../node_modules/@blackglory/types/lib/es2018/enum.js","../../node_modules/@blackglory/types/lib/es2018/error.js","../../node_modules/@blackglory/types/lib/es2018/falsy.js","../../node_modules/@blackglory/types/lib/es2018/iterable.js","../../node_modules/@blackglory/types/lib/es2018/number.js","../../node_modules/lodash/_root.js","../../node_modules/lodash/_freeGlobal.js","../../node_modules/lodash/_Symbol.js","../../node_modules/lodash/_getRawTag.js","../../node_modules/lodash/_objectToString.js","../../node_modules/lodash/_baseGetTag.js","../../node_modules/lodash/_overArg.js","../../node_modules/lodash/_getPrototype.js","../../node_modules/lodash/isObjectLike.js","../../node_modules/lodash/isPlainObject.js","../../node_modules/@blackglory/types/lib/es2018/object.js","../../node_modules/@blackglory/types/lib/es2018/json.js","../../node_modules/@blackglory/types/lib/es2018/promise.js","../../node_modules/@blackglory/types/lib/es2018/url.js","../../node_modules/@blackglory/types/lib/es2018/regexp.js","../../node_modules/@blackglory/types/lib/es2018/symbol.js","../../node_modules/@blackglory/types/lib/es2018/index.js","../../node_modules/iterable-operator/lib/es2018/middleware/chunk-by-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/chunk-by.js","../../node_modules/iterable-operator/lib/es2018/middleware/concat-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/concat.js","../../node_modules/iterable-operator/lib/es2018/utils.js","../../node_modules/iterable-operator/lib/es2018/middleware/drop-until-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/drop-until.js","../../node_modules/iterable-operator/lib/es2018/middleware/filter-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/filter.js","../../node_modules/iterable-operator/lib/es2018/middleware/flatten-by-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/flatten-deep-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/flatten-by.js","../../node_modules/iterable-operator/lib/es2018/middleware/flatten-deep.js","../../node_modules/iterable-operator/lib/es2018/middleware/map-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/map.js","../../node_modules/iterable-operator/lib/es2018/middleware/repeat-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/repeat.js","../../node_modules/iterable-operator/lib/es2018/middleware/split-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/split-by-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/split-by.js","../../node_modules/iterable-operator/lib/es2018/middleware/split.js","../../node_modules/iterable-operator/lib/es2018/middleware/take-until-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/take-until.js","../../node_modules/iterable-operator/lib/es2018/middleware/tap-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/tap.js","../../node_modules/iterable-operator/lib/es2018/middleware/to-async-iterable.js","../../node_modules/iterable-operator/lib/es2018/middleware/transform-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/transform.js","../../node_modules/iterable-operator/lib/es2018/middleware/uniq-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/uniq-by-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/uniq-by.js","../../node_modules/iterable-operator/lib/es2018/middleware/uniq.js","../../node_modules/iterable-operator/lib/es2018/middleware/zip-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/index.js","../../node_modules/iterable-operator/lib/es2018/middleware/chunk-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/chunk.js","../../node_modules/iterable-operator/lib/es2018/middleware/drop-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/drop-right-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/drop-right.js","../../node_modules/iterable-operator/lib/es2018/middleware/drop.js","../../node_modules/iterable-operator/lib/es2018/middleware/flatten-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/flatten.js","../../node_modules/iterable-operator/lib/es2018/middleware/slice-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/slice.js","../../node_modules/iterable-operator/lib/es2018/middleware/take-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/take-right-async.js","../../node_modules/iterable-operator/lib/es2018/middleware/take-right.js","../../node_modules/iterable-operator/lib/es2018/middleware/take.js","../../node_modules/iterable-operator/lib/es2018/middleware/zip.js","../../node_modules/iterable-operator/lib/es2018/output/consume.js","../../node_modules/iterable-operator/lib/es2018/output/each-async.js","../../node_modules/iterable-operator/lib/es2018/output/each.js","../../node_modules/iterable-operator/lib/es2018/output/every-async.js","../../node_modules/iterable-operator/lib/es2018/output/every.js","../../node_modules/iterable-operator/lib/es2018/output/find-async.js","../../node_modules/iterable-operator/lib/es2018/output/find.js","../../node_modules/iterable-operator/lib/es2018/output/first-async.js","../../node_modules/iterable-operator/lib/es2018/output/first.js","../../node_modules/iterable-operator/lib/es2018/output/includes-async.js","../../node_modules/iterable-operator/lib/es2018/output/includes.js","../../node_modules/iterable-operator/lib/es2018/output/match-async.js","../../node_modules/iterable-operator/lib/es2018/output/match.js","../../node_modules/iterable-operator/lib/es2018/output/reduce-async.js","../../node_modules/iterable-operator/lib/es2018/output/reduce.js","../../node_modules/iterable-operator/lib/es2018/output/some-async.js","../../node_modules/iterable-operator/lib/es2018/output/some.js","../../node_modules/iterable-operator/lib/es2018/output/last-async.js","../../node_modules/iterable-operator/lib/es2018/output/last.js","../../node_modules/iterable-operator/lib/es2018/output/to-array-async.js","../../node_modules/iterable-operator/lib/es2018/output/to-array.js","../../node_modules/iterable-operator/lib/es2018/output/to-set-async.js","../../node_modules/iterable-operator/lib/es2018/output/to-set.js","../../node_modules/iterable-operator/lib/es2018/output/count.js","../../node_modules/iterable-operator/lib/es2018/output/count-async.js","../../node_modules/iterable-operator/lib/es2018/output/group-by.js","../../node_modules/iterable-operator/lib/es2018/output/group-by-async.js","../../node_modules/iterable-operator/lib/es2018/index.js","../../node_modules/iterable-operator/lib/es2018/output/index.js","../../node_modules/@blackglory/errors/lib/es2018/traverse-error-prototype-chain.js","../../node_modules/@blackglory/errors/lib/es2018/get-error-names.js","../../node_modules/@blackglory/errors/lib/es2018/serializable-error.js","../../node_modules/@blackglory/errors/lib/es2018/custom-error.js","../../node_modules/@blackglory/errors/lib/es2018/assertion-error.js","../../node_modules/@blackglory/errors/node_modules/@blackglory/pass/lib/es2018/pass.js","../../node_modules/@blackglory/errors/node_modules/@blackglory/pass/lib/es2018/pass-async.js","../../node_modules/@blackglory/errors/node_modules/@blackglory/pass/lib/es2018/index.js","../../node_modules/@blackglory/errors/lib/es2018/hydrate.js","../../node_modules/@blackglory/errors/lib/es2018/index.js","../../node_modules/@blackglory/errors/lib/es2018/normalize.js","../../node_modules/@blackglory/errors/lib/es2018/assert.js","../../node_modules/@blackglory/prelude/node_modules/@blackglory/go/lib/es2018/go.js","../../node_modules/@blackglory/prelude/node_modules/@blackglory/go/lib/es2018/go-microtask.js","../../node_modules/@blackglory/prelude/node_modules/@blackglory/go/lib/es2018/go-macrotask.js","../../node_modules/@blackglory/prelude/node_modules/@blackglory/go/lib/es2018/index.js","../../node_modules/@blackglory/log/lib/es2018/log.js","../../node_modules/@blackglory/log/lib/es2018/utils/high-resolution-timestamp.browser.js","../../node_modules/@blackglory/log/lib/es2018/time.js","../../node_modules/@blackglory/log/lib/es2018/time-function.js","../../node_modules/@blackglory/log/lib/es2018/time-async-function.js","../../node_modules/@blackglory/log/lib/es2018/index.js","../../node_modules/extra-lazy/lib/es2018/lazy.js","../../node_modules/extra-lazy/lib/es2018/lazy-function.js","../../node_modules/extra-lazy/lib/es2018/lazy-async-function.js","../../node_modules/extra-lazy/lib/es2018/lazy-static.js","../../node_modules/extra-lazy/lib/es2018/index.js","../../node_modules/@blackglory/prelude/node_modules/@blackglory/pass/lib/es2018/pass.js","../../node_modules/@blackglory/prelude/node_modules/@blackglory/pass/lib/es2018/pass-async.js","../../node_modules/@blackglory/prelude/node_modules/@blackglory/pass/lib/es2018/index.js","../../node_modules/@blackglory/prelude/lib/es2018/index.js","../../node_modules/extra-request/lib/es2018/request.js","../../node_modules/extra-request/lib/es2018/index.js","../../node_modules/extra-request/lib/es2018/transformers/url.js","../../node_modules/extra-request/lib/es2018/transformers/text.js","../../node_modules/extra-request/lib/es2018/transformers/json.js","../../node_modules/papaparse/papaparse.js","../../node_modules/extra-request/lib/es2018/transformers/csv.js","../../node_modules/extra-request/lib/es2018/transformers/signal.js","../../node_modules/extra-request/lib/es2018/transformers/header.js","../../node_modules/extra-request/lib/es2018/transformers/append-header.js","../../node_modules/extra-request/lib/es2018/transformers/headers.js","../../node_modules/extra-request/lib/es2018/transformers/accept.js","../../node_modules/extra-request/lib/es2018/transformers/host.js","../../node_modules/extra-request/lib/es2018/transformers/port.js","../../node_modules/extra-request/lib/es2018/transformers/pathname.js","../../node_modules/extra-request/lib/es2018/transformers/append-pathname.js","../../node_modules/extra-request/lib/es2018/transformers/search.js","../../node_modules/extra-request/lib/es2018/transformers/search-param.js","../../node_modules/extra-request/lib/es2018/transformers/search-params.js","../../node_modules/extra-request/lib/es2018/transformers/append-search-param.js","../../node_modules/extra-request/lib/es2018/transformers/form-data-field.js","../../node_modules/js-base64/base64.js","../../node_modules/extra-request/lib/es2018/transformers/basic-auth.js","../../node_modules/extra-request/lib/es2018/transformers/bearer-auth.js","../../node_modules/extra-request/lib/es2018/transformers/keepalive.js","../../node_modules/extra-request/lib/es2018/transformers/index.js","../../node_modules/@blackglory/http-status/lib/es2018/http-error.js","../../node_modules/@blackglory/http-status/lib/es2018/enum.js","../../node_modules/@blackglory/http-status/lib/es2018/http-informational.js","../../node_modules/@blackglory/http-status/lib/es2018/http-successful.js","../../node_modules/@blackglory/http-status/lib/es2018/http-redirection.js","../../node_modules/@blackglory/http-status/lib/es2018/http-client-error.js","../../node_modules/@blackglory/http-status/lib/es2018/http-server-error.js","../../node_modules/@blackglory/http-status/lib/es2018/utils.js","../../node_modules/@blackglory/http-status/lib/es2018/index.js","../../node_modules/extra-response/lib/es2018/ok.js","../../node_modules/extra-response/lib/es2018/to-json.js","../../node_modules/extra-response/lib/es2018/to-text.js","../../node_modules/extra-response/lib/es2018/to-lines.js","../../node_modules/extra-response/lib/es2018/to-ndjson.js","../../node_modules/extra-response/lib/es2018/to-csv.js","../../node_modules/extra-response/lib/es2018/index.js","../../node_modules/abort-controller/browser.js","../../node_modules/extra-abort/lib/es2018/abort-controller.js","../../node_modules/extra-abort/node_modules/@blackglory/go/lib/es2018/go.js","../../node_modules/extra-abort/node_modules/@blackglory/go/lib/es2018/go-microtask.js","../../node_modules/extra-abort/node_modules/@blackglory/go/lib/es2018/go-macrotask.js","../../node_modules/extra-abort/node_modules/@blackglory/go/lib/es2018/index.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/chunk-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/chunk-by-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/chunk-by.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/chunk.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/concat-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/concat.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/filter-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/to-set-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/difference-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/filter.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/to-set.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/difference.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/utils.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/drop-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/to-array-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/drop-right-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/drop-right.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/drop-until-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/drop-until.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/drop.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/flatten-by-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/flatten-deep-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/flatten-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/flatten-by.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/flatten-deep.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/flatten.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/intersection-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/intersection.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/map-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/map.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/repeat-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/repeat.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/slice-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/slice.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/split-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/split-by-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/split-by.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/split.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/take-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/take-right-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/take-right.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/take-until-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/take-until.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/take.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/tap-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/tap.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/to-async-iterable.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/transform-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/transform.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/uniq-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/uniq-by-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/uniq-by.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/uniq.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/zip-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/zip.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/intermediate/index.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/consume.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/consume-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/each-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/each.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/every-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/every.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/find-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/find.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/first-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/first.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/includes-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/includes.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/reduce-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/reduce.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/some-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/some.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/last-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/last.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/to-array.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/count.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/count-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/group-by.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/group-by-async.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/terminal/index.js","../../node_modules/extra-abort/node_modules/iterable-operator/lib/es2018/index.js","../../node_modules/extra-abort/lib/es2018/abort-error.js","../../node_modules/extra-abort/lib/es2018/abort-signal.js","../../node_modules/extra-abort/lib/es2018/race-abort-signals.js","../../node_modules/extra-abort/lib/es2018/timeout-signal.js","../../node_modules/extra-abort/lib/es2018/with-abort-signal.js","../../node_modules/extra-abort/lib/es2018/index.js","../../src/client.ts","../../src/utils.ts","../../src/manager/base.ts","../../src/manager/configuration-manager.ts","../../src/manager/cycle-manager.ts","../../src/manager/blacklist-manager.ts","../../src/manager/whitelist-manager.ts","../../src/manager/token-policy-manager.ts","../../src/manager/token-manager.ts","../../src/manager/index.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fetch = void 0;\nexports.fetch = globalThis.fetch.bind(globalThis);\n//# sourceMappingURL=fetch.browser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Headers = void 0;\nexports.Headers = globalThis.Headers;\n//# sourceMappingURL=headers.browser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Request = void 0;\nexports.Request = globalThis.Request;\n//# sourceMappingURL=request.browser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Response = void 0;\nexports.Response = globalThis.Response;\n//# sourceMappingURL=response.browser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormData = void 0;\nexports.FormData = globalThis.FormData;\n//# sourceMappingURL=form-data.browser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AbortController = void 0;\nexports.AbortController = globalThis.AbortController;\n//# sourceMappingURL=abort-controller.browser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AbortError = void 0;\nexports.AbortError = globalThis.DOMException;\n//# sourceMappingURL=abort-error.browser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Blob = void 0;\nexports.Blob = globalThis.Blob;\n//# sourceMappingURL=blob.browser.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./fetch\"), exports);\n__exportStar(require(\"./headers\"), exports);\n__exportStar(require(\"./request\"), exports);\n__exportStar(require(\"./response\"), exports);\n__exportStar(require(\"./form-data\"), exports);\n__exportStar(require(\"./abort-controller\"), exports);\n__exportStar(require(\"./abort-error\"), exports);\n__exportStar(require(\"./blob\"), exports);\n__exportStar(require(\"./event-source\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventSource = void 0;\nexports.EventSource = globalThis.EventSource;\n//# sourceMappingURL=event-source.browser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.go = void 0;\nfunction go(fn) {\n return fn();\n}\nexports.go = go;\n//# sourceMappingURL=go.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.goMicrotask = void 0;\nfunction goMicrotask(fn) {\n return new Promise((resolve, reject) => {\n queueMicrotask(async () => {\n try {\n resolve(await fn());\n }\n catch (e) {\n reject(e);\n }\n });\n });\n}\nexports.goMicrotask = goMicrotask;\n//# sourceMappingURL=go-microtask.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.random = void 0;\nfunction random(min, max) {\n return Math.random() * (max - min) + min;\n}\nexports.random = random;\n//# sourceMappingURL=random.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.randomInt = void 0;\nfunction randomInt(min, max) {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min)) + min;\n}\nexports.randomInt = randomInt;\n//# sourceMappingURL=random-int.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.randomIntInclusive = void 0;\nfunction randomIntInclusive(min, max) {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min + 1)) + min;\n}\nexports.randomIntInclusive = randomIntInclusive;\n//# sourceMappingURL=random-int-inclusive.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./random\"), exports);\n__exportStar(require(\"./random-int\"), exports);\n__exportStar(require(\"./random-int-inclusive\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.calculateExponentialBackoffTimeout = void 0;\nconst extra_rand_1 = require(\"extra-rand\");\nfunction calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {\n const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);\n if (jitter) {\n return (0, extra_rand_1.randomIntInclusive)(0, timeout);\n }\n else {\n return timeout;\n }\n}\nexports.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;\n//# sourceMappingURL=exponential-backoff.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setTimeout = void 0;\nfunction setTimeout(timeout, cb) {\n const timer = globalThis.setTimeout(cb, timeout);\n return () => clearTimeout(timer);\n}\nexports.setTimeout = setTimeout;\n//# sourceMappingURL=set-timeout.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setSchedule = void 0;\nconst set_timeout_1 = require(\"./set-timeout\");\nfunction setSchedule(timestamp, cb) {\n const timeout = timestamp - Date.now();\n return (0, set_timeout_1.setTimeout)(timeout, cb);\n}\nexports.setSchedule = setSchedule;\n//# sourceMappingURL=set-schedule.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setInterval = void 0;\nfunction setInterval(timeout, cb) {\n const timer = globalThis.setInterval(cb, timeout);\n return () => clearInterval(timer);\n}\nexports.setInterval = setInterval;\n//# sourceMappingURL=set-interval.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setImmediate = void 0;\nconst set_timeout_1 = require(\"./set-timeout\");\nfunction setImmediate(cb) {\n if (globalThis.setImmediate) {\n const timer = globalThis.setImmediate(cb);\n return () => clearImmediate(timer);\n }\n else {\n return (0, set_timeout_1.setTimeout)(0, cb);\n }\n}\nexports.setImmediate = setImmediate;\n//# sourceMappingURL=set-immediate.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setTimeoutLoop = void 0;\nconst set_timeout_1 = require(\"./set-timeout\");\nfunction setTimeoutLoop(timeout, cb) {\n let isCancelled = false;\n let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);\n return () => {\n isCancelled = true;\n cancel();\n };\n async function loop() {\n await cb();\n if (!isCancelled) {\n cancel = (0, set_timeout_1.setTimeout)(timeout, loop);\n }\n }\n}\nexports.setTimeoutLoop = setTimeoutLoop;\n//# sourceMappingURL=set-timeout-loop.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setDynamicTimeoutLoop = void 0;\nconst set_timeout_1 = require(\"./set-timeout\");\nfunction setDynamicTimeoutLoop(timeout, cb) {\n let isCancelled = false;\n let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);\n return () => {\n isCancelled = true;\n cancel();\n };\n async function loop() {\n const start = Date.now();\n await cb();\n const elapsed = Date.now() - start;\n if (!isCancelled) {\n cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);\n }\n }\n}\nexports.setDynamicTimeoutLoop = setDynamicTimeoutLoop;\n//# sourceMappingURL=set-dynamic-timeout-loop.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./exponential-backoff\"), exports);\n__exportStar(require(\"./set-timeout\"), exports);\n__exportStar(require(\"./set-schedule\"), exports);\n__exportStar(require(\"./set-interval\"), exports);\n__exportStar(require(\"./set-immediate\"), exports);\n__exportStar(require(\"./set-timeout-loop\"), exports);\n__exportStar(require(\"./set-dynamic-timeout-loop\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.goMacrotask = void 0;\nconst extra_timers_1 = require(\"extra-timers\");\nfunction goMacrotask(fn) {\n return new Promise((resolve, reject) => {\n (0, extra_timers_1.setImmediate)(async () => {\n try {\n resolve(await fn());\n }\n catch (e) {\n reject(e);\n }\n });\n });\n}\nexports.goMacrotask = goMacrotask;\n//# sourceMappingURL=go-macrotask.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./go\"), exports);\n__exportStar(require(\"./go-microtask\"), exports);\n__exportStar(require(\"./go-macrotask\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntEmptyArray = exports.isEmptyArray = exports.isntArray = exports.isArray = void 0;\nfunction isArray(val) {\n return Array.isArray(val);\n}\nexports.isArray = isArray;\nfunction isntArray(val) {\n return !isArray(val);\n}\nexports.isntArray = isntArray;\nfunction isEmptyArray(val) {\n return val.length === 0;\n}\nexports.isEmptyArray = isEmptyArray;\nfunction isntEmptyArray(val) {\n return val.length !== 0;\n}\nexports.isntEmptyArray = isntEmptyArray;\n//# sourceMappingURL=array.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntNull = exports.isNull = void 0;\nfunction isNull(val) {\n return val === null;\n}\nexports.isNull = isNull;\nfunction isntNull(val) {\n return !isNull(val);\n}\nexports.isntNull = isntNull;\n//# sourceMappingURL=null.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntUndefined = exports.isUndefined = void 0;\nfunction isUndefined(val) {\n return val === undefined;\n}\nexports.isUndefined = isUndefined;\nfunction isntUndefined(val) {\n return !isUndefined(val);\n}\nexports.isntUndefined = isntUndefined;\n//# sourceMappingURL=undefined.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntFunction = exports.isFunction = void 0;\nfunction isFunction(val) {\n return typeof val === 'function';\n}\nexports.isFunction = isFunction;\nfunction isntFunction(val) {\n return !isFunction(val);\n}\nexports.isntFunction = isntFunction;\n//# sourceMappingURL=function.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntAsyncIterable = exports.isAsyncIterable = void 0;\nconst null_1 = require(\"./null\");\nconst undefined_1 = require(\"./undefined\");\nconst function_1 = require(\"./function\");\nfunction isAsyncIterable(val) {\n return (0, null_1.isntNull)(val)\n && (0, undefined_1.isntUndefined)(val)\n && (0, function_1.isFunction)(val[Symbol.asyncIterator]);\n}\nexports.isAsyncIterable = isAsyncIterable;\nfunction isntAsyncIterable(val) {\n return !isAsyncIterable(val);\n}\nexports.isntAsyncIterable = isntAsyncIterable;\n//# sourceMappingURL=async-iterable.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntBigInt = exports.isBigInt = void 0;\nfunction isBigInt(val) {\n return typeof val === 'bigint';\n}\nexports.isBigInt = isBigInt;\nfunction isntBigInt(val) {\n return !isBigInt(val);\n}\nexports.isntBigInt = isntBigInt;\n//# sourceMappingURL=bigint.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntBoolean = exports.isBoolean = void 0;\nfunction isBoolean(val) {\n return typeof val === 'boolean';\n}\nexports.isBoolean = isBoolean;\nfunction isntBoolean(val) {\n return !isBoolean(val);\n}\nexports.isntBoolean = isntBoolean;\n//# sourceMappingURL=boolean.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntString = exports.isString = void 0;\nfunction isString(val) {\n return typeof val === 'string';\n}\nexports.isString = isString;\nfunction isntString(val) {\n return !isString(val);\n}\nexports.isntString = isntString;\n//# sourceMappingURL=string.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntChar = exports.isChar = void 0;\nconst string_1 = require(\"./string\");\nfunction isChar(val) {\n return (0, string_1.isString)(val)\n && val.length === 1;\n}\nexports.isChar = isChar;\nfunction isntChar(val) {\n return !isChar(val);\n}\nexports.isntChar = isntChar;\n//# sourceMappingURL=char.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntDate = exports.isDate = void 0;\nfunction isDate(val) {\n return val instanceof Date;\n}\nexports.isDate = isDate;\nfunction isntDate(val) {\n return !isDate(val);\n}\nexports.isntDate = isntDate;\n//# sourceMappingURL=date.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.inEnum = void 0;\nfunction inEnum(val, _enum) {\n return Object.values(_enum).includes(val);\n}\nexports.inEnum = inEnum;\n//# sourceMappingURL=enum.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntError = exports.isError = void 0;\nfunction isError(val) {\n return val instanceof Error;\n}\nexports.isError = isError;\nfunction isntError(val) {\n return !isError(val);\n}\nexports.isntError = isntError;\n//# sourceMappingURL=error.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntFalsy = exports.isFalsy = void 0;\nfunction isFalsy(val) {\n return !val;\n}\nexports.isFalsy = isFalsy;\nfunction isntFalsy(val) {\n return !isFalsy(val);\n}\nexports.isntFalsy = isntFalsy;\n//# sourceMappingURL=falsy.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntIterable = exports.isIterable = void 0;\nconst null_1 = require(\"./null\");\nconst undefined_1 = require(\"./undefined\");\nconst function_1 = require(\"./function\");\nfunction isIterable(val) {\n return (0, null_1.isntNull)(val)\n && (0, undefined_1.isntUndefined)(val)\n && (0, function_1.isFunction)(val[Symbol.iterator]);\n}\nexports.isIterable = isIterable;\nfunction isntIterable(val) {\n return !isIterable(val);\n}\nexports.isntIterable = isntIterable;\n//# sourceMappingURL=iterable.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntNaN = exports.isNaN = exports.isNegativeInfinity = exports.isPositiveInfinity = exports.isFinite = exports.isntNumber = exports.isNumber = void 0;\nfunction isNumber(val) {\n return typeof val === 'number';\n}\nexports.isNumber = isNumber;\nfunction isntNumber(val) {\n return !isNumber(val);\n}\nexports.isntNumber = isntNumber;\nfunction isFinite(val) {\n return Number.isFinite(val);\n}\nexports.isFinite = isFinite;\nfunction isPositiveInfinity(val) {\n return val === Infinity;\n}\nexports.isPositiveInfinity = isPositiveInfinity;\nfunction isNegativeInfinity(val) {\n return val === -Infinity;\n}\nexports.isNegativeInfinity = isNegativeInfinity;\nfunction isNaN(val) {\n return Number.isNaN(val);\n}\nexports.isNaN = isNaN;\nfunction isntNaN(val) {\n return !isNaN(val);\n}\nexports.isntNaN = isntNaN;\n//# sourceMappingURL=number.js.map","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntEmptyObject = exports.isEmptyObject = exports.isntPlainObject = exports.isPlainObject = exports.isntObject = exports.isObject = void 0;\nconst isPlainObject_1 = __importDefault(require(\"lodash/isPlainObject\"));\nfunction isObject(val) {\n return val !== null\n && typeof val === 'object';\n}\nexports.isObject = isObject;\nfunction isntObject(val) {\n return !isObject(val);\n}\nexports.isntObject = isntObject;\nfunction isPlainObject(val) {\n return (0, isPlainObject_1.default)(val);\n}\nexports.isPlainObject = isPlainObject;\nfunction isntPlainObject(val) {\n return !isPlainObject(val);\n}\nexports.isntPlainObject = isntPlainObject;\nfunction isEmptyObject(val) {\n return Object.keys(val).length === 0;\n}\nexports.isEmptyObject = isEmptyObject;\nfunction isntEmptyObject(val) {\n return Object.keys(val).length !== 0;\n}\nexports.isntEmptyObject = isntEmptyObject;\n//# sourceMappingURL=object.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntJsonable = exports.isJsonable = exports.isntJson = exports.isJson = void 0;\nconst null_1 = require(\"./null\");\nconst boolean_1 = require(\"./boolean\");\nconst string_1 = require(\"./string\");\nconst number_1 = require(\"./number\");\nconst array_1 = require(\"./array\");\nconst object_1 = require(\"./object\");\nfunction isJson(val) {\n return (0, null_1.isNull)(val)\n || (0, boolean_1.isBoolean)(val)\n || (0, string_1.isString)(val)\n || (0, number_1.isNumber)(val)\n || ((0, array_1.isArray)(val) && val.every(isJson))\n || ((0, object_1.isPlainObject)(val) && Object.values(val).every(isJson));\n}\nexports.isJson = isJson;\nfunction isntJson(val) {\n return !isJson(val);\n}\nexports.isntJson = isntJson;\nfunction isJsonable(val) {\n try {\n JSON.stringify(val);\n return true;\n }\n catch (_a) {\n return false;\n }\n}\nexports.isJsonable = isJsonable;\nfunction isntJsonable(val) {\n return !isntJsonable(val);\n}\nexports.isntJsonable = isntJsonable;\n//# sourceMappingURL=json.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isPromiseLike = exports.isntPromiseLike = exports.isntPromise = exports.isPromise = void 0;\nconst object_1 = require(\"./object\");\nconst function_1 = require(\"./function\");\nfunction isPromise(val) {\n return val instanceof Promise;\n}\nexports.isPromise = isPromise;\nfunction isntPromise(val) {\n return !isPromise(val);\n}\nexports.isntPromise = isntPromise;\nfunction isntPromiseLike(val) {\n return !isPromiseLike(val);\n}\nexports.isntPromiseLike = isntPromiseLike;\nfunction isPromiseLike(val) {\n return (0, object_1.isObject)(val)\n && (0, function_1.isFunction)(val.then);\n}\nexports.isPromiseLike = isPromiseLike;\n//# sourceMappingURL=promise.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isAbsoluteURL = void 0;\nfunction isAbsoluteURL(str) {\n try {\n new URL(str);\n return true;\n }\n catch (_a) {\n return false;\n }\n}\nexports.isAbsoluteURL = isAbsoluteURL;\n//# sourceMappingURL=url.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntRegExp = exports.isRegExp = void 0;\nfunction isRegExp(val) {\n return val instanceof RegExp;\n}\nexports.isRegExp = isRegExp;\nfunction isntRegExp(val) {\n return !isRegExp(val);\n}\nexports.isntRegExp = isntRegExp;\n//# sourceMappingURL=regexp.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntSymbol = exports.isSymbol = void 0;\nfunction isSymbol(val) {\n return typeof val === 'symbol';\n}\nexports.isSymbol = isSymbol;\nfunction isntSymbol(val) {\n return !isSymbol(val);\n}\nexports.isntSymbol = isntSymbol;\n//# sourceMappingURL=symbol.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./array\"), exports);\n__exportStar(require(\"./async-iterable\"), exports);\n__exportStar(require(\"./bigint\"), exports);\n__exportStar(require(\"./boolean\"), exports);\n__exportStar(require(\"./char\"), exports);\n__exportStar(require(\"./date\"), exports);\n__exportStar(require(\"./enum\"), exports);\n__exportStar(require(\"./error\"), exports);\n__exportStar(require(\"./falsy\"), exports);\n__exportStar(require(\"./function\"), exports);\n__exportStar(require(\"./iterable\"), exports);\n__exportStar(require(\"./json\"), exports);\n__exportStar(require(\"./null\"), exports);\n__exportStar(require(\"./number\"), exports);\n__exportStar(require(\"./object\"), exports);\n__exportStar(require(\"./promise\"), exports);\n__exportStar(require(\"./string\"), exports);\n__exportStar(require(\"./undefined\"), exports);\n__exportStar(require(\"./url\"), exports);\n__exportStar(require(\"./regexp\"), exports);\n__exportStar(require(\"./symbol\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.chunkByAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction chunkByAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return chunkByAsyncIterable(iterable, predicate);\n }\n else {\n return chunkByIterable(iterable, predicate);\n }\n}\nexports.chunkByAsync = chunkByAsync;\nasync function* chunkByAsyncIterable(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for await (const element of iterable) {\n buffer.push(element);\n if (await predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n index++;\n }\n if (buffer.length)\n yield buffer;\n}\nasync function* chunkByIterable(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for (const element of iterable) {\n buffer.push(element);\n if (await predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n index++;\n }\n if (buffer.length)\n yield buffer;\n}\n//# sourceMappingURL=chunk-by-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.chunkBy = void 0;\nfunction* chunkBy(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for (const element of iterable) {\n buffer.push(element);\n if (predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n index++;\n }\n if (buffer.length)\n yield buffer;\n}\nexports.chunkBy = chunkBy;\n//# sourceMappingURL=chunk-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.concatAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nconst go_1 = require(\"@blackglory/go\");\nfunction concatAsync(iterable, ...otherIterables) {\n return (0, go_1.go)(async function* () {\n for (const iter of [iterable, ...otherIterables]) {\n if ((0, types_1.isAsyncIterable)(iter)) {\n for await (const element of iter) {\n yield element;\n }\n }\n else {\n for (const element of iter) {\n yield element;\n }\n }\n }\n });\n}\nexports.concatAsync = concatAsync;\n//# sourceMappingURL=concat-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.concat = void 0;\nconst go_1 = require(\"@blackglory/go\");\nfunction concat(iterable, ...otherIterables) {\n return (0, go_1.go)(function* () {\n for (const iter of [iterable, ...otherIterables]) {\n yield* iter;\n }\n });\n}\nexports.concat = concat;\n//# sourceMappingURL=concat.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.copyIterable = exports.copyAsyncIterable = void 0;\nasync function* copyAsyncIterable(iterable) {\n for await (const element of iterable) {\n yield element;\n }\n}\nexports.copyAsyncIterable = copyAsyncIterable;\nfunction* copyIterable(iterable) {\n for (const element of iterable) {\n yield element;\n }\n}\nexports.copyIterable = copyIterable;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropUntilAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction dropUntilAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return dropUntilAsyncIterable(iterable, predicate);\n }\n else {\n return dropUntilIterable(iterable, predicate);\n }\n}\nexports.dropUntilAsync = dropUntilAsync;\nasync function* dropUntilAsyncIterable(iterable, predicate) {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n let index = 0;\n let value;\n while ({ value, done } = await iterator.next(), !done) {\n if (await predicate(value, index++))\n break;\n }\n while (!done) {\n yield value;\n ({ value, done } = await iterator.next());\n }\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n}\nasync function* dropUntilIterable(iterable, predicate) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let index = 0;\n let value;\n while ({ value, done } = iterator.next(), !done) {\n if (await predicate(value, index++))\n break;\n }\n while (!done) {\n yield value;\n ({ value, done } = iterator.next());\n }\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n}\n//# sourceMappingURL=drop-until-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropUntil = void 0;\nfunction* dropUntil(iterable, predicate) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let index = 0;\n let value;\n while ({ value, done } = iterator.next(), !done) {\n if (predicate(value, index++))\n break;\n }\n while (!done) {\n yield value;\n ({ value, done } = iterator.next());\n }\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n}\nexports.dropUntil = dropUntil;\n//# sourceMappingURL=drop-until.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.filterAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction filterAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return filterAsyncIterable(iterable, predicate);\n }\n else {\n return filterIterable(iterable, predicate);\n }\n}\nexports.filterAsync = filterAsync;\nasync function* filterAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index))\n yield element;\n index++;\n }\n}\nasync function* filterIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index))\n yield element;\n index++;\n }\n}\n//# sourceMappingURL=filter-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.filter = void 0;\nfunction* filter(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index))\n yield element;\n index++;\n }\n}\nexports.filter = filter;\n//# sourceMappingURL=filter.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenByAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction flattenByAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return flattenByAsyncIterable(iterable, predicate);\n }\n else {\n return flattenByIterable(iterable, predicate);\n }\n}\nexports.flattenByAsync = flattenByAsync;\nasync function* flattenByAsyncIterable(iterable, predicate) {\n const level = 1;\n for await (const element of iterable) {\n if (isFiniteIterable(element) && await predicate(element, level)) {\n yield* flatten(element, predicate, level + 1);\n }\n else {\n yield element;\n }\n }\n}\nfunction flattenByIterable(iterable, predicate) {\n return flatten(iterable, predicate, 1);\n}\nasync function* flatten(iterable, predicate, level) {\n for (const element of iterable) {\n if (isFiniteIterable(element) && await predicate(element, level)) {\n yield* flatten(element, predicate, level + 1);\n }\n else {\n yield element;\n }\n }\n}\nfunction isFiniteIterable(val) {\n return (0, types_1.isIterable)(val) && (0, types_1.isntChar)(val);\n}\n//# sourceMappingURL=flatten-by-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenDeepAsync = void 0;\nconst flatten_by_async_1 = require(\"./flatten-by-async\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction flattenDeepAsync(iterable, depth = Infinity) {\n (0, errors_1.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');\n (0, errors_1.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');\n return (0, flatten_by_async_1.flattenByAsync)(iterable, (_, level) => level <= depth);\n}\nexports.flattenDeepAsync = flattenDeepAsync;\n//# sourceMappingURL=flatten-deep-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenBy = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction flattenBy(iterable, predicate) {\n return flatten(iterable, predicate, 1);\n}\nexports.flattenBy = flattenBy;\nfunction* flatten(iterable, predicate, level) {\n for (const element of iterable) {\n if (isFiniteIterable(element) && predicate(element, level)) {\n yield* flatten(element, predicate, level + 1);\n }\n else {\n yield element;\n }\n }\n}\nfunction isFiniteIterable(val) {\n return (0, types_1.isIterable)(val) && (0, types_1.isntChar)(val);\n}\n//# sourceMappingURL=flatten-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenDeep = void 0;\nconst flatten_by_1 = require(\"./flatten-by\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction flattenDeep(iterable, depth = Infinity) {\n (0, errors_1.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');\n (0, errors_1.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');\n return (0, flatten_by_1.flattenBy)(iterable, (_, level) => level <= depth);\n}\nexports.flattenDeep = flattenDeep;\n//# sourceMappingURL=flatten-deep.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.mapAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction mapAsync(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return mapAsyncIterable(iterable, fn);\n }\n else {\n return mapIterable(iterable, fn);\n }\n}\nexports.mapAsync = mapAsync;\nasync function* mapAsyncIterable(iterable, fn) {\n let index = 0;\n for await (const element of iterable) {\n yield await fn(element, index);\n index++;\n }\n}\nasync function* mapIterable(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n yield await fn(element, index);\n index++;\n }\n}\n//# sourceMappingURL=map-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.map = void 0;\nfunction* map(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n yield fn(element, index);\n index++;\n }\n}\nexports.map = map;\n//# sourceMappingURL=map.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.repeatAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction repeatAsync(iterable, times) {\n (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');\n (0, errors_1.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');\n if (times === Infinity)\n warnInfiniteLoop();\n return (0, go_1.go)(async function* () {\n const cache = [];\n if (times > 0) {\n for await (const element of iterable) {\n yield element;\n cache.push(element);\n }\n times--;\n }\n while (times > 0) {\n yield* cache;\n times--;\n }\n });\n}\nexports.repeatAsync = repeatAsync;\nfunction warnInfiniteLoop() {\n if (isProduction())\n return;\n console.warn('When iterable has no elements and times is Infinity, repeat() will be in dead loop');\n}\nfunction isProduction() {\n return process.env.NODE_ENV === 'production';\n}\n//# sourceMappingURL=repeat-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.repeat = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction repeat(iterable, times) {\n (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');\n (0, errors_1.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');\n if (times === Infinity)\n warnInfiniteLoop();\n return (0, go_1.go)(function* () {\n const cache = [];\n if (times > 0) {\n for (const element of iterable) {\n yield element;\n cache.push(element);\n }\n times--;\n }\n while (times > 0) {\n yield* cache;\n times--;\n }\n });\n}\nexports.repeat = repeat;\nfunction warnInfiniteLoop() {\n if (isProduction())\n return;\n console.warn('When iterable has no elements and times is Infinity, repeat() will be in dead loop');\n}\nfunction isProduction() {\n return process.env.NODE_ENV === 'production';\n}\n//# sourceMappingURL=repeat.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitAsync = void 0;\nasync function* splitAsync(iterable, separator) {\n let buffer = [];\n for await (const element of iterable) {\n if (element === separator) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n }\n yield buffer;\n}\nexports.splitAsync = splitAsync;\n//# sourceMappingURL=split-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitByAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction splitByAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return splitByAsyncIterable(iterable, predicate);\n }\n else {\n return splitByIterable(iterable, predicate);\n }\n}\nexports.splitByAsync = splitByAsync;\nasync function* splitByIterable(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n index++;\n }\n yield buffer;\n}\nasync function* splitByAsyncIterable(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n index++;\n }\n yield buffer;\n}\n//# sourceMappingURL=split-by-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitBy = void 0;\nfunction* splitBy(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n index++;\n }\n yield buffer;\n}\nexports.splitBy = splitBy;\n//# sourceMappingURL=split-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.split = void 0;\nfunction* split(iterable, separator) {\n let buffer = [];\n for (const element of iterable) {\n if (element === separator) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n }\n yield buffer;\n}\nexports.split = split;\n//# sourceMappingURL=split.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeUntilAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction takeUntilAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return takeUntilAsyncIterable(iterable, predicate);\n }\n else {\n return takeUntilIterable(iterable, predicate);\n }\n}\nexports.takeUntilAsync = takeUntilAsync;\nasync function* takeUntilAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index))\n break;\n yield element;\n index++;\n }\n}\nasync function* takeUntilIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index))\n break;\n yield element;\n index++;\n }\n}\n//# sourceMappingURL=take-until-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeUntil = void 0;\nfunction* takeUntil(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index))\n break;\n yield element;\n index++;\n }\n}\nexports.takeUntil = takeUntil;\n//# sourceMappingURL=take-until.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.tapAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction tapAsync(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return tapAsyncIterable(iterable, fn);\n }\n else {\n return tapIterable(iterable, fn);\n }\n}\nexports.tapAsync = tapAsync;\nasync function* tapIterable(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n await fn(element, index);\n yield element;\n index++;\n }\n}\nasync function* tapAsyncIterable(iterable, fn) {\n let index = 0;\n for await (const element of iterable) {\n await fn(element, index);\n yield element;\n index++;\n }\n}\n//# sourceMappingURL=tap-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.tap = void 0;\nfunction* tap(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n fn(element, index);\n yield element;\n index++;\n }\n}\nexports.tap = tap;\n//# sourceMappingURL=tap.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toAsyncIterable = void 0;\nasync function* toAsyncIterable(iterable) {\n for (const value of iterable) {\n yield value;\n }\n}\nexports.toAsyncIterable = toAsyncIterable;\n//# sourceMappingURL=to-async-iterable.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.transformAsync = void 0;\nasync function* transformAsync(iterable, transformer) {\n yield* transformer(iterable);\n}\nexports.transformAsync = transformAsync;\n//# sourceMappingURL=transform-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.transform = void 0;\nfunction* transform(iterable, transformer) {\n yield* transformer(iterable);\n}\nexports.transform = transform;\n//# sourceMappingURL=transform.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uniqAsync = void 0;\nasync function* uniqAsync(iterable) {\n const bucket = new Set();\n for await (const element of iterable) {\n if (!bucket.has(element)) {\n yield element;\n bucket.add(element);\n }\n }\n}\nexports.uniqAsync = uniqAsync;\n//# sourceMappingURL=uniq-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uniqByAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction uniqByAsync(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return uniqByAsyncIterable(iterable, fn);\n }\n else {\n return uniqByIterable(iterable, fn);\n }\n}\nexports.uniqByAsync = uniqByAsync;\nasync function* uniqByAsyncIterable(iterable, fn) {\n const bucket = new Set();\n let index = 0;\n for await (const element of iterable) {\n const result = await fn(element, index);\n if (!bucket.has(result)) {\n yield element;\n bucket.add(result);\n }\n index++;\n }\n}\nasync function* uniqByIterable(iterable, fn) {\n const bucket = new Set();\n let index = 0;\n for (const element of iterable) {\n const result = await fn(element, index);\n if (!bucket.has(result)) {\n yield element;\n bucket.add(result);\n }\n index++;\n }\n}\n//# sourceMappingURL=uniq-by-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uniqBy = void 0;\nfunction* uniqBy(iterable, fn) {\n const bucket = new Set();\n let index = 0;\n for (const element of iterable) {\n const result = fn(element, index);\n if (!bucket.has(result)) {\n yield element;\n bucket.add(result);\n }\n index++;\n }\n}\nexports.uniqBy = uniqBy;\n//# sourceMappingURL=uniq-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uniq = void 0;\nfunction* uniq(iterable) {\n const bucket = new Set();\n for (const element of iterable) {\n if (!bucket.has(element)) {\n yield element;\n bucket.add(element);\n }\n }\n}\nexports.uniq = uniq;\n//# sourceMappingURL=uniq.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.zipAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nvar Kind;\n(function (Kind) {\n Kind[Kind[\"Sync\"] = 0] = \"Sync\";\n Kind[Kind[\"Async\"] = 1] = \"Async\";\n})(Kind || (Kind = {}));\nfunction zipAsync(iterable, ...otherIterables) {\n return zipWithSize(iterable, ...otherIterables);\n}\nexports.zipAsync = zipAsync;\nasync function* zipWithSize(...iterables) {\n var _a, _b, _c, _d;\n const length = iterables.length;\n const iterators = iterables.map(iterable => {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return [Kind.Async, iterable[Symbol.asyncIterator]()];\n }\n else {\n return [Kind.Sync, iterable[Symbol.iterator]()];\n }\n });\n const dones = iterators.map(() => false);\n try {\n while (true) {\n const result = new Array(length);\n for (let i = 0; i < length; i++) {\n const [kind, iterator] = iterators[i];\n let temp;\n if (kind === Kind.Async) {\n temp = await iterator.next();\n }\n else {\n temp = iterator.next();\n }\n if (temp.done) {\n dones[i] = true;\n return;\n }\n result[i] = temp.value;\n }\n yield result;\n }\n }\n finally {\n const undoneIterators = iterators.filter((_, i) => !dones[i]);\n for (const [kind, iterator] of undoneIterators) {\n if (kind === Kind.Async) {\n await ((_b = (_a = iterator).return) === null || _b === void 0 ? void 0 : _b.call(_a));\n }\n else {\n (_d = (_c = iterator).return) === null || _d === void 0 ? void 0 : _d.call(_c);\n }\n }\n }\n}\n//# sourceMappingURL=zip-async.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./chunk-async\"), exports);\n__exportStar(require(\"./chunk-by-async\"), exports);\n__exportStar(require(\"./chunk-by\"), exports);\n__exportStar(require(\"./chunk\"), exports);\n__exportStar(require(\"./concat-async\"), exports);\n__exportStar(require(\"./concat\"), exports);\n__exportStar(require(\"./drop-async\"), exports);\n__exportStar(require(\"./drop-right-async\"), exports);\n__exportStar(require(\"./drop-right\"), exports);\n__exportStar(require(\"./drop-until-async\"), exports);\n__exportStar(require(\"./drop-until\"), exports);\n__exportStar(require(\"./drop\"), exports);\n__exportStar(require(\"./filter-async\"), exports);\n__exportStar(require(\"./filter\"), exports);\n__exportStar(require(\"./flatten-async\"), exports);\n__exportStar(require(\"./flatten-by-async\"), exports);\n__exportStar(require(\"./flatten-by\"), exports);\n__exportStar(require(\"./flatten-deep-async\"), exports);\n__exportStar(require(\"./flatten-deep\"), exports);\n__exportStar(require(\"./flatten\"), exports);\n__exportStar(require(\"./map-async\"), exports);\n__exportStar(require(\"./map\"), exports);\n__exportStar(require(\"./repeat-async\"), exports);\n__exportStar(require(\"./repeat\"), exports);\n__exportStar(require(\"./slice-async\"), exports);\n__exportStar(require(\"./slice\"), exports);\n__exportStar(require(\"./split-async\"), exports);\n__exportStar(require(\"./split-by-async\"), exports);\n__exportStar(require(\"./split-by\"), exports);\n__exportStar(require(\"./split\"), exports);\n__exportStar(require(\"./take-async\"), exports);\n__exportStar(require(\"./take-right-async\"), exports);\n__exportStar(require(\"./take-right\"), exports);\n__exportStar(require(\"./take-until-async\"), exports);\n__exportStar(require(\"./take-until\"), exports);\n__exportStar(require(\"./take\"), exports);\n__exportStar(require(\"./tap-async\"), exports);\n__exportStar(require(\"./tap\"), exports);\n__exportStar(require(\"./to-async-iterable\"), exports);\n__exportStar(require(\"./transform-async\"), exports);\n__exportStar(require(\"./transform\"), exports);\n__exportStar(require(\"./uniq-async\"), exports);\n__exportStar(require(\"./uniq-by-async\"), exports);\n__exportStar(require(\"./uniq-by\"), exports);\n__exportStar(require(\"./uniq\"), exports);\n__exportStar(require(\"./zip-async\"), exports);\n__exportStar(require(\"./zip\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.chunkAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction chunkAsync(iterable, size) {\n (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');\n (0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');\n return (0, go_1.go)(async function* () {\n let buffer = [];\n for await (const element of iterable) {\n buffer.push(element);\n if (buffer.length >= size) {\n yield buffer;\n buffer = [];\n }\n }\n if (buffer.length)\n yield buffer;\n });\n}\nexports.chunkAsync = chunkAsync;\n//# sourceMappingURL=chunk-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.chunk = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction chunk(iterable, size) {\n (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');\n (0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');\n return (0, go_1.go)(function* () {\n let buffer = [];\n for (const element of iterable) {\n buffer.push(element);\n if (buffer.length >= size) {\n yield buffer;\n buffer = [];\n }\n }\n if (buffer.length)\n yield buffer;\n });\n}\nexports.chunk = chunk;\n//# sourceMappingURL=chunk.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst utils_1 = require(\"../utils\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction dropAsync(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n if (count === 0)\n return (0, utils_1.copyAsyncIterable)(iterable);\n return (0, go_1.go)(async function* () {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n let value;\n while ({ value, done } = await iterator.next(), !done) {\n if (count <= 0)\n break;\n count--;\n }\n while (!done) {\n yield value;\n ({ value, done } = await iterator.next());\n }\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n });\n}\nexports.dropAsync = dropAsync;\n//# sourceMappingURL=drop-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropRightAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst utils_1 = require(\"../utils\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction dropRightAsync(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n if (count === 0)\n return (0, utils_1.copyAsyncIterable)(iterable);\n return (0, go_1.go)(async function* () {\n const arr = await toArrayAsync(iterable);\n const result = arr.slice(0, -count);\n for (const value of result) {\n yield value;\n }\n });\n}\nexports.dropRightAsync = dropRightAsync;\nasync function toArrayAsync(iterable) {\n const result = [];\n for await (const element of iterable) {\n result.push(element);\n }\n return result;\n}\n//# sourceMappingURL=drop-right-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropRight = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst utils_1 = require(\"../utils\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction dropRight(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n if (count === 0)\n return (0, utils_1.copyIterable)(iterable);\n return (0, go_1.go)(function* () {\n const arr = Array.from(iterable);\n yield* arr.slice(0, -count);\n });\n}\nexports.dropRight = dropRight;\n//# sourceMappingURL=drop-right.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.drop = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst utils_1 = require(\"../utils\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction drop(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n if (count === 0)\n return (0, utils_1.copyIterable)(iterable);\n return (0, go_1.go)(function* () {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let value;\n while ({ value, done } = iterator.next(), !done) {\n if (count <= 0)\n break;\n count--;\n }\n while (!done) {\n yield value;\n ({ value, done } = iterator.next());\n }\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n });\n}\nexports.drop = drop;\n//# sourceMappingURL=drop.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenAsync = void 0;\nconst flatten_deep_async_1 = require(\"./flatten-deep-async\");\nfunction flattenAsync(iterable) {\n return (0, flatten_deep_async_1.flattenDeepAsync)(iterable, 1);\n}\nexports.flattenAsync = flattenAsync;\n//# sourceMappingURL=flatten-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flatten = void 0;\nconst flatten_deep_1 = require(\"./flatten-deep\");\nfunction flatten(iterable) {\n return (0, flatten_deep_1.flattenDeep)(iterable, 1);\n}\nexports.flatten = flatten;\n//# sourceMappingURL=flatten.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sliceAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction sliceAsync(iterable, start, end = Infinity) {\n (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');\n (0, errors_1.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');\n (0, errors_1.assert)(Number.isInteger(end), 'The parameter end must be an integer');\n (0, errors_1.assert)(end >= start, 'The parameter end must be greater than or equal to start');\n return (0, go_1.go)(async function* () {\n let index = 0;\n for await (const element of iterable) {\n if (index >= end)\n break;\n if (index >= start)\n yield element;\n index++;\n }\n });\n}\nexports.sliceAsync = sliceAsync;\n//# sourceMappingURL=slice-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.slice = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction slice(iterable, start, end = Infinity) {\n (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');\n (0, errors_1.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');\n (0, errors_1.assert)(Number.isInteger(end), 'The parameter end must be an integer');\n (0, errors_1.assert)(end >= start, 'The parameter end must be greater than or equal to start');\n return (0, go_1.go)(function* () {\n let index = 0;\n for (const element of iterable) {\n if (index >= end)\n break;\n if (index >= start)\n yield element;\n index++;\n }\n });\n}\nexports.slice = slice;\n//# sourceMappingURL=slice.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction takeAsync(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n return (0, go_1.go)(async function* () {\n if (count === 0)\n return;\n for await (const element of iterable) {\n yield element;\n count--;\n if (count === 0)\n break;\n }\n });\n}\nexports.takeAsync = takeAsync;\n//# sourceMappingURL=take-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeRightAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction takeRightAsync(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n return (0, go_1.go)(async function* () {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n const buffer = [];\n let value;\n while ({ value, done } = await iterator.next(), !done) {\n buffer.push(value);\n if (buffer.length > count)\n buffer.shift();\n }\n yield* buffer;\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n });\n}\nexports.takeRightAsync = takeRightAsync;\n//# sourceMappingURL=take-right-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeRight = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction takeRight(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n return (0, go_1.go)(function* () {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n const buffer = [];\n let value;\n while ({ value, done } = iterator.next(), !done) {\n buffer.push(value);\n if (buffer.length > count)\n buffer.shift();\n }\n yield* buffer;\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n });\n}\nexports.takeRight = takeRight;\n//# sourceMappingURL=take-right.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.take = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction take(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n return (0, go_1.go)(function* () {\n if (count === 0)\n return;\n for (const element of iterable) {\n yield element;\n count--;\n if (count === 0)\n break;\n }\n });\n}\nexports.take = take;\n//# sourceMappingURL=take.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.zip = void 0;\nfunction zip(iterable, ...otherIterables) {\n return zipWithSize(iterable, ...otherIterables);\n}\nexports.zip = zip;\nfunction* zipWithSize(...iterables) {\n const length = iterables.length;\n const iterators = iterables.map(iterable => iterable[Symbol.iterator]());\n const dones = iterators.map(() => false);\n try {\n while (true) {\n const result = new Array(length);\n for (let i = 0; i < length; i++) {\n const { value, done } = iterators[i].next();\n if (done) {\n dones[i] = true;\n return;\n }\n result[i] = value;\n }\n yield result;\n }\n }\n finally {\n const undoneIterators = iterators.filter((_, i) => !dones[i]);\n undoneIterators.forEach(x => { var _a; return (_a = x.return) === null || _a === void 0 ? void 0 : _a.call(x); });\n }\n}\n//# sourceMappingURL=zip.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.consume = void 0;\nfunction consume(iterable, consumer) {\n return consumer(iterable);\n}\nexports.consume = consume;\n//# sourceMappingURL=consume.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.eachAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction eachAsync(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return eachAsyncIterable(iterable, fn);\n }\n else {\n return eachIterable(iterable, fn);\n }\n}\nexports.eachAsync = eachAsync;\nasync function eachAsyncIterable(iterable, fn) {\n let index = 0;\n for await (const element of iterable) {\n await fn(element, index);\n index++;\n }\n}\nasync function eachIterable(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n await fn(element, index);\n index++;\n }\n}\n//# sourceMappingURL=each-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.each = void 0;\nfunction each(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n fn(element, index);\n index++;\n }\n}\nexports.each = each;\n//# sourceMappingURL=each.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.everyAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction everyAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return everyAsyncIterable(iterable, predicate);\n }\n else {\n return everyIterable(iterable, predicate);\n }\n}\nexports.everyAsync = everyAsync;\nasync function everyIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (!await predicate(element, index))\n return false;\n index++;\n }\n return true;\n}\nasync function everyAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (!await predicate(element, index))\n return false;\n index++;\n }\n return true;\n}\n//# sourceMappingURL=every-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.every = void 0;\nfunction every(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (!predicate(element, index))\n return false;\n index++;\n }\n return true;\n}\nexports.every = every;\n//# sourceMappingURL=every.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.findAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction findAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return findAsyncIterable(iterable, predicate);\n }\n else {\n return findIterable(iterable, predicate);\n }\n}\nexports.findAsync = findAsync;\nasync function findIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index))\n return element;\n index++;\n }\n return undefined;\n}\nasync function findAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index))\n return element;\n index++;\n }\n return undefined;\n}\n//# sourceMappingURL=find-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.find = void 0;\nfunction find(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index))\n return element;\n index++;\n }\n return undefined;\n}\nexports.find = find;\n//# sourceMappingURL=find.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.firstAsync = void 0;\nasync function firstAsync(iterable) {\n for await (const element of iterable) {\n return element;\n }\n return undefined;\n}\nexports.firstAsync = firstAsync;\n//# sourceMappingURL=first-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.first = void 0;\nfunction first(iterable) {\n for (const element of iterable) {\n return element;\n }\n return undefined;\n}\nexports.first = first;\n//# sourceMappingURL=first.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.includesAsync = void 0;\nasync function includesAsync(iterable, value) {\n for await (const element of iterable) {\n if (element === value)\n return true;\n }\n return false;\n}\nexports.includesAsync = includesAsync;\n//# sourceMappingURL=includes-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.includes = void 0;\nfunction includes(iterable, value) {\n for (const element of iterable) {\n if (element === value)\n return true;\n }\n return false;\n}\nexports.includes = includes;\n//# sourceMappingURL=includes.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.matchAsync = void 0;\nasync function matchAsync(iterable, sequence) {\n const sequenceLength = sequence.length;\n let matchCount = 0;\n for await (const element of iterable) {\n if (element === sequence[matchCount])\n matchCount++;\n if (matchCount === sequenceLength)\n return true;\n }\n return false;\n}\nexports.matchAsync = matchAsync;\n//# sourceMappingURL=match-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.match = void 0;\nfunction match(iterable, sequence) {\n const sequenceLength = sequence.length;\n let matchCount = 0;\n for (const element of iterable) {\n if (element === sequence[matchCount])\n matchCount++;\n if (matchCount === sequenceLength)\n return true;\n }\n return false;\n}\nexports.match = match;\n//# sourceMappingURL=match.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reduceAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction reduceAsync(iterable, fn, initialValue) {\n if ((0, types_1.isUndefined)(initialValue)) {\n return reduceAsyncWithoutInitialValue(iterable, fn);\n }\n else {\n return reduceAsyncWithInitialValue(iterable, fn, initialValue);\n }\n}\nexports.reduceAsync = reduceAsync;\nfunction reduceAsyncWithInitialValue(iterable, fn, initialValue) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return reduceAsyncIterable(iterable);\n }\n else {\n return reduceIterable(iterable);\n }\n async function reduceIterable(iterable) {\n let result = initialValue, index = 0;\n for (const currentValue of iterable) {\n result = await fn(result, currentValue, index++);\n }\n return result;\n }\n async function reduceAsyncIterable(iterable) {\n let result = initialValue, index = 0;\n for await (const currentValue of iterable) {\n result = await fn(result, currentValue, index++);\n }\n return result;\n }\n}\nfunction reduceAsyncWithoutInitialValue(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return reduceAsyncIterable(iterable);\n }\n else {\n return reduceIterable(iterable);\n }\n async function reduceAsyncIterable(iterable) {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n let result = await readInitialValue(iterator);\n let index = 1;\n let value;\n while ({ value, done } = await iterator.next(), !done) {\n result = await fn(result, value, index++);\n }\n return result;\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n async function readInitialValue(iterator) {\n const result = await iterator.next();\n if (result.done) {\n done = true;\n throw new Error('Reduce of empty iterable with no initial value');\n }\n return result.value;\n }\n }\n async function reduceIterable(iterable) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let result = readInitialValue(iterator);\n let index = 1;\n let value;\n while ({ value, done } = iterator.next(), !done) {\n result = await fn(result, value, index++);\n }\n return result;\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n function readInitialValue(iterator) {\n const result = iterator.next();\n if (result.done) {\n done = true;\n throw new Error('Reduce of empty iterable with no initial value');\n }\n return result.value;\n }\n }\n}\n//# sourceMappingURL=reduce-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reduce = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction reduce(iterable, fn, initialValue) {\n if ((0, types_1.isUndefined)(initialValue)) {\n return reduceWithoutInitialValue(iterable, fn);\n }\n else {\n return reduceWithInitialValue(iterable, fn, initialValue);\n }\n}\nexports.reduce = reduce;\nfunction reduceWithInitialValue(iterable, fn, initialValue) {\n let result = initialValue, index = 0;\n for (const currentValue of iterable) {\n result = fn(result, currentValue, index++);\n }\n return result;\n}\nfunction reduceWithoutInitialValue(iterable, fn) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let result = readInitialValue(iterator);\n let index = 1;\n let value;\n while ({ value, done } = iterator.next(), !done) {\n result = fn(result, value, index++);\n }\n return result;\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n function readInitialValue(iterator) {\n const result = iterator.next();\n if (result.done) {\n done = true;\n throw new Error('Reduce of empty iterable with no initial value');\n }\n return result.value;\n }\n}\n//# sourceMappingURL=reduce.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.someAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction someAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return someAsyncIterable(iterable, predicate);\n }\n else {\n return someIterable(iterable, predicate);\n }\n}\nexports.someAsync = someAsync;\nasync function someIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index))\n return true;\n index++;\n }\n return false;\n}\nasync function someAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index))\n return true;\n index++;\n }\n return false;\n}\n//# sourceMappingURL=some-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.some = void 0;\nfunction some(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index))\n return true;\n index++;\n }\n return false;\n}\nexports.some = some;\n//# sourceMappingURL=some.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.lastAsync = void 0;\nasync function lastAsync(iterable) {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n let value;\n let result;\n while ({ value, done } = await iterator.next(), !done) {\n result = value;\n }\n return result;\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n}\nexports.lastAsync = lastAsync;\n//# sourceMappingURL=last-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.last = void 0;\nfunction last(iterable) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let value;\n let result;\n while ({ value, done } = iterator.next(), !done) {\n result = value;\n }\n return result;\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n}\nexports.last = last;\n//# sourceMappingURL=last.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toArrayAsync = void 0;\nconst consume_1 = require(\"./consume\");\nfunction toArrayAsync(iterable) {\n return (0, consume_1.consume)(iterable, async (iterable) => {\n const result = [];\n for await (const element of iterable) {\n result.push(element);\n }\n return result;\n });\n}\nexports.toArrayAsync = toArrayAsync;\n//# sourceMappingURL=to-array-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toArray = void 0;\nconst consume_1 = require(\"./consume\");\nfunction toArray(iterable) {\n return (0, consume_1.consume)(iterable, iterable => Array.from(iterable));\n}\nexports.toArray = toArray;\n//# sourceMappingURL=to-array.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toSetAsync = void 0;\nconst consume_1 = require(\"./consume\");\nfunction toSetAsync(iterable) {\n return (0, consume_1.consume)(iterable, async (iterable) => {\n const result = new Set();\n for await (const element of iterable) {\n result.add(element);\n }\n return result;\n });\n}\nexports.toSetAsync = toSetAsync;\n//# sourceMappingURL=to-set-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toSet = void 0;\nconst consume_1 = require(\"./consume\");\nfunction toSet(iterable) {\n return (0, consume_1.consume)(iterable, iterable => new Set(iterable));\n}\nexports.toSet = toSet;\n//# sourceMappingURL=to-set.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.count = void 0;\nfunction count(iterable) {\n let count = 0;\n for (const _ of iterable) {\n count++;\n }\n return count;\n}\nexports.count = count;\n//# sourceMappingURL=count.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.countAsync = void 0;\nasync function countAsync(iterable) {\n let count = 0;\n for await (const _ of iterable) {\n count++;\n }\n return count;\n}\nexports.countAsync = countAsync;\n//# sourceMappingURL=count-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.groupBy = void 0;\nconst each_1 = require(\"./each\");\nfunction groupBy(iterable, fn) {\n const map = new Map();\n (0, each_1.each)(iterable, (element, index) => {\n const group = fn(element, index);\n if (!map.has(group)) {\n map.set(group, []);\n }\n map.get(group).push(element);\n });\n return map;\n}\nexports.groupBy = groupBy;\n//# sourceMappingURL=group-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.groupByAsync = void 0;\nconst each_async_1 = require(\"./each-async\");\nasync function groupByAsync(iterable, fn) {\n const map = new Map();\n await (0, each_async_1.eachAsync)(iterable, async (element, index) => {\n const group = await fn(element, index);\n if (!map.has(group)) {\n map.set(group, []);\n }\n map.get(group).push(element);\n });\n return map;\n}\nexports.groupByAsync = groupByAsync;\n//# sourceMappingURL=group-by-async.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./middleware\"), exports);\n__exportStar(require(\"./output\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./consume\"), exports);\n__exportStar(require(\"./each-async\"), exports);\n__exportStar(require(\"./each\"), exports);\n__exportStar(require(\"./every-async\"), exports);\n__exportStar(require(\"./every\"), exports);\n__exportStar(require(\"./find-async\"), exports);\n__exportStar(require(\"./find\"), exports);\n__exportStar(require(\"./first-async\"), exports);\n__exportStar(require(\"./first\"), exports);\n__exportStar(require(\"./includes-async\"), exports);\n__exportStar(require(\"./includes\"), exports);\n__exportStar(require(\"./match-async\"), exports);\n__exportStar(require(\"./match\"), exports);\n__exportStar(require(\"./reduce-async\"), exports);\n__exportStar(require(\"./reduce\"), exports);\n__exportStar(require(\"./some-async\"), exports);\n__exportStar(require(\"./some\"), exports);\n__exportStar(require(\"./last-async\"), exports);\n__exportStar(require(\"./last\"), exports);\n__exportStar(require(\"./to-array-async\"), exports);\n__exportStar(require(\"./to-array\"), exports);\n__exportStar(require(\"./to-set-async\"), exports);\n__exportStar(require(\"./to-set\"), exports);\n__exportStar(require(\"./count\"), exports);\n__exportStar(require(\"./count-async\"), exports);\n__exportStar(require(\"./group-by\"), exports);\n__exportStar(require(\"./group-by-async\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.traverseErrorPrototypeChain = void 0;\nfunction* traverseErrorPrototypeChain(err) {\n let current = err;\n while ((current = Object.getPrototypeOf(current))) {\n yield current;\n if (current === Error.prototype)\n break;\n }\n}\nexports.traverseErrorPrototypeChain = traverseErrorPrototypeChain;\n//# sourceMappingURL=traverse-error-prototype-chain.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getErrorNames = void 0;\nconst types_1 = require(\"@blackglory/types\");\nconst traverse_error_prototype_chain_1 = require(\"./traverse-error-prototype-chain\");\nfunction* getErrorNames(err) {\n var _a;\n if ((0, types_1.isError)(err)) {\n for (const prototype of (0, traverse_error_prototype_chain_1.traverseErrorPrototypeChain)(err)) {\n if ((_a = prototype.constructor) === null || _a === void 0 ? void 0 : _a.name) {\n yield prototype.constructor.name;\n }\n }\n }\n else {\n yield err.name;\n yield* err.ancestors;\n }\n}\nexports.getErrorNames = getErrorNames;\n//# sourceMappingURL=get-error-names.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isSerializableError = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction isSerializableError(val) {\n return (0, types_1.isObject)(val)\n && (0, types_1.isString)(val.name)\n && (0, types_1.isString)(val.message)\n && ((0, types_1.isString)(val.stack) || (0, types_1.isNull)(val.stack))\n && ((0, types_1.isArray)(val.ancestors) && val.ancestors.every(types_1.isString));\n}\nexports.isSerializableError = isSerializableError;\n//# sourceMappingURL=serializable-error.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CustomError = void 0;\nconst iterable_operator_1 = require(\"iterable-operator\");\nconst get_error_names_1 = require(\"./get-error-names\");\nconst types_1 = require(\"@blackglory/types\");\nconst serializable_error_1 = require(\"./serializable-error\");\nclass CustomError extends Error {\n get name() {\n var _a, _b;\n return (_b = (_a = (0, iterable_operator_1.first)((0, get_error_names_1.getErrorNames)(this))) !== null && _a !== void 0 ? _a : CustomError.name) !== null && _b !== void 0 ? _b : 'CustomError';\n }\n static [Symbol.hasInstance](instance) {\n var _a;\n if ((0, types_1.isError)(instance) || (0, serializable_error_1.isSerializableError)(instance)) {\n const reversedClassNames = [\n (_a = this.prototype.constructor.name) !== null && _a !== void 0 ? _a : this.name,\n ...(0, get_error_names_1.getErrorNames)(this.prototype)\n ].reverse();\n const reversedInstanceNames = (0, iterable_operator_1.toArray)((0, get_error_names_1.getErrorNames)(instance)).reverse();\n return reversedClassNames.every((x, i) => x === reversedInstanceNames[i]);\n }\n else {\n return false;\n }\n }\n}\nexports.CustomError = CustomError;\n//# sourceMappingURL=custom-error.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AssertionError = void 0;\nconst custom_error_1 = require(\"./custom-error\");\nclass AssertionError extends custom_error_1.CustomError {\n}\nexports.AssertionError = AssertionError;\n//# sourceMappingURL=assertion-error.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.pass = void 0;\nfunction pass() { }\nexports.pass = pass;\n//# sourceMappingURL=pass.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.passAsync = void 0;\nasync function passAsync() { }\nexports.passAsync = passAsync;\n//# sourceMappingURL=pass-async.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./pass\"), exports);\n__exportStar(require(\"./pass-async\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.hydrate = void 0;\nconst pass_1 = require(\"@blackglory/pass\");\nfunction hydrate(err) {\n var _a;\n const errorNames = [err.name, ...err.ancestors]\n .slice(0, -1)\n .reverse();\n let errorConstructor = Error;\n for (const name of errorNames) {\n errorConstructor = createChildErrorConstructor(errorConstructor, name);\n }\n const result = new errorConstructor();\n result.name = err.name;\n result.message = err.message;\n result.stack = (_a = err.stack) !== null && _a !== void 0 ? _a : undefined;\n return result;\n}\nexports.hydrate = hydrate;\nfunction createChildErrorConstructor(parentErrorConstructor, name) {\n const constructor = function () { (0, pass_1.pass)(); };\n constructor.prototype = Object.create(parentErrorConstructor.prototype);\n constructor.prototype.constructor = constructor;\n Object.defineProperty(constructor, 'name', { value: name });\n return constructor;\n}\n//# sourceMappingURL=hydrate.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./custom-error\"), exports);\n__exportStar(require(\"./assertion-error\"), exports);\n__exportStar(require(\"./serializable-error\"), exports);\n__exportStar(require(\"./normalize\"), exports);\n__exportStar(require(\"./hydrate\"), exports);\n__exportStar(require(\"./assert\"), exports);\n__exportStar(require(\"./get-error-names\"), exports);\n__exportStar(require(\"./traverse-error-prototype-chain\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.normalize = void 0;\nconst get_error_names_1 = require(\"./get-error-names\");\nconst iterable_operator_1 = require(\"iterable-operator\");\nfunction normalize(err) {\n var _a;\n const [name, ...ancestors] = (0, iterable_operator_1.toArray)((0, get_error_names_1.getErrorNames)(err));\n return {\n name,\n ancestors,\n message: err.message,\n stack: (_a = err.stack) !== null && _a !== void 0 ? _a : null\n };\n}\nexports.normalize = normalize;\n//# sourceMappingURL=normalize.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assert = void 0;\nconst assertion_error_1 = require(\"./assertion-error\");\nfunction assert(condition, message) {\n if (!condition)\n throw new assertion_error_1.AssertionError(message);\n}\nexports.assert = assert;\n//# sourceMappingURL=assert.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.go = void 0;\nfunction go(fn) {\n return fn();\n}\nexports.go = go;\n//# sourceMappingURL=go.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.goMicrotask = void 0;\nfunction goMicrotask(fn) {\n return new Promise((resolve, reject) => {\n queueMicrotask(async () => {\n try {\n resolve(await fn());\n }\n catch (e) {\n reject(e);\n }\n });\n });\n}\nexports.goMicrotask = goMicrotask;\n//# sourceMappingURL=go-microtask.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.goMacrotask = void 0;\nconst extra_timers_1 = require(\"extra-timers\");\nfunction goMacrotask(fn) {\n return new Promise((resolve, reject) => {\n (0, extra_timers_1.setImmediate)(async () => {\n try {\n resolve(await fn());\n }\n catch (e) {\n reject(e);\n }\n });\n });\n}\nexports.goMacrotask = goMacrotask;\n//# sourceMappingURL=go-macrotask.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./go\"), exports);\n__exportStar(require(\"./go-microtask\"), exports);\n__exportStar(require(\"./go-macrotask\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.log = void 0;\nfunction log(...data) {\n console.log(...data);\n return data[data.length - 1];\n}\nexports.log = log;\n//# sourceMappingURL=log.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.elapsed = exports.now = void 0;\nfunction now() {\n return performance.now();\n}\nexports.now = now;\nfunction elapsed(startTime, endTime) {\n return `${endTime - startTime}ms`;\n}\nexports.elapsed = elapsed;\n//# sourceMappingURL=high-resolution-timestamp.browser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.time = void 0;\nconst high_resolution_timestamp_1 = require(\"./utils/high-resolution-timestamp\");\nconst types_1 = require(\"@blackglory/types\");\nfunction time(message, fn) {\n const startTime = (0, high_resolution_timestamp_1.now)();\n const result = fn();\n if ((0, types_1.isPromiseLike)(result)) {\n return result.then(() => {\n const endTime = (0, high_resolution_timestamp_1.now)();\n console.log(message, (0, high_resolution_timestamp_1.elapsed)(startTime, endTime));\n return result;\n });\n }\n else {\n const endTime = (0, high_resolution_timestamp_1.now)();\n console.log(message, (0, high_resolution_timestamp_1.elapsed)(startTime, endTime));\n return result;\n }\n}\nexports.time = time;\n//# sourceMappingURL=time.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.timeFunction = void 0;\nconst high_resolution_timestamp_1 = require(\"./utils/high-resolution-timestamp\");\nfunction timeFunction(message, fn) {\n return function (...args) {\n const startTime = (0, high_resolution_timestamp_1.now)();\n const result = fn(...args);\n const endTime = (0, high_resolution_timestamp_1.now)();\n console.log(message, (0, high_resolution_timestamp_1.elapsed)(startTime, endTime));\n return result;\n };\n}\nexports.timeFunction = timeFunction;\n//# sourceMappingURL=time-function.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.timeAsyncFunction = void 0;\nconst high_resolution_timestamp_1 = require(\"./utils/high-resolution-timestamp\");\nfunction timeAsyncFunction(message, fn) {\n return async function (...args) {\n const startTime = (0, high_resolution_timestamp_1.now)();\n const result = await fn(...args);\n const endTime = (0, high_resolution_timestamp_1.now)();\n console.log(message, (0, high_resolution_timestamp_1.elapsed)(startTime, endTime));\n return result;\n };\n}\nexports.timeAsyncFunction = timeAsyncFunction;\n//# sourceMappingURL=time-async-function.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./log\"), exports);\n__exportStar(require(\"./time\"), exports);\n__exportStar(require(\"./time-function\"), exports);\n__exportStar(require(\"./time-async-function\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.lazy = void 0;\nfunction lazy(getter) {\n let resultExists = false;\n let result;\n return function () {\n if (!resultExists) {\n result = getter();\n resultExists = true;\n }\n return result;\n };\n}\nexports.lazy = lazy;\n//# sourceMappingURL=lazy.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.lazyFunction = void 0;\nconst lazy_1 = require(\"./lazy\");\nfunction lazyFunction(getter) {\n const getFn = (0, lazy_1.lazy)(getter);\n return (...args) => getFn()(...args);\n}\nexports.lazyFunction = lazyFunction;\n//# sourceMappingURL=lazy-function.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.lazyAsyncFunction = void 0;\nconst lazy_1 = require(\"./lazy\");\nfunction lazyAsyncFunction(getter) {\n const getFn = (0, lazy_1.lazy)(getter);\n return async (...args) => {\n const fn = await getFn();\n return fn(...args);\n };\n}\nexports.lazyAsyncFunction = lazyAsyncFunction;\n//# sourceMappingURL=lazy-async-function.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.lazyStatic = exports.withLazyStatic = void 0;\nconst contexts = [];\nfunction withLazyStatic(fn) {\n const cache = [];\n return (...args) => {\n contexts.push({ cache, index: 0 });\n try {\n return fn(...args);\n }\n finally {\n contexts.pop();\n }\n };\n}\nexports.withLazyStatic = withLazyStatic;\nfunction lazyStatic(getter, deps = []) {\n if (contexts.length) {\n const context = contexts[contexts.length - 1];\n const index = context.index++;\n const isFirstRun = index === context.cache.length;\n if (isFirstRun) {\n updateCache();\n }\n else {\n const oldDeps = context.cache[index].deps;\n if (deps.length === oldDeps.length) {\n if (deps.some((x, i) => x !== oldDeps[i])) {\n updateCache();\n }\n }\n else {\n updateCache();\n }\n }\n const result = context.cache[index].value;\n return result;\n function updateCache() {\n context.cache[index] = null;\n context.cache[index] = {\n value: getter(),\n deps: Array.from(deps)\n };\n }\n }\n else {\n throw new Error('lazyStatic can only be called in the function wrapped by withlazyStatic.');\n }\n}\nexports.lazyStatic = lazyStatic;\n//# sourceMappingURL=lazy-static.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./lazy\"), exports);\n__exportStar(require(\"./lazy-function\"), exports);\n__exportStar(require(\"./lazy-async-function\"), exports);\n__exportStar(require(\"./lazy-static\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.pass = void 0;\nfunction pass() { }\nexports.pass = pass;\n//# sourceMappingURL=pass.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.passAsync = void 0;\nasync function passAsync() { }\nexports.passAsync = passAsync;\n//# sourceMappingURL=pass-async.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./pass\"), exports);\n__exportStar(require(\"./pass-async\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isntNumber = exports.isntNull = exports.isntJson = exports.isntIterable = exports.isntFunction = exports.isntFalsy = exports.isntError = exports.isntEmptyObject = exports.isntEmptyArray = exports.isntDate = exports.isntChar = exports.isntBoolean = exports.isntBigInt = exports.isntAsyncIterable = exports.isntArray = exports.isSymbol = exports.isRegExp = exports.isUndefined = exports.isString = exports.isPromiseLike = exports.isPromise = exports.isPlainObject = exports.isObject = exports.isntNaN = exports.isNaN = exports.isNegativeInfinity = exports.isPositiveInfinity = exports.isFinite = exports.isNumber = exports.isNull = exports.isJson = exports.isIterable = exports.isFunction = exports.isFalsy = exports.isError = exports.isEmptyObject = exports.isEmptyArray = exports.isDate = exports.isChar = exports.isBoolean = exports.isBigInt = exports.isAsyncIterable = exports.isArray = exports.toArrayAsync = exports.toArray = exports.pass = exports.lazy = exports.log = exports.go = exports.assert = void 0;\nexports.isntSymbol = exports.isntRegExp = exports.isntUndefined = exports.isntString = exports.isntPromiseLike = exports.isntPromise = exports.isntPlainObject = exports.isntObject = void 0;\nvar errors_1 = require(\"@blackglory/errors\");\nObject.defineProperty(exports, \"assert\", { enumerable: true, get: function () { return errors_1.assert; } });\nvar go_1 = require(\"@blackglory/go\");\nObject.defineProperty(exports, \"go\", { enumerable: true, get: function () { return go_1.go; } });\nvar log_1 = require(\"@blackglory/log\");\nObject.defineProperty(exports, \"log\", { enumerable: true, get: function () { return log_1.log; } });\nvar extra_lazy_1 = require(\"extra-lazy\");\nObject.defineProperty(exports, \"lazy\", { enumerable: true, get: function () { return extra_lazy_1.lazy; } });\nvar pass_1 = require(\"@blackglory/pass\");\nObject.defineProperty(exports, \"pass\", { enumerable: true, get: function () { return pass_1.pass; } });\nvar iterable_operator_1 = require(\"iterable-operator\");\nObject.defineProperty(exports, \"toArray\", { enumerable: true, get: function () { return iterable_operator_1.toArray; } });\nObject.defineProperty(exports, \"toArrayAsync\", { enumerable: true, get: function () { return iterable_operator_1.toArrayAsync; } });\nvar types_1 = require(\"@blackglory/types\");\nObject.defineProperty(exports, \"isArray\", { enumerable: true, get: function () { return types_1.isArray; } });\nObject.defineProperty(exports, \"isAsyncIterable\", { enumerable: true, get: function () { return types_1.isAsyncIterable; } });\nObject.defineProperty(exports, \"isBigInt\", { enumerable: true, get: function () { return types_1.isBigInt; } });\nObject.defineProperty(exports, \"isBoolean\", { enumerable: true, get: function () { return types_1.isBoolean; } });\nObject.defineProperty(exports, \"isChar\", { enumerable: true, get: function () { return types_1.isChar; } });\nObject.defineProperty(exports, \"isDate\", { enumerable: true, get: function () { return types_1.isDate; } });\nObject.defineProperty(exports, \"isEmptyArray\", { enumerable: true, get: function () { return types_1.isEmptyArray; } });\nObject.defineProperty(exports, \"isEmptyObject\", { enumerable: true, get: function () { return types_1.isEmptyObject; } });\nObject.defineProperty(exports, \"isError\", { enumerable: true, get: function () { return types_1.isError; } });\nObject.defineProperty(exports, \"isFalsy\", { enumerable: true, get: function () { return types_1.isFalsy; } });\nObject.defineProperty(exports, \"isFunction\", { enumerable: true, get: function () { return types_1.isFunction; } });\nObject.defineProperty(exports, \"isIterable\", { enumerable: true, get: function () { return types_1.isIterable; } });\nObject.defineProperty(exports, \"isJson\", { enumerable: true, get: function () { return types_1.isJson; } });\nObject.defineProperty(exports, \"isNull\", { enumerable: true, get: function () { return types_1.isNull; } });\nObject.defineProperty(exports, \"isNumber\", { enumerable: true, get: function () { return types_1.isNumber; } });\nObject.defineProperty(exports, \"isFinite\", { enumerable: true, get: function () { return types_1.isFinite; } });\nObject.defineProperty(exports, \"isPositiveInfinity\", { enumerable: true, get: function () { return types_1.isPositiveInfinity; } });\nObject.defineProperty(exports, \"isNegativeInfinity\", { enumerable: true, get: function () { return types_1.isNegativeInfinity; } });\nObject.defineProperty(exports, \"isNaN\", { enumerable: true, get: function () { return types_1.isNaN; } });\nObject.defineProperty(exports, \"isntNaN\", { enumerable: true, get: function () { return types_1.isntNaN; } });\nObject.defineProperty(exports, \"isObject\", { enumerable: true, get: function () { return types_1.isObject; } });\nObject.defineProperty(exports, \"isPlainObject\", { enumerable: true, get: function () { return types_1.isPlainObject; } });\nObject.defineProperty(exports, \"isPromise\", { enumerable: true, get: function () { return types_1.isPromise; } });\nObject.defineProperty(exports, \"isPromiseLike\", { enumerable: true, get: function () { return types_1.isPromiseLike; } });\nObject.defineProperty(exports, \"isString\", { enumerable: true, get: function () { return types_1.isString; } });\nObject.defineProperty(exports, \"isUndefined\", { enumerable: true, get: function () { return types_1.isUndefined; } });\nObject.defineProperty(exports, \"isRegExp\", { enumerable: true, get: function () { return types_1.isRegExp; } });\nObject.defineProperty(exports, \"isSymbol\", { enumerable: true, get: function () { return types_1.isSymbol; } });\nObject.defineProperty(exports, \"isntArray\", { enumerable: true, get: function () { return types_1.isntArray; } });\nObject.defineProperty(exports, \"isntAsyncIterable\", { enumerable: true, get: function () { return types_1.isntAsyncIterable; } });\nObject.defineProperty(exports, \"isntBigInt\", { enumerable: true, get: function () { return types_1.isntBigInt; } });\nObject.defineProperty(exports, \"isntBoolean\", { enumerable: true, get: function () { return types_1.isntBoolean; } });\nObject.defineProperty(exports, \"isntChar\", { enumerable: true, get: function () { return types_1.isntChar; } });\nObject.defineProperty(exports, \"isntDate\", { enumerable: true, get: function () { return types_1.isntDate; } });\nObject.defineProperty(exports, \"isntEmptyArray\", { enumerable: true, get: function () { return types_1.isntEmptyArray; } });\nObject.defineProperty(exports, \"isntEmptyObject\", { enumerable: true, get: function () { return types_1.isntEmptyObject; } });\nObject.defineProperty(exports, \"isntError\", { enumerable: true, get: function () { return types_1.isntError; } });\nObject.defineProperty(exports, \"isntFalsy\", { enumerable: true, get: function () { return types_1.isntFalsy; } });\nObject.defineProperty(exports, \"isntFunction\", { enumerable: true, get: function () { return types_1.isntFunction; } });\nObject.defineProperty(exports, \"isntIterable\", { enumerable: true, get: function () { return types_1.isntIterable; } });\nObject.defineProperty(exports, \"isntJson\", { enumerable: true, get: function () { return types_1.isntJson; } });\nObject.defineProperty(exports, \"isntNull\", { enumerable: true, get: function () { return types_1.isntNull; } });\nObject.defineProperty(exports, \"isntNumber\", { enumerable: true, get: function () { return types_1.isntNumber; } });\nObject.defineProperty(exports, \"isntObject\", { enumerable: true, get: function () { return types_1.isntObject; } });\nObject.defineProperty(exports, \"isntPlainObject\", { enumerable: true, get: function () { return types_1.isntPlainObject; } });\nObject.defineProperty(exports, \"isntPromise\", { enumerable: true, get: function () { return types_1.isntPromise; } });\nObject.defineProperty(exports, \"isntPromiseLike\", { enumerable: true, get: function () { return types_1.isntPromiseLike; } });\nObject.defineProperty(exports, \"isntString\", { enumerable: true, get: function () { return types_1.isntString; } });\nObject.defineProperty(exports, \"isntUndefined\", { enumerable: true, get: function () { return types_1.isntUndefined; } });\nObject.defineProperty(exports, \"isntRegExp\", { enumerable: true, get: function () { return types_1.isntRegExp; } });\nObject.defineProperty(exports, \"isntSymbol\", { enumerable: true, get: function () { return types_1.isntSymbol; } });\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.del = exports.patch = exports.put = exports.post = exports.head = exports.get = void 0;\nconst extra_fetch_1 = require(\"extra-fetch\");\nconst prelude_1 = require(\"@blackglory/prelude\");\nfunction get(...transformers) {\n return request('GET', ...transformers);\n}\nexports.get = get;\nfunction head(...transformers) {\n return request('HEAD', ...transformers);\n}\nexports.head = head;\nfunction post(...transformers) {\n return request('POST', ...transformers);\n}\nexports.post = post;\nfunction put(...transformers) {\n return request('PUT', ...transformers);\n}\nexports.put = put;\nfunction patch(...transformers) {\n return request('PATCH', ...transformers);\n}\nexports.patch = patch;\nfunction del(...transformers) {\n return request('DELETE', ...transformers);\n}\nexports.del = del;\nfunction request(method, ...transformers) {\n const options = transformers.reduce((options, trans) => (0, prelude_1.isFunction)(trans) ? trans(options) : options, {\n url: new URL('http://localhost'),\n headers: new extra_fetch_1.Headers()\n });\n const headers = new extra_fetch_1.Headers(options.headers);\n return new extra_fetch_1.Request(options.url.href, {\n method,\n headers,\n signal: options.signal,\n body: options.payload,\n keepalive: options.keepalive\n });\n}\n//# sourceMappingURL=request.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./types\"), exports);\n__exportStar(require(\"./request\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.url = void 0;\nfunction url(...urls) {\n return (options) => {\n const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));\n return {\n ...options,\n url\n };\n };\n}\nexports.url = url;\n//# sourceMappingURL=url.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.text = void 0;\nconst extra_fetch_1 = require(\"extra-fetch\");\nfunction text(payload) {\n return (options) => {\n const headers = new extra_fetch_1.Headers(options.headers);\n headers.set('Content-Type', 'application/x-www-form-urlencoded');\n return {\n ...options,\n headers,\n payload\n };\n };\n}\nexports.text = text;\n//# sourceMappingURL=text.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.json = void 0;\nconst extra_fetch_1 = require(\"extra-fetch\");\nfunction json(payload) {\n return (options) => {\n const headers = new extra_fetch_1.Headers(options.headers);\n headers.set('Content-Type', 'application/json');\n return {\n ...options,\n headers,\n payload: JSON.stringify(payload)\n };\n };\n}\nexports.json = json;\n//# sourceMappingURL=json.js.map","/* @license\nPapa Parse\nv5.3.2\nhttps://github.com/mholt/PapaParse\nLicense: MIT\n*/\n\n(function(root, factory)\n{\n\t/* globals define */\n\tif (typeof define === 'function' && define.amd)\n\t{\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine([], factory);\n\t}\n\telse if (typeof module === 'object' && typeof exports !== 'undefined')\n\t{\n\t\t// Node. Does not work with strict CommonJS, but\n\t\t// only CommonJS-like environments that support module.exports,\n\t\t// like Node.\n\t\tmodule.exports = factory();\n\t}\n\telse\n\t{\n\t\t// Browser globals (root is window)\n\t\troot.Papa = factory();\n\t}\n\t// in strict mode we cannot access arguments.callee, so we need a named reference to\n\t// stringify the factory method for the blob worker\n\t// eslint-disable-next-line func-name\n}(this, function moduleFactory()\n{\n\t'use strict';\n\n\tvar global = (function() {\n\t\t// alternative method, similar to `Function('return this')()`\n\t\t// but without using `eval` (which is disabled when\n\t\t// using Content Security Policy).\n\n\t\tif (typeof self !== 'undefined') { return self; }\n\t\tif (typeof window !== 'undefined') { return window; }\n\t\tif (typeof global !== 'undefined') { return global; }\n\n\t\t// When running tests none of the above have been defined\n\t\treturn {};\n\t})();\n\n\n\tfunction getWorkerBlob() {\n\t\tvar URL = global.URL || global.webkitURL || null;\n\t\tvar code = moduleFactory.toString();\n\t\treturn Papa.BLOB_URL || (Papa.BLOB_URL = URL.createObjectURL(new Blob(['(', code, ')();'], {type: 'text/javascript'})));\n\t}\n\n\tvar IS_WORKER = !global.document && !!global.postMessage,\n\t\tIS_PAPA_WORKER = IS_WORKER && /blob:/i.test((global.location || {}).protocol);\n\tvar workers = {}, workerIdCounter = 0;\n\n\tvar Papa = {};\n\n\tPapa.parse = CsvToJson;\n\tPapa.unparse = JsonToCsv;\n\n\tPapa.RECORD_SEP = String.fromCharCode(30);\n\tPapa.UNIT_SEP = String.fromCharCode(31);\n\tPapa.BYTE_ORDER_MARK = '\\ufeff';\n\tPapa.BAD_DELIMITERS = ['\\r', '\\n', '\"', Papa.BYTE_ORDER_MARK];\n\tPapa.WORKERS_SUPPORTED = !IS_WORKER && !!global.Worker;\n\tPapa.NODE_STREAM_INPUT = 1;\n\n\t// Configurable chunk sizes for local and remote files, respectively\n\tPapa.LocalChunkSize = 1024 * 1024 * 10;\t// 10 MB\n\tPapa.RemoteChunkSize = 1024 * 1024 * 5;\t// 5 MB\n\tPapa.DefaultDelimiter = ',';\t\t\t// Used if not specified and detection fails\n\n\t// Exposed for testing and development only\n\tPapa.Parser = Parser;\n\tPapa.ParserHandle = ParserHandle;\n\tPapa.NetworkStreamer = NetworkStreamer;\n\tPapa.FileStreamer = FileStreamer;\n\tPapa.StringStreamer = StringStreamer;\n\tPapa.ReadableStreamStreamer = ReadableStreamStreamer;\n\tif (typeof PAPA_BROWSER_CONTEXT === 'undefined') {\n\t\tPapa.DuplexStreamStreamer = DuplexStreamStreamer;\n\t}\n\n\tif (global.jQuery)\n\t{\n\t\tvar $ = global.jQuery;\n\t\t$.fn.parse = function(options)\n\t\t{\n\t\t\tvar config = options.config || {};\n\t\t\tvar queue = [];\n\n\t\t\tthis.each(function(idx)\n\t\t\t{\n\t\t\t\tvar supported = $(this).prop('tagName').toUpperCase() === 'INPUT'\n\t\t\t\t\t\t\t\t&& $(this).attr('type').toLowerCase() === 'file'\n\t\t\t\t\t\t\t\t&& global.FileReader;\n\n\t\t\t\tif (!supported || !this.files || this.files.length === 0)\n\t\t\t\t\treturn true;\t// continue to next input element\n\n\t\t\t\tfor (var i = 0; i < this.files.length; i++)\n\t\t\t\t{\n\t\t\t\t\tqueue.push({\n\t\t\t\t\t\tfile: this.files[i],\n\t\t\t\t\t\tinputElem: this,\n\t\t\t\t\t\tinstanceConfig: $.extend({}, config)\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tparseNextFile();\t// begin parsing\n\t\t\treturn this;\t\t// maintains chainability\n\n\n\t\t\tfunction parseNextFile()\n\t\t\t{\n\t\t\t\tif (queue.length === 0)\n\t\t\t\t{\n\t\t\t\t\tif (isFunction(options.complete))\n\t\t\t\t\t\toptions.complete();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tvar f = queue[0];\n\n\t\t\t\tif (isFunction(options.before))\n\t\t\t\t{\n\t\t\t\t\tvar returned = options.before(f.file, f.inputElem);\n\n\t\t\t\t\tif (typeof returned === 'object')\n\t\t\t\t\t{\n\t\t\t\t\t\tif (returned.action === 'abort')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\terror('AbortError', f.file, f.inputElem, returned.reason);\n\t\t\t\t\t\t\treturn;\t// Aborts all queued files immediately\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (returned.action === 'skip')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfileComplete();\t// parse the next file in the queue, if any\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (typeof returned.config === 'object')\n\t\t\t\t\t\t\tf.instanceConfig = $.extend(f.instanceConfig, returned.config);\n\t\t\t\t\t}\n\t\t\t\t\telse if (returned === 'skip')\n\t\t\t\t\t{\n\t\t\t\t\t\tfileComplete();\t// parse the next file in the queue, if any\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Wrap up the user's complete callback, if any, so that ours also gets executed\n\t\t\t\tvar userCompleteFunc = f.instanceConfig.complete;\n\t\t\t\tf.instanceConfig.complete = function(results)\n\t\t\t\t{\n\t\t\t\t\tif (isFunction(userCompleteFunc))\n\t\t\t\t\t\tuserCompleteFunc(results, f.file, f.inputElem);\n\t\t\t\t\tfileComplete();\n\t\t\t\t};\n\n\t\t\t\tPapa.parse(f.file, f.instanceConfig);\n\t\t\t}\n\n\t\t\tfunction error(name, file, elem, reason)\n\t\t\t{\n\t\t\t\tif (isFunction(options.error))\n\t\t\t\t\toptions.error({name: name}, file, elem, reason);\n\t\t\t}\n\n\t\t\tfunction fileComplete()\n\t\t\t{\n\t\t\t\tqueue.splice(0, 1);\n\t\t\t\tparseNextFile();\n\t\t\t}\n\t\t};\n\t}\n\n\n\tif (IS_PAPA_WORKER)\n\t{\n\t\tglobal.onmessage = workerThreadReceivedMessage;\n\t}\n\n\n\n\n\tfunction CsvToJson(_input, _config)\n\t{\n\t\t_config = _config || {};\n\t\tvar dynamicTyping = _config.dynamicTyping || false;\n\t\tif (isFunction(dynamicTyping)) {\n\t\t\t_config.dynamicTypingFunction = dynamicTyping;\n\t\t\t// Will be filled on first row call\n\t\t\tdynamicTyping = {};\n\t\t}\n\t\t_config.dynamicTyping = dynamicTyping;\n\n\t\t_config.transform = isFunction(_config.transform) ? _config.transform : false;\n\n\t\tif (_config.worker && Papa.WORKERS_SUPPORTED)\n\t\t{\n\t\t\tvar w = newWorker();\n\n\t\t\tw.userStep = _config.step;\n\t\t\tw.userChunk = _config.chunk;\n\t\t\tw.userComplete = _config.complete;\n\t\t\tw.userError = _config.error;\n\n\t\t\t_config.step = isFunction(_config.step);\n\t\t\t_config.chunk = isFunction(_config.chunk);\n\t\t\t_config.complete = isFunction(_config.complete);\n\t\t\t_config.error = isFunction(_config.error);\n\t\t\tdelete _config.worker;\t// prevent infinite loop\n\n\t\t\tw.postMessage({\n\t\t\t\tinput: _input,\n\t\t\t\tconfig: _config,\n\t\t\t\tworkerId: w.id\n\t\t\t});\n\n\t\t\treturn;\n\t\t}\n\n\t\tvar streamer = null;\n\t\tif (_input === Papa.NODE_STREAM_INPUT && typeof PAPA_BROWSER_CONTEXT === 'undefined')\n\t\t{\n\t\t\t// create a node Duplex stream for use\n\t\t\t// with .pipe\n\t\t\tstreamer = new DuplexStreamStreamer(_config);\n\t\t\treturn streamer.getStream();\n\t\t}\n\t\telse if (typeof _input === 'string')\n\t\t{\n\t\t\tif (_config.download)\n\t\t\t\tstreamer = new NetworkStreamer(_config);\n\t\t\telse\n\t\t\t\tstreamer = new StringStreamer(_config);\n\t\t}\n\t\telse if (_input.readable === true && isFunction(_input.read) && isFunction(_input.on))\n\t\t{\n\t\t\tstreamer = new ReadableStreamStreamer(_config);\n\t\t}\n\t\telse if ((global.File && _input instanceof File) || _input instanceof Object)\t// ...Safari. (see issue #106)\n\t\t\tstreamer = new FileStreamer(_config);\n\n\t\treturn streamer.stream(_input);\n\t}\n\n\n\n\n\n\n\tfunction JsonToCsv(_input, _config)\n\t{\n\t\t// Default configuration\n\n\t\t/** whether to surround every datum with quotes */\n\t\tvar _quotes = false;\n\n\t\t/** whether to write headers */\n\t\tvar _writeHeader = true;\n\n\t\t/** delimiting character(s) */\n\t\tvar _delimiter = ',';\n\n\t\t/** newline character(s) */\n\t\tvar _newline = '\\r\\n';\n\n\t\t/** quote character */\n\t\tvar _quoteChar = '\"';\n\n\t\t/** escaped quote character, either \"\" or <config.escapeChar>\" */\n\t\tvar _escapedQuote = _quoteChar + _quoteChar;\n\n\t\t/** whether to skip empty lines */\n\t\tvar _skipEmptyLines = false;\n\n\t\t/** the columns (keys) we expect when we unparse objects */\n\t\tvar _columns = null;\n\n\t\t/** whether to prevent outputting cells that can be parsed as formulae by spreadsheet software (Excel and LibreOffice) */\n\t\tvar _escapeFormulae = false;\n\n\t\tunpackConfig();\n\n\t\tvar quoteCharRegex = new RegExp(escapeRegExp(_quoteChar), 'g');\n\n\t\tif (typeof _input === 'string')\n\t\t\t_input = JSON.parse(_input);\n\n\t\tif (Array.isArray(_input))\n\t\t{\n\t\t\tif (!_input.length || Array.isArray(_input[0]))\n\t\t\t\treturn serialize(null, _input, _skipEmptyLines);\n\t\t\telse if (typeof _input[0] === 'object')\n\t\t\t\treturn serialize(_columns || Object.keys(_input[0]), _input, _skipEmptyLines);\n\t\t}\n\t\telse if (typeof _input === 'object')\n\t\t{\n\t\t\tif (typeof _input.data === 'string')\n\t\t\t\t_input.data = JSON.parse(_input.data);\n\n\t\t\tif (Array.isArray(_input.data))\n\t\t\t{\n\t\t\t\tif (!_input.fields)\n\t\t\t\t\t_input.fields = _input.meta && _input.meta.fields || _columns;\n\n\t\t\t\tif (!_input.fields)\n\t\t\t\t\t_input.fields = Array.isArray(_input.data[0])\n\t\t\t\t\t\t? _input.fields\n\t\t\t\t\t\t: typeof _input.data[0] === 'object'\n\t\t\t\t\t\t\t? Object.keys(_input.data[0])\n\t\t\t\t\t\t\t: [];\n\n\t\t\t\tif (!(Array.isArray(_input.data[0])) && typeof _input.data[0] !== 'object')\n\t\t\t\t\t_input.data = [_input.data];\t// handles input like [1,2,3] or ['asdf']\n\t\t\t}\n\n\t\t\treturn serialize(_input.fields || [], _input.data || [], _skipEmptyLines);\n\t\t}\n\n\t\t// Default (any valid paths should return before this)\n\t\tthrow new Error('Unable to serialize unrecognized input');\n\n\n\t\tfunction unpackConfig()\n\t\t{\n\t\t\tif (typeof _config !== 'object')\n\t\t\t\treturn;\n\n\t\t\tif (typeof _config.delimiter === 'string'\n && !Papa.BAD_DELIMITERS.filter(function(value) { return _config.delimiter.indexOf(value) !== -1; }).length)\n\t\t\t{\n\t\t\t\t_delimiter = _config.delimiter;\n\t\t\t}\n\n\t\t\tif (typeof _config.quotes === 'boolean'\n\t\t\t\t|| typeof _config.quotes === 'function'\n\t\t\t\t|| Array.isArray(_config.quotes))\n\t\t\t\t_quotes = _config.quotes;\n\n\t\t\tif (typeof _config.skipEmptyLines === 'boolean'\n\t\t\t\t|| typeof _config.skipEmptyLines === 'string')\n\t\t\t\t_skipEmptyLines = _config.skipEmptyLines;\n\n\t\t\tif (typeof _config.newline === 'string')\n\t\t\t\t_newline = _config.newline;\n\n\t\t\tif (typeof _config.quoteChar === 'string')\n\t\t\t\t_quoteChar = _config.quoteChar;\n\n\t\t\tif (typeof _config.header === 'boolean')\n\t\t\t\t_writeHeader = _config.header;\n\n\t\t\tif (Array.isArray(_config.columns)) {\n\n\t\t\t\tif (_config.columns.length === 0) throw new Error('Option columns is empty');\n\n\t\t\t\t_columns = _config.columns;\n\t\t\t}\n\n\t\t\tif (_config.escapeChar !== undefined) {\n\t\t\t\t_escapedQuote = _config.escapeChar + _quoteChar;\n\t\t\t}\n\n\t\t\tif (typeof _config.escapeFormulae === 'boolean' || _config.escapeFormulae instanceof RegExp) {\n\t\t\t\t_escapeFormulae = _config.escapeFormulae instanceof RegExp ? _config.escapeFormulae : /^[=+\\-@\\t\\r].*$/;\n\t\t\t}\n\t\t}\n\n\t\t/** The double for loop that iterates the data and writes out a CSV string including header row */\n\t\tfunction serialize(fields, data, skipEmptyLines)\n\t\t{\n\t\t\tvar csv = '';\n\n\t\t\tif (typeof fields === 'string')\n\t\t\t\tfields = JSON.parse(fields);\n\t\t\tif (typeof data === 'string')\n\t\t\t\tdata = JSON.parse(data);\n\n\t\t\tvar hasHeader = Array.isArray(fields) && fields.length > 0;\n\t\t\tvar dataKeyedByField = !(Array.isArray(data[0]));\n\n\t\t\t// If there a header row, write it first\n\t\t\tif (hasHeader && _writeHeader)\n\t\t\t{\n\t\t\t\tfor (var i = 0; i < fields.length; i++)\n\t\t\t\t{\n\t\t\t\t\tif (i > 0)\n\t\t\t\t\t\tcsv += _delimiter;\n\t\t\t\t\tcsv += safe(fields[i], i);\n\t\t\t\t}\n\t\t\t\tif (data.length > 0)\n\t\t\t\t\tcsv += _newline;\n\t\t\t}\n\n\t\t\t// Then write out the data\n\t\t\tfor (var row = 0; row < data.length; row++)\n\t\t\t{\n\t\t\t\tvar maxCol = hasHeader ? fields.length : data[row].length;\n\n\t\t\t\tvar emptyLine = false;\n\t\t\t\tvar nullLine = hasHeader ? Object.keys(data[row]).length === 0 : data[row].length === 0;\n\t\t\t\tif (skipEmptyLines && !hasHeader)\n\t\t\t\t{\n\t\t\t\t\temptyLine = skipEmptyLines === 'greedy' ? data[row].join('').trim() === '' : data[row].length === 1 && data[row][0].length === 0;\n\t\t\t\t}\n\t\t\t\tif (skipEmptyLines === 'greedy' && hasHeader) {\n\t\t\t\t\tvar line = [];\n\t\t\t\t\tfor (var c = 0; c < maxCol; c++) {\n\t\t\t\t\t\tvar cx = dataKeyedByField ? fields[c] : c;\n\t\t\t\t\t\tline.push(data[row][cx]);\n\t\t\t\t\t}\n\t\t\t\t\temptyLine = line.join('').trim() === '';\n\t\t\t\t}\n\t\t\t\tif (!emptyLine)\n\t\t\t\t{\n\t\t\t\t\tfor (var col = 0; col < maxCol; col++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (col > 0 && !nullLine)\n\t\t\t\t\t\t\tcsv += _delimiter;\n\t\t\t\t\t\tvar colIdx = hasHeader && dataKeyedByField ? fields[col] : col;\n\t\t\t\t\t\tcsv += safe(data[row][colIdx], col);\n\t\t\t\t\t}\n\t\t\t\t\tif (row < data.length - 1 && (!skipEmptyLines || (maxCol > 0 && !nullLine)))\n\t\t\t\t\t{\n\t\t\t\t\t\tcsv += _newline;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn csv;\n\t\t}\n\n\t\t/** Encloses a value around quotes if needed (makes a value safe for CSV insertion) */\n\t\tfunction safe(str, col)\n\t\t{\n\t\t\tif (typeof str === 'undefined' || str === null)\n\t\t\t\treturn '';\n\n\t\t\tif (str.constructor === Date)\n\t\t\t\treturn JSON.stringify(str).slice(1, 25);\n\n\t\t\tvar needsQuotes = false;\n\n\t\t\tif (_escapeFormulae && typeof str === \"string\" && _escapeFormulae.test(str)) {\n\t\t\t\tstr = \"'\" + str;\n\t\t\t\tneedsQuotes = true;\n\t\t\t}\n\n\t\t\tvar escapedQuoteStr = str.toString().replace(quoteCharRegex, _escapedQuote);\n\n\t\t\tneedsQuotes = needsQuotes\n\t\t\t\t\t\t\t|| _quotes === true\n\t\t\t\t\t\t\t|| (typeof _quotes === 'function' && _quotes(str, col))\n\t\t\t\t\t\t\t|| (Array.isArray(_quotes) && _quotes[col])\n\t\t\t\t\t\t\t|| hasAny(escapedQuoteStr, Papa.BAD_DELIMITERS)\n\t\t\t\t\t\t\t|| escapedQuoteStr.indexOf(_delimiter) > -1\n\t\t\t\t\t\t\t|| escapedQuoteStr.charAt(0) === ' '\n\t\t\t\t\t\t\t|| escapedQuoteStr.charAt(escapedQuoteStr.length - 1) === ' ';\n\n\t\t\treturn needsQuotes ? _quoteChar + escapedQuoteStr + _quoteChar : escapedQuoteStr;\n\t\t}\n\n\t\tfunction hasAny(str, substrings)\n\t\t{\n\t\t\tfor (var i = 0; i < substrings.length; i++)\n\t\t\t\tif (str.indexOf(substrings[i]) > -1)\n\t\t\t\t\treturn true;\n\t\t\treturn false;\n\t\t}\n\t}\n\n\t/** ChunkStreamer is the base prototype for various streamer implementations. */\n\tfunction ChunkStreamer(config)\n\t{\n\t\tthis._handle = null;\n\t\tthis._finished = false;\n\t\tthis._completed = false;\n\t\tthis._halted = false;\n\t\tthis._input = null;\n\t\tthis._baseIndex = 0;\n\t\tthis._partialLine = '';\n\t\tthis._rowCount = 0;\n\t\tthis._start = 0;\n\t\tthis._nextChunk = null;\n\t\tthis.isFirstChunk = true;\n\t\tthis._completeResults = {\n\t\t\tdata: [],\n\t\t\terrors: [],\n\t\t\tmeta: {}\n\t\t};\n\t\treplaceConfig.call(this, config);\n\n\t\tthis.parseChunk = function(chunk, isFakeChunk)\n\t\t{\n\t\t\t// First chunk pre-processing\n\t\t\tif (this.isFirstChunk && isFunction(this._config.beforeFirstChunk))\n\t\t\t{\n\t\t\t\tvar modifiedChunk = this._config.beforeFirstChunk(chunk);\n\t\t\t\tif (modifiedChunk !== undefined)\n\t\t\t\t\tchunk = modifiedChunk;\n\t\t\t}\n\t\t\tthis.isFirstChunk = false;\n\t\t\tthis._halted = false;\n\n\t\t\t// Rejoin the line we likely just split in two by chunking the file\n\t\t\tvar aggregate = this._partialLine + chunk;\n\t\t\tthis._partialLine = '';\n\n\t\t\tvar results = this._handle.parse(aggregate, this._baseIndex, !this._finished);\n\n\t\t\tif (this._handle.paused() || this._handle.aborted()) {\n\t\t\t\tthis._halted = true;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar lastIndex = results.meta.cursor;\n\n\t\t\tif (!this._finished)\n\t\t\t{\n\t\t\t\tthis._partialLine = aggregate.substring(lastIndex - this._baseIndex);\n\t\t\t\tthis._baseIndex = lastIndex;\n\t\t\t}\n\n\t\t\tif (results && results.data)\n\t\t\t\tthis._rowCount += results.data.length;\n\n\t\t\tvar finishedIncludingPreview = this._finished || (this._config.preview && this._rowCount >= this._config.preview);\n\n\t\t\tif (IS_PAPA_WORKER)\n\t\t\t{\n\t\t\t\tglobal.postMessage({\n\t\t\t\t\tresults: results,\n\t\t\t\t\tworkerId: Papa.WORKER_ID,\n\t\t\t\t\tfinished: finishedIncludingPreview\n\t\t\t\t});\n\t\t\t}\n\t\t\telse if (isFunction(this._config.chunk) && !isFakeChunk)\n\t\t\t{\n\t\t\t\tthis._config.chunk(results, this._handle);\n\t\t\t\tif (this._handle.paused() || this._handle.aborted()) {\n\t\t\t\t\tthis._halted = true;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tresults = undefined;\n\t\t\t\tthis._completeResults = undefined;\n\t\t\t}\n\n\t\t\tif (!this._config.step && !this._config.chunk) {\n\t\t\t\tthis._completeResults.data = this._completeResults.data.concat(results.data);\n\t\t\t\tthis._completeResults.errors = this._completeResults.errors.concat(results.errors);\n\t\t\t\tthis._completeResults.meta = results.meta;\n\t\t\t}\n\n\t\t\tif (!this._completed && finishedIncludingPreview && isFunction(this._config.complete) && (!results || !results.meta.aborted)) {\n\t\t\t\tthis._config.complete(this._completeResults, this._input);\n\t\t\t\tthis._completed = true;\n\t\t\t}\n\n\t\t\tif (!finishedIncludingPreview && (!results || !results.meta.paused))\n\t\t\t\tthis._nextChunk();\n\n\t\t\treturn results;\n\t\t};\n\n\t\tthis._sendError = function(error)\n\t\t{\n\t\t\tif (isFunction(this._config.error))\n\t\t\t\tthis._config.error(error);\n\t\t\telse if (IS_PAPA_WORKER && this._config.error)\n\t\t\t{\n\t\t\t\tglobal.postMessage({\n\t\t\t\t\tworkerId: Papa.WORKER_ID,\n\t\t\t\t\terror: error,\n\t\t\t\t\tfinished: false\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\n\t\tfunction replaceConfig(config)\n\t\t{\n\t\t\t// Deep-copy the config so we can edit it\n\t\t\tvar configCopy = copy(config);\n\t\t\tconfigCopy.chunkSize = parseInt(configCopy.chunkSize);\t// parseInt VERY important so we don't concatenate strings!\n\t\t\tif (!config.step && !config.chunk)\n\t\t\t\tconfigCopy.chunkSize = null; // disable Range header if not streaming; bad values break IIS - see issue #196\n\t\t\tthis._handle = new ParserHandle(configCopy);\n\t\t\tthis._handle.streamer = this;\n\t\t\tthis._config = configCopy;\t// persist the copy to the caller\n\t\t}\n\t}\n\n\n\tfunction NetworkStreamer(config)\n\t{\n\t\tconfig = config || {};\n\t\tif (!config.chunkSize)\n\t\t\tconfig.chunkSize = Papa.RemoteChunkSize;\n\t\tChunkStreamer.call(this, config);\n\n\t\tvar xhr;\n\n\t\tif (IS_WORKER)\n\t\t{\n\t\t\tthis._nextChunk = function()\n\t\t\t{\n\t\t\t\tthis._readChunk();\n\t\t\t\tthis._chunkLoaded();\n\t\t\t};\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis._nextChunk = function()\n\t\t\t{\n\t\t\t\tthis._readChunk();\n\t\t\t};\n\t\t}\n\n\t\tthis.stream = function(url)\n\t\t{\n\t\t\tthis._input = url;\n\t\t\tthis._nextChunk();\t// Starts streaming\n\t\t};\n\n\t\tthis._readChunk = function()\n\t\t{\n\t\t\tif (this._finished)\n\t\t\t{\n\t\t\t\tthis._chunkLoaded();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\txhr = new XMLHttpRequest();\n\n\t\t\tif (this._config.withCredentials)\n\t\t\t{\n\t\t\t\txhr.withCredentials = this._config.withCredentials;\n\t\t\t}\n\n\t\t\tif (!IS_WORKER)\n\t\t\t{\n\t\t\t\txhr.onload = bindFunction(this._chunkLoaded, this);\n\t\t\t\txhr.onerror = bindFunction(this._chunkError, this);\n\t\t\t}\n\n\t\t\txhr.open(this._config.downloadRequestBody ? 'POST' : 'GET', this._input, !IS_WORKER);\n\t\t\t// Headers can only be set when once the request state is OPENED\n\t\t\tif (this._config.downloadRequestHeaders)\n\t\t\t{\n\t\t\t\tvar headers = this._config.downloadRequestHeaders;\n\n\t\t\t\tfor (var headerName in headers)\n\t\t\t\t{\n\t\t\t\t\txhr.setRequestHeader(headerName, headers[headerName]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this._config.chunkSize)\n\t\t\t{\n\t\t\t\tvar end = this._start + this._config.chunkSize - 1;\t// minus one because byte range is inclusive\n\t\t\t\txhr.setRequestHeader('Range', 'bytes=' + this._start + '-' + end);\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\txhr.send(this._config.downloadRequestBody);\n\t\t\t}\n\t\t\tcatch (err) {\n\t\t\t\tthis._chunkError(err.message);\n\t\t\t}\n\n\t\t\tif (IS_WORKER && xhr.status === 0)\n\t\t\t\tthis._chunkError();\n\t\t};\n\n\t\tthis._chunkLoaded = function()\n\t\t{\n\t\t\tif (xhr.readyState !== 4)\n\t\t\t\treturn;\n\n\t\t\tif (xhr.status < 200 || xhr.status >= 400)\n\t\t\t{\n\t\t\t\tthis._chunkError();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Use chunckSize as it may be a diference on reponse lentgh due to characters with more than 1 byte\n\t\t\tthis._start += this._config.chunkSize ? this._config.chunkSize : xhr.responseText.length;\n\t\t\tthis._finished = !this._config.chunkSize || this._start >= getFileSize(xhr);\n\t\t\tthis.parseChunk(xhr.responseText);\n\t\t};\n\n\t\tthis._chunkError = function(errorMessage)\n\t\t{\n\t\t\tvar errorText = xhr.statusText || errorMessage;\n\t\t\tthis._sendError(new Error(errorText));\n\t\t};\n\n\t\tfunction getFileSize(xhr)\n\t\t{\n\t\t\tvar contentRange = xhr.getResponseHeader('Content-Range');\n\t\t\tif (contentRange === null) { // no content range, then finish!\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\treturn parseInt(contentRange.substring(contentRange.lastIndexOf('/') + 1));\n\t\t}\n\t}\n\tNetworkStreamer.prototype = Object.create(ChunkStreamer.prototype);\n\tNetworkStreamer.prototype.constructor = NetworkStreamer;\n\n\n\tfunction FileStreamer(config)\n\t{\n\t\tconfig = config || {};\n\t\tif (!config.chunkSize)\n\t\t\tconfig.chunkSize = Papa.LocalChunkSize;\n\t\tChunkStreamer.call(this, config);\n\n\t\tvar reader, slice;\n\n\t\t// FileReader is better than FileReaderSync (even in worker) - see http://stackoverflow.com/q/24708649/1048862\n\t\t// But Firefox is a pill, too - see issue #76: https://github.com/mholt/PapaParse/issues/76\n\t\tvar usingAsyncReader = typeof FileReader !== 'undefined';\t// Safari doesn't consider it a function - see issue #105\n\n\t\tthis.stream = function(file)\n\t\t{\n\t\t\tthis._input = file;\n\t\t\tslice = file.slice || file.webkitSlice || file.mozSlice;\n\n\t\t\tif (usingAsyncReader)\n\t\t\t{\n\t\t\t\treader = new FileReader();\t\t// Preferred method of reading files, even in workers\n\t\t\t\treader.onload = bindFunction(this._chunkLoaded, this);\n\t\t\t\treader.onerror = bindFunction(this._chunkError, this);\n\t\t\t}\n\t\t\telse\n\t\t\t\treader = new FileReaderSync();\t// Hack for running in a web worker in Firefox\n\n\t\t\tthis._nextChunk();\t// Starts streaming\n\t\t};\n\n\t\tthis._nextChunk = function()\n\t\t{\n\t\t\tif (!this._finished && (!this._config.preview || this._rowCount < this._config.preview))\n\t\t\t\tthis._readChunk();\n\t\t};\n\n\t\tthis._readChunk = function()\n\t\t{\n\t\t\tvar input = this._input;\n\t\t\tif (this._config.chunkSize)\n\t\t\t{\n\t\t\t\tvar end = Math.min(this._start + this._config.chunkSize, this._input.size);\n\t\t\t\tinput = slice.call(input, this._start, end);\n\t\t\t}\n\t\t\tvar txt = reader.readAsText(input, this._config.encoding);\n\t\t\tif (!usingAsyncReader)\n\t\t\t\tthis._chunkLoaded({ target: { result: txt } });\t// mimic the async signature\n\t\t};\n\n\t\tthis._chunkLoaded = function(event)\n\t\t{\n\t\t\t// Very important to increment start each time before handling results\n\t\t\tthis._start += this._config.chunkSize;\n\t\t\tthis._finished = !this._config.chunkSize || this._start >= this._input.size;\n\t\t\tthis.parseChunk(event.target.result);\n\t\t};\n\n\t\tthis._chunkError = function()\n\t\t{\n\t\t\tthis._sendError(reader.error);\n\t\t};\n\n\t}\n\tFileStreamer.prototype = Object.create(ChunkStreamer.prototype);\n\tFileStreamer.prototype.constructor = FileStreamer;\n\n\n\tfunction StringStreamer(config)\n\t{\n\t\tconfig = config || {};\n\t\tChunkStreamer.call(this, config);\n\n\t\tvar remaining;\n\t\tthis.stream = function(s)\n\t\t{\n\t\t\tremaining = s;\n\t\t\treturn this._nextChunk();\n\t\t};\n\t\tthis._nextChunk = function()\n\t\t{\n\t\t\tif (this._finished) return;\n\t\t\tvar size = this._config.chunkSize;\n\t\t\tvar chunk;\n\t\t\tif(size) {\n\t\t\t\tchunk = remaining.substring(0, size);\n\t\t\t\tremaining = remaining.substring(size);\n\t\t\t} else {\n\t\t\t\tchunk = remaining;\n\t\t\t\tremaining = '';\n\t\t\t}\n\t\t\tthis._finished = !remaining;\n\t\t\treturn this.parseChunk(chunk);\n\t\t};\n\t}\n\tStringStreamer.prototype = Object.create(StringStreamer.prototype);\n\tStringStreamer.prototype.constructor = StringStreamer;\n\n\n\tfunction ReadableStreamStreamer(config)\n\t{\n\t\tconfig = config || {};\n\n\t\tChunkStreamer.call(this, config);\n\n\t\tvar queue = [];\n\t\tvar parseOnData = true;\n\t\tvar streamHasEnded = false;\n\n\t\tthis.pause = function()\n\t\t{\n\t\t\tChunkStreamer.prototype.pause.apply(this, arguments);\n\t\t\tthis._input.pause();\n\t\t};\n\n\t\tthis.resume = function()\n\t\t{\n\t\t\tChunkStreamer.prototype.resume.apply(this, arguments);\n\t\t\tthis._input.resume();\n\t\t};\n\n\t\tthis.stream = function(stream)\n\t\t{\n\t\t\tthis._input = stream;\n\n\t\t\tthis._input.on('data', this._streamData);\n\t\t\tthis._input.on('end', this._streamEnd);\n\t\t\tthis._input.on('error', this._streamError);\n\t\t};\n\n\t\tthis._checkIsFinished = function()\n\t\t{\n\t\t\tif (streamHasEnded && queue.length === 1) {\n\t\t\t\tthis._finished = true;\n\t\t\t}\n\t\t};\n\n\t\tthis._nextChunk = function()\n\t\t{\n\t\t\tthis._checkIsFinished();\n\t\t\tif (queue.length)\n\t\t\t{\n\t\t\t\tthis.parseChunk(queue.shift());\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tparseOnData = true;\n\t\t\t}\n\t\t};\n\n\t\tthis._streamData = bindFunction(function(chunk)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tqueue.push(typeof chunk === 'string' ? chunk : chunk.toString(this._config.encoding));\n\n\t\t\t\tif (parseOnData)\n\t\t\t\t{\n\t\t\t\t\tparseOnData = false;\n\t\t\t\t\tthis._checkIsFinished();\n\t\t\t\t\tthis.parseChunk(queue.shift());\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch (error)\n\t\t\t{\n\t\t\t\tthis._streamError(error);\n\t\t\t}\n\t\t}, this);\n\n\t\tthis._streamError = bindFunction(function(error)\n\t\t{\n\t\t\tthis._streamCleanUp();\n\t\t\tthis._sendError(error);\n\t\t}, this);\n\n\t\tthis._streamEnd = bindFunction(function()\n\t\t{\n\t\t\tthis._streamCleanUp();\n\t\t\tstreamHasEnded = true;\n\t\t\tthis._streamData('');\n\t\t}, this);\n\n\t\tthis._streamCleanUp = bindFunction(function()\n\t\t{\n\t\t\tthis._input.removeListener('data', this._streamData);\n\t\t\tthis._input.removeListener('end', this._streamEnd);\n\t\t\tthis._input.removeListener('error', this._streamError);\n\t\t}, this);\n\t}\n\tReadableStreamStreamer.prototype = Object.create(ChunkStreamer.prototype);\n\tReadableStreamStreamer.prototype.constructor = ReadableStreamStreamer;\n\n\n\tfunction DuplexStreamStreamer(_config) {\n\t\tvar Duplex = require('stream').Duplex;\n\t\tvar config = copy(_config);\n\t\tvar parseOnWrite = true;\n\t\tvar writeStreamHasFinished = false;\n\t\tvar parseCallbackQueue = [];\n\t\tvar stream = null;\n\n\t\tthis._onCsvData = function(results)\n\t\t{\n\t\t\tvar data = results.data;\n\t\t\tif (!stream.push(data) && !this._handle.paused()) {\n\t\t\t\t// the writeable consumer buffer has filled up\n\t\t\t\t// so we need to pause until more items\n\t\t\t\t// can be processed\n\t\t\t\tthis._handle.pause();\n\t\t\t}\n\t\t};\n\n\t\tthis._onCsvComplete = function()\n\t\t{\n\t\t\t// node will finish the read stream when\n\t\t\t// null is pushed\n\t\t\tstream.push(null);\n\t\t};\n\n\t\tconfig.step = bindFunction(this._onCsvData, this);\n\t\tconfig.complete = bindFunction(this._onCsvComplete, this);\n\t\tChunkStreamer.call(this, config);\n\n\t\tthis._nextChunk = function()\n\t\t{\n\t\t\tif (writeStreamHasFinished && parseCallbackQueue.length === 1) {\n\t\t\t\tthis._finished = true;\n\t\t\t}\n\t\t\tif (parseCallbackQueue.length) {\n\t\t\t\tparseCallbackQueue.shift()();\n\t\t\t} else {\n\t\t\t\tparseOnWrite = true;\n\t\t\t}\n\t\t};\n\n\t\tthis._addToParseQueue = function(chunk, callback)\n\t\t{\n\t\t\t// add to queue so that we can indicate\n\t\t\t// completion via callback\n\t\t\t// node will automatically pause the incoming stream\n\t\t\t// when too many items have been added without their\n\t\t\t// callback being invoked\n\t\t\tparseCallbackQueue.push(bindFunction(function() {\n\t\t\t\tthis.parseChunk(typeof chunk === 'string' ? chunk : chunk.toString(config.encoding));\n\t\t\t\tif (isFunction(callback)) {\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\t\t\t}, this));\n\t\t\tif (parseOnWrite) {\n\t\t\t\tparseOnWrite = false;\n\t\t\t\tthis._nextChunk();\n\t\t\t}\n\t\t};\n\n\t\tthis._onRead = function()\n\t\t{\n\t\t\tif (this._handle.paused()) {\n\t\t\t\t// the writeable consumer can handle more data\n\t\t\t\t// so resume the chunk parsing\n\t\t\t\tthis._handle.resume();\n\t\t\t}\n\t\t};\n\n\t\tthis._onWrite = function(chunk, encoding, callback)\n\t\t{\n\t\t\tthis._addToParseQueue(chunk, callback);\n\t\t};\n\n\t\tthis._onWriteComplete = function()\n\t\t{\n\t\t\twriteStreamHasFinished = true;\n\t\t\t// have to write empty string\n\t\t\t// so parser knows its done\n\t\t\tthis._addToParseQueue('');\n\t\t};\n\n\t\tthis.getStream = function()\n\t\t{\n\t\t\treturn stream;\n\t\t};\n\t\tstream = new Duplex({\n\t\t\treadableObjectMode: true,\n\t\t\tdecodeStrings: false,\n\t\t\tread: bindFunction(this._onRead, this),\n\t\t\twrite: bindFunction(this._onWrite, this)\n\t\t});\n\t\tstream.once('finish', bindFunction(this._onWriteComplete, this));\n\t}\n\tif (typeof PAPA_BROWSER_CONTEXT === 'undefined') {\n\t\tDuplexStreamStreamer.prototype = Object.create(ChunkStreamer.prototype);\n\t\tDuplexStreamStreamer.prototype.constructor = DuplexStreamStreamer;\n\t}\n\n\n\t// Use one ParserHandle per entire CSV file or string\n\tfunction ParserHandle(_config)\n\t{\n\t\t// One goal is to minimize the use of regular expressions...\n\t\tvar MAX_FLOAT = Math.pow(2, 53);\n\t\tvar MIN_FLOAT = -MAX_FLOAT;\n\t\tvar FLOAT = /^\\s*-?(\\d+\\.?|\\.\\d+|\\d+\\.\\d+)([eE][-+]?\\d+)?\\s*$/;\n\t\tvar ISO_DATE = /^(\\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))$/;\n\t\tvar self = this;\n\t\tvar _stepCounter = 0;\t// Number of times step was called (number of rows parsed)\n\t\tvar _rowCounter = 0;\t// Number of rows that have been parsed so far\n\t\tvar _input;\t\t\t\t// The input being parsed\n\t\tvar _parser;\t\t\t// The core parser being used\n\t\tvar _paused = false;\t// Whether we are paused or not\n\t\tvar _aborted = false;\t// Whether the parser has aborted or not\n\t\tvar _delimiterError;\t// Temporary state between delimiter detection and processing results\n\t\tvar _fields = [];\t\t// Fields are from the header row of the input, if there is one\n\t\tvar _results = {\t\t// The last results returned from the parser\n\t\t\tdata: [],\n\t\t\terrors: [],\n\t\t\tmeta: {}\n\t\t};\n\n\t\tif (isFunction(_config.step))\n\t\t{\n\t\t\tvar userStep = _config.step;\n\t\t\t_config.step = function(results)\n\t\t\t{\n\t\t\t\t_results = results;\n\n\t\t\t\tif (needsHeaderRow())\n\t\t\t\t\tprocessResults();\n\t\t\t\telse\t// only call user's step function after header row\n\t\t\t\t{\n\t\t\t\t\tprocessResults();\n\n\t\t\t\t\t// It's possbile that this line was empty and there's no row here after all\n\t\t\t\t\tif (_results.data.length === 0)\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t_stepCounter += results.data.length;\n\t\t\t\t\tif (_config.preview && _stepCounter > _config.preview)\n\t\t\t\t\t\t_parser.abort();\n\t\t\t\t\telse {\n\t\t\t\t\t\t_results.data = _results.data[0];\n\t\t\t\t\t\tuserStep(_results, self);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\n\t\t/**\n\t\t * Parses input. Most users won't need, and shouldn't mess with, the baseIndex\n\t\t * and ignoreLastRow parameters. They are used by streamers (wrapper functions)\n\t\t * when an input comes in multiple chunks, like from a file.\n\t\t */\n\t\tthis.parse = function(input, baseIndex, ignoreLastRow)\n\t\t{\n\t\t\tvar quoteChar = _config.quoteChar || '\"';\n\t\t\tif (!_config.newline)\n\t\t\t\t_config.newline = guessLineEndings(input, quoteChar);\n\n\t\t\t_delimiterError = false;\n\t\t\tif (!_config.delimiter)\n\t\t\t{\n\t\t\t\tvar delimGuess = guessDelimiter(input, _config.newline, _config.skipEmptyLines, _config.comments, _config.delimitersToGuess);\n\t\t\t\tif (delimGuess.successful)\n\t\t\t\t\t_config.delimiter = delimGuess.bestDelimiter;\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\t_delimiterError = true;\t// add error after parsing (otherwise it would be overwritten)\n\t\t\t\t\t_config.delimiter = Papa.DefaultDelimiter;\n\t\t\t\t}\n\t\t\t\t_results.meta.delimiter = _config.delimiter;\n\t\t\t}\n\t\t\telse if(isFunction(_config.delimiter))\n\t\t\t{\n\t\t\t\t_config.delimiter = _config.delimiter(input);\n\t\t\t\t_results.meta.delimiter = _config.delimiter;\n\t\t\t}\n\n\t\t\tvar parserConfig = copy(_config);\n\t\t\tif (_config.preview && _config.header)\n\t\t\t\tparserConfig.preview++;\t// to compensate for header row\n\n\t\t\t_input = input;\n\t\t\t_parser = new Parser(parserConfig);\n\t\t\t_results = _parser.parse(_input, baseIndex, ignoreLastRow);\n\t\t\tprocessResults();\n\t\t\treturn _paused ? { meta: { paused: true } } : (_results || { meta: { paused: false } });\n\t\t};\n\n\t\tthis.paused = function()\n\t\t{\n\t\t\treturn _paused;\n\t\t};\n\n\t\tthis.pause = function()\n\t\t{\n\t\t\t_paused = true;\n\t\t\t_parser.abort();\n\n\t\t\t// If it is streaming via \"chunking\", the reader will start appending correctly already so no need to substring,\n\t\t\t// otherwise we can get duplicate content within a row\n\t\t\t_input = isFunction(_config.chunk) ? \"\" : _input.substring(_parser.getCharIndex());\n\t\t};\n\n\t\tthis.resume = function()\n\t\t{\n\t\t\tif(self.streamer._halted) {\n\t\t\t\t_paused = false;\n\t\t\t\tself.streamer.parseChunk(_input, true);\n\t\t\t} else {\n\t\t\t\t// Bugfix: #636 In case the processing hasn't halted yet\n\t\t\t\t// wait for it to halt in order to resume\n\t\t\t\tsetTimeout(self.resume, 3);\n\t\t\t}\n\t\t};\n\n\t\tthis.aborted = function()\n\t\t{\n\t\t\treturn _aborted;\n\t\t};\n\n\t\tthis.abort = function()\n\t\t{\n\t\t\t_aborted = true;\n\t\t\t_parser.abort();\n\t\t\t_results.meta.aborted = true;\n\t\t\tif (isFunction(_config.complete))\n\t\t\t\t_config.complete(_results);\n\t\t\t_input = '';\n\t\t};\n\n\t\tfunction testEmptyLine(s) {\n\t\t\treturn _config.skipEmptyLines === 'greedy' ? s.join('').trim() === '' : s.length === 1 && s[0].length === 0;\n\t\t}\n\n\t\tfunction testFloat(s) {\n\t\t\tif (FLOAT.test(s)) {\n\t\t\t\tvar floatValue = parseFloat(s);\n\t\t\t\tif (floatValue > MIN_FLOAT && floatValue < MAX_FLOAT) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\n\t\tfunction processResults()\n\t\t{\n\t\t\tif (_results && _delimiterError)\n\t\t\t{\n\t\t\t\taddError('Delimiter', 'UndetectableDelimiter', 'Unable to auto-detect delimiting character; defaulted to \\'' + Papa.DefaultDelimiter + '\\'');\n\t\t\t\t_delimiterError = false;\n\t\t\t}\n\n\t\t\tif (_config.skipEmptyLines)\n\t\t\t{\n\t\t\t\t_results.data = _results.data.filter(function(d) {\n\t\t\t\t\treturn !testEmptyLine(d);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (needsHeaderRow())\n\t\t\t\tfillHeaderFields();\n\n\t\t\treturn applyHeaderAndDynamicTypingAndTransformation();\n\t\t}\n\n\t\tfunction needsHeaderRow()\n\t\t{\n\t\t\treturn _config.header && _fields.length === 0;\n\t\t}\n\n\t\tfunction fillHeaderFields()\n\t\t{\n\t\t\tif (!_results)\n\t\t\t\treturn;\n\n\t\t\tfunction addHeader(header, i)\n\t\t\t{\n\t\t\t\tif (isFunction(_config.transformHeader))\n\t\t\t\t\theader = _config.transformHeader(header, i);\n\n\t\t\t\t_fields.push(header);\n\t\t\t}\n\n\t\t\tif (Array.isArray(_results.data[0]))\n\t\t\t{\n\t\t\t\tfor (var i = 0; needsHeaderRow() && i < _results.data.length; i++)\n\t\t\t\t\t_results.data[i].forEach(addHeader);\n\n\t\t\t\t_results.data.splice(0, 1);\n\t\t\t}\n\t\t\t// if _results.data[0] is not an array, we are in a step where _results.data is the row.\n\t\t\telse\n\t\t\t\t_results.data.forEach(addHeader);\n\t\t}\n\n\t\tfunction shouldApplyDynamicTyping(field) {\n\t\t\t// Cache function values to avoid calling it for each row\n\t\t\tif (_config.dynamicTypingFunction && _config.dynamicTyping[field] === undefined) {\n\t\t\t\t_config.dynamicTyping[field] = _config.dynamicTypingFunction(field);\n\t\t\t}\n\t\t\treturn (_config.dynamicTyping[field] || _config.dynamicTyping) === true;\n\t\t}\n\n\t\tfunction parseDynamic(field, value)\n\t\t{\n\t\t\tif (shouldApplyDynamicTyping(field))\n\t\t\t{\n\t\t\t\tif (value === 'true' || value === 'TRUE')\n\t\t\t\t\treturn true;\n\t\t\t\telse if (value === 'false' || value === 'FALSE')\n\t\t\t\t\treturn false;\n\t\t\t\telse if (testFloat(value))\n\t\t\t\t\treturn parseFloat(value);\n\t\t\t\telse if (ISO_DATE.test(value))\n\t\t\t\t\treturn new Date(value);\n\t\t\t\telse\n\t\t\t\t\treturn (value === '' ? null : value);\n\t\t\t}\n\t\t\treturn value;\n\t\t}\n\n\t\tfunction applyHeaderAndDynamicTypingAndTransformation()\n\t\t{\n\t\t\tif (!_results || (!_config.header && !_config.dynamicTyping && !_config.transform))\n\t\t\t\treturn _results;\n\n\t\t\tfunction processRow(rowSource, i)\n\t\t\t{\n\t\t\t\tvar row = _config.header ? {} : [];\n\n\t\t\t\tvar j;\n\t\t\t\tfor (j = 0; j < rowSource.length; j++)\n\t\t\t\t{\n\t\t\t\t\tvar field = j;\n\t\t\t\t\tvar value = rowSource[j];\n\n\t\t\t\t\tif (_config.header)\n\t\t\t\t\t\tfield = j >= _fields.length ? '__parsed_extra' : _fields[j];\n\n\t\t\t\t\tif (_config.transform)\n\t\t\t\t\t\tvalue = _config.transform(value,field);\n\n\t\t\t\t\tvalue = parseDynamic(field, value);\n\n\t\t\t\t\tif (field === '__parsed_extra')\n\t\t\t\t\t{\n\t\t\t\t\t\trow[field] = row[field] || [];\n\t\t\t\t\t\trow[field].push(value);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t\trow[field] = value;\n\t\t\t\t}\n\n\n\t\t\t\tif (_config.header)\n\t\t\t\t{\n\t\t\t\t\tif (j > _fields.length)\n\t\t\t\t\t\taddError('FieldMismatch', 'TooManyFields', 'Too many fields: expected ' + _fields.length + ' fields but parsed ' + j, _rowCounter + i);\n\t\t\t\t\telse if (j < _fields.length)\n\t\t\t\t\t\taddError('FieldMismatch', 'TooFewFields', 'Too few fields: expected ' + _fields.length + ' fields but parsed ' + j, _rowCounter + i);\n\t\t\t\t}\n\n\t\t\t\treturn row;\n\t\t\t}\n\n\t\t\tvar incrementBy = 1;\n\t\t\tif (!_results.data.length || Array.isArray(_results.data[0]))\n\t\t\t{\n\t\t\t\t_results.data = _results.data.map(processRow);\n\t\t\t\tincrementBy = _results.data.length;\n\t\t\t}\n\t\t\telse\n\t\t\t\t_results.data = processRow(_results.data, 0);\n\n\n\t\t\tif (_config.header && _results.meta)\n\t\t\t\t_results.meta.fields = _fields;\n\n\t\t\t_rowCounter += incrementBy;\n\t\t\treturn _results;\n\t\t}\n\n\t\tfunction guessDelimiter(input, newline, skipEmptyLines, comments, delimitersToGuess) {\n\t\t\tvar bestDelim, bestDelta, fieldCountPrevRow, maxFieldCount;\n\n\t\t\tdelimitersToGuess = delimitersToGuess || [',', '\\t', '|', ';', Papa.RECORD_SEP, Papa.UNIT_SEP];\n\n\t\t\tfor (var i = 0; i < delimitersToGuess.length; i++) {\n\t\t\t\tvar delim = delimitersToGuess[i];\n\t\t\t\tvar delta = 0, avgFieldCount = 0, emptyLinesCount = 0;\n\t\t\t\tfieldCountPrevRow = undefined;\n\n\t\t\t\tvar preview = new Parser({\n\t\t\t\t\tcomments: comments,\n\t\t\t\t\tdelimiter: delim,\n\t\t\t\t\tnewline: newline,\n\t\t\t\t\tpreview: 10\n\t\t\t\t}).parse(input);\n\n\t\t\t\tfor (var j = 0; j < preview.data.length; j++) {\n\t\t\t\t\tif (skipEmptyLines && testEmptyLine(preview.data[j])) {\n\t\t\t\t\t\temptyLinesCount++;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tvar fieldCount = preview.data[j].length;\n\t\t\t\t\tavgFieldCount += fieldCount;\n\n\t\t\t\t\tif (typeof fieldCountPrevRow === 'undefined') {\n\t\t\t\t\t\tfieldCountPrevRow = fieldCount;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\telse if (fieldCount > 0) {\n\t\t\t\t\t\tdelta += Math.abs(fieldCount - fieldCountPrevRow);\n\t\t\t\t\t\tfieldCountPrevRow = fieldCount;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (preview.data.length > 0)\n\t\t\t\t\tavgFieldCount /= (preview.data.length - emptyLinesCount);\n\n\t\t\t\tif ((typeof bestDelta === 'undefined' || delta <= bestDelta)\n\t\t\t\t\t&& (typeof maxFieldCount === 'undefined' || avgFieldCount > maxFieldCount) && avgFieldCount > 1.99) {\n\t\t\t\t\tbestDelta = delta;\n\t\t\t\t\tbestDelim = delim;\n\t\t\t\t\tmaxFieldCount = avgFieldCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t_config.delimiter = bestDelim;\n\n\t\t\treturn {\n\t\t\t\tsuccessful: !!bestDelim,\n\t\t\t\tbestDelimiter: bestDelim\n\t\t\t};\n\t\t}\n\n\t\tfunction guessLineEndings(input, quoteChar)\n\t\t{\n\t\t\tinput = input.substring(0, 1024 * 1024);\t// max length 1 MB\n\t\t\t// Replace all the text inside quotes\n\t\t\tvar re = new RegExp(escapeRegExp(quoteChar) + '([^]*?)' + escapeRegExp(quoteChar), 'gm');\n\t\t\tinput = input.replace(re, '');\n\n\t\t\tvar r = input.split('\\r');\n\n\t\t\tvar n = input.split('\\n');\n\n\t\t\tvar nAppearsFirst = (n.length > 1 && n[0].length < r[0].length);\n\n\t\t\tif (r.length === 1 || nAppearsFirst)\n\t\t\t\treturn '\\n';\n\n\t\t\tvar numWithN = 0;\n\t\t\tfor (var i = 0; i < r.length; i++)\n\t\t\t{\n\t\t\t\tif (r[i][0] === '\\n')\n\t\t\t\t\tnumWithN++;\n\t\t\t}\n\n\t\t\treturn numWithN >= r.length / 2 ? '\\r\\n' : '\\r';\n\t\t}\n\n\t\tfunction addError(type, code, msg, row)\n\t\t{\n\t\t\tvar error = {\n\t\t\t\ttype: type,\n\t\t\t\tcode: code,\n\t\t\t\tmessage: msg\n\t\t\t};\n\t\t\tif(row !== undefined) {\n\t\t\t\terror.row = row;\n\t\t\t}\n\t\t\t_results.errors.push(error);\n\t\t}\n\t}\n\n\t/** https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions */\n\tfunction escapeRegExp(string)\n\t{\n\t\treturn string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\n\t}\n\n\t/** The core parser implements speedy and correct CSV parsing */\n\tfunction Parser(config)\n\t{\n\t\t// Unpack the config object\n\t\tconfig = config || {};\n\t\tvar delim = config.delimiter;\n\t\tvar newline = config.newline;\n\t\tvar comments = config.comments;\n\t\tvar step = config.step;\n\t\tvar preview = config.preview;\n\t\tvar fastMode = config.fastMode;\n\t\tvar quoteChar;\n\t\tif (config.quoteChar === undefined || config.quoteChar === null) {\n\t\t\tquoteChar = '\"';\n\t\t} else {\n\t\t\tquoteChar = config.quoteChar;\n\t\t}\n\t\tvar escapeChar = quoteChar;\n\t\tif (config.escapeChar !== undefined) {\n\t\t\tescapeChar = config.escapeChar;\n\t\t}\n\n\t\t// Delimiter must be valid\n\t\tif (typeof delim !== 'string'\n\t\t\t|| Papa.BAD_DELIMITERS.indexOf(delim) > -1)\n\t\t\tdelim = ',';\n\n\t\t// Comment character must be valid\n\t\tif (comments === delim)\n\t\t\tthrow new Error('Comment character same as delimiter');\n\t\telse if (comments === true)\n\t\t\tcomments = '#';\n\t\telse if (typeof comments !== 'string'\n\t\t\t|| Papa.BAD_DELIMITERS.indexOf(comments) > -1)\n\t\t\tcomments = false;\n\n\t\t// Newline must be valid: \\r, \\n, or \\r\\n\n\t\tif (newline !== '\\n' && newline !== '\\r' && newline !== '\\r\\n')\n\t\t\tnewline = '\\n';\n\n\t\t// We're gonna need these at the Parser scope\n\t\tvar cursor = 0;\n\t\tvar aborted = false;\n\n\t\tthis.parse = function(input, baseIndex, ignoreLastRow)\n\t\t{\n\t\t\t// For some reason, in Chrome, this speeds things up (!?)\n\t\t\tif (typeof input !== 'string')\n\t\t\t\tthrow new Error('Input must be a string');\n\n\t\t\t// We don't need to compute some of these every time parse() is called,\n\t\t\t// but having them in a more local scope seems to perform better\n\t\t\tvar inputLen = input.length,\n\t\t\t\tdelimLen = delim.length,\n\t\t\t\tnewlineLen = newline.length,\n\t\t\t\tcommentsLen = comments.length;\n\t\t\tvar stepIsFunction = isFunction(step);\n\n\t\t\t// Establish starting state\n\t\t\tcursor = 0;\n\t\t\tvar data = [], errors = [], row = [], lastCursor = 0;\n\n\t\t\tif (!input)\n\t\t\t\treturn returnable();\n\n\t\t\tif (fastMode || (fastMode !== false && input.indexOf(quoteChar) === -1))\n\t\t\t{\n\t\t\t\tvar rows = input.split(newline);\n\t\t\t\tfor (var i = 0; i < rows.length; i++)\n\t\t\t\t{\n\t\t\t\t\trow = rows[i];\n\t\t\t\t\tcursor += row.length;\n\t\t\t\t\tif (i !== rows.length - 1)\n\t\t\t\t\t\tcursor += newline.length;\n\t\t\t\t\telse if (ignoreLastRow)\n\t\t\t\t\t\treturn returnable();\n\t\t\t\t\tif (comments && row.substring(0, commentsLen) === comments)\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\tif (stepIsFunction)\n\t\t\t\t\t{\n\t\t\t\t\t\tdata = [];\n\t\t\t\t\t\tpushRow(row.split(delim));\n\t\t\t\t\t\tdoStep();\n\t\t\t\t\t\tif (aborted)\n\t\t\t\t\t\t\treturn returnable();\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t\tpushRow(row.split(delim));\n\t\t\t\t\tif (preview && i >= preview)\n\t\t\t\t\t{\n\t\t\t\t\t\tdata = data.slice(0, preview);\n\t\t\t\t\t\treturn returnable(true);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn returnable();\n\t\t\t}\n\n\t\t\tvar nextDelim = input.indexOf(delim, cursor);\n\t\t\tvar nextNewline = input.indexOf(newline, cursor);\n\t\t\tvar quoteCharRegex = new RegExp(escapeRegExp(escapeChar) + escapeRegExp(quoteChar), 'g');\n\t\t\tvar quoteSearch = input.indexOf(quoteChar, cursor);\n\n\t\t\t// Parser loop\n\t\t\tfor (;;)\n\t\t\t{\n\t\t\t\t// Field has opening quote\n\t\t\t\tif (input[cursor] === quoteChar)\n\t\t\t\t{\n\t\t\t\t\t// Start our search for the closing quote where the cursor is\n\t\t\t\t\tquoteSearch = cursor;\n\n\t\t\t\t\t// Skip the opening quote\n\t\t\t\t\tcursor++;\n\n\t\t\t\t\tfor (;;)\n\t\t\t\t\t{\n\t\t\t\t\t\t// Find closing quote\n\t\t\t\t\t\tquoteSearch = input.indexOf(quoteChar, quoteSearch + 1);\n\n\t\t\t\t\t\t//No other quotes are found - no other delimiters\n\t\t\t\t\t\tif (quoteSearch === -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (!ignoreLastRow) {\n\t\t\t\t\t\t\t\t// No closing quote... what a pity\n\t\t\t\t\t\t\t\terrors.push({\n\t\t\t\t\t\t\t\t\ttype: 'Quotes',\n\t\t\t\t\t\t\t\t\tcode: 'MissingQuotes',\n\t\t\t\t\t\t\t\t\tmessage: 'Quoted field unterminated',\n\t\t\t\t\t\t\t\t\trow: data.length,\t// row has yet to be inserted\n\t\t\t\t\t\t\t\t\tindex: cursor\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn finish();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Closing quote at EOF\n\t\t\t\t\t\tif (quoteSearch === inputLen - 1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvar value = input.substring(cursor, quoteSearch).replace(quoteCharRegex, quoteChar);\n\t\t\t\t\t\t\treturn finish(value);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// If this quote is escaped, it's part of the data; skip it\n\t\t\t\t\t\t// If the quote character is the escape character, then check if the next character is the escape character\n\t\t\t\t\t\tif (quoteChar === escapeChar && input[quoteSearch + 1] === escapeChar)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tquoteSearch++;\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// If the quote character is not the escape character, then check if the previous character was the escape character\n\t\t\t\t\t\tif (quoteChar !== escapeChar && quoteSearch !== 0 && input[quoteSearch - 1] === escapeChar)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(nextDelim !== -1 && nextDelim < (quoteSearch + 1)) {\n\t\t\t\t\t\t\tnextDelim = input.indexOf(delim, (quoteSearch + 1));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(nextNewline !== -1 && nextNewline < (quoteSearch + 1)) {\n\t\t\t\t\t\t\tnextNewline = input.indexOf(newline, (quoteSearch + 1));\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Check up to nextDelim or nextNewline, whichever is closest\n\t\t\t\t\t\tvar checkUpTo = nextNewline === -1 ? nextDelim : Math.min(nextDelim, nextNewline);\n\t\t\t\t\t\tvar spacesBetweenQuoteAndDelimiter = extraSpaces(checkUpTo);\n\n\t\t\t\t\t\t// Closing quote followed by delimiter or 'unnecessary spaces + delimiter'\n\t\t\t\t\t\tif (input.substr(quoteSearch + 1 + spacesBetweenQuoteAndDelimiter, delimLen) === delim)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\trow.push(input.substring(cursor, quoteSearch).replace(quoteCharRegex, quoteChar));\n\t\t\t\t\t\t\tcursor = quoteSearch + 1 + spacesBetweenQuoteAndDelimiter + delimLen;\n\n\t\t\t\t\t\t\t// If char after following delimiter is not quoteChar, we find next quote char position\n\t\t\t\t\t\t\tif (input[quoteSearch + 1 + spacesBetweenQuoteAndDelimiter + delimLen] !== quoteChar)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tquoteSearch = input.indexOf(quoteChar, cursor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tnextDelim = input.indexOf(delim, cursor);\n\t\t\t\t\t\t\tnextNewline = input.indexOf(newline, cursor);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar spacesBetweenQuoteAndNewLine = extraSpaces(nextNewline);\n\n\t\t\t\t\t\t// Closing quote followed by newline or 'unnecessary spaces + newLine'\n\t\t\t\t\t\tif (input.substring(quoteSearch + 1 + spacesBetweenQuoteAndNewLine, quoteSearch + 1 + spacesBetweenQuoteAndNewLine + newlineLen) === newline)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\trow.push(input.substring(cursor, quoteSearch).replace(quoteCharRegex, quoteChar));\n\t\t\t\t\t\t\tsaveRow(quoteSearch + 1 + spacesBetweenQuoteAndNewLine + newlineLen);\n\t\t\t\t\t\t\tnextDelim = input.indexOf(delim, cursor);\t// because we may have skipped the nextDelim in the quoted field\n\t\t\t\t\t\t\tquoteSearch = input.indexOf(quoteChar, cursor);\t// we search for first quote in next line\n\n\t\t\t\t\t\t\tif (stepIsFunction)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdoStep();\n\t\t\t\t\t\t\t\tif (aborted)\n\t\t\t\t\t\t\t\t\treturn returnable();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (preview && data.length >= preview)\n\t\t\t\t\t\t\t\treturn returnable(true);\n\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t\t// Checks for valid closing quotes are complete (escaped quotes or quote followed by EOF/delimiter/newline) -- assume these quotes are part of an invalid text string\n\t\t\t\t\t\terrors.push({\n\t\t\t\t\t\t\ttype: 'Quotes',\n\t\t\t\t\t\t\tcode: 'InvalidQuotes',\n\t\t\t\t\t\t\tmessage: 'Trailing quote on quoted field is malformed',\n\t\t\t\t\t\t\trow: data.length,\t// row has yet to be inserted\n\t\t\t\t\t\t\tindex: cursor\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tquoteSearch++;\n\t\t\t\t\t\tcontinue;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Comment found at start of new line\n\t\t\t\tif (comments && row.length === 0 && input.substring(cursor, cursor + commentsLen) === comments)\n\t\t\t\t{\n\t\t\t\t\tif (nextNewline === -1)\t// Comment ends at EOF\n\t\t\t\t\t\treturn returnable();\n\t\t\t\t\tcursor = nextNewline + newlineLen;\n\t\t\t\t\tnextNewline = input.indexOf(newline, cursor);\n\t\t\t\t\tnextDelim = input.indexOf(delim, cursor);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Next delimiter comes before next newline, so we've reached end of field\n\t\t\t\tif (nextDelim !== -1 && (nextDelim < nextNewline || nextNewline === -1))\n\t\t\t\t{\n\t\t\t\t\trow.push(input.substring(cursor, nextDelim));\n\t\t\t\t\tcursor = nextDelim + delimLen;\n\t\t\t\t\t// we look for next delimiter char\n\t\t\t\t\tnextDelim = input.indexOf(delim, cursor);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// End of row\n\t\t\t\tif (nextNewline !== -1)\n\t\t\t\t{\n\t\t\t\t\trow.push(input.substring(cursor, nextNewline));\n\t\t\t\t\tsaveRow(nextNewline + newlineLen);\n\n\t\t\t\t\tif (stepIsFunction)\n\t\t\t\t\t{\n\t\t\t\t\t\tdoStep();\n\t\t\t\t\t\tif (aborted)\n\t\t\t\t\t\t\treturn returnable();\n\t\t\t\t\t}\n\n\t\t\t\t\tif (preview && data.length >= preview)\n\t\t\t\t\t\treturn returnable(true);\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t\treturn finish();\n\n\n\t\t\tfunction pushRow(row)\n\t\t\t{\n\t\t\t\tdata.push(row);\n\t\t\t\tlastCursor = cursor;\n\t\t\t}\n\n\t\t\t/**\n * checks if there are extra spaces after closing quote and given index without any text\n * if Yes, returns the number of spaces\n */\n\t\t\tfunction extraSpaces(index) {\n\t\t\t\tvar spaceLength = 0;\n\t\t\t\tif (index !== -1) {\n\t\t\t\t\tvar textBetweenClosingQuoteAndIndex = input.substring(quoteSearch + 1, index);\n\t\t\t\t\tif (textBetweenClosingQuoteAndIndex && textBetweenClosingQuoteAndIndex.trim() === '') {\n\t\t\t\t\t\tspaceLength = textBetweenClosingQuoteAndIndex.length;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn spaceLength;\n\t\t\t}\n\n\t\t\t/**\n\t\t\t * Appends the remaining input from cursor to the end into\n\t\t\t * row, saves the row, calls step, and returns the results.\n\t\t\t */\n\t\t\tfunction finish(value)\n\t\t\t{\n\t\t\t\tif (ignoreLastRow)\n\t\t\t\t\treturn returnable();\n\t\t\t\tif (typeof value === 'undefined')\n\t\t\t\t\tvalue = input.substring(cursor);\n\t\t\t\trow.push(value);\n\t\t\t\tcursor = inputLen;\t// important in case parsing is paused\n\t\t\t\tpushRow(row);\n\t\t\t\tif (stepIsFunction)\n\t\t\t\t\tdoStep();\n\t\t\t\treturn returnable();\n\t\t\t}\n\n\t\t\t/**\n\t\t\t * Appends the current row to the results. It sets the cursor\n\t\t\t * to newCursor and finds the nextNewline. The caller should\n\t\t\t * take care to execute user's step function and check for\n\t\t\t * preview and end parsing if necessary.\n\t\t\t */\n\t\t\tfunction saveRow(newCursor)\n\t\t\t{\n\t\t\t\tcursor = newCursor;\n\t\t\t\tpushRow(row);\n\t\t\t\trow = [];\n\t\t\t\tnextNewline = input.indexOf(newline, cursor);\n\t\t\t}\n\n\t\t\t/** Returns an object with the results, errors, and meta. */\n\t\t\tfunction returnable(stopped)\n\t\t\t{\n\t\t\t\treturn {\n\t\t\t\t\tdata: data,\n\t\t\t\t\terrors: errors,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tdelimiter: delim,\n\t\t\t\t\t\tlinebreak: newline,\n\t\t\t\t\t\taborted: aborted,\n\t\t\t\t\t\ttruncated: !!stopped,\n\t\t\t\t\t\tcursor: lastCursor + (baseIndex || 0)\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t/** Executes the user's step function and resets data & errors. */\n\t\t\tfunction doStep()\n\t\t\t{\n\t\t\t\tstep(returnable());\n\t\t\t\tdata = [];\n\t\t\t\terrors = [];\n\t\t\t}\n\t\t};\n\n\t\t/** Sets the abort flag */\n\t\tthis.abort = function()\n\t\t{\n\t\t\taborted = true;\n\t\t};\n\n\t\t/** Gets the cursor position */\n\t\tthis.getCharIndex = function()\n\t\t{\n\t\t\treturn cursor;\n\t\t};\n\t}\n\n\n\tfunction newWorker()\n\t{\n\t\tif (!Papa.WORKERS_SUPPORTED)\n\t\t\treturn false;\n\n\t\tvar workerUrl = getWorkerBlob();\n\t\tvar w = new global.Worker(workerUrl);\n\t\tw.onmessage = mainThreadReceivedMessage;\n\t\tw.id = workerIdCounter++;\n\t\tworkers[w.id] = w;\n\t\treturn w;\n\t}\n\n\t/** Callback when main thread receives a message */\n\tfunction mainThreadReceivedMessage(e)\n\t{\n\t\tvar msg = e.data;\n\t\tvar worker = workers[msg.workerId];\n\t\tvar aborted = false;\n\n\t\tif (msg.error)\n\t\t\tworker.userError(msg.error, msg.file);\n\t\telse if (msg.results && msg.results.data)\n\t\t{\n\t\t\tvar abort = function() {\n\t\t\t\taborted = true;\n\t\t\t\tcompleteWorker(msg.workerId, { data: [], errors: [], meta: { aborted: true } });\n\t\t\t};\n\n\t\t\tvar handle = {\n\t\t\t\tabort: abort,\n\t\t\t\tpause: notImplemented,\n\t\t\t\tresume: notImplemented\n\t\t\t};\n\n\t\t\tif (isFunction(worker.userStep))\n\t\t\t{\n\t\t\t\tfor (var i = 0; i < msg.results.data.length; i++)\n\t\t\t\t{\n\t\t\t\t\tworker.userStep({\n\t\t\t\t\t\tdata: msg.results.data[i],\n\t\t\t\t\t\terrors: msg.results.errors,\n\t\t\t\t\t\tmeta: msg.results.meta\n\t\t\t\t\t}, handle);\n\t\t\t\t\tif (aborted)\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tdelete msg.results;\t// free memory ASAP\n\t\t\t}\n\t\t\telse if (isFunction(worker.userChunk))\n\t\t\t{\n\t\t\t\tworker.userChunk(msg.results, handle, msg.file);\n\t\t\t\tdelete msg.results;\n\t\t\t}\n\t\t}\n\n\t\tif (msg.finished && !aborted)\n\t\t\tcompleteWorker(msg.workerId, msg.results);\n\t}\n\n\tfunction completeWorker(workerId, results) {\n\t\tvar worker = workers[workerId];\n\t\tif (isFunction(worker.userComplete))\n\t\t\tworker.userComplete(results);\n\t\tworker.terminate();\n\t\tdelete workers[workerId];\n\t}\n\n\tfunction notImplemented() {\n\t\tthrow new Error('Not implemented.');\n\t}\n\n\t/** Callback when worker thread receives a message */\n\tfunction workerThreadReceivedMessage(e)\n\t{\n\t\tvar msg = e.data;\n\n\t\tif (typeof Papa.WORKER_ID === 'undefined' && msg)\n\t\t\tPapa.WORKER_ID = msg.workerId;\n\n\t\tif (typeof msg.input === 'string')\n\t\t{\n\t\t\tglobal.postMessage({\n\t\t\t\tworkerId: Papa.WORKER_ID,\n\t\t\t\tresults: Papa.parse(msg.input, msg.config),\n\t\t\t\tfinished: true\n\t\t\t});\n\t\t}\n\t\telse if ((global.File && msg.input instanceof File) || msg.input instanceof Object)\t// thank you, Safari (see issue #106)\n\t\t{\n\t\t\tvar results = Papa.parse(msg.input, msg.config);\n\t\t\tif (results)\n\t\t\t\tglobal.postMessage({\n\t\t\t\t\tworkerId: Papa.WORKER_ID,\n\t\t\t\t\tresults: results,\n\t\t\t\t\tfinished: true\n\t\t\t\t});\n\t\t}\n\t}\n\n\t/** Makes a deep copy of an array or object (mostly) */\n\tfunction copy(obj)\n\t{\n\t\tif (typeof obj !== 'object' || obj === null)\n\t\t\treturn obj;\n\t\tvar cpy = Array.isArray(obj) ? [] : {};\n\t\tfor (var key in obj)\n\t\t\tcpy[key] = copy(obj[key]);\n\t\treturn cpy;\n\t}\n\n\tfunction bindFunction(f, self)\n\t{\n\t\treturn function() { f.apply(self, arguments); };\n\t}\n\n\tfunction isFunction(func)\n\t{\n\t\treturn typeof func === 'function';\n\t}\n\n\treturn Papa;\n}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.csv = void 0;\nconst extra_fetch_1 = require(\"extra-fetch\");\nconst papaparse_1 = require(\"papaparse\");\nconst prelude_1 = require(\"@blackglory/prelude\");\nfunction csv(payload) {\n (0, prelude_1.assert)(payload.length > 0, 'payload must be a non-empty array');\n return (options) => {\n const headers = new extra_fetch_1.Headers(options.headers);\n headers.set('Content-Type', 'text/csv');\n return {\n ...options,\n headers,\n payload: stringify(payload)\n };\n };\n}\nexports.csv = csv;\nfunction stringify(data) {\n const fields = Object.keys(data[0]);\n return (0, papaparse_1.unparse)({ data, fields });\n}\n//# sourceMappingURL=csv.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.signal = void 0;\nfunction signal(signal) {\n return (options) => {\n return {\n ...options,\n signal\n };\n };\n}\nexports.signal = signal;\n//# sourceMappingURL=signal.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.header = void 0;\nconst extra_fetch_1 = require(\"extra-fetch\");\nfunction header(name, value) {\n return (options) => {\n const headers = new extra_fetch_1.Headers(options.headers);\n headers.set(name, value);\n return {\n ...options,\n headers\n };\n };\n}\nexports.header = header;\n//# sourceMappingURL=header.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.appendHeader = void 0;\nconst extra_fetch_1 = require(\"extra-fetch\");\nfunction appendHeader(name, value) {\n return (options) => {\n const headers = new extra_fetch_1.Headers(options.headers);\n headers.append(name, value);\n return {\n ...options,\n headers\n };\n };\n}\nexports.appendHeader = appendHeader;\n//# sourceMappingURL=append-header.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.headers = void 0;\nconst extra_fetch_1 = require(\"extra-fetch\");\nfunction headers(headers) {\n return (options) => {\n const newHeaders = new extra_fetch_1.Headers(options.headers);\n for (const [name, value] of Object.entries(headers)) {\n newHeaders.set(name, value);\n }\n return {\n ...options,\n headers: newHeaders\n };\n };\n}\nexports.headers = headers;\n//# sourceMappingURL=headers.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.accept = void 0;\nconst append_header_1 = require(\"./append-header\");\nfunction accept(accept) {\n return (0, append_header_1.appendHeader)('Accept', accept);\n}\nexports.accept = accept;\n//# sourceMappingURL=accept.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.host = void 0;\nfunction host(host) {\n return (options) => {\n const url = new URL(options.url.href);\n url.host = host;\n return {\n ...options,\n url\n };\n };\n}\nexports.host = host;\n//# sourceMappingURL=host.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.port = void 0;\nfunction port(port) {\n return (options) => {\n const url = new URL(options.url.href);\n url.port = port.toString();\n return {\n ...options,\n url\n };\n };\n}\nexports.port = port;\n//# sourceMappingURL=port.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.pathname = void 0;\nfunction pathname(pathname) {\n return (options) => {\n const url = new URL(options.url.href);\n url.pathname = pathname;\n return {\n ...options,\n url\n };\n };\n}\nexports.pathname = pathname;\n//# sourceMappingURL=pathname.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.appendPathname = void 0;\nconst prelude_1 = require(\"@blackglory/prelude\");\nfunction appendPathname(pathname) {\n return (options) => {\n const base = (0, prelude_1.go)(() => {\n const url = new URL(options.url.href);\n url.pathname = url.pathname.endsWith('/')\n ? url.pathname\n : `${url.pathname}/`;\n return url;\n });\n const url = new URL(pathname.replace(/^\\/*/, ''), base);\n url.search = base.search;\n url.hash = base.hash;\n return {\n ...options,\n url\n };\n };\n}\nexports.appendPathname = appendPathname;\n//# sourceMappingURL=append-pathname.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.search = void 0;\nfunction search(search) {\n return (options) => {\n const url = new URL(options.url.href);\n url.search = search;\n return {\n ...options,\n url\n };\n };\n}\nexports.search = search;\n//# sourceMappingURL=search.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.searchParam = void 0;\nfunction searchParam(name, value) {\n return (options) => {\n const url = new URL(options.url.href);\n const newSearchParams = new URLSearchParams(url.searchParams);\n newSearchParams.set(name, value.toString());\n url.search = newSearchParams.toString();\n return {\n ...options,\n url\n };\n };\n}\nexports.searchParam = searchParam;\n//# sourceMappingURL=search-param.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.searchParams = void 0;\nfunction searchParams(searchParams) {\n return (options) => {\n const url = new URL(options.url.href);\n const newSearchParams = new URLSearchParams(url.searchParams);\n for (const [name, value] of Object.entries(searchParams)) {\n newSearchParams.set(name, value.toString());\n }\n url.search = newSearchParams.toString();\n return {\n ...options,\n url\n };\n };\n}\nexports.searchParams = searchParams;\n//# sourceMappingURL=search-params.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.appendSearchParam = void 0;\nfunction appendSearchParam(name, value) {\n return (options) => {\n const url = new URL(options.url.href);\n const newSearchParams = new URLSearchParams(url.searchParams);\n newSearchParams.append(name, value.toString());\n url.search = newSearchParams.toString();\n return {\n ...options,\n url\n };\n };\n}\nexports.appendSearchParam = appendSearchParam;\n//# sourceMappingURL=append-search-param.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.formDataField = void 0;\nconst extra_fetch_1 = require(\"extra-fetch\");\nconst prelude_1 = require(\"@blackglory/prelude\");\nfunction formDataField(name, value) {\n return (options) => {\n const formData = options.payload instanceof extra_fetch_1.FormData\n ? cloneFormData(options.payload)\n : new extra_fetch_1.FormData();\n if ((0, prelude_1.isArray)(value)) {\n value.forEach(x => formData.append(name, x));\n }\n else {\n formData.append(name, value);\n }\n return {\n ...options,\n payload: formData\n };\n };\n}\nexports.formDataField = formDataField;\nfunction cloneFormData(formData) {\n const result = new extra_fetch_1.FormData();\n for (const [name, value] of formData.entries()) {\n result.append(name, value);\n }\n return result;\n}\n//# sourceMappingURL=form-data-field.js.map","//\n// THIS FILE IS AUTOMATICALLY GENERATED! DO NOT EDIT BY HAND!\n//\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n ? module.exports = factory()\n : typeof define === 'function' && define.amd\n ? define(factory) :\n // cf. https://github.com/dankogai/js-base64/issues/119\n (function () {\n // existing version for noConflict()\n var _Base64 = global.Base64;\n var gBase64 = factory();\n gBase64.noConflict = function () {\n global.Base64 = _Base64;\n return gBase64;\n };\n if (global.Meteor) { // Meteor.js\n Base64 = gBase64;\n }\n global.Base64 = gBase64;\n })();\n}((typeof self !== 'undefined' ? self\n : typeof window !== 'undefined' ? window\n : typeof global !== 'undefined' ? global\n : this), function () {\n 'use strict';\n /**\n * base64.ts\n *\n * Licensed under the BSD 3-Clause License.\n * http://opensource.org/licenses/BSD-3-Clause\n *\n * References:\n * http://en.wikipedia.org/wiki/Base64\n *\n * @author Dan Kogai (https://github.com/dankogai)\n */\n var version = '3.7.2';\n /**\n * @deprecated use lowercase `version`.\n */\n var VERSION = version;\n var _hasatob = typeof atob === 'function';\n var _hasbtoa = typeof btoa === 'function';\n var _hasBuffer = typeof Buffer === 'function';\n var _TD = typeof TextDecoder === 'function' ? new TextDecoder() : undefined;\n var _TE = typeof TextEncoder === 'function' ? new TextEncoder() : undefined;\n var b64ch = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n var b64chs = Array.prototype.slice.call(b64ch);\n var b64tab = (function (a) {\n var tab = {};\n a.forEach(function (c, i) { return tab[c] = i; });\n return tab;\n })(b64chs);\n var b64re = /^(?:[A-Za-z\\d+\\/]{4})*?(?:[A-Za-z\\d+\\/]{2}(?:==)?|[A-Za-z\\d+\\/]{3}=?)?$/;\n var _fromCC = String.fromCharCode.bind(String);\n var _U8Afrom = typeof Uint8Array.from === 'function'\n ? Uint8Array.from.bind(Uint8Array)\n : function (it, fn) {\n if (fn === void 0) { fn = function (x) { return x; }; }\n return new Uint8Array(Array.prototype.slice.call(it, 0).map(fn));\n };\n var _mkUriSafe = function (src) { return src\n .replace(/=/g, '').replace(/[+\\/]/g, function (m0) { return m0 == '+' ? '-' : '_'; }); };\n var _tidyB64 = function (s) { return s.replace(/[^A-Za-z0-9\\+\\/]/g, ''); };\n /**\n * polyfill version of `btoa`\n */\n var btoaPolyfill = function (bin) {\n // console.log('polyfilled');\n var u32, c0, c1, c2, asc = '';\n var pad = bin.length % 3;\n for (var i = 0; i < bin.length;) {\n if ((c0 = bin.charCodeAt(i++)) > 255 ||\n (c1 = bin.charCodeAt(i++)) > 255 ||\n (c2 = bin.charCodeAt(i++)) > 255)\n throw new TypeError('invalid character found');\n u32 = (c0 << 16) | (c1 << 8) | c2;\n asc += b64chs[u32 >> 18 & 63]\n + b64chs[u32 >> 12 & 63]\n + b64chs[u32 >> 6 & 63]\n + b64chs[u32 & 63];\n }\n return pad ? asc.slice(0, pad - 3) + \"===\".substring(pad) : asc;\n };\n /**\n * does what `window.btoa` of web browsers do.\n * @param {String} bin binary string\n * @returns {string} Base64-encoded string\n */\n var _btoa = _hasbtoa ? function (bin) { return btoa(bin); }\n : _hasBuffer ? function (bin) { return Buffer.from(bin, 'binary').toString('base64'); }\n : btoaPolyfill;\n var _fromUint8Array = _hasBuffer\n ? function (u8a) { return Buffer.from(u8a).toString('base64'); }\n : function (u8a) {\n // cf. https://stackoverflow.com/questions/12710001/how-to-convert-uint8-array-to-base64-encoded-string/12713326#12713326\n var maxargs = 0x1000;\n var strs = [];\n for (var i = 0, l = u8a.length; i < l; i += maxargs) {\n strs.push(_fromCC.apply(null, u8a.subarray(i, i + maxargs)));\n }\n return _btoa(strs.join(''));\n };\n /**\n * converts a Uint8Array to a Base64 string.\n * @param {boolean} [urlsafe] URL-and-filename-safe a la RFC4648 §5\n * @returns {string} Base64 string\n */\n var fromUint8Array = function (u8a, urlsafe) {\n if (urlsafe === void 0) { urlsafe = false; }\n return urlsafe ? _mkUriSafe(_fromUint8Array(u8a)) : _fromUint8Array(u8a);\n };\n // This trick is found broken https://github.com/dankogai/js-base64/issues/130\n // const utob = (src: string) => unescape(encodeURIComponent(src));\n // reverting good old fationed regexp\n var cb_utob = function (c) {\n if (c.length < 2) {\n var cc = c.charCodeAt(0);\n return cc < 0x80 ? c\n : cc < 0x800 ? (_fromCC(0xc0 | (cc >>> 6))\n + _fromCC(0x80 | (cc & 0x3f)))\n : (_fromCC(0xe0 | ((cc >>> 12) & 0x0f))\n + _fromCC(0x80 | ((cc >>> 6) & 0x3f))\n + _fromCC(0x80 | (cc & 0x3f)));\n }\n else {\n var cc = 0x10000\n + (c.charCodeAt(0) - 0xD800) * 0x400\n + (c.charCodeAt(1) - 0xDC00);\n return (_fromCC(0xf0 | ((cc >>> 18) & 0x07))\n + _fromCC(0x80 | ((cc >>> 12) & 0x3f))\n + _fromCC(0x80 | ((cc >>> 6) & 0x3f))\n + _fromCC(0x80 | (cc & 0x3f)));\n }\n };\n var re_utob = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFFF]|[^\\x00-\\x7F]/g;\n /**\n * @deprecated should have been internal use only.\n * @param {string} src UTF-8 string\n * @returns {string} UTF-16 string\n */\n var utob = function (u) { return u.replace(re_utob, cb_utob); };\n //\n var _encode = _hasBuffer\n ? function (s) { return Buffer.from(s, 'utf8').toString('base64'); }\n : _TE\n ? function (s) { return _fromUint8Array(_TE.encode(s)); }\n : function (s) { return _btoa(utob(s)); };\n /**\n * converts a UTF-8-encoded string to a Base64 string.\n * @param {boolean} [urlsafe] if `true` make the result URL-safe\n * @returns {string} Base64 string\n */\n var encode = function (src, urlsafe) {\n if (urlsafe === void 0) { urlsafe = false; }\n return urlsafe\n ? _mkUriSafe(_encode(src))\n : _encode(src);\n };\n /**\n * converts a UTF-8-encoded string to URL-safe Base64 RFC4648 §5.\n * @returns {string} Base64 string\n */\n var encodeURI = function (src) { return encode(src, true); };\n // This trick is found broken https://github.com/dankogai/js-base64/issues/130\n // const btou = (src: string) => decodeURIComponent(escape(src));\n // reverting good old fationed regexp\n var re_btou = /[\\xC0-\\xDF][\\x80-\\xBF]|[\\xE0-\\xEF][\\x80-\\xBF]{2}|[\\xF0-\\xF7][\\x80-\\xBF]{3}/g;\n var cb_btou = function (cccc) {\n switch (cccc.length) {\n case 4:\n var cp = ((0x07 & cccc.charCodeAt(0)) << 18)\n | ((0x3f & cccc.charCodeAt(1)) << 12)\n | ((0x3f & cccc.charCodeAt(2)) << 6)\n | (0x3f & cccc.charCodeAt(3)), offset = cp - 0x10000;\n return (_fromCC((offset >>> 10) + 0xD800)\n + _fromCC((offset & 0x3FF) + 0xDC00));\n case 3:\n return _fromCC(((0x0f & cccc.charCodeAt(0)) << 12)\n | ((0x3f & cccc.charCodeAt(1)) << 6)\n | (0x3f & cccc.charCodeAt(2)));\n default:\n return _fromCC(((0x1f & cccc.charCodeAt(0)) << 6)\n | (0x3f & cccc.charCodeAt(1)));\n }\n };\n /**\n * @deprecated should have been internal use only.\n * @param {string} src UTF-16 string\n * @returns {string} UTF-8 string\n */\n var btou = function (b) { return b.replace(re_btou, cb_btou); };\n /**\n * polyfill version of `atob`\n */\n var atobPolyfill = function (asc) {\n // console.log('polyfilled');\n asc = asc.replace(/\\s+/g, '');\n if (!b64re.test(asc))\n throw new TypeError('malformed base64.');\n asc += '=='.slice(2 - (asc.length & 3));\n var u24, bin = '', r1, r2;\n for (var i = 0; i < asc.length;) {\n u24 = b64tab[asc.charAt(i++)] << 18\n | b64tab[asc.charAt(i++)] << 12\n | (r1 = b64tab[asc.charAt(i++)]) << 6\n | (r2 = b64tab[asc.charAt(i++)]);\n bin += r1 === 64 ? _fromCC(u24 >> 16 & 255)\n : r2 === 64 ? _fromCC(u24 >> 16 & 255, u24 >> 8 & 255)\n : _fromCC(u24 >> 16 & 255, u24 >> 8 & 255, u24 & 255);\n }\n return bin;\n };\n /**\n * does what `window.atob` of web browsers do.\n * @param {String} asc Base64-encoded string\n * @returns {string} binary string\n */\n var _atob = _hasatob ? function (asc) { return atob(_tidyB64(asc)); }\n : _hasBuffer ? function (asc) { return Buffer.from(asc, 'base64').toString('binary'); }\n : atobPolyfill;\n //\n var _toUint8Array = _hasBuffer\n ? function (a) { return _U8Afrom(Buffer.from(a, 'base64')); }\n : function (a) { return _U8Afrom(_atob(a), function (c) { return c.charCodeAt(0); }); };\n /**\n * converts a Base64 string to a Uint8Array.\n */\n var toUint8Array = function (a) { return _toUint8Array(_unURI(a)); };\n //\n var _decode = _hasBuffer\n ? function (a) { return Buffer.from(a, 'base64').toString('utf8'); }\n : _TD\n ? function (a) { return _TD.decode(_toUint8Array(a)); }\n : function (a) { return btou(_atob(a)); };\n var _unURI = function (a) { return _tidyB64(a.replace(/[-_]/g, function (m0) { return m0 == '-' ? '+' : '/'; })); };\n /**\n * converts a Base64 string to a UTF-8 string.\n * @param {String} src Base64 string. Both normal and URL-safe are supported\n * @returns {string} UTF-8 string\n */\n var decode = function (src) { return _decode(_unURI(src)); };\n /**\n * check if a value is a valid Base64 string\n * @param {String} src a value to check\n */\n var isValid = function (src) {\n if (typeof src !== 'string')\n return false;\n var s = src.replace(/\\s+/g, '').replace(/={0,2}$/, '');\n return !/[^\\s0-9a-zA-Z\\+/]/.test(s) || !/[^\\s0-9a-zA-Z\\-_]/.test(s);\n };\n //\n var _noEnum = function (v) {\n return {\n value: v, enumerable: false, writable: true, configurable: true\n };\n };\n /**\n * extend String.prototype with relevant methods\n */\n var extendString = function () {\n var _add = function (name, body) { return Object.defineProperty(String.prototype, name, _noEnum(body)); };\n _add('fromBase64', function () { return decode(this); });\n _add('toBase64', function (urlsafe) { return encode(this, urlsafe); });\n _add('toBase64URI', function () { return encode(this, true); });\n _add('toBase64URL', function () { return encode(this, true); });\n _add('toUint8Array', function () { return toUint8Array(this); });\n };\n /**\n * extend Uint8Array.prototype with relevant methods\n */\n var extendUint8Array = function () {\n var _add = function (name, body) { return Object.defineProperty(Uint8Array.prototype, name, _noEnum(body)); };\n _add('toBase64', function (urlsafe) { return fromUint8Array(this, urlsafe); });\n _add('toBase64URI', function () { return fromUint8Array(this, true); });\n _add('toBase64URL', function () { return fromUint8Array(this, true); });\n };\n /**\n * extend Builtin prototypes with relevant methods\n */\n var extendBuiltins = function () {\n extendString();\n extendUint8Array();\n };\n var gBase64 = {\n version: version,\n VERSION: VERSION,\n atob: _atob,\n atobPolyfill: atobPolyfill,\n btoa: _btoa,\n btoaPolyfill: btoaPolyfill,\n fromBase64: decode,\n toBase64: encode,\n encode: encode,\n encodeURI: encodeURI,\n encodeURL: encodeURI,\n utob: utob,\n btou: btou,\n decode: decode,\n isValid: isValid,\n fromUint8Array: fromUint8Array,\n toUint8Array: toUint8Array,\n extendString: extendString,\n extendUint8Array: extendUint8Array,\n extendBuiltins: extendBuiltins\n };\n //\n // export Base64 to the namespace\n //\n // ES5 is yet to have Object.assign() that may make transpilers unhappy.\n // gBase64.Base64 = Object.assign({}, gBase64);\n gBase64.Base64 = {};\n Object.keys(gBase64).forEach(function (k) { return gBase64.Base64[k] = gBase64[k]; });\n return gBase64;\n}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.basicAuth = void 0;\nconst header_1 = require(\"./header\");\nconst js_base64_1 = require(\"js-base64\");\nfunction basicAuth(username, password) {\n return (0, header_1.header)('Authorization', 'Basic ' + (0, js_base64_1.btoa)(`${username}:${password}`));\n}\nexports.basicAuth = basicAuth;\n//# sourceMappingURL=basic-auth.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.bearerAuth = void 0;\nconst header_1 = require(\"./header\");\nfunction bearerAuth(token) {\n return (0, header_1.header)('Authorization', `Bearer ${token}`);\n}\nexports.bearerAuth = bearerAuth;\n//# sourceMappingURL=bearer-auth.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.keepalive = void 0;\nfunction keepalive(val = true) {\n return (options) => {\n return {\n ...options,\n keepalive: val\n };\n };\n}\nexports.keepalive = keepalive;\n//# sourceMappingURL=keepalive.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./url\"), exports);\n__exportStar(require(\"./text\"), exports);\n__exportStar(require(\"./json\"), exports);\n__exportStar(require(\"./csv\"), exports);\n__exportStar(require(\"./signal\"), exports);\n__exportStar(require(\"./header\"), exports);\n__exportStar(require(\"./append-header\"), exports);\n__exportStar(require(\"./headers\"), exports);\n__exportStar(require(\"./accept\"), exports);\n__exportStar(require(\"./host\"), exports);\n__exportStar(require(\"./port\"), exports);\n__exportStar(require(\"./pathname\"), exports);\n__exportStar(require(\"./append-pathname\"), exports);\n__exportStar(require(\"./search\"), exports);\n__exportStar(require(\"./search-param\"), exports);\n__exportStar(require(\"./search-params\"), exports);\n__exportStar(require(\"./append-search-param\"), exports);\n__exportStar(require(\"./form-data-field\"), exports);\n__exportStar(require(\"./basic-auth\"), exports);\n__exportStar(require(\"./bearer-auth\"), exports);\n__exportStar(require(\"./keepalive\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HTTPError = void 0;\nconst errors_1 = require(\"@blackglory/errors\");\nclass HTTPError extends errors_1.CustomError {\n constructor(code, message) {\n super(message);\n this.code = code;\n }\n}\nexports.HTTPError = HTTPError;\n//# sourceMappingURL=http-error.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServerError = exports.ClientError = exports.Redirection = exports.Successful = exports.Informational = void 0;\nvar Informational;\n(function (Informational) {\n Informational[Informational[\"Continue\"] = 100] = \"Continue\";\n Informational[Informational[\"SwitchingProtocol\"] = 101] = \"SwitchingProtocol\";\n Informational[Informational[\"Processing\"] = 102] = \"Processing\";\n Informational[Informational[\"EarlyHints\"] = 103] = \"EarlyHints\";\n})(Informational = exports.Informational || (exports.Informational = {}));\nvar Successful;\n(function (Successful) {\n Successful[Successful[\"OK\"] = 200] = \"OK\";\n Successful[Successful[\"Created\"] = 201] = \"Created\";\n Successful[Successful[\"Accepted\"] = 202] = \"Accepted\";\n Successful[Successful[\"NonAuthoritativeInformation\"] = 203] = \"NonAuthoritativeInformation\";\n Successful[Successful[\"NoContent\"] = 204] = \"NoContent\";\n Successful[Successful[\"ResetContent\"] = 205] = \"ResetContent\";\n Successful[Successful[\"PartialContent\"] = 206] = \"PartialContent\";\n Successful[Successful[\"MultiStatus\"] = 207] = \"MultiStatus\";\n Successful[Successful[\"AlreadyReported\"] = 208] = \"AlreadyReported\";\n Successful[Successful[\"IMUsed\"] = 226] = \"IMUsed\";\n})(Successful = exports.Successful || (exports.Successful = {}));\nvar Redirection;\n(function (Redirection) {\n Redirection[Redirection[\"MultipleChoice\"] = 300] = \"MultipleChoice\";\n Redirection[Redirection[\"MovedPermanently\"] = 3011] = \"MovedPermanently\";\n Redirection[Redirection[\"Found\"] = 302] = \"Found\";\n Redirection[Redirection[\"SeeOther\"] = 303] = \"SeeOther\";\n Redirection[Redirection[\"NotModified\"] = 304] = \"NotModified\";\n Redirection[Redirection[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n Redirection[Redirection[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n})(Redirection = exports.Redirection || (exports.Redirection = {}));\nvar ClientError;\n(function (ClientError) {\n ClientError[ClientError[\"BadRequest\"] = 400] = \"BadRequest\";\n ClientError[ClientError[\"Unauthorized\"] = 401] = \"Unauthorized\";\n ClientError[ClientError[\"Forbidden\"] = 403] = \"Forbidden\";\n ClientError[ClientError[\"NotFound\"] = 404] = \"NotFound\";\n ClientError[ClientError[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n ClientError[ClientError[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n ClientError[ClientError[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n ClientError[ClientError[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n ClientError[ClientError[\"Conflict\"] = 409] = \"Conflict\";\n ClientError[ClientError[\"Gone\"] = 410] = \"Gone\";\n ClientError[ClientError[\"LengthRequired\"] = 411] = \"LengthRequired\";\n ClientError[ClientError[\"PreconditionFailed\"] = 412] = \"PreconditionFailed\";\n ClientError[ClientError[\"PayloadTooLarge\"] = 413] = \"PayloadTooLarge\";\n ClientError[ClientError[\"URITooLong\"] = 414] = \"URITooLong\";\n ClientError[ClientError[\"UnsupportedMediaType\"] = 415] = \"UnsupportedMediaType\";\n ClientError[ClientError[\"RangeNotSatisfiable\"] = 416] = \"RangeNotSatisfiable\";\n ClientError[ClientError[\"ExpectationFailed\"] = 417] = \"ExpectationFailed\";\n ClientError[ClientError[\"MisdirectedRequest\"] = 421] = \"MisdirectedRequest\";\n ClientError[ClientError[\"UnprocessableEntity\"] = 422] = \"UnprocessableEntity\";\n ClientError[ClientError[\"Locked\"] = 423] = \"Locked\";\n ClientError[ClientError[\"FailedDependency\"] = 424] = \"FailedDependency\";\n ClientError[ClientError[\"UpgradeRequired\"] = 426] = \"UpgradeRequired\";\n ClientError[ClientError[\"PreconditionRequired\"] = 428] = \"PreconditionRequired\";\n ClientError[ClientError[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n ClientError[ClientError[\"RequestHeaderFieldsTooLarge\"] = 431] = \"RequestHeaderFieldsTooLarge\";\n ClientError[ClientError[\"UnavailableForLegalReasons\"] = 451] = \"UnavailableForLegalReasons\";\n})(ClientError = exports.ClientError || (exports.ClientError = {}));\nvar ServerError;\n(function (ServerError) {\n ServerError[ServerError[\"InternalServerError\"] = 500] = \"InternalServerError\";\n ServerError[ServerError[\"NotImplemented\"] = 501] = \"NotImplemented\";\n ServerError[ServerError[\"BadGateway\"] = 502] = \"BadGateway\";\n ServerError[ServerError[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n ServerError[ServerError[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n ServerError[ServerError[\"HTTPVersionNotSupported\"] = 505] = \"HTTPVersionNotSupported\";\n ServerError[ServerError[\"VariantAlsoNegotiates\"] = 506] = \"VariantAlsoNegotiates\";\n ServerError[ServerError[\"InsufficientStorage\"] = 507] = \"InsufficientStorage\";\n ServerError[ServerError[\"LoopDetected\"] = 508] = \"LoopDetected\";\n ServerError[ServerError[\"NotExtended\"] = 510] = \"NotExtended\";\n ServerError[ServerError[\"NetworkAuthenticationRequired\"] = 511] = \"NetworkAuthenticationRequired\";\n})(ServerError = exports.ServerError || (exports.ServerError = {}));\n//# sourceMappingURL=enum.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EarlyHints = exports.Processing = exports.SwitchingProtocol = exports.Continue = exports.HTTPInformational = void 0;\nconst enum_1 = require(\"./enum\");\nclass HTTPInformational {\n constructor(code, message) {\n this.code = code;\n this.message = message;\n }\n}\nexports.HTTPInformational = HTTPInformational;\nclass Continue extends HTTPInformational {\n constructor() {\n super(enum_1.Informational.Continue, 'Continue');\n }\n}\nexports.Continue = Continue;\nclass SwitchingProtocol extends HTTPInformational {\n constructor() {\n super(enum_1.Informational.SwitchingProtocol, 'Switching Protocol');\n }\n}\nexports.SwitchingProtocol = SwitchingProtocol;\nclass Processing extends HTTPInformational {\n constructor() {\n super(enum_1.Informational.Processing, 'Processing');\n }\n}\nexports.Processing = Processing;\nclass EarlyHints extends HTTPInformational {\n constructor() {\n super(enum_1.Informational.EarlyHints, 'Early Hints');\n }\n}\nexports.EarlyHints = EarlyHints;\n//# sourceMappingURL=http-informational.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IMUsed = exports.AlreadyReported = exports.MultiStatus = exports.PartialContent = exports.ResetContent = exports.NoContent = exports.NonAuthoritativeInformation = exports.Accepted = exports.Created = exports.OK = exports.HTTPSuccessful = void 0;\nconst enum_1 = require(\"./enum\");\nclass HTTPSuccessful {\n constructor(code, message) {\n this.code = code;\n this.message = message;\n }\n}\nexports.HTTPSuccessful = HTTPSuccessful;\nclass OK extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.OK, 'OK');\n }\n}\nexports.OK = OK;\nclass Created extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.Created, 'Created');\n }\n}\nexports.Created = Created;\nclass Accepted extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.Accepted, 'Accepted');\n }\n}\nexports.Accepted = Accepted;\nclass NonAuthoritativeInformation extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.NonAuthoritativeInformation, 'Non-Authoritative Information');\n }\n}\nexports.NonAuthoritativeInformation = NonAuthoritativeInformation;\nclass NoContent extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.NoContent, 'No Content');\n }\n}\nexports.NoContent = NoContent;\nclass ResetContent extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.ResetContent, 'Reset Content');\n }\n}\nexports.ResetContent = ResetContent;\nclass PartialContent extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.PartialContent, 'Partial Content');\n }\n}\nexports.PartialContent = PartialContent;\nclass MultiStatus extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.MultiStatus, 'Multi-Status');\n }\n}\nexports.MultiStatus = MultiStatus;\nclass AlreadyReported extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.AlreadyReported, 'Already Reported');\n }\n}\nexports.AlreadyReported = AlreadyReported;\nclass IMUsed extends HTTPSuccessful {\n constructor() {\n super(enum_1.Successful.IMUsed, 'IM Used');\n }\n}\nexports.IMUsed = IMUsed;\n//# sourceMappingURL=http-successful.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PermanentRedirect = exports.TemporaryRedirect = exports.NotModified = exports.SeeOther = exports.Found = exports.MovedPermanently = exports.MultipleChoice = exports.HTTPRedirection = void 0;\nconst enum_1 = require(\"./enum\");\nclass HTTPRedirection {\n constructor(code, message) {\n this.code = code;\n this.message = message;\n }\n}\nexports.HTTPRedirection = HTTPRedirection;\nclass MultipleChoice extends HTTPRedirection {\n constructor() {\n super(enum_1.Redirection.MultipleChoice, 'Multiple Choice');\n }\n}\nexports.MultipleChoice = MultipleChoice;\nclass MovedPermanently extends HTTPRedirection {\n constructor() {\n super(enum_1.Redirection.MovedPermanently, 'Moved Permanently');\n }\n}\nexports.MovedPermanently = MovedPermanently;\nclass Found extends HTTPRedirection {\n constructor() {\n super(enum_1.Redirection.Found, 'Found');\n }\n}\nexports.Found = Found;\nclass SeeOther extends HTTPRedirection {\n constructor() {\n super(enum_1.Redirection.SeeOther, 'See Other');\n }\n}\nexports.SeeOther = SeeOther;\nclass NotModified extends HTTPRedirection {\n constructor() {\n super(enum_1.Redirection.NotModified, 'Not Modified');\n }\n}\nexports.NotModified = NotModified;\nclass TemporaryRedirect extends HTTPRedirection {\n constructor() {\n super(enum_1.Redirection.TemporaryRedirect, 'Temporary Redirect');\n }\n}\nexports.TemporaryRedirect = TemporaryRedirect;\nclass PermanentRedirect extends HTTPRedirection {\n constructor() {\n super(enum_1.Redirection.PermanentRedirect, 'Permanent Redirect');\n }\n}\nexports.PermanentRedirect = PermanentRedirect;\n//# sourceMappingURL=http-redirection.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UnavailableForLegalReasons = exports.RequestHeaderFieldsTooLarge = exports.TooManyRequests = exports.PreconditionRequired = exports.UpgradeRequired = exports.FailedDependency = exports.Locked = exports.UnprocessableEntity = exports.MisdirectedRequest = exports.ExpectationFailed = exports.RangeNotSatisfiable = exports.UnsupportedMediaType = exports.URITooLong = exports.PayloadTooLarge = exports.PreconditionFailed = exports.LengthRequired = exports.Gone = exports.Conflict = exports.RequestTimeout = exports.ProxyAuthenticationRequired = exports.NotAcceptable = exports.MethodNotAllowed = exports.NotFound = exports.Forbidden = exports.Unauthorized = exports.BadRequest = exports.HTTPClientError = void 0;\nconst http_error_1 = require(\"./http-error\");\nconst enum_1 = require(\"./enum\");\nclass HTTPClientError extends http_error_1.HTTPError {\n}\nexports.HTTPClientError = HTTPClientError;\nclass BadRequest extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.BadRequest, message !== null && message !== void 0 ? message : 'Bad Request');\n }\n}\nexports.BadRequest = BadRequest;\nclass Unauthorized extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.Unauthorized, message !== null && message !== void 0 ? message : 'Unauthorized');\n }\n}\nexports.Unauthorized = Unauthorized;\nclass Forbidden extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.Forbidden, message !== null && message !== void 0 ? message : 'Forbidden');\n }\n}\nexports.Forbidden = Forbidden;\nclass NotFound extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.NotFound, message !== null && message !== void 0 ? message : 'Not Found');\n }\n}\nexports.NotFound = NotFound;\nclass MethodNotAllowed extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.MethodNotAllowed, message !== null && message !== void 0 ? message : 'Method Not Allowed');\n }\n}\nexports.MethodNotAllowed = MethodNotAllowed;\nclass NotAcceptable extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.NotAcceptable, message !== null && message !== void 0 ? message : 'Not Acceptable');\n }\n}\nexports.NotAcceptable = NotAcceptable;\nclass ProxyAuthenticationRequired extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.ProxyAuthenticationRequired, message !== null && message !== void 0 ? message : 'Proxy Authentication Required');\n }\n}\nexports.ProxyAuthenticationRequired = ProxyAuthenticationRequired;\nclass RequestTimeout extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.RequestTimeout, message !== null && message !== void 0 ? message : 'Request Timeout');\n }\n}\nexports.RequestTimeout = RequestTimeout;\nclass Conflict extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.Conflict, message !== null && message !== void 0 ? message : 'Conflict');\n }\n}\nexports.Conflict = Conflict;\nclass Gone extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.Gone, message !== null && message !== void 0 ? message : 'Gone');\n }\n}\nexports.Gone = Gone;\nclass LengthRequired extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.LengthRequired, message !== null && message !== void 0 ? message : 'Length Required');\n }\n}\nexports.LengthRequired = LengthRequired;\nclass PreconditionFailed extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.PreconditionFailed, message !== null && message !== void 0 ? message : 'Precondition Failed');\n }\n}\nexports.PreconditionFailed = PreconditionFailed;\nclass PayloadTooLarge extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.PayloadTooLarge, message !== null && message !== void 0 ? message : 'Payload Too Large');\n }\n}\nexports.PayloadTooLarge = PayloadTooLarge;\nclass URITooLong extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.URITooLong, message !== null && message !== void 0 ? message : 'URI Too Long');\n }\n}\nexports.URITooLong = URITooLong;\nclass UnsupportedMediaType extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.UnsupportedMediaType, message !== null && message !== void 0 ? message : 'Unsupported Media Type');\n }\n}\nexports.UnsupportedMediaType = UnsupportedMediaType;\nclass RangeNotSatisfiable extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.RangeNotSatisfiable, message !== null && message !== void 0 ? message : 'Range Not Satisfiable');\n }\n}\nexports.RangeNotSatisfiable = RangeNotSatisfiable;\nclass ExpectationFailed extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.ExpectationFailed, message !== null && message !== void 0 ? message : 'Expectation Failed');\n }\n}\nexports.ExpectationFailed = ExpectationFailed;\nclass MisdirectedRequest extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.MisdirectedRequest, message !== null && message !== void 0 ? message : 'Misdirected Request');\n }\n}\nexports.MisdirectedRequest = MisdirectedRequest;\nclass UnprocessableEntity extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.UnprocessableEntity, message !== null && message !== void 0 ? message : 'Unprocessable Entity');\n }\n}\nexports.UnprocessableEntity = UnprocessableEntity;\nclass Locked extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.Locked, message !== null && message !== void 0 ? message : 'Locked');\n }\n}\nexports.Locked = Locked;\nclass FailedDependency extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.FailedDependency, message !== null && message !== void 0 ? message : 'Failed Dependency');\n }\n}\nexports.FailedDependency = FailedDependency;\nclass UpgradeRequired extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.UpgradeRequired, message !== null && message !== void 0 ? message : 'Upgrade Required');\n }\n}\nexports.UpgradeRequired = UpgradeRequired;\nclass PreconditionRequired extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.PreconditionRequired, message !== null && message !== void 0 ? message : 'Precondition Required');\n }\n}\nexports.PreconditionRequired = PreconditionRequired;\nclass TooManyRequests extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.TooManyRequests, message !== null && message !== void 0 ? message : 'Too Many Requests');\n }\n}\nexports.TooManyRequests = TooManyRequests;\nclass RequestHeaderFieldsTooLarge extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.RequestHeaderFieldsTooLarge, message !== null && message !== void 0 ? message : 'Request Header Fields Too Large');\n }\n}\nexports.RequestHeaderFieldsTooLarge = RequestHeaderFieldsTooLarge;\nclass UnavailableForLegalReasons extends HTTPClientError {\n constructor(message) {\n super(enum_1.ClientError.UnavailableForLegalReasons, message !== null && message !== void 0 ? message : 'Unavailable For Legal Reasons');\n }\n}\nexports.UnavailableForLegalReasons = UnavailableForLegalReasons;\n//# sourceMappingURL=http-client-error.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NetworkAuthenticationRequired = exports.NotExtended = exports.LoopDetected = exports.InsufficientStorage = exports.VariantAlsoNegotiates = exports.HTTPVersionNotSupported = exports.GatewayTimeout = exports.ServiceUnavailable = exports.BadGateway = exports.NotImplemented = exports.InternalServerError = exports.HTTPServerError = void 0;\nconst http_error_1 = require(\"./http-error\");\nconst enum_1 = require(\"./enum\");\nclass HTTPServerError extends http_error_1.HTTPError {\n}\nexports.HTTPServerError = HTTPServerError;\nclass InternalServerError extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.InternalServerError, message !== null && message !== void 0 ? message : 'Internal Server Error');\n }\n}\nexports.InternalServerError = InternalServerError;\nclass NotImplemented extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.NotImplemented, message !== null && message !== void 0 ? message : 'Not Implemented');\n }\n}\nexports.NotImplemented = NotImplemented;\nclass BadGateway extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.BadGateway, message !== null && message !== void 0 ? message : 'Bad Gateway');\n }\n}\nexports.BadGateway = BadGateway;\nclass ServiceUnavailable extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.ServiceUnavailable, message !== null && message !== void 0 ? message : 'Service Unavailable');\n }\n}\nexports.ServiceUnavailable = ServiceUnavailable;\nclass GatewayTimeout extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.GatewayTimeout, message !== null && message !== void 0 ? message : 'Gateway Timeout');\n }\n}\nexports.GatewayTimeout = GatewayTimeout;\nclass HTTPVersionNotSupported extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.HTTPVersionNotSupported, message !== null && message !== void 0 ? message : 'HTTP Version Not Supported');\n }\n}\nexports.HTTPVersionNotSupported = HTTPVersionNotSupported;\nclass VariantAlsoNegotiates extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.VariantAlsoNegotiates, message !== null && message !== void 0 ? message : 'Variant Also Negotiates');\n }\n}\nexports.VariantAlsoNegotiates = VariantAlsoNegotiates;\nclass InsufficientStorage extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.InsufficientStorage, message !== null && message !== void 0 ? message : 'Insufficient Storage');\n }\n}\nexports.InsufficientStorage = InsufficientStorage;\nclass LoopDetected extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.LoopDetected, message !== null && message !== void 0 ? message : 'Loop Detected');\n }\n}\nexports.LoopDetected = LoopDetected;\nclass NotExtended extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.NotExtended, message !== null && message !== void 0 ? message : 'Not Extended');\n }\n}\nexports.NotExtended = NotExtended;\nclass NetworkAuthenticationRequired extends HTTPServerError {\n constructor(message) {\n super(enum_1.ServerError.NetworkAuthenticationRequired, message !== null && message !== void 0 ? message : 'Network Authentication Required');\n }\n}\nexports.NetworkAuthenticationRequired = NetworkAuthenticationRequired;\n//# sourceMappingURL=http-server-error.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromCode = exports.UnknownHTTPStatusError = void 0;\nconst Informational = require(\"./http-informational\");\nconst Successful = require(\"./http-successful\");\nconst Redirection = require(\"./http-redirection\");\nconst ClientError = require(\"./http-client-error\");\nconst ServerError = require(\"./http-server-error\");\nclass UnknownHTTPStatusError extends Error {\n constructor(code) {\n super(`The HTTP status code ${code} is unknown`);\n this.name = this.constructor.name;\n }\n}\nexports.UnknownHTTPStatusError = UnknownHTTPStatusError;\nfunction fromCode(code, message) {\n switch (code) {\n case 100: return new Informational.Continue();\n case 101: return new Informational.SwitchingProtocol();\n case 102: return new Informational.Processing();\n case 103: return new Informational.EarlyHints();\n case 200: return new Successful.OK();\n case 201: return new Successful.Created();\n case 202: return new Successful.Accepted();\n case 203: return new Successful.NonAuthoritativeInformation();\n case 204: return new Successful.NoContent();\n case 205: return new Successful.ResetContent();\n case 206: return new Successful.PartialContent();\n case 207: return new Successful.MultiStatus();\n case 208: return new Successful.AlreadyReported();\n case 226: return new Successful.IMUsed();\n case 300: return new Redirection.MultipleChoice();\n case 301: return new Redirection.MovedPermanently();\n case 302: return new Redirection.Found();\n case 303: return new Redirection.SeeOther();\n case 304: return new Redirection.NotModified();\n case 307: return new Redirection.TemporaryRedirect();\n case 308: return new Redirection.PermanentRedirect();\n case 400: return new ClientError.BadRequest(message);\n case 401: return new ClientError.Unauthorized(message);\n case 403: return new ClientError.Forbidden(message);\n case 404: return new ClientError.NotFound(message);\n case 405: return new ClientError.MethodNotAllowed(message);\n case 406: return new ClientError.NotAcceptable(message);\n case 407: return new ClientError.ProxyAuthenticationRequired(message);\n case 408: return new ClientError.RequestTimeout(message);\n case 409: return new ClientError.Conflict(message);\n case 410: return new ClientError.Gone(message);\n case 411: return new ClientError.LengthRequired(message);\n case 412: return new ClientError.PreconditionFailed(message);\n case 413: return new ClientError.PayloadTooLarge(message);\n case 414: return new ClientError.URITooLong(message);\n case 415: return new ClientError.UnsupportedMediaType(message);\n case 416: return new ClientError.RangeNotSatisfiable(message);\n case 417: return new ClientError.ExpectationFailed(message);\n case 421: return new ClientError.MisdirectedRequest(message);\n case 422: return new ClientError.UnprocessableEntity(message);\n case 423: return new ClientError.Locked(message);\n case 424: return new ClientError.FailedDependency(message);\n case 426: return new ClientError.UpgradeRequired(message);\n case 428: return new ClientError.PreconditionRequired(message);\n case 429: return new ClientError.TooManyRequests(message);\n case 431: return new ClientError.RequestHeaderFieldsTooLarge(message);\n case 451: return new ClientError.UnavailableForLegalReasons(message);\n case 500: return new ServerError.InternalServerError(message);\n case 501: return new ServerError.NotImplemented(message);\n case 502: return new ServerError.BadGateway(message);\n case 503: return new ServerError.ServiceUnavailable(message);\n case 504: return new ServerError.GatewayTimeout(message);\n case 505: return new ServerError.HTTPVersionNotSupported(message);\n case 506: return new ServerError.VariantAlsoNegotiates(message);\n case 507: return new ServerError.InsufficientStorage(message);\n case 508: return new ServerError.LoopDetected(message);\n case 510: return new ServerError.NotExtended(message);\n case 511: return new ServerError.NetworkAuthenticationRequired(message);\n default: throw new UnknownHTTPStatusError(code);\n }\n}\nexports.fromCode = fromCode;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./http-status\"), exports);\n__exportStar(require(\"./http-error\"), exports);\n__exportStar(require(\"./http-informational\"), exports);\n__exportStar(require(\"./http-successful\"), exports);\n__exportStar(require(\"./http-redirection\"), exports);\n__exportStar(require(\"./http-client-error\"), exports);\n__exportStar(require(\"./http-server-error\"), exports);\n__exportStar(require(\"./utils\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ok = exports.HTTPError = void 0;\nconst http_status_1 = require(\"@blackglory/http-status\");\nvar http_status_2 = require(\"@blackglory/http-status\");\nObject.defineProperty(exports, \"HTTPError\", { enumerable: true, get: function () { return http_status_2.HTTPError; } });\n/**\n * @throws {HTTPError}\n */\nasync function ok(res) {\n if (!res.ok) {\n const text = await res.text();\n throw (0, http_status_1.fromCode)(res.status, text);\n }\n return res;\n}\nexports.ok = ok;\n//# sourceMappingURL=ok.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toJSON = void 0;\nfunction toJSON(res) {\n return res.json();\n}\nexports.toJSON = toJSON;\n//# sourceMappingURL=to-json.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toText = void 0;\nasync function toText(res, charset) {\n if (charset) {\n const buffer = await res.arrayBuffer();\n return new TextDecoder(charset).decode(buffer);\n }\n else {\n return await res.text();\n }\n}\nexports.toText = toText;\n//# sourceMappingURL=to-text.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toLines = void 0;\nasync function* toLines(res) {\n const reader = res.body\n .pipeThrough(new TextDecoderStream())\n .getReader();\n let buffer = '';\n while (true) {\n const { value, done } = await reader.read();\n if (done)\n break;\n let remains = value;\n while (remains.includes('\\n')) {\n const newlinePos = remains.indexOf('\\n');\n yield remains.slice(0, newlinePos);\n remains = remains.slice(newlinePos + 1);\n }\n buffer += remains;\n }\n if (buffer)\n yield buffer;\n}\nexports.toLines = toLines;\n//# sourceMappingURL=to-lines.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toNDJSON = void 0;\nconst iterable_operator_1 = require(\"iterable-operator\");\nconst to_lines_1 = require(\"./to-lines\");\nfunction toNDJSON(res) {\n return (0, iterable_operator_1.mapAsync)((0, to_lines_1.toLines)(res), text => JSON.parse(text));\n}\nexports.toNDJSON = toNDJSON;\n//# sourceMappingURL=to-ndjson.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCSV = void 0;\nconst papaparse_1 = require(\"papaparse\");\nasync function toCSV(res) {\n const text = await res.text();\n const result = (0, papaparse_1.parse)(text, {\n header: true,\n skipEmptyLines: 'greedy'\n });\n return result.data;\n}\nexports.toCSV = toCSV;\n//# sourceMappingURL=to-csv.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./ok\"), exports);\n__exportStar(require(\"./to-json\"), exports);\n__exportStar(require(\"./to-text\"), exports);\n__exportStar(require(\"./to-lines\"), exports);\n__exportStar(require(\"./to-ndjson\"), exports);\n__exportStar(require(\"./to-csv\"), exports);\n//# sourceMappingURL=index.js.map","/*globals self, window */\n\"use strict\"\n\n/*eslint-disable @mysticatea/prettier */\nconst { AbortController, AbortSignal } =\n typeof self !== \"undefined\" ? self :\n typeof window !== \"undefined\" ? window :\n /* otherwise */ undefined\n/*eslint-enable @mysticatea/prettier */\n\nmodule.exports = AbortController\nmodule.exports.AbortSignal = AbortSignal\nmodule.exports.default = AbortController\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AbortController = void 0;\nconst abort_controller_1 = __importDefault(require(\"abort-controller\"));\nexports.AbortController = (_a = globalThis.AbortController) !== null && _a !== void 0 ? _a : abort_controller_1.default;\n//# sourceMappingURL=abort-controller.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.go = void 0;\nfunction go(fn) {\n return fn();\n}\nexports.go = go;\n//# sourceMappingURL=go.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.goMicrotask = void 0;\nfunction goMicrotask(fn) {\n return new Promise((resolve, reject) => {\n queueMicrotask(async () => {\n try {\n resolve(await fn());\n }\n catch (e) {\n reject(e);\n }\n });\n });\n}\nexports.goMicrotask = goMicrotask;\n//# sourceMappingURL=go-microtask.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.goMacrotask = void 0;\nconst extra_timers_1 = require(\"extra-timers\");\nfunction goMacrotask(fn) {\n return new Promise((resolve, reject) => {\n (0, extra_timers_1.setImmediate)(async () => {\n try {\n resolve(await fn());\n }\n catch (e) {\n reject(e);\n }\n });\n });\n}\nexports.goMacrotask = goMacrotask;\n//# sourceMappingURL=go-macrotask.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./go\"), exports);\n__exportStar(require(\"./go-microtask\"), exports);\n__exportStar(require(\"./go-macrotask\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.chunkAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction chunkAsync(iterable, size) {\n (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');\n (0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');\n return (0, go_1.go)(async function* () {\n let buffer = [];\n for await (const element of iterable) {\n buffer.push(element);\n if (buffer.length >= size) {\n yield buffer;\n buffer = [];\n }\n }\n if (buffer.length)\n yield buffer;\n });\n}\nexports.chunkAsync = chunkAsync;\n//# sourceMappingURL=chunk-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.chunkByAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction chunkByAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return chunkByAsyncIterable(iterable, predicate);\n }\n else {\n return chunkByIterable(iterable, predicate);\n }\n}\nexports.chunkByAsync = chunkByAsync;\nasync function* chunkByAsyncIterable(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for await (const element of iterable) {\n buffer.push(element);\n if (await predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n index++;\n }\n if (buffer.length)\n yield buffer;\n}\nasync function* chunkByIterable(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for (const element of iterable) {\n buffer.push(element);\n if (await predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n index++;\n }\n if (buffer.length)\n yield buffer;\n}\n//# sourceMappingURL=chunk-by-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.chunkBy = void 0;\nfunction* chunkBy(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for (const element of iterable) {\n buffer.push(element);\n if (predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n index++;\n }\n if (buffer.length)\n yield buffer;\n}\nexports.chunkBy = chunkBy;\n//# sourceMappingURL=chunk-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.chunk = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction chunk(iterable, size) {\n (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');\n (0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');\n return (0, go_1.go)(function* () {\n let buffer = [];\n for (const element of iterable) {\n buffer.push(element);\n if (buffer.length >= size) {\n yield buffer;\n buffer = [];\n }\n }\n if (buffer.length)\n yield buffer;\n });\n}\nexports.chunk = chunk;\n//# sourceMappingURL=chunk.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.concatAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nconst go_1 = require(\"@blackglory/go\");\nfunction concatAsync(iterable, ...otherIterables) {\n return (0, go_1.go)(async function* () {\n for (const iter of [iterable, ...otherIterables]) {\n if ((0, types_1.isAsyncIterable)(iter)) {\n for await (const element of iter) {\n yield element;\n }\n }\n else {\n for (const element of iter) {\n yield element;\n }\n }\n }\n });\n}\nexports.concatAsync = concatAsync;\n//# sourceMappingURL=concat-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.concat = void 0;\nconst go_1 = require(\"@blackglory/go\");\nfunction concat(iterable, ...otherIterables) {\n return (0, go_1.go)(function* () {\n for (const iter of [iterable, ...otherIterables]) {\n yield* iter;\n }\n });\n}\nexports.concat = concat;\n//# sourceMappingURL=concat.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.filterAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction filterAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return filterAsyncIterable(iterable, predicate);\n }\n else {\n return filterIterable(iterable, predicate);\n }\n}\nexports.filterAsync = filterAsync;\nasync function* filterAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index))\n yield element;\n index++;\n }\n}\nasync function* filterIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index))\n yield element;\n index++;\n }\n}\n//# sourceMappingURL=filter-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toSetAsync = void 0;\nasync function toSetAsync(iterable) {\n const result = new Set();\n for await (const element of iterable) {\n result.add(await element);\n }\n return result;\n}\nexports.toSetAsync = toSetAsync;\n//# sourceMappingURL=to-set-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.differenceAsync = void 0;\nconst filter_async_1 = require(\"./filter-async\");\nconst to_set_async_1 = require(\"../terminal/to-set-async\");\nasync function* differenceAsync(left, right) {\n const rightSet = await (0, to_set_async_1.toSetAsync)(right);\n yield* (0, filter_async_1.filterAsync)(left, async (x) => !rightSet.has(await x));\n}\nexports.differenceAsync = differenceAsync;\n//# sourceMappingURL=difference-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.filter = void 0;\nfunction* filter(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index))\n yield element;\n index++;\n }\n}\nexports.filter = filter;\n//# sourceMappingURL=filter.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toSet = void 0;\nfunction toSet(iterable) {\n return new Set(iterable);\n}\nexports.toSet = toSet;\n//# sourceMappingURL=to-set.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.difference = void 0;\nconst filter_1 = require(\"./filter\");\nconst to_set_1 = require(\"../terminal/to-set\");\nfunction difference(left, right) {\n const rightSet = (0, to_set_1.toSet)(right);\n return (0, filter_1.filter)(left, x => !rightSet.has(x));\n}\nexports.difference = difference;\n//# sourceMappingURL=difference.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.copyIterable = exports.copyAsyncIterable = void 0;\nasync function* copyAsyncIterable(iterable) {\n for await (const element of iterable) {\n yield element;\n }\n}\nexports.copyAsyncIterable = copyAsyncIterable;\nfunction* copyIterable(iterable) {\n for (const element of iterable) {\n yield element;\n }\n}\nexports.copyIterable = copyIterable;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst utils_1 = require(\"../utils\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction dropAsync(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n if (count === 0)\n return (0, utils_1.copyAsyncIterable)(iterable);\n return (0, go_1.go)(async function* () {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n let value;\n while ({ value, done } = await iterator.next(), !done) {\n if (count <= 0)\n break;\n count--;\n }\n while (!done) {\n yield value;\n ({ value, done } = await iterator.next());\n }\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n });\n}\nexports.dropAsync = dropAsync;\n//# sourceMappingURL=drop-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toArrayAsync = void 0;\nasync function toArrayAsync(iterable) {\n const result = [];\n for await (const element of iterable) {\n result.push(element);\n }\n return result;\n}\nexports.toArrayAsync = toArrayAsync;\n//# sourceMappingURL=to-array-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropRightAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst utils_1 = require(\"../utils\");\nconst errors_1 = require(\"@blackglory/errors\");\nconst to_array_async_1 = require(\"../terminal/to-array-async\");\nfunction dropRightAsync(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n if (count === 0)\n return (0, utils_1.copyAsyncIterable)(iterable);\n return (0, go_1.go)(async function* () {\n const arr = await (0, to_array_async_1.toArrayAsync)(iterable);\n const result = arr.slice(0, -count);\n for (const value of result) {\n yield value;\n }\n });\n}\nexports.dropRightAsync = dropRightAsync;\n//# sourceMappingURL=drop-right-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropRight = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst utils_1 = require(\"../utils\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction dropRight(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n if (count === 0)\n return (0, utils_1.copyIterable)(iterable);\n return (0, go_1.go)(function* () {\n const arr = Array.from(iterable);\n yield* arr.slice(0, -count);\n });\n}\nexports.dropRight = dropRight;\n//# sourceMappingURL=drop-right.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropUntilAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction dropUntilAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return dropUntilAsyncIterable(iterable, predicate);\n }\n else {\n return dropUntilIterable(iterable, predicate);\n }\n}\nexports.dropUntilAsync = dropUntilAsync;\nasync function* dropUntilAsyncIterable(iterable, predicate) {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n let index = 0;\n let value;\n while ({ value, done } = await iterator.next(), !done) {\n if (await predicate(value, index++))\n break;\n }\n while (!done) {\n yield value;\n ({ value, done } = await iterator.next());\n }\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n}\nasync function* dropUntilIterable(iterable, predicate) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let index = 0;\n let value;\n while ({ value, done } = iterator.next(), !done) {\n if (await predicate(value, index++))\n break;\n }\n while (!done) {\n yield value;\n ({ value, done } = iterator.next());\n }\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n}\n//# sourceMappingURL=drop-until-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dropUntil = void 0;\nfunction* dropUntil(iterable, predicate) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let index = 0;\n let value;\n while ({ value, done } = iterator.next(), !done) {\n if (predicate(value, index++))\n break;\n }\n while (!done) {\n yield value;\n ({ value, done } = iterator.next());\n }\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n}\nexports.dropUntil = dropUntil;\n//# sourceMappingURL=drop-until.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.drop = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst utils_1 = require(\"../utils\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction drop(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n if (count === 0)\n return (0, utils_1.copyIterable)(iterable);\n return (0, go_1.go)(function* () {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let value;\n while ({ value, done } = iterator.next(), !done) {\n if (count <= 0)\n break;\n count--;\n }\n while (!done) {\n yield value;\n ({ value, done } = iterator.next());\n }\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n });\n}\nexports.drop = drop;\n//# sourceMappingURL=drop.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenByAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction flattenByAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return flattenByAsyncIterable(iterable, predicate);\n }\n else {\n return flattenByIterable(iterable, predicate);\n }\n}\nexports.flattenByAsync = flattenByAsync;\nasync function* flattenByAsyncIterable(iterable, predicate) {\n const level = 1;\n for await (const element of iterable) {\n if (isFiniteIterable(element) && await predicate(element, level)) {\n yield* flatten(element, predicate, level + 1);\n }\n else {\n yield element;\n }\n }\n}\nfunction flattenByIterable(iterable, predicate) {\n return flatten(iterable, predicate, 1);\n}\nasync function* flatten(iterable, predicate, level) {\n for (const element of iterable) {\n if (isFiniteIterable(element) && await predicate(element, level)) {\n yield* flatten(element, predicate, level + 1);\n }\n else {\n yield element;\n }\n }\n}\nfunction isFiniteIterable(val) {\n return (0, types_1.isIterable)(val) && (0, types_1.isntChar)(val);\n}\n//# sourceMappingURL=flatten-by-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenDeepAsync = void 0;\nconst flatten_by_async_1 = require(\"./flatten-by-async\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction flattenDeepAsync(iterable, depth = Infinity) {\n (0, errors_1.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');\n (0, errors_1.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');\n return (0, flatten_by_async_1.flattenByAsync)(iterable, (_, level) => level <= depth);\n}\nexports.flattenDeepAsync = flattenDeepAsync;\n//# sourceMappingURL=flatten-deep-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenAsync = void 0;\nconst flatten_deep_async_1 = require(\"./flatten-deep-async\");\nfunction flattenAsync(iterable) {\n return (0, flatten_deep_async_1.flattenDeepAsync)(iterable, 1);\n}\nexports.flattenAsync = flattenAsync;\n//# sourceMappingURL=flatten-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenBy = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction flattenBy(iterable, predicate) {\n return flatten(iterable, predicate, 1);\n}\nexports.flattenBy = flattenBy;\nfunction* flatten(iterable, predicate, level) {\n for (const element of iterable) {\n if (isFiniteIterable(element) && predicate(element, level)) {\n yield* flatten(element, predicate, level + 1);\n }\n else {\n yield element;\n }\n }\n}\nfunction isFiniteIterable(val) {\n return (0, types_1.isIterable)(val) && (0, types_1.isntChar)(val);\n}\n//# sourceMappingURL=flatten-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flattenDeep = void 0;\nconst flatten_by_1 = require(\"./flatten-by\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction flattenDeep(iterable, depth = Infinity) {\n (0, errors_1.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');\n (0, errors_1.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');\n return (0, flatten_by_1.flattenBy)(iterable, (_, level) => level <= depth);\n}\nexports.flattenDeep = flattenDeep;\n//# sourceMappingURL=flatten-deep.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.flatten = void 0;\nconst flatten_deep_1 = require(\"./flatten-deep\");\nfunction flatten(iterable) {\n return (0, flatten_deep_1.flattenDeep)(iterable, 1);\n}\nexports.flatten = flatten;\n//# sourceMappingURL=flatten.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.intersectionAsync = void 0;\nconst filter_async_1 = require(\"./filter-async\");\nconst to_set_async_1 = require(\"../terminal/to-set-async\");\nasync function* intersectionAsync(left, right) {\n const rightSet = await (0, to_set_async_1.toSetAsync)(right);\n yield* (0, filter_async_1.filterAsync)(left, async (x) => rightSet.has(await x));\n}\nexports.intersectionAsync = intersectionAsync;\n//# sourceMappingURL=intersection-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.intersection = void 0;\nconst filter_1 = require(\"./filter\");\nconst to_set_1 = require(\"../terminal/to-set\");\nfunction intersection(left, right) {\n const rightSet = (0, to_set_1.toSet)(right);\n return (0, filter_1.filter)(left, x => rightSet.has(x));\n}\nexports.intersection = intersection;\n//# sourceMappingURL=intersection.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.mapAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction mapAsync(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return mapAsyncIterable(iterable, fn);\n }\n else {\n return mapIterable(iterable, fn);\n }\n}\nexports.mapAsync = mapAsync;\nasync function* mapAsyncIterable(iterable, fn) {\n let index = 0;\n for await (const element of iterable) {\n yield await fn(element, index);\n index++;\n }\n}\nasync function* mapIterable(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n yield await fn(element, index);\n index++;\n }\n}\n//# sourceMappingURL=map-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.map = void 0;\nfunction* map(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n yield fn(element, index);\n index++;\n }\n}\nexports.map = map;\n//# sourceMappingURL=map.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.repeatAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction repeatAsync(iterable, times) {\n (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');\n (0, errors_1.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');\n if (times === Infinity)\n warnInfiniteLoop();\n return (0, go_1.go)(async function* () {\n const cache = [];\n if (times > 0) {\n for await (const element of iterable) {\n yield element;\n cache.push(element);\n }\n times--;\n }\n while (times > 0) {\n yield* cache;\n times--;\n }\n });\n}\nexports.repeatAsync = repeatAsync;\nfunction warnInfiniteLoop() {\n if (isProduction())\n return;\n console.warn('When iterable has no elements and times is Infinity, repeat() will be in dead loop');\n}\nfunction isProduction() {\n return process.env.NODE_ENV === 'production';\n}\n//# sourceMappingURL=repeat-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.repeat = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction repeat(iterable, times) {\n (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');\n (0, errors_1.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');\n if (times === Infinity)\n warnInfiniteLoop();\n return (0, go_1.go)(function* () {\n const cache = [];\n if (times > 0) {\n for (const element of iterable) {\n yield element;\n cache.push(element);\n }\n times--;\n }\n while (times > 0) {\n yield* cache;\n times--;\n }\n });\n}\nexports.repeat = repeat;\nfunction warnInfiniteLoop() {\n if (isProduction())\n return;\n console.warn('When iterable has no elements and times is Infinity, repeat() will be in dead loop');\n}\nfunction isProduction() {\n return process.env.NODE_ENV === 'production';\n}\n//# sourceMappingURL=repeat.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sliceAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction sliceAsync(iterable, start, end = Infinity) {\n (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');\n (0, errors_1.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');\n (0, errors_1.assert)(Number.isInteger(end), 'The parameter end must be an integer');\n (0, errors_1.assert)(end >= start, 'The parameter end must be greater than or equal to start');\n return (0, go_1.go)(async function* () {\n let index = 0;\n for await (const element of iterable) {\n if (index >= end)\n break;\n if (index >= start)\n yield element;\n index++;\n }\n });\n}\nexports.sliceAsync = sliceAsync;\n//# sourceMappingURL=slice-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.slice = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction slice(iterable, start, end = Infinity) {\n (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');\n (0, errors_1.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');\n (0, errors_1.assert)(Number.isInteger(end), 'The parameter end must be an integer');\n (0, errors_1.assert)(end >= start, 'The parameter end must be greater than or equal to start');\n return (0, go_1.go)(function* () {\n let index = 0;\n for (const element of iterable) {\n if (index >= end)\n break;\n if (index >= start)\n yield element;\n index++;\n }\n });\n}\nexports.slice = slice;\n//# sourceMappingURL=slice.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitAsync = void 0;\nasync function* splitAsync(iterable, separator) {\n let buffer = [];\n for await (const element of iterable) {\n if (element === separator) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n }\n yield buffer;\n}\nexports.splitAsync = splitAsync;\n//# sourceMappingURL=split-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitByAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction splitByAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return splitByAsyncIterable(iterable, predicate);\n }\n else {\n return splitByIterable(iterable, predicate);\n }\n}\nexports.splitByAsync = splitByAsync;\nasync function* splitByIterable(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n index++;\n }\n yield buffer;\n}\nasync function* splitByAsyncIterable(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n index++;\n }\n yield buffer;\n}\n//# sourceMappingURL=split-by-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitBy = void 0;\nfunction* splitBy(iterable, predicate) {\n let buffer = [];\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index)) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n index++;\n }\n yield buffer;\n}\nexports.splitBy = splitBy;\n//# sourceMappingURL=split-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.split = void 0;\nfunction* split(iterable, separator) {\n let buffer = [];\n for (const element of iterable) {\n if (element === separator) {\n yield buffer;\n buffer = [];\n }\n else {\n buffer.push(element);\n }\n }\n yield buffer;\n}\nexports.split = split;\n//# sourceMappingURL=split.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction takeAsync(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n return (0, go_1.go)(async function* () {\n if (count === 0)\n return;\n for await (const element of iterable) {\n yield element;\n count--;\n if (count === 0)\n break;\n }\n });\n}\nexports.takeAsync = takeAsync;\n//# sourceMappingURL=take-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeRightAsync = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction takeRightAsync(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n return (0, go_1.go)(async function* () {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n const buffer = [];\n let value;\n while ({ value, done } = await iterator.next(), !done) {\n buffer.push(value);\n if (buffer.length > count)\n buffer.shift();\n }\n yield* buffer;\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n });\n}\nexports.takeRightAsync = takeRightAsync;\n//# sourceMappingURL=take-right-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeRight = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction takeRight(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n return (0, go_1.go)(function* () {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n const buffer = [];\n let value;\n while ({ value, done } = iterator.next(), !done) {\n buffer.push(value);\n if (buffer.length > count)\n buffer.shift();\n }\n yield* buffer;\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n });\n}\nexports.takeRight = takeRight;\n//# sourceMappingURL=take-right.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeUntilAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction takeUntilAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return takeUntilAsyncIterable(iterable, predicate);\n }\n else {\n return takeUntilIterable(iterable, predicate);\n }\n}\nexports.takeUntilAsync = takeUntilAsync;\nasync function* takeUntilAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index))\n break;\n yield element;\n index++;\n }\n}\nasync function* takeUntilIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index))\n break;\n yield element;\n index++;\n }\n}\n//# sourceMappingURL=take-until-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.takeUntil = void 0;\nfunction* takeUntil(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index))\n break;\n yield element;\n index++;\n }\n}\nexports.takeUntil = takeUntil;\n//# sourceMappingURL=take-until.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.take = void 0;\nconst go_1 = require(\"@blackglory/go\");\nconst errors_1 = require(\"@blackglory/errors\");\nfunction take(iterable, count) {\n (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');\n (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');\n return (0, go_1.go)(function* () {\n if (count === 0)\n return;\n for (const element of iterable) {\n yield element;\n count--;\n if (count === 0)\n break;\n }\n });\n}\nexports.take = take;\n//# sourceMappingURL=take.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.tapAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction tapAsync(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return tapAsyncIterable(iterable, fn);\n }\n else {\n return tapIterable(iterable, fn);\n }\n}\nexports.tapAsync = tapAsync;\nasync function* tapIterable(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n await fn(element, index);\n yield element;\n index++;\n }\n}\nasync function* tapAsyncIterable(iterable, fn) {\n let index = 0;\n for await (const element of iterable) {\n await fn(element, index);\n yield element;\n index++;\n }\n}\n//# sourceMappingURL=tap-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.tap = void 0;\nfunction* tap(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n fn(element, index);\n yield element;\n index++;\n }\n}\nexports.tap = tap;\n//# sourceMappingURL=tap.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toAsyncIterable = void 0;\nasync function* toAsyncIterable(iterable) {\n for (const value of iterable) {\n yield await value;\n }\n}\nexports.toAsyncIterable = toAsyncIterable;\n//# sourceMappingURL=to-async-iterable.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.transformAsync = void 0;\nasync function* transformAsync(iterable, transformer) {\n yield* transformer(iterable);\n}\nexports.transformAsync = transformAsync;\n//# sourceMappingURL=transform-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.transform = void 0;\nfunction* transform(iterable, transformer) {\n yield* transformer(iterable);\n}\nexports.transform = transform;\n//# sourceMappingURL=transform.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uniqAsync = void 0;\nasync function* uniqAsync(iterable) {\n const bucket = new Set();\n for await (const element of iterable) {\n if (!bucket.has(element)) {\n yield element;\n bucket.add(element);\n }\n }\n}\nexports.uniqAsync = uniqAsync;\n//# sourceMappingURL=uniq-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uniqByAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction uniqByAsync(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return uniqByAsyncIterable(iterable, fn);\n }\n else {\n return uniqByIterable(iterable, fn);\n }\n}\nexports.uniqByAsync = uniqByAsync;\nasync function* uniqByAsyncIterable(iterable, fn) {\n const bucket = new Set();\n let index = 0;\n for await (const element of iterable) {\n const result = await fn(element, index);\n if (!bucket.has(result)) {\n yield element;\n bucket.add(result);\n }\n index++;\n }\n}\nasync function* uniqByIterable(iterable, fn) {\n const bucket = new Set();\n let index = 0;\n for (const element of iterable) {\n const result = await fn(element, index);\n if (!bucket.has(result)) {\n yield element;\n bucket.add(result);\n }\n index++;\n }\n}\n//# sourceMappingURL=uniq-by-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uniqBy = void 0;\nfunction* uniqBy(iterable, fn) {\n const bucket = new Set();\n let index = 0;\n for (const element of iterable) {\n const result = fn(element, index);\n if (!bucket.has(result)) {\n yield element;\n bucket.add(result);\n }\n index++;\n }\n}\nexports.uniqBy = uniqBy;\n//# sourceMappingURL=uniq-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uniq = void 0;\nfunction* uniq(iterable) {\n const bucket = new Set();\n for (const element of iterable) {\n if (!bucket.has(element)) {\n yield element;\n bucket.add(element);\n }\n }\n}\nexports.uniq = uniq;\n//# sourceMappingURL=uniq.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.zipAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nvar Kind;\n(function (Kind) {\n Kind[Kind[\"Sync\"] = 0] = \"Sync\";\n Kind[Kind[\"Async\"] = 1] = \"Async\";\n})(Kind || (Kind = {}));\nfunction zipAsync(iterable, ...otherIterables) {\n return zipWithSize(iterable, ...otherIterables);\n}\nexports.zipAsync = zipAsync;\nasync function* zipWithSize(...iterables) {\n var _a, _b, _c, _d;\n const length = iterables.length;\n const iterators = iterables.map(iterable => {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return [Kind.Async, iterable[Symbol.asyncIterator]()];\n }\n else {\n return [Kind.Sync, iterable[Symbol.iterator]()];\n }\n });\n const dones = iterators.map(() => false);\n try {\n while (true) {\n const result = new Array(length);\n for (let i = 0; i < length; i++) {\n const [kind, iterator] = iterators[i];\n let temp;\n if (kind === Kind.Async) {\n temp = await iterator.next();\n }\n else {\n temp = iterator.next();\n }\n if (temp.done) {\n dones[i] = true;\n return;\n }\n result[i] = await temp.value;\n }\n yield result;\n }\n }\n finally {\n const undoneIterators = iterators.filter((_, i) => !dones[i]);\n for (const [kind, iterator] of undoneIterators) {\n if (kind === Kind.Async) {\n await ((_b = (_a = iterator).return) === null || _b === void 0 ? void 0 : _b.call(_a));\n }\n else {\n (_d = (_c = iterator).return) === null || _d === void 0 ? void 0 : _d.call(_c);\n }\n }\n }\n}\n//# sourceMappingURL=zip-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.zip = void 0;\nfunction zip(iterable, ...otherIterables) {\n return zipWithSize(iterable, ...otherIterables);\n}\nexports.zip = zip;\nfunction* zipWithSize(...iterables) {\n const length = iterables.length;\n const iterators = iterables.map(iterable => iterable[Symbol.iterator]());\n const dones = iterators.map(() => false);\n try {\n while (true) {\n const result = new Array(length);\n for (let i = 0; i < length; i++) {\n const { value, done } = iterators[i].next();\n if (done) {\n dones[i] = true;\n return;\n }\n result[i] = value;\n }\n yield result;\n }\n }\n finally {\n const undoneIterators = iterators.filter((_, i) => !dones[i]);\n undoneIterators.forEach(x => { var _a; return (_a = x.return) === null || _a === void 0 ? void 0 : _a.call(x); });\n }\n}\n//# sourceMappingURL=zip.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./chunk-async\"), exports);\n__exportStar(require(\"./chunk-by-async\"), exports);\n__exportStar(require(\"./chunk-by\"), exports);\n__exportStar(require(\"./chunk\"), exports);\n__exportStar(require(\"./concat-async\"), exports);\n__exportStar(require(\"./concat\"), exports);\n__exportStar(require(\"./difference-async\"), exports);\n__exportStar(require(\"./difference\"), exports);\n__exportStar(require(\"./drop-async\"), exports);\n__exportStar(require(\"./drop-right-async\"), exports);\n__exportStar(require(\"./drop-right\"), exports);\n__exportStar(require(\"./drop-until-async\"), exports);\n__exportStar(require(\"./drop-until\"), exports);\n__exportStar(require(\"./drop\"), exports);\n__exportStar(require(\"./filter-async\"), exports);\n__exportStar(require(\"./filter\"), exports);\n__exportStar(require(\"./flatten-async\"), exports);\n__exportStar(require(\"./flatten-by-async\"), exports);\n__exportStar(require(\"./flatten-by\"), exports);\n__exportStar(require(\"./flatten-deep-async\"), exports);\n__exportStar(require(\"./flatten-deep\"), exports);\n__exportStar(require(\"./flatten\"), exports);\n__exportStar(require(\"./intersection-async\"), exports);\n__exportStar(require(\"./intersection\"), exports);\n__exportStar(require(\"./map-async\"), exports);\n__exportStar(require(\"./map\"), exports);\n__exportStar(require(\"./repeat-async\"), exports);\n__exportStar(require(\"./repeat\"), exports);\n__exportStar(require(\"./slice-async\"), exports);\n__exportStar(require(\"./slice\"), exports);\n__exportStar(require(\"./split-async\"), exports);\n__exportStar(require(\"./split-by-async\"), exports);\n__exportStar(require(\"./split-by\"), exports);\n__exportStar(require(\"./split\"), exports);\n__exportStar(require(\"./take-async\"), exports);\n__exportStar(require(\"./take-right-async\"), exports);\n__exportStar(require(\"./take-right\"), exports);\n__exportStar(require(\"./take-until-async\"), exports);\n__exportStar(require(\"./take-until\"), exports);\n__exportStar(require(\"./take\"), exports);\n__exportStar(require(\"./tap-async\"), exports);\n__exportStar(require(\"./tap\"), exports);\n__exportStar(require(\"./to-async-iterable\"), exports);\n__exportStar(require(\"./transform-async\"), exports);\n__exportStar(require(\"./transform\"), exports);\n__exportStar(require(\"./uniq-async\"), exports);\n__exportStar(require(\"./uniq-by-async\"), exports);\n__exportStar(require(\"./uniq-by\"), exports);\n__exportStar(require(\"./uniq\"), exports);\n__exportStar(require(\"./zip-async\"), exports);\n__exportStar(require(\"./zip\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.consume = void 0;\nfunction consume(iterable, consumer) {\n return consumer(iterable);\n}\nexports.consume = consume;\n//# sourceMappingURL=consume.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.consumeAsync = void 0;\nasync function consumeAsync(iterable, consumer) {\n return await consumer(iterable);\n}\nexports.consumeAsync = consumeAsync;\n//# sourceMappingURL=consume-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.eachAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction eachAsync(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return eachAsyncIterable(iterable, fn);\n }\n else {\n return eachIterable(iterable, fn);\n }\n}\nexports.eachAsync = eachAsync;\nasync function eachAsyncIterable(iterable, fn) {\n let index = 0;\n for await (const element of iterable) {\n await fn(element, index);\n index++;\n }\n}\nasync function eachIterable(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n await fn(element, index);\n index++;\n }\n}\n//# sourceMappingURL=each-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.each = void 0;\nfunction each(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n fn(element, index);\n index++;\n }\n}\nexports.each = each;\n//# sourceMappingURL=each.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.everyAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction everyAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return everyAsyncIterable(iterable, predicate);\n }\n else {\n return everyIterable(iterable, predicate);\n }\n}\nexports.everyAsync = everyAsync;\nasync function everyIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (!await predicate(element, index))\n return false;\n index++;\n }\n return true;\n}\nasync function everyAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (!await predicate(element, index))\n return false;\n index++;\n }\n return true;\n}\n//# sourceMappingURL=every-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.every = void 0;\nfunction every(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (!predicate(element, index))\n return false;\n index++;\n }\n return true;\n}\nexports.every = every;\n//# sourceMappingURL=every.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.findAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction findAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return findAsyncIterable(iterable, predicate);\n }\n else {\n return findIterable(iterable, predicate);\n }\n}\nexports.findAsync = findAsync;\nasync function findIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index))\n return element;\n index++;\n }\n return undefined;\n}\nasync function findAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index))\n return element;\n index++;\n }\n return undefined;\n}\n//# sourceMappingURL=find-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.find = void 0;\nfunction find(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index))\n return element;\n index++;\n }\n return undefined;\n}\nexports.find = find;\n//# sourceMappingURL=find.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.firstAsync = void 0;\nasync function firstAsync(iterable) {\n for await (const element of iterable) {\n return element;\n }\n return undefined;\n}\nexports.firstAsync = firstAsync;\n//# sourceMappingURL=first-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.first = void 0;\nfunction first(iterable) {\n for (const element of iterable) {\n return element;\n }\n return undefined;\n}\nexports.first = first;\n//# sourceMappingURL=first.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.includesAsync = void 0;\nasync function includesAsync(iterable, value) {\n for await (const element of iterable) {\n if (element === value)\n return true;\n }\n return false;\n}\nexports.includesAsync = includesAsync;\n//# sourceMappingURL=includes-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.includes = void 0;\nfunction includes(iterable, value) {\n for (const element of iterable) {\n if (element === value)\n return true;\n }\n return false;\n}\nexports.includes = includes;\n//# sourceMappingURL=includes.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reduceAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction reduceAsync(iterable, fn, initialValue) {\n if ((0, types_1.isUndefined)(initialValue)) {\n return reduceAsyncWithoutInitialValue(iterable, fn);\n }\n else {\n return reduceAsyncWithInitialValue(iterable, fn, initialValue);\n }\n}\nexports.reduceAsync = reduceAsync;\nfunction reduceAsyncWithInitialValue(iterable, fn, initialValue) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return reduceAsyncIterable(iterable);\n }\n else {\n return reduceIterable(iterable);\n }\n async function reduceIterable(iterable) {\n let result = initialValue, index = 0;\n for (const currentValue of iterable) {\n result = await fn(result, currentValue, index++);\n }\n return result;\n }\n async function reduceAsyncIterable(iterable) {\n let result = initialValue, index = 0;\n for await (const currentValue of iterable) {\n result = await fn(result, currentValue, index++);\n }\n return result;\n }\n}\nfunction reduceAsyncWithoutInitialValue(iterable, fn) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return reduceAsyncIterable(iterable);\n }\n else {\n return reduceIterable(iterable);\n }\n async function reduceAsyncIterable(iterable) {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n let result = await readInitialValue(iterator);\n let index = 1;\n let value;\n while ({ value, done } = await iterator.next(), !done) {\n result = await fn(result, value, index++);\n }\n return result;\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n async function readInitialValue(iterator) {\n const result = await iterator.next();\n if (result.done) {\n done = true;\n throw new Error('Reduce of empty iterable with no initial value');\n }\n return result.value;\n }\n }\n async function reduceIterable(iterable) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let result = readInitialValue(iterator);\n let index = 1;\n let value;\n while ({ value, done } = iterator.next(), !done) {\n result = await fn(result, value, index++);\n }\n return result;\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n function readInitialValue(iterator) {\n const result = iterator.next();\n if (result.done) {\n done = true;\n throw new Error('Reduce of empty iterable with no initial value');\n }\n return result.value;\n }\n }\n}\n//# sourceMappingURL=reduce-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reduce = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction reduce(iterable, fn, initialValue) {\n if ((0, types_1.isUndefined)(initialValue)) {\n return reduceWithoutInitialValue(iterable, fn);\n }\n else {\n return reduceWithInitialValue(iterable, fn, initialValue);\n }\n}\nexports.reduce = reduce;\nfunction reduceWithInitialValue(iterable, fn, initialValue) {\n let result = initialValue, index = 0;\n for (const currentValue of iterable) {\n result = fn(result, currentValue, index++);\n }\n return result;\n}\nfunction reduceWithoutInitialValue(iterable, fn) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let result = readInitialValue(iterator);\n let index = 1;\n let value;\n while ({ value, done } = iterator.next(), !done) {\n result = fn(result, value, index++);\n }\n return result;\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n function readInitialValue(iterator) {\n const result = iterator.next();\n if (result.done) {\n done = true;\n throw new Error('Reduce of empty iterable with no initial value');\n }\n return result.value;\n }\n}\n//# sourceMappingURL=reduce.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.someAsync = void 0;\nconst types_1 = require(\"@blackglory/types\");\nfunction someAsync(iterable, predicate) {\n if ((0, types_1.isAsyncIterable)(iterable)) {\n return someAsyncIterable(iterable, predicate);\n }\n else {\n return someIterable(iterable, predicate);\n }\n}\nexports.someAsync = someAsync;\nasync function someIterable(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (await predicate(element, index))\n return true;\n index++;\n }\n return false;\n}\nasync function someAsyncIterable(iterable, predicate) {\n let index = 0;\n for await (const element of iterable) {\n if (await predicate(element, index))\n return true;\n index++;\n }\n return false;\n}\n//# sourceMappingURL=some-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.some = void 0;\nfunction some(iterable, predicate) {\n let index = 0;\n for (const element of iterable) {\n if (predicate(element, index))\n return true;\n index++;\n }\n return false;\n}\nexports.some = some;\n//# sourceMappingURL=some.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.lastAsync = void 0;\nasync function lastAsync(iterable) {\n var _a;\n const iterator = iterable[Symbol.asyncIterator]();\n let done;\n try {\n let value;\n let result;\n while ({ value, done } = await iterator.next(), !done) {\n result = value;\n }\n return result;\n }\n finally {\n if (!done)\n await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));\n }\n}\nexports.lastAsync = lastAsync;\n//# sourceMappingURL=last-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.last = void 0;\nfunction last(iterable) {\n var _a;\n const iterator = iterable[Symbol.iterator]();\n let done;\n try {\n let value;\n let result;\n while ({ value, done } = iterator.next(), !done) {\n result = value;\n }\n return result;\n }\n finally {\n if (!done)\n (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);\n }\n}\nexports.last = last;\n//# sourceMappingURL=last.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toArray = void 0;\nfunction toArray(iterable) {\n return Array.from(iterable);\n}\nexports.toArray = toArray;\n//# sourceMappingURL=to-array.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.count = void 0;\nfunction count(iterable) {\n let count = 0;\n for (const _ of iterable) {\n count++;\n }\n return count;\n}\nexports.count = count;\n//# sourceMappingURL=count.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.countAsync = void 0;\nasync function countAsync(iterable) {\n let count = 0;\n for await (const _ of iterable) {\n count++;\n }\n return count;\n}\nexports.countAsync = countAsync;\n//# sourceMappingURL=count-async.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.groupBy = void 0;\nconst each_1 = require(\"./each\");\nfunction groupBy(iterable, fn) {\n const map = new Map();\n (0, each_1.each)(iterable, (element, index) => {\n const group = fn(element, index);\n if (!map.has(group)) {\n map.set(group, []);\n }\n map.get(group).push(element);\n });\n return map;\n}\nexports.groupBy = groupBy;\n//# sourceMappingURL=group-by.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.groupByAsync = void 0;\nconst each_async_1 = require(\"./each-async\");\nasync function groupByAsync(iterable, fn) {\n const map = new Map();\n await (0, each_async_1.eachAsync)(iterable, async (element, index) => {\n const group = await fn(element, index);\n if (!map.has(group)) {\n map.set(group, []);\n }\n map.get(group).push(element);\n });\n return map;\n}\nexports.groupByAsync = groupByAsync;\n//# sourceMappingURL=group-by-async.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./consume\"), exports);\n__exportStar(require(\"./consume-async\"), exports);\n__exportStar(require(\"./each-async\"), exports);\n__exportStar(require(\"./each\"), exports);\n__exportStar(require(\"./every-async\"), exports);\n__exportStar(require(\"./every\"), exports);\n__exportStar(require(\"./find-async\"), exports);\n__exportStar(require(\"./find\"), exports);\n__exportStar(require(\"./first-async\"), exports);\n__exportStar(require(\"./first\"), exports);\n__exportStar(require(\"./includes-async\"), exports);\n__exportStar(require(\"./includes\"), exports);\n__exportStar(require(\"./reduce-async\"), exports);\n__exportStar(require(\"./reduce\"), exports);\n__exportStar(require(\"./some-async\"), exports);\n__exportStar(require(\"./some\"), exports);\n__exportStar(require(\"./last-async\"), exports);\n__exportStar(require(\"./last\"), exports);\n__exportStar(require(\"./to-array-async\"), exports);\n__exportStar(require(\"./to-array\"), exports);\n__exportStar(require(\"./to-set-async\"), exports);\n__exportStar(require(\"./to-set\"), exports);\n__exportStar(require(\"./count\"), exports);\n__exportStar(require(\"./count-async\"), exports);\n__exportStar(require(\"./group-by\"), exports);\n__exportStar(require(\"./group-by-async\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./intermediate\"), exports);\n__exportStar(require(\"./terminal\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AbortError = void 0;\nconst errors_1 = require(\"@blackglory/errors\");\nconst types_1 = require(\"@blackglory/types\");\nconst iterable_operator_1 = require(\"iterable-operator\");\nclass AbortError extends errors_1.CustomError {\n static [Symbol.hasInstance](instance) {\n if ((0, types_1.isError)(instance)) {\n return (0, iterable_operator_1.some)((0, errors_1.getErrorNames)(instance), name => name === 'AbortError');\n }\n return super[Symbol.hasInstance](instance);\n }\n}\nexports.AbortError = AbortError;\n//# sourceMappingURL=abort-error.js.map","\"use strict\";\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AbortSignal = void 0;\nconst abort_controller_1 = require(\"abort-controller\");\nexports.AbortSignal = (_a = globalThis.AbortSignal) !== null && _a !== void 0 ? _a : abort_controller_1.AbortSignal;\n//# sourceMappingURL=abort-signal.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.raceAbortSignals = void 0;\nconst abort_controller_1 = require(\"./abort-controller\");\nfunction raceAbortSignals(abortSignals) {\n const controller = new abort_controller_1.AbortController();\n const subscribedAbortSignals = [];\n for (const signal of abortSignals) {\n if (signal) {\n if (signal.aborted) {\n controller.abort();\n break;\n }\n else {\n signal.addEventListener('abort', abort);\n subscribedAbortSignals.push(signal);\n }\n }\n }\n return controller.signal;\n function abort() {\n controller.abort();\n subscribedAbortSignals.forEach(x => x.removeEventListener('abort', abort));\n }\n}\nexports.raceAbortSignals = raceAbortSignals;\n//# sourceMappingURL=race-abort-signals.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.timeoutSignal = void 0;\nconst abort_controller_1 = require(\"./abort-controller\");\nfunction timeoutSignal(ms) {\n const controller = new abort_controller_1.AbortController();\n setTimeout(() => controller.abort(), ms);\n return controller.signal;\n}\nexports.timeoutSignal = timeoutSignal;\n//# sourceMappingURL=timeout-signal.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.withAbortSignal = void 0;\nconst abort_error_1 = require(\"./abort-error\");\n/**\n * @throws {AbortError}\n */\nasync function withAbortSignal(signal, fn) {\n return new Promise(async (resolve, reject) => {\n if (signal.aborted)\n return rejectByAbortSignal();\n signal.addEventListener('abort', rejectByAbortSignal);\n try {\n resolve(await fn());\n }\n catch (e) {\n reject(e);\n }\n finally {\n signal.removeEventListener('abort', rejectByAbortSignal);\n }\n function rejectByAbortSignal() {\n reject(new abort_error_1.AbortError());\n }\n });\n}\nexports.withAbortSignal = withAbortSignal;\n//# sourceMappingURL=with-abort-signal.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./abort-controller\"), exports);\n__exportStar(require(\"./abort-error\"), exports);\n__exportStar(require(\"./abort-signal\"), exports);\n__exportStar(require(\"./race-abort-signals\"), exports);\n__exportStar(require(\"./timeout-signal\"), exports);\n__exportStar(require(\"./with-abort-signal\"), exports);\n//# sourceMappingURL=index.js.map","import { fetch } from 'extra-fetch'\nimport { get } from 'extra-request'\nimport { url, appendPathname, searchParams, signal, keepalive, basicAuth, header }\n from 'extra-request/transformers/index.js'\nimport { ok } from 'extra-response'\nimport { timeoutSignal, raceAbortSignals } from 'extra-abort'\nimport { expectedVersion } from './utils'\n\nexport interface IGeyserClientOptions {\n server: string\n token?: string\n basicAuth?: {\n username: string\n password: string\n }\n keepalive?: boolean\n timeout?: number\n}\n\nexport interface IGeyserClientRequestOptions {\n signal?: AbortSignal\n token?: string\n keepalive?: boolean\n timeout?: number | false\n}\n\nexport class GeyserClient {\n constructor(private options: IGeyserClientOptions) {}\n\n /**\n * @throws {AbortError}\n */\n async acquire(\n namespace: string\n , options: IGeyserClientRequestOptions = {}\n ): Promise<void> {\n const token = options.token ?? this.options.token\n const auth = this.options.basicAuth\n\n const req = get(\n url(this.options.server)\n , appendPathname(`geyser/${namespace}`)\n , auth && basicAuth(auth.username, auth.password)\n , token && searchParams({ token })\n , signal(raceAbortSignals([\n options.signal\n , options.timeout !== false && (\n (options.timeout && timeoutSignal(options.timeout)) ??\n (this.options.timeout && timeoutSignal(this.options.timeout))\n )\n ]))\n , (options.keepalive ?? this.options.keepalive) && keepalive()\n , header('Accept-Version', expectedVersion)\n )\n\n await fetch(req).then(ok)\n }\n}\n","export const expectedVersion = '0.2.7'\n","import { IHTTPOptionsTransformer } from 'extra-request'\nimport { url, signal, keepalive, bearerAuth, header } from 'extra-request/transformers/index.js'\nimport { timeoutSignal, raceAbortSignals } from 'extra-abort'\nimport { IGeyserManagerOptions } from './index'\nimport { Falsy } from 'justypes'\nimport { expectedVersion } from '@src/utils'\n\nexport interface IGeyserManagerRequestOptions {\n signal?: AbortSignal\n keepalive?: boolean\n timeout?: number | false\n}\n\nexport class Base {\n constructor(private options: IGeyserManagerOptions) {}\n\n protected getCommonTransformers(\n options: IGeyserManagerRequestOptions\n ): Array<IHTTPOptionsTransformer | Falsy> {\n return [\n url(this.options.server)\n , bearerAuth(this.options.adminPassword)\n , signal(raceAbortSignals([\n options.signal\n , options.timeout !== false && (\n (options.timeout && timeoutSignal(options.timeout)) ??\n (this.options.timeout && timeoutSignal(this.options.timeout))\n )\n ]))\n , (options.keepalive ?? this.options.keepalive) && keepalive()\n , header('Accept-Version', expectedVersion)\n ]\n }\n}\n","import { fetch } from 'extra-fetch'\nimport { get, put, del } from 'extra-request'\nimport { appendPathname, json } from 'extra-request/transformers/index.js'\nimport { ok, toJSON } from 'extra-response'\nimport { IGeyserManagerRequestOptions, Base } from './base'\n\ninterface IConfiguration {\n duration: number | null\n limit: number | null\n}\n\nexport class ConfigurationManager extends Base {\n /**\n * @throws {AbortError}\n */\n async getNamespaces(options: IGeyserManagerRequestOptions = {}): Promise<string[]> {\n const req = get(\n ...this.getCommonTransformers(options)\n , appendPathname('/admin/geyser-with-config')\n )\n\n return await fetch(req)\n .then(ok)\n .then(toJSON) as string[]\n }\n\n /**\n * @throws {AbortError}\n */\n async get(\n namespace: string\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<IConfiguration> {\n const req = get(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/config`)\n )\n\n return await fetch(req)\n .then(ok)\n .then(toJSON) as IConfiguration\n }\n\n /**\n * @throws {AbortError}\n */\n async setDuration(\n namespace: string\n , val: number\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<void> {\n const req = put(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/config/duration`)\n , json(val)\n )\n\n await fetch(req).then(ok)\n }\n\n /**\n * @throws {AbortError}\n */\n async removeDuration(\n namespace: string\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<void> {\n const req = del(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/config/duration`)\n )\n\n await fetch(req).then(ok)\n }\n\n /**\n * @throws {AbortError}\n */\n async setLimit(\n namespace: string\n , val: number\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<void> {\n const req = put(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/config/limit`)\n , json(val)\n )\n\n await fetch(req).then(ok)\n }\n\n /**\n * @throws {AbortError}\n */\n async removeLimit(\n namespace: string\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<void> {\n const req = del(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/config/limit`)\n )\n\n await fetch(req).then(ok)\n }\n}\n","import { fetch } from 'extra-fetch'\nimport { del } from 'extra-request'\nimport { appendPathname } from 'extra-request/transformers/index.js'\nimport { ok } from 'extra-response'\nimport { IGeyserManagerRequestOptions, Base } from './base'\n\nexport class CycleManager extends Base {\n /**\n * @throws {AbortError}\n */\n async resetCycle(\n namespace: string\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<void> {\n const req = del(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/cycle`)\n )\n\n await fetch(req).then(ok)\n }\n}\n","import { fetch } from 'extra-fetch'\nimport { get, put, del } from 'extra-request'\nimport { appendPathname } from 'extra-request/transformers/index.js'\nimport { ok, toJSON } from 'extra-response'\nimport { IGeyserManagerRequestOptions, Base } from './base'\n\nexport class BlacklistManager extends Base {\n /**\n * @throws {AbortError}\n */\n async getNamespaces(options: IGeyserManagerRequestOptions = {}): Promise<string[]> {\n const req = get(\n ...this.getCommonTransformers(options)\n , appendPathname('/admin/blacklist')\n )\n\n return await fetch(req)\n .then(ok)\n .then(toJSON) as string[]\n }\n\n /**\n * @throws {AbortError}\n */\n async add(namespace: string, options: IGeyserManagerRequestOptions = {}): Promise<void> {\n const req = put(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/blacklist/${namespace}`)\n )\n\n await fetch(req).then(ok)\n }\n\n /**\n * @throws {AbortError}\n */\n async remove(namespace: string, options: IGeyserManagerRequestOptions = {}): Promise<void> {\n const req = del(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/blacklist/${namespace}`)\n )\n\n await fetch(req).then(ok)\n }\n}\n","import { fetch } from 'extra-fetch'\nimport { get, put, del } from 'extra-request'\nimport { appendPathname } from 'extra-request/transformers/index.js'\nimport { ok, toJSON } from 'extra-response'\nimport { IGeyserManagerRequestOptions, Base } from './base'\n\nexport class WhitelistManager extends Base {\n /**\n * @throws {AbortError}\n */\n async getNamespaces(options: IGeyserManagerRequestOptions = {}): Promise<string[]> {\n const req = get(\n ...this.getCommonTransformers(options)\n , appendPathname('/admin/whitelist')\n )\n\n return await fetch(req)\n .then(ok)\n .then(toJSON) as string[]\n }\n\n /**\n * @throws {AbortError}\n */\n async add(namespace: string, options: IGeyserManagerRequestOptions = {}): Promise<void> {\n const req = put(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/whitelist/${namespace}`)\n )\n\n await fetch(req).then(ok)\n }\n\n /**\n * @throws {AbortError}\n */\n async remove(namespace: string, options: IGeyserManagerRequestOptions = {}): Promise<void> {\n const req = del(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/whitelist/${namespace}`)\n )\n\n await fetch(req).then(ok)\n }\n}\n","import { fetch } from 'extra-fetch'\nimport { get, put, del } from 'extra-request'\nimport { appendPathname, json } from 'extra-request/transformers/index.js'\nimport { ok, toJSON } from 'extra-response'\nimport { IGeyserManagerRequestOptions, Base } from './base'\n\ninterface ITokenPolicy {\n acquireTokenRequired: boolean | null\n}\n\nexport class TokenPolicyManager extends Base {\n /**\n * @throws {AbortError}\n */\n async getNamespaces(options: IGeyserManagerRequestOptions = {}): Promise<string[]> {\n const req = get(\n ...this.getCommonTransformers(options)\n , appendPathname('/admin/geyser-with-token-policies')\n )\n\n return await fetch(req)\n .then(ok)\n .then(toJSON) as string[]\n }\n\n /**\n * @throws {AbortError}\n */\n async get(\n namespace: string\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<ITokenPolicy> {\n const req = get(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/token-policies`)\n )\n\n return await fetch(req)\n .then(ok)\n .then(toJSON) as ITokenPolicy\n }\n\n /**\n * @throws {AbortError}\n */\n async setAcquireTokenRequired(\n namespace: string\n , val: boolean\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<void> {\n const req = put(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/token-policies/acquire-token-required`)\n , json(val)\n )\n\n await fetch(req).then(ok)\n }\n\n /**\n * @throws {AbortError}\n */\n async removeAcquireTokenRequired(\n namespace: string\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<void> {\n const req = del(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/token-policies/acquire-token-required`)\n )\n\n await fetch(req).then(ok)\n }\n}\n","import { fetch } from 'extra-fetch'\nimport { get, put, del } from 'extra-request'\nimport { appendPathname } from 'extra-request/transformers/index.js'\nimport { ok, toJSON } from 'extra-response'\nimport { IGeyserManagerRequestOptions, Base } from './base'\n\ninterface ITokenInfo {\n token: string\n acquire: boolean\n}\n\nexport class TokenManager extends Base {\n /**\n * @throws {AbortError}\n */\n async getNamespaces(options: IGeyserManagerRequestOptions = {}): Promise<string[]> {\n const req = get(\n ...this.getCommonTransformers(options)\n , appendPathname('/admin/geyser-with-tokens')\n )\n\n return await fetch(req)\n .then(ok)\n .then(toJSON) as string[]\n }\n\n /**\n * @throws {AbortError}\n */\n async getTokens(\n namespace: string\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<ITokenInfo[]> {\n const req = get(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/tokens`)\n )\n\n return await fetch(req)\n .then(ok)\n .then(toJSON) as ITokenInfo[]\n }\n\n /**\n * @throws {AbortError}\n */\n async addAcquireToken(\n namespace: string\n , token: string\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<void> {\n const req = put(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/tokens/${token}/acquire`)\n )\n\n await fetch(req).then(ok)\n }\n\n /**\n * @throws {AbortError}\n */\n async removeAcquireToken(\n namespace: string\n , token: string\n , options: IGeyserManagerRequestOptions = {}\n ): Promise<void> {\n const req = del(\n ...this.getCommonTransformers(options)\n , appendPathname(`/admin/geyser/${namespace}/tokens/${token}/acquire`)\n )\n\n await fetch(req).then(ok)\n }\n}\n","import { ConfigurationManager } from './configuration-manager'\nimport { CycleManager } from './cycle-manager'\nimport { BlacklistManager } from './blacklist-manager'\nimport { WhitelistManager } from './whitelist-manager'\nimport { TokenPolicyManager } from './token-policy-manager'\nimport { TokenManager } from './token-manager'\n\nexport interface IGeyserManagerOptions {\n server: string\n adminPassword: string\n keepalive?: boolean\n timeout?: number\n}\n\nexport class GeyserManager {\n constructor(private options: IGeyserManagerOptions) {}\n\n Configuration = new ConfigurationManager(this.options)\n Cycle = new CycleManager(this.options)\n Blacklist = new BlacklistManager(this.options)\n Whitelist = new WhitelistManager(this.options)\n TokenPolicy = new TokenPolicyManager(this.options)\n Token = new TokenManager(this.options)\n}\n"],"names":["__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","result","done","then","apply","fetch","fetch_browser","globalThis","bind","Headers","headers_browser","Request","request_browser","Response","response_browser","FormData","formData_browser","AbortController","abortController_browser","AbortError","abortError_browser","DOMException","Blob","blob_browser","__createBinding","__exportStar","eventSource_browser","EventSource","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","exports","p","prototype","hasOwnProperty","call","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","go_1","go","fn","goMicrotask_1","goMicrotask","queueMicrotask","async","random_1","random","min","max","Math","randomInt_1","randomInt","ceil","floor","randomIntInclusive_1","randomIntInclusive","exponentialBackoff","calculateExponentialBackoffTimeout","extra_rand_1","baseTimeout","retries","maxTimeout","Infinity","factor","jitter","timeout","setTimeout_1","setTimeout","cb","timer","clearTimeout","setSchedule_1","set_timeout_1","setSchedule","timestamp","Date","now","setInterval_1","setInterval","clearInterval","setImmediate_1","setImmediate","clearImmediate","setTimeoutLoop_1","setTimeoutLoop","isCancelled","cancel","loop","setDynamicTimeoutLoop_1","setDynamicTimeoutLoop","start","elapsed","goMacrotask_1","goMacrotask","extra_timers_1","isArray","val","Array","array","isntEmptyArray","isEmptyArray","isntArray","length","isNull","_null","isntNull","isUndefined","_undefined","isntUndefined","isFunction","_function","isntFunction","asyncIterable","isntAsyncIterable","null_1","undefined_1","function_1","isAsyncIterable","Symbol","asyncIterator","isBigInt","bigint","isntBigInt","isBoolean","boolean","isntBoolean","isString","string","isntString","char","isntChar","string_1","isChar","isDate","date","isntDate","_enum","inEnum","values","includes","isError","Error","error","isntError","isFalsy","falsy","isntFalsy","iterable","isntIterable","isIterable","iterator","isNumber","isNaN","Number","number","isntNaN","isPositiveInfinity","isFinite","isntNumber","isNegativeInfinity","freeGlobal","global","freeSelf","self","_Symbol","Function","objectProto","nativeObjectToString","toString","symToStringTag","toStringTag","_getRawTag","isOwn","tag","unmasked","getRawTag","objectToString","_baseGetTag","getPrototype","func","transform","arg","overArg","getPrototypeOf","baseGetTag","isObjectLike","funcProto","funcToString","objectCtorString","isPlainObject_1","proto","Ctor","constructor","__importDefault","mod","default","object","isntEmptyObject","isEmptyObject","isntPlainObject","isPlainObject","isObject","isntObject","keys","json","isntJsonable","isJsonable","isntJson","isJson","boolean_1","number_1","array_1","object_1","every","JSON","stringify","_a","promise","isPromiseLike","isntPromiseLike","isntPromise","isPromise","url","isAbsoluteURL","str","URL","isRegExp","RegExp","regexp","isntRegExp","isSymbol","symbol","isntSymbol","require$$9","require$$10","require$$11","require$$12","require$$13","require$$14","require$$15","require$$16","require$$17","require$$18","require$$19","require$$20","chunkByAsync_1","chunkByAsync","types_1","predicate","buffer","index","element","push","chunkByAsyncIterable","chunkByIterable","chunkBy_1","chunkBy","concatAsync_1","concatAsync","otherIterables","iter","concat_1","concat","utils","copyIterable","copyAsyncIterable","dropUntilAsync_1","dropUntilAsync","return","dropUntilAsyncIterable","dropUntilIterable","dropUntil_1","dropUntil","filterAsync_1","filterAsync","filterAsyncIterable","filterIterable","filter_1","filter","flattenByAsync_1","flatten","level","isFiniteIterable","flattenDeepAsync_1","flattenDeepAsync","flatten_by_async_1","errors_1","depth","assert","isInteger","flattenByAsync","_","flattenByAsyncIterable","flattenByIterable","flattenBy_1","flattenBy","flattenDeep_1","flattenDeep","flatten_by_1","mapAsync_1","mapAsync","mapAsyncIterable","mapIterable","map_1","map","repeatAsync_1","repeatAsync","times","process","env","NODE_ENV","console","warn","warnInfiniteLoop","cache","repeat_1","repeat","splitAsync_1","splitAsync","separator","splitByAsync_1","splitByAsync","splitByAsyncIterable","splitByIterable","splitBy_1","splitBy","split_1","split","takeUntilAsync_1","takeUntilAsync","takeUntilAsyncIterable","takeUntilIterable","takeUntil_1","takeUntil","tapAsync_1","tapAsync","tapAsyncIterable","tapIterable","tap_1","tap","toAsyncIterable_1","toAsyncIterable","transformAsync_1","transformAsync","transformer","transform_1","uniqAsync_1","uniqAsync","bucket","Set","has","add","uniqByAsync_1","uniqByAsync","uniqByAsyncIterable","uniqByIterable","uniqBy_1","uniqBy","uniq_1","uniq","zipAsync_1","Kind","zipAsync","iterables","_b","_c","_d","iterators","Async","Sync","dones","i","kind","temp","undoneIterators","zipWithSize","chunkAsync_1","chunkAsync","size","chunk_1","chunk","dropAsync_1","dropAsync","utils_1","count","dropRightAsync_1","dropRightAsync","toArrayAsync","slice","dropRight_1","dropRight","arr","from","drop_1","drop","flattenAsync_1","flattenAsync","flatten_deep_async_1","flatten_1","flatten_deep_1","require$$21","require$$22","require$$23","sliceAsync_1","sliceAsync","end","require$$24","slice_1","require$$25","require$$26","require$$27","require$$28","require$$29","takeAsync_1","takeAsync","require$$30","takeRightAsync_1","takeRightAsync","shift","require$$31","takeRight_1","takeRight","require$$32","require$$33","require$$34","take_1","take","require$$35","require$$36","require$$37","require$$38","require$$39","require$$40","require$$41","require$$42","require$$43","require$$44","require$$45","require$$46","zip_1","zip","forEach","x","consume_1","consume","consumer","eachAsync_1","eachAsync","eachAsyncIterable","eachIterable","each_1","each","everyAsync_1","everyAsync","everyAsyncIterable","everyIterable","every_1","findAsync_1","findAsync","findAsyncIterable","findIterable","find_1","find","firstAsync_1","firstAsync","first_1","first","includesAsync_1","includesAsync","includes_1","matchAsync_1","matchAsync","sequence","sequenceLength","matchCount","match_1","match","reduceAsync_1","reduceAsync","initialValue","reduceAsyncIterable","reduceIterable","readInitialValue","reduceAsyncWithoutInitialValue","currentValue","reduceAsyncWithInitialValue","reduce_1","reduce","reduceWithoutInitialValue","reduceWithInitialValue","someAsync_1","someAsync","someAsyncIterable","someIterable","some_1","some","lastAsync_1","lastAsync","last_1","last","toArrayAsync_1","toArray_1","toArray","toSetAsync_1","toSetAsync","toSet_1","toSet","count_1","countAsync_1","countAsync","groupBy_1","groupBy","Map","group","set","groupByAsync_1","each_async_1","groupByAsync","traverseErrorPrototypeChain_1","traverseErrorPrototypeChain","err","current","getErrorNames_1","getErrorNames","traverse_error_prototype_chain_1","name","ancestors","isSerializableError","customError","CustomError","iterable_operator_1","get_error_names_1","serializable_error_1","[object Object]","hasInstance","instance","reversedClassNames","reverse","reversedInstanceNames","serializableError","message","stack","assertionError","AssertionError","custom_error_1","pass_1","pass","passAsync_1","passAsync","hydrate_1","hydrate","createChildErrorConstructor","parentErrorConstructor","errorNames","errorConstructor","normalize_1","normalize","assert_1","assertion_error_1","condition","log_1","log","data","highResolutionTimestamp_browser","performance","startTime","endTime","time_1","time","high_resolution_timestamp_1","timeFunction_1","timeFunction","args","timeAsyncFunction_1","timeAsyncFunction","lazy_1","lazy","getter","resultExists","lazyFunction_1","lazyFunction","getFn","lazyAsyncFunction_1","lazyAsyncFunction","lazyStatic_1","lazyStatic","contexts","withLazyStatic","pop","deps","context","updateCache","oldDeps","extra_lazy_1","request_1","del","patch","put","post","extra_fetch_1","prelude_1","request","method","transformers","options","trans","headers","href","signal","body","payload","keepalive","head","url_1","urls","acc","cur","text_1","text","json_1","moduleFactory","window","getWorkerBlob","webkitURL","code","Papa","BLOB_URL","createObjectURL","type","IS_WORKER","document","postMessage","IS_PAPA_WORKER","test","location","protocol","workers","workerIdCounter","parse","CsvToJson","unparse","JsonToCsv","RECORD_SEP","String","fromCharCode","UNIT_SEP","BYTE_ORDER_MARK","BAD_DELIMITERS","WORKERS_SUPPORTED","Worker","NODE_STREAM_INPUT","LocalChunkSize","RemoteChunkSize","DefaultDelimiter","Parser","ParserHandle","NetworkStreamer","FileStreamer","StringStreamer","ReadableStreamStreamer","PAPA_BROWSER_CONTEXT","DuplexStreamStreamer","jQuery","$","config","queue","idx","prop","toUpperCase","attr","toLowerCase","FileReader","files","file","inputElem","instanceConfig","extend","parseNextFile","f","before","returned","action","reason","fileComplete","userCompleteFunc","complete","results","elem","splice","_input","_config","dynamicTyping","dynamicTypingFunction","worker","w","newWorker","userStep","userChunk","userComplete","userError","input","workerId","id","streamer","getStream","download","readable","read","on","File","stream","_quotes","_writeHeader","_delimiter","_newline","_quoteChar","_escapedQuote","_skipEmptyLines","_columns","_escapeFormulae","unpackConfig","quoteCharRegex","escapeRegExp","serialize","fields","meta","delimiter","indexOf","quotes","skipEmptyLines","newline","quoteChar","header","columns","escapeChar","escapeFormulae","csv","hasHeader","dataKeyedByField","safe","row","maxCol","emptyLine","nullLine","join","trim","line","c","cx","col","colIdx","needsQuotes","escapedQuoteStr","replace","hasAny","charAt","substrings","ChunkStreamer","replaceConfig","configCopy","copy","chunkSize","parseInt","_handle","_finished","_completed","_halted","_baseIndex","_partialLine","_rowCount","_start","_nextChunk","isFirstChunk","_completeResults","errors","parseChunk","isFakeChunk","beforeFirstChunk","modifiedChunk","aggregate","paused","aborted","lastIndex","cursor","substring","finishedIncludingPreview","preview","WORKER_ID","finished","_sendError","xhr","getFileSize","contentRange","getResponseHeader","lastIndexOf","_readChunk","_chunkLoaded","XMLHttpRequest","withCredentials","onload","bindFunction","onerror","_chunkError","open","downloadRequestBody","downloadRequestHeaders","headerName","setRequestHeader","send","status","readyState","responseText","errorMessage","errorText","statusText","reader","usingAsyncReader","webkitSlice","mozSlice","FileReaderSync","txt","readAsText","encoding","target","event","remaining","s","parseOnData","streamHasEnded","pause","arguments","resume","_streamData","_streamEnd","_streamError","_checkIsFinished","_streamCleanUp","removeListener","Duplex","parseOnWrite","writeStreamHasFinished","parseCallbackQueue","_onCsvData","_onCsvComplete","_addToParseQueue","callback","_onRead","_onWrite","_onWriteComplete","readableObjectMode","decodeStrings","write","once","_parser","_delimiterError","MAX_FLOAT","pow","MIN_FLOAT","FLOAT","ISO_DATE","_stepCounter","_rowCounter","_paused","_aborted","_fields","_results","needsHeaderRow","processResults","abort","testEmptyLine","testFloat","floatValue","parseFloat","addError","d","fillHeaderFields","applyHeaderAndDynamicTypingAndTransformation","addHeader","transformHeader","shouldApplyDynamicTyping","field","parseDynamic","processRow","rowSource","j","incrementBy","guessDelimiter","comments","delimitersToGuess","bestDelim","bestDelta","fieldCountPrevRow","maxFieldCount","delim","delta","avgFieldCount","emptyLinesCount","fieldCount","abs","successful","bestDelimiter","guessLineEndings","re","r","n","nAppearsFirst","numWithN","msg","baseIndex","ignoreLastRow","delimGuess","parserConfig","getCharIndex","fastMode","inputLen","delimLen","newlineLen","commentsLen","stepIsFunction","lastCursor","returnable","rows","pushRow","doStep","nextDelim","nextNewline","quoteSearch","saveRow","finish","spacesBetweenQuoteAndDelimiter","extraSpaces","substr","spacesBetweenQuoteAndNewLine","spaceLength","textBetweenClosingQuoteAndIndex","newCursor","stopped","linebreak","truncated","workerUrl","onmessage","mainThreadReceivedMessage","handle","completeWorker","notImplemented","terminate","workerThreadReceivedMessage","obj","cpy","key","factory","csv_1","papaparse_1","signal_1","header_1","appendHeader_1","appendHeader","append","headers_1","newHeaders","entries","accept_1","append_header_1","accept","host_1","host","port_1","port","pathname_1","pathname","appendPathname_1","appendPathname","base","endsWith","search","hash","search_1","searchParam_1","searchParam","newSearchParams","URLSearchParams","searchParams","searchParams_1","appendSearchParam_1","appendSearchParam","formDataField_1","formDataField","formData","cloneFormData","version","VERSION","_hasatob","_hasbtoa","_hasBuffer","_TD","_TE","b64ch","b64chs","b64tab","b64re","_fromCC","_U8Afrom","_mkUriSafe","_tidyB64","btoaPolyfill","_btoa","_fromUint8Array","fromUint8Array","cb_utob","re_utob","utob","_encode","encode","encodeURI","re_btou","cb_btou","btou","atobPolyfill","_atob","_toUint8Array","toUint8Array","_decode","_unURI","decode","_noEnum","extendString","extendUint8Array","extendBuiltins","gBase64","tab","atob","btoa","Buffer","TextDecoder","TextEncoder","Uint8Array","it","src","m0","bin","u32","c0","c1","c2","asc","pad","charCodeAt","TypeError","u8a","maxargs","strs","l","subarray","cc","cccc","offset","u24","r1","r2","a","v","_add","urlsafe","fromBase64","toBase64","encodeURL","u","b","isValid","Base64","basicAuth_1","basicAuth","js_base64_1","username","password","bearerAuth_1","bearerAuth","token","keepalive_1","HTTPError","super","httpError","ClientError","Redirection","Informational","Successful","ServerError","httpInformational","EarlyHints","Processing","SwitchingProtocol","Continue","HTTPInformational","enum_1","httpSuccessful","IMUsed","AlreadyReported","PartialContent","ResetContent","NoContent","NonAuthoritativeInformation","Accepted","Created","OK","HTTPSuccessful","MultiStatus","httpRedirection","PermanentRedirect","NotModified","SeeOther","MovedPermanently","MultipleChoice","HTTPRedirection","Found","TemporaryRedirect","httpClientError","UnavailableForLegalReasons","RequestHeaderFieldsTooLarge","TooManyRequests","PreconditionRequired","UpgradeRequired","FailedDependency","UnprocessableEntity","MisdirectedRequest","ExpectationFailed","RangeNotSatisfiable","UnsupportedMediaType","URITooLong","PayloadTooLarge","PreconditionFailed","LengthRequired","Gone","Conflict","RequestTimeout","ProxyAuthenticationRequired","NotAcceptable","MethodNotAllowed","NotFound","Forbidden","Unauthorized","BadRequest","HTTPClientError","http_error_1","Locked","httpServerError","NetworkAuthenticationRequired","NotExtended","LoopDetected","InsufficientStorage","VariantAlsoNegotiates","HTTPVersionNotSupported","GatewayTimeout","ServiceUnavailable","BadGateway","NotImplemented","InternalServerError","HTTPServerError","fromCode","UnknownHTTPStatusError","ok","http_status_1","http_status_2","res","toJson","toJSON","toText_1","toText","charset","arrayBuffer","toLines_1","toLines","pipeThrough","TextDecoderStream","getReader","remains","newlinePos","toNDJSON","to_lines_1","toNdjson","toCSV","toCsv","AbortSignal","browserModule","browser","abortController","abort_controller_1","differenceAsync_1","differenceAsync","filter_async_1","to_set_async_1","left","right","rightSet","difference_1","difference","to_set_1","to_array_async_1","intersectionAsync_1","intersectionAsync","intersection_1","intersection","require$$47","require$$48","require$$49","require$$50","consumeAsync_1","consumeAsync","abortError","abortSignal","raceAbortSignals_1","raceAbortSignals","abortSignals","controller","subscribedAbortSignals","addEventListener","removeEventListener","timeoutSignal_1","timeoutSignal","ms","withAbortSignal_1","abort_error_1","withAbortSignal","rejectByAbortSignal","GeyserClient","namespace","auth","req","server","Base","adminPassword","ConfigurationManager","getCommonTransformers","CycleManager","BlacklistManager","WhitelistManager","TokenPolicyManager","TokenManager","GeyserManager","Configuration","Cycle","Blacklist","Whitelist","TokenPolicy","Token"],"mappings":";;;;;;;;;;;;;;gFAqEO,SAASA,EAAUC,EAASC,EAAYC,EAAGC,GAE9C,OAAO,IAAKD,IAAMA,EAAIE,WAAU,SAAUC,EAASC,GAC/C,SAASC,EAAUC,GAAS,IAAMC,E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