diff --git a/client.da1f9aff6d4b8c471701.bundle.js.map b/client.da1f9aff6d4b8c471701.bundle.js.map index 80fccb41..3f80ec15 100644 --- a/client.da1f9aff6d4b8c471701.bundle.js.map +++ b/client.da1f9aff6d4b8c471701.bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"client.da1f9aff6d4b8c471701.bundle.js","mappings":";6BAAIA,iCCAJ,WACE,QACA,WACA,YACA,cACA,cACA,UACA,kBACA,gBACA,gBACA,eACA,MACA,WACA,KACA,WACA,MACA,WACA,cACA,MACA,aACA,SACA,cACA,kBACA,sCCvBF,WACE,SACA,SACA,QACA,YACA,QACA,OACA,QACA,YACA,aACA,MACA,UACA,SACA,YACA,OACA,QACA,UACA,QACA,UACA,YACA,UACA,WACA,OACA,eACA,MACA,QACA,cACA,OACA,UACA,WACA,OACA,SACA,QACA,OACA,SACA,UACA,WACA,OACA,OACA,MACA,QACA,SACA,QACA,QACA,UACA,SACA,UACA,aACA,UACA,eACA,YACA,oCCnDF,WACE,QACA,QACA,QACA,QACA,QACA,QACA,YACA,gDCRF,WACE,+BACA,+BACA,gCACA,kCACA,gCACA,mCACA,sBACA,wBACA,4CACA,2CACA,uCACA,uBACA,0BACA,uBACA,qCACA,oBACA,sBACA,sBACA,uBACA,yBACA,uBACA,4BACA,oBACA,oBACA,qBACA,gCACA,oBACA,oBACA,oBACA,iCACA,qBACA,uBACA,iCACA,qBACA,sDACA,gCACA,iCACA,gCACA,iCACA,iCACA,kCACA,iCACA,kCACA,oBACA,qBACA,+BACA,kBACA,kBACA,mDCjDF,0SCMO,SAASC,KACdC,EAAAA,EAAAA,SAAU,YAAaC,SAASC,eAAe,mBAAmBC,OACpE,CAMO,SAASC,KACdJ,EAAAA,EAAAA,SAAU,kBAAmBC,SAASC,eAAe,yBAAyBC,OAChF,CAOO,SAASE,KACdL,EAAAA,EAAAA,SAAU,cAAeC,SAASC,eAAe,qBAAqBC,OACxE,CAhBAG,OAAOP,gBAAkBA,EAQzBO,OAAOF,sBAA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lE,KAAK,KAAM,IAC3D2lE,EAAmB9xE,KAAO0xE,EAAqBvlE,KAAK,KAAM2lE,EAAmB9xE,KAAKmM,KAAK2lE,OC/CvF,IAAIC,EAAsBjB,EAAoB,MAC9CiB,EAAsBjB,EAAoB7+C,EAAE8/C","sources":["webpack://webao/webpack/runtime/chunk loaded","webpack://webao/./webAO/constants/backgrounds.js","webpack://webao/./webAO/constants/characters.js","webpack://webao/./webAO/constants/evidence.js","webpack://webao/./webAO/constants/music.js","webpack://webao/./webAO/constants/transparentPng.js","webpack://webao/./webAO/dom/changeVolume.js","webpack://webao/./webAO/iniParse.js","webpack://webao/./webAO/services/request.js","webpack://webao/./webAO/styles/chatbox/chatboxes.js","webpack://webao/./webAO/utils/fileExists.js","webpack://webao/./webAO/utils/calculatorHandler.js","webpack://webao/./webAO/utils/calculateGifLength.js","webpack://webao/./webAO/utils/calculateWebpLength.js","webpack://webao/./webAO/utils/calculateApngLength.js","webpack://webao/./webAO/utils/getAnimLength.js","webpack://webao/./webAO/utils/getResources.js","webpack://webao/./node_modules/tslib/tslib.es6.mjs","webpack://webao/./node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.js","webpack://webao/./node_modules/core-js/internals/a-callable.js","webpack://webao/./node_modules/core-js/internals/a-constructor.js","webpack://webao/./node_modules/core-js/internals/a-possible-prototype.js","webpack://webao/./node_modules/core-js/internals/add-to-unscopables.js","webpack://webao/./node_modules/core-js/internals/advance-string-index.js","webpack://webao/./node_modules/core-js/internals/an-instance.js","webpack://webao/./node_modules/core-js/internals/an-object.js","webpack://webao/./node_modules/core-js/internals/array-buffer-basic-detection.js","webpack://webao/./node_modules/core-js/internals/array-buffer-view-core.js","webpack://webao/./node_modules/core-js/internals/array-buffer.js","webpack://webao/./node_modules/core-js/internals/array-copy-within.js","webpack://webao/./node_modules/core-js/internals/array-fill.js","webpack://webao/./node_modules/core-js/internals/array-for-each.js","webpack://webao/./node_modules/core-js/internals/array-from-constructor-and-list.js","webpack://webao/./node_modules/core-js/internals/array-includes.js","webpack://webao/./node_modules/core-js/internals/array-iteration.js","webpack://webao/./node_modules/core-js/internals/array-last-index-of.js","webpack://webao/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://webao/./node_modules/core-js/internals/array-method-is-strict.js","webpack://webao/./node_modules/core-js/internals/array-reduce.js","webpack://webao/./node_modules/core-js/internals/array-slice-simple.js","webpack://webao/./node_modules/core-js/internals/array-slice.js","webpack://webao/./node_modules/core-js/internals/array-sort.js","webpack://webao/./node_modules/core-js/internals/array-species-constructor.js","webpack://webao/./node_modules/core-js/internals/array-species-create.js","webpack://webao/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://webao/./node_modules/core-js/internals/classof-raw.js","webpack://webao/./node_modules/core-js/internals/classof.js","webpack://webao/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://webao/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://webao/./node_modules/core-js/internals/create-iter-result-object.js","webpack://webao/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://webao/./node_modules/core-js/internals/create-property-descriptor.js","webpack://webao/./node_modules/core-js/internals/create-property.js","webpack://webao/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://webao/./node_modules/core-js/internals/define-built-in.js","webpack://webao/./node_modules/core-js/internals/define-built-ins.js","webpack://webao/./node_modules/core-js/internals/define-global-property.js","webpack://webao/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://webao/./node_modules/core-js/internals/descriptors.js","webpack://webao/./node_modules/core-js/internals/document-all.js","webpack://webao/./node_modules/core-js/internals/document-create-element.js","webpack://webao/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://webao/./node_modules/core-js/internals/dom-iterables.js","webpack://webao/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://webao/./node_modules/core-js/internals/engine-ff-version.js","webpack://webao/./node_modules/core-js/internals/engine-is-browser.js","webpack://webao/./node_modules/core-js/internals/engine-is-deno.js","webpack://webao/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://webao/./node_modules/core-js/internals/engine-is-ios-pebble.js","webpack://webao/./node_modules/core-js/internals/engine-is-ios.js","webpack://webao/./node_modules/core-js/internals/engine-is-node.js","webpack://webao/./node_modules/core-js/internals/engine-is-webos-webkit.js","webpack://webao/./node_modules/core-js/internals/engine-user-agent.js","webpack://webao/./node_modules/core-js/internals/engine-v8-version.js","webpack://webao/./node_modules/core-js/internals/engine-webkit-version.js","webpack://webao/./node_modules/core-js/internals/enum-bug-keys.js","webpack://webao/./node_modules/core-js/internals/export.js","webpack://webao/./node_modules/core-js/internals/fails.js","webpack://webao/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://webao/./node_modules/core-js/internals/function-apply.js","webpack://webao/./node_modules/core-js/internals/function-bind-context.js","webpack://webao/./node_modules/core-js/internals/function-bind-native.js","webpack://webao/./node_modules/core-js/internals/function-call.js","webpack://webao/./node_modules/core-js/internals/function-name.js","webpack://webao/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://webao/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://webao/./node_modules/core-js/internals/function-uncurry-this.js","webpack://webao/./node_modules/core-js/internals/get-built-in.js","webpack://webao/./node_modules/core-js/internals/get-iterator-method.js","webpack://webao/./node_modules/core-js/internals/get-iterator.js","webpack://webao/./node_modules/core-js/internals/get-json-replacer-function.js","webpack://webao/./node_modules/core-js/internals/get-method.js","webpack://webao/./node_modules/core-js/internals/global.js","webpack://webao/./node_modules/core-js/internals/has-own-property.js","webpack://webao/./node_modules/core-js/internals/hidden-keys.js","webpack://webao/./node_modules/core-js/internals/host-report-errors.js","webpack://webao/./node_modules/core-js/internals/html.js","webpack://webao/./node_modules/core-js/internals/ie8-dom-define.js","webpack://webao/./node_modules/core-js/internals/ieee754.js","webpack://webao/./node_modules/core-js/internals/indexed-object.js","webpack://webao/./node_modules/core-js/internals/inherit-if-required.js","webpack://webao/./node_modules/core-js/internals/inspect-source.js","webpack://webao/./node_modules/core-js/internals/internal-state.js","webpack://webao/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://webao/./node_modules/core-js/internals/is-array.js","webpack://webao/./node_modules/core-js/internals/is-big-int-array.js","webpack://webao/./node_modules/core-js/internals/is-callable.js","webpack://webao/./node_modules/core-js/internals/is-constructor.js","webpack://webao/./node_modules/core-js/internals/is-forced.js","webpack://webao/./node_modules/core-js/internals/is-integral-number.js","webpack://webao/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://webao/./node_modules/core-js/internals/is-object.js","webpack://webao/./node_modules/core-js/internals/is-pure.js","webpack://webao/./node_modules/core-js/internals/is-regexp.js","webpack://webao/./node_modules/core-js/internals/is-symbol.js","webpack://webao/./node_modules/core-js/internals/iterate.js","webpack://webao/./node_modules/core-js/internals/iterator-close.js","webpack://webao/./node_modules/core-js/internals/iterator-create-constructor.js","webpack://webao/./node_modules/core-js/internals/iterator-define.js","webpack://webao/./node_modules/core-js/internals/iterators-core.js","webpack://webao/./node_modules/core-js/internals/iterators.js","webpack://webao/./node_modules/core-js/internals/length-of-array-like.js","webpack://webao/./node_modules/core-js/internals/make-built-in.js","webpack://webao/./node_modules/core-js/internals/math-sign.js","webpack://webao/./node_modules/core-js/internals/math-trunc.js","webpack://webao/./node_modules/core-js/internals/microtask.js","webpack://webao/./node_modules/core-js/internals/new-promise-capability.js","webpack://webao/./node_modules/core-js/internals/object-create.js","webpack://webao/./node_modules/core-js/internals/object-define-properties.js","webpack://webao/./node_modules/core-js/internals/object-define-property.js","webpack://webao/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://webao/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://webao/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://webao/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://webao/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://webao/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://webao/./node_modules/core-js/internals/object-keys-internal.js","webpack://webao/./node_modules/core-js/internals/object-keys.js","webpack://webao/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://webao/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://webao/./node_modules/core-js/internals/object-to-string.js","webpack://webao/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://webao/./node_modules/core-js/internals/own-keys.js","webpack://webao/./node_modules/core-js/internals/path.js","webpack://webao/./node_modules/core-js/internals/perform.js","webpack://webao/./node_modules/core-js/internals/promise-constructor-detection.js","webpack://webao/./node_modules/core-js/internals/promise-native-constructor.js","webpack://webao/./node_modules/core-js/internals/promise-resolve.js","webpack://webao/./node_modules/core-js/internals/promise-statics-incorrect-iteration.js","webpack://webao/./node_modules/core-js/internals/queue.js","webpack://webao/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://webao/./node_modules/core-js/internals/regexp-exec.js","webpack://webao/./node_modules/core-js/internals/regexp-flags.js","webpack://webao/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://webao/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://webao/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://webao/./node_modules/core-js/internals/require-object-coercible.js","webpack://webao/./node_modules/core-js/internals/set-species.js","webpack://webao/./node_modules/core-js/internals/set-to-string-tag.js","webpack://webao/./node_modules/core-js/internals/shared-key.js","webpack://webao/./node_modules/core-js/internals/shared-store.js","webpack://webao/./node_modules/core-js/internals/shared.js","webpack://webao/./node_modules/core-js/internals/species-constructor.js","webpack://webao/./node_modules/core-js/internals/string-multibyte.js","webpack://webao/./node_modules/core-js/internals/string-trim.js","webpack://webao/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://webao/./node_modules/core-js/internals/symbol-define-to-primitive.js","webpack://webao/./node_modules/core-js/internals/symbol-registry-detection.js","webpack://webao/./node_modules/core-js/internals/task.js","webpack://webao/./node_modules/core-js/internals/this-number-value.js","webpack://webao/./node_modules/core-js/internals/to-absolute-index.js","webpack://webao/./node_modules/core-js/internals/to-big-int.js","webpack://webao/./node_modules/core-js/internals/to-index.js","webpack://webao/./node_modules/core-js/internals/to-indexed-object.js","webpack://webao/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://webao/./node_modules/core-js/internals/to-length.js","webpack://webao/./node_modules/core-js/internals/to-object.js","webpack://webao/./node_modules/core-js/internals/to-offset.js","webpack://webao/./node_modules/core-js/internals/to-positive-integer.js","webpack://webao/./node_modules/core-js/internals/to-primitive.js","webpack://webao/./node_modules/core-js/internals/to-property-key.js","webpack://webao/./node_modules/core-js/internals/to-string-tag-support.js","webpack://webao/./node_modules/core-js/internals/to-string.js","webpack://webao/./node_modules/core-js/internals/to-uint8-clamped.js","webpack://webao/./node_modules/core-js/internals/try-to-string.js","webpack://webao/./node_modules/core-js/internals/typed-array-constructor.js","webpack://webao/./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js","webpack://webao/./node_modules/core-js/internals/typed-array-from-species-and-list.js","webpack://webao/./node_modules/core-js/internals/typed-array-from.js","webpack://webao/./node_modules/core-js/internals/typed-array-species-constructor.js","webpack://webao/./node_modules/core-js/internals/uid.js","webpack://webao/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://webao/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://webao/./node_modules/core-js/internals/validate-arguments-length.js","webpack://webao/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://webao/./node_modules/core-js/internals/well-known-symbol-define.js","webpack://webao/./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack://webao/./node_modules/core-js/internals/well-known-symbol.js","webpack://webao/./node_modules/core-js/internals/whitespaces.js","webpack://webao/./node_modules/core-js/modules/es.array-buffer.slice.js","webpack://webao/./node_modules/core-js/modules/es.array.concat.js","webpack://webao/./node_modules/core-js/modules/es.array.filter.js","webpack://webao/./node_modules/core-js/modules/es.array.for-each.js","webpack://webao/./node_modules/core-js/modules/es.array.iterator.js","webpack://webao/./node_modules/core-js/modules/es.array.reverse.js","webpack://webao/./node_modules/core-js/modules/es.array.slice.js","webpack://webao/./node_modules/core-js/modules/es.function.name.js","webpack://webao/./node_modules/core-js/modules/es.json.stringify.js","webpack://webao/./node_modules/core-js/modules/es.json.to-string-tag.js","webpack://webao/./node_modules/core-js/modules/es.math.to-string-tag.js","webpack://webao/./node_modules/core-js/modules/es.number.constructor.js","webpack://webao/./node_modules/core-js/modules/es.object.create.js","webpack://webao/./node_modules/core-js/modules/es.object.define-property.js","webpack://webao/./node_modules/core-js/modules/es.object.get-own-property-symbols.js","webpack://webao/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://webao/./node_modules/core-js/modules/es.object.set-prototype-of.js","webpack://webao/./node_modules/core-js/modules/es.object.to-string.js","webpack://webao/./node_modules/core-js/modules/es.promise.all.js","webpack://webao/./node_modules/core-js/modules/es.promise.catch.js","webpack://webao/./node_modules/core-js/modules/es.promise.constructor.js","webpack://webao/./node_modules/core-js/modules/es.promise.js","webpack://webao/./node_modules/core-js/modules/es.promise.race.js","webpack://webao/./node_modules/core-js/modules/es.promise.reject.js","webpack://webao/./node_modules/core-js/modules/es.promise.resolve.js","webpack://webao/./node_modules/core-js/modules/es.regexp.exec.js","webpack://webao/./node_modules/core-js/modules/es.string.iterator.js","webpack://webao/./node_modules/core-js/modules/es.string.match.js","webpack://webao/./node_modules/core-js/modules/es.string.split.js","webpack://webao/./node_modules/core-js/modules/es.symbol.async-iterator.js","webpack://webao/./node_modules/core-js/modules/es.symbol.constructor.js","webpack://webao/./node_modules/core-js/modules/es.symbol.description.js","webpack://webao/./node_modules/core-js/modules/es.symbol.for.js","webpack://webao/./node_modules/core-js/modules/es.symbol.iterator.js","webpack://webao/./node_modules/core-js/modules/es.symbol.js","webpack://webao/./node_modules/core-js/modules/es.symbol.key-for.js","webpack://webao/./node_modules/core-js/modules/es.symbol.to-string-tag.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.copy-within.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.every.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.fill.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.filter.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.find-index.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.find.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.for-each.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.includes.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.index-of.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.iterator.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.join.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.last-index-of.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.map.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.reduce-right.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.reduce.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.reverse.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.set.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.slice.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.some.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.sort.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.subarray.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.to-locale-string.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.to-string.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.uint8-array.js","webpack://webao/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://webao/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://webao/./node_modules/events/events.js","webpack://webao/./webAO/client.ts","webpack://webao/./webAO/client/addTrack.ts","webpack://webao/./webAO/client/aoHost.ts","webpack://webao/./webAO/client/appendICLog.ts","webpack://webao/./webAO/client/checkCallword.ts","webpack://webao/./webAO/client/createArea.ts","webpack://webao/./webAO/client/fetchLists.ts","webpack://webao/./webAO/client/fixLastArea.ts","webpack://webao/./webAO/client/handleBans.ts","webpack://webao/./webAO/client/handleCharacterInfo.ts","webpack://webao/./webAO/client/isAudio.ts","webpack://webao/./webAO/client/isLowMemory.ts","webpack://webao/./webAO/client/loadResources.ts","webpack://webao/./webAO/client/resetICParams.ts","webpack://webao/./webAO/client/saveChatLogHandle.ts","webpack://webao/./webAO/client/sender/index.ts","webpack://webao/./webAO/client/sender/sendCharacter.ts","webpack://webao/./webAO/client/sender/sendCheck.ts","webpack://webao/./webAO/client/sender/sendDE.ts","webpack://webao/./webAO/client/sender/sendEE.ts","webpack://webao/./webAO/client/sender/sendHP.ts","webpack://webao/./webAO/client/sender/sendIC.ts","webpack://webao/./webAO/client/sender/sendMusicChange.ts","webpack://webao/./webAO/client/sender/sendOOC.ts","webpack://webao/./webAO/client/sender/sendPE.ts","webpack://webao/./webAO/client/sender/sendRT.ts","webpack://webao/./webAO/client/sender/sendSelf.ts","webpack://webao/./webAO/client/sender/sendServer.ts","webpack://webao/./webAO/client/sender/sendZZ.ts","webpack://webao/./webAO/client/setEmote.ts","webpack://webao/./webAO/dom/areaClick.ts","webpack://webao/./webAO/dom/changeBlipVolume.ts","webpack://webao/./webAO/dom/changeMusicVolume.ts","webpack://webao/./webAO/dom/getIndexFromSelect.ts","webpack://webao/./webAO/dom/onReplayGo.ts","webpack://webao/./webAO/dom/opusCheck.ts","webpack://webao/./webAO/dom/pickEmotion.ts","webpack://webao/./webAO/dom/reloadTheme.ts","webpack://webao/./webAO/dom/resizeChatbox.ts","webpack://webao/./webAO/dom/setChatbox.ts","webpack://webao/./webAO/dom/showNameClick.ts","webpack://webao/./webAO/dom/twofactor.ts","webpack://webao/./webAO/dom/updateActionCommands.ts","webpack://webao/./webAO/dom/updateBackgroundPreview.ts","webpack://webao/./webAO/encoding.ts","webpack://webao/./webAO/packets/handlers/handleARUP.ts","webpack://webao/./webAO/packets/handlers/handleASS.ts","webpack://webao/./webAO/packets/handlers/handleBB.ts","webpack://webao/./webAO/packets/handlers/handleBD.ts","webpack://webao/./webAO/packets/handlers/handleBN.ts","webpack://webao/./webAO/packets/handlers/handleCC.ts","webpack://webao/./webAO/packets/handlers/handleCI.ts","webpack://webao/./webAO/packets/handlers/handleCT.ts","webpack://webao/./webAO/packets/handlers/handleCharsCheck.ts","webpack://webao/./webAO/packets/handlers/handleDONE.ts","webpack://webao/./webAO/packets/handlers/handleEI.ts","webpack://webao/./webAO/packets/handlers/handleEM.ts","webpack://webao/./webAO/packets/handlers/handleFA.ts","webpack://webao/./webAO/packets/handlers/handleFL.ts","webpack://webao/./webAO/packets/handlers/handleFM.ts","webpack://webao/./webAO/packets/handlers/handleHI.ts","webpack://webao/./webAO/packets/handlers/handleHP.ts","webpack://webao/./webAO/packets/handlers/handleID.ts","webpack://webao/./webAO/packets/handlers/handleJD.ts","webpack://webao/./webAO/packets/handlers/handleKB.ts","webpack://webao/./webAO/packets/handlers/handleKK.ts","webpack://webao/./webAO/packets/handlers/handleLE.ts","webpack://webao/./webAO/packets/handlers/handleMC.ts","webpack://webao/./webAO/packets/handlers/handleMM.ts","webpack://webao/./webAO/packets/handlers/handleMS.ts","webpack://webao/./webAO/packets/handlers/handlePN.ts","webpack://webao/./webAO/packets/handlers/handlePV.ts","webpack://webao/./webAO/packets/handlers/handleRC.ts","webpack://webao/./webAO/packets/handlers/handleRD.ts","webpack://webao/./webAO/packets/handlers/handleRM.ts","webpack://webao/./webAO/packets/handlers/handleRMC.ts","webpack://webao/./webAO/packets/handlers/handleRT.ts","webpack://webao/./webAO/packets/handlers/handleSC.ts","webpack://webao/./webAO/packets/handlers/handleSI.ts","webpack://webao/./webAO/packets/handlers/handleSM.ts","webpack://webao/./webAO/packets/handlers/handleSP.ts","webpack://webao/./webAO/packets/handlers/handleTI.ts","webpack://webao/./webAO/packets/handlers/handleZZ.ts","webpack://webao/./webAO/packets/handlers/handleackMS.ts","webpack://webao/./webAO/packets/handlers/handleaskchaa.ts","webpack://webao/./webAO/packets/packetHandler.ts","webpack://webao/./webAO/packets/packets.ts","webpack://webao/./webAO/services/downloadFile.ts","webpack://webao/./webAO/utils/aoml.ts","webpack://webao/./webAO/utils/getCookie.ts","webpack://webao/./webAO/utils/paths.ts","webpack://webao/./webAO/utils/queryParser.ts","webpack://webao/./webAO/utils/setCookie.ts","webpack://webao/./webAO/utils/tryUrls.ts","webpack://webao/./webAO/viewport/constants/colors.ts","webpack://webao/./webAO/viewport/constants/defaultChatMsg.ts","webpack://webao/./webAO/viewport/constants/positions.ts","webpack://webao/./webAO/viewport/constants/shouts.ts","webpack://webao/./webAO/viewport/utils/createBlipChannels.ts","webpack://webao/./webAO/viewport/utils/createMusic.ts","webpack://webao/./webAO/viewport/utils/createSfxAudio.ts","webpack://webao/./webAO/viewport/utils/createShoutAudio.ts","webpack://webao/./webAO/viewport/utils/createTestimonyAudio.ts","webpack://webao/./webAO/viewport/utils/handleICSpeaking.ts","webpack://webao/./webAO/viewport/utils/initTestimonyUpdater.ts","webpack://webao/./webAO/viewport/utils/setSide.ts","webpack://webao/./webAO/viewport/viewport.ts","webpack://webao/webpack/bootstrap","webpack://webao/webpack/runtime/compat get default export","webpack://webao/webpack/runtime/define property getters","webpack://webao/webpack/runtime/global","webpack://webao/webpack/runtime/hasOwnProperty shorthand","webpack://webao/webpack/runtime/make namespace object","webpack://webao/webpack/runtime/jsonp chunk loading","webpack://webao/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","export default [\n 'Anime',\n 'birthday',\n 'Christmas',\n 'CountyCourt',\n 'CruiseCourt',\n 'default',\n 'DGSEnglishCourt',\n 'DGSJapanCourt',\n 'DualDestinies',\n 'EnglishCourt',\n 'gs4',\n 'GS4Night',\n 'HD',\n \"Khura'in\",\n 'mlp',\n 'NewCourt',\n 'RuinedCourt',\n 'Sky',\n 'SpaceCourt',\n 'Themis',\n 'TouhouCourt',\n 'WitchTrialCourt',\n 'Zetta',\n];\n","export default [\n 'Adrian',\n 'Apollo',\n 'April',\n 'Armstrong',\n 'Atmey',\n 'Butz',\n 'Diego',\n 'Edgeworth',\n 'Edgeworthw',\n 'Ema',\n 'Emaskye',\n 'Franny',\n 'Franziska',\n 'Gant',\n 'Gavin',\n 'Gavin K',\n 'Godot',\n 'Gregory',\n 'Grossberg',\n 'Gumshoe',\n 'Gumshoey',\n 'Hawk',\n 'Hobo_Phoenix',\n 'Ini',\n 'Judge',\n \"Judge's Bro\",\n 'Klav',\n 'Klavier',\n 'Kristoph',\n 'Lana',\n 'Layton',\n 'Lotta',\n 'Luis',\n 'Maggey',\n 'Manfred',\n 'Marshall',\n 'Matt',\n 'Maya',\n 'Mia',\n 'Miles',\n 'Oldbag',\n 'Payne',\n 'Pearl',\n 'Phoenix',\n 'Valant',\n 'Vasquez',\n 'Wellington',\n 'Winston',\n 'Winstonpayne',\n 'Young Mia',\n 'Zak',\n];\n","export default [\n '1.png',\n '2.png',\n '3.png',\n '4.png',\n '5.png',\n '6.png',\n 'empty.png',\n 'lawyerbadge.png',\n];\n","export default [\n 'Announce The Truth (AA).opus',\n 'Announce The Truth (AJ).opus',\n 'Announce The Truth (JFA).opus',\n 'Announce The Truth (Miles).opus',\n 'Announce The Truth (T&T).opus',\n 'Confrontation ~ Presto 2009.opus',\n 'Crises of Fate.opus',\n 'Forgotten Legend.opus',\n 'Godot - The Fragrance of Dark Coffee.opus',\n 'Great Revival ~ Franziska von Karma.opus',\n 'Great Revival ~ Miles Edgeworth.opus',\n 'Hotline of Fate.opus',\n 'Interesting People.opus',\n 'Logic and Trick.opus',\n 'Luke Atmey ~ I Just Want Love.opus',\n 'Noisy People.opus',\n 'OBJECTION (AA).opus',\n 'Objection (AJ).opus',\n 'OBJECTION (JFA).opus',\n 'Objection (Miles).opus',\n 'OBJECTION (T&T).opus',\n 'Others ~ Guilty love.opus',\n 'Prelude (AA).opus',\n 'Prelude (AJ).opus',\n 'Prologue (AA).opus',\n 'Pursuit (AA) - variation.opus',\n 'Pursuit (AA).opus',\n 'Pursuit (AJ).opus',\n 'Pursuit (DS).opus',\n 'Pursuit (JFA) - variation.opus',\n 'Pursuit (JFA).opus',\n 'Pursuit (Miles).opus',\n 'Pursuit (T&T) - variation.opus',\n 'Pursuit (T&T).opus',\n 'Pursuit ~ I Want to Find the Truth (Orchestra).opus',\n 'Questioning AA (Allegro).opus',\n 'Questioning AA (Moderato).opus',\n 'Questioning AJ (Allegro).opus',\n 'Questioning AJ (Moderato).opus',\n 'Questioning JFA (Allegro).opus',\n 'Questioning JFA (Moderato).opus',\n 'Questioning T&T (Allegro).opus',\n 'Questioning T&T (Moderato).opus',\n 'Speak up Pup.opus',\n 'Suspense (AA).opus',\n 'The Great Truth Burglar.opus',\n 'Trial (AA).opus',\n 'Trial (AJ).opus',\n 'Trial (Miles).opus',\n];\n","export default 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';\n","import setCookie from '../utils/setCookie.ts';\n\n/**\n * Triggered by the sound effect volume slider.\n */\n\nexport function changeSFXVolume() {\n setCookie('sfxVolume', document.getElementById('client_sfxaudio').volume);\n}\nwindow.changeSFXVolume = changeSFXVolume;\n\n/**\n * Triggered by the testimony volume slider.\n */\nexport function changeTestimonyVolume() {\n setCookie('testimonyVolume', document.getElementById('client_testimonyaudio').volume);\n}\nwindow.changeTestimonyVolume = changeTestimonyVolume;\n\n/**\n * Triggered by the shout volume slider.\n */\n\nexport function changeShoutVolume() {\n setCookie('shoutVolume', document.getElementById('client_shoutaudio').volume);\n}\nwindow.changeShoutVolume = changeShoutVolume;\n","const regexPatterns = {\n section: /^\\s*\\[\\s*([^\\]]*)\\s*\\]\\s*$/,\n param: /^\\s*([\\w.\\-_]+)\\s*=\\s*(.*?)\\s*$/,\n comment: /^\\s*;.*$/,\n};\n\nconst valueHandler = (matchKey, matchValue) => (matchKey === 'showname' ? matchValue : matchValue.toLowerCase());\n\nconst lineFilter = (value) => {\n const isEmpty = value.length === 0;\n const isComment = regexPatterns.comment.test(value);\n if (isComment || isEmpty) {\n return false;\n }\n return true;\n};\n\nconst iniParse = (data) => {\n const parsedIni = {};\n const lines = data.split(/\\r\\n|\\r|\\n/);\n const filteredLines = lines.filter(lineFilter);\n\n let currentSection;\n filteredLines.forEach((line) => {\n const isParameter = regexPatterns.param.test(line);\n const isSection = regexPatterns.section.test(line);\n if (isParameter && currentSection) {\n const match = line.match(regexPatterns.param);\n const matchKey = match[1].toLowerCase();\n const matchValue = match[2];\n parsedIni[currentSection][matchKey] = valueHandler(matchKey, matchValue);\n } else if (isSection) {\n const match = line.match(regexPatterns.section);\n const matchKey = match[1].toLowerCase();\n parsedIni[matchKey] = {};\n currentSection = matchKey;\n }\n });\n return parsedIni;\n};\n\nexport default iniParse;\n","/**\n * Make a GET request for a specific URI.\n * @param {string} url the URI to be requested\n * @returns response data\n * @throws {Error} if status code is not 2xx, or a network error occurs\n */\nexport async function requestBuffer(url) {\n return new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n xhr.responseType = 'arraybuffer';\n xhr.addEventListener('error', () => {\n const err = new Error(`Request for ${url} failed: ${xhr.statusText}`);\n err.code = xhr.status;\n reject(err);\n });\n xhr.addEventListener('abort', () => {\n const err = new Error(`Request for ${url} was aborted!`);\n err.code = xhr.status;\n reject(err);\n });\n xhr.addEventListener('load', () => {\n if (xhr.status < 200 || xhr.status >= 300) {\n const err = new Error(`Request for ${url} failed with status code ${xhr.status}`);\n err.code = xhr.status;\n reject(err);\n } else {\n resolve(xhr.response);\n }\n });\n xhr.open('GET', url, true);\n xhr.send();\n });\n}\n\n/**\n * Make a GET request for a specific URI.\n * @param {string} url the URI to be requested\n * @returns response data\n * @throws {Error} if status code is not 2xx, or a network error occurs\n */\nexport const request = async (url) => new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n xhr.responseType = 'text';\n xhr.addEventListener('error', () => {\n const err = new Error(`Request for ${url} failed: ${xhr.statusText}`);\n err.code = xhr.status;\n reject(err);\n });\n xhr.addEventListener('abort', () => {\n const err = new Error(`Request for ${url} was aborted!`);\n err.code = xhr.status;\n reject(err);\n });\n xhr.addEventListener('load', () => {\n if (xhr.status < 200 || xhr.status >= 300) {\n const err = new Error(`Request for ${url} failed with status code ${xhr.status}`);\n err.code = xhr.status;\n reject(err);\n } else {\n resolve(xhr.response);\n }\n });\n xhr.open('GET', url, true);\n xhr.send();\n});\nexport default request;\n","export default [\n 'aa',\n 'acww',\n 'dd',\n 'dgs',\n 'plvsaa',\n 'trilogy',\n 'future',\n 'legacy',\n 'ddlc',\n 'dr1',\n 'dr2',\n 'drv3',\n 'drae',\n 'p3',\n 'p4',\n 'p5',\n '999',\n 'halla',\n 'homestuck',\n 'key',\n 'sonic',\n 'yakuza',\n 'yttd',\n 'whentheycry',\n 'n64zelda',\n 'papermario',\n];\n","const fileExists = async (url) => new Promise((resolve) => {\n const xhr = new XMLHttpRequest();\n xhr.open('HEAD', url);\n xhr.onload = function checkLoad() {\n if (xhr.readyState === 4) {\n if (xhr.status === 200) {\n resolve(true);\n } else {\n resolve(false);\n }\n }\n };\n xhr.onerror = function checkError() {\n resolve(false);\n };\n xhr.send(null);\n});\nexport default fileExists;\n","import calculateGifLength from './calculateGifLength';\nimport calculateWebpLength from './calculateWebpLength';\nimport calculateApngLength from './calculateApngLength';\n\nexport default {\n '.gif': calculateGifLength,\n '.webp': calculateWebpLength,\n '.apng': calculateApngLength,\n};\n","/* eslint no-bitwise: \"off\" */\n\n/**\n * Adds up the frame delays to find out how long a GIF is\n * I totally didn't steal this\n * @param {data} gifFile the GIF data\n */\nconst calculateGifLength = (gifFile) => {\n const d = new Uint8Array(gifFile);\n // Thanks to http://justinsomnia.org/2006/10/gif-animation-duration-calculation/\n // And http://www.w3.org/Graphics/GIF/spec-gif89a.txt\n let duration = 0;\n for (let i = 0; i < d.length; i++) {\n // Find a Graphic Control Extension hex(21F904__ ____ __00)\n if (d[i] === 0x21\n && d[i + 1] === 0xF9\n && d[i + 2] === 0x04\n && d[i + 7] === 0x00) {\n // Swap 5th and 6th bytes to get the delay per frame\n const delay = (d[i + 5] << 8) | (d[i + 4] & 0xFF);\n\n // Should be aware browsers have a minimum frame delay\n // e.g. 6ms for IE, 2ms modern browsers (50fps)\n duration += delay < 2 ? 10 : delay;\n }\n }\n return duration * 10;\n};\nexport default calculateGifLength;\n","/* eslint no-bitwise: \"off\" */\n\nconst calculateWebpLength = (webpFile) => {\n const d = new Uint8Array(webpFile);\n // https://developers.google.com/speed/webp/docs/riff_container#animation\n let duration = 0;\n for (let i = 0; i < d.length; i++) {\n // Find ANMF header (41 4E 4D 46)\n if (d[i] === 0x41\n && d[i + 1] === 0x4E\n && d[i + 2] === 0x4D\n && d[i + 3] === 0x46) {\n // Swap 5th and 6th bytes to get the delay per frame\n const delay = (d[i + 21] << 8) | (d[i + 20] & 0xFF);\n\n // Should be aware browsers have a minimum frame delay\n // e.g. 6ms for IE, 2ms modern browsers (50fps)\n duration += delay < 2 ? 10 : delay;\n }\n }\n return duration;\n};\n\nexport default calculateWebpLength;\n","/**\n * Adds up the chunk delays to find out how long a APNG is\n * @param {data} apngFile the APNG data\n */\nconst calculateApngLength = (apngFile) => {\n const d = new Uint8Array(apngFile);\n // https://wiki.mozilla.org/APNG_Specification#.60fcTL.60:_The_Frame_Control_Chunk\n let duration = 0;\n for (let i = 0; i < d.length; i++) {\n // Find fcTL header (66 63 54 4C)\n if (d[i] === 0x66\n && d[i + 1] === 0x63\n && d[i + 2] === 0x54\n && d[i + 3] === 0x4C) {\n // numerator and denominator\n const delayNum = Number(d[i + 23]);\n const delayDen = Number(d[i + 25]);\n let delay;\n // minimum is 100ms\n if (delayDen === 0) {\n delay = delayNum / 100;\n } else {\n delay = delayNum / delayDen;\n }\n duration += delay;\n }\n }\n return duration * 10;\n};\nexport default calculateApngLength;\n","/* eslint no-await-in-loop: \"warn\" */\n/* eslint no-restricted-syntax: \"off\" */\n/* TODO: use promises for this */\n\nimport calculatorHandler from './calculatorHandler';\nimport fileExists from './fileExists';\nimport { requestBuffer } from '../services/request';\n/**\n * Gets animation length. If the animation cannot be found, it will\n * silently fail and return 0 instead.\n * @param {string} filename the animation file name\n */\n\nconst getAnimLength = async (url) => {\n const extensions = ['.gif', '.webp', '.apng'];\n for (const extension of extensions) {\n const urlWithExtension = url + extension;\n const exists = await fileExists(urlWithExtension);\n if (exists) {\n const fileBuffer = await requestBuffer(urlWithExtension);\n const length = calculatorHandler[extension](fileBuffer);\n return length;\n }\n }\n return 0;\n};\nexport default getAnimLength;\n","const getResources = (AO_HOST, THEME) => ({\n holdit: {\n src: `${AO_HOST}misc/default/holdit_bubble.png`,\n duration: 720,\n },\n objection: {\n src: `${AO_HOST}misc/default/objection_bubble.png`,\n duration: 720,\n },\n takethat: {\n src: `${AO_HOST}misc/default/takethat_bubble.png`,\n duration: 840,\n },\n custom: {\n src: '',\n duration: 840,\n },\n witnesstestimony: {\n src: `${AO_HOST}themes/${THEME}/witnesstestimony_bubble.gif`,\n duration: 1560,\n sfx: `${AO_HOST}sounds/general/sfx-testimony.opus`,\n },\n crossexamination: {\n src: `${AO_HOST}themes/${THEME}/crossexamination_bubble.gif`,\n duration: 1600,\n sfx: `${AO_HOST}sounds/general/sfx-testimony2.opus`,\n },\n guilty: {\n src: `${AO_HOST}themes/${THEME}/guilty_bubble.gif`,\n duration: 2870,\n sfx: `${AO_HOST}sounds/general/sfx-guilty.opus`,\n },\n notguilty: {\n src: `${AO_HOST}themes/${THEME}/notguilty_bubble.gif`,\n duration: 2440,\n sfx: `${AO_HOST}sounds/general/sfx-notguilty.opus`,\n },\n});\nexport default getResources;\n","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __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});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\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); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\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);\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); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\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\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\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\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","/**\n * FingerprintJS v3.4.2 - Copyright (c) FingerprintJS, Inc, 2023 (https://fingerprint.com)\n * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.\n *\n * This software contains code from open-source projects:\n * MurmurHash3 by Karan Lyons (https://github.com/karanlyons/murmurHash3.js)\n */\n\nimport { __awaiter, __generator, __assign, __spreadArray } from 'tslib';\n\nvar version = \"3.4.2\";\n\nfunction wait(durationMs, resolveWith) {\n return new Promise(function (resolve) { return setTimeout(resolve, durationMs, resolveWith); });\n}\nfunction requestIdleCallbackIfAvailable(fallbackTimeout, deadlineTimeout) {\n if (deadlineTimeout === void 0) { deadlineTimeout = Infinity; }\n var requestIdleCallback = window.requestIdleCallback;\n if (requestIdleCallback) {\n // The function `requestIdleCallback` loses the binding to `window` here.\n // `globalThis` isn't always equal `window` (see https://github.com/fingerprintjs/fingerprintjs/issues/683).\n // Therefore, an error can occur. `call(window,` prevents the error.\n return new Promise(function (resolve) { return requestIdleCallback.call(window, function () { return resolve(); }, { timeout: deadlineTimeout }); });\n }\n else {\n return wait(Math.min(fallbackTimeout, deadlineTimeout));\n }\n}\nfunction isPromise(value) {\n return !!value && typeof value.then === 'function';\n}\n/**\n * Calls a maybe asynchronous function without creating microtasks when the function is synchronous.\n * Catches errors in both cases.\n *\n * If just you run a code like this:\n * ```\n * console.time('Action duration')\n * await action()\n * console.timeEnd('Action duration')\n * ```\n * The synchronous function time can be measured incorrectly because another microtask may run before the `await`\n * returns the control back to the code.\n */\nfunction awaitIfAsync(action, callback) {\n try {\n var returnedValue = action();\n if (isPromise(returnedValue)) {\n returnedValue.then(function (result) { return callback(true, result); }, function (error) { return callback(false, error); });\n }\n else {\n callback(true, returnedValue);\n }\n }\n catch (error) {\n callback(false, error);\n }\n}\n/**\n * If you run many synchronous tasks without using this function, the JS main loop will be busy and asynchronous tasks\n * (e.g. completing a network request, rendering the page) won't be able to happen.\n * This function allows running many synchronous tasks such way that asynchronous tasks can run too in background.\n */\nfunction mapWithBreaks(items, callback, loopReleaseInterval) {\n if (loopReleaseInterval === void 0) { loopReleaseInterval = 16; }\n return __awaiter(this, void 0, void 0, function () {\n var results, lastLoopReleaseTime, i, now;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n results = Array(items.length);\n lastLoopReleaseTime = Date.now();\n i = 0;\n _a.label = 1;\n case 1:\n if (!(i < items.length)) return [3 /*break*/, 4];\n results[i] = callback(items[i], i);\n now = Date.now();\n if (!(now >= lastLoopReleaseTime + loopReleaseInterval)) return [3 /*break*/, 3];\n lastLoopReleaseTime = now;\n // Allows asynchronous actions and microtasks to happen\n return [4 /*yield*/, wait(0)];\n case 2:\n // Allows asynchronous actions and microtasks to happen\n _a.sent();\n _a.label = 3;\n case 3:\n ++i;\n return [3 /*break*/, 1];\n case 4: return [2 /*return*/, results];\n }\n });\n });\n}\n/**\n * Makes the given promise never emit an unhandled promise rejection console warning.\n * The promise will still pass errors to the next promises.\n *\n * Otherwise, promise emits a console warning unless it has a `catch` listener.\n */\nfunction suppressUnhandledRejectionWarning(promise) {\n promise.then(undefined, function () { return undefined; });\n}\n\n/*\n * Taken from https://github.com/karanlyons/murmurHash3.js/blob/a33d0723127e2e5415056c455f8aed2451ace208/murmurHash3.js\n */\n//\n// Given two 64bit ints (as an array of two 32bit ints) returns the two\n// added together as a 64bit int (as an array of two 32bit ints).\n//\nfunction x64Add(m, n) {\n m = [m[0] >>> 16, m[0] & 0xffff, m[1] >>> 16, m[1] & 0xffff];\n n = [n[0] >>> 16, n[0] & 0xffff, n[1] >>> 16, n[1] & 0xffff];\n var o = [0, 0, 0, 0];\n o[3] += m[3] + n[3];\n o[2] += o[3] >>> 16;\n o[3] &= 0xffff;\n o[2] += m[2] + n[2];\n o[1] += o[2] >>> 16;\n o[2] &= 0xffff;\n o[1] += m[1] + n[1];\n o[0] += o[1] >>> 16;\n o[1] &= 0xffff;\n o[0] += m[0] + n[0];\n o[0] &= 0xffff;\n return [(o[0] << 16) | o[1], (o[2] << 16) | o[3]];\n}\n//\n// Given two 64bit ints (as an array of two 32bit ints) returns the two\n// multiplied together as a 64bit int (as an array of two 32bit ints).\n//\nfunction x64Multiply(m, n) {\n m = [m[0] >>> 16, m[0] & 0xffff, m[1] >>> 16, m[1] & 0xffff];\n n = [n[0] >>> 16, n[0] & 0xffff, n[1] >>> 16, n[1] & 0xffff];\n var o = [0, 0, 0, 0];\n o[3] += m[3] * n[3];\n o[2] += o[3] >>> 16;\n o[3] &= 0xffff;\n o[2] += m[2] * n[3];\n o[1] += o[2] >>> 16;\n o[2] &= 0xffff;\n o[2] += m[3] * n[2];\n o[1] += o[2] >>> 16;\n o[2] &= 0xffff;\n o[1] += m[1] * n[3];\n o[0] += o[1] >>> 16;\n o[1] &= 0xffff;\n o[1] += m[2] * n[2];\n o[0] += o[1] >>> 16;\n o[1] &= 0xffff;\n o[1] += m[3] * n[1];\n o[0] += o[1] >>> 16;\n o[1] &= 0xffff;\n o[0] += m[0] * n[3] + m[1] * n[2] + m[2] * n[1] + m[3] * n[0];\n o[0] &= 0xffff;\n return [(o[0] << 16) | o[1], (o[2] << 16) | o[3]];\n}\n//\n// Given a 64bit int (as an array of two 32bit ints) and an int\n// representing a number of bit positions, returns the 64bit int (as an\n// array of two 32bit ints) rotated left by that number of positions.\n//\nfunction x64Rotl(m, n) {\n n %= 64;\n if (n === 32) {\n return [m[1], m[0]];\n }\n else if (n < 32) {\n return [(m[0] << n) | (m[1] >>> (32 - n)), (m[1] << n) | (m[0] >>> (32 - n))];\n }\n else {\n n -= 32;\n return [(m[1] << n) | (m[0] >>> (32 - n)), (m[0] << n) | (m[1] >>> (32 - n))];\n }\n}\n//\n// Given a 64bit int (as an array of two 32bit ints) and an int\n// representing a number of bit positions, returns the 64bit int (as an\n// array of two 32bit ints) shifted left by that number of positions.\n//\nfunction x64LeftShift(m, n) {\n n %= 64;\n if (n === 0) {\n return m;\n }\n else if (n < 32) {\n return [(m[0] << n) | (m[1] >>> (32 - n)), m[1] << n];\n }\n else {\n return [m[1] << (n - 32), 0];\n }\n}\n//\n// Given two 64bit ints (as an array of two 32bit ints) returns the two\n// xored together as a 64bit int (as an array of two 32bit ints).\n//\nfunction x64Xor(m, n) {\n return [m[0] ^ n[0], m[1] ^ n[1]];\n}\n//\n// Given a block, returns murmurHash3's final x64 mix of that block.\n// (`[0, h[0] >>> 1]` is a 33 bit unsigned right shift. This is the\n// only place where we need to right shift 64bit ints.)\n//\nfunction x64Fmix(h) {\n h = x64Xor(h, [0, h[0] >>> 1]);\n h = x64Multiply(h, [0xff51afd7, 0xed558ccd]);\n h = x64Xor(h, [0, h[0] >>> 1]);\n h = x64Multiply(h, [0xc4ceb9fe, 0x1a85ec53]);\n h = x64Xor(h, [0, h[0] >>> 1]);\n return h;\n}\n//\n// Given a string and an optional seed as an int, returns a 128 bit\n// hash using the x64 flavor of MurmurHash3, as an unsigned hex.\n//\nfunction x64hash128(key, seed) {\n key = key || '';\n seed = seed || 0;\n var remainder = key.length % 16;\n var bytes = key.length - remainder;\n var h1 = [0, seed];\n var h2 = [0, seed];\n var k1 = [0, 0];\n var k2 = [0, 0];\n var c1 = [0x87c37b91, 0x114253d5];\n var c2 = [0x4cf5ad43, 0x2745937f];\n var i;\n for (i = 0; i < bytes; i = i + 16) {\n k1 = [\n (key.charCodeAt(i + 4) & 0xff) |\n ((key.charCodeAt(i + 5) & 0xff) << 8) |\n ((key.charCodeAt(i + 6) & 0xff) << 16) |\n ((key.charCodeAt(i + 7) & 0xff) << 24),\n (key.charCodeAt(i) & 0xff) |\n ((key.charCodeAt(i + 1) & 0xff) << 8) |\n ((key.charCodeAt(i + 2) & 0xff) << 16) |\n ((key.charCodeAt(i + 3) & 0xff) << 24),\n ];\n k2 = [\n (key.charCodeAt(i + 12) & 0xff) |\n ((key.charCodeAt(i + 13) & 0xff) << 8) |\n ((key.charCodeAt(i + 14) & 0xff) << 16) |\n ((key.charCodeAt(i + 15) & 0xff) << 24),\n (key.charCodeAt(i + 8) & 0xff) |\n ((key.charCodeAt(i + 9) & 0xff) << 8) |\n ((key.charCodeAt(i + 10) & 0xff) << 16) |\n ((key.charCodeAt(i + 11) & 0xff) << 24),\n ];\n k1 = x64Multiply(k1, c1);\n k1 = x64Rotl(k1, 31);\n k1 = x64Multiply(k1, c2);\n h1 = x64Xor(h1, k1);\n h1 = x64Rotl(h1, 27);\n h1 = x64Add(h1, h2);\n h1 = x64Add(x64Multiply(h1, [0, 5]), [0, 0x52dce729]);\n k2 = x64Multiply(k2, c2);\n k2 = x64Rotl(k2, 33);\n k2 = x64Multiply(k2, c1);\n h2 = x64Xor(h2, k2);\n h2 = x64Rotl(h2, 31);\n h2 = x64Add(h2, h1);\n h2 = x64Add(x64Multiply(h2, [0, 5]), [0, 0x38495ab5]);\n }\n k1 = [0, 0];\n k2 = [0, 0];\n switch (remainder) {\n case 15:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 14)], 48));\n // fallthrough\n case 14:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 13)], 40));\n // fallthrough\n case 13:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 12)], 32));\n // fallthrough\n case 12:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 11)], 24));\n // fallthrough\n case 11:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 10)], 16));\n // fallthrough\n case 10:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 9)], 8));\n // fallthrough\n case 9:\n k2 = x64Xor(k2, [0, key.charCodeAt(i + 8)]);\n k2 = x64Multiply(k2, c2);\n k2 = x64Rotl(k2, 33);\n k2 = x64Multiply(k2, c1);\n h2 = x64Xor(h2, k2);\n // fallthrough\n case 8:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 7)], 56));\n // fallthrough\n case 7:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 6)], 48));\n // fallthrough\n case 6:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 5)], 40));\n // fallthrough\n case 5:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 4)], 32));\n // fallthrough\n case 4:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 3)], 24));\n // fallthrough\n case 3:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 2)], 16));\n // fallthrough\n case 2:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 1)], 8));\n // fallthrough\n case 1:\n k1 = x64Xor(k1, [0, key.charCodeAt(i)]);\n k1 = x64Multiply(k1, c1);\n k1 = x64Rotl(k1, 31);\n k1 = x64Multiply(k1, c2);\n h1 = x64Xor(h1, k1);\n // fallthrough\n }\n h1 = x64Xor(h1, [0, key.length]);\n h2 = x64Xor(h2, [0, key.length]);\n h1 = x64Add(h1, h2);\n h2 = x64Add(h2, h1);\n h1 = x64Fmix(h1);\n h2 = x64Fmix(h2);\n h1 = x64Add(h1, h2);\n h2 = x64Add(h2, h1);\n return (('00000000' + (h1[0] >>> 0).toString(16)).slice(-8) +\n ('00000000' + (h1[1] >>> 0).toString(16)).slice(-8) +\n ('00000000' + (h2[0] >>> 0).toString(16)).slice(-8) +\n ('00000000' + (h2[1] >>> 0).toString(16)).slice(-8));\n}\n\n/**\n * Converts an error object to a plain object that can be used with `JSON.stringify`.\n * If you just run `JSON.stringify(error)`, you'll get `'{}'`.\n */\nfunction errorToObject(error) {\n var _a;\n return __assign({ name: error.name, message: error.message, stack: (_a = error.stack) === null || _a === void 0 ? void 0 : _a.split('\\n') }, error);\n}\n\n/*\n * This file contains functions to work with pure data only (no browser features, DOM, side effects, etc).\n */\n/**\n * Does the same as Array.prototype.includes but has better typing\n */\nfunction includes(haystack, needle) {\n for (var i = 0, l = haystack.length; i < l; ++i) {\n if (haystack[i] === needle) {\n return true;\n }\n }\n return false;\n}\n/**\n * Like `!includes()` but with proper typing\n */\nfunction excludes(haystack, needle) {\n return !includes(haystack, needle);\n}\n/**\n * Be careful, NaN can return\n */\nfunction toInt(value) {\n return parseInt(value);\n}\n/**\n * Be careful, NaN can return\n */\nfunction toFloat(value) {\n return parseFloat(value);\n}\nfunction replaceNaN(value, replacement) {\n return typeof value === 'number' && isNaN(value) ? replacement : value;\n}\nfunction countTruthy(values) {\n return values.reduce(function (sum, value) { return sum + (value ? 1 : 0); }, 0);\n}\nfunction round(value, base) {\n if (base === void 0) { base = 1; }\n if (Math.abs(base) >= 1) {\n return Math.round(value / base) * base;\n }\n else {\n // Sometimes when a number is multiplied by a small number, precision is lost,\n // for example 1234 * 0.0001 === 0.12340000000000001, and it's more precise divide: 1234 / (1 / 0.0001) === 0.1234.\n var counterBase = 1 / base;\n return Math.round(value * counterBase) / counterBase;\n }\n}\n/**\n * Parses a CSS selector into tag name with HTML attributes.\n * Only single element selector are supported (without operators like space, +, >, etc).\n *\n * Multiple values can be returned for each attribute. You decide how to handle them.\n */\nfunction parseSimpleCssSelector(selector) {\n var _a, _b;\n var errorMessage = \"Unexpected syntax '\".concat(selector, \"'\");\n var tagMatch = /^\\s*([a-z-]*)(.*)$/i.exec(selector);\n var tag = tagMatch[1] || undefined;\n var attributes = {};\n var partsRegex = /([.:#][\\w-]+|\\[.+?\\])/gi;\n var addAttribute = function (name, value) {\n attributes[name] = attributes[name] || [];\n attributes[name].push(value);\n };\n for (;;) {\n var match = partsRegex.exec(tagMatch[2]);\n if (!match) {\n break;\n }\n var part = match[0];\n switch (part[0]) {\n case '.':\n addAttribute('class', part.slice(1));\n break;\n case '#':\n addAttribute('id', part.slice(1));\n break;\n case '[': {\n var attributeMatch = /^\\[([\\w-]+)([~|^$*]?=(\"(.*?)\"|([\\w-]+)))?(\\s+[is])?\\]$/.exec(part);\n if (attributeMatch) {\n addAttribute(attributeMatch[1], (_b = (_a = attributeMatch[4]) !== null && _a !== void 0 ? _a : attributeMatch[5]) !== null && _b !== void 0 ? _b : '');\n }\n else {\n throw new Error(errorMessage);\n }\n break;\n }\n default:\n throw new Error(errorMessage);\n }\n }\n return [tag, attributes];\n}\n\nfunction ensureErrorWithMessage(error) {\n return error && typeof error === 'object' && 'message' in error ? error : { message: error };\n}\nfunction isFinalResultLoaded(loadResult) {\n return typeof loadResult !== 'function';\n}\n/**\n * Loads the given entropy source. Returns a function that gets an entropy component from the source.\n *\n * The result is returned synchronously to prevent `loadSources` from\n * waiting for one source to load before getting the components from the other sources.\n */\nfunction loadSource(source, sourceOptions) {\n var sourceLoadPromise = new Promise(function (resolveLoad) {\n var loadStartTime = Date.now();\n // `awaitIfAsync` is used instead of just `await` in order to measure the duration of synchronous sources\n // correctly (other microtasks won't affect the duration).\n awaitIfAsync(source.bind(null, sourceOptions), function () {\n var loadArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n loadArgs[_i] = arguments[_i];\n }\n var loadDuration = Date.now() - loadStartTime;\n // Source loading failed\n if (!loadArgs[0]) {\n return resolveLoad(function () { return ({ error: ensureErrorWithMessage(loadArgs[1]), duration: loadDuration }); });\n }\n var loadResult = loadArgs[1];\n // Source loaded with the final result\n if (isFinalResultLoaded(loadResult)) {\n return resolveLoad(function () { return ({ value: loadResult, duration: loadDuration }); });\n }\n // Source loaded with \"get\" stage\n resolveLoad(function () {\n return new Promise(function (resolveGet) {\n var getStartTime = Date.now();\n awaitIfAsync(loadResult, function () {\n var getArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n getArgs[_i] = arguments[_i];\n }\n var duration = loadDuration + Date.now() - getStartTime;\n // Source getting failed\n if (!getArgs[0]) {\n return resolveGet({ error: ensureErrorWithMessage(getArgs[1]), duration: duration });\n }\n // Source getting succeeded\n resolveGet({ value: getArgs[1], duration: duration });\n });\n });\n });\n });\n });\n suppressUnhandledRejectionWarning(sourceLoadPromise);\n return function getComponent() {\n return sourceLoadPromise.then(function (finalizeSource) { return finalizeSource(); });\n };\n}\n/**\n * Loads the given entropy sources. Returns a function that collects the entropy components.\n *\n * The result is returned synchronously in order to allow start getting the components\n * before the sources are loaded completely.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction loadSources(sources, sourceOptions, excludeSources) {\n var includedSources = Object.keys(sources).filter(function (sourceKey) { return excludes(excludeSources, sourceKey); });\n // Using `mapWithBreaks` allows asynchronous sources to complete between synchronous sources\n // and measure the duration correctly\n var sourceGettersPromise = mapWithBreaks(includedSources, function (sourceKey) {\n return loadSource(sources[sourceKey], sourceOptions);\n });\n suppressUnhandledRejectionWarning(sourceGettersPromise);\n return function getComponents() {\n return __awaiter(this, void 0, void 0, function () {\n var sourceGetters, componentPromises, componentArray, components, index;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, sourceGettersPromise];\n case 1:\n sourceGetters = _a.sent();\n return [4 /*yield*/, mapWithBreaks(sourceGetters, function (sourceGetter) {\n var componentPromise = sourceGetter();\n suppressUnhandledRejectionWarning(componentPromise);\n return componentPromise;\n })];\n case 2:\n componentPromises = _a.sent();\n return [4 /*yield*/, Promise.all(componentPromises)\n // Keeping the component keys order the same as the source keys order\n ];\n case 3:\n componentArray = _a.sent();\n components = {};\n for (index = 0; index < includedSources.length; ++index) {\n components[includedSources[index]] = componentArray[index];\n }\n return [2 /*return*/, components];\n }\n });\n });\n };\n}\n/**\n * Modifies an entropy source by transforming its returned value with the given function.\n * Keeps the source properties: sync/async, 1/2 stages.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction transformSource(source, transformValue) {\n var transformLoadResult = function (loadResult) {\n if (isFinalResultLoaded(loadResult)) {\n return transformValue(loadResult);\n }\n return function () {\n var getResult = loadResult();\n if (isPromise(getResult)) {\n return getResult.then(transformValue);\n }\n return transformValue(getResult);\n };\n };\n return function (options) {\n var loadResult = source(options);\n if (isPromise(loadResult)) {\n return loadResult.then(transformLoadResult);\n }\n return transformLoadResult(loadResult);\n };\n}\n\n/*\n * Functions to help with features that vary through browsers\n */\n/**\n * Checks whether the browser is based on Trident (the Internet Explorer engine) without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isTrident() {\n var w = window;\n var n = navigator;\n // The properties are checked to be in IE 10, IE 11 and not to be in other browsers in October 2020\n return (countTruthy([\n 'MSCSSMatrix' in w,\n 'msSetImmediate' in w,\n 'msIndexedDB' in w,\n 'msMaxTouchPoints' in n,\n 'msPointerEnabled' in n,\n ]) >= 4);\n}\n/**\n * Checks whether the browser is based on EdgeHTML (the pre-Chromium Edge engine) without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isEdgeHTML() {\n // Based on research in October 2020\n var w = window;\n var n = navigator;\n return (countTruthy(['msWriteProfilerMark' in w, 'MSStream' in w, 'msLaunchUri' in n, 'msSaveBlob' in n]) >= 3 &&\n !isTrident());\n}\n/**\n * Checks whether the browser is based on Chromium without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isChromium() {\n // Based on research in October 2020. Tested to detect Chromium 42-86.\n var w = window;\n var n = navigator;\n return (countTruthy([\n 'webkitPersistentStorage' in n,\n 'webkitTemporaryStorage' in n,\n n.vendor.indexOf('Google') === 0,\n 'webkitResolveLocalFileSystemURL' in w,\n 'BatteryManager' in w,\n 'webkitMediaStream' in w,\n 'webkitSpeechGrammar' in w,\n ]) >= 5);\n}\n/**\n * Checks whether the browser is based on mobile or desktop Safari without using user-agent.\n * All iOS browsers use WebKit (the Safari engine).\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isWebKit() {\n // Based on research in September 2020\n var w = window;\n var n = navigator;\n return (countTruthy([\n 'ApplePayError' in w,\n 'CSSPrimitiveValue' in w,\n 'Counter' in w,\n n.vendor.indexOf('Apple') === 0,\n 'getStorageUpdates' in n,\n 'WebKitMediaKeys' in w,\n ]) >= 4);\n}\n/**\n * Checks whether the WebKit browser is a desktop Safari.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isDesktopSafari() {\n var w = window;\n return (countTruthy([\n 'safari' in w,\n !('DeviceMotionEvent' in w),\n !('ongestureend' in w),\n !('standalone' in navigator),\n ]) >= 3);\n}\n/**\n * Checks whether the browser is based on Gecko (Firefox engine) without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isGecko() {\n var _a, _b;\n var w = window;\n // Based on research in September 2020\n return (countTruthy([\n 'buildID' in navigator,\n 'MozAppearance' in ((_b = (_a = document.documentElement) === null || _a === void 0 ? void 0 : _a.style) !== null && _b !== void 0 ? _b : {}),\n 'onmozfullscreenchange' in w,\n 'mozInnerScreenX' in w,\n 'CSSMozDocumentRule' in w,\n 'CanvasCaptureMediaStream' in w,\n ]) >= 4);\n}\n/**\n * Checks whether the browser is based on Chromium version ≥86 without using user-agent.\n * It doesn't check that the browser is based on Chromium, there is a separate function for this.\n */\nfunction isChromium86OrNewer() {\n // Checked in Chrome 85 vs Chrome 86 both on desktop and Android\n var w = window;\n return (countTruthy([\n !('MediaSettingsRange' in w),\n 'RTCEncodedAudioFrame' in w,\n '' + w.Intl === '[object Intl]',\n '' + w.Reflect === '[object Reflect]',\n ]) >= 3);\n}\n/**\n * Checks whether the browser is based on WebKit version ≥606 (Safari ≥12) without using user-agent.\n * It doesn't check that the browser is based on WebKit, there is a separate function for this.\n *\n * @link https://en.wikipedia.org/wiki/Safari_version_history#Release_history Safari-WebKit versions map\n */\nfunction isWebKit606OrNewer() {\n // Checked in Safari 9–14\n var w = window;\n return (countTruthy([\n 'DOMRectList' in w,\n 'RTCPeerConnectionIceEvent' in w,\n 'SVGGeometryElement' in w,\n 'ontransitioncancel' in w,\n ]) >= 3);\n}\n/**\n * Checks whether the device is an iPad.\n * It doesn't check that the engine is WebKit and that the WebKit isn't desktop.\n */\nfunction isIPad() {\n // Checked on:\n // Safari on iPadOS (both mobile and desktop modes): 8, 11, 12, 13, 14\n // Chrome on iPadOS (both mobile and desktop modes): 11, 12, 13, 14\n // Safari on iOS (both mobile and desktop modes): 9, 10, 11, 12, 13, 14\n // Chrome on iOS (both mobile and desktop modes): 9, 10, 11, 12, 13, 14\n // Before iOS 13. Safari tampers the value in \"request desktop site\" mode since iOS 13.\n if (navigator.platform === 'iPad') {\n return true;\n }\n var s = screen;\n var screenRatio = s.width / s.height;\n return (countTruthy([\n 'MediaSource' in window,\n !!Element.prototype.webkitRequestFullscreen,\n // iPhone 4S that runs iOS 9 matches this. But it won't match the criteria above, so it won't be detected as iPad.\n screenRatio > 0.65 && screenRatio < 1.53,\n ]) >= 2);\n}\n/**\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction getFullscreenElement() {\n var d = document;\n return d.fullscreenElement || d.msFullscreenElement || d.mozFullScreenElement || d.webkitFullscreenElement || null;\n}\nfunction exitFullscreen() {\n var d = document;\n // `call` is required because the function throws an error without a proper \"this\" context\n return (d.exitFullscreen || d.msExitFullscreen || d.mozCancelFullScreen || d.webkitExitFullscreen).call(d);\n}\n/**\n * Checks whether the device runs on Android without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isAndroid() {\n var isItChromium = isChromium();\n var isItGecko = isGecko();\n // Only 2 browser engines are presented on Android.\n // Actually, there is also Android 4.1 browser, but it's not worth detecting it at the moment.\n if (!isItChromium && !isItGecko) {\n return false;\n }\n var w = window;\n // Chrome removes all words \"Android\" from `navigator` when desktop version is requested\n // Firefox keeps \"Android\" in `navigator.appVersion` when desktop version is requested\n return (countTruthy([\n 'onorientationchange' in w,\n 'orientation' in w,\n isItChromium && !('SharedWorker' in w),\n isItGecko && /android/i.test(navigator.appVersion),\n ]) >= 2);\n}\n\n/**\n * A deep description: https://fingerprint.com/blog/audio-fingerprinting/\n * Inspired by and based on https://github.com/cozylife/audio-fingerprint\n */\nfunction getAudioFingerprint() {\n var w = window;\n var AudioContext = w.OfflineAudioContext || w.webkitOfflineAudioContext;\n if (!AudioContext) {\n return -2 /* SpecialFingerprint.NotSupported */;\n }\n // In some browsers, audio context always stays suspended unless the context is started in response to a user action\n // (e.g. a click or a tap). It prevents audio fingerprint from being taken at an arbitrary moment of time.\n // Such browsers are old and unpopular, so the audio fingerprinting is just skipped in them.\n // See a similar case explanation at https://stackoverflow.com/questions/46363048/onaudioprocess-not-called-on-ios11#46534088\n if (doesCurrentBrowserSuspendAudioContext()) {\n return -1 /* SpecialFingerprint.KnownToSuspend */;\n }\n var hashFromIndex = 4500;\n var hashToIndex = 5000;\n var context = new AudioContext(1, hashToIndex, 44100);\n var oscillator = context.createOscillator();\n oscillator.type = 'triangle';\n oscillator.frequency.value = 10000;\n var compressor = context.createDynamicsCompressor();\n compressor.threshold.value = -50;\n compressor.knee.value = 40;\n compressor.ratio.value = 12;\n compressor.attack.value = 0;\n compressor.release.value = 0.25;\n oscillator.connect(compressor);\n compressor.connect(context.destination);\n oscillator.start(0);\n var _a = startRenderingAudio(context), renderPromise = _a[0], finishRendering = _a[1];\n var fingerprintPromise = renderPromise.then(function (buffer) { return getHash(buffer.getChannelData(0).subarray(hashFromIndex)); }, function (error) {\n if (error.name === \"timeout\" /* InnerErrorName.Timeout */ || error.name === \"suspended\" /* InnerErrorName.Suspended */) {\n return -3 /* SpecialFingerprint.Timeout */;\n }\n throw error;\n });\n // Suppresses the console error message in case when the fingerprint fails before requested\n suppressUnhandledRejectionWarning(fingerprintPromise);\n return function () {\n finishRendering();\n return fingerprintPromise;\n };\n}\n/**\n * Checks if the current browser is known to always suspend audio context\n */\nfunction doesCurrentBrowserSuspendAudioContext() {\n return isWebKit() && !isDesktopSafari() && !isWebKit606OrNewer();\n}\n/**\n * Starts rendering the audio context.\n * When the returned function is called, the render process starts finishing.\n */\nfunction startRenderingAudio(context) {\n var renderTryMaxCount = 3;\n var renderRetryDelay = 500;\n var runningMaxAwaitTime = 500;\n var runningSufficientTime = 5000;\n var finalize = function () { return undefined; };\n var resultPromise = new Promise(function (resolve, reject) {\n var isFinalized = false;\n var renderTryCount = 0;\n var startedRunningAt = 0;\n context.oncomplete = function (event) { return resolve(event.renderedBuffer); };\n var startRunningTimeout = function () {\n setTimeout(function () { return reject(makeInnerError(\"timeout\" /* InnerErrorName.Timeout */)); }, Math.min(runningMaxAwaitTime, startedRunningAt + runningSufficientTime - Date.now()));\n };\n var tryRender = function () {\n try {\n var renderingPromise = context.startRendering();\n // `context.startRendering` has two APIs: Promise and callback, we check that it's really a promise just in case\n if (isPromise(renderingPromise)) {\n // Suppresses all unhadled rejections in case of scheduled redundant retries after successful rendering\n suppressUnhandledRejectionWarning(renderingPromise);\n }\n switch (context.state) {\n case 'running':\n startedRunningAt = Date.now();\n if (isFinalized) {\n startRunningTimeout();\n }\n break;\n // Sometimes the audio context doesn't start after calling `startRendering` (in addition to the cases where\n // audio context doesn't start at all). A known case is starting an audio context when the browser tab is in\n // background on iPhone. Retries usually help in this case.\n case 'suspended':\n // The audio context can reject starting until the tab is in foreground. Long fingerprint duration\n // in background isn't a problem, therefore the retry attempts don't count in background. It can lead to\n // a situation when a fingerprint takes very long time and finishes successfully. FYI, the audio context\n // can be suspended when `document.hidden === false` and start running after a retry.\n if (!document.hidden) {\n renderTryCount++;\n }\n if (isFinalized && renderTryCount >= renderTryMaxCount) {\n reject(makeInnerError(\"suspended\" /* InnerErrorName.Suspended */));\n }\n else {\n setTimeout(tryRender, renderRetryDelay);\n }\n break;\n }\n }\n catch (error) {\n reject(error);\n }\n };\n tryRender();\n finalize = function () {\n if (!isFinalized) {\n isFinalized = true;\n if (startedRunningAt > 0) {\n startRunningTimeout();\n }\n }\n };\n });\n return [resultPromise, finalize];\n}\nfunction getHash(signal) {\n var hash = 0;\n for (var i = 0; i < signal.length; ++i) {\n hash += Math.abs(signal[i]);\n }\n return hash;\n}\nfunction makeInnerError(name) {\n var error = new Error(name);\n error.name = name;\n return error;\n}\n\n/**\n * Creates and keeps an invisible iframe while the given function runs.\n * The given function is called when the iframe is loaded and has a body.\n * The iframe allows to measure DOM sizes inside itself.\n *\n * Notice: passing an initial HTML code doesn't work in IE.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction withIframe(action, initialHtml, domPollInterval) {\n var _a, _b, _c;\n if (domPollInterval === void 0) { domPollInterval = 50; }\n return __awaiter(this, void 0, void 0, function () {\n var d, iframe;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n d = document;\n _d.label = 1;\n case 1:\n if (!!d.body) return [3 /*break*/, 3];\n return [4 /*yield*/, wait(domPollInterval)];\n case 2:\n _d.sent();\n return [3 /*break*/, 1];\n case 3:\n iframe = d.createElement('iframe');\n _d.label = 4;\n case 4:\n _d.trys.push([4, , 10, 11]);\n return [4 /*yield*/, new Promise(function (_resolve, _reject) {\n var isComplete = false;\n var resolve = function () {\n isComplete = true;\n _resolve();\n };\n var reject = function (error) {\n isComplete = true;\n _reject(error);\n };\n iframe.onload = resolve;\n iframe.onerror = reject;\n var style = iframe.style;\n style.setProperty('display', 'block', 'important'); // Required for browsers to calculate the layout\n style.position = 'absolute';\n style.top = '0';\n style.left = '0';\n style.visibility = 'hidden';\n if (initialHtml && 'srcdoc' in iframe) {\n iframe.srcdoc = initialHtml;\n }\n else {\n iframe.src = 'about:blank';\n }\n d.body.appendChild(iframe);\n // WebKit in WeChat doesn't fire the iframe's `onload` for some reason.\n // This code checks for the loading state manually.\n // See https://github.com/fingerprintjs/fingerprintjs/issues/645\n var checkReadyState = function () {\n var _a, _b;\n // The ready state may never become 'complete' in Firefox despite the 'load' event being fired.\n // So an infinite setTimeout loop can happen without this check.\n // See https://github.com/fingerprintjs/fingerprintjs/pull/716#issuecomment-986898796\n if (isComplete) {\n return;\n }\n // Make sure iframe.contentWindow and iframe.contentWindow.document are both loaded\n // The contentWindow.document can miss in JSDOM (https://github.com/jsdom/jsdom).\n if (((_b = (_a = iframe.contentWindow) === null || _a === void 0 ? void 0 : _a.document) === null || _b === void 0 ? void 0 : _b.readyState) === 'complete') {\n resolve();\n }\n else {\n setTimeout(checkReadyState, 10);\n }\n };\n checkReadyState();\n })];\n case 5:\n _d.sent();\n _d.label = 6;\n case 6:\n if (!!((_b = (_a = iframe.contentWindow) === null || _a === void 0 ? void 0 : _a.document) === null || _b === void 0 ? void 0 : _b.body)) return [3 /*break*/, 8];\n return [4 /*yield*/, wait(domPollInterval)];\n case 7:\n _d.sent();\n return [3 /*break*/, 6];\n case 8: return [4 /*yield*/, action(iframe, iframe.contentWindow)];\n case 9: return [2 /*return*/, _d.sent()];\n case 10:\n (_c = iframe.parentNode) === null || _c === void 0 ? void 0 : _c.removeChild(iframe);\n return [7 /*endfinally*/];\n case 11: return [2 /*return*/];\n }\n });\n });\n}\n/**\n * Creates a DOM element that matches the given selector.\n * Only single element selector are supported (without operators like space, +, >, etc).\n */\nfunction selectorToElement(selector) {\n var _a = parseSimpleCssSelector(selector), tag = _a[0], attributes = _a[1];\n var element = document.createElement(tag !== null && tag !== void 0 ? tag : 'div');\n for (var _i = 0, _b = Object.keys(attributes); _i < _b.length; _i++) {\n var name_1 = _b[_i];\n var value = attributes[name_1].join(' ');\n // Changing the `style` attribute can cause a CSP error, therefore we change the `style.cssText` property.\n // https://github.com/fingerprintjs/fingerprintjs/issues/733\n if (name_1 === 'style') {\n addStyleString(element.style, value);\n }\n else {\n element.setAttribute(name_1, value);\n }\n }\n return element;\n}\n/**\n * Adds CSS styles from a string in such a way that doesn't trigger a CSP warning (unsafe-inline or unsafe-eval)\n */\nfunction addStyleString(style, source) {\n // We don't use `style.cssText` because browsers must block it when no `unsafe-eval` CSP is presented: https://csplite.com/csp145/#w3c_note\n // Even though the browsers ignore this standard, we don't use `cssText` just in case.\n for (var _i = 0, _a = source.split(';'); _i < _a.length; _i++) {\n var property = _a[_i];\n var match = /^\\s*([\\w-]+)\\s*:\\s*(.+?)(\\s*!([\\w-]+))?\\s*$/.exec(property);\n if (match) {\n var name_2 = match[1], value = match[2], priority = match[4];\n style.setProperty(name_2, value, priority || ''); // The last argument can't be undefined in IE11\n }\n }\n}\n\n// We use m or w because these two characters take up the maximum width.\n// And we use a LLi so that the same matching fonts can get separated.\nvar testString = 'mmMwWLliI0O&1';\n// We test using 48px font size, we may use any size. I guess larger the better.\nvar textSize = '48px';\n// A font will be compared against all the three default fonts.\n// And if for any default fonts it doesn't match, then that font is available.\nvar baseFonts = ['monospace', 'sans-serif', 'serif'];\nvar fontList = [\n // This is android-specific font from \"Roboto\" family\n 'sans-serif-thin',\n 'ARNO PRO',\n 'Agency FB',\n 'Arabic Typesetting',\n 'Arial Unicode MS',\n 'AvantGarde Bk BT',\n 'BankGothic Md BT',\n 'Batang',\n 'Bitstream Vera Sans Mono',\n 'Calibri',\n 'Century',\n 'Century Gothic',\n 'Clarendon',\n 'EUROSTILE',\n 'Franklin Gothic',\n 'Futura Bk BT',\n 'Futura Md BT',\n 'GOTHAM',\n 'Gill Sans',\n 'HELV',\n 'Haettenschweiler',\n 'Helvetica Neue',\n 'Humanst521 BT',\n 'Leelawadee',\n 'Letter Gothic',\n 'Levenim MT',\n 'Lucida Bright',\n 'Lucida Sans',\n 'Menlo',\n 'MS Mincho',\n 'MS Outlook',\n 'MS Reference Specialty',\n 'MS UI Gothic',\n 'MT Extra',\n 'MYRIAD PRO',\n 'Marlett',\n 'Meiryo UI',\n 'Microsoft Uighur',\n 'Minion Pro',\n 'Monotype Corsiva',\n 'PMingLiU',\n 'Pristina',\n 'SCRIPTINA',\n 'Segoe UI Light',\n 'Serifa',\n 'SimHei',\n 'Small Fonts',\n 'Staccato222 BT',\n 'TRAJAN PRO',\n 'Univers CE 55 Medium',\n 'Vrinda',\n 'ZWAdobeF',\n];\n// kudos to http://www.lalit.org/lab/javascript-css-font-detect/\nfunction getFonts() {\n // Running the script in an iframe makes it not affect the page look and not be affected by the page CSS. See:\n // https://github.com/fingerprintjs/fingerprintjs/issues/592\n // https://github.com/fingerprintjs/fingerprintjs/issues/628\n return withIframe(function (_, _a) {\n var document = _a.document;\n var holder = document.body;\n holder.style.fontSize = textSize;\n // div to load spans for the default fonts and the fonts to detect\n var spansContainer = document.createElement('div');\n var defaultWidth = {};\n var defaultHeight = {};\n // creates a span where the fonts will be loaded\n var createSpan = function (fontFamily) {\n var span = document.createElement('span');\n var style = span.style;\n style.position = 'absolute';\n style.top = '0';\n style.left = '0';\n style.fontFamily = fontFamily;\n span.textContent = testString;\n spansContainer.appendChild(span);\n return span;\n };\n // creates a span and load the font to detect and a base font for fallback\n var createSpanWithFonts = function (fontToDetect, baseFont) {\n return createSpan(\"'\".concat(fontToDetect, \"',\").concat(baseFont));\n };\n // creates spans for the base fonts and adds them to baseFontsDiv\n var initializeBaseFontsSpans = function () {\n return baseFonts.map(createSpan);\n };\n // creates spans for the fonts to detect and adds them to fontsDiv\n var initializeFontsSpans = function () {\n // Stores {fontName : [spans for that font]}\n var spans = {};\n var _loop_1 = function (font) {\n spans[font] = baseFonts.map(function (baseFont) { return createSpanWithFonts(font, baseFont); });\n };\n for (var _i = 0, fontList_1 = fontList; _i < fontList_1.length; _i++) {\n var font = fontList_1[_i];\n _loop_1(font);\n }\n return spans;\n };\n // checks if a font is available\n var isFontAvailable = function (fontSpans) {\n return baseFonts.some(function (baseFont, baseFontIndex) {\n return fontSpans[baseFontIndex].offsetWidth !== defaultWidth[baseFont] ||\n fontSpans[baseFontIndex].offsetHeight !== defaultHeight[baseFont];\n });\n };\n // create spans for base fonts\n var baseFontsSpans = initializeBaseFontsSpans();\n // create spans for fonts to detect\n var fontsSpans = initializeFontsSpans();\n // add all the spans to the DOM\n holder.appendChild(spansContainer);\n // get the default width for the three base fonts\n for (var index = 0; index < baseFonts.length; index++) {\n defaultWidth[baseFonts[index]] = baseFontsSpans[index].offsetWidth; // width for the default font\n defaultHeight[baseFonts[index]] = baseFontsSpans[index].offsetHeight; // height for the default font\n }\n // check available fonts\n return fontList.filter(function (font) { return isFontAvailable(fontsSpans[font]); });\n });\n}\n\nfunction getPlugins() {\n var rawPlugins = navigator.plugins;\n if (!rawPlugins) {\n return undefined;\n }\n var plugins = [];\n // Safari 10 doesn't support iterating navigator.plugins with for...of\n for (var i = 0; i < rawPlugins.length; ++i) {\n var plugin = rawPlugins[i];\n if (!plugin) {\n continue;\n }\n var mimeTypes = [];\n for (var j = 0; j < plugin.length; ++j) {\n var mimeType = plugin[j];\n mimeTypes.push({\n type: mimeType.type,\n suffixes: mimeType.suffixes,\n });\n }\n plugins.push({\n name: plugin.name,\n description: plugin.description,\n mimeTypes: mimeTypes,\n });\n }\n return plugins;\n}\n\n// https://www.browserleaks.com/canvas#how-does-it-work\nfunction getCanvasFingerprint() {\n var winding = false;\n var geometry;\n var text;\n var _a = makeCanvasContext(), canvas = _a[0], context = _a[1];\n if (!isSupported(canvas, context)) {\n geometry = text = ''; // The value will be 'unsupported' in v3.4\n }\n else {\n winding = doesSupportWinding(context);\n renderTextImage(canvas, context);\n var textImage1 = canvasToString(canvas);\n var textImage2 = canvasToString(canvas); // It's slightly faster to double-encode the text image\n // Some browsers add a noise to the canvas: https://github.com/fingerprintjs/fingerprintjs/issues/791\n // The canvas is excluded from the fingerprint in this case\n if (textImage1 !== textImage2) {\n geometry = text = 'unstable';\n }\n else {\n text = textImage1;\n // Text is unstable:\n // https://github.com/fingerprintjs/fingerprintjs/issues/583\n // https://github.com/fingerprintjs/fingerprintjs/issues/103\n // Therefore it's extracted into a separate image.\n renderGeometryImage(canvas, context);\n geometry = canvasToString(canvas);\n }\n }\n return { winding: winding, geometry: geometry, text: text };\n}\nfunction makeCanvasContext() {\n var canvas = document.createElement('canvas');\n canvas.width = 1;\n canvas.height = 1;\n return [canvas, canvas.getContext('2d')];\n}\nfunction isSupported(canvas, context) {\n return !!(context && canvas.toDataURL);\n}\nfunction doesSupportWinding(context) {\n // https://web.archive.org/web/20170825024655/http://blogs.adobe.com/webplatform/2013/01/30/winding-rules-in-canvas/\n // https://github.com/Modernizr/Modernizr/blob/master/feature-detects/canvas/winding.js\n context.rect(0, 0, 10, 10);\n context.rect(2, 2, 6, 6);\n return !context.isPointInPath(5, 5, 'evenodd');\n}\nfunction renderTextImage(canvas, context) {\n // Resizing the canvas cleans it\n canvas.width = 240;\n canvas.height = 60;\n context.textBaseline = 'alphabetic';\n context.fillStyle = '#f60';\n context.fillRect(100, 1, 62, 20);\n context.fillStyle = '#069';\n // It's important to use explicit built-in fonts in order to exclude the affect of font preferences\n // (there is a separate entropy source for them).\n context.font = '11pt \"Times New Roman\"';\n // The choice of emojis has a gigantic impact on rendering performance (especially in FF).\n // Some newer emojis cause it to slow down 50-200 times.\n // There must be no text to the right of the emoji, see https://github.com/fingerprintjs/fingerprintjs/issues/574\n // A bare emoji shouldn't be used because the canvas will change depending on the script encoding:\n // https://github.com/fingerprintjs/fingerprintjs/issues/66\n // Escape sequence shouldn't be used too because Terser will turn it into a bare unicode.\n var printedText = \"Cwm fjordbank gly \".concat(String.fromCharCode(55357, 56835) /* 😃 */);\n context.fillText(printedText, 2, 15);\n context.fillStyle = 'rgba(102, 204, 0, 0.2)';\n context.font = '18pt Arial';\n context.fillText(printedText, 4, 45);\n}\nfunction renderGeometryImage(canvas, context) {\n // Resizing the canvas cleans it\n canvas.width = 122;\n canvas.height = 110;\n // Canvas blending\n // https://web.archive.org/web/20170826194121/http://blogs.adobe.com/webplatform/2013/01/28/blending-features-in-canvas/\n // http://jsfiddle.net/NDYV8/16/\n context.globalCompositeOperation = 'multiply';\n for (var _i = 0, _a = [\n ['#f2f', 40, 40],\n ['#2ff', 80, 40],\n ['#ff2', 60, 80],\n ]; _i < _a.length; _i++) {\n var _b = _a[_i], color = _b[0], x = _b[1], y = _b[2];\n context.fillStyle = color;\n context.beginPath();\n context.arc(x, y, 40, 0, Math.PI * 2, true);\n context.closePath();\n context.fill();\n }\n // Canvas winding\n // https://web.archive.org/web/20130913061632/http://blogs.adobe.com/webplatform/2013/01/30/winding-rules-in-canvas/\n // http://jsfiddle.net/NDYV8/19/\n context.fillStyle = '#f9c';\n context.arc(60, 60, 60, 0, Math.PI * 2, true);\n context.arc(60, 60, 20, 0, Math.PI * 2, true);\n context.fill('evenodd');\n}\nfunction canvasToString(canvas) {\n return canvas.toDataURL();\n}\n\n/**\n * This is a crude and primitive touch screen detection. It's not possible to currently reliably detect the availability\n * of a touch screen with a JS, without actually subscribing to a touch event.\n *\n * @see http://www.stucox.com/blog/you-cant-detect-a-touchscreen/\n * @see https://github.com/Modernizr/Modernizr/issues/548\n */\nfunction getTouchSupport() {\n var n = navigator;\n var maxTouchPoints = 0;\n var touchEvent;\n if (n.maxTouchPoints !== undefined) {\n maxTouchPoints = toInt(n.maxTouchPoints);\n }\n else if (n.msMaxTouchPoints !== undefined) {\n maxTouchPoints = n.msMaxTouchPoints;\n }\n try {\n document.createEvent('TouchEvent');\n touchEvent = true;\n }\n catch (_a) {\n touchEvent = false;\n }\n var touchStart = 'ontouchstart' in window;\n return {\n maxTouchPoints: maxTouchPoints,\n touchEvent: touchEvent,\n touchStart: touchStart,\n };\n}\n\nfunction getOsCpu() {\n return navigator.oscpu;\n}\n\nfunction getLanguages() {\n var n = navigator;\n var result = [];\n var language = n.language || n.userLanguage || n.browserLanguage || n.systemLanguage;\n if (language !== undefined) {\n result.push([language]);\n }\n if (Array.isArray(n.languages)) {\n // Starting from Chromium 86, there is only a single value in `navigator.language` in Incognito mode:\n // the value of `navigator.language`. Therefore the value is ignored in this browser.\n if (!(isChromium() && isChromium86OrNewer())) {\n result.push(n.languages);\n }\n }\n else if (typeof n.languages === 'string') {\n var languages = n.languages;\n if (languages) {\n result.push(languages.split(','));\n }\n }\n return result;\n}\n\nfunction getColorDepth() {\n return window.screen.colorDepth;\n}\n\nfunction getDeviceMemory() {\n // `navigator.deviceMemory` is a string containing a number in some unidentified cases\n return replaceNaN(toFloat(navigator.deviceMemory), undefined);\n}\n\nfunction getScreenResolution() {\n var s = screen;\n // Some browsers return screen resolution as strings, e.g. \"1200\", instead of a number, e.g. 1200.\n // I suspect it's done by certain plugins that randomize browser properties to prevent fingerprinting.\n // Some browsers even return screen resolution as not numbers.\n var parseDimension = function (value) { return replaceNaN(toInt(value), null); };\n var dimensions = [parseDimension(s.width), parseDimension(s.height)];\n dimensions.sort().reverse();\n return dimensions;\n}\n\nvar screenFrameCheckInterval = 2500;\nvar roundingPrecision = 10;\n// The type is readonly to protect from unwanted mutations\nvar screenFrameBackup;\nvar screenFrameSizeTimeoutId;\n/**\n * Starts watching the screen frame size. When a non-zero size appears, the size is saved and the watch is stopped.\n * Later, when `getScreenFrame` runs, it will return the saved non-zero size if the current size is null.\n *\n * This trick is required to mitigate the fact that the screen frame turns null in some cases.\n * See more on this at https://github.com/fingerprintjs/fingerprintjs/issues/568\n */\nfunction watchScreenFrame() {\n if (screenFrameSizeTimeoutId !== undefined) {\n return;\n }\n var checkScreenFrame = function () {\n var frameSize = getCurrentScreenFrame();\n if (isFrameSizeNull(frameSize)) {\n screenFrameSizeTimeoutId = setTimeout(checkScreenFrame, screenFrameCheckInterval);\n }\n else {\n screenFrameBackup = frameSize;\n screenFrameSizeTimeoutId = undefined;\n }\n };\n checkScreenFrame();\n}\nfunction getScreenFrame() {\n var _this = this;\n watchScreenFrame();\n return function () { return __awaiter(_this, void 0, void 0, function () {\n var frameSize;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n frameSize = getCurrentScreenFrame();\n if (!isFrameSizeNull(frameSize)) return [3 /*break*/, 2];\n if (screenFrameBackup) {\n return [2 /*return*/, __spreadArray([], screenFrameBackup, true)];\n }\n if (!getFullscreenElement()) return [3 /*break*/, 2];\n // Some browsers set the screen frame to zero when programmatic fullscreen is on.\n // There is a chance of getting a non-zero frame after exiting the fullscreen.\n // See more on this at https://github.com/fingerprintjs/fingerprintjs/issues/568\n return [4 /*yield*/, exitFullscreen()];\n case 1:\n // Some browsers set the screen frame to zero when programmatic fullscreen is on.\n // There is a chance of getting a non-zero frame after exiting the fullscreen.\n // See more on this at https://github.com/fingerprintjs/fingerprintjs/issues/568\n _a.sent();\n frameSize = getCurrentScreenFrame();\n _a.label = 2;\n case 2:\n if (!isFrameSizeNull(frameSize)) {\n screenFrameBackup = frameSize;\n }\n return [2 /*return*/, frameSize];\n }\n });\n }); };\n}\n/**\n * Sometimes the available screen resolution changes a bit, e.g. 1900x1440 → 1900x1439. A possible reason: macOS Dock\n * shrinks to fit more icons when there is too little space. The rounding is used to mitigate the difference.\n */\nfunction getRoundedScreenFrame() {\n var _this = this;\n var screenFrameGetter = getScreenFrame();\n return function () { return __awaiter(_this, void 0, void 0, function () {\n var frameSize, processSize;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, screenFrameGetter()];\n case 1:\n frameSize = _a.sent();\n processSize = function (sideSize) { return (sideSize === null ? null : round(sideSize, roundingPrecision)); };\n // It might look like I don't know about `for` and `map`.\n // In fact, such code is used to avoid TypeScript issues without using `as`.\n return [2 /*return*/, [processSize(frameSize[0]), processSize(frameSize[1]), processSize(frameSize[2]), processSize(frameSize[3])]];\n }\n });\n }); };\n}\nfunction getCurrentScreenFrame() {\n var s = screen;\n // Some browsers return screen resolution as strings, e.g. \"1200\", instead of a number, e.g. 1200.\n // I suspect it's done by certain plugins that randomize browser properties to prevent fingerprinting.\n //\n // Some browsers (IE, Edge ≤18) don't provide `screen.availLeft` and `screen.availTop`. The property values are\n // replaced with 0 in such cases to not lose the entropy from `screen.availWidth` and `screen.availHeight`.\n return [\n replaceNaN(toFloat(s.availTop), null),\n replaceNaN(toFloat(s.width) - toFloat(s.availWidth) - replaceNaN(toFloat(s.availLeft), 0), null),\n replaceNaN(toFloat(s.height) - toFloat(s.availHeight) - replaceNaN(toFloat(s.availTop), 0), null),\n replaceNaN(toFloat(s.availLeft), null),\n ];\n}\nfunction isFrameSizeNull(frameSize) {\n for (var i = 0; i < 4; ++i) {\n if (frameSize[i]) {\n return false;\n }\n }\n return true;\n}\n\nfunction getHardwareConcurrency() {\n // sometimes hardware concurrency is a string\n return replaceNaN(toInt(navigator.hardwareConcurrency), undefined);\n}\n\nfunction getTimezone() {\n var _a;\n var DateTimeFormat = (_a = window.Intl) === null || _a === void 0 ? void 0 : _a.DateTimeFormat;\n if (DateTimeFormat) {\n var timezone = new DateTimeFormat().resolvedOptions().timeZone;\n if (timezone) {\n return timezone;\n }\n }\n // For browsers that don't support timezone names\n // The minus is intentional because the JS offset is opposite to the real offset\n var offset = -getTimezoneOffset();\n return \"UTC\".concat(offset >= 0 ? '+' : '').concat(Math.abs(offset));\n}\nfunction getTimezoneOffset() {\n var currentYear = new Date().getFullYear();\n // The timezone offset may change over time due to daylight saving time (DST) shifts.\n // The non-DST timezone offset is used as the result timezone offset.\n // Since the DST season differs in the northern and the southern hemispheres,\n // both January and July timezones offsets are considered.\n return Math.max(\n // `getTimezoneOffset` returns a number as a string in some unidentified cases\n toFloat(new Date(currentYear, 0, 1).getTimezoneOffset()), toFloat(new Date(currentYear, 6, 1).getTimezoneOffset()));\n}\n\nfunction getSessionStorage() {\n try {\n return !!window.sessionStorage;\n }\n catch (error) {\n /* SecurityError when referencing it means it exists */\n return true;\n }\n}\n\n// https://bugzilla.mozilla.org/show_bug.cgi?id=781447\nfunction getLocalStorage() {\n try {\n return !!window.localStorage;\n }\n catch (e) {\n /* SecurityError when referencing it means it exists */\n return true;\n }\n}\n\nfunction getIndexedDB() {\n // IE and Edge don't allow accessing indexedDB in private mode, therefore IE and Edge will have different\n // visitor identifier in normal and private modes.\n if (isTrident() || isEdgeHTML()) {\n return undefined;\n }\n try {\n return !!window.indexedDB;\n }\n catch (e) {\n /* SecurityError when referencing it means it exists */\n return true;\n }\n}\n\nfunction getOpenDatabase() {\n return !!window.openDatabase;\n}\n\nfunction getCpuClass() {\n return navigator.cpuClass;\n}\n\nfunction getPlatform() {\n // Android Chrome 86 and 87 and Android Firefox 80 and 84 don't mock the platform value when desktop mode is requested\n var platform = navigator.platform;\n // iOS mocks the platform value when desktop version is requested: https://github.com/fingerprintjs/fingerprintjs/issues/514\n // iPad uses desktop mode by default since iOS 13\n // The value is 'MacIntel' on M1 Macs\n // The value is 'iPhone' on iPod Touch\n if (platform === 'MacIntel') {\n if (isWebKit() && !isDesktopSafari()) {\n return isIPad() ? 'iPad' : 'iPhone';\n }\n }\n return platform;\n}\n\nfunction getVendor() {\n return navigator.vendor || '';\n}\n\n/**\n * Checks for browser-specific (not engine specific) global variables to tell browsers with the same engine apart.\n * Only somewhat popular browsers are considered.\n */\nfunction getVendorFlavors() {\n var flavors = [];\n for (var _i = 0, _a = [\n // Blink and some browsers on iOS\n 'chrome',\n // Safari on macOS\n 'safari',\n // Chrome on iOS (checked in 85 on 13 and 87 on 14)\n '__crWeb',\n '__gCrWeb',\n // Yandex Browser on iOS, macOS and Android (checked in 21.2 on iOS 14, macOS and Android)\n 'yandex',\n // Yandex Browser on iOS (checked in 21.2 on 14)\n '__yb',\n '__ybro',\n // Firefox on iOS (checked in 32 on 14)\n '__firefox__',\n // Edge on iOS (checked in 46 on 14)\n '__edgeTrackingPreventionStatistics',\n 'webkit',\n // Opera Touch on iOS (checked in 2.6 on 14)\n 'oprt',\n // Samsung Internet on Android (checked in 11.1)\n 'samsungAr',\n // UC Browser on Android (checked in 12.10 and 13.0)\n 'ucweb',\n 'UCShellJava',\n // Puffin on Android (checked in 9.0)\n 'puffinDevice',\n // UC on iOS and Opera on Android have no specific global variables\n // Edge for Android isn't checked\n ]; _i < _a.length; _i++) {\n var key = _a[_i];\n var value = window[key];\n if (value && typeof value === 'object') {\n flavors.push(key);\n }\n }\n return flavors.sort();\n}\n\n/**\n * navigator.cookieEnabled cannot detect custom or nuanced cookie blocking configurations. For example, when blocking\n * cookies via the Advanced Privacy Settings in IE9, it always returns true. And there have been issues in the past with\n * site-specific exceptions. Don't rely on it.\n *\n * @see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/cookies.js Taken from here\n */\nfunction areCookiesEnabled() {\n var d = document;\n // Taken from here: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/cookies.js\n // navigator.cookieEnabled cannot detect custom or nuanced cookie blocking configurations. For example, when blocking\n // cookies via the Advanced Privacy Settings in IE9, it always returns true. And there have been issues in the past\n // with site-specific exceptions. Don't rely on it.\n // try..catch because some in situations `document.cookie` is exposed but throws a\n // SecurityError if you try to access it; e.g. documents created from data URIs\n // or in sandboxed iframes (depending on flags/context)\n try {\n // Create cookie\n d.cookie = 'cookietest=1; SameSite=Strict;';\n var result = d.cookie.indexOf('cookietest=') !== -1;\n // Delete cookie\n d.cookie = 'cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT';\n return result;\n }\n catch (e) {\n return false;\n }\n}\n\n/**\n * Only single element selector are supported (no operators like space, +, >, etc).\n * `embed` and `position: fixed;` will be considered as blocked anyway because it always has no offsetParent.\n * Avoid `iframe` and anything with `[src=]` because they produce excess HTTP requests.\n *\n * The \"inappropriate\" selectors are obfuscated. See https://github.com/fingerprintjs/fingerprintjs/issues/734.\n * A function is used instead of a plain object to help tree-shaking.\n *\n * The function code is generated automatically. See docs/content_blockers.md to learn how to make the list.\n */\nfunction getFilters() {\n var fromB64 = atob; // Just for better minification\n return {\n abpIndo: [\n '#Iklan-Melayang',\n '#Kolom-Iklan-728',\n '#SidebarIklan-wrapper',\n '[title=\"ALIENBOLA\" i]',\n fromB64('I0JveC1CYW5uZXItYWRz'),\n ],\n abpvn: ['.quangcao', '#mobileCatfish', fromB64('LmNsb3NlLWFkcw=='), '[id^=\"bn_bottom_fixed_\"]', '#pmadv'],\n adBlockFinland: [\n '.mainostila',\n fromB64('LnNwb25zb3JpdA=='),\n '.ylamainos',\n fromB64('YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd'),\n ],\n adBlockPersian: [\n '#navbar_notice_50',\n '.kadr',\n 'TABLE[width=\"140px\"]',\n '#divAgahi',\n fromB64('YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd'),\n ],\n adBlockWarningRemoval: [\n '#adblock-honeypot',\n '.adblocker-root',\n '.wp_adblock_detect',\n fromB64('LmhlYWRlci1ibG9ja2VkLWFk'),\n fromB64('I2FkX2Jsb2NrZXI='),\n ],\n adGuardAnnoyances: [\n '.hs-sosyal',\n '#cookieconsentdiv',\n 'div[class^=\"app_gdpr\"]',\n '.as-oil',\n '[data-cypress=\"soft-push-notification-modal\"]',\n ],\n adGuardBase: [\n '.BetterJsPopOverlay',\n fromB64('I2FkXzMwMFgyNTA='),\n fromB64('I2Jhbm5lcmZsb2F0MjI='),\n fromB64('I2NhbXBhaWduLWJhbm5lcg=='),\n fromB64('I0FkLUNvbnRlbnQ='),\n ],\n adGuardChinese: [\n fromB64('LlppX2FkX2FfSA=='),\n fromB64('YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd'),\n '#widget-quan',\n fromB64('YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd'),\n fromB64('YVtocmVmKj0iLjE5NTZobC5jb20vIl0='),\n ],\n adGuardFrench: [\n '#pavePub',\n fromB64('LmFkLWRlc2t0b3AtcmVjdGFuZ2xl'),\n '.mobile_adhesion',\n '.widgetadv',\n fromB64('LmFkc19iYW4='),\n ],\n adGuardGerman: ['aside[data-portal-id=\"leaderboard\"]'],\n adGuardJapanese: [\n '#kauli_yad_1',\n fromB64('YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0='),\n fromB64('Ll9wb3BJbl9pbmZpbml0ZV9hZA=='),\n fromB64('LmFkZ29vZ2xl'),\n fromB64('Ll9faXNib29zdFJldHVybkFk'),\n ],\n adGuardMobile: [\n fromB64('YW1wLWF1dG8tYWRz'),\n fromB64('LmFtcF9hZA=='),\n 'amp-embed[type=\"24smi\"]',\n '#mgid_iframe1',\n fromB64('I2FkX2ludmlld19hcmVh'),\n ],\n adGuardRussian: [\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0='),\n fromB64('LnJlY2xhbWE='),\n 'div[id^=\"smi2adblock\"]',\n fromB64('ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd'),\n '#psyduckpockeball',\n ],\n adGuardSocial: [\n fromB64('YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0='),\n fromB64('YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0='),\n '.etsy-tweet',\n '#inlineShare',\n '.popup-social',\n ],\n adGuardSpanishPortuguese: ['#barraPublicidade', '#Publicidade', '#publiEspecial', '#queTooltip', '.cnt-publi'],\n adGuardTrackingProtection: [\n '#qoo-counter',\n fromB64('YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=='),\n fromB64('YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0='),\n fromB64('YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=='),\n '#top100counter',\n ],\n adGuardTurkish: [\n '#backkapat',\n fromB64('I3Jla2xhbWk='),\n fromB64('YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0='),\n fromB64('YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd'),\n fromB64('YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ=='),\n ],\n bulgarian: [fromB64('dGQjZnJlZW5ldF90YWJsZV9hZHM='), '#ea_intext_div', '.lapni-pop-over', '#xenium_hot_offers'],\n easyList: [\n '.yb-floorad',\n fromB64('LndpZGdldF9wb19hZHNfd2lkZ2V0'),\n fromB64('LnRyYWZmaWNqdW5reS1hZA=='),\n '.textad_headline',\n fromB64('LnNwb25zb3JlZC10ZXh0LWxpbmtz'),\n ],\n easyListChina: [\n fromB64('LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=='),\n fromB64('LmZyb250cGFnZUFkdk0='),\n '#taotaole',\n '#aafoot.top_box',\n '.cfa_popup',\n ],\n easyListCookie: [\n '.ezmob-footer',\n '.cc-CookieWarning',\n '[data-cookie-number]',\n fromB64('LmF3LWNvb2tpZS1iYW5uZXI='),\n '.sygnal24-gdpr-modal-wrap',\n ],\n easyListCzechSlovak: [\n '#onlajny-stickers',\n fromB64('I3Jla2xhbW5pLWJveA=='),\n fromB64('LnJla2xhbWEtbWVnYWJvYXJk'),\n '.sklik',\n fromB64('W2lkXj0ic2tsaWtSZWtsYW1hIl0='),\n ],\n easyListDutch: [\n fromB64('I2FkdmVydGVudGll'),\n fromB64('I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=='),\n '.adstekst',\n fromB64('YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0='),\n '#semilo-lrectangle',\n ],\n easyListGermany: [\n '#SSpotIMPopSlider',\n fromB64('LnNwb25zb3JsaW5rZ3J1ZW4='),\n fromB64('I3dlcmJ1bmdza3k='),\n fromB64('I3Jla2xhbWUtcmVjaHRzLW1pdHRl'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0='),\n ],\n easyListItaly: [\n fromB64('LmJveF9hZHZfYW5udW5jaQ=='),\n '.sb-box-pubbliredazionale',\n fromB64('YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ=='),\n ],\n easyListLithuania: [\n fromB64('LnJla2xhbW9zX3RhcnBhcw=='),\n fromB64('LnJla2xhbW9zX251b3JvZG9z'),\n fromB64('aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd'),\n fromB64('aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd'),\n fromB64('aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd'),\n ],\n estonian: [fromB64('QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==')],\n fanboyAnnoyances: ['#ac-lre-player', '.navigate-to-top', '#subscribe_popup', '.newsletter_holder', '#back-top'],\n fanboyAntiFacebook: ['.util-bar-module-firefly-visible'],\n fanboyEnhancedTrackers: [\n '.open.pushModal',\n '#issuem-leaky-paywall-articles-zero-remaining-nag',\n '#sovrn_container',\n 'div[class$=\"-hide\"][zoompage-fontsize][style=\"display: block;\"]',\n '.BlockNag__Card',\n ],\n fanboySocial: ['#FollowUs', '#meteored_share', '#social_follow', '.article-sharer', '.community__social-desc'],\n frellwitSwedish: [\n fromB64('YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=='),\n fromB64('YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=='),\n 'article.category-samarbete',\n fromB64('ZGl2LmhvbGlkQWRz'),\n 'ul.adsmodern',\n ],\n greekAdBlock: [\n fromB64('QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd'),\n fromB64('QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=='),\n fromB64('QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd'),\n 'DIV.agores300',\n 'TABLE.advright',\n ],\n hungarian: [\n '#cemp_doboz',\n '.optimonk-iframe-container',\n fromB64('LmFkX19tYWlu'),\n fromB64('W2NsYXNzKj0iR29vZ2xlQWRzIl0='),\n '#hirdetesek_box',\n ],\n iDontCareAboutCookies: [\n '.alert-info[data-block-track*=\"CookieNotice\"]',\n '.ModuleTemplateCookieIndicator',\n '.o--cookies--container',\n '#cookies-policy-sticky',\n '#stickyCookieBar',\n ],\n icelandicAbp: [fromB64('QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==')],\n latvian: [\n fromB64('YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0O' +\n 'iA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0='),\n fromB64('YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6I' +\n 'DMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ=='),\n ],\n listKr: [\n fromB64('YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0='),\n fromB64('I2xpdmVyZUFkV3JhcHBlcg=='),\n fromB64('YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=='),\n fromB64('aW5zLmZhc3R2aWV3LWFk'),\n '.revenue_unit_item.dable',\n ],\n listeAr: [\n fromB64('LmdlbWluaUxCMUFk'),\n '.right-and-left-sponsers',\n fromB64('YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=='),\n fromB64('YVtocmVmKj0iYm9vcmFxLm9yZyJd'),\n fromB64('YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd'),\n ],\n listeFr: [\n fromB64('YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=='),\n fromB64('I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=='),\n fromB64('YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0='),\n '.site-pub-interstitiel',\n 'div[id^=\"crt-\"][data-criteo-id]',\n ],\n officialPolish: [\n '#ceneo-placeholder-ceneo-12',\n fromB64('W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd'),\n fromB64('YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=='),\n fromB64('YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=='),\n fromB64('ZGl2I3NrYXBpZWNfYWQ='),\n ],\n ro: [\n fromB64('YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0='),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd'),\n 'a[href^=\"/url/\"]',\n ],\n ruAd: [\n fromB64('YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd'),\n fromB64('YVtocmVmKj0iLy91dGltZy5ydS8iXQ=='),\n fromB64('YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0='),\n '#pgeldiz',\n '.yandex-rtb-block',\n ],\n thaiAds: [\n 'a[href*=macau-uta-popup]',\n fromB64('I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=='),\n fromB64('LmFkczMwMHM='),\n '.bumq',\n '.img-kosana',\n ],\n webAnnoyancesUltralist: [\n '#mod-social-share-2',\n '#social-tools',\n fromB64('LmN0cGwtZnVsbGJhbm5lcg=='),\n '.zergnet-recommend',\n '.yt.btn-link.btn-md.btn',\n ],\n };\n}\n/**\n * The order of the returned array means nothing (it's always sorted alphabetically).\n *\n * Notice that the source is slightly unstable.\n * Safari provides a 2-taps way to disable all content blockers on a page temporarily.\n * Also content blockers can be disabled permanently for a domain, but it requires 4 taps.\n * So empty array shouldn't be treated as \"no blockers\", it should be treated as \"no signal\".\n * If you are a website owner, don't make your visitors want to disable content blockers.\n */\nfunction getDomBlockers(_a) {\n var _b = _a === void 0 ? {} : _a, debug = _b.debug;\n return __awaiter(this, void 0, void 0, function () {\n var filters, filterNames, allSelectors, blockedSelectors, activeBlockers;\n var _c;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n if (!isApplicable()) {\n return [2 /*return*/, undefined];\n }\n filters = getFilters();\n filterNames = Object.keys(filters);\n allSelectors = (_c = []).concat.apply(_c, filterNames.map(function (filterName) { return filters[filterName]; }));\n return [4 /*yield*/, getBlockedSelectors(allSelectors)];\n case 1:\n blockedSelectors = _d.sent();\n if (debug) {\n printDebug(filters, blockedSelectors);\n }\n activeBlockers = filterNames.filter(function (filterName) {\n var selectors = filters[filterName];\n var blockedCount = countTruthy(selectors.map(function (selector) { return blockedSelectors[selector]; }));\n return blockedCount > selectors.length * 0.6;\n });\n activeBlockers.sort();\n return [2 /*return*/, activeBlockers];\n }\n });\n });\n}\nfunction isApplicable() {\n // Safari (desktop and mobile) and all Android browsers keep content blockers in both regular and private mode\n return isWebKit() || isAndroid();\n}\nfunction getBlockedSelectors(selectors) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var d, root, elements, blockedSelectors, i, element, holder, i;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n d = document;\n root = d.createElement('div');\n elements = new Array(selectors.length);\n blockedSelectors = {} // Set() isn't used just in case somebody need older browser support\n ;\n forceShow(root);\n // First create all elements that can be blocked. If the DOM steps below are done in a single cycle,\n // browser will alternate tree modification and layout reading, that is very slow.\n for (i = 0; i < selectors.length; ++i) {\n element = selectorToElement(selectors[i]);\n if (element.tagName === 'DIALOG') {\n element.show();\n }\n holder = d.createElement('div') // Protects from unwanted effects of `+` and `~` selectors of filters\n ;\n forceShow(holder);\n holder.appendChild(element);\n root.appendChild(holder);\n elements[i] = element;\n }\n _b.label = 1;\n case 1:\n if (!!d.body) return [3 /*break*/, 3];\n return [4 /*yield*/, wait(50)];\n case 2:\n _b.sent();\n return [3 /*break*/, 1];\n case 3:\n d.body.appendChild(root);\n try {\n // Then check which of the elements are blocked\n for (i = 0; i < selectors.length; ++i) {\n if (!elements[i].offsetParent) {\n blockedSelectors[selectors[i]] = true;\n }\n }\n }\n finally {\n // Then remove the elements\n (_a = root.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(root);\n }\n return [2 /*return*/, blockedSelectors];\n }\n });\n });\n}\nfunction forceShow(element) {\n element.style.setProperty('display', 'block', 'important');\n}\nfunction printDebug(filters, blockedSelectors) {\n var message = 'DOM blockers debug:\\n```';\n for (var _i = 0, _a = Object.keys(filters); _i < _a.length; _i++) {\n var filterName = _a[_i];\n message += \"\\n\".concat(filterName, \":\");\n for (var _b = 0, _c = filters[filterName]; _b < _c.length; _b++) {\n var selector = _c[_b];\n message += \"\\n \".concat(blockedSelectors[selector] ? '🚫' : '➡️', \" \").concat(selector);\n }\n }\n // console.log is ok here because it's under a debug clause\n // eslint-disable-next-line no-console\n console.log(\"\".concat(message, \"\\n```\"));\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/color-gamut\n */\nfunction getColorGamut() {\n // rec2020 includes p3 and p3 includes srgb\n for (var _i = 0, _a = ['rec2020', 'p3', 'srgb']; _i < _a.length; _i++) {\n var gamut = _a[_i];\n if (matchMedia(\"(color-gamut: \".concat(gamut, \")\")).matches) {\n return gamut;\n }\n }\n return undefined;\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/inverted-colors\n */\nfunction areColorsInverted() {\n if (doesMatch$4('inverted')) {\n return true;\n }\n if (doesMatch$4('none')) {\n return false;\n }\n return undefined;\n}\nfunction doesMatch$4(value) {\n return matchMedia(\"(inverted-colors: \".concat(value, \")\")).matches;\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/forced-colors\n */\nfunction areColorsForced() {\n if (doesMatch$3('active')) {\n return true;\n }\n if (doesMatch$3('none')) {\n return false;\n }\n return undefined;\n}\nfunction doesMatch$3(value) {\n return matchMedia(\"(forced-colors: \".concat(value, \")\")).matches;\n}\n\nvar maxValueToCheck = 100;\n/**\n * If the display is monochrome (e.g. black&white), the value will be ≥0 and will mean the number of bits per pixel.\n * If the display is not monochrome, the returned value will be 0.\n * If the browser doesn't support this feature, the returned value will be undefined.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/monochrome\n */\nfunction getMonochromeDepth() {\n if (!matchMedia('(min-monochrome: 0)').matches) {\n // The media feature isn't supported by the browser\n return undefined;\n }\n // A variation of binary search algorithm can be used here.\n // But since expected values are very small (≤10), there is no sense in adding the complexity.\n for (var i = 0; i <= maxValueToCheck; ++i) {\n if (matchMedia(\"(max-monochrome: \".concat(i, \")\")).matches) {\n return i;\n }\n }\n throw new Error('Too high value');\n}\n\n/**\n * @see https://www.w3.org/TR/mediaqueries-5/#prefers-contrast\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast\n */\nfunction getContrastPreference() {\n if (doesMatch$2('no-preference')) {\n return 0 /* ContrastPreference.None */;\n }\n // The sources contradict on the keywords. Probably 'high' and 'low' will never be implemented.\n // Need to check it when all browsers implement the feature.\n if (doesMatch$2('high') || doesMatch$2('more')) {\n return 1 /* ContrastPreference.More */;\n }\n if (doesMatch$2('low') || doesMatch$2('less')) {\n return -1 /* ContrastPreference.Less */;\n }\n if (doesMatch$2('forced')) {\n return 10 /* ContrastPreference.ForcedColors */;\n }\n return undefined;\n}\nfunction doesMatch$2(value) {\n return matchMedia(\"(prefers-contrast: \".concat(value, \")\")).matches;\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion\n */\nfunction isMotionReduced() {\n if (doesMatch$1('reduce')) {\n return true;\n }\n if (doesMatch$1('no-preference')) {\n return false;\n }\n return undefined;\n}\nfunction doesMatch$1(value) {\n return matchMedia(\"(prefers-reduced-motion: \".concat(value, \")\")).matches;\n}\n\n/**\n * @see https://www.w3.org/TR/mediaqueries-5/#dynamic-range\n */\nfunction isHDR() {\n if (doesMatch('high')) {\n return true;\n }\n if (doesMatch('standard')) {\n return false;\n }\n return undefined;\n}\nfunction doesMatch(value) {\n return matchMedia(\"(dynamic-range: \".concat(value, \")\")).matches;\n}\n\nvar M = Math; // To reduce the minified code size\nvar fallbackFn = function () { return 0; };\n/**\n * @see https://gitlab.torproject.org/legacy/trac/-/issues/13018\n * @see https://bugzilla.mozilla.org/show_bug.cgi?id=531915\n */\nfunction getMathFingerprint() {\n // Native operations\n var acos = M.acos || fallbackFn;\n var acosh = M.acosh || fallbackFn;\n var asin = M.asin || fallbackFn;\n var asinh = M.asinh || fallbackFn;\n var atanh = M.atanh || fallbackFn;\n var atan = M.atan || fallbackFn;\n var sin = M.sin || fallbackFn;\n var sinh = M.sinh || fallbackFn;\n var cos = M.cos || fallbackFn;\n var cosh = M.cosh || fallbackFn;\n var tan = M.tan || fallbackFn;\n var tanh = M.tanh || fallbackFn;\n var exp = M.exp || fallbackFn;\n var expm1 = M.expm1 || fallbackFn;\n var log1p = M.log1p || fallbackFn;\n // Operation polyfills\n var powPI = function (value) { return M.pow(M.PI, value); };\n var acoshPf = function (value) { return M.log(value + M.sqrt(value * value - 1)); };\n var asinhPf = function (value) { return M.log(value + M.sqrt(value * value + 1)); };\n var atanhPf = function (value) { return M.log((1 + value) / (1 - value)) / 2; };\n var sinhPf = function (value) { return M.exp(value) - 1 / M.exp(value) / 2; };\n var coshPf = function (value) { return (M.exp(value) + 1 / M.exp(value)) / 2; };\n var expm1Pf = function (value) { return M.exp(value) - 1; };\n var tanhPf = function (value) { return (M.exp(2 * value) - 1) / (M.exp(2 * value) + 1); };\n var log1pPf = function (value) { return M.log(1 + value); };\n // Note: constant values are empirical\n return {\n acos: acos(0.123124234234234242),\n acosh: acosh(1e308),\n acoshPf: acoshPf(1e154),\n asin: asin(0.123124234234234242),\n asinh: asinh(1),\n asinhPf: asinhPf(1),\n atanh: atanh(0.5),\n atanhPf: atanhPf(0.5),\n atan: atan(0.5),\n sin: sin(-1e300),\n sinh: sinh(1),\n sinhPf: sinhPf(1),\n cos: cos(10.000000000123),\n cosh: cosh(1),\n coshPf: coshPf(1),\n tan: tan(-1e300),\n tanh: tanh(1),\n tanhPf: tanhPf(1),\n exp: exp(1),\n expm1: expm1(1),\n expm1Pf: expm1Pf(1),\n log1p: log1p(10),\n log1pPf: log1pPf(10),\n powPI: powPI(-100),\n };\n}\n\n/**\n * We use m or w because these two characters take up the maximum width.\n * Also there are a couple of ligatures.\n */\nvar defaultText = 'mmMwWLliI0fiflO&1';\n/**\n * Settings of text blocks to measure. The keys are random but persistent words.\n */\nvar presets = {\n /**\n * The default font. User can change it in desktop Chrome, desktop Firefox, IE 11,\n * Android Chrome (but only when the size is ≥ than the default) and Android Firefox.\n */\n default: [],\n /** OS font on macOS. User can change its size and weight. Applies after Safari restart. */\n apple: [{ font: '-apple-system-body' }],\n /** User can change it in desktop Chrome and desktop Firefox. */\n serif: [{ fontFamily: 'serif' }],\n /** User can change it in desktop Chrome and desktop Firefox. */\n sans: [{ fontFamily: 'sans-serif' }],\n /** User can change it in desktop Chrome and desktop Firefox. */\n mono: [{ fontFamily: 'monospace' }],\n /**\n * Check the smallest allowed font size. User can change it in desktop Chrome, desktop Firefox and desktop Safari.\n * The height can be 0 in Chrome on a retina display.\n */\n min: [{ fontSize: '1px' }],\n /** Tells one OS from another in desktop Chrome. */\n system: [{ fontFamily: 'system-ui' }],\n};\n/**\n * The result is a dictionary of the width of the text samples.\n * Heights aren't included because they give no extra entropy and are unstable.\n *\n * The result is very stable in IE 11, Edge 18 and Safari 14.\n * The result changes when the OS pixel density changes in Chromium 87. The real pixel density is required to solve,\n * but seems like it's impossible: https://stackoverflow.com/q/1713771/1118709.\n * The \"min\" and the \"mono\" (only on Windows) value may change when the page is zoomed in Firefox 87.\n */\nfunction getFontPreferences() {\n return withNaturalFonts(function (document, container) {\n var elements = {};\n var sizes = {};\n // First create all elements to measure. If the DOM steps below are done in a single cycle,\n // browser will alternate tree modification and layout reading, that is very slow.\n for (var _i = 0, _a = Object.keys(presets); _i < _a.length; _i++) {\n var key = _a[_i];\n var _b = presets[key], _c = _b[0], style = _c === void 0 ? {} : _c, _d = _b[1], text = _d === void 0 ? defaultText : _d;\n var element = document.createElement('span');\n element.textContent = text;\n element.style.whiteSpace = 'nowrap';\n for (var _e = 0, _f = Object.keys(style); _e < _f.length; _e++) {\n var name_1 = _f[_e];\n var value = style[name_1];\n if (value !== undefined) {\n element.style[name_1] = value;\n }\n }\n elements[key] = element;\n container.appendChild(document.createElement('br'));\n container.appendChild(element);\n }\n // Then measure the created elements\n for (var _g = 0, _h = Object.keys(presets); _g < _h.length; _g++) {\n var key = _h[_g];\n sizes[key] = elements[key].getBoundingClientRect().width;\n }\n return sizes;\n });\n}\n/**\n * Creates a DOM environment that provides the most natural font available, including Android OS font.\n * Measurements of the elements are zoom-independent.\n * Don't put a content to measure inside an absolutely positioned element.\n */\nfunction withNaturalFonts(action, containerWidthPx) {\n if (containerWidthPx === void 0) { containerWidthPx = 4000; }\n /*\n * Requirements for Android Chrome to apply the system font size to a text inside an iframe:\n * - The iframe mustn't have a `display: none;` style;\n * - The text mustn't be positioned absolutely;\n * - The text block must be wide enough.\n * 2560px on some devices in portrait orientation for the biggest font size option (32px);\n * - There must be much enough text to form a few lines (I don't know the exact numbers);\n * - The text must have the `text-size-adjust: none` style. Otherwise the text will scale in \"Desktop site\" mode;\n *\n * Requirements for Android Firefox to apply the system font size to a text inside an iframe:\n * - The iframe document must have a header: ``.\n * The only way to set it is to use the `srcdoc` attribute of the iframe;\n * - The iframe content must get loaded before adding extra content with JavaScript;\n *\n * https://example.com as the iframe target always inherits Android font settings so it can be used as a reference.\n *\n * Observations on how page zoom affects the measurements:\n * - macOS Safari 11.1, 12.1, 13.1, 14.0: zoom reset + offsetWidth = 100% reliable;\n * - macOS Safari 11.1, 12.1, 13.1, 14.0: zoom reset + getBoundingClientRect = 100% reliable;\n * - macOS Safari 14.0: offsetWidth = 5% fluctuation;\n * - macOS Safari 14.0: getBoundingClientRect = 5% fluctuation;\n * - iOS Safari 9, 10, 11.0, 12.0: haven't found a way to zoom a page (pinch doesn't change layout);\n * - iOS Safari 13.1, 14.0: zoom reset + offsetWidth = 100% reliable;\n * - iOS Safari 13.1, 14.0: zoom reset + getBoundingClientRect = 100% reliable;\n * - iOS Safari 14.0: offsetWidth = 100% reliable;\n * - iOS Safari 14.0: getBoundingClientRect = 100% reliable;\n * - Chrome 42, 65, 80, 87: zoom 1/devicePixelRatio + offsetWidth = 1px fluctuation;\n * - Chrome 42, 65, 80, 87: zoom 1/devicePixelRatio + getBoundingClientRect = 100% reliable;\n * - Chrome 87: offsetWidth = 1px fluctuation;\n * - Chrome 87: getBoundingClientRect = 0.7px fluctuation;\n * - Firefox 48, 51: offsetWidth = 10% fluctuation;\n * - Firefox 48, 51: getBoundingClientRect = 10% fluctuation;\n * - Firefox 52, 53, 57, 62, 66, 67, 68, 71, 75, 80, 84: offsetWidth = width 100% reliable, height 10% fluctuation;\n * - Firefox 52, 53, 57, 62, 66, 67, 68, 71, 75, 80, 84: getBoundingClientRect = width 100% reliable, height 10%\n * fluctuation;\n * - Android Chrome 86: haven't found a way to zoom a page (pinch doesn't change layout);\n * - Android Firefox 84: font size in accessibility settings changes all the CSS sizes, but offsetWidth and\n * getBoundingClientRect keep measuring with regular units, so the size reflects the font size setting and doesn't\n * fluctuate;\n * - IE 11, Edge 18: zoom 1/devicePixelRatio + offsetWidth = 100% reliable;\n * - IE 11, Edge 18: zoom 1/devicePixelRatio + getBoundingClientRect = reflects the zoom level;\n * - IE 11, Edge 18: offsetWidth = 100% reliable;\n * - IE 11, Edge 18: getBoundingClientRect = 100% reliable;\n */\n return withIframe(function (_, iframeWindow) {\n var iframeDocument = iframeWindow.document;\n var iframeBody = iframeDocument.body;\n var bodyStyle = iframeBody.style;\n bodyStyle.width = \"\".concat(containerWidthPx, \"px\");\n bodyStyle.webkitTextSizeAdjust = bodyStyle.textSizeAdjust = 'none';\n // See the big comment above\n if (isChromium()) {\n iframeBody.style.zoom = \"\".concat(1 / iframeWindow.devicePixelRatio);\n }\n else if (isWebKit()) {\n iframeBody.style.zoom = 'reset';\n }\n // See the big comment above\n var linesOfText = iframeDocument.createElement('div');\n linesOfText.textContent = __spreadArray([], Array((containerWidthPx / 20) << 0), true).map(function () { return 'word'; }).join(' ');\n iframeBody.appendChild(linesOfText);\n return action(iframeDocument, iframeBody);\n }, '');\n}\n\n/**\n * @see Credits: https://stackoverflow.com/a/49267844\n */\nfunction getVideoCard() {\n var _a;\n var canvas = document.createElement('canvas');\n var gl = (_a = canvas.getContext('webgl')) !== null && _a !== void 0 ? _a : canvas.getContext('experimental-webgl');\n if (gl && 'getExtension' in gl) {\n var debugInfo = gl.getExtension('WEBGL_debug_renderer_info');\n if (debugInfo) {\n return {\n vendor: (gl.getParameter(debugInfo.UNMASKED_VENDOR_WEBGL) || '').toString(),\n renderer: (gl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL) || '').toString(),\n };\n }\n }\n return undefined;\n}\n\nfunction isPdfViewerEnabled() {\n return navigator.pdfViewerEnabled;\n}\n\n/**\n * Unlike most other architectures, on x86/x86-64 when floating-point instructions\n * have no NaN arguments, but produce NaN output, the output NaN has sign bit set.\n * We use it to distinguish x86/x86-64 from other architectures, by doing subtraction\n * of two infinities (must produce NaN per IEEE 754 standard).\n *\n * See https://codebrowser.bddppq.com/pytorch/pytorch/third_party/XNNPACK/src/init.c.html#79\n */\nfunction getArchitecture() {\n var f = new Float32Array(1);\n var u8 = new Uint8Array(f.buffer);\n f[0] = Infinity;\n f[0] = f[0] - f[0];\n return u8[3];\n}\n\n/**\n * The list of entropy sources used to make visitor identifiers.\n *\n * This value isn't restricted by Semantic Versioning, i.e. it may be changed without bumping minor or major version of\n * this package.\n *\n * Note: Rollup and Webpack are smart enough to remove unused properties of this object during tree-shaking, so there is\n * no need to export the sources individually.\n */\nvar sources = {\n // READ FIRST:\n // See https://github.com/fingerprintjs/fingerprintjs/blob/master/contributing.md#how-to-make-an-entropy-source\n // to learn how entropy source works and how to make your own.\n // The sources run in this exact order.\n // The asynchronous sources are at the start to run in parallel with other sources.\n fonts: getFonts,\n domBlockers: getDomBlockers,\n fontPreferences: getFontPreferences,\n audio: getAudioFingerprint,\n screenFrame: getRoundedScreenFrame,\n osCpu: getOsCpu,\n languages: getLanguages,\n colorDepth: getColorDepth,\n deviceMemory: getDeviceMemory,\n screenResolution: getScreenResolution,\n hardwareConcurrency: getHardwareConcurrency,\n timezone: getTimezone,\n sessionStorage: getSessionStorage,\n localStorage: getLocalStorage,\n indexedDB: getIndexedDB,\n openDatabase: getOpenDatabase,\n cpuClass: getCpuClass,\n platform: getPlatform,\n plugins: getPlugins,\n canvas: getCanvasFingerprint,\n touchSupport: getTouchSupport,\n vendor: getVendor,\n vendorFlavors: getVendorFlavors,\n cookiesEnabled: areCookiesEnabled,\n colorGamut: getColorGamut,\n invertedColors: areColorsInverted,\n forcedColors: areColorsForced,\n monochrome: getMonochromeDepth,\n contrast: getContrastPreference,\n reducedMotion: isMotionReduced,\n hdr: isHDR,\n math: getMathFingerprint,\n videoCard: getVideoCard,\n pdfViewerEnabled: isPdfViewerEnabled,\n architecture: getArchitecture,\n};\n/**\n * Loads the built-in entropy sources.\n * Returns a function that collects the entropy components to make the visitor identifier.\n */\nfunction loadBuiltinSources(options) {\n return loadSources(sources, options, []);\n}\n\nvar commentTemplate = '$ if upgrade to Pro: https://fpjs.dev/pro';\nfunction getConfidence(components) {\n var openConfidenceScore = getOpenConfidenceScore(components);\n var proConfidenceScore = deriveProConfidenceScore(openConfidenceScore);\n return { score: openConfidenceScore, comment: commentTemplate.replace(/\\$/g, \"\".concat(proConfidenceScore)) };\n}\nfunction getOpenConfidenceScore(components) {\n // In order to calculate the true probability of the visitor identifier being correct, we need to know the number of\n // website visitors (the higher the number, the less the probability because the fingerprint entropy is limited).\n // JS agent doesn't know the number of visitors, so we can only do an approximate assessment.\n if (isAndroid()) {\n return 0.4;\n }\n // Safari (mobile and desktop)\n if (isWebKit()) {\n return isDesktopSafari() ? 0.5 : 0.3;\n }\n var platform = components.platform.value || '';\n // Windows\n if (/^Win/.test(platform)) {\n // The score is greater than on macOS because of the higher variety of devices running Windows.\n // Chrome provides more entropy than Firefox according too\n // https://netmarketshare.com/browser-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22platform%22%3A%7B%22%24in%22%3A%5B%22Windows%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22browser%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22browsersDesktop%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222019-11%22%2C%22dateEnd%22%3A%222020-10%22%2C%22segments%22%3A%22-1000%22%7D\n // So we assign the same score to them.\n return 0.6;\n }\n // macOS\n if (/^Mac/.test(platform)) {\n // Chrome provides more entropy than Safari and Safari provides more entropy than Firefox.\n // Chrome is more popular than Safari and Safari is more popular than Firefox according to\n // https://netmarketshare.com/browser-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22platform%22%3A%7B%22%24in%22%3A%5B%22Mac%20OS%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22browser%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22browsersDesktop%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222019-11%22%2C%22dateEnd%22%3A%222020-10%22%2C%22segments%22%3A%22-1000%22%7D\n // So we assign the same score to them.\n return 0.5;\n }\n // Another platform, e.g. a desktop Linux. It's rare, so it should be pretty unique.\n return 0.7;\n}\nfunction deriveProConfidenceScore(openConfidenceScore) {\n return round(0.99 + 0.01 * openConfidenceScore, 0.0001);\n}\n\nfunction componentsToCanonicalString(components) {\n var result = '';\n for (var _i = 0, _a = Object.keys(components).sort(); _i < _a.length; _i++) {\n var componentKey = _a[_i];\n var component = components[componentKey];\n var value = component.error ? 'error' : JSON.stringify(component.value);\n result += \"\".concat(result ? '|' : '').concat(componentKey.replace(/([:|\\\\])/g, '\\\\$1'), \":\").concat(value);\n }\n return result;\n}\nfunction componentsToDebugString(components) {\n return JSON.stringify(components, function (_key, value) {\n if (value instanceof Error) {\n return errorToObject(value);\n }\n return value;\n }, 2);\n}\nfunction hashComponents(components) {\n return x64hash128(componentsToCanonicalString(components));\n}\n/**\n * Makes a GetResult implementation that calculates the visitor id hash on demand.\n * Designed for optimisation.\n */\nfunction makeLazyGetResult(components) {\n var visitorIdCache;\n // This function runs very fast, so there is no need to make it lazy\n var confidence = getConfidence(components);\n // A plain class isn't used because its getters and setters aren't enumerable.\n return {\n get visitorId() {\n if (visitorIdCache === undefined) {\n visitorIdCache = hashComponents(this.components);\n }\n return visitorIdCache;\n },\n set visitorId(visitorId) {\n visitorIdCache = visitorId;\n },\n confidence: confidence,\n components: components,\n version: version,\n };\n}\n/**\n * A delay is required to ensure consistent entropy components.\n * See https://github.com/fingerprintjs/fingerprintjs/issues/254\n * and https://github.com/fingerprintjs/fingerprintjs/issues/307\n * and https://github.com/fingerprintjs/fingerprintjs/commit/945633e7c5f67ae38eb0fea37349712f0e669b18\n */\nfunction prepareForSources(delayFallback) {\n if (delayFallback === void 0) { delayFallback = 50; }\n // A proper deadline is unknown. Let it be twice the fallback timeout so that both cases have the same average time.\n return requestIdleCallbackIfAvailable(delayFallback, delayFallback * 2);\n}\n/**\n * The function isn't exported from the index file to not allow to call it without `load()`.\n * The hiding gives more freedom for future non-breaking updates.\n *\n * A factory function is used instead of a class to shorten the attribute names in the minified code.\n * Native private class fields could've been used, but TypeScript doesn't allow them with `\"target\": \"es5\"`.\n */\nfunction makeAgent(getComponents, debug) {\n var creationTime = Date.now();\n return {\n get: function (options) {\n return __awaiter(this, void 0, void 0, function () {\n var startTime, components, result;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n startTime = Date.now();\n return [4 /*yield*/, getComponents()];\n case 1:\n components = _a.sent();\n result = makeLazyGetResult(components);\n if (debug || (options === null || options === void 0 ? void 0 : options.debug)) {\n // console.log is ok here because it's under a debug clause\n // eslint-disable-next-line no-console\n console.log(\"Copy the text below to get the debug data:\\n\\n```\\nversion: \".concat(result.version, \"\\nuserAgent: \").concat(navigator.userAgent, \"\\ntimeBetweenLoadAndGet: \").concat(startTime - creationTime, \"\\nvisitorId: \").concat(result.visitorId, \"\\ncomponents: \").concat(componentsToDebugString(components), \"\\n```\"));\n }\n return [2 /*return*/, result];\n }\n });\n });\n },\n };\n}\n/**\n * Sends an unpersonalized AJAX request to collect installation statistics\n */\nfunction monitor() {\n // The FingerprintJS CDN (https://github.com/fingerprintjs/cdn) replaces `window.__fpjs_d_m` with `true`\n if (window.__fpjs_d_m || Math.random() >= 0.001) {\n return;\n }\n try {\n var request = new XMLHttpRequest();\n request.open('get', \"https://m1.openfpcdn.io/fingerprintjs/v\".concat(version, \"/npm-monitoring\"), true);\n request.send();\n }\n catch (error) {\n // console.error is ok here because it's an unexpected error handler\n // eslint-disable-next-line no-console\n console.error(error);\n }\n}\n/**\n * Builds an instance of Agent and waits a delay required for a proper operation.\n */\nfunction load(_a) {\n var _b = _a === void 0 ? {} : _a, delayFallback = _b.delayFallback, debug = _b.debug, _c = _b.monitoring, monitoring = _c === void 0 ? true : _c;\n return __awaiter(this, void 0, void 0, function () {\n var getComponents;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n if (monitoring) {\n monitor();\n }\n return [4 /*yield*/, prepareForSources(delayFallback)];\n case 1:\n _d.sent();\n getComponents = loadBuiltinSources({ debug: debug });\n return [2 /*return*/, makeAgent(getComponents, debug)];\n }\n });\n });\n}\n\n// The default export is a syntax sugar (`import * as FP from '...' → import FP from '...'`).\n// It should contain all the public exported values.\nvar index = { load: load, hashComponents: hashComponents, componentsToDebugString: componentsToDebugString };\n// The exports below are for private usage. They may change unexpectedly. Use them at your own risk.\n/** Not documented, out of Semantic Versioning, usage is at your own risk */\nvar murmurX64Hash128 = x64hash128;\n\nexport { componentsToDebugString, index as default, getFullscreenElement, getScreenFrame, hashComponents, isAndroid, isChromium, isDesktopSafari, isEdgeHTML, isGecko, isTrident, isWebKit, load, loadSources, murmurX64Hash128, prepareForSources, sources, transformSource, withIframe };\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\n// eslint-disable-next-line es/no-typed-arrays -- safe\nmodule.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';\n","'use strict';\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar tryToString = require('../internals/try-to-string');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar uid = require('../internals/uid');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar Uint8ClampedArray = global.Uint8ClampedArray;\nvar Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;\nvar TypedArray = Int8Array && getPrototypeOf(Int8Array);\nvar TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);\nvar ObjectPrototype = Object.prototype;\nvar TypeError = global.TypeError;\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');\nvar TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';\n// Fixing native typed arrays in Opera Presto crashes the browser, see #595\nvar NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';\nvar TYPED_ARRAY_TAG_REQUIRED = false;\nvar NAME, Constructor, Prototype;\n\nvar TypedArrayConstructorsList = {\n Int8Array: 1,\n Uint8Array: 1,\n Uint8ClampedArray: 1,\n Int16Array: 2,\n Uint16Array: 2,\n Int32Array: 4,\n Uint32Array: 4,\n Float32Array: 4,\n Float64Array: 8\n};\n\nvar BigIntArrayConstructorsList = {\n BigInt64Array: 8,\n BigUint64Array: 8\n};\n\nvar isView = function isView(it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return klass === 'DataView'\n || hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar getTypedArrayConstructor = function (it) {\n var proto = getPrototypeOf(it);\n if (!isObject(proto)) return;\n var state = getInternalState(proto);\n return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);\n};\n\nvar isTypedArray = function (it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar aTypedArray = function (it) {\n if (isTypedArray(it)) return it;\n throw TypeError('Target is not a typed array');\n};\n\nvar aTypedArrayConstructor = function (C) {\n if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;\n throw TypeError(tryToString(C) + ' is not a typed array constructor');\n};\n\nvar exportTypedArrayMethod = function (KEY, property, forced, options) {\n if (!DESCRIPTORS) return;\n if (forced) for (var ARRAY in TypedArrayConstructorsList) {\n var TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {\n delete TypedArrayConstructor.prototype[KEY];\n } catch (error) {\n // old WebKit bug - some methods are non-configurable\n try {\n TypedArrayConstructor.prototype[KEY] = property;\n } catch (error2) { /* empty */ }\n }\n }\n if (!TypedArrayPrototype[KEY] || forced) {\n defineBuiltIn(TypedArrayPrototype, KEY, forced ? property\n : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);\n }\n};\n\nvar exportTypedArrayStaticMethod = function (KEY, property, forced) {\n var ARRAY, TypedArrayConstructor;\n if (!DESCRIPTORS) return;\n if (setPrototypeOf) {\n if (forced) for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {\n delete TypedArrayConstructor[KEY];\n } catch (error) { /* empty */ }\n }\n if (!TypedArray[KEY] || forced) {\n // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable\n try {\n return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);\n } catch (error) { /* empty */ }\n } else return;\n }\n for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {\n defineBuiltIn(TypedArrayConstructor, KEY, property);\n }\n }\n};\n\nfor (NAME in TypedArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n else NATIVE_ARRAY_BUFFER_VIEWS = false;\n}\n\nfor (NAME in BigIntArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n}\n\n// WebKit bug - typed arrays constructors prototype is Object.prototype\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {\n // eslint-disable-next-line no-shadow -- safe\n TypedArray = function TypedArray() {\n throw TypeError('Incorrect invocation');\n };\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);\n }\n}\n\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {\n TypedArrayPrototype = TypedArray.prototype;\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);\n }\n}\n\n// WebKit bug - one more object in Uint8ClampedArray prototype chain\nif (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {\n setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);\n}\n\nif (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {\n TYPED_ARRAY_TAG_REQUIRED = true;\n defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {\n configurable: true,\n get: function () {\n return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;\n }\n });\n for (NAME in TypedArrayConstructorsList) if (global[NAME]) {\n createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);\n }\n}\n\nmodule.exports = {\n NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,\n TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,\n aTypedArray: aTypedArray,\n aTypedArrayConstructor: aTypedArrayConstructor,\n exportTypedArrayMethod: exportTypedArrayMethod,\n exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,\n getTypedArrayConstructor: getTypedArrayConstructor,\n isView: isView,\n isTypedArray: isTypedArray,\n TypedArray: TypedArray,\n TypedArrayPrototype: TypedArrayPrototype\n};\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection');\nvar FunctionName = require('../internals/function-name');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar fails = require('../internals/fails');\nvar anInstance = require('../internals/an-instance');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar IEEE754 = require('../internals/ieee754');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arrayFill = require('../internals/array-fill');\nvar arraySlice = require('../internals/array-slice-simple');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length';\nvar WRONG_INDEX = 'Wrong index';\nvar getInternalArrayBufferState = InternalStateModule.getterFor(ARRAY_BUFFER);\nvar getInternalDataViewState = InternalStateModule.getterFor(DATA_VIEW);\nvar setInternalState = InternalStateModule.set;\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\nvar $ArrayBuffer = NativeArrayBuffer;\nvar ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE];\nvar $DataView = global[DATA_VIEW];\nvar DataViewPrototype = $DataView && $DataView[PROTOTYPE];\nvar ObjectPrototype = Object.prototype;\nvar Array = global.Array;\nvar RangeError = global.RangeError;\nvar fill = uncurryThis(arrayFill);\nvar reverse = uncurryThis([].reverse);\n\nvar packIEEE754 = IEEE754.pack;\nvar unpackIEEE754 = IEEE754.unpack;\n\nvar packInt8 = function (number) {\n return [number & 0xFF];\n};\n\nvar packInt16 = function (number) {\n return [number & 0xFF, number >> 8 & 0xFF];\n};\n\nvar packInt32 = function (number) {\n return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];\n};\n\nvar unpackInt32 = function (buffer) {\n return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];\n};\n\nvar packFloat32 = function (number) {\n return packIEEE754(number, 23, 4);\n};\n\nvar packFloat64 = function (number) {\n return packIEEE754(number, 52, 8);\n};\n\nvar addGetter = function (Constructor, key, getInternalState) {\n defineBuiltInAccessor(Constructor[PROTOTYPE], key, {\n configurable: true,\n get: function () {\n return getInternalState(this)[key];\n }\n });\n};\n\nvar get = function (view, count, index, isLittleEndian) {\n var store = getInternalDataViewState(view);\n var intIndex = toIndex(index);\n var boolIsLittleEndian = !!isLittleEndian;\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = store.bytes;\n var start = intIndex + store.byteOffset;\n var pack = arraySlice(bytes, start, start + count);\n return boolIsLittleEndian ? pack : reverse(pack);\n};\n\nvar set = function (view, count, index, conversion, value, isLittleEndian) {\n var store = getInternalDataViewState(view);\n var intIndex = toIndex(index);\n var pack = conversion(+value);\n var boolIsLittleEndian = !!isLittleEndian;\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = store.bytes;\n var start = intIndex + store.byteOffset;\n for (var i = 0; i < count; i++) bytes[start + i] = pack[boolIsLittleEndian ? i : count - i - 1];\n};\n\nif (!NATIVE_ARRAY_BUFFER) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n var byteLength = toIndex(length);\n setInternalState(this, {\n type: ARRAY_BUFFER,\n bytes: fill(Array(byteLength), 0),\n byteLength: byteLength\n });\n if (!DESCRIPTORS) {\n this.byteLength = byteLength;\n this.detached = false;\n }\n };\n\n ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE];\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, DataViewPrototype);\n anInstance(buffer, ArrayBufferPrototype);\n var bufferState = getInternalArrayBufferState(buffer);\n var bufferLength = bufferState.byteLength;\n var offset = toIntegerOrInfinity(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n setInternalState(this, {\n type: DATA_VIEW,\n buffer: buffer,\n byteLength: byteLength,\n byteOffset: offset,\n bytes: bufferState.bytes\n });\n if (!DESCRIPTORS) {\n this.buffer = buffer;\n this.byteLength = byteLength;\n this.byteOffset = offset;\n }\n };\n\n DataViewPrototype = $DataView[PROTOTYPE];\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, 'byteLength', getInternalArrayBufferState);\n addGetter($DataView, 'buffer', getInternalDataViewState);\n addGetter($DataView, 'byteLength', getInternalDataViewState);\n addGetter($DataView, 'byteOffset', getInternalDataViewState);\n }\n\n defineBuiltIns(DataViewPrototype, {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false), 23);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : false), 52);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : false);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : false);\n }\n });\n} else {\n var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER;\n /* eslint-disable no-new -- required for testing */\n if (!fails(function () {\n NativeArrayBuffer(1);\n }) || !fails(function () {\n new NativeArrayBuffer(-1);\n }) || fails(function () {\n new NativeArrayBuffer();\n new NativeArrayBuffer(1.5);\n new NativeArrayBuffer(NaN);\n return NativeArrayBuffer.length !== 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;\n })) {\n /* eslint-enable no-new -- required for testing */\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n return new NativeArrayBuffer(toIndex(length));\n };\n\n $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype;\n\n for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) {\n createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);\n }\n }\n\n ArrayBufferPrototype.constructor = $ArrayBuffer;\n } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER);\n }\n\n // WebKit bug - the same parent prototype for typed arrays and data view\n if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) {\n setPrototypeOf(DataViewPrototype, ObjectPrototype);\n }\n\n // iOS Safari 7.x bug\n var testView = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = uncurryThis(DataViewPrototype.setInt8);\n testView.setInt8(0, 2147483648);\n testView.setInt8(1, 2147483649);\n if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns(DataViewPrototype, {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n }\n }, { unsafe: true });\n}\n\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\n\nmodule.exports = {\n ArrayBuffer: $ArrayBuffer,\n DataView: $DataView\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\n\nvar min = Math.min;\n\n// `Array.prototype.copyWithin` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n// eslint-disable-next-line es/no-array-prototype-copywithin -- safe\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n to += inc;\n from += inc;\n } return O;\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nmodule.exports = function (Constructor, list) {\n var index = 0;\n var length = lengthOfArrayLike(list);\n var result = new Constructor(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE === 1;\n var IS_FILTER = TYPE === 2;\n var IS_SOME = TYPE === 3;\n var IS_EVERY = TYPE === 4;\n var IS_FIND_INDEX = TYPE === 6;\n var IS_FILTER_REJECT = TYPE === 7;\n var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-lastindexof -- safe */\nvar apply = require('../internals/function-apply');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar min = Math.min;\nvar $lastIndexOf = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');\nvar FORCED = NEGATIVE_ZERO || !STRICT_METHOD;\n\n// `Array.prototype.lastIndexOf` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\nmodule.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var index = length - 1;\n if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;\n return -1;\n} : $lastIndexOf;\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw $TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n var n = 0;\n for (; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","'use strict';\nvar arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n try {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n } catch (error) { return false; } // workaround of old WebKit + `eval` bug\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\n// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","'use strict';\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = !IS_DENO && !IS_NODE\n && typeof window == 'object'\n && typeof document == 'object';\n","'use strict';\n/* global Deno -- Deno case */\nmodule.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';\n","'use strict';\nvar UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","'use strict';\nvar global = require('../internals/global');\nvar classof = require('../internals/classof-raw');\n\nmodule.exports = classof(global.process) === 'process';\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) !== 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () {\n execCalled = true;\n return null;\n };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nmodule.exports = function (a, b) {\n try {\n // eslint-disable-next-line no-console -- safe\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\n// IEEE754 conversions based on https://github.com/feross/ieee754\nvar sign = require('../internals/math-sign');\nvar trunc = require('../internals/math-trunc');\n\nvar $Array = Array;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\nvar roundToEven = function (number) {\n var truncated = trunc(number);\n var delta = abs(number - truncated);\n if (delta > 0.5 || delta === 0.5 && truncated % 2 !== 0) {\n return truncated + sign(number);\n } return truncated;\n};\n\nvar pack = function (number, mantissaLength, bytes) {\n var buffer = $Array(bytes);\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var s = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;\n var index = 0;\n var exponent, mantissa, c;\n number = abs(number);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number !== number || number === Infinity) {\n // eslint-disable-next-line no-self-compare -- NaN check\n mantissa = number !== number ? 1 : 0;\n exponent = eMax;\n } else {\n exponent = floor(log(number) / LN2);\n c = pow(2, -exponent);\n if (number * c < 1) {\n exponent--;\n c *= 2;\n }\n if (exponent + eBias >= 1) {\n number += rt / c;\n } else {\n number += rt * pow(2, 1 - eBias);\n }\n if (number * c >= 2) {\n exponent++;\n c /= 2;\n }\n if (exponent + eBias >= eMax) {\n mantissa = 0;\n exponent = eMax;\n } else if (exponent + eBias >= 1) {\n mantissa = roundToEven((number * c - 1) * pow(2, mantissaLength));\n exponent += eBias;\n } else {\n mantissa = roundToEven(number * pow(2, eBias - 1) * pow(2, mantissaLength));\n exponent = 0;\n }\n }\n while (mantissaLength >= 8) {\n buffer[index++] = mantissa & 255;\n mantissa /= 256;\n mantissaLength -= 8;\n }\n exponent = exponent << mantissaLength | mantissa;\n exponentLength += mantissaLength;\n while (exponentLength > 0) {\n buffer[index++] = exponent & 255;\n exponent /= 256;\n exponentLength -= 8;\n }\n buffer[--index] |= s * 128;\n return buffer;\n};\n\nvar unpack = function (buffer, mantissaLength) {\n var bytes = buffer.length;\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var nBits = exponentLength - 7;\n var index = bytes - 1;\n var s = buffer[index--];\n var exponent = s & 127;\n var mantissa;\n s >>= 7;\n while (nBits > 0) {\n exponent = exponent * 256 + buffer[index--];\n nBits -= 8;\n }\n mantissa = exponent & (1 << -nBits) - 1;\n exponent >>= -nBits;\n nBits += mantissaLength;\n while (nBits > 0) {\n mantissa = mantissa * 256 + buffer[index--];\n nBits -= 8;\n }\n if (exponent === 0) {\n exponent = 1 - eBias;\n } else if (exponent === eMax) {\n return mantissa ? NaN : s ? -Infinity : Infinity;\n } else {\n mantissa += pow(2, mantissaLength);\n exponent -= eBias;\n } return (s ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);\n};\n\nmodule.exports = {\n pack: pack,\n unpack: unpack\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n","'use strict';\nvar classof = require('../internals/classof');\n\nmodule.exports = function (it) {\n var klass = classof(it);\n return klass === 'BigInt64Array' || klass === 'BigUint64Array';\n};\n","'use strict';\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar floor = Math.floor;\n\n// `IsIntegralNumber` abstract operation\n// https://tc39.es/ecma262/#sec-isintegralnumber\n// eslint-disable-next-line es/no-number-isinteger -- safe\nmodule.exports = Number.isInteger || function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n }\n\n return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\n// `Math.sign` method implementation\n// https://tc39.es/ecma262/#sec-math.sign\n// eslint-disable-next-line es/no-math-sign -- safe\nmodule.exports = Math.sign || function sign(x) {\n var n = +x;\n // eslint-disable-next-line no-self-compare -- NaN check\n return n === 0 || n !== n ? n : n < 0 ? -1 : 1;\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar Queue = require('../internals/queue');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\nvar notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!microtask) {\n var queue = new Queue();\n\n var flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (fn = queue.get()) try {\n fn();\n } catch (error) {\n if (queue.head) notify();\n throw error;\n }\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // `webpack` dev server bug on IE global methods - use bind(fn, global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n\n microtask = function (fn) {\n if (!queue.head) notify();\n queue.add(fn);\n };\n}\n\nmodule.exports = microtask;\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) === 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = global;\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","'use strict';\nvar global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","'use strict';\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","'use strict';\nvar Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n var tail = this.tail;\n if (tail) tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n var next = this.head = entry.next;\n if (next === null) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') !== null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') !== null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.32.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function () {\n var Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = Symbol && Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, { arity: 1 });\n }\n};\n","'use strict';\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\nfails(function () {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n $location = global.location;\n});\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar eventListener = function (event) {\n run(event.data);\n};\n\nvar globalPostMessageDefer = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = eventListener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(globalPostMessageDefer)\n ) {\n defer = globalPostMessageDefer;\n global.addEventListener('message', eventListener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\n\nvar $TypeError = TypeError;\n\n// `ToBigInt` abstract operation\n// https://tc39.es/ecma262/#sec-tobigint\nmodule.exports = function (argument) {\n var prim = toPrimitive(argument, 'number');\n if (typeof prim == 'number') throw $TypeError(\"Can't convert number to bigint\");\n // eslint-disable-next-line es/no-bigint -- safe\n return BigInt(prim);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\n\nvar $RangeError = RangeError;\n\n// `ToIndex` abstract operation\n// https://tc39.es/ecma262/#sec-toindex\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toIntegerOrInfinity(it);\n var length = toLength(number);\n if (number !== length) throw $RangeError('Wrong length or index');\n return length;\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar toPositiveInteger = require('../internals/to-positive-integer');\n\nvar $RangeError = RangeError;\n\nmodule.exports = function (it, BYTES) {\n var offset = toPositiveInteger(it);\n if (offset % BYTES) throw $RangeError('Wrong offset');\n return offset;\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar $RangeError = RangeError;\n\nmodule.exports = function (it) {\n var result = toIntegerOrInfinity(it);\n if (result < 0) throw $RangeError(\"The argument can't be less than 0\");\n return result;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar round = Math.round;\n\nmodule.exports = function (it) {\n var value = round(it);\n return value < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anInstance = require('../internals/an-instance');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isIntegralNumber = require('../internals/is-integral-number');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar toOffset = require('../internals/to-offset');\nvar toUint8Clamped = require('../internals/to-uint8-clamped');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar create = require('../internals/object-create');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar typedArrayFrom = require('../internals/typed-array-from');\nvar forEach = require('../internals/array-iteration').forEach;\nvar setSpecies = require('../internals/set-species');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar InternalStateModule = require('../internals/internal-state');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar enforceInternalState = InternalStateModule.enforce;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar RangeError = global.RangeError;\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar ArrayBufferPrototype = ArrayBuffer.prototype;\nvar DataView = ArrayBufferModule.DataView;\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\nvar TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;\nvar TypedArray = ArrayBufferViewCore.TypedArray;\nvar TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar isTypedArray = ArrayBufferViewCore.isTypedArray;\nvar BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\nvar WRONG_LENGTH = 'Wrong length';\n\nvar fromList = function (C, list) {\n aTypedArrayConstructor(C);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n\nvar addGetter = function (it, key) {\n defineBuiltInAccessor(it, key, {\n configurable: true,\n get: function () {\n return getInternalState(this)[key];\n }\n });\n};\n\nvar isArrayBuffer = function (it) {\n var klass;\n return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) === 'ArrayBuffer' || klass === 'SharedArrayBuffer';\n};\n\nvar isTypedArrayIndex = function (target, key) {\n return isTypedArray(target)\n && !isSymbol(key)\n && key in target\n && isIntegralNumber(+key)\n && key >= 0;\n};\n\nvar wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {\n key = toPropertyKey(key);\n return isTypedArrayIndex(target, key)\n ? createPropertyDescriptor(2, target[key])\n : nativeGetOwnPropertyDescriptor(target, key);\n};\n\nvar wrappedDefineProperty = function defineProperty(target, key, descriptor) {\n key = toPropertyKey(key);\n if (isTypedArrayIndex(target, key)\n && isObject(descriptor)\n && hasOwn(descriptor, 'value')\n && !hasOwn(descriptor, 'get')\n && !hasOwn(descriptor, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !descriptor.configurable\n && (!hasOwn(descriptor, 'writable') || descriptor.writable)\n && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable)\n ) {\n target[key] = descriptor.value;\n return target;\n } return nativeDefineProperty(target, key, descriptor);\n};\n\nif (DESCRIPTORS) {\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;\n definePropertyModule.f = wrappedDefineProperty;\n addGetter(TypedArrayPrototype, 'buffer');\n addGetter(TypedArrayPrototype, 'byteOffset');\n addGetter(TypedArrayPrototype, 'byteLength');\n addGetter(TypedArrayPrototype, 'length');\n }\n\n $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,\n defineProperty: wrappedDefineProperty\n });\n\n module.exports = function (TYPE, wrapper, CLAMPED) {\n var BYTES = TYPE.match(/\\d+/)[0] / 8;\n var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + TYPE;\n var SETTER = 'set' + TYPE;\n var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];\n var TypedArrayConstructor = NativeTypedArrayConstructor;\n var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;\n var exported = {};\n\n var getter = function (that, index) {\n var data = getInternalState(that);\n return data.view[GETTER](index * BYTES + data.byteOffset, true);\n };\n\n var setter = function (that, index, value) {\n var data = getInternalState(that);\n data.view[SETTER](index * BYTES + data.byteOffset, CLAMPED ? toUint8Clamped(value) : value, true);\n };\n\n var addElement = function (that, index) {\n nativeDefineProperty(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n TypedArrayConstructor = wrapper(function (that, data, offset, $length) {\n anInstance(that, TypedArrayConstructorPrototype);\n var index = 0;\n var byteOffset = 0;\n var buffer, byteLength, length;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new ArrayBuffer(byteLength);\n } else if (isArrayBuffer(data)) {\n buffer = data;\n byteOffset = toOffset(offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - byteOffset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (isTypedArray(data)) {\n return fromList(TypedArrayConstructor, data);\n } else {\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }\n setInternalState(that, {\n buffer: buffer,\n byteOffset: byteOffset,\n byteLength: byteLength,\n length: length,\n view: new DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);\n } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {\n TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {\n anInstance(dummy, TypedArrayConstructorPrototype);\n return inheritIfRequired(function () {\n if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));\n if (isArrayBuffer(data)) return $length !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)\n : typedArrayOffset !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))\n : new NativeTypedArrayConstructor(data);\n if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }(), dummy, TypedArrayConstructor);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {\n if (!(key in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);\n }\n });\n TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;\n }\n\n if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);\n }\n\n enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor;\n\n if (TYPED_ARRAY_TAG) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);\n }\n\n var FORCED = TypedArrayConstructor !== NativeTypedArrayConstructor;\n\n exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;\n\n $({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported);\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);\n }\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);\n }\n\n setSpecies(CONSTRUCTOR_NAME);\n };\n} else module.exports = function () { /* empty */ };\n","'use strict';\n/* eslint-disable no-new -- required for testing */\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar NATIVE_ARRAY_BUFFER_VIEWS = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS;\n\nvar ArrayBuffer = global.ArrayBuffer;\nvar Int8Array = global.Int8Array;\n\nmodule.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {\n Int8Array(1);\n}) || !fails(function () {\n new Int8Array(-1);\n}) || !checkCorrectnessOfIteration(function (iterable) {\n new Int8Array();\n new Int8Array(null);\n new Int8Array(1.5);\n new Int8Array(iterable);\n}, true) || fails(function () {\n // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill\n return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;\n});\n","'use strict';\nvar arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nmodule.exports = function (instance, list) {\n return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list);\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aConstructor = require('../internals/a-constructor');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isBigIntArray = require('../internals/is-big-int-array');\nvar aTypedArrayConstructor = require('../internals/array-buffer-view-core').aTypedArrayConstructor;\nvar toBigInt = require('../internals/to-big-int');\n\nmodule.exports = function from(source /* , mapfn, thisArg */) {\n var C = aConstructor(this);\n var O = toObject(source);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var i, length, result, thisIsBigIntArray, value, step, iterator, next;\n if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n O = [];\n while (!(step = call(next, iterator)).done) {\n O.push(step.value);\n }\n }\n if (mapping && argumentsLength > 2) {\n mapfn = bind(mapfn, arguments[2]);\n }\n length = lengthOfArrayLike(O);\n result = new (aTypedArrayConstructor(C))(length);\n thisIsBigIntArray = isBigIntArray(result);\n for (i = 0; length > i; i++) {\n value = mapping ? mapfn(O[i], i) : O[i];\n // FF30- typed arrays doesn't properly convert objects to typed array values\n result[i] = thisIsBigIntArray ? toBigInt(value) : +value;\n }\n return result;\n};\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\n\n// a part of `TypedArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#typedarray-species-create\nmodule.exports = function (originalArray) {\n return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray)));\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar fails = require('../internals/fails');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anObject = require('../internals/an-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar DataView = ArrayBufferModule.DataView;\nvar DataViewPrototype = DataView.prototype;\nvar nativeArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice);\nvar getUint8 = uncurryThis(DataViewPrototype.getUint8);\nvar setUint8 = uncurryThis(DataViewPrototype.setUint8);\n\nvar INCORRECT_SLICE = fails(function () {\n return !new ArrayBuffer(2).slice(1, undefined).byteLength;\n});\n\n// `ArrayBuffer.prototype.slice` method\n// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice\n$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {\n slice: function slice(start, end) {\n if (nativeArrayBufferSlice && end === undefined) {\n return nativeArrayBufferSlice(anObject(this), start); // FF fix\n }\n var length = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));\n var viewSource = new DataView(this);\n var viewTarget = new DataView(result);\n var index = 0;\n while (first < fin) {\n setUint8(viewTarget, index++, getUint8(viewSource, first++));\n } return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {\n forEach: forEach\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n switch (kind) {\n case 'keys': return createIterResultObject(index, false);\n case 'values': return createIterResultObject(target[index], false);\n } return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\n\nvar nativeReverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n reverse: function reverse() {\n // eslint-disable-next-line no-self-assign -- dirty hack\n if (isArray(this)) this.length = this.length;\n return nativeReverse(this);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')('stringify detection');\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) !== '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) !== '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) !== '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","'use strict';\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n // fast equal of /^0b[01]+$/i\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0o[0-7]+$/i\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n default:\n return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n// eslint-disable-next-line es/no-object-defineproperty -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {\n defineProperty: defineProperty\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","'use strict';\nvar $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/engine-is-node');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state === FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state === PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.promise.constructor');\nrequire('../modules/es.promise.all');\nrequire('../modules/es.promise.catch');\nrequire('../modules/es.promise.race');\nrequire('../modules/es.promise.reject');\nrequire('../modules/es.promise.resolve');\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n\n if (res.done) return res.value;\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar arraySlice = require('../internals/array-slice-simple');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar MAX_UINT32 = 0xFFFFFFFF;\nvar min = Math.min;\nvar $push = [].push;\nvar exec = uncurryThis(/./.exec);\nvar push = uncurryThis($push);\nvar stringSlice = uncurryThis(''.slice);\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] === 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length !== 4 ||\n 'ab'.split(/(?:ab)*/).length !== 2 ||\n '.'.split(/(.?)(.?)/).length !== 4 ||\n // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = toString(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return call(nativeSplit, string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = call(regexpExec, separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n push(output, stringSlice(string, lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !exec(separatorCopy, '')) push(output, '');\n } else push(output, stringSlice(string, lastLastIndex));\n return output.length > lim ? arraySlice(output, 0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = isNullOrUndefined(separator) ? undefined : getMethod(separator, SPLIT);\n return splitter\n ? call(splitter, separator, O, limit)\n : call(internalSplit, toString(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);\n\n if (res.done) return res.value;\n\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n push(A, stringSlice(S, p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n push(A, z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n push(A, stringSlice(S, p));\n return A;\n }\n ];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a !== 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\n\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this)\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n\n var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';\n var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);\n var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = thisSymbolValue(this);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var string = symbolDescriptiveString(symbol);\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, constructor: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n 'for': function (key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.symbol.constructor');\nrequire('../modules/es.symbol.for');\nrequire('../modules/es.symbol.key-for');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.object.get-own-property-symbols');\n","'use strict';\nvar $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag(getBuiltIn('Symbol'), 'Symbol');\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $ArrayCopyWithin = require('../internals/array-copy-within');\n\nvar u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin\nexportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {\n return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $every = require('../internals/array-iteration').every;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.every` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every\nexportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {\n return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $fill = require('../internals/array-fill');\nvar toBigInt = require('../internals/to-big-int');\nvar classof = require('../internals/classof');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar slice = uncurryThis(''.slice);\n\n// V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18\nvar CONVERSION_BUG = fails(function () {\n var count = 0;\n // eslint-disable-next-line es/no-typed-arrays -- safe\n new Int8Array(2).fill({ valueOf: function () { return count++; } });\n return count !== 1;\n});\n\n// `%TypedArray%.prototype.fill` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill\nexportTypedArrayMethod('fill', function fill(value /* , start, end */) {\n var length = arguments.length;\n aTypedArray(this);\n var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt(value) : +value;\n return call($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined);\n}, CONVERSION_BUG);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filter = require('../internals/array-iteration').filter;\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filter` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter\nexportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {\n var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return fromSpeciesAndList(this, list);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findIndex = require('../internals/array-iteration').findIndex;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex\nexportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {\n return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $find = require('../internals/array-iteration').find;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.find` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find\nexportTypedArrayMethod('find', function find(predicate /* , thisArg */) {\n return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach\nexportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {\n $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $includes = require('../internals/array-includes').includes;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.includes` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes\nexportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {\n return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $indexOf = require('../internals/array-includes').indexOf;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof\nexportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {\n return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayIterators = require('../modules/es.array.iterator');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar Uint8Array = global.Uint8Array;\nvar arrayValues = uncurryThis(ArrayIterators.values);\nvar arrayKeys = uncurryThis(ArrayIterators.keys);\nvar arrayEntries = uncurryThis(ArrayIterators.entries);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar TypedArrayPrototype = Uint8Array && Uint8Array.prototype;\n\nvar GENERIC = !fails(function () {\n TypedArrayPrototype[ITERATOR].call([1]);\n});\n\nvar ITERATOR_IS_VALUES = !!TypedArrayPrototype\n && TypedArrayPrototype.values\n && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values\n && TypedArrayPrototype.values.name === 'values';\n\nvar typedArrayValues = function values() {\n return arrayValues(aTypedArray(this));\n};\n\n// `%TypedArray%.prototype.entries` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries\nexportTypedArrayMethod('entries', function entries() {\n return arrayEntries(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.keys` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys\nexportTypedArrayMethod('keys', function keys() {\n return arrayKeys(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.values` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values\nexportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n// `%TypedArray%.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator\nexportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $join = uncurryThis([].join);\n\n// `%TypedArray%.prototype.join` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join\nexportTypedArrayMethod('join', function join(separator) {\n return $join(aTypedArray(this), separator);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar apply = require('../internals/function-apply');\nvar $lastIndexOf = require('../internals/array-last-index-of');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof\nexportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {\n var length = arguments.length;\n return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $map = require('../internals/array-iteration').map;\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.map` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map\nexportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {\n return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {\n return new (typedArraySpeciesConstructor(O))(length);\n });\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduceRight = require('../internals/array-reduce').right;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduceRight` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright\nexportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduce = require('../internals/array-reduce').left;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce\nexportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar floor = Math.floor;\n\n// `%TypedArray%.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse\nexportTypedArrayMethod('reverse', function reverse() {\n var that = this;\n var length = aTypedArray(that).length;\n var middle = floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toOffset = require('../internals/to-offset');\nvar toIndexedObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar $set = Int8ArrayPrototype && Int8ArrayPrototype.set;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n var array = new Uint8ClampedArray(2);\n call($set, array, { length: 1, 0: 3 }, 1);\n return array[1] !== 3;\n});\n\n// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other\nvar TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () {\n var array = new Int8Array(2);\n array.set(1);\n array.set('2', 1);\n return array[0] !== 0 || array[1] !== 2;\n});\n\n// `%TypedArray%.prototype.set` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set\nexportTypedArrayMethod('set', function set(arrayLike /* , offset */) {\n aTypedArray(this);\n var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);\n var src = toIndexedObject(arrayLike);\n if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);\n var length = this.length;\n var len = lengthOfArrayLike(src);\n var index = 0;\n if (len + offset > length) throw RangeError('Wrong length');\n while (index < len) this[offset + index] = src[index++];\n}, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n new Int8Array(1).slice();\n});\n\n// `%TypedArray%.prototype.slice` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice\nexportTypedArrayMethod('slice', function slice(start, end) {\n var list = arraySlice(aTypedArray(this), start, end);\n var C = typedArraySpeciesConstructor(this);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n}, FORCED);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $some = require('../internals/array-iteration').some;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.some` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some\nexportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {\n return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar fails = require('../internals/fails');\nvar aCallable = require('../internals/a-callable');\nvar internalSort = require('../internals/array-sort');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar Uint16Array = global.Uint16Array;\nvar nativeSort = Uint16Array && uncurryThis(Uint16Array.prototype.sort);\n\n// WebKit\nvar ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails(function () {\n nativeSort(new Uint16Array(2), null);\n}) && fails(function () {\n nativeSort(new Uint16Array(2), {});\n}));\n\nvar STABLE_SORT = !!nativeSort && !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 74;\n if (FF) return FF < 67;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 602;\n\n var array = new Uint16Array(516);\n var expected = Array(516);\n var index, mod;\n\n for (index = 0; index < 516; index++) {\n mod = index % 4;\n array[index] = 515 - index;\n expected[index] = index - 2 * mod + 3;\n }\n\n nativeSort(array, function (a, b) {\n return (a / 4 | 0) - (b / 4 | 0);\n });\n\n for (index = 0; index < 516; index++) {\n if (array[index] !== expected[index]) return true;\n }\n});\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (y !== y) return -1;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (x !== x) return 1;\n if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1;\n return x > y;\n };\n};\n\n// `%TypedArray%.prototype.sort` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort\nexportTypedArrayMethod('sort', function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n if (STABLE_SORT) return nativeSort(this, comparefn);\n\n return internalSort(aTypedArray(this), getSortCompare(comparefn));\n}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.subarray` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray\nexportTypedArrayMethod('subarray', function subarray(begin, end) {\n var O = aTypedArray(this);\n var length = O.length;\n var beginIndex = toAbsoluteIndex(begin, length);\n var C = typedArraySpeciesConstructor(O);\n return new C(\n O.buffer,\n O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)\n );\n});\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar Int8Array = global.Int8Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $toLocaleString = [].toLocaleString;\n\n// iOS Safari 6.x fails here\nvar TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {\n $toLocaleString.call(new Int8Array(1));\n});\n\nvar FORCED = fails(function () {\n return [1, 2].toLocaleString() !== new Int8Array([1, 2]).toLocaleString();\n}) || !fails(function () {\n Int8Array.prototype.toLocaleString.call([1, 2]);\n});\n\n// `%TypedArray%.prototype.toLocaleString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring\nexportTypedArrayMethod('toLocaleString', function toLocaleString() {\n return apply(\n $toLocaleString,\n TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this),\n arraySlice(arguments)\n );\n}, FORCED);\n","'use strict';\nvar exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod;\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar Uint8Array = global.Uint8Array;\nvar Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};\nvar arrayToString = [].toString;\nvar join = uncurryThis([].join);\n\nif (fails(function () { arrayToString.call({}); })) {\n arrayToString = function toString() {\n return join(this);\n };\n}\n\nvar IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString !== arrayToString;\n\n// `%TypedArray%.prototype.toString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring\nexportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setLastICMessageTime = exports.lastICMessageTime = exports.delay = exports.setBanned = exports.banned = exports.setExtraFeatures = exports.extrafeatures = exports.setSelectedShout = exports.selectedShout = exports.setSelectedMenu = exports.selectedMenu = exports.setOldLoading = exports.oldLoading = exports.UPDATE_INTERVAL = exports.setClient = exports.client = exports.setCHATBOX = exports.CHATBOX = void 0;\n/*\n * Glorious webAO\n * made by sD, refactored by oldmud0 and Qubrick\n * credits to aleks for original idea and source\n */\nvar isLowMemory_1 = require(\"./client/isLowMemory\");\nvar fingerprintjs_1 = require(\"@fingerprintjs/fingerprintjs\");\nvar index_1 = require(\"./client/sender/index\");\nvar queryParser_1 = require(\"./utils/queryParser\");\nvar getResources_js_1 = require(\"./utils/getResources.js\");\nvar viewport_1 = require(\"./viewport/viewport\");\nvar events_1 = require(\"events\");\nvar onReplayGo_1 = require(\"./dom/onReplayGo\");\nvar packetHandler_1 = require(\"./packets/packetHandler\");\nvar loadResources_1 = require(\"./client/loadResources\");\nvar aoHost_1 = require(\"./client/aoHost\");\nvar fetchLists_1 = require(\"./client/fetchLists\");\nvar version = process.env.npm_package_version;\nvar _a = (0, queryParser_1.default)(), serverIP = _a.ip, mode = _a.mode, theme = _a.theme;\nvar THEME = theme || \"default\";\nvar setCHATBOX = function (val) {\n exports.CHATBOX = val;\n};\nexports.setCHATBOX = setCHATBOX;\nvar setClient = function (val) {\n exports.client = val;\n};\nexports.setClient = setClient;\nexports.UPDATE_INTERVAL = 60;\n/**\n * Toggles AO1-style loading using paginated music packets for mobile platforms.\n * The old loading uses more smaller packets instead of a single big one,\n * which caused problems on low-memory devices in the past.\n */\nexports.oldLoading = false;\nvar setOldLoading = function (val) {\n console.warn(\"old loading set to \" + val);\n exports.oldLoading = val;\n};\nexports.setOldLoading = setOldLoading;\n// presettings\nexports.selectedMenu = 1;\nvar setSelectedMenu = function (val) {\n exports.selectedMenu = val;\n};\nexports.setSelectedMenu = setSelectedMenu;\nexports.selectedShout = 0;\nvar setSelectedShout = function (val) {\n exports.selectedShout = val;\n};\nexports.setSelectedShout = setSelectedShout;\nexports.extrafeatures = [];\nvar setExtraFeatures = function (val) {\n exports.extrafeatures = val;\n};\nexports.setExtraFeatures = setExtraFeatures;\nexports.banned = false;\nvar setBanned = function (val) {\n exports.banned = val;\n};\nexports.setBanned = setBanned;\nvar hdid;\nvar fpPromise = fingerprintjs_1.default.load();\nfpPromise\n .then(function (fp) { return fp.get(); })\n .then(function (result) {\n hdid = result.visitorId;\n exports.client = new Client(serverIP);\n exports.client.connect();\n (0, isLowMemory_1.isLowMemory)();\n (0, loadResources_1.loadResources)();\n});\nvar delay = function (ms) { return new Promise(function (res) { return setTimeout(res, ms); }); };\nexports.delay = delay;\nexports.lastICMessageTime = new Date(0);\nvar setLastICMessageTime = function (val) {\n exports.lastICMessageTime = val;\n};\nexports.setLastICMessageTime = setLastICMessageTime;\nvar Client = /** @class */ (function (_super) {\n __extends(Client, _super);\n function Client(address) {\n var _this = _super.call(this) || this;\n _this.connect = function () {\n _this.on(\"open\", _this.onOpen.bind(_this));\n _this.on(\"close\", _this.onClose.bind(_this));\n _this.on(\"message\", _this.onMessage.bind(_this));\n _this.on(\"error\", _this.onError.bind(_this));\n if (mode !== \"replay\") {\n _this.serv = new WebSocket(\"ws://\".concat(address));\n // Assign the websocket events\n _this.serv.addEventListener(\"open\", _this.emit.bind(_this, \"open\"));\n _this.serv.addEventListener(\"close\", _this.emit.bind(_this, \"close\"));\n _this.serv.addEventListener(\"message\", _this.emit.bind(_this, \"message\"));\n _this.serv.addEventListener(\"error\", _this.emit.bind(_this, \"error\"));\n }\n else {\n _this.joinServer();\n }\n };\n _this.hp = [0, 0];\n _this.playerID = 1;\n _this.charID = -1;\n _this.char_list_length = 0;\n _this.evidence_list_length = 0;\n _this.music_list_length = 0;\n _this.testimonyID = 0;\n _this.chars = [];\n _this.emotes = [];\n _this.evidences = [];\n _this.areas = [];\n _this.musics = [];\n _this.musics_time = false;\n _this.callwords = [];\n _this.manifest = [];\n _this.resources = (0, getResources_js_1.default)(aoHost_1.AO_HOST, THEME);\n _this.selectedEmote = -1;\n _this.selectedEvidence = 0;\n _this.checkUpdater = null;\n _this.sender = index_1.sender;\n _this.viewport = (0, viewport_1.default)();\n _this._lastTimeICReceived = new Date(0);\n _this.partial_packet = false;\n _this.temp_packet = \"\";\n loadResources_1.loadResources;\n isLowMemory_1.isLowMemory;\n return _this;\n }\n Object.defineProperty(Client.prototype, \"character\", {\n /**\n * Gets the current player's character.\n */\n get: function () {\n return this.chars[this.charID];\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Client.prototype, \"emote\", {\n /**\n * Gets the player's currently selected emote.\n */\n get: function () {\n return this.emotes[this.selectedEmote];\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Client.prototype, \"evidence\", {\n /**\n * Gets the current evidence ID unless the player doesn't want to present any evidence\n */\n get: function () {\n return document.getElementById(\"button_present\").classList.contains(\"dark\")\n ? this.selectedEvidence\n : 0;\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Hook for sending messages to the client\n * @param {string} message the message to send\n */\n Client.prototype.handleSelf = function (message) {\n var _this = this;\n var message_event = new MessageEvent(\"websocket\", { data: message });\n setTimeout(function () { return _this.onMessage(message_event); }, 1);\n };\n /**\n * Begins the handshake process by sending an identifier\n * to the server.\n */\n Client.prototype.joinServer = function () {\n var _this = this;\n this.sender.sendServer(\"HI#\".concat(hdid, \"#%\"));\n if (mode !== \"replay\") {\n this.checkUpdater = setInterval(function () { return _this.sender.sendCheck(); }, 5000);\n }\n };\n /**\n * Triggered when a connection is established to the server.\n */\n Client.prototype.onOpen = function (_e) {\n exports.client.joinServer();\n };\n /**\n * Triggered when the connection to the server closes.\n * @param {CloseEvent} e\n */\n Client.prototype.onClose = function (e) {\n console.error(\"The connection was closed: \".concat(e.reason, \" (\").concat(e.code, \")\"));\n if (exports.extrafeatures.length == 0 && exports.banned === false) {\n document.getElementById(\"client_errortext\").textContent =\n \"Could not connect to the server\";\n }\n document.getElementById(\"client_waiting\").style.display = \"block\";\n document.getElementById(\"client_error\").style.display = \"flex\";\n document.getElementById(\"client_loading\").style.display = \"none\";\n document.getElementById(\"error_id\").textContent = String(e.code);\n this.cleanup();\n };\n /**\n * Triggered when a packet is received from the server.\n * @param {MessageEvent} e\n */\n Client.prototype.onMessage = function (e) {\n var msg = e.data;\n console.debug(\"S: \".concat(msg));\n this.handle_server_packet(msg);\n };\n /**\n * Decode the packet\n * @param {MessageEvent} e\n */\n Client.prototype.handle_server_packet = function (p_data) {\n var e_1, _a;\n var in_data = p_data;\n if (!p_data.endsWith(\"%\")) {\n this.partial_packet = true;\n this.temp_packet = this.temp_packet + in_data;\n console.log(\"Partial packet\");\n return;\n }\n else {\n if (this.partial_packet) {\n in_data = this.temp_packet + in_data;\n this.temp_packet = \"\";\n this.partial_packet = false;\n }\n }\n var packet_list = in_data.split(\"%\");\n try {\n for (var packet_list_1 = __values(packet_list), packet_list_1_1 = packet_list_1.next(); !packet_list_1_1.done; packet_list_1_1 = packet_list_1.next()) {\n var packet = packet_list_1_1.value;\n var f_contents = void 0;\n // Packet should *always* end with #\n if (packet.endsWith(\"#\")) {\n f_contents = packet.slice(0, -1).split(\"#\");\n }\n // But, if it somehow doesn't, we should still be able to handle it\n else {\n f_contents = packet.split(\"#\");\n }\n // Empty packets are suspicious!\n if (f_contents.length == 0) {\n console.warn(\"WARNING: Empty packet received from server, skipping...\");\n continue;\n }\n // Take the first arg as the command\n var command = f_contents[0];\n if (command !== \"\") {\n // The rest is contents of the packet\n packetHandler_1.packetHandler.has(command)\n ? packetHandler_1.packetHandler.get(command)(f_contents)\n : console.warn(\"Invalid packet header \".concat(command));\n }\n ;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (packet_list_1_1 && !packet_list_1_1.done && (_a = packet_list_1.return)) _a.call(packet_list_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n /**\n * Triggered when an network error occurs.\n * @param {ErrorEvent} e\n */\n Client.prototype.onError = function (e) {\n console.error(\"A network error occurred\");\n document.getElementById(\"client_error\").style.display = \"flex\";\n this.cleanup();\n };\n /**\n * Stop sending keepalives to the server.\n */\n Client.prototype.cleanup = function () {\n clearInterval(this.checkUpdater);\n this.serv.close();\n };\n /**\n * Parse the lines in the OOC and play them\n * @param {*} args packet arguments\n */\n Client.prototype.handleReplay = function () {\n var ooclog = document.getElementById(\"client_ooclog\");\n var rawLog = false;\n var rtime = Number(document.getElementById(\"client_replaytimer\").value);\n var clines = ooclog.value.split(/\\r?\\n/);\n if (clines[0]) {\n var currentLine = String(clines[0]);\n this.handleSelf(currentLine);\n ooclog.value = clines.slice(1).join(\"\\r\\n\");\n if (currentLine.substr(0, 4) === \"wait\" && rawLog === false) {\n rtime = Number(currentLine.split(\"#\")[1]);\n }\n else if (currentLine.substr(0, 2) !== \"MS\") {\n rtime = 0;\n }\n setTimeout(function () { return (0, onReplayGo_1.onReplayGo)(null); }, rtime);\n }\n };\n Client.prototype.resetMusicList = function () {\n this.musics = [];\n document.getElementById(\"client_musiclist\").innerHTML = \"\";\n };\n Client.prototype.resetAreaList = function () {\n this.areas = [];\n document.getElementById(\"areas\").innerHTML = \"\";\n (0, fetchLists_1.fetchBackgroundList)();\n (0, fetchLists_1.fetchEvidenceList)();\n (0, fetchLists_1.fetchCharacterList)();\n };\n return Client;\n}(events_1.EventEmitter));\nexports.default = Client;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.addTrack = void 0;\nvar client_1 = require(\"../client\");\nvar encoding_1 = require(\"../encoding\");\nvar paths_1 = require(\"../utils/paths\");\nvar addTrack = function (trackname) {\n var newentry = document.createElement(\"OPTION\");\n var songName = (0, paths_1.getFilenameFromPath)(trackname);\n newentry.text = (0, encoding_1.unescapeChat)(songName);\n newentry.value = trackname;\n (document.getElementById(\"client_musiclist\")).options.add(newentry);\n client_1.client.musics.push(trackname);\n};\nexports.addTrack = addTrack;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setAOhost = exports.AO_HOST = void 0;\nvar queryParser_1 = require(\"../utils/queryParser\");\nvar asset = (0, queryParser_1.default)().asset;\nvar DEFAULT_HOST = 'http://attorneyoffline.de/base/';\nexports.AO_HOST = asset || DEFAULT_HOST;\nvar setAOhost = function (val) {\n exports.AO_HOST = val;\n};\nexports.setAOhost = setAOhost;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.appendICLog = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Appends a message to the in-character chat log.\n * @param {string} msg the string to be added\n * @param {string} name the name of the sender\n */\nfunction appendICLog(msg, showname, nameplate, time) {\n if (showname === void 0) { showname = \"\"; }\n if (nameplate === void 0) { nameplate = \"\"; }\n if (time === void 0) { time = new Date(); }\n var entry = document.createElement(\"p\");\n var shownameField = document.createElement(\"span\");\n var nameplateField = document.createElement(\"span\");\n var textField = document.createElement(\"span\");\n nameplateField.className = \"iclog_name iclog_nameplate\";\n nameplateField.appendChild(document.createTextNode(nameplate));\n shownameField.className = \"iclog_name iclog_showname\";\n if (showname === \"\" || !showname) {\n shownameField.appendChild(document.createTextNode(nameplate));\n }\n else {\n shownameField.appendChild(document.createTextNode(showname));\n }\n textField.className = \"iclog_text\";\n textField.appendChild(document.createTextNode(msg));\n entry.appendChild(shownameField);\n entry.appendChild(nameplateField);\n entry.appendChild(textField);\n // Only put a timestamp if the minute has changed.\n if (client_1.lastICMessageTime.getMinutes() !== time.getMinutes()) {\n var timeStamp = document.createElement(\"span\");\n timeStamp.className = \"iclog_time\";\n timeStamp.innerText = time.toLocaleTimeString(undefined, {\n hour: \"numeric\",\n minute: \"2-digit\",\n });\n entry.appendChild(timeStamp);\n }\n var clientLog = document.getElementById(\"client_log\");\n clientLog.appendChild(entry);\n /* This is a little buggy - some troubleshooting might be desirable */\n if (clientLog.scrollTop > clientLog.scrollHeight - 800) {\n clientLog.scrollTop = clientLog.scrollHeight;\n }\n (0, client_1.setLastICMessageTime)(new Date());\n}\nexports.appendICLog = appendICLog;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkCallword = void 0;\nvar client_1 = require(\"../client\");\nvar aoHost_1 = require(\"./aoHost\");\n/**\n * check if the message contains an entry on our callword list\n * @param {string} message\n */\nfunction checkCallword(message, sfxAudio) {\n client_1.client.callwords.forEach(testCallword);\n function testCallword(item) {\n if (item !== \"\" && message.toLowerCase().includes(item.toLowerCase())) {\n sfxAudio.pause();\n sfxAudio.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-gallery.opus\");\n sfxAudio.play();\n }\n }\n}\nexports.checkCallword = checkCallword;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createArea = void 0;\nvar client_1 = require(\"../client\");\nvar areaClick_1 = require(\"../dom/areaClick\");\nvar createArea = function (id, name) {\n var thisarea = {\n name: name,\n players: 0,\n status: \"IDLE\",\n cm: \"\",\n locked: \"FREE\",\n };\n client_1.client.areas.push(thisarea);\n // Create area button\n var newarea = document.createElement(\"SPAN\");\n newarea.className = \"area-button area-default\";\n newarea.id = \"area\".concat(id);\n newarea.innerText = thisarea.name;\n newarea.title =\n \"Players: \".concat(thisarea.players, \"\\n\") +\n \"Status: \".concat(thisarea.status, \"\\n\") +\n \"CM: \".concat(thisarea.cm, \"\\n\") +\n \"Area lock: \".concat(thisarea.locked);\n newarea.onclick = function () {\n (0, areaClick_1.area_click)(newarea);\n };\n document.getElementById(\"areas\").appendChild(newarea);\n};\nexports.createArea = createArea;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fetchManifest = exports.fetchEvidenceList = exports.fetchCharacterList = exports.fetchBackgroundList = void 0;\nvar client_1 = require(\"../client\");\nvar aoHost_1 = require(\"./aoHost\");\nvar request_js_1 = require(\"../services/request.js\");\nvar fetchBackgroundList = function () { return __awaiter(void 0, void 0, void 0, function () {\n var bgdata, bg_array, bg_select_1, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n return [4 /*yield*/, (0, request_js_1.request)(\"\".concat(aoHost_1.AO_HOST, \"backgrounds.json\"))];\n case 1:\n bgdata = _a.sent();\n bg_array = JSON.parse(bgdata);\n bg_select_1 = document.getElementById(\"bg_select\");\n bg_select_1.innerHTML = \"\";\n bg_select_1.add(new Option(\"Custom\", \"0\"));\n bg_array.forEach(function (background) {\n bg_select_1.add(new Option(background));\n });\n return [3 /*break*/, 3];\n case 2:\n err_1 = _a.sent();\n console.warn(\"there was no backgrounds.json file\");\n return [3 /*break*/, 3];\n case 3: return [2 /*return*/];\n }\n });\n}); };\nexports.fetchBackgroundList = fetchBackgroundList;\nvar fetchCharacterList = function () { return __awaiter(void 0, void 0, void 0, function () {\n var char_select, chardata, char_array, err_2;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n char_select = (document.getElementById(\"client_iniselect\"));\n char_select.innerHTML = \"\";\n char_select.add(new Option(\"Custom\", \"0\"));\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, (0, request_js_1.request)(\"\".concat(aoHost_1.AO_HOST, \"characters.json\"))];\n case 2:\n chardata = _a.sent();\n char_array = JSON.parse(chardata);\n // the try catch will fail before here when there is no file\n char_array.forEach(function (character) {\n char_select.add(new Option(character));\n });\n return [3 /*break*/, 4];\n case 3:\n err_2 = _a.sent();\n console.warn(\"there was no characters.json file\");\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\nexports.fetchCharacterList = fetchCharacterList;\nvar fetchEvidenceList = function () { return __awaiter(void 0, void 0, void 0, function () {\n var evi_select, evidata, evi_array, err_3;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n evi_select = (document.getElementById(\"evi_select\"));\n evi_select.innerHTML = \"\";\n evi_select.add(new Option(\"Custom\", \"0\"));\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, (0, request_js_1.request)(\"\".concat(aoHost_1.AO_HOST, \"evidence.json\"))];\n case 2:\n evidata = _a.sent();\n evi_array = JSON.parse(evidata);\n // the try catch will fail before here when there is no file\n evi_array.forEach(function (evi) {\n evi_select.add(new Option(evi));\n });\n return [3 /*break*/, 4];\n case 3:\n err_3 = _a.sent();\n console.warn(\"there was no evidence.json file\");\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\nexports.fetchEvidenceList = fetchEvidenceList;\nvar fetchManifest = function () { return __awaiter(void 0, void 0, void 0, function () {\n var manifestdata, err_4;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n return [4 /*yield*/, (0, request_js_1.request)(\"\".concat(aoHost_1.AO_HOST, \"manifest.txt\"))];\n case 1:\n manifestdata = _a.sent();\n client_1.client.manifest = manifestdata.split(/\\r\\n|\\n\\r|\\n|\\r/);\n return [3 /*break*/, 3];\n case 2:\n err_4 = _a.sent();\n console.warn(\"there was no manifest.txt file\");\n return [3 /*break*/, 3];\n case 3: return [2 /*return*/];\n }\n });\n}); };\nexports.fetchManifest = fetchManifest;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fix_last_area = void 0;\nvar client_1 = require(\"../client\");\nvar addTrack_1 = require(\"./addTrack\");\n/**\n * Area list fuckery\n */\nvar fix_last_area = function () {\n if (client_1.client.areas.length > 0) {\n var malplaced = client_1.client.areas.pop().name;\n var areas = document.getElementById(\"areas\");\n areas.removeChild(areas.lastChild);\n (0, addTrack_1.addTrack)(malplaced);\n }\n};\nexports.fix_last_area = fix_last_area;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleBans = void 0;\n/**\n * Handles the kicked packet\n * @param {string} type is it a kick or a ban\n * @param {string} reason why\n */\nvar handleBans = function (type, reason) {\n document.getElementById(\"client_error\").style.display = \"flex\";\n document.getElementById(\"client_errortext\").innerHTML = \"\".concat(type, \":
\").concat(reason.replace(/\\n/g, \"
\"));\n (document.getElementById(\"client_reconnect\")).style.display = \"none\";\n alert(type + \":\\r\" + reason);\n};\nexports.handleBans = handleBans;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCharacterInfo = void 0;\nvar client_1 = require(\"../client\");\nvar encoding_1 = require(\"../encoding\");\nvar iniParse_1 = require(\"../iniParse\");\nvar request_1 = require(\"../services/request\");\nvar fileExists_1 = require(\"../utils/fileExists\");\nvar aoHost_1 = require(\"./aoHost\");\n/**\n * Handles the incoming character information, and downloads the sprite + ini for it\n * @param {Array} chargs packet arguments\n * @param {Number} charid character ID\n */\nvar handleCharacterInfo = function (chargs, charid) { return __awaiter(void 0, void 0, void 0, function () {\n var img, cini, getCharIcon, cinidata, err_1, mute_select, pair_select, default_options, default_emotions;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n img = document.getElementById(\"demo_\".concat(charid));\n if (!chargs[0]) return [3 /*break*/, 5];\n cini = {};\n getCharIcon = function () { return __awaiter(void 0, void 0, void 0, function () {\n var extensions, charIconBaseUrl, i, fileUrl, exists;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n extensions = [\".png\", \".webp\"];\n img.alt = chargs[0];\n charIconBaseUrl = \"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(chargs[0].toLowerCase()), \"/char_icon\");\n i = 0;\n _a.label = 1;\n case 1:\n if (!(i < extensions.length)) return [3 /*break*/, 4];\n fileUrl = charIconBaseUrl + extensions[i];\n return [4 /*yield*/, (0, fileExists_1.default)(fileUrl)];\n case 2:\n exists = _a.sent();\n if (exists) {\n img.alt = chargs[0];\n img.title = chargs[0];\n img.src = fileUrl;\n return [2 /*return*/];\n }\n _a.label = 3;\n case 3:\n i++;\n return [3 /*break*/, 1];\n case 4: return [2 /*return*/];\n }\n });\n }); };\n getCharIcon();\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, (0, request_1.default)(\"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(chargs[0].toLowerCase()), \"/char.ini\"))];\n case 2:\n cinidata = _a.sent();\n cini = (0, iniParse_1.default)(cinidata);\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n cini = {};\n img.classList.add(\"noini\");\n console.warn(\"character \".concat(chargs[0], \" is missing from webAO\"));\n return [3 /*break*/, 4];\n case 4:\n mute_select = (document.getElementById(\"mute_select\"));\n mute_select.add(new Option((0, encoding_1.safeTags)(chargs[0]), String(charid)));\n pair_select = (document.getElementById(\"pair_select\"));\n pair_select.add(new Option((0, encoding_1.safeTags)(chargs[0]), String(charid)));\n default_options = {\n name: chargs[0],\n showname: chargs[0],\n side: \"def\",\n blips: \"male\",\n chat: \"\",\n category: \"\",\n };\n cini.options = Object.assign(default_options, cini.options);\n default_emotions = {\n number: 0,\n };\n cini.emotions = Object.assign(default_emotions, cini.emotions);\n client_1.client.chars[charid] = {\n name: (0, encoding_1.safeTags)(chargs[0]),\n showname: (0, encoding_1.safeTags)(cini.options.showname),\n desc: (0, encoding_1.safeTags)(chargs[1]),\n blips: (0, encoding_1.safeTags)(cini.options.blips).toLowerCase(),\n gender: (0, encoding_1.safeTags)(cini.options.gender).toLowerCase(),\n side: (0, encoding_1.safeTags)(cini.options.side).toLowerCase(),\n chat: cini.options.chat === \"\"\n ? (0, encoding_1.safeTags)(cini.options.category).toLowerCase()\n : (0, encoding_1.safeTags)(cini.options.chat).toLowerCase(),\n evidence: chargs[3],\n icon: img.src,\n inifile: cini,\n muted: false,\n };\n if (client_1.client.chars[charid].blips === \"male\" &&\n client_1.client.chars[charid].gender !== \"male\" &&\n client_1.client.chars[charid].gender !== \"\") {\n client_1.client.chars[charid].blips = client_1.client.chars[charid].gender;\n }\n return [3 /*break*/, 6];\n case 5:\n console.warn(\"missing charid \".concat(charid));\n img.style.display = \"none\";\n _a.label = 6;\n case 6: return [2 /*return*/];\n }\n });\n}); };\nexports.handleCharacterInfo = handleCharacterInfo;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isAudio = void 0;\nvar isAudio = function (trackname) {\n var audioEndings = [\".wav\", \".mp3\", \".ogg\", \".opus\"];\n return (audioEndings.filter(function (ending) { return trackname.endsWith(ending); }).length === 1);\n};\nexports.isAudio = isAudio;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isLowMemory = void 0;\nvar client_1 = require(\"../client\");\nvar isLowMemory = function () {\n if (/webOS|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|PlayStation|Nintendo|Opera Mini/i.test(navigator.userAgent)) {\n (0, client_1.setOldLoading)(true);\n }\n};\nexports.isLowMemory = isLowMemory;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.loadResources = void 0;\nvar getCookie_1 = require(\"../utils/getCookie\");\nvar evidence_js_1 = require(\"../constants/evidence.js\");\nvar backgrounds_js_1 = require(\"../constants/backgrounds.js\");\nvar changeMusicVolume_1 = require(\"../dom/changeMusicVolume\");\nvar setChatbox_1 = require(\"../dom/setChatbox\");\nvar changeVolume_1 = require(\"../dom/changeVolume\");\nvar showNameClick_1 = require(\"../dom/showNameClick\");\nvar changeBlipVolume_1 = require(\"../dom/changeBlipVolume\");\nvar reloadTheme_1 = require(\"../dom/reloadTheme\");\nvar version = process.env.npm_package_version;\n/**\n * Load game resources and stored settings.\n */\nvar loadResources = function () {\n document.getElementById(\"client_version\").innerText = \"version \".concat(version);\n // Load background array to select\n var background_select = (document.getElementById(\"bg_select\"));\n background_select.add(new Option(\"Custom\", \"0\"));\n backgrounds_js_1.default.forEach(function (background) {\n background_select.add(new Option(background));\n });\n // Load evidence array to select\n var evidence_select = (document.getElementById(\"evi_select\"));\n evidence_select.add(new Option(\"Custom\", \"0\"));\n evidence_js_1.default.forEach(function (evidence) {\n evidence_select.add(new Option(evidence));\n });\n // Read cookies and set the UI to its values\n document.getElementById(\"OOC_name\").value =\n (0, getCookie_1.default)(\"OOC_name\") ||\n \"web\".concat(String(Math.round(Math.random() * 100 + 10)));\n // Read cookies and set the UI to its values\n var cookietheme = (0, getCookie_1.default)(\"theme\") || \"default\";\n (document.querySelector(\"#client_themeselect [value=\\\"\".concat(cookietheme, \"\\\"]\"))).selected = true;\n (0, reloadTheme_1.reloadTheme)();\n var cookiechatbox = (0, getCookie_1.default)(\"chatbox\") || \"dynamic\";\n (document.querySelector(\"#client_chatboxselect [value=\\\"\".concat(cookiechatbox, \"\\\"]\"))).selected = true;\n (0, setChatbox_1.setChatbox)(cookiechatbox);\n document.getElementById(\"client_mvolume\").value =\n (0, getCookie_1.default)(\"musicVolume\") || \"1\";\n (0, changeMusicVolume_1.changeMusicVolume)();\n document.getElementById(\"client_sfxaudio\").volume =\n Number((0, getCookie_1.default)(\"sfxVolume\")) || 1;\n (0, changeVolume_1.changeSFXVolume)();\n document.getElementById(\"client_shoutaudio\").volume =\n Number((0, getCookie_1.default)(\"shoutVolume\")) || 1;\n (0, changeVolume_1.changeShoutVolume)();\n (document.getElementById(\"client_testimonyaudio\")).volume = Number((0, getCookie_1.default)(\"testimonyVolume\")) || 1;\n (0, changeVolume_1.changeTestimonyVolume)();\n document.getElementById(\"client_bvolume\").value =\n (0, getCookie_1.default)(\"blipVolume\") || \"1\";\n (0, changeBlipVolume_1.changeBlipVolume)();\n document.getElementById(\"ic_chat_name\").value =\n (0, getCookie_1.default)(\"ic_chat_name\");\n document.getElementById(\"showname\").checked = Boolean((0, getCookie_1.default)(\"showname\"));\n (0, showNameClick_1.showname_click)(null);\n document.getElementById(\"client_callwords\").value =\n (0, getCookie_1.default)(\"callwords\");\n};\nexports.loadResources = loadResources;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resetICParams = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Resets the IC parameters for the player to enter a new chat message.\n * This should only be called when the player's previous chat message\n * was successfully sent/presented.\n */\nfunction resetICParams() {\n document.getElementById(\"client_inputbox\").value = \"\";\n document.getElementById(\"button_flash\").className = \"client_button\";\n document.getElementById(\"button_shake\").className = \"client_button\";\n document.getElementById(\"sendpreanim\").checked = false;\n document.getElementById(\"sendsfx\").checked = false;\n if (client_1.selectedShout) {\n document.getElementById(\"button_\".concat(client_1.selectedShout)).className =\n \"client_button\";\n (0, client_1.setSelectedShout)(0);\n }\n}\nexports.resetICParams = resetICParams;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.saveChatlogHandle = void 0;\nvar downloadFile_1 = require(\"../services/downloadFile\");\nvar saveChatlogHandle = function () { return __awaiter(void 0, void 0, void 0, function () {\n var clientLog, icMessageLogs, messages, i, SHOWNAME_POSITION, TEXT_POSITION, showname, text, message, d, ye, mo, da, filename;\n return __generator(this, function (_a) {\n clientLog = document.getElementById(\"client_log\");\n icMessageLogs = clientLog.getElementsByTagName(\"p\");\n messages = [];\n for (i = 0; i < icMessageLogs.length; i++) {\n SHOWNAME_POSITION = 0;\n TEXT_POSITION = 2;\n showname = icMessageLogs[i].children[SHOWNAME_POSITION].innerHTML;\n text = icMessageLogs[i].children[TEXT_POSITION].innerHTML;\n message = \"\".concat(showname, \": \").concat(text);\n messages.push(message);\n }\n d = new Date();\n ye = new Intl.DateTimeFormat(\"en\", { year: \"numeric\" }).format(d);\n mo = new Intl.DateTimeFormat(\"en\", { month: \"short\" }).format(d);\n da = new Intl.DateTimeFormat(\"en\", { day: \"2-digit\" }).format(d);\n filename = \"chatlog-\".concat(da, \"-\").concat(mo, \"-\").concat(ye).toLowerCase();\n (0, downloadFile_1.default)(messages.join(\"\\n\"), filename);\n // Reset Chatbox to Empty\n document.getElementById(\"client_inputbox\").value = \"\";\n return [2 /*return*/];\n });\n}); };\nexports.saveChatlogHandle = saveChatlogHandle;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sender = void 0;\nvar sendIC_1 = require(\"./sendIC\");\nvar sendSelf_1 = require(\"./sendSelf\");\nvar sendServer_1 = require(\"./sendServer\");\nvar sendCheck_1 = require(\"./sendCheck\");\nvar sendHP_1 = require(\"./sendHP\");\nvar sendOOC_1 = require(\"./sendOOC\");\nvar sendCharacter_1 = require(\"./sendCharacter\");\nvar sendRT_1 = require(\"./sendRT\");\nvar sendMusicChange_1 = require(\"./sendMusicChange\");\nvar sendZZ_1 = require(\"./sendZZ\");\nvar sendEE_1 = require(\"./sendEE\");\nvar sendDE_1 = require(\"./sendDE\");\nvar sendPE_1 = require(\"./sendPE\");\nexports.sender = {\n sendIC: sendIC_1.sendIC,\n sendSelf: sendSelf_1.sendSelf,\n sendServer: sendServer_1.sendServer,\n sendCheck: sendCheck_1.sendCheck,\n sendHP: sendHP_1.sendHP,\n sendOOC: sendOOC_1.sendOOC,\n sendCharacter: sendCharacter_1.sendCharacter,\n sendRT: sendRT_1.sendRT,\n sendMusicChange: sendMusicChange_1.sendMusicChange,\n sendZZ: sendZZ_1.sendZZ,\n sendEE: sendEE_1.sendEE,\n sendDE: sendDE_1.sendDE,\n sendPE: sendPE_1.sendPE\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendCharacter = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Requests to play as a specified character.\n * @param {number} character the character ID\n */\nvar sendCharacter = function (character) {\n if (character === -1 || client_1.client.chars[character].name) {\n client_1.client.sender.sendServer(\"CC#\".concat(client_1.client.playerID, \"#\").concat(character, \"#web#%\"));\n }\n};\nexports.sendCharacter = sendCharacter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendCheck = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends a keepalive packet.\n */\nvar sendCheck = function () {\n client_1.client.sender.sendServer(\"CH#\".concat(client_1.client.charID, \"#%\"));\n};\nexports.sendCheck = sendCheck;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendDE = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends delete evidence command.\n * @param {number} evidence id\n */\nvar sendDE = function (id) {\n client_1.client.sender.sendServer(\"DE#\".concat(id, \"#%\"));\n};\nexports.sendDE = sendDE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendEE = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Sends edit evidence command.\n * @param {number} evidence id\n * @param {string} evidence name\n * @param {string} evidence description\n * @param {string} evidence image filename\n */\nvar sendEE = function (id, name, desc, img) {\n client_1.client.sender.sendServer(\"EE#\".concat(id, \"#\").concat((0, encoding_1.escapeChat)(name), \"#\").concat((0, encoding_1.escapeChat)(desc), \"#\").concat((0, encoding_1.escapeChat)(img), \"#%\"));\n};\nexports.sendEE = sendEE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendHP = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends health point command.\n * @param {number} side the position\n * @param {number} hp the health point\n */\nvar sendHP = function (side, hp) {\n client_1.client.sender.sendServer(\"HP#\".concat(side, \"#\").concat(hp, \"#%\"));\n};\nexports.sendHP = sendHP;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendIC = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\nvar client_2 = require(\"../../client\");\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Sends an in-character chat message.\n * @param {number} deskmod controls the desk\n * @param {string} speaking who is speaking\n * @param {string} name the name of the current character\n * @param {string} silent whether or not it's silent\n * @param {string} message the message to be sent\n * @param {string} side the name of the side in the background\n * @param {string} sfx_name the name of the sound effect\n * @param {number} emote_modifier whether or not to zoom\n * @param {number} sfx_delay the delay (in milliseconds) to play the sound effect\n * @param {number} objection_modifier the number of the shout to play\n * @param {string} evidence the filename of evidence to show\n * @param {boolean} flip change to 1 to reverse sprite for position changes\n * @param {boolean} realization screen flash effect\n * @param {number} text_color text color\n * @param {string} showname custom name to be displayed (optional)\n * @param {number} other_charid paired character (optional)\n * @param {number} self_offset offset to paired character (optional)\n * @param {number} noninterrupting_preanim play the full preanim (optional)\n */\nvar sendIC = function (deskmod, preanim, name, emote, message, side, sfx_name, emote_modifier, sfx_delay, objection_modifier, evidence, flip, realization, text_color, showname, other_charid, self_hoffset, self_yoffset, noninterrupting_preanim, looping_sfx, screenshake, frame_screenshake, frame_realization, frame_sfx, additive, effect) {\n var extra_cccc = \"\";\n var other_emote = \"\";\n var other_offset = \"\";\n var extra_27 = \"\";\n var extra_28 = \"\";\n if (client_1.extrafeatures.includes(\"cccc_ic_support\")) {\n var self_offset = client_1.extrafeatures.includes(\"y_offset\")\n ? \"\".concat(self_hoffset, \"\").concat(self_yoffset)\n : self_hoffset; // HACK: this should be an & but client fucked it up and all the servers adopted it\n if (mode === \"replay\") {\n other_emote = \"##\";\n other_offset = \"#0#0\";\n }\n extra_cccc = \"\".concat((0, encoding_1.escapeChat)(showname), \"#\").concat(other_charid).concat(other_emote, \"#\").concat(self_offset).concat(other_offset, \"#\").concat(Number(noninterrupting_preanim), \"#\");\n if (client_1.extrafeatures.includes(\"looping_sfx\")) {\n extra_27 = \"\".concat(Number(looping_sfx), \"#\").concat(Number(screenshake), \"#\").concat(frame_screenshake, \"#\").concat(frame_realization, \"#\").concat(frame_sfx, \"#\");\n if (client_1.extrafeatures.includes(\"effects\")) {\n extra_28 = \"\".concat(Number(additive), \"#\").concat((0, encoding_1.escapeChat)(effect), \"#\");\n }\n }\n }\n var serverMessage = \"MS#\".concat(deskmod, \"#\").concat((0, encoding_1.escapeChat)(preanim), \"#\").concat((0, encoding_1.escapeChat)(name), \"#\").concat((0, encoding_1.escapeChat)(emote)) +\n \"#\".concat((0, encoding_1.escapeChat)(message), \"#\").concat((0, encoding_1.escapeChat)(side), \"#\").concat((0, encoding_1.escapeChat)(sfx_name), \"#\").concat(emote_modifier) +\n \"#\".concat(client_2.client.charID, \"#\").concat(sfx_delay, \"#\").concat(Number(objection_modifier), \"#\").concat(Number(evidence), \"#\").concat(Number(flip), \"#\").concat(Number(realization), \"#\").concat(text_color, \"#\").concat(extra_cccc).concat(extra_27).concat(extra_28, \"%\");\n client_2.client.sender.sendServer(serverMessage);\n if (mode === \"replay\") {\n (document.getElementById(\"client_ooclog\")).value += \"wait#\".concat(document.getElementById(\"client_replaytimer\").value, \"#%\\r\\n\");\n }\n};\nexports.sendIC = sendIC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendMusicChange = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Requests to change the music to the specified track.\n * @param {string} track the track ID\n */\nvar sendMusicChange = function (track) {\n client_1.client.sender.sendServer(\"MC#\".concat(track, \"#\").concat(client_1.client.charID, \"#%\"));\n};\nexports.sendMusicChange = sendMusicChange;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendOOC = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\nvar setCookie_1 = require(\"../../utils/setCookie\");\nvar saveChatLogHandle_1 = require(\"../../client/saveChatLogHandle\");\n/**\n * Sends an out-of-character chat message.\n * @param {string} message the message to send\n */\nvar sendOOC = function (message) {\n (0, setCookie_1.default)(\"OOC_name\", document.getElementById(\"OOC_name\").value);\n var oocName = \"\".concat((0, encoding_1.escapeChat)(document.getElementById(\"OOC_name\").value));\n var oocMessage = \"\".concat((0, encoding_1.escapeChat)(message));\n var commands = {\n \"/save_chatlog\": saveChatLogHandle_1.saveChatlogHandle,\n };\n var commandsMap = new Map(Object.entries(commands));\n if (oocMessage && commandsMap.has(oocMessage.toLowerCase())) {\n try {\n commandsMap.get(oocMessage.toLowerCase())();\n }\n catch (e) {\n // Command Not Recognized\n }\n }\n else {\n client_1.client.sender.sendServer(\"CT#\".concat(oocName, \"#\").concat(oocMessage, \"#%\"));\n }\n};\nexports.sendOOC = sendOOC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendPE = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Sends add evidence command.\n * @param {string} evidence name\n * @param {string} evidence description\n * @param {string} evidence image filename\n */\nvar sendPE = function (name, desc, img) {\n client_1.client.sender.sendServer(\"PE#\".concat((0, encoding_1.escapeChat)(name), \"#\").concat((0, encoding_1.escapeChat)(desc), \"#\").concat((0, encoding_1.escapeChat)(img), \"#%\"));\n};\nexports.sendPE = sendPE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendRT = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends testimony command.\n * @param {string} testimony type\n */\nvar sendRT = function (testimony) {\n client_1.client.sender.sendServer(\"RT#\".concat(testimony, \"#%\"));\n};\nexports.sendRT = sendRT;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendSelf = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Hook for sending messages to the client\n * @param {string} message the message to send\n */\nvar sendSelf = function (message) {\n (document.getElementById(\"client_ooclog\")).value += \"\".concat(message, \"\\r\\n\");\n client_1.client.handleSelf(message);\n};\nexports.sendSelf = sendSelf;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendServer = void 0;\nvar client_1 = require(\"../../client\");\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Hook for sending messages to the server\n * @param {string} message the message to send\n */\nvar sendServer = function (message) {\n console.debug(\"C: \" + message);\n mode === \"replay\" ? client_1.client.sender.sendSelf(message) : client_1.client.serv.send(message);\n};\nexports.sendServer = sendServer;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendZZ = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends call mod command.\n * @param {string} message to mod\n */\nvar sendZZ = function (msg) {\n if (client_1.extrafeatures.includes(\"modcall_reason\")) {\n client_1.client.sender.sendServer(\"ZZ#\".concat(msg, \"#%\"));\n }\n else {\n client_1.client.sender.sendServer(\"ZZ#%\");\n }\n};\nexports.sendZZ = sendZZ;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar transparentPng_1 = require(\"../constants/transparentPng\");\nvar fileExists_1 = require(\"../utils/fileExists\");\n/**\n * Sets all the img tags to the right sources\n * @param {*} chatmsg\n */\nvar setEmote = function (AO_HOST, client, charactername, emotename, prefix, pair, side) { return __awaiter(void 0, void 0, void 0, function () {\n var pairID, characterFolder, acceptedPositions, position, emoteSelector, extensionsMap, extensionsMap_1, extensionsMap_1_1, extension, url, exists, e_1_1;\n var e_1, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n pairID = pair ? \"pair\" : \"char\";\n characterFolder = \"\".concat(AO_HOST, \"characters/\");\n acceptedPositions = [\"def\", \"pro\", \"wit\"];\n position = acceptedPositions.includes(side) ? \"\".concat(side, \"_\") : \"\";\n emoteSelector = document.getElementById(\"client_\".concat(position).concat(pairID, \"_img\"));\n extensionsMap = [\".gif\", \".png\", \".apng\", \".webp\", \".webp.static\"];\n _b.label = 1;\n case 1:\n _b.trys.push([1, 6, 7, 8]);\n extensionsMap_1 = __values(extensionsMap), extensionsMap_1_1 = extensionsMap_1.next();\n _b.label = 2;\n case 2:\n if (!!extensionsMap_1_1.done) return [3 /*break*/, 5];\n extension = extensionsMap_1_1.value;\n // Hides all sprites before creating a new sprite\n if (client.viewport.getLastCharacter() !== client.viewport.getChatmsg().name) {\n emoteSelector.src = transparentPng_1.default;\n }\n url = void 0;\n if (extension === \".png\") {\n url = \"\".concat(characterFolder).concat(encodeURI(charactername), \"/\").concat(encodeURI(emotename)).concat(extension);\n }\n else if (extension === \".webp.static\") {\n url = \"\".concat(characterFolder).concat(encodeURI(charactername), \"/\").concat(encodeURI(emotename), \".webp\");\n }\n else {\n url = \"\".concat(characterFolder).concat(encodeURI(charactername), \"/\").concat(encodeURI(prefix)).concat(encodeURI(emotename)).concat(extension);\n }\n return [4 /*yield*/, (0, fileExists_1.default)(url)];\n case 3:\n exists = _b.sent();\n if (exists) {\n emoteSelector.src = url;\n return [3 /*break*/, 5];\n }\n _b.label = 4;\n case 4:\n extensionsMap_1_1 = extensionsMap_1.next();\n return [3 /*break*/, 2];\n case 5: return [3 /*break*/, 8];\n case 6:\n e_1_1 = _b.sent();\n e_1 = { error: e_1_1 };\n return [3 /*break*/, 8];\n case 7:\n try {\n if (extensionsMap_1_1 && !extensionsMap_1_1.done && (_a = extensionsMap_1.return)) _a.call(extensionsMap_1);\n }\n finally { if (e_1) throw e_1.error; }\n return [7 /*endfinally*/];\n case 8: return [2 /*return*/];\n }\n });\n}); };\nexports.default = setEmote;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.area_click = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Triggered when an item on the area list is clicked.\n * @param {HTMLElement} el\n */\nfunction area_click(el) {\n var area = client_1.client.areas[el.id.substr(4)].name;\n client_1.client.sender.sendMusicChange(area);\n var areaHr = document.createElement(\"div\");\n areaHr.className = \"hrtext\";\n areaHr.textContent = \"switched to \".concat(el.textContent);\n document.getElementById(\"client_log\").appendChild(areaHr);\n}\nexports.area_click = area_click;\nwindow.area_click = area_click;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.changeBlipVolume = void 0;\nvar setCookie_1 = require(\"../utils/setCookie\");\nvar client_1 = require(\"../client\");\n/**\n * Triggered by the blip volume slider.\n */\nvar changeBlipVolume = function () {\n var blipVolume = (document.getElementById(\"client_bvolume\")).value;\n client_1.client.viewport.blipChannels.forEach(function (channel) { return (channel.volume = Number(blipVolume)); });\n (0, setCookie_1.default)(\"blipVolume\", blipVolume);\n};\nexports.changeBlipVolume = changeBlipVolume;\nwindow.changeBlipVolume = exports.changeBlipVolume;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.changeMusicVolume = void 0;\nvar client_1 = require(\"../client\");\nvar setCookie_1 = require(\"../utils/setCookie\");\nvar changeMusicVolume = function (volume) {\n if (volume === void 0) { volume = -1; }\n var clientVolume = Number(document.getElementById(\"client_mvolume\").value);\n var musicVolume = volume === -1 ? clientVolume : volume;\n client_1.client.viewport.music.forEach(function (channel) { return (channel.volume = musicVolume); });\n (0, setCookie_1.default)(\"musicVolume\", String(musicVolume));\n};\nexports.changeMusicVolume = changeMusicVolume;\nwindow.changeMusicVolume = exports.changeMusicVolume;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getIndexFromSelect = void 0;\n/**\n * Find index of anything in select box.\n * @param {string} select_box the select element name\n * @param {string} value the value that need to be compared\n */\nfunction getIndexFromSelect(select_box, value) {\n // Find if icon alraedy existed in select box\n var select_element = document.getElementById(select_box);\n for (var i = 1; i < select_element.length; ++i) {\n if (select_element.options[i].value === value) {\n return i;\n }\n }\n return 0;\n}\nexports.getIndexFromSelect = getIndexFromSelect;\nwindow.getIndexFromSelect = getIndexFromSelect;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.onReplayGo = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Triggered when the user click replay GOOOOO\n * @param {KeyboardEvent} event\n */\nfunction onReplayGo(_event) {\n client_1.client.handleReplay();\n}\nexports.onReplayGo = onReplayGo;\nwindow.onReplayGo = onReplayGo;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.opusCheck = void 0;\n/**\n * Triggered when there was an error loading a sound\n * @param {HTMLAudioElement} image the element containing the missing sound\n */\nfunction opusCheck(channel) {\n var audio = channel.src;\n if (audio === \"\") {\n return;\n }\n console.warn(\"failed to load sound \".concat(channel.src));\n var oldsrc = \"\";\n var newsrc = \"\";\n oldsrc = channel.src;\n if (!oldsrc.endsWith(\".opus\")) {\n newsrc = oldsrc.replace(\".mp3\", \".opus\");\n newsrc = newsrc.replace(\".wav\", \".opus\");\n channel.src = newsrc; // unload so the old sprite doesn't persist\n }\n}\nexports.opusCheck = opusCheck;\nwindow.opusCheck = opusCheck;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.pickEmotion = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Highlights and selects an emotion for in-character chat.\n * @param {string} emo the new emotion to be selected\n */\nfunction pickEmotion(emo) {\n try {\n if (client_1.client.selectedEmote !== -1) {\n document.getElementById(\"emo_\".concat(client_1.client.selectedEmote)).className =\n \"emote_button\";\n }\n }\n catch (err) {\n // do nothing\n }\n client_1.client.selectedEmote = emo;\n document.getElementById(\"emo_\".concat(emo)).className = \"emote_button dark\";\n document.getElementById(\"sendsfx\").checked =\n client_1.client.emote.sfx.length > 1;\n document.getElementById(\"sendpreanim\").checked =\n client_1.client.emote.zoom == 1;\n}\nexports.pickEmotion = pickEmotion;\nwindow.pickEmotion = pickEmotion;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reloadTheme = void 0;\nvar client_1 = require(\"../client\");\nvar setCookie_1 = require(\"../utils/setCookie\");\n/**\n * Triggered by the theme selector.\n */\nvar reloadTheme = function () {\n client_1.client.viewport.setTheme(document.getElementById(\"client_themeselect\")\n .value);\n (0, setCookie_1.default)(\"theme\", client_1.client.viewport.getTheme());\n (document.getElementById(\"client_theme\")).href = \"styles/\".concat(client_1.client.viewport.getTheme(), \".css\");\n};\nexports.reloadTheme = reloadTheme;\nwindow.reloadTheme = exports.reloadTheme;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resizeChatbox = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Set the font size for the chatbox\n */\nfunction resizeChatbox() {\n var chatContainerBox = document.getElementById(\"client_chatcontainer\");\n var clockBox = document.getElementById(\"client_clock\");\n var trackstatusBox = document.getElementById(\"client_trackstatus\");\n var gameHeight = document.getElementById(\"client_background\").offsetHeight;\n chatContainerBox.style.fontSize = \"\".concat((gameHeight * 0.0521).toFixed(1), \"px\");\n clockBox.style.fontSize = \"\".concat((gameHeight * 0.0521).toFixed(1), \"px\");\n trackstatusBox.style.fontSize = \"\".concat((gameHeight * 0.0521).toFixed(1), \"px\");\n var trackstatus = (document.getElementById(\"client_trackstatustext\"));\n trackstatus.style.width = (trackstatus.offsetWidth - 1) + \"px\";\n //clock\n var now = new Date();\n var weekday = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"];\n var month = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"];\n document.getElementById(\"client_clock_month\").innerText = month[now.getMonth()];\n if (client_1.CHATBOX == \"acww\") {\n weekday = [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"];\n document.getElementById(\"client_clock_weekday\").innerText = weekday[now.getDay()];\n document.getElementById(\"client_clock_date\").innerText = now.getDay() + \"/\" + now.getMonth();\n document.getElementById(\"client_clock_time\").innerText = now.getHours() + \":\" + now.getMinutes();\n }\n else if (client_1.CHATBOX == \"key\") {\n weekday = [\"Sun.\", \"Mon.\", \"Tue.\", \"Wed.\", \"Thu.\", \"Fri.\", \"Sat.\"];\n document.getElementById(\"client_clock_weekday\").innerText = weekday[now.getDay()];\n document.getElementById(\"client_clock_date\").innerText = String(now.getDate());\n }\n}\nexports.resizeChatbox = resizeChatbox;\nwindow.resizeChatbox = resizeChatbox;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setChatbox = void 0;\nvar client_1 = require(\"../client\");\nvar chatboxes_js_1 = require(\"../styles/chatbox/chatboxes.js\");\nvar setCookie_1 = require(\"../utils/setCookie\");\n/**\n * Set the style of the chatbox\n */\nfunction setChatbox(setstyle) {\n var chatbox_theme = (document.getElementById(\"chatbox_theme\"));\n var themeselect = (document.getElementById(\"client_chatboxselect\"));\n (0, client_1.setCHATBOX)(themeselect.value);\n (0, setCookie_1.default)(\"chatbox\", client_1.CHATBOX);\n if (client_1.CHATBOX === \"dynamic\") {\n var style = setstyle.replace(\"chat\", \"\");\n if (chatboxes_js_1.default.includes(style)) {\n chatbox_theme.href = \"styles/chatbox/\".concat(style, \".css\");\n }\n else {\n chatbox_theme.href = \"styles/chatbox/aa.css\";\n }\n }\n else {\n chatbox_theme.href = \"styles/chatbox/\".concat(client_1.CHATBOX, \".css\");\n }\n}\nexports.setChatbox = setChatbox;\nwindow.setChatbox = setChatbox;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.showname_click = void 0;\nvar setCookie_1 = require(\"../utils/setCookie\");\n/**\n * Triggered when the showname checkboc is clicked\n * @param {MouseEvent} event\n */\nfunction showname_click(_event) {\n (0, setCookie_1.default)(\"showname\", String(document.getElementById(\"showname\").checked));\n (0, setCookie_1.default)(\"ic_chat_name\", document.getElementById(\"ic_chat_name\").value);\n var css_s = document.getElementById(\"nameplate_setting\");\n if (document.getElementById(\"showname\").checked) {\n css_s.href = \"styles/shownames.css\";\n }\n else {\n css_s.href = \"styles/nameplates.css\";\n }\n}\nexports.showname_click = showname_click;\nwindow.showname_click = showname_click;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.showFactorDialog = void 0;\nvar client_1 = require(\"../client\");\nfunction handleCredentialResponse(response) {\n client_1.client.sender.sendServer(\"2T#\".concat(response.credential, \"#%\"));\n}\nwindow.handleCredentialResponse = handleCredentialResponse;\nfunction showFactorDialog(args) {\n document.getElementById(\"client_secondfactor\").style.display = args[1];\n}\nexports.showFactorDialog = showFactorDialog;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.updateActionCommands = void 0;\n/**\n * Update evidence icon.\n */\nfunction updateActionCommands(side) {\n if (side === \"jud\") {\n document.getElementById(\"judge_action\").style.display = \"inline-table\";\n document.getElementById(\"no_action\").style.display = \"none\";\n }\n else {\n document.getElementById(\"judge_action\").style.display = \"none\";\n document.getElementById(\"no_action\").style.display = \"inline-table\";\n }\n // Update role selector\n for (var i = 0, role_select = document.getElementById(\"role_select\"); i < role_select.options.length; i++) {\n if (side === role_select.options[i].value) {\n role_select.options.selectedIndex = i;\n return;\n }\n }\n}\nexports.updateActionCommands = updateActionCommands;\nwindow.updateActionCommands = updateActionCommands;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.updateBackgroundPreview = void 0;\nvar aoHost_1 = require(\"../client/aoHost\");\nvar tryUrls_1 = require(\"../utils/tryUrls\");\n/**\n * Update background preview.\n */\nfunction updateBackgroundPreview() {\n var background_select = (document.getElementById(\"bg_select\"));\n var background_filename = (document.getElementById(\"bg_filename\"));\n var background_preview = (document.getElementById(\"bg_preview\"));\n if (background_select.selectedIndex === 0) {\n background_filename.style.display = \"initial\";\n }\n else {\n background_filename.style.display = \"none\";\n }\n (0, tryUrls_1.default)(\"\".concat(aoHost_1.AO_HOST, \"background/\").concat(encodeURI(background_select.value.toLowerCase()), \"/defenseempty\")).then(function (resp) {\n background_preview.src = resp;\n });\n}\nexports.updateBackgroundPreview = updateBackgroundPreview;\nwindow.updateBackgroundPreview = updateBackgroundPreview;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.prepChat = exports.decodeChat = exports.safeTags = exports.unescapeChat = exports.escapeChat = void 0;\n/**\n * Escapes a string to AO1 escape codes.\n * @param {string} estring the string to be escaped\n */\nfunction escapeChat(estring) {\n return estring\n .replaceAll('#', '')\n .replaceAll('&', '')\n .replaceAll('%', '')\n .replaceAll('$', '');\n}\nexports.escapeChat = escapeChat;\n/**\n * Unescapes a string to AO1 escape codes.\n * @param {string} estring the string to be unescaped\n */\nfunction unescapeChat(estring) {\n return estring\n .replaceAll('', '#')\n .replaceAll('', '&')\n .replaceAll('', '%')\n .replaceAll('', '$');\n}\nexports.unescapeChat = unescapeChat;\n/**\n * Escapes a string to be HTML-safe.\n *\n * XXX: This is unnecessary if we use `createTextNode` instead!\n * @param {string} unsafe an unsanitized string\n */\nfunction safeTags(unsafe) {\n if (unsafe) {\n return unsafe\n .replaceAll('>', '>')\n .replaceAll('<', '<');\n }\n return '';\n}\nexports.safeTags = safeTags;\n/**\n * Decodes text on client side.\n * @param {string} estring the string to be decoded\n */\nfunction decodeChat(estring) {\n // Source: https://stackoverflow.com/questions/7885096/how-do-i-decode-a-string-with-escaped-unicode\n return estring.replace(/\\\\u([\\d\\w]{1,})/gi, function (match, group) { return String.fromCharCode(parseInt(group, 16)); });\n}\nexports.decodeChat = decodeChat;\n/**\n * XXX: a nasty hack made by gameboyprinter.\n * @param {string} msg chat message to prepare for display\n */\nfunction prepChat(msg) {\n // TODO: make this less awful\n return safeTags(unescapeChat(decodeChat(msg)));\n}\nexports.prepChat = prepChat;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleARUP = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handle the change of players in an area.\n * @param {Array} args packet arguments\n */\nvar handleARUP = function (args) {\n args = args.slice(1);\n for (var i = 0; i < args.length - 2; i++) {\n if (client_1.client.areas[i]) {\n // the server sends us ARUP before we even get the area list\n var thisarea = document.getElementById(\"area\".concat(i));\n switch (Number(args[0])) {\n case 0: // playercount\n client_1.client.areas[i].players = Number(args[i + 1]);\n break;\n case 1: // status\n client_1.client.areas[i].status = (0, encoding_1.safeTags)(args[i + 1]);\n break;\n case 2:\n client_1.client.areas[i].cm = (0, encoding_1.safeTags)(args[i + 1]);\n break;\n case 3:\n client_1.client.areas[i].locked = (0, encoding_1.safeTags)(args[i + 1]);\n break;\n }\n thisarea.className = \"area-button area-\".concat(client_1.client.areas[i].status.toLowerCase());\n thisarea.innerText = \"\".concat(client_1.client.areas[i].name, \" (\").concat(client_1.client.areas[i].players, \") [\").concat(client_1.client.areas[i].status, \"]\");\n thisarea.title =\n \"Players: \".concat(client_1.client.areas[i].players, \"\\n\") +\n \"Status: \".concat(client_1.client.areas[i].status, \"\\n\") +\n \"CM: \".concat(client_1.client.areas[i].cm, \"\\n\") +\n \"Area lock: \".concat(client_1.client.areas[i].locked);\n }\n }\n};\nexports.handleARUP = handleARUP;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleASS = void 0;\nvar aoHost_1 = require(\"../../client/aoHost\");\n/**\n* new asset url!!\n* @param {Array} args packet arguments\n*/\nvar handleASS = function (args) {\n if (args[1] !== \"None\")\n (0, aoHost_1.setAOhost)(args[1]);\n};\nexports.handleASS = handleASS;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleBB = void 0;\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles the warning packet\n * on client this spawns a message box you can't close for 2 seconds\n * @param {Array} args ban reason\n */\nvar handleBB = function (args) {\n alert((0, encoding_1.safeTags)(args[1]));\n};\nexports.handleBB = handleBB;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleBD = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\nvar handleBans_1 = require(\"../../client/handleBans\");\n/**\n * Handles the banned packet\n * this one is sent when you try to reconnect but you're banned\n * @param {Array} args ban reason\n */\nvar handleBD = function (args) {\n (0, handleBans_1.handleBans)(\"Banned\", (0, encoding_1.safeTags)(args[1]));\n (0, client_1.setBanned)(true);\n};\nexports.handleBD = handleBD;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleBN = void 0;\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar encoding_1 = require(\"../../encoding\");\nvar updateBackgroundPreview_1 = require(\"../../dom/updateBackgroundPreview\");\nvar getIndexFromSelect_1 = require(\"../../dom/getIndexFromSelect\");\nvar tryUrls_1 = require(\"../../utils/tryUrls\");\n/**\n * Handles a background change.\n * @param {Array} args packet arguments\n */\nvar handleBN = function (args) {\n var bgFromArgs = (0, encoding_1.safeTags)(args[1]);\n client_1.client.viewport.setBackgroundName(bgFromArgs);\n var bgfolder = client_1.client.viewport.getBackgroundFolder();\n var bg_index = (0, getIndexFromSelect_1.getIndexFromSelect)(\"bg_select\", client_1.client.viewport.getBackgroundName());\n document.getElementById(\"bg_select\").selectedIndex =\n bg_index;\n (0, updateBackgroundPreview_1.updateBackgroundPreview)();\n if (bg_index === 0) {\n document.getElementById(\"bg_filename\").value =\n client_1.client.viewport.getBackgroundName();\n }\n (0, tryUrls_1.default)(\"\".concat(aoHost_1.AO_HOST, \"background/\").concat(encodeURI(args[1].toLowerCase()), \"/defenseempty\")).then(function (resp) {\n document.getElementById(\"bg_preview\").src = resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"defensedesk\")).then(function (resp) {\n document.getElementById(\"client_def_bench\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"stand\")).then(function (resp) {\n document.getElementById(\"client_wit_bench\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"prosecutiondesk\")).then(function (resp) {\n document.getElementById(\"client_pro_bench\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"full\")).then(function (resp) {\n document.getElementById(\"client_court\").src = resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"defenseempty\")).then(function (resp) {\n document.getElementById(\"client_court_def\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"transition_def\")).then(function (resp) {\n document.getElementById(\"client_court_deft\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"witnessempty\")).then(function (resp) {\n document.getElementById(\"client_court_wit\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"transition_pro\")).then(function (resp) {\n document.getElementById(\"client_court_prot\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"prosecutorempty\")).then(function (resp) {\n document.getElementById(\"client_court_pro\").src =\n resp;\n });\n if (client_1.client.charID === -1) {\n client_1.client.viewport.set_side({\n position: \"jud\",\n showSpeedLines: false,\n showDesk: true,\n });\n }\n else {\n client_1.client.viewport.set_side({\n position: client_1.client.chars[client_1.client.charID].side,\n showSpeedLines: false,\n showDesk: true,\n });\n }\n};\nexports.handleBN = handleBN;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCC = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * What? you want a character??\n * @param {Array} args packet arguments\n */\nvar handleCC = function (args) {\n client_1.client.sender.sendSelf(\"PV#1#CID#\".concat(args[2], \"#%\"));\n};\nexports.handleCC = handleCC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCI = void 0;\nvar client_1 = require(\"../../client\");\nvar handleCharacterInfo_1 = require(\"../../client/handleCharacterInfo\");\n/**\n * Handles incoming character information, bundling multiple characters\n * per packet.\n * CI#0#Phoenix&description&&&&#Miles ...\n * @param {Array} args packet arguments\n */\nvar handleCI = function (args) {\n // Loop through the 10 characters that were sent\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Character \".concat(args[1], \"/\").concat(client_1.client.char_list_length);\n var _loop_1 = function (i) {\n if (i % 2 === 0) {\n var chargs_1 = args[i].split(\"&\");\n var charid_1 = Number(args[i - 1]);\n setTimeout(function () { return (0, handleCharacterInfo_1.handleCharacterInfo)(chargs_1, charid_1); }, 500);\n }\n };\n for (var i = 2; i <= args.length - 2; i++) {\n _loop_1(i);\n }\n // Request the next pack\n client_1.client.sender.sendServer(\"AN#\".concat(Number(args[1]) / 10 + 1, \"#%\"));\n};\nexports.handleCI = handleCI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCT = void 0;\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar encoding_1 = require(\"../../encoding\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Handles an out-of-character chat message.\n * @param {Array} args packet arguments\n */\nvar handleCT = function (args) {\n if (mode !== \"replay\") {\n var oocLog = document.getElementById(\"client_ooclog\");\n oocLog.innerHTML += \"\".concat((0, encoding_1.prepChat)(args[1]), \": \").concat((0, encoding_1.prepChat)(args[2]), \"\\r\\n\");\n if (oocLog.scrollTop > oocLog.scrollHeight - 600) {\n oocLog.scrollTop = oocLog.scrollHeight;\n }\n }\n};\nexports.handleCT = handleCT;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCharsCheck = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Handles the list of all used and vacant characters.\n * @param {Array} args list of all characters represented as a 0 for free or a -1 for taken\n */\nvar handleCharsCheck = function (args) {\n for (var i = 0; i < client_1.client.char_list_length; i++) {\n var img = document.getElementById(\"demo_\".concat(i));\n if (args[i + 1] === \"-1\") {\n img.style.opacity = \"0.25\";\n }\n else if (args[i + 1] === \"0\") {\n img.style.opacity = \"1\";\n }\n }\n};\nexports.handleCharsCheck = handleCharsCheck;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleDONE = void 0;\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Handles the handshake completion packet, meaning the player\n * is ready to select a character.\n *\n * @param {Array} args packet arguments\n */\nvar handleDONE = function (_args) {\n document.getElementById(\"client_loading\").style.display = \"none\";\n if (mode === \"watch\") {\n // Spectators don't need to pick a character\n document.getElementById(\"client_waiting\").style.display = \"none\";\n }\n};\nexports.handleDONE = handleDONE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleEI = void 0;\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles incoming evidence information, containing only one evidence\n * item per packet.\n *\n * EI#id#name&description&type&image&##%\n *\n * @param {Array} args packet arguments\n */\nvar handleEI = function (args) {\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Evidence \".concat(args[1], \"/\").concat(client_1.client.evidence_list_length);\n var evidenceID = Number(args[1]);\n var arg = args[2].split(\"&\");\n client_1.client.evidences[evidenceID] = {\n name: (0, encoding_1.prepChat)(arg[0]),\n desc: (0, encoding_1.prepChat)(arg[1]),\n filename: (0, encoding_1.safeTags)(arg[3]),\n icon: \"\".concat(aoHost_1.AO_HOST, \"evidence/\").concat(encodeURI(arg[3].toLowerCase())),\n };\n client_1.client.sender.sendServer(\"AE\" + (evidenceID + 1) + \"#%\");\n};\nexports.handleEI = handleEI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleEM = void 0;\nvar client_1 = require(\"../../client\");\nvar addTrack_1 = require(\"../../client/addTrack\");\nvar createArea_1 = require(\"../../client/createArea\");\nvar fixLastArea_1 = require(\"../../client/fixLastArea\");\nvar isAudio_1 = require(\"../../client/isAudio\");\n/**\n * Handles incoming music information, containing multiple entries\n * per packet.\n * @param {Array} args packet arguments\n */\nvar handleEM = function (args) {\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Music\";\n if (args[1] === \"0\") {\n client_1.client.resetMusicList();\n client_1.client.resetAreaList();\n client_1.client.musics_time = false;\n }\n for (var i = 2; i < args.length - 1; i++) {\n if (i % 2 === 0) {\n var trackname = args[i];\n var trackindex = Number(args[i - 1]);\n if (client_1.client.musics_time) {\n (0, addTrack_1.addTrack)(trackname);\n }\n else if ((0, isAudio_1.isAudio)(trackname)) {\n client_1.client.musics_time = true;\n (0, fixLastArea_1.fix_last_area)();\n (0, addTrack_1.addTrack)(trackname);\n }\n else {\n (0, createArea_1.createArea)(trackindex, trackname);\n }\n }\n }\n // get the next batch of tracks\n client_1.client.sender.sendServer(\"AM#\".concat(Number(args[1]) / 10 + 1, \"#%\"));\n};\nexports.handleEM = handleEM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleFA = void 0;\nvar client_1 = require(\"../../client\");\nvar createArea_1 = require(\"../../client/createArea\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles updated area list\n * @param {Array} args packet arguments\n */\nvar handleFA = function (args) {\n client_1.client.resetAreaList();\n for (var i = 1; i < args.length; i++) {\n (0, createArea_1.createArea)(i - 1, (0, encoding_1.safeTags)(args[i]));\n }\n};\nexports.handleFA = handleFA;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleFL = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * With this the server tells us which features it supports\n * @param {Array} args list of features\n */\nvar handleFL = function (args) {\n console.info(\"Server-supported features:\");\n console.info(args);\n (0, client_1.setExtraFeatures)(args);\n if (args.includes(\"yellowtext\")) {\n var colorselect = (document.getElementById(\"textcolor\"));\n colorselect.options[colorselect.options.length] = new Option(\"Yellow\", \"5\");\n colorselect.options[colorselect.options.length] = new Option(\"Pink\", \"6\");\n colorselect.options[colorselect.options.length] = new Option(\"Cyan\", \"7\");\n colorselect.options[colorselect.options.length] = new Option(\"Grey\", \"8\");\n }\n if (args.includes(\"cccc_ic_support\")) {\n document.getElementById(\"cccc\").style.display = \"\";\n document.getElementById(\"pairing\").style.display = \"\";\n }\n if (args.includes(\"flipping\")) {\n document.getElementById(\"button_flip\").style.display = \"\";\n }\n if (args.includes(\"looping_sfx\")) {\n document.getElementById(\"button_shake\").style.display = \"\";\n document.getElementById(\"2.7\").style.display = \"\";\n }\n if (args.includes(\"effects\")) {\n document.getElementById(\"2.8\").style.display = \"\";\n }\n if (args.includes(\"y_offset\")) {\n document.getElementById(\"y_offset\").style.display = \"\";\n }\n};\nexports.handleFL = handleFL;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleFM = void 0;\nvar client_1 = require(\"../../client\");\nvar addTrack_1 = require(\"../../client/addTrack\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles updated music list\n * @param {Array} args packet arguments\n */\nvar handleFM = function (args) {\n client_1.client.resetMusicList();\n for (var i = 1; i < args.length - 1; i++) {\n // Check when found the song for the first time\n (0, addTrack_1.addTrack)((0, encoding_1.safeTags)(args[i]));\n }\n};\nexports.handleFM = handleFM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleHI = void 0;\nvar client_1 = require(\"../../client\");\nvar version = process.env.npm_package_version;\n/**\n * Handle the player\n * @param {Array} args packet arguments\n */\nvar handleHI = function (_args) {\n client_1.client.sender.sendSelf(\"ID#1#webAO#\".concat(version, \"#%\"));\n client_1.client.sender.sendSelf(\"FL#fastloading#yellowtext#cccc_ic_support#flipping#looping_sfx#effects#%\");\n};\nexports.handleHI = handleHI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleHP = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Handles a change in the health bars' states.\n * @param {Array} args packet arguments\n */\nvar handleHP = function (args) {\n var percent_hp = Number(args[2]) * 10;\n var healthbox;\n if (args[1] === \"1\") {\n // Def hp\n client_1.client.hp[0] = Number(args[2]);\n healthbox = document.getElementById(\"client_defense_hp\");\n }\n else {\n // Pro hp\n client_1.client.hp[1] = Number(args[2]);\n healthbox = document.getElementById(\"client_prosecutor_hp\");\n }\n (healthbox.getElementsByClassName(\"health-bar\")[0]).style.width = \"\".concat(percent_hp, \"%\");\n};\nexports.handleHP = handleHP;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleID = void 0;\nvar client_1 = require(\"../../client\");\nvar version = process.env.npm_package_version;\n/**\n * Identifies the server and issues a playerID\n * @param {Array} args packet arguments\n */\nvar handleID = function (args) {\n client_1.client.playerID = Number(args[1]);\n var serverSoftware = args[2].split(\"&\")[0];\n var serverVersion;\n if (serverSoftware === \"serverD\") {\n serverVersion = args[2].split(\"&\")[1];\n }\n else if (serverSoftware === \"webAO\") {\n (0, client_1.setOldLoading)(false);\n client_1.client.sender.sendSelf(\"PN#0#1#%\");\n }\n else {\n serverVersion = args[3];\n }\n if (serverSoftware === \"serverD\" && serverVersion === \"1377.152\") {\n (0, client_1.setOldLoading)(true);\n } // bugged version\n if (serverSoftware !== \"webAO\") {\n client_1.client.sender.sendServer(\"ID#webAO#\".concat(version, \"#%\"));\n }\n};\nexports.handleID = handleID;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleJD = void 0;\n/**\n* show/hide judge controls\n* @param {number} show either a 1 or a 0\n*/\nvar handleJD = function (args) {\n if (Number(args[1]) === 1) {\n document.getElementById(\"judge_action\").style.display = \"inline-table\";\n document.getElementById(\"no_action\").style.display = \"none\";\n }\n else {\n document.getElementById(\"judge_action\").style.display = \"none\";\n document.getElementById(\"no_action\").style.display = \"inline-table\";\n }\n};\nexports.handleJD = handleJD;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleKB = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\nvar handleBans_1 = require(\"../../client/handleBans\");\n/**\n * Handles the banned packet\n * this one is sent when you are kicked off the server\n * @param {Array} args ban reason\n */\nvar handleKB = function (args) {\n (0, handleBans_1.handleBans)(\"Banned\", (0, encoding_1.safeTags)(args[1]));\n (0, client_1.setBanned)(true);\n};\nexports.handleKB = handleKB;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleKK = void 0;\nvar encoding_1 = require(\"../../encoding\");\nvar handleBans_1 = require(\"../../client/handleBans\");\n/**\n * Handles the kicked packet\n * @param {Array} args kick reason\n */\nvar handleKK = function (args) {\n (0, handleBans_1.handleBans)(\"Kicked\", (0, encoding_1.safeTags)(args[1]));\n};\nexports.handleKK = handleKK;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleLE = void 0;\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles incoming evidence list, all evidences at once\n * item per packet.\n *\n * @param {Array} args packet arguments\n */\nvar handleLE = function (args) {\n client_1.client.evidences = [];\n for (var i = 1; i < args.length - 1; i++) {\n var arg = args[i].split(\"&\");\n client_1.client.evidences[i - 1] = {\n name: (0, encoding_1.prepChat)(arg[0]),\n desc: (0, encoding_1.prepChat)(arg[1]),\n filename: (0, encoding_1.safeTags)(arg[2]),\n icon: \"\".concat(aoHost_1.AO_HOST, \"evidence/\").concat(encodeURI(arg[2].toLowerCase())),\n };\n }\n var evidence_box = document.getElementById(\"evidences\");\n evidence_box.innerHTML = \"\";\n var _loop_1 = function (i) {\n var evi_item = new Image();\n evi_item.id = \"evi_\" + i;\n evi_item.className = \"evi_icon\";\n evi_item.src = client_1.client.evidences[i - 1].icon;\n evi_item.alt = client_1.client.evidences[i - 1].name;\n evi_item.onclick = function () { window.pickEvidence(i); };\n evidence_box.appendChild(evi_item);\n };\n for (var i = 1; i <= client_1.client.evidences.length; i++) {\n _loop_1(i);\n }\n};\nexports.handleLE = handleLE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleMC = void 0;\nvar encoding_1 = require(\"../../encoding\");\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar appendICLog_1 = require(\"../../client/appendICLog\");\n/**\n * Handles a music change to an arbitrary resource.\n * @param {Array} args packet arguments\n */\nvar handleMC = function (args) {\n var track = (0, encoding_1.prepChat)(args[1]);\n var charID = Number(args[2]);\n var showname = args[3] || \"\";\n var looping = Boolean(args[4]);\n var channel = Number(args[5]) || 0;\n // const fading = Number(args[6]) || 0; // unused in web\n var music = client_1.client.viewport.music[channel];\n var musicname;\n music.pause();\n if (track.startsWith(\"http\")) {\n music.src = track;\n }\n else {\n music.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/music/\").concat(encodeURI(track.toLowerCase()));\n }\n music.loop = looping;\n music.play();\n try {\n musicname = client_1.client.chars[charID].name;\n }\n catch (e) {\n charID = -1;\n }\n if (charID >= 0) {\n musicname = client_1.client.chars[charID].name;\n (0, appendICLog_1.appendICLog)(\"\".concat(musicname, \" changed music to \").concat(track));\n }\n else {\n (0, appendICLog_1.appendICLog)(\"The music was changed to \".concat(track));\n }\n document.getElementById(\"client_trackstatustext\").innerText = track;\n};\nexports.handleMC = handleMC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleMM = void 0;\n/**\n * Handles the \"MusicMode\" packet\n * @param {Array} args packet arguments\n */\nvar handleMM = function (_args) {\n // It's unused nowadays, as preventing people from changing the music is now serverside\n};\nexports.handleMM = handleMM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleMS = void 0;\nvar client_1 = require(\"../../client\");\nvar handleCharacterInfo_1 = require(\"../../client/handleCharacterInfo\");\nvar resetICParams_1 = require(\"../../client/resetICParams\");\nvar encoding_1 = require(\"../../encoding\");\nvar handleICSpeaking_1 = require(\"../../viewport/utils/handleICSpeaking\");\n/**\n * Handles an in-character chat message.\n * @param {*} args packet arguments\n */\nvar handleMS = function (args) {\n // TODO: this if-statement might be a bug.\n if (args[4] !== client_1.client.viewport.getChatmsg().content) {\n document.getElementById(\"client_inner_chat\").innerHTML = \"\";\n var char_id = Number(args[9]);\n var char_name = (0, encoding_1.safeTags)(args[3]);\n var msg_nameplate = args[3];\n var msg_blips = \"male\";\n var char_chatbox = \"default\";\n var char_muted = false;\n if (char_id < client_1.client.char_list_length && char_id >= 0) {\n if (client_1.client.chars[char_id].name !== char_name) {\n console.info(\"\".concat(client_1.client.chars[char_id].name, \" is iniediting to \").concat(char_name));\n var chargs = (\"\".concat(char_name, \"&\") + \"iniediter\").split(\"&\");\n (0, handleCharacterInfo_1.handleCharacterInfo)(chargs, char_id);\n }\n }\n try {\n msg_nameplate = client_1.client.chars[char_id].showname;\n }\n catch (e) {\n msg_nameplate = args[3];\n }\n try {\n msg_blips = client_1.client.chars[char_id].blips;\n }\n catch (e) { }\n try {\n char_chatbox = client_1.client.chars[char_id].chat;\n }\n catch (e) {\n char_chatbox = \"default\";\n }\n try {\n char_muted = client_1.client.chars[char_id].muted;\n }\n catch (e) {\n char_muted = false;\n console.error(\"we're still missing some character data\");\n }\n if (char_muted === false) {\n var chatmsg = {\n deskmod: Number((0, encoding_1.safeTags)(args[1]).toLowerCase()),\n preanim: (0, encoding_1.safeTags)(args[2]).toLowerCase(),\n nameplate: msg_nameplate,\n chatbox: char_chatbox,\n name: char_name,\n sprite: (0, encoding_1.safeTags)(args[4]).toLowerCase(),\n content: (0, encoding_1.prepChat)(args[5]),\n side: args[6].toLowerCase(),\n sound: (0, encoding_1.safeTags)(args[7]).toLowerCase(),\n blips: (0, encoding_1.safeTags)(msg_blips),\n type: Number(args[8]),\n charid: char_id,\n snddelay: Number(args[10]),\n objection: Number(args[11]),\n evidence: Number((0, encoding_1.safeTags)(args[12])),\n flip: Number(args[13]),\n flash: Number(args[14]),\n color: Number(args[15]),\n speed: client_1.UPDATE_INTERVAL,\n };\n if (args.length > 16) {\n var extra_cccc = {\n showname: (0, encoding_1.prepChat)(args[16]),\n other_charid: Number(args[17]),\n other_name: (0, encoding_1.safeTags)(args[18]),\n other_emote: (0, encoding_1.safeTags)(args[19]),\n self_offset: args[20].split(\"\"),\n other_offset: args[21].split(\"\"),\n other_flip: Number(args[22]),\n noninterrupting_preanim: Number(args[23]),\n };\n chatmsg = Object.assign(extra_cccc, chatmsg);\n if (args.length > 24) {\n var extra_27 = {\n looping_sfx: Number(args[24]),\n screenshake: Number(args[25]),\n frame_screenshake: (0, encoding_1.safeTags)(args[26]),\n frame_realization: (0, encoding_1.safeTags)(args[27]),\n frame_sfx: (0, encoding_1.safeTags)(args[28]),\n };\n chatmsg = Object.assign(extra_27, chatmsg);\n if (args.length > 29) {\n var extra_28 = {\n additive: Number(args[29]),\n effects: args[30].split(\"|\"),\n };\n chatmsg = Object.assign(extra_28, chatmsg);\n }\n else {\n var extra_28 = {\n additive: 0,\n effects: [\"\", \"\", \"\"],\n };\n chatmsg = Object.assign(extra_28, chatmsg);\n }\n }\n else {\n var extra_27 = {\n looping_sfx: 0,\n screenshake: 0,\n frame_screenshake: \"\",\n frame_realization: \"\",\n frame_sfx: \"\",\n };\n chatmsg = Object.assign(extra_27, chatmsg);\n var extra_28 = {\n additive: 0,\n effects: [\"\", \"\", \"\"],\n };\n chatmsg = Object.assign(extra_28, chatmsg);\n }\n }\n else {\n var extra_cccc = {\n showname: \"\",\n other_charid: 0,\n other_name: \"\",\n other_emote: \"\",\n self_offset: [0, 0],\n other_offset: [0, 0],\n other_flip: 0,\n noninterrupting_preanim: 0,\n };\n chatmsg = Object.assign(extra_cccc, chatmsg);\n var extra_27 = {\n looping_sfx: 0,\n screenshake: 0,\n frame_screenshake: \"\",\n frame_realization: \"\",\n frame_sfx: \"\",\n };\n chatmsg = Object.assign(extra_27, chatmsg);\n var extra_28 = {\n additive: 0,\n effects: [\"\", \"\", \"\"],\n };\n chatmsg = Object.assign(extra_28, chatmsg);\n }\n if (chatmsg.content.trim() === \"\") {\n //blankpost\n chatmsg.content = \"\";\n }\n // our own message appeared, reset the buttons\n if (chatmsg.charid === client_1.client.charID) {\n (0, resetICParams_1.resetICParams)();\n }\n (0, handleICSpeaking_1.handle_ic_speaking)(chatmsg); // no await\n }\n }\n};\nexports.handleMS = handleMS;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handlePN = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Indicates how many users are on this server\n * @param {Array} args packet arguments\n */\nvar handlePN = function (_args) {\n client_1.client.sender.sendServer(\"askchaa#%\");\n};\nexports.handlePN = handlePN;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handlePV = void 0;\nvar client_1 = require(\"../../client\");\nvar fileExists_1 = require(\"../../utils/fileExists\");\nvar updateActionCommands_1 = require(\"../../dom/updateActionCommands\");\nvar pickEmotion_1 = require(\"../../dom/pickEmotion\");\nvar aoHost_1 = require(\"../../client/aoHost\");\n/**\n * Handles the server's assignment of a character for the player to use.\n * PV # playerID (unused) # CID # character ID\n * @param {Array} args packet arguments\n */\nvar handlePV = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var me, emotes, emotesList, ini, _loop_1, i;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n client_1.client.charID = Number(args[3]);\n document.getElementById(\"client_waiting\").style.display = \"none\";\n document.getElementById(\"client_charselect\").style.display = \"none\";\n me = client_1.client.chars[client_1.client.charID];\n client_1.client.selectedEmote = -1;\n emotes = client_1.client.emotes;\n emotesList = document.getElementById(\"client_emo\");\n emotesList.style.display = \"\";\n emotesList.innerHTML = \"\"; // Clear emote box\n ini = me.inifile;\n me.side = ini.options.side;\n (0, updateActionCommands_1.updateActionCommands)(me.side);\n if (ini.emotions.number === 0) {\n emotesList.innerHTML = \"No emotes available\";\n }\n else {\n _loop_1 = function (i) {\n try {\n var emoteinfo = ini.emotions[i].split(\"#\");\n var esfx = void 0;\n var esfxd = void 0;\n try {\n esfx = ini.soundn[i] || \"0\";\n esfxd = Number(ini.soundt[i]) || 0;\n }\n catch (e) {\n console.warn(\"ini sound is completly missing\");\n esfx = \"0\";\n esfxd = 0;\n }\n // Make sure the asset server is case insensitive, or that everything on it is lowercase\n emotes[i] = {\n desc: emoteinfo[0].toLowerCase(),\n preanim: emoteinfo[1].toLowerCase(),\n emote: emoteinfo[2].toLowerCase(),\n zoom: Number(emoteinfo[3]) || 0,\n deskmod: Number(emoteinfo[4]) || 1,\n sfx: esfx.toLowerCase(),\n sfxdelay: esfxd,\n frame_screenshake: \"\",\n frame_realization: \"\",\n frame_sfx: \"\",\n button: \"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(me.name.toLowerCase()), \"/emotions/button\").concat(i, \"_off.png\"),\n };\n var emote_item = new Image();\n emote_item.id = \"emo_\" + i;\n emote_item.className = \"emote_button\";\n emote_item.src = emotes[i].button;\n emote_item.alt = emotes[i].desc;\n emote_item.title = emotes[i].desc;\n emote_item.onclick = function () { window.pickEmotion(i); };\n emotesList.appendChild(emote_item);\n }\n catch (e) {\n console.error(\"missing emote \".concat(i));\n }\n };\n for (i = 1; i <= ini.emotions.number; i++) {\n _loop_1(i);\n }\n (0, pickEmotion_1.pickEmotion)(1);\n }\n return [4 /*yield*/, (0, fileExists_1.default)(\"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(me.name.toLowerCase()), \"/custom.gif\"))];\n case 1:\n if (_a.sent()) {\n document.getElementById(\"button_4\").style.display = \"\";\n }\n else {\n document.getElementById(\"button_4\").style.display = \"none\";\n }\n return [2 /*return*/];\n }\n });\n}); };\nexports.handlePV = handlePV;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRC = void 0;\nvar client_1 = require(\"../../client\");\nvar characters_js_1 = require(\"../../constants/characters.js\");\n/**\n * we are asking ourselves what characters there are\n * @param {Array} args packet arguments\n */\nvar handleRC = function (_args) {\n client_1.client.sender.sendSelf(\"SC#\".concat(characters_js_1.default.join(\"#\"), \"#%\"));\n};\nexports.handleRC = handleRC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRD = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * we are asking ourselves what characters there are\n * @param {Array} args packet arguments\n */\nvar handleRD = function (_args) {\n client_1.client.sender.sendSelf(\"BN#gs4#%\");\n client_1.client.sender.sendSelf(\"DONE#%\");\n var ooclog = document.getElementById(\"client_ooclog\");\n ooclog.value = \"\";\n ooclog.readOnly = false;\n document.getElementById(\"client_oocinput\").style.display = \"none\";\n document.getElementById(\"client_replaycontrols\").style.display =\n \"inline-block\";\n};\nexports.handleRD = handleRD;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRM = void 0;\nvar client_1 = require(\"../../client\");\nvar music_js_1 = require(\"../../constants/music.js\");\n/**\n * we are asking ourselves what characters there are\n * @param {Array} args packet arguments\n */\nvar handleRM = function (_args) {\n client_1.client.sender.sendSelf(\"SM#\".concat(music_js_1.default.join(\"#\"), \"#%\"));\n};\nexports.handleRM = handleRM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRMC = void 0;\nvar client_1 = require(\"../../client\");\n// TODO BUG:\n// this.viewport.music is an array. Therefore you must access elements\n/**\n * Handles a music change to an arbitrary resource, with an offset in seconds.\n * @param {Array} args packet arguments\n */\nvar handleRMC = function (args) {\n client_1.client.viewport.music.pause();\n var music = client_1.client.viewport.music;\n // Music offset + drift from song loading\n music.totime = args[1];\n music.offset = new Date().getTime() / 1000;\n music.addEventListener(\"loadedmetadata\", function () {\n music.currentTime += parseFloat(music.totime + (new Date().getTime() / 1000 - music.offset)).toFixed(3);\n music.play();\n }, false);\n};\nexports.handleRMC = handleRMC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRT = void 0;\nvar client_1 = require(\"../../client\");\nvar initTestimonyUpdater_1 = require(\"../../viewport/utils/initTestimonyUpdater\");\n/**\n * Handles a testimony states.\n * @param {Array} args packet arguments\n */\nvar handleRT = function (args) {\n var judgeid = Number(args[2]);\n switch (args[1]) {\n case \"testimony1\":\n client_1.client.testimonyID = 1;\n break;\n case \"testimony2\":\n // Cross Examination\n client_1.client.testimonyID = 2;\n break;\n case \"judgeruling\":\n client_1.client.testimonyID = 3 + judgeid;\n break;\n default:\n console.warn(\"Invalid testimony\");\n }\n (0, initTestimonyUpdater_1.initTestimonyUpdater)();\n};\nexports.handleRT = handleRT;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleSC = void 0;\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar client_1 = require(\"../../client\");\nvar handleCharacterInfo_1 = require(\"../../client/handleCharacterInfo\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Handles incoming character information, containing all characters\n * in one packet.\n * @param {Array} args packet arguments\n */\nvar handleSC = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var _loop_1, i;\n return __generator(this, function (_a) {\n if (mode === \"watch\") {\n // Spectators don't need to pick a character\n document.getElementById(\"client_charselect\").style.display = \"none\";\n }\n else {\n document.getElementById(\"client_charselect\").style.display = \"block\";\n }\n document.getElementById(\"client_loadingtext\").innerHTML =\n \"Loading Characters\";\n _loop_1 = function (i) {\n var chargs = args[i].split(\"&\");\n var charid = i - 1;\n setTimeout(function () { return (0, handleCharacterInfo_1.handleCharacterInfo)(chargs, charid); }, charid * 6);\n };\n for (i = 1; i < args.length - 1; i++) {\n _loop_1(i);\n }\n // We're done with the characters, request the music\n client_1.client.sender.sendServer(\"RM#%\");\n return [2 /*return*/];\n });\n}); };\nexports.handleSC = handleSC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleSI = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Received when the server announces its server info,\n * but we use it as a cue to begin retrieving characters.\n * @param {Array} args packet arguments\n */\nvar handleSI = function (args) {\n client_1.client.char_list_length = Number(args[1]);\n client_1.client.char_list_length += 1; // some servers count starting from 0 some from 1...\n client_1.client.evidence_list_length = Number(args[2]);\n client_1.client.music_list_length = Number(args[3]);\n // create the charselect grid, to be filled by the character loader\n document.getElementById(\"client_chartable\").innerHTML = \"\";\n for (var i = 0; i < client_1.client.char_list_length; i++) {\n var demothing = document.createElement(\"img\");\n demothing.className = \"demothing\";\n demothing.id = \"demo_\".concat(i);\n var demoonclick = document.createAttribute(\"onclick\");\n demoonclick.value = \"pickChar(\".concat(i, \")\");\n demothing.setAttributeNode(demoonclick);\n document.getElementById(\"client_chartable\").appendChild(demothing);\n }\n // this is determined at the top of this file\n if (!client_1.oldLoading && client_1.extrafeatures.includes(\"fastloading\")) {\n client_1.client.sender.sendServer(\"RC#%\");\n }\n else {\n client_1.client.sender.sendServer(\"askchar2#%\");\n }\n};\nexports.handleSI = handleSI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleSM = void 0;\nvar client_1 = require(\"../../client\");\nvar addTrack_1 = require(\"../../client/addTrack\");\nvar isAudio_1 = require(\"../../client/isAudio\");\nvar fixLastArea_1 = require(\"../../client/fixLastArea\");\nvar createArea_1 = require(\"../../client/createArea\");\n/**\n * Handles incoming music information, containing all music in one packet.\n * @param {Array} args packet arguments\n */\nvar handleSM = function (args) {\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Music \";\n client_1.client.resetMusicList();\n client_1.client.resetAreaList();\n client_1.client.musics_time = false;\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Music\";\n for (var i = 1; i < args.length - 1; i++) {\n // Check when found the song for the first time\n var trackname = args[i];\n var trackindex = i - 1;\n if (client_1.client.musics_time) {\n (0, addTrack_1.addTrack)(trackname);\n }\n else if ((0, isAudio_1.isAudio)(trackname)) {\n client_1.client.musics_time = true;\n (0, fixLastArea_1.fix_last_area)();\n (0, addTrack_1.addTrack)(trackname);\n }\n else {\n (0, createArea_1.createArea)(trackindex, trackname);\n }\n }\n // Music done, carry on\n client_1.client.sender.sendServer(\"RD#%\");\n};\nexports.handleSM = handleSM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleSP = void 0;\nvar updateActionCommands_1 = require(\"../../dom/updateActionCommands\");\n/**\n* position change\n* @param {string} pos new position\n*/\nvar handleSP = function (args) {\n (0, updateActionCommands_1.updateActionCommands)(args[1]);\n};\nexports.handleSP = handleSP;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleTI = void 0;\n/**\n * Handles a timer update\n * @param {Array} args packet arguments\n */\nvar handleTI = function (args) {\n var timerid = Number(args[1]);\n var type = Number(args[2]);\n var timer_value = args[3];\n switch (type) {\n case 0:\n //\n case 1:\n document.getElementById(\"client_timer\".concat(timerid)).innerText =\n timer_value;\n case 2:\n document.getElementById(\"client_timer\".concat(timerid)).style.display = \"\";\n case 3:\n document.getElementById(\"client_timer\".concat(timerid)).style.display =\n \"none\";\n }\n};\nexports.handleTI = handleTI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleZZ = void 0;\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles a modcall\n * @param {Array} args packet arguments\n */\nvar handleZZ = function (args) {\n var oocLog = document.getElementById(\"client_ooclog\");\n oocLog.innerHTML += \"$Alert: \".concat((0, encoding_1.prepChat)(args[1]), \"\\r\\n\");\n if (oocLog.scrollTop > oocLog.scrollHeight - 60) {\n oocLog.scrollTop = oocLog.scrollHeight;\n }\n client_1.client.viewport.getSfxAudio().pause();\n var oldvolume = client_1.client.viewport.getSfxAudio().volume;\n client_1.client.viewport.getSfxAudio().volume = 1;\n client_1.client.viewport.getSfxAudio().src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-gallery.opus\");\n client_1.client.viewport.getSfxAudio().play();\n client_1.client.viewport.getSfxAudio().volume = oldvolume;\n};\nexports.handleZZ = handleZZ;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleackMS = void 0;\nvar resetICParams_1 = require(\"../../client/resetICParams\");\n/**\n* server got our message\n*/\nvar handleackMS = function () {\n (0, resetICParams_1.resetICParams)();\n};\nexports.handleackMS = handleackMS;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleaskchaa = void 0;\nvar client_1 = require(\"../../client\");\nvar characters_js_1 = require(\"../../constants/characters.js\");\n/**\n * What? you want a character list from me??\n * @param {Array} args packet arguments\n */\nvar handleaskchaa = function (_args) {\n client_1.client.sender.sendSelf(\"SI#\".concat(characters_js_1.default.length, \"#0#0#%\"));\n};\nexports.handleaskchaa = handleaskchaa;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.packetHandler = void 0;\nvar packets_1 = require(\"./packets\");\nexports.packetHandler = new Map(Object.entries(packets_1.packets));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.packets = void 0;\nvar handleMS_1 = require(\"./handlers/handleMS\");\nvar handleCT_1 = require(\"./handlers/handleCT\");\nvar handleMC_1 = require(\"./handlers/handleMC\");\nvar handleRMC_1 = require(\"./handlers/handleRMC\");\nvar twofactor_1 = require(\"../dom/twofactor\");\nvar handleFL_1 = require(\"./handlers/handleFL\");\nvar handleLE_1 = require(\"./handlers/handleLE\");\nvar handleEM_1 = require(\"./handlers/handleEM\");\nvar handleEI_1 = require(\"./handlers/handleEI\");\nvar handleSC_1 = require(\"./handlers/handleSC\");\nvar handleCI_1 = require(\"./handlers/handleCI\");\nvar handleFM_1 = require(\"./handlers/handleFM\");\nvar handleFA_1 = require(\"./handlers/handleFA\");\nvar handleSM_1 = require(\"./handlers/handleSM\");\nvar handleMM_1 = require(\"./handlers/handleMM\");\nvar handleBD_1 = require(\"./handlers/handleBD\");\nvar handleBB_1 = require(\"./handlers/handleBB\");\nvar handleKB_1 = require(\"./handlers/handleKB\");\nvar handleKK_1 = require(\"./handlers/handleKK\");\nvar handleDONE_1 = require(\"./handlers/handleDONE\");\nvar handleBN_1 = require(\"./handlers/handleBN\");\nvar handleHP_1 = require(\"./handlers/handleHP\");\nvar handleRT_1 = require(\"./handlers/handleRT\");\nvar handleTI_1 = require(\"./handlers/handleTI\");\nvar handleZZ_1 = require(\"./handlers/handleZZ\");\nvar handleHI_1 = require(\"./handlers/handleHI\");\nvar handleID_1 = require(\"./handlers/handleID\");\nvar handlePN_1 = require(\"./handlers/handlePN\");\nvar handleSI_1 = require(\"./handlers/handleSI\");\nvar handleARUP_1 = require(\"./handlers/handleARUP\");\nvar handleaskchaa_1 = require(\"./handlers/handleaskchaa\");\nvar handleCC_1 = require(\"./handlers/handleCC\");\nvar handleRC_1 = require(\"./handlers/handleRC\");\nvar handleRM_1 = require(\"./handlers/handleRM\");\nvar handleRD_1 = require(\"./handlers/handleRD\");\nvar handleCharsCheck_1 = require(\"./handlers/handleCharsCheck\");\nvar handlePV_1 = require(\"./handlers/handlePV\");\nvar handleASS_1 = require(\"./handlers/handleASS\");\nvar handleackMS_1 = require(\"./handlers/handleackMS\");\nvar handleSP_1 = require(\"./handlers/handleSP\");\nvar handleJD_1 = require(\"./handlers/handleJD\");\nexports.packets = {\n \"MS\": handleMS_1.handleMS,\n \"CT\": handleCT_1.handleCT,\n \"MC\": handleMC_1.handleMC,\n \"RMC\": handleRMC_1.handleRMC,\n \"CI\": handleCI_1.handleCI,\n \"SC\": handleSC_1.handleSC,\n \"EI\": handleEI_1.handleEI,\n \"2A\": twofactor_1.showFactorDialog,\n \"FL\": handleFL_1.handleFL,\n \"LE\": handleLE_1.handleLE,\n \"EM\": handleEM_1.handleEM,\n \"FM\": handleFM_1.handleFM,\n \"FA\": handleFA_1.handleFA,\n \"SM\": handleSM_1.handleSM,\n \"MM\": handleMM_1.handleMM,\n \"BD\": handleBD_1.handleBD,\n \"BB\": handleBB_1.handleBB,\n \"KB\": handleKB_1.handleKB,\n \"KK\": handleKK_1.handleKK,\n \"DONE\": handleDONE_1.handleDONE,\n \"BN\": handleBN_1.handleBN,\n \"HP\": handleHP_1.handleHP,\n \"RT\": handleRT_1.handleRT,\n \"TI\": handleTI_1.handleTI,\n \"ZZ\": handleZZ_1.handleZZ,\n \"HI\": handleHI_1.handleHI,\n \"ID\": handleID_1.handleID,\n \"PN\": handlePN_1.handlePN,\n \"SI\": handleSI_1.handleSI,\n \"ARUP\": handleARUP_1.handleARUP,\n \"askchaa\": handleaskchaa_1.handleaskchaa,\n \"CC\": handleCC_1.handleCC,\n \"RC\": handleRC_1.handleRC,\n \"RM\": handleRM_1.handleRM,\n \"RD\": handleRD_1.handleRD,\n \"CharsCheck\": handleCharsCheck_1.handleCharsCheck,\n \"PV\": handlePV_1.handlePV,\n \"ASS\": handleASS_1.handleASS,\n \"ackMS\": handleackMS_1.handleackMS,\n \"SP\": handleSP_1.handleSP,\n \"JD\": handleJD_1.handleJD,\n \"decryptor\": function () { },\n \"CHECK\": function () { },\n \"CH\": function () { },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar downloadFile = function (content, filename) {\n var a = document.createElement('a');\n var file = new Blob([content], { type: 'text' });\n a.href = URL.createObjectURL(file);\n a.download = filename;\n a.click();\n};\nexports.default = downloadFile;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar request_1 = require(\"../services/request\");\nvar aomlParser = function (text) {\n var e_1, _a;\n var parsed = {};\n var currentHeader = '';\n try {\n for (var _b = __values(text.split(/\\r?\\n/)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var line = _c.value;\n if (line === '') {\n currentHeader = '';\n continue;\n }\n var content = line.split(' = ');\n var contentName = content[0];\n var contentValue = content[1];\n if (currentHeader === '') {\n currentHeader = contentName;\n parsed[currentHeader] = {\n color: contentValue\n };\n }\n else {\n var contentKey = contentName.split('_')[1];\n parsed[currentHeader][contentKey] = contentValue;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return parsed;\n};\nvar mlConfig = function (AO_HOST) {\n var defaultUrl = \"\".concat(AO_HOST, \"themes/default/chat_config.ini\");\n var aomlParsed = (0, request_1.default)(defaultUrl).then(function (data) { return aomlParser(data); });\n var createIdentifiers = function () { return __awaiter(void 0, void 0, void 0, function () {\n var identifiers, _a, _b, _c, _d, _e, ruleName, value, e_2_1;\n var e_2, _f;\n return __generator(this, function (_g) {\n switch (_g.label) {\n case 0:\n identifiers = new Map();\n _g.label = 1;\n case 1:\n _g.trys.push([1, 6, 7, 8]);\n _d = (_c = Object).entries;\n return [4 /*yield*/, aomlParsed];\n case 2:\n _a = __values.apply(void 0, [_d.apply(_c, [_g.sent()])]), _b = _a.next();\n _g.label = 3;\n case 3:\n if (!!_b.done) return [3 /*break*/, 5];\n _e = __read(_b.value, 2), ruleName = _e[0], value = _e[1];\n if (value.start && value.end) {\n identifiers.set(value.start, value);\n identifiers.set(value.end, value);\n }\n _g.label = 4;\n case 4:\n _b = _a.next();\n return [3 /*break*/, 3];\n case 5: return [3 /*break*/, 8];\n case 6:\n e_2_1 = _g.sent();\n e_2 = { error: e_2_1 };\n return [3 /*break*/, 8];\n case 7:\n try {\n if (_b && !_b.done && (_f = _a.return)) _f.call(_a);\n }\n finally { if (e_2) throw e_2.error; }\n return [7 /*endfinally*/];\n case 8: return [2 /*return*/, identifiers];\n }\n });\n }); };\n var createStartIdentifiers = function () { return __awaiter(void 0, void 0, void 0, function () {\n var startingIdentifiers, _a, _b, _c, _d, _e, ruleName, value, e_3_1;\n var e_3, _f;\n return __generator(this, function (_g) {\n switch (_g.label) {\n case 0:\n startingIdentifiers = new Set();\n _g.label = 1;\n case 1:\n _g.trys.push([1, 6, 7, 8]);\n _d = (_c = Object).entries;\n return [4 /*yield*/, aomlParsed];\n case 2:\n _a = __values.apply(void 0, [_d.apply(_c, [_g.sent()])]), _b = _a.next();\n _g.label = 3;\n case 3:\n if (!!_b.done) return [3 /*break*/, 5];\n _e = __read(_b.value, 2), ruleName = _e[0], value = _e[1];\n if ((value === null || value === void 0 ? void 0 : value.start) && (value === null || value === void 0 ? void 0 : value.end)) {\n startingIdentifiers.add(value.start);\n }\n _g.label = 4;\n case 4:\n _b = _a.next();\n return [3 /*break*/, 3];\n case 5: return [3 /*break*/, 8];\n case 6:\n e_3_1 = _g.sent();\n e_3 = { error: e_3_1 };\n return [3 /*break*/, 8];\n case 7:\n try {\n if (_b && !_b.done && (_f = _a.return)) _f.call(_a);\n }\n finally { if (e_3) throw e_3.error; }\n return [7 /*endfinally*/];\n case 8: return [2 /*return*/, startingIdentifiers];\n }\n });\n }); };\n var applyMarkdown = function (text, defaultColor) { return __awaiter(void 0, void 0, void 0, function () {\n var identifiers, startIdentifiers, closingStack, colorStack, output, text_1, text_1_1, letter, currentSelector, currentIdentifier, currentClosingLetter, keepChar, r, g, b, currentColor, color, r, g, b, currentColor, r, g, b, currentColor;\n var e_4, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0: return [4 /*yield*/, createIdentifiers()];\n case 1:\n identifiers = _b.sent();\n return [4 /*yield*/, createStartIdentifiers()];\n case 2:\n startIdentifiers = _b.sent();\n closingStack = [];\n colorStack = [];\n output = [];\n try {\n for (text_1 = __values(text), text_1_1 = text_1.next(); !text_1_1.done; text_1_1 = text_1.next()) {\n letter = text_1_1.value;\n currentSelector = document.createElement('span');\n currentIdentifier = identifiers.get(letter);\n currentClosingLetter = closingStack[closingStack.length - 1];\n keepChar = Number(currentIdentifier === null || currentIdentifier === void 0 ? void 0 : currentIdentifier.remove) === 0;\n if (currentClosingLetter === letter) {\n r = colorStack[colorStack.length - 1][0];\n g = colorStack[colorStack.length - 1][1];\n b = colorStack[colorStack.length - 1][2];\n currentColor = \"color: rgb(\".concat(r, \",\").concat(g, \",\").concat(b, \");\");\n currentSelector.setAttribute('style', currentColor);\n closingStack.pop();\n colorStack.pop();\n if (keepChar) {\n currentSelector.innerHTML = letter;\n }\n }\n else if (startIdentifiers.has(letter)) {\n color = identifiers.get(letter).color.split(',');\n r = color[0];\n g = color[1];\n b = color[2];\n colorStack.push([r, g, b]);\n closingStack.push(currentIdentifier.end);\n currentColor = \"color: rgb(\".concat(r, \",\").concat(g, \",\").concat(b, \");\");\n currentSelector.setAttribute('style', currentColor);\n if (keepChar) {\n currentSelector.innerHTML = letter;\n }\n }\n else {\n currentSelector.innerHTML = letter;\n if (colorStack.length === 0) {\n currentSelector.className = \"text_\".concat(defaultColor);\n }\n else {\n r = colorStack[colorStack.length - 1][0];\n g = colorStack[colorStack.length - 1][1];\n b = colorStack[colorStack.length - 1][2];\n currentColor = \"color: rgb(\".concat(r, \",\").concat(g, \",\").concat(b, \");\");\n currentSelector.setAttribute('style', currentColor);\n }\n }\n output.push(currentSelector);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (text_1_1 && !text_1_1.done && (_a = text_1.return)) _a.call(text_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n return [2 /*return*/, output];\n }\n });\n }); };\n return {\n applyMarkdown: applyMarkdown\n };\n};\nexports.default = mlConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * read a cookie from storage\n * got this from w3schools\n * https://www.w3schools.com/js/js_cookies.asp\n * @param {String} cname The name of the cookie to return\n */\nvar getCookie = function (cname) {\n try {\n var name_1 = \"\".concat(cname, \"=\");\n var decodedCookie = decodeURIComponent(document.cookie);\n var ca = decodedCookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) === ' ') {\n c = c.substring(1);\n }\n if (c.indexOf(name_1) === 0) {\n return c.substring(name_1.length, c.length);\n }\n }\n return '';\n }\n catch (error) {\n return '';\n }\n};\nexports.default = getCookie;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getFilenameFromPath = void 0;\nvar getFilenameFromPath = function (path) { return path.substring(path.lastIndexOf('/') + 1); };\nexports.getFilenameFromPath = getFilenameFromPath;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar queryParser = function () {\n var queryDict = {};\n location.search\n .substr(1)\n .split(\"&\")\n .forEach(function (item) {\n queryDict[item.split(\"=\")[0]] = item.split(\"=\")[1];\n });\n return queryDict;\n};\nexports.default = queryParser;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * set a cookie\n * the version from w3schools expects these to expire\n * @param {String} cname The name of the cookie to return\n * @param {any} value The value of that cookie option\n */\nvar setCookie = function (cname, value) {\n document.cookie = \"\".concat(cname, \"=\").concat(value, \";SameSite=Strict\");\n};\nexports.default = setCookie;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fileExists_1 = require(\"./fileExists\");\nvar transparentPng_1 = require(\"../constants/transparentPng\");\nvar urlExtensionsToTry = [\n '.png',\n '.gif',\n '.webp',\n '.apng'\n];\nvar tryUrls = function (url) { return __awaiter(void 0, void 0, void 0, function () {\n var i, extension, fullFileUrl, exists;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n i = 0;\n _a.label = 1;\n case 1:\n if (!(i < urlExtensionsToTry.length)) return [3 /*break*/, 4];\n extension = urlExtensionsToTry[i];\n fullFileUrl = url + extension;\n return [4 /*yield*/, (0, fileExists_1.default)(fullFileUrl)];\n case 2:\n exists = _a.sent();\n if (exists) {\n return [2 /*return*/, fullFileUrl];\n }\n _a.label = 3;\n case 3:\n i++;\n return [3 /*break*/, 1];\n case 4: return [2 /*return*/, transparentPng_1.default];\n }\n });\n}); };\nexports.default = tryUrls;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.COLORS = void 0;\nexports.COLORS = [\n \"white\",\n \"green\",\n \"red\",\n \"orange\",\n \"blue\",\n \"yellow\",\n \"pink\",\n \"cyan\",\n \"grey\",\n \"rainbow\",\n];\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultChatMsg = void 0;\nvar client_1 = require(\"../../client\");\nexports.defaultChatMsg = {\n content: \"\",\n objection: 0,\n sound: \"\",\n startpreanim: true,\n startspeaking: false,\n side: null,\n color: 0,\n snddelay: 0,\n preanimdelay: 0,\n speed: client_1.UPDATE_INTERVAL,\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.positions = void 0;\nexports.positions = {\n def: {\n bg: \"defenseempty\",\n desk: { ao2: \"defensedesk.png\", ao1: \"bancodefensa.png\" },\n speedLines: \"defense_speedlines.gif\",\n },\n pro: {\n bg: \"prosecutorempty\",\n desk: { ao2: \"prosecutiondesk.png\", ao1: \"bancoacusacion.png\" },\n speedLines: \"prosecution_speedlines.gif\",\n },\n hld: {\n bg: \"helperstand\",\n desk: {},\n speedLines: \"defense_speedlines.gif\",\n },\n hlp: {\n bg: \"prohelperstand\",\n desk: {},\n speedLines: \"prosecution_speedlines.gif\",\n },\n wit: {\n bg: \"witnessempty\",\n desk: { ao2: \"stand.png\", ao1: \"estrado.png\" },\n speedLines: \"prosecution_speedlines.gif\",\n },\n jud: {\n bg: \"judgestand\",\n desk: { ao2: \"judgedesk.png\", ao1: \"judgedesk.gif\" },\n speedLines: \"prosecution_speedlines.gif\",\n },\n jur: {\n bg: \"jurystand\",\n desk: { ao2: \"jurydesk.png\", ao1: \"estrado.png\" },\n speedLines: \"defense_speedlines.gif\",\n },\n sea: {\n bg: \"seancestand\",\n desk: { ao2: \"seancedesk.png\", ao1: \"estrado.png\" },\n speedLines: \"prosecution_speedlines.gif\",\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SHOUTS = void 0;\nexports.SHOUTS = [undefined, \"holdit\", \"objection\", \"takethat\", \"custom\"];\n","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createBlipsChannels = void 0;\nvar opusCheck_1 = require(\"../../dom/opusCheck\");\nvar createBlipsChannels = function () {\n var blipSelectors = document.getElementsByClassName(\"blipSound\");\n var blipChannels = __spreadArray([], __read(blipSelectors), false);\n // Allocate multiple blip audio channels to make blips less jittery\n blipChannels.forEach(function (channel) { return (channel.volume = 0.5); });\n blipChannels.forEach(function (channel) { return (channel.onerror = (0, opusCheck_1.opusCheck)(channel)); });\n return blipChannels;\n};\nexports.createBlipsChannels = createBlipsChannels;\n","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createMusic = void 0;\nvar opusCheck_1 = require(\"../../dom/opusCheck\");\nvar createMusic = function () {\n var audioChannels = document.getElementsByClassName(\"audioChannel\");\n var music = __spreadArray([], __read(audioChannels), false);\n music.forEach(function (channel) { return (channel.volume = 0.5); });\n music.forEach(function (channel) { return (channel.onerror = (0, opusCheck_1.opusCheck)(channel)); });\n return music;\n};\nexports.createMusic = createMusic;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createSfxAudio = void 0;\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar createSfxAudio = function () {\n var sfxAudio = document.getElementById(\"client_sfxaudio\");\n sfxAudio.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-realization.opus\");\n return sfxAudio;\n};\nexports.createSfxAudio = createSfxAudio;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createShoutAudio = void 0;\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar createShoutAudio = function () {\n var shoutAudio = document.getElementById(\"client_shoutaudio\");\n shoutAudio.src = \"\".concat(aoHost_1.AO_HOST, \"misc/default/objection.opus\");\n return shoutAudio;\n};\nexports.createShoutAudio = createShoutAudio;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createTestimonyAudio = void 0;\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar createTestimonyAudio = function () {\n var testimonyAudio = document.getElementById(\"client_testimonyaudio\");\n testimonyAudio.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-guilty.opus\");\n return testimonyAudio;\n};\nexports.createTestimonyAudio = createTestimonyAudio;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handle_ic_speaking = exports.setStartThirdTickCheck = exports.startThirdTickCheck = exports.setStartSecondTickCheck = exports.startSecondTickCheck = exports.setStartFirstTickCheck = exports.startFirstTickCheck = void 0;\nvar client_1 = require(\"../../client\");\nvar appendICLog_1 = require(\"../../client/appendICLog\");\nvar checkCallword_1 = require(\"../../client/checkCallword\");\nvar setEmote_1 = require(\"../../client/setEmote\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar shouts_1 = require(\"../constants/shouts\");\nvar getAnimLength_1 = require(\"../../utils/getAnimLength\");\nvar setChatbox_1 = require(\"../../dom/setChatbox\");\nvar resizeChatbox_1 = require(\"../../dom/resizeChatbox\");\nvar transparentPng_1 = require(\"../../constants/transparentPng\");\nvar colors_1 = require(\"../constants/colors\");\nvar aoml_1 = require(\"../../utils/aoml\");\nvar attorneyMarkdown = (0, aoml_1.default)(aoHost_1.AO_HOST);\nvar setStartFirstTickCheck = function (val) { exports.startFirstTickCheck = val; };\nexports.setStartFirstTickCheck = setStartFirstTickCheck;\nvar setStartSecondTickCheck = function (val) { exports.startSecondTickCheck = val; };\nexports.setStartSecondTickCheck = setStartSecondTickCheck;\nvar setStartThirdTickCheck = function (val) { exports.startThirdTickCheck = val; };\nexports.setStartThirdTickCheck = setStartThirdTickCheck;\n/**\n * Sets a new emote.\n * This sets up everything before the tick() loops starts\n * a lot of things can probably be moved here, like starting the shout animation if there is one\n * TODO: the preanim logic, on the other hand, should probably be moved to tick()\n * @param {object} chatmsg the new chat message\n */\nvar handle_ic_speaking = function (playerChatMsg) { return __awaiter(void 0, void 0, void 0, function () {\n var charLayers, pairLayers, fg, gamewindow, waitingBox, eviBox, validSides, chatContainerBox, nameBoxInner, chatBoxInner, displayname, shoutSprite, shout, gifLength, setAside, skipoffset, effectName, badEffects, intensity, i, drop, baseEffectUrl, soundChecks, _a, error_1, output, _b, _c, letter, currentSelector;\n var e_1, _d;\n return __generator(this, function (_e) {\n switch (_e.label) {\n case 0:\n client_1.client.viewport.setChatmsg(playerChatMsg);\n client_1.client.viewport.setTextNow(\"\");\n client_1.client.viewport.setSfxPlayed(0);\n client_1.client.viewport.setTickTimer(0);\n client_1.client.viewport.setAnimating(true);\n exports.startFirstTickCheck = true;\n exports.startSecondTickCheck = false;\n exports.startThirdTickCheck = false;\n charLayers = document.getElementById(\"client_char\");\n pairLayers = document.getElementById(\"client_pair_char\");\n // stop updater\n clearTimeout(client_1.client.viewport.updater);\n // stop last sfx from looping any longer\n client_1.client.viewport.getSfxAudio().loop = false;\n fg = document.getElementById(\"client_fg\");\n gamewindow = document.getElementById(\"client_gamewindow\");\n waitingBox = document.getElementById(\"client_chatwaiting\");\n // Reset CSS animation\n gamewindow.style.animation = \"\";\n waitingBox.style.opacity = \"0\";\n eviBox = document.getElementById(\"client_evi\");\n if (client_1.client.viewport.getLastEvidence() !== client_1.client.viewport.getChatmsg().evidence) {\n eviBox.style.opacity = \"0\";\n eviBox.style.height = \"0%\";\n }\n client_1.client.viewport.setLastEvidence(client_1.client.viewport.getChatmsg().evidence);\n validSides = [\"def\", \"pro\", \"wit\"];\n if (validSides.includes(client_1.client.viewport.getChatmsg().side)) {\n charLayers = document.getElementById(\"client_\".concat(client_1.client.viewport.getChatmsg().side, \"_char\"));\n pairLayers = document.getElementById(\"client_\".concat(client_1.client.viewport.getChatmsg().side, \"_pair_char\"));\n }\n chatContainerBox = document.getElementById(\"client_chatcontainer\");\n nameBoxInner = document.getElementById(\"client_inner_name\");\n chatBoxInner = document.getElementById(\"client_inner_chat\");\n displayname = document.getElementById(\"showname\").checked &&\n client_1.client.viewport.getChatmsg().showname !== \"\"\n ? client_1.client.viewport.getChatmsg().showname\n : client_1.client.viewport.getChatmsg().nameplate;\n // Clear out the last message\n chatBoxInner.innerText = client_1.client.viewport.getTextNow();\n nameBoxInner.innerText = displayname;\n if (client_1.client.viewport.getLastCharacter() !== client_1.client.viewport.getChatmsg().name) {\n charLayers.style.opacity = \"0\";\n pairLayers.style.opacity = \"0\";\n }\n client_1.client.viewport.setLastCharacter(client_1.client.viewport.getChatmsg().name);\n (0, appendICLog_1.appendICLog)(client_1.client.viewport.getChatmsg().content, client_1.client.viewport.getChatmsg().showname, client_1.client.viewport.getChatmsg().nameplate);\n (0, checkCallword_1.checkCallword)(client_1.client.viewport.getChatmsg().content, client_1.client.viewport.getSfxAudio());\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, client_1.client.viewport.getChatmsg().name.toLowerCase(), client_1.client.viewport.getChatmsg().sprite, \"(a)\", false, client_1.client.viewport.getChatmsg().side);\n if (client_1.client.viewport.getChatmsg().other_name) {\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, client_1.client.viewport.getChatmsg().other_name.toLowerCase(), client_1.client.viewport.getChatmsg().other_emote, \"(a)\", false, client_1.client.viewport.getChatmsg().side);\n }\n shoutSprite = (document.getElementById(\"client_shout\"));\n shout = shouts_1.SHOUTS[client_1.client.viewport.getChatmsg().objection];\n if (shout) {\n // Hide message box\n chatContainerBox.style.opacity = \"0\";\n if (client_1.client.viewport.getChatmsg().objection === 4) {\n shoutSprite.src = \"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(client_1.client.viewport.getChatmsg().name.toLowerCase()), \"/custom.gif\");\n }\n else {\n shoutSprite.src = client_1.client.resources[shout].src;\n shoutSprite.style.animation = \"bubble 700ms steps(10, jump-both)\";\n }\n shoutSprite.style.opacity = \"1\";\n client_1.client.viewport.shoutaudio.src = \"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(client_1.client.viewport.getChatmsg().name.toLowerCase()), \"/\").concat(shout, \".opus\");\n client_1.client.viewport.shoutaudio.play();\n client_1.client.viewport.setShoutTimer(client_1.client.resources[shout].duration);\n }\n else {\n client_1.client.viewport.setShoutTimer(0);\n }\n client_1.client.viewport.getChatmsg().startpreanim = true;\n gifLength = 0;\n if (!(client_1.client.viewport.getChatmsg().type === 1 && client_1.client.viewport.getChatmsg().preanim !== \"-\")) return [3 /*break*/, 2];\n //we have a preanim\n chatContainerBox.style.opacity = \"0\";\n return [4 /*yield*/, (0, getAnimLength_1.default)(\"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(client_1.client.viewport.getChatmsg().name.toLowerCase()), \"/\").concat(encodeURI(client_1.client.viewport.getChatmsg().preanim)))];\n case 1:\n gifLength = _e.sent();\n client_1.client.viewport.getChatmsg().startspeaking = false;\n return [3 /*break*/, 3];\n case 2:\n client_1.client.viewport.getChatmsg().startspeaking = true;\n if (client_1.client.viewport.getChatmsg().content.trim() !== \"\")\n chatContainerBox.style.opacity = \"1\";\n _e.label = 3;\n case 3:\n client_1.client.viewport.getChatmsg().preanimdelay = gifLength;\n setAside = {\n position: client_1.client.viewport.getChatmsg().side,\n showSpeedLines: false,\n showDesk: false,\n };\n skipoffset = false;\n if (client_1.client.viewport.getChatmsg().type === 5) {\n setAside.showSpeedLines = true;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n }\n else {\n switch (Number(client_1.client.viewport.getChatmsg().deskmod)) {\n case 0: //desk is hidden\n setAside.showSpeedLines = false;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n break;\n case 1: //desk is shown\n setAside.showSpeedLines = false;\n setAside.showDesk = true;\n client_1.client.viewport.set_side(setAside);\n break;\n case 2: //desk is hidden during preanim, but shown during idle/talk\n setAside.showSpeedLines = false;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n break;\n case 3: //opposite of 2\n setAside.showSpeedLines = false;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n break;\n case 4: //desk is hidden, character offset is ignored, pair character is hidden during preanim, normal behavior during idle/talk\n setAside.showSpeedLines = false;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n skipoffset = true;\n break;\n case 5: //opposite of 4\n setAside.showSpeedLines = false;\n setAside.showDesk = true;\n client_1.client.viewport.set_side(setAside);\n break;\n default:\n setAside.showSpeedLines = false;\n setAside.showDesk = true;\n client_1.client.viewport.set_side(setAside);\n break;\n }\n }\n (0, setChatbox_1.setChatbox)(client_1.client.viewport.getChatmsg().chatbox);\n (0, resizeChatbox_1.resizeChatbox)();\n if (!skipoffset) {\n // Flip the character\n charLayers.style.transform =\n client_1.client.viewport.getChatmsg().flip === 1 ? \"scaleX(-1)\" : \"scaleX(1)\";\n pairLayers.style.transform =\n client_1.client.viewport.getChatmsg().other_flip === 1 ? \"scaleX(-1)\" : \"scaleX(1)\";\n // Shift by the horizontal offset\n switch (client_1.client.viewport.getChatmsg().side) {\n case \"wit\":\n pairLayers.style.left = \"\".concat(200 + Number(client_1.client.viewport.getChatmsg().other_offset[0]), \"%\");\n charLayers.style.left = \"\".concat(200 + Number(client_1.client.viewport.getChatmsg().self_offset[0]), \"%\");\n break;\n case \"pro\":\n pairLayers.style.left = \"\".concat(400 + Number(client_1.client.viewport.getChatmsg().other_offset[0]), \"%\");\n charLayers.style.left = \"\".concat(400 + Number(client_1.client.viewport.getChatmsg().self_offset[0]), \"%\");\n break;\n default:\n pairLayers.style.left = \"\".concat(Number(client_1.client.viewport.getChatmsg().other_offset[0]), \"%\");\n charLayers.style.left = \"\".concat(Number(client_1.client.viewport.getChatmsg().self_offset[0]), \"%\");\n break;\n }\n // New vertical offsets\n pairLayers.style.top = \"\".concat(Number(client_1.client.viewport.getChatmsg().other_offset[1]), \"%\");\n charLayers.style.top = \"\".concat(Number(client_1.client.viewport.getChatmsg().self_offset[1]), \"%\");\n }\n client_1.client.viewport.blipChannels.forEach(function (channel) {\n return (channel.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/blips/\").concat(encodeURI(client_1.client.viewport.getChatmsg().blips.toLowerCase()), \".opus\"));\n });\n // process markup\n if (client_1.client.viewport.getChatmsg().content.startsWith(\"~~\")) {\n chatBoxInner.style.textAlign = \"center\";\n client_1.client.viewport.getChatmsg().content = client_1.client.viewport.getChatmsg().content.substring(2, client_1.client.viewport.getChatmsg().content.length);\n }\n else {\n chatBoxInner.style.textAlign = \"inherit\";\n }\n // apply effects\n fg.style.animation = \"\";\n effectName = client_1.client.viewport.getChatmsg().effects[0].toLowerCase();\n badEffects = [\"\", \"-\", \"none\"];\n if (effectName.startsWith(\"rain\")) {\n document.getElementById(\"effect_css\").href = \"styles/effects/rain.css\";\n intensity = 200;\n if (effectName.endsWith(\"weak\")) {\n intensity = 100;\n }\n else if (effectName.endsWith(\"strong\")) {\n intensity = 400;\n }\n if (intensity < fg.childElementCount)\n fg.innerHTML = '';\n else\n intensity = intensity - fg.childElementCount;\n for (i = 0; i < intensity; i++) {\n drop = document.createElement(\"p\");\n drop.style.left = (Math.random() * 100) + \"%\";\n drop.style.animationDelay = String(Math.random()) + \"s\";\n fg.appendChild(drop);\n }\n }\n else if (client_1.client.viewport.getChatmsg().effects[0] &&\n !badEffects.includes(effectName)) {\n document.getElementById(\"effect_css\").href = \"\";\n fg.innerHTML = '';\n baseEffectUrl = \"\".concat(aoHost_1.AO_HOST, \"themes/default/effects/\");\n fg.src = \"\".concat(baseEffectUrl).concat(encodeURI(effectName), \".webp\");\n }\n else {\n fg.innerHTML = '';\n fg.src = transparentPng_1.default;\n }\n charLayers.style.opacity = \"1\";\n soundChecks = [\"0\", \"1\", \"\", undefined];\n if (soundChecks.some(function (check) { return client_1.client.viewport.getChatmsg().sound === check; })) {\n client_1.client.viewport.getChatmsg().sound = client_1.client.viewport.getChatmsg().effects[2];\n }\n _e.label = 4;\n case 4:\n _e.trys.push([4, 6, , 7]);\n _a = client_1.client.viewport.getChatmsg();\n return [4 /*yield*/, attorneyMarkdown.applyMarkdown(client_1.client.viewport.getChatmsg().content, colors_1.COLORS[client_1.client.viewport.getChatmsg().color])];\n case 5:\n _a.parsed = _e.sent();\n return [3 /*break*/, 7];\n case 6:\n error_1 = _e.sent();\n console.warn(\"markdown failed\");\n output = [];\n try {\n for (_b = __values(client_1.client.viewport.getChatmsg().content), _c = _b.next(); !_c.done; _c = _b.next()) {\n letter = _c.value;\n currentSelector = document.createElement('span');\n currentSelector.innerHTML = letter;\n currentSelector.className = \"text_\".concat(colors_1.COLORS[client_1.client.viewport.getChatmsg().color]);\n output.push(currentSelector);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_d = _b.return)) _d.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n client_1.client.viewport.getChatmsg().parsed = output;\n return [3 /*break*/, 7];\n case 7:\n client_1.client.viewport.chat_tick();\n return [2 /*return*/];\n }\n });\n}); };\nexports.handle_ic_speaking = handle_ic_speaking;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.initTestimonyUpdater = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Intialize testimony updater\n */\nvar initTestimonyUpdater = function () {\n var testimonyFilenames = {\n 1: \"witnesstestimony\",\n 2: \"crossexamination\",\n 3: \"notguilty\",\n 4: \"guilty\",\n };\n var testimony = testimonyFilenames[client_1.client.testimonyID];\n if (!testimony) {\n console.warn(\"Invalid testimony ID \".concat(client_1.client.testimonyID));\n return;\n }\n client_1.client.viewport.testimonyAudio.src = client_1.client.resources[testimony].sfx;\n client_1.client.viewport.testimonyAudio.play();\n var testimonyOverlay = (document.getElementById(\"client_testimony\"));\n testimonyOverlay.src = client_1.client.resources[testimony].src;\n testimonyOverlay.style.opacity = \"1\";\n client_1.client.viewport.setTestimonyTimer(0);\n client_1.client.viewport.setTestimonyUpdater(setTimeout(function () { return client_1.client.viewport.updateTestimony(); }, client_1.UPDATE_INTERVAL));\n};\nexports.initTestimonyUpdater = initTestimonyUpdater;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.set_side = void 0;\nvar positions_1 = require(\"../constants/positions\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar client_1 = require(\"../../client\");\nvar tryUrls_1 = require(\"../../utils/tryUrls\");\nvar fileExists_1 = require(\"../../utils/fileExists\");\n/**\n * Changes the viewport background based on a given position.\n *\n * Valid positions: `def, pro, hld, hlp, wit, jud, jur, sea`\n * @param {string} position the position to change into\n */\nvar set_side = function (_a) {\n var position = _a.position, showSpeedLines = _a.showSpeedLines, showDesk = _a.showDesk;\n return __awaiter(void 0, void 0, void 0, function () {\n var view, bench, court, bg, desk, speedLines, _b, deskFilename;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n view = document.getElementById(\"client_fullview\");\n if (['def', 'pro', 'wit'].includes(position)) {\n bench = (document.getElementById(\"client_\".concat(position, \"_bench\")));\n }\n else {\n bench = document.getElementById(\"client_bench_classic\");\n }\n if (\"def,pro,wit\".includes(position)) {\n court = (document.getElementById(\"client_court_\".concat(position)));\n }\n else {\n court = document.getElementById(\"client_court_classic\");\n }\n if (\"def,pro,hld,hlp,wit,jud,jur,sea\".includes(position)) {\n bg = positions_1.positions[position].bg;\n desk = positions_1.positions[position].desk;\n speedLines = positions_1.positions[position].speedLines;\n }\n else {\n bg = \"\".concat(position);\n desk = { ao2: \"\".concat(position, \"_overlay.png\"), ao1: \"_overlay.png\" };\n speedLines = \"defense_speedlines.gif\";\n }\n if (!(showSpeedLines === true)) return [3 /*break*/, 1];\n court.src = \"\".concat(aoHost_1.AO_HOST, \"themes/default/\").concat(encodeURI(speedLines));\n return [3 /*break*/, 3];\n case 1:\n _b = court;\n return [4 /*yield*/, (0, tryUrls_1.default)(client_1.client.viewport.getBackgroundFolder() + bg)];\n case 2:\n _b.src = _c.sent();\n _c.label = 3;\n case 3:\n if (!(showDesk === true && desk)) return [3 /*break*/, 5];\n return [4 /*yield*/, (0, fileExists_1.default)(client_1.client.viewport.getBackgroundFolder() + desk.ao2)];\n case 4:\n deskFilename = (_c.sent())\n ? desk.ao2\n : desk.ao1;\n bench.src = client_1.client.viewport.getBackgroundFolder() + deskFilename;\n bench.style.opacity = \"1\";\n return [3 /*break*/, 6];\n case 5:\n bench.style.opacity = \"0\";\n _c.label = 6;\n case 6:\n if (\"def,pro,wit\".includes(position)) {\n view.style.display = \"\";\n document.getElementById(\"client_classicview\").style.display = \"none\";\n switch (position) {\n case \"def\":\n view.style.left = \"0\";\n break;\n case \"wit\":\n view.style.left = \"-200%\";\n break;\n case \"pro\":\n view.style.left = \"-400%\";\n break;\n }\n }\n else {\n view.style.display = \"none\";\n document.getElementById(\"client_classicview\").style.display = \"\";\n }\n return [2 /*return*/];\n }\n });\n });\n};\nexports.set_side = set_side;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar client_1 = require(\"../client\");\nvar client_2 = require(\"../client\");\nvar setEmote_1 = require(\"../client/setEmote\");\nvar encoding_1 = require(\"../encoding\");\nvar aoHost_1 = require(\"../client/aoHost\");\nvar createBlipChannels_1 = require(\"./utils/createBlipChannels\");\nvar defaultChatMsg_1 = require(\"./constants/defaultChatMsg\");\nvar createMusic_1 = require(\"./utils/createMusic\");\nvar createSfxAudio_1 = require(\"./utils/createSfxAudio\");\nvar createShoutAudio_1 = require(\"./utils/createShoutAudio\");\nvar createTestimonyAudio_1 = require(\"./utils/createTestimonyAudio\");\nvar colors_1 = require(\"./constants/colors\");\nvar setSide_1 = require(\"./utils/setSide\");\nvar handleICSpeaking_1 = require(\"./utils/handleICSpeaking\");\nvar viewport = function () {\n var animating = false;\n var blipChannels = (0, createBlipChannels_1.createBlipsChannels)();\n var chatmsg = defaultChatMsg_1.defaultChatMsg;\n var currentBlipChannel = 0;\n var lastChar = \"\";\n var lastEvi = 0;\n var music = (0, createMusic_1.createMusic)();\n var musicVolume = 0;\n var sfxAudio = (0, createSfxAudio_1.createSfxAudio)();\n var sfxplayed = 0;\n var shoutTimer = 0;\n var shoutaudio = (0, createShoutAudio_1.createShoutAudio)();\n var testimonyAudio = (0, createTestimonyAudio_1.createTestimonyAudio)();\n var testimonyTimer = 0;\n var testimonyUpdater;\n var textnow = \"\";\n var theme;\n var tickTimer = 0;\n var updater;\n var backgroundName = \"\";\n var getSfxAudio = function () { return sfxAudio; };\n var setSfxAudio = function (value) { sfxAudio = value; };\n var getBackgroundName = function () { return backgroundName; };\n var setBackgroundName = function (value) { backgroundName = value; };\n var getBackgroundFolder = function () {\n return \"\".concat(aoHost_1.AO_HOST, \"background/\").concat(encodeURI(backgroundName.toLowerCase()), \"/\");\n };\n var getTextNow = function () { return textnow; };\n var setTextNow = function (val) { textnow = val; };\n var getChatmsg = function () { return chatmsg; };\n var setChatmsg = function (val) { chatmsg = val; };\n var getSfxPlayed = function () { return sfxplayed; };\n var setSfxPlayed = function (val) { sfxplayed = val; };\n var getTickTimer = function () { return tickTimer; };\n var setTickTimer = function (val) { tickTimer = val; };\n var getAnimating = function () { return animating; };\n var setAnimating = function (val) { animating = val; };\n var getLastEvidence = function () { return lastEvi; };\n var setLastEvidence = function (val) { lastEvi = val; };\n var setLastCharacter = function (val) { lastChar = val; };\n var getLastCharacter = function () { return lastChar; };\n var getShoutTimer = function () { return shoutTimer; };\n var setShoutTimer = function (val) { shoutTimer = val; };\n var getTheme = function () { return theme; };\n var setTheme = function (val) { theme = val; };\n var getTestimonyTimer = function () { return testimonyTimer; };\n var setTestimonyTimer = function (val) { testimonyTimer = val; };\n var setTestimonyUpdater = function (val) { testimonyUpdater = val; };\n var getTestimonyUpdater = function () { return testimonyUpdater; };\n var playSFX = function (sfxname, looping) { return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n sfxAudio.pause();\n sfxAudio.loop = looping;\n sfxAudio.src = sfxname;\n sfxAudio.play();\n return [2 /*return*/];\n });\n }); };\n /**\n * Updates the testimony overaly\n */\n var updateTestimony = function () {\n var testimonyFilenames = {\n 1: \"witnesstestimony\",\n 2: \"crossexamination\",\n 3: \"notguilty\",\n 4: \"guilty\",\n };\n // Update timer\n testimonyTimer += client_2.UPDATE_INTERVAL;\n var testimony = testimonyFilenames[client_1.client.testimonyID];\n var resource = client_1.client.resources[testimony];\n if (!resource) {\n disposeTestimony();\n return;\n }\n if (testimonyTimer >= resource.duration) {\n disposeTestimony();\n }\n else {\n testimonyUpdater = setTimeout(function () { return updateTestimony(); }, client_2.UPDATE_INTERVAL);\n }\n };\n /**\n * Dispose the testimony overlay\n */\n var disposeTestimony = function () {\n client_1.client.testimonyID = 0;\n testimonyTimer = 0;\n document.getElementById(\"client_testimony\").style.opacity = \"0\";\n clearTimeout(testimonyUpdater);\n };\n var handleTextTick = function (charLayers) { return __awaiter(void 0, void 0, void 0, function () {\n var chatBox, waitingBox, chatBoxInner, charName, charEmote, characterElement, COMMAND_IDENTIFIER, nextCharacterElement, flash, shake, commands, textSpeeds, MAX_SLOW_CHATSPEED, i, currentCharacter;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n chatBox = document.getElementById(\"client_chat\");\n waitingBox = document.getElementById(\"client_chatwaiting\");\n chatBoxInner = document.getElementById(\"client_inner_chat\");\n charName = chatmsg.name.toLowerCase();\n charEmote = chatmsg.sprite.toLowerCase();\n if (chatmsg.content.charAt(textnow.length) !== \" \") {\n blipChannels[currentBlipChannel].play();\n currentBlipChannel++;\n currentBlipChannel %= blipChannels.length;\n }\n textnow = chatmsg.content.substring(0, textnow.length + 1);\n characterElement = chatmsg.parsed[textnow.length - 1];\n if (!characterElement) return [3 /*break*/, 3];\n COMMAND_IDENTIFIER = \"\\\\\";\n nextCharacterElement = chatmsg.parsed[textnow.length];\n flash = function () { return __awaiter(void 0, void 0, void 0, function () {\n var effectlayer;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n effectlayer = document.getElementById(\"client_fg\");\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-realization.opus\"), false);\n effectlayer.style.animation = \"flash 0.4s 1\";\n return [4 /*yield*/, (0, client_1.delay)(400)];\n case 1:\n _a.sent();\n effectlayer.style.removeProperty(\"animation\");\n return [2 /*return*/];\n }\n });\n }); };\n shake = function () { return __awaiter(void 0, void 0, void 0, function () {\n var gamewindow;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n gamewindow = document.getElementById(\"client_gamewindow\");\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-stab.opus\"), false);\n gamewindow.style.animation = \"shake 0.2s 1\";\n return [4 /*yield*/, (0, client_1.delay)(200)];\n case 1:\n _a.sent();\n gamewindow.style.removeProperty(\"animation\");\n return [2 /*return*/];\n }\n });\n }); };\n commands = new Map(Object.entries({\n s: shake,\n f: flash,\n }));\n textSpeeds = new Set([\"{\", \"}\"]);\n // Changing Text Speed\n if (textSpeeds.has(characterElement.innerHTML)) {\n MAX_SLOW_CHATSPEED = 120;\n for (i = textnow.length; i < chatmsg.content.length; i++) {\n currentCharacter = chatmsg.parsed[i - 1].innerHTML;\n if (currentCharacter === \"}\") {\n if (chatmsg.speed > 0) {\n chatmsg.speed -= 20;\n }\n }\n else if (currentCharacter === \"{\") {\n if (chatmsg.speed < MAX_SLOW_CHATSPEED) {\n chatmsg.speed += 20;\n }\n }\n else {\n // No longer at a speed character\n textnow = chatmsg.content.substring(0, i);\n break;\n }\n }\n }\n if (!(characterElement.innerHTML === COMMAND_IDENTIFIER &&\n commands.has(nextCharacterElement === null || nextCharacterElement === void 0 ? void 0 : nextCharacterElement.innerHTML))) return [3 /*break*/, 2];\n textnow = chatmsg.content.substring(0, textnow.length + 1);\n return [4 /*yield*/, commands.get(nextCharacterElement.innerHTML)()];\n case 1:\n _a.sent();\n return [3 /*break*/, 3];\n case 2:\n chatBoxInner.appendChild(chatmsg.parsed[textnow.length - 1]);\n _a.label = 3;\n case 3:\n // scroll to bottom\n chatBox.scrollTop = chatBox.scrollHeight;\n if (textnow === chatmsg.content) {\n animating = false;\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, charName, charEmote, \"(a)\", false, chatmsg.side);\n charLayers.style.opacity = \"1\";\n waitingBox.style.opacity = \"1\";\n clearTimeout(updater);\n }\n return [2 /*return*/];\n }\n });\n }); };\n /**\n * Updates the chatbox based on the given text.\n *\n * OK, here's the documentation on how this works:\n *\n * 1 _animating\n * If we're not done with this characters animation, i.e. his text isn't fully there, set a timeout for the next tick/step to happen\n *\n * 2 startpreanim\n * If the shout timer is over it starts with the preanim\n * The first thing it checks for is the shake effect (TODO on client this is handled by the @ symbol and not a flag )\n * Then is the flash/realization effect\n * After that, the shout image set to be transparent\n * and the main characters preanim gif is loaded\n * If pairing is supported the paired character will just stand around with his idle sprite\n *\n * 3 preanimdelay over\n * this animates the evidence popup and finally shows the character name and message box\n * it sets the text color and the character speaking sprite\n *\n * 4 textnow != content\n * this adds a character to the textbox and stops the animations if the entire message is present in the textbox\n *\n * 5 sfx\n * independent of the stuff above, this will play any sound effects specified by the emote the character sent.\n * happens after the shout delay + an sfx delay that comes with the message packet\n *\n * XXX: This relies on a global variable `chatmsg`!\n */\n var chat_tick = function () { return __awaiter(void 0, void 0, void 0, function () {\n var gamewindow, waitingBox, eviBox, shoutSprite, effectlayer, chatBoxInner, charLayers, pairLayers, validSides, charName, charEmote, pairName, pairEmote, isShoutOver, isShoutAndPreanimOver, preanim, hasNonInterruptingPreAnim, chatContainerBox, chatContainerBox;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: \n // note: this is called fairly often\n // do not perform heavy operations here\n return [4 /*yield*/, (0, client_1.delay)(chatmsg.speed)];\n case 1:\n // note: this is called fairly often\n // do not perform heavy operations here\n _a.sent();\n if (textnow === chatmsg.content) {\n return [2 /*return*/];\n }\n gamewindow = document.getElementById(\"client_gamewindow\");\n waitingBox = document.getElementById(\"client_chatwaiting\");\n eviBox = document.getElementById(\"client_evi\");\n shoutSprite = (document.getElementById(\"client_shout\"));\n effectlayer = document.getElementById(\"client_fg\");\n chatBoxInner = document.getElementById(\"client_inner_chat\");\n charLayers = document.getElementById(\"client_char\");\n pairLayers = (document.getElementById(\"client_pair_char\"));\n validSides = [\"def\", \"pro\", \"wit\"];\n if (validSides.includes(chatmsg.side)) {\n charLayers = (document.getElementById(\"client_\".concat(chatmsg.side, \"_char\")));\n pairLayers = (document.getElementById(\"client_\".concat(chatmsg.side, \"_pair_char\")));\n }\n charName = chatmsg.name.toLowerCase();\n charEmote = chatmsg.sprite.toLowerCase();\n pairName = chatmsg.other_name.toLowerCase();\n pairEmote = chatmsg.other_emote.toLowerCase();\n isShoutOver = tickTimer >= shoutTimer;\n isShoutAndPreanimOver = tickTimer >= shoutTimer + chatmsg.preanimdelay;\n if (isShoutOver && handleICSpeaking_1.startFirstTickCheck) {\n // Effect stuff\n if (chatmsg.screenshake === 1) {\n // Shake screen\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-stab.opus\"), false);\n gamewindow.style.animation = \"shake 0.2s 1\";\n }\n if (chatmsg.flash === 1) {\n // Flash screen\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-realization.opus\"), false);\n effectlayer.style.animation = \"flash 0.4s 1\";\n }\n // Pre-animation stuff\n if (chatmsg.preanimdelay > 0) {\n shoutSprite.style.opacity = \"0\";\n shoutSprite.style.animation = \"\";\n preanim = chatmsg.preanim.toLowerCase();\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, charName, preanim, \"\", false, chatmsg.side);\n }\n if (chatmsg.other_name) {\n pairLayers.style.opacity = \"1\";\n }\n else {\n pairLayers.style.opacity = \"0\";\n }\n // Done with first check, move to second\n (0, handleICSpeaking_1.setStartFirstTickCheck)(false);\n (0, handleICSpeaking_1.setStartSecondTickCheck)(true);\n chatmsg.startpreanim = false;\n chatmsg.startspeaking = true;\n }\n hasNonInterruptingPreAnim = chatmsg.noninterrupting_preanim === 1;\n if (!(textnow !== chatmsg.content && hasNonInterruptingPreAnim)) return [3 /*break*/, 3];\n chatContainerBox = document.getElementById(\"client_chatcontainer\");\n chatContainerBox.style.opacity = \"1\";\n return [4 /*yield*/, handleTextTick(charLayers)];\n case 2:\n _a.sent();\n return [3 /*break*/, 6];\n case 3:\n if (!(isShoutAndPreanimOver && handleICSpeaking_1.startSecondTickCheck)) return [3 /*break*/, 6];\n if (!chatmsg.startspeaking) return [3 /*break*/, 4];\n chatmsg.startspeaking = false;\n // Evidence Bullshit\n if (chatmsg.evidence > 0) {\n // Prepare evidence\n eviBox.src = (0, encoding_1.safeTags)(client_1.client.evidences[chatmsg.evidence - 1].icon);\n eviBox.style.width = \"auto\";\n eviBox.style.height = \"36.5%\";\n eviBox.style.opacity = \"1\";\n testimonyAudio.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-evidenceshoop.opus\");\n testimonyAudio.play();\n if (chatmsg.side === \"def\") {\n // Only def show evidence on right\n eviBox.style.right = \"1em\";\n eviBox.style.left = \"initial\";\n }\n else {\n eviBox.style.right = \"initial\";\n eviBox.style.left = \"1em\";\n }\n }\n chatBoxInner.className = \"text_\".concat(colors_1.COLORS[chatmsg.color]);\n if (chatmsg.preanimdelay === 0) {\n shoutSprite.style.opacity = \"0\";\n shoutSprite.style.animation = \"\";\n }\n switch (Number(chatmsg.deskmod)) {\n case 2:\n (0, setSide_1.set_side)({\n position: chatmsg.side,\n showSpeedLines: false,\n showDesk: true,\n });\n break;\n case 3:\n (0, setSide_1.set_side)({\n position: chatmsg.side,\n showSpeedLines: false,\n showDesk: false,\n });\n break;\n case 4:\n (0, setSide_1.set_side)({\n position: chatmsg.side,\n showSpeedLines: false,\n showDesk: true,\n });\n break;\n case 5:\n (0, setSide_1.set_side)({\n position: chatmsg.side,\n showSpeedLines: false,\n showDesk: false,\n });\n break;\n }\n if (chatmsg.other_name) {\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, pairName, pairEmote, \"(a)\", true, chatmsg.side);\n pairLayers.style.opacity = \"1\";\n }\n else {\n pairLayers.style.opacity = \"0\";\n }\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, charName, charEmote, \"(b)\", false, chatmsg.side);\n charLayers.style.opacity = \"1\";\n if (textnow === chatmsg.content) {\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, charName, charEmote, \"(a)\", false, chatmsg.side);\n charLayers.style.opacity = \"1\";\n waitingBox.style.opacity = \"1\";\n animating = false;\n clearTimeout(updater);\n return [2 /*return*/];\n }\n return [3 /*break*/, 6];\n case 4:\n if (!(textnow !== chatmsg.content)) return [3 /*break*/, 6];\n chatContainerBox = document.getElementById(\"client_chatcontainer\");\n chatContainerBox.style.opacity = \"1\";\n return [4 /*yield*/, handleTextTick(charLayers)];\n case 5:\n _a.sent();\n _a.label = 6;\n case 6:\n if (!sfxplayed && chatmsg.snddelay + shoutTimer >= tickTimer) {\n sfxplayed = 1;\n if (chatmsg.sound !== \"0\" &&\n chatmsg.sound !== \"1\" &&\n chatmsg.sound !== \"\" &&\n chatmsg.sound !== undefined &&\n (chatmsg.type == 1 || chatmsg.type == 2 || chatmsg.type == 6)) {\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/\").concat(encodeURI(chatmsg.sound.toLowerCase()), \".opus\"), chatmsg.looping_sfx);\n }\n }\n if (animating) {\n chat_tick();\n }\n tickTimer += client_2.UPDATE_INTERVAL;\n return [2 /*return*/];\n }\n });\n }); };\n return {\n getTextNow: getTextNow,\n setTextNow: setTextNow,\n getChatmsg: getChatmsg,\n setChatmsg: setChatmsg,\n getSfxPlayed: getSfxPlayed,\n setSfxPlayed: setSfxPlayed,\n setTickTimer: setTickTimer,\n getTickTimer: getTickTimer,\n setAnimating: setAnimating,\n getAnimating: getAnimating,\n getLastEvidence: getLastEvidence,\n setLastEvidence: setLastEvidence,\n setLastCharacter: setLastCharacter,\n getLastCharacter: getLastCharacter,\n getShoutTimer: getShoutTimer,\n setShoutTimer: setShoutTimer,\n setTheme: setTheme,\n getTheme: getTheme,\n setTestimonyTimer: setTestimonyTimer,\n getTestimonyTimer: getTestimonyTimer,\n setTestimonyUpdater: setTestimonyUpdater,\n getTestimonyUpdater: getTestimonyUpdater,\n testimonyAudio: testimonyAudio,\n chat_tick: chat_tick,\n playSFX: playSFX,\n set_side: setSide_1.set_side,\n setBackgroundName: setBackgroundName,\n updateTestimony: updateTestimony,\n disposeTestimony: disposeTestimony,\n handleTextTick: handleTextTick,\n getBackgroundFolder: getBackgroundFolder,\n getBackgroundName: getBackgroundName,\n getSfxAudio: getSfxAudio,\n setSfxAudio: setSfxAudio,\n blipChannels: blipChannels,\n music: music,\n musicVolume: musicVolume,\n shoutaudio: shoutaudio,\n updater: updater,\n };\n};\nexports.default = viewport;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t47: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkwebao\"] = self[\"webpackChunkwebao\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(6459);\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","changeSFXVolume","setCookie","document","getElementById","volume","changeTestimonyVolume","changeShoutVolume","window","regexPatterns","section","param","comment","lineFilter","value","isEmpty","length","test","data","currentSection","parsedIni","split","filter","forEach","line","isParameter","isSection","match","matchKey","toLowerCase","matchValue","valueHandler","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","gen","reject","_next","_throw","key","info","error","_asyncToGenerator","fn","self","args","arguments","apply","err","undefined","requestBuffer","_x","_requestBuffer","_callee2","url","_context2","xhr","XMLHttpRequest","responseType","addEventListener","concat","statusText","code","status","response","open","send","request","_ref","_callee","_context","_x2","fileExists","onload","readyState","onerror","gifFile","Uint8Array","duration","delay","webpFile","apngFile","delayNum","Number","delayDen","getAnimLength","_i","_extensions","extension","urlWithExtension","fileBuffer","calculatorHandler","AO_HOST","THEME","holdit","src","objection","takethat","custom","witnesstestimony","sfx","crossexamination","guilty","notguilty","__assign","assign","this","__awaiter","thisArg","_arguments","P","generator","fulfilled","step","rejected","result","__generator","body","_","label","trys","ops","verb","op","__spreadArray","to","from","pack","ar","Array","SuppressedError","version","wait","durationMs","resolveWith","setTimeout","isPromise","awaitIfAsync","action","callback","returnedValue","mapWithBreaks","items","loopReleaseInterval","results","lastLoopReleaseTime","now","_a","Date","suppressUnhandledRejectionWarning","promise","x64Add","m","x64Multiply","x64Rotl","x64LeftShift","x64Xor","x64Fmix","x64hash128","seed","remainder","bytes","h1","h2","k1","k2","c1","c2","charCodeAt","toString","toInt","parseInt","toFloat","parseFloat","replaceNaN","replacement","countTruthy","reduce","sum","round","base","Math","abs","counterBase","ensureErrorWithMessage","message","isFinalResultLoaded","loadResult","loadSources","sources","sourceOptions","excludeSources","includedSources","sourceKey","haystack","needle","includes","sourceGettersPromise","source","sourceLoadPromise","resolveLoad","loadStartTime","bind","loadArgs","loadDuration","resolveGet","getStartTime","getArgs","finalizeSource","loadSource","componentPromises","componentArray","components","index","sourceGetter","componentPromise","all","transformSource","transformValue","transformLoadResult","getResult","options","isTrident","w","navigator","isEdgeHTML","isChromium","vendor","indexOf","isWebKit","isDesktopSafari","isGecko","_b","documentElement","style","getFullscreenElement","fullscreenElement","msFullscreenElement","mozFullScreenElement","webkitFullscreenElement","isAndroid","isItChromium","isItGecko","appVersion","makeInnerError","withIframe","initialHtml","domPollInterval","_c","iframe","_d","createElement","_resolve","_reject","isComplete","setProperty","position","top","left","visibility","srcdoc","appendChild","checkReadyState","contentWindow","parentNode","removeChild","selectorToElement","selector","errorMessage","tagMatch","exec","tag","attributes","partsRegex","addAttribute","part","attributeMatch","parseSimpleCssSelector","element","name_1","join","addStyleString","setAttribute","property","name_2","priority","baseFonts","fontList","canvasToString","canvas","toDataURL","screenFrameBackup","screenFrameSizeTimeoutId","screenFrameCheckInterval","getScreenFrame","_this","checkScreenFrame","frameSize","getCurrentScreenFrame","isFrameSizeNull","watchScreenFrame","exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen","screen","availTop","width","availWidth","availLeft","height","availHeight","getBlockedSelectors","selectors","root","elements","blockedSelectors","holder","forceShow","tagName","show","offsetParent","doesMatch$4","matchMedia","matches","doesMatch$3","doesMatch$2","doesMatch$1","doesMatch","M","fallbackFn","presets","default","apple","font","serif","fontFamily","sans","mono","min","fontSize","system","fonts","spansContainer","defaultWidth","defaultHeight","createSpan","span","textContent","baseFontsSpans","map","fontsSpans","spans","_loop_1","baseFont","fontToDetect","createSpanWithFonts","fontList_1","initializeFontsSpans","offsetWidth","offsetHeight","fontSpans","some","baseFontIndex","domBlockers","debug","filters","filterNames","activeBlockers","fromB64","atob","abpIndo","abpvn","adBlockFinland","adBlockPersian","adBlockWarningRemoval","adGuardAnnoyances","adGuardBase","adGuardChinese","adGuardFrench","adGuardGerman","adGuardJapanese","adGuardMobile","adGuardRussian","adGuardSocial","adGuardSpanishPortuguese","adGuardTrackingProtection","adGuardTurkish","bulgarian","easyList","easyListChina","easyListCookie","easyListCzechSlovak","easyListDutch","easyListGermany","easyListItaly","easyListLithuania","estonian","fanboyAnnoyances","fanboyAntiFacebook","fanboyEnhancedTrackers","fanboySocial","frellwitSwedish","greekAdBlock","hungarian","iDontCareAboutCookies","icelandicAbp","latvian","listKr","listeAr","listeFr","officialPolish","ro","ruAd","thaiAds","webAnnoyancesUltralist","filterName","console","log","printDebug","sort","fontPreferences","containerWidthPx","iframeWindow","iframeDocument","iframeBody","bodyStyle","webkitTextSizeAdjust","textSizeAdjust","zoom","devicePixelRatio","linesOfText","container","sizes","text","whiteSpace","_e","_f","_g","_h","getBoundingClientRect","audio","AudioContext","OfflineAudioContext","webkitOfflineAudioContext","isWebKit606OrNewer","context","oscillator","createOscillator","frequency","compressor","createDynamicsCompressor","threshold","knee","ratio","attack","release","connect","destination","start","finalize","isFinalized","renderTryCount","startedRunningAt","oncomplete","event","renderedBuffer","startRunningTimeout","tryRender","renderingPromise","startRendering","state","hidden","startRenderingAudio","renderPromise","finishRendering","fingerprintPromise","buffer","signal","hash","getHash","getChannelData","subarray","screenFrame","screenFrameGetter","processSize","sideSize","osCpu","oscpu","languages","language","userLanguage","browserLanguage","systemLanguage","isArray","Intl","Reflect","colorDepth","deviceMemory","screenResolution","parseDimension","dimensions","hardwareConcurrency","timezone","DateTimeFormat","resolvedOptions","timeZone","currentYear","offset","getFullYear","max","getTimezoneOffset","sessionStorage","localStorage","indexedDB","openDatabase","cpuClass","platform","screenRatio","Element","webkitRequestFullscreen","isIPad","plugins","rawPlugins","plugin","mimeTypes","j","mimeType","suffixes","description","geometry","winding","getContext","makeCanvasContext","isSupported","rect","isPointInPath","doesSupportWinding","textBaseline","fillStyle","fillRect","printedText","String","fromCharCode","fillText","renderTextImage","textImage1","globalCompositeOperation","color","x","beginPath","arc","PI","closePath","fill","renderGeometryImage","touchSupport","touchEvent","maxTouchPoints","msMaxTouchPoints","createEvent","touchStart","vendorFlavors","flavors","cookiesEnabled","cookie","colorGamut","gamut","invertedColors","forcedColors","monochrome","contrast","reducedMotion","hdr","math","acos","acosh","asin","asinh","atanh","atan","sin","sinh","cos","cosh","tan","tanh","exp","expm1","log1p","acoshPf","sqrt","asinhPf","atanhPf","sinhPf","coshPf","tanhPf","expm1Pf","log1pPf","powPI","pow","videoCard","gl","debugInfo","getExtension","getParameter","UNMASKED_VENDOR_WEBGL","renderer","UNMASKED_RENDERER_WEBGL","pdfViewerEnabled","architecture","Float32Array","u8","Infinity","commentTemplate","getConfidence","openConfidenceScore","getOpenConfidenceScore","proConfidenceScore","deriveProConfidenceScore","score","replace","componentsToDebugString","JSON","stringify","_key","stack","hashComponents","componentKey","component","componentsToCanonicalString","prepareForSources","delayFallback","fallbackTimeout","deadlineTimeout","requestIdleCallback","timeout","requestIdleCallbackIfAvailable","makeAgent","getComponents","creationTime","get","startTime","visitorIdCache","visitorId","confidence","makeLazyGetResult","userAgent","load","monitoring","__fpjs_d_m","random","monitor","murmurX64Hash128","isCallable","tryToString","$TypeError","module","exports","argument","isConstructor","$String","wellKnownSymbol","UNSCOPABLES","ArrayPrototype","S","unicode","isPrototypeOf","it","Prototype","isObject","ArrayBuffer","DataView","NAME","Constructor","NATIVE_ARRAY_BUFFER","DESCRIPTORS","global","hasOwn","classof","createNonEnumerableProperty","defineBuiltIn","defineBuiltInAccessor","uid","InternalStateModule","enforceInternalState","enforce","getInternalState","Int8Array","Int8ArrayPrototype","Uint8ClampedArray","Uint8ClampedArrayPrototype","TypedArray","TypedArrayPrototype","ObjectPrototype","TO_STRING_TAG","TYPED_ARRAY_TAG","TYPED_ARRAY_CONSTRUCTOR","NATIVE_ARRAY_BUFFER_VIEWS","opera","TYPED_ARRAY_TAG_REQUIRED","TypedArrayConstructorsList","Int16Array","Uint16Array","Int32Array","Uint32Array","Float64Array","BigIntArrayConstructorsList","BigInt64Array","BigUint64Array","getTypedArrayConstructor","proto","isTypedArray","klass","Function","aTypedArray","aTypedArrayConstructor","C","exportTypedArrayMethod","KEY","forced","ARRAY","TypedArrayConstructor","error2","exportTypedArrayStaticMethod","isView","uncurryThis","FunctionName","defineBuiltIns","fails","anInstance","toIntegerOrInfinity","toLength","toIndex","IEEE754","getOwnPropertyNames","arrayFill","arraySlice","setToStringTag","PROPER_FUNCTION_NAME","PROPER","CONFIGURABLE_FUNCTION_NAME","CONFIGURABLE","ARRAY_BUFFER","DATA_VIEW","PROTOTYPE","WRONG_INDEX","getInternalArrayBufferState","getterFor","getInternalDataViewState","setInternalState","set","NativeArrayBuffer","$ArrayBuffer","ArrayBufferPrototype","$DataView","DataViewPrototype","RangeError","packIEEE754","unpackIEEE754","unpack","packInt8","number","packInt16","packInt32","unpackInt32","packFloat32","packFloat64","addGetter","view","count","isLittleEndian","store","intIndex","boolIsLittleEndian","byteLength","byteOffset","conversion","INCORRECT_ARRAY_BUFFER_NAME","NaN","testView","$setInt8","setInt8","getInt8","setUint8","unsafe","detached","bufferState","bufferLength","getUint8","getInt16","getUint16","getInt32","getUint32","getFloat32","getFloat64","setInt16","setUint16","setInt32","setUint32","setFloat32","setFloat64","toObject","toAbsoluteIndex","lengthOfArrayLike","deletePropertyOrThrow","copyWithin","target","O","len","end","inc","argumentsLength","endPos","$forEach","STRICT_METHOD","arrayMethodIsStrict","callbackfn","list","toIndexedObject","createMethod","IS_INCLUDES","$this","el","fromIndex","IndexedObject","arraySpeciesCreate","TYPE","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","that","specificCreate","boundFunction","every","find","findIndex","filterReject","$lastIndexOf","lastIndexOf","NEGATIVE_ZERO","FORCED","searchElement","V8_VERSION","SPECIES","METHOD_NAME","array","foo","Boolean","aCallable","IS_RIGHT","memo","right","createProperty","$Array","k","fin","floor","mergeSort","comparefn","middle","insertionSort","merge","llength","rlength","lindex","rindex","originalArray","arraySpeciesConstructor","ITERATOR","SAFE_CLOSING","called","iteratorWithReturn","SKIP_CLOSING","ITERATION_SUPPORT","object","stringSlice","TO_STRING_TAG_SUPPORT","classofRaw","$Object","CORRECT_ARGUMENTS","tryGet","callee","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","exceptions","getOwnPropertyDescriptor","F","createPropertyDescriptor","bitmap","toPropertyKey","propertyKey","makeBuiltIn","descriptor","getter","setter","defineGlobalProperty","simple","nonConfigurable","nonWritable","documentAll","IS_HTMLDDA","EXISTS","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","classList","documentCreateElement","DOMTokenListPrototype","firefox","IS_DENO","IS_NODE","Deno","UA","Pebble","process","versions","v8","webkit","copyConstructorProperties","isForced","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","sham","regexpExec","RegExpPrototype","RegExp","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","re","flags","uncurriedNativeRegExpMethod","methods","nativeMethod","regexp","str","arg2","forceStringMethod","uncurriedNativeMethod","$exec","NATIVE_BIND","FunctionPrototype","getDescriptor","uncurryThisWithBind","namespace","getMethod","isNullOrUndefined","Iterators","anObject","getIteratorMethod","usingIterator","iteratorMethod","replacer","rawLength","keysLength","V","func","check","globalThis","b","getBuiltIn","sign","trunc","LN2","roundToEven","truncated","delta","mantissaLength","exponent","mantissa","exponentLength","eMax","eBias","rt","nBits","propertyIsEnumerable","dummy","Wrapper","NewTarget","NewTargetPrototype","functionToString","inspectSource","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","metadata","facade","STATE","$documentAll","noop","empty","construct","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","feature","detection","normalize","POLYFILL","NATIVE","string","isInteger","isFinite","MATCH","isRegExp","USE_SYMBOL_AS_UID","$Symbol","isArrayIteratorMethod","getIterator","iteratorClose","Result","stopped","ResultPrototype","iterable","unboundFunction","iterFn","AS_ENTRIES","IS_RECORD","IS_ITERATOR","INTERRUPTED","condition","callFn","kind","innerResult","innerError","IteratorPrototype","returnThis","IteratorConstructor","ENUMERABLE_NEXT","$","IS_PURE","createIteratorConstructor","IteratorsCore","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","ENTRIES","Iterable","DEFAULT","IS_SET","CurrentIteratorPrototype","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","PrototypeOfArrayIteratorPrototype","arrayIterator","obj","CONFIGURABLE_LENGTH","TEMPLATE","arity","ceil","notify","toggle","node","macrotask","Queue","IS_IOS","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","MutationObserver","WebKitMutationObserver","queueMicrotaskDescriptor","microtask","queue","flush","parent","domain","exit","head","enter","nextTick","createTextNode","observe","characterData","add","PromiseCapability","$$resolve","$$reject","activeXDocument","definePropertiesModule","enumBugKeys","html","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","JS","display","Properties","V8_PROTOTYPE_DEFINE_BUG","objectKeys","defineProperties","props","IE8_DOM_DEFINE","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","$getOwnPropertyNames","windowNames","getWindowNames","internalObjectKeys","getOwnPropertySymbols","CORRECT_PROTOTYPE_GETTER","names","$propertyIsEnumerable","NASHORN_BUG","uncurryThisAccessor","aPossiblePrototype","CORRECT_SETTER","input","pref","val","valueOf","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","NativePromiseConstructor","IS_BROWSER","NativePromisePrototype","SUBCLASSING","NATIVE_PROMISE_REJECTION_EVENT","PromiseRejectionEvent","FORCED_PROMISE_CONSTRUCTOR","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","CONSTRUCTOR","REJECTION_EVENT","newPromiseCapability","promiseCapability","checkCorrectnessOfIteration","tail","item","entry","R","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","nativeExec","patchedExec","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","group","raw","groups","sticky","charsAdded","strCopy","multiline","hasIndices","ignoreCase","dotAll","unicodeSets","$RegExp","MISSED_STICKY","CONSTRUCTOR_NAME","TAG","SHARED","mode","copyright","license","aConstructor","defaultConstructor","requireObjectCoercible","CONVERT_TO_STRING","pos","first","second","size","codeAt","whitespaces","ltrim","rtrim","trim","symbol","SymbolPrototype","TO_PRIMITIVE","hint","NATIVE_SYMBOL","keyFor","$location","defer","channel","port","validateArgumentsLength","setImmediate","clear","clearImmediate","Dispatch","MessageChannel","counter","ONREADYSTATECHANGE","location","run","id","runner","eventListener","globalPostMessageDefer","postMessage","protocol","host","handler","port2","port1","onmessage","importScripts","integer","toPrimitive","prim","BigInt","$RangeError","toPositiveInteger","BYTES","isSymbol","ordinaryToPrimitive","exoticToPrim","TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS","ArrayBufferViewCore","ArrayBufferModule","isIntegralNumber","toOffset","toUint8Clamped","typedArrayFrom","setSpecies","inheritIfRequired","nativeDefineProperty","nativeGetOwnPropertyDescriptor","BYTES_PER_ELEMENT","WRONG_LENGTH","fromList","isArrayBuffer","isTypedArrayIndex","wrappedGetOwnPropertyDescriptor","wrappedDefineProperty","wrapper","CLAMPED","GETTER","SETTER","NativeTypedArrayConstructor","TypedArrayConstructorPrototype","exported","addElement","typedArrayOffset","$length","$len","arrayFromConstructorAndList","typedArraySpeciesConstructor","instance","isBigIntArray","toBigInt","thisIsBigIntArray","mapfn","mapping","speciesConstructor","postfix","passed","required","path","wrappedWellKnownSymbolModule","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","nativeArrayBufferSlice","viewSource","viewTarget","doesNotExceedSafeInteger","arrayMethodHasSpeciesSupport","IS_CONCAT_SPREADABLE","IS_CONCAT_SPREADABLE_SUPPORT","isConcatSpreadable","spreadable","E","A","$filter","addToUnscopables","defineIterator","createIterResultObject","ARRAY_ITERATOR","iterated","Arguments","nativeReverse","nativeSlice","HAS_SPECIES_SUPPORT","FUNCTION_NAME_EXISTS","nameRE","regExpExec","getReplacerFunction","$stringify","numberToString","tester","low","hi","WRONG_SYMBOLS_CONVERSION","ILL_FORMED_UNICODE","stringifyWithSymbolsFix","$replacer","fixIllFormed","space","thisNumberValue","NUMBER","NativeNumber","PureNumberNamespace","NumberPrototype","NumberWrapper","primValue","third","radix","maxCode","digits","toNumber","toNumeric","$getOwnPropertySymbols","nativeGetPrototypeOf","newPromiseCapabilityModule","perform","iterate","capability","$promiseResolve","remaining","alreadyCalled","real","onRejected","Internal","OwnPromiseCapability","nativeThen","task","hostReportErrors","PromiseConstructorDetection","PROMISE","NATIVE_PROMISE_SUBCLASSING","getInternalPromiseState","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","dispatchEvent","UNHANDLED_REJECTION","isThenable","callReaction","reaction","exited","ok","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","reason","initEvent","isUnhandled","emit","unwrap","internalReject","internalResolve","executor","onFulfilled","PromiseWrapper","race","promiseResolve","PromiseConstructorWrapper","CHECK_WRAPPER","STRING_ITERATOR","point","fixRegExpWellKnownSymbolLogic","advanceStringIndex","nativeMatch","maybeCallNative","matcher","rx","res","fullUnicode","matchStr","callRegExpExec","MAX_UINT32","$push","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","SPLIT","nativeSplit","internalSplit","separator","limit","lim","lastLength","output","lastLastIndex","separatorCopy","splitter","unicodeMatching","q","z","defineWellKnownSymbol","$toString","nativeObjectCreate","getOwnPropertyNamesExternal","defineSymbolToPrimitive","HIDDEN","QObject","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","$defineProperties","properties","IS_OBJECT_PROTOTYPE","useSetter","useSimple","NativeSymbol","EmptyStringDescriptionStore","SymbolWrapper","thisSymbolValue","symbolDescriptiveString","desc","NATIVE_SYMBOL_REGISTRY","StringToSymbolRegistry","SymbolToStringRegistry","sym","u$ArrayCopyWithin","$every","$fill","actualValue","fromSpeciesAndList","$findIndex","predicate","$find","$includes","$indexOf","ArrayIterators","arrayValues","arrayKeys","arrayEntries","GENERIC","ITERATOR_IS_VALUES","typedArrayValues","$join","$map","$reduceRight","$reduce","$set","WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS","TO_OBJECT_BUG","arrayLike","$some","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","nativeSort","ACCEPT_INCORRECT_ARGUMENTS","STABLE_SORT","mod","expected","getSortCompare","begin","beginIndex","$toLocaleString","toLocaleString","TO_LOCALE_STRING_BUG","Uint8ArrayPrototype","arrayToString","IS_NOT_ARRAY_METHOD","createTypedArrayConstructor","init","DOMIterables","handlePrototype","CollectionPrototype","COLLECTION_NAME","ArrayIteratorMethods","ArrayValues","ReflectOwnKeys","ReflectApply","receiver","NumberIsNaN","EventEmitter","once","emitter","errorListener","removeListener","resolver","eventTargetAgnosticAddListener","on","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","listener","_getMaxListeners","_addListener","prepend","events","existing","warning","newListener","unshift","warned","warn","onceWrapper","fired","wrapFn","_onceWrap","wrapped","_listeners","evlistener","arr","ret","unwrapListeners","arrayClone","listenerCount","copy","wrapListener","removeEventListener","setMaxListeners","getMaxListeners","doError","er","listeners","addListener","prependListener","prependOnceListener","originalListener","shift","spliceOne","off","removeAllListeners","rawListeners","eventNames","extendStatics","__extends","__","__values","setLastICMessageTime","lastICMessageTime","setBanned","banned","setExtraFeatures","extrafeatures","setSelectedShout","selectedShout","setSelectedMenu","selectedMenu","setOldLoading","oldLoading","UPDATE_INTERVAL","setClient","client","setCHATBOX","CHATBOX","hdid","isLowMemory_1","fingerprintjs_1","index_1","queryParser_1","getResources_js_1","viewport_1","events_1","onReplayGo_1","packetHandler_1","loadResources_1","aoHost_1","fetchLists_1","serverIP","ip","theme","fp","Client","isLowMemory","loadResources","ms","_super","address","onOpen","onClose","onMessage","onError","serv","WebSocket","joinServer","hp","playerID","charID","char_list_length","evidence_list_length","music_list_length","testimonyID","chars","emotes","evidences","areas","musics","musics_time","callwords","manifest","resources","selectedEmote","selectedEvidence","checkUpdater","sender","viewport","_lastTimeICReceived","partial_packet","temp_packet","contains","handleSelf","message_event","MessageEvent","sendServer","setInterval","sendCheck","cleanup","msg","handle_server_packet","p_data","e_1","in_data","endsWith","packet_list","packet_list_1","packet_list_1_1","f_contents","packet","command","packetHandler","e_1_1","return","clearInterval","handleReplay","ooclog","rtime","clines","currentLine","substr","onReplayGo","resetMusicList","innerHTML","resetAreaList","fetchBackgroundList","fetchEvidenceList","fetchCharacterList","addTrack","client_1","encoding_1","paths_1","trackname","newentry","songName","getFilenameFromPath","unescapeChat","setAOhost","asset","appendICLog","showname","nameplate","time","shownameField","nameplateField","textField","className","getMinutes","timeStamp","innerText","toLocaleTimeString","hour","minute","clientLog","scrollTop","scrollHeight","checkCallword","sfxAudio","pause","play","createArea","areaClick_1","thisarea","players","cm","locked","newarea","title","onclick","area_click","fetchManifest","request_js_1","bgdata","bg_array","bg_select_1","parse","Option","background","char_select","chardata","character","evi_select","evidata","evi","manifestdata","fix_last_area","addTrack_1","malplaced","lastChild","handleBans","alert","handleCharacterInfo","iniParse_1","request_1","fileExists_1","chargs","charid","img","cini","getCharIcon","cinidata","default_options","default_emotions","extensions","charIconBaseUrl","fileUrl","alt","encodeURI","safeTags","side","blips","chat","category","emotions","gender","evidence","icon","inifile","muted","isAudio","ending","getCookie_1","evidence_js_1","backgrounds_js_1","changeMusicVolume_1","setChatbox_1","changeVolume_1","showNameClick_1","changeBlipVolume_1","reloadTheme_1","background_select","evidence_select","cookietheme","querySelector","selected","reloadTheme","cookiechatbox","setChatbox","changeMusicVolume","changeBlipVolume","checked","showname_click","resetICParams","saveChatlogHandle","downloadFile_1","icMessageLogs","messages","ye","mo","da","filename","getElementsByTagName","children","year","format","month","day","sendIC_1","sendSelf_1","sendServer_1","sendCheck_1","sendHP_1","sendOOC_1","sendCharacter_1","sendRT_1","sendMusicChange_1","sendZZ_1","sendEE_1","sendDE_1","sendPE_1","sendIC","sendSelf","sendHP","sendOOC","sendCharacter","sendRT","sendMusicChange","sendZZ","sendEE","sendDE","sendPE","escapeChat","client_2","deskmod","preanim","emote","sfx_name","emote_modifier","sfx_delay","objection_modifier","flip","realization","text_color","other_charid","self_hoffset","self_yoffset","noninterrupting_preanim","looping_sfx","screenshake","frame_screenshake","frame_realization","frame_sfx","additive","effect","extra_cccc","other_emote","other_offset","extra_27","extra_28","self_offset","serverMessage","track","setCookie_1","saveChatLogHandle_1","oocName","oocMessage","commands","commandsMap","Map","testimony","transparentPng_1","charactername","emotename","prefix","pair","pairID","characterFolder","emoteSelector","extensionsMap","extensionsMap_1","extensionsMap_1_1","getLastCharacter","getChatmsg","area","areaHr","blipVolume","blipChannels","clientVolume","musicVolume","music","getIndexFromSelect","select_box","select_element","_event","opusCheck","oldsrc","newsrc","pickEmotion","emo","setTheme","getTheme","href","resizeChatbox","chatContainerBox","clockBox","trackstatusBox","gameHeight","toFixed","trackstatus","weekday","getMonth","getDay","getHours","getDate","chatboxes_js_1","setstyle","chatbox_theme","themeselect","css_s","showFactorDialog","handleCredentialResponse","credential","updateActionCommands","role_select","selectedIndex","updateBackgroundPreview","tryUrls_1","background_filename","background_preview","resp","estring","replaceAll","decodeChat","prepChat","handleARUP","handleASS","handleBB","handleBD","handleBans_1","handleBN","updateBackgroundPreview_1","getIndexFromSelect_1","bgFromArgs","setBackgroundName","bgfolder","getBackgroundFolder","bg_index","getBackgroundName","set_side","showSpeedLines","showDesk","handleCC","handleCI","handleCharacterInfo_1","chargs_1","charid_1","handleCT","oocLog","handleCharsCheck","opacity","handleDONE","_args","handleEI","evidenceID","handleEM","createArea_1","fixLastArea_1","isAudio_1","trackindex","handleFA","handleFL","colorselect","handleFM","handleHI","handleHP","healthbox","percent_hp","getElementsByClassName","handleID","serverVersion","serverSoftware","handleJD","handleKB","handleKK","handleLE","evidence_box","evi_item","Image","pickEvidence","handleMC","appendICLog_1","musicname","looping","startsWith","loop","handleMM","handleMS","resetICParams_1","handleICSpeaking_1","char_id","char_name","msg_nameplate","msg_blips","char_chatbox","char_muted","chatmsg","chatbox","sprite","sound","snddelay","flash","speed","other_name","other_flip","effects","handle_ic_speaking","handlePN","handlePV","updateActionCommands_1","pickEmotion_1","me","emotesList","ini","emoteinfo","esfx","esfxd","soundn","soundt","sfxdelay","button","emote_item","handleRC","characters_js_1","handleRD","readOnly","handleRM","music_js_1","handleRMC","totime","getTime","currentTime","handleRT","initTestimonyUpdater_1","judgeid","initTestimonyUpdater","handleSC","handleSI","demothing","demoonclick","createAttribute","setAttributeNode","handleSM","handleSP","handleTI","timerid","timer_value","handleZZ","getSfxAudio","oldvolume","handleackMS","handleaskchaa","packets_1","packets","handleMS_1","handleCT_1","handleMC_1","handleRMC_1","twofactor_1","handleFL_1","handleLE_1","handleEM_1","handleEI_1","handleSC_1","handleCI_1","handleFM_1","handleFA_1","handleSM_1","handleMM_1","handleBD_1","handleBB_1","handleKB_1","handleKK_1","handleDONE_1","handleBN_1","handleHP_1","handleRT_1","handleTI_1","handleZZ_1","handleHI_1","handleID_1","handlePN_1","handleSI_1","handleARUP_1","handleaskchaa_1","handleCC_1","handleRC_1","handleRM_1","handleRD_1","handleCharsCheck_1","handlePV_1","handleASS_1","handleackMS_1","handleSP_1","handleJD_1","file","Blob","URL","createObjectURL","download","click","__read","defaultUrl","aomlParsed","parsed","currentHeader","contentName","contentValue","contentKey","aomlParser","applyMarkdown","defaultColor","identifiers","startIdentifiers","closingStack","colorStack","text_1","text_1_1","letter","currentSelector","currentIdentifier","currentClosingLetter","keepChar","currentColor","e_4","e_2_1","e_2","startingIdentifiers","e_3_1","e_3","Set","remove","e_4_1","cname","ca","decodeURIComponent","substring","queryDict","search","urlExtensionsToTry","fullFileUrl","COLORS","defaultChatMsg","startpreanim","startspeaking","preanimdelay","positions","def","bg","desk","ao2","ao1","speedLines","pro","hld","hlp","wit","jud","jur","sea","SHOUTS","createBlipsChannels","opusCheck_1","blipSelectors","createMusic","audioChannels","createSfxAudio","createShoutAudio","shoutAudio","createTestimonyAudio","testimonyAudio","setStartThirdTickCheck","startThirdTickCheck","setStartSecondTickCheck","startSecondTickCheck","setStartFirstTickCheck","startFirstTickCheck","checkCallword_1","setEmote_1","shouts_1","getAnimLength_1","resizeChatbox_1","colors_1","attorneyMarkdown","playerChatMsg","charLayers","pairLayers","fg","gamewindow","waitingBox","eviBox","nameBoxInner","chatBoxInner","displayname","shoutSprite","shout","gifLength","setAside","skipoffset","effectName","badEffects","intensity","drop","baseEffectUrl","setChatmsg","setTextNow","setSfxPlayed","setTickTimer","setAnimating","clearTimeout","updater","animation","getLastEvidence","setLastEvidence","getTextNow","setLastCharacter","shoutaudio","setShoutTimer","transform","textAlign","childElementCount","animationDelay","chat_tick","testimonyOverlay","setTestimonyTimer","setTestimonyUpdater","updateTestimony","positions_1","bench","court","deskFilename","createBlipChannels_1","defaultChatMsg_1","createMusic_1","createSfxAudio_1","createShoutAudio_1","createTestimonyAudio_1","setSide_1","testimonyUpdater","animating","currentBlipChannel","lastChar","lastEvi","sfxplayed","shoutTimer","testimonyTimer","textnow","tickTimer","backgroundName","playSFX","sfxname","resource","disposeTestimony","handleTextTick","chatBox","charName","charEmote","characterElement","nextCharacterElement","shake","currentCharacter","effectlayer","removeProperty","pairName","pairEmote","isShoutOver","isShoutAndPreanimOver","hasNonInterruptingPreAnim","getSfxPlayed","getTickTimer","getAnimating","getShoutTimer","getTestimonyTimer","getTestimonyUpdater","setSfxAudio","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","chunkIds","notFulfilled","splice","__esModule","definition","prop","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"client.da1f9aff6d4b8c471701.bundle.js","mappings":";6BAAIA,iCCAJ,WACE,QACA,WACA,YACA,cACA,cACA,UACA,kBACA,gBACA,gBACA,eACA,MACA,WACA,KACA,WACA,MACA,WACA,cACA,MACA,aACA,SACA,cACA,kBACA,sCCvBF,WACE,SACA,SACA,QACA,YACA,QACA,OACA,QACA,YACA,aACA,MACA,UACA,SACA,YACA,OACA,QACA,UACA,QACA,UACA,YACA,UACA,WACA,OACA,eACA,MACA,QACA,cACA,OACA,UACA,WACA,OACA,SACA,QACA,OACA,SACA,UACA,WACA,OACA,OACA,MACA,QACA,SACA,QACA,QACA,UACA,SACA,UACA,aACA,UACA,eACA,YACA,oCCnDF,WACE,QACA,QACA,QACA,QACA,QACA,QACA,YACA,gDCRF,WACE,+BACA,+BACA,gCACA,kCACA,gCACA,mCACA,sBACA,wBACA,4CACA,2CACA,uCACA,uBACA,0BACA,uBACA,qCACA,oBACA,sBACA,sBACA,uBACA,yBACA,uBACA,4BACA,oBACA,oBACA,qBACA,gCACA,oBACA,oBACA,oBAC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nE,EAAE8nE,GAAYa,EAAYb,IAGhD,GAAGc,EAAS,IAAIjrE,EAASirE,EAAQf,EAClC,CAEA,IADGa,GAA4BA,EAA2Bj3E,GACrDwB,EAAIg1E,EAAS12E,OAAQ0B,IACzBu1E,EAAUP,EAASh1E,GAChB40E,EAAoB90E,EAAEw1E,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOX,EAAoB7+C,EAAErrB,EAC9B,EAEIkrE,EAAqBzvE,KAAwB,kBAAIA,KAAwB,mBAAK,GAClFyvE,EAAmB/2E,QAAQ22E,EAAqBvlE,KAAK,KAAM,IAC3D2lE,EAAmB9xE,KAAO0xE,EAAqBvlE,KAAK,KAAM2lE,EAAmB9xE,KAAKmM,KAAK2lE,OC/CvF,IAAIC,EAAsBjB,EAAoB,MAC9CiB,EAAsBjB,EAAoB7+C,EAAE8/C","sources":["webpack://webao/webpack/runtime/chunk loaded","webpack://webao/./webAO/constants/backgrounds.js","webpack://webao/./webAO/constants/characters.js","webpack://webao/./webAO/constants/evidence.js","webpack://webao/./webAO/constants/music.js","webpack://webao/./webAO/constants/transparentPng.js","webpack://webao/./webAO/dom/changeVolume.js","webpack://webao/./webAO/iniParse.js","webpack://webao/./webAO/services/request.js","webpack://webao/./webAO/styles/chatbox/chatboxes.js","webpack://webao/./webAO/utils/fileExists.js","webpack://webao/./webAO/utils/calculatorHandler.js","webpack://webao/./webAO/utils/calculateGifLength.js","webpack://webao/./webAO/utils/calculateWebpLength.js","webpack://webao/./webAO/utils/calculateApngLength.js","webpack://webao/./webAO/utils/getAnimLength.js","webpack://webao/./webAO/utils/getResources.js","webpack://webao/./node_modules/tslib/tslib.es6.mjs","webpack://webao/./node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.js","webpack://webao/./node_modules/core-js/internals/a-callable.js","webpack://webao/./node_modules/core-js/internals/a-constructor.js","webpack://webao/./node_modules/core-js/internals/a-possible-prototype.js","webpack://webao/./node_modules/core-js/internals/add-to-unscopables.js","webpack://webao/./node_modules/core-js/internals/advance-string-index.js","webpack://webao/./node_modules/core-js/internals/an-instance.js","webpack://webao/./node_modules/core-js/internals/an-object.js","webpack://webao/./node_modules/core-js/internals/array-buffer-basic-detection.js","webpack://webao/./node_modules/core-js/internals/array-buffer-view-core.js","webpack://webao/./node_modules/core-js/internals/array-buffer.js","webpack://webao/./node_modules/core-js/internals/array-copy-within.js","webpack://webao/./node_modules/core-js/internals/array-fill.js","webpack://webao/./node_modules/core-js/internals/array-for-each.js","webpack://webao/./node_modules/core-js/internals/array-from-constructor-and-list.js","webpack://webao/./node_modules/core-js/internals/array-includes.js","webpack://webao/./node_modules/core-js/internals/array-iteration.js","webpack://webao/./node_modules/core-js/internals/array-last-index-of.js","webpack://webao/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://webao/./node_modules/core-js/internals/array-method-is-strict.js","webpack://webao/./node_modules/core-js/internals/array-reduce.js","webpack://webao/./node_modules/core-js/internals/array-slice-simple.js","webpack://webao/./node_modules/core-js/internals/array-slice.js","webpack://webao/./node_modules/core-js/internals/array-sort.js","webpack://webao/./node_modules/core-js/internals/array-species-constructor.js","webpack://webao/./node_modules/core-js/internals/array-species-create.js","webpack://webao/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://webao/./node_modules/core-js/internals/classof-raw.js","webpack://webao/./node_modules/core-js/internals/classof.js","webpack://webao/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://webao/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://webao/./node_modules/core-js/internals/create-iter-result-object.js","webpack://webao/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://webao/./node_modules/core-js/internals/create-property-descriptor.js","webpack://webao/./node_modules/core-js/internals/create-property.js","webpack://webao/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://webao/./node_modules/core-js/internals/define-built-in.js","webpack://webao/./node_modules/core-js/internals/define-built-ins.js","webpack://webao/./node_modules/core-js/internals/define-global-property.js","webpack://webao/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://webao/./node_modules/core-js/internals/descriptors.js","webpack://webao/./node_modules/core-js/internals/document-all.js","webpack://webao/./node_modules/core-js/internals/document-create-element.js","webpack://webao/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://webao/./node_modules/core-js/internals/dom-iterables.js","webpack://webao/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://webao/./node_modules/core-js/internals/engine-ff-version.js","webpack://webao/./node_modules/core-js/internals/engine-is-browser.js","webpack://webao/./node_modules/core-js/internals/engine-is-deno.js","webpack://webao/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://webao/./node_modules/core-js/internals/engine-is-ios-pebble.js","webpack://webao/./node_modules/core-js/internals/engine-is-ios.js","webpack://webao/./node_modules/core-js/internals/engine-is-node.js","webpack://webao/./node_modules/core-js/internals/engine-is-webos-webkit.js","webpack://webao/./node_modules/core-js/internals/engine-user-agent.js","webpack://webao/./node_modules/core-js/internals/engine-v8-version.js","webpack://webao/./node_modules/core-js/internals/engine-webkit-version.js","webpack://webao/./node_modules/core-js/internals/enum-bug-keys.js","webpack://webao/./node_modules/core-js/internals/export.js","webpack://webao/./node_modules/core-js/internals/fails.js","webpack://webao/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://webao/./node_modules/core-js/internals/function-apply.js","webpack://webao/./node_modules/core-js/internals/function-bind-context.js","webpack://webao/./node_modules/core-js/internals/function-bind-native.js","webpack://webao/./node_modules/core-js/internals/function-call.js","webpack://webao/./node_modules/core-js/internals/function-name.js","webpack://webao/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://webao/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://webao/./node_modules/core-js/internals/function-uncurry-this.js","webpack://webao/./node_modules/core-js/internals/get-built-in.js","webpack://webao/./node_modules/core-js/internals/get-iterator-method.js","webpack://webao/./node_modules/core-js/internals/get-iterator.js","webpack://webao/./node_modules/core-js/internals/get-json-replacer-function.js","webpack://webao/./node_modules/core-js/internals/get-method.js","webpack://webao/./node_modules/core-js/internals/global.js","webpack://webao/./node_modules/core-js/internals/has-own-property.js","webpack://webao/./node_modules/core-js/internals/hidden-keys.js","webpack://webao/./node_modules/core-js/internals/host-report-errors.js","webpack://webao/./node_modules/core-js/internals/html.js","webpack://webao/./node_modules/core-js/internals/ie8-dom-define.js","webpack://webao/./node_modules/core-js/internals/ieee754.js","webpack://webao/./node_modules/core-js/internals/indexed-object.js","webpack://webao/./node_modules/core-js/internals/inherit-if-required.js","webpack://webao/./node_modules/core-js/internals/inspect-source.js","webpack://webao/./node_modules/core-js/internals/internal-state.js","webpack://webao/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://webao/./node_modules/core-js/internals/is-array.js","webpack://webao/./node_modules/core-js/internals/is-big-int-array.js","webpack://webao/./node_modules/core-js/internals/is-callable.js","webpack://webao/./node_modules/core-js/internals/is-constructor.js","webpack://webao/./node_modules/core-js/internals/is-forced.js","webpack://webao/./node_modules/core-js/internals/is-integral-number.js","webpack://webao/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://webao/./node_modules/core-js/internals/is-object.js","webpack://webao/./node_modules/core-js/internals/is-pure.js","webpack://webao/./node_modules/core-js/internals/is-regexp.js","webpack://webao/./node_modules/core-js/internals/is-symbol.js","webpack://webao/./node_modules/core-js/internals/iterate.js","webpack://webao/./node_modules/core-js/internals/iterator-close.js","webpack://webao/./node_modules/core-js/internals/iterator-create-constructor.js","webpack://webao/./node_modules/core-js/internals/iterator-define.js","webpack://webao/./node_modules/core-js/internals/iterators-core.js","webpack://webao/./node_modules/core-js/internals/iterators.js","webpack://webao/./node_modules/core-js/internals/length-of-array-like.js","webpack://webao/./node_modules/core-js/internals/make-built-in.js","webpack://webao/./node_modules/core-js/internals/math-sign.js","webpack://webao/./node_modules/core-js/internals/math-trunc.js","webpack://webao/./node_modules/core-js/internals/microtask.js","webpack://webao/./node_modules/core-js/internals/new-promise-capability.js","webpack://webao/./node_modules/core-js/internals/object-create.js","webpack://webao/./node_modules/core-js/internals/object-define-properties.js","webpack://webao/./node_modules/core-js/internals/object-define-property.js","webpack://webao/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://webao/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://webao/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://webao/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://webao/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://webao/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://webao/./node_modules/core-js/internals/object-keys-internal.js","webpack://webao/./node_modules/core-js/internals/object-keys.js","webpack://webao/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://webao/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://webao/./node_modules/core-js/internals/object-to-string.js","webpack://webao/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://webao/./node_modules/core-js/internals/own-keys.js","webpack://webao/./node_modules/core-js/internals/path.js","webpack://webao/./node_modules/core-js/internals/perform.js","webpack://webao/./node_modules/core-js/internals/promise-constructor-detection.js","webpack://webao/./node_modules/core-js/internals/promise-native-constructor.js","webpack://webao/./node_modules/core-js/internals/promise-resolve.js","webpack://webao/./node_modules/core-js/internals/promise-statics-incorrect-iteration.js","webpack://webao/./node_modules/core-js/internals/queue.js","webpack://webao/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://webao/./node_modules/core-js/internals/regexp-exec.js","webpack://webao/./node_modules/core-js/internals/regexp-flags.js","webpack://webao/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://webao/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://webao/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://webao/./node_modules/core-js/internals/require-object-coercible.js","webpack://webao/./node_modules/core-js/internals/set-species.js","webpack://webao/./node_modules/core-js/internals/set-to-string-tag.js","webpack://webao/./node_modules/core-js/internals/shared-key.js","webpack://webao/./node_modules/core-js/internals/shared-store.js","webpack://webao/./node_modules/core-js/internals/shared.js","webpack://webao/./node_modules/core-js/internals/species-constructor.js","webpack://webao/./node_modules/core-js/internals/string-multibyte.js","webpack://webao/./node_modules/core-js/internals/string-trim.js","webpack://webao/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://webao/./node_modules/core-js/internals/symbol-define-to-primitive.js","webpack://webao/./node_modules/core-js/internals/symbol-registry-detection.js","webpack://webao/./node_modules/core-js/internals/task.js","webpack://webao/./node_modules/core-js/internals/this-number-value.js","webpack://webao/./node_modules/core-js/internals/to-absolute-index.js","webpack://webao/./node_modules/core-js/internals/to-big-int.js","webpack://webao/./node_modules/core-js/internals/to-index.js","webpack://webao/./node_modules/core-js/internals/to-indexed-object.js","webpack://webao/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://webao/./node_modules/core-js/internals/to-length.js","webpack://webao/./node_modules/core-js/internals/to-object.js","webpack://webao/./node_modules/core-js/internals/to-offset.js","webpack://webao/./node_modules/core-js/internals/to-positive-integer.js","webpack://webao/./node_modules/core-js/internals/to-primitive.js","webpack://webao/./node_modules/core-js/internals/to-property-key.js","webpack://webao/./node_modules/core-js/internals/to-string-tag-support.js","webpack://webao/./node_modules/core-js/internals/to-string.js","webpack://webao/./node_modules/core-js/internals/to-uint8-clamped.js","webpack://webao/./node_modules/core-js/internals/try-to-string.js","webpack://webao/./node_modules/core-js/internals/typed-array-constructor.js","webpack://webao/./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js","webpack://webao/./node_modules/core-js/internals/typed-array-from-species-and-list.js","webpack://webao/./node_modules/core-js/internals/typed-array-from.js","webpack://webao/./node_modules/core-js/internals/typed-array-species-constructor.js","webpack://webao/./node_modules/core-js/internals/uid.js","webpack://webao/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://webao/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://webao/./node_modules/core-js/internals/validate-arguments-length.js","webpack://webao/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://webao/./node_modules/core-js/internals/well-known-symbol-define.js","webpack://webao/./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack://webao/./node_modules/core-js/internals/well-known-symbol.js","webpack://webao/./node_modules/core-js/internals/whitespaces.js","webpack://webao/./node_modules/core-js/modules/es.array-buffer.slice.js","webpack://webao/./node_modules/core-js/modules/es.array.concat.js","webpack://webao/./node_modules/core-js/modules/es.array.filter.js","webpack://webao/./node_modules/core-js/modules/es.array.for-each.js","webpack://webao/./node_modules/core-js/modules/es.array.iterator.js","webpack://webao/./node_modules/core-js/modules/es.array.reverse.js","webpack://webao/./node_modules/core-js/modules/es.array.slice.js","webpack://webao/./node_modules/core-js/modules/es.function.name.js","webpack://webao/./node_modules/core-js/modules/es.json.stringify.js","webpack://webao/./node_modules/core-js/modules/es.json.to-string-tag.js","webpack://webao/./node_modules/core-js/modules/es.math.to-string-tag.js","webpack://webao/./node_modules/core-js/modules/es.number.constructor.js","webpack://webao/./node_modules/core-js/modules/es.object.create.js","webpack://webao/./node_modules/core-js/modules/es.object.define-property.js","webpack://webao/./node_modules/core-js/modules/es.object.get-own-property-symbols.js","webpack://webao/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://webao/./node_modules/core-js/modules/es.object.set-prototype-of.js","webpack://webao/./node_modules/core-js/modules/es.object.to-string.js","webpack://webao/./node_modules/core-js/modules/es.promise.all.js","webpack://webao/./node_modules/core-js/modules/es.promise.catch.js","webpack://webao/./node_modules/core-js/modules/es.promise.constructor.js","webpack://webao/./node_modules/core-js/modules/es.promise.js","webpack://webao/./node_modules/core-js/modules/es.promise.race.js","webpack://webao/./node_modules/core-js/modules/es.promise.reject.js","webpack://webao/./node_modules/core-js/modules/es.promise.resolve.js","webpack://webao/./node_modules/core-js/modules/es.regexp.exec.js","webpack://webao/./node_modules/core-js/modules/es.string.iterator.js","webpack://webao/./node_modules/core-js/modules/es.string.match.js","webpack://webao/./node_modules/core-js/modules/es.string.split.js","webpack://webao/./node_modules/core-js/modules/es.symbol.async-iterator.js","webpack://webao/./node_modules/core-js/modules/es.symbol.constructor.js","webpack://webao/./node_modules/core-js/modules/es.symbol.description.js","webpack://webao/./node_modules/core-js/modules/es.symbol.for.js","webpack://webao/./node_modules/core-js/modules/es.symbol.iterator.js","webpack://webao/./node_modules/core-js/modules/es.symbol.js","webpack://webao/./node_modules/core-js/modules/es.symbol.key-for.js","webpack://webao/./node_modules/core-js/modules/es.symbol.to-string-tag.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.copy-within.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.every.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.fill.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.filter.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.find-index.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.find.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.for-each.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.includes.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.index-of.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.iterator.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.join.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.last-index-of.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.map.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.reduce-right.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.reduce.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.reverse.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.set.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.slice.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.some.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.sort.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.subarray.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.to-locale-string.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.to-string.js","webpack://webao/./node_modules/core-js/modules/es.typed-array.uint8-array.js","webpack://webao/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://webao/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://webao/./node_modules/events/events.js","webpack://webao/./webAO/client.ts","webpack://webao/./webAO/client/addTrack.ts","webpack://webao/./webAO/client/aoHost.ts","webpack://webao/./webAO/client/appendICLog.ts","webpack://webao/./webAO/client/checkCallword.ts","webpack://webao/./webAO/client/createArea.ts","webpack://webao/./webAO/client/fetchLists.ts","webpack://webao/./webAO/client/fixLastArea.ts","webpack://webao/./webAO/client/handleBans.ts","webpack://webao/./webAO/client/handleCharacterInfo.ts","webpack://webao/./webAO/client/isAudio.ts","webpack://webao/./webAO/client/isLowMemory.ts","webpack://webao/./webAO/client/loadResources.ts","webpack://webao/./webAO/client/resetICParams.ts","webpack://webao/./webAO/client/saveChatLogHandle.ts","webpack://webao/./webAO/client/sender/index.ts","webpack://webao/./webAO/client/sender/sendCharacter.ts","webpack://webao/./webAO/client/sender/sendCheck.ts","webpack://webao/./webAO/client/sender/sendDE.ts","webpack://webao/./webAO/client/sender/sendEE.ts","webpack://webao/./webAO/client/sender/sendHP.ts","webpack://webao/./webAO/client/sender/sendIC.ts","webpack://webao/./webAO/client/sender/sendMusicChange.ts","webpack://webao/./webAO/client/sender/sendOOC.ts","webpack://webao/./webAO/client/sender/sendPE.ts","webpack://webao/./webAO/client/sender/sendRT.ts","webpack://webao/./webAO/client/sender/sendSelf.ts","webpack://webao/./webAO/client/sender/sendServer.ts","webpack://webao/./webAO/client/sender/sendZZ.ts","webpack://webao/./webAO/client/setEmote.ts","webpack://webao/./webAO/dom/areaClick.ts","webpack://webao/./webAO/dom/changeBlipVolume.ts","webpack://webao/./webAO/dom/changeMusicVolume.ts","webpack://webao/./webAO/dom/getIndexFromSelect.ts","webpack://webao/./webAO/dom/onReplayGo.ts","webpack://webao/./webAO/dom/opusCheck.ts","webpack://webao/./webAO/dom/pickEmotion.ts","webpack://webao/./webAO/dom/reloadTheme.ts","webpack://webao/./webAO/dom/resizeChatbox.ts","webpack://webao/./webAO/dom/setChatbox.ts","webpack://webao/./webAO/dom/showNameClick.ts","webpack://webao/./webAO/dom/twofactor.ts","webpack://webao/./webAO/dom/updateActionCommands.ts","webpack://webao/./webAO/dom/updateBackgroundPreview.ts","webpack://webao/./webAO/encoding.ts","webpack://webao/./webAO/packets/handlers/handleARUP.ts","webpack://webao/./webAO/packets/handlers/handleASS.ts","webpack://webao/./webAO/packets/handlers/handleBB.ts","webpack://webao/./webAO/packets/handlers/handleBD.ts","webpack://webao/./webAO/packets/handlers/handleBN.ts","webpack://webao/./webAO/packets/handlers/handleCC.ts","webpack://webao/./webAO/packets/handlers/handleCI.ts","webpack://webao/./webAO/packets/handlers/handleCT.ts","webpack://webao/./webAO/packets/handlers/handleCharsCheck.ts","webpack://webao/./webAO/packets/handlers/handleDONE.ts","webpack://webao/./webAO/packets/handlers/handleEI.ts","webpack://webao/./webAO/packets/handlers/handleEM.ts","webpack://webao/./webAO/packets/handlers/handleFA.ts","webpack://webao/./webAO/packets/handlers/handleFL.ts","webpack://webao/./webAO/packets/handlers/handleFM.ts","webpack://webao/./webAO/packets/handlers/handleHI.ts","webpack://webao/./webAO/packets/handlers/handleHP.ts","webpack://webao/./webAO/packets/handlers/handleID.ts","webpack://webao/./webAO/packets/handlers/handleJD.ts","webpack://webao/./webAO/packets/handlers/handleKB.ts","webpack://webao/./webAO/packets/handlers/handleKK.ts","webpack://webao/./webAO/packets/handlers/handleLE.ts","webpack://webao/./webAO/packets/handlers/handleMC.ts","webpack://webao/./webAO/packets/handlers/handleMM.ts","webpack://webao/./webAO/packets/handlers/handleMS.ts","webpack://webao/./webAO/packets/handlers/handlePN.ts","webpack://webao/./webAO/packets/handlers/handlePV.ts","webpack://webao/./webAO/packets/handlers/handleRC.ts","webpack://webao/./webAO/packets/handlers/handleRD.ts","webpack://webao/./webAO/packets/handlers/handleRM.ts","webpack://webao/./webAO/packets/handlers/handleRMC.ts","webpack://webao/./webAO/packets/handlers/handleRT.ts","webpack://webao/./webAO/packets/handlers/handleSC.ts","webpack://webao/./webAO/packets/handlers/handleSI.ts","webpack://webao/./webAO/packets/handlers/handleSM.ts","webpack://webao/./webAO/packets/handlers/handleSP.ts","webpack://webao/./webAO/packets/handlers/handleTI.ts","webpack://webao/./webAO/packets/handlers/handleZZ.ts","webpack://webao/./webAO/packets/handlers/handleackMS.ts","webpack://webao/./webAO/packets/handlers/handleaskchaa.ts","webpack://webao/./webAO/packets/packetHandler.ts","webpack://webao/./webAO/packets/packets.ts","webpack://webao/./webAO/services/downloadFile.ts","webpack://webao/./webAO/utils/aoml.ts","webpack://webao/./webAO/utils/getCookie.ts","webpack://webao/./webAO/utils/paths.ts","webpack://webao/./webAO/utils/queryParser.ts","webpack://webao/./webAO/utils/setCookie.ts","webpack://webao/./webAO/utils/tryUrls.ts","webpack://webao/./webAO/viewport/constants/colors.ts","webpack://webao/./webAO/viewport/constants/defaultChatMsg.ts","webpack://webao/./webAO/viewport/constants/positions.ts","webpack://webao/./webAO/viewport/constants/shouts.ts","webpack://webao/./webAO/viewport/utils/createBlipChannels.ts","webpack://webao/./webAO/viewport/utils/createMusic.ts","webpack://webao/./webAO/viewport/utils/createSfxAudio.ts","webpack://webao/./webAO/viewport/utils/createShoutAudio.ts","webpack://webao/./webAO/viewport/utils/createTestimonyAudio.ts","webpack://webao/./webAO/viewport/utils/handleICSpeaking.ts","webpack://webao/./webAO/viewport/utils/initTestimonyUpdater.ts","webpack://webao/./webAO/viewport/utils/setSide.ts","webpack://webao/./webAO/viewport/viewport.ts","webpack://webao/webpack/bootstrap","webpack://webao/webpack/runtime/compat get default export","webpack://webao/webpack/runtime/define property getters","webpack://webao/webpack/runtime/global","webpack://webao/webpack/runtime/hasOwnProperty shorthand","webpack://webao/webpack/runtime/make namespace object","webpack://webao/webpack/runtime/jsonp chunk loading","webpack://webao/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","export default [\n 'Anime',\n 'birthday',\n 'Christmas',\n 'CountyCourt',\n 'CruiseCourt',\n 'default',\n 'DGSEnglishCourt',\n 'DGSJapanCourt',\n 'DualDestinies',\n 'EnglishCourt',\n 'gs4',\n 'GS4Night',\n 'HD',\n \"Khura'in\",\n 'mlp',\n 'NewCourt',\n 'RuinedCourt',\n 'Sky',\n 'SpaceCourt',\n 'Themis',\n 'TouhouCourt',\n 'WitchTrialCourt',\n 'Zetta',\n];\n","export default [\n 'Adrian',\n 'Apollo',\n 'April',\n 'Armstrong',\n 'Atmey',\n 'Butz',\n 'Diego',\n 'Edgeworth',\n 'Edgeworthw',\n 'Ema',\n 'Emaskye',\n 'Franny',\n 'Franziska',\n 'Gant',\n 'Gavin',\n 'Gavin K',\n 'Godot',\n 'Gregory',\n 'Grossberg',\n 'Gumshoe',\n 'Gumshoey',\n 'Hawk',\n 'Hobo_Phoenix',\n 'Ini',\n 'Judge',\n \"Judge's Bro\",\n 'Klav',\n 'Klavier',\n 'Kristoph',\n 'Lana',\n 'Layton',\n 'Lotta',\n 'Luis',\n 'Maggey',\n 'Manfred',\n 'Marshall',\n 'Matt',\n 'Maya',\n 'Mia',\n 'Miles',\n 'Oldbag',\n 'Payne',\n 'Pearl',\n 'Phoenix',\n 'Valant',\n 'Vasquez',\n 'Wellington',\n 'Winston',\n 'Winstonpayne',\n 'Young Mia',\n 'Zak',\n];\n","export default [\n '1.png',\n '2.png',\n '3.png',\n '4.png',\n '5.png',\n '6.png',\n 'empty.png',\n 'lawyerbadge.png',\n];\n","export default [\n 'Announce The Truth (AA).opus',\n 'Announce The Truth (AJ).opus',\n 'Announce The Truth (JFA).opus',\n 'Announce The Truth (Miles).opus',\n 'Announce The Truth (T&T).opus',\n 'Confrontation ~ Presto 2009.opus',\n 'Crises of Fate.opus',\n 'Forgotten Legend.opus',\n 'Godot - The Fragrance of Dark Coffee.opus',\n 'Great Revival ~ Franziska von Karma.opus',\n 'Great Revival ~ Miles Edgeworth.opus',\n 'Hotline of Fate.opus',\n 'Interesting People.opus',\n 'Logic and Trick.opus',\n 'Luke Atmey ~ I Just Want Love.opus',\n 'Noisy People.opus',\n 'OBJECTION (AA).opus',\n 'Objection (AJ).opus',\n 'OBJECTION (JFA).opus',\n 'Objection (Miles).opus',\n 'OBJECTION (T&T).opus',\n 'Others ~ Guilty love.opus',\n 'Prelude (AA).opus',\n 'Prelude (AJ).opus',\n 'Prologue (AA).opus',\n 'Pursuit (AA) - variation.opus',\n 'Pursuit (AA).opus',\n 'Pursuit (AJ).opus',\n 'Pursuit (DS).opus',\n 'Pursuit (JFA) - variation.opus',\n 'Pursuit (JFA).opus',\n 'Pursuit (Miles).opus',\n 'Pursuit (T&T) - variation.opus',\n 'Pursuit (T&T).opus',\n 'Pursuit ~ I Want to Find the Truth (Orchestra).opus',\n 'Questioning AA (Allegro).opus',\n 'Questioning AA (Moderato).opus',\n 'Questioning AJ (Allegro).opus',\n 'Questioning AJ (Moderato).opus',\n 'Questioning JFA (Allegro).opus',\n 'Questioning JFA (Moderato).opus',\n 'Questioning T&T (Allegro).opus',\n 'Questioning T&T (Moderato).opus',\n 'Speak up Pup.opus',\n 'Suspense (AA).opus',\n 'The Great Truth Burglar.opus',\n 'Trial (AA).opus',\n 'Trial (AJ).opus',\n 'Trial (Miles).opus',\n];\n","export default 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';\n","import setCookie from '../utils/setCookie.ts';\n\n/**\n * Triggered by the sound effect volume slider.\n */\n\nexport function changeSFXVolume() {\n setCookie('sfxVolume', document.getElementById('client_sfxaudio').volume);\n}\nwindow.changeSFXVolume = changeSFXVolume;\n\n/**\n * Triggered by the testimony volume slider.\n */\nexport function changeTestimonyVolume() {\n setCookie('testimonyVolume', document.getElementById('client_testimonyaudio').volume);\n}\nwindow.changeTestimonyVolume = changeTestimonyVolume;\n\n/**\n * Triggered by the shout volume slider.\n */\n\nexport function changeShoutVolume() {\n setCookie('shoutVolume', document.getElementById('client_shoutaudio').volume);\n}\nwindow.changeShoutVolume = changeShoutVolume;\n","const regexPatterns = {\n section: /^\\s*\\[\\s*([^\\]]*)\\s*\\]\\s*$/,\n param: /^\\s*([\\w.\\-_]+)\\s*=\\s*(.*?)\\s*$/,\n comment: /^\\s*;.*$/,\n};\n\nconst valueHandler = (matchKey, matchValue) => (matchKey === 'showname' ? matchValue : matchValue.toLowerCase());\n\nconst lineFilter = (value) => {\n const isEmpty = value.length === 0;\n const isComment = regexPatterns.comment.test(value);\n if (isComment || isEmpty) {\n return false;\n }\n return true;\n};\n\nconst iniParse = (data) => {\n const parsedIni = {};\n const lines = data.split(/\\r\\n|\\r|\\n/);\n const filteredLines = lines.filter(lineFilter);\n\n let currentSection;\n filteredLines.forEach((line) => {\n const isParameter = regexPatterns.param.test(line);\n const isSection = regexPatterns.section.test(line);\n if (isParameter && currentSection) {\n const match = line.match(regexPatterns.param);\n const matchKey = match[1].toLowerCase();\n const matchValue = match[2];\n parsedIni[currentSection][matchKey] = valueHandler(matchKey, matchValue);\n } else if (isSection) {\n const match = line.match(regexPatterns.section);\n const matchKey = match[1].toLowerCase();\n parsedIni[matchKey] = {};\n currentSection = matchKey;\n }\n });\n return parsedIni;\n};\n\nexport default iniParse;\n","/**\n * Make a GET request for a specific URI.\n * @param {string} url the URI to be requested\n * @returns response data\n * @throws {Error} if status code is not 2xx, or a network error occurs\n */\nexport async function requestBuffer(url) {\n return new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n xhr.responseType = 'arraybuffer';\n xhr.addEventListener('error', () => {\n const err = new Error(`Request for ${url} failed: ${xhr.statusText}`);\n err.code = xhr.status;\n reject(err);\n });\n xhr.addEventListener('abort', () => {\n const err = new Error(`Request for ${url} was aborted!`);\n err.code = xhr.status;\n reject(err);\n });\n xhr.addEventListener('load', () => {\n if (xhr.status < 200 || xhr.status >= 300) {\n const err = new Error(`Request for ${url} failed with status code ${xhr.status}`);\n err.code = xhr.status;\n reject(err);\n } else {\n resolve(xhr.response);\n }\n });\n xhr.open('GET', url, true);\n xhr.send();\n });\n}\n\n/**\n * Make a GET request for a specific URI.\n * @param {string} url the URI to be requested\n * @returns response data\n * @throws {Error} if status code is not 2xx, or a network error occurs\n */\nexport const request = async (url) => new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n xhr.responseType = 'text';\n xhr.addEventListener('error', () => {\n const err = new Error(`Request for ${url} failed: ${xhr.statusText}`);\n err.code = xhr.status;\n reject(err);\n });\n xhr.addEventListener('abort', () => {\n const err = new Error(`Request for ${url} was aborted!`);\n err.code = xhr.status;\n reject(err);\n });\n xhr.addEventListener('load', () => {\n if (xhr.status < 200 || xhr.status >= 300) {\n const err = new Error(`Request for ${url} failed with status code ${xhr.status}`);\n err.code = xhr.status;\n reject(err);\n } else {\n resolve(xhr.response);\n }\n });\n xhr.open('GET', url, true);\n xhr.send();\n});\nexport default request;\n","export default [\n 'aa',\n 'acww',\n 'dd',\n 'dgs',\n 'plvsaa',\n 'trilogy',\n 'future',\n 'legacy',\n 'ddlc',\n 'dr1',\n 'dr2',\n 'drv3',\n 'drae',\n 'p3',\n 'p4',\n 'p5',\n '999',\n 'halla',\n 'homestuck',\n 'key',\n 'sonic',\n 'yakuza',\n 'yttd',\n 'whentheycry',\n 'n64zelda',\n 'papermario',\n];\n","const fileExists = async (url) => new Promise((resolve) => {\n const xhr = new XMLHttpRequest();\n xhr.open('HEAD', url);\n xhr.onload = function checkLoad() {\n if (xhr.readyState === 4) {\n if (xhr.status === 200) {\n resolve(true);\n } else {\n resolve(false);\n }\n }\n };\n xhr.onerror = function checkError() {\n resolve(false);\n };\n xhr.send(null);\n});\nexport default fileExists;\n","import calculateGifLength from './calculateGifLength';\nimport calculateWebpLength from './calculateWebpLength';\nimport calculateApngLength from './calculateApngLength';\n\nexport default {\n '.gif': calculateGifLength,\n '.webp': calculateWebpLength,\n '.apng': calculateApngLength,\n};\n","/* eslint no-bitwise: \"off\" */\n\n/**\n * Adds up the frame delays to find out how long a GIF is\n * I totally didn't steal this\n * @param {data} gifFile the GIF data\n */\nconst calculateGifLength = (gifFile) => {\n const d = new Uint8Array(gifFile);\n // Thanks to http://justinsomnia.org/2006/10/gif-animation-duration-calculation/\n // And http://www.w3.org/Graphics/GIF/spec-gif89a.txt\n let duration = 0;\n for (let i = 0; i < d.length; i++) {\n // Find a Graphic Control Extension hex(21F904__ ____ __00)\n if (d[i] === 0x21\n && d[i + 1] === 0xF9\n && d[i + 2] === 0x04\n && d[i + 7] === 0x00) {\n // Swap 5th and 6th bytes to get the delay per frame\n const delay = (d[i + 5] << 8) | (d[i + 4] & 0xFF);\n\n // Should be aware browsers have a minimum frame delay\n // e.g. 6ms for IE, 2ms modern browsers (50fps)\n duration += delay < 2 ? 10 : delay;\n }\n }\n return duration * 10;\n};\nexport default calculateGifLength;\n","/* eslint no-bitwise: \"off\" */\n\nconst calculateWebpLength = (webpFile) => {\n const d = new Uint8Array(webpFile);\n // https://developers.google.com/speed/webp/docs/riff_container#animation\n let duration = 0;\n for (let i = 0; i < d.length; i++) {\n // Find ANMF header (41 4E 4D 46)\n if (d[i] === 0x41\n && d[i + 1] === 0x4E\n && d[i + 2] === 0x4D\n && d[i + 3] === 0x46) {\n // Swap 5th and 6th bytes to get the delay per frame\n const delay = (d[i + 21] << 8) | (d[i + 20] & 0xFF);\n\n // Should be aware browsers have a minimum frame delay\n // e.g. 6ms for IE, 2ms modern browsers (50fps)\n duration += delay < 2 ? 10 : delay;\n }\n }\n return duration;\n};\n\nexport default calculateWebpLength;\n","/**\n * Adds up the chunk delays to find out how long a APNG is\n * @param {data} apngFile the APNG data\n */\nconst calculateApngLength = (apngFile) => {\n const d = new Uint8Array(apngFile);\n // https://wiki.mozilla.org/APNG_Specification#.60fcTL.60:_The_Frame_Control_Chunk\n let duration = 0;\n for (let i = 0; i < d.length; i++) {\n // Find fcTL header (66 63 54 4C)\n if (d[i] === 0x66\n && d[i + 1] === 0x63\n && d[i + 2] === 0x54\n && d[i + 3] === 0x4C) {\n // numerator and denominator\n const delayNum = Number(d[i + 23]);\n const delayDen = Number(d[i + 25]);\n let delay;\n // minimum is 100ms\n if (delayDen === 0) {\n delay = delayNum / 100;\n } else {\n delay = delayNum / delayDen;\n }\n duration += delay;\n }\n }\n return duration * 10;\n};\nexport default calculateApngLength;\n","/* eslint no-await-in-loop: \"warn\" */\n/* eslint no-restricted-syntax: \"off\" */\n/* TODO: use promises for this */\n\nimport calculatorHandler from './calculatorHandler';\nimport fileExists from './fileExists';\nimport { requestBuffer } from '../services/request';\n/**\n * Gets animation length. If the animation cannot be found, it will\n * silently fail and return 0 instead.\n * @param {string} filename the animation file name\n */\n\nconst getAnimLength = async (url) => {\n const extensions = ['.gif', '.webp', '.apng'];\n for (const extension of extensions) {\n const urlWithExtension = url + extension;\n const exists = await fileExists(urlWithExtension);\n if (exists) {\n const fileBuffer = await requestBuffer(urlWithExtension);\n const length = calculatorHandler[extension](fileBuffer);\n return length;\n }\n }\n return 0;\n};\nexport default getAnimLength;\n","const getResources = (AO_HOST, THEME) => ({\n holdit: {\n src: `${AO_HOST}misc/default/holdit_bubble.png`,\n duration: 720,\n },\n objection: {\n src: `${AO_HOST}misc/default/objection_bubble.png`,\n duration: 720,\n },\n takethat: {\n src: `${AO_HOST}misc/default/takethat_bubble.png`,\n duration: 840,\n },\n custom: {\n src: '',\n duration: 840,\n },\n witnesstestimony: {\n src: `${AO_HOST}themes/${THEME}/witnesstestimony_bubble.gif`,\n duration: 1560,\n sfx: `${AO_HOST}sounds/general/sfx-testimony.opus`,\n },\n crossexamination: {\n src: `${AO_HOST}themes/${THEME}/crossexamination_bubble.gif`,\n duration: 1600,\n sfx: `${AO_HOST}sounds/general/sfx-testimony2.opus`,\n },\n guilty: {\n src: `${AO_HOST}themes/${THEME}/guilty_bubble.gif`,\n duration: 2870,\n sfx: `${AO_HOST}sounds/general/sfx-guilty.opus`,\n },\n notguilty: {\n src: `${AO_HOST}themes/${THEME}/notguilty_bubble.gif`,\n duration: 2440,\n sfx: `${AO_HOST}sounds/general/sfx-notguilty.opus`,\n },\n});\nexport default getResources;\n","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __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});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\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); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\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);\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); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\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\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\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\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","/**\n * FingerprintJS v3.4.2 - Copyright (c) FingerprintJS, Inc, 2023 (https://fingerprint.com)\n * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.\n *\n * This software contains code from open-source projects:\n * MurmurHash3 by Karan Lyons (https://github.com/karanlyons/murmurHash3.js)\n */\n\nimport { __awaiter, __generator, __assign, __spreadArray } from 'tslib';\n\nvar version = \"3.4.2\";\n\nfunction wait(durationMs, resolveWith) {\n return new Promise(function (resolve) { return setTimeout(resolve, durationMs, resolveWith); });\n}\nfunction requestIdleCallbackIfAvailable(fallbackTimeout, deadlineTimeout) {\n if (deadlineTimeout === void 0) { deadlineTimeout = Infinity; }\n var requestIdleCallback = window.requestIdleCallback;\n if (requestIdleCallback) {\n // The function `requestIdleCallback` loses the binding to `window` here.\n // `globalThis` isn't always equal `window` (see https://github.com/fingerprintjs/fingerprintjs/issues/683).\n // Therefore, an error can occur. `call(window,` prevents the error.\n return new Promise(function (resolve) { return requestIdleCallback.call(window, function () { return resolve(); }, { timeout: deadlineTimeout }); });\n }\n else {\n return wait(Math.min(fallbackTimeout, deadlineTimeout));\n }\n}\nfunction isPromise(value) {\n return !!value && typeof value.then === 'function';\n}\n/**\n * Calls a maybe asynchronous function without creating microtasks when the function is synchronous.\n * Catches errors in both cases.\n *\n * If just you run a code like this:\n * ```\n * console.time('Action duration')\n * await action()\n * console.timeEnd('Action duration')\n * ```\n * The synchronous function time can be measured incorrectly because another microtask may run before the `await`\n * returns the control back to the code.\n */\nfunction awaitIfAsync(action, callback) {\n try {\n var returnedValue = action();\n if (isPromise(returnedValue)) {\n returnedValue.then(function (result) { return callback(true, result); }, function (error) { return callback(false, error); });\n }\n else {\n callback(true, returnedValue);\n }\n }\n catch (error) {\n callback(false, error);\n }\n}\n/**\n * If you run many synchronous tasks without using this function, the JS main loop will be busy and asynchronous tasks\n * (e.g. completing a network request, rendering the page) won't be able to happen.\n * This function allows running many synchronous tasks such way that asynchronous tasks can run too in background.\n */\nfunction mapWithBreaks(items, callback, loopReleaseInterval) {\n if (loopReleaseInterval === void 0) { loopReleaseInterval = 16; }\n return __awaiter(this, void 0, void 0, function () {\n var results, lastLoopReleaseTime, i, now;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n results = Array(items.length);\n lastLoopReleaseTime = Date.now();\n i = 0;\n _a.label = 1;\n case 1:\n if (!(i < items.length)) return [3 /*break*/, 4];\n results[i] = callback(items[i], i);\n now = Date.now();\n if (!(now >= lastLoopReleaseTime + loopReleaseInterval)) return [3 /*break*/, 3];\n lastLoopReleaseTime = now;\n // Allows asynchronous actions and microtasks to happen\n return [4 /*yield*/, wait(0)];\n case 2:\n // Allows asynchronous actions and microtasks to happen\n _a.sent();\n _a.label = 3;\n case 3:\n ++i;\n return [3 /*break*/, 1];\n case 4: return [2 /*return*/, results];\n }\n });\n });\n}\n/**\n * Makes the given promise never emit an unhandled promise rejection console warning.\n * The promise will still pass errors to the next promises.\n *\n * Otherwise, promise emits a console warning unless it has a `catch` listener.\n */\nfunction suppressUnhandledRejectionWarning(promise) {\n promise.then(undefined, function () { return undefined; });\n}\n\n/*\n * Taken from https://github.com/karanlyons/murmurHash3.js/blob/a33d0723127e2e5415056c455f8aed2451ace208/murmurHash3.js\n */\n//\n// Given two 64bit ints (as an array of two 32bit ints) returns the two\n// added together as a 64bit int (as an array of two 32bit ints).\n//\nfunction x64Add(m, n) {\n m = [m[0] >>> 16, m[0] & 0xffff, m[1] >>> 16, m[1] & 0xffff];\n n = [n[0] >>> 16, n[0] & 0xffff, n[1] >>> 16, n[1] & 0xffff];\n var o = [0, 0, 0, 0];\n o[3] += m[3] + n[3];\n o[2] += o[3] >>> 16;\n o[3] &= 0xffff;\n o[2] += m[2] + n[2];\n o[1] += o[2] >>> 16;\n o[2] &= 0xffff;\n o[1] += m[1] + n[1];\n o[0] += o[1] >>> 16;\n o[1] &= 0xffff;\n o[0] += m[0] + n[0];\n o[0] &= 0xffff;\n return [(o[0] << 16) | o[1], (o[2] << 16) | o[3]];\n}\n//\n// Given two 64bit ints (as an array of two 32bit ints) returns the two\n// multiplied together as a 64bit int (as an array of two 32bit ints).\n//\nfunction x64Multiply(m, n) {\n m = [m[0] >>> 16, m[0] & 0xffff, m[1] >>> 16, m[1] & 0xffff];\n n = [n[0] >>> 16, n[0] & 0xffff, n[1] >>> 16, n[1] & 0xffff];\n var o = [0, 0, 0, 0];\n o[3] += m[3] * n[3];\n o[2] += o[3] >>> 16;\n o[3] &= 0xffff;\n o[2] += m[2] * n[3];\n o[1] += o[2] >>> 16;\n o[2] &= 0xffff;\n o[2] += m[3] * n[2];\n o[1] += o[2] >>> 16;\n o[2] &= 0xffff;\n o[1] += m[1] * n[3];\n o[0] += o[1] >>> 16;\n o[1] &= 0xffff;\n o[1] += m[2] * n[2];\n o[0] += o[1] >>> 16;\n o[1] &= 0xffff;\n o[1] += m[3] * n[1];\n o[0] += o[1] >>> 16;\n o[1] &= 0xffff;\n o[0] += m[0] * n[3] + m[1] * n[2] + m[2] * n[1] + m[3] * n[0];\n o[0] &= 0xffff;\n return [(o[0] << 16) | o[1], (o[2] << 16) | o[3]];\n}\n//\n// Given a 64bit int (as an array of two 32bit ints) and an int\n// representing a number of bit positions, returns the 64bit int (as an\n// array of two 32bit ints) rotated left by that number of positions.\n//\nfunction x64Rotl(m, n) {\n n %= 64;\n if (n === 32) {\n return [m[1], m[0]];\n }\n else if (n < 32) {\n return [(m[0] << n) | (m[1] >>> (32 - n)), (m[1] << n) | (m[0] >>> (32 - n))];\n }\n else {\n n -= 32;\n return [(m[1] << n) | (m[0] >>> (32 - n)), (m[0] << n) | (m[1] >>> (32 - n))];\n }\n}\n//\n// Given a 64bit int (as an array of two 32bit ints) and an int\n// representing a number of bit positions, returns the 64bit int (as an\n// array of two 32bit ints) shifted left by that number of positions.\n//\nfunction x64LeftShift(m, n) {\n n %= 64;\n if (n === 0) {\n return m;\n }\n else if (n < 32) {\n return [(m[0] << n) | (m[1] >>> (32 - n)), m[1] << n];\n }\n else {\n return [m[1] << (n - 32), 0];\n }\n}\n//\n// Given two 64bit ints (as an array of two 32bit ints) returns the two\n// xored together as a 64bit int (as an array of two 32bit ints).\n//\nfunction x64Xor(m, n) {\n return [m[0] ^ n[0], m[1] ^ n[1]];\n}\n//\n// Given a block, returns murmurHash3's final x64 mix of that block.\n// (`[0, h[0] >>> 1]` is a 33 bit unsigned right shift. This is the\n// only place where we need to right shift 64bit ints.)\n//\nfunction x64Fmix(h) {\n h = x64Xor(h, [0, h[0] >>> 1]);\n h = x64Multiply(h, [0xff51afd7, 0xed558ccd]);\n h = x64Xor(h, [0, h[0] >>> 1]);\n h = x64Multiply(h, [0xc4ceb9fe, 0x1a85ec53]);\n h = x64Xor(h, [0, h[0] >>> 1]);\n return h;\n}\n//\n// Given a string and an optional seed as an int, returns a 128 bit\n// hash using the x64 flavor of MurmurHash3, as an unsigned hex.\n//\nfunction x64hash128(key, seed) {\n key = key || '';\n seed = seed || 0;\n var remainder = key.length % 16;\n var bytes = key.length - remainder;\n var h1 = [0, seed];\n var h2 = [0, seed];\n var k1 = [0, 0];\n var k2 = [0, 0];\n var c1 = [0x87c37b91, 0x114253d5];\n var c2 = [0x4cf5ad43, 0x2745937f];\n var i;\n for (i = 0; i < bytes; i = i + 16) {\n k1 = [\n (key.charCodeAt(i + 4) & 0xff) |\n ((key.charCodeAt(i + 5) & 0xff) << 8) |\n ((key.charCodeAt(i + 6) & 0xff) << 16) |\n ((key.charCodeAt(i + 7) & 0xff) << 24),\n (key.charCodeAt(i) & 0xff) |\n ((key.charCodeAt(i + 1) & 0xff) << 8) |\n ((key.charCodeAt(i + 2) & 0xff) << 16) |\n ((key.charCodeAt(i + 3) & 0xff) << 24),\n ];\n k2 = [\n (key.charCodeAt(i + 12) & 0xff) |\n ((key.charCodeAt(i + 13) & 0xff) << 8) |\n ((key.charCodeAt(i + 14) & 0xff) << 16) |\n ((key.charCodeAt(i + 15) & 0xff) << 24),\n (key.charCodeAt(i + 8) & 0xff) |\n ((key.charCodeAt(i + 9) & 0xff) << 8) |\n ((key.charCodeAt(i + 10) & 0xff) << 16) |\n ((key.charCodeAt(i + 11) & 0xff) << 24),\n ];\n k1 = x64Multiply(k1, c1);\n k1 = x64Rotl(k1, 31);\n k1 = x64Multiply(k1, c2);\n h1 = x64Xor(h1, k1);\n h1 = x64Rotl(h1, 27);\n h1 = x64Add(h1, h2);\n h1 = x64Add(x64Multiply(h1, [0, 5]), [0, 0x52dce729]);\n k2 = x64Multiply(k2, c2);\n k2 = x64Rotl(k2, 33);\n k2 = x64Multiply(k2, c1);\n h2 = x64Xor(h2, k2);\n h2 = x64Rotl(h2, 31);\n h2 = x64Add(h2, h1);\n h2 = x64Add(x64Multiply(h2, [0, 5]), [0, 0x38495ab5]);\n }\n k1 = [0, 0];\n k2 = [0, 0];\n switch (remainder) {\n case 15:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 14)], 48));\n // fallthrough\n case 14:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 13)], 40));\n // fallthrough\n case 13:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 12)], 32));\n // fallthrough\n case 12:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 11)], 24));\n // fallthrough\n case 11:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 10)], 16));\n // fallthrough\n case 10:\n k2 = x64Xor(k2, x64LeftShift([0, key.charCodeAt(i + 9)], 8));\n // fallthrough\n case 9:\n k2 = x64Xor(k2, [0, key.charCodeAt(i + 8)]);\n k2 = x64Multiply(k2, c2);\n k2 = x64Rotl(k2, 33);\n k2 = x64Multiply(k2, c1);\n h2 = x64Xor(h2, k2);\n // fallthrough\n case 8:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 7)], 56));\n // fallthrough\n case 7:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 6)], 48));\n // fallthrough\n case 6:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 5)], 40));\n // fallthrough\n case 5:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 4)], 32));\n // fallthrough\n case 4:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 3)], 24));\n // fallthrough\n case 3:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 2)], 16));\n // fallthrough\n case 2:\n k1 = x64Xor(k1, x64LeftShift([0, key.charCodeAt(i + 1)], 8));\n // fallthrough\n case 1:\n k1 = x64Xor(k1, [0, key.charCodeAt(i)]);\n k1 = x64Multiply(k1, c1);\n k1 = x64Rotl(k1, 31);\n k1 = x64Multiply(k1, c2);\n h1 = x64Xor(h1, k1);\n // fallthrough\n }\n h1 = x64Xor(h1, [0, key.length]);\n h2 = x64Xor(h2, [0, key.length]);\n h1 = x64Add(h1, h2);\n h2 = x64Add(h2, h1);\n h1 = x64Fmix(h1);\n h2 = x64Fmix(h2);\n h1 = x64Add(h1, h2);\n h2 = x64Add(h2, h1);\n return (('00000000' + (h1[0] >>> 0).toString(16)).slice(-8) +\n ('00000000' + (h1[1] >>> 0).toString(16)).slice(-8) +\n ('00000000' + (h2[0] >>> 0).toString(16)).slice(-8) +\n ('00000000' + (h2[1] >>> 0).toString(16)).slice(-8));\n}\n\n/**\n * Converts an error object to a plain object that can be used with `JSON.stringify`.\n * If you just run `JSON.stringify(error)`, you'll get `'{}'`.\n */\nfunction errorToObject(error) {\n var _a;\n return __assign({ name: error.name, message: error.message, stack: (_a = error.stack) === null || _a === void 0 ? void 0 : _a.split('\\n') }, error);\n}\n\n/*\n * This file contains functions to work with pure data only (no browser features, DOM, side effects, etc).\n */\n/**\n * Does the same as Array.prototype.includes but has better typing\n */\nfunction includes(haystack, needle) {\n for (var i = 0, l = haystack.length; i < l; ++i) {\n if (haystack[i] === needle) {\n return true;\n }\n }\n return false;\n}\n/**\n * Like `!includes()` but with proper typing\n */\nfunction excludes(haystack, needle) {\n return !includes(haystack, needle);\n}\n/**\n * Be careful, NaN can return\n */\nfunction toInt(value) {\n return parseInt(value);\n}\n/**\n * Be careful, NaN can return\n */\nfunction toFloat(value) {\n return parseFloat(value);\n}\nfunction replaceNaN(value, replacement) {\n return typeof value === 'number' && isNaN(value) ? replacement : value;\n}\nfunction countTruthy(values) {\n return values.reduce(function (sum, value) { return sum + (value ? 1 : 0); }, 0);\n}\nfunction round(value, base) {\n if (base === void 0) { base = 1; }\n if (Math.abs(base) >= 1) {\n return Math.round(value / base) * base;\n }\n else {\n // Sometimes when a number is multiplied by a small number, precision is lost,\n // for example 1234 * 0.0001 === 0.12340000000000001, and it's more precise divide: 1234 / (1 / 0.0001) === 0.1234.\n var counterBase = 1 / base;\n return Math.round(value * counterBase) / counterBase;\n }\n}\n/**\n * Parses a CSS selector into tag name with HTML attributes.\n * Only single element selector are supported (without operators like space, +, >, etc).\n *\n * Multiple values can be returned for each attribute. You decide how to handle them.\n */\nfunction parseSimpleCssSelector(selector) {\n var _a, _b;\n var errorMessage = \"Unexpected syntax '\".concat(selector, \"'\");\n var tagMatch = /^\\s*([a-z-]*)(.*)$/i.exec(selector);\n var tag = tagMatch[1] || undefined;\n var attributes = {};\n var partsRegex = /([.:#][\\w-]+|\\[.+?\\])/gi;\n var addAttribute = function (name, value) {\n attributes[name] = attributes[name] || [];\n attributes[name].push(value);\n };\n for (;;) {\n var match = partsRegex.exec(tagMatch[2]);\n if (!match) {\n break;\n }\n var part = match[0];\n switch (part[0]) {\n case '.':\n addAttribute('class', part.slice(1));\n break;\n case '#':\n addAttribute('id', part.slice(1));\n break;\n case '[': {\n var attributeMatch = /^\\[([\\w-]+)([~|^$*]?=(\"(.*?)\"|([\\w-]+)))?(\\s+[is])?\\]$/.exec(part);\n if (attributeMatch) {\n addAttribute(attributeMatch[1], (_b = (_a = attributeMatch[4]) !== null && _a !== void 0 ? _a : attributeMatch[5]) !== null && _b !== void 0 ? _b : '');\n }\n else {\n throw new Error(errorMessage);\n }\n break;\n }\n default:\n throw new Error(errorMessage);\n }\n }\n return [tag, attributes];\n}\n\nfunction ensureErrorWithMessage(error) {\n return error && typeof error === 'object' && 'message' in error ? error : { message: error };\n}\nfunction isFinalResultLoaded(loadResult) {\n return typeof loadResult !== 'function';\n}\n/**\n * Loads the given entropy source. Returns a function that gets an entropy component from the source.\n *\n * The result is returned synchronously to prevent `loadSources` from\n * waiting for one source to load before getting the components from the other sources.\n */\nfunction loadSource(source, sourceOptions) {\n var sourceLoadPromise = new Promise(function (resolveLoad) {\n var loadStartTime = Date.now();\n // `awaitIfAsync` is used instead of just `await` in order to measure the duration of synchronous sources\n // correctly (other microtasks won't affect the duration).\n awaitIfAsync(source.bind(null, sourceOptions), function () {\n var loadArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n loadArgs[_i] = arguments[_i];\n }\n var loadDuration = Date.now() - loadStartTime;\n // Source loading failed\n if (!loadArgs[0]) {\n return resolveLoad(function () { return ({ error: ensureErrorWithMessage(loadArgs[1]), duration: loadDuration }); });\n }\n var loadResult = loadArgs[1];\n // Source loaded with the final result\n if (isFinalResultLoaded(loadResult)) {\n return resolveLoad(function () { return ({ value: loadResult, duration: loadDuration }); });\n }\n // Source loaded with \"get\" stage\n resolveLoad(function () {\n return new Promise(function (resolveGet) {\n var getStartTime = Date.now();\n awaitIfAsync(loadResult, function () {\n var getArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n getArgs[_i] = arguments[_i];\n }\n var duration = loadDuration + Date.now() - getStartTime;\n // Source getting failed\n if (!getArgs[0]) {\n return resolveGet({ error: ensureErrorWithMessage(getArgs[1]), duration: duration });\n }\n // Source getting succeeded\n resolveGet({ value: getArgs[1], duration: duration });\n });\n });\n });\n });\n });\n suppressUnhandledRejectionWarning(sourceLoadPromise);\n return function getComponent() {\n return sourceLoadPromise.then(function (finalizeSource) { return finalizeSource(); });\n };\n}\n/**\n * Loads the given entropy sources. Returns a function that collects the entropy components.\n *\n * The result is returned synchronously in order to allow start getting the components\n * before the sources are loaded completely.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction loadSources(sources, sourceOptions, excludeSources) {\n var includedSources = Object.keys(sources).filter(function (sourceKey) { return excludes(excludeSources, sourceKey); });\n // Using `mapWithBreaks` allows asynchronous sources to complete between synchronous sources\n // and measure the duration correctly\n var sourceGettersPromise = mapWithBreaks(includedSources, function (sourceKey) {\n return loadSource(sources[sourceKey], sourceOptions);\n });\n suppressUnhandledRejectionWarning(sourceGettersPromise);\n return function getComponents() {\n return __awaiter(this, void 0, void 0, function () {\n var sourceGetters, componentPromises, componentArray, components, index;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, sourceGettersPromise];\n case 1:\n sourceGetters = _a.sent();\n return [4 /*yield*/, mapWithBreaks(sourceGetters, function (sourceGetter) {\n var componentPromise = sourceGetter();\n suppressUnhandledRejectionWarning(componentPromise);\n return componentPromise;\n })];\n case 2:\n componentPromises = _a.sent();\n return [4 /*yield*/, Promise.all(componentPromises)\n // Keeping the component keys order the same as the source keys order\n ];\n case 3:\n componentArray = _a.sent();\n components = {};\n for (index = 0; index < includedSources.length; ++index) {\n components[includedSources[index]] = componentArray[index];\n }\n return [2 /*return*/, components];\n }\n });\n });\n };\n}\n/**\n * Modifies an entropy source by transforming its returned value with the given function.\n * Keeps the source properties: sync/async, 1/2 stages.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction transformSource(source, transformValue) {\n var transformLoadResult = function (loadResult) {\n if (isFinalResultLoaded(loadResult)) {\n return transformValue(loadResult);\n }\n return function () {\n var getResult = loadResult();\n if (isPromise(getResult)) {\n return getResult.then(transformValue);\n }\n return transformValue(getResult);\n };\n };\n return function (options) {\n var loadResult = source(options);\n if (isPromise(loadResult)) {\n return loadResult.then(transformLoadResult);\n }\n return transformLoadResult(loadResult);\n };\n}\n\n/*\n * Functions to help with features that vary through browsers\n */\n/**\n * Checks whether the browser is based on Trident (the Internet Explorer engine) without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isTrident() {\n var w = window;\n var n = navigator;\n // The properties are checked to be in IE 10, IE 11 and not to be in other browsers in October 2020\n return (countTruthy([\n 'MSCSSMatrix' in w,\n 'msSetImmediate' in w,\n 'msIndexedDB' in w,\n 'msMaxTouchPoints' in n,\n 'msPointerEnabled' in n,\n ]) >= 4);\n}\n/**\n * Checks whether the browser is based on EdgeHTML (the pre-Chromium Edge engine) without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isEdgeHTML() {\n // Based on research in October 2020\n var w = window;\n var n = navigator;\n return (countTruthy(['msWriteProfilerMark' in w, 'MSStream' in w, 'msLaunchUri' in n, 'msSaveBlob' in n]) >= 3 &&\n !isTrident());\n}\n/**\n * Checks whether the browser is based on Chromium without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isChromium() {\n // Based on research in October 2020. Tested to detect Chromium 42-86.\n var w = window;\n var n = navigator;\n return (countTruthy([\n 'webkitPersistentStorage' in n,\n 'webkitTemporaryStorage' in n,\n n.vendor.indexOf('Google') === 0,\n 'webkitResolveLocalFileSystemURL' in w,\n 'BatteryManager' in w,\n 'webkitMediaStream' in w,\n 'webkitSpeechGrammar' in w,\n ]) >= 5);\n}\n/**\n * Checks whether the browser is based on mobile or desktop Safari without using user-agent.\n * All iOS browsers use WebKit (the Safari engine).\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isWebKit() {\n // Based on research in September 2020\n var w = window;\n var n = navigator;\n return (countTruthy([\n 'ApplePayError' in w,\n 'CSSPrimitiveValue' in w,\n 'Counter' in w,\n n.vendor.indexOf('Apple') === 0,\n 'getStorageUpdates' in n,\n 'WebKitMediaKeys' in w,\n ]) >= 4);\n}\n/**\n * Checks whether the WebKit browser is a desktop Safari.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isDesktopSafari() {\n var w = window;\n return (countTruthy([\n 'safari' in w,\n !('DeviceMotionEvent' in w),\n !('ongestureend' in w),\n !('standalone' in navigator),\n ]) >= 3);\n}\n/**\n * Checks whether the browser is based on Gecko (Firefox engine) without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isGecko() {\n var _a, _b;\n var w = window;\n // Based on research in September 2020\n return (countTruthy([\n 'buildID' in navigator,\n 'MozAppearance' in ((_b = (_a = document.documentElement) === null || _a === void 0 ? void 0 : _a.style) !== null && _b !== void 0 ? _b : {}),\n 'onmozfullscreenchange' in w,\n 'mozInnerScreenX' in w,\n 'CSSMozDocumentRule' in w,\n 'CanvasCaptureMediaStream' in w,\n ]) >= 4);\n}\n/**\n * Checks whether the browser is based on Chromium version ≥86 without using user-agent.\n * It doesn't check that the browser is based on Chromium, there is a separate function for this.\n */\nfunction isChromium86OrNewer() {\n // Checked in Chrome 85 vs Chrome 86 both on desktop and Android\n var w = window;\n return (countTruthy([\n !('MediaSettingsRange' in w),\n 'RTCEncodedAudioFrame' in w,\n '' + w.Intl === '[object Intl]',\n '' + w.Reflect === '[object Reflect]',\n ]) >= 3);\n}\n/**\n * Checks whether the browser is based on WebKit version ≥606 (Safari ≥12) without using user-agent.\n * It doesn't check that the browser is based on WebKit, there is a separate function for this.\n *\n * @link https://en.wikipedia.org/wiki/Safari_version_history#Release_history Safari-WebKit versions map\n */\nfunction isWebKit606OrNewer() {\n // Checked in Safari 9–14\n var w = window;\n return (countTruthy([\n 'DOMRectList' in w,\n 'RTCPeerConnectionIceEvent' in w,\n 'SVGGeometryElement' in w,\n 'ontransitioncancel' in w,\n ]) >= 3);\n}\n/**\n * Checks whether the device is an iPad.\n * It doesn't check that the engine is WebKit and that the WebKit isn't desktop.\n */\nfunction isIPad() {\n // Checked on:\n // Safari on iPadOS (both mobile and desktop modes): 8, 11, 12, 13, 14\n // Chrome on iPadOS (both mobile and desktop modes): 11, 12, 13, 14\n // Safari on iOS (both mobile and desktop modes): 9, 10, 11, 12, 13, 14\n // Chrome on iOS (both mobile and desktop modes): 9, 10, 11, 12, 13, 14\n // Before iOS 13. Safari tampers the value in \"request desktop site\" mode since iOS 13.\n if (navigator.platform === 'iPad') {\n return true;\n }\n var s = screen;\n var screenRatio = s.width / s.height;\n return (countTruthy([\n 'MediaSource' in window,\n !!Element.prototype.webkitRequestFullscreen,\n // iPhone 4S that runs iOS 9 matches this. But it won't match the criteria above, so it won't be detected as iPad.\n screenRatio > 0.65 && screenRatio < 1.53,\n ]) >= 2);\n}\n/**\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction getFullscreenElement() {\n var d = document;\n return d.fullscreenElement || d.msFullscreenElement || d.mozFullScreenElement || d.webkitFullscreenElement || null;\n}\nfunction exitFullscreen() {\n var d = document;\n // `call` is required because the function throws an error without a proper \"this\" context\n return (d.exitFullscreen || d.msExitFullscreen || d.mozCancelFullScreen || d.webkitExitFullscreen).call(d);\n}\n/**\n * Checks whether the device runs on Android without using user-agent.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction isAndroid() {\n var isItChromium = isChromium();\n var isItGecko = isGecko();\n // Only 2 browser engines are presented on Android.\n // Actually, there is also Android 4.1 browser, but it's not worth detecting it at the moment.\n if (!isItChromium && !isItGecko) {\n return false;\n }\n var w = window;\n // Chrome removes all words \"Android\" from `navigator` when desktop version is requested\n // Firefox keeps \"Android\" in `navigator.appVersion` when desktop version is requested\n return (countTruthy([\n 'onorientationchange' in w,\n 'orientation' in w,\n isItChromium && !('SharedWorker' in w),\n isItGecko && /android/i.test(navigator.appVersion),\n ]) >= 2);\n}\n\n/**\n * A deep description: https://fingerprint.com/blog/audio-fingerprinting/\n * Inspired by and based on https://github.com/cozylife/audio-fingerprint\n */\nfunction getAudioFingerprint() {\n var w = window;\n var AudioContext = w.OfflineAudioContext || w.webkitOfflineAudioContext;\n if (!AudioContext) {\n return -2 /* SpecialFingerprint.NotSupported */;\n }\n // In some browsers, audio context always stays suspended unless the context is started in response to a user action\n // (e.g. a click or a tap). It prevents audio fingerprint from being taken at an arbitrary moment of time.\n // Such browsers are old and unpopular, so the audio fingerprinting is just skipped in them.\n // See a similar case explanation at https://stackoverflow.com/questions/46363048/onaudioprocess-not-called-on-ios11#46534088\n if (doesCurrentBrowserSuspendAudioContext()) {\n return -1 /* SpecialFingerprint.KnownToSuspend */;\n }\n var hashFromIndex = 4500;\n var hashToIndex = 5000;\n var context = new AudioContext(1, hashToIndex, 44100);\n var oscillator = context.createOscillator();\n oscillator.type = 'triangle';\n oscillator.frequency.value = 10000;\n var compressor = context.createDynamicsCompressor();\n compressor.threshold.value = -50;\n compressor.knee.value = 40;\n compressor.ratio.value = 12;\n compressor.attack.value = 0;\n compressor.release.value = 0.25;\n oscillator.connect(compressor);\n compressor.connect(context.destination);\n oscillator.start(0);\n var _a = startRenderingAudio(context), renderPromise = _a[0], finishRendering = _a[1];\n var fingerprintPromise = renderPromise.then(function (buffer) { return getHash(buffer.getChannelData(0).subarray(hashFromIndex)); }, function (error) {\n if (error.name === \"timeout\" /* InnerErrorName.Timeout */ || error.name === \"suspended\" /* InnerErrorName.Suspended */) {\n return -3 /* SpecialFingerprint.Timeout */;\n }\n throw error;\n });\n // Suppresses the console error message in case when the fingerprint fails before requested\n suppressUnhandledRejectionWarning(fingerprintPromise);\n return function () {\n finishRendering();\n return fingerprintPromise;\n };\n}\n/**\n * Checks if the current browser is known to always suspend audio context\n */\nfunction doesCurrentBrowserSuspendAudioContext() {\n return isWebKit() && !isDesktopSafari() && !isWebKit606OrNewer();\n}\n/**\n * Starts rendering the audio context.\n * When the returned function is called, the render process starts finishing.\n */\nfunction startRenderingAudio(context) {\n var renderTryMaxCount = 3;\n var renderRetryDelay = 500;\n var runningMaxAwaitTime = 500;\n var runningSufficientTime = 5000;\n var finalize = function () { return undefined; };\n var resultPromise = new Promise(function (resolve, reject) {\n var isFinalized = false;\n var renderTryCount = 0;\n var startedRunningAt = 0;\n context.oncomplete = function (event) { return resolve(event.renderedBuffer); };\n var startRunningTimeout = function () {\n setTimeout(function () { return reject(makeInnerError(\"timeout\" /* InnerErrorName.Timeout */)); }, Math.min(runningMaxAwaitTime, startedRunningAt + runningSufficientTime - Date.now()));\n };\n var tryRender = function () {\n try {\n var renderingPromise = context.startRendering();\n // `context.startRendering` has two APIs: Promise and callback, we check that it's really a promise just in case\n if (isPromise(renderingPromise)) {\n // Suppresses all unhadled rejections in case of scheduled redundant retries after successful rendering\n suppressUnhandledRejectionWarning(renderingPromise);\n }\n switch (context.state) {\n case 'running':\n startedRunningAt = Date.now();\n if (isFinalized) {\n startRunningTimeout();\n }\n break;\n // Sometimes the audio context doesn't start after calling `startRendering` (in addition to the cases where\n // audio context doesn't start at all). A known case is starting an audio context when the browser tab is in\n // background on iPhone. Retries usually help in this case.\n case 'suspended':\n // The audio context can reject starting until the tab is in foreground. Long fingerprint duration\n // in background isn't a problem, therefore the retry attempts don't count in background. It can lead to\n // a situation when a fingerprint takes very long time and finishes successfully. FYI, the audio context\n // can be suspended when `document.hidden === false` and start running after a retry.\n if (!document.hidden) {\n renderTryCount++;\n }\n if (isFinalized && renderTryCount >= renderTryMaxCount) {\n reject(makeInnerError(\"suspended\" /* InnerErrorName.Suspended */));\n }\n else {\n setTimeout(tryRender, renderRetryDelay);\n }\n break;\n }\n }\n catch (error) {\n reject(error);\n }\n };\n tryRender();\n finalize = function () {\n if (!isFinalized) {\n isFinalized = true;\n if (startedRunningAt > 0) {\n startRunningTimeout();\n }\n }\n };\n });\n return [resultPromise, finalize];\n}\nfunction getHash(signal) {\n var hash = 0;\n for (var i = 0; i < signal.length; ++i) {\n hash += Math.abs(signal[i]);\n }\n return hash;\n}\nfunction makeInnerError(name) {\n var error = new Error(name);\n error.name = name;\n return error;\n}\n\n/**\n * Creates and keeps an invisible iframe while the given function runs.\n * The given function is called when the iframe is loaded and has a body.\n * The iframe allows to measure DOM sizes inside itself.\n *\n * Notice: passing an initial HTML code doesn't work in IE.\n *\n * Warning for package users:\n * This function is out of Semantic Versioning, i.e. can change unexpectedly. Usage is at your own risk.\n */\nfunction withIframe(action, initialHtml, domPollInterval) {\n var _a, _b, _c;\n if (domPollInterval === void 0) { domPollInterval = 50; }\n return __awaiter(this, void 0, void 0, function () {\n var d, iframe;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n d = document;\n _d.label = 1;\n case 1:\n if (!!d.body) return [3 /*break*/, 3];\n return [4 /*yield*/, wait(domPollInterval)];\n case 2:\n _d.sent();\n return [3 /*break*/, 1];\n case 3:\n iframe = d.createElement('iframe');\n _d.label = 4;\n case 4:\n _d.trys.push([4, , 10, 11]);\n return [4 /*yield*/, new Promise(function (_resolve, _reject) {\n var isComplete = false;\n var resolve = function () {\n isComplete = true;\n _resolve();\n };\n var reject = function (error) {\n isComplete = true;\n _reject(error);\n };\n iframe.onload = resolve;\n iframe.onerror = reject;\n var style = iframe.style;\n style.setProperty('display', 'block', 'important'); // Required for browsers to calculate the layout\n style.position = 'absolute';\n style.top = '0';\n style.left = '0';\n style.visibility = 'hidden';\n if (initialHtml && 'srcdoc' in iframe) {\n iframe.srcdoc = initialHtml;\n }\n else {\n iframe.src = 'about:blank';\n }\n d.body.appendChild(iframe);\n // WebKit in WeChat doesn't fire the iframe's `onload` for some reason.\n // This code checks for the loading state manually.\n // See https://github.com/fingerprintjs/fingerprintjs/issues/645\n var checkReadyState = function () {\n var _a, _b;\n // The ready state may never become 'complete' in Firefox despite the 'load' event being fired.\n // So an infinite setTimeout loop can happen without this check.\n // See https://github.com/fingerprintjs/fingerprintjs/pull/716#issuecomment-986898796\n if (isComplete) {\n return;\n }\n // Make sure iframe.contentWindow and iframe.contentWindow.document are both loaded\n // The contentWindow.document can miss in JSDOM (https://github.com/jsdom/jsdom).\n if (((_b = (_a = iframe.contentWindow) === null || _a === void 0 ? void 0 : _a.document) === null || _b === void 0 ? void 0 : _b.readyState) === 'complete') {\n resolve();\n }\n else {\n setTimeout(checkReadyState, 10);\n }\n };\n checkReadyState();\n })];\n case 5:\n _d.sent();\n _d.label = 6;\n case 6:\n if (!!((_b = (_a = iframe.contentWindow) === null || _a === void 0 ? void 0 : _a.document) === null || _b === void 0 ? void 0 : _b.body)) return [3 /*break*/, 8];\n return [4 /*yield*/, wait(domPollInterval)];\n case 7:\n _d.sent();\n return [3 /*break*/, 6];\n case 8: return [4 /*yield*/, action(iframe, iframe.contentWindow)];\n case 9: return [2 /*return*/, _d.sent()];\n case 10:\n (_c = iframe.parentNode) === null || _c === void 0 ? void 0 : _c.removeChild(iframe);\n return [7 /*endfinally*/];\n case 11: return [2 /*return*/];\n }\n });\n });\n}\n/**\n * Creates a DOM element that matches the given selector.\n * Only single element selector are supported (without operators like space, +, >, etc).\n */\nfunction selectorToElement(selector) {\n var _a = parseSimpleCssSelector(selector), tag = _a[0], attributes = _a[1];\n var element = document.createElement(tag !== null && tag !== void 0 ? tag : 'div');\n for (var _i = 0, _b = Object.keys(attributes); _i < _b.length; _i++) {\n var name_1 = _b[_i];\n var value = attributes[name_1].join(' ');\n // Changing the `style` attribute can cause a CSP error, therefore we change the `style.cssText` property.\n // https://github.com/fingerprintjs/fingerprintjs/issues/733\n if (name_1 === 'style') {\n addStyleString(element.style, value);\n }\n else {\n element.setAttribute(name_1, value);\n }\n }\n return element;\n}\n/**\n * Adds CSS styles from a string in such a way that doesn't trigger a CSP warning (unsafe-inline or unsafe-eval)\n */\nfunction addStyleString(style, source) {\n // We don't use `style.cssText` because browsers must block it when no `unsafe-eval` CSP is presented: https://csplite.com/csp145/#w3c_note\n // Even though the browsers ignore this standard, we don't use `cssText` just in case.\n for (var _i = 0, _a = source.split(';'); _i < _a.length; _i++) {\n var property = _a[_i];\n var match = /^\\s*([\\w-]+)\\s*:\\s*(.+?)(\\s*!([\\w-]+))?\\s*$/.exec(property);\n if (match) {\n var name_2 = match[1], value = match[2], priority = match[4];\n style.setProperty(name_2, value, priority || ''); // The last argument can't be undefined in IE11\n }\n }\n}\n\n// We use m or w because these two characters take up the maximum width.\n// And we use a LLi so that the same matching fonts can get separated.\nvar testString = 'mmMwWLliI0O&1';\n// We test using 48px font size, we may use any size. I guess larger the better.\nvar textSize = '48px';\n// A font will be compared against all the three default fonts.\n// And if for any default fonts it doesn't match, then that font is available.\nvar baseFonts = ['monospace', 'sans-serif', 'serif'];\nvar fontList = [\n // This is android-specific font from \"Roboto\" family\n 'sans-serif-thin',\n 'ARNO PRO',\n 'Agency FB',\n 'Arabic Typesetting',\n 'Arial Unicode MS',\n 'AvantGarde Bk BT',\n 'BankGothic Md BT',\n 'Batang',\n 'Bitstream Vera Sans Mono',\n 'Calibri',\n 'Century',\n 'Century Gothic',\n 'Clarendon',\n 'EUROSTILE',\n 'Franklin Gothic',\n 'Futura Bk BT',\n 'Futura Md BT',\n 'GOTHAM',\n 'Gill Sans',\n 'HELV',\n 'Haettenschweiler',\n 'Helvetica Neue',\n 'Humanst521 BT',\n 'Leelawadee',\n 'Letter Gothic',\n 'Levenim MT',\n 'Lucida Bright',\n 'Lucida Sans',\n 'Menlo',\n 'MS Mincho',\n 'MS Outlook',\n 'MS Reference Specialty',\n 'MS UI Gothic',\n 'MT Extra',\n 'MYRIAD PRO',\n 'Marlett',\n 'Meiryo UI',\n 'Microsoft Uighur',\n 'Minion Pro',\n 'Monotype Corsiva',\n 'PMingLiU',\n 'Pristina',\n 'SCRIPTINA',\n 'Segoe UI Light',\n 'Serifa',\n 'SimHei',\n 'Small Fonts',\n 'Staccato222 BT',\n 'TRAJAN PRO',\n 'Univers CE 55 Medium',\n 'Vrinda',\n 'ZWAdobeF',\n];\n// kudos to http://www.lalit.org/lab/javascript-css-font-detect/\nfunction getFonts() {\n // Running the script in an iframe makes it not affect the page look and not be affected by the page CSS. See:\n // https://github.com/fingerprintjs/fingerprintjs/issues/592\n // https://github.com/fingerprintjs/fingerprintjs/issues/628\n return withIframe(function (_, _a) {\n var document = _a.document;\n var holder = document.body;\n holder.style.fontSize = textSize;\n // div to load spans for the default fonts and the fonts to detect\n var spansContainer = document.createElement('div');\n var defaultWidth = {};\n var defaultHeight = {};\n // creates a span where the fonts will be loaded\n var createSpan = function (fontFamily) {\n var span = document.createElement('span');\n var style = span.style;\n style.position = 'absolute';\n style.top = '0';\n style.left = '0';\n style.fontFamily = fontFamily;\n span.textContent = testString;\n spansContainer.appendChild(span);\n return span;\n };\n // creates a span and load the font to detect and a base font for fallback\n var createSpanWithFonts = function (fontToDetect, baseFont) {\n return createSpan(\"'\".concat(fontToDetect, \"',\").concat(baseFont));\n };\n // creates spans for the base fonts and adds them to baseFontsDiv\n var initializeBaseFontsSpans = function () {\n return baseFonts.map(createSpan);\n };\n // creates spans for the fonts to detect and adds them to fontsDiv\n var initializeFontsSpans = function () {\n // Stores {fontName : [spans for that font]}\n var spans = {};\n var _loop_1 = function (font) {\n spans[font] = baseFonts.map(function (baseFont) { return createSpanWithFonts(font, baseFont); });\n };\n for (var _i = 0, fontList_1 = fontList; _i < fontList_1.length; _i++) {\n var font = fontList_1[_i];\n _loop_1(font);\n }\n return spans;\n };\n // checks if a font is available\n var isFontAvailable = function (fontSpans) {\n return baseFonts.some(function (baseFont, baseFontIndex) {\n return fontSpans[baseFontIndex].offsetWidth !== defaultWidth[baseFont] ||\n fontSpans[baseFontIndex].offsetHeight !== defaultHeight[baseFont];\n });\n };\n // create spans for base fonts\n var baseFontsSpans = initializeBaseFontsSpans();\n // create spans for fonts to detect\n var fontsSpans = initializeFontsSpans();\n // add all the spans to the DOM\n holder.appendChild(spansContainer);\n // get the default width for the three base fonts\n for (var index = 0; index < baseFonts.length; index++) {\n defaultWidth[baseFonts[index]] = baseFontsSpans[index].offsetWidth; // width for the default font\n defaultHeight[baseFonts[index]] = baseFontsSpans[index].offsetHeight; // height for the default font\n }\n // check available fonts\n return fontList.filter(function (font) { return isFontAvailable(fontsSpans[font]); });\n });\n}\n\nfunction getPlugins() {\n var rawPlugins = navigator.plugins;\n if (!rawPlugins) {\n return undefined;\n }\n var plugins = [];\n // Safari 10 doesn't support iterating navigator.plugins with for...of\n for (var i = 0; i < rawPlugins.length; ++i) {\n var plugin = rawPlugins[i];\n if (!plugin) {\n continue;\n }\n var mimeTypes = [];\n for (var j = 0; j < plugin.length; ++j) {\n var mimeType = plugin[j];\n mimeTypes.push({\n type: mimeType.type,\n suffixes: mimeType.suffixes,\n });\n }\n plugins.push({\n name: plugin.name,\n description: plugin.description,\n mimeTypes: mimeTypes,\n });\n }\n return plugins;\n}\n\n// https://www.browserleaks.com/canvas#how-does-it-work\nfunction getCanvasFingerprint() {\n var winding = false;\n var geometry;\n var text;\n var _a = makeCanvasContext(), canvas = _a[0], context = _a[1];\n if (!isSupported(canvas, context)) {\n geometry = text = ''; // The value will be 'unsupported' in v3.4\n }\n else {\n winding = doesSupportWinding(context);\n renderTextImage(canvas, context);\n var textImage1 = canvasToString(canvas);\n var textImage2 = canvasToString(canvas); // It's slightly faster to double-encode the text image\n // Some browsers add a noise to the canvas: https://github.com/fingerprintjs/fingerprintjs/issues/791\n // The canvas is excluded from the fingerprint in this case\n if (textImage1 !== textImage2) {\n geometry = text = 'unstable';\n }\n else {\n text = textImage1;\n // Text is unstable:\n // https://github.com/fingerprintjs/fingerprintjs/issues/583\n // https://github.com/fingerprintjs/fingerprintjs/issues/103\n // Therefore it's extracted into a separate image.\n renderGeometryImage(canvas, context);\n geometry = canvasToString(canvas);\n }\n }\n return { winding: winding, geometry: geometry, text: text };\n}\nfunction makeCanvasContext() {\n var canvas = document.createElement('canvas');\n canvas.width = 1;\n canvas.height = 1;\n return [canvas, canvas.getContext('2d')];\n}\nfunction isSupported(canvas, context) {\n return !!(context && canvas.toDataURL);\n}\nfunction doesSupportWinding(context) {\n // https://web.archive.org/web/20170825024655/http://blogs.adobe.com/webplatform/2013/01/30/winding-rules-in-canvas/\n // https://github.com/Modernizr/Modernizr/blob/master/feature-detects/canvas/winding.js\n context.rect(0, 0, 10, 10);\n context.rect(2, 2, 6, 6);\n return !context.isPointInPath(5, 5, 'evenodd');\n}\nfunction renderTextImage(canvas, context) {\n // Resizing the canvas cleans it\n canvas.width = 240;\n canvas.height = 60;\n context.textBaseline = 'alphabetic';\n context.fillStyle = '#f60';\n context.fillRect(100, 1, 62, 20);\n context.fillStyle = '#069';\n // It's important to use explicit built-in fonts in order to exclude the affect of font preferences\n // (there is a separate entropy source for them).\n context.font = '11pt \"Times New Roman\"';\n // The choice of emojis has a gigantic impact on rendering performance (especially in FF).\n // Some newer emojis cause it to slow down 50-200 times.\n // There must be no text to the right of the emoji, see https://github.com/fingerprintjs/fingerprintjs/issues/574\n // A bare emoji shouldn't be used because the canvas will change depending on the script encoding:\n // https://github.com/fingerprintjs/fingerprintjs/issues/66\n // Escape sequence shouldn't be used too because Terser will turn it into a bare unicode.\n var printedText = \"Cwm fjordbank gly \".concat(String.fromCharCode(55357, 56835) /* 😃 */);\n context.fillText(printedText, 2, 15);\n context.fillStyle = 'rgba(102, 204, 0, 0.2)';\n context.font = '18pt Arial';\n context.fillText(printedText, 4, 45);\n}\nfunction renderGeometryImage(canvas, context) {\n // Resizing the canvas cleans it\n canvas.width = 122;\n canvas.height = 110;\n // Canvas blending\n // https://web.archive.org/web/20170826194121/http://blogs.adobe.com/webplatform/2013/01/28/blending-features-in-canvas/\n // http://jsfiddle.net/NDYV8/16/\n context.globalCompositeOperation = 'multiply';\n for (var _i = 0, _a = [\n ['#f2f', 40, 40],\n ['#2ff', 80, 40],\n ['#ff2', 60, 80],\n ]; _i < _a.length; _i++) {\n var _b = _a[_i], color = _b[0], x = _b[1], y = _b[2];\n context.fillStyle = color;\n context.beginPath();\n context.arc(x, y, 40, 0, Math.PI * 2, true);\n context.closePath();\n context.fill();\n }\n // Canvas winding\n // https://web.archive.org/web/20130913061632/http://blogs.adobe.com/webplatform/2013/01/30/winding-rules-in-canvas/\n // http://jsfiddle.net/NDYV8/19/\n context.fillStyle = '#f9c';\n context.arc(60, 60, 60, 0, Math.PI * 2, true);\n context.arc(60, 60, 20, 0, Math.PI * 2, true);\n context.fill('evenodd');\n}\nfunction canvasToString(canvas) {\n return canvas.toDataURL();\n}\n\n/**\n * This is a crude and primitive touch screen detection. It's not possible to currently reliably detect the availability\n * of a touch screen with a JS, without actually subscribing to a touch event.\n *\n * @see http://www.stucox.com/blog/you-cant-detect-a-touchscreen/\n * @see https://github.com/Modernizr/Modernizr/issues/548\n */\nfunction getTouchSupport() {\n var n = navigator;\n var maxTouchPoints = 0;\n var touchEvent;\n if (n.maxTouchPoints !== undefined) {\n maxTouchPoints = toInt(n.maxTouchPoints);\n }\n else if (n.msMaxTouchPoints !== undefined) {\n maxTouchPoints = n.msMaxTouchPoints;\n }\n try {\n document.createEvent('TouchEvent');\n touchEvent = true;\n }\n catch (_a) {\n touchEvent = false;\n }\n var touchStart = 'ontouchstart' in window;\n return {\n maxTouchPoints: maxTouchPoints,\n touchEvent: touchEvent,\n touchStart: touchStart,\n };\n}\n\nfunction getOsCpu() {\n return navigator.oscpu;\n}\n\nfunction getLanguages() {\n var n = navigator;\n var result = [];\n var language = n.language || n.userLanguage || n.browserLanguage || n.systemLanguage;\n if (language !== undefined) {\n result.push([language]);\n }\n if (Array.isArray(n.languages)) {\n // Starting from Chromium 86, there is only a single value in `navigator.language` in Incognito mode:\n // the value of `navigator.language`. Therefore the value is ignored in this browser.\n if (!(isChromium() && isChromium86OrNewer())) {\n result.push(n.languages);\n }\n }\n else if (typeof n.languages === 'string') {\n var languages = n.languages;\n if (languages) {\n result.push(languages.split(','));\n }\n }\n return result;\n}\n\nfunction getColorDepth() {\n return window.screen.colorDepth;\n}\n\nfunction getDeviceMemory() {\n // `navigator.deviceMemory` is a string containing a number in some unidentified cases\n return replaceNaN(toFloat(navigator.deviceMemory), undefined);\n}\n\nfunction getScreenResolution() {\n var s = screen;\n // Some browsers return screen resolution as strings, e.g. \"1200\", instead of a number, e.g. 1200.\n // I suspect it's done by certain plugins that randomize browser properties to prevent fingerprinting.\n // Some browsers even return screen resolution as not numbers.\n var parseDimension = function (value) { return replaceNaN(toInt(value), null); };\n var dimensions = [parseDimension(s.width), parseDimension(s.height)];\n dimensions.sort().reverse();\n return dimensions;\n}\n\nvar screenFrameCheckInterval = 2500;\nvar roundingPrecision = 10;\n// The type is readonly to protect from unwanted mutations\nvar screenFrameBackup;\nvar screenFrameSizeTimeoutId;\n/**\n * Starts watching the screen frame size. When a non-zero size appears, the size is saved and the watch is stopped.\n * Later, when `getScreenFrame` runs, it will return the saved non-zero size if the current size is null.\n *\n * This trick is required to mitigate the fact that the screen frame turns null in some cases.\n * See more on this at https://github.com/fingerprintjs/fingerprintjs/issues/568\n */\nfunction watchScreenFrame() {\n if (screenFrameSizeTimeoutId !== undefined) {\n return;\n }\n var checkScreenFrame = function () {\n var frameSize = getCurrentScreenFrame();\n if (isFrameSizeNull(frameSize)) {\n screenFrameSizeTimeoutId = setTimeout(checkScreenFrame, screenFrameCheckInterval);\n }\n else {\n screenFrameBackup = frameSize;\n screenFrameSizeTimeoutId = undefined;\n }\n };\n checkScreenFrame();\n}\nfunction getScreenFrame() {\n var _this = this;\n watchScreenFrame();\n return function () { return __awaiter(_this, void 0, void 0, function () {\n var frameSize;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n frameSize = getCurrentScreenFrame();\n if (!isFrameSizeNull(frameSize)) return [3 /*break*/, 2];\n if (screenFrameBackup) {\n return [2 /*return*/, __spreadArray([], screenFrameBackup, true)];\n }\n if (!getFullscreenElement()) return [3 /*break*/, 2];\n // Some browsers set the screen frame to zero when programmatic fullscreen is on.\n // There is a chance of getting a non-zero frame after exiting the fullscreen.\n // See more on this at https://github.com/fingerprintjs/fingerprintjs/issues/568\n return [4 /*yield*/, exitFullscreen()];\n case 1:\n // Some browsers set the screen frame to zero when programmatic fullscreen is on.\n // There is a chance of getting a non-zero frame after exiting the fullscreen.\n // See more on this at https://github.com/fingerprintjs/fingerprintjs/issues/568\n _a.sent();\n frameSize = getCurrentScreenFrame();\n _a.label = 2;\n case 2:\n if (!isFrameSizeNull(frameSize)) {\n screenFrameBackup = frameSize;\n }\n return [2 /*return*/, frameSize];\n }\n });\n }); };\n}\n/**\n * Sometimes the available screen resolution changes a bit, e.g. 1900x1440 → 1900x1439. A possible reason: macOS Dock\n * shrinks to fit more icons when there is too little space. The rounding is used to mitigate the difference.\n */\nfunction getRoundedScreenFrame() {\n var _this = this;\n var screenFrameGetter = getScreenFrame();\n return function () { return __awaiter(_this, void 0, void 0, function () {\n var frameSize, processSize;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, screenFrameGetter()];\n case 1:\n frameSize = _a.sent();\n processSize = function (sideSize) { return (sideSize === null ? null : round(sideSize, roundingPrecision)); };\n // It might look like I don't know about `for` and `map`.\n // In fact, such code is used to avoid TypeScript issues without using `as`.\n return [2 /*return*/, [processSize(frameSize[0]), processSize(frameSize[1]), processSize(frameSize[2]), processSize(frameSize[3])]];\n }\n });\n }); };\n}\nfunction getCurrentScreenFrame() {\n var s = screen;\n // Some browsers return screen resolution as strings, e.g. \"1200\", instead of a number, e.g. 1200.\n // I suspect it's done by certain plugins that randomize browser properties to prevent fingerprinting.\n //\n // Some browsers (IE, Edge ≤18) don't provide `screen.availLeft` and `screen.availTop`. The property values are\n // replaced with 0 in such cases to not lose the entropy from `screen.availWidth` and `screen.availHeight`.\n return [\n replaceNaN(toFloat(s.availTop), null),\n replaceNaN(toFloat(s.width) - toFloat(s.availWidth) - replaceNaN(toFloat(s.availLeft), 0), null),\n replaceNaN(toFloat(s.height) - toFloat(s.availHeight) - replaceNaN(toFloat(s.availTop), 0), null),\n replaceNaN(toFloat(s.availLeft), null),\n ];\n}\nfunction isFrameSizeNull(frameSize) {\n for (var i = 0; i < 4; ++i) {\n if (frameSize[i]) {\n return false;\n }\n }\n return true;\n}\n\nfunction getHardwareConcurrency() {\n // sometimes hardware concurrency is a string\n return replaceNaN(toInt(navigator.hardwareConcurrency), undefined);\n}\n\nfunction getTimezone() {\n var _a;\n var DateTimeFormat = (_a = window.Intl) === null || _a === void 0 ? void 0 : _a.DateTimeFormat;\n if (DateTimeFormat) {\n var timezone = new DateTimeFormat().resolvedOptions().timeZone;\n if (timezone) {\n return timezone;\n }\n }\n // For browsers that don't support timezone names\n // The minus is intentional because the JS offset is opposite to the real offset\n var offset = -getTimezoneOffset();\n return \"UTC\".concat(offset >= 0 ? '+' : '').concat(Math.abs(offset));\n}\nfunction getTimezoneOffset() {\n var currentYear = new Date().getFullYear();\n // The timezone offset may change over time due to daylight saving time (DST) shifts.\n // The non-DST timezone offset is used as the result timezone offset.\n // Since the DST season differs in the northern and the southern hemispheres,\n // both January and July timezones offsets are considered.\n return Math.max(\n // `getTimezoneOffset` returns a number as a string in some unidentified cases\n toFloat(new Date(currentYear, 0, 1).getTimezoneOffset()), toFloat(new Date(currentYear, 6, 1).getTimezoneOffset()));\n}\n\nfunction getSessionStorage() {\n try {\n return !!window.sessionStorage;\n }\n catch (error) {\n /* SecurityError when referencing it means it exists */\n return true;\n }\n}\n\n// https://bugzilla.mozilla.org/show_bug.cgi?id=781447\nfunction getLocalStorage() {\n try {\n return !!window.localStorage;\n }\n catch (e) {\n /* SecurityError when referencing it means it exists */\n return true;\n }\n}\n\nfunction getIndexedDB() {\n // IE and Edge don't allow accessing indexedDB in private mode, therefore IE and Edge will have different\n // visitor identifier in normal and private modes.\n if (isTrident() || isEdgeHTML()) {\n return undefined;\n }\n try {\n return !!window.indexedDB;\n }\n catch (e) {\n /* SecurityError when referencing it means it exists */\n return true;\n }\n}\n\nfunction getOpenDatabase() {\n return !!window.openDatabase;\n}\n\nfunction getCpuClass() {\n return navigator.cpuClass;\n}\n\nfunction getPlatform() {\n // Android Chrome 86 and 87 and Android Firefox 80 and 84 don't mock the platform value when desktop mode is requested\n var platform = navigator.platform;\n // iOS mocks the platform value when desktop version is requested: https://github.com/fingerprintjs/fingerprintjs/issues/514\n // iPad uses desktop mode by default since iOS 13\n // The value is 'MacIntel' on M1 Macs\n // The value is 'iPhone' on iPod Touch\n if (platform === 'MacIntel') {\n if (isWebKit() && !isDesktopSafari()) {\n return isIPad() ? 'iPad' : 'iPhone';\n }\n }\n return platform;\n}\n\nfunction getVendor() {\n return navigator.vendor || '';\n}\n\n/**\n * Checks for browser-specific (not engine specific) global variables to tell browsers with the same engine apart.\n * Only somewhat popular browsers are considered.\n */\nfunction getVendorFlavors() {\n var flavors = [];\n for (var _i = 0, _a = [\n // Blink and some browsers on iOS\n 'chrome',\n // Safari on macOS\n 'safari',\n // Chrome on iOS (checked in 85 on 13 and 87 on 14)\n '__crWeb',\n '__gCrWeb',\n // Yandex Browser on iOS, macOS and Android (checked in 21.2 on iOS 14, macOS and Android)\n 'yandex',\n // Yandex Browser on iOS (checked in 21.2 on 14)\n '__yb',\n '__ybro',\n // Firefox on iOS (checked in 32 on 14)\n '__firefox__',\n // Edge on iOS (checked in 46 on 14)\n '__edgeTrackingPreventionStatistics',\n 'webkit',\n // Opera Touch on iOS (checked in 2.6 on 14)\n 'oprt',\n // Samsung Internet on Android (checked in 11.1)\n 'samsungAr',\n // UC Browser on Android (checked in 12.10 and 13.0)\n 'ucweb',\n 'UCShellJava',\n // Puffin on Android (checked in 9.0)\n 'puffinDevice',\n // UC on iOS and Opera on Android have no specific global variables\n // Edge for Android isn't checked\n ]; _i < _a.length; _i++) {\n var key = _a[_i];\n var value = window[key];\n if (value && typeof value === 'object') {\n flavors.push(key);\n }\n }\n return flavors.sort();\n}\n\n/**\n * navigator.cookieEnabled cannot detect custom or nuanced cookie blocking configurations. For example, when blocking\n * cookies via the Advanced Privacy Settings in IE9, it always returns true. And there have been issues in the past with\n * site-specific exceptions. Don't rely on it.\n *\n * @see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/cookies.js Taken from here\n */\nfunction areCookiesEnabled() {\n var d = document;\n // Taken from here: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/cookies.js\n // navigator.cookieEnabled cannot detect custom or nuanced cookie blocking configurations. For example, when blocking\n // cookies via the Advanced Privacy Settings in IE9, it always returns true. And there have been issues in the past\n // with site-specific exceptions. Don't rely on it.\n // try..catch because some in situations `document.cookie` is exposed but throws a\n // SecurityError if you try to access it; e.g. documents created from data URIs\n // or in sandboxed iframes (depending on flags/context)\n try {\n // Create cookie\n d.cookie = 'cookietest=1; SameSite=Strict;';\n var result = d.cookie.indexOf('cookietest=') !== -1;\n // Delete cookie\n d.cookie = 'cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT';\n return result;\n }\n catch (e) {\n return false;\n }\n}\n\n/**\n * Only single element selector are supported (no operators like space, +, >, etc).\n * `embed` and `position: fixed;` will be considered as blocked anyway because it always has no offsetParent.\n * Avoid `iframe` and anything with `[src=]` because they produce excess HTTP requests.\n *\n * The \"inappropriate\" selectors are obfuscated. See https://github.com/fingerprintjs/fingerprintjs/issues/734.\n * A function is used instead of a plain object to help tree-shaking.\n *\n * The function code is generated automatically. See docs/content_blockers.md to learn how to make the list.\n */\nfunction getFilters() {\n var fromB64 = atob; // Just for better minification\n return {\n abpIndo: [\n '#Iklan-Melayang',\n '#Kolom-Iklan-728',\n '#SidebarIklan-wrapper',\n '[title=\"ALIENBOLA\" i]',\n fromB64('I0JveC1CYW5uZXItYWRz'),\n ],\n abpvn: ['.quangcao', '#mobileCatfish', fromB64('LmNsb3NlLWFkcw=='), '[id^=\"bn_bottom_fixed_\"]', '#pmadv'],\n adBlockFinland: [\n '.mainostila',\n fromB64('LnNwb25zb3JpdA=='),\n '.ylamainos',\n fromB64('YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd'),\n ],\n adBlockPersian: [\n '#navbar_notice_50',\n '.kadr',\n 'TABLE[width=\"140px\"]',\n '#divAgahi',\n fromB64('YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd'),\n ],\n adBlockWarningRemoval: [\n '#adblock-honeypot',\n '.adblocker-root',\n '.wp_adblock_detect',\n fromB64('LmhlYWRlci1ibG9ja2VkLWFk'),\n fromB64('I2FkX2Jsb2NrZXI='),\n ],\n adGuardAnnoyances: [\n '.hs-sosyal',\n '#cookieconsentdiv',\n 'div[class^=\"app_gdpr\"]',\n '.as-oil',\n '[data-cypress=\"soft-push-notification-modal\"]',\n ],\n adGuardBase: [\n '.BetterJsPopOverlay',\n fromB64('I2FkXzMwMFgyNTA='),\n fromB64('I2Jhbm5lcmZsb2F0MjI='),\n fromB64('I2NhbXBhaWduLWJhbm5lcg=='),\n fromB64('I0FkLUNvbnRlbnQ='),\n ],\n adGuardChinese: [\n fromB64('LlppX2FkX2FfSA=='),\n fromB64('YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd'),\n '#widget-quan',\n fromB64('YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd'),\n fromB64('YVtocmVmKj0iLjE5NTZobC5jb20vIl0='),\n ],\n adGuardFrench: [\n '#pavePub',\n fromB64('LmFkLWRlc2t0b3AtcmVjdGFuZ2xl'),\n '.mobile_adhesion',\n '.widgetadv',\n fromB64('LmFkc19iYW4='),\n ],\n adGuardGerman: ['aside[data-portal-id=\"leaderboard\"]'],\n adGuardJapanese: [\n '#kauli_yad_1',\n fromB64('YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0='),\n fromB64('Ll9wb3BJbl9pbmZpbml0ZV9hZA=='),\n fromB64('LmFkZ29vZ2xl'),\n fromB64('Ll9faXNib29zdFJldHVybkFk'),\n ],\n adGuardMobile: [\n fromB64('YW1wLWF1dG8tYWRz'),\n fromB64('LmFtcF9hZA=='),\n 'amp-embed[type=\"24smi\"]',\n '#mgid_iframe1',\n fromB64('I2FkX2ludmlld19hcmVh'),\n ],\n adGuardRussian: [\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0='),\n fromB64('LnJlY2xhbWE='),\n 'div[id^=\"smi2adblock\"]',\n fromB64('ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd'),\n '#psyduckpockeball',\n ],\n adGuardSocial: [\n fromB64('YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0='),\n fromB64('YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0='),\n '.etsy-tweet',\n '#inlineShare',\n '.popup-social',\n ],\n adGuardSpanishPortuguese: ['#barraPublicidade', '#Publicidade', '#publiEspecial', '#queTooltip', '.cnt-publi'],\n adGuardTrackingProtection: [\n '#qoo-counter',\n fromB64('YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=='),\n fromB64('YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0='),\n fromB64('YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=='),\n '#top100counter',\n ],\n adGuardTurkish: [\n '#backkapat',\n fromB64('I3Jla2xhbWk='),\n fromB64('YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0='),\n fromB64('YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd'),\n fromB64('YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ=='),\n ],\n bulgarian: [fromB64('dGQjZnJlZW5ldF90YWJsZV9hZHM='), '#ea_intext_div', '.lapni-pop-over', '#xenium_hot_offers'],\n easyList: [\n '.yb-floorad',\n fromB64('LndpZGdldF9wb19hZHNfd2lkZ2V0'),\n fromB64('LnRyYWZmaWNqdW5reS1hZA=='),\n '.textad_headline',\n fromB64('LnNwb25zb3JlZC10ZXh0LWxpbmtz'),\n ],\n easyListChina: [\n fromB64('LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=='),\n fromB64('LmZyb250cGFnZUFkdk0='),\n '#taotaole',\n '#aafoot.top_box',\n '.cfa_popup',\n ],\n easyListCookie: [\n '.ezmob-footer',\n '.cc-CookieWarning',\n '[data-cookie-number]',\n fromB64('LmF3LWNvb2tpZS1iYW5uZXI='),\n '.sygnal24-gdpr-modal-wrap',\n ],\n easyListCzechSlovak: [\n '#onlajny-stickers',\n fromB64('I3Jla2xhbW5pLWJveA=='),\n fromB64('LnJla2xhbWEtbWVnYWJvYXJk'),\n '.sklik',\n fromB64('W2lkXj0ic2tsaWtSZWtsYW1hIl0='),\n ],\n easyListDutch: [\n fromB64('I2FkdmVydGVudGll'),\n fromB64('I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=='),\n '.adstekst',\n fromB64('YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0='),\n '#semilo-lrectangle',\n ],\n easyListGermany: [\n '#SSpotIMPopSlider',\n fromB64('LnNwb25zb3JsaW5rZ3J1ZW4='),\n fromB64('I3dlcmJ1bmdza3k='),\n fromB64('I3Jla2xhbWUtcmVjaHRzLW1pdHRl'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0='),\n ],\n easyListItaly: [\n fromB64('LmJveF9hZHZfYW5udW5jaQ=='),\n '.sb-box-pubbliredazionale',\n fromB64('YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ=='),\n ],\n easyListLithuania: [\n fromB64('LnJla2xhbW9zX3RhcnBhcw=='),\n fromB64('LnJla2xhbW9zX251b3JvZG9z'),\n fromB64('aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd'),\n fromB64('aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd'),\n fromB64('aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd'),\n ],\n estonian: [fromB64('QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==')],\n fanboyAnnoyances: ['#ac-lre-player', '.navigate-to-top', '#subscribe_popup', '.newsletter_holder', '#back-top'],\n fanboyAntiFacebook: ['.util-bar-module-firefly-visible'],\n fanboyEnhancedTrackers: [\n '.open.pushModal',\n '#issuem-leaky-paywall-articles-zero-remaining-nag',\n '#sovrn_container',\n 'div[class$=\"-hide\"][zoompage-fontsize][style=\"display: block;\"]',\n '.BlockNag__Card',\n ],\n fanboySocial: ['#FollowUs', '#meteored_share', '#social_follow', '.article-sharer', '.community__social-desc'],\n frellwitSwedish: [\n fromB64('YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=='),\n fromB64('YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=='),\n 'article.category-samarbete',\n fromB64('ZGl2LmhvbGlkQWRz'),\n 'ul.adsmodern',\n ],\n greekAdBlock: [\n fromB64('QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd'),\n fromB64('QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=='),\n fromB64('QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd'),\n 'DIV.agores300',\n 'TABLE.advright',\n ],\n hungarian: [\n '#cemp_doboz',\n '.optimonk-iframe-container',\n fromB64('LmFkX19tYWlu'),\n fromB64('W2NsYXNzKj0iR29vZ2xlQWRzIl0='),\n '#hirdetesek_box',\n ],\n iDontCareAboutCookies: [\n '.alert-info[data-block-track*=\"CookieNotice\"]',\n '.ModuleTemplateCookieIndicator',\n '.o--cookies--container',\n '#cookies-policy-sticky',\n '#stickyCookieBar',\n ],\n icelandicAbp: [fromB64('QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==')],\n latvian: [\n fromB64('YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0O' +\n 'iA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0='),\n fromB64('YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6I' +\n 'DMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ=='),\n ],\n listKr: [\n fromB64('YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0='),\n fromB64('I2xpdmVyZUFkV3JhcHBlcg=='),\n fromB64('YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=='),\n fromB64('aW5zLmZhc3R2aWV3LWFk'),\n '.revenue_unit_item.dable',\n ],\n listeAr: [\n fromB64('LmdlbWluaUxCMUFk'),\n '.right-and-left-sponsers',\n fromB64('YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=='),\n fromB64('YVtocmVmKj0iYm9vcmFxLm9yZyJd'),\n fromB64('YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd'),\n ],\n listeFr: [\n fromB64('YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=='),\n fromB64('I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=='),\n fromB64('YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0='),\n '.site-pub-interstitiel',\n 'div[id^=\"crt-\"][data-criteo-id]',\n ],\n officialPolish: [\n '#ceneo-placeholder-ceneo-12',\n fromB64('W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd'),\n fromB64('YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=='),\n fromB64('YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=='),\n fromB64('ZGl2I3NrYXBpZWNfYWQ='),\n ],\n ro: [\n fromB64('YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd'),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0='),\n fromB64('YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd'),\n 'a[href^=\"/url/\"]',\n ],\n ruAd: [\n fromB64('YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd'),\n fromB64('YVtocmVmKj0iLy91dGltZy5ydS8iXQ=='),\n fromB64('YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0='),\n '#pgeldiz',\n '.yandex-rtb-block',\n ],\n thaiAds: [\n 'a[href*=macau-uta-popup]',\n fromB64('I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=='),\n fromB64('LmFkczMwMHM='),\n '.bumq',\n '.img-kosana',\n ],\n webAnnoyancesUltralist: [\n '#mod-social-share-2',\n '#social-tools',\n fromB64('LmN0cGwtZnVsbGJhbm5lcg=='),\n '.zergnet-recommend',\n '.yt.btn-link.btn-md.btn',\n ],\n };\n}\n/**\n * The order of the returned array means nothing (it's always sorted alphabetically).\n *\n * Notice that the source is slightly unstable.\n * Safari provides a 2-taps way to disable all content blockers on a page temporarily.\n * Also content blockers can be disabled permanently for a domain, but it requires 4 taps.\n * So empty array shouldn't be treated as \"no blockers\", it should be treated as \"no signal\".\n * If you are a website owner, don't make your visitors want to disable content blockers.\n */\nfunction getDomBlockers(_a) {\n var _b = _a === void 0 ? {} : _a, debug = _b.debug;\n return __awaiter(this, void 0, void 0, function () {\n var filters, filterNames, allSelectors, blockedSelectors, activeBlockers;\n var _c;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n if (!isApplicable()) {\n return [2 /*return*/, undefined];\n }\n filters = getFilters();\n filterNames = Object.keys(filters);\n allSelectors = (_c = []).concat.apply(_c, filterNames.map(function (filterName) { return filters[filterName]; }));\n return [4 /*yield*/, getBlockedSelectors(allSelectors)];\n case 1:\n blockedSelectors = _d.sent();\n if (debug) {\n printDebug(filters, blockedSelectors);\n }\n activeBlockers = filterNames.filter(function (filterName) {\n var selectors = filters[filterName];\n var blockedCount = countTruthy(selectors.map(function (selector) { return blockedSelectors[selector]; }));\n return blockedCount > selectors.length * 0.6;\n });\n activeBlockers.sort();\n return [2 /*return*/, activeBlockers];\n }\n });\n });\n}\nfunction isApplicable() {\n // Safari (desktop and mobile) and all Android browsers keep content blockers in both regular and private mode\n return isWebKit() || isAndroid();\n}\nfunction getBlockedSelectors(selectors) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var d, root, elements, blockedSelectors, i, element, holder, i;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n d = document;\n root = d.createElement('div');\n elements = new Array(selectors.length);\n blockedSelectors = {} // Set() isn't used just in case somebody need older browser support\n ;\n forceShow(root);\n // First create all elements that can be blocked. If the DOM steps below are done in a single cycle,\n // browser will alternate tree modification and layout reading, that is very slow.\n for (i = 0; i < selectors.length; ++i) {\n element = selectorToElement(selectors[i]);\n if (element.tagName === 'DIALOG') {\n element.show();\n }\n holder = d.createElement('div') // Protects from unwanted effects of `+` and `~` selectors of filters\n ;\n forceShow(holder);\n holder.appendChild(element);\n root.appendChild(holder);\n elements[i] = element;\n }\n _b.label = 1;\n case 1:\n if (!!d.body) return [3 /*break*/, 3];\n return [4 /*yield*/, wait(50)];\n case 2:\n _b.sent();\n return [3 /*break*/, 1];\n case 3:\n d.body.appendChild(root);\n try {\n // Then check which of the elements are blocked\n for (i = 0; i < selectors.length; ++i) {\n if (!elements[i].offsetParent) {\n blockedSelectors[selectors[i]] = true;\n }\n }\n }\n finally {\n // Then remove the elements\n (_a = root.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(root);\n }\n return [2 /*return*/, blockedSelectors];\n }\n });\n });\n}\nfunction forceShow(element) {\n element.style.setProperty('display', 'block', 'important');\n}\nfunction printDebug(filters, blockedSelectors) {\n var message = 'DOM blockers debug:\\n```';\n for (var _i = 0, _a = Object.keys(filters); _i < _a.length; _i++) {\n var filterName = _a[_i];\n message += \"\\n\".concat(filterName, \":\");\n for (var _b = 0, _c = filters[filterName]; _b < _c.length; _b++) {\n var selector = _c[_b];\n message += \"\\n \".concat(blockedSelectors[selector] ? '🚫' : '➡️', \" \").concat(selector);\n }\n }\n // console.log is ok here because it's under a debug clause\n // eslint-disable-next-line no-console\n console.log(\"\".concat(message, \"\\n```\"));\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/color-gamut\n */\nfunction getColorGamut() {\n // rec2020 includes p3 and p3 includes srgb\n for (var _i = 0, _a = ['rec2020', 'p3', 'srgb']; _i < _a.length; _i++) {\n var gamut = _a[_i];\n if (matchMedia(\"(color-gamut: \".concat(gamut, \")\")).matches) {\n return gamut;\n }\n }\n return undefined;\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/inverted-colors\n */\nfunction areColorsInverted() {\n if (doesMatch$4('inverted')) {\n return true;\n }\n if (doesMatch$4('none')) {\n return false;\n }\n return undefined;\n}\nfunction doesMatch$4(value) {\n return matchMedia(\"(inverted-colors: \".concat(value, \")\")).matches;\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/forced-colors\n */\nfunction areColorsForced() {\n if (doesMatch$3('active')) {\n return true;\n }\n if (doesMatch$3('none')) {\n return false;\n }\n return undefined;\n}\nfunction doesMatch$3(value) {\n return matchMedia(\"(forced-colors: \".concat(value, \")\")).matches;\n}\n\nvar maxValueToCheck = 100;\n/**\n * If the display is monochrome (e.g. black&white), the value will be ≥0 and will mean the number of bits per pixel.\n * If the display is not monochrome, the returned value will be 0.\n * If the browser doesn't support this feature, the returned value will be undefined.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/monochrome\n */\nfunction getMonochromeDepth() {\n if (!matchMedia('(min-monochrome: 0)').matches) {\n // The media feature isn't supported by the browser\n return undefined;\n }\n // A variation of binary search algorithm can be used here.\n // But since expected values are very small (≤10), there is no sense in adding the complexity.\n for (var i = 0; i <= maxValueToCheck; ++i) {\n if (matchMedia(\"(max-monochrome: \".concat(i, \")\")).matches) {\n return i;\n }\n }\n throw new Error('Too high value');\n}\n\n/**\n * @see https://www.w3.org/TR/mediaqueries-5/#prefers-contrast\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast\n */\nfunction getContrastPreference() {\n if (doesMatch$2('no-preference')) {\n return 0 /* ContrastPreference.None */;\n }\n // The sources contradict on the keywords. Probably 'high' and 'low' will never be implemented.\n // Need to check it when all browsers implement the feature.\n if (doesMatch$2('high') || doesMatch$2('more')) {\n return 1 /* ContrastPreference.More */;\n }\n if (doesMatch$2('low') || doesMatch$2('less')) {\n return -1 /* ContrastPreference.Less */;\n }\n if (doesMatch$2('forced')) {\n return 10 /* ContrastPreference.ForcedColors */;\n }\n return undefined;\n}\nfunction doesMatch$2(value) {\n return matchMedia(\"(prefers-contrast: \".concat(value, \")\")).matches;\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion\n */\nfunction isMotionReduced() {\n if (doesMatch$1('reduce')) {\n return true;\n }\n if (doesMatch$1('no-preference')) {\n return false;\n }\n return undefined;\n}\nfunction doesMatch$1(value) {\n return matchMedia(\"(prefers-reduced-motion: \".concat(value, \")\")).matches;\n}\n\n/**\n * @see https://www.w3.org/TR/mediaqueries-5/#dynamic-range\n */\nfunction isHDR() {\n if (doesMatch('high')) {\n return true;\n }\n if (doesMatch('standard')) {\n return false;\n }\n return undefined;\n}\nfunction doesMatch(value) {\n return matchMedia(\"(dynamic-range: \".concat(value, \")\")).matches;\n}\n\nvar M = Math; // To reduce the minified code size\nvar fallbackFn = function () { return 0; };\n/**\n * @see https://gitlab.torproject.org/legacy/trac/-/issues/13018\n * @see https://bugzilla.mozilla.org/show_bug.cgi?id=531915\n */\nfunction getMathFingerprint() {\n // Native operations\n var acos = M.acos || fallbackFn;\n var acosh = M.acosh || fallbackFn;\n var asin = M.asin || fallbackFn;\n var asinh = M.asinh || fallbackFn;\n var atanh = M.atanh || fallbackFn;\n var atan = M.atan || fallbackFn;\n var sin = M.sin || fallbackFn;\n var sinh = M.sinh || fallbackFn;\n var cos = M.cos || fallbackFn;\n var cosh = M.cosh || fallbackFn;\n var tan = M.tan || fallbackFn;\n var tanh = M.tanh || fallbackFn;\n var exp = M.exp || fallbackFn;\n var expm1 = M.expm1 || fallbackFn;\n var log1p = M.log1p || fallbackFn;\n // Operation polyfills\n var powPI = function (value) { return M.pow(M.PI, value); };\n var acoshPf = function (value) { return M.log(value + M.sqrt(value * value - 1)); };\n var asinhPf = function (value) { return M.log(value + M.sqrt(value * value + 1)); };\n var atanhPf = function (value) { return M.log((1 + value) / (1 - value)) / 2; };\n var sinhPf = function (value) { return M.exp(value) - 1 / M.exp(value) / 2; };\n var coshPf = function (value) { return (M.exp(value) + 1 / M.exp(value)) / 2; };\n var expm1Pf = function (value) { return M.exp(value) - 1; };\n var tanhPf = function (value) { return (M.exp(2 * value) - 1) / (M.exp(2 * value) + 1); };\n var log1pPf = function (value) { return M.log(1 + value); };\n // Note: constant values are empirical\n return {\n acos: acos(0.123124234234234242),\n acosh: acosh(1e308),\n acoshPf: acoshPf(1e154),\n asin: asin(0.123124234234234242),\n asinh: asinh(1),\n asinhPf: asinhPf(1),\n atanh: atanh(0.5),\n atanhPf: atanhPf(0.5),\n atan: atan(0.5),\n sin: sin(-1e300),\n sinh: sinh(1),\n sinhPf: sinhPf(1),\n cos: cos(10.000000000123),\n cosh: cosh(1),\n coshPf: coshPf(1),\n tan: tan(-1e300),\n tanh: tanh(1),\n tanhPf: tanhPf(1),\n exp: exp(1),\n expm1: expm1(1),\n expm1Pf: expm1Pf(1),\n log1p: log1p(10),\n log1pPf: log1pPf(10),\n powPI: powPI(-100),\n };\n}\n\n/**\n * We use m or w because these two characters take up the maximum width.\n * Also there are a couple of ligatures.\n */\nvar defaultText = 'mmMwWLliI0fiflO&1';\n/**\n * Settings of text blocks to measure. The keys are random but persistent words.\n */\nvar presets = {\n /**\n * The default font. User can change it in desktop Chrome, desktop Firefox, IE 11,\n * Android Chrome (but only when the size is ≥ than the default) and Android Firefox.\n */\n default: [],\n /** OS font on macOS. User can change its size and weight. Applies after Safari restart. */\n apple: [{ font: '-apple-system-body' }],\n /** User can change it in desktop Chrome and desktop Firefox. */\n serif: [{ fontFamily: 'serif' }],\n /** User can change it in desktop Chrome and desktop Firefox. */\n sans: [{ fontFamily: 'sans-serif' }],\n /** User can change it in desktop Chrome and desktop Firefox. */\n mono: [{ fontFamily: 'monospace' }],\n /**\n * Check the smallest allowed font size. User can change it in desktop Chrome, desktop Firefox and desktop Safari.\n * The height can be 0 in Chrome on a retina display.\n */\n min: [{ fontSize: '1px' }],\n /** Tells one OS from another in desktop Chrome. */\n system: [{ fontFamily: 'system-ui' }],\n};\n/**\n * The result is a dictionary of the width of the text samples.\n * Heights aren't included because they give no extra entropy and are unstable.\n *\n * The result is very stable in IE 11, Edge 18 and Safari 14.\n * The result changes when the OS pixel density changes in Chromium 87. The real pixel density is required to solve,\n * but seems like it's impossible: https://stackoverflow.com/q/1713771/1118709.\n * The \"min\" and the \"mono\" (only on Windows) value may change when the page is zoomed in Firefox 87.\n */\nfunction getFontPreferences() {\n return withNaturalFonts(function (document, container) {\n var elements = {};\n var sizes = {};\n // First create all elements to measure. If the DOM steps below are done in a single cycle,\n // browser will alternate tree modification and layout reading, that is very slow.\n for (var _i = 0, _a = Object.keys(presets); _i < _a.length; _i++) {\n var key = _a[_i];\n var _b = presets[key], _c = _b[0], style = _c === void 0 ? {} : _c, _d = _b[1], text = _d === void 0 ? defaultText : _d;\n var element = document.createElement('span');\n element.textContent = text;\n element.style.whiteSpace = 'nowrap';\n for (var _e = 0, _f = Object.keys(style); _e < _f.length; _e++) {\n var name_1 = _f[_e];\n var value = style[name_1];\n if (value !== undefined) {\n element.style[name_1] = value;\n }\n }\n elements[key] = element;\n container.appendChild(document.createElement('br'));\n container.appendChild(element);\n }\n // Then measure the created elements\n for (var _g = 0, _h = Object.keys(presets); _g < _h.length; _g++) {\n var key = _h[_g];\n sizes[key] = elements[key].getBoundingClientRect().width;\n }\n return sizes;\n });\n}\n/**\n * Creates a DOM environment that provides the most natural font available, including Android OS font.\n * Measurements of the elements are zoom-independent.\n * Don't put a content to measure inside an absolutely positioned element.\n */\nfunction withNaturalFonts(action, containerWidthPx) {\n if (containerWidthPx === void 0) { containerWidthPx = 4000; }\n /*\n * Requirements for Android Chrome to apply the system font size to a text inside an iframe:\n * - The iframe mustn't have a `display: none;` style;\n * - The text mustn't be positioned absolutely;\n * - The text block must be wide enough.\n * 2560px on some devices in portrait orientation for the biggest font size option (32px);\n * - There must be much enough text to form a few lines (I don't know the exact numbers);\n * - The text must have the `text-size-adjust: none` style. Otherwise the text will scale in \"Desktop site\" mode;\n *\n * Requirements for Android Firefox to apply the system font size to a text inside an iframe:\n * - The iframe document must have a header: ``.\n * The only way to set it is to use the `srcdoc` attribute of the iframe;\n * - The iframe content must get loaded before adding extra content with JavaScript;\n *\n * https://example.com as the iframe target always inherits Android font settings so it can be used as a reference.\n *\n * Observations on how page zoom affects the measurements:\n * - macOS Safari 11.1, 12.1, 13.1, 14.0: zoom reset + offsetWidth = 100% reliable;\n * - macOS Safari 11.1, 12.1, 13.1, 14.0: zoom reset + getBoundingClientRect = 100% reliable;\n * - macOS Safari 14.0: offsetWidth = 5% fluctuation;\n * - macOS Safari 14.0: getBoundingClientRect = 5% fluctuation;\n * - iOS Safari 9, 10, 11.0, 12.0: haven't found a way to zoom a page (pinch doesn't change layout);\n * - iOS Safari 13.1, 14.0: zoom reset + offsetWidth = 100% reliable;\n * - iOS Safari 13.1, 14.0: zoom reset + getBoundingClientRect = 100% reliable;\n * - iOS Safari 14.0: offsetWidth = 100% reliable;\n * - iOS Safari 14.0: getBoundingClientRect = 100% reliable;\n * - Chrome 42, 65, 80, 87: zoom 1/devicePixelRatio + offsetWidth = 1px fluctuation;\n * - Chrome 42, 65, 80, 87: zoom 1/devicePixelRatio + getBoundingClientRect = 100% reliable;\n * - Chrome 87: offsetWidth = 1px fluctuation;\n * - Chrome 87: getBoundingClientRect = 0.7px fluctuation;\n * - Firefox 48, 51: offsetWidth = 10% fluctuation;\n * - Firefox 48, 51: getBoundingClientRect = 10% fluctuation;\n * - Firefox 52, 53, 57, 62, 66, 67, 68, 71, 75, 80, 84: offsetWidth = width 100% reliable, height 10% fluctuation;\n * - Firefox 52, 53, 57, 62, 66, 67, 68, 71, 75, 80, 84: getBoundingClientRect = width 100% reliable, height 10%\n * fluctuation;\n * - Android Chrome 86: haven't found a way to zoom a page (pinch doesn't change layout);\n * - Android Firefox 84: font size in accessibility settings changes all the CSS sizes, but offsetWidth and\n * getBoundingClientRect keep measuring with regular units, so the size reflects the font size setting and doesn't\n * fluctuate;\n * - IE 11, Edge 18: zoom 1/devicePixelRatio + offsetWidth = 100% reliable;\n * - IE 11, Edge 18: zoom 1/devicePixelRatio + getBoundingClientRect = reflects the zoom level;\n * - IE 11, Edge 18: offsetWidth = 100% reliable;\n * - IE 11, Edge 18: getBoundingClientRect = 100% reliable;\n */\n return withIframe(function (_, iframeWindow) {\n var iframeDocument = iframeWindow.document;\n var iframeBody = iframeDocument.body;\n var bodyStyle = iframeBody.style;\n bodyStyle.width = \"\".concat(containerWidthPx, \"px\");\n bodyStyle.webkitTextSizeAdjust = bodyStyle.textSizeAdjust = 'none';\n // See the big comment above\n if (isChromium()) {\n iframeBody.style.zoom = \"\".concat(1 / iframeWindow.devicePixelRatio);\n }\n else if (isWebKit()) {\n iframeBody.style.zoom = 'reset';\n }\n // See the big comment above\n var linesOfText = iframeDocument.createElement('div');\n linesOfText.textContent = __spreadArray([], Array((containerWidthPx / 20) << 0), true).map(function () { return 'word'; }).join(' ');\n iframeBody.appendChild(linesOfText);\n return action(iframeDocument, iframeBody);\n }, '');\n}\n\n/**\n * @see Credits: https://stackoverflow.com/a/49267844\n */\nfunction getVideoCard() {\n var _a;\n var canvas = document.createElement('canvas');\n var gl = (_a = canvas.getContext('webgl')) !== null && _a !== void 0 ? _a : canvas.getContext('experimental-webgl');\n if (gl && 'getExtension' in gl) {\n var debugInfo = gl.getExtension('WEBGL_debug_renderer_info');\n if (debugInfo) {\n return {\n vendor: (gl.getParameter(debugInfo.UNMASKED_VENDOR_WEBGL) || '').toString(),\n renderer: (gl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL) || '').toString(),\n };\n }\n }\n return undefined;\n}\n\nfunction isPdfViewerEnabled() {\n return navigator.pdfViewerEnabled;\n}\n\n/**\n * Unlike most other architectures, on x86/x86-64 when floating-point instructions\n * have no NaN arguments, but produce NaN output, the output NaN has sign bit set.\n * We use it to distinguish x86/x86-64 from other architectures, by doing subtraction\n * of two infinities (must produce NaN per IEEE 754 standard).\n *\n * See https://codebrowser.bddppq.com/pytorch/pytorch/third_party/XNNPACK/src/init.c.html#79\n */\nfunction getArchitecture() {\n var f = new Float32Array(1);\n var u8 = new Uint8Array(f.buffer);\n f[0] = Infinity;\n f[0] = f[0] - f[0];\n return u8[3];\n}\n\n/**\n * The list of entropy sources used to make visitor identifiers.\n *\n * This value isn't restricted by Semantic Versioning, i.e. it may be changed without bumping minor or major version of\n * this package.\n *\n * Note: Rollup and Webpack are smart enough to remove unused properties of this object during tree-shaking, so there is\n * no need to export the sources individually.\n */\nvar sources = {\n // READ FIRST:\n // See https://github.com/fingerprintjs/fingerprintjs/blob/master/contributing.md#how-to-make-an-entropy-source\n // to learn how entropy source works and how to make your own.\n // The sources run in this exact order.\n // The asynchronous sources are at the start to run in parallel with other sources.\n fonts: getFonts,\n domBlockers: getDomBlockers,\n fontPreferences: getFontPreferences,\n audio: getAudioFingerprint,\n screenFrame: getRoundedScreenFrame,\n osCpu: getOsCpu,\n languages: getLanguages,\n colorDepth: getColorDepth,\n deviceMemory: getDeviceMemory,\n screenResolution: getScreenResolution,\n hardwareConcurrency: getHardwareConcurrency,\n timezone: getTimezone,\n sessionStorage: getSessionStorage,\n localStorage: getLocalStorage,\n indexedDB: getIndexedDB,\n openDatabase: getOpenDatabase,\n cpuClass: getCpuClass,\n platform: getPlatform,\n plugins: getPlugins,\n canvas: getCanvasFingerprint,\n touchSupport: getTouchSupport,\n vendor: getVendor,\n vendorFlavors: getVendorFlavors,\n cookiesEnabled: areCookiesEnabled,\n colorGamut: getColorGamut,\n invertedColors: areColorsInverted,\n forcedColors: areColorsForced,\n monochrome: getMonochromeDepth,\n contrast: getContrastPreference,\n reducedMotion: isMotionReduced,\n hdr: isHDR,\n math: getMathFingerprint,\n videoCard: getVideoCard,\n pdfViewerEnabled: isPdfViewerEnabled,\n architecture: getArchitecture,\n};\n/**\n * Loads the built-in entropy sources.\n * Returns a function that collects the entropy components to make the visitor identifier.\n */\nfunction loadBuiltinSources(options) {\n return loadSources(sources, options, []);\n}\n\nvar commentTemplate = '$ if upgrade to Pro: https://fpjs.dev/pro';\nfunction getConfidence(components) {\n var openConfidenceScore = getOpenConfidenceScore(components);\n var proConfidenceScore = deriveProConfidenceScore(openConfidenceScore);\n return { score: openConfidenceScore, comment: commentTemplate.replace(/\\$/g, \"\".concat(proConfidenceScore)) };\n}\nfunction getOpenConfidenceScore(components) {\n // In order to calculate the true probability of the visitor identifier being correct, we need to know the number of\n // website visitors (the higher the number, the less the probability because the fingerprint entropy is limited).\n // JS agent doesn't know the number of visitors, so we can only do an approximate assessment.\n if (isAndroid()) {\n return 0.4;\n }\n // Safari (mobile and desktop)\n if (isWebKit()) {\n return isDesktopSafari() ? 0.5 : 0.3;\n }\n var platform = components.platform.value || '';\n // Windows\n if (/^Win/.test(platform)) {\n // The score is greater than on macOS because of the higher variety of devices running Windows.\n // Chrome provides more entropy than Firefox according too\n // https://netmarketshare.com/browser-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22platform%22%3A%7B%22%24in%22%3A%5B%22Windows%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22browser%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22browsersDesktop%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222019-11%22%2C%22dateEnd%22%3A%222020-10%22%2C%22segments%22%3A%22-1000%22%7D\n // So we assign the same score to them.\n return 0.6;\n }\n // macOS\n if (/^Mac/.test(platform)) {\n // Chrome provides more entropy than Safari and Safari provides more entropy than Firefox.\n // Chrome is more popular than Safari and Safari is more popular than Firefox according to\n // https://netmarketshare.com/browser-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22platform%22%3A%7B%22%24in%22%3A%5B%22Mac%20OS%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22browser%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22browsersDesktop%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222019-11%22%2C%22dateEnd%22%3A%222020-10%22%2C%22segments%22%3A%22-1000%22%7D\n // So we assign the same score to them.\n return 0.5;\n }\n // Another platform, e.g. a desktop Linux. It's rare, so it should be pretty unique.\n return 0.7;\n}\nfunction deriveProConfidenceScore(openConfidenceScore) {\n return round(0.99 + 0.01 * openConfidenceScore, 0.0001);\n}\n\nfunction componentsToCanonicalString(components) {\n var result = '';\n for (var _i = 0, _a = Object.keys(components).sort(); _i < _a.length; _i++) {\n var componentKey = _a[_i];\n var component = components[componentKey];\n var value = component.error ? 'error' : JSON.stringify(component.value);\n result += \"\".concat(result ? '|' : '').concat(componentKey.replace(/([:|\\\\])/g, '\\\\$1'), \":\").concat(value);\n }\n return result;\n}\nfunction componentsToDebugString(components) {\n return JSON.stringify(components, function (_key, value) {\n if (value instanceof Error) {\n return errorToObject(value);\n }\n return value;\n }, 2);\n}\nfunction hashComponents(components) {\n return x64hash128(componentsToCanonicalString(components));\n}\n/**\n * Makes a GetResult implementation that calculates the visitor id hash on demand.\n * Designed for optimisation.\n */\nfunction makeLazyGetResult(components) {\n var visitorIdCache;\n // This function runs very fast, so there is no need to make it lazy\n var confidence = getConfidence(components);\n // A plain class isn't used because its getters and setters aren't enumerable.\n return {\n get visitorId() {\n if (visitorIdCache === undefined) {\n visitorIdCache = hashComponents(this.components);\n }\n return visitorIdCache;\n },\n set visitorId(visitorId) {\n visitorIdCache = visitorId;\n },\n confidence: confidence,\n components: components,\n version: version,\n };\n}\n/**\n * A delay is required to ensure consistent entropy components.\n * See https://github.com/fingerprintjs/fingerprintjs/issues/254\n * and https://github.com/fingerprintjs/fingerprintjs/issues/307\n * and https://github.com/fingerprintjs/fingerprintjs/commit/945633e7c5f67ae38eb0fea37349712f0e669b18\n */\nfunction prepareForSources(delayFallback) {\n if (delayFallback === void 0) { delayFallback = 50; }\n // A proper deadline is unknown. Let it be twice the fallback timeout so that both cases have the same average time.\n return requestIdleCallbackIfAvailable(delayFallback, delayFallback * 2);\n}\n/**\n * The function isn't exported from the index file to not allow to call it without `load()`.\n * The hiding gives more freedom for future non-breaking updates.\n *\n * A factory function is used instead of a class to shorten the attribute names in the minified code.\n * Native private class fields could've been used, but TypeScript doesn't allow them with `\"target\": \"es5\"`.\n */\nfunction makeAgent(getComponents, debug) {\n var creationTime = Date.now();\n return {\n get: function (options) {\n return __awaiter(this, void 0, void 0, function () {\n var startTime, components, result;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n startTime = Date.now();\n return [4 /*yield*/, getComponents()];\n case 1:\n components = _a.sent();\n result = makeLazyGetResult(components);\n if (debug || (options === null || options === void 0 ? void 0 : options.debug)) {\n // console.log is ok here because it's under a debug clause\n // eslint-disable-next-line no-console\n console.log(\"Copy the text below to get the debug data:\\n\\n```\\nversion: \".concat(result.version, \"\\nuserAgent: \").concat(navigator.userAgent, \"\\ntimeBetweenLoadAndGet: \").concat(startTime - creationTime, \"\\nvisitorId: \").concat(result.visitorId, \"\\ncomponents: \").concat(componentsToDebugString(components), \"\\n```\"));\n }\n return [2 /*return*/, result];\n }\n });\n });\n },\n };\n}\n/**\n * Sends an unpersonalized AJAX request to collect installation statistics\n */\nfunction monitor() {\n // The FingerprintJS CDN (https://github.com/fingerprintjs/cdn) replaces `window.__fpjs_d_m` with `true`\n if (window.__fpjs_d_m || Math.random() >= 0.001) {\n return;\n }\n try {\n var request = new XMLHttpRequest();\n request.open('get', \"https://m1.openfpcdn.io/fingerprintjs/v\".concat(version, \"/npm-monitoring\"), true);\n request.send();\n }\n catch (error) {\n // console.error is ok here because it's an unexpected error handler\n // eslint-disable-next-line no-console\n console.error(error);\n }\n}\n/**\n * Builds an instance of Agent and waits a delay required for a proper operation.\n */\nfunction load(_a) {\n var _b = _a === void 0 ? {} : _a, delayFallback = _b.delayFallback, debug = _b.debug, _c = _b.monitoring, monitoring = _c === void 0 ? true : _c;\n return __awaiter(this, void 0, void 0, function () {\n var getComponents;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n if (monitoring) {\n monitor();\n }\n return [4 /*yield*/, prepareForSources(delayFallback)];\n case 1:\n _d.sent();\n getComponents = loadBuiltinSources({ debug: debug });\n return [2 /*return*/, makeAgent(getComponents, debug)];\n }\n });\n });\n}\n\n// The default export is a syntax sugar (`import * as FP from '...' → import FP from '...'`).\n// It should contain all the public exported values.\nvar index = { load: load, hashComponents: hashComponents, componentsToDebugString: componentsToDebugString };\n// The exports below are for private usage. They may change unexpectedly. Use them at your own risk.\n/** Not documented, out of Semantic Versioning, usage is at your own risk */\nvar murmurX64Hash128 = x64hash128;\n\nexport { componentsToDebugString, index as default, getFullscreenElement, getScreenFrame, hashComponents, isAndroid, isChromium, isDesktopSafari, isEdgeHTML, isGecko, isTrident, isWebKit, load, loadSources, murmurX64Hash128, prepareForSources, sources, transformSource, withIframe };\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\n// eslint-disable-next-line es/no-typed-arrays -- safe\nmodule.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';\n","'use strict';\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar tryToString = require('../internals/try-to-string');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar uid = require('../internals/uid');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar Uint8ClampedArray = global.Uint8ClampedArray;\nvar Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;\nvar TypedArray = Int8Array && getPrototypeOf(Int8Array);\nvar TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);\nvar ObjectPrototype = Object.prototype;\nvar TypeError = global.TypeError;\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');\nvar TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';\n// Fixing native typed arrays in Opera Presto crashes the browser, see #595\nvar NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';\nvar TYPED_ARRAY_TAG_REQUIRED = false;\nvar NAME, Constructor, Prototype;\n\nvar TypedArrayConstructorsList = {\n Int8Array: 1,\n Uint8Array: 1,\n Uint8ClampedArray: 1,\n Int16Array: 2,\n Uint16Array: 2,\n Int32Array: 4,\n Uint32Array: 4,\n Float32Array: 4,\n Float64Array: 8\n};\n\nvar BigIntArrayConstructorsList = {\n BigInt64Array: 8,\n BigUint64Array: 8\n};\n\nvar isView = function isView(it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return klass === 'DataView'\n || hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar getTypedArrayConstructor = function (it) {\n var proto = getPrototypeOf(it);\n if (!isObject(proto)) return;\n var state = getInternalState(proto);\n return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);\n};\n\nvar isTypedArray = function (it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar aTypedArray = function (it) {\n if (isTypedArray(it)) return it;\n throw TypeError('Target is not a typed array');\n};\n\nvar aTypedArrayConstructor = function (C) {\n if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;\n throw TypeError(tryToString(C) + ' is not a typed array constructor');\n};\n\nvar exportTypedArrayMethod = function (KEY, property, forced, options) {\n if (!DESCRIPTORS) return;\n if (forced) for (var ARRAY in TypedArrayConstructorsList) {\n var TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {\n delete TypedArrayConstructor.prototype[KEY];\n } catch (error) {\n // old WebKit bug - some methods are non-configurable\n try {\n TypedArrayConstructor.prototype[KEY] = property;\n } catch (error2) { /* empty */ }\n }\n }\n if (!TypedArrayPrototype[KEY] || forced) {\n defineBuiltIn(TypedArrayPrototype, KEY, forced ? property\n : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);\n }\n};\n\nvar exportTypedArrayStaticMethod = function (KEY, property, forced) {\n var ARRAY, TypedArrayConstructor;\n if (!DESCRIPTORS) return;\n if (setPrototypeOf) {\n if (forced) for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {\n delete TypedArrayConstructor[KEY];\n } catch (error) { /* empty */ }\n }\n if (!TypedArray[KEY] || forced) {\n // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable\n try {\n return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);\n } catch (error) { /* empty */ }\n } else return;\n }\n for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {\n defineBuiltIn(TypedArrayConstructor, KEY, property);\n }\n }\n};\n\nfor (NAME in TypedArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n else NATIVE_ARRAY_BUFFER_VIEWS = false;\n}\n\nfor (NAME in BigIntArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n}\n\n// WebKit bug - typed arrays constructors prototype is Object.prototype\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {\n // eslint-disable-next-line no-shadow -- safe\n TypedArray = function TypedArray() {\n throw TypeError('Incorrect invocation');\n };\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);\n }\n}\n\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {\n TypedArrayPrototype = TypedArray.prototype;\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);\n }\n}\n\n// WebKit bug - one more object in Uint8ClampedArray prototype chain\nif (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {\n setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);\n}\n\nif (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {\n TYPED_ARRAY_TAG_REQUIRED = true;\n defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {\n configurable: true,\n get: function () {\n return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;\n }\n });\n for (NAME in TypedArrayConstructorsList) if (global[NAME]) {\n createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);\n }\n}\n\nmodule.exports = {\n NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,\n TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,\n aTypedArray: aTypedArray,\n aTypedArrayConstructor: aTypedArrayConstructor,\n exportTypedArrayMethod: exportTypedArrayMethod,\n exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,\n getTypedArrayConstructor: getTypedArrayConstructor,\n isView: isView,\n isTypedArray: isTypedArray,\n TypedArray: TypedArray,\n TypedArrayPrototype: TypedArrayPrototype\n};\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection');\nvar FunctionName = require('../internals/function-name');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar fails = require('../internals/fails');\nvar anInstance = require('../internals/an-instance');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar IEEE754 = require('../internals/ieee754');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arrayFill = require('../internals/array-fill');\nvar arraySlice = require('../internals/array-slice-simple');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length';\nvar WRONG_INDEX = 'Wrong index';\nvar getInternalArrayBufferState = InternalStateModule.getterFor(ARRAY_BUFFER);\nvar getInternalDataViewState = InternalStateModule.getterFor(DATA_VIEW);\nvar setInternalState = InternalStateModule.set;\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\nvar $ArrayBuffer = NativeArrayBuffer;\nvar ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE];\nvar $DataView = global[DATA_VIEW];\nvar DataViewPrototype = $DataView && $DataView[PROTOTYPE];\nvar ObjectPrototype = Object.prototype;\nvar Array = global.Array;\nvar RangeError = global.RangeError;\nvar fill = uncurryThis(arrayFill);\nvar reverse = uncurryThis([].reverse);\n\nvar packIEEE754 = IEEE754.pack;\nvar unpackIEEE754 = IEEE754.unpack;\n\nvar packInt8 = function (number) {\n return [number & 0xFF];\n};\n\nvar packInt16 = function (number) {\n return [number & 0xFF, number >> 8 & 0xFF];\n};\n\nvar packInt32 = function (number) {\n return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];\n};\n\nvar unpackInt32 = function (buffer) {\n return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];\n};\n\nvar packFloat32 = function (number) {\n return packIEEE754(number, 23, 4);\n};\n\nvar packFloat64 = function (number) {\n return packIEEE754(number, 52, 8);\n};\n\nvar addGetter = function (Constructor, key, getInternalState) {\n defineBuiltInAccessor(Constructor[PROTOTYPE], key, {\n configurable: true,\n get: function () {\n return getInternalState(this)[key];\n }\n });\n};\n\nvar get = function (view, count, index, isLittleEndian) {\n var store = getInternalDataViewState(view);\n var intIndex = toIndex(index);\n var boolIsLittleEndian = !!isLittleEndian;\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = store.bytes;\n var start = intIndex + store.byteOffset;\n var pack = arraySlice(bytes, start, start + count);\n return boolIsLittleEndian ? pack : reverse(pack);\n};\n\nvar set = function (view, count, index, conversion, value, isLittleEndian) {\n var store = getInternalDataViewState(view);\n var intIndex = toIndex(index);\n var pack = conversion(+value);\n var boolIsLittleEndian = !!isLittleEndian;\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = store.bytes;\n var start = intIndex + store.byteOffset;\n for (var i = 0; i < count; i++) bytes[start + i] = pack[boolIsLittleEndian ? i : count - i - 1];\n};\n\nif (!NATIVE_ARRAY_BUFFER) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n var byteLength = toIndex(length);\n setInternalState(this, {\n type: ARRAY_BUFFER,\n bytes: fill(Array(byteLength), 0),\n byteLength: byteLength\n });\n if (!DESCRIPTORS) {\n this.byteLength = byteLength;\n this.detached = false;\n }\n };\n\n ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE];\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, DataViewPrototype);\n anInstance(buffer, ArrayBufferPrototype);\n var bufferState = getInternalArrayBufferState(buffer);\n var bufferLength = bufferState.byteLength;\n var offset = toIntegerOrInfinity(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n setInternalState(this, {\n type: DATA_VIEW,\n buffer: buffer,\n byteLength: byteLength,\n byteOffset: offset,\n bytes: bufferState.bytes\n });\n if (!DESCRIPTORS) {\n this.buffer = buffer;\n this.byteLength = byteLength;\n this.byteOffset = offset;\n }\n };\n\n DataViewPrototype = $DataView[PROTOTYPE];\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, 'byteLength', getInternalArrayBufferState);\n addGetter($DataView, 'buffer', getInternalDataViewState);\n addGetter($DataView, 'byteLength', getInternalDataViewState);\n addGetter($DataView, 'byteOffset', getInternalDataViewState);\n }\n\n defineBuiltIns(DataViewPrototype, {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false), 23);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : false), 52);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : false);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : false);\n }\n });\n} else {\n var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER;\n /* eslint-disable no-new -- required for testing */\n if (!fails(function () {\n NativeArrayBuffer(1);\n }) || !fails(function () {\n new NativeArrayBuffer(-1);\n }) || fails(function () {\n new NativeArrayBuffer();\n new NativeArrayBuffer(1.5);\n new NativeArrayBuffer(NaN);\n return NativeArrayBuffer.length !== 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;\n })) {\n /* eslint-enable no-new -- required for testing */\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n return new NativeArrayBuffer(toIndex(length));\n };\n\n $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype;\n\n for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) {\n createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);\n }\n }\n\n ArrayBufferPrototype.constructor = $ArrayBuffer;\n } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER);\n }\n\n // WebKit bug - the same parent prototype for typed arrays and data view\n if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) {\n setPrototypeOf(DataViewPrototype, ObjectPrototype);\n }\n\n // iOS Safari 7.x bug\n var testView = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = uncurryThis(DataViewPrototype.setInt8);\n testView.setInt8(0, 2147483648);\n testView.setInt8(1, 2147483649);\n if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns(DataViewPrototype, {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n }\n }, { unsafe: true });\n}\n\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\n\nmodule.exports = {\n ArrayBuffer: $ArrayBuffer,\n DataView: $DataView\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\n\nvar min = Math.min;\n\n// `Array.prototype.copyWithin` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n// eslint-disable-next-line es/no-array-prototype-copywithin -- safe\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n to += inc;\n from += inc;\n } return O;\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nmodule.exports = function (Constructor, list) {\n var index = 0;\n var length = lengthOfArrayLike(list);\n var result = new Constructor(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE === 1;\n var IS_FILTER = TYPE === 2;\n var IS_SOME = TYPE === 3;\n var IS_EVERY = TYPE === 4;\n var IS_FIND_INDEX = TYPE === 6;\n var IS_FILTER_REJECT = TYPE === 7;\n var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-lastindexof -- safe */\nvar apply = require('../internals/function-apply');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar min = Math.min;\nvar $lastIndexOf = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');\nvar FORCED = NEGATIVE_ZERO || !STRICT_METHOD;\n\n// `Array.prototype.lastIndexOf` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\nmodule.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var index = length - 1;\n if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;\n return -1;\n} : $lastIndexOf;\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw $TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n var n = 0;\n for (; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","'use strict';\nvar arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n try {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n } catch (error) { return false; } // workaround of old WebKit + `eval` bug\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\n// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","'use strict';\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = !IS_DENO && !IS_NODE\n && typeof window == 'object'\n && typeof document == 'object';\n","'use strict';\n/* global Deno -- Deno case */\nmodule.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';\n","'use strict';\nvar UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","'use strict';\nvar global = require('../internals/global');\nvar classof = require('../internals/classof-raw');\n\nmodule.exports = classof(global.process) === 'process';\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) !== 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () {\n execCalled = true;\n return null;\n };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nmodule.exports = function (a, b) {\n try {\n // eslint-disable-next-line no-console -- safe\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\n// IEEE754 conversions based on https://github.com/feross/ieee754\nvar sign = require('../internals/math-sign');\nvar trunc = require('../internals/math-trunc');\n\nvar $Array = Array;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\nvar roundToEven = function (number) {\n var truncated = trunc(number);\n var delta = abs(number - truncated);\n if (delta > 0.5 || delta === 0.5 && truncated % 2 !== 0) {\n return truncated + sign(number);\n } return truncated;\n};\n\nvar pack = function (number, mantissaLength, bytes) {\n var buffer = $Array(bytes);\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var s = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;\n var index = 0;\n var exponent, mantissa, c;\n number = abs(number);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number !== number || number === Infinity) {\n // eslint-disable-next-line no-self-compare -- NaN check\n mantissa = number !== number ? 1 : 0;\n exponent = eMax;\n } else {\n exponent = floor(log(number) / LN2);\n c = pow(2, -exponent);\n if (number * c < 1) {\n exponent--;\n c *= 2;\n }\n if (exponent + eBias >= 1) {\n number += rt / c;\n } else {\n number += rt * pow(2, 1 - eBias);\n }\n if (number * c >= 2) {\n exponent++;\n c /= 2;\n }\n if (exponent + eBias >= eMax) {\n mantissa = 0;\n exponent = eMax;\n } else if (exponent + eBias >= 1) {\n mantissa = roundToEven((number * c - 1) * pow(2, mantissaLength));\n exponent += eBias;\n } else {\n mantissa = roundToEven(number * pow(2, eBias - 1) * pow(2, mantissaLength));\n exponent = 0;\n }\n }\n while (mantissaLength >= 8) {\n buffer[index++] = mantissa & 255;\n mantissa /= 256;\n mantissaLength -= 8;\n }\n exponent = exponent << mantissaLength | mantissa;\n exponentLength += mantissaLength;\n while (exponentLength > 0) {\n buffer[index++] = exponent & 255;\n exponent /= 256;\n exponentLength -= 8;\n }\n buffer[--index] |= s * 128;\n return buffer;\n};\n\nvar unpack = function (buffer, mantissaLength) {\n var bytes = buffer.length;\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var nBits = exponentLength - 7;\n var index = bytes - 1;\n var s = buffer[index--];\n var exponent = s & 127;\n var mantissa;\n s >>= 7;\n while (nBits > 0) {\n exponent = exponent * 256 + buffer[index--];\n nBits -= 8;\n }\n mantissa = exponent & (1 << -nBits) - 1;\n exponent >>= -nBits;\n nBits += mantissaLength;\n while (nBits > 0) {\n mantissa = mantissa * 256 + buffer[index--];\n nBits -= 8;\n }\n if (exponent === 0) {\n exponent = 1 - eBias;\n } else if (exponent === eMax) {\n return mantissa ? NaN : s ? -Infinity : Infinity;\n } else {\n mantissa += pow(2, mantissaLength);\n exponent -= eBias;\n } return (s ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);\n};\n\nmodule.exports = {\n pack: pack,\n unpack: unpack\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n","'use strict';\nvar classof = require('../internals/classof');\n\nmodule.exports = function (it) {\n var klass = classof(it);\n return klass === 'BigInt64Array' || klass === 'BigUint64Array';\n};\n","'use strict';\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar floor = Math.floor;\n\n// `IsIntegralNumber` abstract operation\n// https://tc39.es/ecma262/#sec-isintegralnumber\n// eslint-disable-next-line es/no-number-isinteger -- safe\nmodule.exports = Number.isInteger || function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n }\n\n return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\n// `Math.sign` method implementation\n// https://tc39.es/ecma262/#sec-math.sign\n// eslint-disable-next-line es/no-math-sign -- safe\nmodule.exports = Math.sign || function sign(x) {\n var n = +x;\n // eslint-disable-next-line no-self-compare -- NaN check\n return n === 0 || n !== n ? n : n < 0 ? -1 : 1;\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar Queue = require('../internals/queue');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\nvar notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!microtask) {\n var queue = new Queue();\n\n var flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (fn = queue.get()) try {\n fn();\n } catch (error) {\n if (queue.head) notify();\n throw error;\n }\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // `webpack` dev server bug on IE global methods - use bind(fn, global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n\n microtask = function (fn) {\n if (!queue.head) notify();\n queue.add(fn);\n };\n}\n\nmodule.exports = microtask;\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) === 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = global;\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","'use strict';\nvar global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","'use strict';\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","'use strict';\nvar Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n var tail = this.tail;\n if (tail) tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n var next = this.head = entry.next;\n if (next === null) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') !== null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') !== null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?
b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.32.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function () {\n var Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = Symbol && Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, { arity: 1 });\n }\n};\n","'use strict';\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\nfails(function () {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n $location = global.location;\n});\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar eventListener = function (event) {\n run(event.data);\n};\n\nvar globalPostMessageDefer = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = eventListener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(globalPostMessageDefer)\n ) {\n defer = globalPostMessageDefer;\n global.addEventListener('message', eventListener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\n\nvar $TypeError = TypeError;\n\n// `ToBigInt` abstract operation\n// https://tc39.es/ecma262/#sec-tobigint\nmodule.exports = function (argument) {\n var prim = toPrimitive(argument, 'number');\n if (typeof prim == 'number') throw $TypeError(\"Can't convert number to bigint\");\n // eslint-disable-next-line es/no-bigint -- safe\n return BigInt(prim);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\n\nvar $RangeError = RangeError;\n\n// `ToIndex` abstract operation\n// https://tc39.es/ecma262/#sec-toindex\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toIntegerOrInfinity(it);\n var length = toLength(number);\n if (number !== length) throw $RangeError('Wrong length or index');\n return length;\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar toPositiveInteger = require('../internals/to-positive-integer');\n\nvar $RangeError = RangeError;\n\nmodule.exports = function (it, BYTES) {\n var offset = toPositiveInteger(it);\n if (offset % BYTES) throw $RangeError('Wrong offset');\n return offset;\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar $RangeError = RangeError;\n\nmodule.exports = function (it) {\n var result = toIntegerOrInfinity(it);\n if (result < 0) throw $RangeError(\"The argument can't be less than 0\");\n return result;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar round = Math.round;\n\nmodule.exports = function (it) {\n var value = round(it);\n return value < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anInstance = require('../internals/an-instance');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isIntegralNumber = require('../internals/is-integral-number');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar toOffset = require('../internals/to-offset');\nvar toUint8Clamped = require('../internals/to-uint8-clamped');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar create = require('../internals/object-create');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar typedArrayFrom = require('../internals/typed-array-from');\nvar forEach = require('../internals/array-iteration').forEach;\nvar setSpecies = require('../internals/set-species');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar InternalStateModule = require('../internals/internal-state');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar enforceInternalState = InternalStateModule.enforce;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar RangeError = global.RangeError;\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar ArrayBufferPrototype = ArrayBuffer.prototype;\nvar DataView = ArrayBufferModule.DataView;\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\nvar TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;\nvar TypedArray = ArrayBufferViewCore.TypedArray;\nvar TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar isTypedArray = ArrayBufferViewCore.isTypedArray;\nvar BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\nvar WRONG_LENGTH = 'Wrong length';\n\nvar fromList = function (C, list) {\n aTypedArrayConstructor(C);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n\nvar addGetter = function (it, key) {\n defineBuiltInAccessor(it, key, {\n configurable: true,\n get: function () {\n return getInternalState(this)[key];\n }\n });\n};\n\nvar isArrayBuffer = function (it) {\n var klass;\n return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) === 'ArrayBuffer' || klass === 'SharedArrayBuffer';\n};\n\nvar isTypedArrayIndex = function (target, key) {\n return isTypedArray(target)\n && !isSymbol(key)\n && key in target\n && isIntegralNumber(+key)\n && key >= 0;\n};\n\nvar wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {\n key = toPropertyKey(key);\n return isTypedArrayIndex(target, key)\n ? createPropertyDescriptor(2, target[key])\n : nativeGetOwnPropertyDescriptor(target, key);\n};\n\nvar wrappedDefineProperty = function defineProperty(target, key, descriptor) {\n key = toPropertyKey(key);\n if (isTypedArrayIndex(target, key)\n && isObject(descriptor)\n && hasOwn(descriptor, 'value')\n && !hasOwn(descriptor, 'get')\n && !hasOwn(descriptor, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !descriptor.configurable\n && (!hasOwn(descriptor, 'writable') || descriptor.writable)\n && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable)\n ) {\n target[key] = descriptor.value;\n return target;\n } return nativeDefineProperty(target, key, descriptor);\n};\n\nif (DESCRIPTORS) {\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;\n definePropertyModule.f = wrappedDefineProperty;\n addGetter(TypedArrayPrototype, 'buffer');\n addGetter(TypedArrayPrototype, 'byteOffset');\n addGetter(TypedArrayPrototype, 'byteLength');\n addGetter(TypedArrayPrototype, 'length');\n }\n\n $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,\n defineProperty: wrappedDefineProperty\n });\n\n module.exports = function (TYPE, wrapper, CLAMPED) {\n var BYTES = TYPE.match(/\\d+/)[0] / 8;\n var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + TYPE;\n var SETTER = 'set' + TYPE;\n var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];\n var TypedArrayConstructor = NativeTypedArrayConstructor;\n var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;\n var exported = {};\n\n var getter = function (that, index) {\n var data = getInternalState(that);\n return data.view[GETTER](index * BYTES + data.byteOffset, true);\n };\n\n var setter = function (that, index, value) {\n var data = getInternalState(that);\n data.view[SETTER](index * BYTES + data.byteOffset, CLAMPED ? toUint8Clamped(value) : value, true);\n };\n\n var addElement = function (that, index) {\n nativeDefineProperty(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n TypedArrayConstructor = wrapper(function (that, data, offset, $length) {\n anInstance(that, TypedArrayConstructorPrototype);\n var index = 0;\n var byteOffset = 0;\n var buffer, byteLength, length;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new ArrayBuffer(byteLength);\n } else if (isArrayBuffer(data)) {\n buffer = data;\n byteOffset = toOffset(offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - byteOffset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (isTypedArray(data)) {\n return fromList(TypedArrayConstructor, data);\n } else {\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }\n setInternalState(that, {\n buffer: buffer,\n byteOffset: byteOffset,\n byteLength: byteLength,\n length: length,\n view: new DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);\n } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {\n TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {\n anInstance(dummy, TypedArrayConstructorPrototype);\n return inheritIfRequired(function () {\n if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));\n if (isArrayBuffer(data)) return $length !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)\n : typedArrayOffset !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))\n : new NativeTypedArrayConstructor(data);\n if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }(), dummy, TypedArrayConstructor);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {\n if (!(key in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);\n }\n });\n TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;\n }\n\n if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);\n }\n\n enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor;\n\n if (TYPED_ARRAY_TAG) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);\n }\n\n var FORCED = TypedArrayConstructor !== NativeTypedArrayConstructor;\n\n exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;\n\n $({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported);\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);\n }\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);\n }\n\n setSpecies(CONSTRUCTOR_NAME);\n };\n} else module.exports = function () { /* empty */ };\n","'use strict';\n/* eslint-disable no-new -- required for testing */\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar NATIVE_ARRAY_BUFFER_VIEWS = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS;\n\nvar ArrayBuffer = global.ArrayBuffer;\nvar Int8Array = global.Int8Array;\n\nmodule.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {\n Int8Array(1);\n}) || !fails(function () {\n new Int8Array(-1);\n}) || !checkCorrectnessOfIteration(function (iterable) {\n new Int8Array();\n new Int8Array(null);\n new Int8Array(1.5);\n new Int8Array(iterable);\n}, true) || fails(function () {\n // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill\n return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;\n});\n","'use strict';\nvar arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nmodule.exports = function (instance, list) {\n return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list);\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aConstructor = require('../internals/a-constructor');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isBigIntArray = require('../internals/is-big-int-array');\nvar aTypedArrayConstructor = require('../internals/array-buffer-view-core').aTypedArrayConstructor;\nvar toBigInt = require('../internals/to-big-int');\n\nmodule.exports = function from(source /* , mapfn, thisArg */) {\n var C = aConstructor(this);\n var O = toObject(source);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var i, length, result, thisIsBigIntArray, value, step, iterator, next;\n if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n O = [];\n while (!(step = call(next, iterator)).done) {\n O.push(step.value);\n }\n }\n if (mapping && argumentsLength > 2) {\n mapfn = bind(mapfn, arguments[2]);\n }\n length = lengthOfArrayLike(O);\n result = new (aTypedArrayConstructor(C))(length);\n thisIsBigIntArray = isBigIntArray(result);\n for (i = 0; length > i; i++) {\n value = mapping ? mapfn(O[i], i) : O[i];\n // FF30- typed arrays doesn't properly convert objects to typed array values\n result[i] = thisIsBigIntArray ? toBigInt(value) : +value;\n }\n return result;\n};\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\n\n// a part of `TypedArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#typedarray-species-create\nmodule.exports = function (originalArray) {\n return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray)));\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar fails = require('../internals/fails');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anObject = require('../internals/an-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar DataView = ArrayBufferModule.DataView;\nvar DataViewPrototype = DataView.prototype;\nvar nativeArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice);\nvar getUint8 = uncurryThis(DataViewPrototype.getUint8);\nvar setUint8 = uncurryThis(DataViewPrototype.setUint8);\n\nvar INCORRECT_SLICE = fails(function () {\n return !new ArrayBuffer(2).slice(1, undefined).byteLength;\n});\n\n// `ArrayBuffer.prototype.slice` method\n// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice\n$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {\n slice: function slice(start, end) {\n if (nativeArrayBufferSlice && end === undefined) {\n return nativeArrayBufferSlice(anObject(this), start); // FF fix\n }\n var length = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));\n var viewSource = new DataView(this);\n var viewTarget = new DataView(result);\n var index = 0;\n while (first < fin) {\n setUint8(viewTarget, index++, getUint8(viewSource, first++));\n } return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {\n forEach: forEach\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n switch (kind) {\n case 'keys': return createIterResultObject(index, false);\n case 'values': return createIterResultObject(target[index], false);\n } return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\n\nvar nativeReverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n reverse: function reverse() {\n // eslint-disable-next-line no-self-assign -- dirty hack\n if (isArray(this)) this.length = this.length;\n return nativeReverse(this);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')('stringify detection');\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) !== '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) !== '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) !== '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","'use strict';\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n // fast equal of /^0b[01]+$/i\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0o[0-7]+$/i\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n default:\n return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n// eslint-disable-next-line es/no-object-defineproperty -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {\n defineProperty: defineProperty\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","'use strict';\nvar $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/engine-is-node');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state === FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state === PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.promise.constructor');\nrequire('../modules/es.promise.all');\nrequire('../modules/es.promise.catch');\nrequire('../modules/es.promise.race');\nrequire('../modules/es.promise.reject');\nrequire('../modules/es.promise.resolve');\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n\n if (res.done) return res.value;\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar arraySlice = require('../internals/array-slice-simple');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar MAX_UINT32 = 0xFFFFFFFF;\nvar min = Math.min;\nvar $push = [].push;\nvar exec = uncurryThis(/./.exec);\nvar push = uncurryThis($push);\nvar stringSlice = uncurryThis(''.slice);\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] === 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length !== 4 ||\n 'ab'.split(/(?:ab)*/).length !== 2 ||\n '.'.split(/(.?)(.?)/).length !== 4 ||\n // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = toString(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return call(nativeSplit, string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = call(regexpExec, separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n push(output, stringSlice(string, lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !exec(separatorCopy, '')) push(output, '');\n } else push(output, stringSlice(string, lastLastIndex));\n return output.length > lim ? arraySlice(output, 0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = isNullOrUndefined(separator) ? undefined : getMethod(separator, SPLIT);\n return splitter\n ? call(splitter, separator, O, limit)\n : call(internalSplit, toString(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);\n\n if (res.done) return res.value;\n\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n push(A, stringSlice(S, p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n push(A, z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n push(A, stringSlice(S, p));\n return A;\n }\n ];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a !== 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\n\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this)\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n\n var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';\n var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);\n var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = thisSymbolValue(this);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var string = symbolDescriptiveString(symbol);\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, constructor: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n 'for': function (key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.symbol.constructor');\nrequire('../modules/es.symbol.for');\nrequire('../modules/es.symbol.key-for');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.object.get-own-property-symbols');\n","'use strict';\nvar $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag(getBuiltIn('Symbol'), 'Symbol');\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $ArrayCopyWithin = require('../internals/array-copy-within');\n\nvar u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin\nexportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {\n return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $every = require('../internals/array-iteration').every;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.every` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every\nexportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {\n return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $fill = require('../internals/array-fill');\nvar toBigInt = require('../internals/to-big-int');\nvar classof = require('../internals/classof');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar slice = uncurryThis(''.slice);\n\n// V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18\nvar CONVERSION_BUG = fails(function () {\n var count = 0;\n // eslint-disable-next-line es/no-typed-arrays -- safe\n new Int8Array(2).fill({ valueOf: function () { return count++; } });\n return count !== 1;\n});\n\n// `%TypedArray%.prototype.fill` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill\nexportTypedArrayMethod('fill', function fill(value /* , start, end */) {\n var length = arguments.length;\n aTypedArray(this);\n var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt(value) : +value;\n return call($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined);\n}, CONVERSION_BUG);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filter = require('../internals/array-iteration').filter;\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filter` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter\nexportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {\n var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return fromSpeciesAndList(this, list);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findIndex = require('../internals/array-iteration').findIndex;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex\nexportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {\n return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $find = require('../internals/array-iteration').find;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.find` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find\nexportTypedArrayMethod('find', function find(predicate /* , thisArg */) {\n return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach\nexportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {\n $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $includes = require('../internals/array-includes').includes;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.includes` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes\nexportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {\n return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $indexOf = require('../internals/array-includes').indexOf;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof\nexportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {\n return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayIterators = require('../modules/es.array.iterator');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar Uint8Array = global.Uint8Array;\nvar arrayValues = uncurryThis(ArrayIterators.values);\nvar arrayKeys = uncurryThis(ArrayIterators.keys);\nvar arrayEntries = uncurryThis(ArrayIterators.entries);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar TypedArrayPrototype = Uint8Array && Uint8Array.prototype;\n\nvar GENERIC = !fails(function () {\n TypedArrayPrototype[ITERATOR].call([1]);\n});\n\nvar ITERATOR_IS_VALUES = !!TypedArrayPrototype\n && TypedArrayPrototype.values\n && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values\n && TypedArrayPrototype.values.name === 'values';\n\nvar typedArrayValues = function values() {\n return arrayValues(aTypedArray(this));\n};\n\n// `%TypedArray%.prototype.entries` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries\nexportTypedArrayMethod('entries', function entries() {\n return arrayEntries(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.keys` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys\nexportTypedArrayMethod('keys', function keys() {\n return arrayKeys(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.values` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values\nexportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n// `%TypedArray%.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator\nexportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $join = uncurryThis([].join);\n\n// `%TypedArray%.prototype.join` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join\nexportTypedArrayMethod('join', function join(separator) {\n return $join(aTypedArray(this), separator);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar apply = require('../internals/function-apply');\nvar $lastIndexOf = require('../internals/array-last-index-of');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof\nexportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {\n var length = arguments.length;\n return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $map = require('../internals/array-iteration').map;\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.map` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map\nexportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {\n return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {\n return new (typedArraySpeciesConstructor(O))(length);\n });\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduceRight = require('../internals/array-reduce').right;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduceRight` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright\nexportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduce = require('../internals/array-reduce').left;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce\nexportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar floor = Math.floor;\n\n// `%TypedArray%.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse\nexportTypedArrayMethod('reverse', function reverse() {\n var that = this;\n var length = aTypedArray(that).length;\n var middle = floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toOffset = require('../internals/to-offset');\nvar toIndexedObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar $set = Int8ArrayPrototype && Int8ArrayPrototype.set;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n var array = new Uint8ClampedArray(2);\n call($set, array, { length: 1, 0: 3 }, 1);\n return array[1] !== 3;\n});\n\n// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other\nvar TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () {\n var array = new Int8Array(2);\n array.set(1);\n array.set('2', 1);\n return array[0] !== 0 || array[1] !== 2;\n});\n\n// `%TypedArray%.prototype.set` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set\nexportTypedArrayMethod('set', function set(arrayLike /* , offset */) {\n aTypedArray(this);\n var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);\n var src = toIndexedObject(arrayLike);\n if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);\n var length = this.length;\n var len = lengthOfArrayLike(src);\n var index = 0;\n if (len + offset > length) throw RangeError('Wrong length');\n while (index < len) this[offset + index] = src[index++];\n}, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n new Int8Array(1).slice();\n});\n\n// `%TypedArray%.prototype.slice` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice\nexportTypedArrayMethod('slice', function slice(start, end) {\n var list = arraySlice(aTypedArray(this), start, end);\n var C = typedArraySpeciesConstructor(this);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n}, FORCED);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $some = require('../internals/array-iteration').some;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.some` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some\nexportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {\n return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar fails = require('../internals/fails');\nvar aCallable = require('../internals/a-callable');\nvar internalSort = require('../internals/array-sort');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar Uint16Array = global.Uint16Array;\nvar nativeSort = Uint16Array && uncurryThis(Uint16Array.prototype.sort);\n\n// WebKit\nvar ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails(function () {\n nativeSort(new Uint16Array(2), null);\n}) && fails(function () {\n nativeSort(new Uint16Array(2), {});\n}));\n\nvar STABLE_SORT = !!nativeSort && !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 74;\n if (FF) return FF < 67;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 602;\n\n var array = new Uint16Array(516);\n var expected = Array(516);\n var index, mod;\n\n for (index = 0; index < 516; index++) {\n mod = index % 4;\n array[index] = 515 - index;\n expected[index] = index - 2 * mod + 3;\n }\n\n nativeSort(array, function (a, b) {\n return (a / 4 | 0) - (b / 4 | 0);\n });\n\n for (index = 0; index < 516; index++) {\n if (array[index] !== expected[index]) return true;\n }\n});\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (y !== y) return -1;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (x !== x) return 1;\n if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1;\n return x > y;\n };\n};\n\n// `%TypedArray%.prototype.sort` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort\nexportTypedArrayMethod('sort', function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n if (STABLE_SORT) return nativeSort(this, comparefn);\n\n return internalSort(aTypedArray(this), getSortCompare(comparefn));\n}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.subarray` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray\nexportTypedArrayMethod('subarray', function subarray(begin, end) {\n var O = aTypedArray(this);\n var length = O.length;\n var beginIndex = toAbsoluteIndex(begin, length);\n var C = typedArraySpeciesConstructor(O);\n return new C(\n O.buffer,\n O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)\n );\n});\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar Int8Array = global.Int8Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $toLocaleString = [].toLocaleString;\n\n// iOS Safari 6.x fails here\nvar TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {\n $toLocaleString.call(new Int8Array(1));\n});\n\nvar FORCED = fails(function () {\n return [1, 2].toLocaleString() !== new Int8Array([1, 2]).toLocaleString();\n}) || !fails(function () {\n Int8Array.prototype.toLocaleString.call([1, 2]);\n});\n\n// `%TypedArray%.prototype.toLocaleString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring\nexportTypedArrayMethod('toLocaleString', function toLocaleString() {\n return apply(\n $toLocaleString,\n TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this),\n arraySlice(arguments)\n );\n}, FORCED);\n","'use strict';\nvar exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod;\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar Uint8Array = global.Uint8Array;\nvar Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};\nvar arrayToString = [].toString;\nvar join = uncurryThis([].join);\n\nif (fails(function () { arrayToString.call({}); })) {\n arrayToString = function toString() {\n return join(this);\n };\n}\n\nvar IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString !== arrayToString;\n\n// `%TypedArray%.prototype.toString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring\nexportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setLastICMessageTime = exports.lastICMessageTime = exports.delay = exports.setBanned = exports.banned = exports.setExtraFeatures = exports.extrafeatures = exports.setSelectedShout = exports.selectedShout = exports.setSelectedMenu = exports.selectedMenu = exports.setOldLoading = exports.oldLoading = exports.UPDATE_INTERVAL = exports.setClient = exports.client = exports.setCHATBOX = exports.CHATBOX = void 0;\n/*\n * Glorious webAO\n * made by sD, refactored by oldmud0 and Qubrick\n * credits to aleks for original idea and source\n */\nvar isLowMemory_1 = require(\"./client/isLowMemory\");\nvar fingerprintjs_1 = require(\"@fingerprintjs/fingerprintjs\");\nvar index_1 = require(\"./client/sender/index\");\nvar queryParser_1 = require(\"./utils/queryParser\");\nvar getResources_js_1 = require(\"./utils/getResources.js\");\nvar viewport_1 = require(\"./viewport/viewport\");\nvar events_1 = require(\"events\");\nvar onReplayGo_1 = require(\"./dom/onReplayGo\");\nvar packetHandler_1 = require(\"./packets/packetHandler\");\nvar loadResources_1 = require(\"./client/loadResources\");\nvar aoHost_1 = require(\"./client/aoHost\");\nvar fetchLists_1 = require(\"./client/fetchLists\");\nvar version = process.env.npm_package_version;\nvar _a = (0, queryParser_1.default)(), serverIP = _a.ip, mode = _a.mode, theme = _a.theme;\nvar THEME = theme || \"default\";\nvar setCHATBOX = function (val) {\n exports.CHATBOX = val;\n};\nexports.setCHATBOX = setCHATBOX;\nvar setClient = function (val) {\n exports.client = val;\n};\nexports.setClient = setClient;\nexports.UPDATE_INTERVAL = 60;\n/**\n * Toggles AO1-style loading using paginated music packets for mobile platforms.\n * The old loading uses more smaller packets instead of a single big one,\n * which caused problems on low-memory devices in the past.\n */\nexports.oldLoading = false;\nvar setOldLoading = function (val) {\n console.warn(\"old loading set to \" + val);\n exports.oldLoading = val;\n};\nexports.setOldLoading = setOldLoading;\n// presettings\nexports.selectedMenu = 1;\nvar setSelectedMenu = function (val) {\n exports.selectedMenu = val;\n};\nexports.setSelectedMenu = setSelectedMenu;\nexports.selectedShout = 0;\nvar setSelectedShout = function (val) {\n exports.selectedShout = val;\n};\nexports.setSelectedShout = setSelectedShout;\nexports.extrafeatures = [];\nvar setExtraFeatures = function (val) {\n exports.extrafeatures = val;\n};\nexports.setExtraFeatures = setExtraFeatures;\nexports.banned = false;\nvar setBanned = function (val) {\n exports.banned = val;\n};\nexports.setBanned = setBanned;\nvar hdid;\nvar fpPromise = fingerprintjs_1.default.load();\nfpPromise\n .then(function (fp) { return fp.get(); })\n .then(function (result) {\n hdid = result.visitorId;\n exports.client = new Client(serverIP);\n exports.client.connect();\n (0, isLowMemory_1.isLowMemory)();\n (0, loadResources_1.loadResources)();\n});\nvar delay = function (ms) { return new Promise(function (res) { return setTimeout(res, ms); }); };\nexports.delay = delay;\nexports.lastICMessageTime = new Date(0);\nvar setLastICMessageTime = function (val) {\n exports.lastICMessageTime = val;\n};\nexports.setLastICMessageTime = setLastICMessageTime;\nvar Client = /** @class */ (function (_super) {\n __extends(Client, _super);\n function Client(address) {\n var _this = _super.call(this) || this;\n _this.connect = function () {\n _this.on(\"open\", _this.onOpen.bind(_this));\n _this.on(\"close\", _this.onClose.bind(_this));\n _this.on(\"message\", _this.onMessage.bind(_this));\n _this.on(\"error\", _this.onError.bind(_this));\n if (mode !== \"replay\") {\n _this.serv = new WebSocket(\"ws://\".concat(address));\n // Assign the websocket events\n _this.serv.addEventListener(\"open\", _this.emit.bind(_this, \"open\"));\n _this.serv.addEventListener(\"close\", _this.emit.bind(_this, \"close\"));\n _this.serv.addEventListener(\"message\", _this.emit.bind(_this, \"message\"));\n _this.serv.addEventListener(\"error\", _this.emit.bind(_this, \"error\"));\n }\n else {\n _this.joinServer();\n }\n };\n _this.hp = [0, 0];\n _this.playerID = 1;\n _this.charID = -1;\n _this.char_list_length = 0;\n _this.evidence_list_length = 0;\n _this.music_list_length = 0;\n _this.testimonyID = 0;\n _this.chars = [];\n _this.emotes = [];\n _this.evidences = [];\n _this.areas = [];\n _this.musics = [];\n _this.musics_time = false;\n _this.callwords = [];\n _this.manifest = [];\n _this.resources = (0, getResources_js_1.default)(aoHost_1.AO_HOST, THEME);\n _this.selectedEmote = -1;\n _this.selectedEvidence = 0;\n _this.checkUpdater = null;\n _this.sender = index_1.sender;\n _this.viewport = (0, viewport_1.default)();\n _this._lastTimeICReceived = new Date(0);\n _this.partial_packet = false;\n _this.temp_packet = \"\";\n loadResources_1.loadResources;\n isLowMemory_1.isLowMemory;\n return _this;\n }\n Object.defineProperty(Client.prototype, \"character\", {\n /**\n * Gets the current player's character.\n */\n get: function () {\n return this.chars[this.charID];\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Client.prototype, \"emote\", {\n /**\n * Gets the player's currently selected emote.\n */\n get: function () {\n return this.emotes[this.selectedEmote];\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Client.prototype, \"evidence\", {\n /**\n * Gets the current evidence ID unless the player doesn't want to present any evidence\n */\n get: function () {\n return document.getElementById(\"button_present\").classList.contains(\"dark\")\n ? this.selectedEvidence\n : 0;\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Hook for sending messages to the client\n * @param {string} message the message to send\n */\n Client.prototype.handleSelf = function (message) {\n var _this = this;\n var message_event = new MessageEvent(\"websocket\", { data: message });\n setTimeout(function () { return _this.onMessage(message_event); }, 1);\n };\n /**\n * Begins the handshake process by sending an identifier\n * to the server.\n */\n Client.prototype.joinServer = function () {\n var _this = this;\n this.sender.sendServer(\"HI#\".concat(hdid, \"#%\"));\n if (mode !== \"replay\") {\n this.checkUpdater = setInterval(function () { return _this.sender.sendCheck(); }, 5000);\n }\n };\n /**\n * Triggered when a connection is established to the server.\n */\n Client.prototype.onOpen = function (_e) {\n exports.client.joinServer();\n };\n /**\n * Triggered when the connection to the server closes.\n * @param {CloseEvent} e\n */\n Client.prototype.onClose = function (e) {\n console.error(\"The connection was closed: \".concat(e.reason, \" (\").concat(e.code, \")\"));\n if (exports.extrafeatures.length == 0 && exports.banned === false) {\n document.getElementById(\"client_errortext\").textContent =\n \"Could not connect to the server\";\n }\n document.getElementById(\"client_waiting\").style.display = \"block\";\n document.getElementById(\"client_error\").style.display = \"flex\";\n document.getElementById(\"client_loading\").style.display = \"none\";\n document.getElementById(\"error_id\").textContent = String(e.code);\n this.cleanup();\n };\n /**\n * Triggered when a packet is received from the server.\n * @param {MessageEvent} e\n */\n Client.prototype.onMessage = function (e) {\n var msg = e.data;\n console.debug(\"S: \".concat(msg));\n this.handle_server_packet(msg);\n };\n /**\n * Decode the packet\n * @param {MessageEvent} e\n */\n Client.prototype.handle_server_packet = function (p_data) {\n var e_1, _a;\n var in_data = p_data;\n if (!p_data.endsWith(\"%\")) {\n this.partial_packet = true;\n this.temp_packet = this.temp_packet + in_data;\n console.log(\"Partial packet\");\n return;\n }\n else {\n if (this.partial_packet) {\n in_data = this.temp_packet + in_data;\n this.temp_packet = \"\";\n this.partial_packet = false;\n }\n }\n var packet_list = in_data.split(\"%\");\n try {\n for (var packet_list_1 = __values(packet_list), packet_list_1_1 = packet_list_1.next(); !packet_list_1_1.done; packet_list_1_1 = packet_list_1.next()) {\n var packet = packet_list_1_1.value;\n var f_contents = void 0;\n // Packet should *always* end with #\n if (packet.endsWith(\"#\")) {\n f_contents = packet.slice(0, -1).split(\"#\");\n }\n // But, if it somehow doesn't, we should still be able to handle it\n else {\n f_contents = packet.split(\"#\");\n }\n // Empty packets are suspicious!\n if (f_contents.length == 0) {\n console.warn(\"WARNING: Empty packet received from server, skipping...\");\n continue;\n }\n // Take the first arg as the command\n var command = f_contents[0];\n if (command !== \"\") {\n // The rest is contents of the packet\n packetHandler_1.packetHandler.has(command)\n ? packetHandler_1.packetHandler.get(command)(f_contents)\n : console.warn(\"Invalid packet header \".concat(command));\n }\n ;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (packet_list_1_1 && !packet_list_1_1.done && (_a = packet_list_1.return)) _a.call(packet_list_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n /**\n * Triggered when an network error occurs.\n * @param {ErrorEvent} e\n */\n Client.prototype.onError = function (e) {\n console.error(\"A network error occurred\");\n document.getElementById(\"client_error\").style.display = \"flex\";\n this.cleanup();\n };\n /**\n * Stop sending keepalives to the server.\n */\n Client.prototype.cleanup = function () {\n clearInterval(this.checkUpdater);\n this.serv.close();\n };\n /**\n * Parse the lines in the OOC and play them\n * @param {*} args packet arguments\n */\n Client.prototype.handleReplay = function () {\n var ooclog = document.getElementById(\"client_ooclog\");\n var rawLog = false;\n var rtime = Number(document.getElementById(\"client_replaytimer\").value);\n var clines = ooclog.value.split(/\\r?\\n/);\n if (clines[0]) {\n var currentLine = String(clines[0]);\n this.handleSelf(currentLine);\n ooclog.value = clines.slice(1).join(\"\\r\\n\");\n if (currentLine.substr(0, 4) === \"wait\" && rawLog === false) {\n rtime = Number(currentLine.split(\"#\")[1]);\n }\n else if (currentLine.substr(0, 2) !== \"MS\") {\n rtime = 0;\n }\n setTimeout(function () { return (0, onReplayGo_1.onReplayGo)(null); }, rtime);\n }\n };\n Client.prototype.resetMusicList = function () {\n this.musics = [];\n document.getElementById(\"client_musiclist\").innerHTML = \"\";\n };\n Client.prototype.resetAreaList = function () {\n this.areas = [];\n document.getElementById(\"areas\").innerHTML = \"\";\n (0, fetchLists_1.fetchBackgroundList)();\n (0, fetchLists_1.fetchEvidenceList)();\n (0, fetchLists_1.fetchCharacterList)();\n };\n return Client;\n}(events_1.EventEmitter));\nexports.default = Client;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.addTrack = void 0;\nvar client_1 = require(\"../client\");\nvar encoding_1 = require(\"../encoding\");\nvar paths_1 = require(\"../utils/paths\");\nvar addTrack = function (trackname) {\n var newentry = document.createElement(\"OPTION\");\n var songName = (0, paths_1.getFilenameFromPath)(trackname);\n newentry.text = (0, encoding_1.unescapeChat)(songName);\n newentry.value = trackname;\n (document.getElementById(\"client_musiclist\")).options.add(newentry);\n client_1.client.musics.push(trackname);\n};\nexports.addTrack = addTrack;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setAOhost = exports.AO_HOST = void 0;\nvar queryParser_1 = require(\"../utils/queryParser\");\nvar asset = (0, queryParser_1.default)().asset;\nvar DEFAULT_HOST = 'http://attorneyoffline.de/base/';\nexports.AO_HOST = asset || DEFAULT_HOST;\nvar setAOhost = function (val) {\n exports.AO_HOST = val;\n};\nexports.setAOhost = setAOhost;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.appendICLog = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Appends a message to the in-character chat log.\n * @param {string} msg the string to be added\n * @param {string} name the name of the sender\n */\nfunction appendICLog(msg, showname, nameplate, time) {\n if (showname === void 0) { showname = \"\"; }\n if (nameplate === void 0) { nameplate = \"\"; }\n if (time === void 0) { time = new Date(); }\n var entry = document.createElement(\"p\");\n var shownameField = document.createElement(\"span\");\n var nameplateField = document.createElement(\"span\");\n var textField = document.createElement(\"span\");\n nameplateField.className = \"iclog_name iclog_nameplate\";\n nameplateField.appendChild(document.createTextNode(nameplate));\n shownameField.className = \"iclog_name iclog_showname\";\n if (showname === \"\" || !showname) {\n shownameField.appendChild(document.createTextNode(nameplate));\n }\n else {\n shownameField.appendChild(document.createTextNode(showname));\n }\n textField.className = \"iclog_text\";\n textField.appendChild(document.createTextNode(msg));\n entry.appendChild(shownameField);\n entry.appendChild(nameplateField);\n entry.appendChild(textField);\n // Only put a timestamp if the minute has changed.\n if (client_1.lastICMessageTime.getMinutes() !== time.getMinutes()) {\n var timeStamp = document.createElement(\"span\");\n timeStamp.className = \"iclog_time\";\n timeStamp.innerText = time.toLocaleTimeString(undefined, {\n hour: \"numeric\",\n minute: \"2-digit\",\n });\n entry.appendChild(timeStamp);\n }\n var clientLog = document.getElementById(\"client_log\");\n clientLog.appendChild(entry);\n /* This is a little buggy - some troubleshooting might be desirable */\n if (clientLog.scrollTop > clientLog.scrollHeight - 800) {\n clientLog.scrollTop = clientLog.scrollHeight;\n }\n (0, client_1.setLastICMessageTime)(new Date());\n}\nexports.appendICLog = appendICLog;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkCallword = void 0;\nvar client_1 = require(\"../client\");\nvar aoHost_1 = require(\"./aoHost\");\n/**\n * check if the message contains an entry on our callword list\n * @param {string} message\n */\nfunction checkCallword(message, sfxAudio) {\n client_1.client.callwords.forEach(testCallword);\n function testCallword(item) {\n if (item !== \"\" && message.toLowerCase().includes(item.toLowerCase())) {\n sfxAudio.pause();\n sfxAudio.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-gallery.opus\");\n sfxAudio.play();\n }\n }\n}\nexports.checkCallword = checkCallword;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createArea = void 0;\nvar client_1 = require(\"../client\");\nvar areaClick_1 = require(\"../dom/areaClick\");\nvar createArea = function (id, name) {\n var thisarea = {\n name: name,\n players: 0,\n status: \"IDLE\",\n cm: \"\",\n locked: \"FREE\",\n };\n client_1.client.areas.push(thisarea);\n // Create area button\n var newarea = document.createElement(\"SPAN\");\n newarea.className = \"area-button area-default\";\n newarea.id = \"area\".concat(id);\n newarea.innerText = thisarea.name;\n newarea.title =\n \"Players: \".concat(thisarea.players, \"\\n\") +\n \"Status: \".concat(thisarea.status, \"\\n\") +\n \"CM: \".concat(thisarea.cm, \"\\n\") +\n \"Area lock: \".concat(thisarea.locked);\n newarea.onclick = function () {\n (0, areaClick_1.area_click)(newarea);\n };\n document.getElementById(\"areas\").appendChild(newarea);\n};\nexports.createArea = createArea;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fetchManifest = exports.fetchEvidenceList = exports.fetchCharacterList = exports.fetchBackgroundList = void 0;\nvar client_1 = require(\"../client\");\nvar aoHost_1 = require(\"./aoHost\");\nvar request_js_1 = require(\"../services/request.js\");\nvar fetchBackgroundList = function () { return __awaiter(void 0, void 0, void 0, function () {\n var bgdata, bg_array, bg_select_1, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n return [4 /*yield*/, (0, request_js_1.request)(\"\".concat(aoHost_1.AO_HOST, \"backgrounds.json\"))];\n case 1:\n bgdata = _a.sent();\n bg_array = JSON.parse(bgdata);\n bg_select_1 = document.getElementById(\"bg_select\");\n bg_select_1.innerHTML = \"\";\n bg_select_1.add(new Option(\"Custom\", \"0\"));\n bg_array.forEach(function (background) {\n bg_select_1.add(new Option(background));\n });\n return [3 /*break*/, 3];\n case 2:\n err_1 = _a.sent();\n console.warn(\"there was no backgrounds.json file\");\n return [3 /*break*/, 3];\n case 3: return [2 /*return*/];\n }\n });\n}); };\nexports.fetchBackgroundList = fetchBackgroundList;\nvar fetchCharacterList = function () { return __awaiter(void 0, void 0, void 0, function () {\n var char_select, chardata, char_array, err_2;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n char_select = (document.getElementById(\"client_iniselect\"));\n char_select.innerHTML = \"\";\n char_select.add(new Option(\"Custom\", \"0\"));\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, (0, request_js_1.request)(\"\".concat(aoHost_1.AO_HOST, \"characters.json\"))];\n case 2:\n chardata = _a.sent();\n char_array = JSON.parse(chardata);\n // the try catch will fail before here when there is no file\n char_array.forEach(function (character) {\n char_select.add(new Option(character));\n });\n return [3 /*break*/, 4];\n case 3:\n err_2 = _a.sent();\n console.warn(\"there was no characters.json file\");\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\nexports.fetchCharacterList = fetchCharacterList;\nvar fetchEvidenceList = function () { return __awaiter(void 0, void 0, void 0, function () {\n var evi_select, evidata, evi_array, err_3;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n evi_select = (document.getElementById(\"evi_select\"));\n evi_select.innerHTML = \"\";\n evi_select.add(new Option(\"Custom\", \"0\"));\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, (0, request_js_1.request)(\"\".concat(aoHost_1.AO_HOST, \"evidence.json\"))];\n case 2:\n evidata = _a.sent();\n evi_array = JSON.parse(evidata);\n // the try catch will fail before here when there is no file\n evi_array.forEach(function (evi) {\n evi_select.add(new Option(evi));\n });\n return [3 /*break*/, 4];\n case 3:\n err_3 = _a.sent();\n console.warn(\"there was no evidence.json file\");\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\nexports.fetchEvidenceList = fetchEvidenceList;\nvar fetchManifest = function () { return __awaiter(void 0, void 0, void 0, function () {\n var manifestdata, err_4;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n return [4 /*yield*/, (0, request_js_1.request)(\"\".concat(aoHost_1.AO_HOST, \"manifest.txt\"))];\n case 1:\n manifestdata = _a.sent();\n client_1.client.manifest = manifestdata.split(/\\r\\n|\\n\\r|\\n|\\r/);\n return [3 /*break*/, 3];\n case 2:\n err_4 = _a.sent();\n console.warn(\"there was no manifest.txt file\");\n return [3 /*break*/, 3];\n case 3: return [2 /*return*/];\n }\n });\n}); };\nexports.fetchManifest = fetchManifest;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fix_last_area = void 0;\nvar client_1 = require(\"../client\");\nvar addTrack_1 = require(\"./addTrack\");\n/**\n * Area list fuckery\n */\nvar fix_last_area = function () {\n if (client_1.client.areas.length > 0) {\n var malplaced = client_1.client.areas.pop().name;\n var areas = document.getElementById(\"areas\");\n areas.removeChild(areas.lastChild);\n (0, addTrack_1.addTrack)(malplaced);\n }\n};\nexports.fix_last_area = fix_last_area;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleBans = void 0;\n/**\n * Handles the kicked packet\n * @param {string} type is it a kick or a ban\n * @param {string} reason why\n */\nvar handleBans = function (type, reason) {\n document.getElementById(\"client_error\").style.display = \"flex\";\n document.getElementById(\"client_errortext\").innerHTML = \"\".concat(type, \":
\").concat(reason.replace(/\\n/g, \"
\"));\n (document.getElementById(\"client_reconnect\")).style.display = \"none\";\n alert(type + \":\\r\" + reason);\n};\nexports.handleBans = handleBans;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCharacterInfo = void 0;\nvar client_1 = require(\"../client\");\nvar encoding_1 = require(\"../encoding\");\nvar iniParse_1 = require(\"../iniParse\");\nvar request_1 = require(\"../services/request\");\nvar fileExists_1 = require(\"../utils/fileExists\");\nvar aoHost_1 = require(\"./aoHost\");\n/**\n * Handles the incoming character information, and downloads the sprite + ini for it\n * @param {Array} chargs packet arguments\n * @param {Number} charid character ID\n */\nvar handleCharacterInfo = function (chargs, charid) { return __awaiter(void 0, void 0, void 0, function () {\n var img, cini, getCharIcon, cinidata, err_1, mute_select, pair_select, default_options, default_emotions;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n img = document.getElementById(\"demo_\".concat(charid));\n if (!chargs[0]) return [3 /*break*/, 5];\n cini = {};\n getCharIcon = function () { return __awaiter(void 0, void 0, void 0, function () {\n var extensions, charIconBaseUrl, i, fileUrl, exists;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n extensions = [\".png\", \".webp\"];\n img.alt = chargs[0];\n charIconBaseUrl = \"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(chargs[0].toLowerCase()), \"/char_icon\");\n i = 0;\n _a.label = 1;\n case 1:\n if (!(i < extensions.length)) return [3 /*break*/, 4];\n fileUrl = charIconBaseUrl + extensions[i];\n return [4 /*yield*/, (0, fileExists_1.default)(fileUrl)];\n case 2:\n exists = _a.sent();\n if (exists) {\n img.alt = chargs[0];\n img.title = chargs[0];\n img.src = fileUrl;\n return [2 /*return*/];\n }\n _a.label = 3;\n case 3:\n i++;\n return [3 /*break*/, 1];\n case 4: return [2 /*return*/];\n }\n });\n }); };\n getCharIcon();\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, (0, request_1.default)(\"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(chargs[0].toLowerCase()), \"/char.ini\"))];\n case 2:\n cinidata = _a.sent();\n cini = (0, iniParse_1.default)(cinidata);\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n cini = {};\n img.classList.add(\"noini\");\n console.warn(\"character \".concat(chargs[0], \" is missing from webAO\"));\n return [3 /*break*/, 4];\n case 4:\n mute_select = (document.getElementById(\"mute_select\"));\n mute_select.add(new Option((0, encoding_1.safeTags)(chargs[0]), String(charid)));\n pair_select = (document.getElementById(\"pair_select\"));\n pair_select.add(new Option((0, encoding_1.safeTags)(chargs[0]), String(charid)));\n default_options = {\n name: chargs[0],\n showname: chargs[0],\n side: \"def\",\n blips: \"male\",\n chat: \"\",\n category: \"\",\n };\n cini.options = Object.assign(default_options, cini.options);\n default_emotions = {\n number: 0,\n };\n cini.emotions = Object.assign(default_emotions, cini.emotions);\n client_1.client.chars[charid] = {\n name: (0, encoding_1.safeTags)(chargs[0]),\n showname: (0, encoding_1.safeTags)(cini.options.showname),\n desc: (0, encoding_1.safeTags)(chargs[1]),\n blips: (0, encoding_1.safeTags)(cini.options.blips).toLowerCase(),\n gender: (0, encoding_1.safeTags)(cini.options.gender).toLowerCase(),\n side: (0, encoding_1.safeTags)(cini.options.side).toLowerCase(),\n chat: cini.options.chat === \"\"\n ? (0, encoding_1.safeTags)(cini.options.category).toLowerCase()\n : (0, encoding_1.safeTags)(cini.options.chat).toLowerCase(),\n evidence: chargs[3],\n icon: img.src,\n inifile: cini,\n muted: false,\n };\n if (client_1.client.chars[charid].blips === \"male\" &&\n client_1.client.chars[charid].gender !== \"male\" &&\n client_1.client.chars[charid].gender !== \"\") {\n client_1.client.chars[charid].blips = client_1.client.chars[charid].gender;\n }\n return [3 /*break*/, 6];\n case 5:\n console.warn(\"missing charid \".concat(charid));\n img.style.display = \"none\";\n _a.label = 6;\n case 6: return [2 /*return*/];\n }\n });\n}); };\nexports.handleCharacterInfo = handleCharacterInfo;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isAudio = void 0;\nvar isAudio = function (trackname) {\n var audioEndings = [\".wav\", \".mp3\", \".ogg\", \".opus\"];\n return (audioEndings.filter(function (ending) { return trackname.endsWith(ending); }).length === 1);\n};\nexports.isAudio = isAudio;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isLowMemory = void 0;\nvar client_1 = require(\"../client\");\nvar isLowMemory = function () {\n if (/webOS|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|PlayStation|Nintendo|Opera Mini/i.test(navigator.userAgent)) {\n (0, client_1.setOldLoading)(true);\n }\n};\nexports.isLowMemory = isLowMemory;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.loadResources = void 0;\nvar getCookie_1 = require(\"../utils/getCookie\");\nvar evidence_js_1 = require(\"../constants/evidence.js\");\nvar backgrounds_js_1 = require(\"../constants/backgrounds.js\");\nvar changeMusicVolume_1 = require(\"../dom/changeMusicVolume\");\nvar setChatbox_1 = require(\"../dom/setChatbox\");\nvar changeVolume_1 = require(\"../dom/changeVolume\");\nvar showNameClick_1 = require(\"../dom/showNameClick\");\nvar changeBlipVolume_1 = require(\"../dom/changeBlipVolume\");\nvar reloadTheme_1 = require(\"../dom/reloadTheme\");\nvar version = process.env.npm_package_version;\n/**\n * Load game resources and stored settings.\n */\nvar loadResources = function () {\n document.getElementById(\"client_version\").innerText = \"version \".concat(version);\n // Load background array to select\n var background_select = (document.getElementById(\"bg_select\"));\n background_select.add(new Option(\"Custom\", \"0\"));\n backgrounds_js_1.default.forEach(function (background) {\n background_select.add(new Option(background));\n });\n // Load evidence array to select\n var evidence_select = (document.getElementById(\"evi_select\"));\n evidence_select.add(new Option(\"Custom\", \"0\"));\n evidence_js_1.default.forEach(function (evidence) {\n evidence_select.add(new Option(evidence));\n });\n // Read cookies and set the UI to its values\n document.getElementById(\"OOC_name\").value =\n (0, getCookie_1.default)(\"OOC_name\") ||\n \"web\".concat(String(Math.round(Math.random() * 100 + 10)));\n // Read cookies and set the UI to its values\n var cookietheme = (0, getCookie_1.default)(\"theme\") || \"default\";\n (document.querySelector(\"#client_themeselect [value=\\\"\".concat(cookietheme, \"\\\"]\"))).selected = true;\n (0, reloadTheme_1.reloadTheme)();\n var cookiechatbox = (0, getCookie_1.default)(\"chatbox\") || \"dynamic\";\n (document.querySelector(\"#client_chatboxselect [value=\\\"\".concat(cookiechatbox, \"\\\"]\"))).selected = true;\n (0, setChatbox_1.setChatbox)(cookiechatbox);\n document.getElementById(\"client_mvolume\").value =\n (0, getCookie_1.default)(\"musicVolume\") || \"1\";\n (0, changeMusicVolume_1.changeMusicVolume)();\n document.getElementById(\"client_sfxaudio\").volume =\n Number((0, getCookie_1.default)(\"sfxVolume\")) || 1;\n (0, changeVolume_1.changeSFXVolume)();\n document.getElementById(\"client_shoutaudio\").volume =\n Number((0, getCookie_1.default)(\"shoutVolume\")) || 1;\n (0, changeVolume_1.changeShoutVolume)();\n (document.getElementById(\"client_testimonyaudio\")).volume = Number((0, getCookie_1.default)(\"testimonyVolume\")) || 1;\n (0, changeVolume_1.changeTestimonyVolume)();\n document.getElementById(\"client_bvolume\").value =\n (0, getCookie_1.default)(\"blipVolume\") || \"1\";\n (0, changeBlipVolume_1.changeBlipVolume)();\n document.getElementById(\"ic_chat_name\").value =\n (0, getCookie_1.default)(\"ic_chat_name\");\n document.getElementById(\"showname\").checked = Boolean((0, getCookie_1.default)(\"showname\"));\n (0, showNameClick_1.showname_click)(null);\n document.getElementById(\"client_callwords\").value =\n (0, getCookie_1.default)(\"callwords\");\n};\nexports.loadResources = loadResources;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resetICParams = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Resets the IC parameters for the player to enter a new chat message.\n * This should only be called when the player's previous chat message\n * was successfully sent/presented.\n */\nfunction resetICParams() {\n document.getElementById(\"client_inputbox\").value = \"\";\n document.getElementById(\"button_flash\").className = \"client_button\";\n document.getElementById(\"button_shake\").className = \"client_button\";\n document.getElementById(\"sendpreanim\").checked = false;\n document.getElementById(\"sendsfx\").checked = false;\n if (client_1.selectedShout) {\n document.getElementById(\"button_\".concat(client_1.selectedShout)).className =\n \"client_button\";\n (0, client_1.setSelectedShout)(0);\n }\n}\nexports.resetICParams = resetICParams;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.saveChatlogHandle = void 0;\nvar downloadFile_1 = require(\"../services/downloadFile\");\nvar saveChatlogHandle = function () { return __awaiter(void 0, void 0, void 0, function () {\n var clientLog, icMessageLogs, messages, i, SHOWNAME_POSITION, TEXT_POSITION, showname, text, message, d, ye, mo, da, filename;\n return __generator(this, function (_a) {\n clientLog = document.getElementById(\"client_log\");\n icMessageLogs = clientLog.getElementsByTagName(\"p\");\n messages = [];\n for (i = 0; i < icMessageLogs.length; i++) {\n SHOWNAME_POSITION = 0;\n TEXT_POSITION = 2;\n showname = icMessageLogs[i].children[SHOWNAME_POSITION].innerHTML;\n text = icMessageLogs[i].children[TEXT_POSITION].innerHTML;\n message = \"\".concat(showname, \": \").concat(text);\n messages.push(message);\n }\n d = new Date();\n ye = new Intl.DateTimeFormat(\"en\", { year: \"numeric\" }).format(d);\n mo = new Intl.DateTimeFormat(\"en\", { month: \"short\" }).format(d);\n da = new Intl.DateTimeFormat(\"en\", { day: \"2-digit\" }).format(d);\n filename = \"chatlog-\".concat(da, \"-\").concat(mo, \"-\").concat(ye).toLowerCase();\n (0, downloadFile_1.default)(messages.join(\"\\n\"), filename);\n // Reset Chatbox to Empty\n document.getElementById(\"client_inputbox\").value = \"\";\n return [2 /*return*/];\n });\n}); };\nexports.saveChatlogHandle = saveChatlogHandle;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sender = void 0;\nvar sendIC_1 = require(\"./sendIC\");\nvar sendSelf_1 = require(\"./sendSelf\");\nvar sendServer_1 = require(\"./sendServer\");\nvar sendCheck_1 = require(\"./sendCheck\");\nvar sendHP_1 = require(\"./sendHP\");\nvar sendOOC_1 = require(\"./sendOOC\");\nvar sendCharacter_1 = require(\"./sendCharacter\");\nvar sendRT_1 = require(\"./sendRT\");\nvar sendMusicChange_1 = require(\"./sendMusicChange\");\nvar sendZZ_1 = require(\"./sendZZ\");\nvar sendEE_1 = require(\"./sendEE\");\nvar sendDE_1 = require(\"./sendDE\");\nvar sendPE_1 = require(\"./sendPE\");\nexports.sender = {\n sendIC: sendIC_1.sendIC,\n sendSelf: sendSelf_1.sendSelf,\n sendServer: sendServer_1.sendServer,\n sendCheck: sendCheck_1.sendCheck,\n sendHP: sendHP_1.sendHP,\n sendOOC: sendOOC_1.sendOOC,\n sendCharacter: sendCharacter_1.sendCharacter,\n sendRT: sendRT_1.sendRT,\n sendMusicChange: sendMusicChange_1.sendMusicChange,\n sendZZ: sendZZ_1.sendZZ,\n sendEE: sendEE_1.sendEE,\n sendDE: sendDE_1.sendDE,\n sendPE: sendPE_1.sendPE\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendCharacter = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Requests to play as a specified character.\n * @param {number} character the character ID\n */\nvar sendCharacter = function (character) {\n if (character === -1 || client_1.client.chars[character].name) {\n client_1.client.sender.sendServer(\"CC#\".concat(client_1.client.playerID, \"#\").concat(character, \"#web#%\"));\n }\n};\nexports.sendCharacter = sendCharacter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendCheck = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends a keepalive packet.\n */\nvar sendCheck = function () {\n client_1.client.sender.sendServer(\"CH#\".concat(client_1.client.charID, \"#%\"));\n};\nexports.sendCheck = sendCheck;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendDE = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends delete evidence command.\n * @param {number} evidence id\n */\nvar sendDE = function (id) {\n client_1.client.sender.sendServer(\"DE#\".concat(id, \"#%\"));\n};\nexports.sendDE = sendDE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendEE = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Sends edit evidence command.\n * @param {number} evidence id\n * @param {string} evidence name\n * @param {string} evidence description\n * @param {string} evidence image filename\n */\nvar sendEE = function (id, name, desc, img) {\n client_1.client.sender.sendServer(\"EE#\".concat(id, \"#\").concat((0, encoding_1.escapeChat)(name), \"#\").concat((0, encoding_1.escapeChat)(desc), \"#\").concat((0, encoding_1.escapeChat)(img), \"#%\"));\n};\nexports.sendEE = sendEE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendHP = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends health point command.\n * @param {number} side the position\n * @param {number} hp the health point\n */\nvar sendHP = function (side, hp) {\n client_1.client.sender.sendServer(\"HP#\".concat(side, \"#\").concat(hp, \"#%\"));\n};\nexports.sendHP = sendHP;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendIC = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\nvar client_2 = require(\"../../client\");\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Sends an in-character chat message.\n * @param {number} deskmod controls the desk\n * @param {string} speaking who is speaking\n * @param {string} name the name of the current character\n * @param {string} silent whether or not it's silent\n * @param {string} message the message to be sent\n * @param {string} side the name of the side in the background\n * @param {string} sfx_name the name of the sound effect\n * @param {number} emote_modifier whether or not to zoom\n * @param {number} sfx_delay the delay (in milliseconds) to play the sound effect\n * @param {number} objection_modifier the number of the shout to play\n * @param {string} evidence the filename of evidence to show\n * @param {boolean} flip change to 1 to reverse sprite for position changes\n * @param {boolean} realization screen flash effect\n * @param {number} text_color text color\n * @param {string} showname custom name to be displayed (optional)\n * @param {number} other_charid paired character (optional)\n * @param {number} self_offset offset to paired character (optional)\n * @param {number} noninterrupting_preanim play the full preanim (optional)\n */\nvar sendIC = function (deskmod, preanim, name, emote, message, side, sfx_name, emote_modifier, sfx_delay, objection_modifier, evidence, flip, realization, text_color, showname, other_charid, self_hoffset, self_yoffset, noninterrupting_preanim, looping_sfx, screenshake, frame_screenshake, frame_realization, frame_sfx, additive, effect) {\n var extra_cccc = \"\";\n var other_emote = \"\";\n var other_offset = \"\";\n var extra_27 = \"\";\n var extra_28 = \"\";\n if (client_1.extrafeatures.includes(\"cccc_ic_support\")) {\n var self_offset = client_1.extrafeatures.includes(\"y_offset\")\n ? \"\".concat(self_hoffset, \"\").concat(self_yoffset)\n : self_hoffset; // HACK: this should be an & but client fucked it up and all the servers adopted it\n if (mode === \"replay\") {\n other_emote = \"##\";\n other_offset = \"#0#0\";\n }\n extra_cccc = \"\".concat((0, encoding_1.escapeChat)(showname), \"#\").concat(other_charid).concat(other_emote, \"#\").concat(self_offset).concat(other_offset, \"#\").concat(Number(noninterrupting_preanim), \"#\");\n if (client_1.extrafeatures.includes(\"looping_sfx\")) {\n extra_27 = \"\".concat(Number(looping_sfx), \"#\").concat(Number(screenshake), \"#\").concat(frame_screenshake, \"#\").concat(frame_realization, \"#\").concat(frame_sfx, \"#\");\n if (client_1.extrafeatures.includes(\"effects\")) {\n extra_28 = \"\".concat(Number(additive), \"#\").concat((0, encoding_1.escapeChat)(effect), \"#\");\n }\n }\n }\n var serverMessage = \"MS#\".concat(deskmod, \"#\").concat((0, encoding_1.escapeChat)(preanim), \"#\").concat((0, encoding_1.escapeChat)(name), \"#\").concat((0, encoding_1.escapeChat)(emote)) +\n \"#\".concat((0, encoding_1.escapeChat)(message), \"#\").concat((0, encoding_1.escapeChat)(side), \"#\").concat((0, encoding_1.escapeChat)(sfx_name), \"#\").concat(emote_modifier) +\n \"#\".concat(client_2.client.charID, \"#\").concat(sfx_delay, \"#\").concat(Number(objection_modifier), \"#\").concat(Number(evidence), \"#\").concat(Number(flip), \"#\").concat(Number(realization), \"#\").concat(text_color, \"#\").concat(extra_cccc).concat(extra_27).concat(extra_28, \"%\");\n client_2.client.sender.sendServer(serverMessage);\n if (mode === \"replay\") {\n (document.getElementById(\"client_ooclog\")).value += \"wait#\".concat(document.getElementById(\"client_replaytimer\").value, \"#%\\r\\n\");\n }\n};\nexports.sendIC = sendIC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendMusicChange = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Requests to change the music to the specified track.\n * @param {string} track the track ID\n */\nvar sendMusicChange = function (track) {\n client_1.client.sender.sendServer(\"MC#\".concat(track, \"#\").concat(client_1.client.charID, \"#%\"));\n};\nexports.sendMusicChange = sendMusicChange;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendOOC = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\nvar setCookie_1 = require(\"../../utils/setCookie\");\nvar saveChatLogHandle_1 = require(\"../../client/saveChatLogHandle\");\n/**\n * Sends an out-of-character chat message.\n * @param {string} message the message to send\n */\nvar sendOOC = function (message) {\n (0, setCookie_1.default)(\"OOC_name\", document.getElementById(\"OOC_name\").value);\n var oocName = \"\".concat((0, encoding_1.escapeChat)(document.getElementById(\"OOC_name\").value));\n var oocMessage = \"\".concat((0, encoding_1.escapeChat)(message));\n var commands = {\n \"/save_chatlog\": saveChatLogHandle_1.saveChatlogHandle,\n };\n var commandsMap = new Map(Object.entries(commands));\n if (oocMessage && commandsMap.has(oocMessage.toLowerCase())) {\n try {\n commandsMap.get(oocMessage.toLowerCase())();\n }\n catch (e) {\n // Command Not Recognized\n }\n }\n else {\n client_1.client.sender.sendServer(\"CT#\".concat(oocName, \"#\").concat(oocMessage, \"#%\"));\n }\n};\nexports.sendOOC = sendOOC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendPE = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Sends add evidence command.\n * @param {string} evidence name\n * @param {string} evidence description\n * @param {string} evidence image filename\n */\nvar sendPE = function (name, desc, img) {\n client_1.client.sender.sendServer(\"PE#\".concat((0, encoding_1.escapeChat)(name), \"#\").concat((0, encoding_1.escapeChat)(desc), \"#\").concat((0, encoding_1.escapeChat)(img), \"#%\"));\n};\nexports.sendPE = sendPE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendRT = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends testimony command.\n * @param {string} testimony type\n */\nvar sendRT = function (testimony) {\n client_1.client.sender.sendServer(\"RT#\".concat(testimony, \"#%\"));\n};\nexports.sendRT = sendRT;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendSelf = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Hook for sending messages to the client\n * @param {string} message the message to send\n */\nvar sendSelf = function (message) {\n (document.getElementById(\"client_ooclog\")).value += \"\".concat(message, \"\\r\\n\");\n client_1.client.handleSelf(message);\n};\nexports.sendSelf = sendSelf;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendServer = void 0;\nvar client_1 = require(\"../../client\");\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Hook for sending messages to the server\n * @param {string} message the message to send\n */\nvar sendServer = function (message) {\n console.debug(\"C: \" + message);\n mode === \"replay\" ? client_1.client.sender.sendSelf(message) : client_1.client.serv.send(message);\n};\nexports.sendServer = sendServer;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendZZ = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Sends call mod command.\n * @param {string} message to mod\n */\nvar sendZZ = function (msg) {\n if (client_1.extrafeatures.includes(\"modcall_reason\")) {\n client_1.client.sender.sendServer(\"ZZ#\".concat(msg, \"#%\"));\n }\n else {\n client_1.client.sender.sendServer(\"ZZ#%\");\n }\n};\nexports.sendZZ = sendZZ;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar transparentPng_1 = require(\"../constants/transparentPng\");\nvar fileExists_1 = require(\"../utils/fileExists\");\n/**\n * Sets all the img tags to the right sources\n * @param {*} chatmsg\n */\nvar setEmote = function (AO_HOST, client, charactername, emotename, prefix, pair, side) { return __awaiter(void 0, void 0, void 0, function () {\n var pairID, characterFolder, acceptedPositions, position, emoteSelector, extensionsMap, extensionsMap_1, extensionsMap_1_1, extension, url, exists, e_1_1;\n var e_1, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n pairID = pair ? \"pair\" : \"char\";\n characterFolder = \"\".concat(AO_HOST, \"characters/\");\n acceptedPositions = [\"def\", \"pro\", \"wit\"];\n position = acceptedPositions.includes(side) ? \"\".concat(side, \"_\") : \"\";\n emoteSelector = document.getElementById(\"client_\".concat(position).concat(pairID, \"_img\"));\n extensionsMap = [\".gif\", \".png\", \".apng\", \".webp\", \".webp.static\"];\n _b.label = 1;\n case 1:\n _b.trys.push([1, 6, 7, 8]);\n extensionsMap_1 = __values(extensionsMap), extensionsMap_1_1 = extensionsMap_1.next();\n _b.label = 2;\n case 2:\n if (!!extensionsMap_1_1.done) return [3 /*break*/, 5];\n extension = extensionsMap_1_1.value;\n // Hides all sprites before creating a new sprite\n if (client.viewport.getLastCharacter() !== client.viewport.getChatmsg().name) {\n emoteSelector.src = transparentPng_1.default;\n }\n url = void 0;\n if (extension === \".png\") {\n url = \"\".concat(characterFolder).concat(encodeURI(charactername), \"/\").concat(encodeURI(emotename)).concat(extension);\n }\n else if (extension === \".webp.static\") {\n url = \"\".concat(characterFolder).concat(encodeURI(charactername), \"/\").concat(encodeURI(emotename), \".webp\");\n }\n else {\n url = \"\".concat(characterFolder).concat(encodeURI(charactername), \"/\").concat(encodeURI(prefix)).concat(encodeURI(emotename)).concat(extension);\n }\n return [4 /*yield*/, (0, fileExists_1.default)(url)];\n case 3:\n exists = _b.sent();\n if (exists) {\n emoteSelector.src = url;\n return [3 /*break*/, 5];\n }\n _b.label = 4;\n case 4:\n extensionsMap_1_1 = extensionsMap_1.next();\n return [3 /*break*/, 2];\n case 5: return [3 /*break*/, 8];\n case 6:\n e_1_1 = _b.sent();\n e_1 = { error: e_1_1 };\n return [3 /*break*/, 8];\n case 7:\n try {\n if (extensionsMap_1_1 && !extensionsMap_1_1.done && (_a = extensionsMap_1.return)) _a.call(extensionsMap_1);\n }\n finally { if (e_1) throw e_1.error; }\n return [7 /*endfinally*/];\n case 8: return [2 /*return*/];\n }\n });\n}); };\nexports.default = setEmote;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.area_click = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Triggered when an item on the area list is clicked.\n * @param {HTMLElement} el\n */\nfunction area_click(el) {\n var area = client_1.client.areas[el.id.substr(4)].name;\n client_1.client.sender.sendMusicChange(area);\n var areaHr = document.createElement(\"div\");\n areaHr.className = \"hrtext\";\n areaHr.textContent = \"switched to \".concat(el.textContent);\n document.getElementById(\"client_log\").appendChild(areaHr);\n}\nexports.area_click = area_click;\nwindow.area_click = area_click;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.changeBlipVolume = void 0;\nvar setCookie_1 = require(\"../utils/setCookie\");\nvar client_1 = require(\"../client\");\n/**\n * Triggered by the blip volume slider.\n */\nvar changeBlipVolume = function () {\n var blipVolume = (document.getElementById(\"client_bvolume\")).value;\n client_1.client.viewport.blipChannels.forEach(function (channel) { return (channel.volume = Number(blipVolume)); });\n (0, setCookie_1.default)(\"blipVolume\", blipVolume);\n};\nexports.changeBlipVolume = changeBlipVolume;\nwindow.changeBlipVolume = exports.changeBlipVolume;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.changeMusicVolume = void 0;\nvar client_1 = require(\"../client\");\nvar setCookie_1 = require(\"../utils/setCookie\");\nvar changeMusicVolume = function (volume) {\n if (volume === void 0) { volume = -1; }\n var clientVolume = Number(document.getElementById(\"client_mvolume\").value);\n var musicVolume = volume === -1 ? clientVolume : volume;\n client_1.client.viewport.music.forEach(function (channel) { return (channel.volume = musicVolume); });\n (0, setCookie_1.default)(\"musicVolume\", String(musicVolume));\n};\nexports.changeMusicVolume = changeMusicVolume;\nwindow.changeMusicVolume = exports.changeMusicVolume;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getIndexFromSelect = void 0;\n/**\n * Find index of anything in select box.\n * @param {string} select_box the select element name\n * @param {string} value the value that need to be compared\n */\nfunction getIndexFromSelect(select_box, value) {\n // Find if icon alraedy existed in select box\n var select_element = document.getElementById(select_box);\n for (var i = 1; i < select_element.length; ++i) {\n if (select_element.options[i].value === value) {\n return i;\n }\n }\n return 0;\n}\nexports.getIndexFromSelect = getIndexFromSelect;\nwindow.getIndexFromSelect = getIndexFromSelect;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.onReplayGo = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Triggered when the user click replay GOOOOO\n * @param {KeyboardEvent} event\n */\nfunction onReplayGo(_event) {\n client_1.client.handleReplay();\n}\nexports.onReplayGo = onReplayGo;\nwindow.onReplayGo = onReplayGo;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.opusCheck = void 0;\n/**\n * Triggered when there was an error loading a sound\n * @param {HTMLAudioElement} image the element containing the missing sound\n */\nfunction opusCheck(channel) {\n var audio = channel.src;\n if (audio === \"\") {\n return;\n }\n console.warn(\"failed to load sound \".concat(channel.src));\n var oldsrc = \"\";\n var newsrc = \"\";\n oldsrc = channel.src;\n if (!oldsrc.endsWith(\".opus\")) {\n newsrc = oldsrc.replace(\".mp3\", \".opus\");\n newsrc = newsrc.replace(\".wav\", \".opus\");\n channel.src = newsrc; // unload so the old sprite doesn't persist\n }\n}\nexports.opusCheck = opusCheck;\nwindow.opusCheck = opusCheck;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.pickEmotion = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Highlights and selects an emotion for in-character chat.\n * @param {string} emo the new emotion to be selected\n */\nfunction pickEmotion(emo) {\n try {\n if (client_1.client.selectedEmote !== -1) {\n document.getElementById(\"emo_\".concat(client_1.client.selectedEmote)).className =\n \"emote_button\";\n }\n }\n catch (err) {\n // do nothing\n }\n client_1.client.selectedEmote = emo;\n document.getElementById(\"emo_\".concat(emo)).className = \"emote_button dark\";\n document.getElementById(\"sendsfx\").checked =\n client_1.client.emote.sfx.length > 1;\n document.getElementById(\"sendpreanim\").checked =\n client_1.client.emote.zoom == 1;\n}\nexports.pickEmotion = pickEmotion;\nwindow.pickEmotion = pickEmotion;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reloadTheme = void 0;\nvar client_1 = require(\"../client\");\nvar setCookie_1 = require(\"../utils/setCookie\");\n/**\n * Triggered by the theme selector.\n */\nvar reloadTheme = function () {\n client_1.client.viewport.setTheme(document.getElementById(\"client_themeselect\")\n .value);\n (0, setCookie_1.default)(\"theme\", client_1.client.viewport.getTheme());\n (document.getElementById(\"client_theme\")).href = \"styles/\".concat(client_1.client.viewport.getTheme(), \".css\");\n};\nexports.reloadTheme = reloadTheme;\nwindow.reloadTheme = exports.reloadTheme;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resizeChatbox = void 0;\nvar client_1 = require(\"../client\");\n/**\n * Set the font size for the chatbox\n */\nfunction resizeChatbox() {\n var chatContainerBox = document.getElementById(\"client_chatcontainer\");\n var clockBox = document.getElementById(\"client_clock\");\n var trackstatusBox = document.getElementById(\"client_trackstatus\");\n var gameHeight = document.getElementById(\"client_background\").offsetHeight;\n chatContainerBox.style.fontSize = \"\".concat((gameHeight * 0.0521).toFixed(1), \"px\");\n clockBox.style.fontSize = \"\".concat((gameHeight * 0.0521).toFixed(1), \"px\");\n trackstatusBox.style.fontSize = \"\".concat((gameHeight * 0.0521).toFixed(1), \"px\");\n var trackstatus = (document.getElementById(\"client_trackstatustext\"));\n trackstatus.style.width = (trackstatus.offsetWidth - 1) + \"px\";\n //clock\n var now = new Date();\n var weekday = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"];\n var month = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"];\n document.getElementById(\"client_clock_month\").innerText = month[now.getMonth()];\n if (client_1.CHATBOX == \"acww\") {\n weekday = [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"];\n document.getElementById(\"client_clock_weekday\").innerText = weekday[now.getDay()];\n document.getElementById(\"client_clock_date\").innerText = now.getDay() + \"/\" + now.getMonth();\n document.getElementById(\"client_clock_time\").innerText = now.getHours() + \":\" + now.getMinutes();\n }\n else if (client_1.CHATBOX == \"key\") {\n weekday = [\"Sun.\", \"Mon.\", \"Tue.\", \"Wed.\", \"Thu.\", \"Fri.\", \"Sat.\"];\n document.getElementById(\"client_clock_weekday\").innerText = weekday[now.getDay()];\n document.getElementById(\"client_clock_date\").innerText = String(now.getDate());\n }\n}\nexports.resizeChatbox = resizeChatbox;\nwindow.resizeChatbox = resizeChatbox;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setChatbox = void 0;\nvar client_1 = require(\"../client\");\nvar chatboxes_js_1 = require(\"../styles/chatbox/chatboxes.js\");\nvar setCookie_1 = require(\"../utils/setCookie\");\n/**\n * Set the style of the chatbox\n */\nfunction setChatbox(setstyle) {\n var chatbox_theme = (document.getElementById(\"chatbox_theme\"));\n var themeselect = (document.getElementById(\"client_chatboxselect\"));\n (0, client_1.setCHATBOX)(themeselect.value);\n (0, setCookie_1.default)(\"chatbox\", client_1.CHATBOX);\n if (client_1.CHATBOX === \"dynamic\") {\n var style = setstyle.replace(\"chat\", \"\");\n if (chatboxes_js_1.default.includes(style)) {\n chatbox_theme.href = \"styles/chatbox/\".concat(style, \".css\");\n }\n else {\n chatbox_theme.href = \"styles/chatbox/aa.css\";\n }\n }\n else {\n chatbox_theme.href = \"styles/chatbox/\".concat(client_1.CHATBOX, \".css\");\n }\n}\nexports.setChatbox = setChatbox;\nwindow.setChatbox = setChatbox;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.showname_click = void 0;\nvar setCookie_1 = require(\"../utils/setCookie\");\n/**\n * Triggered when the showname checkboc is clicked\n * @param {MouseEvent} event\n */\nfunction showname_click(_event) {\n (0, setCookie_1.default)(\"showname\", String(document.getElementById(\"showname\").checked));\n (0, setCookie_1.default)(\"ic_chat_name\", document.getElementById(\"ic_chat_name\").value);\n var css_s = document.getElementById(\"nameplate_setting\");\n if (document.getElementById(\"showname\").checked) {\n css_s.href = \"styles/shownames.css\";\n }\n else {\n css_s.href = \"styles/nameplates.css\";\n }\n}\nexports.showname_click = showname_click;\nwindow.showname_click = showname_click;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.showFactorDialog = void 0;\nvar client_1 = require(\"../client\");\nfunction handleCredentialResponse(response) {\n client_1.client.sender.sendServer(\"2T#\".concat(response.credential, \"#%\"));\n}\nwindow.handleCredentialResponse = handleCredentialResponse;\nfunction showFactorDialog(args) {\n document.getElementById(\"client_secondfactor\").style.display = args[1];\n}\nexports.showFactorDialog = showFactorDialog;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.updateActionCommands = void 0;\n/**\n * Update evidence icon.\n */\nfunction updateActionCommands(side) {\n if (side === \"jud\") {\n document.getElementById(\"judge_action\").style.display = \"inline-table\";\n document.getElementById(\"no_action\").style.display = \"none\";\n }\n else {\n document.getElementById(\"judge_action\").style.display = \"none\";\n document.getElementById(\"no_action\").style.display = \"inline-table\";\n }\n // Update role selector\n for (var i = 0, role_select = document.getElementById(\"role_select\"); i < role_select.options.length; i++) {\n if (side === role_select.options[i].value) {\n role_select.options.selectedIndex = i;\n return;\n }\n }\n}\nexports.updateActionCommands = updateActionCommands;\nwindow.updateActionCommands = updateActionCommands;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.updateBackgroundPreview = void 0;\nvar aoHost_1 = require(\"../client/aoHost\");\nvar tryUrls_1 = require(\"../utils/tryUrls\");\n/**\n * Update background preview.\n */\nfunction updateBackgroundPreview() {\n var background_select = (document.getElementById(\"bg_select\"));\n var background_filename = (document.getElementById(\"bg_filename\"));\n var background_preview = (document.getElementById(\"bg_preview\"));\n if (background_select.selectedIndex === 0) {\n background_filename.style.display = \"initial\";\n }\n else {\n background_filename.style.display = \"none\";\n }\n (0, tryUrls_1.default)(\"\".concat(aoHost_1.AO_HOST, \"background/\").concat(encodeURI(background_select.value.toLowerCase()), \"/defenseempty\")).then(function (resp) {\n background_preview.src = resp;\n });\n}\nexports.updateBackgroundPreview = updateBackgroundPreview;\nwindow.updateBackgroundPreview = updateBackgroundPreview;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.prepChat = exports.decodeChat = exports.safeTags = exports.unescapeChat = exports.escapeChat = void 0;\n/**\n * Escapes a string to AO1 escape codes.\n * @param {string} estring the string to be escaped\n */\nfunction escapeChat(estring) {\n return estring\n .replaceAll('#', '')\n .replaceAll('&', '')\n .replaceAll('%', '')\n .replaceAll('$', '');\n}\nexports.escapeChat = escapeChat;\n/**\n * Unescapes a string to AO1 escape codes.\n * @param {string} estring the string to be unescaped\n */\nfunction unescapeChat(estring) {\n return estring\n .replaceAll('', '#')\n .replaceAll('', '&')\n .replaceAll('', '%')\n .replaceAll('', '$');\n}\nexports.unescapeChat = unescapeChat;\n/**\n * Escapes a string to be HTML-safe.\n *\n * XXX: This is unnecessary if we use `createTextNode` instead!\n * @param {string} unsafe an unsanitized string\n */\nfunction safeTags(unsafe) {\n if (unsafe) {\n return unsafe\n .replaceAll('>', '>')\n .replaceAll('<', '<');\n }\n return '';\n}\nexports.safeTags = safeTags;\n/**\n * Decodes text on client side.\n * @param {string} estring the string to be decoded\n */\nfunction decodeChat(estring) {\n // Source: https://stackoverflow.com/questions/7885096/how-do-i-decode-a-string-with-escaped-unicode\n return estring.replace(/\\\\u([\\d\\w]{1,})/gi, function (match, group) { return String.fromCharCode(parseInt(group, 16)); });\n}\nexports.decodeChat = decodeChat;\n/**\n * XXX: a nasty hack made by gameboyprinter.\n * @param {string} msg chat message to prepare for display\n */\nfunction prepChat(msg) {\n // TODO: make this less awful\n return safeTags(unescapeChat(decodeChat(msg)));\n}\nexports.prepChat = prepChat;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleARUP = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handle the change of players in an area.\n * @param {Array} args packet arguments\n */\nvar handleARUP = function (args) {\n args = args.slice(1);\n for (var i = 0; i < args.length - 2; i++) {\n if (client_1.client.areas[i]) {\n // the server sends us ARUP before we even get the area list\n var thisarea = document.getElementById(\"area\".concat(i));\n switch (Number(args[0])) {\n case 0: // playercount\n client_1.client.areas[i].players = Number(args[i + 1]);\n break;\n case 1: // status\n client_1.client.areas[i].status = (0, encoding_1.safeTags)(args[i + 1]);\n break;\n case 2:\n client_1.client.areas[i].cm = (0, encoding_1.safeTags)(args[i + 1]);\n break;\n case 3:\n client_1.client.areas[i].locked = (0, encoding_1.safeTags)(args[i + 1]);\n break;\n }\n thisarea.className = \"area-button area-\".concat(client_1.client.areas[i].status.toLowerCase());\n thisarea.innerText = \"\".concat(client_1.client.areas[i].name, \" (\").concat(client_1.client.areas[i].players, \") [\").concat(client_1.client.areas[i].status, \"]\");\n thisarea.title =\n \"Players: \".concat(client_1.client.areas[i].players, \"\\n\") +\n \"Status: \".concat(client_1.client.areas[i].status, \"\\n\") +\n \"CM: \".concat(client_1.client.areas[i].cm, \"\\n\") +\n \"Area lock: \".concat(client_1.client.areas[i].locked);\n }\n }\n};\nexports.handleARUP = handleARUP;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleASS = void 0;\nvar aoHost_1 = require(\"../../client/aoHost\");\n/**\n* new asset url!!\n* @param {Array} args packet arguments\n*/\nvar handleASS = function (args) {\n if (args[1] !== \"None\")\n (0, aoHost_1.setAOhost)(args[1]);\n};\nexports.handleASS = handleASS;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleBB = void 0;\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles the warning packet\n * on client this spawns a message box you can't close for 2 seconds\n * @param {Array} args ban reason\n */\nvar handleBB = function (args) {\n alert((0, encoding_1.safeTags)(args[1]));\n};\nexports.handleBB = handleBB;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleBD = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\nvar handleBans_1 = require(\"../../client/handleBans\");\n/**\n * Handles the banned packet\n * this one is sent when you try to reconnect but you're banned\n * @param {Array} args ban reason\n */\nvar handleBD = function (args) {\n (0, handleBans_1.handleBans)(\"Banned\", (0, encoding_1.safeTags)(args[1]));\n (0, client_1.setBanned)(true);\n};\nexports.handleBD = handleBD;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleBN = void 0;\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar encoding_1 = require(\"../../encoding\");\nvar updateBackgroundPreview_1 = require(\"../../dom/updateBackgroundPreview\");\nvar getIndexFromSelect_1 = require(\"../../dom/getIndexFromSelect\");\nvar tryUrls_1 = require(\"../../utils/tryUrls\");\n/**\n * Handles a background change.\n * @param {Array} args packet arguments\n */\nvar handleBN = function (args) {\n var bgFromArgs = (0, encoding_1.safeTags)(args[1]);\n client_1.client.viewport.setBackgroundName(bgFromArgs);\n var bgfolder = client_1.client.viewport.getBackgroundFolder();\n var bg_index = (0, getIndexFromSelect_1.getIndexFromSelect)(\"bg_select\", client_1.client.viewport.getBackgroundName());\n document.getElementById(\"bg_select\").selectedIndex =\n bg_index;\n (0, updateBackgroundPreview_1.updateBackgroundPreview)();\n if (bg_index === 0) {\n document.getElementById(\"bg_filename\").value =\n client_1.client.viewport.getBackgroundName();\n }\n (0, tryUrls_1.default)(\"\".concat(aoHost_1.AO_HOST, \"background/\").concat(encodeURI(args[1].toLowerCase()), \"/defenseempty\")).then(function (resp) {\n document.getElementById(\"bg_preview\").src = resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"defensedesk\")).then(function (resp) {\n document.getElementById(\"client_def_bench\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"stand\")).then(function (resp) {\n document.getElementById(\"client_wit_bench\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"prosecutiondesk\")).then(function (resp) {\n document.getElementById(\"client_pro_bench\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"full\")).then(function (resp) {\n document.getElementById(\"client_court\").src = resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"defenseempty\")).then(function (resp) {\n document.getElementById(\"client_court_def\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"transition_def\")).then(function (resp) {\n document.getElementById(\"client_court_deft\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"witnessempty\")).then(function (resp) {\n document.getElementById(\"client_court_wit\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"transition_pro\")).then(function (resp) {\n document.getElementById(\"client_court_prot\").src =\n resp;\n });\n (0, tryUrls_1.default)(\"\".concat(bgfolder, \"prosecutorempty\")).then(function (resp) {\n document.getElementById(\"client_court_pro\").src =\n resp;\n });\n if (client_1.client.charID === -1) {\n client_1.client.viewport.set_side({\n position: \"jud\",\n showSpeedLines: false,\n showDesk: true,\n });\n }\n else {\n client_1.client.viewport.set_side({\n position: client_1.client.chars[client_1.client.charID].side,\n showSpeedLines: false,\n showDesk: true,\n });\n }\n};\nexports.handleBN = handleBN;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCC = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * What? you want a character??\n * @param {Array} args packet arguments\n */\nvar handleCC = function (args) {\n client_1.client.sender.sendSelf(\"PV#1#CID#\".concat(args[2], \"#%\"));\n};\nexports.handleCC = handleCC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCI = void 0;\nvar client_1 = require(\"../../client\");\nvar handleCharacterInfo_1 = require(\"../../client/handleCharacterInfo\");\n/**\n * Handles incoming character information, bundling multiple characters\n * per packet.\n * CI#0#Phoenix&description&&&&#Miles ...\n * @param {Array} args packet arguments\n */\nvar handleCI = function (args) {\n // Loop through the 10 characters that were sent\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Character \".concat(args[1], \"/\").concat(client_1.client.char_list_length);\n var _loop_1 = function (i) {\n if (i % 2 === 0) {\n var chargs_1 = args[i].split(\"&\");\n var charid_1 = Number(args[i - 1]);\n setTimeout(function () { return (0, handleCharacterInfo_1.handleCharacterInfo)(chargs_1, charid_1); }, 500);\n }\n };\n for (var i = 2; i <= args.length - 2; i++) {\n _loop_1(i);\n }\n // Request the next pack\n client_1.client.sender.sendServer(\"AN#\".concat(Number(args[1]) / 10 + 1, \"#%\"));\n};\nexports.handleCI = handleCI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCT = void 0;\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar encoding_1 = require(\"../../encoding\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Handles an out-of-character chat message.\n * @param {Array} args packet arguments\n */\nvar handleCT = function (args) {\n if (mode !== \"replay\") {\n var oocLog = document.getElementById(\"client_ooclog\");\n oocLog.innerHTML += \"\".concat((0, encoding_1.prepChat)(args[1]), \": \").concat((0, encoding_1.prepChat)(args[2]), \"\\r\\n\");\n if (oocLog.scrollTop > oocLog.scrollHeight - 600) {\n oocLog.scrollTop = oocLog.scrollHeight;\n }\n }\n};\nexports.handleCT = handleCT;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleCharsCheck = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Handles the list of all used and vacant characters.\n * @param {Array} args list of all characters represented as a 0 for free or a -1 for taken\n */\nvar handleCharsCheck = function (args) {\n for (var i = 0; i < client_1.client.char_list_length; i++) {\n var img = document.getElementById(\"demo_\".concat(i));\n if (args[i + 1] === \"-1\") {\n img.style.opacity = \"0.25\";\n }\n else if (args[i + 1] === \"0\") {\n img.style.opacity = \"1\";\n }\n }\n};\nexports.handleCharsCheck = handleCharsCheck;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleDONE = void 0;\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Handles the handshake completion packet, meaning the player\n * is ready to select a character.\n *\n * @param {Array} args packet arguments\n */\nvar handleDONE = function (_args) {\n document.getElementById(\"client_loading\").style.display = \"none\";\n if (mode === \"watch\") {\n // Spectators don't need to pick a character\n document.getElementById(\"client_waiting\").style.display = \"none\";\n }\n};\nexports.handleDONE = handleDONE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleEI = void 0;\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles incoming evidence information, containing only one evidence\n * item per packet.\n *\n * EI#id#name&description&type&image&##%\n *\n * @param {Array} args packet arguments\n */\nvar handleEI = function (args) {\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Evidence \".concat(args[1], \"/\").concat(client_1.client.evidence_list_length);\n var evidenceID = Number(args[1]);\n var arg = args[2].split(\"&\");\n client_1.client.evidences[evidenceID] = {\n name: (0, encoding_1.prepChat)(arg[0]),\n desc: (0, encoding_1.prepChat)(arg[1]),\n filename: (0, encoding_1.safeTags)(arg[3]),\n icon: \"\".concat(aoHost_1.AO_HOST, \"evidence/\").concat(encodeURI(arg[3].toLowerCase())),\n };\n client_1.client.sender.sendServer(\"AE\" + (evidenceID + 1) + \"#%\");\n};\nexports.handleEI = handleEI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleEM = void 0;\nvar client_1 = require(\"../../client\");\nvar addTrack_1 = require(\"../../client/addTrack\");\nvar createArea_1 = require(\"../../client/createArea\");\nvar fixLastArea_1 = require(\"../../client/fixLastArea\");\nvar isAudio_1 = require(\"../../client/isAudio\");\n/**\n * Handles incoming music information, containing multiple entries\n * per packet.\n * @param {Array} args packet arguments\n */\nvar handleEM = function (args) {\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Music\";\n if (args[1] === \"0\") {\n client_1.client.resetMusicList();\n client_1.client.resetAreaList();\n client_1.client.musics_time = false;\n }\n for (var i = 2; i < args.length - 1; i++) {\n if (i % 2 === 0) {\n var trackname = args[i];\n var trackindex = Number(args[i - 1]);\n if (client_1.client.musics_time) {\n (0, addTrack_1.addTrack)(trackname);\n }\n else if ((0, isAudio_1.isAudio)(trackname)) {\n client_1.client.musics_time = true;\n (0, fixLastArea_1.fix_last_area)();\n (0, addTrack_1.addTrack)(trackname);\n }\n else {\n (0, createArea_1.createArea)(trackindex, trackname);\n }\n }\n }\n // get the next batch of tracks\n client_1.client.sender.sendServer(\"AM#\".concat(Number(args[1]) / 10 + 1, \"#%\"));\n};\nexports.handleEM = handleEM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleFA = void 0;\nvar client_1 = require(\"../../client\");\nvar createArea_1 = require(\"../../client/createArea\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles updated area list\n * @param {Array} args packet arguments\n */\nvar handleFA = function (args) {\n client_1.client.resetAreaList();\n for (var i = 1; i < args.length; i++) {\n (0, createArea_1.createArea)(i - 1, (0, encoding_1.safeTags)(args[i]));\n }\n};\nexports.handleFA = handleFA;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleFL = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * With this the server tells us which features it supports\n * @param {Array} args list of features\n */\nvar handleFL = function (args) {\n console.info(\"Server-supported features:\");\n console.info(args);\n (0, client_1.setExtraFeatures)(args);\n if (args.includes(\"yellowtext\")) {\n var colorselect = (document.getElementById(\"textcolor\"));\n colorselect.options[colorselect.options.length] = new Option(\"Yellow\", \"5\");\n colorselect.options[colorselect.options.length] = new Option(\"Pink\", \"6\");\n colorselect.options[colorselect.options.length] = new Option(\"Cyan\", \"7\");\n colorselect.options[colorselect.options.length] = new Option(\"Grey\", \"8\");\n }\n if (args.includes(\"cccc_ic_support\")) {\n document.getElementById(\"cccc\").style.display = \"\";\n document.getElementById(\"pairing\").style.display = \"\";\n }\n if (args.includes(\"flipping\")) {\n document.getElementById(\"button_flip\").style.display = \"\";\n }\n if (args.includes(\"looping_sfx\")) {\n document.getElementById(\"button_shake\").style.display = \"\";\n document.getElementById(\"2.7\").style.display = \"\";\n }\n if (args.includes(\"effects\")) {\n document.getElementById(\"2.8\").style.display = \"\";\n }\n if (args.includes(\"y_offset\")) {\n document.getElementById(\"y_offset\").style.display = \"\";\n }\n};\nexports.handleFL = handleFL;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleFM = void 0;\nvar client_1 = require(\"../../client\");\nvar addTrack_1 = require(\"../../client/addTrack\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles updated music list\n * @param {Array} args packet arguments\n */\nvar handleFM = function (args) {\n client_1.client.resetMusicList();\n for (var i = 1; i < args.length - 1; i++) {\n // Check when found the song for the first time\n (0, addTrack_1.addTrack)((0, encoding_1.safeTags)(args[i]));\n }\n};\nexports.handleFM = handleFM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleHI = void 0;\nvar client_1 = require(\"../../client\");\nvar version = process.env.npm_package_version;\n/**\n * Handle the player\n * @param {Array} args packet arguments\n */\nvar handleHI = function (_args) {\n client_1.client.sender.sendSelf(\"ID#1#webAO#\".concat(version, \"#%\"));\n client_1.client.sender.sendSelf(\"FL#fastloading#yellowtext#cccc_ic_support#flipping#looping_sfx#effects#%\");\n};\nexports.handleHI = handleHI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleHP = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Handles a change in the health bars' states.\n * @param {Array} args packet arguments\n */\nvar handleHP = function (args) {\n var percent_hp = Number(args[2]) * 10;\n var healthbox;\n if (args[1] === \"1\") {\n // Def hp\n client_1.client.hp[0] = Number(args[2]);\n healthbox = document.getElementById(\"client_defense_hp\");\n }\n else {\n // Pro hp\n client_1.client.hp[1] = Number(args[2]);\n healthbox = document.getElementById(\"client_prosecutor_hp\");\n }\n (healthbox.getElementsByClassName(\"health-bar\")[0]).style.width = \"\".concat(percent_hp, \"%\");\n};\nexports.handleHP = handleHP;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleID = void 0;\nvar client_1 = require(\"../../client\");\nvar version = process.env.npm_package_version;\n/**\n * Identifies the server and issues a playerID\n * @param {Array} args packet arguments\n */\nvar handleID = function (args) {\n client_1.client.playerID = Number(args[1]);\n var serverSoftware = args[2].split(\"&\")[0];\n var serverVersion;\n if (serverSoftware === \"serverD\") {\n serverVersion = args[2].split(\"&\")[1];\n }\n else if (serverSoftware === \"webAO\") {\n (0, client_1.setOldLoading)(false);\n client_1.client.sender.sendSelf(\"PN#0#1#%\");\n }\n else {\n serverVersion = args[3];\n }\n if (serverSoftware === \"serverD\" && serverVersion === \"1377.152\") {\n (0, client_1.setOldLoading)(true);\n } // bugged version\n if (serverSoftware !== \"webAO\") {\n client_1.client.sender.sendServer(\"ID#webAO#\".concat(version, \"#%\"));\n }\n};\nexports.handleID = handleID;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleJD = void 0;\n/**\n* show/hide judge controls\n* @param {number} show either a 1 or a 0\n*/\nvar handleJD = function (args) {\n if (Number(args[1]) === 1) {\n document.getElementById(\"judge_action\").style.display = \"inline-table\";\n document.getElementById(\"no_action\").style.display = \"none\";\n }\n else {\n document.getElementById(\"judge_action\").style.display = \"none\";\n document.getElementById(\"no_action\").style.display = \"inline-table\";\n }\n};\nexports.handleJD = handleJD;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleKB = void 0;\nvar client_1 = require(\"../../client\");\nvar encoding_1 = require(\"../../encoding\");\nvar handleBans_1 = require(\"../../client/handleBans\");\n/**\n * Handles the banned packet\n * this one is sent when you are kicked off the server\n * @param {Array} args ban reason\n */\nvar handleKB = function (args) {\n (0, handleBans_1.handleBans)(\"Banned\", (0, encoding_1.safeTags)(args[1]));\n (0, client_1.setBanned)(true);\n};\nexports.handleKB = handleKB;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleKK = void 0;\nvar encoding_1 = require(\"../../encoding\");\nvar handleBans_1 = require(\"../../client/handleBans\");\n/**\n * Handles the kicked packet\n * @param {Array} args kick reason\n */\nvar handleKK = function (args) {\n (0, handleBans_1.handleBans)(\"Kicked\", (0, encoding_1.safeTags)(args[1]));\n};\nexports.handleKK = handleKK;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleLE = void 0;\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles incoming evidence list, all evidences at once\n * item per packet.\n *\n * @param {Array} args packet arguments\n */\nvar handleLE = function (args) {\n client_1.client.evidences = [];\n for (var i = 1; i < args.length - 1; i++) {\n var arg = args[i].split(\"&\");\n client_1.client.evidences[i - 1] = {\n name: (0, encoding_1.prepChat)(arg[0]),\n desc: (0, encoding_1.prepChat)(arg[1]),\n filename: (0, encoding_1.safeTags)(arg[2]),\n icon: \"\".concat(aoHost_1.AO_HOST, \"evidence/\").concat(encodeURI(arg[2].toLowerCase())),\n };\n }\n var evidence_box = document.getElementById(\"evidences\");\n evidence_box.innerHTML = \"\";\n var _loop_1 = function (i) {\n var evi_item = new Image();\n evi_item.id = \"evi_\" + i;\n evi_item.className = \"evi_icon\";\n evi_item.src = client_1.client.evidences[i - 1].icon;\n evi_item.alt = client_1.client.evidences[i - 1].name;\n evi_item.onclick = function () { window.pickEvidence(i); };\n evidence_box.appendChild(evi_item);\n };\n for (var i = 1; i <= client_1.client.evidences.length; i++) {\n _loop_1(i);\n }\n};\nexports.handleLE = handleLE;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleMC = void 0;\nvar encoding_1 = require(\"../../encoding\");\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar appendICLog_1 = require(\"../../client/appendICLog\");\n/**\n * Handles a music change to an arbitrary resource.\n * @param {Array} args packet arguments\n */\nvar handleMC = function (args) {\n var track = (0, encoding_1.prepChat)(args[1]);\n var charID = Number(args[2]);\n var showname = args[3] || \"\";\n var looping = Boolean(args[4]);\n var channel = Number(args[5]) || 0;\n // const fading = Number(args[6]) || 0; // unused in web\n var music = client_1.client.viewport.music[channel];\n var musicname;\n music.pause();\n if (track.startsWith(\"http\")) {\n music.src = track;\n }\n else {\n music.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/music/\").concat(encodeURI(track.toLowerCase()));\n }\n music.loop = looping;\n music.play();\n try {\n musicname = client_1.client.chars[charID].name;\n }\n catch (e) {\n charID = -1;\n }\n if (charID >= 0) {\n musicname = client_1.client.chars[charID].name;\n (0, appendICLog_1.appendICLog)(\"\".concat(musicname, \" changed music to \").concat(track));\n }\n else {\n (0, appendICLog_1.appendICLog)(\"The music was changed to \".concat(track));\n }\n document.getElementById(\"client_trackstatustext\").innerText = track;\n};\nexports.handleMC = handleMC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleMM = void 0;\n/**\n * Handles the \"MusicMode\" packet\n * @param {Array} args packet arguments\n */\nvar handleMM = function (_args) {\n // It's unused nowadays, as preventing people from changing the music is now serverside\n};\nexports.handleMM = handleMM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleMS = void 0;\nvar client_1 = require(\"../../client\");\nvar handleCharacterInfo_1 = require(\"../../client/handleCharacterInfo\");\nvar resetICParams_1 = require(\"../../client/resetICParams\");\nvar encoding_1 = require(\"../../encoding\");\nvar handleICSpeaking_1 = require(\"../../viewport/utils/handleICSpeaking\");\n/**\n * Handles an in-character chat message.\n * @param {*} args packet arguments\n */\nvar handleMS = function (args) {\n // TODO: this if-statement might be a bug.\n if (args[4] !== client_1.client.viewport.getChatmsg().content) {\n document.getElementById(\"client_inner_chat\").innerHTML = \"\";\n var char_id = Number(args[9]);\n var char_name = (0, encoding_1.safeTags)(args[3]);\n var msg_nameplate = args[3];\n var msg_blips = \"male\";\n var char_chatbox = \"default\";\n var char_muted = false;\n if (char_id < client_1.client.char_list_length && char_id >= 0) {\n if (client_1.client.chars[char_id].name !== char_name) {\n console.info(\"\".concat(client_1.client.chars[char_id].name, \" is iniediting to \").concat(char_name));\n var chargs = (\"\".concat(char_name, \"&\") + \"iniediter\").split(\"&\");\n (0, handleCharacterInfo_1.handleCharacterInfo)(chargs, char_id);\n }\n }\n try {\n msg_nameplate = client_1.client.chars[char_id].showname;\n }\n catch (e) {\n msg_nameplate = args[3];\n }\n try {\n msg_blips = client_1.client.chars[char_id].blips;\n }\n catch (e) { }\n try {\n char_chatbox = client_1.client.chars[char_id].chat;\n }\n catch (e) {\n char_chatbox = \"default\";\n }\n try {\n char_muted = client_1.client.chars[char_id].muted;\n }\n catch (e) {\n char_muted = false;\n console.error(\"we're still missing some character data\");\n }\n if (char_muted === false) {\n var chatmsg = {\n deskmod: Number((0, encoding_1.safeTags)(args[1]).toLowerCase()),\n preanim: (0, encoding_1.safeTags)(args[2]).toLowerCase(),\n nameplate: msg_nameplate,\n chatbox: char_chatbox,\n name: char_name,\n sprite: (0, encoding_1.safeTags)(args[4]).toLowerCase(),\n content: (0, encoding_1.prepChat)(args[5]),\n side: args[6].toLowerCase(),\n sound: (0, encoding_1.safeTags)(args[7]).toLowerCase(),\n blips: (0, encoding_1.safeTags)(msg_blips),\n type: Number(args[8]),\n charid: char_id,\n snddelay: Number(args[10]),\n objection: Number(args[11]),\n evidence: Number((0, encoding_1.safeTags)(args[12])),\n flip: Number(args[13]),\n flash: Number(args[14]),\n color: Number(args[15]),\n speed: client_1.UPDATE_INTERVAL,\n };\n if (args.length > 16) {\n var extra_cccc = {\n showname: (0, encoding_1.prepChat)(args[16]),\n other_charid: Number(args[17]),\n other_name: (0, encoding_1.safeTags)(args[18]),\n other_emote: (0, encoding_1.safeTags)(args[19]),\n self_offset: args[20].split(\"\"),\n other_offset: args[21].split(\"\"),\n other_flip: Number(args[22]),\n noninterrupting_preanim: Number(args[23]),\n };\n chatmsg = Object.assign(extra_cccc, chatmsg);\n if (args.length > 24) {\n var extra_27 = {\n looping_sfx: Number(args[24]),\n screenshake: Number(args[25]),\n frame_screenshake: (0, encoding_1.safeTags)(args[26]),\n frame_realization: (0, encoding_1.safeTags)(args[27]),\n frame_sfx: (0, encoding_1.safeTags)(args[28]),\n };\n chatmsg = Object.assign(extra_27, chatmsg);\n if (args.length > 29) {\n var extra_28 = {\n additive: Number(args[29]),\n effects: args[30].split(\"|\"),\n };\n chatmsg = Object.assign(extra_28, chatmsg);\n }\n else {\n var extra_28 = {\n additive: 0,\n effects: [\"\", \"\", \"\"],\n };\n chatmsg = Object.assign(extra_28, chatmsg);\n }\n }\n else {\n var extra_27 = {\n looping_sfx: 0,\n screenshake: 0,\n frame_screenshake: \"\",\n frame_realization: \"\",\n frame_sfx: \"\",\n };\n chatmsg = Object.assign(extra_27, chatmsg);\n var extra_28 = {\n additive: 0,\n effects: [\"\", \"\", \"\"],\n };\n chatmsg = Object.assign(extra_28, chatmsg);\n }\n }\n else {\n var extra_cccc = {\n showname: \"\",\n other_charid: 0,\n other_name: \"\",\n other_emote: \"\",\n self_offset: [0, 0],\n other_offset: [0, 0],\n other_flip: 0,\n noninterrupting_preanim: 0,\n };\n chatmsg = Object.assign(extra_cccc, chatmsg);\n var extra_27 = {\n looping_sfx: 0,\n screenshake: 0,\n frame_screenshake: \"\",\n frame_realization: \"\",\n frame_sfx: \"\",\n };\n chatmsg = Object.assign(extra_27, chatmsg);\n var extra_28 = {\n additive: 0,\n effects: [\"\", \"\", \"\"],\n };\n chatmsg = Object.assign(extra_28, chatmsg);\n }\n if (chatmsg.content.trim() === \"\") {\n //blankpost\n chatmsg.content = \"\";\n }\n // our own message appeared, reset the buttons\n if (chatmsg.charid === client_1.client.charID) {\n (0, resetICParams_1.resetICParams)();\n }\n (0, handleICSpeaking_1.handle_ic_speaking)(chatmsg); // no await\n }\n }\n};\nexports.handleMS = handleMS;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handlePN = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Indicates how many users are on this server\n * @param {Array} args packet arguments\n */\nvar handlePN = function (_args) {\n client_1.client.sender.sendServer(\"askchaa#%\");\n};\nexports.handlePN = handlePN;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handlePV = void 0;\nvar client_1 = require(\"../../client\");\nvar fileExists_1 = require(\"../../utils/fileExists\");\nvar updateActionCommands_1 = require(\"../../dom/updateActionCommands\");\nvar pickEmotion_1 = require(\"../../dom/pickEmotion\");\nvar aoHost_1 = require(\"../../client/aoHost\");\n/**\n * Handles the server's assignment of a character for the player to use.\n * PV # playerID (unused) # CID # character ID\n * @param {Array} args packet arguments\n */\nvar handlePV = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var me, emotes, emotesList, ini, _loop_1, i;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n client_1.client.charID = Number(args[3]);\n document.getElementById(\"client_waiting\").style.display = \"none\";\n document.getElementById(\"client_charselect\").style.display = \"none\";\n me = client_1.client.chars[client_1.client.charID];\n client_1.client.selectedEmote = -1;\n emotes = client_1.client.emotes;\n emotesList = document.getElementById(\"client_emo\");\n emotesList.style.display = \"\";\n emotesList.innerHTML = \"\"; // Clear emote box\n ini = me.inifile;\n me.side = ini.options.side;\n (0, updateActionCommands_1.updateActionCommands)(me.side);\n if (ini.emotions.number === 0) {\n emotesList.innerHTML = \"No emotes available\";\n }\n else {\n _loop_1 = function (i) {\n try {\n var emoteinfo = ini.emotions[i].split(\"#\");\n var esfx = void 0;\n var esfxd = void 0;\n try {\n esfx = ini.soundn[i] || \"0\";\n esfxd = Number(ini.soundt[i]) || 0;\n }\n catch (e) {\n console.warn(\"ini sound is completly missing\");\n esfx = \"0\";\n esfxd = 0;\n }\n // Make sure the asset server is case insensitive, or that everything on it is lowercase\n emotes[i] = {\n desc: emoteinfo[0].toLowerCase(),\n preanim: emoteinfo[1].toLowerCase(),\n emote: emoteinfo[2].toLowerCase(),\n zoom: Number(emoteinfo[3]) || 0,\n deskmod: Number(emoteinfo[4]) || 1,\n sfx: esfx.toLowerCase(),\n sfxdelay: esfxd,\n frame_screenshake: \"\",\n frame_realization: \"\",\n frame_sfx: \"\",\n button: \"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(me.name.toLowerCase()), \"/emotions/button\").concat(i, \"_off.png\"),\n };\n var emote_item = new Image();\n emote_item.id = \"emo_\" + i;\n emote_item.className = \"emote_button\";\n emote_item.src = emotes[i].button;\n emote_item.alt = emotes[i].desc;\n emote_item.title = emotes[i].desc;\n emote_item.onclick = function () { window.pickEmotion(i); };\n emotesList.appendChild(emote_item);\n }\n catch (e) {\n console.error(\"missing emote \".concat(i));\n }\n };\n for (i = 1; i <= ini.emotions.number; i++) {\n _loop_1(i);\n }\n (0, pickEmotion_1.pickEmotion)(1);\n }\n return [4 /*yield*/, (0, fileExists_1.default)(\"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(me.name.toLowerCase()), \"/custom.gif\"))];\n case 1:\n if (_a.sent()) {\n document.getElementById(\"button_4\").style.display = \"\";\n }\n else {\n document.getElementById(\"button_4\").style.display = \"none\";\n }\n return [2 /*return*/];\n }\n });\n}); };\nexports.handlePV = handlePV;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRC = void 0;\nvar client_1 = require(\"../../client\");\nvar characters_js_1 = require(\"../../constants/characters.js\");\n/**\n * we are asking ourselves what characters there are\n * @param {Array} args packet arguments\n */\nvar handleRC = function (_args) {\n client_1.client.sender.sendSelf(\"SC#\".concat(characters_js_1.default.join(\"#\"), \"#%\"));\n};\nexports.handleRC = handleRC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRD = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * we are asking ourselves what characters there are\n * @param {Array} args packet arguments\n */\nvar handleRD = function (_args) {\n client_1.client.sender.sendSelf(\"BN#gs4#%\");\n client_1.client.sender.sendSelf(\"DONE#%\");\n var ooclog = document.getElementById(\"client_ooclog\");\n ooclog.value = \"\";\n ooclog.readOnly = false;\n document.getElementById(\"client_oocinput\").style.display = \"none\";\n document.getElementById(\"client_replaycontrols\").style.display =\n \"inline-block\";\n};\nexports.handleRD = handleRD;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRM = void 0;\nvar client_1 = require(\"../../client\");\nvar music_js_1 = require(\"../../constants/music.js\");\n/**\n * we are asking ourselves what characters there are\n * @param {Array} args packet arguments\n */\nvar handleRM = function (_args) {\n client_1.client.sender.sendSelf(\"SM#\".concat(music_js_1.default.join(\"#\"), \"#%\"));\n};\nexports.handleRM = handleRM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRMC = void 0;\nvar client_1 = require(\"../../client\");\n// TODO BUG:\n// this.viewport.music is an array. Therefore you must access elements\n/**\n * Handles a music change to an arbitrary resource, with an offset in seconds.\n * @param {Array} args packet arguments\n */\nvar handleRMC = function (args) {\n client_1.client.viewport.music.pause();\n var music = client_1.client.viewport.music;\n // Music offset + drift from song loading\n music.totime = args[1];\n music.offset = new Date().getTime() / 1000;\n music.addEventListener(\"loadedmetadata\", function () {\n music.currentTime += parseFloat(music.totime + (new Date().getTime() / 1000 - music.offset)).toFixed(3);\n music.play();\n }, false);\n};\nexports.handleRMC = handleRMC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleRT = void 0;\nvar client_1 = require(\"../../client\");\nvar initTestimonyUpdater_1 = require(\"../../viewport/utils/initTestimonyUpdater\");\n/**\n * Handles a testimony states.\n * @param {Array} args packet arguments\n */\nvar handleRT = function (args) {\n var judgeid = Number(args[2]);\n switch (args[1]) {\n case \"testimony1\":\n client_1.client.testimonyID = 1;\n break;\n case \"testimony2\":\n // Cross Examination\n client_1.client.testimonyID = 2;\n break;\n case \"judgeruling\":\n client_1.client.testimonyID = 3 + judgeid;\n break;\n default:\n console.warn(\"Invalid testimony\");\n }\n (0, initTestimonyUpdater_1.initTestimonyUpdater)();\n};\nexports.handleRT = handleRT;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleSC = void 0;\nvar queryParser_1 = require(\"../../utils/queryParser\");\nvar client_1 = require(\"../../client\");\nvar handleCharacterInfo_1 = require(\"../../client/handleCharacterInfo\");\nvar mode = (0, queryParser_1.default)().mode;\n/**\n * Handles incoming character information, containing all characters\n * in one packet.\n * @param {Array} args packet arguments\n */\nvar handleSC = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var _loop_1, i;\n return __generator(this, function (_a) {\n if (mode === \"watch\") {\n // Spectators don't need to pick a character\n document.getElementById(\"client_charselect\").style.display = \"none\";\n }\n else {\n document.getElementById(\"client_charselect\").style.display = \"block\";\n }\n document.getElementById(\"client_loadingtext\").innerHTML =\n \"Loading Characters\";\n _loop_1 = function (i) {\n var chargs = args[i].split(\"&\");\n var charid = i - 1;\n setTimeout(function () { return (0, handleCharacterInfo_1.handleCharacterInfo)(chargs, charid); }, charid * 6);\n };\n for (i = 1; i < args.length - 1; i++) {\n _loop_1(i);\n }\n // We're done with the characters, request the music\n client_1.client.sender.sendServer(\"RM#%\");\n return [2 /*return*/];\n });\n}); };\nexports.handleSC = handleSC;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleSI = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Received when the server announces its server info,\n * but we use it as a cue to begin retrieving characters.\n * @param {Array} args packet arguments\n */\nvar handleSI = function (args) {\n client_1.client.char_list_length = Number(args[1]);\n client_1.client.char_list_length += 1; // some servers count starting from 0 some from 1...\n client_1.client.evidence_list_length = Number(args[2]);\n client_1.client.music_list_length = Number(args[3]);\n // create the charselect grid, to be filled by the character loader\n document.getElementById(\"client_chartable\").innerHTML = \"\";\n for (var i = 0; i < client_1.client.char_list_length; i++) {\n var demothing = document.createElement(\"img\");\n demothing.className = \"demothing\";\n demothing.id = \"demo_\".concat(i);\n var demoonclick = document.createAttribute(\"onclick\");\n demoonclick.value = \"pickChar(\".concat(i, \")\");\n demothing.setAttributeNode(demoonclick);\n document.getElementById(\"client_chartable\").appendChild(demothing);\n }\n // this is determined at the top of this file\n if (!client_1.oldLoading && client_1.extrafeatures.includes(\"fastloading\")) {\n client_1.client.sender.sendServer(\"RC#%\");\n }\n else {\n client_1.client.sender.sendServer(\"askchar2#%\");\n }\n};\nexports.handleSI = handleSI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleSM = void 0;\nvar client_1 = require(\"../../client\");\nvar addTrack_1 = require(\"../../client/addTrack\");\nvar isAudio_1 = require(\"../../client/isAudio\");\nvar fixLastArea_1 = require(\"../../client/fixLastArea\");\nvar createArea_1 = require(\"../../client/createArea\");\n/**\n * Handles incoming music information, containing all music in one packet.\n * @param {Array} args packet arguments\n */\nvar handleSM = function (args) {\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Music \";\n client_1.client.resetMusicList();\n client_1.client.resetAreaList();\n client_1.client.musics_time = false;\n document.getElementById(\"client_loadingtext\").innerHTML = \"Loading Music\";\n for (var i = 1; i < args.length - 1; i++) {\n // Check when found the song for the first time\n var trackname = args[i];\n var trackindex = i - 1;\n if (client_1.client.musics_time) {\n (0, addTrack_1.addTrack)(trackname);\n }\n else if ((0, isAudio_1.isAudio)(trackname)) {\n client_1.client.musics_time = true;\n (0, fixLastArea_1.fix_last_area)();\n (0, addTrack_1.addTrack)(trackname);\n }\n else {\n (0, createArea_1.createArea)(trackindex, trackname);\n }\n }\n // Music done, carry on\n client_1.client.sender.sendServer(\"RD#%\");\n};\nexports.handleSM = handleSM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleSP = void 0;\nvar updateActionCommands_1 = require(\"../../dom/updateActionCommands\");\n/**\n* position change\n* @param {string} pos new position\n*/\nvar handleSP = function (args) {\n (0, updateActionCommands_1.updateActionCommands)(args[1]);\n};\nexports.handleSP = handleSP;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleTI = void 0;\n/**\n * Handles a timer update\n * @param {Array} args packet arguments\n */\nvar handleTI = function (args) {\n var timerid = Number(args[1]);\n var type = Number(args[2]);\n var timer_value = args[3];\n switch (type) {\n case 0:\n //\n case 1:\n document.getElementById(\"client_timer\".concat(timerid)).innerText =\n timer_value;\n case 2:\n document.getElementById(\"client_timer\".concat(timerid)).style.display = \"\";\n case 3:\n document.getElementById(\"client_timer\".concat(timerid)).style.display =\n \"none\";\n }\n};\nexports.handleTI = handleTI;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleZZ = void 0;\nvar client_1 = require(\"../../client\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar encoding_1 = require(\"../../encoding\");\n/**\n * Handles a modcall\n * @param {Array} args packet arguments\n */\nvar handleZZ = function (args) {\n var oocLog = document.getElementById(\"client_ooclog\");\n oocLog.innerHTML += \"$Alert: \".concat((0, encoding_1.prepChat)(args[1]), \"\\r\\n\");\n if (oocLog.scrollTop > oocLog.scrollHeight - 60) {\n oocLog.scrollTop = oocLog.scrollHeight;\n }\n client_1.client.viewport.getSfxAudio().pause();\n var oldvolume = client_1.client.viewport.getSfxAudio().volume;\n client_1.client.viewport.getSfxAudio().volume = 1;\n client_1.client.viewport.getSfxAudio().src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-gallery.opus\");\n client_1.client.viewport.getSfxAudio().play();\n client_1.client.viewport.getSfxAudio().volume = oldvolume;\n};\nexports.handleZZ = handleZZ;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleackMS = void 0;\nvar resetICParams_1 = require(\"../../client/resetICParams\");\n/**\n* server got our message\n*/\nvar handleackMS = function () {\n (0, resetICParams_1.resetICParams)();\n};\nexports.handleackMS = handleackMS;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handleaskchaa = void 0;\nvar client_1 = require(\"../../client\");\nvar characters_js_1 = require(\"../../constants/characters.js\");\n/**\n * What? you want a character list from me??\n * @param {Array} args packet arguments\n */\nvar handleaskchaa = function (_args) {\n client_1.client.sender.sendSelf(\"SI#\".concat(characters_js_1.default.length, \"#0#0#%\"));\n};\nexports.handleaskchaa = handleaskchaa;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.packetHandler = void 0;\nvar packets_1 = require(\"./packets\");\nexports.packetHandler = new Map(Object.entries(packets_1.packets));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.packets = void 0;\nvar handleMS_1 = require(\"./handlers/handleMS\");\nvar handleCT_1 = require(\"./handlers/handleCT\");\nvar handleMC_1 = require(\"./handlers/handleMC\");\nvar handleRMC_1 = require(\"./handlers/handleRMC\");\nvar twofactor_1 = require(\"../dom/twofactor\");\nvar handleFL_1 = require(\"./handlers/handleFL\");\nvar handleLE_1 = require(\"./handlers/handleLE\");\nvar handleEM_1 = require(\"./handlers/handleEM\");\nvar handleEI_1 = require(\"./handlers/handleEI\");\nvar handleSC_1 = require(\"./handlers/handleSC\");\nvar handleCI_1 = require(\"./handlers/handleCI\");\nvar handleFM_1 = require(\"./handlers/handleFM\");\nvar handleFA_1 = require(\"./handlers/handleFA\");\nvar handleSM_1 = require(\"./handlers/handleSM\");\nvar handleMM_1 = require(\"./handlers/handleMM\");\nvar handleBD_1 = require(\"./handlers/handleBD\");\nvar handleBB_1 = require(\"./handlers/handleBB\");\nvar handleKB_1 = require(\"./handlers/handleKB\");\nvar handleKK_1 = require(\"./handlers/handleKK\");\nvar handleDONE_1 = require(\"./handlers/handleDONE\");\nvar handleBN_1 = require(\"./handlers/handleBN\");\nvar handleHP_1 = require(\"./handlers/handleHP\");\nvar handleRT_1 = require(\"./handlers/handleRT\");\nvar handleTI_1 = require(\"./handlers/handleTI\");\nvar handleZZ_1 = require(\"./handlers/handleZZ\");\nvar handleHI_1 = require(\"./handlers/handleHI\");\nvar handleID_1 = require(\"./handlers/handleID\");\nvar handlePN_1 = require(\"./handlers/handlePN\");\nvar handleSI_1 = require(\"./handlers/handleSI\");\nvar handleARUP_1 = require(\"./handlers/handleARUP\");\nvar handleaskchaa_1 = require(\"./handlers/handleaskchaa\");\nvar handleCC_1 = require(\"./handlers/handleCC\");\nvar handleRC_1 = require(\"./handlers/handleRC\");\nvar handleRM_1 = require(\"./handlers/handleRM\");\nvar handleRD_1 = require(\"./handlers/handleRD\");\nvar handleCharsCheck_1 = require(\"./handlers/handleCharsCheck\");\nvar handlePV_1 = require(\"./handlers/handlePV\");\nvar handleASS_1 = require(\"./handlers/handleASS\");\nvar handleackMS_1 = require(\"./handlers/handleackMS\");\nvar handleSP_1 = require(\"./handlers/handleSP\");\nvar handleJD_1 = require(\"./handlers/handleJD\");\nexports.packets = {\n \"MS\": handleMS_1.handleMS,\n \"CT\": handleCT_1.handleCT,\n \"MC\": handleMC_1.handleMC,\n \"RMC\": handleRMC_1.handleRMC,\n \"CI\": handleCI_1.handleCI,\n \"SC\": handleSC_1.handleSC,\n \"EI\": handleEI_1.handleEI,\n \"2A\": twofactor_1.showFactorDialog,\n \"FL\": handleFL_1.handleFL,\n \"LE\": handleLE_1.handleLE,\n \"EM\": handleEM_1.handleEM,\n \"FM\": handleFM_1.handleFM,\n \"FA\": handleFA_1.handleFA,\n \"SM\": handleSM_1.handleSM,\n \"MM\": handleMM_1.handleMM,\n \"BD\": handleBD_1.handleBD,\n \"BB\": handleBB_1.handleBB,\n \"KB\": handleKB_1.handleKB,\n \"KK\": handleKK_1.handleKK,\n \"DONE\": handleDONE_1.handleDONE,\n \"BN\": handleBN_1.handleBN,\n \"HP\": handleHP_1.handleHP,\n \"RT\": handleRT_1.handleRT,\n \"TI\": handleTI_1.handleTI,\n \"ZZ\": handleZZ_1.handleZZ,\n \"HI\": handleHI_1.handleHI,\n \"ID\": handleID_1.handleID,\n \"PN\": handlePN_1.handlePN,\n \"SI\": handleSI_1.handleSI,\n \"ARUP\": handleARUP_1.handleARUP,\n \"askchaa\": handleaskchaa_1.handleaskchaa,\n \"CC\": handleCC_1.handleCC,\n \"RC\": handleRC_1.handleRC,\n \"RM\": handleRM_1.handleRM,\n \"RD\": handleRD_1.handleRD,\n \"CharsCheck\": handleCharsCheck_1.handleCharsCheck,\n \"PV\": handlePV_1.handlePV,\n \"ASS\": handleASS_1.handleASS,\n \"ackMS\": handleackMS_1.handleackMS,\n \"SP\": handleSP_1.handleSP,\n \"JD\": handleJD_1.handleJD,\n \"decryptor\": function () { },\n \"CHECK\": function () { },\n \"CH\": function () { },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar downloadFile = function (content, filename) {\n var a = document.createElement('a');\n var file = new Blob([content], { type: 'text' });\n a.href = URL.createObjectURL(file);\n a.download = filename;\n a.click();\n};\nexports.default = downloadFile;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar request_1 = require(\"../services/request\");\nvar aomlParser = function (text) {\n var e_1, _a;\n var parsed = {};\n var currentHeader = '';\n try {\n for (var _b = __values(text.split(/\\r?\\n/)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var line = _c.value;\n if (line === '') {\n currentHeader = '';\n continue;\n }\n var content = line.split(' = ');\n var contentName = content[0];\n var contentValue = content[1];\n if (currentHeader === '') {\n currentHeader = contentName;\n parsed[currentHeader] = {\n color: contentValue\n };\n }\n else {\n var contentKey = contentName.split('_')[1];\n parsed[currentHeader][contentKey] = contentValue;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return parsed;\n};\nvar mlConfig = function (AO_HOST) {\n var defaultUrl = \"\".concat(AO_HOST, \"themes/default/chat_config.ini\");\n var aomlParsed = (0, request_1.default)(defaultUrl).then(function (data) { return aomlParser(data); });\n var createIdentifiers = function () { return __awaiter(void 0, void 0, void 0, function () {\n var identifiers, _a, _b, _c, _d, _e, ruleName, value, e_2_1;\n var e_2, _f;\n return __generator(this, function (_g) {\n switch (_g.label) {\n case 0:\n identifiers = new Map();\n _g.label = 1;\n case 1:\n _g.trys.push([1, 6, 7, 8]);\n _d = (_c = Object).entries;\n return [4 /*yield*/, aomlParsed];\n case 2:\n _a = __values.apply(void 0, [_d.apply(_c, [_g.sent()])]), _b = _a.next();\n _g.label = 3;\n case 3:\n if (!!_b.done) return [3 /*break*/, 5];\n _e = __read(_b.value, 2), ruleName = _e[0], value = _e[1];\n if (value.start && value.end) {\n identifiers.set(value.start, value);\n identifiers.set(value.end, value);\n }\n _g.label = 4;\n case 4:\n _b = _a.next();\n return [3 /*break*/, 3];\n case 5: return [3 /*break*/, 8];\n case 6:\n e_2_1 = _g.sent();\n e_2 = { error: e_2_1 };\n return [3 /*break*/, 8];\n case 7:\n try {\n if (_b && !_b.done && (_f = _a.return)) _f.call(_a);\n }\n finally { if (e_2) throw e_2.error; }\n return [7 /*endfinally*/];\n case 8: return [2 /*return*/, identifiers];\n }\n });\n }); };\n var createStartIdentifiers = function () { return __awaiter(void 0, void 0, void 0, function () {\n var startingIdentifiers, _a, _b, _c, _d, _e, ruleName, value, e_3_1;\n var e_3, _f;\n return __generator(this, function (_g) {\n switch (_g.label) {\n case 0:\n startingIdentifiers = new Set();\n _g.label = 1;\n case 1:\n _g.trys.push([1, 6, 7, 8]);\n _d = (_c = Object).entries;\n return [4 /*yield*/, aomlParsed];\n case 2:\n _a = __values.apply(void 0, [_d.apply(_c, [_g.sent()])]), _b = _a.next();\n _g.label = 3;\n case 3:\n if (!!_b.done) return [3 /*break*/, 5];\n _e = __read(_b.value, 2), ruleName = _e[0], value = _e[1];\n if ((value === null || value === void 0 ? void 0 : value.start) && (value === null || value === void 0 ? void 0 : value.end)) {\n startingIdentifiers.add(value.start);\n }\n _g.label = 4;\n case 4:\n _b = _a.next();\n return [3 /*break*/, 3];\n case 5: return [3 /*break*/, 8];\n case 6:\n e_3_1 = _g.sent();\n e_3 = { error: e_3_1 };\n return [3 /*break*/, 8];\n case 7:\n try {\n if (_b && !_b.done && (_f = _a.return)) _f.call(_a);\n }\n finally { if (e_3) throw e_3.error; }\n return [7 /*endfinally*/];\n case 8: return [2 /*return*/, startingIdentifiers];\n }\n });\n }); };\n var applyMarkdown = function (text, defaultColor) { return __awaiter(void 0, void 0, void 0, function () {\n var identifiers, startIdentifiers, closingStack, colorStack, output, text_1, text_1_1, letter, currentSelector, currentIdentifier, currentClosingLetter, keepChar, r, g, b, currentColor, color, r, g, b, currentColor, r, g, b, currentColor;\n var e_4, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0: return [4 /*yield*/, createIdentifiers()];\n case 1:\n identifiers = _b.sent();\n return [4 /*yield*/, createStartIdentifiers()];\n case 2:\n startIdentifiers = _b.sent();\n closingStack = [];\n colorStack = [];\n output = [];\n try {\n for (text_1 = __values(text), text_1_1 = text_1.next(); !text_1_1.done; text_1_1 = text_1.next()) {\n letter = text_1_1.value;\n currentSelector = document.createElement('span');\n currentIdentifier = identifiers.get(letter);\n currentClosingLetter = closingStack[closingStack.length - 1];\n keepChar = Number(currentIdentifier === null || currentIdentifier === void 0 ? void 0 : currentIdentifier.remove) === 0;\n if (currentClosingLetter === letter) {\n r = colorStack[colorStack.length - 1][0];\n g = colorStack[colorStack.length - 1][1];\n b = colorStack[colorStack.length - 1][2];\n currentColor = \"color: rgb(\".concat(r, \",\").concat(g, \",\").concat(b, \");\");\n currentSelector.setAttribute('style', currentColor);\n closingStack.pop();\n colorStack.pop();\n if (keepChar) {\n currentSelector.innerHTML = letter;\n }\n }\n else if (startIdentifiers.has(letter)) {\n color = identifiers.get(letter).color.split(',');\n r = color[0];\n g = color[1];\n b = color[2];\n colorStack.push([r, g, b]);\n closingStack.push(currentIdentifier.end);\n currentColor = \"color: rgb(\".concat(r, \",\").concat(g, \",\").concat(b, \");\");\n currentSelector.setAttribute('style', currentColor);\n if (keepChar) {\n currentSelector.innerHTML = letter;\n }\n }\n else {\n currentSelector.innerHTML = letter;\n if (colorStack.length === 0) {\n currentSelector.className = \"text_\".concat(defaultColor);\n }\n else {\n r = colorStack[colorStack.length - 1][0];\n g = colorStack[colorStack.length - 1][1];\n b = colorStack[colorStack.length - 1][2];\n currentColor = \"color: rgb(\".concat(r, \",\").concat(g, \",\").concat(b, \");\");\n currentSelector.setAttribute('style', currentColor);\n }\n }\n output.push(currentSelector);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (text_1_1 && !text_1_1.done && (_a = text_1.return)) _a.call(text_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n return [2 /*return*/, output];\n }\n });\n }); };\n return {\n applyMarkdown: applyMarkdown\n };\n};\nexports.default = mlConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * read a cookie from storage\n * got this from w3schools\n * https://www.w3schools.com/js/js_cookies.asp\n * @param {string} cname The name of the cookie to return\n */\nvar getCookie = function (cname) {\n try {\n var name_1 = \"\".concat(cname, \"=\");\n var decodedCookie = decodeURIComponent(document.cookie);\n var ca = decodedCookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) === ' ') {\n c = c.substring(1);\n }\n if (c.indexOf(name_1) === 0) {\n return c.substring(name_1.length, c.length);\n }\n }\n return '';\n }\n catch (error) {\n return '';\n }\n};\nexports.default = getCookie;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getFilenameFromPath = void 0;\nvar getFilenameFromPath = function (path) { return path.substring(path.lastIndexOf('/') + 1); };\nexports.getFilenameFromPath = getFilenameFromPath;\n","\"use strict\";\n/* eslint @typescript-eslint/no-explicit-any: \"warn\" */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar queryParser = function () {\n var queryDict = {};\n location.search\n .substr(1)\n .split(\"&\")\n .forEach(function (item) {\n queryDict[item.split(\"=\")[0]] = item.split(\"=\")[1];\n });\n return queryDict;\n};\nexports.default = queryParser;\n","\"use strict\";\n/* eslint @typescript-eslint/no-explicit-any: \"off\" */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * set a cookie\n * the version from w3schools expects these to expire\n * @param {string} cname The name of the cookie to return\n * @param {any} value The value of that cookie option\n */\nvar setCookie = function (cname, value) {\n document.cookie = \"\".concat(cname, \"=\").concat(value, \";SameSite=Strict\");\n};\nexports.default = setCookie;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fileExists_1 = require(\"./fileExists\");\nvar transparentPng_1 = require(\"../constants/transparentPng\");\nvar urlExtensionsToTry = [\n '.png',\n '.gif',\n '.webp',\n '.apng'\n];\nvar tryUrls = function (url) { return __awaiter(void 0, void 0, void 0, function () {\n var i, extension, fullFileUrl, exists;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n i = 0;\n _a.label = 1;\n case 1:\n if (!(i < urlExtensionsToTry.length)) return [3 /*break*/, 4];\n extension = urlExtensionsToTry[i];\n fullFileUrl = url + extension;\n return [4 /*yield*/, (0, fileExists_1.default)(fullFileUrl)];\n case 2:\n exists = _a.sent();\n if (exists) {\n return [2 /*return*/, fullFileUrl];\n }\n _a.label = 3;\n case 3:\n i++;\n return [3 /*break*/, 1];\n case 4: return [2 /*return*/, transparentPng_1.default];\n }\n });\n}); };\nexports.default = tryUrls;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.COLORS = void 0;\nexports.COLORS = [\n \"white\",\n \"green\",\n \"red\",\n \"orange\",\n \"blue\",\n \"yellow\",\n \"pink\",\n \"cyan\",\n \"grey\",\n \"rainbow\",\n];\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultChatMsg = void 0;\nvar client_1 = require(\"../../client\");\nexports.defaultChatMsg = {\n content: \"\",\n objection: 0,\n sound: \"\",\n startpreanim: true,\n startspeaking: false,\n side: null,\n color: 0,\n snddelay: 0,\n preanimdelay: 0,\n speed: client_1.UPDATE_INTERVAL,\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.positions = void 0;\nexports.positions = {\n def: {\n bg: \"defenseempty\",\n desk: { ao2: \"defensedesk.png\", ao1: \"bancodefensa.png\" },\n speedLines: \"defense_speedlines.gif\",\n },\n pro: {\n bg: \"prosecutorempty\",\n desk: { ao2: \"prosecutiondesk.png\", ao1: \"bancoacusacion.png\" },\n speedLines: \"prosecution_speedlines.gif\",\n },\n hld: {\n bg: \"helperstand\",\n desk: {},\n speedLines: \"defense_speedlines.gif\",\n },\n hlp: {\n bg: \"prohelperstand\",\n desk: {},\n speedLines: \"prosecution_speedlines.gif\",\n },\n wit: {\n bg: \"witnessempty\",\n desk: { ao2: \"stand.png\", ao1: \"estrado.png\" },\n speedLines: \"prosecution_speedlines.gif\",\n },\n jud: {\n bg: \"judgestand\",\n desk: { ao2: \"judgedesk.png\", ao1: \"judgedesk.gif\" },\n speedLines: \"prosecution_speedlines.gif\",\n },\n jur: {\n bg: \"jurystand\",\n desk: { ao2: \"jurydesk.png\", ao1: \"estrado.png\" },\n speedLines: \"defense_speedlines.gif\",\n },\n sea: {\n bg: \"seancestand\",\n desk: { ao2: \"seancedesk.png\", ao1: \"estrado.png\" },\n speedLines: \"prosecution_speedlines.gif\",\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SHOUTS = void 0;\nexports.SHOUTS = [undefined, \"holdit\", \"objection\", \"takethat\", \"custom\"];\n","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createBlipsChannels = void 0;\nvar opusCheck_1 = require(\"../../dom/opusCheck\");\nvar createBlipsChannels = function () {\n var blipSelectors = document.getElementsByClassName(\"blipSound\");\n var blipChannels = __spreadArray([], __read(blipSelectors), false);\n // Allocate multiple blip audio channels to make blips less jittery\n blipChannels.forEach(function (channel) { return (channel.volume = 0.5); });\n blipChannels.forEach(function (channel) { return (channel.onerror = (0, opusCheck_1.opusCheck)(channel)); });\n return blipChannels;\n};\nexports.createBlipsChannels = createBlipsChannels;\n","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createMusic = void 0;\nvar opusCheck_1 = require(\"../../dom/opusCheck\");\nvar createMusic = function () {\n var audioChannels = document.getElementsByClassName(\"audioChannel\");\n var music = __spreadArray([], __read(audioChannels), false);\n music.forEach(function (channel) { return (channel.volume = 0.5); });\n music.forEach(function (channel) { return (channel.onerror = (0, opusCheck_1.opusCheck)(channel)); });\n return music;\n};\nexports.createMusic = createMusic;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createSfxAudio = void 0;\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar createSfxAudio = function () {\n var sfxAudio = document.getElementById(\"client_sfxaudio\");\n sfxAudio.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-realization.opus\");\n return sfxAudio;\n};\nexports.createSfxAudio = createSfxAudio;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createShoutAudio = void 0;\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar createShoutAudio = function () {\n var shoutAudio = document.getElementById(\"client_shoutaudio\");\n shoutAudio.src = \"\".concat(aoHost_1.AO_HOST, \"misc/default/objection.opus\");\n return shoutAudio;\n};\nexports.createShoutAudio = createShoutAudio;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createTestimonyAudio = void 0;\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar createTestimonyAudio = function () {\n var testimonyAudio = document.getElementById(\"client_testimonyaudio\");\n testimonyAudio.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-guilty.opus\");\n return testimonyAudio;\n};\nexports.createTestimonyAudio = createTestimonyAudio;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.handle_ic_speaking = exports.setStartThirdTickCheck = exports.startThirdTickCheck = exports.setStartSecondTickCheck = exports.startSecondTickCheck = exports.setStartFirstTickCheck = exports.startFirstTickCheck = void 0;\nvar client_1 = require(\"../../client\");\nvar appendICLog_1 = require(\"../../client/appendICLog\");\nvar checkCallword_1 = require(\"../../client/checkCallword\");\nvar setEmote_1 = require(\"../../client/setEmote\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar shouts_1 = require(\"../constants/shouts\");\nvar getAnimLength_1 = require(\"../../utils/getAnimLength\");\nvar setChatbox_1 = require(\"../../dom/setChatbox\");\nvar resizeChatbox_1 = require(\"../../dom/resizeChatbox\");\nvar transparentPng_1 = require(\"../../constants/transparentPng\");\nvar colors_1 = require(\"../constants/colors\");\nvar aoml_1 = require(\"../../utils/aoml\");\nvar attorneyMarkdown = (0, aoml_1.default)(aoHost_1.AO_HOST);\nvar setStartFirstTickCheck = function (val) { exports.startFirstTickCheck = val; };\nexports.setStartFirstTickCheck = setStartFirstTickCheck;\nvar setStartSecondTickCheck = function (val) { exports.startSecondTickCheck = val; };\nexports.setStartSecondTickCheck = setStartSecondTickCheck;\nvar setStartThirdTickCheck = function (val) { exports.startThirdTickCheck = val; };\nexports.setStartThirdTickCheck = setStartThirdTickCheck;\n/**\n * Sets a new emote.\n * This sets up everything before the tick() loops starts\n * a lot of things can probably be moved here, like starting the shout animation if there is one\n * TODO: the preanim logic, on the other hand, should probably be moved to tick()\n * @param {object} chatmsg the new chat message\n */\nvar handle_ic_speaking = function (playerChatMsg) { return __awaiter(void 0, void 0, void 0, function () {\n var charLayers, pairLayers, fg, gamewindow, waitingBox, eviBox, validSides, chatContainerBox, nameBoxInner, chatBoxInner, displayname, shoutSprite, shout, gifLength, setAside, skipoffset, effectName, badEffects, intensity, i, drop, baseEffectUrl, soundChecks, _a, error_1, output, _b, _c, letter, currentSelector;\n var e_1, _d;\n return __generator(this, function (_e) {\n switch (_e.label) {\n case 0:\n client_1.client.viewport.setChatmsg(playerChatMsg);\n client_1.client.viewport.setTextNow(\"\");\n client_1.client.viewport.setSfxPlayed(0);\n client_1.client.viewport.setTickTimer(0);\n client_1.client.viewport.setAnimating(true);\n exports.startFirstTickCheck = true;\n exports.startSecondTickCheck = false;\n exports.startThirdTickCheck = false;\n charLayers = document.getElementById(\"client_char\");\n pairLayers = document.getElementById(\"client_pair_char\");\n // stop updater\n clearTimeout(client_1.client.viewport.updater);\n // stop last sfx from looping any longer\n client_1.client.viewport.getSfxAudio().loop = false;\n fg = document.getElementById(\"client_fg\");\n gamewindow = document.getElementById(\"client_gamewindow\");\n waitingBox = document.getElementById(\"client_chatwaiting\");\n // Reset CSS animation\n gamewindow.style.animation = \"\";\n waitingBox.style.opacity = \"0\";\n eviBox = document.getElementById(\"client_evi\");\n if (client_1.client.viewport.getLastEvidence() !== client_1.client.viewport.getChatmsg().evidence) {\n eviBox.style.opacity = \"0\";\n eviBox.style.height = \"0%\";\n }\n client_1.client.viewport.setLastEvidence(client_1.client.viewport.getChatmsg().evidence);\n validSides = [\"def\", \"pro\", \"wit\"];\n if (validSides.includes(client_1.client.viewport.getChatmsg().side)) {\n charLayers = document.getElementById(\"client_\".concat(client_1.client.viewport.getChatmsg().side, \"_char\"));\n pairLayers = document.getElementById(\"client_\".concat(client_1.client.viewport.getChatmsg().side, \"_pair_char\"));\n }\n chatContainerBox = document.getElementById(\"client_chatcontainer\");\n nameBoxInner = document.getElementById(\"client_inner_name\");\n chatBoxInner = document.getElementById(\"client_inner_chat\");\n displayname = document.getElementById(\"showname\").checked &&\n client_1.client.viewport.getChatmsg().showname !== \"\"\n ? client_1.client.viewport.getChatmsg().showname\n : client_1.client.viewport.getChatmsg().nameplate;\n // Clear out the last message\n chatBoxInner.innerText = client_1.client.viewport.getTextNow();\n nameBoxInner.innerText = displayname;\n if (client_1.client.viewport.getLastCharacter() !== client_1.client.viewport.getChatmsg().name) {\n charLayers.style.opacity = \"0\";\n pairLayers.style.opacity = \"0\";\n }\n client_1.client.viewport.setLastCharacter(client_1.client.viewport.getChatmsg().name);\n (0, appendICLog_1.appendICLog)(client_1.client.viewport.getChatmsg().content, client_1.client.viewport.getChatmsg().showname, client_1.client.viewport.getChatmsg().nameplate);\n (0, checkCallword_1.checkCallword)(client_1.client.viewport.getChatmsg().content, client_1.client.viewport.getSfxAudio());\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, client_1.client.viewport.getChatmsg().name.toLowerCase(), client_1.client.viewport.getChatmsg().sprite, \"(a)\", false, client_1.client.viewport.getChatmsg().side);\n if (client_1.client.viewport.getChatmsg().other_name) {\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, client_1.client.viewport.getChatmsg().other_name.toLowerCase(), client_1.client.viewport.getChatmsg().other_emote, \"(a)\", false, client_1.client.viewport.getChatmsg().side);\n }\n shoutSprite = (document.getElementById(\"client_shout\"));\n shout = shouts_1.SHOUTS[client_1.client.viewport.getChatmsg().objection];\n if (shout) {\n // Hide message box\n chatContainerBox.style.opacity = \"0\";\n if (client_1.client.viewport.getChatmsg().objection === 4) {\n shoutSprite.src = \"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(client_1.client.viewport.getChatmsg().name.toLowerCase()), \"/custom.gif\");\n }\n else {\n shoutSprite.src = client_1.client.resources[shout].src;\n shoutSprite.style.animation = \"bubble 700ms steps(10, jump-both)\";\n }\n shoutSprite.style.opacity = \"1\";\n client_1.client.viewport.shoutaudio.src = \"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(client_1.client.viewport.getChatmsg().name.toLowerCase()), \"/\").concat(shout, \".opus\");\n client_1.client.viewport.shoutaudio.play();\n client_1.client.viewport.setShoutTimer(client_1.client.resources[shout].duration);\n }\n else {\n client_1.client.viewport.setShoutTimer(0);\n }\n client_1.client.viewport.getChatmsg().startpreanim = true;\n gifLength = 0;\n if (!(client_1.client.viewport.getChatmsg().type === 1 && client_1.client.viewport.getChatmsg().preanim !== \"-\")) return [3 /*break*/, 2];\n //we have a preanim\n chatContainerBox.style.opacity = \"0\";\n return [4 /*yield*/, (0, getAnimLength_1.default)(\"\".concat(aoHost_1.AO_HOST, \"characters/\").concat(encodeURI(client_1.client.viewport.getChatmsg().name.toLowerCase()), \"/\").concat(encodeURI(client_1.client.viewport.getChatmsg().preanim)))];\n case 1:\n gifLength = _e.sent();\n client_1.client.viewport.getChatmsg().startspeaking = false;\n return [3 /*break*/, 3];\n case 2:\n client_1.client.viewport.getChatmsg().startspeaking = true;\n if (client_1.client.viewport.getChatmsg().content.trim() !== \"\")\n chatContainerBox.style.opacity = \"1\";\n _e.label = 3;\n case 3:\n client_1.client.viewport.getChatmsg().preanimdelay = gifLength;\n setAside = {\n position: client_1.client.viewport.getChatmsg().side,\n showSpeedLines: false,\n showDesk: false,\n };\n skipoffset = false;\n if (client_1.client.viewport.getChatmsg().type === 5) {\n setAside.showSpeedLines = true;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n }\n else {\n switch (Number(client_1.client.viewport.getChatmsg().deskmod)) {\n case 0: //desk is hidden\n setAside.showSpeedLines = false;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n break;\n case 1: //desk is shown\n setAside.showSpeedLines = false;\n setAside.showDesk = true;\n client_1.client.viewport.set_side(setAside);\n break;\n case 2: //desk is hidden during preanim, but shown during idle/talk\n setAside.showSpeedLines = false;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n break;\n case 3: //opposite of 2\n setAside.showSpeedLines = false;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n break;\n case 4: //desk is hidden, character offset is ignored, pair character is hidden during preanim, normal behavior during idle/talk\n setAside.showSpeedLines = false;\n setAside.showDesk = false;\n client_1.client.viewport.set_side(setAside);\n skipoffset = true;\n break;\n case 5: //opposite of 4\n setAside.showSpeedLines = false;\n setAside.showDesk = true;\n client_1.client.viewport.set_side(setAside);\n break;\n default:\n setAside.showSpeedLines = false;\n setAside.showDesk = true;\n client_1.client.viewport.set_side(setAside);\n break;\n }\n }\n (0, setChatbox_1.setChatbox)(client_1.client.viewport.getChatmsg().chatbox);\n (0, resizeChatbox_1.resizeChatbox)();\n if (!skipoffset) {\n // Flip the character\n charLayers.style.transform =\n client_1.client.viewport.getChatmsg().flip === 1 ? \"scaleX(-1)\" : \"scaleX(1)\";\n pairLayers.style.transform =\n client_1.client.viewport.getChatmsg().other_flip === 1 ? \"scaleX(-1)\" : \"scaleX(1)\";\n // Shift by the horizontal offset\n switch (client_1.client.viewport.getChatmsg().side) {\n case \"wit\":\n pairLayers.style.left = \"\".concat(200 + Number(client_1.client.viewport.getChatmsg().other_offset[0]), \"%\");\n charLayers.style.left = \"\".concat(200 + Number(client_1.client.viewport.getChatmsg().self_offset[0]), \"%\");\n break;\n case \"pro\":\n pairLayers.style.left = \"\".concat(400 + Number(client_1.client.viewport.getChatmsg().other_offset[0]), \"%\");\n charLayers.style.left = \"\".concat(400 + Number(client_1.client.viewport.getChatmsg().self_offset[0]), \"%\");\n break;\n default:\n pairLayers.style.left = \"\".concat(Number(client_1.client.viewport.getChatmsg().other_offset[0]), \"%\");\n charLayers.style.left = \"\".concat(Number(client_1.client.viewport.getChatmsg().self_offset[0]), \"%\");\n break;\n }\n // New vertical offsets\n pairLayers.style.top = \"\".concat(Number(client_1.client.viewport.getChatmsg().other_offset[1]), \"%\");\n charLayers.style.top = \"\".concat(Number(client_1.client.viewport.getChatmsg().self_offset[1]), \"%\");\n }\n client_1.client.viewport.blipChannels.forEach(function (channel) {\n return (channel.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/blips/\").concat(encodeURI(client_1.client.viewport.getChatmsg().blips.toLowerCase()), \".opus\"));\n });\n // process markup\n if (client_1.client.viewport.getChatmsg().content.startsWith(\"~~\")) {\n chatBoxInner.style.textAlign = \"center\";\n client_1.client.viewport.getChatmsg().content = client_1.client.viewport.getChatmsg().content.substring(2, client_1.client.viewport.getChatmsg().content.length);\n }\n else {\n chatBoxInner.style.textAlign = \"inherit\";\n }\n // apply effects\n fg.style.animation = \"\";\n effectName = client_1.client.viewport.getChatmsg().effects[0].toLowerCase();\n badEffects = [\"\", \"-\", \"none\"];\n if (effectName.startsWith(\"rain\")) {\n document.getElementById(\"effect_css\").href = \"styles/effects/rain.css\";\n intensity = 200;\n if (effectName.endsWith(\"weak\")) {\n intensity = 100;\n }\n else if (effectName.endsWith(\"strong\")) {\n intensity = 400;\n }\n if (intensity < fg.childElementCount)\n fg.innerHTML = '';\n else\n intensity = intensity - fg.childElementCount;\n for (i = 0; i < intensity; i++) {\n drop = document.createElement(\"p\");\n drop.style.left = (Math.random() * 100) + \"%\";\n drop.style.animationDelay = String(Math.random()) + \"s\";\n fg.appendChild(drop);\n }\n }\n else if (client_1.client.viewport.getChatmsg().effects[0] &&\n !badEffects.includes(effectName)) {\n document.getElementById(\"effect_css\").href = \"\";\n fg.innerHTML = '';\n baseEffectUrl = \"\".concat(aoHost_1.AO_HOST, \"themes/default/effects/\");\n fg.src = \"\".concat(baseEffectUrl).concat(encodeURI(effectName), \".webp\");\n }\n else {\n fg.innerHTML = '';\n fg.src = transparentPng_1.default;\n }\n charLayers.style.opacity = \"1\";\n soundChecks = [\"0\", \"1\", \"\", undefined];\n if (soundChecks.some(function (check) { return client_1.client.viewport.getChatmsg().sound === check; })) {\n client_1.client.viewport.getChatmsg().sound = client_1.client.viewport.getChatmsg().effects[2];\n }\n _e.label = 4;\n case 4:\n _e.trys.push([4, 6, , 7]);\n _a = client_1.client.viewport.getChatmsg();\n return [4 /*yield*/, attorneyMarkdown.applyMarkdown(client_1.client.viewport.getChatmsg().content, colors_1.COLORS[client_1.client.viewport.getChatmsg().color])];\n case 5:\n _a.parsed = _e.sent();\n return [3 /*break*/, 7];\n case 6:\n error_1 = _e.sent();\n console.warn(\"markdown failed\");\n output = [];\n try {\n for (_b = __values(client_1.client.viewport.getChatmsg().content), _c = _b.next(); !_c.done; _c = _b.next()) {\n letter = _c.value;\n currentSelector = document.createElement('span');\n currentSelector.innerHTML = letter;\n currentSelector.className = \"text_\".concat(colors_1.COLORS[client_1.client.viewport.getChatmsg().color]);\n output.push(currentSelector);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_d = _b.return)) _d.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n client_1.client.viewport.getChatmsg().parsed = output;\n return [3 /*break*/, 7];\n case 7:\n client_1.client.viewport.chat_tick();\n return [2 /*return*/];\n }\n });\n}); };\nexports.handle_ic_speaking = handle_ic_speaking;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.initTestimonyUpdater = void 0;\nvar client_1 = require(\"../../client\");\n/**\n * Intialize testimony updater\n */\nvar initTestimonyUpdater = function () {\n var testimonyFilenames = {\n 1: \"witnesstestimony\",\n 2: \"crossexamination\",\n 3: \"notguilty\",\n 4: \"guilty\",\n };\n var testimony = testimonyFilenames[client_1.client.testimonyID];\n if (!testimony) {\n console.warn(\"Invalid testimony ID \".concat(client_1.client.testimonyID));\n return;\n }\n client_1.client.viewport.testimonyAudio.src = client_1.client.resources[testimony].sfx;\n client_1.client.viewport.testimonyAudio.play();\n var testimonyOverlay = (document.getElementById(\"client_testimony\"));\n testimonyOverlay.src = client_1.client.resources[testimony].src;\n testimonyOverlay.style.opacity = \"1\";\n client_1.client.viewport.setTestimonyTimer(0);\n client_1.client.viewport.setTestimonyUpdater(setTimeout(function () { return client_1.client.viewport.updateTestimony(); }, client_1.UPDATE_INTERVAL));\n};\nexports.initTestimonyUpdater = initTestimonyUpdater;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.set_side = void 0;\nvar positions_1 = require(\"../constants/positions\");\nvar aoHost_1 = require(\"../../client/aoHost\");\nvar client_1 = require(\"../../client\");\nvar tryUrls_1 = require(\"../../utils/tryUrls\");\nvar fileExists_1 = require(\"../../utils/fileExists\");\n/**\n * Changes the viewport background based on a given position.\n *\n * Valid positions: `def, pro, hld, hlp, wit, jud, jur, sea`\n * @param {string} position the position to change into\n */\nvar set_side = function (_a) {\n var position = _a.position, showSpeedLines = _a.showSpeedLines, showDesk = _a.showDesk;\n return __awaiter(void 0, void 0, void 0, function () {\n var view, bench, court, bg, desk, speedLines, _b, deskFilename;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n view = document.getElementById(\"client_fullview\");\n if (['def', 'pro', 'wit'].includes(position)) {\n bench = (document.getElementById(\"client_\".concat(position, \"_bench\")));\n }\n else {\n bench = document.getElementById(\"client_bench_classic\");\n }\n if (\"def,pro,wit\".includes(position)) {\n court = (document.getElementById(\"client_court_\".concat(position)));\n }\n else {\n court = document.getElementById(\"client_court_classic\");\n }\n if (\"def,pro,hld,hlp,wit,jud,jur,sea\".includes(position)) {\n bg = positions_1.positions[position].bg;\n desk = positions_1.positions[position].desk;\n speedLines = positions_1.positions[position].speedLines;\n }\n else {\n bg = \"\".concat(position);\n desk = { ao2: \"\".concat(position, \"_overlay.png\"), ao1: \"_overlay.png\" };\n speedLines = \"defense_speedlines.gif\";\n }\n if (!(showSpeedLines === true)) return [3 /*break*/, 1];\n court.src = \"\".concat(aoHost_1.AO_HOST, \"themes/default/\").concat(encodeURI(speedLines));\n return [3 /*break*/, 3];\n case 1:\n _b = court;\n return [4 /*yield*/, (0, tryUrls_1.default)(client_1.client.viewport.getBackgroundFolder() + bg)];\n case 2:\n _b.src = _c.sent();\n _c.label = 3;\n case 3:\n if (!(showDesk === true && desk)) return [3 /*break*/, 5];\n return [4 /*yield*/, (0, fileExists_1.default)(client_1.client.viewport.getBackgroundFolder() + desk.ao2)];\n case 4:\n deskFilename = (_c.sent())\n ? desk.ao2\n : desk.ao1;\n bench.src = client_1.client.viewport.getBackgroundFolder() + deskFilename;\n bench.style.opacity = \"1\";\n return [3 /*break*/, 6];\n case 5:\n bench.style.opacity = \"0\";\n _c.label = 6;\n case 6:\n if (\"def,pro,wit\".includes(position)) {\n view.style.display = \"\";\n document.getElementById(\"client_classicview\").style.display = \"none\";\n switch (position) {\n case \"def\":\n view.style.left = \"0\";\n break;\n case \"wit\":\n view.style.left = \"-200%\";\n break;\n case \"pro\":\n view.style.left = \"-400%\";\n break;\n }\n }\n else {\n view.style.display = \"none\";\n document.getElementById(\"client_classicview\").style.display = \"\";\n }\n return [2 /*return*/];\n }\n });\n });\n};\nexports.set_side = set_side;\n","\"use strict\";\n/* eslint indent: [\"error\", 2, { \"SwitchCase\": 1 }] */\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar client_1 = require(\"../client\");\nvar client_2 = require(\"../client\");\nvar setEmote_1 = require(\"../client/setEmote\");\nvar encoding_1 = require(\"../encoding\");\nvar aoHost_1 = require(\"../client/aoHost\");\nvar createBlipChannels_1 = require(\"./utils/createBlipChannels\");\nvar defaultChatMsg_1 = require(\"./constants/defaultChatMsg\");\nvar createMusic_1 = require(\"./utils/createMusic\");\nvar createSfxAudio_1 = require(\"./utils/createSfxAudio\");\nvar createShoutAudio_1 = require(\"./utils/createShoutAudio\");\nvar createTestimonyAudio_1 = require(\"./utils/createTestimonyAudio\");\nvar colors_1 = require(\"./constants/colors\");\nvar setSide_1 = require(\"./utils/setSide\");\nvar handleICSpeaking_1 = require(\"./utils/handleICSpeaking\");\nvar viewport = function () {\n var animating = false;\n var blipChannels = (0, createBlipChannels_1.createBlipsChannels)();\n var chatmsg = defaultChatMsg_1.defaultChatMsg;\n var currentBlipChannel = 0;\n var lastChar = \"\";\n var lastEvi = 0;\n var music = (0, createMusic_1.createMusic)();\n var musicVolume = 0;\n var sfxAudio = (0, createSfxAudio_1.createSfxAudio)();\n var sfxplayed = 0;\n var shoutTimer = 0;\n var shoutaudio = (0, createShoutAudio_1.createShoutAudio)();\n var testimonyAudio = (0, createTestimonyAudio_1.createTestimonyAudio)();\n var testimonyTimer = 0;\n var testimonyUpdater;\n var textnow = \"\";\n var theme;\n var tickTimer = 0;\n var updater;\n var backgroundName = \"\";\n var getSfxAudio = function () { return sfxAudio; };\n var setSfxAudio = function (value) { sfxAudio = value; };\n var getBackgroundName = function () { return backgroundName; };\n var setBackgroundName = function (value) { backgroundName = value; };\n var getBackgroundFolder = function () {\n return \"\".concat(aoHost_1.AO_HOST, \"background/\").concat(encodeURI(backgroundName.toLowerCase()), \"/\");\n };\n var getTextNow = function () { return textnow; };\n var setTextNow = function (val) { textnow = val; };\n var getChatmsg = function () { return chatmsg; };\n var setChatmsg = function (val) { chatmsg = val; };\n var getSfxPlayed = function () { return sfxplayed; };\n var setSfxPlayed = function (val) { sfxplayed = val; };\n var getTickTimer = function () { return tickTimer; };\n var setTickTimer = function (val) { tickTimer = val; };\n var getAnimating = function () { return animating; };\n var setAnimating = function (val) { animating = val; };\n var getLastEvidence = function () { return lastEvi; };\n var setLastEvidence = function (val) { lastEvi = val; };\n var setLastCharacter = function (val) { lastChar = val; };\n var getLastCharacter = function () { return lastChar; };\n var getShoutTimer = function () { return shoutTimer; };\n var setShoutTimer = function (val) { shoutTimer = val; };\n var getTheme = function () { return theme; };\n var setTheme = function (val) { theme = val; };\n var getTestimonyTimer = function () { return testimonyTimer; };\n var setTestimonyTimer = function (val) { testimonyTimer = val; };\n var setTestimonyUpdater = function (val) { testimonyUpdater = val; };\n var getTestimonyUpdater = function () { return testimonyUpdater; };\n var playSFX = function (sfxname, looping) { return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n sfxAudio.pause();\n sfxAudio.loop = looping;\n sfxAudio.src = sfxname;\n sfxAudio.play();\n return [2 /*return*/];\n });\n }); };\n /**\n * Updates the testimony overaly\n */\n var updateTestimony = function () {\n var testimonyFilenames = {\n 1: \"witnesstestimony\",\n 2: \"crossexamination\",\n 3: \"notguilty\",\n 4: \"guilty\",\n };\n // Update timer\n testimonyTimer += client_2.UPDATE_INTERVAL;\n var testimony = testimonyFilenames[client_1.client.testimonyID];\n var resource = client_1.client.resources[testimony];\n if (!resource) {\n disposeTestimony();\n return;\n }\n if (testimonyTimer >= resource.duration) {\n disposeTestimony();\n }\n else {\n testimonyUpdater = setTimeout(function () { return updateTestimony(); }, client_2.UPDATE_INTERVAL);\n }\n };\n /**\n * Dispose the testimony overlay\n */\n var disposeTestimony = function () {\n client_1.client.testimonyID = 0;\n testimonyTimer = 0;\n document.getElementById(\"client_testimony\").style.opacity = \"0\";\n clearTimeout(testimonyUpdater);\n };\n var handleTextTick = function (charLayers) { return __awaiter(void 0, void 0, void 0, function () {\n var chatBox, waitingBox, chatBoxInner, charName, charEmote, characterElement, COMMAND_IDENTIFIER, nextCharacterElement, flash, shake, commands, textSpeeds, MAX_SLOW_CHATSPEED, i, currentCharacter;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n chatBox = document.getElementById(\"client_chat\");\n waitingBox = document.getElementById(\"client_chatwaiting\");\n chatBoxInner = document.getElementById(\"client_inner_chat\");\n charName = chatmsg.name.toLowerCase();\n charEmote = chatmsg.sprite.toLowerCase();\n if (chatmsg.content.charAt(textnow.length) !== \" \") {\n blipChannels[currentBlipChannel].play();\n currentBlipChannel++;\n currentBlipChannel %= blipChannels.length;\n }\n textnow = chatmsg.content.substring(0, textnow.length + 1);\n characterElement = chatmsg.parsed[textnow.length - 1];\n if (!characterElement) return [3 /*break*/, 3];\n COMMAND_IDENTIFIER = \"\\\\\";\n nextCharacterElement = chatmsg.parsed[textnow.length];\n flash = function () { return __awaiter(void 0, void 0, void 0, function () {\n var effectlayer;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n effectlayer = document.getElementById(\"client_fg\");\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-realization.opus\"), false);\n effectlayer.style.animation = \"flash 0.4s 1\";\n return [4 /*yield*/, (0, client_1.delay)(400)];\n case 1:\n _a.sent();\n effectlayer.style.removeProperty(\"animation\");\n return [2 /*return*/];\n }\n });\n }); };\n shake = function () { return __awaiter(void 0, void 0, void 0, function () {\n var gamewindow;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n gamewindow = document.getElementById(\"client_gamewindow\");\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-stab.opus\"), false);\n gamewindow.style.animation = \"shake 0.2s 1\";\n return [4 /*yield*/, (0, client_1.delay)(200)];\n case 1:\n _a.sent();\n gamewindow.style.removeProperty(\"animation\");\n return [2 /*return*/];\n }\n });\n }); };\n commands = new Map(Object.entries({\n s: shake,\n f: flash,\n }));\n textSpeeds = new Set([\"{\", \"}\"]);\n // Changing Text Speed\n if (textSpeeds.has(characterElement.innerHTML)) {\n MAX_SLOW_CHATSPEED = 120;\n for (i = textnow.length; i < chatmsg.content.length; i++) {\n currentCharacter = chatmsg.parsed[i - 1].innerHTML;\n if (currentCharacter === \"}\") {\n if (chatmsg.speed > 0) {\n chatmsg.speed -= 20;\n }\n }\n else if (currentCharacter === \"{\") {\n if (chatmsg.speed < MAX_SLOW_CHATSPEED) {\n chatmsg.speed += 20;\n }\n }\n else {\n // No longer at a speed character\n textnow = chatmsg.content.substring(0, i);\n break;\n }\n }\n }\n if (!(characterElement.innerHTML === COMMAND_IDENTIFIER &&\n commands.has(nextCharacterElement === null || nextCharacterElement === void 0 ? void 0 : nextCharacterElement.innerHTML))) return [3 /*break*/, 2];\n textnow = chatmsg.content.substring(0, textnow.length + 1);\n return [4 /*yield*/, commands.get(nextCharacterElement.innerHTML)()];\n case 1:\n _a.sent();\n return [3 /*break*/, 3];\n case 2:\n chatBoxInner.appendChild(chatmsg.parsed[textnow.length - 1]);\n _a.label = 3;\n case 3:\n // scroll to bottom\n chatBox.scrollTop = chatBox.scrollHeight;\n if (textnow === chatmsg.content) {\n animating = false;\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, charName, charEmote, \"(a)\", false, chatmsg.side);\n charLayers.style.opacity = \"1\";\n waitingBox.style.opacity = \"1\";\n clearTimeout(updater);\n }\n return [2 /*return*/];\n }\n });\n }); };\n /**\n * Updates the chatbox based on the given text.\n *\n * OK, here's the documentation on how this works:\n *\n * 1 _animating\n * If we're not done with this characters animation, i.e. his text isn't fully there, set a timeout for the next tick/step to happen\n *\n * 2 startpreanim\n * If the shout timer is over it starts with the preanim\n * The first thing it checks for is the shake effect (TODO on client this is handled by the @ symbol and not a flag )\n * Then is the flash/realization effect\n * After that, the shout image set to be transparent\n * and the main characters preanim gif is loaded\n * If pairing is supported the paired character will just stand around with his idle sprite\n *\n * 3 preanimdelay over\n * this animates the evidence popup and finally shows the character name and message box\n * it sets the text color and the character speaking sprite\n *\n * 4 textnow != content\n * this adds a character to the textbox and stops the animations if the entire message is present in the textbox\n *\n * 5 sfx\n * independent of the stuff above, this will play any sound effects specified by the emote the character sent.\n * happens after the shout delay + an sfx delay that comes with the message packet\n *\n * XXX: This relies on a global variable `chatmsg`!\n */\n var chat_tick = function () { return __awaiter(void 0, void 0, void 0, function () {\n var gamewindow, waitingBox, eviBox, shoutSprite, effectlayer, chatBoxInner, charLayers, pairLayers, validSides, charName, charEmote, pairName, pairEmote, isShoutOver, isShoutAndPreanimOver, preanim, hasNonInterruptingPreAnim, chatContainerBox, chatContainerBox;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: \n // note: this is called fairly often\n // do not perform heavy operations here\n return [4 /*yield*/, (0, client_1.delay)(chatmsg.speed)];\n case 1:\n // note: this is called fairly often\n // do not perform heavy operations here\n _a.sent();\n if (textnow === chatmsg.content) {\n return [2 /*return*/];\n }\n gamewindow = document.getElementById(\"client_gamewindow\");\n waitingBox = document.getElementById(\"client_chatwaiting\");\n eviBox = document.getElementById(\"client_evi\");\n shoutSprite = (document.getElementById(\"client_shout\"));\n effectlayer = document.getElementById(\"client_fg\");\n chatBoxInner = document.getElementById(\"client_inner_chat\");\n charLayers = document.getElementById(\"client_char\");\n pairLayers = (document.getElementById(\"client_pair_char\"));\n validSides = [\"def\", \"pro\", \"wit\"];\n if (validSides.includes(chatmsg.side)) {\n charLayers = (document.getElementById(\"client_\".concat(chatmsg.side, \"_char\")));\n pairLayers = (document.getElementById(\"client_\".concat(chatmsg.side, \"_pair_char\")));\n }\n charName = chatmsg.name.toLowerCase();\n charEmote = chatmsg.sprite.toLowerCase();\n pairName = chatmsg.other_name.toLowerCase();\n pairEmote = chatmsg.other_emote.toLowerCase();\n isShoutOver = tickTimer >= shoutTimer;\n isShoutAndPreanimOver = tickTimer >= shoutTimer + chatmsg.preanimdelay;\n if (isShoutOver && handleICSpeaking_1.startFirstTickCheck) {\n // Effect stuff\n if (chatmsg.screenshake === 1) {\n // Shake screen\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-stab.opus\"), false);\n gamewindow.style.animation = \"shake 0.2s 1\";\n }\n if (chatmsg.flash === 1) {\n // Flash screen\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-realization.opus\"), false);\n effectlayer.style.animation = \"flash 0.4s 1\";\n }\n // Pre-animation stuff\n if (chatmsg.preanimdelay > 0) {\n shoutSprite.style.opacity = \"0\";\n shoutSprite.style.animation = \"\";\n preanim = chatmsg.preanim.toLowerCase();\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, charName, preanim, \"\", false, chatmsg.side);\n }\n if (chatmsg.other_name) {\n pairLayers.style.opacity = \"1\";\n }\n else {\n pairLayers.style.opacity = \"0\";\n }\n // Done with first check, move to second\n (0, handleICSpeaking_1.setStartFirstTickCheck)(false);\n (0, handleICSpeaking_1.setStartSecondTickCheck)(true);\n chatmsg.startpreanim = false;\n chatmsg.startspeaking = true;\n }\n hasNonInterruptingPreAnim = chatmsg.noninterrupting_preanim === 1;\n if (!(textnow !== chatmsg.content && hasNonInterruptingPreAnim)) return [3 /*break*/, 3];\n chatContainerBox = document.getElementById(\"client_chatcontainer\");\n chatContainerBox.style.opacity = \"1\";\n return [4 /*yield*/, handleTextTick(charLayers)];\n case 2:\n _a.sent();\n return [3 /*break*/, 6];\n case 3:\n if (!(isShoutAndPreanimOver && handleICSpeaking_1.startSecondTickCheck)) return [3 /*break*/, 6];\n if (!chatmsg.startspeaking) return [3 /*break*/, 4];\n chatmsg.startspeaking = false;\n // Evidence Bullshit\n if (chatmsg.evidence > 0) {\n // Prepare evidence\n eviBox.src = (0, encoding_1.safeTags)(client_1.client.evidences[chatmsg.evidence - 1].icon);\n eviBox.style.width = \"auto\";\n eviBox.style.height = \"36.5%\";\n eviBox.style.opacity = \"1\";\n testimonyAudio.src = \"\".concat(aoHost_1.AO_HOST, \"sounds/general/sfx-evidenceshoop.opus\");\n testimonyAudio.play();\n if (chatmsg.side === \"def\") {\n // Only def show evidence on right\n eviBox.style.right = \"1em\";\n eviBox.style.left = \"initial\";\n }\n else {\n eviBox.style.right = \"initial\";\n eviBox.style.left = \"1em\";\n }\n }\n chatBoxInner.className = \"text_\".concat(colors_1.COLORS[chatmsg.color]);\n if (chatmsg.preanimdelay === 0) {\n shoutSprite.style.opacity = \"0\";\n shoutSprite.style.animation = \"\";\n }\n switch (Number(chatmsg.deskmod)) {\n case 2:\n (0, setSide_1.set_side)({\n position: chatmsg.side,\n showSpeedLines: false,\n showDesk: true,\n });\n break;\n case 3:\n (0, setSide_1.set_side)({\n position: chatmsg.side,\n showSpeedLines: false,\n showDesk: false,\n });\n break;\n case 4:\n (0, setSide_1.set_side)({\n position: chatmsg.side,\n showSpeedLines: false,\n showDesk: true,\n });\n break;\n case 5:\n (0, setSide_1.set_side)({\n position: chatmsg.side,\n showSpeedLines: false,\n showDesk: false,\n });\n break;\n }\n if (chatmsg.other_name) {\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, pairName, pairEmote, \"(a)\", true, chatmsg.side);\n pairLayers.style.opacity = \"1\";\n }\n else {\n pairLayers.style.opacity = \"0\";\n }\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, charName, charEmote, \"(b)\", false, chatmsg.side);\n charLayers.style.opacity = \"1\";\n if (textnow === chatmsg.content) {\n (0, setEmote_1.default)(aoHost_1.AO_HOST, client_1.client, charName, charEmote, \"(a)\", false, chatmsg.side);\n charLayers.style.opacity = \"1\";\n waitingBox.style.opacity = \"1\";\n animating = false;\n clearTimeout(updater);\n return [2 /*return*/];\n }\n return [3 /*break*/, 6];\n case 4:\n if (!(textnow !== chatmsg.content)) return [3 /*break*/, 6];\n chatContainerBox = document.getElementById(\"client_chatcontainer\");\n chatContainerBox.style.opacity = \"1\";\n return [4 /*yield*/, handleTextTick(charLayers)];\n case 5:\n _a.sent();\n _a.label = 6;\n case 6:\n if (!sfxplayed && chatmsg.snddelay + shoutTimer >= tickTimer) {\n sfxplayed = 1;\n if (chatmsg.sound !== \"0\" &&\n chatmsg.sound !== \"1\" &&\n chatmsg.sound !== \"\" &&\n chatmsg.sound !== undefined &&\n (chatmsg.type == 1 || chatmsg.type == 2 || chatmsg.type == 6)) {\n playSFX(\"\".concat(aoHost_1.AO_HOST, \"sounds/general/\").concat(encodeURI(chatmsg.sound.toLowerCase()), \".opus\"), chatmsg.looping_sfx);\n }\n }\n if (animating) {\n chat_tick();\n }\n tickTimer += client_2.UPDATE_INTERVAL;\n return [2 /*return*/];\n }\n });\n }); };\n return {\n getTextNow: getTextNow,\n setTextNow: setTextNow,\n getChatmsg: getChatmsg,\n setChatmsg: setChatmsg,\n getSfxPlayed: getSfxPlayed,\n setSfxPlayed: setSfxPlayed,\n setTickTimer: setTickTimer,\n getTickTimer: getTickTimer,\n setAnimating: setAnimating,\n getAnimating: getAnimating,\n getLastEvidence: getLastEvidence,\n setLastEvidence: setLastEvidence,\n setLastCharacter: setLastCharacter,\n getLastCharacter: getLastCharacter,\n getShoutTimer: getShoutTimer,\n setShoutTimer: setShoutTimer,\n setTheme: setTheme,\n getTheme: getTheme,\n setTestimonyTimer: setTestimonyTimer,\n getTestimonyTimer: getTestimonyTimer,\n setTestimonyUpdater: setTestimonyUpdater,\n getTestimonyUpdater: getTestimonyUpdater,\n testimonyAudio: testimonyAudio,\n chat_tick: chat_tick,\n playSFX: playSFX,\n set_side: setSide_1.set_side,\n setBackgroundName: setBackgroundName,\n updateTestimony: updateTestimony,\n disposeTestimony: disposeTestimony,\n handleTextTick: handleTextTick,\n getBackgroundFolder: getBackgroundFolder,\n getBackgroundName: getBackgroundName,\n getSfxAudio: getSfxAudio,\n setSfxAudio: setSfxAudio,\n blipChannels: blipChannels,\n music: music,\n musicVolume: musicVolume,\n shoutaudio: shoutaudio,\n updater: updater,\n };\n};\nexports.default = viewport;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t47: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkwebao\"] = self[\"webpackChunkwebao\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(6459);\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","changeSFXVolume","setCookie","document","getElementById","volume","changeTestimonyVolume","changeShoutVolume","window","regexPatterns","section","param","comment","lineFilter","value","isEmpty","length","test","data","currentSection","parsedIni","split","filter","forEach","line","isParameter","isSection","match","matchKey","toLowerCase","matchValue","valueHandler","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","gen","reject","_next","_throw","key","info","error","_asyncToGenerator","fn","self","args","arguments","apply","err","undefined","requestBuffer","_x","_requestBuffer","_callee2","url","_context2","xhr","XMLHttpRequest","responseType","addEventListener","concat","statusText","code","status","response","open","send","request","_ref","_callee","_context","_x2","fileExists","onload","readyState","onerror","gifFile","Uint8Array","duration","delay","webpFile","apngFile","delayNum","Number","delayDen","getAnimLength","_i","_extensions","extension","urlWithExtension","fileBuffer","calculatorHandler","AO_HOST","THEME","holdit","src","objection","takethat","custom","witnesstestimony","sfx","crossexamination","guilty","notguilty","__assign","assign","this","__awaiter","thisArg","_arguments","P","generator","fulfilled","step","rejected","result","__generator","body","_","label","trys","ops","verb","op","__spreadArray","to","from","pack","ar","Array","SuppressedError","version","wait","durationMs","resolveWith","setTimeout","isPromise","awaitIfAsync","action","callback","returnedValue","mapWithBreaks","items","loopReleaseInterval","results","lastLoopReleaseTime","now","_a","Date","suppressUnhandledRejectionWarning","promise","x64Add","m","x64Multiply","x64Rotl","x64LeftShift","x64Xor","x64Fmix","x64hash128","seed","remainder","bytes","h1","h2","k1","k2","c1","c2","charCodeAt","toString","toInt","parseInt","toFloat","parseFloat","replaceNaN","replacement","countTruthy","reduce","sum","round","base","Math","abs","counterBase","ensureErrorWithMessage","message","isFinalResultLoaded","loadResult","loadSources","sources","sourceOptions","excludeSources","includedSources","sourceKey","haystack","needle","includes","sourceGettersPromise","source","sourceLoadPromise","resolveLoad","loadStartTime","bind","loadArgs","loadDuration","resolveGet","getStartTime","getArgs","finalizeSource","loadSource","componentPromises","componentArray","components","index","sourceGetter","componentPromise","all","transformSource","transformValue","transformLoadResult","getResult","options","isTrident","w","navigator","isEdgeHTML","isChromium","vendor","indexOf","isWebKit","isDesktopSafari","isGecko","_b","documentElement","style","getFullscreenElement","fullscreenElement","msFullscreenElement","mozFullScreenElement","webkitFullscreenElement","isAndroid","isItChromium","isItGecko","appVersion","makeInnerError","withIframe","initialHtml","domPollInterval","_c","iframe","_d","createElement","_resolve","_reject","isComplete","setProperty","position","top","left","visibility","srcdoc","appendChild","checkReadyState","contentWindow","parentNode","removeChild","selectorToElement","selector","errorMessage","tagMatch","exec","tag","attributes","partsRegex","addAttribute","part","attributeMatch","parseSimpleCssSelector","element","name_1","join","addStyleString","setAttribute","property","name_2","priority","baseFonts","fontList","canvasToString","canvas","toDataURL","screenFrameBackup","screenFrameSizeTimeoutId","screenFrameCheckInterval","getScreenFrame","_this","checkScreenFrame","frameSize","getCurrentScreenFrame","isFrameSizeNull","watchScreenFrame","exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen","screen","availTop","width","availWidth","availLeft","height","availHeight","getBlockedSelectors","selectors","root","elements","blockedSelectors","holder","forceShow","tagName","show","offsetParent","doesMatch$4","matchMedia","matches","doesMatch$3","doesMatch$2","doesMatch$1","doesMatch","M","fallbackFn","presets","default","apple","font","serif","fontFamily","sans","mono","min","fontSize","system","fonts","spansContainer","defaultWidth","defaultHeight","createSpan","span","textContent","baseFontsSpans","map","fontsSpans","spans","_loop_1","baseFont","fontToDetect","createSpanWithFonts","fontList_1","initializeFontsSpans","offsetWidth","offsetHeight","fontSpans","some","baseFontIndex","domBlockers","debug","filters","filterNames","activeBlockers","fromB64","atob","abpIndo","abpvn","adBlockFinland","adBlockPersian","adBlockWarningRemoval","adGuardAnnoyances","adGuardBase","adGuardChinese","adGuardFrench","adGuardGerman","adGuardJapanese","adGuardMobile","adGuardRussian","adGuardSocial","adGuardSpanishPortuguese","adGuardTrackingProtection","adGuardTurkish","bulgarian","easyList","easyListChina","easyListCookie","easyListCzechSlovak","easyListDutch","easyListGermany","easyListItaly","easyListLithuania","estonian","fanboyAnnoyances","fanboyAntiFacebook","fanboyEnhancedTrackers","fanboySocial","frellwitSwedish","greekAdBlock","hungarian","iDontCareAboutCookies","icelandicAbp","latvian","listKr","listeAr","listeFr","officialPolish","ro","ruAd","thaiAds","webAnnoyancesUltralist","filterName","console","log","printDebug","sort","fontPreferences","containerWidthPx","iframeWindow","iframeDocument","iframeBody","bodyStyle","webkitTextSizeAdjust","textSizeAdjust","zoom","devicePixelRatio","linesOfText","container","sizes","text","whiteSpace","_e","_f","_g","_h","getBoundingClientRect","audio","AudioContext","OfflineAudioContext","webkitOfflineAudioContext","isWebKit606OrNewer","context","oscillator","createOscillator","frequency","compressor","createDynamicsCompressor","threshold","knee","ratio","attack","release","connect","destination","start","finalize","isFinalized","renderTryCount","startedRunningAt","oncomplete","event","renderedBuffer","startRunningTimeout","tryRender","renderingPromise","startRendering","state","hidden","startRenderingAudio","renderPromise","finishRendering","fingerprintPromise","buffer","signal","hash","getHash","getChannelData","subarray","screenFrame","screenFrameGetter","processSize","sideSize","osCpu","oscpu","languages","language","userLanguage","browserLanguage","systemLanguage","isArray","Intl","Reflect","colorDepth","deviceMemory","screenResolution","parseDimension","dimensions","hardwareConcurrency","timezone","DateTimeFormat","resolvedOptions","timeZone","currentYear","offset","getFullYear","max","getTimezoneOffset","sessionStorage","localStorage","indexedDB","openDatabase","cpuClass","platform","screenRatio","Element","webkitRequestFullscreen","isIPad","plugins","rawPlugins","plugin","mimeTypes","j","mimeType","suffixes","description","geometry","winding","getContext","makeCanvasContext","isSupported","rect","isPointInPath","doesSupportWinding","textBaseline","fillStyle","fillRect","printedText","String","fromCharCode","fillText","renderTextImage","textImage1","globalCompositeOperation","color","x","beginPath","arc","PI","closePath","fill","renderGeometryImage","touchSupport","touchEvent","maxTouchPoints","msMaxTouchPoints","createEvent","touchStart","vendorFlavors","flavors","cookiesEnabled","cookie","colorGamut","gamut","invertedColors","forcedColors","monochrome","contrast","reducedMotion","hdr","math","acos","acosh","asin","asinh","atanh","atan","sin","sinh","cos","cosh","tan","tanh","exp","expm1","log1p","acoshPf","sqrt","asinhPf","atanhPf","sinhPf","coshPf","tanhPf","expm1Pf","log1pPf","powPI","pow","videoCard","gl","debugInfo","getExtension","getParameter","UNMASKED_VENDOR_WEBGL","renderer","UNMASKED_RENDERER_WEBGL","pdfViewerEnabled","architecture","Float32Array","u8","Infinity","commentTemplate","getConfidence","openConfidenceScore","getOpenConfidenceScore","proConfidenceScore","deriveProConfidenceScore","score","replace","componentsToDebugString","JSON","stringify","_key","stack","hashComponents","componentKey","component","componentsToCanonicalString","prepareForSources","delayFallback","fallbackTimeout","deadlineTimeout","requestIdleCallback","timeout","requestIdleCallbackIfAvailable","makeAgent","getComponents","creationTime","get","startTime","visitorIdCache","visitorId","confidence","makeLazyGetResult","userAgent","load","monitoring","__fpjs_d_m","random","monitor","murmurX64Hash128","isCallable","tryToString","$TypeError","module","exports","argument","isConstructor","$String","wellKnownSymbol","UNSCOPABLES","ArrayPrototype","S","unicode","isPrototypeOf","it","Prototype","isObject","ArrayBuffer","DataView","NAME","Constructor","NATIVE_ARRAY_BUFFER","DESCRIPTORS","global","hasOwn","classof","createNonEnumerableProperty","defineBuiltIn","defineBuiltInAccessor","uid","InternalStateModule","enforceInternalState","enforce","getInternalState","Int8Array","Int8ArrayPrototype","Uint8ClampedArray","Uint8ClampedArrayPrototype","TypedArray","TypedArrayPrototype","ObjectPrototype","TO_STRING_TAG","TYPED_ARRAY_TAG","TYPED_ARRAY_CONSTRUCTOR","NATIVE_ARRAY_BUFFER_VIEWS","opera","TYPED_ARRAY_TAG_REQUIRED","TypedArrayConstructorsList","Int16Array","Uint16Array","Int32Array","Uint32Array","Float64Array","BigIntArrayConstructorsList","BigInt64Array","BigUint64Array","getTypedArrayConstructor","proto","isTypedArray","klass","Function","aTypedArray","aTypedArrayConstructor","C","exportTypedArrayMethod","KEY","forced","ARRAY","TypedArrayConstructor","error2","exportTypedArrayStaticMethod","isView","uncurryThis","FunctionName","defineBuiltIns","fails","anInstance","toIntegerOrInfinity","toLength","toIndex","IEEE754","getOwnPropertyNames","arrayFill","arraySlice","setToStringTag","PROPER_FUNCTION_NAME","PROPER","CONFIGURABLE_FUNCTION_NAME","CONFIGURABLE","ARRAY_BUFFER","DATA_VIEW","PROTOTYPE","WRONG_INDEX","getInternalArrayBufferState","getterFor","getInternalDataViewState","setInternalState","set","NativeArrayBuffer","$ArrayBuffer","ArrayBufferPrototype","$DataView","DataViewPrototype","RangeError","packIEEE754","unpackIEEE754","unpack","packInt8","number","packInt16","packInt32","unpackInt32","packFloat32","packFloat64","addGetter","view","count","isLittleEndian","store","intIndex","boolIsLittleEndian","byteLength","byteOffset","conversion","INCORRECT_ARRAY_BUFFER_NAME","NaN","testView","$setInt8","setInt8","getInt8","setUint8","unsafe","detached","bufferState","bufferLength","getUint8","getInt16","getUint16","getInt32","getUint32","getFloat32","getFloat64","setInt16","setUint16","setInt32","setUint32","setFloat32","setFloat64","toObject","toAbsoluteIndex","lengthOfArrayLike","deletePropertyOrThrow","copyWithin","target","O","len","end","inc","argumentsLength","endPos","$forEach","STRICT_METHOD","arrayMethodIsStrict","callbackfn","list","toIndexedObject","createMethod","IS_INCLUDES","$this","el","fromIndex","IndexedObject","arraySpeciesCreate","TYPE","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","that","specificCreate","boundFunction","every","find","findIndex","filterReject","$lastIndexOf","lastIndexOf","NEGATIVE_ZERO","FORCED","searchElement","V8_VERSION","SPECIES","METHOD_NAME","array","foo","Boolean","aCallable","IS_RIGHT","memo","right","createProperty","$Array","k","fin","floor","mergeSort","comparefn","middle","insertionSort","merge","llength","rlength","lindex","rindex","originalArray","arraySpeciesConstructor","ITERATOR","SAFE_CLOSING","called","iteratorWithReturn","SKIP_CLOSING","ITERATION_SUPPORT","object","stringSlice","TO_STRING_TAG_SUPPORT","classofRaw","$Object","CORRECT_ARGUMENTS","tryGet","callee","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","exceptions","getOwnPropertyDescriptor","F","createPropertyDescriptor","bitmap","toPropertyKey","propertyKey","makeBuiltIn","descriptor","getter","setter","defineGlobalProperty","simple","nonConfigurable","nonWritable","documentAll","IS_HTMLDDA","EXISTS","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","classList","documentCreateElement","DOMTokenListPrototype","firefox","IS_DENO","IS_NODE","Deno","UA","Pebble","process","versions","v8","webkit","copyConstructorProperties","isForced","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","sham","regexpExec","RegExpPrototype","RegExp","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","re","flags","uncurriedNativeRegExpMethod","methods","nativeMethod","regexp","str","arg2","forceStringMethod","uncurriedNativeMethod","$exec","NATIVE_BIND","FunctionPrototype","getDescriptor","uncurryThisWithBind","namespace","getMethod","isNullOrUndefined","Iterators","anObject","getIteratorMethod","usingIterator","iteratorMethod","replacer","rawLength","keysLength","V","func","check","globalThis","b","getBuiltIn","sign","trunc","LN2","roundToEven","truncated","delta","mantissaLength","exponent","mantissa","exponentLength","eMax","eBias","rt","nBits","propertyIsEnumerable","dummy","Wrapper","NewTarget","NewTargetPrototype","functionToString","inspectSource","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","metadata","facade","STATE","$documentAll","noop","empty","construct","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","feature","detection","normalize","POLYFILL","NATIVE","string","isInteger","isFinite","MATCH","isRegExp","USE_SYMBOL_AS_UID","$Symbol","isArrayIteratorMethod","getIterator","iteratorClose","Result","stopped","ResultPrototype","iterable","unboundFunction","iterFn","AS_ENTRIES","IS_RECORD","IS_ITERATOR","INTERRUPTED","condition","callFn","kind","innerResult","innerError","IteratorPrototype","returnThis","IteratorConstructor","ENUMERABLE_NEXT","$","IS_PURE","createIteratorConstructor","IteratorsCore","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","ENTRIES","Iterable","DEFAULT","IS_SET","CurrentIteratorPrototype","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","PrototypeOfArrayIteratorPrototype","arrayIterator","obj","CONFIGURABLE_LENGTH","TEMPLATE","arity","ceil","notify","toggle","node","macrotask","Queue","IS_IOS","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","MutationObserver","WebKitMutationObserver","queueMicrotaskDescriptor","microtask","queue","flush","parent","domain","exit","head","enter","nextTick","createTextNode","observe","characterData","add","PromiseCapability","$$resolve","$$reject","activeXDocument","definePropertiesModule","enumBugKeys","html","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","JS","display","Properties","V8_PROTOTYPE_DEFINE_BUG","objectKeys","defineProperties","props","IE8_DOM_DEFINE","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","$getOwnPropertyNames","windowNames","getWindowNames","internalObjectKeys","getOwnPropertySymbols","CORRECT_PROTOTYPE_GETTER","names","$propertyIsEnumerable","NASHORN_BUG","uncurryThisAccessor","aPossiblePrototype","CORRECT_SETTER","input","pref","val","valueOf","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","NativePromiseConstructor","IS_BROWSER","NativePromisePrototype","SUBCLASSING","NATIVE_PROMISE_REJECTION_EVENT","PromiseRejectionEvent","FORCED_PROMISE_CONSTRUCTOR","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","CONSTRUCTOR","REJECTION_EVENT","newPromiseCapability","promiseCapability","checkCorrectnessOfIteration","tail","item","entry","R","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","nativeExec","patchedExec","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","group","raw","groups","sticky","charsAdded","strCopy","multiline","hasIndices","ignoreCase","dotAll","unicodeSets","$RegExp","MISSED_STICKY","CONSTRUCTOR_NAME","TAG","SHARED","mode","copyright","license","aConstructor","defaultConstructor","requireObjectCoercible","CONVERT_TO_STRING","pos","first","second","size","codeAt","whitespaces","ltrim","rtrim","trim","symbol","SymbolPrototype","TO_PRIMITIVE","hint","NATIVE_SYMBOL","keyFor","$location","defer","channel","port","validateArgumentsLength","setImmediate","clear","clearImmediate","Dispatch","MessageChannel","counter","ONREADYSTATECHANGE","location","run","id","runner","eventListener","globalPostMessageDefer","postMessage","protocol","host","handler","port2","port1","onmessage","importScripts","integer","toPrimitive","prim","BigInt","$RangeError","toPositiveInteger","BYTES","isSymbol","ordinaryToPrimitive","exoticToPrim","TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS","ArrayBufferViewCore","ArrayBufferModule","isIntegralNumber","toOffset","toUint8Clamped","typedArrayFrom","setSpecies","inheritIfRequired","nativeDefineProperty","nativeGetOwnPropertyDescriptor","BYTES_PER_ELEMENT","WRONG_LENGTH","fromList","isArrayBuffer","isTypedArrayIndex","wrappedGetOwnPropertyDescriptor","wrappedDefineProperty","wrapper","CLAMPED","GETTER","SETTER","NativeTypedArrayConstructor","TypedArrayConstructorPrototype","exported","addElement","typedArrayOffset","$length","$len","arrayFromConstructorAndList","typedArraySpeciesConstructor","instance","isBigIntArray","toBigInt","thisIsBigIntArray","mapfn","mapping","speciesConstructor","postfix","passed","required","path","wrappedWellKnownSymbolModule","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","nativeArrayBufferSlice","viewSource","viewTarget","doesNotExceedSafeInteger","arrayMethodHasSpeciesSupport","IS_CONCAT_SPREADABLE","IS_CONCAT_SPREADABLE_SUPPORT","isConcatSpreadable","spreadable","E","A","$filter","addToUnscopables","defineIterator","createIterResultObject","ARRAY_ITERATOR","iterated","Arguments","nativeReverse","nativeSlice","HAS_SPECIES_SUPPORT","FUNCTION_NAME_EXISTS","nameRE","regExpExec","getReplacerFunction","$stringify","numberToString","tester","low","hi","WRONG_SYMBOLS_CONVERSION","ILL_FORMED_UNICODE","stringifyWithSymbolsFix","$replacer","fixIllFormed","space","thisNumberValue","NUMBER","NativeNumber","PureNumberNamespace","NumberPrototype","NumberWrapper","primValue","third","radix","maxCode","digits","toNumber","toNumeric","$getOwnPropertySymbols","nativeGetPrototypeOf","newPromiseCapabilityModule","perform","iterate","capability","$promiseResolve","remaining","alreadyCalled","real","onRejected","Internal","OwnPromiseCapability","nativeThen","task","hostReportErrors","PromiseConstructorDetection","PROMISE","NATIVE_PROMISE_SUBCLASSING","getInternalPromiseState","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","dispatchEvent","UNHANDLED_REJECTION","isThenable","callReaction","reaction","exited","ok","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","reason","initEvent","isUnhandled","emit","unwrap","internalReject","internalResolve","executor","onFulfilled","PromiseWrapper","race","promiseResolve","PromiseConstructorWrapper","CHECK_WRAPPER","STRING_ITERATOR","point","fixRegExpWellKnownSymbolLogic","advanceStringIndex","nativeMatch","maybeCallNative","matcher","rx","res","fullUnicode","matchStr","callRegExpExec","MAX_UINT32","$push","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","SPLIT","nativeSplit","internalSplit","separator","limit","lim","lastLength","output","lastLastIndex","separatorCopy","splitter","unicodeMatching","q","z","defineWellKnownSymbol","$toString","nativeObjectCreate","getOwnPropertyNamesExternal","defineSymbolToPrimitive","HIDDEN","QObject","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","$defineProperties","properties","IS_OBJECT_PROTOTYPE","useSetter","useSimple","NativeSymbol","EmptyStringDescriptionStore","SymbolWrapper","thisSymbolValue","symbolDescriptiveString","desc","NATIVE_SYMBOL_REGISTRY","StringToSymbolRegistry","SymbolToStringRegistry","sym","u$ArrayCopyWithin","$every","$fill","actualValue","fromSpeciesAndList","$findIndex","predicate","$find","$includes","$indexOf","ArrayIterators","arrayValues","arrayKeys","arrayEntries","GENERIC","ITERATOR_IS_VALUES","typedArrayValues","$join","$map","$reduceRight","$reduce","$set","WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS","TO_OBJECT_BUG","arrayLike","$some","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","nativeSort","ACCEPT_INCORRECT_ARGUMENTS","STABLE_SORT","mod","expected","getSortCompare","begin","beginIndex","$toLocaleString","toLocaleString","TO_LOCALE_STRING_BUG","Uint8ArrayPrototype","arrayToString","IS_NOT_ARRAY_METHOD","createTypedArrayConstructor","init","DOMIterables","handlePrototype","CollectionPrototype","COLLECTION_NAME","ArrayIteratorMethods","ArrayValues","ReflectOwnKeys","ReflectApply","receiver","NumberIsNaN","EventEmitter","once","emitter","errorListener","removeListener","resolver","eventTargetAgnosticAddListener","on","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","listener","_getMaxListeners","_addListener","prepend","events","existing","warning","newListener","unshift","warned","warn","onceWrapper","fired","wrapFn","_onceWrap","wrapped","_listeners","evlistener","arr","ret","unwrapListeners","arrayClone","listenerCount","copy","wrapListener","removeEventListener","setMaxListeners","getMaxListeners","doError","er","listeners","addListener","prependListener","prependOnceListener","originalListener","shift","spliceOne","off","removeAllListeners","rawListeners","eventNames","extendStatics","__extends","__","__values","setLastICMessageTime","lastICMessageTime","setBanned","banned","setExtraFeatures","extrafeatures","setSelectedShout","selectedShout","setSelectedMenu","selectedMenu","setOldLoading","oldLoading","UPDATE_INTERVAL","setClient","client","setCHATBOX","CHATBOX","hdid","isLowMemory_1","fingerprintjs_1","index_1","queryParser_1","getResources_js_1","viewport_1","events_1","onReplayGo_1","packetHandler_1","loadResources_1","aoHost_1","fetchLists_1","serverIP","ip","theme","fp","Client","isLowMemory","loadResources","ms","_super","address","onOpen","onClose","onMessage","onError","serv","WebSocket","joinServer","hp","playerID","charID","char_list_length","evidence_list_length","music_list_length","testimonyID","chars","emotes","evidences","areas","musics","musics_time","callwords","manifest","resources","selectedEmote","selectedEvidence","checkUpdater","sender","viewport","_lastTimeICReceived","partial_packet","temp_packet","contains","handleSelf","message_event","MessageEvent","sendServer","setInterval","sendCheck","cleanup","msg","handle_server_packet","p_data","e_1","in_data","endsWith","packet_list","packet_list_1","packet_list_1_1","f_contents","packet","command","packetHandler","e_1_1","return","clearInterval","handleReplay","ooclog","rtime","clines","currentLine","substr","onReplayGo","resetMusicList","innerHTML","resetAreaList","fetchBackgroundList","fetchEvidenceList","fetchCharacterList","addTrack","client_1","encoding_1","paths_1","trackname","newentry","songName","getFilenameFromPath","unescapeChat","setAOhost","asset","appendICLog","showname","nameplate","time","shownameField","nameplateField","textField","className","getMinutes","timeStamp","innerText","toLocaleTimeString","hour","minute","clientLog","scrollTop","scrollHeight","checkCallword","sfxAudio","pause","play","createArea","areaClick_1","thisarea","players","cm","locked","newarea","title","onclick","area_click","fetchManifest","request_js_1","bgdata","bg_array","bg_select_1","parse","Option","background","char_select","chardata","character","evi_select","evidata","evi","manifestdata","fix_last_area","addTrack_1","malplaced","lastChild","handleBans","alert","handleCharacterInfo","iniParse_1","request_1","fileExists_1","chargs","charid","img","cini","getCharIcon","cinidata","default_options","default_emotions","extensions","charIconBaseUrl","fileUrl","alt","encodeURI","safeTags","side","blips","chat","category","emotions","gender","evidence","icon","inifile","muted","isAudio","ending","getCookie_1","evidence_js_1","backgrounds_js_1","changeMusicVolume_1","setChatbox_1","changeVolume_1","showNameClick_1","changeBlipVolume_1","reloadTheme_1","background_select","evidence_select","cookietheme","querySelector","selected","reloadTheme","cookiechatbox","setChatbox","changeMusicVolume","changeBlipVolume","checked","showname_click","resetICParams","saveChatlogHandle","downloadFile_1","icMessageLogs","messages","ye","mo","da","filename","getElementsByTagName","children","year","format","month","day","sendIC_1","sendSelf_1","sendServer_1","sendCheck_1","sendHP_1","sendOOC_1","sendCharacter_1","sendRT_1","sendMusicChange_1","sendZZ_1","sendEE_1","sendDE_1","sendPE_1","sendIC","sendSelf","sendHP","sendOOC","sendCharacter","sendRT","sendMusicChange","sendZZ","sendEE","sendDE","sendPE","escapeChat","client_2","deskmod","preanim","emote","sfx_name","emote_modifier","sfx_delay","objection_modifier","flip","realization","text_color","other_charid","self_hoffset","self_yoffset","noninterrupting_preanim","looping_sfx","screenshake","frame_screenshake","frame_realization","frame_sfx","additive","effect","extra_cccc","other_emote","other_offset","extra_27","extra_28","self_offset","serverMessage","track","setCookie_1","saveChatLogHandle_1","oocName","oocMessage","commands","commandsMap","Map","testimony","transparentPng_1","charactername","emotename","prefix","pair","pairID","characterFolder","emoteSelector","extensionsMap","extensionsMap_1","extensionsMap_1_1","getLastCharacter","getChatmsg","area","areaHr","blipVolume","blipChannels","clientVolume","musicVolume","music","getIndexFromSelect","select_box","select_element","_event","opusCheck","oldsrc","newsrc","pickEmotion","emo","setTheme","getTheme","href","resizeChatbox","chatContainerBox","clockBox","trackstatusBox","gameHeight","toFixed","trackstatus","weekday","getMonth","getDay","getHours","getDate","chatboxes_js_1","setstyle","chatbox_theme","themeselect","css_s","showFactorDialog","handleCredentialResponse","credential","updateActionCommands","role_select","selectedIndex","updateBackgroundPreview","tryUrls_1","background_filename","background_preview","resp","estring","replaceAll","decodeChat","prepChat","handleARUP","handleASS","handleBB","handleBD","handleBans_1","handleBN","updateBackgroundPreview_1","getIndexFromSelect_1","bgFromArgs","setBackgroundName","bgfolder","getBackgroundFolder","bg_index","getBackgroundName","set_side","showSpeedLines","showDesk","handleCC","handleCI","handleCharacterInfo_1","chargs_1","charid_1","handleCT","oocLog","handleCharsCheck","opacity","handleDONE","_args","handleEI","evidenceID","handleEM","createArea_1","fixLastArea_1","isAudio_1","trackindex","handleFA","handleFL","colorselect","handleFM","handleHI","handleHP","healthbox","percent_hp","getElementsByClassName","handleID","serverVersion","serverSoftware","handleJD","handleKB","handleKK","handleLE","evidence_box","evi_item","Image","pickEvidence","handleMC","appendICLog_1","musicname","looping","startsWith","loop","handleMM","handleMS","resetICParams_1","handleICSpeaking_1","char_id","char_name","msg_nameplate","msg_blips","char_chatbox","char_muted","chatmsg","chatbox","sprite","sound","snddelay","flash","speed","other_name","other_flip","effects","handle_ic_speaking","handlePN","handlePV","updateActionCommands_1","pickEmotion_1","me","emotesList","ini","emoteinfo","esfx","esfxd","soundn","soundt","sfxdelay","button","emote_item","handleRC","characters_js_1","handleRD","readOnly","handleRM","music_js_1","handleRMC","totime","getTime","currentTime","handleRT","initTestimonyUpdater_1","judgeid","initTestimonyUpdater","handleSC","handleSI","demothing","demoonclick","createAttribute","setAttributeNode","handleSM","handleSP","handleTI","timerid","timer_value","handleZZ","getSfxAudio","oldvolume","handleackMS","handleaskchaa","packets_1","packets","handleMS_1","handleCT_1","handleMC_1","handleRMC_1","twofactor_1","handleFL_1","handleLE_1","handleEM_1","handleEI_1","handleSC_1","handleCI_1","handleFM_1","handleFA_1","handleSM_1","handleMM_1","handleBD_1","handleBB_1","handleKB_1","handleKK_1","handleDONE_1","handleBN_1","handleHP_1","handleRT_1","handleTI_1","handleZZ_1","handleHI_1","handleID_1","handlePN_1","handleSI_1","handleARUP_1","handleaskchaa_1","handleCC_1","handleRC_1","handleRM_1","handleRD_1","handleCharsCheck_1","handlePV_1","handleASS_1","handleackMS_1","handleSP_1","handleJD_1","file","Blob","URL","createObjectURL","download","click","__read","defaultUrl","aomlParsed","parsed","currentHeader","contentName","contentValue","contentKey","aomlParser","applyMarkdown","defaultColor","identifiers","startIdentifiers","closingStack","colorStack","text_1","text_1_1","letter","currentSelector","currentIdentifier","currentClosingLetter","keepChar","currentColor","e_4","e_2_1","e_2","startingIdentifiers","e_3_1","e_3","Set","remove","e_4_1","cname","ca","decodeURIComponent","substring","queryDict","search","urlExtensionsToTry","fullFileUrl","COLORS","defaultChatMsg","startpreanim","startspeaking","preanimdelay","positions","def","bg","desk","ao2","ao1","speedLines","pro","hld","hlp","wit","jud","jur","sea","SHOUTS","createBlipsChannels","opusCheck_1","blipSelectors","createMusic","audioChannels","createSfxAudio","createShoutAudio","shoutAudio","createTestimonyAudio","testimonyAudio","setStartThirdTickCheck","startThirdTickCheck","setStartSecondTickCheck","startSecondTickCheck","setStartFirstTickCheck","startFirstTickCheck","checkCallword_1","setEmote_1","shouts_1","getAnimLength_1","resizeChatbox_1","colors_1","attorneyMarkdown","playerChatMsg","charLayers","pairLayers","fg","gamewindow","waitingBox","eviBox","nameBoxInner","chatBoxInner","displayname","shoutSprite","shout","gifLength","setAside","skipoffset","effectName","badEffects","intensity","drop","baseEffectUrl","setChatmsg","setTextNow","setSfxPlayed","setTickTimer","setAnimating","clearTimeout","updater","animation","getLastEvidence","setLastEvidence","getTextNow","setLastCharacter","shoutaudio","setShoutTimer","transform","textAlign","childElementCount","animationDelay","chat_tick","testimonyOverlay","setTestimonyTimer","setTestimonyUpdater","updateTestimony","positions_1","bench","court","deskFilename","createBlipChannels_1","defaultChatMsg_1","createMusic_1","createSfxAudio_1","createShoutAudio_1","createTestimonyAudio_1","setSide_1","testimonyUpdater","animating","currentBlipChannel","lastChar","lastEvi","sfxplayed","shoutTimer","testimonyTimer","textnow","tickTimer","backgroundName","playSFX","sfxname","resource","disposeTestimony","handleTextTick","chatBox","charName","charEmote","characterElement","nextCharacterElement","shake","currentCharacter","effectlayer","removeProperty","pairName","pairEmote","isShoutOver","isShoutAndPreanimOver","hasNonInterruptingPreAnim","getSfxPlayed","getTickTimer","getAnimating","getShoutTimer","getTestimonyTimer","getTestimonyUpdater","setSfxAudio","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","chunkIds","notFulfilled","splice","__esModule","definition","prop","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/components.c4e905290a1ebc6bab53.bundle.js.map b/components.c4e905290a1ebc6bab53.bundle.js.map index 37b69411..6c6ba2e9 100644 --- a/components.c4e905290a1ebc6bab53.bundle.js.map +++ b/components.c4e905290a1ebc6bab53.bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"components.c4e905290a1ebc6bab53.bundle.js","mappings":"sDAEoBA,EAAQC,aAAU,EACtC,IACIC,GAAQ,EADQ,EAAQ,KACEC,WAAWD,MAEzCF,EAAQC,QAAUC,GADC,iC,oBCJnBE,OAAOC,eAAeL,EAAS,aAAc,CAAEM,OAAO,IAWtDN,EAAA,QAVkB,WACd,IAAIO,EAAY,CAAC,EAOjB,OANAC,SAASC,OACJC,OAAO,GACPC,MAAM,KACNC,SAAQ,SAAUC,GACnBN,EAAUM,EAAKF,MAAM,KAAK,IAAME,EAAKF,MAAM,KAAK,EACpD,IACOJ,CACX,C,GCVIO,EAA2B,CAAC,GCGJ,SAACC,GAC3B,IAAK,IAAIC,EAAI,EAAGA,EAME,EANoBA,IAAK,CACzC,IAAMC,EAAeC,SAASC,cAAc,SAC5CF,EAAaG,aAAa,QAAS,gBACnCF,SAASG,KAAKC,YAAYL,EAC5B,CACF,EACAM,G,EDPA,SAASC,EAAoBC,GAE5B,IAAIC,EAAeZ,EAAyBW,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAa1B,QAGrB,IAAI4B,EAASd,EAAyBW,GAAY,CAGjDzB,QAAS,CAAC,GAOX,OAHA6B,EAAoBJ,GAAUG,EAAQA,EAAO5B,QAASwB,GAG/CI,EAAO5B,OACf,C,MEhBmB,SAAC8B,GAClB,IAAK,IAAId,EAAI,EAAGA,EAQP,EAR0BA,IAAK,CACtC,IAAMe,EAAQb,SAASC,cAAc,SAC/Ba,EAAU,GAAHC,OAAMhC,EAAAA,QAAO,0BAC1B8B,EAAMX,aAAa,QAAS,aAC5BW,EAAMX,aAAa,MAAOY,GAC1Bd,SAASG,KAAKC,YAAYS,EAC5B,CACF,CACAG,E","sources":["webpack://webao/./webAO/client/aoHost.ts","webpack://webao/./webAO/utils/queryParser.ts","webpack://webao/webpack/bootstrap","webpack://webao/./webAO/components/audioChannels.js","webpack://webao/./webAO/components/blip.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setAOhost = exports.AO_HOST = void 0;\nvar queryParser_1 = require(\"../utils/queryParser\");\nvar asset = (0, queryParser_1.default)().asset;\nvar DEFAULT_HOST = 'http://attorneyoffline.de/base/';\nexports.AO_HOST = asset || DEFAULT_HOST;\nvar setAOhost = function (val) {\n exports.AO_HOST = val;\n};\nexports.setAOhost = setAOhost;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar queryParser = function () {\n var queryDict = {};\n location.search\n .substr(1)\n .split(\"&\")\n .forEach(function (item) {\n queryDict[item.split(\"=\")[0]] = item.split(\"=\")[1];\n });\n return queryDict;\n};\nexports.default = queryParser;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/**\n *\n * @param {number} amountOfChannels Amount of Blips to put on page\n */\nconst createAudioChannels = (amountOfChannels) => {\n for (let i = 0; i < amountOfChannels; i++) {\n const audioChannel = document.createElement('audio');\n audioChannel.setAttribute('class', 'audioChannel');\n document.body.appendChild(audioChannel);\n }\n};\ncreateAudioChannels(4);\nexport default createAudioChannels;\n","import { AO_HOST } from '../client/aoHost.ts';\n\n/**\n *\n * @param {number} amountOfBlips Amount of Blips to put on page\n */\nconst createBlip = (amountOfBlips) => {\n for (let i = 0; i < amountOfBlips; i++) {\n const audio = document.createElement('audio');\n const blipUrl = `${AO_HOST}sounds/blips/male.opus`;\n audio.setAttribute('class', 'blipSound');\n audio.setAttribute('src', blipUrl);\n document.body.appendChild(audio);\n }\n};\ncreateBlip(6);\nexport default createBlip;\n"],"names":["exports","AO_HOST","asset","default","Object","defineProperty","value","queryDict","location","search","substr","split","forEach","item","__webpack_module_cache__","amountOfChannels","i","audioChannel","document","createElement","setAttribute","body","appendChild","createAudioChannels","__webpack_require__","moduleId","cachedModule","undefined","module","__webpack_modules__","amountOfBlips","audio","blipUrl","concat","createBlip"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"components.c4e905290a1ebc6bab53.bundle.js","mappings":"sDAEoBA,EAAQC,aAAU,EACtC,IACIC,GAAQ,EADQ,EAAQ,KACEC,WAAWD,MAEzCF,EAAQC,QAAUC,GADC,iC,oBCHnBE,OAAOC,eAAeL,EAAS,aAAc,CAAEM,OAAO,IAWtDN,EAAA,QAVkB,WACd,IAAIO,EAAY,CAAC,EAOjB,OANAC,SAASC,OACJC,OAAO,GACPC,MAAM,KACNC,SAAQ,SAAUC,GACnBN,EAAUM,EAAKF,MAAM,KAAK,IAAME,EAAKF,MAAM,KAAK,EACpD,IACOJ,CACX,C,GCXIO,EAA2B,CAAC,GCGJ,SAACC,GAC3B,IAAK,IAAIC,EAAI,EAAGA,EAME,EANoBA,IAAK,CACzC,IAAMC,EAAeC,SAASC,cAAc,SAC5CF,EAAaG,aAAa,QAAS,gBACnCF,SAASG,KAAKC,YAAYL,EAC5B,CACF,EACAM,G,EDPA,SAASC,EAAoBC,GAE5B,IAAIC,EAAeZ,EAAyBW,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAa1B,QAGrB,IAAI4B,EAASd,EAAyBW,GAAY,CAGjDzB,QAAS,CAAC,GAOX,OAHA6B,EAAoBJ,GAAUG,EAAQA,EAAO5B,QAASwB,GAG/CI,EAAO5B,OACf,C,MEhBmB,SAAC8B,GAClB,IAAK,IAAId,EAAI,EAAGA,EAQP,EAR0BA,IAAK,CACtC,IAAMe,EAAQb,SAASC,cAAc,SAC/Ba,EAAU,GAAHC,OAAMhC,EAAAA,QAAO,0BAC1B8B,EAAMX,aAAa,QAAS,aAC5BW,EAAMX,aAAa,MAAOY,GAC1Bd,SAASG,KAAKC,YAAYS,EAC5B,CACF,CACAG,E","sources":["webpack://webao/./webAO/client/aoHost.ts","webpack://webao/./webAO/utils/queryParser.ts","webpack://webao/webpack/bootstrap","webpack://webao/./webAO/components/audioChannels.js","webpack://webao/./webAO/components/blip.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setAOhost = exports.AO_HOST = void 0;\nvar queryParser_1 = require(\"../utils/queryParser\");\nvar asset = (0, queryParser_1.default)().asset;\nvar DEFAULT_HOST = 'http://attorneyoffline.de/base/';\nexports.AO_HOST = asset || DEFAULT_HOST;\nvar setAOhost = function (val) {\n exports.AO_HOST = val;\n};\nexports.setAOhost = setAOhost;\n","\"use strict\";\n/* eslint @typescript-eslint/no-explicit-any: \"warn\" */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar queryParser = function () {\n var queryDict = {};\n location.search\n .substr(1)\n .split(\"&\")\n .forEach(function (item) {\n queryDict[item.split(\"=\")[0]] = item.split(\"=\")[1];\n });\n return queryDict;\n};\nexports.default = queryParser;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/**\n *\n * @param {number} amountOfChannels Amount of Blips to put on page\n */\nconst createAudioChannels = (amountOfChannels) => {\n for (let i = 0; i < amountOfChannels; i++) {\n const audioChannel = document.createElement('audio');\n audioChannel.setAttribute('class', 'audioChannel');\n document.body.appendChild(audioChannel);\n }\n};\ncreateAudioChannels(4);\nexport default createAudioChannels;\n","import { AO_HOST } from '../client/aoHost.ts';\n\n/**\n *\n * @param {number} amountOfBlips Amount of Blips to put on page\n */\nconst createBlip = (amountOfBlips) => {\n for (let i = 0; i < amountOfBlips; i++) {\n const audio = document.createElement('audio');\n const blipUrl = `${AO_HOST}sounds/blips/male.opus`;\n audio.setAttribute('class', 'blipSound');\n audio.setAttribute('src', blipUrl);\n document.body.appendChild(audio);\n }\n};\ncreateBlip(6);\nexport default createBlip;\n"],"names":["exports","AO_HOST","asset","default","Object","defineProperty","value","queryDict","location","search","substr","split","forEach","item","__webpack_module_cache__","amountOfChannels","i","audioChannel","document","createElement","setAttribute","body","appendChild","createAudioChannels","__webpack_require__","moduleId","cachedModule","undefined","module","__webpack_modules__","amountOfBlips","audio","blipUrl","concat","createBlip"],"sourceRoot":""} \ No newline at end of file